[go: up one dir, main page]

CN119051662A - Automatic gain control system and method based on ADC sampling data - Google Patents

Automatic gain control system and method based on ADC sampling data Download PDF

Info

Publication number
CN119051662A
CN119051662A CN202411167147.XA CN202411167147A CN119051662A CN 119051662 A CN119051662 A CN 119051662A CN 202411167147 A CN202411167147 A CN 202411167147A CN 119051662 A CN119051662 A CN 119051662A
Authority
CN
China
Prior art keywords
automatic gain
gain control
amplitude
controlled unit
agc
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
CN202411167147.XA
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.)
Sichuan Jiuzhou Electric Group Co Ltd
Original Assignee
Sichuan Jiuzhou Electric Group 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 Sichuan Jiuzhou Electric Group Co Ltd filed Critical Sichuan Jiuzhou Electric Group Co Ltd
Priority to CN202411167147.XA priority Critical patent/CN119051662A/en
Publication of CN119051662A publication Critical patent/CN119051662A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/18Automatic control for modifying the range of signals the converter can handle, e.g. gain ranging
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/124Sampling or signal conditioning arrangements specially adapted for A/D converters
    • H03M1/1245Details of sampling arrangements or methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Amplification And Gain Control (AREA)

Abstract

The invention discloses an automatic gain control system and method based on ADC sampling data, wherein the automatic gain control system comprises an AGC controlled unit, an A/D converter and an FPGA controller, the AGC controlled unit is connected with the FPGA controller through the A/D converter, the FPGA controller judges the amplitude of an external signal according to the obtained A/D converter data, when the amplitude of the external signal exceeds a preset output threshold, the FPGA controller controls the AGC controlled unit, increases the attenuation of the AGC controlled unit, reduces the link gain, reduces the amplitude of an input signal of the A/D converter, otherwise, reduces the attenuation of the AGC controlled unit, increases the link gain, improves the amplitude of the input signal of the A/D converter, and enables the A/D converter data obtained by the FPGA controller to be in a required range, thereby realizing automatic gain control of the system. The method solves the technical problems of complex hardware, slow response speed, low control precision and the like of the traditional automatic gain control.

Description

