CN115842525A - Automatic gain control device method and device - Google Patents

Automatic gain control device method and device Download PDF

Info

Publication number
CN115842525A
CN115842525A CN202211646793.5A CN202211646793A CN115842525A CN 115842525 A CN115842525 A CN 115842525A CN 202211646793 A CN202211646793 A CN 202211646793A CN 115842525 A CN115842525 A CN 115842525A
Authority
CN
China
Prior art keywords
signal
output
module
attenuation
power
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.)
Pending
Application number
CN202211646793.5A
Other languages
Chinese (zh)
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.)
Hubei Chuhang Electronic Technology Co ltd
Original Assignee
Hubei Chuhang Electronic 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 Hubei Chuhang Electronic Technology Co ltd filed Critical Hubei Chuhang Electronic Technology Co ltd
Priority to CN202211646793.5A priority Critical patent/CN115842525A/en
Publication of CN115842525A publication Critical patent/CN115842525A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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

  • Control Of Amplification And Gain Control (AREA)

Abstract

The invention discloses an automatic gain control method and device, wherein the device comprises an input detection module, a numerical control attenuation module, a power amplification module, an output detection module and an automatic gain control module. The automatic gain control module is respectively connected with the input detection module, the numerical control attenuation module and the output detection module, so that a first sampling voltage value signal output by the input detection module and a second sampling voltage value signal output by the output detection module are collected, and the numerical control attenuation module is controlled through logical operation, so that the power of the radio frequency output signal is kept at a constant value. The invention provides an automatic gain control method and device, belonging to a closed-loop control system, which can control a numerical control attenuation module through an automatic gain control module as long as a radio frequency pulse input signal is within a certain input power range, thereby obtaining a radio frequency output signal with stable power.

Description

