CN102421182A - AGC realization method suitable for wireless sensor network - Google Patents
AGC realization method suitable for wireless sensor network Download PDFInfo
- Publication number
- CN102421182A CN102421182A CN2011104043765A CN201110404376A CN102421182A CN 102421182 A CN102421182 A CN 102421182A CN 2011104043765 A CN2011104043765 A CN 2011104043765A CN 201110404376 A CN201110404376 A CN 201110404376A CN 102421182 A CN102421182 A CN 102421182A
- Authority
- CN
- China
- Prior art keywords
- adjustment
- value
- section
- signal
- feedback
- 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.)
- Granted
Links
Images
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 that is applicable in the wireless sensor network.Or rather, the digital Auto Gain that the present invention relates under a kind of OFDM of being applied to (OFDM) or DSSS (DSSS) communication system is controlled implementation method.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, the 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 integrated hot research field, forward position of knowledge height; It combines sensor technology, network technology, wireless communication technology, embedded computing technique, distributed information processing etc.; Can monitor in real time through the cooperation of all kinds of integrated microsensors, the all-environment information of perception; Through embedded system it is handled then; And be transferred to user terminal, thereby realize physical world, calculate the UNICOM in the world and the human society ternary world through self-organizing multi-hop wireless communication network at random.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 potential practical value is arranged all.Yet wireless sensor network is because the characteristic of its application scenarios makes wireless sensor network have energy, communication, calculating, storage four big limited characteristics.Therefore the communication technology that is applied in the wireless sense network need be considered resource-constrained characteristics especially.
Automatic gain control (AGC) adjustment is any indispensable technology in the wireless sense network communication that is applied to; The communication of wireless sensor network burst mode communication often; And under this emergency case, altering a great deal of signal amplitude changes also very fast; In order to reduce the expense of leading training sequence, require AGC as soon as possible the amplitude adjustment to be stablized.Mainly be divided into two types to the AGC method of adjustment, the first kind is simulation AGC, and second type is digital AGC.Simulation AGC is that radio-frequency head passes through the amplitude that analog circuit is surveyed the reception signal; Automatically generate corresponding feedback adjustment voltage according to the amplitude that detects; And then the voltage of adjusting radio frequency VGA, change the radio circuit voltage gain, make that receiving signal amplitude satisfies the demodulation requirement; Digital AGC is the digital signal of baseband module through receiving; Detect the digital signal amplitude; Calculate in requisition for the amplitude difference of adjustment through digital algorithm, calculate the digital value of feedback voltage, control VGA after DA transforms; Change the radio circuit voltage gain, make that receiving signal amplitude satisfies the demodulation requirement.Because digital AGC is realized simple, it is fast to regulate the speed, and has obtained increasing application, is particularly suitable for resource-constrained wireless sensor network and uses.The AGC method is regulated the speed and stability is double-edged sword, and it is fast to regulate the speed, and can stablize in the short period of time to receive signal amplitude; Can reduce AGC adjustment expense; Improve data user rate, but it is fast to regulate the speed, and will cause than great fluctuation process; Less noise possibly cause that all mistuning is whole, poor stability.Vice versa.
Therefore, to the AGC method in the wireless sensor network, proposing stability AGC implementation method higher, that resource consumption is less has become the technical task that those skilled in the art need 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 that is applicable in the wireless sensor network, the method that is provided has advantages of higher stability, realizes that resource overhead is less, reduces because signal amplitude changes caused performance decline.
A kind of AGC implementation method that is applicable in the wireless sensor network provided by the invention may further comprise the steps:
1) envelope range value of calculating estimating received signal;
2) according to the requirement of current envelope range value and desirable amplitude, advance respectively according to three sections methods of adjustment
Row realizes calculating the feedback adjustment yield value.
3) output is by step 2) gain of the feedback adjustment that provides,, DA exports to radio frequency VGA after transforming.
Preferably, the envelope range value method of estimation of the reception signal in the step 1) is got peaked method for adopting per 8 numerical value, obtains receiving the envelope range value of signal.
Said step 2) account form in is carried out first section respectively according to the flow process of adjustment, and second section, the 3rd section adjustment.First section for coarse regulation, judges mainly whether signal transships, if signal overloading then directly reduces gain 10dB, first section regulate the speed is the fastest, and it is minimum to adjust precision; Second section is than coarse regulation; Signal is adjusted in the scope that relatively is fit to, and it is very fast to regulate the speed, and precision is higher; This section adjustment realizes it being the method that adopts fitting a straight line; According to the curve that changes through logarithm,, obtain fitting a straight line curve after rounding with actual adjustment curve approximation simultaneously according to the minimum sensitivity (this sensitivity is determined by system hardware) of adjustment; The 3rd section for fine control, and it is slow to regulate the speed, and the adjustment precision is high, basically information is adjusted constantly, and look-up table is adopted in this section adjustment, in advance adjusted value is stored in the form, and tabling look-up according to current amplitude obtains adjusting yield value.Only after end is accomplished in first section adjustment, could get into second section adjustment, only after second section adjustment finishes, just can carry out the 3rd section adjustment.
The expression formula of the said feedback adjustment factor for
wherein k_new be the feedback adjustment yield value that current time obtains; K_old was the feedback adjustment yield value in a last moment; 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 adjustment gain is M dB/ lattice during in conjunction with actual the realization, and the digital lattice numerical value that then obtains adjusting 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 that is 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, and to the very little situation of signal amplitude, it is more that signal is adjusted grade; Adopt line fitting method, reduce the resource storage consumption that is used to table look-up; To the comparatively suitable situation of signal amplitude, signal adjustment grade is less, adopts look-up table.The AGC realization flow adopts three sections methods of adjustment, and first section for coarse regulation, judges whether signal transships, and it is the fastest to regulate the speed, and it is minimum to adjust precision; Second section is than coarse regulation, and signal is adjusted in the scope that relatively is fit to, and it is very fast to regulate the speed, and precision is higher; The 3rd section for fine control, and it is slow to regulate the speed, and the adjustment precision is high, basically information is adjusted constantly, only accomplishes first section adjustment and could get into second section adjustment after finishing, and only just can carry out the 3rd section adjustment at second section after adjusting end.
This shows, the invention has the advantages that:
1. the present invention utilizes the estimated signal envelope range value to be used as the amplitude size with reference to adjustment, more can react the amplitude and the performance number that receive signal really.
2. through three sections methods of adjustment, it is very big to adapt to dynamic range in realization in the present invention, 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 under the burst mode communications applications environment to adopt OFDM or DSSS communication mode, and it is less to have a resource consumption, and it is very fast to regulate the speed, and stability is higher, is fit to the application scenarios of wireless sensor network.
Description of drawings
Fig. 1 is the flow chart that is applicable to AGC implementation method in the wireless sensor network of the present invention.
Fig. 2 receives signal range ability logarithm and changes corresponding feedback adjustment lattice number.
Fig. 3 fitting a straight line section logarithm changes corresponding feedback adjustment lattice number.
Fig. 4 fitting a straight line section feedback adjustment lattice are counted the corresponding comparison diagram of performance.
Fig. 5 look-up table feedback adjustment lattice are counted figure.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than of the present invention whole.Based on the embodiment among the present invention, those of ordinary skills are not making all other embodiment that obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
At first, see also Fig. 1, it is the flow chart of implementation method of the present invention:
At first the hardware designs of reference system is confirmed AGC feedback adjustment gain sensitivity.An instantiation given here is the interface requirement according to radio-frequency head; The AGC feedback control signal is 8bit; The precision of adjustment gain is 0.6445dB (by the decision of 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 a logarithmic form, and the gain of this logarithmic form is linear in certain scope.Therefore each lattice of AGC feedback signal of 8bit are represented 0.6445dB.The realization of the baseband feedback factor adopts the segmentation fitting a straight line and the method that combines of tabling look-up to realize.
The feedback adjustment factor in the simulated program is used to adjust signal amplitude,
the feedback adjustment factor after logarithm changes gain and do
The adjustment gain accuracy is the 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 concrete realization; Ideal_value is the output envelope amplitude that expectation obtains, and all be a value of fixing to each system, so 10lg (ideal_value)/0.6445 also is a fixed value; Therefore to top formula; Need obtain 10*lg (k_new)/0.375 value on the formula left side, (because 10lg (ideal_value)/the 0.6445th, fixed value is known in advance as long as obtain 10lg (R (n))/0.6445; 10*lg (k_old)/the 0.6445th, the feedback adjustment value in a last moment also is a known quantity).And R (n) is current average envelope amplitude, just can realize as long as know pairing each logarithm value of R (n) of 8bit.Can draw logarithmic table with look-up table in theory, but complete serious, produce the employing fitting a straight lines according to our algorithm permissible accuracy and three sections corresponding feedback factors of adjustment and add that look-up table is proper with the look-up table resource consumption.
For the gamut scope of R (n), trying to achieve feedback log adjustment lattice, to count the value of 10*lg (R (n))/0.6445 as shown in Figure 2.
As can be seen from the figure the rear end status number can adopt the look-up table storage to realize that the front end status number is many less, if so will the more resource of consumption rate adopt the method for fitting a straight line to realize with look-up table.Describe with regard to look-up table and line fitting method respectively below.
1. first section adjustment: R (n)>saturation saturated conditions
Think that the situation of signal overloading, the feedback adjustment factor are directly signal to be reduced the 10dB gain.Therefore corresponding logarithm value is-10dB that corresponding adjustment lattice number is for reducing the 10/0.6445=16 lattice.
2. second section adjustment: fitting a straight line section
When getting into second section adjustment, R (n) value is in more among a small circle, and when value be (1~28) in this implementation system, feedback log is adjusted lattice, and to count the figure of 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 bigger, considers that this still belongs to coarse adjustment and does not need feedback factor especially accurately, so can adopt one section fitting a straight line that is prone to realize to approach realization.
Fig. 4 is the figure as a result that adopts y=0.5*x+10 to approach, and error is smaller or equal to 1 lattice.When satisfying performance requirement, reduced storage resource consumption.
3. the 3rd section adjustment: look-up table implementation method
Fig. 5 is the feedback log adjustment lattice number of R (n) residue section, realizes with look-up table.Need this moment the amount of storage less, resource consumption is less.
10 states are arranged in this realization system, adopt look-up table to realize that the form that obtains is as shown in table 1.
Preset parameter for system default is made as ideal_value=69 fixterm 10lg (ideal_value)/0.6445=29 respectively.For different parameters only is to change this fixterm to get final product.
The storing value that table 1 look-up table is corresponding
Adjustment 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 through adopting three sections methods of adjustment, and the dynamic range of adjustment is very big, and adjustment stability is higher; Through adopting fitting a straight line and the method for tabling look-up and combining, make operand and resource consumption all less, can use with multiple radio sensing network and use.
Above embodiment is the unrestricted technical scheme of the present invention in order to explanation only.Do not break away from any modification or the local replacement of spirit and scope of the invention, all should be encompassed in the middle of the claim scope of the present invention.
Claims (7)
1. an AGC implementation method that is adapted in the wireless sensor network is characterized in that two kinds of described method employing fitting a straight line method and look-up tables, may further comprise the steps:
1) envelope range value of calculating estimating received signal;
2) according to the requirement of current envelope range value and desirable amplitude, realize calculating feedback adjustment factor yield value respectively according to three sections methods of adjustment;
3) gain of the current feedback adjustment factor that calculates of output is exported to radio frequency VGA after DA transforms.
2. method according to claim 1 is characterized in that: the envelope range value method of estimation of the reception signal in the step 1) is got peaked method for adopting per 8 numerical value, obtains receiving the envelope range value of signal.
3. method according to claim 1 is characterized in that: step 2) in said three sections be adjusted into: first section for coarse regulation, judges whether signal transships; If signal overloading; Then directly reduce gain 10dB, regulating the speed of this section is the fastest, and the adjustment precision is minimum; Second section is than coarse regulation; Signal is adjusted in the scope that relatively is fit to, and it is very fast to regulate the speed, and precision is higher; This section adjustment realizes adopting the method for fitting a straight line; According to the curve that changes through logarithm,, obtain fitting a straight line curve after rounding with actual adjustment curve approximation simultaneously according to the minimum sensitivity of adjustment; The 3rd section for fine control, and it is slow to regulate the speed, and the adjustment precision is high, information is adjusted constant, and look-up table is adopted in this section adjustment, in advance adjusted value is stored in the form, and tabling look-up according to current amplitude obtains adjusting yield value; Only after end is accomplished in first section adjustment, could get into second section adjustment, only after second section adjustment finishes, just can carry out the 3rd section adjustment.
4. method according to claim 1 is characterized in that the described feedback adjustment factor is used to adjust signal amplitude.
5. according to claim 1 or 4 described methods; It is characterized in that: the expression formula of the feedback adjustment factor for
wherein k_new be the feedback adjustment yield value that current time obtains; K_old was the feedback adjustment yield value in a last moment; 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 adjustment gain is M dB/ lattice during in conjunction with actual the realization, and the digital lattice numerical value that then obtains adjusting is 10*lg (k_new)/M=10*lg (ideal_value)/M-10*lg (R (n))/M+10*lg (k_old)/M.
6. method according to claim 1 is characterized in that:
When 1. first segment signal transshipped, promptly under R (n)>saturated conditions, feedback adjustment factor adjustment lattice number was for reducing the 10/0.6445=16 lattice;
When 2. getting into second section adjustment, be the fitting a straight line section, R (n) value is in more among a small circle, and feedback adjustment lattice number is 10*lg (R (n))/0.6445;
3. the 3rd section adjustment implementation method is look-up table.
7. method according to claim 1 is characterized in that described method is adapted to adopt under the 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 true CN102421182A (en) | 2012-04-18 |
CN102421182B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106027085A (en) * | 2016-07-05 | 2016-10-12 | 广州海格通信集团股份有限公司 | Automatic gain control method suitable for short-time burst signal of time division multi-access system |
CN108768425A (en) * | 2018-07-02 | 2018-11-06 | 成都国恒空间技术工程有限公司 | A kind of dynamic adjusting method of automatic growth control AGC |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007110816A1 (en) * | 2006-03-24 | 2007-10-04 | Nxp B.V. | Automatic gain control circuit |
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 |
-
2011
- 2011-12-07 CN CN201110404376.5A patent/CN102421182B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007110816A1 (en) * | 2006-03-24 | 2007-10-04 | Nxp B.V. | Automatic gain control circuit |
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 (1)
Title |
---|
张心冲等: "WLAN接收机自动增益控制研究与实现", 《电视技术》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106027085A (en) * | 2016-07-05 | 2016-10-12 | 广州海格通信集团股份有限公司 | Automatic gain control method suitable for short-time burst signal of time division multi-access system |
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 |
CN108768425A (en) * | 2018-07-02 | 2018-11-06 | 成都国恒空间技术工程有限公司 | A kind of dynamic adjusting method of automatic growth control AGC |
CN108768425B (en) * | 2018-07-02 | 2021-03-30 | 成都国恒空间技术工程有限公司 | Dynamic adjusting method for automatic gain control AGC |
Also Published As
Publication number | Publication date |
---|---|
CN102421182B (en) | 2014-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103796284B (en) | A kind of relay selection method for energy acquisition wireless network | |
CN103384174B (en) | Multi-user multi-antenna collaborative spectrum sensing detection probability optimization method | |
CN105611620A (en) | Method and device for adjusting power amplifier voltage | |
CN103209427B (en) | User-channel-quality-based collaborative user selection method for source users | |
CN102421182B (en) | AGC realization method suitable for wireless sensor network | |
CN102291810B (en) | Open loop power control method and device | |
CN106793121B (en) | A kind of multi-user data and energy cooperation transmission method and system | |
CN101877913B (en) | User scheduling method in LTE (Long Term Evolution) system | |
CN105188034A (en) | Collaborative positioning method in wireless sensor network | |
CN105472714A (en) | Energy optimization method of mobile cloud computing uplink data transmission | |
CN103124244A (en) | Method for cognizing active channel and selecting communication frequency in point-to-multipoint system | |
CN103178939B (en) | The method that feedback quantity improves system throughput is reduced based on Limited Feedback technology | |
CN108667498A (en) | The available capacity optimization method of the limited lower multi-antenna transmission of feedback | |
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 | |
CN108712777B (en) | Energy acquisition wireless transmission system power distribution method considering energy loss | |
CN101459450B (en) | Method and device for acquiring signal-noise ratio | |
CN102917451A (en) | Uplink power distribution method and device for distributed antenna system | |
CN101986753A (en) | Increment iteration power allocation method | |
CN102387113B (en) | Digital AGC (automatic gain control) rapid adjustment method applied to OFDM (orthogonal frequency division multiplexing) | |
CN104507111B (en) | Collaborative communication method and device based on cluster in cellular network | |
CN107465471B (en) | Cognitive user selection method based on fairness and energy conservation in cooperative perception | |
CN105246140B (en) | A kind of control method and device of the trunking gain of bi-directional full-duplex amplification forwarding | |
Li et al. | Design of WSN node with adaptive transmitting power for rice field | |
CN101202583B (en) | Method for generating forward data rate in a communicating system |
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 |