Automatic gain control system and method based on ADC sampling data
Technical Field
The invention belongs to the technical field of automatic gain control, and particularly relates to an automatic gain control system and method based on ADC (analog to digital converter) sampling data.
Background
In practical engineering, in order to expand the dynamic range of radar and communication systems and give consideration to near-far targets, the gain of an amplifying link in the system is required to be automatically adjusted according to the intensity of external signals, and the working block diagram is shown in fig. 1. With the development of technology, the requirements of the system on an automatic gain control (Automatic Gain Control, abbreviated as AGC) circuit are increasing, including miniaturization, precision, rapidity and the like.
Conventional Automatic Gain Control (AGC) methods include analog AGC and digital AGC. The analog AGC consists of a detector, a comparator, a gain controller and the like, and has the defects of low response speed, low control precision and the like. The digital AGC consists of a detector, an A/D converter, an FPGA controller, a D/A converter, a voltage-controlled amplifier and the like, and has the defects of complex circuit, high cost and low expandability.
Disclosure of Invention
The invention aims to overcome the problems in the prior art, discloses an automatic gain control system and method based on ADC sampling data, and solves the technical problems of complex hardware, slow response speed, low control precision and the like of the traditional automatic gain control by the system and the method.
On the one hand, the aim of the invention is achieved by the following technical scheme:
An automatic gain control system based on ADC sampling data comprises an AGC controlled unit, an A/D converter and an FPGA controller, wherein external signals realize automatic gain control through the automatic gain control system;
the AGC controlled unit is connected with the FPGA controller through the A/D converter, and the FPGA controller judges the amplitude of the external signal according to the obtained data of the A/D converter;
when the amplitude of the external signal exceeds a preset output threshold, the FPGA controller controls the AGC controlled unit, increases the attenuation of the AGC controlled unit, reduces the link gain, reduces the amplitude of the input signal of the A/D converter, otherwise, reduces the attenuation of the AGC controlled unit, increases the link gain, improves the amplitude of the input signal of the A/D converter, and enables the data of the A/D converter obtained by the FPGA controller to be in a required range, thereby realizing automatic gain control of the system.
According to a preferred embodiment, the AGC controlled unit comprises several AGC controlled units 1 to n in series, where n is equal to or larger than 1.
According to a preferred embodiment, the AGC controlled unit n comprises a digitally controlled attenuator configured to perform amplitude attenuation control of the input signal, enabling control accuracy and depth control of the AGC controlled unit.
According to a preferred embodiment, the control accuracy of the control attenuator is 0.25dB, and the maximum control depth is 31.75dB.
According to a preferred embodiment, the AGC controlled unit n further comprises an amplifying and filtering module, wherein the amplifying and filtering module is composed of a linear amplifier and a filter and is used for amplifying and filtering the output signal of the numerical control attenuator.
According to a preferred embodiment, a limiter is further provided upstream of the AGC controlled unit, the limiter being configured to perform extraneous signal amplitude control to perform downstream circuit protection.
In another aspect, the invention also discloses:
An automatic gain control method based on ADC sampling data comprises the steps that an AGC controlled unit completes gain adjustment of external signal data based on an amplitude monitoring structure of the ADC sampling data and outputs signals meeting system requirements.
According to a preferred embodiment, the automatic gain control method specifically includes:
When the ADC data amplitude exceeds the maximum output threshold required by the system, judging the control state of a digital attenuator in the current AGC controlled unit;
if the numerical control attenuator reaches the maximum control attenuation, ending the flow;
If the numerical control attenuator does not reach the maximum attenuation, the attenuation amount is increased until the data amplitude of the ADC meets the system requirement.
According to a preferred embodiment, the automatic gain control method specifically includes:
when the ADC data amplitude does not exceed the maximum output threshold required by the system, judging whether the ADC data amplitude is lower than the minimum output threshold required by the system;
if the data amplitude is not lower than the minimum threshold of the system, the output signal amplitude is indicated to be in the interval required by the system at the moment, and the control flow is ended at the moment;
If the data amplitude is lower than the minimum threshold of the system, judging the control state of the numerical control attenuator in the current AGC controlled unit, if the attenuation of the numerical control attenuator is zero, ending the flow, and if the attenuation of the numerical control attenuator is not zero, reducing the attenuation of the numerical control attenuator until the data amplitude of the ADC meets the system requirement.
According to a preferred embodiment, the automatic gain control method further comprises performing an external signal amplitude control by a limiter to complete downstream circuit protection before performing the external signal data gain adjustment.
The foregoing inventive concepts and various further alternatives thereof may be freely combined to form multiple concepts, all of which are contemplated and claimed herein. Various combinations will be apparent to those skilled in the art from a review of the present disclosure, and are not intended to be exhaustive or all of the present disclosure.
The invention has the beneficial effects that:
The invention uses the automatic gain control link based on ADC sampling data, which originally has the A/D converter and FPGA chip to realize the automatic gain control function, optimizes the chips such as the common detector, comparator and the like, saves the hardware cost and improves the reliability of the system. Meanwhile, the number of the AGC controlled units can be flexibly increased or decreased according to the system requirement, so that the universality of the AGC controlled units is ensured.
Drawings
FIG. 1 is a schematic block diagram of automatic gain control;
FIG. 2 is a schematic diagram of an automatic gain control system according to the present invention;
fig. 3 is a schematic diagram of the internal structure of an AGC controlled unit in the automatic gain control system according to the present invention;
Fig. 4 is a flow chart of the automatic gain control method of the present invention.
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present invention with reference to specific examples. The invention may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present invention. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict.
It should be noted that like reference numerals and letters refer to like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. In addition, in the present invention, if a specific structure, connection relationship, position relationship, power source relationship, etc. are not specifically written, the structure, connection relationship, position relationship, power source relationship, etc. related to the present invention can be known by those skilled in the art without any creative effort.
Example 1
Referring to fig. 2 to 4, the embodiment discloses an automatic gain control system based on ADC sampling data, which includes a limiter, an AGC controlled unit, an a/D converter, and an FPGA controller, through which an external signal realizes automatic gain control.
Preferably, the limiter is connected with the AGC controlled unit, the AGC controlled unit is connected with the FPGA controller through the A/D converter, and the FPGA controller judges the amplitude of the external signal according to the obtained A/D converter data.
Preferably, the limiter is used for controlling the intensity of the external signal amplitude entering the subsequent circuit, and protecting the subsequent circuit from being burnt.
Preferably, the AGC controlled unit includes a plurality of AGC controlled units 1 to AGC controlled units n in series, where n.gtoreq.1.
The AGC controlled unit n consists of a numerical control attenuator, a linear amplifier and a filter, wherein the numerical control attenuator controls the control precision and depth of the AGC unit, and the amplifier ensures the maximum gain of the AGC unit.
The control precision of the single numerical control attenuator is 0.25dB, the maximum control depth is 31.75dB, and the linear amplifier and the filter are flexibly selected according to the system requirements.
Compared with the traditional method, the novel method has higher control precision and shorter adjustment time.
Preferably, the a/D converter is configured to convert an analog signal to a digital signal, providing an input to an FPGA controlled gain control algorithm.
Preferably, the FPGA controller is configured to control the gain of the AGC controlled unit according to the size of data input by the a/D converter, so that the output signal meets the system requirement.
The method comprises the steps of firstly enabling an external signal to pass through a limiter, enabling the limiter to protect a subsequent circuit from being burnt by a large signal, then enabling the external signal to enter an AGC controlled unit, amplifying and filtering the external signal in the AGC controlled unit, outputting an analog signal meeting the sampling requirement of an A/D converter, enabling the analog signal to finish digital-to-analog conversion in the A/D converter, outputting a digital signal to an FPGA controller, enabling the FPGA controller to compare the digital signal with an output threshold required by a system after receiving the digital signal, adjusting the gain of the AGC controlled unit, and outputting a signal meeting the system requirement.
Further, when the amplitude of the external signal exceeds a preset output threshold, the FPGA controller controls the AGC controlled unit, increases the attenuation amount of the AGC controlled unit, reduces the link gain, reduces the amplitude of the input signal of the A/D converter, otherwise, reduces the attenuation amount of the AGC controlled unit, increases the link gain, improves the amplitude of the input signal of the A/D converter, and enables the data of the A/D converter obtained by the FPGA controller to be in a required range, thereby realizing automatic gain control of the system.
The automatic gain control method based on ADC sampling data optimizes a hardware circuit based on digital AGC, realizes an automatic gain control time adjustable and controllable function, and improves the accuracy and depth of automatic gain control. The hardware circuits such as a common detector and a common comparator are abandoned, the hardware circuits of the system are used for realizing the automatic gain control function, the system cost is reduced, and the miniaturization of equipment is realized. The number of the AGC controlled units can be dynamically configured, the depth of gain control can be designed independently, and the AGC controlled unit has universality.
Example 2
On the basis of embodiment 1, the invention also discloses an automatic gain control method based on ADC sampling data, and the method is shown with reference to FIG. 4. The automatic gain control method comprises the steps that an AGC controlled unit completes gain adjustment of external signal data based on an amplitude monitoring structure of ADC sampling data, and signals meeting system requirements are output.
Preferably, the automatic gain control method specifically includes:
When the ADC data amplitude exceeds the maximum output threshold required by the system, judging the control state of a digital attenuator in the current AGC controlled unit;
if the numerical control attenuator reaches the maximum control attenuation, ending the flow;
If the numerical control attenuator does not reach the maximum attenuation, the attenuation amount is increased until the data amplitude of the ADC meets the system requirement.
Preferably, the automatic gain control method specifically includes:
when the ADC data amplitude does not exceed the maximum output threshold required by the system, judging whether the ADC data amplitude is lower than the minimum output threshold required by the system;
if the data amplitude is not lower than the minimum threshold of the system, the output signal amplitude is indicated to be in the interval required by the system at the moment, and the control flow is ended at the moment;
If the data amplitude is lower than the minimum threshold of the system, judging the control state of the numerical control attenuator in the current AGC controlled unit, if the attenuation of the numerical control attenuator is zero, ending the flow, and if the attenuation of the numerical control attenuator is not zero, reducing the attenuation of the numerical control attenuator until the data amplitude of the ADC meets the system requirement.
Further, the automatic gain control method further comprises the step of completing external signal amplitude control through a limiter before external signal data gain adjustment is performed so as to complete downstream circuit protection.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.

