Summary of the invention
Based on this, it is necessary to be difficult to meet link gain and input power for the AGC control in traditional base station system
Performance requirement the problem of, a kind of gain is provided and distributes self-adjusting AGC control method, apparatus and system.
To achieve the goals above, the embodiment of the invention provides a kind of gains to distribute self-adjusting AGC control method, packet
Include following steps:
Obtain the signal peak power of the ADC module output end of RF transceiver;
When signal peak power is greater than the first thresholding, pulse signal is started to control to the transmission of the LMT module of RF transceiver;It rises
Control pulse signal is used to indicate LMT module and reduces rf gain according to preset rules;
Detect baseband gain, the current rf gain of LMT module, the overflow status of LMT module and the spilling of ADC module
State obtains testing result;
When testing result meets gain distributive condition, offset is increased to baseband gain, and to LMT module transfer gain
Revise signal;Gain-boosted op amp signal is used to indicate LMT module and reduces offset to default reservation gain.
Gain distributive condition includes the overflow status of LMT module to overflow in one of the embodiments, ADC module
Overflow status is not spill over, and current rf gain is less than the rf gain of last moment, and baseband gain is less than default retain
Gain.
The step of obtaining the signal peak power of ADC module output end of RF transceiver in one of the embodiments,
It further comprises the steps of: later
When signal peak power is less than the second thresholding, restore baseband gain, and send release pulse letter to LMT module
Number;Release pulse signal is used to indicate LMT module recovery rf gain;Second thresholding is less than the first thresholding.
In one of the embodiments, when signal peak power is less than the second thresholding, restore baseband gain, and to LMT
Module send release pulse signal the step of include:
In preset period of time, when the signal peak power that continuously acquires is respectively less than the second thresholding, restore baseband gain, and to
LMT module sends release pulse signal.
In one of the embodiments, according to detection as a result, to baseband gain increase offset, and to LMT module pass
Include: after the step of defeated gain-boosted op amp signal
When baseband gain is greater than or equal to default reservation gain, alarm is generated.
The step of obtaining the signal peak power of ADC module output end of RF transceiver in one of the embodiments,
Include: before
Response time delay count is carried out to the ADC module output end of RF transceiver;
Obtain RF transceiver ADC module output end signal peak power the step of include:
When responding time delay count meter completely, signal peak power is obtained.
It is wrapped after the step of starting to control pulse signal to the transmission of the LMT module of RF transceiver in one of the embodiments,
It includes:
Triggering response time delay count.
On the other hand, the embodiment of the invention also provides a kind of gains to distribute self-adjusting AGC control device, comprising:
Peak power acquiring unit, the signal peak power of the ADC module output end for obtaining RF transceiver;
Unit is started to control, for being sent to the LMT module of RF transceiver when signal peak power is greater than the first thresholding
Control pulse signal;It starts to control pulse signal and is used to indicate LMT module according to preset rules reduction rf gain;
Detection unit, for detecting baseband gain, the current rf gain of LMT module, the overflow status of LMT module and
The overflow status of ADC module, obtains testing result;
Gain adjusting unit, for increasing baseband gain and compensating when the testing result meets gain distributive condition
Value, and to LMT module transfer gain-boosted op amp signal;Gain-boosted op amp signal is used to indicate LMT module and reduces to default reservation gain
Offset.
On the other hand, the embodiment of the invention also provides a kind of gains to distribute self-adjusting AGC control system, including connection
The base band main controller of RF transceiver;RF transceiver includes LMT module and is connected between LMT module and base band main controller
ADC module;
One end of base band main controller connects LMT module, and the other end connects the output end of ADC module;
The step of base band main controller distributes self-adjusting AGC control method for any of the above-described gain.
On the other hand, the embodiment of the invention also provides a kind of computer readable storage medium, it is stored thereon with computer
Program, which is characterized in that realize that any of the above-described gain distributes self-adjusting AGC control when computer program is executed by processor
The step of method.
A technical solution in above-mentioned technical proposal is had the following advantages and beneficial effects:
Spill over (spill over of LMT module and the spill over of ADC module) and LMT based on RF transceiver
The gain of module judges input signal types, realizes the self-adjusting of gain distribution.Specifically, the ADC mould of RF transceiver is obtained
The signal peak power of block output end;When signal peak power is greater than the first thresholding, sent to the LMT module of RF transceiver
Start to control pulse signal;Detect the size of baseband gain, the size of the current rf gain of LMT module, the overflow status of LMT module
And the overflow status of ADC module;When testing result meets gain distributive condition, to baseband gain increase offset, and to
LMT module transfer gain-boosted op amp signal.And then the input of ADC module front end is alleviated to the pressure of AGC thresholding, so that gain is moved on to base
Band gain section, so that input sensitivity of the optimization outside channel under high reject signal, improves the robustness of base station receiver, it is full
The foot performance requirement of link gain and input power.
Specific embodiment
The application in order to facilitate understanding is described more fully the application below with reference to relevant drawings.In attached drawing
Give the preferred embodiment of the application.But the application can realize in many different forms, however it is not limited to this paper institute
The embodiment of description.On the contrary, purpose of providing these embodiments is make it is more thorough and comprehensive to disclosure of this application.
Unless otherwise defined, all technical and scientific terms used herein and the technical field for belonging to the application
The normally understood meaning of technical staff is identical.The term used in the description of the present application is intended merely to description tool herein
The purpose of the embodiment of body, it is not intended that in limitation the application.Term " and or " used herein includes one or more phases
Any and all combinations of the listed item of pass.
In base station system be easy influenced by external interference signal or base station received signal, impacted reason include with
Under, but be not limited to following reason: the influence of base station received signal is and the transmission power of mobile phone because mobile phone is closer apart from base station
Excessive, base station receiver can not carry out corresponding gain reduction again, and RF transceiver analog domain or numeric field is caused to overflow.It is extraneous
The influence of interference signal be due to channel outside direct current or image signal superposition, when these interference signals are smaller, analog domain
Filter be able to suppress these interference;But when interference signal is larger, it will lead to bottom and make an uproar whole lifting, influence input signal
Signal-to-noise ratio and sensitivity.
The measure of traditional above-mentioned influence of elimination is: usually after base station system encounters strong signal, by detecting peak work
Rate is more than to reduce RF transceiver LMT gain after peak power thresholding, but bottom is made when inputting strong jamming to make an uproar lifting, than nothing
AGC is easier to start to control when interference, i.e., LMT gain reduction obtains more, and link gain and input power is made to be unsatisfactory for performance requirement.
And in various embodiments of the present invention, input letter can be judged by the overflow status and gain conditions of RF transceiver
Number type;When recognizing input strong jamming outside channel, link gain is distributed and carries out self-adjusting, mitigates the pressure of AGC thresholding
Power enhances the robustness of RF transceiver.Meet the performance requirement of link gain and input power.
Gain provided by the present application distributes self-adjusting AGC control method, can be applied to application environment as shown in Figure 1
In.Wherein, RF transceiver 102 is connect with base band main controller 104.RF transceiver 102 may include LMT module and ADC module;
The processing chip of base band main controller 104 can be programmable digital chip.
In one embodiment, as shown in Fig. 2, a kind of self-adjusting AGC control method of gain distribution is provided, with the party
Method is applied to be illustrated for the base band main controller 104 in Fig. 1, comprising the following steps:
Step S210 obtains the signal peak power of the ADC module output end of RF transceiver.
Wherein, RF transceiver refers to receive the radio-frequency input signals of analog domain, and sends the radio frequency of numeric field
Output signal;RF transceiver may include ADC module and LMT module, it should be noted that RF transceiver may also include LPF
(Low Pass Filter: low-pass filter) module.RF transceiver can amplify the radio-frequency input signals of analog domain,
Frequency conversion, filtering and analog-to-digital conversion process obtain the radio frequency output signal of numeric field.ADC module refers to can be by consecutive variations
Analog signal be converted to the device or module of discrete digital signal.Signal peak power refers to ADC module output signal
Peak power.
Specifically, radio-frequency input signals input radio frequency transceiver, it is defeated by ADC module after RF transceiver is handled
Treated out signal detects the signal of ADC module output, and then obtains the signal peak function of ADC module output end
Rate.For example, IQ (in-phase/quadrature: inphase/orthogonal) signal of ADC module output is sampled, is corresponded to
The signal peak power of I/Q signal, wherein I/Q signal is the output signal of ADC module.
Step S220 starts to control arteries and veins to the transmission of the LMT module of RF transceiver when signal peak power is greater than the first thresholding
Rush signal;It starts to control pulse signal and is used to indicate LMT module according to preset rules reduction rf gain.
Wherein, the first thresholding refers to predetermined threshold value.LMT module refers to carry out signal at mixing and amplification
The module of reason.LMT module may include low-noise amplifier, frequency mixer and trans-impedance amplifier;Such as the middle radio frequency received is believed
Number successively after low noise amplification, mixing and across resistance enhanced processing, it is transformed to amplified zero frequency signal.Start to control pulse signal
Refer to that driving LMT module reduces the pulse signal of rf gain according to preset rules.
Specifically, the signal peak power that will acquire is compared with preset first thresholding, in signal peak power
When greater than the first thresholding, pulse signal is started to control to the transmission of LMT module, and then LMT module is driven to reduce radio frequency according to preset rules
Gain.
Step S230 detects baseband gain, the current rf gain of LMT module, the overflow status and ADC of LMT module
The overflow status of module, obtains testing result.
Wherein, baseband gain refers to the increased compensating gain of base band main controller.Rf gain refers to LMT module
Gain.The overflow status of LMT module can be used to indicate the mixing amplification the model whether signal magnitude of input has exceeded LMT module
It encloses;When the signal magnitude for inputting LMT module has exceeded the mixing amplification range of LMT module, indicate that the state of LMT module is excessive
Out.The overflow status of ADC module can be used to indicate the conversion range whether signal magnitude of input has exceeded ADC module;When defeated
When entering the signal magnitude of ADC module and having exceeded the conversion range of ADC module, the state of ADC module is indicated to overflow.
Specifically, base band main controller checks the overflow status of LMT module and the overflow status of ADC module;In addition,
Base band main controller can be current to LMT module the size of rf gain and the size of the baseband gain of itself check.
Step S240 increases offset to baseband gain, and to LMT mould when testing result meets gain distributive condition
Block transmission gain revise signal;Gain-boosted op amp signal is used to indicate LMT module and reduces offset to default reservation gain.
Wherein, offset refers to the yield value of default size.Gain-boosted op amp signal refers to instruction LMT module to default
Retain the signal that gain reduces offset.The default least gain for retaining gain and referring to the reservation of LMT module, such as default reservation
Gain is 5dB, then 5dB gain is known as to the reservation gain of LMT;It is default retain gain when can be used to distribute self-adjusting to gain into
Row gain distribution.Gain distributive condition can be used to indicate whether system by strong jamming outside channel (is met gain in testing result
When distributive condition, expression system receives the outer strong jamming of channel).It should be noted that it includes gain that rf gain, which includes default,
That is the size for being greater than or equal to default reservation gain of rf gain.
Specifically, based on the size to baseband gain, the size of the current rf gain of LMT module, the spilling of LMT module
The detection of the overflow status of state and ADC module, obtains testing result.According to testing result, meet gain in testing result
When distributive condition while needing to reduce gain self-adjusting (such as detect), offset is increased (assuming that offset is to baseband gain
1dB), i.e., baseband gain increases 1dB;And to LMT module transfer gain-boosted op amp signal, i.e. the current rf gain of LMT module subtracts
Small 1dB, so that the gain of base band main controller increases offset, and the gain of LMT module reduces offset, realizes gain distribution
Self-adjusting.It should be noted that gain, which distributes self-adjusting gain size, is no more than default reservation gain.
In above-described embodiment, spill over (spill over of LMT module and overflowing for ADC module based on RF transceiver
Signal out) and LMT module gain, judge input signal types, realize the self-adjusting of gain distribution.Specifically, acquisition is penetrated
The signal peak power of the ADC module output end of frequency transceiver;When signal peak power is greater than the first thresholding, to radio-frequency receiving-transmitting
Pulse signal is started to control in the LMT module transmission of device;The size of detection baseband gain, the size of the current rf gain of LMT module,
The overflow status of LMT module and the overflow status of ADC module, obtain testing result;Meet gain distribution item in testing result
When part, offset is increased to baseband gain, and to LMT module transfer gain-boosted op amp signal.And then it is defeated to alleviate ADC module front end
Enter the pressure to AGC thresholding, gain is made to move on to baseband gain part, thus input spirit of the optimization outside channel under high reject signal
Sensitivity improves the robustness of base station receiver, meets the performance requirement of link gain and input power.
In one embodiment, as shown in figure 3, a kind of self-adjusting AGC control method of gain distribution is provided, with the party
Method is applied to be illustrated for the base band main controller 104 in Fig. 1, comprising the following steps:
Step S310 obtains the signal peak power of the ADC module output end of RF transceiver.
Step S320 starts to control arteries and veins to the transmission of the LMT module of RF transceiver when signal peak power is greater than the first thresholding
Rush signal;It starts to control pulse signal and is used to indicate LMT module according to preset rules reduction rf gain.
Step S330 detects baseband gain, the current rf gain of LMT module, the overflow status and ADC of LMT module
The overflow status of module, obtains testing result.
Step S340, the overflow status of LMT module is spilling, the overflow status of ADC module is not spill over, current penetrate
When frequency gain is less than the rf gain of last moment and baseband gain is less than default reservation gain, baseband gain is increased and is compensated
Value, and to LMT module transfer gain-boosted op amp signal.
Wherein, when current rf gain is less than the rf gain of last moment, indicate that the rf gain of LMT module is root
Reduce according to preset rules.The particular content process of above-mentioned steps S310, step S320 and step S330 can refer to content above,
Details are not described herein again.
Specifically, based on the size to baseband gain, the size of the current rf gain of LMT module, the spilling of LMT module
The detection of the overflow status of state and ADC module, obtains testing result.Meet following gain distributive condition in testing result
When: the overflow status of LMT module is spilling, the overflow status of ADC module be do not spill over, current rf gain be less than upper a period of time
The rf gain and baseband gain at quarter be less than it is default retain gain, offset increased to baseband gain, and to LMT module transfer
Gain-boosted op amp signal.
For example, default reservation gain is 5dB (decibel), baseband gain 3dB, offset 1dB.In overflowing for LMT module
Do well to overflow, the overflow status of ADC module be do not spill over, current rf gain is less than the rf gain of last moment
When, offset is increased to baseband gain, that is, the baseband gain after increasing is 4dB, and to LMT module transfer gain-boosted op amp signal,
I.e. the rf gain of LMT module reduces 1dB.When current baseband gain reaches 5dB, (i.e. baseband gain is equal to default reservation and increases
When beneficial), generate the alarm of instruction input high reject signal.
In a specific embodiment, the step of the signal peak power of the ADC module output end of RF transceiver is obtained
Include: before rapid
Response time delay count is carried out to the ADC module output end of RF transceiver;
Obtain RF transceiver ADC module output end signal peak power the step of include:
When responding time delay count meter completely, signal peak power is obtained.
Wherein, base band main controller can carry out response time delay count by counter.
Specifically, system starts, and RF transceiver and base band main controller enter normal operating condition, judge to radio-frequency receiving-transmitting
Device output end carries out whether response time delay count is counted completely, when responding time delay count meter completely, obtains signal peak power;If not counting
It is full then continue waiting for.By carrying out response time delay count to RF transceiver output end, the response time of hardware module is met,
It improves gain and distributes self-adjusting reliability.
In a specific embodiment, after the step of starting to control pulse signal to the transmission of the LMT module of RF transceiver
Include:
Triggering response time delay count.
Specifically, based on pulse signal is started to control to the transmission of the LMT module of RF transceiver, triggering responds time delay count,
When responding time delay count meter completely, the gain distribution self-adjusting of next round is carried out.
In a specific embodiment, according to detection as a result, increase offset to baseband gain, and to LMT module
Include: after the step of transmission gain revise signal
When baseband gain is greater than or equal to default reservation gain, alarm is generated.
Specifically, based on the size to baseband gain, the size of the current rf gain of LMT module, the spilling of LMT module
The detection of the overflow status of state and ADC module, according to increasing as a result, being greater than or equal to default reservation in baseband gain for detection
When beneficial, that is, indicate that the default gain for retaining gain size is completed to LMT module distributes self-adjusting, then generates defeated outside instruction channel
Enter the alarm of high reject signal.
Based on the present embodiment, the type of input signal is judged using the overflow status and LMT gain of RF transceiver, is realized
The self-adjusting of gain distribution.Mitigate the input of ADC module front end to the pressure of AGC thresholding, gain is made to move on to baseband gain part, from
And optimize the input sensitivity outside channel under high reject signal, the robustness of base station receiver is improved, has been combined in nothing
Signal input condition under interference signal.
In one embodiment, as shown in figure 4, a kind of self-adjusting AGC control method of gain distribution is provided, with the party
Method is applied to be illustrated for the base band main controller 104 in Fig. 1, comprising the following steps:
Step S410 obtains the signal peak power of the ADC module output end of RF transceiver.
Step S420 starts to control arteries and veins to the transmission of the LMT module of RF transceiver when signal peak power is greater than the first thresholding
Rush signal;It starts to control pulse signal and is used to indicate LMT module according to preset rules reduction rf gain.
Step S430 restores baseband gain, and release to the transmission of LMT module when signal peak power is less than the second thresholding
Put pulse signal;Release pulse signal is used to indicate LMT module recovery rf gain;Second thresholding is less than the first thresholding.
Step S440 detects baseband gain, the current rf gain of LMT module, the overflow status and ADC of LMT module
The overflow status of module, obtains testing result.
Step S450 increases offset to baseband gain, and to LMT mould when testing result meets gain distributive condition
Block transmission gain revise signal;Gain-boosted op amp signal is used to indicate LMT module and reduces offset to default reservation gain.
Wherein, the second thresholding refers to predetermined threshold value, and the second thresholding is less than the first thresholding.Release pulse signal refers to
LMT module is driven to increase the pulse signal of rf gain, until the rf gain of LMT module is restored to initial default value.Wherein,
Above-mentioned steps S410, step S420, step S440 and step S450 particular content process can refer to content above, herein no longer
It repeats.
Specifically, the signal of ADC module output is detected, and then obtains the signal peak function of ADC module output end
Rate, the signal peak power that will acquire is compared with preset first thresholding and the second thresholding, big in signal peak power
When the first thresholding, pulse signal is started to control to the transmission of LMT module, and then drives LMT module to reduce radio frequency according to preset rules and increases
Benefit;When signal peak power is less than the second thresholding, baseband gain is restored to initial default value, and release to the transmission of LMT module
Pulse signal is put, and then drives LMT module that rf gain is restored to initial default value.Based on the size to baseband gain, LMT
The size of the current rf gain of module, the detection of the overflow status of the overflow status and ADC module of LMT module, according to inspection
It is surveying as a result, detect when needing to reduce gain self-adjusting, determine that input signal has been superimposed strong jamming, then baseband gain increased
Offset;And to LMT module transfer gain-boosted op amp signal, so that the gain of base band main controller increases offset, and LMT module
Gain reduces offset, realizes the self-adjusting of gain distribution.
Further, in signal peak power less than the first thresholding, and when being greater than the second thresholding, terminate the gain point of epicycle
With self-adjusting, returns and reacquire the gain distribution self-adjusting that signal peak power carries out next round.
In a specific embodiment, when signal peak power is less than the second thresholding, recovery baseband gain, and to
LMT module send release pulse signal the step of include:
In preset period of time, when the signal peak power that continuously acquires is respectively less than the second thresholding, restore baseband gain, and to
LMT module sends release pulse signal.
Specifically, if the signal peak power continuously acquired in preset period of time is respectively less than the second thresholding, restore base band
Gain, and release pulse signal is sent to LMT module, so that baseband gain value reverts to the radio frequency of default value and LMT module
Yield value reverts to default value.
Based on the present embodiment, Self-adjustment Strategy is being distributed by gain, so that strong outside RF transceiver indirect identification channel
Own gain distribution is interfered and adjusted, mitigates AGC threshold pressure, ensure that and receive power correctness, improve sensitivity and Shandong
Stick, while without excessive manual intervention, software configuration is convenient.
In one embodiment, as shown in figure 5, providing a kind of gain distribution self-adjusting AGC control method, in this way
Applied to being illustrated for the base band main controller 104 in Fig. 1, the specific steps of this method are as follows:
System starting, each module (radio frequency receiver and base band main controller) enter normal operating condition.Judge Hardware Response Delay
Whether the counter of computation delay is counted full in time delay count, does not count and completely then continues waiting for;Meter is full then to carry out peak power statistics.It will
Signal peak power is compared with the first thresholding (i.e. high threshold), the second thresholding (i.e. low threshold), if signal peak power is big
In low threshold, and it is less than high threshold, then returns to the obtaining step for re-starting signal peak power.If signal peak is continuously preset
Period (such as 10ms) is less than low threshold, then generates release pulse signal.If signal peak power is higher than high threshold, generation is started to control
Pulse signal.When starting to control, if base band main controller detects the overflow status of LMT module for spilling, the overflow status of ADC module
Not spill over and detecting that the rf gain of LMT module becomes smaller, then determines that input signal has been superimposed strong jamming, need to carry out gain
Distribute self-adjusting.
Before carrying out gain distribution self-adjusting, it is assumed that the default reservation gain of offset 1dB, LMT module is 5dB,
Judge whether baseband gain reaches 5dB, if reached, generates and input strongly disturbing alarm outside channel;If not up to, subtracted
The default reservation gain 1dB of few LMT module, increases the 1dB yield value of baseband gain, completes a wheel gain and distributes self-adjusting.When
System is in AGC release conditions, the yield value of baseband gain is reverted to initial default value, and the radio frequency of LMT module is increased
The yield value of benefit reverts to default value.
Based on the present embodiment, the type of input signal is judged by the overflow status and LMT gain of RF transceiver, is realized
The self-adjusting of gain distribution, optimizes the input sensitivity outside channel under high reject signal, improves the robust of base station receiver
Property, meet the performance requirement of link gain and input power.
It should be understood that although each step in the flow chart of Fig. 2 to Fig. 4 is successively shown according to the instruction of arrow,
But these steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these
There is no stringent sequences to limit for the execution of step, these steps can execute in other order.Moreover, Fig. 2 is into Fig. 4
At least part step may include that perhaps these sub-steps of multiple stages or stage are not necessarily same to multiple sub-steps
One moment executed completion, but can execute at different times, and the execution in these sub-steps or stage sequence is also not necessarily
Be successively carry out, but can at least part of the sub-step or stage of other steps or other steps in turn or
Alternately execute.
In one embodiment, as shown in fig. 6, providing a kind of gain distribution self-adjusting AGC control device.The device packet
It includes:
Peak power acquiring unit 610, the signal peak power of the ADC module output end for obtaining RF transceiver;
Unit 620 is started to control, for being sent out to the LMT module of RF transceiver when signal peak power is greater than the first thresholding
It send and starts to control pulse signal;It starts to control pulse signal and is used to indicate LMT module according to preset rules reduction rf gain;
Detection unit 630, for detecting baseband gain, the current rf gain of LMT module, the overflow status of LMT module
And the overflow status of ADC module, obtain testing result;
Gain adjusting unit 640, for increasing baseband gain and compensating when testing result meets gain distributive condition
Value, and to LMT module transfer gain-boosted op amp signal;Gain-boosted op amp signal is used to indicate LMT module and reduces to default reservation gain
Offset.
The specific restriction for distributing self-adjusting AGC control device about gain may refer to be dispensed from above for gain
The restriction of the AGC control method of adjustment, details are not described herein.Above-mentioned gain distributes each in self-adjusting AGC control device
Module can be realized fully or partially through software, hardware and combinations thereof.Above-mentioned each module can be embedded in or solely in the form of hardware
It stands on gain to distribute in the processor in self-adjusting AGC control system, gain distribution self-regulated can also be stored in a software form
In memory in whole AGC control system, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, as shown in fig. 7, providing a kind of gain distribution self-adjusting AGC control system.Including connection
The base band main controller 720 of RF transceiver 710;RF transceiver 710 is including LMT module 712 and is connected to LMT module 712
ADC module 714 between the 720 of base band main controller.One end of base band main controller 720 connects LMT module 712, other end connection
The output end of ADC module 714;
The step of base band main controller 720 distributes self-adjusting AGC control method for any of the above-described gain.
Specifically, base band main controller 720 can be used for executing following steps:
Obtain the signal peak power of the ADC module output end of RF transceiver;
When signal peak power is greater than the first thresholding, pulse signal is started to control to the transmission of the LMT module of RF transceiver;It rises
Control pulse signal is used to indicate LMT module and reduces rf gain according to preset rules;
Detect baseband gain, the current rf gain of LMT module, the overflow status of LMT module and the spilling of ADC module
State obtains testing result;
When testing result meets gain distributive condition, offset is increased to baseband gain, and to LMT module transfer gain
Revise signal;Gain-boosted op amp signal is used to indicate LMT module and reduces offset to default reservation gain.
Wherein, the processing chip of base band main controller 720 can be programmable digital chip, such as base band main controller 720 can
To be FPGA (Field-Programmable Gate Array: i.e. field programmable gate array).It should be noted that radio frequency
Transceiver 710 may also include LPF (low-pass filter) module being connected between LMT module 712 and ADC module 714.
In one embodiment, as shown in figure 8, providing a kind of gain distribution self-adjusting AGC control system.Including radio frequency
Transceiver, base band main controller, for radiofrequency signal uplink processing radio frequency uplink and for baseband signal uplink processing
Base band uplink.Wherein, RF transceiver may include sequentially connected LMT module, LPF module and ADC module;Base band master control
Device can be pulse signal generator, threshold compataror, counter, peak detection block, baseband gain supplement according to function division
Module, gain distribution hand-off process module and rf gain module for reading and writing.
Specifically, the input terminal of the output end connection LMT module of radio frequency uplink, the input terminal of base band uplink connect
Baseband gain compensating module is connect, gain distribution hand-off process module is separately connected the output of baseband gain compensating module, ADC module
End, the output end of LMT module and rf gain module for reading and writing, pulse signal generator are separately connected threshold compataror, counter
With LMT module, peak detection block is connected between threshold compataror and counter, and counter connects the output end of ADC module,
Rf gain module for reading and writing connects LMT module.
It is transferred to RF transceiver by the input signal that radio frequency uplink is handled, passes through LMT module LPT module respectively
With the processing of ADC module, the digital signal that obtains that treated, and the digital signal is transmitted to base band main controller.In counter counts
Man Shi carries out signal peak power sampling to the digital signal (I/Q signal) by peak detection block;Pass through threshold compataror
Two thresholdings (high threshold and low threshold) based on setting, low threshold are set as the thresholding that starts to control of RF transceiver, high threshold
Numerical value is greater than the numerical value of low threshold, such as high threshold is 3dB higher than low threshold, when the continuous 10ms of signal peak is less than low threshold, leads to
Extra pulse signal generator output release pulse signal, increases LMT gain;When signal peak is between high-low threshold, do not export
Pulse signal;When signal peak power is higher than high threshold, pulse information is started to control by pulse signal generator output, reduces LMT
Gain.
Further, size, the overflow status of ADC module that hand-off process module detects baseband gain are distributed by gain
And the overflow status of LMT module, the size of the current rf gain of LMT module is obtained by rf gain module for reading and writing;Increase
Benefit distribution hand-off process module is according to detection as a result, the overflow status in LMT module is spilling, the overflow status of ADC module
Not spill over, and when the rf gain for reading LMT module becomes smaller, then shows the outer high reject signal of external input channel, need
It carries out gain and distributes adjust automatically.And then by the mobile baseband gain compensating module of a part of gain of LMT module, so that base band increases
Benefit increases offset, and the rf gain of LMT module reduces offset.
It does not need to increase additionally hard by using gain to distribute Self-adjustment Strategy in AGC is controlled based on the present embodiment
Part cost can make the outer strong jamming of system indirect identification channel and adjust own gain distribution, mitigate AGC threshold pressure, ensure that
Power correctness is received, and has preferable sensitivity and robustness, also without excessive manual intervention, software configuration is convenient.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of when being executed by processor
Obtain the signal peak power of the ADC module output end of RF transceiver;
When signal peak power is greater than the first thresholding, pulse signal is started to control to the transmission of the LMT module of RF transceiver;It rises
Control pulse signal is used to indicate LMT module and reduces rf gain according to preset rules;
Detect baseband gain, the current rf gain of LMT module, the overflow status of LMT module and the spilling of ADC module
State obtains testing result;
When testing result meets gain distributive condition, offset is increased to baseband gain, and to LMT module transfer gain
Revise signal;Gain-boosted op amp signal is used to indicate LMT module and reduces offset to default reservation gain.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the stream of the embodiment of above-mentioned each division operation method
Journey.Wherein, to any of memory, storage, database or other media used in each embodiment provided herein
Reference, may each comprise non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), can
Programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory
It may include random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is with a variety of shapes
Shi Ke get, such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram
(DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus
(Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram
(RDRAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.