CN114945210A - 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
CN114945210A
CN114945210A CN202210484887.0A CN202210484887A CN114945210A CN 114945210 A CN114945210 A CN 114945210A CN 202210484887 A CN202210484887 A CN 202210484887A CN 114945210 A CN114945210 A CN 114945210A
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.)
Granted
Application number
CN202210484887.0A
Other languages
Chinese (zh)
Other versions
CN114945210B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Circuits Of Receivers In General (AREA)
  • Control Of Amplification And Gain Control (AREA)

Abstract

The invention provides a method, a system, a device and a medium for controlling the gain of a radio frequency signal, wherein the method mainly comprises the following steps: acquiring a first radio frequency signal carrying an interference signal before a preamble time slot; carrying out 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 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 gain-adjusted second radio frequency signal; the scheme can converge the gain adjustment to the optimal receiving condition in the interference environment at a higher speed, namely, the receiver can be adjusted to the optimal sensitivity state which is just unsaturated and has relatively high gain in the interference environment at a 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 signal technology, and in particular, to a method, system, apparatus, and medium for controlling gain of a radio frequency signal.
Background
For short-distance communication WiFi/BT, the WiFi/BT works in a general ISM frequency band, other protocol standards exist in the frequency band, and a large number of devices use the WiFi/BT in the office environment, so that the anti-interference performance can be improved to a certain extent in algorithm and application strategy, but the premise is that all circuit levels of a radio frequency front-end receiving path are not saturated. After the frame header of the signal packet is received, the communication protocol only allows the gain to be adjusted to a proper gear within microsecond-level time of frame preamble, and the time is only 2-3 times of the time delay of the whole receiving channel, which means that 2-3 times of gain adjustment is allowed at most. When there is an interference signal, since the amplitude of the interference signal is limited after being filtered through a receiving channel but the signal is already subjected to saturation nonlinearity in a middle stage of a receiver, the judgment of the useful signal strength is affected, and the signal strength is a main basis for adjusting the gain, so that the gain cannot be adjusted to an optimal value finally. Therefore, it is necessary to detect a circuit level that is easily saturated in the middle of the reception channel before packet reception, and perform gain backoff if the interference signal strength is found to be too high.
Since radio frequency has been developed for decades, there are many Automatic Gain Control (AGC) methods and many patents in the industry, the simplest gain control method in the industry is to detect the signal strength of the ADC in the subsequent stage, but the scheme out-of-band signal is that if the intermediate stage is saturated but has been attenuated after passing through the anti-aliasing filter in front of the ADC, the ADC in the subsequent stage detects the unsaturation. In practice, most of the target signal reception can be handled as long as the gain can be backed off by a certain amount to make the circuit not saturated. The most economical method in the recent industry is to add amplitude or peak detection at each stage and adjust the gain according to the detection result, for example, add a peak detection circuit after the rf input port and the if amplifier, but the rf input port generally has a small signal strength and the detection accuracy is limited. For another example, a saturation detector is added after the radio frequency and intermediate frequency and the ADC, and the gain is adjusted in time when the saturation occurs in the preamble stage; but this scheme ignores a case where severe saturation occurs and may affect the identification of the preamble resulting in missing the adjustment slot. Even if severe 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 lead time is hardly more than 3, and therefore, the probability that the gain that can be adjusted in a limited time becomes optimal decreases. Nonlinearity also affects the signal SNR to some extent if too much backoff sacrifices too little sensitivity backoff.
In summary, in the related art, the AGC control technique mainly performs gain adjustment in the preamble slot of the signal packet, but has a disadvantage that it cannot ensure that the gain is converged to the optimum value in the preamble slot in the interference environment.
Disclosure of Invention
In view of the foregoing, to at least partially solve one of the above technical problems, embodiments of the present invention provide a method for controlling gain of an rf signal with higher sensitivity and better gain adjustment, and a system, an apparatus and a storage medium capable of implementing the method.
In one aspect, the present technical solution provides a method for controlling a 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;
carrying out 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 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, and outputting the gain-adjusted second radio frequency signal;
carrying out three-stage detection on the first radio frequency signal, and determining signal gain information according to the three-stage detection result, wherein the method comprises the following steps:
performing coarse adjustment detection on the first radio frequency signal through a radio frequency peak value detector, and obtaining a gain corresponding to a first intermediate signal through a first round of gain convergence according to a detection result;
amplifying the first intermediate signal by an intermediate frequency first amplifier, performing multi-bit peak detection by an intermediate frequency peak detector, and performing a second round of gain convergence 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 a third round of gain convergence.
In a possible embodiment of the present disclosure, the step of performing coarse adjustment detection on the first rf signal by using an rf peak detector, and obtaining a gain corresponding to the first intermediate signal through a first round of gain convergence according to a 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 a radio frequency amplifier to carry out 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 the gain is converged.
In a possible embodiment of the present disclosure, the step of performing multi-bit peak detection by an intermediate frequency peak detector after the first intermediate signal is amplified by an intermediate frequency first amplifier, and obtaining a gain corresponding to a second intermediate signal through a second round of gain convergence includes:
acquiring a plurality of preset second threshold values and a target threshold value;
determining that the amplitude of the first intermediate signal is greater than any second threshold value after being amplified by the first intermediate frequency amplifier, and controlling the intermediate frequency amplifier to carry out gain convergence;
and determining that the amplitude of the first intermediate signal is not greater than any second threshold value and not less than the target threshold value after being amplified by the first intermediate frequency amplifier, and acquiring the gain corresponding to the second intermediate signal output by the intermediate frequency amplifier after the gain is converged.
In a possible embodiment of the present disclosure, 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 round of gain convergence includes:
determining whether saturation occurs after the second intermediate signal is subjected to a filter amplifier;
and if the saturation is reached, adjusting the gain of the filter amplifier to ensure that the output of the filter amplifier is not saturated.
In a possible embodiment of the solution 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 gear as a basic gain;
and in a preset first time period before the second radio frequency signal arrives, determining that the signal intensity of an 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 following steps:
and in a preset second time period when the second radio frequency signal is received, not receiving the packet receiving requirement, closing the three-stage detection and canceling the gain convergence.
On the other hand, the technical solution of the present application further provides a radio frequency signal gain control system, which includes:
a signal acquiring unit, configured to acquire a first radio frequency signal carrying an interference signal before a preamble slot and after a packet is received;
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 frame header 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 gain-adjusted second radio frequency signal;
the interference detection unit includes:
the radio frequency peak value detector is used for carrying out coarse adjustment detection on the first radio frequency signal, and gain convergence is carried out to obtain 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 being amplified by the first intermediate frequency amplifier, and gain convergence is carried out to obtain corresponding gain of 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 the signal gain information after gain convergence.
In a possible embodiment of the present disclosure, 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 solution of the present application further provides a radio frequency signal gain control apparatus, including:
at least one processor;
at least one memory for storing at least one program;
when the at least one program is executed by the at least one processor, the at least one processor is caused to perform a method of gain control of radio frequency signals as set forth in any one of the first aspect.
On the other hand, the present technical solution also provides a storage medium, in which a program executable by a processor is stored, and when the program executable by the processor is executed by the processor, the program is configured to perform a method for controlling gain of a radio frequency signal according to any one of the first aspect.
Advantages and benefits of the present 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 carried out according to the detection result in the preamble time slot in the correlation technique, the gain control process before packet receiving is added, the gain controller needs to carry out optimal receiving gain convergence for one time quickly according to the detection results of the radio frequency detector, the intermediate frequency detector and the ADC before a real signal packet arrives, so that the gain converges to the optimal unsaturated sensitivity state which can just be in the real-time interference intensity under the interference environment before packet receiving, and fine gain adjustment is carried out in the preamble time slot by taking the gain as the initial gain after a signal packet frame header is detected. According to the technical scheme, the speed of converging the gain adjustment to the optimal receiving condition in the interference environment is higher, namely, the receiver can be adjusted to the optimal sensitivity state which is just unsaturated and has relatively high gain in the interference environment at a higher probability.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating steps of a method for controlling gain of rf signals according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of another rf signal gain control method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the AGC flow time added in the present embodiment;
fig. 4 is a schematic structural diagram of a radio frequency signal gain control system according to the present disclosure.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention. The step numbers in the following embodiments are provided only for convenience of illustration, the order between the steps is not limited at all, and the execution order of each step in the embodiments can be adapted according to the understanding of those skilled in the art.
Based on the technical problem that the related technical scheme pointed out in the background art cannot ensure that the gain is converged to the optimum in the preamble slot in the interference environment, the technical scheme of the application proposes the following scheme idea: on the basis of gain adjustment in the preamble stage, interference signal detection is carried out before the preamble so that the receiver gain converges to the optimal sensitivity state which can be unsaturated just under the real-time interference intensity, and the maximum gain is recovered after the interference subsides.
Based on the above solution concept, on one hand, the technical solution of the present application provides a method for controlling gain of a radio frequency signal; as shown in fig. 1, the method mainly includes steps S100-S300:
s100, acquiring a first radio frequency signal carrying an interference signal before a preamble time slot;
specifically, in the embodiment, because the whole AGC process is fused with the normal receiving and AGC processes, after the embodiment determines to enter the receiving state, the receiver is turned on a little bit earlier than the time required to be received until the receiver is stable, and the receiver circuit after the stabilization acquires the radio frequency signal carrying the interference signal, that is, the first radio frequency signal.
S200, carrying out three-stage detection on the first radio frequency signal, and determining signal gain information according to a three-stage detection result;
in an embodiment, the receiver architecture of the embodiment 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 gain controller in the embodiment is derived from the results of three-level detection, and the three-level detection process in the embodiment is mainly completed by a radio frequency peak value detector, an intermediate frequency peak value detector and an ADC module; further, in the embodiment, the step of performing three-stage detection on the first rf signal and determining signal gain information according to the three-stage detection result may include steps S210 to S230:
s210, performing coarse adjustment detection on the first radio frequency signal through a radio frequency peak value detector to obtain corresponding gain of the first intermediate signal;
s220, amplifying the first intermediate signal by the first intermediate frequency amplifier through the intermediate frequency peak value detector, and then carrying out multi-bit peak value 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 radio frequency detector uses an envelope detection method, belongs to coarse adjustment detection, can detect interference in a wider frequency range, and has a faster response speed due to working at radio frequency; the intermediate frequency detector is different from other schemes in that a more precise multi-bit peak detector is used, which is the key for judging the gain to converge to the optimal state, the multi-bit can ensure that the information quantity of one-time judgment is larger, which is beneficial to shortening the time of iterative gain, a certain hysteresis effect can be set during the judgment to prevent the gain from frequently jumping, and the just unsaturated gain can be maintained to the maximum extent, which is beneficial to the sensitivity of receiving signals. The far-end signal before the ADC is filtered but the near-end signal has a limited filtering effect, so the effect of the ADC on the gain controller can be used for supplementing the near-end interference detection besides calculating the RSSI, and preventing the output of the intermediate frequency first amplifier from being not saturated but saturated after passing through the filtering amplifier.
S300, carrying out receiving gain convergence according to the signal gain information, detecting a frame header 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 gain-adjusted second radio frequency signal;
specifically, in the embodiment, the gain controller needs to perform optimal receive gain convergence for one time according to the detection results of the radio frequency detector, the intermediate frequency detector and the ADC quickly before the actual signal packet arrives in step S200, so that the gain converges to the optimal sensitivity state that can be unsaturated just under the real-time interference strength before the packet reception in the interference environment, and then performs fine gain adjustment in the preamble timeslot with the gain as the initial gain after the frame header of the signal packet is detected, and can recover the maximum gain after the interference is resolved.
In some possible embodiments, in the method, the step S210 of performing coarse adjustment detection on the first rf signal by using the rf peak detector to obtain the corresponding gain of the first intermediate signal may specifically include steps S211 to S213:
s211, acquiring a preset first threshold;
s212, determining that a first peak value of the first radio frequency signal is larger than a first threshold value, and controlling the gain of the radio frequency amplifier to converge;
s213, determining that the first peak value of the first radio frequency signal is not larger than a first threshold value, and acquiring the gain corresponding to the first intermediate signal output by the radio frequency amplifier after the gain is converged.
As shown in fig. 2, in the embodiment, according to a preset threshold of the radio frequency signal strength, that is, a first threshold, the radio frequency signal obtained by the radio frequency low-noise amplification is subjected to signal amplification, and in the process, the introduction of noise is reduced as much as possible for the amplification of the weak radio frequency signal; then, when the radio frequency detector determines that the signal is too large (i.e. the signal strength exceeds the first threshold), the gain of the radio frequency amplifier is rapidly adjusted, and the operation speed is fast and the unsaturated signal can be converged in a short time. In addition, in the embodiment, the rf amplifier may be adjusted and whether the if amplifier is adjusted at the same time may be determined according to a predetermined strategy.
In some possible embodiments, in the method, the step S220 of performing multi-bit peak detection on the first intermediate signal after the first intermediate signal is amplified by the intermediate frequency peak detector through the first intermediate frequency amplifier to obtain the second intermediate signal may specifically include S221 to S223:
s221, acquiring a plurality of preset second threshold values and a target threshold value;
s222, determining that the amplitude of the first intermediate signal amplified by the first intermediate frequency amplifier is larger than any one second threshold value, and controlling the intermediate frequency amplifier to carry out gain convergence;
and S223, determining that the amplitude of the first intermediate signal amplified by the first intermediate frequency amplifier is not greater than any second threshold and not less than a target threshold, and acquiring a 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 rf amplifier, if the if detector determines that the signal amplified by the first if amplifier exceeds a certain high threshold of the multi-bit detector, that is, a preset second threshold for determining whether the signal is overloaded, the if detector adjusts the gain of X dB and waits for a stabilization time to continue the detection. And if the detection is still larger than the high threshold value after the adjustment is finished and the stability is stable, continuously adjusting a certain gain Y dB downwards. When the current value is not higher than the overload threshold but still higher than a preset target threshold, the Z dB gain is continuously adjusted downwards, 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, it may be determined that the bit is overloaded by exceeding a certain threshold N times within a certain time period according to a statistical method, because the bit error rate requirement may be still met without lowering the gain when the exceeding frequency is not high. In addition, according to the result detected by the intermediate frequency peak detector, the intermediate frequency amplifier in the system is adjusted, and the signal output by the intermediate frequency amplifier after adjustment is obtained, namely the second intermediate signal.
In some possible embodiments, the step S230 of determining the signal gain information by performing saturation detection on the second intermediate signal through the analog-to-digital conversion detector in the method may specifically include steps S231 to S232:
s231, determining whether the second intermediate signal is saturated or not after being subjected to filtering and amplifying;
s232, if the saturation is achieved, the gain of the filter amplifier is adjusted, so that the output of the filter amplifier is not saturated;
as shown in fig. 2, in the embodiment, in the process of adjusting the intermediate frequency gain according to the second intermediate signal, it is necessary to determine whether to perform the gain adjustment of the subsequent filter amplifier by combining the result detected by the ADC, and when the frequency point of the interference signal is closer 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 but saturation occurs after passing through the filter amplifier and then the gain of the filter amplifier should be adjusted until the output is not saturated.
Because the gain gear adjusted by the optimal break-over point in the interference environment is radio frequency unsaturated, the output signal of the intermediate frequency amplifier just enables the circuit to be unsaturated and the output of the filter amplifier is not saturated, at the moment, the circuit is not saturated, the AGC gain can also be maintained to be 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 solution of the present application, an AGC control process mainly optimizes a situation that an interference first comes signal and then is received, the signal has amplitude information, gain is allowed to be adjusted before a preamble timeslot and a preamble, and then packet reception is performed afterwards, gain change is no longer allowed until a complete signal data packet is received.
In some possible embodiments, the rf signal gain control method may further include, after determining the gain step through three-level detection, steps S400 to S500:
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, in a preset first time period before the second radio frequency signal arrives, determining that the signal intensity of an interference signal in the first radio frequency signal is lower than a preset third threshold value, and recovering to the maximum value of a gain gear;
in particular, in the embodiment, the optimal effect of the gain adjustment is to achieve the peak value of the if amplifier output between the target threshold and the second threshold and to fix the corresponding gain stage waiting for packet reception under the condition that the filter amplifier output is not saturated. When a useful signal arrives, the gain gear (namely, the gain gear corresponding to the optimal unsaturated condition of the previous sentence) is used as an initial gear to finely adjust the gain 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 desired signal and the results of the three stage detector can still be used simultaneously as a reference in fine tuning the AGC.
More specifically, after the signal packet is received, whether a packet receiving requirement is continued is determined, and if the signal packet is required, the detection process is continuously executed. If the time exceeds a certain period, namely the interference received in the first time period is lower than a certain set condition threshold, the highest gain is recovered and the erased gear is recovered when the interference source disappears. If the circuit is saturated after the useful signal comes, the AGC operation is not influenced by the in-band saturation.
In some possible embodiments, the method for controlling gain of rf signals further includes step S600:
s600, in a preset second time period when the second radio frequency signal is received, the requirement of packet receiving is not received, the three-stage detection is closed, and gain convergence is cancelled.
In an embodiment, if there is no packet reception 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 to turn off the receiver depends on the transceiver state machine.
On the other hand, as shown in fig. 4, the technical solution of the present application further provides a keyword recognition system; it includes:
a signal acquisition unit, configured to acquire a first radio frequency signal carrying an interference signal before a preamble slot;
the interference detection unit is used for carrying out three-stage detection on the first radio frequency signal and determining signal gain information according to a three-stage detection result;
the gain control unit is used for carrying out receiving gain convergence according to the signal gain information, detecting a frame header 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 gain-adjusted second radio-frequency signal;
wherein, the interference detection unit includes:
the radio frequency peak value detector is used for carrying out coarse adjustment detection on the first radio frequency signal to obtain 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; an intermediate frequency first amplifier for amplifying the first intermediate signal; and the filter amplifier is used for amplifying the second intermediate signal.
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). The radio frequency detector uses an envelope detection method, belongs to coarse adjustment detection, can detect interference in a wider frequency range, and has faster response speed due to working on radio frequency; the intermediate frequency detector is different from other schemes in that a more precise multi-bit peak detector is used, which is the key for judging that the gain converges to the optimal state, the multi-bit enables the information amount of one-time judgment to be larger and is beneficial to shortening the time of iterative gain, a certain hysteresis effect can be set during the judgment to prevent the gain from frequently jumping, and the just unsaturated gain can be maintained to the maximum extent and is beneficial to the sensitivity of a received signal. The far-end signal before the ADC is filtered but the near-end signal has limited filtering effect, so the action of the back of the ADC on the gain controller can be used for supplementing near-end interference detection besides calculating RSSI, and preventing the output of the intermediate frequency first amplifier from being not saturated but saturated after passing through the filtering amplifier.
In a third aspect, an embodiment of the present invention further provides an apparatus for controlling gain of a radio frequency signal, which includes at least one processor; at least one memory for storing at least one program; when the at least one program is executed by the at least one processor, the at least one processor is caused to perform a method for gain control of radio frequency signals as in the first aspect.
An embodiment of the present invention further provides a storage medium storing a program, where the program is executed by a processor to implement any one of the radio frequency signal gain control methods in the first aspect.
From the above specific implementation process, it can be concluded that the technical solution provided by the present invention has the following advantages or advantages compared to the prior art:
according to the technical scheme, the AGC flow before packet receiving is added, the speed of converging the gain adjustment to the optimal receiving condition in the interference environment is higher, namely the receiver can be adjusted to the optimal sensitivity state which is just unsaturated and has relatively high gain in the interference environment more probably.
In 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 flow charts 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 larger operations are performed independently.
Furthermore, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise stated to the contrary, one or more of the functions and/or features may be integrated in a single physical device and/or software module, or one or more of the functions and/or features may be implemented in a separate physical device or software module. It will also be appreciated that a detailed discussion of the actual implementation of each module is not necessary for an understanding of the present invention. Rather, the actual implementation of the various functional modules in the apparatus disclosed herein will be understood within the ordinary skill of an engineer, given the nature, function, and internal relationship of the modules. Accordingly, those skilled in the art can, using ordinary skill, practice 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 of and not intended to limit the scope of the invention, which is defined by the appended claims and their full scope of equivalents.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement 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 specification, reference to the description of "one embodiment," "some embodiments," "an example," "a specific example," or "some examples" or the like 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 invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. 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 invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for gain control of a radio frequency signal, comprising the steps of:
acquiring a first radio frequency signal carrying an interference signal before a preamble time slot;
carrying out 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 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, and outputting the gain-adjusted second radio frequency signal;
carrying out three-stage detection on the first radio frequency signal, and determining signal gain information according to the three-stage detection result, wherein the method comprises the following steps:
performing coarse adjustment detection on the first radio frequency signal through a radio frequency peak value detector, and obtaining a gain corresponding to a first intermediate signal through a first round of gain convergence according to a detection result;
amplifying the first intermediate signal by an intermediate frequency first amplifier, performing multi-bit peak detection by an intermediate frequency peak detector, and performing a second round of gain convergence 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 a third round of gain convergence.
2. The method as claimed in claim 1, wherein the step of performing coarse detection on the first rf signal by using the rf peak detector and obtaining the gain corresponding to the first intermediate signal through a first round of gain convergence according to the detection result comprises:
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 a radio frequency amplifier to carry out 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 the gain is converged.
3. The method as claimed in claim 2, wherein the step of amplifying the first intermediate signal by an intermediate frequency first amplifier, performing multi-bit peak detection by an intermediate frequency peak detector, and performing a second round of gain convergence to obtain a gain corresponding to a second intermediate signal comprises:
acquiring a plurality of preset second threshold values and a target threshold value;
determining that the amplitude of the first intermediate signal is greater than any one second threshold value after being amplified by the first intermediate frequency amplifier, and controlling the intermediate frequency amplifier to carry out gain convergence;
and determining that the amplitude of the first intermediate signal is not greater than any second threshold value and not less than the target threshold value after being amplified by the first intermediate frequency amplifier, and acquiring the gain corresponding to the second intermediate signal output by the intermediate frequency amplifier after the gain is converged.
4. The method as claimed in claim 3, wherein the step of amplifying the second intermediate signal by the filter amplifier, detecting saturation by the analog-to-digital conversion detector, and finally determining the signal gain information after a third round of gain convergence comprises:
determining whether saturation occurs after the second intermediate signal is subjected to a filter amplifier;
and if the saturation is reached, adjusting the gain of the filter amplifier to ensure that the output of the filter amplifier is not saturated.
5. A method for gain control of RF signals according to any of claims 1-4, 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 gear as a basic gain;
and in a preset first time period before the second radio frequency signal arrives, determining that the signal intensity of an 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.
6. The method of claim 5, further comprising the steps of:
and in a preset second time period when the second radio frequency signal is received, not receiving the packet receiving requirement, closing the three-stage detection and canceling the gain convergence.
7. A system for gain control of radio frequency signals, comprising:
a signal acquiring unit, configured to acquire a first radio frequency signal carrying an interference signal before a preamble slot and after a packet is received;
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 frame header 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 gain-adjusted second radio frequency signal;
the interference detection unit includes:
a radio frequency peak detector, configured to perform coarse tuning detection on the first radio frequency signal, and obtain a gain corresponding to a first intermediate signal through gain convergence;
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 corresponding gain of 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 the signal gain information after gain convergence.
8. The system of claim 7, wherein the 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.
9. An apparatus for gain control of a radio frequency signal, comprising:
at least one processor;
at least one memory for storing at least one program;
when executed by the at least one processor, cause the at least one processor to perform a method of gain control of radio frequency signals as claimed in any one of claims 1 to 6.
10. A storage medium having stored therein a program executable by a processor, wherein the program executable by the processor is adapted to perform a method of gain control of a radio frequency signal as claimed in any one of claims 1 to 6 when executed by the processor.
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 true CN114945210A (en) 2022-08-26
CN114945210B 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 (12)

