CN100517962C - Fast automatic gain control method - Google Patents

Fast automatic gain control method Download PDF

Info

Publication number
CN100517962C
CN100517962C CNB2005100001429A CN200510000142A CN100517962C CN 100517962 C CN100517962 C CN 100517962C CN B2005100001429 A CNB2005100001429 A CN B2005100001429A CN 200510000142 A CN200510000142 A CN 200510000142A CN 100517962 C CN100517962 C CN 100517962C
Authority
CN
China
Prior art keywords
input signal
signal
energy
gain control
automatic gain
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.)
Expired - Fee Related
Application number
CNB2005100001429A
Other languages
Chinese (zh)
Other versions
CN1801609A (en
Inventor
许佐海
叶喜涛
王海永
许惠颖
吴南健
寿国梁
杨军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING LHWT MICROELECTRONICS Inc
Original Assignee
BEIJING LHWT MICROELECTRONICS Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by BEIJING LHWT MICROELECTRONICS Inc filed Critical BEIJING LHWT MICROELECTRONICS Inc
Priority to CNB2005100001429A priority Critical patent/CN100517962C/en
Publication of CN1801609A publication Critical patent/CN1801609A/en
Application granted granted Critical
Publication of CN100517962C publication Critical patent/CN100517962C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method to fast automatic control gain, which comprises: setting threshold value for energy of input signal; determining the signal with strength over indication range of A/D converter according to threshold, reducing its energy by analog gain control; determining the controlled gain by comparing reduced signal energy and target energy to adjust the strength of input signal till achieving specific range. This invention makes signal receive system in WLAN has fast auto-control gain ability to achieve optimal receive effect.

Description

The method of speed automatic gain control
Technical field
The present invention relates to wireless communication field, relate in particular to a kind of method of speed automatic gain control.
Background technology
WLAN (WLAN (wireless local area network)) technology is one of the most promising technology of new century wireless communication field, and at present, the WLAN technology is day by day ripe, uses extensive day by day.WLAN is a kind of data communication system flexibly, and it transmits and receive data by wireless mode, and the peak data rate that it can transmit has reached 54M/bps.Under the situation of the Arrested Development of mobile 3G (mobile communication of the 3rd generation), adopt WLAN to become first of each telecom operators and consider direction as the alternative of 3G.
In WLAN communication, the signal strength signal intensity that the recipient receives will be subjected to the distance of signal transmitting and receiving side, the multiple factor affecting such as state of signal channel.Therefore, the signal strength signal intensity that the recipient receives is unfixed, but the signal receiver in the WLAN communication only just can reach best reception in the signal strength signal intensity that receives in a certain particular range, this scope often has only several dB, but the signal strength range that need to receive is very big, receives that signal strength range that function receives will surpass at least or near 60dB such as the 802.11a protocol requirement.Therefore, the signal receiver in the WLAN communication must have the ability of AGC (auto gain control, automatic gain control), the signal strength signal intensity that receives is adjusted to particular range, so that signal receiver reaches best reception.
The principle of the AGC method in the WLAN communication of the prior art generally is: judge the existence of signal by the intensity that detects short time input signal, and employing repeated detection, the mode of approaching is gradually determined the gain of system to input signal, again signal is carried out demodulation, and not with the energy size fractionation of input signal, adopt different gain controlling to handle at other input signal of different-energy level, the shortcoming of this method is that the needed time is long, is difficult to be applied to the environment higher to the AGC rate request.And lack examination ability to the less signal of intensity, in little signal to noise ratio environment, the probability of error starting is higher, thereby causes the increase of system power dissipation.
Summary of the invention
In view of above-mentioned existing in prior technology problem, the method that the purpose of this invention is to provide a kind of speed automatic gain control, thereby guarantee signal receiver have regulate at short notice self the gain ability, the signal strength signal intensity that receives is adjusted to particular range, so that signal receiver reaches best reception.And improved correctly the detect ability of signal receiver effectively to small-signal.
The objective of the invention is to be achieved through the following technical solutions:
The invention provides a kind of method of speed automatic gain control, comprising:
A, receive the analog signal that transmit leg sends in the wireless lan channel, and be digital signal described analog signal conversion;
B, estimation be through the energy of analog-to-digital input signal, and determine the energy rank of input signal according to the threshold value of the input signal energy value that is provided with, and other signal of different-energy level is taked different automatic gain control and treatment;
C, determine the last gain of automatic gain control and treatment according to the relation of the current energy of signal and target energy.
The setting of the threshold value of described input signal energy value comprises:
Intensity when input signal being set little is can't proper solution pitch limit value to possibly can't carry out the pairing signal energy value of proper solution timing near environmental noise;
Be provided with intensity when input signal big when exceeding A-D converter and represent scope pairing signal energy value represent the scope threshold value for exceeding A-D converter.
Described step B further comprises:
B1, determine that energy value represents that more than or equal to exceeding A-D converter the input signal of scope threshold value is that intensity exceeds the signal that A-D converter is represented scope;
B2, reduce described intensity by analog gain circuit and exceed the energy that A-D converter is represented the signal of scope, make its energy value greater than can't proper solution pitch limit value and represent the scope threshold value less than exceeding A-D converter.
The setting of the threshold value of described input signal energy value comprises:
Pairing signal energy value was simulated the automatic gain control threshold value for starting when setting was simulated the automatic gain control and treatment to necessary startup greatly when the intensity of input signal;
Be provided with intensity when input signal little to just in time can't carry out the automatic gain control and treatment time pairing signal energy value for can't carry out automatic gain control and treatment threshold value.
Described step B further comprises:
Can't carry out automatic gain control and treatment threshold value if the energy value of B3 input signal is less than or equal to, input signal is left intact;
Start simulation automatic gain control threshold value if the energy value of B4 input signal is less than or equal to greater than carrying out automatic gain control and treatment threshold value, then use the method for Waveform Matching to detect input signal;
If the energy value of B5 input signal is represented the scope threshold value greater than starting simulation automatic gain control threshold value less than exceeding A-D converter, signal energy after then will reducing and target energy compare the gain of determining automatic gain control, and utilize described gain that input signal is carried out intensity adjustments, make its intensity reach needed particular range.
Described step B4 further comprises:
If the data value of the input signal that the method for B41 by Waveform Matching detects then amplifies input signal greater than the threshold value of setting at numeric field, carry out demodulation, output then;
If the data value of the input signal that the method for B42 by Waveform Matching detects is less than or equal to the threshold value of setting, then make the corresponding subsequent action according to the requirement of agreement.
The invention provides a kind of device of speed automatic gain control, comprising:
Analog front-end module: be used for receiving the analog signal that the wireless lan channel transmit leg sends over;
The analog to digital conversion module: the analog signal conversion that is used for that analog front-end module is received is a digital signal;
Estimation of root mean square RMS value and diversity module: be used to estimate through the energy of analog-to-digital input signal and the energy rank of definite input signal;
Simulation AGC module: be used for other signal of different-energy level is taked different automatic gain control and treatment, and determine the last gain of automatic gain control and treatment according to the relation of the current energy of signal and target energy.
The device of described speed automatic gain control also comprises:
Bag detection module: the data that are used to use the less input signal of the method detected intensity of Waveform Matching;
The numeral amplification module: the data that are used for as required input signal that the bag detection module is detected are amplified at numeric field.
As seen from the above technical solution provided by the invention, the present invention can make the receiving system in the WLAN communication have the ability of speed automatic gain control, has bigger throughput, the signal that can adapt to various different intensity grades can make receiving system reach best reception; The present invention simultaneously can guarantee that the time of automatic gain control process is short as much as possible, does not influence other processing to signal; The present invention also can guarantee to reduce the possibility of AGC error starting as far as possible, saves system power dissipation.
Description of drawings
Fig. 1 is the structure chart of device of the present invention;
Fig. 2 is the classification schematic diagram of the signal strength signal intensity of the method for the invention;
Fig. 3 is the process chart of the method for the invention.
Embodiment
The invention provides a kind of method and apparatus of speed automatic gain control.Core of the present invention is: carry out the signal energy classification to the received signal, signal to the different-energy grade adopts different gain controlling handling processes, so that the intensity of input signal reaches a particular range, thereby guarantee that receiving system reaches best reception.
To be treated to example with the AGC that is applied among the WLAN below, specific implementation of the present invention will be elaborated.
AGC processing in the WLAN communication is the preliminary treatment after signal enters receiving system, so the effect that AGC handles has very significant effects to systematic function, has three key elements extremely important in the AGC processing procedure:
1: shorten the time that AGC handles as far as possible: because in the AGC processing procedure, the intensity of signal has obvious variation, in order not influence other processing to signal, the process of this Strength Changes is short as much as possible;
2: guarantee the throughput that receiving system is certain: because AGC needs the less signal of intensity is detected effectively, amplifies sometimes, so the algorithm of AGC will guarantee the sensitivity to the small intensity signal;
3: reduce the possibility that AGC handles error starting as far as possible: owing to most of modules of receiving system all along with finishing of AGC started working, so AGC will reduce the possibility of error starting as far as possible, in order to avoid cause meaningless energy consumption.
Among the WLAN of the present invention the structural representation of the device of speed automatic gain control as shown in Figure 1, comprising:
1, analog front-end module: be used for receiving the analog signal that WLAN channel transmit leg sends over;
2, analog to digital conversion module: the analog signal conversion that is used for that analog front-end module is received is a digital signal;
3, RMS estimation and diversity module: be used to estimate the energy RMS (root-mean-square value) of input signal, and the threshold value of RMS that estimates and the various signal energy level of setting is in advance compared to determine the energy rank of input signal.Be provided with the threshold value of 4 input signal energy values from small to large among the present invention: can't carry out automatic gain control and treatment threshold value G-A, can't proper solution pitch limit value RMS-B, start simulation automatic gain control threshold value G-B, exceed A-D converter and represent scope threshold value RMS-A, as shown in Figure 2, the implication of 4 rank representatives is as follows:
G-A: if the intensity of input signal less than a certain threshold value, input signal just can't be handled by the automatic gain control module, we are called G-A with the pairing RMS value of this threshold value.
RMS-B: if the intensity of input signal is very little, at this moment, though can calculate the RMS value more accurately, but owing to be subjected to The noise, the signal of this moment might can't carry out normal demodulation, and we are little of carrying out the pairing RMS value of proper solution timing and be called RMS-B near environmental noise being possibly with the intensity of input signal.
G-B: if the intensity of input signal is greater than a certain threshold value, the automatic gain control module will start simulation AGC, current RMS and target RMS-TARGET are compared, and calculating the last gain of current demand signal intensity being adjusted to target strength, we are called G-B with the pairing RMS value of this threshold value.
RMS-A: if the intensity of input signal is very big, exceeded the scope that A-D converter can normally be represented, at this moment, the RMS that estimates will be inaccurate, we with the intensity of input signal greatly when just in time having exceeded the scope that A-D converter can normally represent pairing RMS value be called RMS-A.
4, simulation AGC module: be used for other signal of different-energy level is taked different automatic gain control and treatment, and determine the last gain of automatic gain control and treatment according to the relation of the current energy of signal and target energy.
5, bag detection module: the less input signal data of method detected intensity that is used to use Waveform Matching.
When input signal is fainter, the intensity of its intensity and ambient noise is suitable, if the method that the use amplitude detects detects input signal, variation along with noise, cause mistake possibility alert and false dismissal all bigger, the method that the bag detection module adopts Waveform Matching to detect among the present invention can be improved the shortcoming of above amplitude method for detecting effectively.
If actual input data are S (m), synchronous head signal is H={h1, h2 ... hn}, n are limited integer, then wrap the POW data value that detection module can calculate input signal:
POW ( m ) = 1 n Σ k = 1 n S ( m - k ) · h k
When comprising synchronous head signal in the input signal, the POW data value can be exported a bigger value when synchronous head is input to system fully, utilizes this value the synchronous head signal inspection side that is submerged in the noise can be come out.
6, digital amplification module: the input signal data that is used for as required the bag detection module being detected amplifies at numeric field,
The process chart of the method for the invention comprises the steps: as shown in Figure 3
Step 31: the recipient begins to receive the analog signal that transmit leg sends in the WLAN channel.
Step 32: by the analog to digital conversion module analog signal that receives being carried out analog-to-digital conversion, is digital signal with analog signal conversion, and passes to the automatic gain control module.
Step 33: the automatic gain control module is according to the energy RMS of the digital signal estimation input signal after changing.
Step 34: the energy RMS to input signal carries out the judgement of energy rank, if the RMS<=G-A of input signal, execution in step 35; If RMS>G-A, execution in step 36.
Step 35: the energy of input signal is too little, can not be handled by the automatic gain control module, and this signal is not for further processing, and flow process finishes.
Step 36: the energy RMS to input signal carries out further energy rank judgement, if the RMS>=RMS-A of input signal, execution in step 37; If G-B<RMS<RMS-A, execution in step 39; If RMS<=G-B, execution in step 311.
Step 37: simulation AGC module starts, and at first the analog circuit gain is set to one than low gain GAIN2, allows input signal carry out gain controlling by simulation AGC module then and handles.
Step 38: after input signal carries out the gain controlling processing by simulation AGC module, signal strength signal intensity will reduce, gain by the control analog circuit, the value of RMS is dropped on greater than in RMS-B, the scope less than RMS-A, wait for one section setting-up time TIM, after treating that analog circuit is stable, recomputate the RMS of input signal.
Step 39: current RMS and target RMS-TARGET are compared, calculate the current demand signal energy is adjusted to the needed analog circuit gain of target energy.
Step 310: the analog circuit gain that step 39 is calculated is defined as the last gain that AGC handles, and input signal is outputed in receiving system next step handling process to input signal, and the AGC processing procedure finishes.
Step 311: the bag detection module starts, and the bag detection module calculates the POW data value of input signal by the method for Waveform Matching.
Step 312: set a threshold value G-PD in advance, the POW data value of the input signal that calculates of bag detection module is carried out rank judge, if POW>G-PD, execution in step 314; If POW<=G-PD, execution in step 313.
Step 313: the bag detection module does not detect the synchronous head signal of input signal, input signal is not carried out next step gain controlling handle, and can make the corresponding subsequent action according to the requirement of agreement.
Step 314: the bag detection module detects very weak input signal and exists, and digital amplification module starts, and input signal is amplified at numeric field, carries out demodulation then.Because the time that matching algorithm consumes is long, should not be simulation AGC again to input signal and adjusts, so it is directly adjusted at numeric field.
Step 315: will output in receiving system next step handling process to input signal through the input signal of amplification, demodulation, the AGC processing procedure finishes.
Various thresholdings in this flow process, time, initial value can be realized with register, neither influence the function of register, can make amendment by the various thresholdings of register pair, time, initial value easily again.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (8)

1, a kind of method of speed automatic gain control is characterized in that, comprising:
A, receive the analog signal that transmit leg sends in the wireless lan channel, and be digital signal described analog signal conversion;
B, estimation be through the energy of analog-to-digital input signal, and determine the energy rank of input signal according to the threshold value of the input signal energy value that is provided with, and other signal of different-energy level is taked different automatic gain control and treatment;
C, determine the last gain of automatic gain control and treatment according to the relation of the current energy of signal and target energy.
2, according to the method for the described speed automatic gain control of claim 1, it is characterized in that the setting of the threshold value of described input signal energy value comprises:
Intensity when input signal being set little is can't proper solution pitch limit value to possibly can't carry out the pairing signal energy value of proper solution timing near environmental noise;
Be provided with intensity when input signal big when exceeding A-D converter and represent scope pairing signal energy value represent the scope threshold value for exceeding A-D converter.
3, according to the method for the described speed automatic gain control of claim 2, it is characterized in that described step B further comprises:
B1, determine that energy value represents that more than or equal to exceeding A-D converter the input signal of scope threshold value is that intensity exceeds the signal that A-D converter is represented scope;
B2, reduce described intensity by analog gain circuit and exceed the energy that A-D converter is represented the signal of scope, make its energy value greater than can't proper solution pitch limit value and represent the scope threshold value less than exceeding A-D converter.
4, according to the method for the described speed automatic gain control of claim 1, it is characterized in that the setting of the threshold value of described input signal energy value comprises:
Pairing signal energy value was simulated the automatic gain control threshold value for starting when setting was simulated the automatic gain control and treatment to necessary startup greatly when the intensity of input signal;
Be provided with intensity when input signal little to just in time can't carry out the automatic gain control and treatment time pairing signal energy value for can't carry out automatic gain control and treatment threshold value.
5, according to the method for the described speed automatic gain control of claim 4, it is characterized in that described step B further comprises:
Can't carry out automatic gain control and treatment threshold value if the energy value of B3 input signal is less than or equal to, input signal is left intact;
Start simulation automatic gain control threshold value if the energy value of B4 input signal is less than or equal to greater than carrying out automatic gain control and treatment threshold value, then use the method for Waveform Matching to detect input signal;
If the energy value of B5 input signal is represented the scope threshold value greater than starting simulation automatic gain control threshold value less than exceeding A-D converter, signal energy after then will reducing and target energy compare the gain of determining automatic gain control, and utilize described gain that input signal is carried out intensity adjustments, make its intensity reach needed particular range.
6, the method for speed automatic gain control according to claim 5 is characterized in that described step B4 further comprises:
If the data value of the input signal that the method for B41 by Waveform Matching detects then amplifies input signal greater than the threshold value of setting at numeric field, carry out demodulation, output then;
If the data value of the input signal that the method for B42 by Waveform Matching detects is less than or equal to the threshold value of setting, then make the corresponding subsequent action according to the requirement of agreement.
7, a kind of device of speed automatic gain control is characterized in that, comprising:
Analog front-end module: be used for receiving the analog signal that the wireless lan channel transmit leg sends over;
The analog to digital conversion module: the analog signal conversion that is used for that analog front-end module is received is a digital signal;
Estimation of root mean square RMS value and diversity module: be used to estimate through the energy of analog-to-digital input signal and the energy rank of definite input signal;
Simulation AGC module: be used for other signal of different-energy level is taked different automatic gain control and treatment, and determine the last gain of automatic gain control and treatment according to the relation of the current energy of signal and target energy.
8, the device of speed automatic gain control according to claim 7 is characterized in that, also comprises:
Bag detection module: the data that are used to use the less input signal of the method detected intensity of Waveform Matching;
The numeral amplification module: the data that are used for as required input signal that the bag detection module is detected are amplified at numeric field.
CNB2005100001429A 2005-01-05 2005-01-05 Fast automatic gain control method Expired - Fee Related CN100517962C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100001429A CN100517962C (en) 2005-01-05 2005-01-05 Fast automatic gain control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100001429A CN100517962C (en) 2005-01-05 2005-01-05 Fast automatic gain control method

Publications (2)

Publication Number Publication Date
CN1801609A CN1801609A (en) 2006-07-12
CN100517962C true CN100517962C (en) 2009-07-22

Family

ID=36811426

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100001429A Expired - Fee Related CN100517962C (en) 2005-01-05 2005-01-05 Fast automatic gain control method

Country Status (1)

Country Link
CN (1) CN100517962C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506469B (en) * 2015-01-19 2017-12-26 北京邮电大学 A kind of method and device of automatic growth control and frame detection
CN107809257B (en) * 2017-10-24 2019-08-06 深圳思凯微电子有限公司 Radio broadcasting performance optimization method, device and computer readable storage medium
CN114124116B (en) * 2021-11-02 2023-01-24 北京北广科技股份有限公司 Wave detector and classified audio signal automatic gain control device

Also Published As

Publication number Publication date
CN1801609A (en) 2006-07-12

Similar Documents

Publication Publication Date Title
RU2219661C2 (en) Method and device for selecting base station to communicate with remote station
KR101987284B1 (en) Apparatus and method for setting threshold for detecting received symbol adaptively in a ook receiver
US7907555B1 (en) RSSI-based powerdown apparatus and method for a wireless communications system
US20070076643A1 (en) Method and apparatus for adaptive multi-stage multi-threshold detection of paging indicators in wireless communication systems
CN109347579B (en) Weak signal detection method under uncertain wireless channel fading condition
CN1385006A (en) Method and apparatus for reverse link loading estimation
US8909183B2 (en) Automatic gain control device
CN101494508A (en) Frequency spectrum detection method based on characteristic cyclic frequency
JP2004531985A (en) Output power control decision in spread spectrum communication systems.
CN102723923A (en) Automatic gain control method and device
CN101227693A (en) Apparatus and method of wireless links loopback test
CN100517962C (en) Fast automatic gain control method
CN101252378A (en) Closed loop automatic level control method and apparatus for TDD mode communicating system
JP2007507930A (en) Method and apparatus for accurately detecting the validity of a received signal
US8284095B2 (en) Radar detection device used in wireless communication device
Hu et al. An algorithm for energy detection based on noise variance estimation under noise uncertainty
US20050220228A1 (en) Accurate signal detection in a wireless environment
CN104754721A (en) Automatic gain control method and automatic gain control device in time division multiplexing mode
CN103874111B (en) Direct discharging station adaptive optimization method based on isolation detection
US20150245293A1 (en) Wireless communication apparatus and wireless communication method
CN102148650B (en) Detecting method for energy detector based on weighting and combining of detection rate and false alarm rate
WO2012155848A1 (en) Automatic gain control method and device
CN103236863A (en) Muting method of FM (frequency modulation) digital modulation-demodulation circuit by hard limiter
CN114142879A (en) Automatic squelch method for wireless receiving voice
CN103391140B (en) The power detecting method of CDMA2000 and EVDO mixed signal and 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
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090722

Termination date: 20170105

CF01 Termination of patent right due to non-payment of annual fee