CN102421182B - AGC realization method suitable for wireless sensor network - Google Patents
AGC realization method suitable for wireless sensor network Download PDFInfo
- Publication number
- CN102421182B CN102421182B CN201110404376.5A CN201110404376A CN102421182B CN 102421182 B CN102421182 B CN 102421182B CN 201110404376 A CN201110404376 A CN 201110404376A CN 102421182 B CN102421182 B CN 102421182B
- Authority
- CN
- China
- Prior art keywords
- adjustment
- value
- adjusting
- segment
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Circuits Of Receivers In General (AREA)
Abstract
The invention relates to an AGC (automatic gain control) realization method suitable for a wireless sensor network. The whole AGC realization method employs a straight line fitting method and a table look-up method. The AGC realization method employs three segments of adjusting methods: a first segment is roughest adjustment, whether a signal is overloaded or not is determined, an adjusting speed is highest, and adjusting precision is lowest; a second segment is rougher adjustment, the signal is adjusted to a comparatively suitable scope, an adjusting speed is faster, and adjusting precision is higher; a third segment is fine adjustment, an adjusting speed is slow, adjusting precision is high, information is adjusted to be constant basically, only the first segment of adjustment is ended that the second segment of adjustment can be entered into, and only the second segment of adjustment is ended that the third segment of adjustment can be entered into. The method is adapted to application of an orthogonal frequency division multiplexing mode or a direct sequence spread spectrum communication mode under a burst mode communication application environment. The method has the advantages of low resource consumption, a fast adjusting speed and high stability, and is suitable for an application scene of the wireless sensor network.
Description
Technical field
The present invention relates to a kind of AGC (automatic gain control) implementation method being applicable in wireless sensor network.Or rather, the present invention relates to the digital Auto Gain control method under a kind of OFDM of being applied to (OFDM) or DSSS (direct sequence spread spectrum) communication system.Belong to the radio sensing network communications field.
Background technology
Along with the develop rapidly of the communication technology, embedded computing technique, sensor technology and microsystems technology, late 1990s researchers have proposed wireless sensor network technology (WSN, Wireless Sensor Network).Wireless sensor network is one and relates to multidisciplinary height intersection, the hot research field, forward position that knowledge height is integrated, it combines sensor technology, network technology, wireless communication technology, embedded computing technique, distributed information processing etc., can monitor in real time by all kinds of integrated microsensor cooperations, the all-environment information of perception, then by embedded system, it is processed, and be transferred to user terminal by random self-organizing multi-hop wireless communication network, thereby realize physical world, calculate the UNICOM in the world and the human society ternary world.Wireless sensor network has very wide application prospect, at many key areas such as military and national defense, industrial or agricultural, biologic medical, city management, environmental monitoring, rescue and relief work, anti-probably anti-terrorism, deathtrap Long-distance Control, has potential practical value.Yet wireless sensor network, due to the characteristic of its application scenarios, makes wireless sensor network have energy, communication, calculating, the large limited feature of storage four.Therefore the communication technology being applied in wireless sense network need to be considered resource-constrained feature especially.
It is any indispensable technology in wireless sensing Network Communication that is applied to that automatic gain is controlled (AGC) adjustment, the communication of wireless sensor network burst mode communication often, and under this emergency case, altering a great deal of signal amplitude, change also very fast, in order to reduce the expense of leading training sequence, require AGC as soon as possible amplitude adjustment to be stablized.For AGC method of adjustment, be mainly divided into two classes, the first kind is simulation AGC, and Equations of The Second Kind is digital AGC.Simulation AGC is that radio-frequency head is surveyed the amplitude that receives signal by analog circuit, according to the amplitude detecting, automatically generate corresponding feedback adjusting voltage, and then the voltage of adjusting radio frequency VGA, change radio circuit voltage gain, make to receive signal amplitude and meet demodulation requirement; Digital AGC is that baseband module is by the digital signal receiving, detect digital signal amplitude, by digital algorithm, calculate in requisition for the amplitude difference of adjusting, calculate the digital value of feedback voltage, after transforming, DA controls VGA, change radio circuit voltage gain, make to receive signal amplitude and meet demodulation requirement.Because digital AGC is realized simply, regulate the speed fast, obtained increasing application, be particularly suitable for resource-constrained wireless sensor network application.AGC method is regulated the speed and stability is double-edged sword, regulate the speed fast, can stablize in the short period of time and receive signal amplitude, can reduce AGC and adjust expense, improve data user rate, but it is fast to regulate the speed, and will cause larger fluctuation, less noise all may cause that mistuning is whole, poor stability.Vice versa.
Therefore,, for the AGC method in wireless sensor network, proposing stability AGC implementation method higher, that resource consumption is less has become those skilled in the art's technical task urgently to be resolved hurrily.Thereby be guided out design of the present invention.
Summary of the invention
The object of the present invention is to provide a kind of AGC implementation method being applicable in wireless sensor network, the method providing has higher stability, realizes resource overhead less, reduces because signal amplitude changes caused performance decline.
A kind of AGC implementation method being applicable in wireless sensor network provided by the invention, comprises the following steps:
1) calculate the envelope range value of estimating received signal;
2), according to the requirement of current envelope range value and desirable amplitude, according to three sections of methods of adjustment, enter respectively
Row is realized and is calculated feedback adjusting yield value.
3) output is by step 2) gain of the feedback adjusting that provides, after transforming, DA exports to radio frequency VGA.
The envelope range value method of estimation of the reception signal preferably, step 1), for adopting every 8 numerical value to get peaked method, obtains receiving the envelope range value of signal.
Described step 2) account form in is carried out respectively first paragraph, second segment, the 3rd section of adjustment according to the flow process of adjusting.First paragraph, for coarse regulation, mainly judges whether signal transships, if signal overloading directly reduces gain 10dB, regulating the speed of first paragraph is the fastest, adjusts precision minimum; Second segment is compared with coarse regulation, signal is adjusted to than in better suited scope, regulate the speed very fast, precision is higher, it is the method that adopts fitting a straight line that this section adjustment is realized, according to the curve changing through logarithm, simultaneously according to the minimum sensitivity (this sensitivity is determined by system hardware) of adjusting, after rounding, obtain and the actual fitting a straight line curve of adjusting curve approximation; The 3rd section for fine control, regulates the speed slow, adjusts precision high, substantially information is adjusted constantly, and this section adjustment adopts look-up table, in advance adjusted value is stored in form, according to current amplitude, tables look-up and is adjusted yield value.Only after first paragraph adjustment completes end, just can enter second segment adjustment, only after second segment adjustment finishes, just can carry out the 3rd section of adjustment.
The expression formula of the described feedback adjusting factor is
wherein k_new is the feedback adjusting yield value that current time obtains, and k_old was the feedback adjusting yield value in a upper moment, and ideal_value is desirable amplitude value, the reception signal amplitude that R (n) estimates for current time.Feedback factor gain after logarithm changes is 10*lg (k_new)=10*lg (ideal_value)-10*lg (R (n))+10*lg (k_old).The sensitivity of adjusting gain during in conjunction with actual realization is M dB/ lattice, and the digital lattice numerical value being adjusted is 10*lg (k_new)/M=10*lg (ideal_value)/M-10*lg (R (n))/M+10*lg (k_old)/M.
In sum, the present invention relates to a kind of AGC Method being applicable in wireless sensor network, the implementation method that it is characterized in that whole AGC adopts two kinds of fitting a straight line method and look-up tables, for the very little situation of signal amplitude, it is more that signal is adjusted grade, adopt line fitting method, reduce the resource storage consumption for tabling look-up; For the comparatively suitable situation of signal amplitude, it is less that signal is adjusted grade, adopts look-up table.AGC realization flow adopts three sections of methods of adjustment, and first paragraph, for coarse regulation, judges whether signal transships, and regulates the speed the fastest, and adjustment precision is minimum; Second segment is compared with coarse regulation, and signal is adjusted to than in better suited scope, regulates the speed very fast, and precision is higher; The 3rd section for fine control, regulates the speed slow, adjusts precision high, substantially information is adjusted constantly, only after first paragraph adjustment completes end, just can enter second segment adjustment, only after second segment adjustment finishes, just can carry out the 3rd section of adjustment.
As can be seen here, the invention has the advantages that:
1. the present invention utilizes estimated signal envelope range value to be used as, with reference to the amplitude size of adjusting, more reacting really the amplitude and the performance number that receive signal.
2. the present invention, by three sections of methods of adjustment in realization, adapts to dynamic range very large, has higher adjustment stability.
3. the present invention adopts the implementation method that fitting a straight line method and look-up table combine, and makes operand and resource overhead all less.
4. implementation method provided by the invention is adapted to adopt OFDM or DSSS communication mode under burst mode communications applications environment, has resource consumption less, regulates the speed very fast, and stability is higher, is applicable to the application scenarios of wireless sensor network.
Accompanying drawing explanation
Fig. 1 is the flow chart that is applicable to AGC implementation method in wireless sensor network of the present invention.
Fig. 2 receives signal range ability logarithm and changes corresponding feedback adjusting lattice number.
Fig. 3 fitting a straight line section logarithm changes corresponding feedback adjusting lattice number.
Fig. 4 fitting a straight line section feedback adjusting lattice are counted the corresponding comparison diagram of performance.
Fig. 5 look-up table feedback adjusting lattice are counted figure.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than of the present invention whole.Embodiment based in the present invention, those of ordinary skills, not making all other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
First, refer to Fig. 1, it is the flow chart of implementation method of the present invention:
First the hardware designs of reference system is determined AGC feedback adjusting gain sensitivity.An instantiation given here is the interface requirement according to radio-frequency head, AGC feedback control signal is 8bit, the precision of adjusting gain is 0.6445dB (being determined by actual hardware system), and maximum dynamic range is 50dB, and 8 ' h00 of feedback signal represents lowest gain.
The gain that base band provides is logarithmic form, and the gain of this logarithmic form is linear in certain scope.Therefore each lattice of AGC feedback signal of 8bit represent 0.6445dB.The realization of the baseband feedback factor adopts sectional straight line fitting and the method combining of tabling look-up realizes.
The feedback adjusting factor in simulated program is for adjusting signal amplitude,
feedback adjusting factor gain after logarithm changes is
Adjusting gain accuracy is 0.6445dB/ lattice, and what base band provided is the adjustment lattice numerical value after logarithm changes, be 10*lg (k_new)/0.6445, for:
In specific implementation, ideal_value is the output envelope amplitude that expectation obtains, it to each system, is a value of fixing, therefore 10lg (ideal_value)/0.6445 is also fixed value, therefore for formula above, need to obtain 10*lg (k_new)/0.375 value on the formula left side, as long as obtain 10lg (R (n))/0.6445, (because 10lg (ideal_value)/the 0.6445th, fixed value, knows in advance; 10*lg (k_old)/the 0.6445th, the feedback adjusting value in a upper moment, is also known quantity).And R (n) is current average envelope amplitude, as long as know that corresponding each logarithm value of R (n) of 8bit just can realize.Can draw logarithmic table with look-up table in theory, but complete serious with look-up table resource consumption, according to our algorithm permissible accuracy and three sections, adjust corresponding feedback factors and produce and adopt fitting a straight lines to add that look-up table is proper.
For the gamut scope of R (n), try to achieve feedback log and adjust value that lattice count 10*lg (R (n))/0.6445 as shown in Figure 2.
As can be seen from the figure rear end status number can adopt look-up table storage to realize less, and front end status number is many, if so will the more resource of consumption rate adopt the method for fitting a straight line to realize with look-up table.With regard to look-up table and line fitting method, describe respectively below.
1. first paragraph adjustment: R (n) > saturation saturated conditions
Think that the situation of signal overloading, the feedback adjusting factor are directly signal to be reduced to 10dB gain.Therefore corresponding logarithm value is-10dB, and the corresponding lattice number of adjusting is for reducing 10/0.6445=16 lattice.
2. second segment adjustment: fitting a straight line section
When entering second segment and adjust, R (n) value is in more among a small circle, and when in this implementation system, value be (1~28), the figure that feedback log adjustment lattice are counted 10*lg (R (n))/0.6445 as shown in Figure 3.
If it is 20 multinomial that this section adopts look-up table to store, consumption of natural resource is larger, considers that this still belongs to coarse adjustment and does not need feedback factor especially accurately, so can adopt one section of fitting a straight line of easily realizing to approach realization.
Fig. 4 is the result figure that adopts y=0.5*x+10 to approach, and error is less than or equal to 1 lattice.When meeting performance requirement, reduced storage resource consumption.
3. the 3rd section of adjustment: look-up table implementation method
Fig. 5 is that the feedback log of R (n) residue section is adjusted lattice number, with look-up table, realizes.Now need the amount of storage less, resource consumption is less.
At this, realize in system and have 10 states, adopt look-up table to realize the form obtaining as shown in table 1.
Preset parameter for system default is made as respectively ideal_value=69 fixterm 10lg (ideal_value)/0.6445=29.For different parameters, be only to change this fixterm.
The storing value that table 1 look-up table is corresponding
Adjust lattice number | R (n) |
23 | 29-32 |
24 | 33-37 |
25 | 38-44 |
26 | 45-51 |
27 | 52-59 |
28 | 60-68 |
29 | 69-79 |
30 | 80-92 |
31 | 93-107 |
32 | 108-124 |
In sum, the present invention is by adopting three sections of methods of adjustment, and the dynamic range of adjustment is very large, adjusts stability higher; Method by adopting fitting a straight line and tabling look-up and combine, makes operand and resource consumption all less, can apply and multiple radio sensing network application.
Above embodiment is the unrestricted technical scheme of the present invention in order to explanation only.Any modification or partial replacement that does not depart from spirit and scope of the invention, all should be encompassed in the middle of claim scope of the present invention.
Claims (6)
1. be applicable to the AGC implementation method in wireless sensor network, it is characterized in that the combination of two kinds of described method employing fitting a straight line method and look-up tables, comprise the following steps:
1) calculate the envelope range value of estimating received signal;
2), according to the requirement of current envelope range value and desirable amplitude, according to three sections of methods of adjustment, realize respectively and calculate feedback adjusting factor yield value;
3) export the gain of the current feedback adjusting factor calculating, after DA transforms, export to radio frequency VGA;
Step 2) described three sections in are adjusted into: first paragraph, for coarse regulation, judges whether signal transships, if signal overloading directly reduces gain 10dB, regulating the speed of this section is the fastest, adjusts precision minimum; Second segment is compared with coarse regulation, signal is adjusted to than in better suited scope, regulate the speed very fast, precision is higher, this section adjustment is realized the method that adopts fitting a straight line, according to the curve changing through logarithm, simultaneously according to the minimum sensitivity of adjusting, after rounding, obtain and the actual fitting a straight line curve of adjusting curve approximation; The 3rd section for fine control, regulates the speed slow, adjusts precision high, information is adjusted constant, and this section adjustment adopts look-up table, in advance adjusted value is stored in form, and according to current amplitude, tabling look-up is adjusted yield value; Only after first paragraph adjustment completes end, just can enter second segment adjustment, only after second segment adjustment finishes, just can carry out the 3rd section of adjustment.
2. method according to claim 1, is characterized in that: the envelope range value method of estimation of the reception signal in step 1), for adopting every 8 numerical value to get peaked method, obtains receiving the envelope range value of signal.
3. method according to claim 1, is characterized in that the described feedback adjusting factor is for adjusting signal amplitude.
4. according to the method described in claim 1 or 3, it is characterized in that: the expression formula of the feedback adjusting factor is
wherein k_new is the feedback adjusting yield value that current time obtains, and k_old was the feedback adjusting yield value in a upper moment, and ideal_value is desirable amplitude value, the reception signal amplitude that R (n) estimates for current time; Feedback factor gain after logarithm changes is 10*lg (k_new)=10*lg (ideal_value)-10*lg (R (n))+10*lg (k_old); The sensitivity of adjusting gain during in conjunction with actual realization is M dB/ lattice, and the digital lattice numerical value being adjusted is 10*lg (k_new)/M=10*lg (ideal_value)/M-10*lg (R (n))/M+10*lg (k_old)/M.
5. method according to claim 1, is characterized in that:
1. during first paragraph signal overloading,, under R (n) > saturated conditions, the feedback adjusting factor is adjusted lattice number for reducing 10/0.6445=16 lattice; The reception signal amplitude that R (n) estimates for current time;
When 2. entering second segment and adjusting, be fitting a straight line section, R (n) value is in more among a small circle, and feedback adjusting lattice number is 10*lg(R (n))/0.6445;
3. the 3rd section of adjustment implementation method is look-up table.
6. method according to claim 1, is characterized in that described method is applicable to adopt under burst mode communications applications environment OFDM or DSSS communication mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110404376.5A CN102421182B (en) | 2011-12-07 | 2011-12-07 | AGC realization method suitable for wireless sensor network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110404376.5A CN102421182B (en) | 2011-12-07 | 2011-12-07 | AGC realization method suitable for wireless sensor network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102421182A CN102421182A (en) | 2012-04-18 |
CN102421182B true CN102421182B (en) | 2014-03-12 |
Family
ID=45945349
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110404376.5A Active CN102421182B (en) | 2011-12-07 | 2011-12-07 | AGC realization method suitable for wireless sensor network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102421182B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106027085B (en) * | 2016-07-05 | 2018-08-28 | 广州海格通信集团股份有限公司 | It is suitble to the auto gain control method of time-division multiple address system short-term burst signal |
CN108768425B (en) * | 2018-07-02 | 2021-03-30 | 成都国恒空间技术工程有限公司 | Dynamic adjusting method for automatic gain control AGC |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101562717A (en) * | 2008-04-18 | 2009-10-21 | 中兴通讯股份有限公司 | Mobile TV automatic gain control device and dynamic step length adjusting method thereof |
CN101981880A (en) * | 2008-03-29 | 2011-02-23 | 高通股份有限公司 | Method and system for DC compensation and AGC |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007110816A1 (en) * | 2006-03-24 | 2007-10-04 | Nxp B.V. | Automatic gain control circuit |
-
2011
- 2011-12-07 CN CN201110404376.5A patent/CN102421182B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101981880A (en) * | 2008-03-29 | 2011-02-23 | 高通股份有限公司 | Method and system for DC compensation and AGC |
CN101562717A (en) * | 2008-04-18 | 2009-10-21 | 中兴通讯股份有限公司 | Mobile TV automatic gain control device and dynamic step length adjusting method thereof |
Non-Patent Citations (2)
Title |
---|
WLAN接收机自动增益控制研究与实现;张心冲等;《电视技术》;20110502;第35卷(第09期);正文第1-2节及附图2、9 * |
张心冲等.WLAN接收机自动增益控制研究与实现.《电视技术》.2011,第35卷(第09期), |
Also Published As
Publication number | Publication date |
---|---|
CN102421182A (en) | 2012-04-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103795479B (en) | A kind of cooperative frequency spectrum sensing method of feature based value | |
CN103384174B (en) | Multi-user multi-antenna collaborative spectrum sensing detection probability optimization method | |
EP3055934B1 (en) | Apparatus and method for controlling power based on energy efficiency in multiple-input and multiple-output (mimo) communication system | |
CN102291811A (en) | ULPC (uplink power control) method and device | |
CN102421182B (en) | AGC realization method suitable for wireless sensor network | |
CN106899525A (en) | Terminal timing offset method of estimation, device and equipment in multi-point cooperative transmission | |
EP2520122B1 (en) | Correction of estimated sir used for transmit power control | |
CN101778465A (en) | Error estimation based proportion power control method in CDMA (Code Division Multiple Access) cellular system | |
CN104902492B (en) | A kind of high energy efficiency topological structure optimization method towards wireless body area network | |
CN102291810A (en) | Open loop power control method and device | |
CN116753562B (en) | Graphene electric heating intelligent temperature control system based on data analysis | |
CN103124244A (en) | Method for cognizing active channel and selecting communication frequency in point-to-multipoint system | |
CN105472714A (en) | Energy optimization method of mobile cloud computing uplink data transmission | |
CN104052556B (en) | Cooperation detection method used for radio-frequency spectrum sensing and based on diversity combination | |
CN101986753B (en) | Increment iteration power allocation method | |
CN102572857B (en) | A kind of up channel link budget method and apparatus | |
Solares et al. | Optimal power allocation of a sensor node under different rate constraints | |
CN101459450B (en) | Method and device for acquiring signal-noise ratio | |
CN102387113B (en) | Digital AGC (automatic gain control) rapid adjustment method applied to OFDM (orthogonal frequency division multiplexing) | |
CN102917451A (en) | Uplink power distribution method and device for distributed antenna system | |
CN102118139B (en) | Method and device for dealing with finite precision of filter | |
CN104661298A (en) | Power control processing method, user equipment and base station | |
EP1962449B1 (en) | A system and method for adjusting amplitude of the channel decoded data in cdma system | |
CN102511188B (en) | Method and device for reducing chip consumption | |
CN101702814A (en) | Reverse link rate control method, system, base station and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |