[go: up one dir, main page]

CN107086859A - Digital Automatic Gain Control Circuit for Wireless Communication Receiver - Google Patents

Digital Automatic Gain Control Circuit for Wireless Communication Receiver Download PDF

Info

Publication number
CN107086859A
CN107086859A CN201710248368.3A CN201710248368A CN107086859A CN 107086859 A CN107086859 A CN 107086859A CN 201710248368 A CN201710248368 A CN 201710248368A CN 107086859 A CN107086859 A CN 107086859A
Authority
CN
China
Prior art keywords
circuit
signal
digital
gain coefficient
agc
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
Application number
CN201710248368.3A
Other languages
Chinese (zh)
Other versions
CN107086859B (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.)
Jihai Microelectronics Co ltd
Original Assignee
Southeast University
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 Southeast University filed Critical Southeast University
Priority to CN201710248368.3A priority Critical patent/CN107086859B/en
Publication of CN107086859A publication Critical patent/CN107086859A/en
Application granted granted Critical
Publication of CN107086859B publication Critical patent/CN107086859B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G3/00Gain control in amplifiers or frequency changers
    • H03G3/20Automatic control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/06Receivers
    • H04B1/16Circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Control Of Amplification And Gain Control (AREA)
  • Circuits Of Receivers In General (AREA)

Abstract

The invention discloses a kind of digital resources obtainment circuit for wireless communication receiver, including digital amplifier, magnitude calculation circuit, averaging filter, power calculation circuit and error processing circuitry;Digital amplifier is integrated with amplifying circuit, peak detection circuit and error-detector circuit;What peak detection circuit and error-detector circuit were designed primarily directed to jump signal present in circuit, energy quick detection jump signal readjusts digital AGC circit, realizes the quick lock in of digital AGC;Power calculation circuit and error processing circuitry are mainly handled signal in log-domain, obtain gain coefficient, for driving the digital amplifier of digital AGC, complete AGC loop.The present invention adjusts power in log-domain, with the features such as setup time is short, control is flexible;And peak detection circuit and error-detector circuit also can be to jump signal quick responses so that digital AGC loop is stable.

Description

用于无线通信接收机的数字自动增益控制电路Digital Automatic Gain Control Circuit for Wireless Communication Receiver

技术领域technical field

本发明涉及一种零中频接收机中数字自动增益控制技术,尤其涉及一种用于无线通信接收机的数字自动增益控制电路。The invention relates to a digital automatic gain control technology in a zero-IF receiver, in particular to a digital automatic gain control circuit for a wireless communication receiver.

背景技术Background technique

在无线通信系统中由于传输距离以及地形等因素的影响,电波在空间传播过程中存在不同程度的衰落,接收机输入端接收到的信号强度有很大的变化,其变化范围可能高达60~80dB。面对大动态范围的接收信号,高分辨率的ADC固然可以获得较大的动态范围,但是在信号比较小的情况下接收机的性能仍然会受到很大的影响,因此,自动增益控制(Automatic Gain Control,AGC)系统是提升接收机解调性能的一个重要途径。In the wireless communication system, due to the influence of factors such as transmission distance and terrain, there are different degrees of fading of radio waves in the process of space propagation, and the signal strength received by the input terminal of the receiver has a great change, and the change range may be as high as 60-80dB . Faced with a received signal with a large dynamic range, a high-resolution ADC can obtain a large dynamic range, but the performance of the receiver will still be greatly affected when the signal is relatively small. Therefore, automatic gain control (Automatic Gain Control) Gain Control (AGC) system is an important way to improve receiver demodulation performance.

AGC系统由可变增益放大器、检测器和增益控制电路三部分组成,检测器从可变增益放大器的输出中提取信号强度信息,增益控制电路据此自动调节可变增益放大器的增益,以保证待解调信号的强度处于一个稳定水平来提高接收机的解调性能。卫星定位通信接收机的接收灵敏度通常在噪声水平以下,利用信号的相关性实现解调,这就要求接收机链路实现较大的增益以把信号(包括噪声)放大到显著功率水平以进行量化。此外,近年来零中频架构的接收机由于其系统集成度高,电路结构简单等优点使得其应用逐步取代了超外差接收机。The AGC system consists of three parts: a variable gain amplifier, a detector and a gain control circuit. The detector extracts signal strength information from the output of the variable gain amplifier, and the gain control circuit automatically adjusts the gain of the variable gain amplifier accordingly to ensure The strength of the demodulated signal is at a stable level to improve the demodulation performance of the receiver. The receiver sensitivity of satellite positioning communication receivers is usually below the noise level, and the correlation of the signal is used to achieve demodulation, which requires a large gain in the receiver chain to amplify the signal (including noise) to a significant power level for quantization . In addition, in recent years, due to its high system integration and simple circuit structure, the application of zero-IF receivers has gradually replaced superheterodyne receivers.

AGC系统又可以分为模拟AGC、数字AGC和数模混合AGC。模拟AGC系统的可变增益放大器、检测器和增益控制电路都是在模拟域实现的,当输入信号变化时,输出(输入)信号的强度经平方律器件检测信号强度后,反馈(前馈)增益控制信号到可变增益级,使信号强度锁定到规定的范围内。数模混合AGC系统的可变增益放大器采用增益可编程的放大器结构,但是增益控制、甚至信号强度检测都在数字域实现,其增益控制更为灵活、放大器的结构选择更为自由因而可以采用各种反馈技术提高放大器的性能。全数字AGC则完全避免了使用模拟电路,其利用高分辨率的ADC直接将高动态范围的模拟基带信号量化,然后在数字域实现信号增益,这不但具有可靠性高、方便配置、易于调试和精确性高等优点,还减少了模拟信号处理的环节,因而缓解了非线性失真对信噪比的恶化。数字AGC具有更精确的增益调整步长、更强的AGC控制能力,输出信号波动可以小于1dB甚至更小,模拟AGC输出信号波动通常为3~6dB以保证系统的稳定。随着高速高精度ADC设计技术和高速度、低成本的数字信号处理芯片的发展,全数字AGC展现出诸多优势并获得越来越广泛的应用。The AGC system can be divided into analog AGC, digital AGC and digital-analog mixed AGC. The variable gain amplifier, detector and gain control circuit of the analog AGC system are all implemented in the analog domain. When the input signal changes, the intensity of the output (input) signal is fed back (feedforward) after the signal intensity is detected by the square law device. Gain controls the signal to a variable gain stage that locks the signal strength to within a specified range. The variable gain amplifier of the digital-analog hybrid AGC system adopts the amplifier structure with programmable gain, but the gain control and even the signal strength detection are realized in the digital domain. This feedback technique improves the performance of the amplifier. The all-digital AGC completely avoids the use of analog circuits. It uses high-resolution ADCs to directly quantize high-dynamic-range analog baseband signals, and then achieves signal gain in the digital domain. This not only has high reliability, convenient configuration, easy debugging and The advantages of high accuracy also reduce the link of analog signal processing, thus alleviating the deterioration of the signal-to-noise ratio caused by nonlinear distortion. Digital AGC has more precise gain adjustment step size and stronger AGC control ability, and the output signal fluctuation can be less than 1dB or even smaller. The analog AGC output signal fluctuation is usually 3~6dB to ensure the stability of the system. With the development of high-speed and high-precision ADC design technology and high-speed, low-cost digital signal processing chips, all-digital AGC has shown many advantages and has been widely used.

发明内容Contents of the invention

发明目的:针对以上问题,本发明提出一种用于无线通信接收机的数字自动增益控制电路。Purpose of the invention: In view of the above problems, the present invention proposes a digital automatic gain control circuit for a wireless communication receiver.

技术方案:为实现本发明的目的,本发明所采用的技术方案是:一种用于无线通信接收机的数字自动增益控制电路,包括数字放大器、模值计算电路、平均值滤波器、功率计算电路、门限比较电路和误差处理电路。Technical solution: In order to achieve the purpose of the present invention, the technical solution adopted in the present invention is: a digital automatic gain control circuit for a wireless communication receiver, including a digital amplifier, a modulus calculation circuit, an average value filter, a power calculation circuit, threshold comparison circuit and error processing circuit.

输入信号通过数字放大器后被注入到模值计算电路中,获取基带信号的模值;平均值滤波器对模值计算电路的模值信号进行分段,并求取各段的平均模值;平均模值经过功率计算电路,将平均模值变换到对数域内,获得基带信号的功率值;功率值依次注入到门限比较电路和误差处理电路。The input signal is injected into the modulus calculation circuit after passing through the digital amplifier to obtain the modulus value of the baseband signal; the average value filter segments the modulus signal of the modulus calculation circuit and calculates the average modulus value of each segment; The modulus value passes through the power calculation circuit, and the average modulus value is transformed into the logarithmic domain to obtain the power value of the baseband signal; the power value is sequentially injected into the threshold comparison circuit and the error processing circuit.

误差处理电路包含增益系数调整电路和反对数运算电路;增益系数调整电路根据门限比较的结果,应用分段调节机制,得到一个在对数域内的增益系数;反对数运算电路将对数域内的增益系数变换到线性域中,用来驱动数字AGC的数字放大器,完成AGC环路。The error processing circuit includes a gain coefficient adjustment circuit and an antilogarithmic operation circuit; the gain coefficient adjustment circuit applies a segmented adjustment mechanism according to the threshold comparison result to obtain a gain coefficient in the logarithmic domain; the antilogarithmic operation circuit converts the gain coefficient in the logarithmic domain The coefficients are transformed into the linear domain and used to drive the digital amplifier of the digital AGC to complete the AGC loop.

