CN103001597B - A kind of gain frequency compensation method and device - Google Patents

A kind of gain frequency compensation method and device Download PDF

Info

Publication number
CN103001597B
CN103001597B CN201110268037.9A CN201110268037A CN103001597B CN 103001597 B CN103001597 B CN 103001597B CN 201110268037 A CN201110268037 A CN 201110268037A CN 103001597 B CN103001597 B CN 103001597B
Authority
CN
China
Prior art keywords
gain
code word
frequency
tgt
corresponding relation
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
CN201110268037.9A
Other languages
Chinese (zh)
Other versions
CN103001597A (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.)
Leadcore Technology Co Ltd
Original Assignee
Leadcore 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 Leadcore Technology Co Ltd filed Critical Leadcore Technology Co Ltd
Priority to CN201110268037.9A priority Critical patent/CN103001597B/en
Publication of CN103001597A publication Critical patent/CN103001597A/en
Application granted granted Critical
Publication of CN103001597B publication Critical patent/CN103001597B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Circuits Of Receivers In General (AREA)

Abstract

The invention discloses a kind of gain frequency compensation method and device, wherein, described method comprises: preserve the gain code word-gain corresponding relation curve on calibration frequency in advance, and the sectional translation relation information of gain code word-gain corresponding relation curve on gain code word-relatively described calibration frequency of gain corresponding relation curve on non-calibrated frequency; Obtain the gain g in receiver current working frequency tgt; According to the gain code word on described calibration frequency-gain corresponding relation curve, obtain described gain g tgtcorresponding gain code word index tgt, and by described gain code word index tgtset in radio frequency chip; According to the frequency difference between described working frequency points and described calibration frequency, described gain code word index tgtand described sectional translation relation information, obtain described gain code word index tgtcorresponding gain compensation amount Δ gain; According to described gain g tgtand described gain compensation amount Δ gain obtains the actual gain that comes into force.By the present invention, the actual gain that comes into force can be obtained more accurately, meet the frequency compensation requirement of the gain of radio frequency chip.

Description

