An automatic gain control circuit, control method and device, and storage medium

By using a low-frequency noise amplifier and a multi-module collaborative control AGC circuit, the problems of signal detection accuracy and stability of the receiver under different interference environments are solved, and the receiver achieves efficient anti-interference and sensitivity balance in complex environments.

CN116743100BActive Publication Date: 2026-11-24GUANG ZHOU XRADIO TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310266656.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-17
Publication Date
2026-11-24
Estimated Expiration
2043-03-17

AI Technical Summary

Technical Problem

The receiver cannot accurately perceive the difference between the out-of-band strength and the desired signal strength, causing the AGC adjustment to be unable to meet the linearity and noise figure requirements under different interference environments, thus affecting the signal detection accuracy and stability.

Method used

It employs a low-frequency noise amplifier, a peak detection module, a peak sensing control module, an intermediate frequency auxiliary detection module, an intermediate frequency main detection module, and a joint control module. Through feedback control signals and gain adjustment, it achieves precise control of AGC and adapts to interference changes in complex environments.

Benefits of technology

This improves the receiver's anti-interference capability and sensitivity, ensuring stable signal reception and accurate detection under different interference environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116743100B_ABST
    Figure CN116743100B_ABST
Patent Text Reader

Abstract

This application discloses an automatic gain control (AGC) circuit, control method, device, and storage medium. The circuit includes a low-frequency noise amplifier, a peak detection module, a peak sensing control module, an intermediate-frequency auxiliary detection module, an intermediate-frequency main detection module, and a joint control module. This circuit can be configured with different linearities of AGC, which can improve the anti-interference capability of the structure. In low-noise conditions, higher sensitivity can be obtained by maintaining a low noise figure AGC configuration. This application has wide applications in the field of circuit technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of circuit design technology, and in particular to an automatic gain control circuit, system, device, and storage medium. Background Technology

[0002] Typically, receivers cannot accurately perceive the difference between out-of-band signal strength and the desired signal strength. This causes AGC adjustments to be unable to meet the linearity and noise figure requirements under different interference environments. These two parameters constrain the receiver's behavior under different signal strengths. For example, in a strong interference environment, a higher linearity performance of the RX path is required to ensure that the signal can be received and demodulated normally; in an interference-free environment, a lower noise figure is desired to meet the requirements of receiving smaller signals, i.e., lower sensitivity and power consumption.

[0003] Of course, in short-range communication, the AGC adjustment time is limited to about tens of microseconds (µs). For example, the WLAN protocol requires AGC adjustment to be completed within 4µs of the preamble field, while Bluetooth requires 8 bits of preamble for AGC adjustment. This greatly limits the signal detection time and can easily lead to a loss of detection accuracy. Therefore, in existing technologies, the AGC adjustment scheme implemented after single voltage threshold detection is prone to incorrect AGC adjustment, resulting in unstable packet reception. Therefore, a new automatic gain control circuit is urgently needed.

[0004] ADC = Analog-to-Digital Conversion;

[0005] RSSI = (Received Signal Strength Indicator) indicates the strength of the received signal.

[0006] AGC = Automatic Gain Control. Summary of the Invention

[0007] The purpose of this application is to at least partially solve one of the technical problems existing in the prior art.

[0008] Therefore, one objective of this application is to provide an automatic gain control circuit, control method, apparatus, and storage medium, which can select different linearity AGC configurations to improve the anti-interference capability of the structure. In low-noise conditions, higher sensitivity can be achieved by maintaining a low noise figure AGC configuration.

[0009] To achieve the above-mentioned technical objectives, the technical solution adopted in this application embodiment includes: an automatic gain control circuit, comprising a low-frequency noise amplifier for receiving a transmitter signal and amplifying the transmitter signal to a first radio frequency signal with a preset first gain value, or amplifying the transmitter signal to a second radio frequency signal with a target gain value; a peak detection module for determining a feedback control signal based on the first radio frequency signal; a peak sensing control module for adjusting the gain of the low-frequency noise amplifier to a target gain value based on the feedback control signal, and amplifying the transmitter signal to a second radio frequency signal with the target gain value; an intermediate frequency auxiliary detection module for determining a calculated value of the intermediate frequency auxiliary detection circuit based on the second radio frequency signal; an intermediate frequency main detection module for determining a calculated value of the intermediate frequency main detection circuit based on the second radio frequency signal; and a joint control module for determining an adjustment gain coefficient based on the calculated value of the intermediate frequency auxiliary detection circuit and the calculated value of the intermediate frequency main detection circuit, controlling the intermediate frequency main detection module based on the adjustment gain coefficient, and controlling the low-frequency noise amplifier based on the adjustment gain coefficient.