Claims (10)

1.一种基于ADC采样数据的自动增益控制系统,其特征在于,所述自动增益控制系统包括:AGC受控单元、A/D转化器和FPGA控制器,外来信号经所述自动增益控制系统实现自动增益控制;1. An automatic gain control system based on ADC sampling data, characterized in that the automatic gain control system comprises: an AGC controlled unit, an A/D converter and an FPGA controller, and an external signal is automatically controlled by the automatic gain control system; 所述AGC受控单元经A/D转化器与FPGA控制器相连,所述FPGA控制器根据得到的A/D转换器数据判断外来信号的幅度大小;The AGC controlled unit is connected to the FPGA controller via the A/D converter, and the FPGA controller determines the amplitude of the external signal according to the A/D converter data obtained; 当外来信号幅度超过预设输出门限时,FPGA控制器控制AGC受控单元,增大其衰减量,降低链路增益,减小A/D转换器输入信号的幅度;反之,则减小AGC受控单元的衰减量,增加链路增益,提高A/D转换器输入信号的幅度;使得FPGA控制器得到的A/D转换器数据处于要求的范围内,进而实现系统的自动增益控制。When the amplitude of the external signal exceeds the preset output threshold, the FPGA controller controls the AGC controlled unit to increase its attenuation, reduce the link gain, and reduce the amplitude of the A/D converter input signal; conversely, the attenuation of the AGC controlled unit is reduced, the link gain is increased, and the amplitude of the A/D converter input signal is increased; so that the A/D converter data obtained by the FPGA controller is within the required range, thereby realizing automatic gain control of the system. 2.如权利要求1所述自动增益控制系统,其特征在于,所述AGC受控单元包括串联的若干AGC受控单元1至AGC受控单元n,其中n≥1。2. The automatic gain control system according to claim 1, characterized in that the AGC controlled unit comprises a plurality of AGC controlled units 1 to AGC controlled units n connected in series, wherein n≥1. 3.如权利要求2所述自动增益控制系统,其特征在于,所述AGC受控单元n包括数控衰减器,所述数控衰减器被配置为完成输入信号的幅度衰减控制,实现AGC受控单元的控制精度和深度控制。3. The automatic gain control system as claimed in claim 2, characterized in that the AGC controlled unit n includes a digitally controlled attenuator, which is configured to complete the amplitude attenuation control of the input signal to achieve control accuracy and depth control of the AGC controlled unit. 4.如权利要求3所述自动增益控制系统,其特征在于,所述控衰减器的控制精度为0.25dB,最大控制深度31.75dB。4. The automatic gain control system as claimed in claim 3, characterized in that the control accuracy of the attenuator is 0.25dB and the maximum control depth is 31.75dB. 5.如权利要求2所述自动增益控制系统,其特征在于,所述AGC受控单元n还包括放大滤波模块;所述放大滤波模块由线性放大器和滤波器构成,用于实现数控衰减器输出信号的放大滤波。5. The automatic gain control system as claimed in claim 2, characterized in that the AGC controlled unit n also includes an amplification and filtering module; the amplification and filtering module is composed of a linear amplifier and a filter, and is used to realize amplification and filtering of the output signal of the digital controlled attenuator. 6.如权利要求1所述自动增益控制系统,其特征在于,所述AGC受控单元上游还设有限幅器,所述限幅器被配置为完成外来信号幅度控制,以完成下游电路保护。6. The automatic gain control system as claimed in claim 1, characterized in that a limiter is also provided upstream of the AGC controlled unit, and the limiter is configured to complete the external signal amplitude control to achieve downstream circuit protection. 7.一种基于ADC采样数据的自动增益控制方法,其特征在于,所述自动增益控制方法包括:基于ADC采样数据的幅度监测结构由AGC受控单元完成外来信号数据增益调节,并输出满足系统要求的信号。7. An automatic gain control method based on ADC sampling data, characterized in that the automatic gain control method includes: an amplitude monitoring structure based on the ADC sampling data uses an AGC controlled unit to complete gain adjustment of external signal data and output a signal that meets system requirements. 8.如权利要求7所述的自动增益控制方法,其特征在于,所述自动增益控制方法具体包括:8. The automatic gain control method according to claim 7, characterized in that the automatic gain control method specifically comprises: 当ADC数据幅度超出系统要求的最大输出门限时,判断当前AGC受控单元中数控衰减器的控制状态;When the ADC data amplitude exceeds the maximum output threshold required by the system, the control state of the digital controlled attenuator in the current AGC controlled unit is determined; 如果数控衰减器已达到最大控制衰减,则结束流程;If the digital controlled attenuator has reached the maximum controlled attenuation, the process ends; 如果数控衰减器未达到最大衰减,则增大衰减量,直到ADC的数据幅度满足系统要求为止。If the digitally controlled attenuator does not reach the maximum attenuation, increase the attenuation until the ADC data amplitude meets the system requirement. 9.如权利要求7所述的自动增益控制方法,其特征在于,所述自动增益控制方法具体包括:9. The automatic gain control method according to claim 7, characterized in that the automatic gain control method specifically comprises: 当ADC数据幅度未超出系统要求的最大输出门限时,判断ADC数据幅度是否低于系统要求的最小输出门限;When the ADC data amplitude does not exceed the maximum output threshold required by the system, determine whether the ADC data amplitude is lower than the minimum output threshold required by the system; 如果数据幅度未低于系统最小门限,则表明此时输出信号幅度处于系统要求的区间内,此次控制流程结束;If the data amplitude is not lower than the minimum threshold of the system, it means that the output signal amplitude is within the range required by the system, and the control process ends; 如果数据幅度低于系统最小门限,则进行当前AGC受控单元中数控衰减器的控制状态判断,如果数控衰减器衰减量为零时,则结束流程;如果数控衰减器不为零,则减小其衰减量,直到ADC的数据幅度满足系统要求为止。If the data amplitude is lower than the system minimum threshold, the control state of the digital controlled attenuator in the current AGC controlled unit is judged. If the attenuation of the digital controlled attenuator is zero, the process ends; if the attenuation of the digital controlled attenuator is not zero, its attenuation is reduced until the ADC data amplitude meets the system requirements. 10.如权利要求7所述的自动增益控制方法,其特征在于,所述自动增益控制方法还包括在进行外来信号数据增益调节之前,通过限幅器完成外来信号幅度控制,以完成下游电路保护。10. The automatic gain control method according to claim 7, characterized in that the automatic gain control method further comprises completing external signal amplitude control by a limiter before performing external signal data gain adjustment to complete downstream circuit protection.
CN202411167147.XA 2024-08-23 2024-08-23 Automatic gain control system and method based on ADC sampling data Pending CN119051662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411167147.XA CN119051662A (en) 2024-08-23 2024-08-23 Automatic gain control system and method based on ADC sampling data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411167147.XA CN119051662A (en) 2024-08-23 2024-08-23 Automatic gain control system and method based on ADC sampling data

