Summary of the invention
In order to improve precision and the stability that terminal power detects, method, system and equipment that the embodiment of the invention provides a kind of terminal power to detect.Described technical scheme is as follows:
The method that a kind of terminal power detects, described method comprises:
According to power coupling coefficient coupling terminal current power signal, obtain the power coupled signal;
Obtain decay branch road switching signal, described power coupled signal is carried out power attenuation, obtain the decay power signal according to described switching signal;
Detect the performance number of described decay power signal,, obtain terminal current power signal value according to the performance number of described decay power signal, described coupling coefficient and power attenuation amount;
Wherein, the described decay branch road switching signal of obtaining specifically comprises:
Receive the power adjustment request that the base station transmits to terminal,, determine the current performance number of penetrating signal of sending out of terminal according to last terminal transmit signal power value and described power adjustment request;
According to the described current performance number of penetrating signal and the product of described coupling coefficient sent out, send decay branch road switching signal to numerical-control attenuator:
If described product exceeds the upper limit of current decay branch road, then require to switch to upper level decay branch road;
If described product exceeds the lower limit of described current decay branch road, then require to switch to next stage decay branch road;
If described product does not exceed the bound of described current decay branch road, then do not need to switch the decay branch road;
Described numerical-control attenuator obtains described switching signal.The system that a kind of terminal power detects, described system comprise main transmitter and the feedback device that interconnects with described main transmitter;
Described main transmitter is used to receive the signal after baseband modulation, and described signal is carried out up-conversion and power amplification, obtains power signal; Be sent to described feedback device according to coupling coefficient a part of described power signal that is coupled;
Described feedback device comprises that numerical-control attenuator, maximum power detect network and base band control chip, wherein,
Described numerical-control attenuator has a plurality of decay branch roads, is used for the decay branch road switching signal according to the described base band control chip that receives, decay branch road of gating, and the coupled power signal that described main transmitter is exported decays;
Described maximum power detects network, is used for the power of the power signal after the decay is detected;
Described base band control chip is used for sending described decay branch road switching signal to described numerical-control attenuator, and the signal after the baseband modulation is sent to described main transmitter;
Wherein, described base band control chip specifically comprises:
Current sending out penetrated the signal power determining unit, is used to receive the power adjustment request that the base station transmits to terminal, and according to last terminal transmit signal power value and described power adjustment request, determines the current performance number of penetrating signal of sending out of terminal; Simultaneously the signal after the baseband modulation is sent to described main transmitter;
Judging unit is used for judging whether to need to switch the decay branch road according to the described current performance number of penetrating signal and the product of described coupling coefficient sent out:
If described product exceeds the upper limit of current decay branch road, then require to switch to upper level decay branch road,
If described product exceeds the lower limit of described current decay branch road, then require to switch to next stage decay branch road,
If described product does not exceed the bound of described current decay branch road, then do not need to switch the decay branch road;
Switch unit is used for the judgement according to described judging unit, sends decay branch road switching signal to the numerical-control attenuator gating branch road of decaying accordingly.
A kind of feedback device comprises that numerical-control attenuator, maximum power detect network and base band control chip,
Described numerical-control attenuator has a plurality of decay branch roads, is used for the decay branch road switching signal according to the described base band control chip that receives, decay branch road of gating, and the coupled power signal that main transmitter is exported decays;
Described maximum power detects network, is used for the power of the power signal after the decay is detected;
Described base band control chip is used for sending described decay branch road switching signal to described numerical-control attenuator;
Wherein, described base band control chip specifically comprises:
Current sending out penetrated the signal power determining unit, is used to receive the power adjustment request that the base station transmits to terminal, and according to last terminal transmit signal power value and described power adjustment request, determines the current performance number of penetrating signal of sending out of terminal;
Judging unit is used for judging whether to need to switch the decay branch road according to the described current product of sending out the coupling coefficient of the performance number of penetrating signal and described main transmitter:
If described product exceeds the upper limit of current decay branch road, then require to switch to upper level decay branch road,
If described product exceeds the lower limit of described current decay branch road, then require to switch to next stage decay branch road,
If described product does not exceed the bound of described current decay branch road, then do not need to switch the decay branch road;
Switch unit is used for the judgement of root of hair according to described judging unit, sends decay branch road switching signal to the numerical-control attenuator gating branch road of decaying accordingly.
The beneficial effect of the technical scheme that the embodiment of the invention provides is:
The embodiment of the invention has improved the precision and the stability of terminal transmit power control effectively by adjusting the attenuation range of numerical-control attenuator, has expanded the detection range of transmitting power.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.Obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Embodiment 1
Referring to Fig. 1, the embodiment of the invention provides the system of power control in a kind of WCDMA terminal, specifically comprises main transmitter 101 and the feedback device 102 that interconnects with main transmitter, wherein:
Main transmitter 101 is used to receive the power signal after baseband modulation, carries out frequency conversion, amplification, coupling, is emitted to the base station by antenna; Simultaneously be sent to feedback device 102 according to coupling coefficient a part of power signal that is coupled.
Main transmitter 101 specifically comprises:
Transmitting chip 101a is used to receive the digital signal through after the baseband modulation, and the digital signal that receives is carried out up-conversion, the pre-amplification, obtains the high frequency power signal, and this high frequency power signal is sent to power amplifier 101b;
Power amplifier 101b is used to receive the high frequency power signal that transmitting chip 101a exports, and the high frequency power signal that receives is carried out power amplification, obtains the power amplification signal, and this power amplification signal is sent to power coupler 101c;
Power coupler 101c, the power amplification signal that is used for received power amplifier 101b output, and this power amplification signal carried out power coupling, obtain the power coupled signal, be sent to numerical-control attenuator 102a in the feedback device 102 according to above-mentioned coupling coefficient by the coupling branch road, another part power coupled signal is sent to duplexer 101d via the coupling main road;
Duplexer 101d is used for the power coupled signal that received power coupler 101c coupling main road is exported, and this power coupled signal is sent to antenna, is transmitted to the base station through antenna; Simultaneously, receive the signal that the base station sends to antenna.
Feedback device 102 specifically comprises numerical-control attenuator 102a, HDET network 102b and base band control chip 102c.
Wherein, its input of numerical-control attenuator 102a links to each other with the output of power coupler 101c, and its output links to each other with the input of HDET network 102b; HDET network 102b output links to each other with base band control chip 102c input, and base band control chip 102c links to each other by the control end of feedback line with numerical-control attenuator 102a.
Numerical-control attenuator 102a is used to receive the decay branch road switching signal of base band control chip 102c, decay branch road of for example logic level, and gating; Simultaneously, the power coupled signal of received power coupler 101c coupling branch road output, and this power coupled signal decayed, obtain the decay power signal, and the decay power signal is sent to HDET network 102b.
Numerical-control attenuator provides a plurality of different classes of attenuation, is convenient to adjust the scope of coupled power, thereby improves the precision of power detection.Wherein, numerical-control attenuator 102a has a plurality of different classes of attenuation, and the embodiment of the invention is provided with 4 grades: 1 grade for-55dBm~-20dBm, 2 grades are-20dBm~0dBm, 3 grades is 0dBm~10dBm, 4 grades be 10dBm~-24dBm.The bound of each grade is represented the input power range that this grade can receive respectively.Numerical-control attenuator 102a comprises many decay branch roads, the upper and lower bound of the corresponding class of attenuation of each bar branch road and corresponding power control.
In a definite time, numerical-control attenuator 102a has only a numerical-control attenuator branch road to be in conducting state, and other numerical-control attenuator branch road is in off-state.
The power control range of each decay branch road of numerical-control attenuator 102a is included in the tabulation of numerical-control attenuator grade thresholding:
The tabulation of this grade thresholding comprises the power attenuation amount that the maximum threshold of each class of attenuation among the numerical-control attenuator 102a and minimum threshold and this grade can reach.Each corresponding grade thresholding tabulation can be created among the base band control chip 102c by software mode;
HDET network 102b, be used to receive the decay power signal of numerical-control attenuator 102a output, detect the power of decay power signal, this decay power signal is carried out power detection and is converted into dc power signal, and this dc power signal is sent to base band control chip 102c;
Base band control chip 102c, be used to receive the power adjustment request that the base station transmits to terminal, detect the power attenuation amount of performance number, above-mentioned coupling coefficient and decay branch road that network measuring obtains according to maximum power, send decay branch road switching signal to numerical-control attenuator; Simultaneously the signal after the baseband modulation is sent to described main transmitter.
Referring to Fig. 2, base band control chip 102c specifically comprises:
Current sending out penetrated signal power determining unit 201, is used to receive the power adjustment request that the base station transmits to terminal, according to last terminal transmit signal power value and power adjustment request, determines the current performance number of penetrating signal of sending out of terminal; Simultaneously the signal after the baseband modulation is sent to described main transmitter;
Judging unit 202 is used for judging whether to need to switch the decay branch road according to the current performance number of penetrating signal and the product of coupling coefficient sent out:
If this product exceeds the upper limit of current decay branch road, then require to switch to upper level decay branch road, for example this product is 12dBm, the class of attenuation of current decay branch road is 3 grades, then requires to switch to the class of attenuation and be 4 grades decay branch road;
If this product exceeds the lower limit of current decay branch road, then require to switch to next stage decay branch road, for example this product is 8dBm, the class of attenuation of current decay branch road is 4 grades, then requires to switch to the class of attenuation and be 3 grades decay branch road;
If this product does not exceed the bound of current decay branch road, then do not need to switch the decay branch road; For example this product is 8dBm, and the class of attenuation of current decay branch road is 3 grades, does not then need to switch the decay branch road;
Switch unit 203 is used for the judgement according to judging unit 202, sends decay branch road switching signal to the numerical-control attenuator gating branch road of decaying accordingly.
Last base band control chip 102c penetrates current sending out determined current the sending out of signal power determining unit 201 and penetrates signal power and notify transmitting chip 101a in the main transmitter 101.
The power adjustment request that send terminal the base station is to send to base band control chip 102c with the form that TPC (Transmitter Power Control, power delivery control) instructs; Base band control chip 102c receives the TPC instruction of sending the base station, judges whether to switch the decay branch road, switches a decay branch road among the base band control chip 102c gating numerical-control attenuator 102a if desired.
The embodiment of the invention is by using numerical-control attenuator in feedback device, be provided with a plurality of power attenuation grades, send a control signal to decay branch road of numerical-control attenuator gating by the base band control chip, thereby expanded the detection scope of HDET effectively, improved the precision and the stability of terminal detection power.
Embodiment 2
Referring to Fig. 3, the embodiment of the invention also provides a kind of feedback device, be applied to portable terminal, specifically comprise: numerical-control attenuator 301, maximum power detect network 302 and base band control chip 303, wherein maximum power detection network 302 links to each other with base band control chip 303 with numerical-control attenuator 301 respectively, numerical-control attenuator also links to each other with base band control chip 303 by control line
Numerical-control attenuator 301 has a plurality of decay branch roads, is used for the control signal according to the base band control chip that receives, decay branch road of gating, and the coupled power signal that described main transmitter is exported decays;
Maximum power detects network 302, is used for the power of the power signal after the decay is detected;
Base band control chip 303 is used to receive the power adjustment request that the base station transmits to terminal, detects the power attenuation amount of performance number, coupling coefficient and decay branch road that network measuring obtains according to maximum power, requires decay branch road of numerical-control attenuator gating.
Further,
Numerical-control attenuator 301 is used to receive the decay branch road switching signal of base band control chip 303, logic level for example, decay branch road of gating.Simultaneously, the power coupled signal of the coupling branch road of the power coupler of mobile terminal receive output, and this power coupled signal decayed, obtain the decay power signal, and the decay power signal is sent to HDET network 302.
Numerical-control attenuator provides a plurality of different classes of attenuation, is convenient to adjust the scope of coupled power, thereby improves the precision of power detection.Wherein, numerical-control attenuator 301 has a plurality of different classes of attenuation, and the embodiment of the invention is provided with 4 grades: 1 grade for-55dBm~-20dBm, 2 grades are-20dBm~0dBm, 3 grades is 0dBm~10dBm, 4 grades be 10dBm~-24dBm.The bound of each grade is represented the input power range that this grade can receive respectively.Numerical-control attenuator 102a comprises many decay branch roads, the upper and lower bound of the corresponding class of attenuation of each bar branch road and corresponding power control.
In a definite time, numerical-control attenuator 301 has only a numerical-control attenuator branch road to be in conducting state, and other numerical-control attenuator branch road is in off-state.
The power control range of each decay branch road of numerical-control attenuator 301 is included in the tabulation of numerical-control attenuator grade thresholding:
The tabulation of this grade thresholding comprises the power attenuation amount that the maximum threshold of each class of attenuation in the numerical-control attenuator 301 and minimum threshold and this grade can reach.Each corresponding grade thresholding tabulation can be created in the base band control chip 303 by software mode.
HDET network 302, be used to receive the decay power signal of numerical-control attenuator 301 outputs, detect the power of decay power signal, this decay power signal is carried out power detection and is converted into dc power signal, and this dc power signal is sent to base band control chip 303;
Base band control chip 303, be used to receive the power adjustment request that the base station transmits to terminal, detect the power attenuation amount of performance number, above-mentioned coupling coefficient and decay branch road that network measuring obtains according to maximum power, send decay branch road switching signal to numerical-control attenuator.
Particularly, base band control chip 303 comprises:
Current sending out penetrated signal power determining unit 303a, is used to receive the power adjustment request that the base station transmits to terminal, according to last terminal transmit signal power value and power adjustment request, determines the current performance number of penetrating signal of sending out of terminal;
Judging unit 303b is used for judging whether to need to switch the decay branch road according to the current performance number of penetrating signal and the product of coupling coefficient sent out:
If this product exceeds the upper limit of current decay branch road, then require to switch to upper level decay branch road, for example this product is 12dBm, the class of attenuation of current decay branch road is 3 grades, then requires to switch to the class of attenuation and be 4 grades decay branch road;
If this product exceeds the lower limit of current decay branch road, then require to switch to next stage decay branch road, for example this product is 8dBm, the class of attenuation of current decay branch road is 4 grades, then requires to switch to the class of attenuation and be 3 grades decay branch road;
If this product does not exceed the bound of current decay branch road, then do not need to switch the decay branch road; For example this product is 8dBm, and the class of attenuation of current decay branch road is 3 grades, does not then need to switch the decay branch road;
Switch unit 303c is used for the judgement according to judging unit 303b, sends decay branch road switching signal to the numerical-control attenuator gating branch road of decaying accordingly.
Last base band control chip 303 penetrates current sending out at the determined current transmitting chip of penetrating in the signal power notice portable terminal master transmitter of sending out of signal power determining unit 303a.
The power adjustment request that send terminal the base station is to send to base band control chip 303 with the form that TPC (Transmitter Power Control, power delivery control) instructs; Base band control chip 303 receives the TPC instruction of sending the base station, judges whether to switch the decay branch road, switches a decay branch road in the base band control chip 303 gating numerical-control attenuators 301 if desired.
The embodiment of the invention is by using numerical-control attenuator, be provided with a plurality of power attenuation grades, send a control signal to decay branch road of numerical-control attenuator gating by the base band control chip, thereby expanded the detection scope of HDET effectively, improved the precision and the stability of terminal detection power.
Embodiment 3
Referring to Fig. 4, the method that the embodiment of the invention provides a kind of terminal power to detect comprises:
401:, obtain the power coupled signal according to power coupling coefficient coupling terminal current power signal;
402: obtain decay branch road switching signal, described power coupled signal is carried out power attenuation, obtain the decay power signal according to described switching signal;
403: detect the performance number of described decay power signal,, obtain terminal current power signal value according to described performance number, described coupling coefficient and power attenuation amount.
The method of the embodiment of the invention is carried out closed-loop control according to last terminal actual transmit signal performance number and base station to the requirement of terminal power adjustment, describes the application of method in terminal power control that above-mentioned terminal power detects in detail below in conjunction with concrete application scenarios.
Two mobile terminal MSs 1 and MS2 are arranged in same sub-district, distinguished since the base station relies on both spreading codes separately to add.Suppose: MS1 and MS2 are operated in same frequency; MS1 is in the edge of sub-district, and MS2 is in the place near the base station, the high 80dBm of space path loss ratio MS2 of MS1.If do not take certain power control mechanism to make two portable terminals arrive the power of base station on same level, the MS2 emitted power is easy to the transmitting power greater than MS1, and then the communication of blocking most of zone, sub-district, thereby the problem of generation " near-far interference ".
The method detailed process that embodiment of the invention terminal power detects as shown in Figure 5, detailed process is as follows:
501: transmitting chip receives through the digital signal after the baseband modulation, and the digital signal that receives is carried out up-conversion, the pre-amplification, obtains the high frequency power signal, and this high frequency power signal is sent to power amplifier.
502: power amplifier receives the high frequency power signal of transmitting chip output, and the high frequency power signal that receives is carried out power amplification, obtains the power amplification signal, and this power amplification signal is sent to power coupler.
503: the power amplification signal of power coupler received power amplifier output, and this power amplification signal carried out the power coupling, and obtain the power coupled signal, be sent to numerical-control attenuator according to above-mentioned coupling coefficient by the coupling branch road.Another part power coupled signal is sent to duplexer by the coupling main road.
504: the power coupled signal of duplexer received power coupler coupling main road output, and this power coupled signal is sent to antenna, be transmitted to the base station through antenna; Simultaneously, receive the signal that the base station sends to antenna;
505: numerical-control attenuator receives the decay branch road switching signal of base band control chip, decay branch road of for example logic level, and gating; Simultaneously, the power coupled signal of received power coupler coupling branch road output, and this power coupled signal decayed, obtain the decay power signal, and the decay power signal is sent to the HDET network.
Wherein, control signal is used for the needed decay branch road of gating.
Numerical-control attenuator has a plurality of different classes of attenuation, and the embodiment of the invention is provided with 4 grades: 1 grade for-55dBm~-20dBm, 2 grades are-20dBm~0dBm, 3 grades is 0dBm~10dBm, 4 grades be 10dBm~-24dBm.The bound of each grade is represented the input power range that this grade can receive respectively.Numerical-control attenuator 102a comprises many decay branch roads, the upper and lower bound of the corresponding class of attenuation of each bar branch road and corresponding power control.
In a definite time, numerical-control attenuator has only a numerical-control attenuator branch road to be in conducting state, and other numerical-control attenuator branch road is in off-state.
The power control range of each decay branch road of numerical-control attenuator is included in the tabulation of numerical-control attenuator grade thresholding:
The tabulation of this grade thresholding comprises the power attenuation amount that the maximum threshold of each class of attenuation in the numerical-control attenuator and minimum threshold and this grade can reach.Each corresponding grade thresholding tabulation can be created in the base band control chip by software mode.
The base band control chip receives the power adjustment request that the base station transmits to terminal, according to last terminal transmit signal power value, above-mentioned coupling coefficient and this power adjustment request, sends decay branch road switching signal to numerical-control attenuator.This step is specially:
According to last terminal transmit signal power value and this power adjustment request, determine the current performance number of penetrating signal of sending out of terminal;
According to the current performance number of penetrating signal and the product of coupling coefficient sent out, send decay branch road switching signal:
If this product exceeds the upper limit of current decay branch road, then require to switch to upper level decay branch road.For example this product is 12dBm, and the class of attenuation of current decay branch road is 3 grades, then requires to switch to the class of attenuation and be 4 grades decay branch road.
If described product exceeds the lower limit of described current decay branch road, then require to switch to next stage decay branch road.For example this product is 8dBm, and the class of attenuation of current decay branch road is 4 grades, then requires to switch to the class of attenuation and be 3 grades decay branch road.
If described product does not exceed the bound of described current decay branch road, then do not need to switch the decay branch road.For example this product is 8dBm, and the class of attenuation of current decay branch road is 3 grades, does not then need to switch the decay branch road.
The terminal power adjustment request that send the base station is to send to the base band control chip with the form that TPC instructs, the base station reduces or improves transmitting power according to the terminal power signal quality that current check arrives by TPC command request terminal, thereby realizes the closed-loop control of transmitting power between base station and the terminal.
The base band control chip generates the tabulation of grade thresholding, can realize by software mode.
The 506:HDET network receives the decay power signal of numerical-control attenuator output, detects the power of this decay power signal, and testing result is sent to the base band control chip.
507: the base band control chip obtains the current transmit signal power value of terminal according to performance number, coupling coefficient and the power attenuation amount of this decay power signal.
The base band control chip is according to the performance number of this decay power signal and the power attenuation amount of current decay branch road (table look-up and draw), can calculate the power of coupling branch road output, according to the coupling coefficient of coupling branch road, can calculate the transmitting power of current terminal reality again.
The embodiment of the invention has been expanded the detection scope of HDET effectively by the power coupled signal is carried out power attenuation according to the requirement of base band control chip, has improved the precision and the stability of terminal detection power.
All or part of content in the technical scheme that above embodiment provides can realize that its software program is stored in the storage medium that can read by software programming, storage medium for example: the hard disk in the computer, CD or floppy disk.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.