[0010] In addition, the automatic gain control circuit according to the above embodiments of the present invention may also have the following additional technical features:

[0011] Furthermore, in this embodiment, the intermediate frequency (IF) main detection module includes: an RF phase-locked loop (PLL), an RF inverter device, an IF filter, an IF gainer, a main path ADC, and a main path RSSI calculation circuit; the RF PLL is connected to the RF inverter device; the IF filter is connected to the RF inverter device; the IF gainer is connected to the IF filter; the main path ADC is connected to the IF filter; and the main path RSSI calculation circuit is connected to the main path ADC.

[0012] Furthermore, in this embodiment, the intermediate frequency auxiliary detection module includes: an auxiliary path ADC and an auxiliary path RSSI calculation circuit; the auxiliary path ADC is connected to the radio frequency converter device.

[0013] Furthermore, in this embodiment of the application, the radio frequency inverter device includes a first radio frequency inverter and a second radio frequency inverter; the first radio frequency inverter and the second radio frequency inverter are connected in parallel.

[0014] On the other hand, embodiments of this application also provide an automatic gain control method for controlling the automatic gain control circuit described in any of the above embodiments, comprising: receiving a transmitter signal and amplifying the transmitter signal to a first radio frequency signal with a preset first gain value; determining a feedback control signal based on the first radio frequency signal; adjusting the gain of the low-frequency noise amplifier to a target gain value based on the feedback control signal, and controlling the low-frequency noise amplifier to amplify the transmitter signal to a second radio frequency signal with the target gain value; determining a calculated value of an intermediate frequency auxiliary detection circuit based on the second radio frequency signal; determining a calculated value of an intermediate frequency main detection circuit based on the second radio frequency signal; determining an adjustment gain coefficient based on the calculated value of the intermediate frequency auxiliary detection circuit and the calculated value of the intermediate frequency main detection circuit; controlling the intermediate frequency main detection module based on the adjustment gain coefficient; and controlling the low-frequency noise amplifier based on the adjustment gain coefficient.

[0015] Furthermore, in this embodiment of the application, the step of determining the intermediate frequency auxiliary detection circuit calculation value based on the first radio frequency signal specifically includes: converting the first radio frequency signal into radio frequency points; and determining the intermediate frequency auxiliary detection circuit calculation value based on the radio frequency points and a preset radio frequency points calculation formula.

[0016] The formula for calculating the number of radio frequency points is as follows:

[0017]

[0018] Where Nw is the value calculated by the intermediate frequency auxiliary detection circuit, I is the point value after passing through the first frequency converter, and Q is the point value after passing through the second frequency converter.

[0019] Furthermore, in this embodiment of the application, the step of determining the adjustment gain coefficient based on the calculated values ​​of the intermediate frequency auxiliary detection circuit and the intermediate frequency main detection circuit specifically includes: obtaining the current intermediate frequency gain and the current signal power value; determining the interference-to-signal ratio of the signal in the circuit based on the current intermediate frequency gain, the calculated values ​​of the intermediate frequency auxiliary detection circuit and the calculated values ​​of the intermediate frequency main detection circuit; determining the noise figure ratio based on the current signal power value; and determining the adjustment gain coefficient based on the noise figure ratio and the interference-to-signal ratio.

[0020] Further, in this embodiment, the step of determining the interference-to-signal ratio of the signal in the circuit based on the current intermediate frequency gain, the calculated value of the intermediate frequency auxiliary detection circuit, and the calculated value of the intermediate frequency main detection circuit includes: configuring an error correction value; and determining the interference-to-signal ratio based on the error correction value and the signal-to-interference ratio calculation formula, wherein the interference-to-signal ratio calculation formula includes:

