A kind of mobile terminal power controls detection calibration method and mobile terminal
Technical field
The present invention relates to mobile terminal radio frequency measuring technology, the power being related specifically to a kind of mobile terminal controls detection calibration method and mobile terminal.
Background technology
Mobile terminal (being called for short, UE) all comprises baseband module and radio frequency (being called for short, RF) module usually, before dispatching from the factory, needs to carry out detection calibration to its radio frequency, to guarantee that its RF indices meets the requirements.
Mobile terminal radio frequency detection calibration system as shown in Figure 1, generally include testing equipment, UE, host computer (being generally PC), wherein, testing equipment (as, combine side instrument) for anolog base station function, carry out Signalling exchange with UE, receive the RF signal that UE sends, the RF performance parameter of acquisition UE, PC is analyzed the parameter that testing equipment obtains, and produces RF calibration parameter and sends to UE to calibrate its RF.
Power controls the main project that detection calibration (being called for short, PCTRL) is RF detection calibration, its object is to test and calibrates the RF transmitting power of UE under each power construction quality.The power of TD-SCDMA UE controls detection calibration item and generally includes maximum transmission power, minimum emissive power and uplink closed loop three.
The UE power of prior art controls the method for detection calibration as shown in Figure 2:
1, under non-signaling pattern (not having Signalling exchange between UE and testing equipment), UE presses transmitting power transmitting RF signal corresponding to each power construction quality;
2, testing equipment measures each power construction quality UE actual emission power value; PC is sent to by measuring each power construction quality UE actual emission power value obtained;
4, the power control ratio that the difference of the expectation transmitting power of each actual emission power value of measuring according to testing equipment of PC and each power construction quality arranges each power construction quality (is called for short, APC coefficient), obtain APC coefficient table (the power control ratio list that each power construction quality is corresponding respectively);
5, PC by the programming of APC coefficient table in the FLASH memory of UE, as each power construction quality power control ratio table of UE;
6, UE re-powers, and UE and testing equipment enter signaling mode;
7, under signaling mode, testing equipment is transmitted with the transmitting power that each power construction quality is corresponding according to the coefficient of power control ratio table by power control signal control UE.
8, testing equipment measures actual emission power, judges whether UE actual emission power meets the demands; In maximum transmission power, minimum emissive power and each power construction quality, whether the difference of the actual emission power of two adjacent power construction qualities is in the error range allowed, and if so, test is passed through, and completes power and controls detection calibration process; Otherwise, return step 1 and retest;
Wherein, the determination methods whether UE actual emission power meets the demands is, judges that the difference of the actual emission power of UE maximum transmission power, minimum emissive power and each adjacent power construction quality is whether in the deviation range allowed.
The above-mentioned detection calibration method Problems existing of prior art is:
1, the power control ratio set under non-signaling pattern is used for the test carried out under signaling mode, because signaling environment is inconsistent, the accuracy of detection calibration may be affected;
2, calibration with test process as two independently flow process carry out respectively, calibration or tested rear UE, testing equipment needs re-power loading, initialization, reduce the efficiency of detection calibration.
Summary of the invention
In view of this, the present invention proposes a kind of mobile terminal power and control detection calibration method and mobile terminal, to improve the accuracy that mobile terminal power controls detection calibration.
A kind of mobile terminal power of the present invention controls detection calibration method and comprises:
Step 1, PC control mobile terminal UE and testing equipment enter signaling mode, set up the link of calling winding;
Step 2, testing equipment send signal by signaling control UE with the transmitting power of different capacity construction quality;
The actual emission power of step 3, testing equipment UE is measured, and sends to host computer by measuring each actual emission power obtained;
Step 4, host computer obtain actual emission power corresponding to UE each power construction quality;
Step 5, host computer judge whether UE actual emission power meets the demands, if met the demands, complete power and control detection calibration; Otherwise expect the power control ratio of each power construction quality of the drift correction of transmitting power according to each power construction quality actual emission power and this power construction quality, revised power control ratio is sent to UE;
Step 6, UE upgrade power control ratio table; Return step 2 to perform.
Described step 2 comprises further:
Testing equipment by signaling control UE preset frame number Fn in, the power construction quality (be called for short, APC_max) maximum from transmitting power starts, and reduces power construction quality step by step, until reach the minimum power construction quality of transmitting power (being called for short, APC_min).
Described step 2 comprises further:
Testing equipment in the frame number Fn preset, from APC_min, improves power construction quality, until reach APC_max by signaling control UE step by step.
Described step 2 comprises further:
Testing equipment in the frame number 2 × Fn preset, from APC_max, reduces power construction quality, until reach APC_min by signaling control UE step by step; Then, improve power construction quality step by step by power construction quality, until reach APC_max.
Described step 4 comprises further:
401, using first actual emission power value receiving as maximum actual emission power (being called for short, P_max);
402, one by one subsequently received actual emission power value and P_max are compared, if this performance number is greater than P_max, using this performance number as P_max; Until the performance number received is less than current P_max and both differences are greater than default thresholding THp;
403, using P_max as actual emission power corresponding to APC_max, be less than current P_max and both differences are greater than N-1 performance number default thresholding THp performance number as actual emission power value corresponding to all the other each power construction qualities using from this;
Described step 4 comprises further:
411, using first actual emission power value receiving as minimum actual emission power (being called for short, P_min):
412, one by one subsequently received actual emission power value and P_min are compared, if this performance number is less than P_min, using this performance number as P_min; Until the performance number received is greater than current P_min and both differences are greater than default thresholding THp;
413, using P_min as actual emission power corresponding to APC_min, be greater than current P_min and both differences are greater than N-1 performance number the performance number of default thresholding THp as actual emission power value corresponding to all the other each power construction qualities using from this;
Described step 4 comprises further:
421, first the actual emission power value received is controlled decline stage maximum transmission power P_down_max as power;
422, one by one subsequently received actual emission power value and P_down_max are compared, if this performance number is greater than P_down_max, using this performance number as P_down_max; Until the performance number received is less than current P_down_max and both differences are greater than default thresholding THp;
423, P_down_max is controlled actual emission power corresponding to the maximum power construction quality of decline stage transmitting power as power, be less than current P_down_max and both differences are greater than N-1 performance number default thresholding THp performance number as actual emission power value corresponding to power control all the other each power construction qualities of decline stage using from this;
424, power is controlled actual emission power value corresponding to last power construction quality of decline stage and control ascent stage minimal power values P_up_min as power;
425, one by one subsequently received actual emission power value and P_up_min are compared, if this performance number is less than P_up_min, using this performance number as P_up_min; Until the performance number received is greater than current P_up_min and both differences are greater than default thresholding THp;
426, P_up_min is controlled actual emission power corresponding to the minimum power construction quality of ascent stage transmitting power as power, be greater than current P_up_min and both differences are greater than N-1 performance number default thresholding THp performance number as actual emission power value corresponding to all the other each power construction qualities of power control ascent stage using from this;
Step 427, each power construction quality power is controlled decline stage actual emission power and its power respectively and control ascent stage actual emission power and compare, if the deviation between two of equal-wattage construction quality actual emission powers is less than default thresholding THmax; Power is controlled the actual emission power of actual emission power as this power construction quality of decline stage; Otherwise, return step 2 and re-start detection calibration.
Wherein, N is UE power construction quality quantity.
Described step 403 comprises further:
This is less than current P_max and M the performance number that both differences are greater than the performance number of default thresholding THp follow-up compares with P_max one by one, if there is performance number to be greater than P_max, using this performance number as P_max, returns step 402 and perform;
Described step 413 comprises further:
This is greater than current P_min and M the performance number that both differences are greater than the performance number of default thresholding THp follow-up compares with P_min one by one, if there is performance number to be less than P_min, using this performance number as P_min, returns step 412 and perform;
Described step 423 comprises further:
This is less than current P_down_max and M the performance number that both differences are greater than the performance number of default thresholding THp follow-up compares with P_down_max one by one, if there is performance number to be greater than P_down_max, using this performance number as P_down_max, return step 422 and perform;
Described step 426 comprises further:
This is greater than current P_up_min and M the performance number that both differences are greater than the performance number of default thresholding THp follow-up compares with P_up_min one by one, if there is performance number to be less than P_up_min, using this performance number as P_up_min, returns step 425 and perform;
Described M is default threshold value, and the span of M is preferably 20 ~ 50.
Present invention also offers the mobile terminal that a kind of and above-mentioned detection calibration method adapts, it is characterized in that, comprising:
Command analysis module: resolve the order that host computer sends, obtains power control ratio and sends to power control ratio table generation module; Send command response to host computer;
Power control ratio table generation module: generate UE power control ratio table according to power control ratio and send to power control ratio table to preserve module;
Module preserved by power control ratio table: preserve power control ratio table;
Power control ratio table load and execution module: according to current power construction quality, preserves the power control ratio of the power control ratio table acquisition correspondence that module is preserved from power control ratio table; Power control ratio according to obtaining is revised UE transmitting power.
Further, described command analysis module and power control ratio table generation module and power control ratio table preserve module integration in the baseband module of UE; Power control ratio table load and execution module integration is in the RF module of UE.
The RF power that technical scheme of the present invention implements UE under signaling mode controls Testing And Regulating, actual emission power according to each power construction quality UE tested out under signaling mode is directly calibrated the power control ratio of UE with the error of expectation transmitting power, effectively raise the accuracy of power control calibration, simultaneously, again test according to test result real time calibration, without the need to operations such as UE re-power, save the detection calibration time, improve efficiency.
Accompanying drawing explanation
Fig. 1 is that mobile terminal power controls test system structure figure
Fig. 2 is that prior art power controls detection calibration flow chart
Fig. 3 is that power of the present invention controls detection calibration flow chart
Fig. 4 is that actual emission power of the present invention obtains preferred implementation 1 flow chart
Fig. 5 is that actual emission power of the present invention obtains preferred implementation 2 flow chart
Fig. 6 is that actual emission power of the present invention obtains preferred implementation 3 flow chart
Fig. 7 is a kind of preferred implementation structural representation of mobile terminal of the present invention
Embodiment
For further illustrating technical scheme of the present invention, providing specific embodiment below and being described with reference to the accompanying drawings.
Specific embodiment 1
The present embodiment is a kind of preferred implementation that mobile terminal power of the present invention controls detection calibration method, and overall procedure as shown in Figure 3.
As shown in Figure 1, wherein, host computer adopts PC to the test macro of the present embodiment, and testing equipment is that TD-SCDMA combines side instrument; The mobile terminal of test is TD-SCDMA UE; It should be noted that, each device in the present embodiment test macro is only citing needs, and detection calibration method of the present invention is not limited to the test of TD-SCDMA mobile terminal, and the power that also can be used for other mobile terminals controls test and calibration.
1, PC control UE and testing equipment enter signaling mode, set up the link of calling winding;
2, combine side instrument and send signal by signaling control UE with different capacity construction quality transmitting power;
Power controls test needs the transmitting power of all power construction qualities to UE to test, therefore, in this step, combine side instrument need to send respectively all power construction quality signalings with controls UE in different frames respectively with the transmitting power of different power construction qualities transmission signal;
This step can adopt preferred implementation 1 to implement, and combines side instrument by signaling control UE in the frame number Fn preset, and from APC_max, reduces power construction quality step by step, until reach APC_min.
This step also can adopt preferred implementation 2 to implement, and combines side instrument by signaling control UE in the frame number Fn preset, and from APC_min, improves power construction quality step by step, until reach APC_max.
This step can also adopt preferred implementation 3 to implement, and combines side instrument by signaling control UE in the frame number 2 × Fn preset, and from APC_max, reduces power construction quality step by step, until reach APC_min; Then, improve power construction quality step by step by power construction quality, until reach APC_max.
Wherein, the frame number Fn preset is not less than the power construction quality number of UE, is preferably power construction quality number+20 ~ preferably power construction quality number+50.
3, combining the actual emission power that UE measured by side instrument, sending to PC by measuring each actual emission power obtained;
4, PC obtains actual emission power corresponding to UE each power construction quality;
PC, after each actual emission power receiving the instrument transmission of comprehensive side, needs each actual emission power to carry out corresponding with each power construction quality of UE, to obtain the actual emission power of each power construction quality UE.
Corresponding with the preferred implementation 1 of step 2, this step can adopt preferred implementation 1 to implement, and as shown in Figure 4, comprising:
401, using first actual emission power value receiving as P_max;
402, one by one subsequently received actual emission power value and P_max are compared, if this performance number is greater than P_max, using this performance number as P_max; Until the performance number received is less than current P_max and both differences are greater than default thresholding THp;
403, using P_max as actual emission power corresponding to APC_max, be less than current P_max and both differences are greater than N-1 performance number default thresholding THp performance number as actual emission power value corresponding to all the other each power construction qualities using from this;
In preferred implementation 1, when obtaining the UE actual emission power of each power construction quality, first P_max is determined, then power construction quality is found to start the position (performance number of limit THp more than less of P_max performance number) of decline by step 402, due in test, power construction quality is lowered step by step, therefore, except N-1 the performance number that down position starts from power construction quality the i.e. corresponding power construction quality maximum except transmitting power by the transmitting power each power construction quality be arranged in order from big to small;
Wherein, also can preferably include in step 403, this is less than current P_max and M the performance number that both differences are greater than the performance number of default thresholding THp follow-up compares with P_max, one by one if there is performance number to be greater than P_max, using this performance number as P_max, return step 402 and perform;
Add above-mentioned preferred version in step 403 can effectively reduce because UE transmitting power does not calibrate the probability that the deviation and/or the factor such as measure error and/or external disturbance brought and the power construction quality decline original position caused select mistake.
Corresponding with the preferred implementation 2 of step 2, this step can adopt preferred implementation 2 to implement, and as shown in Figure 5, comprising:
411, using first actual emission power value receiving as P_min;
412, one by one subsequently received actual emission power value and P_min are compared, if this performance number is less than P_min, using this performance number as P_min; Until the performance number received is greater than current P_mi n and both differences are greater than default thresholding THp;
413, using P_min as actual emission power corresponding to APC_min, be greater than current P_min and both differences are greater than N-1 performance number the performance number of default thresholding THp as actual emission power value corresponding to all the other each power construction qualities using from this;
In preferred implementation 2, when obtaining the UE actual emission power of each power construction quality, first P_min is determined, then power construction quality is found to start the position (performance number of limit THp more than less of P_min performance number) of rising by step 402, due in test, power construction quality raises step by step, therefore, except N-1 the performance number that lifting position starts from power construction quality the i.e. corresponding power construction quality minimum except transmitting power by the transmitting power each power construction quality be arranged in order from small to large;
Wherein, step 413 also can preferably comprise, and this is greater than current P_min and M the performance number that both differences are greater than the performance number of default thresholding THp follow-up compares with P_min, one by one if there is performance number to be less than P_min, using this performance number as P_min, return step 412 and perform;
Add above-mentioned preferred version in step 413 can effectively reduce because UE transmitting power does not calibrate the probability that the deviation and/or the factor such as measure error and/or external disturbance brought and the power construction quality ascent start position caused select mistake.
Corresponding with the preferred implementation 3 of step 2, this step can adopt preferred implementation 3 to implement, and as shown in Figure 6, comprising:
421, using first actual emission power value receiving as P_down_max;
422, one by one subsequently received actual emission power value and P_down_max are compared, if this performance number is greater than P_down_max, using this performance number as P_down_max; Until the performance number received is less than current P_down_max and both differences are greater than default thresholding THp;
423, P_down_max is controlled actual emission power corresponding to decline stage APC_max as power, be less than current P_down_max and both differences are greater than N-1 performance number default thresholding THp performance number as actual emission power value corresponding to all the other power control decline stage each power construction quality using from this;
424, power is controlled actual emission power value corresponding to last power construction quality of decline stage as P_up_min;
425, one by one subsequently received actual emission power value and P_up_min are compared, if this performance number is less than P_up_min, using this performance number as P_up_min; Until the performance number received is greater than current P_up_min and both differences are greater than default thresholding THp;
426, P_up_min is controlled actual emission power corresponding to ascent stage APC_mi n as power, be greater than current P_up_min and both differences are greater than N-1 performance number default thresholding THp performance number as actual emission power value corresponding to all the other power control ascent stage each power construction quality using from this;
Step 427, each power construction quality power is controlled decline stage actual emission power and its power respectively and control ascent stage actual emission power and compare, if the deviation between two of equal-wattage construction quality actual emission powers is less than default thresholding THmax; Power is controlled the actual emission power of actual emission power as this power construction quality of decline stage; Otherwise, return step 2 and retest calibration.
Wherein, the span of described THmax is preferably 5 ~ 8dB; In preferred implementation 3, PC obtains actual emission power corresponding to each power construction quality of power construction quality decline stage and ascent stage by the mode of preferred implementation 1 and 2 respectively, and whether accurately judge the result of power measurement by contrast equal-wattage construction quality decline stage and actual emission power corresponding to ascent stage, further increase the accuracy rate of the actual emission power of acquisition.Simultaneously, it is larger that power controls its original position power of decline stage, the impact be disturbed is less, Power control down original position comparatively power control rise original position judgement is more accurate, when judging that power measurement is accurate, the actual emission power of power control decline stage is used to further increase the actual emission power of acquisition and the accuracy of power construction quality corresponding relation as the actual emission power of each power construction quality;
Wherein, described step 423 can also preferably include: this is less than current P_down_max and M the performance number that both differences are greater than the performance number of default thresholding THp follow-up compares with P_down_max one by one, if there is performance number to be greater than P_down_max, using this performance number as P_down_max, return step 422 and perform;
Wherein, described step 423 can also preferably include: this is greater than current P_up_min and M the performance number that both differences are greater than the performance number of default thresholding THp follow-up compares with P_up_min one by one, if there is performance number to be less than P_up_min, using this performance number as P_up_min, return step 425 and perform;
Wherein, THp judges that power construction quality starts the transmit power differences thresholding declined; The difference of span to be 0.5Tp ~ 0.8Tp, Tp the be transmitting power that UE two adjacent power construction qualities are corresponding; N is UE power construction quality number; Described M is default threshold value, and to TD-SCDMA mobile terminal, the span of M is for being preferably 20 ~ 50.
5, PC judges whether UE actual emission power meets the demands, if met the demands, performs step 7; Otherwise expect the power control ratio of each power construction quality of the drift correction of transmitting power according to each power construction quality actual emission power and this power construction quality, revised power control ratio is sent to UE; Otherwise perform step 7;
Wherein, the determination methods whether UE actual emission power meets the demands is, judges that the difference of the actual emission power of UE maximum transmission power, minimum emissive power and each adjacent power construction quality is whether in the deviation range allowed.6, UE upgrades power control ratio table; Return step 2 to perform;
7, complete power and control detection calibration.
Specific embodiment 2
The present embodiment is a kind of preferred implementation of mobile terminal of the present invention, and concrete structure as shown in Figure 7, comprising:
Command analysis module: resolve the order that host computer sends, obtains power control ratio and sends to power control ratio table generation module; Send command response to host computer;
Power control ratio table generation module: generate UE power control ratio table according to power control ratio and send to power control ratio table to preserve module;
Module preserved by power control ratio table: preserve power control ratio table;
Power control ratio table load and execution module: according to current power construction quality, preserves the power control ratio of the power control ratio table acquisition correspondence that module is preserved from power control ratio table; Power control ratio according to obtaining is revised UE transmitting power.
Wherein, described command analysis module, power control ratio table generation module, power control ratio table are preserved module, power control ratio table load and execution module and can be selected to be integrated in the baseband module of UE or RF module or as independent module respectively;
In the present embodiment, described command analysis module and power control ratio table generation module and power control ratio table preserve module integration in the baseband module of UE; Power control ratio table load and execution module integration is in the RF module of UE.
One of ordinary skill in the art obviously should be known and understand, the inventive method for above embodiment only for illustration of the inventive method, and be not limited to the inventive method.Without departing from the spirit and substance of the case in the method for the present invention, those skilled in the art are when making various corresponding change or distortion according to the inventive method, but these change accordingly or are out of shape the claims all belonging to the inventive method.