CN115882801A - Automatic gain control device and gain updating timing output method - Google Patents

Automatic gain control device and gain updating timing output method Download PDF

Info

Publication number
CN115882801A
CN115882801A CN202111152878.3A CN202111152878A CN115882801A CN 115882801 A CN115882801 A CN 115882801A CN 202111152878 A CN202111152878 A CN 202111152878A CN 115882801 A CN115882801 A CN 115882801A
Authority
CN
China
Prior art keywords
gain
output
timing
update
control
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
CN202111152878.3A
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.)
Sanechips Technology Co Ltd
Original Assignee
Sanechips 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 Sanechips Technology Co Ltd filed Critical Sanechips Technology Co Ltd
Priority to CN202111152878.3A priority Critical patent/CN115882801A/en
Priority to PCT/CN2022/078448 priority patent/WO2023050714A1/en
Publication of CN115882801A publication Critical patent/CN115882801A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G3/00Gain control in amplifiers or frequency changers
    • H03G3/20Automatic control
    • H03G3/30Automatic control in amplifiers having semiconductor devices

Landscapes

  • Control Of Amplification And Gain Control (AREA)

Abstract

The embodiment of the invention provides an automatic gain control device and a timing output method for gain updating. The device comprises: a timer for timing the gain update output of the gain devices of different channels at time intervals; and the timing gain output module is used for selecting the gain device of the corresponding channel according to the timing to update and output the gain. In the invention, the timer is adopted to time the gain updating output of different gain devices, thereby solving the problem that the gain updating time of each gain device can not be aligned to output due to different gain updating time and control time sequence of each gain device from different manufacturers in the related technology, and achieving the effect of updating the timing gain of multi-channel and multi-gain devices.

Description