[0021] InterfSgRatio=AuxRssi-MainRssi+AbbGain+Goffset

[0022] Where InterfSgRatio is the interference-to-signal ratio, AuxRssi is the calculated value of the intermediate frequency auxiliary detection path, Goffset is the error correction value, MainRssi is the calculated value of the main ADC path detection, and AbbGain is the current intermediate frequency gain.

[0023] On the other hand, this application also provides an automatic gain control device, comprising:

[0024] At least one processor;

[0025] At least one memory for storing at least one program;

[0026] When the at least one program is executed by the at least one processor, the at least one processor implements an automatic gain control circuit as described in any one of the claims of the invention.

[0027] In addition, this application also provides a storage medium storing processor-executable instructions, which, when executed by a processor, are used to perform an automatic gain control circuit as described in any of the preceding claims.

[0028] The advantages and beneficial effects of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application:

[0029] This application utilizes a peak detection module to quickly and stably determine the strength of out-of-band interference in the transmitter signal received by the low-frequency noise amplifier. It accurately senses the intensity of out-of-band interference through an intermediate frequency (IF) auxiliary detection module, in conjunction with the IF main detection module. The linearity and noise adjustment gain coefficients are determined using the values ​​calculated by the IF auxiliary and main detection circuits, and AGC is controlled in stages based on these adjustment gain coefficients. The circuitry of this application can adapt to complex environments, adjusting and controlling AGC in such conditions. Under different levels of strong interference, this application can select different linearity AGC configurations, improving the anti-interference capability of the structure. In low-noise environments, maintaining a low noise figure AGC configuration achieves higher sensitivity. Attached Figure Description

[0030] Figure 1 This is a schematic diagram of an automatic gain control circuit in a specific embodiment of the present invention;

[0031] Figure 2 This is a schematic diagram of the specific structure of an automatic gain control circuit in a specific embodiment of the present invention;

[0032] Figure 3 This is a schematic diagram of an automatic gain control method in a specific embodiment of the present invention;

[0033] Figure 4 This is a schematic diagram of the receiving timing in a specific embodiment of the present invention;

[0034] Figure 5 This is a schematic diagram of an automatic gain control device in a specific embodiment of the present invention. Detailed Implementation

[0035] The following detailed description, in conjunction with the accompanying drawings, illustrates the principles and processes of the automatic gain control circuit, control method, device, and storage medium in the embodiments of the present invention.

[0036] Reference Figure 1 This invention discloses an automatic gain control circuit, comprising a low-frequency noise amplifier 1, a peak detection module 2, a peak sensing control module 3, an intermediate frequency (IF) auxiliary detection module 4, an IF main detection module 5, and a combined control module 6. The low-frequency noise amplifier 1 can be connected to the peak detection module 2, the peak detection module 2 can be connected to the peak sensing control module 3, the noise amplifier 1 can be connected to the IF auxiliary detection module 4, the IF auxiliary detection module 4 can be connected to the IF main detection module 5, and the IF auxiliary detection module 4 and the IF main detection module 5 can be connected to the combined control module 6. The low-frequency noise amplifier 1 can receive a transmitter signal and amplify it to a first radio frequency signal with a preset first gain value, or amplify the transmitter signal to a target gain value. The peak detection module 2 can determine the feedback control signal based on the first radio frequency signal; the peak sensing control module 3 can adjust the gain of the low-frequency noise amplifier to the target gain value based on the feedback control signal, or amplify the transmitter signal to the second radio frequency signal at the target gain value; the intermediate frequency auxiliary detection module 4 can determine the calculated value of the intermediate frequency auxiliary detection circuit based on the second radio frequency signal; the intermediate frequency main detection module 5 can determine the calculated value of the intermediate frequency main detection circuit based on the second radio frequency signal; the joint control module 6 can determine the adjustment gain coefficient based on the calculated value of the intermediate frequency auxiliary detection circuit and the calculated value of the intermediate frequency main detection circuit, control the intermediate frequency main detection module based on the adjustment gain coefficient, and control the low-frequency noise amplifier based on the adjustment gain coefficient.