数字放大器包括放大电路、峰值检测电路和误差检测电路;放大电路将输入信号和增益系数相乘,实现输入信号的放大和缩小,使输出信号维持在一个恒定的功率范围内;峰值检测电路和误差检测电路快速检测突变信号,重新调节数字AGC电路,实现数字AGC的快速锁定。The digital amplifier includes an amplifying circuit, a peak detection circuit and an error detection circuit; the amplifying circuit multiplies the input signal and the gain coefficient to realize the amplification and reduction of the input signal, so that the output signal is maintained within a constant power range; the peak detection circuit and the error The detection circuit quickly detects the sudden change signal, readjusts the digital AGC circuit, and realizes the fast locking of the digital AGC.

峰值检测电路通过判断信号的平均估计模值和增益系数信号相乘的结果是否超出信号允许的最大值,来控制增益系数。其工作方法为取一段时间内信号的平均估计模值,与增益系数相乘,判断是否超出正常信号的最大阈值,超出范围,则产生一个标志位,对误差处理电路中增益系数控制电路重新置位,使增益系数快速回到初值;没有超出,则表示信号正常。The peak detection circuit controls the gain coefficient by judging whether the result of multiplying the average estimated modulus of the signal by the gain coefficient signal exceeds the maximum value allowed by the signal. Its working method is to take the average estimated modulus value of the signal within a period of time, multiply it by the gain coefficient, and judge whether it exceeds the maximum threshold of the normal signal. If it exceeds the range, a flag will be generated to reset the gain coefficient control circuit in the error processing circuit. bit, so that the gain coefficient quickly returns to the initial value; if it is not exceeded, it means that the signal is normal.

误差检测电路检测放大电路的输出是否超出其允许的最大阈值,超出最大阈值,表示放大电路的输出信号不准确,选择器输出未经过放大电路调整的信号;输入信号没有超出最大阈值,表示放大电路调节的信号有效,选择器输出经过放大电路调整后的信号。The error detection circuit detects whether the output of the amplifying circuit exceeds its allowable maximum threshold. If it exceeds the maximum threshold, it means that the output signal of the amplifying circuit is inaccurate, and the selector outputs a signal that has not been adjusted by the amplifying circuit; if the input signal does not exceed the maximum threshold, it means that the amplifying circuit The adjusted signal is effective, and the selector outputs the signal adjusted by the amplifying circuit.

有益效果:本发明利用对数运算,在对数域内实现功率调节,将原有的乘除法运算转换为加减法运算,大大提高数字AGC的运算速度和锁定时间,具有快速响应,控制电路简单,控制灵活等特点。同时,误差处理电路应用分段调节机制,简化增益系数控制的复杂度,提高电路的运算效率,合理地控制了信号的波动。Beneficial effects: the present invention uses logarithmic operations to realize power regulation in the logarithmic domain, converts the original multiplication and division operations into addition and subtraction operations, greatly improves the operation speed and locking time of digital AGC, has fast response, and simple control circuit , flexible control and so on. At the same time, the error processing circuit uses a segmented adjustment mechanism to simplify the complexity of gain coefficient control, improve the operational efficiency of the circuit, and reasonably control signal fluctuations.

本发明引入峰值检测电路和误差处理电路有效地消除突变信号的影响,保证接收机正常工作。本发明具有一个宽动态范围,当输入信号在宽动态范围变化时,AGC输出装置输出信号的平均功率大致保持恒定,使得信号大小维持在一个适合的范围,以改善接收机的解调性能。The invention introduces a peak detection circuit and an error processing circuit to effectively eliminate the influence of a sudden change signal and ensure the normal operation of the receiver. The invention has a wide dynamic range, and when the input signal changes in the wide dynamic range, the average power of the output signal of the AGC output device is approximately kept constant, so that the signal size is maintained in a suitable range to improve the demodulation performance of the receiver.

附图说明Description of drawings

图1是本发明的电路所处接收机的位置图;Fig. 1 is the location diagram of the receiver where the circuit of the present invention is located;

图2是本发明所述的用于无线通信接收机的数字自动增益控制电路图;Fig. 2 is a digital automatic gain control circuit diagram for a wireless communication receiver according to the present invention;

图3是数字放大器的结构图;Fig. 3 is a structural diagram of a digital amplifier;

图4是峰值检测电路的结构图;Fig. 4 is a structural diagram of a peak detection circuit;

图5是误差检测电路的结构图;Fig. 5 is a structural diagram of an error detection circuit;

图6是本发明的控制流程图;Fig. 6 is a control flowchart of the present invention;

图7是本发明的仿真结果图。Fig. 7 is a graph of simulation results of the present invention.

具体实施方式detailed description

下面结合附图和实施例对本发明的技术方案作进一步的说明。The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and embodiments.

