Adjusting method and adjusting device for automatic gain control of receiver
By setting the gain comparison value and sampling time interval in the receiver AGC system and adjusting the gain value of the receiving channel, the problem of slow convergence speed of the traditional AGC system is solved, and fast gain locking and improved channel gain control speed are achieved.
Patent Information
- Application Number
- CN202510066584.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-16
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2045-01-16
AI Technical Summary
The convergence speed of traditional receiver automatic gain control (AGC) systems is slow and cannot meet the time slot requirements of high-performance communication systems.
By setting the gain comparison value and sampling time interval, the indication signal of the peak detector is collected, and the gain value of the reception channel is adjusted according to the comparison result to reduce the lock time.
Fast gain locking is achieved, reducing locking time, and simplifying the design of the AGC loop and improving the adjustment speed of channel gain control.
Smart Images

Figure CN120049902A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of receivers, and in particular to an adjustment method and an adjustment device for automatic gain control of a receiver. Background Art
[0002] The electromagnetic environment of the application scenario in the wireless communication receiving system is relatively complex. The external strong signal interference power will cause the receiver to saturate; the received signal power is blocked by buildings, the atmospheric ionosphere changes and other factors. Excessive attenuation will cause the received signal to be lost. Therefore, the gain of the receiver needs to be able to be automatically controlled according to the power of the processed signal and the interference signal, that is, the automatic gain control (Auto Gain Control) system. It can automatically detect the size of the input signal power and adjust the gain of the receiving channel to achieve better performance. The traditional automatic gain control adopts an asymptotic evaluation method, and an analog-to-digital converter is required to convert the power into a digital signal. Its convergence time is long, such as the patent CN116436424B "Automatic Gain Control Circuit and Control Method"; and because the gain control preset range is large and the number of adjustments is large, the convergence speed of the automatic gain control is slow. For example, the gain control module of the patent CN114598285A "A Digital-Analog Hybrid Low-Power Automatic Gain Control Amplifier" has a fixed step when adjusting the gain, and there will be a situation where the number of adjustment steps is large and the locking time is long.
[0003] Too slow a gain adjustment speed cannot meet the time slot requirements of a high-performance communication system. Summary of the invention
[0004] In order to overcome the above technical defects, the present invention provides a method and device for adjusting automatic gain control of a receiver, which can reduce the locking time.
[0005] In order to solve the above problems, the present invention is implemented according to the following technical solutions: Set the gain comparison value; collecting an indication signal of a peak detector according to a sampling time interval; When the indication signal is in the non-locking interval, the gain value of the receiving channel is compared with the gain comparison value; According to the comparison result, the gain value of the receiving channel is adjusted.
[0006] As a further improvement of the present invention, when the indication signal of the peak detector is in the non-locking area, the indication signal in the non-locking area is partitioned to obtain a plurality of indication signal intervals.
[0007] As a further improvement of the present invention, the present invention further comprises the steps of: A gain step table is set in the non-locking interval, wherein the gain step table includes: a plurality of gain step values corresponding to the signal indication interval; The step of setting the gain comparison value comprises: Set the upper and lower limits of the gain lookup table; Each indication signal interval has a corresponding gain comparison value, and the gain comparison value is the difference between the upper limit value and the gain step value corresponding to the signal indication interval.
[0008] As a further improvement of the present invention, the step of adjusting the gain value of the receiving channel according to the comparison result includes: If the gain value is greater than the gain comparison value corresponding to the interval, the upper limit value is set as the gain value; If the gain value is less than the gain comparison value corresponding to the interval, the lower limit value is set as the gain value.
[0009] As a further improvement of the present invention, the step of adjusting the gain value of the receiving channel according to the comparison result includes: The gain value is adjusted according to the comparison result and the gain step value.
[0010] As a further improvement of the present invention, the step of adjusting the gain value according to the comparison result and the gain step value includes: According to the comparison result, the sum of the gain step value and the gain value corresponding to the partition of the indication signal is used as the adjusted gain value.
[0011] As a further improvement of the present invention, the present invention further comprises the steps of: Set the sampling time interval.
[0012] As a further improvement of the present invention, after the upper limit value is set as the gain value or the lower limit value is set as the gain value, the adjustment method enters a locked state and sets AGC_lock=1.
[0013] Compared with the prior art, the present invention has the following beneficial effects: the present invention can set different gain comparison values and sampling time intervals, can adjust the range of gain control, and at the same time, can also adjust the adjustment speed of gain control.
[0014] In addition, the present invention also provides an adjustment device for automatic gain control of a receiver, which is used to implement the above adjustment method, and includes: a programmable gain amplifier, a peak detector, and an algorithm unit; The input end of the programmable gain amplifier is connected to the input signal, and the output end is connected to the receiving channel and the peak detector; The algorithm unit is connected to the peak detector and the feedback end of the programmable gain amplifier; The peak detector is used to detect the indication signal; The algorithm unit is used to compare the gain value of the receiving channel with the gain comparison value, and output an adjustment signal to the feedback end of the programmable gain amplifier according to the comparison result.
[0015] As a further improvement of the present invention, the algorithm unit includes: a comparator and an adder; the algorithm unit stores a gain lookup table and a gain step table; The comparator is used to compare the indication signal and the gain lookup table to obtain a comparison result; The adder outputs an adjustment signal to a feedback terminal of the programmable gain amplifier based on the comparison result.
[0016] Compared with the prior art, the present invention has the following beneficial effects: gain control is achieved by the algorithm unit, the design of the AGC loop is simplified, and there is no need to use an analog-to-digital converter to convert power into a digital signal, thereby reducing the convergence time. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The specific embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings, wherein: Figure 1 This is a flow chart of the adjustment method described in Example 1; Figure 2 An example diagram of a method for setting a locking / unlocking interval and an adjustment step of a peak detector in Embodiment 1; Figure 3 This is a schematic diagram of the structure of the adjustment device described in Example 2. DETAILED DESCRIPTION
[0018] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0019] Example 1 This embodiment provides a method for adjusting automatic gain control of a receiver, such as Figure 1 As shown, the steps include: S1. Set the gain comparison value. First, you need to set the upper limit GAIN_TABLE_MAX and lower limit GAIN_TABLE_MIN of the gain lookup table GAIN_TABLE. Set the corresponding gain comparison values C_P1, C1_P2, ... C_PN and C_N1, C_N2 ... C_NN according to the upper and lower limits of the gain table.
[0020] S2. Set a gain step table in the non-locked area, the gain step table including: a number of gain step values corresponding to the signal indication partitions, such as GAIN_STEP_P1, GAIN_STEP_P2...GAIN_STEP_PN and GAIN_STEP_N1, GAIN_STEP_N2...GAIN_STEP_NN gain step values corresponding to C1_P1, C1_P2,...C_PN, C_N1, C_N2...C_NN respectively.
[0021] Each indication signal interval has a corresponding gain comparison value. The gain comparison values C_P1, C_P2, ... C_PN correspond to the indication signal PD_DOUT intervals P1, P2 ... PN respectively. The gain comparison values C_N1, C_N2 ... C_NN correspond to the indication signal PD_DOUT intervals C_N1, C_N2 ... C_NN respectively.
[0022] The gain comparison value is the difference between the upper limit value or the lower limit value and the gain step value corresponding to the signal indication interval: C_P1=GAIN_TABLE_MAX-GAIN_STEP_P1 C_P2 = GAIN_TABLE_MAX-GAIN_STEP_P2 … C_PN = GAIN_TABLE_MAX-GAIN_STEP_PN C_N1 = GAIN_TABLE_MIN-GAIN_STEP_N1 C_N2 = GAIN_TABLE_MIN-GAIN_STEP_N2 … C_NN = GAIN_TABLE_MIN-GAIN_STEP_NN S3. In the power detection phase, the indication signal PD_DOUT of the peak detector PD is collected according to the sampling time interval.
[0023] S4: In the lock determination phase, determine whether the indication signal PD_DOUT is in the lock interval PD_LOCK. The interval of the indication signal PD_DOUT below the locking interval PD_LOCK is recorded as P1, P2...PN, and the interval of the indication signal PD_DOUT above the locking interval PD_LOCK is recorded as N1, N2...NN. The range of each locking interval is adjustable, and the intervals are continuous and do not cross each other. When the indication signal PD_DOUT is in the locking interval PD_LOCK, the output AGC_Lock=1, that is, the gain of the programmable gain amplifier is locked. When the indication signal PD_DOUT is in the non-locking interval, the gain value of the receiving channel is compared with the gain comparison value: P1: Gain>C_P1 P2: Gain>C_P2 … PN:Gain>C_PN N1: Gain <C_N1 N2: Gain <C_N2 … NN:Gain <C_NN S5. Adjust the gain value of the receiving channel according to the comparison result: if it is lower than the locking interval and the gain value is greater than the gain comparison value corresponding to the interval, set the upper limit value as the gain value; if it is higher than the locking interval and the gain value is less than the gain comparison value corresponding to the interval, set the lower limit value as the gain value. If it does not meet the conditions of being lower than the locking interval and the gain value being greater than the gain comparison value corresponding to the interval or being higher than the locking interval and the gain value being less than the gain comparison value corresponding to the interval, the sum of the gain step value corresponding to the partition of the indication signal and the gain value is used as the adjusted gain value.
[0024] Specifically, if the gain value Gain satisfies the comparison condition corresponding to the interval greater than P1 / P2 / ...PN, the gain value Gain=GAIN_TABLE_MAX and outputs AGC_Lock=1 to prevent the gain from exceeding the set upper limit range of the gain table; if the gain value Gain satisfies the comparison condition corresponding to the interval less than N1 / N2 / ...NN, the gain value Gain=GAIN_TABLE_MIN is further judged, and if so, AGC_Lock=1 is output, otherwise the gain value Gain=GAIN_TABLE_MIN is set and the power detection stage is returned.
[0025] If the gain value Gain does not meet the comparison condition of being greater than P1 / P2 / ...PN. Or the gain value Gain does not meet the comparison condition corresponding to the interval of less than N1 / N2 / ...NN, the adjustment method is: P1: Gain+GAIN_STEP_P1 P2: Gain+GAIN_STEP_P2 … PN: Gain+GAIN_STEP_PN N1: Gain+GAIN_STEP_N1 N2: Gain+GAIN_STEP_N2 … NN:Gain+GAIN_STEP_NN That is to say, in the gain control stage, when it is lower than the lock interval, the receiving channel gain is increased, and the adjustment step is larger when it is farther away from the lock interval, so as to speed up the AGC lock time, and the adjustment step is smaller when it is closer to the lock interval to prevent the gain from exceeding the lock interval range; when it is higher than the lock interval, the receiving channel gain is reduced, and the adjustment step is larger when it is farther away from the lock interval, and the adjustment step is smaller when it is closer to the lock interval to speed up the AGC lock time.
[0026] Through the above steps, the rapid gain locking of the channel receiver is completed. On the one hand, by setting the adjustment step size of different non-locking intervals, the adjustment step is larger when it is farther away from the locking interval, reducing the number of adjustments. On the other hand, the digital sampling time interval is set to be adjustable to speed up the gain convergence speed.
[0027] In addition, this embodiment also includes the step of setting a sampling time interval, based on which the sampling time interval can be made adjustable, which can accelerate the gain convergence speed. The time interval here refers to the interval time between sampling the peak detector indication signal and making the next gain adjustment.
[0028] The adjustment method of this embodiment is applicable to an automatic gain control system of a wireless communication receiver. By setting different gain steps in different non-locked intervals and accelerating the digital sampling time interval, the locking time can be reduced to within 50us. In addition, this embodiment can also set the upper and lower limits of the gain table so that the receiver can adjust the range of the gain table. It can be applied in different scenarios, improve the adjustment speed of the channel gain control, realize the controllable gain range of the receiver, and flexibly set the range of the channel gain according to the external signal strength.
[0029] Example 2 This embodiment provides a receiver automatic gain control adjustment device, such as Figure 3 As shown, it is used to implement the adjustment method in Example 1, including: a programmable gain amplifier PGA, a peak detector PD, and an algorithm unit; the input end of the programmable gain amplifier PGA is connected to the input signal, and the output end is connected to the receiving channel and the peak detector PD; the algorithm unit is connected to the peak detector PD and the feedback end of the programmable gain amplifier PGA; the peak detector PD is used to detect the indication signal; the algorithm unit is used to compare the gain value of the receiving channel with the gain comparison value, and output an adjustment signal to the feedback end of the programmable gain amplifier PGA according to the comparison result.
[0030] The receiving channel body at least includes a programmable gain amplifier PGA and a peak detector PD. The programmable gain amplifier PGA realizes the variable gain function, and its gain size is controlled by the output of the AGC algorithm unit. The peak detector PD converts the power size of the analog signal output by the programmable gain amplifier PGA into an indication signal and inputs it into the digital AGC circuit.
[0031] Furthermore, the algorithm unit includes: a comparator and an adder; the algorithm unit stores a gain lookup table and a gain step table; the comparator is used to compare the indication signal and the gain lookup table to obtain a comparison result; the adder outputs an adjustment signal to the feedback end of the programmable gain amplifier PGA based on the comparison result.
[0032] In the adjustment device of this embodiment, the receiving channel body includes a programmable gain amplifier PGA and a peak detector PD, and the gain control body includes a comparator, an adder, a gain lookup table and a gain step table, which simplifies the design of the AGC loop.
[0033] For other implementations of this embodiment, please refer to Example 1, which will not be described in detail here.
[0034] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for adjusting automatic gain control of a receiver, characterized in that: Includes steps: Set the gain comparison value; collecting an indication signal of a peak detector according to a sampling time interval; When the indication signal is in the non-locking interval, the gain value of the receiving channel is compared with the gain comparison value; According to the comparison result, the gain value of the receiving channel is adjusted.
2. The adjustment method according to claim 1, characterized in that: When the indication signal of the peak detector is in the non-locking area, the indication signal in the non-locking area is partitioned to obtain a plurality of indication signal intervals.
3. The adjustment method according to claim 2, characterized in that: Also includes the steps: A gain step table is set in the non-locking interval, wherein the gain step table includes: a plurality of gain step values corresponding to the signal indication interval; The step of setting the gain comparison value comprises: Set the upper and lower limits of the gain lookup table; Each indication signal interval has a corresponding gain comparison value, and the gain comparison value is the difference between the upper limit value and the gain step value corresponding to the signal indication interval.
4. The adjustment method according to claim 3, characterized in that: The step of adjusting the gain value of the receiving channel according to the comparison result includes: If the gain value is greater than the gain comparison value corresponding to the interval, the upper limit value is set as the gain value; If the gain value is less than the gain comparison value corresponding to the interval, the lower limit value is set as the gain value.
5. The adjustment method according to claim 3, characterized in that: The step of adjusting the gain value of the receiving channel according to the comparison result includes: The gain value is adjusted according to the comparison result and the gain step value.
6. The adjustment method according to claim 5, characterized in that: The step of adjusting the gain value according to the comparison result and the gain step value comprises: According to the comparison result, the sum of the gain step value and the gain value corresponding to the partition of the indication signal is used as the adjusted gain value.
7. The adjustment method according to claim 1, characterized in that: Also includes the steps: Set the sampling time interval.
8. The adjustment method according to claim 4, characterized in that: After the upper limit value is set as the gain value or the lower limit value is set as the gain value, the adjustment method enters the lock state and sets AGC_lock=1.
9. A receiver automatic gain control adjustment device, characterized in that: Used to implement the adjustment method according to any one of claims 1 to 8, comprising: a programmable gain amplifier, a peak detector, and an algorithm unit; The input end of the programmable gain amplifier is connected to the input signal, and the output end is connected to the receiving channel and the peak detector; The algorithm unit is connected to the peak detector and the feedback end of the programmable gain amplifier; The peak detector is used to detect the indication signal; The algorithm unit is used to compare the gain value of the receiving channel with the gain comparison value, and output an adjustment signal to the feedback end of the programmable gain amplifier according to the comparison result.
10. The adjustment device according to claim 9, characterized in that The algorithm unit includes: a comparator and an adder; the algorithm unit stores a gain lookup table and a gain step table; The comparator is used to compare the indication signal and the gain lookup table to obtain a comparison result; The adder outputs an adjustment signal to a feedback terminal of the programmable gain amplifier based on the comparison result.
Citation Information
Patent Citations
Method and module for quickly adjusting automatic gain control value
CN101145816A
Digital automatic gain control circuit for wireless communication receiver
CN107086859A
Digital automatic gain control method and system
CN109639250A
Loop automatic gain control device
CN113872540A
Receiver and automatic gain control method thereof
CN113992171A