[0037] Furthermore, in some embodiments of this application, reference is made to... Figure 2The intermediate frequency (IF) main detection module may include: an RF phase-locked loop (PLL) 005, an RF inverter device, an IF filter 006, an IF gainer 007, a main path ADC 008, and a main path RSSI calculation circuit 012. The RF PLL 005 can be connected to the RF inverter device, which may include a first RF inverter 003 and a second RF inverter 004. The first RF inverter 003 and the second RF inverter 004 can be connected in parallel. The IF filter 006 can be connected to both the first RF inverter 003 and the second RF inverter 004. The IF gainer 007 is connected to the IF filter 006. The main path ADC 008 is connected to the IF filter 007. The main path RSSI calculation circuit 012 is connected to the main path ADC 008.

[0038] Furthermore, in some embodiments of this application, the intermediate frequency auxiliary detection module includes: an auxiliary path ADC015 and an auxiliary path RSSI calculation circuit011; the auxiliary path ADC015 is connected to the first radio frequency converter 003 and the second radio frequency converter 004, and the auxiliary path ADC015 can also be connected to the auxiliary path RSSI calculation circuit011.

[0039] In addition, refer to Figure 3 ,and Figure 1 Corresponding to the circuit, the embodiments of this application also provide an automatic gain control method, which can control the automatic gain control circuit described in any of the above embodiments, and may include the following steps:

[0040] S1. Receive the transmitter signal and amplify the transmitter signal to a first radio frequency signal with a preset first gain value;

[0041] S2. Determine the feedback control signal based on the first radio frequency signal;

[0042] S3. According to the feedback control signal, adjust the gain of the low-frequency noise amplifier to the target gain value, and control the low-frequency noise amplifier to amplify the transmitter signal to the second radio frequency signal with the target gain value;

[0043] S4. Determine the calculated value of the intermediate frequency auxiliary detection circuit based on the second radio frequency signal;

[0044] S5. Determine the calculated value of the intermediate frequency main detection circuit based on the second radio frequency signal;

[0045] S6. Determine the adjustment gain coefficient based on the calculated values ​​of the intermediate frequency auxiliary detection circuit and the intermediate frequency main detection circuit; control the intermediate frequency main detection module and the low frequency noise amplifier based on the adjustment gain coefficient.

[0046] Furthermore, in some embodiments of this application, the step of determining the calculated value of the intermediate frequency auxiliary detection circuit based on the first radio frequency signal specifically includes:

[0047] S61. Convert the first radio frequency signal into a number of radio frequency points;

[0048] S62. Determine the calculated value of the intermediate frequency auxiliary detection circuit based on the number of radio frequency points and the preset formula for calculating the number of radio frequency points; wherein the formula for calculating the number of radio frequency points is:

[0049]

[0050] Where Nw is the value calculated by the intermediate frequency auxiliary detection circuit, I is the point value after passing through the first frequency converter, and Q is the point value after passing through the second frequency converter;

[0051] Furthermore, in some embodiments of this application, the step of determining the adjustment gain coefficient based on the calculated value from the intermediate frequency auxiliary detection circuit and the calculated value from the intermediate frequency main detection circuit specifically includes:

[0052] S71. Obtain the current intermediate frequency gain and the current signal power value;

[0053] S72. Further, in some embodiments of this application, the interference-to-signal ratio of the signal in the circuit is determined based on the current intermediate frequency gain, the calculated value of the intermediate frequency auxiliary detection circuit, and the calculated value of the intermediate frequency main detection circuit.

[0054] S73. Determine the noise figure ratio based on the current signal power value;

[0055] S74. Determine the adjustment gain coefficient based on the noise figure ratio and the interference to signal ratio.

[0056] Furthermore, in some embodiments of this application, the step of determining the interference-to-signal ratio of the signal in the circuit based on the current intermediate frequency gain, the calculated value of the intermediate frequency auxiliary detection circuit, and the calculated value of the intermediate frequency main detection circuit includes:

[0057] S81, Configuration error correction value;