本发明的电路所处接收机的位置如图1所示,接收到的射频信号经过零中频接收机的射频前端和ADC采样后变为基带的I、Q两路信号。基带的I、Q两路信号经过数字AGC电路,实现输出信号的功率基本恒定。最后,完成自动增益控制后的信号送给数字接收机进行解调等工作。The position of the receiver where the circuit of the present invention is located is as shown in Figure 1, and the received radio frequency signal becomes two-way signals of baseband I and Q after being sampled by the radio frequency front end and ADC of the zero-IF receiver. The I and Q two-way signals of the baseband pass through the digital AGC circuit, so that the power of the output signal is basically constant. Finally, the signal after automatic gain control is sent to the digital receiver for demodulation and other work.

本发明所述的数字AGC电路如图2所示,包括数字放大器、模值计算电路、平均值滤波器、功率计算电路、误差处理电路中的增益系数调整电路和反对数变换电路。The digital AGC circuit of the present invention, as shown in Figure 2, includes a digital amplifier, a modulus calculation circuit, an average value filter, a power calculation circuit, a gain coefficient adjustment circuit and an antilog conversion circuit in the error processing circuit.

本发明所述的数字AGC电路具体控制方法为:The concrete control method of digital AGC circuit of the present invention is:

在初始状态,AGC控制装置生成初始的增益系数factor,信号经过零中频接收机后,通过sigma-delta A/D转换器后,得到I、Q两路复信号,表示为XI+j*XQ。经过如图3所示的数字放大器后,将复信号与增益系数相乘后,得到一个调整后的复信号,表示为YI+j*YQ,其表达式可写为:In the initial state, the AGC control device generates the initial gain factor factor. After the signal passes through the zero-IF receiver and the sigma-delta A/D converter, two complex signals of I and Q are obtained, expressed as XI+j*XQ. After the digital amplifier shown in Figure 3, the complex signal is multiplied by the gain coefficient to obtain an adjusted complex signal, expressed as YI+j*YQ, and its expression can be written as:

YI+j*YQ=(XI+j*XQ)*factorYI+j*YQ=(XI+j*XQ)*factor

同时,峰值检测电路主要是通过判断信号的平均估计模值和增益系数信号相乘的结果是否超出信号允许的最大值,来控制增益系数。如图4所示,其工作方法为:取一段时间内信号的平均估计模值,与增益系数相乘,判断其是否超出正常信号的最大阈值,一旦其超出范围,则产生一个标志位,对误差处理电路中增益系数控制电路重新置位,使得增益系数快速回到初值;没有超出,则表示信号正常。At the same time, the peak detection circuit mainly controls the gain coefficient by judging whether the result of multiplying the average estimated modulus of the signal by the gain coefficient signal exceeds the maximum value allowed by the signal. As shown in Figure 4, its working method is: take the average estimated modulus value of the signal within a period of time, multiply it by the gain coefficient, and judge whether it exceeds the maximum threshold of the normal signal. Once it exceeds the range, a flag will be generated. The gain coefficient control circuit in the error processing circuit is reset, so that the gain coefficient quickly returns to the initial value; if it does not exceed, it means that the signal is normal.

经过放大电路调整后的信号和原始的输入信号被同时注入到如图5所示的误差检测电路的数据选择器中,同时,经过放大电路调整后的信号流入比较控制电路后的输出信号被作为数据选择器的控制信号。比较控制电路主要用来检测放大电路的输出是否超出其允许的最大阈值,一旦超出最大阈值,表明此次放大电路的输出信号并不准确,则选择器输出未经过放大电路调整的信号;如果输入信号没有超出最大阈值,表明此次调节的信号有效,则选择器输出经过放大电路调整后的信号。The signal adjusted by the amplifier circuit and the original input signal are injected into the data selector of the error detection circuit shown in Figure 5 at the same time, and the output signal after the signal adjusted by the amplifier circuit flows into the comparison control circuit is used as Control signal for the data selector. The comparison control circuit is mainly used to detect whether the output of the amplifying circuit exceeds its allowable maximum threshold. Once the maximum threshold is exceeded, it indicates that the output signal of the amplifying circuit is not accurate, and the selector outputs a signal that has not been adjusted by the amplifying circuit; if the input If the signal does not exceed the maximum threshold, it indicates that the adjusted signal is valid, and the selector outputs the signal adjusted by the amplifying circuit.

将数字放大器的输出信号注入模值计算电路,得到此时复信号的模值A,其表达式可以写为:The output signal of the digital amplifier is injected into the modulus calculation circuit to obtain the modulus A of the complex signal at this time, and its expression can be written as:

通过平均值滤波器,将输入的模值以Nagc为单位分段,并获取每一段的均值,以减小噪声带来的误差和毛刺,提高AGC环路的稳定性和可靠性,第l段的模值均值的表达式为:Through the average value filter, the input modulus value is segmented with N agc as the unit, and the average value of each segment is obtained to reduce the error and burr caused by noise and improve the stability and reliability of the AGC loop. The expression for the modulus mean of a segment is:

将上述平均模值注入功率计算电路中,通过对数算法获得其在对数域内的平均功率其计算式如下:The above average modulus Inject into the power calculation circuit, and obtain its average power in the logarithmic domain through the logarithmic algorithm Its calculation formula is as follows:

在对数域内进行功率调节,将原有的乘除法运算转换为加减法运算,大大提高数字AGC的运算速度和锁定时间。再将与AGC设定的阈值(thr)进行比较,根据增益系数调整电路设定一个合适的对数域的AGC系数控制字,其调整过程如图6所示。再通过反对数电路,将上述控制字从对数域变换到线性域中反馈到数字放大器,作为下面复信号的增益系数,从而调整AGC的输入功率,使其达到一个稳定的功率值。The power adjustment is performed in the logarithmic domain, and the original multiplication and division operations are converted into addition and subtraction operations, which greatly improves the operation speed and lock time of the digital AGC. Again Compared with the threshold value (thr) set by AGC, an appropriate AGC coefficient control word in the logarithmic domain is set according to the gain coefficient adjustment circuit, and the adjustment process is shown in FIG. 6 . Then through the antilog circuit, the above control word is transformed from the logarithmic domain to the linear domain and fed back to the digital amplifier as the gain coefficient of the complex signal below, thereby adjusting the input power of the AGC to achieve a stable power value.

上述增益系数控制过程中,需要仔细确定增益步进,增益步进太大则环路容易出现不稳定状态,增益步进太小则容易导致系统收敛时间过长。因此,本方案中根据初始值与目标值之间的差距大小采取不同的增益步进进行调整,保证系统稳定的情况下尽可能快速的收敛。In the above gain coefficient control process, the gain step needs to be carefully determined. If the gain step is too large, the loop is likely to be unstable, and if the gain step is too small, the system may take too long to converge. Therefore, in this scheme, different gain steps are used for adjustment according to the gap between the initial value and the target value, so as to ensure that the system converges as quickly as possible under the condition of stability.

首先,输入信号的功率和阈值thr进行减法操作,其所得的差值记为e,表示为输入信号相对于参考功率的大小。然后,对e的符号进行判断,如果为正,表明需要对输入信号进行衰减控制;如果为负,表明需要对输入信号进行放大控制。为了实现数字AGC增益系数的准确控制,这里引入多阈值的方式,实现数字AGC的分段控制,即在判决端设置多个不同的阈值,并根据这些不同的阈值设定对应每个阈值的增益调节步进。将差值e的绝对值与阈值进行比较,选择合适的增益控制步进,并根据差值e的符号,确定数字AGC进行放大控制还是衰减控制,以实现信号功率调节的目的。这里,设置4个阈值(thr1>thr2>thr3>thr4)以其对应每个阈值的增益调节步进(coef1>coef2>coef3>coef4)。First, the power of the input signal is subtracted from the threshold value thr, and the resulting difference is denoted as e, which is expressed as the magnitude of the input signal relative to the reference power. Then, the sign of e is judged. If it is positive, it indicates that the input signal needs to be attenuated; if it is negative, it indicates that the input signal needs to be amplified. In order to achieve accurate control of the digital AGC gain coefficient, a multi-threshold method is introduced here to realize the segmented control of the digital AGC, that is, multiple different thresholds are set at the decision end, and the gain corresponding to each threshold is set according to these different thresholds Adjust the step. Compare the absolute value of the difference e with the threshold, select the appropriate gain control step, and determine whether the digital AGC performs amplification control or attenuation control according to the sign of the difference e, so as to achieve the purpose of signal power regulation. Here, four thresholds (thr1>thr2>thr3>thr4) are set to correspond to the gain adjustment steps of each threshold (coef1>coef2>coef3>coef4).

其基本判决流程如下:The basic judgment process is as follows:

如果|e|≥thr1,那么说明输入信号的功率与参考功率相差较大,则采用第一增益步进coef1;如果thr2≤|e|<thr1,那么说明输入信号的功率与参考功率相差相对较大,则采用第二较大增益步进coef2;如果thr3≤|e|<thr2,那么说明输入信号的功率与参考功率相差相对较小,则采用第三增益步进coefS;如果thr4≤|e|<thr3,那么说明输入信号的功率与参考功率相差较小,则采用第四增益步进coef4;如果|e|<thr4,则说明输入信号的功率与参考功率相差很小,则保持增益系数不变。在选择增益步进的同时,根据差值e的符号确定数字AGC进行放大控制还是衰减控制,如果为正,表明需要对输入信号进行衰减控制;如果为负,表明需要对输入信号进行放大控制。通过这样的方式既可以快速调节信号的功率,又可以保证电路的稳定性。If |e|≥thr1, it means that the power of the input signal is quite different from the reference power, then use the first gain step coef1; if thr2≤|e|<thr1, it means that the power of the input signal is relatively different from the reference power is large, then use the second largest gain step coef2; if thr3≤|e|<thr2, it means that the difference between the power of the input signal and the reference power is relatively small, then use the third gain step coefS; if thr4≤|e |<thr3, it means that the difference between the power of the input signal and the reference power is small, and the fourth gain step coef4 is used; if |e|<thr4, it means that the power of the input signal is very different from the reference power, and the gain coefficient is maintained constant. While selecting the gain step, determine whether the digital AGC performs amplification control or attenuation control according to the sign of the difference e. If it is positive, it indicates that the input signal needs to be under attenuation control; if it is negative, it indicates that the input signal needs to be under amplification control. In this way, the power of the signal can be quickly adjusted, and the stability of the circuit can be ensured.

本发明的仿真效果如图7所示,从图中可以看出发明能够很快地对输入信号的变化作出响应,使得AGC环路稳定。相较于传统的AGC电路,能够更准确的检测信号强度,更精确地控制增益步进。在输入信号变化较大时,仍能够使输出信号的波动较小。采用数字式AGC,建立时间短、控制灵活、电路结构简单、成本低廉,有着广泛的应用前景。The simulation effect of the present invention is shown in Fig. 7, it can be seen from the figure that the present invention can quickly respond to the change of the input signal, so that the AGC loop is stable. Compared with the traditional AGC circuit, it can detect the signal strength more accurately and control the gain step more accurately. When the input signal changes greatly, the fluctuation of the output signal can still be made small. Adopt digital AGC, set up time is short, control is flexible, circuit structure is simple, cost is low, have extensive application prospect.

Claims (6)

1. a kind of digital resources obtainment circuit for wireless communication receiver, it is characterised in that:Including digital amplifier, Magnitude calculation circuit, averaging filter, power calculation circuit, thresholding comparison circuit and error processing circuitry;
Wherein, input signal obtains the modulus value of baseband signal by being injected into after digital amplifier in magnitude calculation circuit;It is flat Mean filter is segmented to the modulus value signal of magnitude calculation circuit, and asks for each section of average modulus value;Average modulus value is passed through Power calculation circuit, average modulus value is transformed in log-domain, obtains the performance number of baseband signal;Performance number is implanted sequentially door Limit comparison circuit and error processing circuitry;
Error processing circuitry includes gain coefficient adjustment circuit and antilogarithm computing circuit;Gain coefficient adjustment circuit is according to thresholding Result of the comparison, using sectional-regulated mechanism, obtains a gain coefficient in log-domain;Antilogarithm computing circuit is by logarithm Gain coefficient in domain is transformed in linear domain, for driving the digital amplifier of digital AGC, completes AGC loop.
2. the digital resources obtainment circuit according to claim 1 for wireless communication receiver, it is characterised in that: Digital amplifier includes amplifying circuit, peak detection circuit and error-detector circuit;Amplifying circuit is by input signal and gain system Number is multiplied, and realizes the amplification and diminution of input signal, output signal is maintained in a constant power bracket;Peakvalue's checking Circuit and error-detector circuit quick detection jump signal, readjust digital AGC circit, realize the quick lock in of digital AGC.
3. the digital resources obtainment circuit according to claim 2 for wireless communication receiver, it is characterised in that: Peak detection circuit is by judging whether the averaged power spectrum modulus value of signal and the result of gain coefficient signal multiplication permit beyond signal Perhaps maximum, to control gain coefficient;
Its method of work is:The averaged power spectrum modulus value of signal in a period of time is taken, is multiplied, is seen if fall out just with gain coefficient The max-thresholds of regular signal, are gone beyond the scope, then produce a flag bit, and circuit weight is controlled to gain coefficient in error processing circuitry New set, makes gain coefficient be quickly returning to initial value;Without departing from, then it represents that signal is normal.
4. the digital resources obtainment circuit according to claim 2 for wireless communication receiver, it is characterised in that: Whether the output of error-detector circuit detection amplifying circuit exceeds the max-thresholds of its permission, beyond max-thresholds, represents amplification The output signal of circuit is inaccurate, the signal that selector output is adjusted without amplifying circuit;Input signal is without departing from maximum Threshold value, represents that the signal of amplifying circuit regulation is effective, selector exports the signal after amplifying circuit is adjusted.
5. the digital resources obtainment circuit according to claim 1 for wireless communication receiver, it is characterised in that: Power calculation circuit utilizes logarithm operation, and power adjusting is realized in log-domain, by original multiplication and division computing in coefficient control Be converted to signed magnitude arithmetic(al).
6. the digital resources obtainment circuit according to claim 1 for wireless communication receiver, it is characterised in that: Gain coefficient adjustment circuit is sectional-regulated, according to input power and the difference of reference power, sets different gain steppings, control The fluctuation of output signal processed.
CN201710248368.3A 2017-04-17 2017-04-17 Digital Automatic Gain Control Circuit for Wireless Communication Receiver Active CN107086859B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710248368.3A CN107086859B (en) 2017-04-17 2017-04-17 Digital Automatic Gain Control Circuit for Wireless Communication Receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710248368.3A CN107086859B (en) 2017-04-17 2017-04-17 Digital Automatic Gain Control Circuit for Wireless Communication Receiver

Publications (2)

Publication Number Publication Date
CN107086859A true CN107086859A (en) 2017-08-22
CN107086859B CN107086859B (en) 2020-11-20

Family

ID=59612476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710248368.3A Active CN107086859B (en) 2017-04-17 2017-04-17 Digital Automatic Gain Control Circuit for Wireless Communication Receiver

Country Status (1)

Country Link
CN (1) CN107086859B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107659279A (en) * 2017-09-30 2018-02-02 杭州雄迈集成电路技术有限公司 A kind of audio auto gain control method and device
CN109088648A (en) * 2017-09-26 2018-12-25 南京正銮电子科技有限公司 A kind of high speed Larger Dynamic fixed amplitude circuit
CN109497993A (en) * 2018-12-28 2019-03-22 北京品驰医疗设备有限公司 Physiological signal collection sensitivity regulation method and implantable medical equipment
CN109639250A (en) * 2018-11-02 2019-04-16 北京时代民芯科技有限公司 A kind of digital auto gain control method and system
CN109936869A (en) * 2019-01-24 2019-06-25 四川安迪科技实业有限公司 A kind of digital open loop auto gain control method and device for burst communication
CN110474691A (en) * 2019-08-09 2019-11-19 三维通信股份有限公司 Gain control method and device
CN111478705A (en) * 2019-12-31 2020-07-31 南京中科晶上通信技术有限公司 Gain control method, device and circuit based on receiver and receiver
WO2021004164A1 (en) * 2019-07-05 2021-01-14 中兴通讯股份有限公司 Gain adjustment control method, device and apparatus, and computer readable storage medium
CN113676198A (en) * 2021-08-23 2021-11-19 深圳市美科星通信技术有限公司 Anti-interference method and anti-interference device for wireless signals
CN114039618A (en) * 2021-12-16 2022-02-11 四川灵通电讯有限公司 Automatic gain control method applied to digital receiver
CN116208231A (en) * 2023-02-13 2023-06-02 武汉船舶通信研究所(中国船舶集团有限公司第七二二研究所) Automatic gain control system and method for all-digital satellite demodulator
CN116634537A (en) * 2023-06-01 2023-08-22 北京联盛德微电子有限责任公司 Automatic power control method and system of WIFI receiver

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1200848A (en) * 1995-09-15 1998-12-02 夸尔柯姆股份有限公司 Linear digital automatic gain control
CN1852406A (en) * 2006-04-24 2006-10-25 上海交通大学 Method for controlling digital automatic electric-level gain
JP2006333111A (en) * 2005-05-26 2006-12-07 Nippon Telegr & Teleph Corp <Ntt> Automatic gain control circuit, automatic gain control method, and burst receiving modem
CN102195582A (en) * 2010-12-31 2011-09-21 重庆重邮信科通信技术有限公司 AGC (automatic gain control) method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1200848A (en) * 1995-09-15 1998-12-02 夸尔柯姆股份有限公司 Linear digital automatic gain control
JP2006333111A (en) * 2005-05-26 2006-12-07 Nippon Telegr & Teleph Corp <Ntt> Automatic gain control circuit, automatic gain control method, and burst receiving modem
CN1852406A (en) * 2006-04-24 2006-10-25 上海交通大学 Method for controlling digital automatic electric-level gain
CN102195582A (en) * 2010-12-31 2011-09-21 重庆重邮信科通信技术有限公司 AGC (automatic gain control) method and device

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109088648A (en) * 2017-09-26 2018-12-25 南京正銮电子科技有限公司 A kind of high speed Larger Dynamic fixed amplitude circuit
CN107659279A (en) * 2017-09-30 2018-02-02 杭州雄迈集成电路技术有限公司 A kind of audio auto gain control method and device
CN107659279B (en) * 2017-09-30 2023-10-27 浙江芯劢微电子股份有限公司 Audio automatic gain control method and device
CN109639250A (en) * 2018-11-02 2019-04-16 北京时代民芯科技有限公司 A kind of digital auto gain control method and system
CN109497993A (en) * 2018-12-28 2019-03-22 北京品驰医疗设备有限公司 Physiological signal collection sensitivity regulation method and implantable medical equipment
CN109936869B (en) * 2019-01-24 2021-08-03 四川安迪科技实业有限公司 Full-digital open-loop automatic gain control method and device for burst communication
CN109936869A (en) * 2019-01-24 2019-06-25 四川安迪科技实业有限公司 A kind of digital open loop auto gain control method and device for burst communication
US12245170B2 (en) 2019-07-05 2025-03-04 Zte Corporation Gain adjustment control method, device and apparatus, and computer readable storage medium
WO2021004164A1 (en) * 2019-07-05 2021-01-14 中兴通讯股份有限公司 Gain adjustment control method, device and apparatus, and computer readable storage medium
CN110474691A (en) * 2019-08-09 2019-11-19 三维通信股份有限公司 Gain control method and device
AU2020330180B2 (en) * 2019-08-09 2023-06-29 Sunwave Communications Co., Ltd. Gain control method and apparatus
US11863218B2 (en) 2019-08-09 2024-01-02 Sunwave Communications Co., Ltd. Gain control method and apparatus
WO2021027609A1 (en) * 2019-08-09 2021-02-18 三维通信股份有限公司 Gain control method and apparatus
EP3944522A4 (en) * 2019-08-09 2022-06-08 Sunwave Communications Co., Ltd. GAIN CONTROL METHOD AND APPARATUS
CN110474691B (en) * 2019-08-09 2021-06-25 三维通信股份有限公司 Gain control method and device
CN111478705B (en) * 2019-12-31 2023-07-04 南京中科晶上通信技术有限公司 Gain control method, device and circuit based on receiver and receiver
CN111478705A (en) * 2019-12-31 2020-07-31 南京中科晶上通信技术有限公司 Gain control method, device and circuit based on receiver and receiver
CN113676198B (en) * 2021-08-23 2022-12-09 深圳市美科星通信技术有限公司 Anti-interference method and anti-interference device for wireless signals
CN113676198A (en) * 2021-08-23 2021-11-19 深圳市美科星通信技术有限公司 Anti-interference method and anti-interference device for wireless signals
CN114039618A (en) * 2021-12-16 2022-02-11 四川灵通电讯有限公司 Automatic gain control method applied to digital receiver
CN116208231A (en) * 2023-02-13 2023-06-02 武汉船舶通信研究所(中国船舶集团有限公司第七二二研究所) Automatic gain control system and method for all-digital satellite demodulator
CN116634537A (en) * 2023-06-01 2023-08-22 北京联盛德微电子有限责任公司 Automatic power control method and system of WIFI receiver
CN116634537B (en) * 2023-06-01 2024-01-23 北京联盛德微电子有限责任公司 Automatic power control method and system of WIFI receiver

