Embodiment
Understand for technical characterictic of the present invention, purpose and effect being had more clearly, now contrast description of drawings the specific embodiment of the present invention.Wherein, identical parts adopt identical label.
Embodiment 1
Present embodiment provides a kind of method of control terminal antenna, and this method comprises: step 101, first operating current of detection power amplifier; Step 102, if first operating current is greater than the first reference work electric current, to receive path with main collection and be communicated with the diversity reception path with the work at present antenna that main collection emission path is communicated with, and master's collection receives path and the main emission path that collects is communicated with the antenna beyond the work at present antenna.
By above content as can be known, present embodiment can select more excellent antenna to receive, launch the antenna of path as main collection.
Embodiment 2
Present embodiment provides a kind of method of control terminal antenna, and as shown in Figure 2, this method comprises:
Step 201, first operating current of detection power amplifier.
Step 202 judges that whether first operating current is greater than the first reference work electric current; If judged result is that first operating current is greater than the first reference work electric current, if judged result is for being then to enter step 203; If judged result then enters step 201 for not.
Step 203 will receive path with main collection and be communicated with the diversity reception path with the work at present antenna that main collection emission path is communicated with, and master's collection receives path and the main emission path that collects is communicated with the antenna beyond the work at present antenna.
In the present embodiment, the work at present antenna can be that the main collection antenna of terminal, the antenna beyond the work at present antenna can be the diversity antennas of terminal.When main collection antenna is connected with main collection reception path, main collection emission path, the operating current of power amplifier is first operating current, and the first reference work electric current is the empirical data that obtains by experiment, and these data are the pairing power amplifier operating currents of main collection antenna different transmission power.When main collection antenna and main collection receive path and main collection launch path be communicated with, when diversity antenna is communicated with the diversity reception path, when the operating current of power amplifier during, will lead the collection antenna and be communicated with the diversity reception path, diversity antenna and main collection are received path and master collect and launch path and be communicated with greater than the pairing first reference work electric current of main collection antenna transmitting power.
In the present embodiment, the work at present antenna can also be the diversity antenna of terminal, and the antenna beyond the work at present antenna can be the main collection antenna of terminal.When diversity antenna is connected with main collection reception path, main collection emission path, the operating current of power amplifier is first operating current, and the first reference work electric current is the empirical data that obtains by experiment, and these data are the pairing power amplifier operating currents of diversity antenna different transmission power.When diversity antenna and main collection receives path and main collection emission path is communicated with, main when collecting antenna and being communicated with the diversity reception path, the operating current of power amplifier is during greater than the pairing first reference work electric current of diversity antenna tranmitting frequency, diversity antenna is communicated with, will leads collection antenna and main collection receive path and main collection and launch path and be communicated with the diversity reception path.
In the present embodiment, can according to the voltage of gathering and the resistance of sampling resistor, calculate current value, realize first operating current of detection power amplifier by gathering the voltage of the sampling resistor that is connected with power amplifier by sampling resistor.
The beneficial effect of present embodiment is, in main collection antenna and diversity antenna, select more excellent antenna to receive, launch the antenna of path as main collection, collect the wireless performance of launching path by improving the terminal master, reduce the power output and the operating current of main collection emission path intermediate power amplifier, reduce the wireless terminal power consumption, prolong the service time of wireless terminal battery.
Embodiment 3
Present embodiment provides a kind of method of control terminal antenna, and as shown in Figure 3, this method comprises:
Step 301, first operating current of detection power amplifier.
Step 302 judges that whether first operating current is greater than the first reference work electric current; If judged result be first operating current greater than the first reference work electric current, then enter step 303.If judged result then enters step 301 for not.
Step 303 will receive path with main collection and be communicated with the diversity reception path with the work at present antenna that main collection emission path is communicated with, and master's collection receives path and the main emission path that collects is communicated with the antenna beyond the work at present antenna.
Step 304 judges whether antenna beyond the work at present antenna and the connection time that main collection reception path and main collection emission path are communicated with are arrived the scheduled time, if, then enter step 307, if not, then enter 305.
Step 305, second operating current of detection power amplifier.
Whether step 306 judges second operating current greater than first operating current, if judged result be second operating current greater than first operating current, then enter step 307, if judged result then enters step 304 for not.
Step 307 will be communicated with the diversity reception path with the work at present antenna antenna in addition that main collection reception path and main collection emission path are communicated with, and main collection receives path and master's collection emission path is communicated with the work at present antenna.
In the present embodiment, the work at present antenna can be that the main collection antenna of terminal, the antenna beyond the work at present antenna can be the diversity antennas of terminal.When main collection antenna is connected with main collection reception path, main collection emission path, the operating current of power amplifier is first operating current, and the first reference work electric current is the empirical data that obtains by experiment, and these data are the pairing power amplifier operating currents of main collection antenna different transmission power.When main collection antenna and main collection receive path and main collection launch path be communicated with, when diversity antenna is communicated with the diversity reception path, when the operating current of power amplifier during, will lead the collection antenna and be communicated with the diversity reception path, diversity antenna and main collection are received path and master collect and launch path and be communicated with greater than the pairing reference work electric current of main collection antenna tranmitting frequency.
In the present embodiment, the work at present antenna can also be the diversity antenna of terminal, and the antenna beyond the work at present antenna can be the main collection antenna of terminal.When diversity antenna is connected with main collection reception path, main collection emission path, the operating current of power amplifier is first operating current, and the first reference work electric current is the empirical data that obtains by experiment, and these data are the pairing power amplifier operating currents of diversity antenna different transmission power.When diversity antenna and main collection receives path and main collection emission path is communicated with, main when collecting antenna and being communicated with the diversity reception path, the operating current of power amplifier is during greater than the pairing reference work electric current of diversity antenna transmitting power, diversity antenna is communicated with, will leads collection antenna and main collection receive path and main collection and launch path and be communicated with the diversity reception path.
In the present embodiment,,, calculate current value, realize first operating current and second operating current of detection power amplifier by sampling resistor according to the voltage of gathering and the resistance of sampling resistor by gathering the voltage of the sampling resistor that is connected with power amplifier.
The beneficial effect of present embodiment is, in main collection antenna and diversity antenna, select more excellent antenna to receive, launch the antenna of path as main collection, collect the wireless performance of launching path by improving the terminal master, reduce the power output and the operating current of main collection emission path intermediate power amplifier, reduce the wireless terminal power consumption, prolong the service time of wireless terminal battery.
Embodiment 4
Present embodiment provides a kind of device of control terminal antenna, and this device comprises: detecting unit and processing unit.Wherein, this detecting unit is used for first operating current of detection power amplifier.This processing unit, if first operating current that detects is during greater than the first reference work electric current, be used for receiving path with main collection and be communicated with the diversity reception path with the work at present antenna that main collection emission path is communicated with, and master's collection receives path and the main emission path that collects is communicated with the antenna beyond the work at present antenna.
By above content as can be known, present embodiment can select more excellent antenna to receive, launch the antenna of path as main collection.
Embodiment 5
Present embodiment provides a kind of device of control terminal antenna, and as shown in Figure 4, this device comprises: detecting unit 401, judging unit 402 and processing unit 403.Wherein, this detecting unit 401 is used for first operating current of detection power amplifier.This judging unit 402 is used to judge that whether first operating current is greater than the first reference work electric current; This processing unit 403, when the judged result of judging unit 402 is that first operating current is during greater than the first reference work electric current, be used for receiving path with main collection and be communicated with the diversity reception path with the work at present antenna that main collection emission path is communicated with, and master's collection receives path and the main emission path that collects is communicated with the antenna beyond the work at present antenna.
In the present embodiment, the work at present antenna can be that the main collection antenna of terminal, the antenna beyond the work at present antenna can be the diversity antennas of terminal.When main collection antenna is connected with main collection reception path, main collection emission path, the operating current of power amplifier is first operating current, and the first reference work electric current is the empirical data that obtains by experiment, and these data are the pairing power amplifier operating currents of main collection antenna different transmission power.When main collection antenna and main collection receive path and main collection launch path be communicated with, when diversity antenna is communicated with the diversity reception path, when the operating current of power amplifier during, will lead the collection antenna and be communicated with the diversity reception path, diversity antenna and main collection are received path and master collect and launch path and be communicated with greater than the pairing first reference work electric current of main collection antenna tranmitting frequency.
In the present embodiment, the work at present antenna can also be the diversity antenna of terminal, and the antenna beyond the work at present antenna can be the main collection antenna of terminal.When diversity antenna is connected with main collection reception path, main collection emission path, the operating current of power amplifier is first operating current, and the first reference work electric current is the empirical data that obtains by experiment, and these data are the pairing power amplifier operating currents of diversity antenna different transmission power.When diversity antenna and main collection receives path and main collection emission path is communicated with, main when collecting antenna and being communicated with the diversity reception path, the operating current of power amplifier is during greater than the pairing first reference work electric current of diversity antenna tranmitting frequency, diversity antenna is communicated with, will leads collection antenna and main collection receive path and main collection and launch path and be communicated with the diversity reception path.
In the present embodiment, detecting unit comprises collecting unit (Fig. 4 does not show) and computing unit (Fig. 4 does not show), collecting unit is used to gather the voltage of the sampling resistor that is connected with power amplifier, computing unit, according to the voltage of gathering and the resistance of sampling resistor, first operating current of rated output amplifier.
The content that those skilled in the art can disclose according to present embodiment changes the structure of this device.For example, the collecting unit of detecting unit 401 is realized by the analog-to-digital controller (A/D) in the terminal, with the computing unit of detecting unit 401, the judging unit 402 and first processing unit 403 pass through a processing unit to be realized, as: the baseband processing chip of terminal.
The beneficial effect of present embodiment is, by between main collection antenna and diversity antenna, switching, select more excellent antenna to receive, launch the antenna of path as main collection, collect the wireless performance of launching path by improving the terminal master, reduce the power output and the operating current of main collection emission path intermediate power amplifier, reduce power consumption of terminal, prolong the service time of end cell.
Embodiment 6
Present embodiment provides a kind of device of control terminal antenna, and as shown in Figure 5, this device comprises: first detecting unit 501, first judging unit, 502, the first processing units, 503, the first radio-frequency (RF) switch 504, second radio-frequency (RF) switch, 505, the second detecting units, 511, the second judging units 512, second processing unit 513, the 3rd radio frequency switch 514, the four radio-frequency (RF) switch 515, the three judging units 521, the 3rd processing unit 522, the five radio-frequency (RF) switch 523 and the 6th radio-frequency (RF) switch 524.
This first detecting unit 501 wherein is used for first operating current of detection power amplifier; This first judging unit 502 is used to judge that whether first operating current is greater than the first reference work electric current; First processing unit 503, when first judging unit 501 is judged first operating current greater than the first reference work electric current, be used for and launch the work at present antenna that path be communicated with the main reception path that collects with main collection, be communicated with the diversity reception path by first radio-frequency (RF) switch 504, and the antenna beyond the work at present antenna is communicated with main collection reception path and main collection emission path by second radio-frequency (RF) switch 505;
This second detecting unit 511 is used for second operating current of detection power amplifier; This second judging unit 512 is used to judge that whether second operating current is greater than first operating current; This second processing unit 513, when second judging unit 512 is judged second operating current greater than first operating current, be used for and launch the work at present antenna antenna in addition that path be communicated with the main reception path that collects with main collection, be communicated with the diversity reception path by the 3rd radio frequency switch 514; The work at present antenna is received path by the 4th radio-frequency (RF) switch 515 and main collection to be communicated with main collection emission path.
The 3rd judging unit 521 is used to judge that the antenna beyond the work at present antenna judges whether to arrive Preset Time with the connection time that main collection reception path and main collection emission path are communicated with; The 3rd processing unit 522, when the 3rd judging unit 521 judges that the connection time arrives Preset Time, be used for and launch the work at present antenna antenna in addition that path be communicated with the main reception path that collects with main collection, be communicated with the diversity reception path by the 5th radio-frequency (RF) switch 523, the work at present antenna received path by the 6th radio-frequency (RF) switch 524 and main collection be communicated with main collection emission path.
First detecting unit 501 and second detecting unit, 511 functional structures are similar.First detecting unit 501 and second detecting unit 511 comprise collecting unit, are used to gather the voltage of the sampling resistor that is connected with power amplifier; Computing unit is used for according to the voltage of gathering and the resistance of sampling resistor, first operating current of rated output amplifier or second operating current.
The content that those skilled in the art can disclose according to present embodiment changes the structure of this device.For example, the collecting unit of first detecting unit 501 and second detecting unit 511 is realized by the analog-to-digital controller (A/D) in the terminal; Computing unit, first judging unit 502, first processing unit 503, second judging unit 512, second processing unit 513, the 3rd judging unit 521 and the 3rd processing unit 522 of first detecting unit 501 and second detecting unit 511 are realized by a processing unit, realized as the baseband processing chip of terminal; First radio-frequency (RF) switch 504, second radio-frequency (RF) switch 505, the 3rd radio frequency switch 514, the 4th radio-frequency (RF) switch 515, the 5th radio-frequency (RF) switch 523 and the 6th radio-frequency (RF) switch 524 realize by four radio-frequency (RF) switch, wherein an end of two radio-frequency (RF) switch is connected with the input of work at present antenna, the other end receives path with main collection respectively, main collection emission path is connected with the diversity reception path, two control signals that radio-frequency (RF) switch is exported according to baseband processing chip receive path with main collection with the work at present antenna respectively by two radio-frequency (RF) switch, main collection emission path or diversity reception path are communicated with; In like manner, one end of two other radio-frequency (RF) switch is connected with the input of work at present antenna antenna in addition, the other end receives path with main collection and main collection respectively, main collection emission path is connected with the diversity reception path, two control signals that radio-frequency (RF) switch is exported according to baseband processing chip are communicated with the antenna beyond the work at present antenna respectively by two radio-frequency (RF) switch with main collection reception path, main collection emission path or diversity reception path.
In the present embodiment, the work at present antenna can be that the main collection antenna of terminal, the antenna beyond the work at present antenna can be the diversity antennas of terminal.When main collection antenna is connected with main collection reception path, main collection emission path, the operating current of power amplifier is first operating current, and the first reference work electric current is the empirical data that obtains by experiment, and these data are the pairing power amplifier operating currents of main collection antenna different transmission power.Main collection antenna and main collection receive path and main collection launch path be communicated with, when diversity antenna is communicated with the diversity reception path, when the operating current of power amplifier during, will lead the collection antenna and be communicated with the diversity reception path, diversity antenna and main collection are received path and master collect and launch path and be communicated with greater than the pairing first reference work electric current of main collection antenna tranmitting frequency.
In the present embodiment, the work at present antenna can also be the diversity antenna of terminal, and the antenna beyond the work at present antenna can be the main collection antenna of terminal.When diversity antenna is connected with main collection reception path, main collection emission path, the operating current of power amplifier is first operating current, and the first reference work electric current is the empirical data that obtains by experiment, and these data are the pairing power amplifier operating currents of diversity antenna different transmission power.When diversity antenna and main collection receives path and main collection emission path is communicated with, main when collecting antenna and being communicated with the diversity reception path, the operating current of power amplifier is during greater than the pairing first reference work electric current of diversity antenna transmitting power, diversity antenna is communicated with, will leads collection antenna and main collection receive path and main collection and launch path and be communicated with the diversity reception path.
The beneficial effect of present embodiment is, by between main collection antenna and diversity antenna, switching, select more excellent antenna to receive, launch the antenna of path as main collection, collect the wireless performance of launching path by improving the terminal master, reduce the power output and the operating current of main collection emission path intermediate power amplifier, reduce the wireless terminal power consumption, prolong the service time of wireless terminal battery.
Embodiment 7
As shown in Figure 6, for being used to switch the main functional structure that collects the mobile phone 600 of antenna and diversity antenna in the embodiment of the invention 7, wherein mobile phone 600 comprises: main collection antenna 601, diversity antenna 602, radio-frequency (RF) switch 603-606, baseband processing chip 607, duplexer 608, main collection reception path 609, main collection emission path 610, diversity reception path 611, analog-to-digital controller 612, power amplification circuit 613, power supply 614 and sampling resistor R.
Radio-frequency (RF) switch 603,604,605 and 606 is used to select main collection antenna 601 and diversity antenna 602.Radio-frequency (RF) switch 603,604 is arranged on the input of main collection antenna 601, the input that radio-frequency (RF) switch 605 and 606 is arranged on diversity antenna 602.Radio-frequency (RF) switch 603 also is connected with duplexer 608 with baseband processing chip 607 with 605.As shown in Figure 6, duplexer 608 is connected to main collection and receives that path 609 and main collection emission path 610 main collection receive paths 609 and main the collection launches path 610 and also be connected with baseband processing chip 607.Radio-frequency (RF) switch 604 and 606 be connected with diversity reception path 611 with baseband processing chip 607, diversity reception path 611 also is connected with baseband processing chip 607.
Sampling resistor R is arranged between power amplifier 613 and the power supply 614, and analog-to-digital controller 612 is connected in parallel on the two ends of sampling resistor R, after the magnitude of voltage converting digital amount with the sampling resistor R two ends of gathering, is transferred to baseband processing chip 607.Baseband processing chip 607 magnitude of voltage by the sampling resistor R two ends of gathering and the resistance value of the sampling resistor R of storage are calculated the current value by sampling resistor R, equal the operating current I of power amplifier by the current value of the electric R that samples.
(main collection antenna 601 receives path 609 with main collection, the main transmission path 610 that collects is connected also to be built-in with the 1st connection mode of main collection antenna 601 and diversity antenna 602 in the FLASH memory (Fig. 6 does not show) of baseband processing chip 607, diversity antenna 602 is connected with diversity reception path 611) (diversity antenna 602 receives path 609 with main collection, main collection transmission path 610 is connected with the 2nd connection mode, main collection antenna 601 is connected with diversity reception path 611), and the reference work electric current I of the power amplifier 613 under the 1st connection mode and the 2nd connection mode
Ref1350mA (operating current of the power amplifier of main collection antenna 601 transmitting power correspondences) and I
Ref2450mA (operating current of the power amplifier of diversity antenna 602 transmitting power correspondences).
Baseband processing chip 607 is according to built-in main collection antenna 601 and diversity antenna 602 the 1st connection mode, output switch control signal is opened radio-frequency (RF) switch 603 and 606, make main collection antenna 601 by radio-frequency (RF) switch 603 and duplexer 608, receive path 609 with main collection and be connected with main collection emission path 610; Diversity antenna 602 is connected with diversity reception path 611 by radio-frequency (RF) switch 606.
When the wireless performance of main collection antenna 601 worsened, power amplifier 613 increased the transmitting power that mobile phone transmits, and made the operating current of power amplifier 613 also increase thereupon.
The operating current I of baseband processing chip 607 detection power amplifiers 613
1Be 500mA, baseband processing chip 607 is with the operating current I of power amplifier 613
1500mA and reference work electric current I
Ref1350mA compares, and determines power amplifier 613 operating current I
1Greater than the reference work electric current I
Ref1
Baseband processing chip 607 output switch control signals are to radio-frequency (RF) switch 603-606, radio-frequency (RF) switch 603 and 606 is closed, radio-frequency (RF) switch 604 and 605 is opened, make main collection antenna 601 and diversity antenna 602 switch to the 2nd connection mode, promptly, main collection antenna 601 is connected with diversity reception path 611 by radio-frequency (RF) switch 604, and diversity antenna 602 by radio-frequency (RF) switch 605 and duplexer 608, is received path 609 with main collection and is connected with main collection emission path 610.
The operating current I of power amplifier 613 under the 2nd mode of operation that baseband processing chip 607 detects
2Be 430mA.Baseband processing chip 607 is with operating current I
2With operating current I
1Compare the judgment task electric current I
1Greater than operating current I
2 Baseband processing chip 607 judges whether the switching cycle (desirable switching cycle is 5 seconds) of main collection antenna 601 and diversity antenna 602 arrives, if switching cycle arrives, baseband processing chip 607 will be led collection antenna 601 and diversity antenna 602 switches to the 1st connection mode.
In the present embodiment, if operating current I
2Greater than operating current I
1, then baseband processing chip 607 will be led collection antenna 601 and diversity antenna 602 and be directly switch into the 1st connection mode, and no longer according to switching cycle main collection antenna 601 and diversity antenna 602 be switched.
The content that those skilled in the art can disclose according to present embodiment changes the technical scheme content of present embodiment.For example baseband processing chip 607 is according to built-in main collection antenna 601 and diversity antenna 602 the 2nd connection mode, output switch control signal is opened radio-frequency (RF) switch 604 and 605, make diversity antenna 602 by radio-frequency (RF) switch 605 and duplexer 608, receive path 609 with main collection and be connected with main collection emission path 610; Main collection antenna 601 is connected with diversity reception path 611 by radio-frequency (RF) switch 604.
When the wireless performance of diversity antenna 602 worsened, power amplifier 613 increased the transmitting power that mobile phone transmits, and made the operating current of power amplifier 613 also increase thereupon.
The operating current I of baseband processing chip 607 detection power amplifiers 613
3Be 500mA, baseband processing chip 607 is with the operating current I of power amplifier 613
3500mA and reference work electric current I
Ref2450mA compares, and judges I
3Greater than I
Ref2 Baseband processing chip 607 output switch control signals are to radio-frequency (RF) switch 603-606, radio-frequency (RF) switch 604 and 605 is closed, radio-frequency (RF) switch 603 and 606 is opened, make main collection antenna 601 and diversity antenna 602 switch to the 1st connection mode, that is, will lead collection antenna 601, and receive path 609 with main collection and be connected with main collection emission path 610 by radio-frequency (RF) switch 603 and duplexer 608; Diversity antenna 602 is connected with diversity reception path 611 by radio-frequency (RF) switch 606.
The operating current I of power amplifier 613 under the 1st connection mode that baseband processing chip 607 detects
4Be 430mA.Baseband processing chip 607 is with operating current I
3With operating current I
4Compare the judgment task electric current I
3Greater than operating current I
4, then baseband processing chip 607 is operated under the 1st connection mode main collection antenna 601 and diversity antenna 602.
Radio-frequency (RF) switch 603-606 in the present embodiment also can be by the three end-fires switch realization frequently of two single-pole double throws, and a port of one of them three end-fires frequency switch is connected with duplexer, two outer two ports are connected with diversity antenna 602 with main collection antenna 601 respectively; A port of another three end-fires frequency switch is connected with the diversity reception path, two outer two ports are connected with diversity antenna 602 with main collection antenna 601 respectively.Baseband processing chip 607 can be realized the 1st connection mode and the 2nd connection mode respectively by output radio-frequency (RF) switch control signal.
The beneficial effect of present embodiment is, operating current by the detection power amplifier, select more excellent antenna to receive, launch the antenna of path as main collection, collect the wireless performance of launching path by improving the terminal master, reduce the power output and the operating current of main collection emission path intermediate power amplifier, reduce the wireless terminal power consumption, prolong the service time of wireless terminal battery.
The above only is the schematic embodiment of the present invention, is not in order to limit scope of the present invention.Any those skilled in the art, equivalent variations of having done under the prerequisite that does not break away from design of the present invention and principle and modification all should belong to the scope of protection of the invention.