[0058] S82. Determine the interference-to-signal ratio based on the error correction value and the signal-to-interference ratio calculation formula, wherein the interference-to-signal ratio calculation formula includes:

[0059] InterfSgRatio=AuxRssi-MainRssi+AbbGain+Goffset

[0060] Where InterfSgRatio is the interference-to-signal ratio, AuxRssi is the calculated value of the intermediate frequency auxiliary detection path, Goffset is the error correction value, MainRssi is the calculated value of the main ADC path detection, and AbbGain is the current intermediate frequency gain.

[0061] The control circuit and control method of this application are described below with reference to specific embodiments:

[0062] Specifically, the peak sensing control module of this application can sense the radio frequency energy in the air by acquiring the output signal of the peak detection circuit; perform threshold control through the threshold control loop of the peak detection circuit; and use the radio frequency digital gain control signal to control the gain of the radio frequency low noise amplifier. The intermediate frequency auxiliary detection module is an auxiliary ADC RSSI calculation circuit, which takes the output signal of the intermediate frequency detection circuit as its input and can be used for intermediate frequency energy detection of the auxiliary channel. The intermediate frequency main detection module is the main path ADC RSSI calculation circuit, which can detect the intermediate frequency energy of the main path. The joint control module outputs the AGC joint control index signal, looks up the corresponding control word AGC TABX_Y from the AGC joint control table, and controls the radio frequency and intermediate frequency gain modules respectively through the radio frequency digital gain control signal and the intermediate frequency digital gain control signal to adjust the corresponding gain.

[0063] In this embodiment, the peak detection module can be a 1-bit output RF peak detection circuit with an adjustable comparison threshold. This eliminates gain differences caused by manufacturing process variations and ambient temperature, avoiding peak detection deviations and ensuring reliable interference peak detection output results. Utilizing analog power-on characteristics and the delay specified in the receiving protocol, the RF peak detection module operates before the arrival of data packets, monitoring the wireless channel environment during this time period. After digitally selecting the judgment threshold, it is compared with the RF signal to output 1-bit information. Set the digital RF peak sensing window time. Within this window time, determine whether an RF signal actually exists based on the input 1-bit peak information (e.g., the number of consecutive times exceeding the threshold or the cumulative number of peaks input within the window). When the output signal of the RF low-noise amplifier port is greater than the set HTX threshold (X, adjustable, range: 1 to N), it is determined that an RF signal is input. For example, in an interference-free environment at an ambient temperature of 25°C, the air interface thermal noise is approximately -174dBm / Hz. After passing through the low-noise amplifier (gain assumed to be 30dB), the noise energy is -144dBm / Hz. A value higher than this indicates the presence of an RF signal. Considering the real electromagnetic environment, the set value is generally higher than -144dBm / Hz.

[0064] The intermediate frequency power detection path can be completed using an auxiliary AUX ADC. The AUX RSSI calculation path can use either sliding accumulation or fixed-point accumulation to report the AUX RSSI. The default calculation method uses two data sources (IQ channels, 003 / 004 RF downconverters). Calculation method:

[0065]

[0066] I represents the intermediate frequency output signal of the first RF inverter, and Q represents the intermediate frequency output signal of the second RF inverter. The number of calculation points Nw is a variable parameter. The number of points can be shortened or increased depending on the calculation mode and the current time to increase system flexibility and improve the robustness of the control system.

[0067] The linearity and noise figure joint control module relies on the calculation results of the auxiliary path RSSI calculation module and the main path RSSI calculation module, as well as the current AGC TABLE gain information, to identify the out-of-band interference intensity, integrate the interference to signal ratio, divide it into several levels, and calculate the expected NF in conjunction with the current noise level.

[0068] The interference-to-signal ratio is calculated as follows:

[0069] InterfSgRatio=AuxRssi-MainRssi+AbbGain+Goffset,

[0070] Where InterSgRatio represents the interference-to-signal ratio; AuxRssi is the calculated value of the intermediate frequency auxiliary detection path; MainRssi is the calculated value of the main ADC path detection, which is calculated by the main path RSSI calculation module; AbbGain is the current intermediate frequency gain; Goffset is configured as error correction.

[0071] Noise figure (NF) calculation method:

[0072] NF Req =MainRssiRfPwr-NoiseFloor-CNR-Goffset2,

[0073] Where MainRssiRfPwr is the current signal power value, NoiseFloor is the path noise floor, CNR is the signal demodulation threshold, and Goffset2 is the set back value. The back value setting principle is to back down by at least 3dB based on the high-order modulation CNR.

[0074] The following table 1 illustrates an example of AGC control combining linearity and noise figure. The linearity requirement is represented by the ratio of interference to signal, and the noise figure requirement is calculated based on the current noise floor. Finally, a suitable AGC combination index is obtained, as shown in Table 1, where 0-24 represents the index after AGC grouping.

[0075]

[0076] Table 1. Combined AGC of Linearity and Noise Figure

[0077] By combining linearity and noise figure in the AGC control table, the AGC combination under the current configuration is obtained. Then, based on the MainRssiRfPwr index, the current gain control AGC TAB_X_Y is used for path control. For example, if the current InterfSgRatio = 35dB, indicating a relatively strong interference level, and based on the currently calculated NFreq = 20, X = 17 is obtained. Therefore, in the 17th slide...

[0078] The table searches for the response control word AGC TAB_17_Y, where Y is the index of the general AGC lookup table. The index is calculated as follows:

[0079] AGCTabIdx=MainRssi-AGCGainmin.

[0080] Receive timing as follows Figure 4 The description describes how, after the receiving RF path is enabled, the receiving path powers on sequentially. The power-on settling time of the low-noise amplifier is in the tens of nanoseconds range, significantly higher than that of the subsequent RFPLL LO / ADC module, whose power-on settling time is in the microseconds range. In stages T11-T2, RF peak sensing and RF low-noise amplifier control are used. The gain control lock-in time constraint is implemented after the first intermediate frequency signal detection and joint control adjustment AGC. Because of RF saturation, the RF peak sensing module adjusts the RF low-noise amplifier gain to the minimum level, effectively reducing the impact of out-of-band saturation signals on the RF. Stages T12-T13 involve joint detection and control of the intermediate frequency AUX RSSI and main path RSSI calculation modules. This stage includes two segments: a no-signal stage (T12-T3), where the main path RSSI calculation module primarily represents channel noise; and a signal-enabled stage (T3-T13), where the signal is mainly a preamble training sequence. After data frame reception is completed (T4), the AGC returns to its maximum gain position in the current AGC TAB.

[0081] AGC adjustment process:

[0082] Step 1: The receiver initiates a receive request, simulates a power-on delay of tens of ns, and then sets the peak comparison threshold THX for RF peak detection.

[0083] Step 2: Detect the RF peak value through the peak detection module. If the RF peak value is less than the preset peak value threshold, it is determined that there is strong interference in the signal. The low-frequency noise amplifier gain is reduced to the minimum through feedback control of the peak sensing control module. If the RF peak value is greater than the preset peak value threshold, the current gain power is maintained through feedback control of the peak sensing control module for reception. This process control only exists before the path working state T2.

[0084] Step 3: After a period of time, the RF phase-locked loop, low-frequency noise amplifier, first inverter, and second inverter circuits are powered on and stabilized. The intermediate frequency auxiliary detection module and the intermediate frequency main detection module are then started. The linearity and noise figure joint control gain table is determined based on the interference-to-signal ratio (InterSgRatio) and the current noise figure (NF) request value.

[0085] Step 4: After the Preamble field is received and the indicator signal is activated, stop updating the AGC control word;

[0086] Step 5: After the data frame reception is complete, restore to the default gain level.

[0087] In summary, this application provides a 1-bit output RF peak detection circuit with precisely adjustable thresholds for rapid and stable determination of the strength of out-of-band interference. An auxiliary intermediate frequency RSSI signal detection circuit, combined with the main path RSSI calculation module, accurately senses the intensity of out-of-band interference, and utilizes graded control of AGC based on linearity and noise figure requirements. AGC control scheme adaptable to complex environments is presented, selecting different linearity AGC configurations under different levels of strong interference to achieve a balance between anti-interference and sensitivity. In clean environments, a low noise figure AGC configuration is maintained to obtain higher sensitivity. In environments with extremely strong out-of-band interference, a portion of the sensitivity range is sacrificed to achieve normal reception under interference.

