Summary of the invention
The present invention proposes a kind of implementation method and device of automatic growth control, receives AGC value bob after burst, even occur the problem of saturated situation to solve mobile terminal.
In order to solve the problem, the invention provides a kind of implementation method of automatic growth control, comprising:
After mobile terminal receives downstream signal, judge whether the downstream signal received belongs to burst, if, control gain amplifier part when then the automatic gain control value correct the last time being used for the arrival of next cycle and carry out gain amplification, if not, the automatic gain control value then this calculated, as correct automatic gain control value, controls gain amplifier part and carries out gain amplification when arriving for next cycle.
Preferably, said method has following characteristics:
Described mobile terminal judges that the step whether downstream signal received belongs to burst comprises:
After the downstream signal received is carried out analog-to-digital conversion, the performance number of downstream signal to be assessed is normalized, compare with target power value, if be greater than maximum target power threshold, and described mobile terminal is in power blockage state, then judge that the downstream signal received belongs to burst.
Preferably, said method also comprises:
If a performance number N continuous cycle for the downstream signal to be assessed after being normalized is less than the first power threshold, then described mobile terminal ingoing power lock-out state;
If a performance number continuous N cycle for the downstream signal to be assessed after being normalized is greater than the second power threshold, then described mobile terminal exits power blockage state;
Wherein, N, M are positive integer.
Preferably, said method has following characteristics:
Described mobile terminal judges that the step whether downstream signal received belongs to burst comprises:
Mobile terminal obtains signal interference ratio by joint-detection after carrying out data demodulates to downstream signal;
Judge that whether obtain described signal interference ratio is less than signal interference ratio thresholding, if be less than, then judges that the downstream signal received belongs to burst.
Preferably, said method has following characteristics:
Described mobile terminal judges that the step whether downstream signal received belongs to burst comprises:
Calculate signal strength signal intensity according to the downstream signal received, if the difference of the signal strength signal intensity of the signal strength signal intensity of present frame and former frame exceedes signal strength threshold, then judge that the downstream signal received belongs to burst.
Preferably, said method has following characteristics:
Described gain amplifier part comprises variable gain amplifier, frequency mixer and low noise amplifier.
In order to solve the problem, the invention provides a kind of implement device of automatic growth control, being applied to mobile terminal, comprise judge module and top control module, wherein,
After described judge module is used for receiving downstream signal, judges whether the downstream signal received belongs to burst, and judged result is informed top control module;
Described top control module is used for when judge module judges that downstream signal belongs to burst, then control gain amplifier part when the automatic gain control value correct the last time being used for the arrival of next cycle and carry out gain amplification; When judge module judges that downstream signal does not belong to burst, then the automatic gain control value this calculated, as correct automatic gain control value, controls gain amplifier part and carries out gain amplification when arriving for next cycle.
Preferably, said apparatus has following characteristics:
After described judge module is further used for that the downstream signal received is carried out analog-to-digital conversion, the performance number of downstream signal to be assessed is normalized, compare with target power value, if be greater than maximum target power threshold, and described mobile terminal is in power blockage state, then judge that the downstream signal received belongs to burst.
Preferably, said apparatus has following characteristics:
Described judge module obtains signal interference ratio by joint-detection after being further used for carrying out data demodulates to downstream signal, judges that whether obtain described signal interference ratio is less than signal interference ratio thresholding, if be less than, then judges that the downstream signal received belongs to burst.
Preferably, said apparatus has following characteristics:
Described judge module is further used for calculating signal strength signal intensity according to the downstream signal received, if the difference of the signal strength signal intensity of the signal strength signal intensity of present frame and former frame exceedes signal strength threshold, then judges that the downstream signal received belongs to burst.
The present invention by judging burst, and then determines suitable AGC value, avoids the situation because burst causes AGC value unstable, thus optimizes the receptivity of mobile terminal receiver.
Embodiment
Hereinafter will be described in detail to embodiments of the invention by reference to the accompanying drawings.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combination in any mutually.
Basic thought of the present invention is, by judging whether to be whether downstream signal belongs to burst, determine correct AGC value, the AGC value ride gain using this correct is amplified.
Particularly, after mobile terminal receives downstream signal, judge whether the downstream signal received belongs to burst, if, control gain amplifier part when then the AGC value correct the last time being used for the arrival of next cycle and carry out gain amplification, if not, then the AGC value this calculated, as correct AGC value, controls gain amplifier part and carries out gain amplification when arriving for next cycle.
Wherein, mobile terminal judge downstream signal belong to burst can in the following way in one or more:
(1) after the downstream signal received being carried out analog-to-digital conversion, the performance number of downstream signal to be assessed is normalized, compare with target power value, if be greater than maximum target power threshold, and described mobile terminal is in power blockage state, then judge that the downstream signal received belongs to burst.
(2) after mobile terminal carries out data demodulates to downstream signal, obtain signal interference ratio (SIR) by joint-detection, judge that whether obtain described signal interference ratio is less than signal interference ratio thresholding, if be less than, then judges that the downstream signal received belongs to burst.
(3) calculate signal strength signal intensity according to the downstream signal received, if the difference of the signal strength signal intensity of the signal strength signal intensity of present frame and former frame exceedes signal strength threshold, then judge that the downstream signal received belongs to burst.
Wherein, if a performance number N continuous cycle for the downstream signal to be assessed after being normalized be less than the first power threshold, then described mobile terminal ingoing power lock-out state; If a performance number continuous N cycle for the downstream signal to be assessed after being normalized is greater than the second power threshold, then described mobile terminal exits power blockage state; Wherein, N, M are positive integer, and the first power threshold and the second power threshold are default value.
Above-mentioned gain amplifier part can comprise variable gain amplifier, frequency mixer and low noise amplifier.
The implement device of the automatic growth control of the embodiment of the present invention, is applied to mobile terminal, comprises judge module and top control module, wherein,
After described judge module is used for receiving downstream signal, judges whether the downstream signal received belongs to burst, and judged result is informed top control module;
Described top control module is used for when judge module judges that downstream signal belongs to burst, then control gain amplifier part when the AGC value correct the last time being used for the arrival of next cycle and carry out gain amplification; When judge module judges that downstream signal does not belong to burst, then the AGC value this calculated, as correct AGC value, controls gain amplifier part and carries out gain amplification when arriving for next cycle.
Wherein, after described judge module can be further used for that the downstream signal received is carried out analog-to-digital conversion, the performance number of downstream signal to be assessed is normalized, compare with target power value, if be greater than maximum target power threshold, and described mobile terminal is in power blockage state, then judge that the downstream signal received belongs to burst.
Described judge module obtains signal interference ratio by joint-detection after can being further used for carrying out data demodulates to downstream signal, judges that whether obtain described signal interference ratio is less than signal interference ratio thresholding, if be less than, then judges that the downstream signal received belongs to burst.
Described judge module can be further used for calculating signal strength signal intensity according to the downstream signal received, if the difference of the signal strength signal intensity of the signal strength signal intensity of present frame and former frame exceedes signal strength threshold, then judges that the downstream signal received belongs to burst.
Wherein, judge module can comprise power assessments module further, performance number asks differential mode block, IIR (InfiniteImpulse Response, infinite impulse response) filter module and data demodulation module.Top control module comprises automatic growth control module and error monitoring corrects module automatically.
Be described with a concrete application example below.
As shown in Figure 5, be the automatic growth control implement device schematic diagram of application example of the present invention, wherein, judge module comprise power assessments module, performance number asks differential mode block, iir filter module and data demodulation module.Top control module comprises automatic growth control module and error monitoring corrects module automatically.
Power assessments module, for calculating the digital power signal intensity that DBB receives.This module can according to demand, and flexible configuration needs the data length of assessment, is then normalized the data length performance number of configuration.
Performance number asks differential mode block, for calculating the difference of signal power that DBB receives and target power thresholding, and result is informed that error monitoring corrects module automatically.
Wherein, if be greater than maximum target power threshold, and described mobile terminal is in power blockage state, then inform
Iir filter module, is responsible for the smoothing filtering of error, reduces impulse response to the impact of gain control system.
Data demodulation module, carries out data demodulates to downstream signal, judges that whether data are abnormal, and inform that error monitoring corrects module automatically according to demodulation result (SIR, cyclic redundancy check (CRC)).Wherein, obtain signal interference ratio by joint-detection, if judge, described signal interference ratio is less than signal interference ratio thresholding, then judge data exception (burst), inform that error monitoring corrects module automatically.
Error monitoring corrects the result that module asks differential mode block and data demodulation module to report according to performance number automatically, selects correct AGC value, informs automatic growth control module.The all right Offered target power threshold of this module, and inform that performance number asks differential mode block.
Automatic growth control module corrects according to error monitoring the AGC value that module informs automatically, control front-end devices: low noise amplifier, frequency mixer, and the operating state of variable gain amplifier and concrete gain, make whole receiver be in suitable gain, ensure the performance of receiver.
Below the implementation procedure of automatic growth control is described in further detail.
Step 1, arranges initial yield value
Error monitoring corrects module installation initial gain automatically, if there is the initial yield value Gain_initial of preservation before, then arranging yield value is this initial yield value, otherwise initial yield value is set to the median of gain ranging.
Step 2, received power is assessed
According to the operative scenario of mobile terminal, the optimized received power parameter of power assessments block configuration, generally comprises the number of chips of received power assessment and carries out the cycle of power assessments for twice.
Step 3, performance number asks poor
As shown in Figure 6, for performance number asks the power of differential mode block to ask differential to be intended to.After the performance number of the downstream signal to be assessed received is normalized, carry out asking poor with target power value (reference power), difference delta_power when is between the two greater than minimum target power threshold min_delta_power and after being less than maximum target power threshold max_delta_power, export filter_power, if delta_power is less than min_delta_power think that the signal that DBB receives has been stabilized near reference power, gain has been suitable, this time Gain tuning can omit, and this AGC (automatic gain control) system ingoing power lock-out state (also can be that repeatedly delta_power is less than min_delta_power, just ingoing power lock-out state), if system is in power blockage state and delta_power is greater than max_delta_power, think that signal has so violent change to be abnormal within twice power assessments cycle, notice error monitoring corrects module automatically.If system is in power unlock state and delta_power is greater than max_delta_power, export filter_power.
Wherein, in this example, the first power threshold is min_delta_power, also can be the value that other is specified.
In addition, performance number asks differential mode block according to the received signal strength of front and back two frame (RSSI) excursion, can also judge whether that signal exists abnormal (whether being burst).
Step 4, after data demodulation module carries out data demodulates, each frame data carries out joint-detection, obtains the signal interference ratio (SIR) receiving data, if SIR is less than signal interference ratio thresholding, then think that the downstream signal received last time is noise (burst); In addition, if judge the data exception demodulated according to CRC, also can inform that error monitoring corrects module automatically;
Step 5, fault monitoring and automatically correction
See Fig. 7, error monitoring is automatically corrected module and is recorded by the final result of nearest N number of normal automatic growth control, and the abnormal information that real-time collecting power asks differential mode block and data demodulation module to report, after receiving abnormal information, judge the gain of system to be controlled the state before reverting to front M (M <=N) the individual automatic gain cycle, so that system can be recovered from the state of mistake according to the particular type of mistake.
Wherein, if performance number asks differential mode block to notify, difference power is abnormal, or the received signal strength (RSSI) of front and back two frame changes over range, then adopt the AGC value that the last correct AGC value calculated used as next cycle;
If the data of the power assessment of last time are noise, so the AGC value of last computation is unreliable, and the AGC value of last computation abandons, and adopts the AGC value that the last correct AGC value calculated used as next cycle.
Step 6, calculates AGC value, controls rf gain parameter
Automatic growth control module is according to power error value, adjustment AGC value, concrete gain amplifier part is reasonably allocated to: low noise amplifier, frequency mixer, variable gain amplifier, according to each device concrete gain contribution in systems in which, set its operating state separately according to the AGC value after adjustment.
Above-mentioned steps 3 ~ 6 repeats, and follows the tracks of the change of received signal strength.
It should be noted that, above-mentioned each cycle, calculate AGC value for each frame, or the same with prior art, carry out respectively for each time slot, the AGC value that namely each time slot correspondence one group is correct.
The all or part of step that one of ordinary skill in the art will appreciate that in said method is carried out instruction related hardware by program and is completed, and described program can be stored in computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can use one or more integrated circuit to realize, and correspondingly, each module/unit in above-described embodiment can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.