Automatic gain control device and timing output method for gain updating
Technical Field
The embodiment of the invention relates to the field of communication, in particular to an automatic gain control device and a gain updating timing output method.
Background
In the related art, a conventional method of automatic gain control is to control multi-level attenuation through a controller to ensure that a preceding-stage signal of an Analog-to-digital converter (ADC) is not saturated, so that a channel link is in a linear working region, and a gain device control word is adjusted each time gain is updated, and is output according to a control mode of a gain device of a different manufacturer. Fig. 1 is a schematic diagram of implementing automatic Gain control in the related art, as shown in fig. 1, a module 103 is a frequency selection filter for selecting a suitable frequency band, a module 104 is a low noise Amplifier, a module 105 is a radio frequency Attenuator (ATT) module belonging to a radio frequency Gain device, a module 106 is a mixer, a module 107 is a Variable Gain Amplifier (VGA) as an intermediate frequency Gain device, a module 110 is an AGC (automatic Gain control) module, a module 108 is an ADC (Analog to digital converter), and a module 109 is a digital down-conversion link. In the related art, the update timing of the gain is shown in fig. 2, where, gain _ variation _ flag represents a gain change flag, VGA _ Device represents a VGA gain Device, gains 0-7 _updaterepresent gains of channels 0-7, idle represents a control bus, ch0_ update represents a gain update of channel 0, ATT _ Device represents an ATT gain Device, when the gain changes, the VGA Device can update all channels by using the same set of control method, and the ATT Device can only update the gain of one channel, which may result in a channel-misaligned output of the gain update.
The gain updating of the method can ensure that the gain updating time outside the channel is the same only when the gain is changed and the control time sequences of the VGA and the ATT are the same, but is limited by the fact that the VGA and the ATT in the same channel come from different manufacturers, so that the problem that the gain updating time and the control time sequence of each gain device are different is caused, the gain updating time of the channel cannot be output in an aligned mode, and the universality of the control method is reduced.
Disclosure of Invention
The embodiment of the invention provides an automatic gain control device and a timing output method for gain updating, which at least solve the problem that the gain updating time of each gain device cannot be aligned and output because the gain updating time and the control time sequence of each gain device from different manufacturers are different in the related art.
According to an embodiment of the present invention, there is provided an automatic gain control apparatus including: the timer is used for timing the gain updating output of the gain devices of different channels according to time intervals; and the timing gain output module is used for selecting the gain device of the corresponding channel according to the timing to update and output the gain.
In an exemplary embodiment, the automatic gain control apparatus further includes a gain calculation module, configured to calculate gain updates of the gain devices of the different channels respectively.
In an exemplary embodiment, the timing gain output module includes a control unit, a selection unit and an output unit, where the control unit is connected to the gain calculation module, the timer and the selection unit, and is configured to analyze configuration information of an automatic gain control device, control the gain calculation module to perform gain calculation, and control a time interval of the timer; the selection unit is connected with the control unit, the timer and the output unit and is used for selecting and outputting the gain update of the gain device of the corresponding channel through the output unit according to the time interval of the timer under the control of the control unit; and the output unit is connected with the selection unit and used for updating and outputting the gain of the gain device of the selected corresponding channel.
In one exemplary embodiment, the timer times the gain update output by generating a gain update signal for the gain device of the corresponding channel at time intervals.
In an exemplary embodiment, the control unit is further configured to configure the time interval of the timer according to the number of channels and the control timing of the different gain devices.
According to another embodiment of the present invention, there is provided a timing output method of gain update, which is applied to the automatic gain control device in any of the above exemplary embodiments, and includes: timing the gain update outputs of the gain devices of different channels at time intervals; and selecting a gain device of a corresponding channel according to the timing to update and output the gain.
In an exemplary embodiment, before timing the gain update outputs of the gain devices of different channels at time intervals, the method further comprises: the time interval is configured according to the number of channels and the control timing of the different gain devices.
In an exemplary embodiment, before selecting the gain device of the corresponding channel according to the timing to perform the gain updating output, the method further includes: and respectively calculating gain updating output values of the gain devices of the different channels.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to, when executed, perform the steps of any of the method embodiments described above.
According to yet another embodiment of the present invention, there is also provided an electronic device, comprising a memory in which a computer program is stored and a processor configured to run the computer program to perform the steps of any of the method embodiments described above.
According to the invention, in order to be compatible with gain devices with different control time sequences, the timer is adopted to time the gain updating output of different gain devices, so that the problem that the gain updating time of each gain device cannot be aligned to output due to different gain updating time and control time sequences of the gain devices from different manufacturers in the related art is solved, and the effect of updating the timing gain of a multichannel and multi-gain device can be realized.
Drawings
Fig. 1 is a schematic diagram of implementing automatic gain control in the related art;
FIG. 2 is a diagram illustrating a timing of gain update in the related art;
fig. 3 is a block diagram of the structure of an automatic gain control apparatus according to an embodiment of the present invention;
fig. 4 is a block diagram of an automatic gain control apparatus according to another embodiment of the present invention;
fig. 5 is a block diagram of an automatic gain control apparatus according to still another embodiment of the present invention;
FIG. 6 is a flow chart of a method of timed output of gain updates according to an embodiment of the present invention;
FIG. 7 is a block diagram of an implementation of automatic gain control according to an embodiment of the present invention;
fig. 8 is a block diagram of the internal structure of the generic timing synchronization module 201 according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of the operation of module 301 according to an embodiment of the present invention;
FIG. 10 is a timing output method of gain updating according to another embodiment of the present invention;
fig. 11 is a timing diagram for gain device update according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 3 is a block diagram of an automatic gain control apparatus according to an embodiment of the present invention, and as shown in fig. 3, the apparatus includes a timer 10 and a timing gain output module 20.
A timer 10 for timing the gain update output of the gain devices of different channels at time intervals;
and a timing gain output module 20, configured to select a gain device of a corresponding channel according to the timing to perform gain updating output.
Through the automatic gain control device provided by the embodiment, the timer is used for timing the gain updating output of different gain devices, and when the gain updating occurs, the different gain devices of the same channel can be ensured to be updated simultaneously, so that the problem that the gain updating time of each gain device cannot be aligned to be output due to different gain updating time and control time sequences of each gain device from different manufacturers in the related technology is solved, and the effect of updating the timing gain of a multi-channel and multi-gain device can be realized.
Fig. 4 is a block diagram showing the structure of an automatic gain control apparatus according to another embodiment of the present invention, as shown in fig. 4, which includes all the blocks shown in fig. 3, in addition,
and the gain calculation module 30 is configured to calculate gain update output values of the gain devices of the different channels respectively.
Fig. 5 is a block diagram of an automatic gain control apparatus according to still another embodiment of the present invention, as shown in fig. 5, the apparatus includes all the blocks shown in fig. 4, and the timing gain output block further includes a control unit 21, a selection unit 22 and an output unit 23, wherein,
the control unit 21, connected to the gain calculation module 30, the timer 10 and the selection unit 22, is configured to analyze configuration information of an automatic gain control apparatus, control the gain calculation module 30 to perform gain calculation, and control a time interval of the timer 10;
and a selecting unit 22, connected to the control unit 21, the timer 10 and the output unit 23, and configured to select, according to the time interval of the timer 10, to output the gain updating output value of the gain device of the corresponding channel through the output unit 23 under the control of the control unit 21.
And the output unit 23 is connected to the selection unit 22 and is used for updating and outputting the gain of the gain device of the selected corresponding channel.
In the present embodiment, the timer 10 times the gain update output by generating a gain update signal of the gain device of the corresponding channel at time intervals.
In this embodiment, the control unit 21 is further configured to configure the time interval of the timer 10 according to the number of channels and the control timing of different gain devices.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
In the present embodiment, a timing output method of gain update operating in the automatic gain control device is provided, and fig. 6 is a flowchart of the timing output method of gain update according to the embodiment of the present invention, as shown in fig. 6, the flowchart includes the following steps:
step S602, timing is performed for the gain updating output of the gain devices of different channels according to time intervals;
and step S604, selecting the gain device of the corresponding channel according to the timing to update and output the gain.
Before step S602 in this embodiment, the method may further include: the time interval is configured according to the number of channels and the control timing of the different gain devices.
Before step S604 of this embodiment, the method may further include: and respectively calculating the gain updating output values of the gain devices of the different channels.
Through the steps, the timer is adopted to time the gain updating output of different gain devices, so that the problem that the gain updating time and the control time sequence of each gain device are different due to the fact that VGA and ATT in the same channel are from different manufacturers in the related technology is solved, and the different gain devices in the same channel can be updated simultaneously.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., a Read-Only Memory/Random Access Memory (ROM/RAM), a magnetic disk, an optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present invention.
In order to facilitate understanding of the technical solutions provided by the present invention, the following detailed description will be made with reference to embodiments of specific scenarios.
Fig. 7 is a schematic diagram of a module structure for implementing automatic gain control according to an embodiment of the present invention, and as shown in fig. 7, in this embodiment, the general timing synchronization module 210 is an automatic gain control AGC device that adds a timer and a timing gain output module. Fig. 8 is a block diagram of an internal structure of a universal timing synchronization module according to an embodiment of the disclosure, and as shown in fig. 8, the universal timing synchronization module 201 further includes a module 101, a module 102, a module 201, a module 301, a module 401, a module 501, and a module 502. The functions of the modules are described in detail below:
the module 201 is mainly used for completing analysis of configuration information of each part of the module AGC, and controlling gain calculation mode selection of the module 101 and the module 102, time interval of the module 301, and output of polling by selecting different channels. The module 201 functions as the control module in the above-described embodiment.
The module 101 and the module 102 are mainly used for calculating the program control value of the gain output gain device. The modules 101 and 102 are functionally equivalent to the output units in the above embodiments, and there may be a plurality of modules, and the number of the modules corresponds to the number of channels.
A module 301 for generating the enable synchronization signal at time intervals, the module 301 functionally corresponding to the timer in the above-described embodiment.
And a module 401 for selecting simultaneous outputs of different channels at regular time. The module 401 functionally corresponds to the selection unit in the above-described embodiment.
And the module 501 and the module 502 are used for completing the control mode output of different channel gain devices. The modules 501 and 502 are functionally equivalent to the output units in the above embodiments, and there may be a plurality of modules, and the number of the modules corresponds to the number of channels.
Fig. 9 is a schematic diagram of an operation of a module 301 according to an embodiment of the present invention, in this embodiment, an updated output is determined simultaneously according to a configured time Interval (Interval) and a gain change, and a time slice 0, a time slice 1, and a time slice n are timer flags and gain changes of corresponding channels are valid simultaneously, so that gains of different gain devices of the same channel are changed simultaneously, and a timer can be flexibly configured according to timings of different gain devices.
Fig. 10 is a timing output method of gain update according to another embodiment of the present invention, as shown in fig. 10, the method may include the steps of:
step S1001, scene analysis, specifically, scene analysis mainly solves the number of external channels and gain devices;
step S1002, configuring software, specifically, completing time interval and channel number configuration by the software configuration;
step S1003, integrating codes, specifically, completing embedding of the automatic gain module.
Fig. 11 is a timing diagram of updating gain devices according to an embodiment of the present invention, in the embodiment of the present invention, only the control timing sequence and the number of channels of the gain devices need to be determined in the module, so as to upgrade the existing module, and at the same time, to flexibly configure the timing updating of the gain, and to generate the time slice corresponding to the channel by using the timer to output the gain updating flag that changes at this time, so as to ensure the timing updating of multiple devices or multiple channels.
An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, 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.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into various integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. An automatic gain control apparatus, comprising:
the timer is used for timing the gain updating output of the gain devices of different channels according to time intervals;
and the timing gain output module is used for selecting the gain device of the corresponding channel according to the timing to update and output the gain.
2. The apparatus of claim 1, comprising:
and the gain calculation module is used for respectively calculating the gain update of the gain devices of the different channels.
3. The apparatus of claim 2, wherein the timing gain output module comprises a control unit, a selection unit, and an output unit, wherein,
the control unit is connected with the gain calculation module, the timer and the selection unit and is used for analyzing the configuration information of the automatic gain control device, controlling the gain calculation module to carry out gain updating calculation and controlling the time interval of the timer;
the selection unit is connected with the control unit, the timer and the output unit and is used for selecting and outputting the gain update of the gain device of the corresponding channel through the output unit according to the time interval of the timer under the control of the control unit;
and the output unit is connected with the selection unit and is used for updating and outputting the gain of the gain device of the selected corresponding channel.
4. The apparatus of claim 1, wherein the timer times the gain update output by generating a gain update signal for the gain device of the corresponding channel at intervals.
5. The apparatus of claim 3,
the control unit is further configured to configure the time interval of the timer according to the number of channels and the control timings of different gain devices.
6. A timing output method of gain update applied to the automatic gain control apparatus according to any one of claims 1 to 5, comprising:
timing the gain update outputs of the gain devices of different channels at time intervals;
and selecting the gain device of the corresponding channel according to the timing to update and output the gain.
7. The method of claim 6, prior to timing the gain update outputs of the gain devices of different channels at intervals, further comprising:
the time interval is configured according to the number of channels and the control timing of the different gain devices.
8. The method of claim 6, before selecting the gain device of the corresponding channel according to the timing to output the gain update, further comprising:
and respectively calculating gain updating output values of the gain devices of the different channels.
9. A computer-readable storage medium, in which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method of one of claims 6 to 8.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method as claimed in any of claims 6 to 8 are implemented when the computer program is executed by the processor.
CN202111152878.3A 2021-09-29 2021-09-29 Automatic gain control device and gain updating timing output method Pending CN115882801A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111152878.3A CN115882801A (en) 2021-09-29 2021-09-29 Automatic gain control device and gain updating timing output method
PCT/CN2022/078448 WO2023050714A1 (en) 2021-09-29 2022-02-28 Automatic gain control apparatus and gain update timing output method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111152878.3A CN115882801A (en) 2021-09-29 2021-09-29 Automatic gain control device and gain updating timing output method