[0088] and Figure 1 Corresponding to the method, this application also provides an automatic gain control circuit device, the specific structure of which can be referred to Figure 5 ,include:

[0089] At least one processor;

[0090] At least one memory for storing at least one program;

[0091] When the at least one program is executed by the at least one processor, the at least one processor implements the automatic gain control circuit.

[0092] The content of the above method embodiments is applicable to the device embodiments. The specific functions implemented by the device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0093] and Figure 1 Corresponding to the method described above, embodiments of this application also provide a storage medium storing processor-executable instructions, which, when executed by a processor, are used to execute the automatic gain control circuit.

[0094] The contents of the above-described automatic gain control circuit embodiments are all applicable to this storage medium embodiment. The specific functions implemented by this storage medium embodiment are the same as those of the above-described automatic gain control circuit embodiments, and the beneficial effects achieved are also the same as those achieved by the above-described automatic gain control circuit embodiments.

[0095] In some alternative embodiments, the functions / operations mentioned in the block diagrams may not occur in the order shown in the operation diagrams. For example, depending on the functions / operations involved, two consecutively shown blocks may actually be executed substantially simultaneously, or the blocks may sometimes be executed in reverse order. Furthermore, the embodiments presented and described in the flowcharts of this application are provided by way of example to provide a more comprehensive understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated in which the order of various operations is changed and sub-operations described as part of a larger operation are executed independently.

[0096] Furthermore, although this application is described in the context of functional modules, it should be understood that, unless otherwise stated to the contrary, one or more of the functions and / or features may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding this application. Rather, given the properties, functions, and internal relationships of the various functional modules in the apparatus disclosed herein, the actual implementation of the module will be understood within the scope of conventional technology for an engineer. Therefore, those skilled in the art can implement the application set forth in the claims using ordinary techniques without excessive experimentation. It is also understood that the specific concepts disclosed are merely illustrative and not intended to limit the scope of this application, which is determined by the full scope of the appended claims and their equivalents.

[0097] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several programs to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0098] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequential list of executable programs for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, a program execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can retrieve and execute a program from or in conjunction with such a program execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can mean any means that can contain, store, communicate, propagate, or transmit a program for use by or in conjunction with a program execution system, apparatus, or device.

[0099] More specific examples of computer-readable media (a non-exhaustive list) include: electrical connections (electronic devices) having one or more wires, portable computer disk drives (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.

[0100] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable program execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0101] In the foregoing description of this specification, the references to terms such as "one embodiment," "another embodiment," or "some embodiments," etc., indicate that a specific feature, structure, material, or characteristic described in connection with an embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0102] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.

[0103] The above is a detailed description of the preferred embodiments of this application, but this application is not limited to the embodiments described. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of this application, and these equivalent modifications or substitutions are all included within the scope defined by the claims of this application.

Claims

1. An automatic gain control circuit, characterized in that, include: A low-frequency noise amplifier is used to receive a transmitter signal and amplify the transmitter signal to a first radio frequency signal with a preset first gain value, or to amplify the transmitter signal to a second radio frequency signal with a target gain value. The peak detection module is used to determine the feedback control signal based on the first radio frequency signal; The peak sensing control module is used to adjust the gain of the low-frequency noise amplifier to a target gain value according to the feedback control signal, and amplify the transmitter signal to a second radio frequency signal with the target gain value; The intermediate frequency auxiliary detection module is used to determine the calculated value of the intermediate frequency auxiliary detection circuit based on the second radio frequency signal; The intermediate frequency main detection module is used to determine the calculated value of the intermediate frequency main detection circuit based on the second radio frequency signal; The joint control module is used to determine the adjustment gain coefficient based on the calculated value of the intermediate frequency auxiliary detection circuit and the calculated value of the intermediate frequency main detection circuit, control the intermediate frequency main detection module based on the adjustment gain coefficient, and control the low frequency noise amplifier based on the adjustment gain coefficient. The intermediate frequency main detection module includes: an RF phase-locked loop, an RF inverter device, an intermediate frequency filter, an intermediate frequency gainer, a main path ADC, and a main path RSSI calculation circuit; The radio frequency phase-locked loop is connected to the radio frequency inverter device; the intermediate frequency filter is connected to the radio frequency inverter device; the intermediate frequency gainer is connected to the intermediate frequency filter; the main path ADC is connected to the intermediate frequency filter; the main path RSSI calculation circuit is connected to the main path ADC. The intermediate frequency auxiliary detection module includes an auxiliary path ADC and an auxiliary path RSSI calculation circuit; the auxiliary path ADC is connected to the radio frequency converter device. The radio frequency inverter device includes a first radio frequency inverter and a second radio frequency inverter; the first radio frequency inverter and the second radio frequency inverter are connected in parallel.

2. An automatic gain control method, characterized in that, To control the automatic gain control circuit according to claim 1, the following steps are included: Receive transmitter signals and amplify the transmitter signals to a first radio frequency signal with a preset first gain value; Based on the first radio frequency signal, determine the feedback control signal; According to the feedback control signal, the gain of the low-frequency noise amplifier is adjusted to the target gain value, and the low-frequency noise amplifier is controlled to amplify the transmitter signal to the second radio frequency signal with the target gain value; The calculated value of the intermediate frequency auxiliary detection circuit is determined based on the second radio frequency signal; The calculated value of the intermediate frequency main detection circuit is determined based on the second radio frequency signal; The adjustment gain coefficient is determined based on the calculated values ​​of the intermediate frequency auxiliary detection circuit and the intermediate frequency main detection circuit; the intermediate frequency main detection module is controlled based on the adjustment gain coefficient, and the low frequency noise amplifier is controlled based on the adjustment gain coefficient.

3. The automatic gain control method according to claim 2, characterized in that, The step of determining the calculated value of the intermediate frequency auxiliary detection circuit based on the second radio frequency signal specifically includes: The second radio frequency signal is converted into a number of radio frequency points; The calculated value of the intermediate frequency auxiliary detection circuit is determined based on the number of radio frequency points and the preset formula for calculating the number of radio frequency points. The formula for calculating the number of radio frequency points is as follows: Where Nw is the calculated value of the intermediate frequency auxiliary detection circuit, I is the point value after passing through the first RF inverter, and Q is the point value after passing through the second RF inverter.

4. The automatic gain control method according to claim 2, characterized in that, The step of determining the adjustment gain coefficient based on the calculated values ​​from the intermediate frequency auxiliary detection circuit and the intermediate frequency main detection circuit specifically includes: Obtain the current intermediate frequency gain and the current signal power value; Based on the current intermediate frequency gain, the calculated value of the intermediate frequency auxiliary detection circuit, and the calculated value of the intermediate frequency main detection circuit, the interference-to-signal ratio of the signal in the circuit is determined; Determine the noise figure ratio based on the current signal power value; The gain adjustment factor is determined based on the noise figure ratio and the interference to signal ratio.

5. The automatic gain control method according to claim 4, characterized in that, The step of determining the interference-to-signal ratio in the circuit based on the current intermediate frequency gain, the calculated value from the intermediate frequency auxiliary detection circuit, and the calculated value from the intermediate frequency main detection circuit includes: Configure error correction values; The interference-to-signal ratio is determined based on the error correction value and the interference-to-signal ratio calculation formula, wherein the interference-to-signal ratio calculation formula includes: in The ratio of interference to signal. This is the calculated value for the intermediate frequency auxiliary detection path. This is the error correction value. The calculated value for detection by the main ADC path. This represents the current intermediate frequency gain.

6. An automatic gain control device, characterized in that... include: At least one processor; At least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements an automatic gain control method as described in any one of claims 2-5.

7. A storage medium storing processor-executable instructions, characterized in that, The processor-executable instructions, when executed by the processor, are used to perform an automatic gain control method as described in any one of claims 2-5.

Citation Information

Patent Citations

  • Radio frequency automatic gain control amplifier

    CN102868369A

  • Receiver automatic gain control system and method considering a plurality of application scenes

    CN107276621A