A kind of gain frequency compensation method and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of gain frequency compensation method and device.
Background technology
For TD-SCDMA (Time Division-Synchronous Code Division MultipleAccess, TD SDMA) system, the actual yield value come into force of radio frequency chip is for calculating RSCP (the Received Signal Code Power of antenna opening, Received signal strength code word power) and RSSI (Received Signal Strength Indication, received signal strength indicator).Concrete computational methods are as shown in formula (1), (2).Wherein g tgtfor the actual gain come into force, RSCP calcand RSSI calcfor RSSI and the RSCP calculated value of radio frequency chip rear end (after amplifying).
RSCP ant=RSCP calc+g tgt(1)
RSSI ant=RSSI caic+g tgt(2)
But corresponding change can be there is along with the working frequency points change of receiver when configuring identical gain code word in the gain of radio frequency chip.Generally can think that, under same gain code word, gain is the function of difference on the frequency.Due to the frequency compensation value sum that the actual gain that comes into force is calibration frequency gain and gain, so in order to obtain the actual yield value come into force, frequency compensation must be carried out to gain.
First the frequency compensation of gain needs to choose a calibration frequency f cali, this frequency is drawn out " gain code word-gain " corresponding relation curve (be generally the corresponding relation of approximate linear function, therefore can be reduced to the straight line that slope is K).Change frequency subsequently, use identical a set of gain code word to draw this frequency corresponding relation curve.If preserved on mobile terminals on all working frequency corresponding relation curve, then can by searching in the working frequency points of mobile terminal real work corresponding relation curve, finds out corresponding gain code word, and is set in radio frequency chip, and calculate the actual gain come into force.
But for mobile terminal, usually enough memory spaces are not had to store " gain code word-gain " corresponding relation curve of all frequencies, therefore in the prior art, " gain code word-gain " corresponding relation curve of non-calibrated frequency is generally by converting to reach matching to the curve of calibration frequency.Specifically when matching, by by calibration frequency corresponding relation curve carries out upper and lower translation to realize.
But, the present inventor realizing finding in process of the present invention, for some radio frequency chips, by calibration frequency on corresponding relation curve carries out the straight line of certain non-calibrated frequency that upper and lower translation obtains, with actual on this non-calibrated frequency the degree of fitting of corresponding relation curve is poor, makes the accuracy of the actual gain that comes into force finally calculated lower, cannot meet the frequency compensation requirement of the gain of these radio frequency chips.
Summary of the invention
The invention provides a kind of gain frequency compensation method and device, the actual gain that comes into force can be obtained more accurately, meet the frequency compensation requirement of the gain of radio frequency chip.
The invention provides following scheme:
A kind of gain frequency compensation method, preserve the gain code word-gain corresponding relation curve on calibration frequency in advance, and the sectional translation relation information of gain code word-gain corresponding relation curve on gain code word-relatively described calibration frequency of gain corresponding relation curve on non-calibrated frequency, described method comprises:
Obtain the gain g in receiver current working frequency tgt;
According to the gain code word on described calibration frequency-gain corresponding relation curve, obtain described gain g tgtcorresponding gain code word index tgt, and by described gain code word index tgtset in radio frequency chip;
According to the frequency difference between described working frequency points and described calibration frequency, described gain code word index tgtand described sectional translation relation information, obtain described gain code word index tgtcorresponding gain compensation amount Δ gain;
According to described gain g tgtand described gain compensation amount Δ gain obtains the actual gain that comes into force.
Wherein, described sectional translation relation information comprises the section boundaries of gain code word, and the translational movement in each piecewise interval, described according to the frequency difference between described working frequency points and described calibration frequency, described gain code word index tgtand described sectional translation relation information, obtain described gain code word index tgtcorresponding gain compensation amount Δ gain comprises:
Determine described gain code word index tgtaffiliated piecewise interval;
By the translational movement in this corresponding for described frequency difference piecewise interval, be defined as described gain compensation amount Δ gain.
Wherein, described sectional translation relation information comprises the corresponding relation between frequency difference-gain code word-gain inequality, described according to the frequency difference between described working frequency points and described calibration frequency, described gain code word index tgtand described sectional translation relation information, obtain described gain code word index tgtcorresponding gain compensation amount Δ gain comprises:
According to described corresponding relation, under determining the frequency difference between described working frequency points and described calibration frequency, described gain code word index tgtcorresponding gain inequality, determines described gain compensation amount Δ gain by this gain inequality.
Wherein, described according to described gain g tgtand the actual gain that comes into force of described gain compensation amount Δ gain acquisition comprises:
According in the gain code word on described calibration frequency-gain corresponding relation curve, with described gain g tgtimmediate gain g ' tgt, and described gain compensation amount Δ gain, obtain the actual gain that comes into force.
Wherein, described according in the gain code word on described calibration frequency-gain corresponding relation curve, with described gain g tgtimmediate gain g ' tgt, and described gain compensation amount Δ gain, obtain the actual gain that comes into force and comprise:
g set=g′ tgt-Δgain
Wherein, g setfor the actual gain that comes into force.
A kind of gain frequency compensation arrangement, preserve the gain code word-gain corresponding relation curve on calibration frequency in advance, and the sectional translation relation information of gain code word-gain corresponding relation curve on gain code word-relatively described calibration frequency of gain corresponding relation curve on non-calibrated frequency, described device comprises:
Current gain acquiring unit, for obtaining the gain g in receiver current working frequency tgt;
Gain code word acquiring unit, for according to the gain code word on described calibration frequency-gain corresponding relation curve, obtains described gain g tgtcorresponding gain code word index tgt, and by described gain code word index tgtset in radio frequency chip;
Gain compensation amount acquiring unit, for according to the frequency difference between described working frequency points and described calibration frequency, described gain code word index tgtand described sectional translation relation information, obtain described gain code word index tgtcorresponding gain compensation amount Δ gain;
The actual gain acquiring unit that comes into force, for obtaining the actual gain that comes into force according to described gain gtgt and described gain compensation amount Δ gain.
Wherein, described sectional translation relation information comprises the section boundaries of gain code word, and the translational movement in each piecewise interval, and described gain compensation amount acquiring unit comprises:
Subelement is determined in interval, for determining described gain code word index tgtaffiliated piecewise interval;
Gain compensation amount determination subelement, for by the translational movement in this corresponding for described frequency difference piecewise interval, is defined as described gain compensation amount Δ gain.
Wherein, described sectional translation relation information comprises the corresponding relation between frequency difference-gain code word-gain inequality, described gain compensation amount acquiring unit specifically for: according to described corresponding relation, under determining the frequency difference between described working frequency points and described calibration frequency, described gain code word index tgtcorresponding gain inequality, determines described gain compensation amount Δ gain by this gain inequality.
Wherein, described actual come into force gain acquiring unit specifically for:
According in the gain code word on described calibration frequency-gain corresponding relation curve, with described gain g tgtimmediate gain g ' tgt, and described gain compensation amount Δ gain, obtain the actual gain that comes into force.
Wherein, the described actual gain acquiring unit that comes into force is specifically for obtaining the actual gain that comes into force in the following manner:
g set=g′ tgt-Δgain
Wherein, g setfor the actual gain that comes into force.
According to specific embodiment provided by the invention, the invention discloses following technique effect:
In embodiments of the present invention, by using the method for piecewise function, matching is carried out to the gain code word on non-calibrated frequency-gain corresponding relation curve, therefore, gain code word on the non-calibrated frequency that matching can be made to obtain-gain corresponding relation curve is more close to the curve with reality, thus the actual gain that comes into force making to obtain in gain frequency compensation process is more accurate, and then meet the frequency compensation requirement of gain of radio frequency chip.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the gain code word-gain corresponding relation curve synoptic diagram on calibration frequency;
Fig. 2 is the schematic diagram in prior art, the gain code word on non-calibrated frequency-gain corresponding relation curve being carried out to matching;
Fig. 3 is the schematic diagram in the embodiment of the present invention, the gain code word on non-calibrated frequency-gain corresponding relation curve being carried out to matching;
Fig. 4 is the flow chart of the method that the embodiment of the present invention provides;
Fig. 5 is the error curve schematic diagram in the embodiment of the present invention;
Fig. 6 is the schematic diagram of the device that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain, all belongs to the scope of protection of the invention.
For the ease of understanding the embodiment of the present invention, first gain frequency compensation method of the prior art is introduced below.
First, owing to usually selecting center frequency point as calibration frequency, this frequency can obtain good gain performance, therefore, the gain code word-gain on calibration frequency corresponding relation curve presents approximate linear function corresponding relation usually, and in actual applications, being usually reduced to a slope is the straight line of K, and as shown in Figure 1, wherein, the value of slope K is by this calibration frequency the actual curve of corresponding relation is determined.It should be noted that, although what show in FIG is a continuous print straight line, because code word is normally discrete, such as, may be 1,2,3 etc., therefore, preserve on calibration frequency during corresponding relation curve, can be preserved by the form of code table.In other words, what preserve in code table is exactly on calibration frequency, the yield value corresponding with each gain code word.
In the prior art, on non-calibrated frequency corresponding relation curve is by calibration frequency corresponding relation curvilinear translation obtains, and wherein, the amount of translation is:
Δgain=f(Δf) (1)
Wherein, wherein f () represents the function corresponding relation of Δ f and Δ gain; Δ f is the frequency difference of non-calibrated frequency and calibration frequency.As shown in Figure 2.Can find out, on non-calibrated frequency corresponding relation curve, only with relevant relative to the frequency difference of calibrating frequency, therefore, can develop " frequency difference-gain inequality (Δ f<-> Δ gain) " and shows and preserve.
That is, in the prior art, what preserve in advance is calibrate the gain code word-gain corresponding relation curve (may be the form with code table) on frequency, and " Δ f<-> Δ gain " table.
On the basis saving above-mentioned information in advance, the method for carrying out gain frequency compensation in prior art can be:
Step 1: obtain the gain g in receiver current working frequency tgt;
Step 2: obtain current working frequency f tgtwith calibration frequency f calibetween frequency difference Δ f=|f tgt-f cali|, and search " Δ f<-> Δ gain " table, obtain the Δ gain that Δ f is corresponding;
Step 3: calculate the gain g on calibration frequency cali=g tgt+ f (Δ f)=g tgt+ Δ gain; Wherein, when Δ f is fixing, f (Δ f)=C (C is constant);
Step 4: based on g calisearch corresponding relation curve, obtains corresponding gain code word index, and this gain code word index is set into radio frequency chip; Wherein, g caliwith gain in corresponding relation curve not necessarily has relation one to one, therefore, in the process of searching, can get closest to g caligain (i.e. g ' cali) search index;
Step 5: search corresponding gain g ' into the gain code word index of radio frequency chip with configuring cali, and calculate the actual gain that comes into force in the following manner:
g′ tgt=g′ cali-f(Δf) (2)
In a word, in the prior art, carry out gain frequency compensate time, by calibration frequency on corresponding relation curve carries out translation, realizes on non-calibrated frequency the matching of corresponding relation curve.If on non-calibrated frequency corresponding relation curve with calibration frequency on corresponding relation curve has translation relation really, then can obtain good degree of fitting, and then also just can obtain the actual gain that comes into force comparatively accurately.But in actual applications, the degree of fitting of this fit approach is really very low.Such as, see Fig. 2, if actual on non-calibrated frequency corresponding relation curve is " f_tgt ' ", then in first half section, " f_tgt " and " f_tgt ' " still have reasonable degree of fitting, but to the second half section, " f_tgt " can more and more depart from actual " f_tgt ", can not reflect the actual conditions of " f_tgt ' " exactly.
For this reason, following implementation is proposed in the embodiment of the present invention: use the method for piecewise function on non-calibrated frequency corresponding relation curve carries out matching.During specific implementation, on non-calibrated frequency corresponding relation curve, still can pass through calibrating on frequency corresponding relation curve carries out translation to obtain, but for same non-calibrated frequency, when gain code word is different, translational movement may be different.That is, gain code word can be divided into multistage, the gain code word belonged in same piecewise interval correspond to same translational movement, but different piecewise interval correspond to different translational movements; To calibration frequency in each piecewise interval corresponding relation curve carries out the upper and lower translation of corresponding translational movement.Wherein, the translational movement in the section boundaries of gain code word and each piecewise interval, according to actual on each non-calibrated frequency corresponding relation curve decides.
During specific implementation, just first can test on calibration frequency, get the gain that each gain code word is corresponding respectively, and draw out corresponding relation curve (supposing that a slope is the straight line of K, as in Fig. 3); Same, for non-calibrated frequency f tgtalso carry out same test, also can draw out this non-calibrated frequency f tgton corresponding relation curve.Then, according to this non-calibrated frequency f tgton the concrete trend of corresponding relation curve, segmentation is carried out to gain code word, its principle can be, in during each segmentation, virgin curve is replaced with the straight line that slope is similarly K, gain difference not too large (such as difference can not exceed certain threshold value etc.) corresponding in each gain code word before and after replacing.Such as, utilize the method for the embodiment of the present invention, the result of matching can be as shown in Figure 3.Like this, obtain after translation can being made corresponding relation curve, with actual on non-calibrated frequency corresponding relation curve has relatively high degree of fitting.
Therefore, in order to realize in gain frequency compensation process on non-calibrated frequency corresponding relation curve carries out the matching of sectional translation, except needing to preserve on calibration frequency outside corresponding relation curve (mode of code table can be adopted equally to preserve), also need to preserve on non-calibrated frequency on corresponding relation curve relative calibration frequency the sectional translation relation information of corresponding relation curve.On the basis saving above-mentioned information, see Fig. 4, the gain frequency compensation method that the embodiment of the present invention provides can comprise the following steps:
S401: obtain the gain g in receiver current working frequency tgt;
This step can be identical with prior art.
S402: according to the gain code word on described calibration frequency-gain corresponding relation curve, obtain described gain g tgtcorresponding gain code word index tgt, and by described gain code word index tgtset in radio frequency chip;
In embodiments of the present invention, can according to the gain g in current working frequency tgt, directly to calibrating on frequency search and g in corresponding relation curve tgtcorresponding gain code word, and directly this gain code word is set in radio frequency chip.Certainly, because current working frequency is not calibration frequency, as long as one in the codeword set that the gain code word radio frequency chip found in this way allows, therefore, the above-mentioned gain code word setting into radio frequency chip is not with as far as possible accurate for principle.
S403: according to the frequency difference between described working frequency points and described calibration frequency, described gain code word index tgtand described sectional translation relation information, obtain described gain code word index tgtcorresponding gain compensation amount Δ gain;
Wherein, this sectional translation relation information specifically can comprise the section boundaries of gain code word, and the translational movement in each piecewise interval, that is, system can be allowed where to learn the section boundaries of gain code word, and the translational movement in each piecewise interval is how many, wherein, in fact just representative is under same gain code word for this translational movement, and the difference between the gain that calibration frequency is corresponding with non-calibrated frequency, is called for short gain inequality.Therefore, in this case, just gain code word index can first be determined tgtaffiliated piecewise interval, then by the translational movement in this corresponding for frequency difference Δ f piecewise interval, is defined as gain compensation amount Δ gain.
Or this sectional translation relation information also can be the corresponding relation between frequency difference-gain code word-gain inequality.As mentioned before, in fact gain inequality correspond to translational movement, therefore, if directly do not preserve the section boundaries of gain code word, and the translational movement in each piecewise interval, under so directly preserving certain frequency difference, the corresponding relation between each gain code word and gain inequality is also fine.That is, under identical frequency difference, different gain code words may correspond to different gain inequalities, therefore, when directly this corresponding relation being preserved, just can according to this corresponding relation, determine in current working frequency and under calibrating between frequency frequency difference, gain code word index tgtcorresponding gain inequality, then by this gain inequality determination gain compensation amount Δ gain.
S404: according to described gain g tgtand described gain compensation amount Δ gain obtains the actual gain that comes into force.
After determining gain compensation amount, just can according to gain g tgtand gain compensation amount Δ gain obtains the actual gain that comes into force.Wherein, during specific implementation, due to the gain g in working frequency points tgt, on calibration frequency may not be there is relation one to one in the gain in corresponding relation, therefore, obtain gain code word index in step S402 tgttime, can only get with can according in the gain code word on described calibration frequency-gain corresponding relation curve with g tgtthe index that immediate gain is corresponding.Therefore, specifically obtain actual come into force gain time, can according to calibration frequency on in corresponding relation curve, gain g tgtimmediate gain g ' tgt, and gain compensation amount Δ gain, obtain the actual gain that comes into force.
During specific implementation, if g setfor the actual gain that comes into force, then can obtain in the following manner:
g set=g′ tgt-Δgain (3)
After getting the actual gain that comes into force, just this actual gain that comes into force can be sent to upper layer application, so that upper layer application calculates RSCP and RSSI of antenna opening accordingly.
In a word, in embodiments of the present invention, by using the method for piecewise function, matching is carried out to the gain code word on non-calibrated frequency-gain corresponding relation curve, therefore, gain code word on the non-calibrated frequency that matching can be made to obtain-gain corresponding relation curve is more close to the curve with reality, thus the actual gain that comes into force making to obtain in gain frequency compensation process is more accurate, and then meet the frequency compensation requirement of gain of radio frequency chip.
It should be noted that, by the method for the embodiment of the present invention, actual gain and the gain g of coming into force calculated tgtbetween error be g error=Δ gain ± | g tgt-g ' tgt|.Relative to existing scheme, the error of increase is Δ gain.Therefore, for non-calibrated frequency, a g can be provided error<->index curve, as shown in Figure 5.But, newly-increased g errorimpact can't be brought to system, this is because:
First, g errorrelevant with concrete radio frequency chip.For TD-SCDMA terminal, the optimum gain of reception is by radio frequency chip and receiving filter parameters simulation and test acquisition.Optimum gain is an interval normally, and this interval can cover g error.The simultaneously adjustment of receiving gain is the process of a closed loop, even if there is error, also can upper once receive time make up.Secondly, the yield value error that the yield value calculated and radio frequency chip really come into force is very little, is only error of tabling look-up.
Corresponding with the gain frequency compensation method that the embodiment of the present invention provides, the embodiment of the present invention additionally provides a kind of gain frequency compensation arrangement, in the apparatus, need equally to preserve the gain code word-gain corresponding relation curve on calibration frequency in advance, and the sectional translation relation information of gain code word-gain corresponding relation curve on gain code word-relatively described calibration frequency of gain corresponding relation curve on non-calibrated frequency, see Fig. 6, this device comprises:
Current gain acquiring unit 601, for obtaining the gain g in receiver current working frequency tgt;
Gain code word acquiring unit 602, for according to the gain code word on described calibration frequency-gain corresponding relation curve, obtains described gain g tgtcorresponding gain code word index tgt, and by described gain code word index tgtset in radio frequency chip;
Gain compensation amount acquiring unit 603, for according to the frequency difference between described working frequency points and described calibration frequency, described gain code word index tgtand described sectional translation relation information, obtain described gain code word index tgtcorresponding gain compensation amount Δ gain;
The actual gain acquiring unit 604 that comes into force, for according to described gain g tgtand described gain compensation amount Δ gain obtains the actual gain that comes into force.
Wherein, under a kind of implementation, described sectional translation relation information can comprise the section boundaries of gain code word, and the translational movement in each piecewise interval, and accordingly, gain compensation amount acquiring unit 603 can comprise:
Subelement is determined in interval, for determining described gain code word index tgtaffiliated piecewise interval;
Gain compensation amount determination subelement, for by the translational movement in this corresponding for described frequency difference piecewise interval, is defined as described gain compensation amount Δ gain.
Under another kind of implementation, described sectional translation relation information also can comprise the corresponding relation between frequency difference-gain code word-gain inequality, accordingly, gain compensation amount acquiring unit 603 specifically may be used for: according to described corresponding relation, under determining the frequency difference between described working frequency points and described calibration frequency, described gain code word index tgtcorresponding gain inequality, determines described gain compensation amount Δ gain by this gain inequality.
In actual applications, the actual gain acquiring unit 604 that comes into force specifically may be used for:
According in the gain code word on described calibration frequency-gain corresponding relation curve, with described gain g.Immediate gain g ' tgt, and described gain compensation amount Δ gain, obtain the actual gain that comes into force.
Further, the actual gain acquiring unit 604 that comes into force specifically can obtain the actual gain that comes into force in the following manner:
g set=g′ tgt-Δgain
Wherein, g setfor the actual gain that comes into force.
In the frequency compensation device of the gain provided in the embodiment of the present invention, by using the method for piecewise function, matching is carried out to the gain code word on non-calibrated frequency-gain corresponding relation curve, therefore, gain code word on the non-calibrated frequency that matching can be made to obtain-gain corresponding relation curve is more close to the curve with reality, thus the actual gain that comes into force making to obtain in gain frequency compensation process is more accurate, and then meet the frequency compensation requirement of gain of radio frequency chip.
It should be noted that, said apparatus embodiment is corresponding with preceding method embodiment, and therefore, in device embodiment, non-detailed portion see the introduction in embodiment of the method, can repeat no more here.
Above to a kind of gain frequency compensation method provided by the present invention and device, be described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications.In sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a gain frequency compensation method, it is characterized in that, preserve the gain code word-gain corresponding relation curve on calibration frequency in advance, and the sectional translation relation information of gain code word-gain corresponding relation curve on gain code word-relatively described calibration frequency of gain corresponding relation curve on non-calibrated frequency, wherein, use the method for piecewise function to the gain code word-gain on non-calibrated frequency corresponding relation curve carries out matching, and gain code word is divided into multistage, and the gain code word belonged in same piecewise interval correspond to same translational movement, to each calibration frequency in each piecewise interval corresponding relation curve carries out the upper and lower translation of corresponding translational movement; Described method comprises:
Obtain the gain g in receiver current working frequency tgt;
According to the gain code word on described calibration frequency-gain corresponding relation curve, obtain described gain g tgtcorresponding gain code word, and described gain code word is set in radio frequency chip;
According to the frequency difference between described working frequency points and described calibration frequency, described gain code word and described sectional translation relation information, obtain the gain compensation amount Δ gain that described gain code word is corresponding;
According to described gain g tgtand described gain compensation amount Δ gain obtains the actual gain that comes into force.
2. method according to claim 1, it is characterized in that, described sectional translation relation information comprises the section boundaries of gain code word, and the translational movement in each piecewise interval, described according to the frequency difference between described working frequency points and described calibration frequency, described gain code word and described sectional translation relation information, the gain compensation amount Δ gain obtaining described gain code word corresponding comprises:
Determine the piecewise interval belonging to described gain code word;
By the translational movement in this corresponding for described frequency difference piecewise interval, be defined as described gain compensation amount Δ gain.
3. method according to claim 1, it is characterized in that, described sectional translation relation information comprises the corresponding relation between frequency difference-gain code word-gain inequality, described according to the frequency difference between described working frequency points and described calibration frequency, described gain code word and described sectional translation relation information, the gain compensation amount Δ gain obtaining described gain code word corresponding comprises:
According to described corresponding relation, under determining the frequency difference between described working frequency points with described calibration frequency, gain inequality corresponding to described gain code word, this gain inequality is defined as described gain compensation amount Δ gain.
4. the method according to any one of claims 1 to 3, is characterized in that, described according to described gain g tgtand the actual gain that comes into force of described gain compensation amount Δ gain acquisition comprises:
According in the gain code word on described calibration frequency-gain corresponding relation curve, with described gain g tgtimmediate gain g ' tgt, and described gain compensation amount Δ gain, obtain the actual gain that comes into force.
5. method according to claim 4, is characterized in that, described according in the gain code word on described calibration frequency-gain corresponding relation curve, with described gain g tgtimmediate gain g ' tgt, and described gain compensation amount Δ gain, obtain the actual gain that comes into force and comprise:
g set=g' tgt-Δgain
Wherein, g setfor the actual gain that comes into force.
6. a gain frequency compensation arrangement, it is characterized in that, preserve the gain code word-gain corresponding relation curve on calibration frequency in advance, and the sectional translation relation information of gain code word-gain corresponding relation curve on gain code word-relatively described calibration frequency of gain corresponding relation curve on non-calibrated frequency, wherein, use the method for piecewise function to the gain code word-gain on non-calibrated frequency corresponding relation curve carries out matching, and gain code word is divided into multistage, and the gain code word belonged in same piecewise interval correspond to same translational movement, to each calibration frequency in each piecewise interval corresponding relation curve carries out the upper and lower translation of corresponding translational movement; Described device comprises:
Current gain acquiring unit, for obtaining the gain g in receiver current working frequency tgt;
Gain code word acquiring unit, for according to the gain code word on described calibration frequency-gain corresponding relation curve, obtains described gain g tgtcorresponding gain code word, and described gain code word is set in radio frequency chip;
Gain compensation amount acquiring unit, for according to the frequency difference between described working frequency points and described calibration frequency, described gain code word and described sectional translation relation information, obtains the gain compensation amount Δ gain that described gain code word is corresponding;
The actual gain acquiring unit that comes into force, for according to described gain g tgtand described gain compensation amount Δ gain obtains the actual gain that comes into force.
7. device according to claim 6, is characterized in that, described sectional translation relation information comprises the section boundaries of gain code word, and the translational movement in each piecewise interval, and described gain compensation amount acquiring unit comprises:
Subelement is determined in interval, for determining the piecewise interval belonging to described gain code word;
Gain compensation amount determination subelement, for by the translational movement in this corresponding for described frequency difference piecewise interval, is defined as described gain compensation amount Δ gain.
8. device according to claim 6, it is characterized in that, described sectional translation relation information comprises the corresponding relation between frequency difference-gain code word-gain inequality, described gain compensation amount acquiring unit specifically for: according to described corresponding relation, under determining the frequency difference between described working frequency points with described calibration frequency, gain inequality corresponding to described gain code word, this gain inequality is defined as described gain compensation amount Δ gain.
9. the device according to any one of claim 6 to 8, is characterized in that, described actual come into force gain acquiring unit specifically for:
According in the gain code word on described calibration frequency-gain corresponding relation curve, with described gain g tgtimmediate gain g ' tgt, and described gain compensation amount Δ gain, obtain the actual gain that comes into force.
10. device according to claim 9, is characterized in that, the described actual gain acquiring unit that comes into force is specifically for obtaining the actual gain that comes into force in the following manner:
g set=g' tgt-Δgain
Wherein, g setfor the actual gain that comes into force.
CN201110268037.9A 2011-09-09 2011-09-09 A kind of gain frequency compensation method and device Active CN103001597B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110268037.9A CN103001597B (en) 2011-09-09 2011-09-09 A kind of gain frequency compensation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110268037.9A CN103001597B (en) 2011-09-09 2011-09-09 A kind of gain frequency compensation method and device

Publications (2)

Publication Number Publication Date
CN103001597A CN103001597A (en) 2013-03-27
CN103001597B true CN103001597B (en) 2015-08-19

Family

ID=47929815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110268037.9A Active CN103001597B (en) 2011-09-09 2011-09-09 A kind of gain frequency compensation method and device

Country Status (1)

Country Link
CN (1) CN103001597B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104071282B (en) * 2014-07-05 2016-05-18 肖华军 Folding stand
CN105634473B (en) * 2014-11-05 2019-01-11 联芯科技有限公司 The frequency adjusting method and device of mobile terminal
CN111352021B (en) * 2020-03-10 2022-08-09 上海御渡半导体科技有限公司 Signal calibration method of test equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188463A (en) * 2007-12-20 2008-05-28 北京北方烽火科技有限公司 A power calibration and real time correction device for CDMA receiver and its implementation method
CN101359921A (en) * 2008-09-18 2009-02-04 北京天碁科技有限公司 Calibration gauge acquiring method and apparatus, automatic gain calibration method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6798606B2 (en) * 2002-01-22 2004-09-28 International Business Machines Corporation Position error signal linearization calibration

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188463A (en) * 2007-12-20 2008-05-28 北京北方烽火科技有限公司 A power calibration and real time correction device for CDMA receiver and its implementation method
CN101359921A (en) * 2008-09-18 2009-02-04 北京天碁科技有限公司 Calibration gauge acquiring method and apparatus, automatic gain calibration method and apparatus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
An Improved Frequency Compensation Technique for CMOS Operational Amplifiers;Ahuja B.K;《Solid-State Circuits,IEEE Journal of》;19831231;第18卷(第6期);第629-633页 *
陆燕锋等.高增益四级运放频率补偿技术.《浙江大学学报(工学版)》.2010,第44卷(第11期),第2137-2141页. *

Also Published As

Publication number Publication date
CN103001597A (en) 2013-03-27

Similar Documents

Publication Publication Date Title
US8755836B2 (en) Method for searching the location of multi-SIM mobile terminal and an apparatus thereof
KR102258575B1 (en) Electronic apparatus and method for wireless communication using beamforming thereof
US11051179B2 (en) Device including antenna and control method thereof
US9048536B2 (en) Mobile communication device and impedance matching method thereof
US20080107155A1 (en) Method for calibrating an aoa location system for all frequencies in a frequency hopping signal
CN102324944B (en) Antenna calibration method and device
CN103001597B (en) A kind of gain frequency compensation method and device
CN105515688B (en) A kind of calibration method of the calibration of power device of transmitter
CN103427916A (en) Method and system for frequency calibration of radio frequency signal
CN110460342B (en) Gain compensation method
CN112104972A (en) Electronic device and method for wireless communication, computer-readable storage medium
CN102136858B (en) Base station correction method and correction device
CN105450318A (en) AGC calibration method and apparatus
CN101453782B (en) AFC calibrating method and regulating method for mobile phone frequency
CN101552882A (en) Electronic apparatus, electronic-apparatus adjustment method and integrated circuit
CN113922893B (en) GSM radio frequency front-end power calibration method and device
CN101707784B (en) Method and device for acquiring path loss
CN113114108A (en) Method for estimating crystal oscillator frequency
CN101304277B (en) Method and apparatus for acquiring intelligent antenna channel characteristics
CN101834619B (en) Emission system and method for reducing local oscillation leak power thereof
US7107056B2 (en) Method and system for estimating movement speed of mobile unit
CN113395763B (en) NB terminal high-precision positioning method and system based on 5G/NB-IoT cluster node information fusion
CN105450183A (en) Temperature compensation method and device for linear power amplifier
CN101965003A (en) Method and device for improving estimated accuracy of path loss through TD-SCDMA (Time Division-Synchronous Code Division Multiple Access) under condition of weak signals
CN104753616B (en) The automatic gain control calibration method and apparatus of communication terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant