Adaptive gain control method and device, equipment and medium

By using an adaptive gain control method, pulse interference is identified through frequency band selection and power sampling sequence, and the gain of the radio frequency signal is adjusted. This solves the problem of poor anti-interference capability in the existing technology, realizes the stability and rapid adjustment of the radio frequency signal amplitude, and improves the reliability of the communication system.

CN121585115APending Publication Date: 2026-02-27XIAN FUCHENG DEFENCE SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511728706.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-24
Publication Date
2026-02-27

AI Technical Summary

Technical Problem

Existing automatic gain control schemes have poor anti-interference capabilities in complex electromagnetic environments, cannot distinguish between target signals and interference within the frequency band, resulting in a decline in communication link performance, and are sensitive to transient pulse interference, which can easily lead to communication interruptions.

Method used

The radio frequency (RF) signal is divided into a main RF signal and a coupled RF signal. The target RF signal is obtained through frequency band selection. A power sampling sequence is generated using the power detection voltage. Pulse interference is identified and a pulse flag signal is generated. The gain control voltage is adjusted to deal with the interference, including hardware protection mechanisms.

Benefits of technology

It effectively prevents AGC from being falsely triggered by transient pulse interference, ensures the stability of the target signal amplitude, realizes rapid adjustment of RF signal gain, and improves anti-interference capability and communication reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121585115A_ABST
    Figure CN121585115A_ABST
Patent Text Reader

Abstract

The invention discloses a self-adaptive gain control method, device, equipment and medium, and the method comprises the steps: dividing a radio frequency signal into a main radio frequency signal and a coupling radio frequency signal, and carrying out the frequency band selection of the coupling radio frequency signal, and obtaining a target radio frequency signal; generating a power detection voltage based on the target radio frequency signal; converting the power detection voltages at the plurality of sampling time points into a power sampling sequence, judging whether pulse interference exists in the target radio frequency signal based on the power sampling sequence, and generating a pulse mark signal under the condition that the pulse interference exists in the target radio frequency signal; generating a gain control voltage based on the power sampling sequence, and stopping updating the gain control voltage in response to the pulse flag signal; and adjusting the gain of the main radio frequency signal based on the main radio frequency signal and the gain control voltage. The invention aims to solve the problem of poor anti-interference capability in the existing automatic gain control scheme.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, and in particular to an adaptive gain control method, apparatus, device, and medium. Background Technology

[0002] In radio frequency communication systems such as aviation data links and UAV telemetry and control, receivers need to maintain high sensitivity and high reliability in complex electromagnetic environments. Automatic gain control (AGC) circuits are a core component of receivers. Their function is to dynamically adjust the gain of the receiver link to prevent subsequent circuits from experiencing saturation distortion due to excessively strong signals or from being unable to demodulate due to excessively weak signals, thereby ensuring stable output signal amplitude.

[0003] Most existing AGC (Automatic Gain Control) solutions employ feedback control mechanisms based on the total power of the received signal. However, this total power-based adjustment method cannot distinguish between the target signal and interference signals within the frequency band. When strong adjacent channel or co-channel interference exists, the AGC will incorrectly compress the overall gain, resulting in insufficient target signal amplitude and a sharp decline in communication link performance. Furthermore, traditional AGC solutions are extremely sensitive to transient pulse interference, which can easily lead to gain misadjustment and communication interruption. Summary of the Invention

[0004] The main objective of this application is to provide an adaptive gain control method, apparatus, device, and medium, which aims to solve the technical problem of poor anti-interference capability in existing automatic gain control schemes.

[0005] To achieve the above objectives, this application provides an adaptive gain control method applied to an RF receiver. The method includes: dividing an RF signal into a main RF signal and a coupled RF signal, and performing frequency band selection on the coupled RF signal to obtain a target RF signal; generating a power detection voltage based on the target RF signal; converting the power detection voltage into a power sampling sequence, and determining whether the target RF signal has pulse interference based on the power sampling sequence; and generating a pulse flag signal if pulse interference exists in the target RF signal; generating a gain control voltage based on the power sampling sequence, and stopping updating the gain control voltage in response to the pulse flag signal; and adjusting the gain of the main RF signal based on the main RF signal and the gain control voltage.

[0006] Optionally, the method further includes: determining whether the power detection voltage is greater than a preset safety threshold, and generating a hardware protection signal if the power detection voltage is greater than the preset safety threshold; and stopping the generation process of the gain control voltage in response to the hardware protection signal, and generating a preset safety gain control voltage.

[0007] Optionally, determining whether the target radio frequency signal has pulse interference based on the power sampling sequence includes: determining a power difference based on the power sampling sequence, wherein the power difference represents the difference between instantaneous power and average power; if the power difference is greater than a preset threshold, monitoring the duration for which the power difference is greater than the preset threshold; if, at the current sampling time point, the duration is less than a preset maximum pulse duration, then determining that the target radio frequency signal has pulse interference at the current sampling time point; if the power difference is less than or equal to the preset threshold, determining that the target radio frequency signal does not have pulse interference at the current sampling time point.

[0008] Optionally, generating a gain control voltage based on the power sampling sequence includes: generating a gain control voltage based on the power sampling sequence and using a first adjustment step size when the power difference is greater than a preset threshold and the duration is greater than a preset maximum pulse duration; and generating a gain control voltage based on the power sampling sequence and using a second adjustment step size when the power difference is less than or equal to a preset threshold, wherein the second adjustment step size is less than the first adjustment step size.

[0009] Optionally, determining the power difference based on the power sampling sequence includes: determining a short-time constant power and a long-time constant power based on the power sampling sequence and using a moving average algorithm, wherein the short-time constant power is used to characterize the instantaneous power of the target radio frequency signal, and the long-time constant power is used to characterize the average power of the target radio frequency signal; and using the difference between the short-time constant power and the long-time constant power as the power difference.

[0010] Optionally, determining the short-time constant power and the long-time constant power based on the power sampling sequence and using a moving average algorithm includes: determining the short-time constant power based on the power sampling sequence, the moving average algorithm, and a first preset weighting factor; and determining the long-time constant power based on the power sampling sequence, the moving average algorithm, and a second preset weighting factor; wherein the first preset weighting factor is greater than the second preset weighting factor.

[0011] Optionally, the power detection voltage is proportional to the effective power value of the target radio frequency signal.

[0012] Furthermore, to achieve the above objectives, this application also provides an adaptive gain control device, comprising: a frequency band selection module, configured to divide a radio frequency signal into a main radio frequency signal and a coupled radio frequency signal, and to perform frequency band selection on the coupled radio frequency signal to obtain a target radio frequency signal; a power calculation module, configured to generate a power detection voltage based on the target radio frequency signal; a pulse interference judgment module, configured to convert the power detection voltage into a power sampling sequence, and to determine whether the target radio frequency signal has pulse interference based on the power sampling sequence, and to generate a pulse flag signal if the target radio frequency signal has pulse interference; a gain generation module, configured to generate a gain control voltage based on the power sampling sequence, and to stop updating the gain control voltage in response to the pulse flag signal; and a gain adjustment module, configured to adjust the gain of the main radio frequency signal based on the main radio frequency signal and the gain control voltage.

[0013] This application also provides an adaptive gain control device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method in any of the above possible implementations.

[0014] This application also provides a computer-readable storage medium, comprising: storing a computer program, wherein when the computer program is executed by a processor, it implements the method in any of the above possible implementations.

[0015] This application proposes an adaptive gain control method, apparatus, device, and medium. First, it filters the coupled radio frequency signal by target frequency band, retaining only the energy of the target signal band for subsequent processing, thus avoiding the impact of adjacent channel and out-of-band interference on gain control. Second, by converting the power detection voltage into a power sampling sequence, and using the power sampling sequence to identify pulse interference and generate a pulse flag signal, it effectively prevents AGC from being falsely triggered by transient pulse interference, ensuring the stability of the target signal amplitude. Finally, it generates a gain control voltage based on the power detection voltage and uses this voltage to adjust the gain of the radio frequency signal, achieving rapid adjustment of the radio frequency signal gain and effectively solving the problem of poor anti-interference capability in existing automatic gain control schemes. Attached Figure Description

[0016] Figure 1 A flowchart of the adaptive gain control method provided in Embodiment 1 of this application; Figure 2 This is one of the structural block diagrams of the radio frequency receiver gain control system provided in the embodiments of this application; Figure 3 This is a structural block diagram of the radio frequency front-end provided in the embodiments of this application; Figure 4 This is a structural block diagram of the frequency domain selection module provided in an embodiment of this application; Figure 5 This is a structural block diagram of the power detection module provided in an embodiment of this application; Figure 6 This is a flowchart of step S13 in the adaptive gain control method provided in Embodiment 1 of this application; Figure 7 This is a flowchart of the adaptive gain control method provided in Embodiment 2 of this application; Figure 8 This is the second structural block diagram of the radio frequency receiver gain control system provided in the embodiments of this application; Figure 9 This is a flowchart of steps S23 to S26 in the adaptive gain control method provided in Embodiment 2 of this application; Figure 10 This is a structural block diagram of the adaptive gain control device provided in the embodiments of this application; Figure 11 This is a schematic diagram of the adaptive gain control device provided in an embodiment of this application.

[0017] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0018] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0019] In radio frequency communication systems such as aviation data links and UAV telemetry and control, receivers need to maintain high sensitivity and high reliability in complex electromagnetic environments. Automatic gain control (AGC) circuits are a core component of receivers. Their function is to dynamically adjust the gain of the receiver link to prevent subsequent circuits from experiencing saturation distortion due to excessively strong signals or from being unable to demodulate due to excessively weak signals, thereby ensuring stable output signal amplitude.

[0020] Most existing AGC (Automatic Gauge Control) solutions employ feedback control mechanisms based on the total power of the received signal. To address interference, common improvements include introducing a low-pass filter into the AGC loop to smooth the control voltage, or configuring a fixed bandpass / notch filter at the front end to suppress interference at specific frequencies.

[0021] However, the existing solutions mentioned above have at least the following shortcomings: First, the total power-based adjustment method cannot distinguish between the target signal and the interference signal in the frequency band. When there is strong adjacent channel or co-channel interference, AGC will incorrectly compress the overall gain, resulting in insufficient target signal amplitude and a sharp decline in communication link performance. Second, the traditional AGC solution is extremely sensitive to transient pulse interference (such as signals from radar, IFF systems, navigation signals, and external electromagnetic pulse sources), which can easily cause gain misadjustment and communication interruption.

[0022] Furthermore, although low-pass filtering can be used to suppress pulse interference, it will sacrifice the response speed of AGC and make it difficult to meet the low latency requirements of high-speed data links; and filters with fixed parameters cannot adapt to complex and ever-changing spectrum environments.

[0023] To address the aforementioned problems, this application provides an adaptive gain control method, apparatus, device, and medium, which will be described in detail below.

[0024] Figure 1 This is a flowchart of an adaptive gain control method provided in Embodiment 1 of this application. The adaptive gain control method is applied to an RF receiver and can be executed by an adaptive gain control device communicatively connected to the RF receiver. The adaptive gain control method may include: S11. Divide the radio frequency signal into a main radio frequency signal and a coupled radio frequency signal, and perform frequency band selection on the coupled radio frequency signal to obtain the target radio frequency signal; S12. Generate a power detection voltage based on the target radio frequency signal; S13. Convert the power detection voltage into a power sampling sequence, and determine whether there is pulse interference in the target radio frequency signal based on the power sampling sequence; and generate a pulse flag signal when there is pulse interference in the target radio frequency signal. S14. Generate a gain control voltage based on the power sampling sequence, and stop updating the gain control voltage in response to the pulse flag signal; S15. Adjust the gain of the main RF signal based on the main RF signal and the gain control voltage.

[0025] It should be noted that the RF receiver gain control system 100 may include the adaptive gain control device and antenna in this embodiment.

[0026] Please see Figure 2 , Figure 2 A structural block diagram of an RF receiver gain control system 100 is shown. The RF receiver gain control system 100 may include: an RF front-end 110, a frequency domain selection module 120, a power detection module 130, a pulse interference identification module 140, an AGC controller 150, and a gain execution module 160.

[0027] In the specific implementation process, step S11 can be executed by the radio frequency front-end 110 and the frequency domain selection module 120. The radio frequency front-end 110 receives radio signals through the antenna, and then passes them sequentially through a limiter (limiting instantaneous high power), a pre-selection filter (preliminarily filtering out out-of-band interference), and a low-noise amplifier (performing preliminary low-noise amplification), finally outputting the main radio frequency signal and the coupled radio frequency signal.

[0028] Furthermore, the frequency domain selection module 120 performs precise frequency band selection on the coupled radio frequency signal, filters out adjacent channels and out-of-band interference, and outputs the target radio frequency signal.

[0029] The system includes: a radio frequency front-end 110 for receiving and preprocessing radio signals to obtain a main radio frequency signal and a coupled radio frequency signal; a frequency domain selection module 120 connected to the radio frequency front-end 110 for selecting the frequency band of the coupled radio frequency signal to obtain a target radio frequency signal; a power detection module 130 connected to the frequency domain selection module 120 for generating a power detection voltage based on the target radio frequency signal; a pulse interference identification module 140 connected to the power detection module 130 for determining whether pulse interference exists in the target radio frequency signal based on the power detection voltage, and generating a pulse flag signal if pulse interference exists; an AGC controller 150 connected to the power detection module 130 and the pulse interference identification module 140 for generating a gain control voltage based on the power detection voltage and stopping updating the gain control voltage in response to the pulse flag signal; and a gain execution module 160 connected to the radio frequency front-end 110 and the AGC controller 150 for adjusting the gain of the main radio frequency signal based on the main radio frequency signal and the gain control voltage.

[0030] In this embodiment, please refer to Figure 3 , Figure 3 A structural block diagram of an RF front-end 110 is shown. The RF front-end 110 may include an antenna, a limiter, a preselection filter, and a low-noise amplifier connected in sequence.

[0031] The antenna is used to receive radio signals from the aviation data link and convert them into radio frequency (RF) signals; the limiter is used to limit the amplitude of the RF signals; the pre-selection filter is used to filter the RF signals; and the low-noise amplifier is used to amplify the filtered RF signals.

[0032] In addition, the RF front end 110 divides the amplified and filtered RF signal into a main RF signal and a coupled RF signal, with the coupled RF signal used to adjust the gain of the main RF signal.

[0033] It should be noted that in this embodiment, a high-sensitivity, wide-band response airborne antenna is used to ensure effective acquisition of radio signals in complex aviation environments. A limiter restricts the amplitude of the input RF signal to prevent transient high-power pulse signals or strong interference signals from overloading subsequent circuits. A pre-selection filter selects the frequency of the RF signal, suppressing adjacent channel interference and wide-band interference, allowing only the target frequency band RF signal to enter subsequent circuits. A low-noise amplifier amplifies the filtered target frequency band RF signal while reducing the introduction of additional noise to ensure the signal-to-noise ratio (SNR) is as high as possible in subsequent AGC and demodulation stages.

[0034] In this embodiment, please refer to Figure 4 , Figure 4 A structural block diagram of a frequency domain selection module 120 is shown. The frequency domain selection module 120 may include: a switchable multi-stage BPF (bandpass filter); each bandpass filter is used to receive coupled radio frequency signals and switch to the target frequency band based on control commands to output the target radio frequency signal.

[0035] It should be noted that the RF receiver gain control system in this embodiment is connected to the control terminal. The implementer outputs control commands through the control terminal to control the bandpass filter to switch to the target frequency band.

[0036] The switchable multi-bandpass filter consists of 16 segmented filters, which input the coupled RF signal and output the target RF signal. It can be understood that the frequency domain selection module 120, by shielding adjacent channels and out-of-band interference in the frequency domain, ensures that only the target signal bandwidth energy is provided to the power detection module 130, thus ensuring that the AGC makes decisions based on the target energy.

[0037] In the specific implementation process, step S12 can be executed by the power detection module 130. The RMS detector in the power detection module 130 processes the target radio frequency signal and outputs an analog voltage that is proportional to the effective value of the target radio frequency signal power, i.e., the power detection voltage.

[0038] In this embodiment, please refer to Figure 5 , Figure 5 A structural block diagram of a power detection module 130 is shown. The power detection module 130 may include an RMS detector.

[0039] In this embodiment, step S13 can be executed by the pulse interference identification module 140, which may include an analog-to-digital converter. In this embodiment, the power detection voltage is converted into a power sampling sequence by the analog-to-digital converter.

[0040] Understandably, the power detector voltage is sampled by an analog-to-digital converter (ADC) and converted into a digital sequence (i.e., a power sampling sequence). For subsequent processing, the sampling period is set to [value] in this embodiment. .

[0041] In one embodiment, step S13, determining whether the target radio frequency signal has pulse interference based on the power sampling sequence, may specifically include: S131. Determine the power difference based on the power sampling sequence. The power difference represents the difference between the instantaneous power and the average power. S132. When the power difference is greater than a preset threshold, monitor the duration of the power difference being greater than the preset threshold. If the duration is less than the preset maximum pulse duration at the current sampling time, it is determined that the target radio frequency signal has pulse interference at the current sampling time. S133. If the power difference is less than or equal to a preset threshold, determine that there is no pulse interference in the target radio frequency signal at the current sampling time point.

[0042] Please see Figure 6 , Figure 6 The following is a detailed flowchart of step S13 in this embodiment. Figure 6 The specific process of step S13 will be described in detail.

[0043] In the specific implementation process, the short time constant power can first be determined using the following formula (1) based on the power sampling sequence, moving average algorithm and first preset weight factor. : (1) in, This represents the first preset weighting factor. It can be set to 0.7 to 0.9 to ensure a fast response. Indicates the power sampling sequence of the first... One value, Indicates the power sampling sequence of the first... Values.

[0044] Furthermore, the time constant power can be determined using the following formula (2) based on the power sampling sequence, the moving average algorithm, and the second preset weighting factor. : (2) in, This represents the second preset weighting factor. It can be set from 0.01 to 0.05 to obtain a long-time constant power that can represent the smoothed average power. , Indicates the power sampling sequence of the first... One value, Indicates the power sampling sequence of the first... Values.

[0045] Furthermore, the difference between the short-time constant power and the long-time constant power is taken as the power difference, i.e. .

[0046] In power difference If the power difference exceeds the preset threshold, the system monitors the duration for which the power difference exceeds the preset threshold. If the duration is less than the preset maximum pulse duration at the current sampling time, the system determines that the target RF signal has pulse interference at the current sampling time and generates a pulse flag signal. Conversely, if the power difference is less than or equal to the preset threshold, the system determines that the target RF signal does not have pulse interference at the current sampling time.

[0047] Specifically, in this embodiment, the power difference... If the number of consecutive samples exceeds a preset threshold (Threshold), the number of consecutive time points exceeding the preset threshold is counted. ,when At that time, it is determined that the target radio frequency signal has pulse interference at the current sampling time point.

[0048] It should be noted that, Figure 6 Normal AGC update refers to the normal generation and update of the gain control voltage, while frozen AGC update refers to stopping the update of the gain control voltage.

[0049] In this embodiment, step S14 can be executed by the AGC controller 150, and step S15 can be executed by the gain execution module 160.

[0050] In the specific implementation process, if there is no pulse freeze and overload protection, then based on the power difference... Size and duration The gain control voltage is obtained by intelligently selecting the control strategy.

