[go: up one dir, main page]

WO2017219324A1 - Method and device for automatic gain control - Google Patents

Method and device for automatic gain control Download PDF

Info

Publication number
WO2017219324A1
WO2017219324A1 PCT/CN2016/086950 CN2016086950W WO2017219324A1 WO 2017219324 A1 WO2017219324 A1 WO 2017219324A1 CN 2016086950 W CN2016086950 W CN 2016086950W WO 2017219324 A1 WO2017219324 A1 WO 2017219324A1
Authority
WO
WIPO (PCT)
Prior art keywords
error
power
control
control coefficient
digital signal
Prior art date
Application number
PCT/CN2016/086950
Other languages
French (fr)
Chinese (zh)
Inventor
李海
刘娟
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201680087052.4A priority Critical patent/CN109314935B/en
Priority to PCT/CN2016/086950 priority patent/WO2017219324A1/en
Publication of WO2017219324A1 publication Critical patent/WO2017219324A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/04Transmission power control [TPC]
    • H04W52/52Transmission power control [TPC] using AGC [Automatic Gain Control] circuits or amplifiers

Definitions

  • the present invention relates to the field of microwave communications, and in particular, to a method and apparatus for automatically controlling gain.
  • CA Carrier Aggregation
  • AGC technology is an analog to digital converter (ADC) input signal amplitude by adjusting the gain of the control Gain Amplifier (VGA) when the amplitude of the input signal varies greatly. It is basically constant or varies within a small range.
  • the existing AGC technology monitors the average power of the input signal. When applied to a multi-carrier system, it is affected by continuous wave (CW) interference, resulting in poor power stability of each sub-carrier signal received by the digital receiver, which is not conducive to solution. Tune.
  • CW continuous wave
  • the embodiment of the invention can accurately obtain the average power of the N subcarrier signals, reduce the influence of the CW mutation, and improve the power stability of each subcarrier signal received in the digital receiver, which is beneficial to demodulation.
  • the separating the N subcarrier signals from the digital signal specifically includes: dividing the digital signal into N channels, each of the digital signals Similarly, the Kth subcarrier signal of the Kth digital signal is moved to zero frequency by the spectrum shifting technique, and then matched filtering is performed to separate the Kth subcarrier signal, where K is a positive integer not greater than N.
  • the embodiment of the invention provides a specific obtaining manner of N subcarrier signals.
  • the obtaining, by the first power and the first threshold, the first error specifically includes: the first threshold minus the first
  • the second error is obtained according to the second power and the second threshold.
  • the second threshold is obtained by subtracting the second power from the second threshold to obtain the second error.
  • the obtaining a second according to the power of each sampling point The power specifically includes: measuring, as the second power, an average power of a digital signal sampling point whose power is greater than the second threshold.
  • the second power of the embodiment of the present invention exceeds the second threshold The average power of the digital signal sampling point can reduce the jitter of the second power and increase system stability.
  • the obtaining an error control coefficient according to the first error and the second error includes: Multiplying the first error by the first factor to obtain a first control coefficient, the second error multiplied by the second factor, to obtain a second control coefficient, wherein the first factor and the second factor are preset The value of the error control coefficient is obtained according to the first control coefficient and the second control coefficient.
  • the error extraction operation in the embodiment of the present invention combines the second power of the measured digital signal and the average power of the N subcarriers, avoiding the use of measuring the average power of the N subcarriers alone, and the estimation is caused by not considering the influence of the CW.
  • the peak power of the digital signal is too small, resulting in a situation where the signal power entering the ADC exceeds the dynamic range.
  • the obtaining a second according to the power of each sampling point The power specifically includes: measuring a peak power of a sampling point of the digital signal as the second power; after obtaining the second power, the method further includes: calculating the digital signal in the second time period The average power, the digital signal peak-to-average ratio is obtained according to the second power and the average power, and the second threshold is obtained according to the peak-to-average ratio of the digital signal, wherein the digital signal peak-to-average ratio is larger, The second threshold is smaller.
  • Figure 5 is a structural diagram of a device according to an embodiment of the present invention.
  • FIG. 1 a system architecture diagram is provided as shown in FIG. 1 for applying the method provided by the embodiment of the present invention.
  • the workflow of the system architecture is as follows:
  • the AGC module can obtain the power information of the current signal, send the control voltage to the VGA, and control the gain intensity of the VGA, so that the amplitude of the signal of the input ADC is within a suitable range with a high probability to ensure the normal operation of the ADC. .
  • FIG. 1 is a possible application scenario of the embodiment of the present invention, and the embodiment of the present invention may also be applied to other scenarios, which is not limited by the disclosure.
  • the ADC samples the N subcarrier signals, and if the number of sampling points in the first time period is L, the sum of the average powers of the N subcarrier signals in the first time period is:
  • the average power of the N subcarrier signals can be accurately obtained, and the influence of the CW mutation is reduced, so that the power stability of each subcarrier signal received in the digital receiver is improved.
  • reducing the fluctuation in power is conducive to demodulation; and combining the second power of the measured digital signal with the average power of the N subcarriers, avoiding the use of measuring the average power of the N subcarriers alone, occurs because the influence of CW is not considered
  • the estimated peak power of the digital signal is too small, resulting in a situation where the signal power entering the ADC exceeds the dynamic range.
  • the error control coefficient is obtained by multiplying the first error by the first factor to obtain the first control coefficient, and the second error is multiplied by the second factor to obtain the second control coefficient; according to the first control coefficient and the second control coefficient Obtaining an error control coefficient, wherein the first factor and the second factor are Pre-set values.
  • measuring the power of each sampling point of the digital signal in the second time period calculating the peak power of the digital signal in the second time period as the second power; calculating the digital signal in the second time period
  • the average power in the internal power is obtained according to the second power and the average power, and the peak-to-average ratio of the digital signal is obtained.
  • the second threshold is obtained, wherein the peak ratio of the digital signal is larger, and the second threshold is smaller.
  • decibel (dB) is a relative ratio, and the subtraction between two quantities in dB is equivalent to the division between actual quantities (for example, milliwatts), therefore, in dB.
  • the peak-to-average ratio calculation formula can be written as:
  • the second threshold is the target mean of the digital signal
  • the difference between the sum of the second threshold and the peak sum of the digital signal and the dynamic range of the ADC is used as a protection threshold for Ensure that the peak power does not exceed the dynamic range of the ADC. It can be set according to the specific conditions of the digital signal. In the digital signal, when the CW power is greater than the power of the subcarrier signal, the protection threshold can be appropriately small because the power of the CW is relatively stable. Some, conversely, when the CW power is less than the power of the subcarrier signal, the protection threshold may be appropriately larger.
  • the sum of the second threshold and the digital signal peak is smaller than the dynamic range of the ADC.
  • the dynamic range of the ADC refers to the difference between the maximum power and the minimum power acceptable to the ADC. Specifically, taking the dynamic range of the ADC as 19dB, the protection threshold is assumed to be 3dB. If the peak-to-average ratio of the digital signal is 6dB, the second threshold at this time can be set to 10dB.
  • the second threshold at this time can be set to 4 dB; when the power of the CW is greater than the power of the subcarrier signal, the peak-to-average ratio of the digital signal is the peak-to-average ratio of the CW, which is about 3 dB. Since the power of the CW is relatively stable, the protection threshold can be reduced. Small, assuming a reduction of 1 dB, the second threshold can be set to 15 dB.
  • the expression of the second threshold can be:
  • K is -1 and B is 16 dB.
  • the second threshold is the target mean of the digital signal
  • the peak power of the digital signal can reach about 16 dB, which can fully utilize the dynamic range of the ADC, and has 3 dB of protection, which does not exceed the dynamic range of the ADC, resulting in Signal distortion problem.
  • the protection threshold can be reduced when the CW power is greater than the subcarrier signal power
  • the second threshold expression may specifically be:
  • the peak-to-average ratio of the digital signal when the peak-to-average ratio of the digital signal is 12 dB, the peak power of the digital signal can only reach about 12 dB, and the utilization of the dynamic range of the ADC is not as good as the fixed protection threshold, but when the peak-to-average ratio of the digital signal is 3 dB, The peak power of the digital signal can reach about 18dB. The way in which the dynamic range of the ADC is better than the fixed protection threshold. Moreover, when the peak-to-average ratio of the digital signal is 3dB, the power of the CW is much larger than the power of the subcarrier signal, and the protection threshold of 1dB can also ensure that the dynamic range of the ADC does not appear, resulting in signal distortion.
  • the second threshold is based on the maximum peak-to-average ratio of the digital signal, assuming that the ADC dynamic range is still 19 dB, the peak-to-average ratio is between 4 dB and 12 dB, and the protection threshold is still set to 3 dB.
  • the digital signal peak-to-average ratio is 12dB
  • the dynamic range of the ADC can be fully utilized, but when the digital signal peak-to-average ratio is 4dB, due to the second
  • the threshold is the target mean of the digital signal, and the peak power of the digital signal is about 8dB. With 11dB as the protection threshold, the dynamic range of the ADC is wasted.
  • the second threshold of the embodiment of the present invention changes with the change of the peak-to-average ratio of the digital signal, and the dynamic range of the ADC can be more fully utilized compared with the fixed second threshold, and the signal noise of the signal entering the ADC
  • the ratio is proportional to the effective number of bits of the ADC, and the more fully utilized the dynamic range of the ADC, the higher the effective number of bits of the ADC, so embodiments of the present invention can make the input data have a higher signal to noise ratio.
  • the second threshold expression of the embodiment of the present invention is not limited to the above two types, and may be set according to actual conditions, which is not limited by the present invention.
  • the third factor will decrease as the peak-to-average ratio of the digital signal decreases.
  • the modulation format of the digital signal remains unchanged, if the peak-to-average ratio of the digital signal is reduced, the power of the CW will be It will rise, that is, the influence of CW will increase. Therefore, the ratio of the first error is reduced, and it is necessary to multiply by the third factor.
  • the obtaining the error control coefficient according to the first error and the second error specifically includes: multiplying the first error by the first factor, obtaining the first control coefficient, and multiplying the second error by the second a second correction error is obtained by multiplying the second correction error by a fourth correction factor; and an error control coefficient is obtained according to the first control coefficient and the second control coefficient, wherein the first factor and the second factor are The pre-set value, the fourth factor is the value that varies with the peak-to-average ratio.
  • the fourth factor will increase as the peak-to-average ratio of the digital signal decreases.
  • the specific manner of obtaining the error control coefficient according to the first control coefficient and the second control coefficient is: adding or multiplying the first control coefficient and the second control coefficient to obtain an error a control coefficient; the specific manner of generating the second control voltage according to the error control coefficient is: performing loop filtering (LPF), numerical control oscillation, and low-pass filtering processing on the error control coefficient to generate a second control voltage .
  • LPF loop filtering
  • the specific manner of obtaining the error control coefficient according to the first control coefficient and the second control coefficient may further be: performing loop filtering on the first control coefficient and the second control coefficient, respectively, to obtain the filtered first
  • the control coefficient and the filtered second control coefficient add or multiply the filtered first control coefficient and the filtered second control coefficient to obtain an error control coefficient.
  • the error control coefficient is subjected to numerical control oscillation and low-pass filtering processing to generate a second control voltage.
  • the loop filtering can filter the jitter of the control coefficient, and the time domain expression of the loop filtering is:
  • Lpf_out(n) lpf_out(n-1)+err(n)*kp+err(n-1)*(kp-ki)
  • lpf_out(n-1) represents the output of the n-1th loop filter
  • err(n-1) represents the error control coefficient obtained at the n-1th time
  • kp is the scale factor
  • ki is the integral factor
  • modulation Two factors can obtain a stable output, and loop filtering can filter out the low-probability abrupt signal and enhance the stability of the system.
  • the numerical control oscillation of the error control coefficient can generate a control signal that reflects the voltage value by the clock duty ratio, and controls the voltage setting of the VGA.
  • the control signal is a Pulse Width Modulation (PWM) signal.
  • the low-pass filtering process is performed on the control signal, and the control voltage represented by the duty ratio in the control signal can be converted into the actual control voltage to complete the control voltage input of the VGA, and finally the AGC control function is completed.
  • the output pin voltage of the digital modulation and demodulation chip as 1V as an example, since the duty ratio of the control signal ranges from 0% to 100%, when the control voltage required to be output is 0.45V, the output duty ratio is 45%.
  • the control signal is subjected to low-pass filtering, and the output control voltage is 0.45V.
  • the voltage control gain amplifier 510 is configured to receive the analog signal and the first control voltage, perform gain on the analog signal according to the first control voltage, and send the analog signal after the gain to the analog to digital converter 520.
  • the analog-to-digital converter 520 is configured to receive the analog signal after the gain from the voltage control gain amplifier 510, perform analog-to-digital conversion on the analog signal after the gain, obtain a digital signal, and send the digital signal to the subcarrier power detector 530 and the digital signal. Detector 540.
  • the subcarrier power detector 530 is configured to receive a digital signal from the analog to digital converter 520, separate N subcarrier signals from the digital signal, and calculate a sum of average powers of the N subcarrier signals in the first time period to obtain a first power.
  • the first power is sent to the error extractor 550, where N is a positive integer.
  • n represents the value of the nth sample point.
  • the digital signal detector 540 is configured to receive a digital signal from the analog-to-digital converter 520, measure the power of each sampling point of the digital signal in the second time period, and obtain a second power according to the power of each sampling point, and obtain the second power. It is sent to the error extractor 550.
  • the first time period and the second time period are equal.
  • the digital signal detector 540 is specifically configured to: measure an average power of the digital signal sampling point whose power is greater than the second threshold as the second power.
  • the digital signal detector 540 counts the digital signal sampling points whose power exceeds the second threshold in the second time period, and calculates the power average value of the digital signal sampling point that meets the requirement as the second power. It can reduce the jitter of the second power and improve the stability.
  • the error extractor 550 is configured to receive the first power from the subcarrier power detector 530, receive the second power from the digital signal detector 540, and obtain a first error according to the first power and the first threshold, according to the second power and the first The second threshold obtains a second error, and according to the first error and the second error, an error control coefficient is obtained, and the error control coefficient is sent to the control voltage generator 560.
  • the first threshold is used to extract the power error of the N subcarrier signals
  • the second threshold is used to extract the second power error of the digital signal
  • the first threshold is a preset value
  • the error extractor 550 is specifically configured to: subtract the first power from the first threshold to obtain a first error; subtract the second power from the second threshold to obtain a second error; or use the first threshold and the first power
  • the ratio is logarithmically operated to obtain a first error; the ratio of the second threshold to the second power is logarithmically computed to obtain a second error.
  • the error extractor 550 is specifically configured to: multiply the first error by the first factor to obtain the first control coefficient, and multiply the second error by the second factor to obtain the second control coefficient; The first control coefficient and the second control coefficient obtain an error control coefficient.
  • the control voltage generator 560 is configured to receive an error control coefficient from the error extractor 550, obtain a second control voltage according to the error control coefficient, and send the second control voltage to the voltage control gain amplifier 510, wherein the second control voltage is used for control The gain on the analog signal.
  • the average power of the N subcarrier signals can be accurately obtained, and the influence of the CW mutation is reduced, so that the power stability of each subcarrier signal received in the digital receiver is improved.
  • reducing the fluctuation in power is conducive to demodulation; and combining the second power of the measured digital signal with the average power of the N subcarriers, avoiding the use of measuring the average power of the N subcarriers alone, occurs because the influence of CW is not considered
  • the peak power of the estimated digital signal is too small, resulting in a situation where the signal power entering the analog-to-digital converter 520 exceeds the dynamic range.
  • the average power detector 542 is configured to detect the average power of the digital signal in the second time period, and send the average power to the peak-to-average ratio calculator 543;
  • the peak-to-average ratio calculator 543 is configured to receive the peak power from the peak power detector 541, receive the average power from the average power detector 542, calculate the peak-to-average ratio of the digital signal in the second period, and send the peak-to-average ratio of the digital signal to Error extractor 550.
  • the error extractor 550 is further configured to receive a peak-to-average ratio of the digital signal from the peak-to-average ratio calculator 543, and obtain a second threshold according to a peak-to-average ratio of the digital signal, where the digital signal peaks are averaged The larger the ratio, the smaller the second threshold.
  • the second threshold of the embodiment of the present invention changes with the change of the peak-to-average ratio of the digital signal, and the dynamic range of the analog-to-digital converter 520 can be more fully utilized compared with the fixed second threshold, due to entering the modulus
  • the signal to noise ratio of the signal of converter 520 is proportional to the effective number of bits of analog to digital converter 520, and the more fully the dynamic range of analog to digital converter 520 is utilized, analog to digital converter 520
  • the higher the effective number of bits, the embodiment of the invention allows the input signal to have a higher signal to noise ratio.
  • the error extractor 550 is specifically configured to: multiply the first error by the first factor to obtain a first correction error, and multiply the first correction error by a third factor to obtain a first control coefficient, Multiplying the second error by the second factor to obtain a second control coefficient, wherein the first factor and the second factor are preset values, and the third factor is a value that varies with the peak-to-average ratio; according to the first control coefficient and The second control coefficient gives the error control coefficient.
  • the first error is the power error of the N subcarrier signals
  • the second error is the peak power error of the digital signal
  • the third factor varies with the peak-to-average ratio of the digital signal
  • both the first factor and the second factor are It is a number far less than 1, which can reduce the intensity of signal change and improve the stability of the system operation
  • the first factor and the second factor can set several different sets of values according to the requirements of the system, wherein the system requirements are mainly power changes. Tracking speed, power jitter level, etc.
  • the third factor will decrease as the peak-to-average ratio of the digital signal decreases.
  • the modulation format of the digital signal remains unchanged, if the peak-to-average ratio of the digital signal decreases, the power of the CW will increase, that is, the influence of the CW will increase, and therefore, the first error
  • the ratio is less important and needs to be adjusted by the third factor.
  • the error extractor 550 is specifically configured to: multiply the first error by the first factor to obtain the first control coefficient, and multiply the second error by the second factor to obtain the second correction error.
  • the second correction factor is multiplied by the fourth factor to obtain a second control coefficient, wherein the first factor and the second factor are preset values, and the fourth factor is a value that varies with the peak-to-average ratio of the digital signal; according to the first control
  • the coefficient and the second control coefficient result in an error control coefficient.
  • the fourth factor will increase as the peak-to-average ratio of the digital signal decreases.
  • the error extractor 550 is specifically configured to: perform loop filtering on the first control coefficient and the second control coefficient, respectively, to obtain the filtered first control coefficient and the filtered second control coefficient. And adding or multiplying the filtered first control coefficient and the filtered second control coefficient to obtain an error control coefficient.
  • the error extractor 550 is specifically configured to: add or multiply the first control coefficient and the second control coefficient to obtain an error control coefficient.
  • the control voltage generator 560 further includes a loop filter 561, a numerically controlled oscillator 562, and a low pass filter 563.
  • the loop filter 561 is configured to receive an error control coefficient from the error extractor 550, perform loop filtering on the error control coefficient, and send the filtered error control coefficient to the numerically controlled oscillator 562.
  • the numerically controlled oscillator 562 is configured to receive the filtered error control coefficient from the loop filter 561, generate a control signal according to the filtered error control coefficient, and send the control signal to the low pass filter 563.
  • the low pass filter 563 is configured to receive a control signal from the numerically controlled oscillator 562, obtain a second control voltage according to the control signal, and send the second control voltage to the voltage control gain amplifier 510.

