CN117674752A - Automatic gain control method, device and equipment for frequency agile chip - Google Patents
Automatic gain control method, device and equipment for frequency agile chip Download PDFInfo
- Publication number
- CN117674752A CN117674752A CN202311364206.8A CN202311364206A CN117674752A CN 117674752 A CN117674752 A CN 117674752A CN 202311364206 A CN202311364206 A CN 202311364206A CN 117674752 A CN117674752 A CN 117674752A
- Authority
- CN
- China
- Prior art keywords
- signal
- amplitude
- signal amplitude
- target signal
- target
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000005070 sampling Methods 0.000 claims abstract description 43
- 238000013507 mapping Methods 0.000 claims abstract description 38
- 230000006870 function Effects 0.000 claims abstract description 21
- 238000001914 filtration Methods 0.000 claims abstract description 17
- 230000015654 memory Effects 0.000 claims description 16
- 230000009467 reduction Effects 0.000 claims description 4
- 238000001514 detection method Methods 0.000 abstract description 10
- 238000013461 design Methods 0.000 description 14
- 238000012545 processing Methods 0.000 description 9
- 238000004364 calculation method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000002238 attenuated effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03G—CONTROL OF AMPLIFICATION
- H03G3/00—Gain control in amplifiers or frequency changers
- H03G3/20—Automatic control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
- H04B1/40—Circuits
- H04B1/44—Transmit/receive switching
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Control Of Amplification And Gain Control (AREA)
Abstract
The invention discloses an automatic gain control method, device and equipment of a frequency agile chip, wherein the method comprises the following steps: obtaining a target signal, wherein the target signal is a signal obtained by carrying out channel attenuation, zero intermediate frequency sampling and narrow-band filtering on a radio frequency signal; determining the actual signal amplitude of the target signal based on a preset mapping relation according to the target signal; and carrying out feedback control on the channel attenuation according to the deviation between the actual signal amplitude and the target signal amplitude. The invention realizes signal detection by utilizing the accuracy of the digital domain, improves the detection accuracy of the signal amplitude value and improves the working efficiency of automatic gain control of the frequency agile chip. And the existing zero intermediate frequency sampling and narrow-band filtering functions of the frequency agile chip are utilized, so that the cost of the device can be reduced.
Description
Technical Field
The invention belongs to the technical field of frequency agile automatic gain control, and particularly relates to an automatic gain control method, device and equipment of a frequency agile chip.
Background
When the frequency agile chip receives and transmits signals, the channel has a large dynamic range, and in order to meet the back-end requirement, the gain and attenuation of the channel are required to be controlled. At present, a special component is arranged on a channel to detect the signal amplitude, and the channel attenuation is subjected to feedback control according to the difference value between the acquired signal amplitude and the target signal amplitude. However, since the channel has a large dynamic range, the component may not be suitable for each dynamic range of the signal, resulting in poor accuracy of the detected signal amplitude value.
Disclosure of Invention
In order to solve the technical problem of poor accuracy of detected signal amplitude values in the prior art, the invention aims to provide an automatic gain control method, an automatic gain control device and automatic gain control equipment for a frequency agile chip, so that the detection accuracy of the signal amplitude values can be improved at least to a certain extent, and the working efficiency of automatic gain control of the Gao Jie frequency agile chip is improved.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
in a first aspect, the present invention provides an automatic gain control method for a frequency agile chip, including:
obtaining a target signal, wherein the target signal is a signal obtained by carrying out channel attenuation, zero intermediate frequency sampling and narrow-band filtering on a radio frequency signal;
determining the actual signal amplitude of the target signal based on a preset mapping relation according to the target signal;
and carrying out feedback control on the channel attenuation according to the deviation between the actual signal amplitude and the target signal amplitude.
In one possible design, the target signal includes a first path of target signal and a second path of target signal, and the determining, according to the target signal, an actual signal amplitude of the target signal based on a preset mapping relationship includes:
acquiring a preset mapping relation table, wherein the preset mapping relation table records the corresponding relation between each first path of signal and each second path of signal and each logarithmic magnitude value;
and searching an actual logarithmic amplitude value matched with the first path of target signals and the second path of target signals in the preset mapping relation table.
In one possible design, the target signal includes a first path of target signal and a second path of target signal, and the determining, according to the target signal, an actual signal amplitude of the target signal based on a preset mapping relationship includes:
acquiring a preset mapping relation function, wherein the preset mapping relation function is used for representing the functional relation between each first path of signal and each second path of signal and each logarithmic amplitude value;
and calculating an actual logarithmic amplitude value according to the first path of target signals and the second path of target signals through the preset mapping relation function.
In one possible design, feedback controlling the channel attenuation according to the deviation between the actual signal amplitude and the target signal amplitude includes:
if the actual signal amplitude deviates from a preset amplitude range, calculating the deviation amount between the actual signal amplitude and the target signal amplitude, and carrying out feedback control on channel attenuation through the deviation amount, wherein the preset amplitude range comprises the target signal amplitude.
In one possible design, if the actual signal amplitude deviates from a preset amplitude range, calculating a deviation amount between the actual signal amplitude and a target signal amplitude, and performing feedback control on channel attenuation through the deviation amount, including:
if the actual signal amplitude exceeds the upper limit of a preset amplitude range, calculating a first deviation amount between the actual signal amplitude and the target signal amplitude, and controlling the channel attenuation increase through the first deviation amount;
if the actual signal amplitude is lower than the lower limit of the preset amplitude range, a second deviation amount between the actual signal amplitude and the target signal amplitude is calculated, and channel attenuation reduction is controlled through the second deviation amount.
In one possible design, the method further comprises:
acquiring an early warning signal, wherein the early warning signal is used for representing that the total signal amplitude of the radio frequency signal after channel attenuation is larger than the maximum sampling amplitude of the zero intermediate frequency sampling;
and controlling the channel attenuation to be increased according to the early warning signal until the total signal amplitude is smaller than or equal to the maximum sampling amplitude of the zero intermediate frequency sampling.
In one possible design, acquiring the early warning signal includes:
acquiring the total signal amplitude acquired by the analog detector;
and judging whether the total signal amplitude is larger than the maximum sampling amplitude of the zero intermediate frequency sampling, and if so, generating an early warning signal.
In one possible design, the method further comprises:
and carrying out feedback control on the channel attenuation according to the deviation between the actual signal amplitude and the target signal amplitude based on a preset delay parameter.
In a second aspect, the present invention provides an automatic gain control apparatus for a frequency agile chip, including:
the acquisition unit is used for acquiring a target signal, wherein the target signal is a signal obtained by carrying out channel attenuation, zero intermediate frequency sampling and narrow-band filtering on a radio frequency signal;
the determining unit is used for determining the actual signal amplitude of the target signal based on a preset mapping relation according to the target signal;
and the control unit is used for carrying out feedback control on the channel attenuation according to the deviation between the actual signal amplitude and the target signal amplitude.
In a third aspect, the present invention provides an electronic device comprising one or more processors and one or more memories having stored therein at least one piece of program code loaded and executed by the one or more processors to implement the operations performed by the method of any of the first aspects.
According to a fourth aspect of embodiments of the present application, there is provided a computer readable storage medium having stored therein at least one computer program instruction that is loaded and executed by a processor to implement the operations performed by the method of any of the first aspects.
The one or more technical schemes provided by the invention at least realize the following technical effects or advantages:
the method comprises the steps of obtaining a target signal, wherein the target signal is a signal obtained by carrying out channel attenuation, zero intermediate frequency sampling and narrow-band filtering on a radio frequency signal; determining the actual signal amplitude of a target signal based on a preset mapping relation; and carrying out feedback control on the channel attenuation according to the deviation between the actual signal amplitude and the target signal amplitude. The invention realizes signal detection by utilizing the accuracy of the digital domain, improves the detection accuracy of the signal amplitude value and improves the working efficiency of automatic gain control of the frequency agile chip. And the existing zero intermediate frequency sampling and narrow-band filtering functions of the frequency agile chip are utilized, so that the cost of the device can be reduced.
Drawings
FIG. 1 is a flowchart of an automatic gain control method of a agile chip according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an automatic gain control method of a frequency agile chip according to an embodiment of the present application;
fig. 3 shows a schematic diagram of a computer system suitable for use in implementing the fuel cell vehicle of the embodiments of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present specification more clear, the technical solutions of the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is apparent that the described embodiments are some embodiments of the present specification, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are intended to be within the scope of the present invention based on the embodiments herein.
Examples
In order to solve the technical problem of poor accuracy of detected signal amplitude values in the prior art, the invention aims to provide an automatic gain control method of a frequency agile chip, which comprises the steps of obtaining a target signal, wherein the target signal is obtained by carrying out channel attenuation, zero intermediate frequency sampling and narrow-band filtering on a radio frequency signal; determining the actual signal amplitude of a target signal based on a preset mapping relation; and carrying out feedback control on the channel attenuation according to the deviation between the actual signal amplitude and the target signal amplitude. The invention realizes signal detection by utilizing the accuracy of the digital domain, improves the detection accuracy of the signal amplitude value and improves the working efficiency of automatic gain control of the frequency agile chip. And the existing zero intermediate frequency sampling and narrow-band filtering functions of the frequency agile chip are utilized, so that the cost of the device can be reduced.
The automatic gain control method of the frequency agile chip will be described in detail below.
Referring to fig. 1 and 2, fig. 1 shows a flowchart of an automatic gain control method of a frequency agile chip according to an embodiment of the present application; fig. 2 shows a schematic diagram of an automatic gain control method of a frequency agile chip according to an embodiment of the present application.
As shown in fig. 1 and 2, in a first aspect, the present invention provides an automatic gain control method of a frequency agile chip, including but not limited to, implementation from step S101 to step S103:
s101, obtaining a target signal, wherein the target signal is a signal obtained by carrying out channel attenuation, zero intermediate frequency sampling and narrow-band filtering on a radio frequency signal;
it will be appreciated that the agile chip comprises a transmitter DAC and a receiver ADC, typically adapted with an FPGA or the like to enable transceiving and processing of signals, for example: the FPGA sends an initial signal to a transmitter DAC through an internal DDS module as a signal source, after the DAC receives the initial signal, the DAC carries out digital-to-analog conversion and analog mixing on the initial signal to obtain the radio frequency signal, the radio frequency signal is subjected to channel attenuation through a receiver ADC, zero intermediate frequency sampling is carried out by the receiver ADC, wherein the zero intermediate frequency sampling can be realized through a chip with the model of AD9004, and finally, the target signal is obtained after narrow-band filtering. It should be noted that, during the transmission process of the radio frequency signal or during the attenuation process of the channel, an interference signal may be introduced, so the signal sampled at zero intermediate frequency may include a useful signal (i.e. a target signal) and the interference signal, and thus the interference signal is filtered through narrowband filtering to obtain the useful signal.
It will be appreciated that the zero intermediate frequency sampling process includes analog mixing so that the resulting target signal is a baseband signal, after which the signal is split into an I (in-phase) path signal and a Q (quadrature) path signal, hereinafter denoted as a first path signal and a second path signal.
S102, determining the actual signal amplitude of the target signal based on a preset mapping relation according to the target signal;
in one possible design of step S102, the target signal includes a first target signal and a second target signal, for example, an I target signal and a Q target signal, and determining, according to the target signal, an actual signal amplitude of the target signal based on a preset mapping relationship includes:
S1021A, acquiring a preset mapping relation table, wherein the preset mapping relation table records the corresponding relation between each first path of signal and each second path of signal and each logarithmic amplitude value;
it can be understood that after the I-path signal and the Q-path signal are obtained, the corresponding signal amplitude can be calculated according to a calculation formula of the signal amplitude, where the calculation formula is as follows:
where a represents the signal amplitude.
Therefore, the corresponding relation between the signal amplitude and the I-path signal and the Q-path signal can be known, and in order to facilitate calculation, the embodiment of the application improves the operation efficiency through the corresponding relation between the I-path signal and the Q-path signal and the logarithmic amplitude value. Then, it is assumed that there are respective first path signals I1, I2, I3,..in, and respective second path signals Q1, Q2, Q3,..qn, and at the same time, respective log amplitude values log a1, log a2, log a3,., log an, n represent the number of the respective paths of signals, and by means of simulation or fitting, etc., the correspondence between the respective first path signals I1, I2, I3,..in, and the respective second path signals Q1, Q2, Q3,..qn and the respective log amplitude values log a1, log a2, log a3,., log an can be obtained, so as to establish the preset mapping relationship table.
S1022A, searching actual logarithmic amplitude values matched with the first path of target signals and the second path of target signals in the preset mapping relation table.
It can be understood that after the first path of target signal and the second path of target signal are obtained, the first path of signal matched with the first path of target signal and the second path of signal matched with the second path of target signal are searched in the preset mapping relation table, and the corresponding actual logarithmic magnitude value can be obtained by matching according to the corresponding relation recorded in the table.
It can be understood that the table look-up method is used to obtain the actual logarithmic magnitude values matched with the first path of target signals and the second path of target signals, and the method has the advantages of simple operation, low resource consumption and the like.
In one possible design of step S102, the target signal includes a first path of target signal and a second path of target signal, and determining, according to the target signal, an actual signal amplitude of the target signal based on a preset mapping relationship includes:
S1021B, obtaining a preset mapping relation function, wherein the preset mapping relation function is used for representing the functional relation between each first path of signal and each second path of signal and each logarithmic amplitude value;
it can be understood that, based on the above-mentioned calculation formula of the signal amplitude, in the embodiment of the present application, each first path of signal and each second path of signal are taken as independent variables, each logarithmic amplitude value is taken as a dependent variable, and a preset mapping relation function is constructed, so that the corresponding logarithmic amplitude value can be obtained through function calculation.
S1022B, calculating an actual logarithmic magnitude value according to the first path of target signals and the second path of target signals through the preset mapping relation function.
It can be understood that, after the first path of target signal and the second path of target signal are obtained, the logarithmic magnitude value can be directly calculated through the preset mapping relation function.
It can be understood that the actual logarithmic magnitude values matched with the first path of target signals and the second path of target signals are obtained through function calculation, and the method has the advantages of high operation speed, high accuracy and the like.
And S103, carrying out feedback control on the channel attenuation according to the deviation between the actual signal amplitude and the target signal amplitude.
In one possible design of step S103, feedback control of the channel attenuation according to the deviation between the actual signal amplitude and the target signal amplitude includes:
if the actual signal amplitude deviates from a preset amplitude range, calculating the deviation amount between the actual signal amplitude and the target signal amplitude, and carrying out feedback control on channel attenuation through the deviation amount, wherein the preset amplitude range comprises the target signal amplitude.
It can be understood that, in order to avoid signal attenuation of the channel high frequency, the embodiment of the application sets the preset amplitude range, that is, the value range corresponding to the target signal amplitude, so as to avoid the problems of channel oscillation, abnormal working state and the like caused by feedback control on the signal attenuation once the actual signal amplitude deviates from the target signal amplitude.
For example: the target signal amplitude is 20, the preset amplitude range is 10 to 30, and when the actual signal amplitude is lower than 10 or higher than 30, the deviation amount between the actual signal amplitude and the target signal amplitude is calculated.
It may be appreciated that in the embodiment of the present application, the step S103 is implemented by using a threshold control logic, for example, an upper limit of the preset amplitude range is set as an upper threshold, a lower limit of the preset amplitude range is set as a lower threshold, and when the upper threshold or the lower threshold is triggered, the deviation amount between the actual signal amplitude and the target signal amplitude is calculated.
In one possible design, if the actual signal amplitude deviates from a preset amplitude range, calculating a deviation amount between the actual signal amplitude and a target signal amplitude, and performing feedback control on channel attenuation through the deviation amount, including:
if the actual signal amplitude exceeds the upper limit of a preset amplitude range, calculating a first deviation amount between the actual signal amplitude and the target signal amplitude, and controlling the channel attenuation increase through the first deviation amount;
for example: setting the upper limit of the preset amplitude range as Amax, setting the actual signal amplitude as A, setting the target signal amplitude as At, calculating a first deviation amount a-At between the actual signal amplitude and the target signal amplitude when the actual signal amplitude exceeds the upper limit of the preset amplitude range, controlling the channel attenuation to be increased by adopting the first deviation amount a-At, for example, the original channel attenuation is 20dB, and controlling the channel attenuation after feedback control to be 30dB.
If the actual signal amplitude is lower than the lower limit of the preset amplitude range, a second deviation amount between the actual signal amplitude and the target signal amplitude is calculated, and channel attenuation reduction is controlled through the second deviation amount.
For example: setting the lower limit of the preset amplitude range as Amin, setting the actual signal amplitude as A, setting the target signal amplitude as At, calculating a second deviation amount At-A between the target signal amplitude as At and the actual signal amplitude when the actual signal amplitude is lower than the lower limit of the preset amplitude range, controlling the attenuation reduction of a channel by adopting the second deviation amount At-A, for example, originally attenuating the channel to 20dB, and controlling the attenuation of the channel to 10dB after feedback control.
In some embodiments, the maximum attenuation gain of the channel attenuation is 75dB and the minimum attenuation gain of the channel attenuation is 0dB.
In one possible design, the method further comprises:
acquiring an early warning signal, wherein the early warning signal is used for representing that the total signal amplitude of the radio frequency signal after channel attenuation is larger than the maximum sampling amplitude of the zero intermediate frequency sampling;
in one possible design, acquiring the early warning signal includes:
acquiring the total signal amplitude acquired by the analog detector;
and judging whether the total signal amplitude is larger than the maximum sampling amplitude of the zero intermediate frequency sampling, and if so, generating an early warning signal.
And controlling the channel attenuation to be increased according to the early warning signal until the total signal amplitude is smaller than or equal to the maximum sampling amplitude of the zero intermediate frequency sampling.
It will be appreciated that the signal acquisition range of the zero intermediate frequency samples has a limit, for example the signal acquisition range of the zero intermediate frequency samples is S1 to S2, whereas if the signal after the radio frequency signal has undergone channel attenuation is greater than S2, the zero intermediate frequency samples may not acquire a portion of the signal greater than their own acquisition range due to saturation.
Therefore, in order to improve the anti-interference capability of the zero intermediate frequency sampling, the embodiment of the application collects the total signal amplitude of the radio frequency signal after the channel attenuation through analog detection, it can be understood that the total signal amplitude refers to the amplitude of the total signal including the useful signal and the interference signal, then the total signal amplitude is compared with the maximum threshold value of the signal collection range of the zero intermediate frequency sampling, if the maximum threshold value is exceeded, it is indicated that the signal of the zero intermediate frequency sampling may not be a complete signal, then the subsequent signal amplitude calculation may not be accurate, therefore, when the total signal amplitude is greater than the maximum threshold value of the signal collection range of the zero intermediate frequency sampling, the embodiment of the application generates the early warning signal to inform the controller to perform feedback control on the channel attenuation, and then the radio frequency signal can be further attenuated through the channel attenuation, so as to obtain the signal meeting the signal collection range of the zero intermediate frequency sampling.
It can be understood that the analog detector adopted in the embodiment of the present application is not effective in acquiring the signal amplitude of the target signal, but in judging whether the signal after channel attenuation can be obtained by zero intermediate frequency sampling, that is, for improving the accuracy of zero intermediate frequency sampling, so that the hardware requirement on the analog detector is lower, and the application does not involve narrow-band filtering of the analog signal, so that the narrow-band filter of the analog signal does not need to be configured as in the prior art, and the hardware cost is further reduced.
In one possible design, the method further comprises:
and carrying out feedback control on the channel attenuation according to the deviation between the actual signal amplitude and the target signal amplitude based on a preset delay parameter.
It can be understood that the delay parameters can be the time interval values of the signal sampling and processing process and the signal feedback to the control process, and the time of the agile frequency chip for automatic gain control can be adjusted by setting different delay parameters so as to meet the requirements of different back ends.
Based on the disclosure, the embodiment of the application obtains the target signal, wherein the target signal is a signal obtained by carrying out channel attenuation, zero intermediate frequency sampling and narrow-band filtering on the radio frequency signal; determining the actual signal amplitude of a target signal based on a preset mapping relation; and carrying out feedback control on the channel attenuation according to the deviation between the actual signal amplitude and the target signal amplitude. The invention realizes signal detection by utilizing the accuracy of the digital domain, improves the detection accuracy of the signal amplitude value and improves the working efficiency of automatic gain control of the frequency agile chip. And the existing zero intermediate frequency sampling and narrow-band filtering functions of the frequency agile chip are utilized, so that the cost of the device can be reduced.
In a second aspect, the present invention provides an automatic gain control apparatus for a frequency agile chip, including:
the acquisition unit is used for acquiring a target signal, wherein the target signal is a signal obtained by carrying out channel attenuation, zero intermediate frequency sampling and narrow-band filtering on a radio frequency signal;
the determining unit is used for determining the actual signal amplitude of the target signal based on a preset mapping relation according to the target signal;
and the control unit is used for carrying out feedback control on the channel attenuation according to the deviation between the actual signal amplitude and the target signal amplitude.
Referring to fig. 3, a schematic diagram of a computer system suitable for use in implementing the electronic device of the embodiments of the present application is shown.
In a third aspect, the present invention provides an electronic device comprising one or more processors and one or more memories having stored therein at least one piece of program code loaded and executed by the one or more processors to implement the operations performed by the method of any of the first aspects.
As shown in fig. 3, the electronic device 400 is embodied in the form of a general purpose computing device. The components of electronic device 400 may include, but are not limited to: the at least one processing unit 410, the at least one memory unit 420, and a bus 430 connecting the various system components, including the memory unit 420 and the processing unit 410.
Wherein the storage unit stores program code that is executable by the processing unit 410 such that the processing unit 410 performs steps according to various exemplary embodiments of the present application described in the above-described "example methods" section of the present specification.
The storage unit 420 may include readable media in the form of volatile storage units, such as Random Access Memory (RAM) 421 and/or cache memory 422, and may further include Read Only Memory (ROM) 423.
The storage unit 420 may also include a program/utility 424 having a set (at least one) of program modules 425, such program modules 425 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 430 may be a local bus representing one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or using any of a variety of bus architectures.
The electronic device 400 may also communicate with one or more external devices 500 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 400, and/or any device (e.g., router, modem, etc.) that enables the electronic device 400 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 450. Also, electronic device 400 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 460. As shown, the network adapter 460 communicates with other modules of the electronic device 400 over the bus 430. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 400, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software that is executed by a processor, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Other examples and implementations are within the scope and spirit of the invention and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or a combination of any of these. In addition, each functional unit may be integrated in one processing unit, each unit may exist alone physically, or two or more units may be integrated in one unit.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, 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 performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate components may or may not be physically separate, and components as control devices may or may not be physical units, may be located in one place, or may be distributed over a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
According to a fourth aspect of embodiments of the present application, there is provided a computer readable storage medium having stored therein at least one computer program instruction that is loaded and executed by a processor to implement the operations performed by the method of any of the first aspects.
The computer readable storage medium may take the form of a portable compact disc read only memory (CD-ROM) and include program code that can be run on a terminal device, such as a personal computer. However, the computer-readable storage medium of the present application is not limited thereto, and in the present application, the readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device
The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
Finally, it should be noted that: the foregoing description is only of the preferred embodiments of the invention and is not intended to limit the scope of the invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. An automatic gain control method of a frequency agile chip is characterized by comprising the following steps:
obtaining a target signal, wherein the target signal is a signal obtained by carrying out channel attenuation, zero intermediate frequency sampling and narrow-band filtering on a radio frequency signal;
determining the actual signal amplitude of the target signal based on a preset mapping relation according to the target signal;
and carrying out feedback control on the channel attenuation according to the deviation between the actual signal amplitude and the target signal amplitude.
2. The method according to claim 1, wherein the target signal includes a first target signal and a second target signal, and the determining, according to the target signal, an actual signal amplitude of the target signal based on a preset mapping relation includes:
acquiring a preset mapping relation table, wherein the preset mapping relation table records the corresponding relation between each first path of signal and each second path of signal and each logarithmic magnitude value;
and searching an actual logarithmic amplitude value matched with the first path of target signals and the second path of target signals in the preset mapping relation table.
3. The method according to claim 1, wherein the target signal includes a first target signal and a second target signal, and the determining, according to the target signal, an actual signal amplitude of the target signal based on a preset mapping relation includes:
acquiring a preset mapping relation function, wherein the preset mapping relation function is used for representing the functional relation between each first path of signal and each second path of signal and each logarithmic amplitude value;
and calculating an actual logarithmic amplitude value according to the first path of target signals and the second path of target signals through the preset mapping relation function.
4. The method of claim 1, wherein feedback controlling the channel attenuation based on the amount of deviation between the actual signal amplitude and the target signal amplitude comprises:
if the actual signal amplitude deviates from a preset amplitude range, calculating the deviation amount between the actual signal amplitude and the target signal amplitude, and carrying out feedback control on channel attenuation through the deviation amount, wherein the preset amplitude range comprises the target signal amplitude.
5. The method of claim 4, wherein if the actual signal amplitude deviates from a preset amplitude range, calculating a deviation amount between the actual signal amplitude and a target signal amplitude, and feedback-controlling channel attenuation by the deviation amount, comprises:
if the actual signal amplitude exceeds the upper limit of a preset amplitude range, calculating a first deviation amount between the actual signal amplitude and the target signal amplitude, and controlling the channel attenuation increase through the first deviation amount;
if the actual signal amplitude is lower than the lower limit of the preset amplitude range, a second deviation amount between the actual signal amplitude and the target signal amplitude is calculated, and channel attenuation reduction is controlled through the second deviation amount.
6. The method according to claim 1, wherein the method further comprises:
acquiring an early warning signal, wherein the early warning signal is used for representing that the total signal amplitude of the radio frequency signal after channel attenuation is larger than the maximum sampling amplitude of the zero intermediate frequency sampling;
and controlling the channel attenuation to be increased according to the early warning signal until the total signal amplitude is smaller than or equal to the maximum sampling amplitude of the zero intermediate frequency sampling.
7. The method of claim 6, wherein acquiring the early warning signal comprises:
acquiring the total signal amplitude acquired by the analog detector;
and judging whether the total signal amplitude is larger than the maximum sampling amplitude of the zero intermediate frequency sampling, and if so, generating an early warning signal.
8. The method according to claim 1, wherein the method further comprises:
and carrying out feedback control on the channel attenuation according to the deviation between the actual signal amplitude and the target signal amplitude based on a preset delay parameter.
9. An automatic gain control device for a agile chip, comprising:
the acquisition unit is used for acquiring a target signal, wherein the target signal is a signal obtained by carrying out channel attenuation, zero intermediate frequency sampling and narrow-band filtering on a radio frequency signal;
the determining unit is used for determining the actual signal amplitude of the target signal based on a preset mapping relation according to the target signal;
and the control unit is used for carrying out feedback control on the channel attenuation according to the deviation between the actual signal amplitude and the target signal amplitude.
10. An electronic device comprising one or more processors and one or more memories, the one or more memories having stored therein at least one piece of program code that is loaded and executed by the one or more processors to implement the operations performed by the method of any of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311364206.8A CN117674752A (en) | 2023-10-19 | 2023-10-19 | Automatic gain control method, device and equipment for frequency agile chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311364206.8A CN117674752A (en) | 2023-10-19 | 2023-10-19 | Automatic gain control method, device and equipment for frequency agile chip |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117674752A true CN117674752A (en) | 2024-03-08 |
Family
ID=90070271
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311364206.8A Pending CN117674752A (en) | 2023-10-19 | 2023-10-19 | Automatic gain control method, device and equipment for frequency agile chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117674752A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1571286A (en) * | 2004-05-10 | 2005-01-26 | 清华大学 | Circuit for eliminating signal amplitude mismatch on orthogonal signal path |
US20100054498A1 (en) * | 2008-08-26 | 2010-03-04 | Nelson Sollenberger | Method and system for audio level detection and control |
CN104954036A (en) * | 2015-07-17 | 2015-09-30 | 广州润芯信息技术有限公司 | Automatic gain control circuit |
CN107659279A (en) * | 2017-09-30 | 2018-02-02 | 杭州雄迈集成电路技术有限公司 | A kind of audio auto gain control method and device |
US11122339B1 (en) * | 2020-10-05 | 2021-09-14 | Charter Communications Operating, Llc | Intelligent tap with dynamically configurable amplifier gain |
CN115333485A (en) * | 2022-07-19 | 2022-11-11 | 昆山九华电子设备厂 | Dynamic power supply system for radio frequency power amplifier and control method |
CN116346148A (en) * | 2023-03-14 | 2023-06-27 | 电子科技大学 | Multi-mode automatic gain control method and system based on SoC |
-
2023
- 2023-10-19 CN CN202311364206.8A patent/CN117674752A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1571286A (en) * | 2004-05-10 | 2005-01-26 | 清华大学 | Circuit for eliminating signal amplitude mismatch on orthogonal signal path |
US20100054498A1 (en) * | 2008-08-26 | 2010-03-04 | Nelson Sollenberger | Method and system for audio level detection and control |
CN104954036A (en) * | 2015-07-17 | 2015-09-30 | 广州润芯信息技术有限公司 | Automatic gain control circuit |
CN107659279A (en) * | 2017-09-30 | 2018-02-02 | 杭州雄迈集成电路技术有限公司 | A kind of audio auto gain control method and device |
US11122339B1 (en) * | 2020-10-05 | 2021-09-14 | Charter Communications Operating, Llc | Intelligent tap with dynamically configurable amplifier gain |
CN115333485A (en) * | 2022-07-19 | 2022-11-11 | 昆山九华电子设备厂 | Dynamic power supply system for radio frequency power amplifier and control method |
CN116346148A (en) * | 2023-03-14 | 2023-06-27 | 电子科技大学 | Multi-mode automatic gain control method and system based on SoC |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2563586C2 (en) | Method and apparatus for performing digital baseband prediction | |
US20150035701A1 (en) | Gnss receiver dynamic spur mitigation techniques | |
CN103019117A (en) | Digitalizer based on PXI e interface | |
CN114616487A (en) | Signal noise filtering method and device, storage medium and laser radar | |
CN117674752A (en) | Automatic gain control method, device and equipment for frequency agile chip | |
KR102129063B1 (en) | Repeater and method for attenuating a signal | |
CN109474358A (en) | For the power detection device of mobile communication, method, apparatus and storage medium | |
CN109462431B (en) | Signal gain compensation method and device | |
CN117395762A (en) | Uplink gain adjustment method, device, equipment and medium | |
CN115086135B (en) | IQ imbalance calibration method and device, electronic equipment and storage medium | |
US9154239B2 (en) | Co-located frequency management and mitigation | |
CN111669134A (en) | Power amplifier power control method, system, equipment and storage medium in TDD mode | |
US10291340B2 (en) | Repeater and signal attenuation method thereof | |
CN114007239A (en) | Service satellite operation state diagnosis method and related device | |
CN117395707B (en) | MTK coupling test method, system and medium | |
CN103995267A (en) | Method for judging satellite navigation anti-interference threshold value based on improved Tang detector | |
KR20240079558A (en) | Apparatus for confirming available frequencies and method thereof | |
CN113054919B (en) | Method, device and equipment for testing digital predistortion signal feedback circuit | |
CN116148779B (en) | Power frequency filtering method, system, storage medium and electronic equipment | |
CN113949397B (en) | Gain-adjustable anti-interference broadband receiver | |
CN109150343A (en) | Detection method, device, communication equipment and the storage medium of collision alarm | |
CN109150330B (en) | Method, device, equipment and storage medium for testing blocking performance of wireless receiver | |
CN117761433A (en) | System electromagnetic compatibility analysis method, device, equipment and storage medium | |
CN117318847B (en) | Frequency shifting device testing method, system, device and medium | |
CN117040938B (en) | Abnormal IP detection method and device, electronic equipment and storage medium |
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 |