CN114945210B - Radio frequency signal gain control method, system, device and medium - Google Patents

Radio frequency signal gain control method, system, device and medium Download PDF

Info

Publication number
CN114945210B
CN114945210B CN202210484887.0A CN202210484887A CN114945210B CN 114945210 B CN114945210 B CN 114945210B CN 202210484887 A CN202210484887 A CN 202210484887A CN 114945210 B CN114945210 B CN 114945210B
Authority
CN
China
Prior art keywords
gain
signal
radio frequency
frequency signal
amplifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210484887.0A
Other languages
Chinese (zh)
Other versions
CN114945210A (en
Inventor
李育强
刘东林
肖良平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Xinzhilian Technology Co ltd
Original Assignee
Guangzhou Xinzhilian Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Xinzhilian Technology Co ltd filed Critical Guangzhou Xinzhilian Technology Co ltd
Priority to CN202210484887.0A priority Critical patent/CN114945210B/en
Publication of CN114945210A publication Critical patent/CN114945210A/en
Application granted granted Critical
Publication of CN114945210B publication Critical patent/CN114945210B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/52TPC using AGC [Automatic Gain Control] circuits or amplifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/345Interference values
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a radio frequency signal gain control method, a system, a device and a medium, wherein the method mainly comprises the following steps: acquiring a first radio frequency signal carrying an interference signal before a preamble time slot; performing three-level detection on the first radio frequency signal, and determining signal gain information according to the three-level detection result; performing receiving gain convergence according to the signal gain information, detecting a packet frame header of a second radio frequency signal, performing gain adjustment on the second radio frequency signal according to the converged receiving gain, and outputting the second radio frequency signal after gain adjustment; the scheme can be used for converging the gain adjustment to the optimal receiving condition at a faster speed under the interference environment, namely, the receiver can be adjusted to the optimal sensitivity state which is just unsaturated and has relatively high gain under the interference environment with higher probability, and the method can be widely applied to the technical field of radio frequency signals.

Description

Radio frequency signal gain control method, system, device and medium
Technical Field
The present invention relates to the field of radio frequency signals, and in particular, to a method, a system, an apparatus, and a medium for controlling gain of a radio frequency signal.
Background
For the WiFi/BT of short-distance communication, the WiFi/BT works in a general ISM frequency band, other protocol standards exist in the frequency band, and the WiFi/BT using equipment in an office environment is very many, so that the anti-interference performance can be improved to a certain extent on algorithm and application strategy, but the premise is that all circuit levels of a radio frequency front end receiving access are not saturated. After receiving the frame head of the signal packet, the communication protocol only allows the gain to be adjusted to a proper gear in the microsecond level time of the frame front, and the time is only 2-3 times of the delay of the whole receiving path, which means that the gain adjustment is allowed for 2-3 times at most. When an interference signal exists, the amplitude of the interference signal is limited after the interference signal is filtered through a receiving channel, but the signal is saturated and nonlinear at the intermediate stage of the receiver, so that the judgment of the strength of a useful signal is influenced, the strength of the signal is the main basis for adjusting the gain, and finally, the gain cannot be adjusted to an optimal value. Therefore, it is necessary to detect a circuit level that is easily saturated in the middle of the receiving channel before receiving the packet, and if the interference signal strength is found to be too high, gain backoff is performed.
As radio frequencies have been developed for decades, there are many Automatic Gain Control (AGC) methods in the industry and many patents, the simplest gain control method in the industry is to detect the signal strength at the later ADC, but the scheme is out of band, if the intermediate stage is saturated but has been attenuated after passing through the anti-aliasing filter before the ADC, so that the later ADC detects the unsaturation. In practice, if the gain is set to a certain level, the circuit is not saturated, and most of the target signal reception can be handled. More recently, it is economical to increase the amplitude or peak detection of each stage, and adjust the gain according to the detection result, for example, a peak detection circuit is added after the rf input port and the if amplifier, but the detection accuracy of the rf input port is limited due to the smaller signal intensity. For another example, a saturation detector is added after the radio frequency and intermediate frequency and ADC, and the gain is adjusted in time when saturation occurs in the preamble stage; however, this scheme ignores a situation where serious saturation may affect the identification of the preamble, resulting in missing the adjustment slot. Even if serious saturation does not occur, since a settling time is required after adjusting the gain, the number of times the gain can be adjusted in the preamble time is difficult to exceed 3 times, and thus the probability of the gain that can be adjusted to be optimal in a limited time is reduced. Non-linearities can also affect signal SNR to some extent if too much back-off would sacrifice sensitivity back-off too little.
In summary, in the related art, the AGC control technique mainly performs gain adjustment in the preamble slot of the signal packet, but it has a disadvantage that it cannot ensure that the gain is converged to be optimal in the preamble slot in the interference environment.
Disclosure of Invention
In view of the above, an object of an embodiment of the present invention is to provide a method for controlling gain of a radio frequency signal with higher sensitivity and better gain adjustment, and a system, a device and a storage medium for implementing the method.
In one aspect, the present application provides a method for controlling gain of a radio frequency signal, including the following steps:
acquiring a first radio frequency signal carrying an interference signal before a preamble time slot;
performing three-level detection on the first radio frequency signal, and determining signal gain information according to the three-level detection result;
performing receiving gain convergence according to the signal gain information, detecting a packet frame header of a second radio frequency signal, performing gain adjustment on the second radio frequency signal by taking the converged receiving gain as a basis gain, and outputting the second radio frequency signal after gain adjustment;
performing three-level detection on the first radio frequency signal, and determining signal gain information according to the three-level detection result, wherein the method comprises the following steps of:
coarse-tuning detection is carried out on the first radio frequency signal through a radio frequency peak detector, and gain corresponding to the first intermediate signal is obtained through first round gain convergence according to a detection result;
amplifying the first intermediate signal through an intermediate frequency first amplifier, performing multi-bit peak detection through an intermediate frequency peak detector, and converging through a second round of gain to obtain a gain corresponding to a second intermediate signal;
and amplifying the second intermediate signal by a filter amplifier, performing saturation detection by an analog-to-digital conversion detector, and finally determining the signal gain information after third gain convergence.
In a possible embodiment of the present application, the step of performing coarse adjustment detection on the first radio frequency signal by using a radio frequency peak detector, and obtaining the gain corresponding to the first intermediate signal by first round gain convergence according to the detection result includes:
acquiring a preset first threshold value;
determining that a first peak value of the first radio frequency signal is larger than the first threshold value, and controlling the radio frequency amplifier to perform gain convergence;
and determining that the first peak value of the first radio frequency signal is not larger than the first threshold value, and acquiring the gain corresponding to the first intermediate signal output by the radio frequency amplifier after gain convergence.
In a possible embodiment of the present application, after the first intermediate signal is amplified by the intermediate frequency first amplifier, the multi-bit peak detection is performed by the intermediate frequency peak detector, and the gain corresponding to the second intermediate signal is obtained through second round gain convergence, which includes:
acquiring a plurality of preset second thresholds and target thresholds;
determining that the amplitude of the first intermediate signal is larger than any second threshold value after being amplified by a first intermediate frequency amplifier, and controlling the intermediate frequency amplifier to perform gain convergence;
and determining that the amplitude of the first intermediate signal is not larger than any second threshold value after being amplified by the first intermediate frequency amplifier and is not smaller than the target threshold value, and acquiring the gain corresponding to the second intermediate signal output by the intermediate frequency amplifier after gain convergence.
In a possible embodiment of the present application, the step of amplifying the second intermediate signal by a filter amplifier, performing saturation detection by an analog-to-digital conversion detector, and finally determining the signal gain information after the third gain convergence includes:
determining whether saturation occurs after the second intermediate signal is subjected to a filter amplifier;
and if saturated, adjusting the gain of the filter amplifier so that the output of the filter amplifier is unsaturated.
In a possible embodiment of the present application, the method further comprises the steps of:
determining a gain gear according to the signal gain information, and performing gain adjustment on the second radio frequency signal according to the gain based on the gain gear;
and in a preset first time period before the arrival of the second radio frequency signal, determining that the signal intensity of the interference signal in the first radio frequency signal is lower than a preset third threshold value, and recovering to the maximum value of the gain gear.
In a possible embodiment of the application, the method further comprises the steps of:
and in a preset second time period when the second radio frequency signal finishes receiving, receiving the packet receiving requirement is not received, closing the three-stage detection and canceling gain convergence.
On the other hand, the technical scheme of the application also provides a radio frequency signal gain control system, which comprises:
the signal acquisition unit is used for acquiring a first radio frequency signal carrying an interference signal before a preamble time slot and after packet receiving;
the interference detection unit is used for carrying out three-level detection on the first radio frequency signal and determining signal gain information according to the three-level detection result;
the gain control unit is used for carrying out receiving gain convergence according to the signal gain information, detecting a packet frame head of a second radio frequency signal, carrying out gain adjustment on the second radio frequency signal according to the converged receiving gain, and outputting the second radio frequency signal after gain adjustment;
the interference detection unit includes:
the radio frequency peak detector is used for carrying out coarse adjustment detection on the first radio frequency signal, and gain convergence is carried out to obtain a gain corresponding to the first intermediate signal;
the intermediate frequency peak detector is used for carrying out multi-bit peak detection on the first intermediate signal after being amplified by the first intermediate frequency amplifier, and gain convergence is carried out to obtain a gain corresponding to the second intermediate signal;
and the analog-to-digital conversion detector is used for carrying out saturation detection on the second intermediate signal, and determining the signal gain information after gain convergence.
In a possible embodiment of the present application, the interference detection unit in the system further includes:
the radio frequency low noise amplifier is used for amplifying the first radio frequency signal;
an intermediate frequency first amplifier for amplifying the first intermediate signal;
and the filter amplifier is used for amplifying the second intermediate signal.
On the other hand, the technical scheme of the application also provides a radio frequency signal gain control device, which comprises:
at least one processor;
at least one memory for storing at least one program;
the at least one program, when executed by the at least one processor, causes the at least one processor to perform a radio frequency signal gain control method as claimed in any one of the first aspects.
In another aspect, a storage medium is provided, in which a processor executable program is stored, where the processor executable program is configured to perform a radio frequency signal gain control method according to any one of the first aspects when executed by a processor.
Advantages and benefits of the invention 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 the invention:
according to the technical scheme, on the basis that gain control can be performed according to detection results in a preamble time slot in a related technology, a gain control process before receiving a packet is added, and a gain controller needs to quickly perform one-time optimal receiving gain convergence according to detection results of a radio frequency detector, an intermediate frequency detector and an ADC (analog to digital converter), so that the gain is converged to an optimal sensitivity state which can be just unsaturated under real-time interference intensity before receiving the packet in an interference environment, and after detecting a signal packet frame header, the gain is used as an initial gain to perform fine adjustment on the preamble time slot. According to the technical scheme, the speed of converging the gain adjustment to the optimal receiving condition under the interference environment is faster, namely, the receiver can be adjusted to the optimal sensitivity state which is just unsaturated and has relatively high gain under the interference environment with higher probability.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of steps of a method for controlling gain of a radio frequency signal according to the technical scheme of the present application;
fig. 2 is a flowchart of another step of controlling the gain of a radio frequency signal according to the technical scheme of the present application;
fig. 3 is a schematic diagram of time of an AGC procedure added in the technical solution of the present application;
fig. 4 is a schematic structural diagram of a radio frequency signal gain control system provided in the technical scheme of the present application.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention. The step numbers in the following embodiments are set for convenience of illustration only, and the order between the steps is not limited in any way, and the execution order of the steps in the embodiments may be adaptively adjusted according to the understanding of those skilled in the art.
Based on the technical problem that the related technical scheme indicated in the background art cannot ensure that the gain is converged to the optimal value in the preamble time slot under the interference environment, the technical scheme of the application provides the following scheme conception: on the basis of gain adjustment in the preamble phase, interference signal detection is performed before the preamble phase, so that the receiver gain converges to an optimal sensitivity state that can be just unsaturated at the real-time interference strength, and the maximum gain is recovered after the interference subsides.
Based on the scheme conception, on one hand, the technical scheme of the application provides a radio frequency signal gain control method; as shown in fig. 1, the method mainly includes steps S100 to S300:
s100, acquiring a first radio frequency signal carrying an interference signal before a leading time slot;
in particular, in the embodiment, since the whole AGC process of the present application is to be fused with a normal receiving and AGC process, after the embodiment determines that the receiving state is to be entered, the receiver is turned on slightly earlier than the time required for receiving until the receiving state is stable, and the radio frequency signal carrying the interference signal is obtained through the stabilized receiver circuit, that is, the first radio frequency signal.
S200, performing three-level detection on the first radio frequency signal, and determining signal gain information according to a three-level detection result;
in particular, in an embodiment, the receiver architecture of the embodiment is comprised of a radio frequency low noise amplifier, a down-conversion mixer, an intermediate frequency first amplifier, a filter amplifier, an ADC, a radio frequency peak detector, an intermediate frequency peak detector, and a gain controller. The gain controller in the embodiment is derived from the result of three-stage detection, and the three-stage detection in the embodiment is mainly completed by a radio frequency peak detector, an intermediate frequency peak detector and an ADC module; furthermore, in the embodiment, the step of performing three-level detection on the first radio frequency signal and determining the signal gain information according to the three-level detection result may include steps S210 to S230:
s210, performing coarse adjustment detection on a first radio frequency signal through a radio frequency peak detector to obtain a corresponding gain of a first intermediate signal;
s220, amplifying the first intermediate signal through a first intermediate frequency amplifier by using an intermediate frequency peak detector, and then carrying out multi-bit peak detection to obtain a second intermediate signal;
and S230, performing saturation detection on the second intermediate signal through an analog-to-digital conversion detector, and determining signal gain information.
In particular, in the embodiment, the rf detector uses an envelope detection method, which belongs to coarse detection, and can detect interference in a wider frequency range and has a faster response speed due to the operation at the rf frequency; the intermediate frequency detector is different from other schemes in that a finer multi-bit peak detector is used, which is the key for judging that the gain converges to the optimal state, the multi-bit detector can ensure that the information quantity judged at one time is larger and is beneficial to shortening the time of iterative gain, a certain hysteresis effect can be set for preventing the gain from frequent jump during the judgment, and the just unsaturated gain can be maintained to the maximum extent and is beneficial to the sensitivity of the received signal. The far-end signal is filtered before the ADC but the filtering effect of the near-end signal is limited, so that the effect on the gain controller after the ADC can be used for calculating RSSI and supplementing near-end interference detection, and the output of the intermediate-frequency first amplifier is prevented from being saturated but is prevented from being saturated after the output of the intermediate-frequency first amplifier passes through the filter amplifier.
S300, receiving gain convergence is carried out according to the signal gain information, a packet frame head of the second radio frequency signal is detected, gain adjustment is carried out on the second radio frequency signal according to the converged receiving gain, and the second radio frequency signal with the gain adjusted is output;
in particular, in the embodiment, in step S200, the gain controller needs to quickly perform an optimal receiving gain convergence according to the detection results of the radio frequency detector, the intermediate frequency detector and the ADC before the arrival of the real signal packet, so that the gain converges to an optimal sensitivity state that can be just unsaturated under the real-time interference strength before the packet is received in the interference environment, and after the frame head of the signal packet is detected, the gain is used as an initial gain to perform fine adjustment on the preamble time slot, and the maximum gain can be recovered after the interference is resolved.
In some possible embodiments, the step S210 of performing coarse adjustment detection on the first radio frequency signal by using the radio frequency peak detector to obtain the corresponding gain of the first intermediate signal in the method may specifically include steps S211-S213:
s211, acquiring a preset first threshold value;
s212, determining that a first peak value of the first radio frequency signal is larger than a first threshold value, and controlling the radio frequency amplifier to perform gain convergence;
s213, determining that the first peak value of the first radio frequency signal is not larger than a first threshold value, and obtaining the corresponding gain of the first intermediate signal output by the radio frequency amplifier after gain convergence.
As shown in fig. 2, in particular in the embodiment, according to a preset threshold value of radio frequency signal intensity, that is, a first threshold value, signal amplification is performed on the obtained radio frequency signal through radio frequency low-noise amplification, and the process is aimed at weak radio frequency signal amplification, so as to reduce noise introduction as much as possible; the rf amplifier gain is then quickly adjusted by determining via the rf detector that the signal is too large (i.e., that the signal strength exceeds the first threshold value), which is operating at a faster rate and in a short time can converge to unsaturation. In addition, in the embodiment, the adjustment of the rf amplifier can be performed according to a predetermined strategy to determine whether to adjust the if amplifier at the same time.
In some possible embodiments, the step S220 of amplifying the first intermediate signal by the intermediate frequency peak detector and then performing multi-bit peak detection to obtain the second intermediate signal in the method may specifically include S221-S223:
s221, acquiring a plurality of preset second thresholds and target thresholds;
s222, determining that the amplitude of the first intermediate signal amplified by the first intermediate frequency amplifier is larger than any one of second thresholds, and controlling the intermediate frequency amplifier to perform gain convergence;
s223, determining that the amplitude of the first intermediate signal amplified by the first intermediate frequency amplifier is not larger than any one of the second thresholds and is not smaller than the target threshold, and obtaining the second intermediate signal output by the intermediate frequency amplifier after gain convergence.
As shown in fig. 2, after obtaining the first intermediate signal output by the gain of the radio frequency amplifier, if the intermediate frequency detector determines that the signal amplified by the first intermediate frequency amplifier exceeds a certain high threshold of the multi-bit detector, that is, a preset second threshold for judging whether the signal is overloaded, the intermediate frequency detector waits for a stable time after adjusting the gain of X dB, and then continues to detect. If the detection is still larger than the high threshold after the stabilization is finished, continuing to downwards adjust a certain gain Y dB. And when the Z dB gain is not higher than the set overload threshold but still higher than the preset target threshold, continuing to downwards adjust the Z dB gain, wherein the Z value can be changed according to the difference between the current value and the target value until the interference signal strength reaches the target threshold range. In the embodiment, the bit overload can be judged only by exceeding a certain threshold value N times in a specific duration by a statistical method, because the bit error rate requirement can be met under the condition of not adjusting the gain when the exceeding frequency is not high. In addition, according to the result obtained by the detection of the intermediate frequency peak detector, an intermediate frequency amplifier in the system is adjusted, and a signal output by the intermediate frequency amplifier after the adjustment is obtained, namely a second intermediate signal.
In some possible embodiments, the step S230 of saturation detection of the second intermediate signal by the analog-to-digital conversion detector and determining the signal gain information in the method may specifically include steps S231-S232:
s231, determining whether saturation occurs after the second intermediate signal is subjected to the filter amplifier;
s232, if saturated, adjusting the gain of the filter amplifier to enable the output of the filter amplifier to be unsaturated;
in the process of adjusting the intermediate frequency gain according to the second intermediate signal, as shown in fig. 2, it is necessary to combine the results of the ADC detection to determine whether to perform the gain adjustment of the post-stage filter amplifier, when the interference signal frequency point is close to the bandwidth of the filter amplifier, it may happen that the output of the intermediate frequency first amplifier is already adjusted to the target threshold value, but saturation is detected by the ADC after passing through the filter amplifier, and the gain of the filter amplifier should be adjusted to be unsaturated.
Because the gain level adjusted by the optimal folding point of the interference environment is unsaturated by radio frequency, the output signal of the intermediate frequency amplifier just causes the circuit to be unsaturated and the output of the filter amplifier to be unsaturated, at the moment, the circuit is not saturated, the AGC gain can be maintained relatively high, and the optimal receiver sensitivity which can be processed by the circuit is maintained in the interference environment.
It should be noted that, as shown in fig. 3, in the technical scheme of the present application, the AGC control flow focuses on optimizing the situation that the interference first signal is received later, the signal has amplitude information, the gain is allowed to be adjusted before the preamble time slot and the preamble, and the gain is not allowed to be changed until the complete signal data packet is received later.
In some possible embodiments, the method for controlling the gain of the radio frequency signal may further include steps S400 to S500 after determining the gain gear through three levels of detection:
s400, determining a gain gear according to the signal gain information, and performing gain adjustment on the second radio frequency signal according to the gain gear;
s500, determining that the signal strength of an interference signal in the first radio frequency signal is lower than a preset third threshold value in a preset first time period before the arrival of the second radio frequency signal, and recovering to the maximum value of the gain gear;
in an embodiment, the best effect of gain adjustment is to achieve that the peak value of the output of the intermediate frequency amplifier is between the target threshold value and the second threshold value, and the corresponding gain stage is fixed under the condition that the output of the filter amplifier is not saturated to wait for receiving the packet. When the useful signal arrives, the gain is finely adjusted by taking the gain gear (namely the corresponding gain gear under the optimal unsaturated condition in the previous sentence) as the initial gear in the preamble time slot, and the gear higher than the gain gear is temporarily erased due to the existence of the interference signal. The RSSI value of the useful signal and the result of the three-stage detector can still be used together as a reference in the fine-tuning AGC process.
More specifically, after the signal packet is received, whether a need for continuing to receive the packet exists is determined, and if the need exists, the detection flow is continuously executed. If the interference received in the first time period is lower than a certain set condition threshold value after a certain time is exceeded, the highest gain is recovered and the erased gear is recovered if the interference source is disappeared. If the useful signal arrives at this point, the circuit is saturated and in-band saturation does not affect the AGC operation.
In some possible embodiments, the radio frequency signal gain control method further includes step S600:
s600, when the second radio frequency signal is received within a preset second time period, the receiving package requirement is not received, the three-stage detection is closed, and gain convergence is canceled.
In particular, in an embodiment, if there is no packet receiving requirement for a long time or within a predetermined time period (i.e., the second time period), the gain adjustment mechanism may be turned off, and whether the receiver is turned off depends on the transceiver state machine.
On the other hand, as shown in fig. 4, the technical scheme of the present application also provides a keyword recognition system; it comprises the following steps:
the signal acquisition unit is used for acquiring a first radio frequency signal carrying an interference signal before a leading time slot;
the interference detection unit is used for carrying out three-level detection on the first radio frequency signal and determining signal gain information according to a three-level detection result;
the gain control unit is used for carrying out receiving gain convergence according to the signal gain information, detecting a packet frame head of the second radio frequency signal, carrying out gain adjustment on the second radio frequency signal according to the converged receiving gain and outputting the second radio frequency signal after gain adjustment;
wherein the interference detection unit includes:
the radio frequency peak detector is used for carrying out coarse adjustment detection on the first radio frequency signal to obtain a corresponding gain of the first intermediate signal;
the intermediate frequency peak detector is used for carrying out multi-bit peak detection on the first intermediate signal after the first intermediate signal is amplified by the first intermediate frequency amplifier to obtain a second intermediate signal;
and the analog-to-digital conversion detector is used for carrying out saturation detection on the second intermediate signal and determining signal gain information.
In some possible embodiments, the interference detection unit of the system further comprises: the radio frequency low noise amplifier is used for amplifying the first radio frequency signal; the intermediate frequency first amplifier is used for amplifying the first intermediate signal; and the filter amplifier is used for amplifying the second intermediate signal.
In particular, in an embodiment, as shown in fig. 4, the receiver architecture is composed of a radio frequency low noise amplifier, a down-conversion mixer, an intermediate frequency first amplifier, a filter amplifier, an ADC, a radio frequency peak detector, an intermediate frequency peak detector, and a gain controller. The information of the gain controller is derived from the results of three-stage detection (mainly radio frequency peak detector, intermediate frequency peak detector, ADC detection). Wherein the RF detector uses an envelope detection method, belongs to coarse detection, can detect interference in a wider frequency range and has a faster response speed due to operation at RF frequency; the intermediate frequency detector is different from other schemes in that a finer multi-bit peak detector is used, which is the key for judging that the gain converges to the optimal state, the multi-bit detector can ensure that the information quantity judged at one time is larger and is beneficial to shortening the time of iterative gain, a certain hysteresis effect can be set for preventing the gain from frequent jump during the judgment, and the just unsaturated gain can be maintained to the maximum extent and is beneficial to the sensitivity of the received signal. The far-end signal is filtered before the ADC but the filtering effect of the near-end signal is limited, so that the effect on the gain controller after the ADC can be used for calculating RSSI and supplementing near-end interference detection, and the output of the intermediate-frequency first amplifier is prevented from being saturated but is prevented from being saturated after the output of the intermediate-frequency first amplifier passes through the filter amplifier.
In a third aspect, the present application further provides a radio frequency signal gain control apparatus, which includes at least one processor; at least one memory for storing at least one program; the at least one program, when executed by the at least one processor, causes the at least one processor to perform a method of controlling gain of a radio frequency signal as in the first aspect.
The embodiment of the invention also provides a program stored in a storage medium, and the program is executed by a processor to realize any one of the radio frequency signal gain control methods in the first aspect.
From the above specific implementation process, it can be summarized that, compared with the prior art, the technical solution provided by the present invention has the following advantages or advantages:
according to the technical scheme, the speed of converging gain adjustment to the optimal receiving condition is faster in the interference environment when the AGC flow before receiving the packet is increased, namely, the receiver can be adjusted to the optimal sensitivity state which is just unsaturated and has relatively high gain in the interference environment with higher probability.
In some alternative embodiments, the functions/acts noted in the block diagrams may occur out of the order noted in the operational illustrations. For example, two blocks shown in succession may in fact be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved. Furthermore, the embodiments presented and described in the flowcharts of the present invention are provided by way of example in order to provide a more thorough 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 in which sub-operations described as part of a larger operation are performed independently.
Furthermore, while the invention is described in the context of functional modules, it should be appreciated that, unless otherwise indicated, one or more of the functions and/or features may be integrated in a single physical device and/or software module or may be implemented in separate physical devices or software modules. It will also be appreciated that a detailed discussion of the actual implementation of each module is not necessary to an understanding of the present invention. Rather, the actual implementation of the various functional modules in the apparatus disclosed herein will be apparent to those skilled in the art from consideration of their attributes, functions and internal relationships. Accordingly, one of ordinary skill in the art can implement the invention as set forth in the claims without undue experimentation. It is also to be understood that the specific concepts disclosed are merely illustrative and are not intended to be limiting upon the scope of the invention, which is to be defined in the appended claims and their full scope of equivalents.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that: many changes, modifications, substitutions and variations may be made to the embodiments without departing from the spirit and principles of the invention, the scope of which is defined by the claims and their equivalents.
While the preferred embodiment of the present invention has been described in detail, the present invention is not limited to the above embodiments, and various equivalent modifications and substitutions can be made by those skilled in the art without departing from the spirit of the present invention, and these equivalent modifications and substitutions are intended to be included in the scope of the present invention as defined in the appended claims.

Claims (9)

1. A method for controlling gain of a radio frequency signal, comprising the steps of:
acquiring a first radio frequency signal carrying an interference signal before a preamble time slot;
performing three-level detection on the first radio frequency signal, and determining signal gain information according to the three-level detection result;
performing receiving gain convergence according to the signal gain information, detecting a packet frame header of a second radio frequency signal, performing gain adjustment on the second radio frequency signal by taking the converged receiving gain as a basis gain, and outputting the second radio frequency signal after gain adjustment;
performing three-level detection on the first radio frequency signal, and determining signal gain information according to the three-level detection result, wherein the method comprises the following steps of:
coarse-tuning detection is carried out on the first radio frequency signal through a radio frequency peak detector, and gain corresponding to the first intermediate signal is obtained through first round gain convergence according to a detection result;
amplifying the first intermediate signal through an intermediate frequency first amplifier, performing multi-bit peak detection through an intermediate frequency peak detector, and converging through a second round of gain to obtain a gain corresponding to a second intermediate signal;
amplifying the second intermediate signal by a filter amplifier, performing saturation detection by an analog-to-digital conversion detector, and finally determining the signal gain information after third gain convergence;
the step of performing coarse adjustment detection on the first radio frequency signal through a radio frequency peak detector, and obtaining a gain corresponding to a first intermediate signal through first round gain convergence according to a detection result comprises the following steps:
acquiring a preset first threshold value;
determining that a first peak value of the first radio frequency signal is larger than the first threshold value, and controlling the radio frequency amplifier to perform gain convergence;
and determining that the first peak value of the first radio frequency signal is not larger than the first threshold value, and acquiring the gain corresponding to the first intermediate signal output by the radio frequency amplifier after gain convergence.
2. The method for controlling gain of radio frequency signal according to claim 1, wherein the step of amplifying the first intermediate signal by the intermediate frequency first amplifier, performing multi-bit peak detection by the intermediate frequency peak detector, and obtaining the gain corresponding to the second intermediate signal by second round gain convergence comprises:
acquiring a plurality of preset second thresholds and target thresholds;
determining that the amplitude of the first intermediate signal is larger than any second threshold value after being amplified by a first intermediate frequency amplifier, and controlling the intermediate frequency amplifier to perform gain convergence;
and determining that the amplitude of the first intermediate signal is not larger than any second threshold value after being amplified by the first intermediate frequency amplifier and is not smaller than the target threshold value, and acquiring the gain corresponding to the second intermediate signal output by the intermediate frequency amplifier after gain convergence.
3. The method of claim 2, wherein the step of amplifying the second intermediate signal by a filter amplifier, performing saturation detection by an analog-to-digital conversion detector, and finally determining the signal gain information after a third gain convergence, comprises the steps of:
determining whether saturation occurs after the second intermediate signal is subjected to a filter amplifier;
and if saturated, adjusting the gain of the filter amplifier so that the output of the filter amplifier is unsaturated.
4. A method of controlling gain of a radio frequency signal according to any of claims 1-3, characterized in that the method further comprises the steps of:
determining a gain gear according to the signal gain information, and performing gain adjustment on the second radio frequency signal according to the gain based on the gain gear;
and in a preset first time period before the arrival of the second radio frequency signal, determining that the signal intensity of the interference signal in the first radio frequency signal is lower than a preset third threshold value, and recovering to the maximum value of the gain gear.
5. The method of controlling gain of a radio frequency signal according to claim 4, further comprising the steps of:
and in a preset second time period when the second radio frequency signal finishes receiving, receiving the packet receiving requirement is not received, closing the three-stage detection and canceling gain convergence.
6. A radio frequency signal gain control system, comprising:
the signal acquisition unit is used for acquiring a first radio frequency signal carrying an interference signal before a preamble time slot and after packet receiving;
the interference detection unit is used for carrying out three-level detection on the first radio frequency signal and determining signal gain information according to the three-level detection result;
the gain control unit is used for carrying out receiving gain convergence according to the signal gain information, detecting a packet frame head of a second radio frequency signal, carrying out gain adjustment on the second radio frequency signal according to the converged receiving gain, and outputting the second radio frequency signal after gain adjustment;
the interference detection unit includes:
the radio frequency peak detector is used for carrying out coarse adjustment detection on the first radio frequency signal, and gain convergence is carried out to obtain a gain corresponding to the first intermediate signal;
the intermediate frequency peak detector is used for carrying out multi-bit peak detection on the first intermediate signal after being amplified by the first intermediate frequency amplifier, and gain convergence is carried out to obtain a gain corresponding to the second intermediate signal;
the analog-to-digital conversion detector is used for carrying out saturation detection on the second intermediate signal, and determining the signal gain information after gain convergence;
the radio frequency peak detector is specifically configured to:
acquiring a preset first threshold value;
determining that a first peak value of the first radio frequency signal is larger than the first threshold value, and controlling the radio frequency amplifier to perform gain convergence;
and determining that the first peak value of the first radio frequency signal is not larger than the first threshold value, and acquiring the gain corresponding to the first intermediate signal output by the radio frequency amplifier after gain convergence.
7. The radio frequency signal gain control system of claim 6, wherein said interference detection unit further comprises:
the radio frequency low noise amplifier is used for amplifying the first radio frequency signal;
an intermediate frequency first amplifier for amplifying the first intermediate signal;
and the filter amplifier is used for amplifying the second intermediate signal.
8. A radio frequency signal gain control apparatus, comprising:
at least one processor;
at least one memory for storing at least one program;
when said at least one program is executed by said at least one processor, said at least one processor is caused to run a radio frequency signal gain control method as claimed in any one of claims 1-5.
9. A storage medium having stored therein a processor executable program which when executed by a processor is adapted to run a radio frequency signal gain control method according to any of claims 1-5.
CN202210484887.0A 2022-05-06 2022-05-06 Radio frequency signal gain control method, system, device and medium Active CN114945210B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210484887.0A CN114945210B (en) 2022-05-06 2022-05-06 Radio frequency signal gain control method, system, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210484887.0A CN114945210B (en) 2022-05-06 2022-05-06 Radio frequency signal gain control method, system, device and medium

Publications (2)

Publication Number Publication Date
CN114945210A CN114945210A (en) 2022-08-26
CN114945210B true CN114945210B (en) 2024-02-09

Family

ID=82907111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210484887.0A Active CN114945210B (en) 2022-05-06 2022-05-06 Radio frequency signal gain control method, system, device and medium

Country Status (1)

Country Link
CN (1) CN114945210B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004242301A (en) * 2003-01-30 2004-08-26 Texas Instruments Inc High-speed convergent two-stage automatic gain control (agc)
CN1697434A (en) * 2005-05-24 2005-11-16 威盛电子股份有限公司 Automatic gain control method and device in WLAN system
CN101202597A (en) * 2007-12-03 2008-06-18 北京创毅视讯科技有限公司 Method and device for auto-gain control of mobile digital multimedia broadcast
CN101981880A (en) * 2008-03-29 2011-02-23 高通股份有限公司 Method and system for DC compensation and AGC
CN104767541A (en) * 2015-04-22 2015-07-08 清华大学 Receiver fast automatic gain control system and control method
CN106576364A (en) * 2015-07-31 2017-04-19 Lg电子株式会社 Method for transmitting data in wireless communication system and apparatus therefor
CN108270714A (en) * 2018-02-02 2018-07-10 北京晓程科技股份有限公司 A kind of generation method and equipment of frame preamble signal
CN109155618A (en) * 2016-05-24 2019-01-04 Mks仪器有限公司 Including having the solid-state impedance matching system of the mixing tuning network of changeable coarse tuning network and variable reactor fine tuning network
CN109298399A (en) * 2018-10-12 2019-02-01 上海广电通信技术有限公司 Intermediate frequency near area gain controls Larger Dynamic range radar and receives system
CN113676257A (en) * 2021-08-19 2021-11-19 青岛海信宽带多媒体技术有限公司 Optical module and optical module automatic gain control method
CN113727316A (en) * 2021-07-15 2021-11-30 广州芯之联科技有限公司 Radio frequency scheduling method and device for coexistence of Wi-Fi and Bluetooth

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10469112B2 (en) * 2017-05-31 2019-11-05 Silicon Laboratories Inc. System, apparatus and method for performing automatic gain control in a receiver for a packet-based protocol

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004242301A (en) * 2003-01-30 2004-08-26 Texas Instruments Inc High-speed convergent two-stage automatic gain control (agc)
CN1697434A (en) * 2005-05-24 2005-11-16 威盛电子股份有限公司 Automatic gain control method and device in WLAN system
CN101202597A (en) * 2007-12-03 2008-06-18 北京创毅视讯科技有限公司 Method and device for auto-gain control of mobile digital multimedia broadcast
CN101981880A (en) * 2008-03-29 2011-02-23 高通股份有限公司 Method and system for DC compensation and AGC
CN104767541A (en) * 2015-04-22 2015-07-08 清华大学 Receiver fast automatic gain control system and control method
CN106576364A (en) * 2015-07-31 2017-04-19 Lg电子株式会社 Method for transmitting data in wireless communication system and apparatus therefor
CN109155618A (en) * 2016-05-24 2019-01-04 Mks仪器有限公司 Including having the solid-state impedance matching system of the mixing tuning network of changeable coarse tuning network and variable reactor fine tuning network
CN108270714A (en) * 2018-02-02 2018-07-10 北京晓程科技股份有限公司 A kind of generation method and equipment of frame preamble signal
CN109298399A (en) * 2018-10-12 2019-02-01 上海广电通信技术有限公司 Intermediate frequency near area gain controls Larger Dynamic range radar and receives system
CN113727316A (en) * 2021-07-15 2021-11-30 广州芯之联科技有限公司 Radio frequency scheduling method and device for coexistence of Wi-Fi and Bluetooth
CN113676257A (en) * 2021-08-19 2021-11-19 青岛海信宽带多媒体技术有限公司 Optical module and optical module automatic gain control method

Also Published As

Publication number Publication date
CN114945210A (en) 2022-08-26

Similar Documents

Publication Publication Date Title
JP5783251B2 (en) Receiving apparatus and receiving method
US6226504B1 (en) Receiving apparatus
US7692486B2 (en) Configurable feedback for an amplifier
US9059672B2 (en) Gain partitioning in a receiver
US7689217B2 (en) Radio receiver having a multi-state variable threshold automatic gain control (AGC) for fast channel scanning acquisition and mehtod for using same
US7565125B2 (en) Telecommunications receiver with automatic gain control
CN101479947A (en) Automatic gain control circuit
KR20030067687A (en) A radio receiver
JPH10276125A (en) Mobile radio receiver
EP1645029B1 (en) A method and apparatus for automatic gain control of a wireless receiver
US8181082B2 (en) Wireless receiver system and method with automatic gain control
CN114945210B (en) Radio frequency signal gain control method, system, device and medium
US7103336B1 (en) Radio receiver, radio receiving method, and recording medium
WO2014149891A1 (en) Dynamic low-if frequency conversion for interference mitigation in a heterodyne receiver
CN108900171A (en) A kind of AGC device and method being adapted to zero intermediate frequency radio-frequency transmitter
CN109451573A (en) Gain distributes self-adjusting AGC control method, apparatus and system
CN115395973B (en) Receiver automatic gain control method, circuit, radio frequency chip and wireless terminal
US5615412A (en) Digital squelch tail system and method for same
CN111399001B (en) Method and device for processing broadband interference
US9281792B2 (en) Receiver and method for gain control
CN208797910U (en) A kind of AGC device being adapted to zero intermediate frequency radio-frequency transmitter
KR101139450B1 (en) system and its operating method
CN116667873A (en) Radio frequency baseband combined fast AGC control system and method
US20030133521A1 (en) Automatic gain control mechanism for an analog-to-digital converter
CN115102612B (en) Gain control method, device, gain controller and signal receiving end

Legal Events

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