Landscapes

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

Abstract

Disclosed are a method and a device for automatic gain control. The method comprises: receiving an analog signal and a first control voltage, adjusting a gain of the analog signal according to the first control voltage, performing an analog-to-digital conversion on the gain-adjusted analog signal to obtain a digital signal; separating N subcarrier signals from the digital signal, N being a positive integer; measuring the sum of average powers of the N subcarrier signals during a first time period to obtain a first power; obtaining a second power on the basis of a power at each sampling point of the digital signal during a second time period; and generating a second control voltage on the basis of the first power and a first threshold as well as the second power and a second threshold, wherein the second control voltage is used to control the gain of the analog signal. Embodiments of the present invention can accurately obtain the average powers of the N subcarrier signals so that the power stability of the subcarrier signals received in a digital receiver is improved, facilitating demodulation.

Description

一种自动控制增益的方法和装置Method and device for automatically controlling gain 技术领域Technical field
本发明涉及微波通信领域,尤其涉及一种自动控制增益的方法和装置。The present invention relates to the field of microwave communications, and in particular, to a method and apparatus for automatically controlling gain.
背景技术Background technique
在现代通信系统中,对数据传输速率的要求越来越高。对此提升调制模式或者扩展带宽是主要的实现手段,然而提升调制模式受限于硬件实现,传输带宽由于有限的频谱资源也不能无限制的扩展,因此可以提升频谱利用率的非连续载波聚合(Carrier Aggregation,CA)已被迫切需求。非连续CA是一种多载波系统,相对单载波系统来讲,其优点是频谱利用率高,硬件成本低等,其缺点是系统峰均比(Peak Average Rate,PAR)增加,接收信号稳定性降低,干扰变强等。要使系统工作稳定可靠,就必须额外增加一些抗干扰技术,其中,接收机的自动增益控制(Auto Gain Control,AGC)就是改善接收信号质量的主要技术之一。In modern communication systems, the requirements for data transmission rates are increasing. In this case, the modulation mode or the extended bandwidth is the main implementation means. However, the enhanced modulation mode is limited by the hardware implementation, and the transmission bandwidth cannot be expanded without limitation due to limited spectrum resources, so the discontinuous carrier aggregation that can improve the spectrum utilization ( Carrier Aggregation (CA) has been urgently needed. Non-continuous CA is a multi-carrier system. Compared with single-carrier systems, its advantages are high spectrum utilization and low hardware cost. Its disadvantage is that the system's Peak Average Rate (PAR) increases and the received signal is stable. Reduce, the interference becomes stronger, and so on. In order to make the system work stably and reliably, some anti-interference technology must be added. Among them, the receiver's Auto Gain Control (AGC) is one of the main techniques to improve the quality of the received signal.
在微波传输系统中,当微波在空间传输过程中会发生功率的变化,如突然的下雨、起雾等现象,就会导致微波的传输信道产生快速的衰落,反映在信号上就是接收端的接收功率快速的降低。AGC技术就是一种在输入信号幅值变化很大的情况下,通过调节可控增益放大器(Voltage Gain Amplifier,VGA)的增益,使模数转换器(Analog to Digital Converter,ADC)输入信号幅值基本恒定或者在较小的范围内变化。In the microwave transmission system, when microwaves undergo power changes during space transmission, such as sudden rain, fogging, etc., the microwave transmission channel will produce rapid fading, which is reflected in the signal is the receiving end receiving The power is reduced rapidly. AGC technology is an analog to digital converter (ADC) input signal amplitude by adjusting the gain of the control Gain Amplifier (VGA) when the amplitude of the input signal varies greatly. It is basically constant or varies within a small range.
现有的AGC技术监测输入信号的平均功率,应用于多载波系统时,会受到连续波(Continuous Wave,CW)干扰的影响,导致数字接收机接收的各子载波信号功率稳定性差,不利于解调。The existing AGC technology monitors the average power of the input signal. When applied to a multi-carrier system, it is affected by continuous wave (CW) interference, resulting in poor power stability of each sub-carrier signal received by the digital receiver, which is not conducive to solution. Tune.
发明内容Summary of the invention
本发明的目的在于提供一种自动控制增益的方法和装置,解决现有技 术在应用于多载波系统时,易受CW突变的影响,导致数字接收机接收的各子载波信号功率稳定性差,不利于解调的问题。It is an object of the present invention to provide a method and apparatus for automatically controlling gain, which solves the prior art When applied to a multi-carrier system, it is susceptible to CW mutations, resulting in poor power stability of each sub-carrier signal received by the digital receiver, which is not conducive to demodulation.
第一方面,提供一种自动增益控制方法,包括:接收模拟信号和第一控制电压,根据所述第一控制电压对所述模拟信号进行增益,对增益后的模拟信号进行模数转换,得到数字信号;从所述数字信号中分离出N个子载波信号,其中,N为正整数;测量所述N个子载波信号在第一时段内的平均功率之和,得到第一功率;测量所述数字信号在第二时段内每个采样点的功率,根据所述每个采样点的功率,得到第二功率;根据所述第一功率和第一门限,得到第一误差,根据所述第二功率和第二门限,得到第二误差,根据所述第一误差和所述第二误差,得到误差控制系数;根据所述误差控制系数,产生第二控制电压,其中,所述第二控制电压用于控制对所述模拟信号的增益。In a first aspect, an automatic gain control method includes: receiving an analog signal and a first control voltage, performing gain on the analog signal according to the first control voltage, and performing analog-to-digital conversion on the analog signal after gain a digital signal; separating N subcarrier signals from the digital signal, wherein N is a positive integer; measuring a sum of average powers of the N subcarrier signals in a first time period to obtain a first power; measuring the digital And obtaining, according to the power of each sampling point, a second power according to the power of each sampling point; obtaining a first error according to the first power and the first threshold, according to the second power And obtaining a second error according to the second threshold, and obtaining an error control coefficient according to the first error and the second error; generating a second control voltage according to the error control coefficient, wherein the second control voltage is used Controlling the gain of the analog signal.
本发明实施例可以准确获得N个子载波信号的平均功率,降低了CW突变的影响,使得数字接收机中接收的各子载波信号的功率稳定性提升,有利于解调。The embodiment of the invention can accurately obtain the average power of the N subcarrier signals, reduce the influence of the CW mutation, and improve the power stability of each subcarrier signal received in the digital receiver, which is beneficial to demodulation.
结合第一方面,在第一方面的第一种可能的实现方式中,所述从所述数字信号中分离出N个子载波信号具体包括:将所述数字信号分成N路,每路数字信号均相同,将第K路数字信号中第K个子载波信号通过频谱搬移技术搬移到零频,再进行匹配滤波,分离出第K个子载波信号,其中,K为不大于N的正整数。本发明实施例提供了N个子载波信号的具体获得方式。With reference to the first aspect, in a first possible implementation manner of the first aspect, the separating the N subcarrier signals from the digital signal specifically includes: dividing the digital signal into N channels, each of the digital signals Similarly, the Kth subcarrier signal of the Kth digital signal is moved to zero frequency by the spectrum shifting technique, and then matched filtering is performed to separate the Kth subcarrier signal, where K is a positive integer not greater than N. The embodiment of the invention provides a specific obtaining manner of N subcarrier signals.
结合第一方面,在第一方面的第二种可能的实现方式中,所述根据所述第一功率和第一门限,得到第一误差具体包括:所述第一门限减去所述第一功率,得到所述第一误差;所述根据所述第二功率和第二门限,得到第二误差具体包括:所述第二门限减去所述第二功率,得到所述第二误差。With reference to the first aspect, in a second possible implementation manner of the first aspect, the obtaining, by the first power and the first threshold, the first error specifically includes: the first threshold minus the first The second error is obtained according to the second power and the second threshold. The second threshold is obtained by subtracting the second power from the second threshold to obtain the second error.
结合第一方面或第一方面的第一种或第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述根据所述每个采样点的功率,得到第二功率具体包括:测量功率大于所述第二门限的数字信号采样点的平均功率,作为所述第二功率。本发明实施例的第二功率取超过所述第二门限 的数字信号采样点的平均功率,可以降低第二功率的抖动,增加系统稳定性。In conjunction with the first aspect or the first or second possible implementation of the first aspect, in a third possible implementation manner of the first aspect, the obtaining a second according to the power of each sampling point The power specifically includes: measuring, as the second power, an average power of a digital signal sampling point whose power is greater than the second threshold. The second power of the embodiment of the present invention exceeds the second threshold The average power of the digital signal sampling point can reduce the jitter of the second power and increase system stability.
结合第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,所述根据所述第一误差和所述第二误差,得到误差控制系数具体包括:所述第一误差乘上第一因数,得到第一控制系数,所述第二误差乘上第二因数,得到第二控制系数,其中,所述第一因数和所述第二因数为预先设定的数值;根据所述第一控制系数和所述第二控制系数,得到所述误差控制系数。In conjunction with the third possible implementation of the first aspect, in a fourth possible implementation manner of the first aspect, the obtaining an error control coefficient according to the first error and the second error includes: Multiplying the first error by the first factor to obtain a first control coefficient, the second error multiplied by the second factor, to obtain a second control coefficient, wherein the first factor and the second factor are preset The value of the error control coefficient is obtained according to the first control coefficient and the second control coefficient.
本发明实施例中的误差提取操作将测量数字信号的第二功率和N个子载波的平均功率结合起来,避免单独采用测量N个子载波的平均功率时,出现由于不考虑CW的影响,预估的数字信号的峰值功率偏小,导致进入ADC的信号功率超过动态范围的情况。The error extraction operation in the embodiment of the present invention combines the second power of the measured digital signal and the average power of the N subcarriers, avoiding the use of measuring the average power of the N subcarriers alone, and the estimation is caused by not considering the influence of the CW. The peak power of the digital signal is too small, resulting in a situation where the signal power entering the ADC exceeds the dynamic range.
结合第一方面或第一方面的第一种或第二种可能的实现方式,在第一方面的第五种可能的实现方式中,所述根据所述每个采样点的功率,得到第二功率具体包括:测量所述数字信号的采样点的峰值功率,作为所述第二功率;在得到第二功率之后,所述方法还包括:计算出所述数字信号在所述第二时段内的平均功率,根据所述第二功率和所述平均功率,得到数字信号峰均比,根据所述数字信号峰均比,得到所述第二门限,其中,所述数字信号峰均比越大,所述第二门限越小。With reference to the first aspect or the first or second possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the obtaining a second according to the power of each sampling point The power specifically includes: measuring a peak power of a sampling point of the digital signal as the second power; after obtaining the second power, the method further includes: calculating the digital signal in the second time period The average power, the digital signal peak-to-average ratio is obtained according to the second power and the average power, and the second threshold is obtained according to the peak-to-average ratio of the digital signal, wherein the digital signal peak-to-average ratio is larger, The second threshold is smaller.
本发明实施例的第二门限会随着数字信号峰均比的变化而改变,与采用固定的第二门限相比,可以更充分地利用到ADC的动态范围,由于进入ADC的信号的信噪比与ADC的有效位数成正比,且ADC的动态范围利用的越充分,ADC的有效位数越高,因此本发明实施例可以让输入数据具有更高的信噪比。The second threshold of the embodiment of the present invention changes with the change of the peak-to-average ratio of the digital signal, and the dynamic range of the ADC can be more fully utilized compared with the fixed second threshold, and the signal noise of the signal entering the ADC The ratio is proportional to the effective number of bits of the ADC, and the more fully utilized the dynamic range of the ADC, the higher the effective number of bits of the ADC, so embodiments of the present invention can make the input data have a higher signal to noise ratio.
结合第一方面的第五种可能的实现方式,在第一方面的第六种可能的实现方式中,所述根据所述第一误差和所述第二误差,得到误差控制系数具体包括:所述第一误差乘上第一因数,得到第一修正误差,所述第一修正误差乘上第三因数,得到第一控制系数,所述第二误差乘上第二因数,得到第二控制系数,其中,所述第一因数和所述第二因数为预先设定的数 值,所述第三因数为随着所述数字信号峰均比变化的数值;根据所述第一控制系数和所述第二控制系数,得到所述误差控制系数。With reference to the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the obtaining an error control coefficient according to the first error and the second error includes: Multiplying the first error by the first factor to obtain a first correction error, the first correction error is multiplied by a third factor to obtain a first control coefficient, and the second error is multiplied by a second factor to obtain a second control coefficient Where the first factor and the second factor are preset numbers a value, the third factor being a value that varies with a peak-to-average ratio of the digital signal; and the error control coefficient is obtained according to the first control coefficient and the second control coefficient.
结合第一方面的第六种可能的实现方式,在第一方面的第七种可能的实现方式中,所述第三因数随着所述数字信号峰均比的降低而减小。本发明实施例可以根据所述数字信号峰均比情况调节所述第一误差和所述第二误差在所述误差控制系数中的占比,提升系统性能。In conjunction with the sixth possible implementation of the first aspect, in a seventh possible implementation of the first aspect, the third factor decreases as the peak-to-average ratio of the digital signal decreases. In the embodiment of the present invention, the proportion of the first error and the second error in the error control coefficient may be adjusted according to the peak-to-average ratio of the digital signal to improve system performance.
结合第一方面的第五种可能的实现方式,在第一方面的第八种可能的实现方式中,所述根据所述第一误差和所述第二误差,得到误差控制系数具体包括:所述第一误差乘上第一因数,得到第一控制系数,所述第二误差乘上第二因数,得到第二修正误差,所述第二修正误差乘上第四因数,得到第二控制系数,其中,所述第一因数和所述第二因数为预先设定的数值,所述第四因数为随着所述数字信号峰均比变化的数值;根据所述第一控制系数和所述第二控制系数,得到所述误差控制系数。In conjunction with the fifth possible implementation of the first aspect, in an eighth possible implementation manner of the first aspect, the obtaining an error control coefficient according to the first error and the second error specifically includes: The first error is multiplied by the first factor to obtain a first control coefficient, the second error is multiplied by the second factor to obtain a second correction error, and the second correction error is multiplied by a fourth factor to obtain a second control coefficient. Wherein the first factor and the second factor are preset values, the fourth factor being a value that varies with a peak-to-average ratio of the digital signal; according to the first control coefficient and the The second control coefficient obtains the error control coefficient.
结合第一方面的第八种可能的实现方式,在第一方面的第九种可能的实现方式中,所述第四因数随着所述数字信号峰均比的降低而增大。In conjunction with the eighth possible implementation of the first aspect, in a ninth possible implementation of the first aspect, the fourth factor increases as the peak-to-average ratio of the digital signal decreases.
结合第一方面的第六种可能的实现方式,在第一方面的第十种可能的实现方式中,所述根据所述第一控制系数和所述第二控制系数,得到误差控制系数具体包括:将所述第一控制系数和所述第二控制系数相加或相乘,得到所述误差控制系数;所述根据所述误差控制系数,产生第二控制电压具体包括:对所述误差控制系数进行环路滤波,数控振荡以及低通滤波处理,产生所述第二控制电压。With reference to the sixth possible implementation manner of the first aspect, in a tenth possible implementation manner of the first aspect, the obtaining an error control coefficient according to the first control coefficient and the second control coefficient includes: Adding or multiplying the first control coefficient and the second control coefficient to obtain the error control coefficient; and generating the second control voltage according to the error control coefficient specifically includes: controlling the error The coefficients are subjected to loop filtering, numerically controlled oscillation, and low pass filtering to generate the second control voltage.
结合第一方面的第六种可能的实现方式,在第一方面的第十一种可能的实现方式中,所述根据所述第一控制系数和所述第二控制系数,得到误差控制系数具体包括:将所述第一控制系数和所述第二控制系数分别进行环路滤波,得到滤波后的第一控制系数和滤波后的第二控制系数,将所述滤波后的第一控制系数和所述滤波后的第二控制系数相加或相乘,得到所述误差控制系数;所述根据所述误差控制系数,产生第二控制电压具体包括:对所述误差控制系数进行数控振荡以及低通滤波处理,产生所述第二控制电压。 With reference to the sixth possible implementation manner of the first aspect, in an eleventh possible implementation manner of the first aspect, the obtaining an error control coefficient according to the first control coefficient and the second control coefficient The method includes: performing loop filtering on the first control coefficient and the second control coefficient, respectively, to obtain a filtered first control coefficient and a filtered second control coefficient, and the filtered first control coefficient and Adding or multiplying the filtered second control coefficients to obtain the error control coefficient; and generating the second control voltage according to the error control coefficient specifically includes: performing numerical control oscillation on the error control coefficient and low The second control voltage is generated by a filtering process.
第二方面,提供一种自动增益控制设备,包括:电压控制增益放大器,模数转换器,子载波功率检测器,数字信号检测器,误差提取器和控制电压发生器,In a second aspect, an automatic gain control device is provided, comprising: a voltage controlled gain amplifier, an analog to digital converter, a subcarrier power detector, a digital signal detector, an error extractor, and a control voltage generator,
所述电压控制增益放大器,用于接收模拟信号和第一控制电压,根据所述第一控制电压对所述模拟信号进行增益,将增益后的模拟信号发送给所述模数转换器;The voltage control gain amplifier is configured to receive an analog signal and a first control voltage, perform a gain on the analog signal according to the first control voltage, and send the analog signal after the gain to the analog to digital converter;
所述模数转换器,用于从所述电压控制增益放大器接收所述增益后的模拟信号,将所述增益后的模拟信号进行模数转换,得到数字信号,将所述数字信号发送给所述子载波功率检测器和所述数字信号检测器;The analog-to-digital converter is configured to receive the analog signal after the gain from the voltage control gain amplifier, perform analog-to-digital conversion on the analog signal after the gain, obtain a digital signal, and send the digital signal to the Determining a subcarrier power detector and the digital signal detector;
所述子载波功率检测器,用于从所述模数转换器接收所述数字信号,从所述数字信号中分离出N个子载波信号,测量所述N个子载波信号在第一时段内的平均功率之和,得到第一功率,将所述第一功率发送给所述误差提取器,其中,N为正整数;The subcarrier power detector is configured to receive the digital signal from the analog to digital converter, separate N subcarrier signals from the digital signal, and measure an average of the N subcarrier signals in a first time period a sum of powers, a first power is obtained, and the first power is sent to the error extractor, where N is a positive integer;
所述数字信号检测器,用于从所述模数转换器接收所述数字信号,测量所述数字信号在第二时段内每个采样点的功率,根据所述每个采样点的功率,得到第二功率,将所述第二功率发送给所述误差提取器;The digital signal detector is configured to receive the digital signal from the analog to digital converter, and measure power of each sampling point of the digital signal in a second time period, according to the power of each sampling point, a second power, the second power is sent to the error extractor;
所述误差提取器,用于从所述子载波功率检测器接收所述第一功率,从所述数字信号检测器接收所述第二功率,根据所述第一功率和第一门限,得到第一误差,根据所述第二功率和第二门限,得到第二误差,根据所述第一误差和所述第二误差,得到误差控制系数,将所述误差控制系数发送给所述控制电压发生器;The error extractor is configured to receive the first power from the subcarrier power detector, receive the second power from the digital signal detector, and obtain a first according to the first power and the first threshold An error, according to the second power and the second threshold, obtaining a second error, according to the first error and the second error, obtaining an error control coefficient, and sending the error control coefficient to the control voltage Device
所述控制电压发生器,用于从所述误差提取器接收所述误差控制系数,根据所述误差控制系数得到第二控制电压,将所述第二控制电压发送给所述电压控制增益放大器,其中,所述第二控制电压用于控制对所述模拟信号的增益。The control voltage generator is configured to receive the error control coefficient from the error extractor, obtain a second control voltage according to the error control coefficient, and send the second control voltage to the voltage control gain amplifier, Wherein the second control voltage is used to control a gain of the analog signal.
本发明实施例可以准确获得N个子载波信号的平均功率,降低了CW突变的影响,使得数字接收机接收的各子载波信号的功率稳定性提升,有利于解调。The embodiment of the invention can accurately obtain the average power of the N subcarrier signals, reduce the influence of the CW mutation, and improve the power stability of each subcarrier signal received by the digital receiver, which is beneficial to demodulation.
结合第二方面,在第二方面的第一种可能的实现方式中,所述子载波 功率检测器具体用于:将所述数字信号分成N路,每路数字信号均相同,将第K路数字信号中第K个子载波信号通过频谱搬移技术搬移到零频,再进行匹配滤波,分离出第K个子载波信号,其中,K为不大于N的正整数。本发明实施例提供了N个子载波信号的具体获取方式。With reference to the second aspect, in a first possible implementation manner of the second aspect, the subcarrier The power detector is specifically configured to: divide the digital signal into N channels, and each of the digital signals is the same, and move the Kth subcarrier signal of the Kth digital signal to a zero frequency by a spectrum shifting technique, and then perform matching filtering and separation. The Kth subcarrier signal is output, where K is a positive integer not greater than N. The embodiment of the present invention provides a specific acquisition manner of N subcarrier signals.
结合第二方面,在第二方面的第二种可能的实现方式中,所述误差提取器具体用于:所述第一门限减去所述第一功率,得到所述第一误差;所述第二门限减去所述第二功率,得到所述第二误差。With reference to the second aspect, in a second possible implementation manner of the second aspect, the error extractor is specifically configured to: subtract the first power from the first threshold, and obtain the first error; The second threshold is subtracted from the second power to obtain the second error.
结合第二方面或第二方面的第一种或第二种可能的实现方式,在第二方面的第三种可能的实现方式中,所述数字信号检测器具体用于:测量出在所述第二时段内,功率大于所述第二门限的数字信号采样点的平均功率,作为所述第二功率。本发明实施例的第二功率取超过所述第二门限的数字信号采样点的平均功率,可以降低第二功率的抖动,增加系统稳定性。In conjunction with the second aspect or the first or second possible implementation of the second aspect, in a third possible implementation of the second aspect, the digital signal detector is specifically configured to: In the second time period, the power of the digital signal sampling point whose power is greater than the second threshold is used as the second power. The second power of the embodiment of the present invention takes the average power of the digital signal sampling point exceeding the second threshold, which can reduce the jitter of the second power and increase the stability of the system.
结合第二方面的第三种可能的实现方式,在第二方面的第四种可能的实现方式中,所述误差提取器具体用于:所述第一误差乘上第一因数,得到第一控制系数,所述第二误差乘上第二因数,得到第二控制系数,其中,所述第一因数和所述第二因数为预先设定的数值;根据所述第一控制系数和所述第二控制系数,得到所述误差控制系数。In conjunction with the third possible implementation of the second aspect, in a fourth possible implementation manner of the second aspect, the error extractor is specifically configured to: the first error multiplied by the first factor to obtain the first a control coefficient, the second error multiplied by a second factor, to obtain a second control coefficient, wherein the first factor and the second factor are preset values; according to the first control coefficient and the The second control coefficient obtains the error control coefficient.
本发明实施例中的误差提取器将测量数字信号的第二功率和N个子载波的平均功率结合起来,避免单独采用测量N个子载波的平均功率时,出现由于不考虑CW的影响,预估的数字信号的峰值功率偏小,导致进入ADC的信号功率超过动态范围的情况。The error extractor in the embodiment of the present invention combines the second power of the measured digital signal and the average power of the N subcarriers, avoiding the use of measuring the average power of the N subcarriers alone, and the estimation is caused by not considering the influence of the CW. The peak power of the digital signal is too small, resulting in a situation where the signal power entering the ADC exceeds the dynamic range.
结合第二方面或第二方面的第一种或第二种可能的实现方式,在第二方面的第五种可能的实现方式中,所述数字信号检测器还包括:峰值功率检测器,平均功率检测器和峰均比计算器,所述峰值功率检测器,用于检测所述数字信号在第二时段内的峰值功率,将所述峰值功率发送给所述峰均比计算器;所述平均功率检测器,用于检测所述数字信号在第二时段内的平均功率,将所述平均功率发送给所述峰均比计算器;所述峰均比计算器,用于从所述峰值功率检测器接收所述峰值功率,从所述平均功率检测器接收所述平均功率,计算出第二时段内的数字信号峰均比,将所述数字 信号峰均比发送给所述误差提取器。In conjunction with the second aspect or the first or second possible implementation of the second aspect, in a fifth possible implementation of the second aspect, the digital signal detector further includes: a peak power detector, an average a power detector and a peak-to-average ratio calculator, the peak power detector for detecting a peak power of the digital signal during a second time period, and transmitting the peak power to the peak-to-average ratio calculator; An average power detector for detecting an average power of the digital signal during a second time period, transmitting the average power to the peak-to-average ratio calculator; the peak-to-average ratio calculator for using the peak Receiving, by the power detector, the peak power, receiving the average power from the average power detector, and calculating a peak-to-average ratio of digital signals in a second time period, the number being The signal peak to average ratio is sent to the error extractor.
结合第二方面的第五种可能的实现方式,在第二方面的第六种可能的实现方式中,所述误差提取器还用于,从所述峰均比计算器接收所述数字信号峰均比,根据所述数字信号峰均比,得到所述第二门限,其中,所述数字信号峰均比越大,所述第二门限越小。In conjunction with the fifth possible implementation of the second aspect, in a sixth possible implementation of the second aspect, the error extractor is further configured to receive the digital signal peak from the peak-to-average ratio calculator The second threshold is obtained according to the peak-to-average ratio of the digital signal, wherein the digital signal peak-to-average ratio is larger, and the second threshold is smaller.
本发明实施例的第二门限会随着数字信号峰均比的变化而改变,与采用固定的第二门限相比,可以更充分地利用到ADC的动态范围,由于进入ADC的信号的信噪比与ADC的有效位数成正比,且ADC的动态范围利用的越充分,ADC的有效位数越高,因此本发明实施例可以让输入数据具有更高的信噪比。The second threshold of the embodiment of the present invention changes with the change of the peak-to-average ratio of the digital signal, and the dynamic range of the ADC can be more fully utilized compared with the fixed second threshold, and the signal noise of the signal entering the ADC The ratio is proportional to the effective number of bits of the ADC, and the more fully utilized the dynamic range of the ADC, the higher the effective number of bits of the ADC, so embodiments of the present invention can make the input data have a higher signal to noise ratio.
结合第二方面的第六种可能的实现方式,在第二方面的第七种可能的实现方式中,所述误差提取器具体用于:所述第一误差乘上第一因数,得到第一修正误差,所述第一修正误差乘上第三因数,得到第一控制系数,所述第二误差乘上第二因数,得到第二控制系数,其中,所述第一因数和所述第二因数为预先设定的数值,所述第三因数为随着所述数字信号峰均比变化的数值;根据所述第一控制系数和所述第二控制系数,得到所述误差控制系数。In conjunction with the sixth possible implementation of the second aspect, in a seventh possible implementation of the second aspect, the error extractor is specifically configured to: the first error multiplied by the first factor, to obtain the first Correcting an error, the first correction error multiplied by a third factor to obtain a first control coefficient, the second error multiplied by a second factor, to obtain a second control coefficient, wherein the first factor and the second The factor is a preset value, and the third factor is a value that varies with a peak-to-average ratio of the digital signal; and the error control coefficient is obtained according to the first control coefficient and the second control coefficient.
结合第二方面的第七种可能的实现方式,在第二方面的第八种可能的实现方式中,所述第三因数随着峰均比的降低而减小。本发明实施例可以根据实际的峰均比情况调节所述第一误差和所述第二误差在所述误差控制系数中的占比,提升系统性能。In conjunction with the seventh possible implementation of the second aspect, in an eighth possible implementation of the second aspect, the third factor decreases as the peak-to-average ratio decreases. In the embodiment of the present invention, the proportion of the first error and the second error in the error control coefficient may be adjusted according to an actual peak-to-average ratio condition to improve system performance.
结合第二方面的第六种可能的实现方式,在第二方面的第九种可能的实现方式中,所述误差提取器具体用于:所述第一误差乘上第一因数,得到第一控制系数,所述第二误差乘上第二因数,得到第二修正误差,所述第二修正误差乘上第四因数,得到第二控制系数,其中,所述第一因数和所述第二因数为预先设定的数值,所述第四因数为随着所述数字信号峰均比变化的数值;根据所述第一控制系数和所述第二控制系数,得到所述误差控制系数。In conjunction with the sixth possible implementation of the second aspect, in a ninth possible implementation manner of the second aspect, the error extractor is specifically configured to: the first error multiplied by the first factor to obtain the first a control coefficient, the second error is multiplied by a second factor to obtain a second correction error, and the second correction error is multiplied by a fourth factor to obtain a second control coefficient, wherein the first factor and the second The factor is a preset value, and the fourth factor is a value that varies with a peak-to-average ratio of the digital signal; the error control coefficient is obtained according to the first control coefficient and the second control coefficient.
结合第二方面的第九种可能的实现方式,在第二方面的第十种可能的 实现方式中,所述第四因数随着数字信号峰均比的降低而增大。In conjunction with the ninth possible implementation of the second aspect, the tenth possible aspect of the second aspect In an implementation manner, the fourth factor increases as the peak-to-average ratio of the digital signal decreases.
结合第二方面的第七种可能的实现方式,在第二方面的第十一种可能的实现方式中,所述误差提取器具体用于:将所述第一控制系数和所述第二控制系数分别进行环路滤波,得到滤波后的第一控制系数和滤波后的第二控制系数,将所述滤波后的第一控制系数和所述滤波后的第二控制系数相加或相乘,得到所述误差控制系数。In conjunction with the seventh possible implementation of the second aspect, in an eleventh possible implementation manner of the second aspect, the error extractor is specifically configured to: use the first control coefficient and the second control The coefficients are respectively subjected to loop filtering to obtain a filtered first control coefficient and a filtered second control coefficient, and the filtered first control coefficient and the filtered second control coefficient are added or multiplied. The error control coefficient is obtained.
结合第二方面的第七种可能的实现方式,在第二方面的第十二种可能的实现方式中,所述误差提取器具体用于:将所述第一控制系数和所述第二控制系数相加或相乘,得到所述误差控制系数。In conjunction with the seventh possible implementation of the second aspect, in a twelfth possible implementation of the second aspect, the error extractor is specifically configured to: use the first control coefficient and the second control The coefficients are added or multiplied to obtain the error control coefficients.
结合第二方面的第十二种可能的实现方式,在第二方面的第十三种可能的实现方式中,所述控制电压发生器还包括:环路滤波器,数控振荡器,低通滤波器;所述环路滤波器,用于从所述误差提取器接收所述误差控制系数,对所述误差控制系数进行环路滤波,将滤波后的误差控制系数发送给所述数控振荡器;所述数控振荡器,用于从所述环路滤波器接收所述滤波后的误差控制系数,根据所述滤波后的误差控制系数产生控制信号,将所述控制信号发送给所述低通滤波器;所述低通滤波器,用于从所述数控振荡器接收所述控制信号,根据所述控制信号,得到所述第二控制电压,将所述第二控制电压发送给所述电压控制增益放大器。In conjunction with the twelfth possible implementation of the second aspect, in the thirteenth possible implementation of the second aspect, the control voltage generator further includes: a loop filter, a numerically controlled oscillator, and a low pass filter The loop filter is configured to receive the error control coefficient from the error extractor, perform loop filtering on the error control coefficient, and send the filtered error control coefficient to the numerically controlled oscillator; The numerical control oscillator is configured to receive the filtered error control coefficient from the loop filter, generate a control signal according to the filtered error control coefficient, and send the control signal to the low pass filter The low pass filter is configured to receive the control signal from the numerically controlled oscillator, obtain the second control voltage according to the control signal, and send the second control voltage to the voltage control Gain amplifier.
本发明实施例通过引入N个子载波的平均功率检测的方法,可以准确获得N个子载波信号的平均功率,降低了CW突变的影响,使得数字接收机中接收的各子载波信号的功率稳定性提升,降低功率上的波动,有利于解调;而且将测量数字信号的第二功率和N个子载波的平均功率相结合,避免单独采用测量N个子载波的平均功率时,出现由于不考虑CW的影响,预估的数字信号的峰值功率偏小,导致进入ADC的信号功率超过动态范围的情况。In the embodiment of the present invention, by introducing an average power detection method of N subcarriers, the average power of the N subcarrier signals can be accurately obtained, and the influence of the CW mutation is reduced, so that the power stability of each subcarrier signal received in the digital receiver is improved. , reducing the fluctuation in power, is conducive to demodulation; and combining the second power of the measured digital signal with the average power of the N subcarriers, avoiding the use of measuring the average power of the N subcarriers alone, occurs because the influence of CW is not considered The estimated peak power of the digital signal is too small, resulting in a situation where the signal power entering the ADC exceeds the dynamic range.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art description will be briefly described below, obviously, The drawings in the following description are only some of the embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any inventive labor.
图1为一种可应用本发明实施例的系统架构图;1 is a system architecture diagram of an embodiment of the present invention;
图2(a)单载波系统中CW干扰叠加示意图;Figure 2 (a) Schematic diagram of CW interference superposition in a single carrier system;
图2(b)多载波系统中CW干扰叠加示意图;Figure 2 (b) Schematic diagram of CW interference superposition in a multi-carrier system;
图3为本发明一种实施例的方法流程图;3 is a flow chart of a method according to an embodiment of the present invention;
图4为本发明另一种实施例的第二门限设定示意图;4 is a schematic diagram showing a second threshold setting according to another embodiment of the present invention;
图5为本发明一种实施例的装置结构图;Figure 5 is a structural diagram of a device according to an embodiment of the present invention;
图6为本发明另一种实施例的装置结构图。Figure 6 is a structural diagram of a device according to another embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都应属于本发明的保护范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、接口、技术之类的具体细节,以便透彻理解本发明。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。In the following description, for purposes of illustration and description, reference However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known devices, circuits, and methods are omitted so as not to obscure the description of the invention.
当本发明实施例提及“第一”、“第二”等序数词时,除非根据上下文其确实表达顺序之意,否则应当理解为仅仅是起区分之用。When the embodiments of the present invention refer to ordinal numbers such as "first", "second" and the like, unless they are intended to express the order according to the context, it should be understood as merely distinguishing.
在微波传输系统中,微波在空间传输过程中会发生功率的变化,如突然的下雨、起雾等现象就会导致微波的传输信道产生快速的衰落,反映在信号上就是接收端的接收功率快速的降低。AGC技术就是一种在输入信号幅值变化很大的情况下,通过调节可控增益放大器的增益,使ADC输入信号幅值基本恒定或者尽在较小的范围内变化。因为接收机电路都有一个正 常的工作范围,如果输入信号过小,信号将可能被噪声淹没,如果输入信号过大,电路可能过载或饱和,以至电路不能正常工作。In the microwave transmission system, the microwave will undergo power changes during the spatial transmission process. For example, sudden rain, fogging, etc. will cause the microwave transmission channel to produce rapid fading, which is reflected in the signal is the receiving power of the receiving end is fast. The reduction. The AGC technology is a method in which the amplitude of the input signal of the ADC is substantially constant or varies within a small range by adjusting the gain of the controllable gain amplifier when the amplitude of the input signal varies greatly. Because the receiver circuit has a positive For normal working range, if the input signal is too small, the signal may be overwhelmed by noise. If the input signal is too large, the circuit may be overloaded or saturated, and the circuit may not work properly.
然而,在现有的AGC技术中,对进入AGC模块的多载波数据不区分有用信号和干扰信号,不能准确获得有用信号的平均功率,使得数字接收机中接收的各子载波信号的功率稳定性差,不利于解调;而且现有的AGC技术会设定一个固定的目标门限,并检测进入AGC模块的数据平均功率,通过该平均功率与目标门限的比较来确定增益放大器的增益幅度,由于目标门限的设定要考虑数据峰均比最高的情况,因此在峰均比低时,现有的AGC技术无法充分利用ADC的动态范围,会造成ADC动态范围的浪费。However, in the existing AGC technology, the multi-carrier data entering the AGC module does not distinguish between the useful signal and the interference signal, and the average power of the useful signal cannot be accurately obtained, so that the power stability of each sub-carrier signal received in the digital receiver is poor. It is not conducive to demodulation; and the existing AGC technology sets a fixed target threshold and detects the average power of the data entering the AGC module. The gain of the gain amplifier is determined by comparing the average power with the target threshold. The setting of the threshold should consider the case where the peak-to-average ratio of the data is the highest. Therefore, when the peak-to-average ratio is low, the existing AGC technology cannot fully utilize the dynamic range of the ADC, which causes waste of the dynamic range of the ADC.
为了便于本领域技术人员的理解,本发明通过以下实施例对本发明提供的技术方案的具体实现过程进行说明。In order to facilitate the understanding of those skilled in the art, the present invention describes the specific implementation process of the technical solution provided by the present invention through the following embodiments.
其中,在本发明实施例中,提供如图1所示的一种应用本发明实施例提供的方法的系统架构图,该系统架构的工作流程如下:In the embodiment of the present invention, a system architecture diagram is provided as shown in FIG. 1 for applying the method provided by the embodiment of the present invention. The workflow of the system architecture is as follows:
第一,数字调制解调芯片将N个子载波的数据信息进行组帧后、编码、以及正交振幅调制(Quadrature Amplitude Modulation,QAM)映射。此后按照实际频谱分配间隔将各子载波进行频谱搬移后合并为一个整体,被合并后的数据信息进入到模数转换器(Digital to Analog Converter,DAC),将数字信号转化为模拟信号,该模拟信号经过模拟调制、变频、放大处理之后通过发送天线发送出去。First, the digital modulation and demodulation chip performs framing, encoding, and Quadrature Amplitude Modulation (QAM) mapping on the data information of the N subcarriers. Thereafter, each subcarrier is spectrally shifted according to the actual spectrum allocation interval and then combined into a whole. The combined data information is input to an analog to digital converter (DAC) to convert the digital signal into an analog signal. The signal is sent out through the transmitting antenna after analog modulation, frequency conversion, and amplification processing.
第二,被发送的信号经过一段距离的空间传输又被接收天线接收进入到接收通道。在传输过程中会受到干扰,如CW干扰,信号功率会发生变化,接收模拟通道首先将输入信号(单载波信号或者被当作整体的多载波信号)变频到数字调制解调器可以接收的频点上,进行滤波,然后把滤波后的信号发送到VGA,其中,CW干扰可能由其他设备发送的电磁波形成,是在某一个固定的频率上,与数字调制解调芯片发送的N个子载波均不在同一个频率上。Second, the transmitted signal is transmitted over a distance and received by the receiving antenna into the receiving channel. During transmission, there will be interference, such as CW interference, the signal power will change. The receiving analog channel first converts the input signal (single carrier signal or multi-carrier signal as a whole) to the frequency point that the digital modem can receive. Filtering, and then transmitting the filtered signal to the VGA, wherein the CW interference may be formed by electromagnetic waves transmitted by other devices, at a certain fixed frequency, and the N subcarriers sent by the digital modem chip are not in the same On the frequency.
第三,VGA是一个电压控制器件增益大小的模块,该VGA有两路输入,一路输入为信号输入,另外一路输入为控制电压输入,有一路输出,将经过VGA放大之后的接收信号发送给ADC,经ADC转换之后的信号将有一部 分进入AGC模块,另一部分进行后续接收处理。Third, the VGA is a voltage control device gain size module. The VGA has two inputs, one input is a signal input, and the other input is a control voltage input, and one output outputs a received signal after being amplified by the VGA to the ADC. The signal after ADC conversion will have a The part is divided into the AGC module, and the other part is subjected to subsequent reception processing.
第四,该AGC模块可以获取当前信号的功率信息,给VGA发送控制电压,通过控制VGA的增益强度,使输入ADC的信号幅值大小以高概率位于一个适合的范围内,保证ADC的正常工作。Fourth, the AGC module can obtain the power information of the current signal, send the control voltage to the VGA, and control the gain intensity of the VGA, so that the amplitude of the signal of the input ADC is within a suitable range with a high probability to ensure the normal operation of the ADC. .
可以理解的是,图1所示的系统架构图为本发明实施例的一种可能的应用场景,本发明实施例还可能应用于其他场景,本发明对此不做限定。It can be understood that the system architecture diagram shown in FIG. 1 is a possible application scenario of the embodiment of the present invention, and the embodiment of the present invention may also be applied to other scenarios, which is not limited by the disclosure.
需要说明的是,CW干扰在频率上是在某一固定频点上的信号,在单载波系统中会被滤波器滤掉,如图2(a)所示,在多载波系统中,由于多个子载波信号彼此之间具有频率间隔,需要滤波器的频带范围更大,有很大可能会将CW干扰保留下来,如图2(b)所示,因此,在多载波系统中不能忽视CW干扰的影响。It should be noted that the CW interference is a signal at a certain fixed frequency in frequency, and is filtered by the filter in a single carrier system, as shown in Fig. 2(a), in the multi-carrier system, due to The subcarrier signals have a frequency interval between each other, and the frequency band of the filter is required to be larger, which is likely to preserve the CW interference, as shown in Fig. 2(b). Therefore, the CW interference cannot be ignored in the multicarrier system. Impact.
本发明实施例提供一种自动控制增益方法,如图3所示,该方法可以包括:An embodiment of the present invention provides an automatic control gain method. As shown in FIG. 3, the method may include:
301、接收模拟信号和第一控制电压,根据第一控制电压对模拟信号进行增益,对增益后的模拟信号进行模数转换,得到数字信号。301. Receive an analog signal and a first control voltage, perform a gain on the analog signal according to the first control voltage, and perform analog-to-digital conversion on the analog signal after the gain to obtain a digital signal.
302、从数字信号中分离出N个子载波信号,其中,数字信号包括N个子载波信号,N为正整数。302. Separating N subcarrier signals from the digital signal, where the digital signal includes N subcarrier signals, and N is a positive integer.
其中,从数字信号中分离出N个子载波信号的方式可以为,将数字信号分成N路,每路数字信号均相同,将第K路数字信号中第K个子载波信号通过频谱搬移技术搬移到零频,再进行匹配滤波,分离出第K个子载波信号,其中,K为不大于N的正整数。The method for separating the N subcarrier signals from the digital signal may be: dividing the digital signal into N channels, each of the digital signals being the same, and moving the Kth subcarrier signal of the Kth digital signal to the zero by the spectrum shifting technique. The frequency is further matched and filtered to separate the Kth subcarrier signal, where K is a positive integer not greater than N.
303、测量N个子载波信号在第一时段内的平均功率之和,得到第一功率。303. Measure a sum of average powers of the N subcarrier signals in the first time period to obtain a first power.
具体的,ADC对N个子载波信号进行采样,假设在第一时段内的采样点个数为L,则在该第一时段内N个子载波信号的平均功率之和为:Specifically, the ADC samples the N subcarrier signals, and if the number of sampling points in the first time period is L, the sum of the average powers of the N subcarrier signals in the first time period is:
其中,datan表示第n个采样点的值。Where data n represents the value of the nth sample point.
304、测量数字信号在第二时段内每个采样点的功率,根据每个采样 点的功率,得到第二功率。304. Measure the power of each sample point of the digital signal in the second period, according to each sample The power of the point gives the second power.
305、根据第一功率和第一门限,得到第一误差,根据第二功率和第二门限,得到第二误差,根据第一误差和第二误差,得到误差控制系数。305. Obtain a first error according to the first power and the first threshold, obtain a second error according to the second power and the second threshold, and obtain an error control coefficient according to the first error and the second error.
其中,第一门限用于提取N个子载波信号的功率误差,第二门限用于提取数字信号的峰值功率误差,第一门限是预先设定好的数值。优选地,第一时段和第二时段是相等的。The first threshold is used to extract the power error of the N subcarrier signals, and the second threshold is used to extract the peak power error of the digital signal. The first threshold is a preset value. Preferably, the first time period and the second time period are equal.
具体的,第一误差和第二误差的获得方式为,第一门限减去第一功率,得到第一误差;第二门限减去第二功率,得到第二误差。可选地,作为另一个实施例,第一误差和第二误差的获得方式还可以为,将第一门限和第一功率的比值进行对数运算,得到第一误差;将第二门限和第二功率的比值进行对数运算,得到第二误差。Specifically, the first error and the second error are obtained by subtracting the first power from the first threshold to obtain a first error, and subtracting the second power from the second threshold to obtain a second error. Optionally, as another embodiment, the first error and the second error may be obtained by performing a logarithm operation on the ratio of the first threshold and the first power to obtain a first error; The ratio of the two powers is logarithmically calculated to obtain a second error.
306、根据该误差控制系数,产生第二控制电压,其中,第二控制电压用于控制对模拟信号的增益。306. Generate a second control voltage according to the error control coefficient, where the second control voltage is used to control a gain of the analog signal.
本发明实施例通过引入N个子载波的平均功率检测的方法,可以准确获得N个子载波信号的平均功率,降低了CW突变的影响,使得数字接收机中接收的各子载波信号的功率稳定性提升,降低功率上的波动,有利于解调;而且将测量数字信号的第二功率和N个子载波的平均功率相结合,避免单独采用测量N个子载波的平均功率时,出现由于不考虑CW的影响,预估的数字信号的峰值功率偏小,导致进入ADC的信号功率超过动态范围的情况。In the embodiment of the present invention, by introducing an average power detection method of N subcarriers, the average power of the N subcarrier signals can be accurately obtained, and the influence of the CW mutation is reduced, so that the power stability of each subcarrier signal received in the digital receiver is improved. , reducing the fluctuation in power, is conducive to demodulation; and combining the second power of the measured digital signal with the average power of the N subcarriers, avoiding the use of measuring the average power of the N subcarriers alone, occurs because the influence of CW is not considered The estimated peak power of the digital signal is too small, resulting in a situation where the signal power entering the ADC exceeds the dynamic range.
可选地,作为另一个实施例,测量数字信号在第二时段内每个采样点的功率,测量功率大于第二门限的数字信号采样点的平均功率,作为第二功率。Optionally, as another embodiment, the power of each sampling point of the digital signal in the second time period is measured, and the average power of the digital signal sampling point whose power is greater than the second threshold is measured as the second power.
本发明实施例中,将在第二时段内所有功率超过第二门限的数字信号采样点统计出来,对满足要求的数字信号采样点的功率取平均值,作为第二功率,可以减少第二功率的抖动,提升稳定性。In the embodiment of the present invention, the digital signal sampling points whose power exceeds the second threshold in the second time period are counted, and the power of the digital signal sampling point that satisfies the requirement is averaged, and the second power is reduced as the second power. Jitter, improve stability.
其中,得到误差控制系数的方式为,第一误差乘上第一因数,得到第一控制系数,第二误差乘上第二因数,得到第二控制系数;根据第一控制系数和第二控制系数,得到误差控制系数,其中,第一因数和第二因数为 预先设定的数值。Wherein, the error control coefficient is obtained by multiplying the first error by the first factor to obtain the first control coefficient, and the second error is multiplied by the second factor to obtain the second control coefficient; according to the first control coefficient and the second control coefficient Obtaining an error control coefficient, wherein the first factor and the second factor are Pre-set values.
应理解,第一误差为N个子载波信号的功率误差,第二误差为数字信号的峰值功率误差,第一因数和第二因数都是远小于1的数,可以降低信号的变化强度,提高系统运行的稳定性,而且第一因数和第二因数可以根据系统的要求设置几组不同的数值,其中,系统要求主要为功率变化的追踪速度,功率抖动程度等。It should be understood that the first error is the power error of the N subcarrier signals, and the second error is the peak power error of the digital signal. The first factor and the second factor are both numbers far less than one, which can reduce the intensity of the signal change and improve the system. The stability of the operation, and the first factor and the second factor can set several different sets of values according to the requirements of the system, wherein the system requirements are mainly the tracking speed of the power change, the degree of power jitter, and the like.
可选地,作为另一个实施例,测量数字信号在第二时段内每个采样点的功率,计算数字信号在第二时段内的峰值功率,作为第二功率;计算出数字信号在第二时段内的平均功率,根据第二功率和平均功率,得到数字信号峰均比,根据数字信号峰均比,得到第二门限,其中,数字信号峰均比越大,第二门限越小。Optionally, as another embodiment, measuring the power of each sampling point of the digital signal in the second time period, calculating the peak power of the digital signal in the second time period as the second power; calculating the digital signal in the second time period The average power in the internal power is obtained according to the second power and the average power, and the peak-to-average ratio of the digital signal is obtained. According to the peak-to-average ratio of the digital signal, the second threshold is obtained, wherein the peak ratio of the digital signal is larger, and the second threshold is smaller.
应理解,峰均比的计算公式如下:It should be understood that the formula for calculating the peak-to-average ratio is as follows:
PAR=P_peak/P_averagePAR=P_peak/P_average
其中,P_peak为峰值功率,P_average为平均功率,单位为毫瓦或者瓦。Among them, P_peak is the peak power, and P_average is the average power in milliwatts or watts.
应理解,分贝(decibel,dB)是一个相对比值,以dB为单位的两个量之间相减,就相当于实际量(例如,毫瓦)之间相除,因此,如果以dB为单位,则峰均比计算公式可以写为:It should be understood that decibel (dB) is a relative ratio, and the subtraction between two quantities in dB is equivalent to the division between actual quantities (for example, milliwatts), therefore, in dB. , the peak-to-average ratio calculation formula can be written as:
PAR=P_peak-P_averagePAR=P_peak-P_average
下面均以dB为单位进行说明,其中,该第二门限为数字信号的目标均值,第二门限和数字信号峰均比之和与ADC的动态范围之间的差值,作为保护门限,用于确保峰值功率不会超出ADC的动态范围,可以根据数字信号的具体情况设定,在该数字信号中,当CW功率大于子载波信号的功率时,由于CW的功率较为稳定,保护门限可以适当小一些,反之,当CW功率小于子载波信号的功率时,保护门限可以适当大一些。The following are all described in dB, where the second threshold is the target mean of the digital signal, and the difference between the sum of the second threshold and the peak sum of the digital signal and the dynamic range of the ADC is used as a protection threshold for Ensure that the peak power does not exceed the dynamic range of the ADC. It can be set according to the specific conditions of the digital signal. In the digital signal, when the CW power is greater than the power of the subcarrier signal, the protection threshold can be appropriately small because the power of the CW is relatively stable. Some, conversely, when the CW power is less than the power of the subcarrier signal, the protection threshold may be appropriately larger.
应理解,由于数字信号中包含N个子载波信号,每个子载波信号采用的调制格式可能是不同的,而采用不同调制格式的信号的峰均比也是不同的,调制格式的阶数越高,峰均比越大。其中,CW可以理解为正弦波或余弦波,峰均比为3dB左右,小于正交相移键控(Quadrature Phase Shift Keying,QPSK)的峰均比。 It should be understood that since the digital signal contains N subcarrier signals, the modulation format adopted by each subcarrier signal may be different, and the peak-to-average ratio of signals using different modulation formats is also different, and the order of the modulation format is higher, the peak The ratio is greater. Among them, CW can be understood as a sine wave or a cosine wave, and the peak-to-average ratio is about 3 dB, which is smaller than the peak-to-average ratio of Quadrature Phase Shift Keying (QPSK).
需要说明的是,第二门限与数字信号峰均比之和要小于ADC的动态范围,ADC的动态范围指ADC可接受的最大功率与最小功率的差值。具体的,以ADC的动态范围为19dB为例,假设保护门限为3dB,如果数字信号峰均比为6dB,则此时的第二门限可以设为10dB,如果数字信号峰均比为12dB,则此时的第二门限可以设为4dB;在CW的功率大于子载波信号的功率时,数字信号峰均比为CW的峰均比,约为3dB,由于CW的功率较为稳定,保护门限可以减小,假设减小到1dB,则第二门限就可以设为15dB。It should be noted that the sum of the second threshold and the digital signal peak is smaller than the dynamic range of the ADC. The dynamic range of the ADC refers to the difference between the maximum power and the minimum power acceptable to the ADC. Specifically, taking the dynamic range of the ADC as 19dB, the protection threshold is assumed to be 3dB. If the peak-to-average ratio of the digital signal is 6dB, the second threshold at this time can be set to 10dB. If the peak-to-average ratio of the digital signal is 12dB, then The second threshold at this time can be set to 4 dB; when the power of the CW is greater than the power of the subcarrier signal, the peak-to-average ratio of the digital signal is the peak-to-average ratio of the CW, which is about 3 dB. Since the power of the CW is relatively stable, the protection threshold can be reduced. Small, assuming a reduction of 1 dB, the second threshold can be set to 15 dB.
综上所述,该第二门限的取值与数字信号峰均比有关,第二门限表达式为:In summary, the value of the second threshold is related to the peak-to-average ratio of the digital signal, and the second threshold expression is:
second_th=K*PAR+BSecond_th=K*PAR+B
其中,K和B为根据ADC动态范围以及保护门限预先设定的值。Among them, K and B are preset values according to the dynamic range of the ADC and the protection threshold.
仍以ADC的动态范围为19dB为例,如果不考虑保护门限的变化,假设保护门限固定为3dB,则第二门限的表达式可以为:Still taking the dynamic range of the ADC as 19dB, if the protection threshold is not considered, and the protection threshold is fixed at 3dB, the expression of the second threshold can be:
second_th=16-PARSecond_th=16-PAR
其中,K为-1,B为16dB。此时,由于该第二门限为数字信号的目标均值,则数字信号的峰值功率可以达到16dB左右,可以充分利用ADC的动态范围,而且有3dB的保护,不会存在超过ADC的动态范围,造成信号失真的问题。Where K is -1 and B is 16 dB. At this time, since the second threshold is the target mean of the digital signal, the peak power of the digital signal can reach about 16 dB, which can fully utilize the dynamic range of the ADC, and has 3 dB of protection, which does not exceed the dynamic range of the ADC, resulting in Signal distortion problem.
如果考虑到在CW功率大于子载波信号功率时,保护门限可以减小的情况,则第二门限表达式具体可以为:If the protection threshold can be reduced when the CW power is greater than the subcarrier signal power, the second threshold expression may specifically be:
Figure PCTCN2016086950-appb-000002
Figure PCTCN2016086950-appb-000002
如图4所示,横坐标表示峰均比,纵坐标表示第二门限,在数字信号峰均比为12dB时,第二门限为0dB;在数字信号峰均比为3dB时,第二门限为15dB。As shown in FIG. 4, the abscissa represents the peak-to-average ratio, and the ordinate represents the second threshold. When the digital signal peak-to-average ratio is 12 dB, the second threshold is 0 dB; when the digital signal peak-to-average ratio is 3 dB, the second threshold is 15dB.
需要说明的是,在数字信号峰均比为12dB时,数字信号的峰值功率只能达到12dB左右,对ADC动态范围的利用不如固定保护门限的方式,但在数字信号峰均比为3dB时,数字信号的峰值功率可以达到18dB左右, 对ADC动态范围的利用率优于固定保护门限的方式。而且,数字信号峰均比为3dB时,CW的功率远大于子载波信号的功率,1dB的保护门限同样可以保证不出现超过ADC的动态范围,造成信号失真的现象。It should be noted that when the peak-to-average ratio of the digital signal is 12 dB, the peak power of the digital signal can only reach about 12 dB, and the utilization of the dynamic range of the ADC is not as good as the fixed protection threshold, but when the peak-to-average ratio of the digital signal is 3 dB, The peak power of the digital signal can reach about 18dB. The way in which the dynamic range of the ADC is better than the fixed protection threshold. Moreover, when the peak-to-average ratio of the digital signal is 3dB, the power of the CW is much larger than the power of the subcarrier signal, and the protection threshold of 1dB can also ensure that the dynamic range of the ADC does not appear, resulting in signal distortion.
在现有技术中,第二门限是根据数字信号的最大峰均比预先设定好的,假设ADC动态范围仍为19dB,峰均比在4dB到12dB之间,保护门限仍定为3dB,则设定的第二门限为19dB-12dB-3dB=4dB,当数字信号峰均比为12dB时,是可以充分利用ADC的动态范围的,但当数字信号峰均比为4dB时,由于该第二门限为数字信号的目标均值,则数字信号的峰值功率大约为8dB左右,有11dB作为保护门限,会造成ADC动态范围的浪费。In the prior art, the second threshold is based on the maximum peak-to-average ratio of the digital signal, assuming that the ADC dynamic range is still 19 dB, the peak-to-average ratio is between 4 dB and 12 dB, and the protection threshold is still set to 3 dB. The second threshold is set to 19dB-12dB-3dB=4dB. When the digital signal peak-to-average ratio is 12dB, the dynamic range of the ADC can be fully utilized, but when the digital signal peak-to-average ratio is 4dB, due to the second The threshold is the target mean of the digital signal, and the peak power of the digital signal is about 8dB. With 11dB as the protection threshold, the dynamic range of the ADC is wasted.
本发明实施例的第二门限会随着数字信号峰均比的变化而改变,与采用固定的第二门限相比,可以更充分地利用到ADC的动态范围,由于进入ADC的信号的信噪比与ADC的有效位数成正比,且ADC的动态范围利用的越充分,ADC的有效位数越高,因此本发明实施例可以让输入数据具有更高的信噪比。The second threshold of the embodiment of the present invention changes with the change of the peak-to-average ratio of the digital signal, and the dynamic range of the ADC can be more fully utilized compared with the fixed second threshold, and the signal noise of the signal entering the ADC The ratio is proportional to the effective number of bits of the ADC, and the more fully utilized the dynamic range of the ADC, the higher the effective number of bits of the ADC, so embodiments of the present invention can make the input data have a higher signal to noise ratio.
应理解,本发明实施例的第二门限表达式并不局限于上述两种,可以根据实际情况设定,本发明对此不做限定。It should be understood that the second threshold expression of the embodiment of the present invention is not limited to the above two types, and may be set according to actual conditions, which is not limited by the present invention.
可选地,作为另一个实施例,所述根据第一误差和第二误差,得到误差控制系数具体包括:第一误差乘上第一因数,得到第一修正误差,第一修正误差乘上第三因数,得到第一控制系数,第二误差乘上第二因数,得到第二控制系数;根据第一控制系数和第二控制系数,得到误差控制系数,其中,第一因数和第二因数为预先设定的数值,第三因数为随着峰均比变化的数值。Optionally, as another embodiment, the obtaining the error control coefficient according to the first error and the second error specifically includes: multiplying the first error by the first factor, obtaining the first correction error, and multiplying the first correction error by a three factor, a first control coefficient is obtained, and a second error is multiplied by a second factor to obtain a second control coefficient; and an error control coefficient is obtained according to the first control coefficient and the second control coefficient, wherein the first factor and the second factor are The pre-set value, the third factor is the value that varies with the peak-to-average ratio.
应理解,第一误差为N个子载波信号的功率误差,第二误差为数字信号的峰值功率误差,第一因数和第二因数都是远小于1的数,可以降低信号的变化强度,提高系统运行的稳定性,而且第一因数和第二因数可以根据系统的要求设置几组不同的数值,其中,系统要求主要为功率变化的追踪速度,功率抖动程度等。It should be understood that the first error is the power error of the N subcarrier signals, and the second error is the peak power error of the digital signal. The first factor and the second factor are both numbers far less than one, which can reduce the intensity of the signal change and improve the system. The stability of the operation, and the first factor and the second factor can set several different sets of values according to the requirements of the system, wherein the system requirements are mainly the tracking speed of the power change, the degree of power jitter, and the like.
其中,第三因数会随着数字信号峰均比的降低而减小。在数字信号的调制格式保持不变的情况下,如果数字信号峰均比降低,则CW的功率将 会升高,也就是说,CW的影响将会增大,因此,第一误差所占的比重要有所降低,需要乘上第三因数进行调整。Among them, the third factor will decrease as the peak-to-average ratio of the digital signal decreases. In the case where the modulation format of the digital signal remains unchanged, if the peak-to-average ratio of the digital signal is reduced, the power of the CW will be It will rise, that is, the influence of CW will increase. Therefore, the ratio of the first error is reduced, and it is necessary to multiply by the third factor.
可选地,作为另一个实施例,所述根据第一误差和第二误差,得到误差控制系数具体包括:第一误差乘上第一因数,得到第一控制系数,第二误差乘上第二因数,得到第二修正误差,第二修正误差乘上第四因数,得到第二控制系数;根据第一控制系数和第二控制系数,得到误差控制系数,其中,第一因数和第二因数为预先设定的数值,第四因数为随着峰均比变化的数值。Optionally, as another embodiment, the obtaining the error control coefficient according to the first error and the second error specifically includes: multiplying the first error by the first factor, obtaining the first control coefficient, and multiplying the second error by the second a second correction error is obtained by multiplying the second correction error by a fourth correction factor; and an error control coefficient is obtained according to the first control coefficient and the second control coefficient, wherein the first factor and the second factor are The pre-set value, the fourth factor is the value that varies with the peak-to-average ratio.
其中,第四因数会随着数字信号峰均比的降低而增大。Among them, the fourth factor will increase as the peak-to-average ratio of the digital signal decreases.
可选地,作为另一个实施例,所述根据第一控制系数和第二控制系数,得到误差控制系数的具体方式为:将第一控制系数和第二控制系数相加或相乘,得到误差控制系数;所述根据所述误差控制系数,产生第二控制电压的具体方式为:对误差控制系数进行环路滤波(Loop Filter,LPF),数控振荡以及低通滤波处理,产生第二控制电压。Optionally, as another embodiment, the specific manner of obtaining the error control coefficient according to the first control coefficient and the second control coefficient is: adding or multiplying the first control coefficient and the second control coefficient to obtain an error a control coefficient; the specific manner of generating the second control voltage according to the error control coefficient is: performing loop filtering (LPF), numerical control oscillation, and low-pass filtering processing on the error control coefficient to generate a second control voltage .
可选地,所述根据第一控制系数和第二控制系数,得到误差控制系数的具体方式还可以为:将第一控制系数和第二控制系数分别进行环路滤波,得到滤波后的第一控制系数和滤波后的第二控制系数,将滤波后的第一控制系数和滤波后的第二控制系数相加或相乘,得到误差控制系数。Optionally, the specific manner of obtaining the error control coefficient according to the first control coefficient and the second control coefficient may further be: performing loop filtering on the first control coefficient and the second control coefficient, respectively, to obtain the filtered first The control coefficient and the filtered second control coefficient add or multiply the filtered first control coefficient and the filtered second control coefficient to obtain an error control coefficient.
再对误差控制系数进行数控振荡以及低通滤波处理,产生第二控制电压。The error control coefficient is subjected to numerical control oscillation and low-pass filtering processing to generate a second control voltage.
具体的,环路滤波可以滤除控制系数的抖动,该环路滤波的时域表达式为:Specifically, the loop filtering can filter the jitter of the control coefficient, and the time domain expression of the loop filtering is:
lpf_out(n)=lpf_out(n-1)+err(n)*kp+err(n-1)*(kp-ki)Lpf_out(n)=lpf_out(n-1)+err(n)*kp+err(n-1)*(kp-ki)
其中,lpf_out(n-1)表示第n-1次环路滤波的输出,err(n-1)表示第n-1次得到的误差控制系数,kp为比例因子,ki为积分因子,调制这两个因子即可得到稳定的输出,采用环路滤波,可以滤掉低概率的突变信号,增强系统的稳定性。Where lpf_out(n-1) represents the output of the n-1th loop filter, err(n-1) represents the error control coefficient obtained at the n-1th time, kp is the scale factor, ki is the integral factor, and modulation Two factors can obtain a stable output, and loop filtering can filter out the low-probability abrupt signal and enhance the stability of the system.
对该误差控制系数进行数控振荡,可以产生一个以时钟占空比体现电压值的控制信号,控制VGA的电压设置。当误差控制系数大于0时,说明 当前功率值比目标功率值小,需要增大电压,反之则减小电压。优选地,控制信号为脉冲宽度调制(Pulse Width Modulation,PWM)信号。The numerical control oscillation of the error control coefficient can generate a control signal that reflects the voltage value by the clock duty ratio, and controls the voltage setting of the VGA. When the error control coefficient is greater than 0, the description The current power value is smaller than the target power value, and the voltage needs to be increased, and vice versa. Preferably, the control signal is a Pulse Width Modulation (PWM) signal.
对控制信号进行低通滤波处理,可以将该控制信号中用占空比表现的控制电压转换为实际的控制电压,完成VGA的控制电压输入,最终完成AGC控制的功能。以数字调制解调芯片的输出管脚电压为1V为例,由于控制信号的占空比范围为0%-100%,在需要输出的控制电压为0.45V时,则输出占空比为45%的控制信号,该控制信号经过低通滤波处理,输出的控制电压即为0.45V。The low-pass filtering process is performed on the control signal, and the control voltage represented by the duty ratio in the control signal can be converted into the actual control voltage to complete the control voltage input of the VGA, and finally the AGC control function is completed. Taking the output pin voltage of the digital modulation and demodulation chip as 1V as an example, since the duty ratio of the control signal ranges from 0% to 100%, when the control voltage required to be output is 0.45V, the output duty ratio is 45%. The control signal is subjected to low-pass filtering, and the output control voltage is 0.45V.
本发明实施例提供一种自动控制增益设备,如图5所示,包括:电压控制增益放大器510,模数转换器520,子载波功率检测器530,数字信号检测器540,误差提取器550,控制电压发生器560,An embodiment of the present invention provides an automatic control gain device, as shown in FIG. 5, including: a voltage control gain amplifier 510, an analog to digital converter 520, a subcarrier power detector 530, a digital signal detector 540, and an error extractor 550. Control voltage generator 560,
电压控制增益放大器510,用于接收模拟信号和第一控制电压,根据第一控制电压对模拟信号进行增益,将增益后的模拟信号发送给模数转换器520。The voltage control gain amplifier 510 is configured to receive the analog signal and the first control voltage, perform gain on the analog signal according to the first control voltage, and send the analog signal after the gain to the analog to digital converter 520.
模数转换器520,用于从电压控制增益放大器510接收增益后的模拟信号,将增益后的模拟信号进行模数转换,得到数字信号,将数字信号发送给子载波功率检测器530和数字信号检测器540。The analog-to-digital converter 520 is configured to receive the analog signal after the gain from the voltage control gain amplifier 510, perform analog-to-digital conversion on the analog signal after the gain, obtain a digital signal, and send the digital signal to the subcarrier power detector 530 and the digital signal. Detector 540.
子载波功率检测器530,用于从模数转换器520接收数字信号,从数字信号中分离出N个子载波信号,计算N个子载波信号在第一时段内的平均功率之和,得到第一功率,将第一功率发送给误差提取器550,其中,N为正整数。The subcarrier power detector 530 is configured to receive a digital signal from the analog to digital converter 520, separate N subcarrier signals from the digital signal, and calculate a sum of average powers of the N subcarrier signals in the first time period to obtain a first power. The first power is sent to the error extractor 550, where N is a positive integer.
可选地,作为另一个实施例,子载波功率检测器530具体用于:将数字信号分成N路,每路数字信号均相同,将第K路数字信号中第K个子载波信号通过频谱搬移技术搬移到零频,再进行匹配滤波,分离出第K个子载波信号,其中,K为不大于N的正整数。Optionally, as another embodiment, the subcarrier power detector 530 is specifically configured to: divide the digital signal into N channels, each of the digital signals are the same, and pass the Kth subcarrier signal of the Kth digital signal to the spectrum shifting technology. Move to zero frequency, and then perform matched filtering to separate the Kth subcarrier signal, where K is a positive integer not greater than N.
具体的,模数转换器530对N个子载波信号进行采样,假设在第一时段内的采样点个数为L,则在该第一时段内N个子载波信号的平均功率之和为: Specifically, the analog-to-digital converter 530 samples the N subcarrier signals, and if the number of sampling points in the first time period is L, the sum of the average powers of the N subcarrier signals in the first time period is:
Figure PCTCN2016086950-appb-000003
Figure PCTCN2016086950-appb-000003
其中,datan表示第n个采样点的值。Where data n represents the value of the nth sample point.
数字信号检测器540,用于从模数转换器520接收数字信号,测量数字信号在第二时段内每个采样点的功率,根据每个采样点的功率,得到第二功率,将第二功率发送给误差提取器550。The digital signal detector 540 is configured to receive a digital signal from the analog-to-digital converter 520, measure the power of each sampling point of the digital signal in the second time period, and obtain a second power according to the power of each sampling point, and obtain the second power. It is sent to the error extractor 550.
优选地,第一时段和第二时段是相等的。Preferably, the first time period and the second time period are equal.
可选地,数字信号检测器540具体用于:测量功率大于所述第二门限的数字信号采样点的平均功率,作为第二功率。Optionally, the digital signal detector 540 is specifically configured to: measure an average power of the digital signal sampling point whose power is greater than the second threshold as the second power.
在本发明实施例中,数字信号检测器540将在第二时段内所有功率超过第二门限的数字信号采样点统计出来,计算满足要求的数字信号采样点的功率平均值,作为第二功率,可以减少第二功率的抖动,提升稳定性。In the embodiment of the present invention, the digital signal detector 540 counts the digital signal sampling points whose power exceeds the second threshold in the second time period, and calculates the power average value of the digital signal sampling point that meets the requirement as the second power. It can reduce the jitter of the second power and improve the stability.
误差提取器550,用于从子载波功率检测器530接收第一功率,从数字信号检测器540接收第二功率,根据第一功率和第一门限,得到第一误差,根据第二功率和第二门限,得到第二误差,根据第一误差和第二误差,得到误差控制系数,将误差控制系数发送给控制电压发生器560。The error extractor 550 is configured to receive the first power from the subcarrier power detector 530, receive the second power from the digital signal detector 540, and obtain a first error according to the first power and the first threshold, according to the second power and the first The second threshold obtains a second error, and according to the first error and the second error, an error control coefficient is obtained, and the error control coefficient is sent to the control voltage generator 560.
其中,第一门限用于提取N个子载波信号的功率误差,第二门限用于提取数字信号的第二功率误差,第一门限为预先设定好的数值。The first threshold is used to extract the power error of the N subcarrier signals, and the second threshold is used to extract the second power error of the digital signal, and the first threshold is a preset value.
可选地,误差提取器550具体用于:第一门限减去第一功率,得到第一误差;第二门限减去第二功率,得到第二误差;或将第一门限和第一功率的比值进行对数运算,得到第一误差;将第二门限和第二功率的比值进行对数运算,得到第二误差。Optionally, the error extractor 550 is specifically configured to: subtract the first power from the first threshold to obtain a first error; subtract the second power from the second threshold to obtain a second error; or use the first threshold and the first power The ratio is logarithmically operated to obtain a first error; the ratio of the second threshold to the second power is logarithmically computed to obtain a second error.
可选地,作为另一个实施例,误差提取器550具体用于:让第一误差乘上第一因数,得到第一控制系数,第二误差乘上第二因数,得到第二控制系数;根据第一控制系数和第二控制系数,得到误差控制系数。Optionally, as another embodiment, the error extractor 550 is specifically configured to: multiply the first error by the first factor to obtain the first control coefficient, and multiply the second error by the second factor to obtain the second control coefficient; The first control coefficient and the second control coefficient obtain an error control coefficient.
应理解,第一误差为N个子载波信号的功率误差,第二误差为数字信号的峰值功率误差,第一因数和第二因数都是远小于1的数,可以降低信号的变化强度,提高系统运行的稳定性,而且第一因数和第二因数可以根据系统的要求设置几组不同的数值,其中,系统要求主要为功率变化的追 踪速度,功率抖动程度等。It should be understood that the first error is the power error of the N subcarrier signals, and the second error is the peak power error of the digital signal. The first factor and the second factor are both numbers far less than one, which can reduce the intensity of the signal change and improve the system. The stability of the operation, and the first factor and the second factor can set several different sets of values according to the requirements of the system, wherein the system requirements are mainly the chasing of the power change Trace speed, power jitter level, etc.
控制电压发生器560,用于从误差提取器550接收误差控制系数,根据误差控制系数得到第二控制电压,将第二控制电压发送给电压控制增益放大器510,其中,第二控制电压用于控制对模拟信号的增益。The control voltage generator 560 is configured to receive an error control coefficient from the error extractor 550, obtain a second control voltage according to the error control coefficient, and send the second control voltage to the voltage control gain amplifier 510, wherein the second control voltage is used for control The gain on the analog signal.
本发明实施例通过引入N个子载波的平均功率检测的方法,可以准确获得N个子载波信号的平均功率,降低了CW突变的影响,使得数字接收机中接收的各子载波信号的功率稳定性提升,降低功率上的波动,有利于解调;而且将测量数字信号的第二功率和N个子载波的平均功率相结合,避免单独采用测量N个子载波的平均功率时,出现由于不考虑CW的影响,预估的数字信号的峰值功率偏小,导致进入模数转换器520的信号功率超过动态范围的情况。In the embodiment of the present invention, by introducing an average power detection method of N subcarriers, the average power of the N subcarrier signals can be accurately obtained, and the influence of the CW mutation is reduced, so that the power stability of each subcarrier signal received in the digital receiver is improved. , reducing the fluctuation in power, is conducive to demodulation; and combining the second power of the measured digital signal with the average power of the N subcarriers, avoiding the use of measuring the average power of the N subcarriers alone, occurs because the influence of CW is not considered The peak power of the estimated digital signal is too small, resulting in a situation where the signal power entering the analog-to-digital converter 520 exceeds the dynamic range.
可选地,作为另一个实施例,如图6所示,数字信号检测器540还包括:峰值功率检测器541,平均功率检测器542和峰均比计算器543;Optionally, as another embodiment, as shown in FIG. 6, the digital signal detector 540 further includes: a peak power detector 541, an average power detector 542 and a peak-to-average ratio calculator 543;
峰值功率检测器541,用于检测数字信号在第二时段内的峰值功率,将峰值功率发送给峰均比计算器543;The peak power detector 541 is configured to detect the peak power of the digital signal in the second time period, and send the peak power to the peak-to-average ratio calculator 543;
平均功率检测器542,用于检测数字信号在第二时段内的平均功率,将平均功率发送给峰均比计算器543;The average power detector 542 is configured to detect the average power of the digital signal in the second time period, and send the average power to the peak-to-average ratio calculator 543;
峰均比计算器543,用于从峰值功率检测器541接收峰值功率,从平均功率检测器542接收平均功率,计算出第二时段内的数字信号峰均比,将数字信号峰均比发送给误差提取器550。The peak-to-average ratio calculator 543 is configured to receive the peak power from the peak power detector 541, receive the average power from the average power detector 542, calculate the peak-to-average ratio of the digital signal in the second period, and send the peak-to-average ratio of the digital signal to Error extractor 550.
可选地,作为另一个实施例,误差提取器550还用于,从峰均比计算器543接收数字信号峰均比,根据数字信号峰均比,得到第二门限,其中,数字信号峰均比越大,第二门限越小。Optionally, as another embodiment, the error extractor 550 is further configured to receive a peak-to-average ratio of the digital signal from the peak-to-average ratio calculator 543, and obtain a second threshold according to a peak-to-average ratio of the digital signal, where the digital signal peaks are averaged The larger the ratio, the smaller the second threshold.
其中,数字信号峰均比的计算以及第二门限的具体设定方式在前面实施例中已经详细描述过,本发明实施例在此不再赘述。The calculation of the peak-to-average ratio of the digital signal and the specific setting of the second threshold have been described in detail in the foregoing embodiments, and the embodiments of the present invention are not described herein.
本发明实施例的第二门限会随着数字信号峰均比的变化而改变,与采用固定的第二门限相比,可以更充分地利用到模数转换器520的动态范围,由于进入模数转换器520的信号的信噪比与模数转换器520的有效位数成正比,且模数转换器520的动态范围利用的越充分,模数转换器520 的有效位数越高,因此本发明实施例可以让输入信号具有更高的信噪比。The second threshold of the embodiment of the present invention changes with the change of the peak-to-average ratio of the digital signal, and the dynamic range of the analog-to-digital converter 520 can be more fully utilized compared with the fixed second threshold, due to entering the modulus The signal to noise ratio of the signal of converter 520 is proportional to the effective number of bits of analog to digital converter 520, and the more fully the dynamic range of analog to digital converter 520 is utilized, analog to digital converter 520 The higher the effective number of bits, the embodiment of the invention allows the input signal to have a higher signal to noise ratio.
可选地,作为另一个实施例,误差提取器550具体用于:将第一误差乘上第一因数,得到第一修正误差,第一修正误差乘上第三因数,得到第一控制系数,第二误差乘上第二因数,得到第二控制系数,其中,第一因数和第二因数为预先设定的数值,第三因数为随着峰均比变化的数值;根据第一控制系数和第二控制系数,得到误差控制系数。Optionally, as another embodiment, the error extractor 550 is specifically configured to: multiply the first error by the first factor to obtain a first correction error, and multiply the first correction error by a third factor to obtain a first control coefficient, Multiplying the second error by the second factor to obtain a second control coefficient, wherein the first factor and the second factor are preset values, and the third factor is a value that varies with the peak-to-average ratio; according to the first control coefficient and The second control coefficient gives the error control coefficient.
应理解,第一误差为N个子载波信号的功率误差,第二误差为数字信号的峰值功率误差,第三因数会随着数字信号峰均比的变化而变化;第一因数和第二因数都是远小于1的数,可以降低信号的变化强度,提高系统运行的稳定性,而且第一因数和第二因数可以根据系统的要求设置几组不同的数值,其中,系统要求主要为功率变化的追踪速度,功率抖动程度等。It should be understood that the first error is the power error of the N subcarrier signals, the second error is the peak power error of the digital signal, and the third factor varies with the peak-to-average ratio of the digital signal; both the first factor and the second factor are It is a number far less than 1, which can reduce the intensity of signal change and improve the stability of the system operation, and the first factor and the second factor can set several different sets of values according to the requirements of the system, wherein the system requirements are mainly power changes. Tracking speed, power jitter level, etc.
其中,第三因数会随着数字信号峰均比的降低而减小。其中,在数字信号的调制格式保持不变的情况下,如果数字信号峰均比降低,则CW的功率将会升高,也就是说,CW的影响将会增大,因此,第一误差所占的比重要有所降低,需要乘上第三因数进行调整。Among them, the third factor will decrease as the peak-to-average ratio of the digital signal decreases. Wherein, if the modulation format of the digital signal remains unchanged, if the peak-to-average ratio of the digital signal decreases, the power of the CW will increase, that is, the influence of the CW will increase, and therefore, the first error The ratio is less important and needs to be adjusted by the third factor.
可选地,作为另一个实施例,误差提取器550具体用于:将第一误差乘上第一因数,得到第一控制系数,第二误差乘上第二因数,得到第二修正误差,第二修正误差乘上第四因数,得到第二控制系数,其中,第一因数和第二因数为预先设定的数值,第四因数为随着数字信号峰均比变化的数值;根据第一控制系数和第二控制系数,得到误差控制系数。Optionally, as another embodiment, the error extractor 550 is specifically configured to: multiply the first error by the first factor to obtain the first control coefficient, and multiply the second error by the second factor to obtain the second correction error. The second correction factor is multiplied by the fourth factor to obtain a second control coefficient, wherein the first factor and the second factor are preset values, and the fourth factor is a value that varies with the peak-to-average ratio of the digital signal; according to the first control The coefficient and the second control coefficient result in an error control coefficient.
其中,第四因数会随着数字信号峰均比的降低而增大。Among them, the fourth factor will increase as the peak-to-average ratio of the digital signal decreases.
可选地,作为另一个实施例,误差提取器550具体用于:将第一控制系数和第二控制系数分别进行环路滤波,得到滤波后的第一控制系数和滤波后的第二控制系数,将滤波后的第一控制系数和滤波后的第二控制系数相加或相乘,得到误差控制系数。Optionally, as another embodiment, the error extractor 550 is specifically configured to: perform loop filtering on the first control coefficient and the second control coefficient, respectively, to obtain the filtered first control coefficient and the filtered second control coefficient. And adding or multiplying the filtered first control coefficient and the filtered second control coefficient to obtain an error control coefficient.
可选地,误差提取器550具体用于:将第一控制系数和第二控制系数相加或相乘,得到误差控制系数。Optionally, the error extractor 550 is specifically configured to: add or multiply the first control coefficient and the second control coefficient to obtain an error control coefficient.
其中,控制电压发生器560还包括:环路滤波器561和数控振荡器562和低通滤波器563, The control voltage generator 560 further includes a loop filter 561, a numerically controlled oscillator 562, and a low pass filter 563.
环路滤波器561,用于从误差提取器550接收误差控制系数,对误差控制系数进行环路滤波,将滤波后的误差控制系数发送给数控振荡器562。The loop filter 561 is configured to receive an error control coefficient from the error extractor 550, perform loop filtering on the error control coefficient, and send the filtered error control coefficient to the numerically controlled oscillator 562.
数控振荡器562,用于从环路滤波器561接收滤波后的误差控制系数,根据滤波后的误差控制系数产生控制信号,将控制信号发送给低通滤波器563。The numerically controlled oscillator 562 is configured to receive the filtered error control coefficient from the loop filter 561, generate a control signal according to the filtered error control coefficient, and send the control signal to the low pass filter 563.
低通滤波器563,用于从数控振荡器562接收控制信号,根据控制信号,得到第二控制电压,将第二控制电压发送给电压控制增益放大器510。The low pass filter 563 is configured to receive a control signal from the numerically controlled oscillator 562, obtain a second control voltage according to the control signal, and send the second control voltage to the voltage control gain amplifier 510.
其中,环路滤波器561可以滤掉低概率的突变信号,增强系统的稳定性,数控振荡器562可以根据滤波后的误差控制系数产生一个以时钟占空比体现电压值的控制信号,控制VGA的电压设置。当误差控制系数大于0时,说明当前功率值比目标功率值小,需要增大电压,反之则减小电压。优选地,控制信号为PWM信号。The loop filter 561 can filter out the low-probability abrupt signal and enhance the stability of the system. The numerical control oscillator 562 can generate a control signal that reflects the voltage value by the clock duty according to the filtered error control coefficient, and controls the VGA. Voltage setting. When the error control coefficient is greater than 0, it indicates that the current power value is smaller than the target power value, and the voltage needs to be increased, and vice versa. Preferably, the control signal is a PWM signal.
低通滤波器563可以将该控制信号中用占空比表现的控制电压转换为实际的控制电压,完成VGA的控制电压输入,最终完成AGC控制的功能。以数字调制解调芯片的输出管脚电压为1V为例,由于控制信号的占空比范围为0%-100%,在需要输出的控制电压为0.45V时,则输出占空比为45%的控制信号,该控制信号经过低通滤波处理,输出的控制电压即为0.45V。The low-pass filter 563 can convert the control voltage represented by the duty ratio in the control signal into an actual control voltage, complete the control voltage input of the VGA, and finally complete the function of the AGC control. Taking the output pin voltage of the digital modulation and demodulation chip as 1V as an example, since the duty ratio of the control signal ranges from 0% to 100%, when the control voltage required to be output is 0.45V, the output duty ratio is 45%. The control signal is subjected to low-pass filtering, and the output control voltage is 0.45V.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (26)

  1. 一种自动增益控制方法,其特征在于,包括:An automatic gain control method, comprising:
    接收模拟信号和第一控制电压,根据所述第一控制电压对所述模拟信号进行增益,对增益后的模拟信号进行模数转换,得到数字信号;Receiving an analog signal and a first control voltage, performing a gain on the analog signal according to the first control voltage, and performing analog-to-digital conversion on the analog signal after the gain to obtain a digital signal;
    从所述数字信号中分离出N个子载波信号,其中,N为正整数;Separating N subcarrier signals from the digital signal, wherein N is a positive integer;
    测量所述N个子载波信号在第一时段内的平均功率之和,得到第一功率;Measure a sum of average powers of the N subcarrier signals in a first time period to obtain a first power;
    测量所述数字信号在第二时段内每个采样点的功率,根据所述每个采样点的功率,得到第二功率;Measuring a power of each sampling point of the digital signal in a second time period, and obtaining a second power according to the power of each sampling point;
    根据所述第一功率和第一门限,得到第一误差,根据所述第二功率和第二门限,得到第二误差,根据所述第一误差和所述第二误差,得到误差控制系数;Obtaining a first error according to the first power and the first threshold, and obtaining a second error according to the second power and the second threshold, and obtaining an error control coefficient according to the first error and the second error;
    根据所述误差控制系数,产生第二控制电压,其中,所述第二控制电压用于控制对所述模拟信号的增益。A second control voltage is generated based on the error control coefficient, wherein the second control voltage is used to control a gain of the analog signal.
  2. 根据权利要求1所述的方法,其特征在于,所述从所述数字信号中分离出N个子载波信号具体包括:The method according to claim 1, wherein the separating the N subcarrier signals from the digital signal comprises:
    将所述数字信号分成N路,每路数字信号均相同,将第K路数字信号中第K个子载波信号通过频谱搬移技术搬移到零频,再进行匹配滤波,分离出第K个子载波信号,其中,K为不大于N的正整数。Dividing the digital signal into N channels, each of the digital signals is the same, and moving the Kth subcarrier signal of the Kth digital signal to a zero frequency by a spectrum shifting technique, and then performing matched filtering to separate the Kth subcarrier signal. Where K is a positive integer not greater than N.
  3. 根据权利要求1所述的方法,其特征在于,The method of claim 1 wherein
    所述根据所述第一功率和第一门限,得到第一误差具体包括:所述第一门限减去所述第一功率,得到所述第一误差;The obtaining the first error according to the first power and the first threshold specifically includes: subtracting the first power from the first threshold, to obtain the first error;
    所述根据所述第二功率和第二门限,得到第二误差具体包括:所述第二门限减去所述第二功率,得到所述第二误差。The obtaining the second error according to the second power and the second threshold specifically includes: subtracting the second power from the second threshold to obtain the second error.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述根据所述每个采样点的功率,得到第二功率具体包括:The method according to any one of claims 1 to 3, wherein the obtaining the second power according to the power of each sampling point comprises:
    测量功率大于所述第二门限的数字信号采样点的平均功率,作为所述第二功率。The average power of the digital signal sampling point whose power is greater than the second threshold is measured as the second power.
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述第一误差 和所述第二误差,得到误差控制系数具体包括:The method of claim 4 wherein said first error is based And the second error, the error control coefficient specifically includes:
    所述第一误差乘上第一因数,得到第一控制系数,所述第二误差乘上第二因数,得到第二控制系数,其中,所述第一因数和所述第二因数为预先设定的数值;The first error is multiplied by the first factor to obtain a first control coefficient, and the second error is multiplied by the second factor to obtain a second control coefficient, wherein the first factor and the second factor are preset Fixed value
    根据所述第一控制系数和所述第二控制系数,得到所述误差控制系数。And obtaining the error control coefficient according to the first control coefficient and the second control coefficient.
  6. 根据权利要求1至3任一项所述的方法,其特征在于,A method according to any one of claims 1 to 3, characterized in that
    所述根据所述每个采样点的功率,得到第二功率具体包括:计算出所述数字信号的采样点的峰值功率,作为第二功率;The obtaining the second power according to the power of each sampling point specifically includes: calculating a peak power of the sampling point of the digital signal as the second power;
    在得到第二功率之后,所述方法还包括:测量出所述数字信号在所述第二时段内的平均功率,根据所述第二功率和所述平均功率,得到数字信号峰均比,根据所述数字信号峰均比,得到所述第二门限,其中,所述数字信号峰均比越大,所述第二门限越小。After obtaining the second power, the method further includes: measuring an average power of the digital signal in the second time period, and obtaining a peak-to-average ratio of the digital signal according to the second power and the average power, according to The digital signal peak-to-average ratio is obtained, and the second threshold is obtained, wherein the digital signal peak-to-average ratio is larger, and the second threshold is smaller.
  7. 根据权利要求6所述的方法,其特征在于,所述根据所述第一误差和所述第二误差,得到误差控制系数具体包括:The method according to claim 6, wherein the obtaining the error control coefficient according to the first error and the second error comprises:
    所述第一误差乘上第一因数,得到第一修正误差,所述第一修正误差乘上第三因数,得到第一控制系数,所述第二误差乘上第二因数,得到第二控制系数,其中,所述第一因数和所述第二因数为预先设定的数值,所述第三因数为随着所述数字信号峰均比变化的数值;The first error is multiplied by the first factor to obtain a first correction error, the first correction error is multiplied by a third factor to obtain a first control coefficient, and the second error is multiplied by a second factor to obtain a second control a coefficient, wherein the first factor and the second factor are preset values, and the third factor is a value that varies with a peak-to-average ratio of the digital signal;
    根据所述第一控制系数和所述第二控制系数,得到所述误差控制系数。And obtaining the error control coefficient according to the first control coefficient and the second control coefficient.
  8. 根据权利要求7所述的方法,其特征在于,所述第三因数随着所述数字信号峰均比的降低而减小。The method of claim 7 wherein said third factor decreases as said peak ratio of said digital signal decreases.
  9. 根据权利要求6所述的方法,其特征在于,所述根据所述第一误差和所述第二误差,得到误差控制系数具体包括:The method according to claim 6, wherein the obtaining the error control coefficient according to the first error and the second error comprises:
    所述第一误差乘上第一因数,得到第一控制系数,所述第二误差乘上第二因数,得到第二修正误差,所述第二修正误差乘上第四因数,得到第二控制系数,其中,所述第一因数和所述第二因数为预先设定的数值,所述第四因数为随着所述数字信号峰均比变化的数值;The first error is multiplied by the first factor to obtain a first control coefficient, the second error is multiplied by the second factor to obtain a second correction error, and the second correction error is multiplied by a fourth factor to obtain a second control a coefficient, wherein the first factor and the second factor are preset values, and the fourth factor is a value that varies with a peak-to-average ratio of the digital signal;
    根据所述第一控制系数和所述第二控制系数,得到所述误差控制系数。And obtaining the error control coefficient according to the first control coefficient and the second control coefficient.
  10. 根据权利要求9所述的方法,其特征在于,所述第四因数随着所 述数字信号峰均比的降低而增大。The method of claim 9 wherein said fourth factor follows The digital signal peak-to-average ratio decreases and increases.
  11. 根据权利要求7所述的方法,其特征在于,The method of claim 7 wherein:
    所述根据所述第一控制系数和所述第二控制系数,得到误差控制系数具体包括:将所述第一控制系数和所述第二控制系数相加或相乘,得到所述误差控制系数;The obtaining the error control coefficient according to the first control coefficient and the second control coefficient specifically includes: adding or multiplying the first control coefficient and the second control coefficient to obtain the error control coefficient ;
    所述根据所述误差控制系数,产生第二控制电压具体包括:对所述误差控制系数进行环路滤波,数控振荡以及低通滤波处理,产生所述第二控制电压。The generating the second control voltage according to the error control coefficient specifically includes: performing loop filtering, numerical control oscillation, and low-pass filtering processing on the error control coefficient to generate the second control voltage.
  12. 根据权利要求7所述的方法,其特征在于,The method of claim 7 wherein:
    所述根据所述第一控制系数和所述第二控制系数,得到误差控制系数具体包括:将所述第一控制系数和所述第二控制系数分别进行环路滤波,得到滤波后的第一控制系数和滤波后的第二控制系数,将所述滤波后的第一控制系数和所述滤波后的第二控制系数相加或相乘,得到所述误差控制系数;The obtaining the error control coefficient according to the first control coefficient and the second control coefficient specifically includes: performing loop filtering on the first control coefficient and the second control coefficient, respectively, to obtain a filtered first Controlling the coefficient and the filtered second control coefficient, adding or multiplying the filtered first control coefficient and the filtered second control coefficient to obtain the error control coefficient;
    所述根据所述误差控制系数,产生第二控制电压具体包括:对所述误差控制系数进行数控振荡以及低通滤波处理,产生所述第二控制电压。The generating the second control voltage according to the error control coefficient specifically includes: performing numerical control oscillation and low-pass filtering processing on the error control coefficient to generate the second control voltage.
  13. 一种自动增益控制设备,其特征在于,包括:电压控制增益放大器,模数转换器,子载波功率检测器,数字信号检测器,误差提取器,控制电压发生器,An automatic gain control device, comprising: a voltage control gain amplifier, an analog to digital converter, a subcarrier power detector, a digital signal detector, an error extractor, a control voltage generator,
    所述电压控制增益放大器,用于接收模拟信号和第一控制电压,根据所述第一控制电压对所述模拟信号进行增益,将增益后的模拟信号发送给所述模数转换器;The voltage control gain amplifier is configured to receive an analog signal and a first control voltage, perform a gain on the analog signal according to the first control voltage, and send the analog signal after the gain to the analog to digital converter;
    所述模数转换器,用于从所述电压控制增益放大器接收所述增益后的模拟信号,将所述增益后的模拟信号进行模数转换,得到数字信号,将所述数字信号发送给所述子载波功率检测器和所述数字信号检测器;The analog-to-digital converter is configured to receive the analog signal after the gain from the voltage control gain amplifier, perform analog-to-digital conversion on the analog signal after the gain, obtain a digital signal, and send the digital signal to the Determining a subcarrier power detector and the digital signal detector;
    所述子载波功率检测器,用于从所述模数转换器接收所述数字信号,从所述数字信号中分离出N个子载波信号,测量所述N个子载波信号在第一时段内的平均功率之和,得到第一功率,将所述第一功率发送给所述误差提取器,其中,N为正整数; The subcarrier power detector is configured to receive the digital signal from the analog to digital converter, separate N subcarrier signals from the digital signal, and measure an average of the N subcarrier signals in a first time period a sum of powers, a first power is obtained, and the first power is sent to the error extractor, where N is a positive integer;
    所述数字信号检测器,用于从所述模数转换器接收所述数字信号,测量所述数字信号在第二时段内每个采样点的功率,根据所述每个采样点的功率,得到第二功率,将所述第二功率发送给所述误差提取器;The digital signal detector is configured to receive the digital signal from the analog to digital converter, and measure power of each sampling point of the digital signal in a second time period, according to the power of each sampling point, a second power, the second power is sent to the error extractor;
    所述误差提取器,用于从所述子载波功率检测器接收所述第一功率,从所述数字信号检测器接收所述第二功率,根据所述第一功率和第一门限,得到第一误差,根据所述第二功率和第二门限,得到第二误差,根据所述第一误差和所述第二误差,得到误差控制系数,将所述误差控制系数发送给所述控制电压发生器;The error extractor is configured to receive the first power from the subcarrier power detector, receive the second power from the digital signal detector, and obtain a first according to the first power and the first threshold An error, according to the second power and the second threshold, obtaining a second error, according to the first error and the second error, obtaining an error control coefficient, and sending the error control coefficient to the control voltage Device
    所述控制电压发生器,用于从所述误差提取器接收所述误差控制系数,根据所述误差控制系数得到第二控制电压,将所述第二控制电压发送给所述电压控制增益放大器,其中,所述第二控制电压用于控制对所述模拟信号的增益。The control voltage generator is configured to receive the error control coefficient from the error extractor, obtain a second control voltage according to the error control coefficient, and send the second control voltage to the voltage control gain amplifier, Wherein the second control voltage is used to control a gain of the analog signal.
  14. 根据权利要求13所述的设备,其特征在于,所述子载波功率检测器具体用于:The device according to claim 13, wherein the subcarrier power detector is specifically configured to:
    将所述数字信号分成N路,每路数字信号均相同,将第K路数字信号中第K个子载波信号通过频谱搬移技术搬移到零频,再进行匹配滤波,分离出第K个子载波信号,其中,K为不大于N的正整数。Dividing the digital signal into N channels, each of the digital signals is the same, and moving the Kth subcarrier signal of the Kth digital signal to a zero frequency by a spectrum shifting technique, and then performing matched filtering to separate the Kth subcarrier signal. Where K is a positive integer not greater than N.
  15. 根据权利要求13所述的设备,其特征在于,所述误差提取器具体用于:The device according to claim 13, wherein the error extractor is specifically configured to:
    所述第一门限减去所述第一功率,得到所述第一误差;所述第二门限减去所述第二功率,得到所述第二误差。The first threshold is subtracted from the first power to obtain the first error; the second threshold is subtracted from the second power to obtain the second error.
  16. 根据权利要求13至15任一项所述的设备,其特征在于,所述数字信号检测器具体用于:The device according to any one of claims 13 to 15, wherein the digital signal detector is specifically configured to:
    测量功率大于所述第二门限的数字信号采样点的平均功率,作为所述第二功率。The average power of the digital signal sampling point whose power is greater than the second threshold is measured as the second power.
  17. 根据权利要求16所述的设备,其特征在于,所述误差提取器具体用于:The device according to claim 16, wherein the error extractor is specifically configured to:
    所述第一误差乘上第一因数,得到第一控制系数,所述第二误差乘上第二因数,得到第二控制系数,其中,所述第一因数和所述第二因数为预 先设定的数值;Multiplying the first error by a first factor to obtain a first control coefficient, the second error multiplied by a second factor, to obtain a second control coefficient, wherein the first factor and the second factor are pre- First set value;
    根据所述第一控制系数和所述第二控制系数,得到所述误差控制系数。And obtaining the error control coefficient according to the first control coefficient and the second control coefficient.
  18. 根据权利要求13至15任一项所述的设备,其特征在于,所述数字信号检测器还包括:峰值功率检测器,平均功率检测器和峰均比计算器;The apparatus according to any one of claims 13 to 15, wherein the digital signal detector further comprises: a peak power detector, an average power detector, and a peak-to-average ratio calculator;
    所述峰值功率检测器,用于检测所述数字信号在第二时段内的峰值功率,将所述峰值功率发送给所述峰均比计算器;The peak power detector is configured to detect a peak power of the digital signal in a second time period, and send the peak power to the peak-to-average ratio calculator;
    所述平均功率检测器,用于检测所述数字信号在第二时段内的平均功率,将所述平均功率发送给所述峰均比计算器;The average power detector is configured to detect an average power of the digital signal in a second time period, and send the average power to the peak-to-average ratio calculator;
    所述峰均比计算器,用于从所述峰值功率检测器接收所述峰值功率,从所述平均功率检测器接收所述平均功率,计算出所述数字信号第二时段内的数字信号峰均比,将所述数字信号峰均比发送给所述误差提取器。The peak-to-average ratio calculator for receiving the peak power from the peak power detector, receiving the average power from the average power detector, and calculating a digital signal peak in a second time period of the digital signal The digital signal peak-to-average ratio is sent to the error extractor.
  19. 根据权利要求18所述的设备,其特征在于,所述误差提取器还用于,从所述峰均比计算器接收所述数字信号峰均比,根据所述数字信号峰均比,得到所述第二门限,其中,所述数字信号峰均比越大,所述第二门限越小。The device according to claim 18, wherein the error extractor is further configured to receive a peak-to-average ratio of the digital signal from the peak-to-average ratio calculator, and obtain a peak according to a peak-to-average ratio of the digital signal The second threshold, wherein the digital signal peak-to-average ratio is larger, and the second threshold is smaller.
  20. 根据权利要求19所述的设备,其特征在于,所述误差提取器具体用于:The device according to claim 19, wherein the error extractor is specifically configured to:
    所述第一误差乘上第一因数,得到第一修正误差,所述第一修正误差乘上第三因数,得到第一控制系数,所述第二误差乘上第二因数,得到第二控制系数,其中,所述第一因数和所述第二因数为预先设定的数值,所述第三因数为随着所述数字信号峰均比变化的数值;The first error is multiplied by the first factor to obtain a first correction error, the first correction error is multiplied by a third factor to obtain a first control coefficient, and the second error is multiplied by a second factor to obtain a second control a coefficient, wherein the first factor and the second factor are preset values, and the third factor is a value that varies with a peak-to-average ratio of the digital signal;
    根据所述第一控制系数和所述第二控制系数,得到所述误差控制系数。And obtaining the error control coefficient according to the first control coefficient and the second control coefficient.
  21. 根据权利要求20所述的设备,其特征在于,所述第三因数随着所述数字信号峰均比的降低而减小。The apparatus according to claim 20, wherein said third factor decreases as the peak-to-average ratio of said digital signal decreases.
  22. 根据权利要求19所述的设备,其特征在于,所述误差提取器具体用于:The device according to claim 19, wherein the error extractor is specifically configured to:
    所述第一误差乘上第一因数,得到第一控制系数,所述第二误差乘上第二因数,得到第二修正误差,所述第二修正误差乘上第四因数,得到第二控制系数,其中,所述第一因数和所述第二因数为预先设定的数值,所 述第四因数为随着所述数字信号峰均比变化的数值;The first error is multiplied by the first factor to obtain a first control coefficient, the second error is multiplied by the second factor to obtain a second correction error, and the second correction error is multiplied by a fourth factor to obtain a second control a coefficient, wherein the first factor and the second factor are preset values, The fourth factor is a value that varies with the peak-to-average ratio of the digital signal;
    根据所述第一控制系数和所述第二控制系数,得到所述误差控制系数。And obtaining the error control coefficient according to the first control coefficient and the second control coefficient.
  23. 根据权利要求22所述的设备,其特征在于,所述第四因数随着所述数字信号峰均比的降低而增大。The apparatus according to claim 22, wherein said fourth factor increases as said peak ratio of said digital signal decreases.
  24. 根据权利要求20所述的设备,其特征在于,所述误差提取器具体用于:The device according to claim 20, wherein the error extractor is specifically configured to:
    将所述第一控制系数和所述第二控制系数分别进行环路滤波,得到滤波后的第一控制系数和滤波后的第二控制系数,将所述滤波后的第一控制系数和所述滤波后的第二控制系数相加或相乘,得到所述误差控制系数。Performing loop filtering on the first control coefficient and the second control coefficient, respectively, to obtain a filtered first control coefficient and a filtered second control coefficient, and the filtered first control coefficient and the The filtered second control coefficients are added or multiplied to obtain the error control coefficients.
  25. 根据权利要求20所述的设备,其特征在于,所述误差提取器具体用于:The device according to claim 20, wherein the error extractor is specifically configured to:
    将所述第一控制系数和所述第二控制系数相加或相乘,得到所述误差控制系数。Adding or multiplying the first control coefficient and the second control coefficient to obtain the error control coefficient.
  26. 根据权利要求25所述的设备,其特征在于,所述控制电压发生器还包括:环路滤波器,数控振荡器,低通滤波器,The apparatus according to claim 25, wherein said control voltage generator further comprises: a loop filter, a numerically controlled oscillator, a low pass filter,
    所述环路滤波器,用于从所述误差提取器接收所述误差控制系数,对所述误差控制系数进行环路滤波,将滤波后的误差控制系数发送给所述数控振荡器;The loop filter is configured to receive the error control coefficient from the error extractor, perform loop filtering on the error control coefficient, and send the filtered error control coefficient to the numerically controlled oscillator;
    所述数控振荡器,用于从所述环路滤波器接收所述滤波后的误差控制系数,根据所述滤波后的误差控制系数产生控制信号,将所述控制信号发送给所述低通滤波器;The numerical control oscillator is configured to receive the filtered error control coefficient from the loop filter, generate a control signal according to the filtered error control coefficient, and send the control signal to the low pass filter Device
    所述低通滤波器,用于从所述数控振荡器接收所述控制信号,根据所述控制信号,得到所述第二控制电压,将所述第二控制电压发送给所述电压控制增益放大器。 The low pass filter is configured to receive the control signal from the numerically controlled oscillator, obtain the second control voltage according to the control signal, and send the second control voltage to the voltage control gain amplifier .
PCT/CN2016/086950 2016-06-23 2016-06-23 Method and device for automatic gain control WO2017219324A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201680087052.4A CN109314935B (en) 2016-06-23 2016-06-23 Method and device for automatically controlling gain
PCT/CN2016/086950 WO2017219324A1 (en) 2016-06-23 2016-06-23 Method and device for automatic gain control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/086950 WO2017219324A1 (en) 2016-06-23 2016-06-23 Method and device for automatic gain control

Publications (1)

Publication Number Publication Date
WO2017219324A1 true WO2017219324A1 (en) 2017-12-28

Family

ID=60783801

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/086950 WO2017219324A1 (en) 2016-06-23 2016-06-23 Method and device for automatic gain control

Country Status (2)

Country Link
CN (1) CN109314935B (en)
WO (1) WO2017219324A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114697941A (en) * 2022-03-31 2022-07-01 深圳智微电子科技有限公司 Low-power consumption Bluetooth baseband receiving method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113014282B (en) * 2021-02-18 2023-04-11 深圳捷扬微电子有限公司 Automatic gain control method, device, receiver and ultra-wideband communication system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244924A (en) * 2011-07-01 2011-11-16 京信通信系统(中国)有限公司 Automatic power gain control protection device
CN103024889A (en) * 2012-12-28 2013-04-03 东南大学 Automatic gain control method applied to wireless communication system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7773702B2 (en) * 2004-05-03 2010-08-10 Qualcomm Incorporated Gain control for a receiver in a multi-carrier communication system
CN1798279A (en) * 2004-12-20 2006-07-05 三星电子株式会社 Digital multimedia receiver and its gain control method
CN1798285A (en) * 2004-12-20 2006-07-05 三星电子株式会社 Digital multimedia receiver and its receiving method
KR101002872B1 (en) * 2005-02-07 2010-12-21 삼성전자주식회사 Automatic Gain Control Apparatus and Method in Orthogonal Frequency Division Multiple Access System
US8548105B2 (en) * 2008-08-05 2013-10-01 Qualcomm Incorported Joint time-frequency automatic gain control for wireless communication
CN101447771B (en) * 2008-12-24 2014-11-19 北京中星微电子有限公司 Method and system for automatically controlling gains
CN102118846B (en) * 2010-01-04 2014-05-07 大唐移动通信设备有限公司 Power control method and device
CN102932301B (en) * 2011-08-09 2015-09-02 中国科学院微电子研究所 Automatic gain control device and method for realizing rapid convergence

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244924A (en) * 2011-07-01 2011-11-16 京信通信系统(中国)有限公司 Automatic power gain control protection device
CN103024889A (en) * 2012-12-28 2013-04-03 东南大学 Automatic gain control method applied to wireless communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114697941A (en) * 2022-03-31 2022-07-01 深圳智微电子科技有限公司 Low-power consumption Bluetooth baseband receiving method

Also Published As

Publication number Publication date
CN109314935B (en) 2021-06-01
CN109314935A (en) 2019-02-05

Similar Documents

Publication Publication Date Title
US9106402B2 (en) Signal delay estimator with absolute delay amount and direction estimation
US6904274B2 (en) System and method for inverting automatic gain control (AGC) and soft limiting
KR101227469B1 (en) Joint time-frequency automatic gain control for wireless communication
US8422971B2 (en) Spur mitigation for wireless communication systems
CN103024889B (en) Automatic gain control method applied to wireless communication system
CN107086859A (en) Digital Automatic Gain Control Circuit for Wireless Communication Receiver
EP2810370A1 (en) Method and apparatus to independently control front end gain and baseband gain
US9118514B2 (en) Receiver and signal processing method
CN101257472A (en) Orthogonal Frequency Division Multiplexing Receiver System and Its Automatic Gain Control Method
JP2009065312A (en) Wireless receiver
US20160241212A1 (en) Method and apparatus for automatic gain control in wireless receiver
CN113447893A (en) Radar pulse signal frequency spectrum automatic detection method, system and medium
US9025705B2 (en) Current reduction in digital circuits
US7778357B2 (en) COFDM demodulator
WO2017219324A1 (en) Method and device for automatic gain control
CN107302409B (en) Automatic gain control method based on signal-to-noise ratio estimation of over-sampled signal
US20060079196A1 (en) Data receiver adaptive to RSSI and a method of determining its threshold
CN106101044B (en) A frequency offset estimation method based on multi-step interpolation for coherent optical communication system
CN107567089B (en) Automatic gain control method based on time division signal power statistical model
US12088442B2 (en) Frequency modulation tracking for band rejection to reduce dynamic range
US8639199B1 (en) System and method for high performance coherent peak compression estimation
US9059877B2 (en) Dynamic gain for DAC illumination control
TW200807900A (en) Apparatus and method for automatic gain control
US8582699B2 (en) Maintaining ADC input magnitude from digital par and peak value
JP2008053895A (en) Radio receiver and gain control method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16905866

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16905866

Country of ref document: EP

Kind code of ref document: A1