CN107147368B - Gain adjusting method and device for gain amplifier - Google Patents

Gain adjusting method and device for gain amplifier Download PDF

Info

Publication number
CN107147368B
CN107147368B CN201710258449.1A CN201710258449A CN107147368B CN 107147368 B CN107147368 B CN 107147368B CN 201710258449 A CN201710258449 A CN 201710258449A CN 107147368 B CN107147368 B CN 107147368B
Authority
CN
China
Prior art keywords
gain
power
interval
target
amplifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710258449.1A
Other languages
Chinese (zh)
Other versions
CN107147368A (en
Inventor
郑方
孙文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Shunjiu Electronic Technology Co ltd
Original Assignee
Shanghai Shunjiu Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Shunjiu Electronic Technology Co ltd filed Critical Shanghai Shunjiu Electronic Technology Co ltd
Priority to CN201710258449.1A priority Critical patent/CN107147368B/en
Publication of CN107147368A publication Critical patent/CN107147368A/en
Application granted granted Critical
Publication of CN107147368B publication Critical patent/CN107147368B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G3/00Gain control in amplifiers or frequency changers without distortion of the input signal
    • H03G3/20Automatic control
    • H03G3/30Automatic control in amplifiers having semiconductor devices
    • H03G3/3036Automatic control in amplifiers having semiconductor devices in high-frequency amplifiers or in frequency-changers
    • H03G3/3042Automatic control in amplifiers having semiconductor devices in high-frequency amplifiers or in frequency-changers in modulators, frequency-changers, transmitters or power amplifiers

Abstract

The embodiment of the invention provides a gain adjustment method and device of a gain amplifier. The method comprises the following steps: if the signal power output by using the initial gain is larger than the upper limit value of a preset power interval, taking the minimum gain of the gain amplifier as a target gain; if the signal power is smaller than the lower limit value of the preset power interval, taking the maximum gain of the gain amplifier as a target gain; searching a power adjustment coefficient corresponding to the difference between the target gain and the initial gain, wherein the gain variation is the gain mapping table; if the product of the signal power and the power adjustment coefficient is within a preset power interval, searching a gain variable quantity corresponding to the ratio of the product of the signal power and the power adjustment coefficient to the target power from a gain mapping table; the current gain of the gain amplifier is adjusted to be the sum of the initial gain and the gain variation, and the problem of low convergence speed of the existing AGC is solved.

Description

Gain adjusting method and device for gain amplifier
Technical Field
The present invention relates to gain control technologies, and in particular, to a method and an apparatus for adjusting gain of a gain amplifier.
Background
When an amplitude modulation receiver receives a radio station signal, because the power of each transmitting station is large or small, the distances between the transmitting stations and the receiver are far and near different, and the multipath effect and fading in the radio wave propagation process cause that the useful signal intensities induced on a receiving antenna are very different and often have very large fluctuation changes, which may cause that some circuits (such as a detector) cannot work normally and lose signals when receiving weak signals, and cause the blockage (nonlinear distortion) of an amplifying circuit when receiving strong signals. For this purpose, almost without exception, Automatic Gain Control (AGC) circuits must be used in the receiving device to compress the range of the useful signal strength.
The existing automatic gain control circuit comprises a gain amplifier, an AGC detector and a series of filters. In practical use, when the input signal is large, the signal output to the amplifier by the AGC detector becomes large, so that the gain of the amplifier is reduced to reduce the signal strength of the output signal. When the input signal is small, the signal output to the amplifier by the AGC detector is reduced, so that the gain of the amplifier is increased to increase the signal intensity of the output signal, and further, the output signals corresponding to the input signals with different intensities are kept stable.
The existing AGC circuit is a standard feedback loop, the whole system is a continuous tracking process, and is gradually adjusted, and in order to ensure sufficient stability and noise suppression capability, the low bandwidth characteristic of the loop also determines that the whole tracking and stabilizing process is slow. Therefore, the existing AGC is not suitable for some communication fields, for example, in BLE (Bluetooth Low Energy) data transmission, since a preamble (a preamble is a group of bits located at the beginning of a data packet, and a receiver can synchronize and prepare to receive actual data) is very short, the AGC adjustment is not completed within the period of the preamble, which causes signal variation and affects the receiving performance.
Disclosure of Invention
The embodiment of the invention provides a gain adjustment method and device of a gain amplifier, which are used for solving the problem of low convergence speed of the existing AGC.
In a first aspect, an embodiment of the present invention provides a method for adjusting a gain of a gain amplifier, including:
if the signal power output by using the initial gain is larger than the upper limit value of a preset power interval, taking the minimum gain of the gain amplifier as a target gain; if the signal power is smaller than the lower limit value of the preset power interval, taking the maximum gain of the gain amplifier as a target gain;
searching a power adjustment coefficient corresponding to the difference between the target gain and the initial gain, wherein the gain variation is the gain mapping table;
if the product of the signal power and the power adjustment coefficient is in a preset power interval, searching a gain variable quantity corresponding to the power adjustment coefficient as the ratio of the product to the target power from a gain mapping table; the target power is any power in a sub-interval of a preset power interval;
and adjusting the current gain of the gain amplifier to be the sum of the initial gain and the gain change amount.
In a possible implementation manner of the first aspect, the preset power interval is a power interval corresponding to a sampling voltage interval of a functional module connected to the output terminal of the gain amplifier, and the sub-interval is a power interval corresponding to a desired sampling voltage interval of the functional module.
In another possible implementation manner of the first aspect, the method further includes:
and if the product is not in the preset power interval, taking the average value of the minimum gain and the maximum gain of the gain amplifier as a target gain, and searching a power adjustment coefficient corresponding to the difference between the target gain and the initial gain as the gain variation from the gain mapping table again.
In another possible implementation manner of the first aspect, if the signal power is within the subinterval, the initial gain of the gain amplifier is not adjusted;
if the signal power is not in the sub-interval and the signal power belongs to the preset power interval, searching a gain variable quantity corresponding to the power adjustment coefficient which is the ratio of the signal power and the target power from a gain mapping table.
In another possible implementation manner of the first aspect, a difference between two adjacent gain variation amounts in the gain mapping table is 3 dB.
In another possible implementation manner of the first aspect, if the signal power output by using the initial gain is greater than an upper limit value of a preset power interval, taking a minimum gain of the gain amplifier as a target gain specifically includes:
if the signal power is larger than the upper limit value of the preset power interval, judging whether the initial gain is the minimum gain of the gain amplifier;
if not, taking the minimum gain of the gain amplifier as the target gain;
if the signal power is smaller than the lower limit value of the preset power interval, taking the maximum gain of the gain amplifier as a target gain, specifically comprising:
if the signal power is smaller than the lower limit value of the preset power interval, judging whether the initial gain is the maximum gain of the gain amplifier;
and if not, taking the maximum gain of the gain amplifier as the target gain.
In another possible implementation manner of the first aspect, the signal power is an average value of power output by the gain amplifier with an initial gain in a unit time length.
In a second aspect, an embodiment of the present invention provides a gain adjustment apparatus for a gain amplifier, including:
the target gain determining module is used for taking the minimum gain of the gain amplifier as a target gain when the signal power output by using the initial gain is greater than the upper limit value of the preset power interval; when the signal power is smaller than the lower limit value of the preset power interval, taking the maximum gain of the gain amplifier as a target gain;
the power adjustment coefficient searching module is used for searching a power adjustment coefficient corresponding to the difference between the target gain and the initial gain, wherein the gain variation is the gain mapping table;
a gain variation searching module, configured to search, when a product of the signal power and the power adjustment coefficient is within a preset power interval, a gain variation corresponding to a ratio of the product and a target power of the power adjustment coefficient from a gain mapping table; the target power is any power in a sub-interval of a preset power interval;
and the gain adjusting module is used for adjusting the current gain of the gain amplifier to be the sum of the initial gain and the gain variation.
In a possible implementation manner of the second aspect, the preset power interval is a power interval corresponding to a sampling voltage interval of a functional module connected to the output end of the gain amplifier, and the subinterval is a power interval corresponding to a desired sampling voltage interval of the functional module.
In another possible implementation manner of the second aspect, the gain variation searching module is further configured to, when the product is not within the preset power interval, use an average value of a minimum gain and a maximum gain of the gain amplifier as a target gain, and invoke the power adjustment coefficient searching module.
In another possible implementation manner of the second aspect, the gain adjustment module is further configured to, when the signal power is within the subinterval, not adjust the initial gain of the gain amplifier;
the gain variation searching module is further configured to search, when the signal power is not within the sub-interval and the signal power belongs to the preset power interval, a gain variation corresponding to a ratio of the signal power to a target power of a power adjustment coefficient from a gain mapping table.
In another possible implementation manner of the second aspect, a difference between two adjacent gain variation amounts in the gain mapping table is 3 dB.
In another possible implementation manner of the second aspect, the target gain determining module includes a determining unit and a determining unit, and specifically includes:
the judging unit is configured to judge whether the initial gain is the minimum gain of the gain amplifier when the signal power is greater than an upper limit value of the preset power interval;
the determining module is configured to take the minimum gain of the gain amplifier as the target gain when the determining module determines that the initial gain is not the minimum gain of the gain amplifier;
the judging unit is further configured to judge whether the initial gain is the maximum gain of the gain amplifier when the signal power is smaller than the lower limit value of the preset power interval;
the determining module is configured to determine that the initial gain is not the maximum gain of the gain amplifier at the determining module, and use the maximum gain of the gain amplifier as the target gain.
In another possible implementation manner of the second aspect, the signal power is an average value of power output by the gain amplifier with an initial gain in a unit time length.
The gain adjustment method and device for the gain amplifier provided in the embodiments of the present invention first obtain the signal power output by the gain amplifier under the initial gain, if the signal power is greater than the upper limit value of the preset power interval, use the minimum gain of the gain amplifier as the target gain, if the signal power is less than the lower limit value of the preset power interval, use the maximum gain of the gain amplifier as the target gain, and search the gain mapping table for the power adjustment coefficient corresponding to the difference between the target gain and the initial gain, where the gain variation is the difference between the target gain and the initial gain. Then, the product of the signal power and the power adjustment coefficient is obtained, and when the product is in a preset power interval, the gain variation corresponding to the ratio of the product of the power adjustment coefficient and the target power is searched from the gain mapping table, so that the current gain of the gain amplifier is adjusted to be the sum of the initial gain and the gain variation. The method of the embodiment rapidly determines the gain variation of the gain amplifier through limited trial and error, and further solves the problem of low convergence rate of the existing AGC module, thereby improving the receiving reliability and stability of signals.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart illustrating a first embodiment of a method for adjusting gain of a gain amplifier according to the present invention;
fig. 1a is an application scenario diagram of a gain adjustment method of a gain amplifier according to the present invention;
fig. 2 is a schematic flowchart illustrating a second method for adjusting gain of a gain amplifier according to an embodiment of the present invention;
fig. 3 is a schematic flowchart illustrating a third method for adjusting gain of a gain amplifier according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a gain adjustment apparatus according to a first embodiment of the present invention;
fig. 5 is a schematic structural diagram of a second gain adjustment apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In practical application, sometimes gain control needs to be completed within a short time, so that functional modules such as an ADC and the like can sample signals with appropriate amplitude and maximum signal-to-noise ratio, and at this time, an AGC capable of fast convergence is needed, thereby ensuring that the problem that signal change and reception performance are affected due to instability of the AGC during data reception is avoided. However, the existing AGC convergence speed is slow and cannot meet the above requirements, and the gain adjustment method of the gain amplifier provided by the embodiment of the invention quickly determines the gain variation of the gain amplifier through limited trial and error, thereby solving the problem of slow AGC convergence speed.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 1 is a schematic flow chart of a first embodiment of a gain adjustment method for a gain amplifier according to the present invention. The execution subject of this embodiment is a gain adjustment device, which may be a part of the processor or a separate device. The embodiment relates to a specific process for quickly adjusting the gain of a gain amplifier by a gain adjusting device. As shown in fig. 1, the method of this embodiment may include:
s101, if the signal power output by using the initial gain is larger than the upper limit value of a preset power interval, taking the minimum gain of a gain amplifier as a target gain; and if the signal power is smaller than the lower limit value of the preset power interval, taking the maximum gain of the gain amplifier as the target gain.
It should be noted that the gain ranges corresponding to different types of gain amplifiers are different, and after the gain amplifier is selected, the gain range of the gain amplifier is also determined.
Specifically, the gain of the gain amplifier corresponding to the current sampling time is an initial gain, the signal strength of the initial signal input to the gain amplifier is changed under the action of the initial gain, and the signal with the changed strength is output from the output end of the gain amplifier. The gain adjusting device obtains the signal power output by the output end of the gain amplifier at the current moment.
Since the signal output by the gain amplifier is an analog signal, the signal power may be the power of the analog signal or the power of the converted digital signal, and the calculation method of the signal power is the prior art and is not described herein again.
The signal output by the gain amplifier may be a single-path signal or two-path signals, such as an I signal and a Q signal (where the I signal and the Q signal are two paths of orthonormal signals commonly used in a digital communication system). Optionally, the signal output by the gain amplifier may also be a signal in other forms, which is not limited in this embodiment.
When the signals output by the gain amplifier are I signal and Q signal, the first power of the two signals can be obtained according to the formula Ps ═ I · I + Q · Q.
Optionally, in order to improve the accuracy of obtaining the signal power, the signal power of this embodiment may be an average value of the power output by the gain amplifier with the initial gain in the unit time length. For example, if the sampling frequency is 2s and the unit time length is 10s, 5 sampling points are included in the unit time length, and the average value of the power output by the gain amplifier at the 5 sampling points by using the initial gain is taken as the signal power.
In order to realize the fast adjustment of the gain amplifier, the gain adjustment device compares the obtained signal power with the boundary value of the preset power interval, and judges whether the signal power is within the preset power interval. And if the signal power is determined to be larger than the upper limit value of the preset power interval, taking the minimum gain of the gain amplifier as the target gain, and if the signal power is determined to be smaller than the lower limit value of the preset power interval, taking the maximum gain of the gain amplifier as the target gain. So that the gain adjusting device adjusts the signal power by using the target gain.
In a possible implementation manner of this embodiment, if the signal power in the above S101 is greater than the upper limit value of the preset power interval, the specific example that the minimum gain of the gain amplifier is taken as the target gain may be: and if the signal power is larger than the upper limit value of the preset power interval, judging whether the initial gain is the minimum gain of the gain amplifier, and if not, taking the minimum gain of the gain amplifier as the target gain.
Specifically, after the gain adjustment device determines that the signal power is greater than the upper limit value of the preset power interval, it is further required to determine whether the initial gain of the gain amplifier at this time is the minimum gain of the gain amplifier, and if not, the minimum gain of the gain amplifier is taken as the target gain. If the initial gain of the gain amplifier at this time is determined to be the minimum gain of the gain amplifier, it indicates that the gain of the gain amplifier at this time has been adjusted to be the minimum, but the output signal still exceeds the receiving range of the subsequent functional module, which is not considered in this embodiment.
In S101, if the signal power is smaller than the lower limit of the preset power interval, taking the maximum gain of the gain amplifier as the target gain may specifically be: and if the signal power is smaller than the lower limit value of the preset power interval, judging whether the initial gain is the maximum gain of the gain amplifier, and if not, taking the maximum gain of the gain amplifier as the target gain.
Specifically, when the gain adjustment device determines that the signal power is smaller than the lower limit value of the preset power interval, it is further required to determine whether the initial gain of the gain amplifier at this time is the maximum gain of the gain amplifier, and if not, the maximum gain of the gain amplifier is taken as the target gain. If the initial gain of the gain amplifier is determined to be the maximum gain of the gain amplifier, it is determined that the gain of the gain amplifier has been adjusted to the maximum, but the output signal still exceeds the receiving range of the subsequent functional module, which is not considered in this embodiment.
S102, searching a power adjustment coefficient corresponding to the difference between the target gain and the initial gain, wherein the gain variation is the gain mapping table.
The gain mapping table of this embodiment stores the corresponding relationship between the gain variation and the power adjustment coefficient. Wherein the power adjustment factor is a multiple of power amplification or reduction. For example, when the difference between the target gain obtained in S101 and the initial gain of the gain amplifier is 3dB, that is, the gain variation of the target gain and the initial gain of the gain amplifier is 3dB, the power adjustment coefficient corresponding to 3dB is found to be 2 from the gain mapping table; when the gain variation is-3 dB, finding out that the power adjustment coefficient corresponding to-3 dB is 1/2 from the gain mapping table; when the gain variation is 6dB, finding out that the power adjustment coefficient corresponding to 6dB is 4 from the gain mapping table; when the gain variation is-6 dB, the power adjustment coefficient corresponding to-6 dB is found to be 1/4 from the gain mapping table.
Optionally, the gain variation in the gain mapping table is (3 × N) dB, where N is an integer greater than or equal to 2.
S103, if the product of the signal power and the power adjustment coefficient is in a preset power interval, searching a gain variable quantity corresponding to the power adjustment coefficient which is the ratio of the product to the target power from a gain mapping table; the target power is any power in a sub-interval of a preset power interval.
And S104, adjusting the current gain of the gain amplifier to be the sum of the initial gain and the gain variation.
Specifically, the gain adjustment device adjusts the signal power by using the obtained power adjustment coefficient, i.e., calculates a product of the signal power and the power adjustment coefficient, and determines whether the product is within the preset power interval. If the product is within the preset power interval, the adjustment of the signal power is successful.
In this embodiment, a target power is determined from the subintervals of the preset power interval, and a ratio of the obtained product to the target power is calculated, which is a power adjustment coefficient. Then, the gain variation corresponding to the ratio (i.e. the power adjustment coefficient) is obtained from the gain mapping table. And adjusting the current gain of the gain amplifier to the sum of the initial gain and the gain variation, thereby realizing the rapid adjustment of the gain amplifier.
The gain adjustment method for the gain amplifier according to the embodiment of the present invention first obtains a signal power output by the gain amplifier under an initial gain, and if the signal power is greater than an upper limit value of a preset power interval, takes a minimum gain of the gain amplifier as a target gain, and if the signal power is less than a lower limit value of the preset power interval, takes a maximum gain of the gain amplifier as a target gain, and searches a power adjustment coefficient corresponding to a gain variation amount that is a difference between the target gain and the initial gain from a gain mapping table. Then, the product of the signal power and the power adjustment coefficient is obtained, and when the product is in a preset power interval, the gain variation corresponding to the ratio of the product of the power adjustment coefficient and the target power is searched from the gain mapping table, so that the current gain of the gain amplifier is adjusted to be the sum of the initial gain and the gain variation. The method of the embodiment rapidly determines the gain variation of the gain amplifier through limited trial and error, and further solves the problem of low convergence rate of the existing AGC module, thereby improving the receiving reliability and stability of signals.
In a possible implementation manner of the embodiment of the present invention, fig. 1a is an application scenario diagram of a gain adjustment method of a gain amplifier provided in the present invention. As shown in fig. 1a, the gain amplifier is connected to the gain adjusting device and a functional module, which may be an ADC (Analog-to-Digital Converter) or an AGC detection module. The gain amplifier is used for amplifying or reducing the input signal, and the gain adjusting device is positioned on a feedback branch of the gain amplifier.
In the application scenario shown in fig. 1a, the preset power interval is a power interval corresponding to a sampling voltage interval of a functional module connected to the output end of the gain amplifier, and the subinterval is a power interval corresponding to a desired sampling voltage interval of the functional module.
If the function module connected to the gain amplifier is an ADC, the preset power interval is a power interval corresponding to a sampling voltage interval of the ADC, and the power intervals corresponding to the ADC are different because the ADC models are different, and the corresponding subintervals are different.
When the power of the signal output by the gain amplifier is not within the preset power interval, it indicates that the signal output by the gain amplifier cannot be acquired by the subsequent functional module or cannot be completely acquired by the functional module, and the receiving effect of the signal is further affected. Therefore, the gain of the gain amplifier needs to be adjusted so that the signal output by the gain amplifier falls within the receiving range of the functional module. Furthermore, in order to improve the receiving effect of the functional module on the signal output by the gain amplifier, the power of the signal output by the gain amplifier needs to fall within the subinterval corresponding to the expected sampling voltage of the functional module, so as to achieve efficient receiving of the signal.
Fig. 2 is a schematic flow chart of a second method for adjusting gain of a gain amplifier according to an embodiment of the present invention. On the basis of the above embodiment, as shown in fig. 2, the method of the present embodiment may include:
s201, if the signal power output by using the initial gain is larger than the upper limit value of a preset power interval, taking the minimum gain of a gain amplifier as a target gain; and if the signal power is smaller than the lower limit value of the preset power interval, taking the maximum gain of the gain amplifier as the target gain.
S202, finding a power adjustment coefficient corresponding to a difference between the target gain and the initial gain as a gain variation from the gain mapping table.
S203, judging whether the product of the signal power and the power adjusting coefficient is in the preset power interval.
If so, the steps of S204-S205 are executed, otherwise, the step of S206 is executed.
S204, searching a gain variable quantity corresponding to the power adjustment coefficient which is the ratio of the product and the target power from the gain mapping table.
And S205, adjusting the current gain of the gain amplifier to be the sum of the initial gain and the gain variation.
S206, the average value of the minimum gain and the maximum gain of the gain amplifier is set as the target gain, and the process returns to step S202.
Specifically, the gain adjustment device uses the power adjustment coefficient obtained in S202 to multiply the signal power, and if the obtained product is not in the preset power interval, it indicates that the target gain determined in S201 is not accurate. For example, S201 takes the minimum gain of the gain amplifier as the target gain, and the product determined according to the minimum gain exceeds the lower limit value of the preset power interval, which indicates that the target gain is set too small. In this way, the average value of the minimum gain and the maximum gain of the gain amplifier can be used as the target gain, and the power adjustment coefficient corresponding to the difference between the target gain and the initial gain as the gain variation can be searched again from the gain mapping table. The above step of S203 is then executed, and the steps of S204 and S205 are executed when the product is determined to be within the preset power interval.
For example, the preset power interval is [10mW, 160mW ], the signal power is 8mW, the initial gain of the gain amplifier is-3 dB, and the gain adjustable range of the gain amplifier is [ -12dB, 12dB ]. The target gain is determined to be 12dB and the gain variation is 15dB according to the method of S201 described above. Slave gain mapping
The power adjustment coefficient corresponding to the gain variation of 15dB is found in the table
Figure BDA0001274075160000101
The product of the signal power thus obtained and the power adjustment factor was 256 mW. But the product 256mW is greater than the upper limit value 160mW of the preset power interval. Thus, the gain adjusting device can adjust the gain of the gain amplifier within the range of [ -12dB, 12dB [ -12 dB%]Is set as a target gain, the product 16mW calculated according to the above method belongs to a preset power interval, and then the steps of S204 and S205 described above are performed.
Fig. 3 is a schematic flowchart of a third embodiment of a gain adjustment method for a gain amplifier according to the present invention. On the basis of the above embodiment, as shown in fig. 3, the method of the present embodiment may include:
s301, judging whether the signal power is in the subinterval.
If so, the step S302 is executed, and if not, the steps S303 and S304 are executed.
S302, the initial gain of the gain amplifier is not adjusted.
That is, the gain amplifier determines that the signal power is in the subinterval of the functional module, which indicates that the signal output by the gain amplifier can be well received by the functional module at this time, and the initial gain of the gain amplifier at the current time does not need to be adjusted.
And S303, if the signal power belongs to the preset power interval, searching a gain variable quantity corresponding to the power adjustment coefficient which is the ratio of the signal power and the target power from a gain mapping table.
And S304, adjusting the current gain of the gain amplifier to be the sum of the initial gain and the gain variation.
At this time, when the signal power output by the gain amplifier is not within the sub-interval but within the preset power interval, it is described that the signal power output by the gain amplifier is not within the power interval corresponding to the expected sampling voltage interval of the functional module, and therefore, the signal power at this time may be adjusted to be within the sub-interval by adjusting once.
Specifically, the gain adjustment device obtains a ratio between the signal power and the target power, and obtains a gain variation corresponding to the power adjustment coefficient from the gain mapping table by using the ratio as the power adjustment coefficient. Then, the step S304 is executed to adjust the current gain of the gain amplifier to the sum of the initial gain and the gain variation.
According to the gain adjustment method of the gain amplifier provided by the embodiment of the invention, the condition that the product of the signal power and the power adjustment coefficient is not in the preset power interval and the condition that the signal power is in the subinterval or the signal power is not in the subinterval but in the preset power interval are respectively analyzed, so that the gain conversion value of the gain amplifier can be rapidly determined under different conditions, and the application range of the method is expanded.
Fig. 4 is a schematic structural diagram of a first embodiment of a gain adjustment apparatus of a gain amplifier according to the present invention. The gain adjustment device can be implemented by software, hardware or a combination of software and hardware, and can be a part or all of the processor. As shown in fig. 4, the gain adjustment apparatus of the present embodiment may include:
a target gain determining module 10, configured to use a minimum gain of the gain amplifier as a target gain when the signal power output by using the initial gain is greater than an upper limit value of a preset power interval; and when the signal power is smaller than the lower limit value of the preset power interval, taking the maximum gain of the gain amplifier as a target gain.
The power adjustment coefficient searching module 20 is configured to search a gain mapping table for a power adjustment coefficient corresponding to a difference between the target gain and the initial gain.
A gain variation searching module 30, configured to search, when a product of the signal power and the power adjustment coefficient is within a preset power interval, a gain variation corresponding to a ratio of the product and a target power of the power adjustment coefficient from a gain mapping table; the target power is any power in a sub-interval of a preset power interval.
And a gain adjusting module 40, configured to adjust the current gain of the gain amplifier to be the sum of the initial gain and the gain variation.
The gain adjustment apparatus of the gain amplifier of this embodiment may be used to implement the technical solutions of the above-mentioned method embodiments, and the implementation principle and technical effects are similar, which are not described herein again.
In a possible implementation manner of the embodiment of the present invention, the preset power interval is a power interval corresponding to a sampling voltage interval of a functional module connected to the output end of the gain amplifier, and the subinterval is a power interval corresponding to a desired sampling voltage interval of the functional module.
The gain variation searching module 30 is further configured to, when the product is not within the preset power interval, use an average value of the minimum gain and the maximum gain of the gain amplifier as a target gain, and invoke the power adjustment coefficient searching module 20.
In another possible implementation manner of the embodiment of the present invention, the gain adjustment module 40 is further configured to not adjust the initial gain of the gain amplifier when the signal power is within the subinterval.
The gain variation searching module 30 is further configured to search, when the signal power is not within the sub-interval and the signal power belongs to the preset power interval, a gain variation corresponding to a ratio of the signal power to the target power, where the power adjustment coefficient is the signal power, from a gain mapping table.
Optionally, a difference between two adjacent gain variation values in the gain mapping table is 3 dB.
The gain adjustment apparatus of the gain amplifier of this embodiment may be used to implement the technical solutions of the above-mentioned method embodiments, and the implementation principle and technical effects are similar, which are not described herein again.
Fig. 5 is a schematic structural diagram of a second embodiment of a gain adjustment apparatus of a gain amplifier according to the present invention. On the basis of the above-described embodiment, the target gain determination module 10 of the present embodiment includes the determination unit 101 and the determination unit 102:
a determining unit 101, configured to determine whether the initial gain is the minimum gain of the gain amplifier when the signal power is greater than the upper limit value of the preset power interval.
A determining unit 102, configured to take the minimum gain of the gain amplifier as the target gain when the judging unit 101 judges that the initial gain is not the minimum gain of the gain amplifier.
The determining unit 101 is further configured to determine whether the initial gain is the maximum gain of the gain amplifier when the signal power is smaller than the lower limit of the preset power interval.
A determining unit 102, configured to take the maximum gain of the gain amplifier as the target gain when the determining unit 101 determines that the initial gain is not the maximum gain of the gain amplifier.
Optionally, the signal power is an average value of power output by the gain amplifier using an initial gain in a unit time length.
The gain adjustment apparatus of the gain amplifier of this embodiment may be used to implement the technical solutions of the above-mentioned method embodiments, and the implementation principle and technical effects are similar, which are not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for adjusting a gain of a gain amplifier, comprising:
if the signal power output by using the initial gain is larger than the upper limit value of a preset power interval, taking the minimum gain of the gain amplifier as a target gain; if the signal power is smaller than the lower limit value of the preset power interval, taking the maximum gain of the gain amplifier as a target gain;
searching a power adjustment coefficient corresponding to the difference between the target gain and the initial gain, wherein the gain variation is the gain mapping table;
if the product of the signal power and the power adjustment coefficient is in a preset power interval, searching a gain variable quantity corresponding to the power adjustment coefficient as the ratio of the product to the target power from a gain mapping table; the target power is any power in a sub-interval of a preset power interval;
adjusting a current gain of a gain amplifier to a sum of an initial gain and the gain variation;
wherein the content of the first and second substances,
the preset power interval is a power interval corresponding to a sampling voltage interval of a functional module connected with the output end of the gain amplifier, and the subinterval is a power interval corresponding to an expected sampling voltage interval of the functional module.
2. The method of claim 1, further comprising:
and if the product is not in the preset power interval, taking the average value of the minimum gain and the maximum gain of the gain amplifier as a target gain, and searching a power adjustment coefficient corresponding to the difference between the target gain and the initial gain as the gain variation from the gain mapping table again.
3. The method of claim 1, further comprising:
if the signal power is in the subinterval, the initial gain of the gain amplifier is not adjusted;
if the signal power is not in the sub-interval and the signal power belongs to the preset power interval, searching a gain variable quantity corresponding to the power adjustment coefficient which is the ratio of the signal power and the target power from a gain mapping table.
4. The method according to any of claims 1-3, wherein the difference between two adjacent gain variation values in the gain mapping table is 3 dB.
5. The method according to claim 1, wherein the taking the minimum gain of the gain amplifier as the target gain if the signal power output by the initial gain is greater than the upper limit value of the preset power interval comprises:
if the signal power is larger than the upper limit value of the preset power interval, judging whether the initial gain is the minimum gain of the gain amplifier;
if not, taking the minimum gain of the gain amplifier as the target gain;
if the signal power is smaller than the lower limit value of the preset power interval, taking the maximum gain of the gain amplifier as a target gain, specifically comprising:
if the signal power is smaller than the lower limit value of the preset power interval, judging whether the initial gain is the maximum gain of the gain amplifier;
and if not, taking the maximum gain of the gain amplifier as the target gain.
6. The method of claim 1, wherein the signal power is an average of the power output by the gain amplifier with an initial gain over a unit time period.
7. A gain adjustment apparatus for a gain amplifier, comprising:
the target gain determining module is used for taking the minimum gain of the gain amplifier as a target gain when the signal power output by using the initial gain is greater than the upper limit value of the preset power interval; when the signal power is smaller than the lower limit value of the preset power interval, taking the maximum gain of the gain amplifier as a target gain;
the power adjustment coefficient searching module is used for searching a power adjustment coefficient corresponding to the difference between the target gain and the initial gain, wherein the gain variation is the gain mapping table;
a gain variation searching module, configured to search, when a product of the signal power and the power adjustment coefficient is within a preset power interval, a gain variation corresponding to a ratio of the product and a target power of the power adjustment coefficient from a gain mapping table; the target power is any power in a sub-interval of a preset power interval;
the gain adjustment module is used for adjusting the current gain of the gain amplifier to be the sum of the initial gain and the gain variation;
wherein the content of the first and second substances,
the preset power interval is a power interval corresponding to a sampling voltage interval of a functional module connected with the output end of the gain amplifier, and the subinterval is a power interval corresponding to an expected sampling voltage interval of the functional module.
8. The apparatus of claim 7, wherein the gain variation lookup module is further configured to use an average of a minimum gain and a maximum gain of the gain amplifier as a target gain and invoke the power adjustment coefficient lookup module when the product is not within the preset power interval.
CN201710258449.1A 2017-04-19 2017-04-19 Gain adjusting method and device for gain amplifier Active CN107147368B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710258449.1A CN107147368B (en) 2017-04-19 2017-04-19 Gain adjusting method and device for gain amplifier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710258449.1A CN107147368B (en) 2017-04-19 2017-04-19 Gain adjusting method and device for gain amplifier

Publications (2)

Publication Number Publication Date
CN107147368A CN107147368A (en) 2017-09-08
CN107147368B true CN107147368B (en) 2020-11-24

Family

ID=59773803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710258449.1A Active CN107147368B (en) 2017-04-19 2017-04-19 Gain adjusting method and device for gain amplifier

Country Status (1)

Country Link
CN (1) CN107147368B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110391834B (en) * 2019-07-22 2021-10-29 展讯通信(上海)有限公司 Gain adjustment method, device, relay device and storage medium
CN113473588A (en) * 2020-03-31 2021-10-01 广州海格通信集团股份有限公司 Communication signal processing method, communication signal processing apparatus, computer device, and storage medium
CN111478710B (en) * 2020-04-09 2021-08-20 展讯通信(上海)有限公司 Method and system for suppressing adjacent channel interference, receiver and communication system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7885627B2 (en) * 2003-07-07 2011-02-08 Advanced Micro Devices, Inc. Optimal initial gain selection for wireless receiver
CN100440741C (en) * 2004-06-01 2008-12-03 大唐移动通信设备有限公司 Automatic gain control device and method for mobile communication terminal
CN102111166B (en) * 2010-12-08 2013-07-31 大唐移动通信设备有限公司 Method and equipment for regulating gain of radio-frequency amplifier
CN103024889B (en) * 2012-12-28 2015-06-10 东南大学 Automatic gain control method applied to wireless communication system
JP6204222B2 (en) * 2014-02-19 2017-09-27 パナソニック株式会社 Wireless communication device

Also Published As

Publication number Publication date
CN107147368A (en) 2017-09-08

Similar Documents

Publication Publication Date Title
CN107809258B (en) Automatic gain control method and circuit of wireless communication receiver
US7072632B2 (en) Fast signal detection process
CN102186233B (en) Rapid automatic gain control method, automatic gain control system and receiver system
CN107147368B (en) Gain adjusting method and device for gain amplifier
CN102820898B (en) Gain regulation method and equipment
TW201611554A (en) Automatic gain control circuit and receiver and wireless device comprising the same
CN114204949B (en) Large dynamic quick digital AGC control method
CN107086859A (en) Digital resources obtainment circuit for wireless communication receiver
US9479368B2 (en) Method and apparatus for adjusting pre-distortion coefficient
JP4706871B2 (en) Diversity receiving apparatus and gain adjusting method thereof
JP6395926B2 (en) Signal gain control method, apparatus, and storage medium
CN111130667B (en) Gain adjustment method, device, computer readable storage medium and related equipment
CN101588196B (en) Device and method for gain control
Zhang et al. Digital automatic gain control design with large dynamic range in wireless communication receivers
CN103199881B (en) Auto gain control method, system and receiver
CN109951244B (en) Power measurement and radio frequency receiving gain control method applied to channel simulator
CN104754721A (en) Automatic gain control method and automatic gain control device in time division multiplexing mode
US7734266B2 (en) Adaptive radio frequency receiver
CN116346148A (en) Multi-mode automatic gain control method and system based on SoC
WO2018188193A1 (en) Automatic gain control device and method
KR100665137B1 (en) Apparatus and method of controlling automatic gain wireless packet communication system
CN103296986A (en) Automatic gain control method and device
Maladkar et al. Design and implementation of automatic gain control unit for dual-mode Bluetooth
US8767894B2 (en) Wireless device and receiving method
CN204465882U (en) Automatic gain control equipment under a kind of time division multiplexing

Legal Events

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