Publications (1)

Publication Number Publication Date
CN119051662A true CN119051662A (en) 2024-11-29

Family

ID=93577552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411167147.XA Pending CN119051662A (en) 2024-08-23 2024-08-23 Automatic gain control system and method based on ADC sampling data

Country Status (1)

Country Link
CN (1) CN119051662A (en)

Similar Documents

Publication Publication Date Title
CN106571787B (en) A kind of numerical model analysis automatic gain control amplifier
EA014210B1 (en) Automatic gain control circuit, system including such circuit and method for automatic gain control
US5095542A (en) Apparatus for controlling transmission output level for burst signal
US6927628B2 (en) Gain-control method and device for cascaded amplifiers
CN111077361B (en) A detection device suitable for small current on laser seeker
JP4016206B2 (en) Audio signal processing apparatus and audio signal processing method
JP2005348440A (en) Automatic gain control method and apparatus
US8614603B1 (en) Auto leveling receiver
US6628788B2 (en) Apparatus and method for noise-dependent adaptation of an acoustic useful signal
CN115580236A (en) Variable gain amplifier based on digital control
CN119051662A (en) Automatic gain control system and method based on ADC sampling data
CN216599593U (en) High-precision digital automatic gain control device and radio frequency receiver
CN112636712A (en) Sonar buoy preprocessing gain automatic control system and adjustment method
CN113406602B (en) Pulse peak hold circuit and control method
JP3074231B2 (en) AGC circuit for audio equipment
CN114499561A (en) Wireless communication receiver and automatic gain control device and control method thereof
CN112782670B (en) Small signal amplifying circuit and chip suitable for laser radar analog front end
CN113824459A (en) High-precision digital automatic gain control device and radio frequency receiver
US20060071841A1 (en) Automatic gain control system and method
CN113507271A (en) An Automatic Gain Control System for Proximity Signal
CN219417718U (en) Indoor sound source positioning system
CN110545116A (en) Receiver double-loop automatic gain control method, electronic equipment, medium and device
CN217607780U (en) Frequency distribution amplifier with high applicability
CN221652597U (en) An optical receiving circuit with ultra-wide frequency amplification and wide automatic gain range
CN210243825U (en) Radar signal receiving system

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