Publications (1)

Publication Number Publication Date
CN115882801A true CN115882801A (en) 2023-03-31

Family

ID=85756259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111152878.3A Pending CN115882801A (en) 2021-09-29 2021-09-29 Automatic gain control device and gain updating timing output method

Country Status (2)

Country Link
CN (1) CN115882801A (en)
WO (1) WO2023050714A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202001B (en) * 2006-03-24 2017-05-10 Nxp股份有限公司 Automatic gain control circuit and control method thereof
US7570934B2 (en) * 2006-04-18 2009-08-04 Analog Devices, Inc. Automatic gain control circuit
JP4612607B2 (en) * 2006-10-16 2011-01-12 株式会社東芝 Radio receiving apparatus and radio receiving method
US8848110B2 (en) * 2010-03-29 2014-09-30 Silicon Laboratories Inc. Mixed-mode receiver circuit including digital gain control
CN103414525B (en) * 2013-07-18 2015-04-01 中国电子科技集团公司第四十一研究所 System and method for automatically adjusting channel output level of superheterodyne receiving analytical instrument

Also Published As

Publication number Publication date
WO2023050714A1 (en) 2023-04-06

Similar Documents

Publication Publication Date Title
CN109508198B (en) Application program installation method and device, storage medium and terminal
CN110265052B (en) Signal-to-noise ratio determining method and device for radio equipment, storage medium and electronic device
JP5710680B2 (en) System and method for reducing factory program time for wireless devices
CN108234293B (en) Expression management method, expression management device and intelligent terminal
CN103593217A (en) Method and terminal for adjusting hook key start application order of earphone
CN111324378B (en) Configuration method, device and equipment for video monitoring application software
CN110543327A (en) Service component multiplexing method and device, computer equipment and storage medium
CN110636432A (en) Microphone testing method and related equipment
CN115882801A (en) Automatic gain control device and gain updating timing output method
CN111200744B (en) Multimedia playing control method and device and intelligent equipment
CN111327319A (en) Multichannel analog signal sampling method and device
US7180880B2 (en) Transmission power control method and apparatus
CN115296753A (en) Programmable customized broadband anti-interference automatic test system
CN110471573B (en) Infrared signal adjusting method, device, equipment, medium and infrared touch frame
CN109286422B (en) Intelligent separation device and method for adjusting noise coefficient of radio frequency link
CN112965733A (en) Component library updating method and device, electronic equipment and readable storage medium
CN111641953B (en) Configuration method and device of radio frequency link, radio frequency system and storage medium
CN108631739B (en) Variable gain amplifier circuit and method for designing the same
CN110597700A (en) Server testing method and device
CN107015830B (en) Method and device for upgrading audio playing system and audio playing equipment
CN112214486B (en) Data storage method, system and device
EP2137606B1 (en) Method and apparatus for converting signals
CN115441974A (en) Radio station broadcast management method, device, equipment and storage medium
CN105681863A (en) Playing control method and device in audio and video playing system
EP2562990A1 (en) Method, device and terminal for editing and playing music according to data download speed

Legal Events

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