[0051] Specifically, if the power difference Greater than the preset threshold Threshold and the duration is greater than If the current sampling time point is determined to be a significant real signal change, the first adjustment step size is activated to respond. The adjustment time constant is relatively short (1-5µs) to handle real, rapid signal changes and avoid overload; conversely, if the power difference is small... If the signal is less than or equal to the preset threshold Threshold, it is determined to be a small-amplitude signal fluctuation. The second adjustment step size is then used for fine adjustment. The adjustment time constant is relatively long (10~200us) to ensure adjustment accuracy and damping and prevent loop oscillation. The second adjustment step size is smaller than the first adjustment step size.

[0052] Furthermore, the gain control voltage is converted into an analog voltage by a digital-to-analog converter (DAC), and the gain execution module is used to adjust the gain of the main RF signal, ultimately outputting a stable RF signal to the subsequent demodulation circuit.

[0053] Based on the above embodiments, Figure 7 This is a flowchart of the adaptive gain control method provided in Embodiment 2 of this application. This adaptive gain control method is applied to an RF receiver and can be executed by an adaptive gain control device communicatively connected to the RF receiver. Figure 7 For based on Figure 1 The preferred embodiment of the corresponding adaptive gain control method is referred to Figure 7 The adaptive gain control method may include the following steps: S21. Divide the radio frequency signal into a main radio frequency signal and a coupled radio frequency signal, and perform frequency band selection on the coupled radio frequency signal to obtain the target radio frequency signal; S22. Generate a power detection voltage based on the target radio frequency signal; S23. Convert the power detection voltage into a power sampling sequence, and determine whether there is pulse interference in the target radio frequency signal based on the power sampling sequence; and generate a pulse flag signal when there is pulse interference in the target radio frequency signal. S24. Generate a gain control voltage based on the power sampling sequence, and stop updating the gain control voltage in response to the pulse flag signal; S25. Determine whether the power detection voltage is greater than the preset safety threshold, and generate a hardware protection signal if the power detection voltage is greater than the preset safety threshold. S26. In response to the hardware protection signal, stop the generation process of the gain control voltage and generate a preset safe gain control voltage. S27. Adjust the gain of the main RF signal based on the main RF signal and the gain control voltage.

[0054] It should be noted that the RF receiver gain control system 200 may include the adaptive gain control device and antenna in this embodiment.

[0055] Please see Figure 8 , Figure 8 A block diagram of a radio frequency receiver gain control system 200 is shown. It can be understood that... Figure 8 for Figure 2 In a preferred embodiment, the RF receiver gain control system 200 may include: an RF front-end 110, a frequency domain selection module 120, a power detection module 130, a pulse interference identification module 140, an AGC controller 150, a gain execution module 160, and an overload detection and protection module 170.

[0056] It is understood that, compared with the above embodiments, the RF receiver gain control system 200 adds an overload detection and protection module 170. The overload detection and protection module 170 is connected to the power detection module 130 and is used to determine whether the power detection voltage exceeds a preset safety threshold, and to generate a hardware protection signal when the power detection voltage exceeds the preset safety threshold.

[0057] In the specific implementation process, step S25 can be executed by the overload detection and protection module 170. First, the power detection voltage is converted from analog to digital. If the power value at the current sampling time point is greater than the preset safety threshold, a hardware protection signal is generated. The preset safety threshold is set according to the maximum allowable operating power of the selected device.

[0058] Please see Figure 9 , Figure 9 The specific flowchart of steps S23 to S26 in this embodiment is shown.

[0059] It is understandable that, such as Figure 9 As shown, when responding to a pulse flag signal or a hardware protection signal, the AGC controller stops updating the gain control voltage, effectively freezing the AGC. At the next sampling time point, if the pulse flag signal or the hardware protection signal fails, the AGC freeze is cleared, and the gain control voltage is updated normally.

[0060] Based on the above embodiments, Figure 10 This is a structural block diagram of an adaptive gain control device 300 according to one embodiment of this application, as shown below. Figure 10 As shown, the adaptive gain control device 300 may include a frequency band selection module 310, a power calculation module 320, a pulse interference judgment module 330, a gain generation module 340, and a gain adjustment module 350.