Automatic gain control device method and device
Technical Field
The present application relates to the field of radio frequency technologies, and in particular, to an automatic gain control method and apparatus.
Background
In some specific applications, after the rf pulse signal is amplified by the rf power amplifier, it is necessary to ensure that the transmission power of the rf pulse signal is kept constant. However, since the power of the input rf pulse signal is within a range and the gains of different links are different, it is necessary to provide a scheme capable of automatically adjusting the gain of the rf link so that the power of the output rf signal is stable.
However, the prior art lacks a function of automatically adjusting the link gain, or has too poor precision to meet practical requirements.
Disclosure of Invention
In view of at least one of the drawbacks and needs of the prior art, the present invention provides an automatic gain control method and apparatus, which implement automatic gain control of rf pulse input signals and obtain rf output signals with more stable power.
To achieve the above object, according to a first aspect of the present invention, there is provided an automatic gain control apparatus comprising: the input detection module is used for converting the power of a radio frequency input signal into an input detection voltage signal, and carrying out ADC (analog-to-digital converter) sampling on the input detection voltage signal to obtain a first sampling voltage value signal; the numerical control attenuation module is used for responding to the control of the automatic gain control module and determining an attenuation value so as to adjust the power of the radio frequency input signal; the power amplification module is used for carrying out power amplification on the adjusted radio frequency input signal and outputting a radio frequency output signal; the output detection module is used for converting the power of the radio frequency output signal into an output detection voltage signal, and carrying out ADC (analog-to-digital converter) sampling on the output detection voltage to obtain a second sampling voltage value signal; an automatic gain control module configured to control an attenuation value of the digitally controlled attenuation module to keep a power of the radio frequency output signal stable according to the first sampled voltage value signal and the second sampled voltage value signal.
According to the automatic gain control device provided by the present invention, further, according to the first sampled voltage value signal and the second sampled voltage value signal, the attenuation value of the digitally controlled attenuation module is controlled to keep the power of the rf output signal stable, which specifically includes: setting an input detection threshold; under the condition that the input detection voltage value of the first sampling voltage value signal is continuously larger than the input detection threshold for a period of time, determining the attenuation value of the numerical control attenuation module according to the target output power of the second sampling voltage value signal and the radio frequency output signal; taking the attenuation value as a locking parameter of the numerical control attenuation module; and controlling the numerical control attenuation module by using the locking parameter so as to keep the power of the radio frequency output signal stable.
According to the automatic gain control device provided by the present invention, further, determining an attenuation value of the digitally controlled attenuation module according to the second sampling voltage value signal and the target output power of the rf output signal includes:
step 1: calculating the current actual output power of the radio frequency output signal according to the second sampling voltage value signal;
and 2, step: obtaining a difference value between the target output power and the current actual output power, and performing filtering and integration processing on the difference value to obtain a processing result;
and 3, step 3: determining an attenuation value of the numerical control attenuation module according to the processing result;
and 4, step 4: and (3) sequentially and iteratively executing the step 1, the step 2 and the step 3, and continuously adjusting the attenuation value until the difference value is smaller than a preset threshold value.
According to the automatic gain control apparatus provided by the present invention, the input detection module comprises: the device comprises an input detection unit, an input detection voltage filtering unit and a first ADC (analog-to-digital converter) sampling unit; the input detection unit is used for acquiring the power value of the radio frequency input signal so as to convert the radio frequency input signal into an input detection voltage signal; the input detection voltage filtering unit is used for filtering the input detection voltage signal; the first ADC sampling unit is used for ADC sampling of the input detection voltage signal after filtering processing to obtain a first sampling voltage value signal; the output detection module includes: the device comprises an output detection unit, an output detection voltage filtering unit and a second ADC sampling unit; the output detection unit is used for acquiring the power value of the radio frequency output signal so as to convert the radio frequency output signal into an output detection voltage signal; the output detection voltage filtering unit is used for filtering the output detection voltage signal; and the second ADC sampling unit is used for ADC sampling of the output detection voltage signal after filtering processing to obtain the second sampling voltage value signal.
According to the automatic gain control device provided by the invention, the input detection unit comprises an input detector, the input detection voltage filtering unit comprises an input detection voltage filtering circuit, and the first ADC sampling unit comprises a first ADC sampling circuit; the output detection unit comprises an output detector, the output detection voltage filtering unit comprises an output detection voltage filtering circuit, and the second ADC sampling unit comprises a second ADC sampling circuit.
According to the automatic gain control device provided by the invention, the numerical control attenuation module is a numerical control attenuator, and the power amplification module is a power amplifier; and the output end of the numerical control attenuator is connected with the input end of the power amplifier.
According to the automatic gain control device provided by the invention, the automatic gain control module is an FPGA logic control chip; the input detection module, the numerical control attenuation module and the output detection module are all in communication connection with the FPGA logic control chip through an SPI bus.
According to a second aspect of the present invention, there is also provided an automatic gain control method applied to any one of the automatic gain control apparatuses described above, including: acquiring a first sampling voltage value signal and a second sampling voltage value signal; the first sampling voltage value signal is obtained by an input detection module, and the second sampling voltage value signal is obtained by an output detection module; and controlling the attenuation value of the numerical control attenuation module according to the first sampling voltage value signal and the second sampling voltage value signal so as to keep the power of the radio frequency output signal stable.
According to the automatic gain control method provided by the present invention, the controlling an attenuation value of a digitally controlled attenuation module according to the first sampled voltage value signal and the second sampled voltage value signal to keep the power of the rf output signal stable specifically comprises: setting an input detection threshold; under the condition that the input detection voltage value of the first sampling voltage value signal is continuously larger than the input detection threshold for a period of time, determining the attenuation value of the numerical control attenuation module according to the target output power of the second sampling voltage value signal and the radio frequency output signal; taking the attenuation value as a locking parameter of the numerical control attenuation module; and controlling the numerical control attenuation module by using the locking parameter so as to keep the power of the radio frequency output signal stable.
According to the automatic gain control method provided by the present invention, determining the attenuation value of the digitally controlled attenuation module according to the second sampling voltage value signal and the target output power of the radio frequency output signal, specifically comprising:
step 1: calculating the current actual output power of the radio frequency output signal according to the second sampling voltage value signal;
step 2: acquiring a difference value between the target output power and the current actual output power, and performing filtering and integration processing on the difference value to acquire a processing result;
and step 3: determining an attenuation value of the numerical control attenuation module according to the processing result;
and 4, step 4: and (3) sequentially and iteratively executing the step 1, the step 2 and the step 3, and continuously adjusting the attenuation value until the difference value is smaller than a preset threshold value.
Generally speaking, compared with the prior art, the technical scheme of the invention belongs to a closed-loop control system, and as long as the radio frequency input signal is within a certain input power range, the automatic gain control module can perform logic operation on the collected first sampling voltage value signal and the collected second sampling voltage value signal, so as to realize the control of the numerical control attenuation module, and further obtain the radio frequency output signal with stable power.
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 embodiments will be briefly described 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 without creative efforts.
Fig. 1 is a schematic structural diagram of an automatic gain control apparatus provided in the present invention;
FIG. 2 is a timing diagram of an input detected voltage signal and an output detected voltage signal provided by the present invention;
FIG. 3 is a timing diagram illustrating the operation of a first pulse AGC provided by the present invention;
FIG. 4 is a timing diagram illustrating the operation of the (N + 1) th pulse AGC provided by the present invention;
fig. 5 is a functional block diagram of the automatic gain control provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In addition, the technical features involved in the respective embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Fig. 1 is a schematic structural diagram of an automatic gain control apparatus provided in the present invention, and as shown in fig. 1, the apparatus includes: the digital controlled attenuator comprises an input detection module 10, a digital controlled attenuation module 20, a power amplification module 30, an output detection module 40 and an automatic gain control module 50.
It can be understood that, firstly, the rf input signal (i.e. the rf pulse input signal) reaches the input detection module 10, then passes through the digital control attenuation module 20 and the power amplification module 30 to obtain the rf output signal, and finally the rf output signal is transmitted through the output detection module 40.
The input detection module 10 is configured to convert power of a radio frequency input signal into an input detection voltage signal, and perform ADC sampling on the input detection voltage signal to obtain a first sampling voltage value signal.
Optionally, the input detection module 10 includes: an input detection unit 101, an input detection voltage filtering unit 102, and a first ADC sampling unit 103.
The input detection unit 101 is configured to acquire a power value of the radio frequency input signal, so as to convert the power of the radio frequency input signal into an input detection voltage signal; alternatively, the present invention selects an input detector as the input detection unit 101.
And an input detection voltage filtering unit 102, configured to perform filtering processing on the input detection voltage signal. Optionally, the present invention selects an input detection voltage filter circuit as the input detection voltage filter unit 102, and after the input detection voltage filter circuit performs filtering processing on the input detection voltage signal, the voltage fluctuation of the input detection voltage signal can be filtered out, so that the input detection voltage signal is more stable.
The first ADC sampling unit 103 is configured to perform ADC sampling on the filtered input detection voltage signal to obtain the first sampling voltage value signal; optionally, the present invention selects a first ADC sampling circuit as the first ADC sampling unit 103. It is understood that the filtered input detection voltage signal is an analog signal, and in order to perform digital gain control by the automatic gain control module 50 (which may be a microprocessor), the analog signal needs to be converted into a digital signal, so that the input detection voltage signal (analog signal) needs to be ADC-sampled by the first ADC sampling circuit, and thus converted into a digital signal, i.e., a first sampled voltage value signal.
Optionally, the input detector module 10 and the agc module 50 in the present invention are connected by an SPI bus, so that the input detector module 10 can send the first sampling voltage value signal to the agc module 50, which facilitates the agc module 50 to perform operations.
It should be noted that. The SPI is a full-duplex synchronous serial bus, which is a synchronous serial port for communication between the microprocessor control unit and peripheral devices. The method is mainly applied to EEPROM, flash, real-time clock (RTC), digital-to-analog converter (ADC), network controller, MCU, digital Signal Processor (DSP) and digital signal decoder.
A digitally controlled attenuation module 20 for determining an attenuation value to adjust the power of the radio frequency input signal in response to control by the automatic gain control module. Optionally, in the present invention, a numerical control attenuator is used as the numerical control attenuation module 20, the numerical control attenuator is connected to the automatic gain control module 50 through an SPI bus, and the automatic gain control module 50 can automatically control the attenuation value of the numerical control attenuation module 20 according to the calculation result.
And the power amplification module 30 is configured to perform power amplification on the adjusted radio frequency input signal, and output a radio frequency output signal. Alternatively, the power amplification module 30 may select a conventional power amplifier to further power amplify the rf input signal.
And the output detection module 40 is configured to convert the power of the radio frequency output signal into an output detection voltage signal, perform ADC sampling on the output detection voltage, and acquire a second sampling voltage value signal.
Optionally, the output detection module 40 includes: an output detection unit 401, an output detection voltage filtering unit 402, and a second ADC sampling unit 403.
The output detection unit 401 is configured to collect a power value of the radio frequency output signal, so as to convert the power of the radio frequency output signal into an output detection voltage signal. Alternatively, the present invention selects an output detector as the output detection unit 401.
An output detection voltage filtering unit 402, configured to perform filtering processing on the output detection voltage signal. Optionally, the present invention selects an output detection voltage filter circuit as the output detection voltage filter unit 402, and after the output detection voltage filter circuit performs filtering processing on the output detection voltage signal, the voltage fluctuation of the output detection voltage signal can be filtered out, so that the output detection voltage signal is more stable.
A second ADC sampling unit 403, configured to perform ADC sampling on the filtered output detection voltage signal to obtain a second sampling voltage value signal; alternatively, the present invention selects a second ADC sampling circuit as the second ADC sampling unit 403. It is understood that the filtered output detection voltage signal is an analog signal, and for digital gain control by the automatic gain control module 50 (which may be a microprocessor), the analog signal needs to be converted into a digital signal, so that the input detection voltage signal (analog signal) needs to be ADC-sampled by the second ADC sampling circuit, and thus converted into a digital signal, i.e., a second sampling voltage value signal.
Optionally, the output detection module 40 and the automatic gain control module 50 in the present invention are connected through an SPI bus, so that the output detection module 40 can send the second sampling voltage value signal to the automatic gain control module 50, which is convenient for the automatic gain control module 50 to perform operation.
An automatic gain control module 50 configured to control an attenuation value of the digitally controlled attenuation module according to the first sampled voltage value signal and the second sampled voltage value signal to keep the power of the radio frequency output signal stable. Optionally, the automatic gain control module 50 in the present invention is an FPGA logic control chip.
The agc module 50 of the present invention can control the attenuation value of the nc attenuation module by using the first sampling voltage value signal corresponding to the input detection signal and the second sampling voltage value signal corresponding to the output detection signal, thereby implementing digital gain control, and thus maintaining the power stability of the rf output signal.
Based on the content of the foregoing embodiment, as an optional embodiment, the automatic gain control module in the present invention controls an attenuation value of the digitally controlled attenuation module according to the first sampled voltage value signal and the second sampled voltage value signal, so as to keep the power of the radio frequency output signal stable, specifically including: setting an input detection threshold; under the condition that the input detection voltage value of the first sampling voltage value signal is continuously larger than the input detection threshold for a period of time, determining the attenuation value of the numerical control attenuation module according to the target output power of the second sampling voltage value signal and the radio frequency output signal; taking the attenuation value as a locking parameter of the numerical control attenuation module; and controlling the numerical control attenuation module by using the locking parameter so as to keep the power of the radio frequency output signal stable. The following describes a process of implementing automatic gain control by using the automatic gain control apparatus with reference to the accompanying drawings.
In practice, the automatic gain control module performs automatic gain control by using a first sampling voltage value signal corresponding to the input detection voltage signal and a second sampling voltage value signal corresponding to the output detection voltage signal. That is, the first sampling voltage value signal is a digital signal corresponding to the output detection voltage signal, and the second sampling voltage value signal is a digital signal corresponding to the output detection voltage signal. For the purpose of illustrating the principles of the present invention, and as it is conventional in the art to convert analog signals to digital signals for processing by a processor, the particular analog-to-digital conversion process will not be described further herein.
FIG. 2 is a timing diagram of the input detected voltage signal and the output detected voltage signal provided by the present invention, where the input detected voltage signal and the output detected voltage signal are both filtered signals, as shown in FIG. 2.
The detection voltage output by the detector (input detector and output detector) needs to be filtered by a filter circuit (corresponding input detection voltage filter circuit and output detection voltage filter circuit) to remove stray and jitter. Of course, the filter circuit may be replaced by a filter, that is, an input detection filter for filtering an input detection voltage signal and an output detection filter for filtering an output detection voltage signal.
Furthermore, according to the modulation mode and the symbol rate of the radio-frequency signal, the input detection filter adopts a filter capacitor with a smaller capacitor, and the input detection voltage is ensured to have faster rise and fall time after passing through the input detection filter. The output detection filter adopts a filter capacitor with a larger capacitor, so that the output detection voltage has a more stable output amplitude and slower rising and falling time after passing through the output detection filter.
The input detection voltage value in the present invention is determined based on a first sampling voltage value signal obtained by ADC sampling the input detection voltage signal; further, it is understood that the rf input signal in the present invention includes a plurality of pulse signals, and accordingly, the input detected voltage signal (and the first sampled voltage value signal) also includes a corresponding plurality of pulse signals.
The starting and suspension of the AGC tracking loop can be achieved by detecting the input detected voltage value of the current pulse signal corresponding to the output detected voltage signal (whether the input detection threshold is reached). Next, the following description will be made with reference to fig. 3 and 4.
Fig. 3 is a timing diagram of a first pulse AGC operation according to the present invention, as shown in fig. 3, an input detection threshold is first set, an AGC tracking loop is started after an input detection voltage value is continuously greater than the input detection threshold for a certain time, and the AGC tracking loop is stopped after a certain time is lower than the input detection threshold.
Therefore, when the first pulse signal (i.e. the current pulse signal) arrives and the input detected voltage value reaches the input detection threshold, the AGC tracking loop starts. After a certain time, the AGC tracking loop is locked, until the first pulse signal is finished, the input detection voltage value is reduced to be lower than the input detection threshold value, at the moment, because the output detection voltage value is reduced slowly, and the filtering and integration in the AGC loop can also increase the delay time, the numerical control attenuation value output by the AGC does not change until the AGC tracking loop is suspended. When the AGC tracking loop is suspended, the locking parameter of the AGC for controlling the numerical control attenuator (namely the attenuation value of the numerical control attenuator) is temporarily stored, and the numerical control attenuator is switched to the locking parameter by the AGC tracking loop for controlling during the AGC locking protection of the next pulse.
It should be noted that, first, the present invention ensures that the input detection threshold is smaller than the power range of the actual available rf input signal; secondly, when the AGC tracking loop is suspended, the locking parameter (attenuation value of the numerical control attenuator) output by the AGC tracking loop is not changed at the moment. Specifically, it can be understood that: the variation is smaller than 1 step value of the numerical control attenuator, namely the variation of the locking value is smaller than the step value of the numerical control attenuator, so the numerical control attenuation value cannot be changed.
In addition, the filter capacitor of the output detection filter is a compromise value for ensuring the AGC locking time and the locking precision, under the condition of ensuring the most extreme condition, the AGC tracking loop can be locked in one pulse, and meanwhile, the locking precision is within 1 step value of the numerical control attenuator, so that the stability of the output power can be ensured.
It will be understood that, since the filter capacitance of the input detection filter is smaller than that of the output detection filter, the curve of the input detection voltage value changes faster than the curve of the output detection voltage value. Meanwhile, the curve of the input voltage detection value can meet the condition that the locking parameter does not change when the AGC tracking loop is suspended when the input voltage detection value drops to reach the input detection threshold.
Fig. 4 is a timing diagram of the operation of the (N + 1) th pulse AGC according to the present invention, and referring to fig. 4, if the previous pulse signal is locked and the locking parameter exists, the next pulse will use the locking parameter of the previous pulse to control the digitally controlled attenuator during the AGC locking guard interval. Because the output detection wave value rises slowly, the AGC tracking loop can lose lock briefly after being restarted, but can lock to the target power quickly, and the locking time is much shorter than the first locking time and shorter than the AGC locking protection time. Therefore, after the AGC locking protection time is over, the control parameter of the numerical control attenuator is switched to the operation output of the AGC tracking loop from the locking parameter of the last pulse, and the output power can be kept constant.
Therefore, when the first pulse passes through, the AGC can be locked to the set target power, and the next N pulses can be always tracked and locked to the target power.
It should be noted that the AGC lock protection time only needs to ensure that the AGC tracking loop can lock again when the lock protection time is over, and the attenuation value of the digitally controlled attenuator remains unchanged. The specific AGC locking protection time can be adjusted and set according to actual needs.
Fig. 5 is a schematic block diagram of the automatic gain control provided by the present invention, and as shown in fig. 5, the difference is obtained by subtracting the current actual output power from the target output power, and then the attenuation value of the numerical control attenuator is controlled after filtering and integration, and the output power is controlled to approach the target power through continuous iteration. The method specifically comprises the following steps:
step 1: and calculating the current actual output power of the radio frequency output signal according to the second sampling voltage value signal.
It can be understood that, the second sampling voltage value signal is obtained by performing ADC sampling on the output detection voltage signal, and the current actual output power of the radio frequency output signal can be obtained by operating the second sampling voltage value signal through an automatic gain control module (which may be a microprocessor).
And 2, step: and acquiring a difference value between the target output power and the current actual output power, and filtering and integrating the difference value to acquire a processing result.
And step 3: and determining the attenuation value of the numerical control attenuation module according to the processing result.
The processing result can be an integration result, the attenuation value is actually determined by using the integration result, which is a closed-loop negative feedback adjustment process, and the attenuation value of the numerical control attenuation module is determined by using the integration result, so that the current actual output power approaches the target output power.
And 4, step 4: and (3) sequentially and iteratively executing the step 1, the step 2 and the step 3, and continuously adjusting the attenuation value until the difference value is smaller than a preset threshold value.
Through continuous iteration, the current actual output power can continuously approach the target output power, when the difference value between the current actual output power and the target output power is smaller than a preset threshold value, the AGC tracking loop can be taken as the target locking, and the final attenuation value is taken as a target locking parameter.
In summary, the automatic gain control apparatus provided by the present invention is a closed-loop control system, which can ensure the accuracy of the output power even if the link gain changes as long as the input signal is within the input range; and can keep the invariable gain value during the pulse appears and disappears, once the system is locked, even when the pulse disappears, the control system will not lose the lock; and simultaneously, the input detection voltage signal and the output detection voltage signal are adopted to participate in automatic gain control, and different rising and falling curves of the input detection voltage signal and the output detection voltage signal are designed so as to achieve the purpose of stable output power.
Further, the present invention also provides an automatic gain control method applied to any one of the above automatic gain control apparatuses, the method including:
acquiring a first sampling voltage value signal and a second sampling voltage value signal; wherein, the first sampling voltage value signal is obtained by the input detection module 10, and the second sampling voltage value signal is obtained by the output detection module 40;
and controlling the attenuation value of the numerical control attenuation module 20 according to the first sampling voltage value signal and the second sampling voltage value signal so as to keep the power of the radio frequency output signal stable.
Optionally, determining an attenuation value of the digitally controlled attenuation module 20 according to the second sampling voltage value signal and the target output power of the radio frequency output signal, specifically including:
step 1: calculating the current actual output power of the radio frequency output signal according to the second sampling voltage value signal;
step 2: acquiring a difference value between the target output power and the current actual output power, and performing filtering and integration processing on the difference value to acquire a processing result;
and 3, step 3: determining an attenuation value of the numerical control attenuation module according to the processing result;
and 4, step 4: and (3) sequentially and iteratively executing the step 1, the step 2 and the step 3, and continuously adjusting the attenuation value until the difference value is smaller than a preset threshold value.
It is understood that the execution subject of the automatic gain control method can be an automatic gain control module in an automatic gain control device. Moreover, the implementation process of the method is not described repeatedly, and specific implementation processes can be referred to the above embodiments.
The present application also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the above-described automatic gain control method. The computer-readable storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some service interfaces, devices or units, and may be an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program, which is stored in a computer-readable memory, and the memory may include: flash disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The above description is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure should not be limited thereby. It is intended that all equivalent variations and modifications made in accordance with the teachings of the present disclosure be covered thereby. Embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
It will be understood by those skilled in the art that the foregoing is only a preferred embodiment of the present invention, and is not intended to limit the invention, and that any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. An automatic gain control apparatus, comprising:
the input detection module is used for converting the power of a radio frequency input signal into an input detection voltage signal, and carrying out ADC (analog-to-digital converter) sampling on the input detection voltage signal to obtain a first sampling voltage value signal;
a numerically controlled attenuation module for determining an attenuation value to adjust the power of the radio frequency input signal in response to control by the automatic gain control module;
the power amplification module is used for carrying out power amplification on the adjusted radio frequency input signal and outputting a radio frequency output signal;
the output detection module is used for converting the power of the radio frequency output signal into an output detection voltage signal, and carrying out ADC (analog-to-digital converter) sampling on the output detection voltage to obtain a second sampling voltage value signal;
an automatic gain control module configured to control an attenuation value of the digitally controlled attenuation module to keep a power of the radio frequency output signal stable according to the first sampled voltage value signal and the second sampled voltage value signal.
2. The automatic gain control apparatus according to claim 1, wherein the controlling the attenuation value of the digitally controlled attenuation module according to the first sampled voltage value signal and the second sampled voltage value signal to keep the power of the rf output signal stable comprises:
setting an input detection threshold;
under the condition that the input detection voltage value of the first sampling voltage value signal is continuously larger than the input detection threshold for a period of time, determining the attenuation value of the numerical control attenuation module according to the target output power of the second sampling voltage value signal and the radio frequency output signal;
taking the attenuation value as a locking parameter of the numerical control attenuation module;
and controlling the numerical control attenuation module by using the locking parameter so as to keep the power of the radio frequency output signal stable.
3. The automatic gain control apparatus according to claim 2, wherein determining the attenuation value of the digitally controlled attenuation module according to the second sampled voltage value signal and the target output power of the rf output signal comprises:
step 1: calculating the current actual output power of the radio frequency output signal according to the second sampling voltage value signal;
step 2: acquiring a difference value between the target output power and the current actual output power, and performing filtering and integration processing on the difference value to acquire a processing result;
and 3, step 3: determining an attenuation value of the numerical control attenuation module according to the processing result;
and 4, step 4: and (3) sequentially and iteratively executing the step 1, the step 2 and the step 3, and continuously adjusting the attenuation value until the difference value is smaller than a preset threshold value.
4. The automatic gain control of claim 1 wherein said input detection module comprises: the device comprises an input detection unit, an input detection voltage filtering unit and a first ADC sampling unit;
the input detection unit is used for acquiring a power value of the radio frequency input signal so as to convert the radio frequency input signal into an input detection voltage signal;
the input detection voltage filtering unit is used for filtering the input detection voltage signal;
the first ADC sampling unit is used for ADC sampling of the input detection voltage signal after filtering processing to obtain a first sampling voltage value signal;
the output detection module includes: the device comprises an output detection unit, an output detection voltage filtering unit and a second ADC sampling unit;
the output detection unit is used for acquiring the power value of the radio frequency output signal so as to convert the radio frequency output signal into an output detection voltage signal;
the output detection voltage filtering unit is used for filtering the output detection voltage signal;
and the second ADC sampling unit is used for ADC sampling of the output detection voltage signal after filtering processing to obtain the second sampling voltage value signal.
5. The automatic gain control of claim 4, wherein said input detection unit comprises an input detector, said input detection voltage filter unit comprises an input detection voltage filter circuit, and said first ADC sampling unit comprises a first ADC sampling circuit;
the output detection unit comprises an output detector, the output detection voltage filtering unit comprises an output detection voltage filtering circuit, and the second ADC sampling unit comprises a second ADC sampling circuit.
6. The automatic gain control of claim 1, wherein the digitally controlled attenuation module is a digitally controlled attenuator and the power amplification module is a power amplifier;
and the output end of the numerical control attenuator is connected with the input end of the power amplifier.
7. The automatic gain control of claim 1 wherein said automatic gain control module is an FPGA logic control chip;
the input detection module, the numerical control attenuation module and the output detection module are all in communication connection with the FPGA logic control chip through an SPI bus.
8. An automatic gain control method applied to the automatic gain control apparatus according to any one of claims 1 to 7, comprising:
acquiring a first sampling voltage value signal and a second sampling voltage value signal; the first sampling voltage value signal is obtained by an input detection module, and the second sampling voltage value signal is obtained by an output detection module;
and controlling the attenuation value of the numerical control attenuation module according to the first sampling voltage value signal and the second sampling voltage value signal so as to keep the power of the radio frequency output signal stable.
9. The automatic gain control method according to claim 8, wherein the controlling an attenuation value of the digitally controlled attenuation module according to the first sampled voltage value signal and the second sampled voltage value signal to keep the power of the rf output signal stable comprises:
setting an input detection threshold;
under the condition that the input detection voltage value of the first sampling voltage value signal is continuously larger than the input detection threshold for a period of time, determining the attenuation value of the numerical control attenuation module according to the target output power of the second sampling voltage value signal and the radio frequency output signal;
taking the attenuation value as a locking parameter of the numerical control attenuation module;
and controlling the numerical control attenuation module by using the locking parameter so as to keep the power of the radio frequency output signal stable.
10. The automatic gain control method according to claim 9, wherein determining the attenuation value of the digitally controlled attenuation module according to the second sampled voltage value signal and the target output power of the rf output signal comprises:
step 1: calculating the current actual output power of the radio frequency output signal according to the second sampling voltage value signal;
step 2: acquiring a difference value between the target output power and the current actual output power, and performing filtering and integration processing on the difference value to acquire a processing result;
and step 3: determining an attenuation value of the numerical control attenuation module according to the processing result;
and 4, step 4: and (3) sequentially and iteratively executing the step 1, the step 2 and the step 3, and continuously adjusting the attenuation value until the difference value is smaller than a preset threshold value.
CN202211646793.5A 2022-12-21 2022-12-21 Automatic gain control device method and device Pending CN115842525A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211646793.5A CN115842525A (en) 2022-12-21 2022-12-21 Automatic gain control device method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211646793.5A CN115842525A (en) 2022-12-21 2022-12-21 Automatic gain control device method and device

