Filter power compensation method, device and user terminal
Technical field
The present invention relates to mobile communication technology field, particularly a kind of filter power compensation method, device and user terminal.
Background technology
Long-term technology evolution (Long Term Evolution, LTE) be third generation partner program (3rdGeneration Partnership Project, the Long Term Evolution of 3GPP) leading universal mobile telecommunications system technology is at present by the wireless communication technology extensively approved.
LTE mobile terminal needs to utilize the waveform of the LTE signal of test to carry out automatic growth control (Automatic Gain Control, AGC) calibration to LTE mobile terminal before dispatching from the factory.The waveform of LTE signal is a kind of waveform with bandwidth, adopt LTE ripple or continuous wave (Continuous Wave, CW) AGC calibration is carried out, when adopting LTE ripple to calibrate, because LTE ripple is the waveform having bandwidth, can not error be there is in the LTE waveform therefore after calibration through LTE mobile terminal filter, but cost is higher when adopting LTE ripple to carry out AGC calibration, general employing CW ripple carries out AGC calibration to LTE waveform, but CW ripple is a kind of waveform not having bandwidth, LTE waveform after calibration there will be decay after LTE mobile terminal filter, CW ripple calibration result is caused to there is certain error, therefore CW ripple is used to need to carry out power back-off to the signal of device after filtering to LTE waveform.
In prior art, for the filter of a certain model, be generally the filter choosing this model multiple, calculate corresponding power compensating value and average, as the constant power offset of this model filter.In the memory that described fixing filter power offset write is preset, directly call described fixing filter power offset power to received signal when mobile terminal Received signal strength and compensate.But in actual applications, even the filter of same model, the power compensating value between each filter and also there are differences between fixed filters power compensating value, therefore uses fixing power compensating value that filter power can be caused to compensate and inaccuracy.
Summary of the invention
The problem that the embodiment of the present invention solves how to improve the precision of filter power compensation.
For solving the problem, the embodiment of the present invention provides a kind of filter compensation method, comprising: select the continuous wave that the first default calibration frequency is corresponding, obtain the automatic gain control calibration value of described continuous wave, and using described calibration value as the first calibration value; Centered by described first calibration frequency, calibrate frequency both sides with the first step-length for choosing frequency in interval described first respectively, the automatic gain control calibration value of the continuous wave that the frequency chosen described in acquisition is corresponding; In pre-set bandwidths, computing is carried out to the automatic gain control calibration value of continuous wave corresponding to the described frequency chosen, obtains the automatic gain control calibration value of corresponding described pre-set bandwidths; The automatic gain control calibration value of described corresponding bandwidth and described first calibration value are carried out computing, obtains the revised automatic gain control calibration value of corresponding bandwidth, and using the power compensating value of described revised automatic gain control calibration value as filter.
Optionally, described in pre-set bandwidths, computing is carried out to the described automatic gain control calibration value choosing continuous wave corresponding to frequency, comprising: in pre-set bandwidths, discrete integration computing is carried out to the described automatic gain control calibration value choosing continuous wave corresponding to frequency.
Optionally, described pre-set bandwidths comprises: 5MHz, 10MHz, 15MHz and 20MHz.
Optionally, described the automatic gain control calibration value of corresponding bandwidth and described first calibration value are carried out computing, obtain the revised automatic gain control calibration value of corresponding bandwidth, comprise: respectively automatic gain control calibration value corresponding for 5MHz, 10MHz, 15MHz and 20MHz bandwidth and described first calibration value are subtracted each other, obtain revised 5MHz, 10MHz, 15MHz and 20MHz bandwidth automatic gain control calibration value.
Optionally, the value of described first step-length is 0.1MHz to 1MHz.
For solving the problem, the embodiment of the present invention additionally provides a kind of filter power compensation arrangement, comprise: the first acquiring unit, for the continuous wave that the first calibration frequency selecting to preset is corresponding, obtain the automatic gain control calibration value of described continuous wave, and using described calibration value as the first calibration value; Second acquisition unit, for centered by described first calibration frequency, calibrates frequency both sides with the first step-length for choosing frequency in interval described first, the automatic gain control calibration value of the continuous wave that the frequency chosen described in acquisition is corresponding respectively; First arithmetic element, for carrying out computing to the automatic gain control calibration value of continuous wave corresponding to the described frequency chosen in pre-set bandwidths, obtains the automatic gain control calibration value of corresponding described pre-set bandwidths; Second arithmetic element, for the automatic gain control calibration value of described corresponding bandwidth and described first calibration value are carried out computing, obtain the revised automatic gain control calibration value of corresponding bandwidth, and using the power compensating value of described revised automatic gain control calibration value as filter.
Optionally, described first arithmetic element is used in pre-set bandwidths, carrying out discrete integration computing to the described automatic gain control calibration value choosing continuous wave corresponding to frequency.
Optionally, described pre-set bandwidths comprises: 5MHz, 10MHz, 15MHz and 20MHz.
Optionally, described second arithmetic element is used for automatic gain control calibration value corresponding for 5MHz, 10MHz, 15MHz and 20MHz bandwidth and described first calibration value to subtract each other, and obtains revised 5MHz, 10MHz, 15MHz and 20MHz bandwidth automatic gain control calibration value.
The embodiment of the present invention additionally provides a kind of user terminal, comprises any one of described filter power compensation arrangement.
Compared with prior art, the technical scheme of the embodiment of the present invention has the following advantages:
Multiple frequency is chosen by adopting the first default step-length, the CW ripple utilizing multiple frequency corresponding obtains multiple AGC calibration value, and in the bandwidth preset, computing is carried out to the multiple AGC calibration values obtained, obtain the AGC calibration value in pre-set bandwidths, and carry out computing with the first calibration value, using operation result as the revised automatic gain control calibration value of corresponding bandwidth, and using the power compensating value of described revised automatic gain control calibration value as filter.Owing to being calculate corresponding filter power offset for different filters to carry out power back-off to filter, therefore, it is possible to the precision that raising filter power compensates.
Accompanying drawing explanation
Fig. 1 is the flow chart of a kind of filter power compensation method in the embodiment of the present invention;
Fig. 2 is the flow chart of the another kind of filter power compensation method in the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of filter power compensation arrangement in the embodiment of the present invention.
Embodiment
In prior art, be generally by measuring the filter power offset be fixed in advance, power back-off is carried out to the LTE signal after the calibration of device after filtering.But in actual applications, even the filter of same model, the power compensating value between each filter and also there are differences between fixed filters power compensating value, therefore uses fixing power compensating value that filter power can be caused to compensate and inaccuracy.
In the embodiment of the present invention, calculate corresponding filter power offset for different filters and power back-off is carried out to filter, therefore, it is possible to improve the precision of filter power compensation.
For enabling above-mentioned purpose of the present invention, feature and advantage more become apparent, and are described in detail specific embodiments of the invention below in conjunction with accompanying drawing.
Embodiments provide a kind of filter power compensation method, with reference to Fig. 1, be described in detail below by way of concrete steps.
Step S101, selects the continuous wave that the first default calibration frequency is corresponding, obtains the AGC calibration value of described continuous wave, and using described calibration value as the first calibration value.
In concrete enforcement, the first calibration frequency can be selected according to actual needs, utilize continuous wave corresponding to described first calibration frequency to carry out AGC calibration to LTE signal waveform, obtain an AGC calibration value.
Step S102, centered by described first calibration frequency, calibrates frequency both sides with the first step-length for choosing frequency in interval described first, the AGC calibration value of the continuous wave that the frequency chosen described in acquisition is corresponding respectively.
In concrete enforcement, frequency can be selected in the first calibration frequency both sides chosen successively with the first step-length, and the continuous wave utilizing the frequency chosen corresponding carries out AGC calibration to LTE signal waveform, obtains corresponding AGC calibration value.In an embodiment of the present invention, the value of the first step-length can be 0.1MHz ~ 1MHz, and concrete numerical value can be selected as required.
Step S103, carries out computing to the AGC calibration value of continuous wave corresponding to the described frequency chosen, obtains the AGC calibration value of corresponding described pre-set bandwidths in pre-set bandwidths.
In concrete enforcement, described default bandwidth can be the transmission bandwidth of LTE base station.In existing LTE protocol, the transmission bandwidth of base station can be 5MHz, 10MHz, 15MHz and 20MHz.The AGC calibration value of the continuous wave that the frequency chosen step S102 in pre-set bandwidths is corresponding carries out discrete integration computing, obtain the AGC calibration value of 5MHz, 10MHz, 15MHz and 20MHz bandwidth, can AGC_5M, AGC_10M, AGC_15M and AGC_20M be expressed as.
Step S104, carries out computing by the AGC calibration value of described corresponding bandwidth and described first calibration value, obtains the revised AGC calibration value of corresponding bandwidth, and using the power compensating value of described revised AGC calibration value as filter.
In concrete enforcement, the AGC calibration value that AGC_5M, AGC_10M, AGC_15M and the AGC_20M that step S103 can be obtained obtain with step S101 respectively subtracts each other, obtain the revised AGC calibration value of corresponding bandwidth, and using the power compensating value of described revised AGC calibration value as filter.
Be understandable that, in step S104, also an AGC value and AGC_5M, AGC_10M, AGC_15M and AGC_20M can be subtracted each other, the difference obtained is taken absolute value and also can obtain the revised AGC calibration value of corresponding bandwidth, and using the power compensating value of described revised AGC calibration value as filter.
Visible, multiple frequency is chosen by adopting the first default step-length, the CW ripple utilizing multiple frequency corresponding obtains multiple AGC calibration value, and utilizes the AGC calibration value in discrete integration acquisition pre-set bandwidths, subtracts each other as the revised automatic gain control calibration value of corresponding bandwidth with the first calibration value.Owing to being calculate corresponding filter power offset for different filters to carry out power back-off to filter, therefore, it is possible to the precision that raising filter power compensates.
In concrete enforcement, can also further expand such scheme, be described in detail below by way of specific embodiment.
The embodiment of the present invention additionally provides a kind of filter power compensation method, with reference to Fig. 2, is described in detail below by way of concrete steps.
Step S201, selects the CW ripple that the first default calibration frequency is corresponding.
In embodiments of the present invention, the first calibration frequency preset can be 1800MHz, and the frequency of other frequencies also can be selected as required as the first calibration frequency.
Step S202, obtains the AGC calibration value of described CW ripple.
In embodiments of the present invention, the CW ripple that 1800MHz frequency can be utilized corresponding carries out AGC calibration to LTE signal waveform, obtains an AGC calibration value, can be expressed as AGC_CW.In actual applications, described LTE signal waveform can be the LTE signal waveform for testing, LTE signal waveform after calibrating using CW ripple, through mobile terminal filter, obtains the performance number of the decay of LTE signal waveform, namely can be used as the AGC calibration value of CW ripple.
Step S203, centered by the first calibration frequency, calibrates frequency both sides with the first step-length for choosing frequency in interval first respectively.
Such as, point centered by 1800MHz, frequency is chosen using 1MHz successively as the first step-length in the 10MHz of 1800MHz both sides, then now can choose 20 frequencies, be followed successively by 1790MHz, 1791MHz, 1792MHz ... 1809MHz, 1810MHz, utilizes CW ripple corresponding to 20 frequencies choosing to carry out AGC calibration to LTE signal waveform, obtains 20 corresponding AGC calibration values.Also can choose 0.5MHz and choose frequency successively as the first step-length, now can choose 40 frequencies, and utilize the CW ripple that the frequency chosen is corresponding to obtain AGC calibration value.Same, also can choose other step-lengths and choose frequency successively as the first step-length.
Step S204, the AGC calibration value of the CW ripple that the frequency chosen described in acquisition is corresponding.
Step S205, carries out discrete integration to the AGC calibration value of CW ripple corresponding to the frequency chosen in the bandwidth preset.
In embodiments of the present invention, discrete integration can be carried out to the AGC calibration value of CW ripple corresponding to the frequency chosen respectively in 5MHz, 10MHz, 15MHz and 20MHz bandwidth, the AGC calibration value of 5MHz, 10MHz, 15MHz and 20MHz bandwidth can be obtained, be expressed as AGC_5M, AGC_10M, AGC_15M and AGC_20M.
Step S206, subtracts each other AGC calibration value corresponding for default bandwidth and AGC_CW, obtains the revised AGC calibration value of corresponding bandwidth, and using the power compensating value of described revised AGC calibration value as filter.
In embodiments of the present invention, for 5MHz bandwidth, revised AGC calibration value can be expressed as Delta_5MHz, Delta_5MHz=AGC_5M-AGC_CW, in like manner, for the revised AGC calibration value of 10MHz, 15MHz and 20MHz bandwidth, the computational methods of Delta_5MHz can carry out identical calculating, not repeat herein.
Be understandable that, when the first step-length chosen value more hour, the number of the frequency chosen can be more, and the calibration value of the AGC obtained is more, and the AGC calibration value namely in 5MHz, 10MHz, 15MHz and 20MHz bandwidth is just more.Therefore, when carrying out discrete integration to AGC calibration value in 5MHz, 10MHz, 15MHz and 20MHz bandwidth, the value of AGC_5M, AGC_10M, AGC_15M and AGC_20M of obtaining just can be more accurate.
When the step-length choosing frequency more hour, the frequency points chosen is more, and in corresponding bandwidth, the calibration value of AGC is more accurate, therefore further improves the precision that filter power compensates.
The embodiment of the present invention additionally provides a kind of filter power compensation arrangement 30, comprising: the first acquiring unit 301, second acquisition unit 302, first arithmetic element 303 and the second arithmetic element 304, wherein:
First acquiring unit 301, the continuous wave that the first calibration frequency for selecting to preset is corresponding, obtains the automatic gain control calibration value of described continuous wave, and using described calibration value as the first calibration value;
Second acquisition unit 302, for centered by described first calibration frequency, calibrates frequency both sides with the first step-length for choosing frequency in interval described first, the automatic gain control calibration value of the continuous wave that the frequency chosen described in acquisition is corresponding respectively;
First arithmetic element 303, for carrying out computing to the automatic gain control calibration value of continuous wave corresponding to the described frequency chosen in pre-set bandwidths, obtains the automatic gain control calibration value of corresponding described pre-set bandwidths;
Second arithmetic element 304, for the automatic gain control calibration value of described corresponding bandwidth and described first calibration value are carried out computing, obtain the revised automatic gain control calibration value of corresponding bandwidth, and using the power compensating value of described revised automatic gain control calibration value as filter.
In concrete enforcement, described first arithmetic element 303 for carrying out discrete integration computing to the described automatic gain control calibration value choosing continuous wave corresponding to frequency in pre-set bandwidths.
In concrete enforcement, described pre-set bandwidths comprises: 5MHz, 10MHz, 15MHz and 20MHz.
In concrete enforcement, described second arithmetic element 304, for automatic gain control calibration value corresponding for 5MHz, 10MHz, 15MHz and 20MHz bandwidth and described first calibration value being subtracted each other, obtains revised 5MHz, 10MHz, 15MHz and 20MHz bandwidth automatic gain control calibration value.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
Although the present invention discloses as above, the present invention is not defined in this.Any those skilled in the art, without departing from the spirit and scope of the present invention, all can make various changes or modifications, and therefore protection scope of the present invention should be as the criterion with claim limited range.