* 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
US20180351592A1 (en) * 2017-05-31 2018-12-06 Silicon Laboratories Inc. System, Apparatus And Method For Performing Automatic Gain Control In A Receiver For A Packet-Based Protocol
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

Patent Citations (12)

* 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
US20180351592A1 (en) * 2017-05-31 2018-12-06 Silicon Laboratories Inc. System, Apparatus And Method For Performing Automatic Gain Control In A Receiver For A Packet-Based Protocol
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
CN114945210B (en) 2024-02-09

Similar Documents

Publication Publication Date Title
US6226504B1 (en) Receiving apparatus
US20030083031A1 (en) Method and apparatus for reducing the effect of AGC switching transients
CN101090285B (en) Radio frequency signal receiver and its automatic gain control method
CN109756240B (en) Wireless communication receiver with gain control device and gain control method
US7565125B2 (en) Telecommunications receiver with automatic gain control
KR20030067687A (en) A radio receiver
JPH10276125A (en) Mobile radio receiver
CN101479947A (en) Automatic gain control circuit
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
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
CN108616974B (en) Gain and power adjusting method and device
US20030083030A1 (en) Hardware loop for automatic gain control
CN112803908B (en) Large dynamic rapid automatic gain control method in Bluetooth receiver and module thereof
US5615412A (en) Digital squelch tail system and method for same
CN102638882B (en) A kind of implementation method of automatic growth control and device
CN111399001B (en) Method and device for processing broadband interference
US6611679B1 (en) Device and method for controlling a receiving amplifier in a radio terminal
CN114499561A (en) Wireless communication receiver and automatic gain control device and control method thereof
KR101139450B1 (en) system and its operating method
CN115102612B (en) Gain control method, device, gain controller and signal receiving end
CN116667873A (en) Radio frequency baseband combined fast AGC control system and method

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