Publications (1)

Publication Number Publication Date
CN115842525A true CN115842525A (en) 2023-03-24

Family

ID=85578961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211646793.5A Pending CN115842525A (en) 2022-12-21 2022-12-21 Automatic gain control device method and device

Country Status (1)

Country Link
CN (1) CN115842525A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117560023A (en) * 2023-05-22 2024-02-13 东方空间技术(北京)有限公司 Rocket-mounted signal processing method, device and equipment of carrier rocket

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117560023A (en) * 2023-05-22 2024-02-13 东方空间技术(北京)有限公司 Rocket-mounted signal processing method, device and equipment of carrier rocket
CN117560023B (en) * 2023-05-22 2024-04-09 东方空间技术(北京)有限公司 Rocket-mounted signal processing method, device and equipment of carrier rocket

Similar Documents

Publication Publication Date Title
US4691377A (en) Automatic frequency and gain control circuit
US7218258B2 (en) Method and system for mixed analog-digital automatic gain control
JP3254733B2 (en) Automatic gain control circuit
EP2538648B1 (en) Receiving circuit, transmitting circuit, micro-controller and method for power line carrier communication
JP5554769B2 (en) Automatic filter control
CN115842525A (en) Automatic gain control device method and device
RU96122867A (en) METHOD AND DEVICE FOR AUTOMATIC ADJUSTMENT OF AMPLIFICATION IN A DIGITAL RADIO RECEIVER
EP1645029A2 (en) A method and apparatus for automatic gain control of a wireless receiver
KR100956667B1 (en) Digital automatic gain control for transceiver devices
CN101588196B (en) Device and method for gain control
US6980610B2 (en) Wireless terminal device
US7145490B2 (en) Automatic gain control system and method
US7277510B1 (en) Adaptation algorithm based on signal statistics for automatic gain control
CN114499561A (en) Wireless communication receiver and automatic gain control device and control method thereof
CN109861704B (en) Voice signal AGC control method in digital receiver
EP1499014A1 (en) A method for automatic gain control, for instance in a telecommunication system, device and computer program therefor
JP4148813B2 (en) Reception circuit and mobile radio receiver using the same
CN117580143B (en) Automatic gain control method and system based on dual-mode communication unit
CN117955528A (en) Dynamic BBA gain for near field radio frequency signal processing
US9106195B2 (en) Method and apparatus for controlling signal gain in digital signal processing system
CN117560023B (en) Rocket-mounted signal processing method, device and equipment of carrier rocket
CA2417012C (en) Dual speed squelch circuit and method
KR19990055249A (en) Automatic Gain Control Device for High Definition Television
JPH05291986A (en) Automatic gain control circuit
JPH0735460Y2 (en) Wireless communication device

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