[0061] The system includes: a frequency band selection module for dividing the radio frequency (RF) signal into a main RF signal and a coupled RF signal, and performing frequency band selection on the coupled RF signal to obtain the target RF signal; a power calculation module for generating a power detection voltage based on the target RF signal; a pulse interference judgment module for converting the power detection voltage into a power sampling sequence, judging whether there is pulse interference in the target RF signal based on the power sampling sequence, and generating a pulse flag signal when pulse interference exists in the target RF signal; a gain generation module for generating a gain control voltage based on the power sampling sequence, and stopping updating the gain control voltage in response to the pulse flag signal; and a gain adjustment module for adjusting the gain of the main RF signal based on the main RF signal and the gain control voltage.

[0062] In some embodiments, the adaptive gain control device 300 can also be used to determine whether the power detection voltage is greater than a preset safety threshold, and generate a hardware protection signal when the power detection voltage is greater than the preset safety threshold; in response to the hardware protection signal, stop the generation process of the gain control voltage, and generate a preset safety gain control voltage.

[0063] In some implementations, the pulse interference determination module 330 can be specifically used to: determine a power difference based on a power sampling sequence, wherein the power difference represents the difference between instantaneous power and average power; if the power difference is greater than a preset threshold, monitor the duration for which the power difference is greater than the preset threshold; if the duration is less than a preset maximum pulse duration at the current sampling time, determine that the target radio frequency signal has pulse interference at the current sampling time; if the power difference is less than or equal to the preset threshold, determine that the target radio frequency signal does not have pulse interference at the current sampling time.

[0064] In some implementations, the pulse interference judgment module 330 can be specifically used to: generate a gain control voltage based on a power sampling sequence and using a first adjustment step size when the power difference is greater than a preset threshold and the duration is greater than a preset maximum pulse duration; and generate a gain control voltage based on a power sampling sequence and using a second adjustment step size when the power difference is less than or equal to a preset threshold, wherein the second adjustment step size is less than the first adjustment step size.

[0065] In some implementations, the pulse interference determination module 330 can specifically be used to: determine the short time constant power and the long time constant power based on the power sampling sequence and using a moving average algorithm, wherein the short time constant power is used to characterize the instantaneous power of the target radio frequency signal and the long time constant power is used to characterize the average power of the target radio frequency signal; and use the difference between the short time constant power and the long time constant power as the power difference.

[0066] In some implementations, the impulse interference determination module 330 can be specifically used to: determine the short time constant power based on the power sampling sequence, the moving average algorithm, and the first preset weighting factor; and determine the long time constant power based on the power sampling sequence, the moving average algorithm, and the second preset weighting factor; wherein the first preset weighting factor is greater than the second preset weighting factor.

[0067] In some implementations, the power detection voltage in the adaptive gain control device 300 is proportional to the effective power value of the target radio frequency signal.

[0068] It should be noted that for details not disclosed in the adaptive gain control device of this embodiment, please refer to the details disclosed in the embodiments of the adaptive gain control method in this specification, which will not be repeated here.

[0069] Based on the above embodiments, Figure 11 This is a schematic diagram of an adaptive gain control device according to one embodiment of this application, as shown below. Figure 11 As shown, the electronic device may include a processor 410, a communications interface 420, a memory 430, and a communication bus 440, wherein the processor 410, the communications interface 420, and the memory 430 communicate with each other through the communication bus 440. The processor 410 can call logic instructions in the memory 430 to execute an adaptive gain control method.

[0070] Furthermore, the logical instructions in the aforementioned memory 430 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part 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 instructions 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 the present invention. 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.

[0071] Based on the above embodiments, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer is able to execute an adaptive gain control method provided by the above methods.

[0072] Based on the above embodiments, in another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform an adaptive gain control method provided by the above methods.

[0073] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. An adaptive gain control method, characterized in that, Applied to an RF receiver, the method includes: The radio frequency signal is divided into a main radio frequency signal and a coupled radio frequency signal, and the frequency band of the coupled radio frequency signal is selected to obtain the target radio frequency signal; A power detection voltage is generated based on the target radio frequency signal; The power detection voltage is converted into a power sampling sequence, and the presence of pulse interference in the target radio frequency signal is determined based on the power sampling sequence. In the case that pulse interference exists in the target radio frequency signal, a pulse flag signal is generated. A gain control voltage is generated based on the power sampling sequence, and the update of the gain control voltage is stopped in response to the pulse flag signal; The gain of the main radio frequency signal is adjusted based on the main radio frequency signal and the gain control voltage.

2. The method as described in claim 1, characterized in that, The method further includes: Determine whether the power detection voltage is greater than a preset safety threshold, and generate a hardware protection signal if the power detection voltage is greater than the preset safety threshold. In response to the hardware protection signal, the generation process of the gain control voltage is stopped, and a preset safe gain control voltage is generated.

3. The method as described in claim 1, characterized in that, The step of determining whether the target radio frequency signal has pulse interference based on the power sampling sequence includes: The power difference is determined based on the power sampling sequence, and the power difference represents the difference between the instantaneous power and the average power; If the power difference is greater than a preset threshold, the duration of the power difference being greater than the preset threshold is monitored. If the duration is less than the preset maximum pulse duration at the current sampling time, it is determined that the target radio frequency signal has pulse interference at the current sampling time. If the power difference is less than or equal to a preset threshold, it is determined that the target radio frequency signal does not have pulse interference at the current sampling time point.

4. The method as described in claim 3, characterized in that, The generation of gain control voltage based on the power sampling sequence includes: When the power difference is greater than a preset threshold and the duration is greater than a preset maximum pulse duration, a gain control voltage is generated based on the power sampling sequence and using a first adjustment step size. When the power difference is less than or equal to a preset threshold, a gain control voltage is generated based on the power sampling sequence and using a second adjustment step size, wherein the second adjustment step size is less than the first adjustment step size.

5. The method as described in claim 3, characterized in that, Determining the power difference based on the power sampling sequence includes: Based on the power sampling sequence and using a moving average algorithm, the short time constant power and the long time constant power are determined. The short time constant power is used to characterize the instantaneous power of the target radio frequency signal, and the long time constant power is used to characterize the average power of the target radio frequency signal. The difference between the short-time constant power and the long-time constant power is taken as the power difference.

6. The method as described in claim 5, characterized in that, The determination of short-time constant power and long-time constant power based on the power sampling sequence and using a moving average algorithm includes: The short-time constant power is determined based on the power sampling sequence, the moving average algorithm, and the first preset weighting factor. The time constant power is determined based on the power sampling sequence, the moving average algorithm, and the second preset weighting factor. Wherein, the first preset weighting factor is greater than the second preset weighting factor.

7. The method as described in claim 1, characterized in that, The power detection voltage is proportional to the effective power value of the target radio frequency signal.

8. An adaptive gain control device, characterized in that, include: The frequency band selection module is used to divide the radio frequency signal into a main radio frequency signal and a coupled radio frequency signal, and to perform frequency band selection on the coupled radio frequency signal to obtain the target radio frequency signal; A power calculation module is used to generate a power detection voltage based on the target radio frequency signal; The pulse interference detection module is used to convert the power detection voltage into a power sampling sequence, determine whether the target radio frequency signal has pulse interference based on the power sampling sequence, and generate a pulse flag signal if the target radio frequency signal has pulse interference. A gain generation module is used to generate a gain control voltage based on the power sampling sequence, and to stop updating the gain control voltage in response to the pulse flag signal; A gain adjustment module is used to adjust the gain of the main radio frequency signal based on the main radio frequency signal and the gain control voltage.

9. An adaptive gain control device, characterized in that, include: At least one processor; And a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The device contains a computer program that, when executed by a processor, implements the method as described in any one of claims 1 to 7.