Also Published As

Publication number Publication date
CN107086859B (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CN107086859A (en) Digital Automatic Gain Control Circuit for Wireless Communication Receiver
US9001941B2 (en) Method and apparatus to independently control front end gain and baseband gain
CN107809258B (en) Automatic gain control method and circuit of wireless communication receiver
JP5600325B2 (en) Circuit, system, and method for managing automatic gain control in a quadrature signal path of a receiver
CN103024889B (en) Automatic gain control method applied to wireless communication system
CA2566642A1 (en) Processor-controlled variable gain cellular network amplifiers with oscillation detection circuit
CN109787656B (en) Automatic Gain Control Device for OFDM Power Line Communication
CN107147368B (en) Gain adjusting method and device for gain amplifier
CN101931412A (en) Gain control method and electronic device
JP2011515975A (en) Automatic filter control
CN107018563B (en) For the digital auto gain control method of narrow band signal after broadband system channelizing
US20180048325A1 (en) Multi-path analog front end with adaptive path
GB2552867A (en) Multi-Path digitation based on input signal fidelity and output requirements
US20080070535A1 (en) Circuits and methods for signal gain control
CN103873002B (en) Based on microwave link automatic gain control equipment and the method for pid algorithm
Zhang et al. Digital automatic gain control design with large dynamic range in wireless communication receivers
US9059671B2 (en) Automatic gain control device
CN116346148A (en) Multi-mode automatic gain control method and system based on SoC
US9077327B2 (en) Optimized peak detector for the AGC loop in a digital radio receiver
US7366490B2 (en) Automatic gain control with gain stepping and regulation
CN101588196A (en) Device and method for gain control
CN113992171A (en) A receiver and automatic gain control method thereof
CN117335762A (en) Automatic gain control method, device and storage medium
CN109314935B (en) A method and device for automatic gain control
KR100690438B1 (en) Automatic gain control method with variable gain adjustment interval and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20250512

Address after: Building 01, No. 83 Guangwan Street, Xiangzhou District, Zhuhai City, Guangdong Province 519075, 1st and 2nd floors, Area A, 6th, 7th, 8th, and 9th floors

Patentee after: Jihai Microelectronics Co.,Ltd.

Country or region after: China

Address before: No. 99 Linghu Avenue, Wuxi New District, Wuxi City, Jiangsu Province, China 214001

Patentee before: SOUTHEAST University

Country or region before: China

TR01 Transfer of patent right