Invention content
Place in view of above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide a kind of switchings of the power of communication apparatus
Devices and methods therefor, power to solve existing conduction test is identical as radiant power can not to judge whether indices just really reach
Mark influences the problem of communication appliance performance.
In order to achieve the above object, this invention takes following technical schemes:
A kind of power switching device of communication apparatus comprising detection module, pull-down module, radio-frequency module, test bench and
Anneta module;
The detection module judges current operating mode according to the break-make of test bench and the pull-down state of pull-down module, and
Corresponding parameter configuration radio-frequency module is called according to corresponding operating mode;Radio-frequency module sends out corresponding according to corresponding parameter
Power control Anneta module receiving and transmitting signal.
In the power switching device of the communication apparatus, the operating mode includes conduction mode and radiation mode;
It is off when having p-wire insertion in the test bench, pull-down module, radio-frequency module and Anneta module are disconnected
Connection is opened, pull-down module does not work;Detection module judges current operating mode for conduction mode, and calls the first parameter configuration
Radio-frequency module;Radio-frequency module sends out corresponding first power according to the first parameter;
Connected state is in when being inserted into without p-wire in the test bench, pull-down module, radio-frequency module and Anneta module connect
It connects, pull-down module drop-down;Detection module judges current operating mode for radiation mode, and calls the second parameter configuration radio frequency mould
Block;Radio-frequency module sends out corresponding second power according to the second parameter.
In the power switching device of the communication apparatus, first power and the second power are unequal, the first power
The arbitrary value being set as within the scope of the power setting of conduction test.
In the power switching device of the communication apparatus, the detection module includes CPU, first resistor, second resistance
With the first capacitance;
The first resistor one end connection CPU voltage output foot and the first capacitance one end, the first capacitance it is another
End ground connection, one end of the detection foot and second resistance of the other end connection CPU of first resistor, the other end of second resistance connect day
One end of wire module and test bench.
In the power switching device of the communication apparatus, the pull-down module includes inductance, and one end of the inductance connects
Connect the other end and radio-frequency module of test bench, the other end ground connection of inductance.
In the power switching device of the communication apparatus, the Anneta module includes 3rd resistor, the 4th resistance, the 5th
Resistance, the second capacitance and antenna;
One end of the other end and test bench of one end connection second resistance of second capacitance, the other end of the second capacitance
One end of one end and the 4th resistance of 3rd resistor is connected, the other end of the 4th resistance connects one end and the antenna of the 5th resistance,
The other end of the other end of 3rd resistor and the 5th resistance is grounded.
A kind of power switching method of power switching device using the communication apparatus comprising:
A, detection module judges current operating mode, and root according to the break-make of test bench and the pull-down state of pull-down module
Corresponding parameter configuration radio-frequency module is called according to corresponding operating mode;
B, radio-frequency module sends out corresponding power control Anneta module receiving and transmitting signal according to corresponding parameter.
Compared to the prior art, the power switching device and its method of communication apparatus provided by the invention, by detecting mould
Root tuber judges current operating mode according to the break-make of test bench and the pull-down state of pull-down module, and according to corresponding operating mode
Call corresponding parameter configuration radio-frequency module;Radio-frequency module sends out corresponding power control Anneta module according to corresponding parameter and receives
It signals;Corresponding power can be selected to carry out receiving and transmitting signal according to operating mode in this way, so as to improve the property of communication apparatus
Energy;The power for solving existing conduction test identical as radiant power can not judge whether indices are just very up to standard, it is logical to influence
The problem of interrogating equipment performance.
Specific implementation mode
The present invention provides a kind of power switching device and its method of communication apparatus, can judge the operating mode of communication apparatus
And it is switched to corresponding power, to improve the performance of communication apparatus.To make the purpose of the present invention, technical solution and effect more
Clear, clear, the present invention is described in more detail for the embodiment that develops simultaneously referring to the drawings.It should be appreciated that described herein
Specific examples are only used to explain the present invention, is not intended to limit the present invention.
Please refer to Fig. 1 and Fig. 2, power switching device provided by the invention includes detection module 100, pull-down module
200, radio-frequency module 300, test bench 400 and Anneta module 500.The detection module 100 is according to the break-make of test bench 400 under
The pull-down state of drawing-die block 200 judges current operating mode, and calls corresponding parameter configuration according to corresponding operating mode
Radio-frequency module 300.Radio-frequency module 300 sends out corresponding 500 receiving and transmitting signal of power control Anneta module according to corresponding parameter.
In the present embodiment, the operating mode includes conduction mode and radiation mode.Test bench(RF switch)400 are
The common test bench of each communication apparatus such as mobile phone.When needing to carry out conduction test, p-wire is inserted into the test bench, is tested
Seat is off, and the module for being equivalent to the connection of 400 both ends of test bench disconnects, i.e. 200/ radio frequency of pull-down module(RF)Mould
Block 300 is disconnected with Anneta module 500, and pull-down module 200 does not work, then detection module judges current operating mode to pass
Waveguide mode, and call the first parameter configuration radio-frequency module.Radio-frequency module sends out corresponding first power according to the first parameter(Such as 23
dBm).Power when conduction test is usually equal with power when radiation in the prior art.After the present embodiment improves, it can will conduct
Power when test(That is the first power)It is set as the arbitrary value within the scope of power setting when conduction test, to meet different tests
Demand.The power setting ranging from prior art, is not herein described further its concrete numerical value.
When needing normal work, extracting p-wire makes test bench 400 be in connected state, i.e., will be under radio-frequency module 300/
Drawing-die block 200 is connect with Anneta module 500, and pull-down module 200 pulls down, then detection module judges current operating mode for radiation
Pattern, and call the second parameter configuration radio-frequency module;Radio-frequency module sends out corresponding second power according to the second parameter(Such as 22
DBm or 24 dBm).
In the present embodiment, the detection module 100 identifies the break-make and pull-down module of test bench by detecting voltage
Pull-down state, and then judge current working condition.The detection module 100 includes CPU, first resistor R1, second resistance
R2 and the first capacitance C1;One end of the voltage output foot V and the first capacitance C1 of one end connection CPU of the first resistor R1, the
The other end of one capacitance C1 is grounded, one end of detection the foot GPIO and second resistance R2 of the other end connection CPU of first resistor R1,
One end of the other end connection Anneta module 500 and test bench 400 of second resistance R2.
Wherein, the resistance value of first resistor R1 is 10K or so, for playing the role of burning voltage.The first capacitance C1's
Capacitance ranging from 33pf ~ 150pf, preferably 33pf play the role of direct current interruption for avoiding direct-current short circuit.The CPU can
It is multiplexed existing CPU in communication apparatus, to save cost and space.The first parameter and the second parameter are stored in the CPU.
Which group parameter configuration radio-frequency module 300 CPU calls, you can radio-frequency module 300 is made to send out corresponding power.Radio-frequency module 20 is existing
There is technology, internal circuit structure is not described further herein.
In the present embodiment, pull-down module 200 includes the other end of one end connecting test seat 400 of inductance L, the inductance L
It is grounded with the other end of radio-frequency module 300, inductance L.The inductance L is big inductance, and inductance value ranging from 33nh ~ 100nh is used for
Play the role of direct current to, i.e. realize drop-down;Also play the role of to the working frequency range of communication apparatus breaking, that is, avoids radio-frequency module
300 output signal is sent to ground.
In the present embodiment, the Anneta module 500 includes 3rd resistor R3, the 4th resistance R4, the 5th resistance R5, the second electricity
Hold C2 and antenna A;One end of the other end and test bench 400 of one end connection second resistance R2 of the second capacitance C2, second
One end of one end and the 4th resistance R4 of the other end connection 3rd resistor R3 of capacitance C2, the other end connection of the 4th resistance R4 the
The other end of one end of five resistance R5 and antenna A, the other end of 3rd resistor R3 and the 5th resistance R5 are grounded.
Wherein, the capacitance ranging from 33pf ~ 150pf, preferably 33pf of the second capacitance C2;It is used for direct current interruption;I.e.
When big inductance L is pulled down, electric current is avoided to pass through 3rd resistor R3 to ground.
The present embodiment judges the operating mode of communication apparatus with voltage on the detection foot GPIO of CPU.The communication is set
Two sets of parameters can be set in standby CPU, with LTE B1(One frequency range)For, the maximum power under conduction mode is set(First
Power)For 23dBm, it is correspondingly arranged the first parameter;Maximum power under radiation mode(First power)For 24dBm or 22dBm(This
Performance number is only citing, can be specifically arranged according to actual conditions, as long as with the maximum power difference under conduction mode),
It is correspondingly arranged the second parameter.The operation principle of the power switching device is:
Conduction mode:P-wire insertion makes test bench 400 be off.The voltage output foot V outputs of CPU at this time are about
The voltage of 2.85V is directly entered detection foot GPIO after first resistor R1.Wherein, the direct current interruption effect of the first capacitance C1
It can avoid the first electric current I1 and ground flowed to by the first capacitance C1, the direct current interruption effect of the second capacitance C2 also avoids the first electric current
I1 flows to ground by 3rd resistor R3, and such first electric current I1 just only flows to the detection foot GPIO of CPU.CPU detects the detection foot
When GPIO is high voltage, judges that communication apparatus is operated in conduction mode, call the first parameter configuration radio-frequency module 300, penetrate at this time
The maximum power that frequency module 300 exports is 23dBm, and the trend of the first electric current I1 is as shown in Figure 2.
Radiation mode:Test bench 400 is in connected state when no p-wire is inserted into.CPU exports 2.85V voltages at this time(Electricity
Pressure can be arranged as the case may be, this is citing), pass through first resistor R1, second resistance R2, test bench 400, inductance successively
L to ground.The direct current interruption effect of second capacitance C2 avoids the second electric current I2 and flows to ground by 3rd resistor R3.CPU detections should
It is low-voltage to detect foot GPIO(It is dragged down by inductance L, second resistance R2), then judge that communication apparatus is operated in radiation mode, call
Second parameter configuration radio-frequency module 300, the maximum power that radio-frequency module 300 exports at this time are 24dBm or 22dBm, the second electric current
The trend of I2 is as shown in Figure 2.
In this way in conduction test or radiation, communication apparatus can send out different power;Can also be in conduction test, it will
Power setting is any value within the scope of power setting.And under radiation mode, power can be become larger(Such as the feelings weaker in signal
Under condition)Improve the intensity of signal transmitting and receiving to increase maximum power, the problems such as avoiding going offline;Also power can be become smaller, to avoid
SAR(Specific Absorbtion Ratio are exactly the contribution ratios of special frequency channel)/HAC(Hearing Aid
Compatibility, mobile phone support a kind of standard of hearing aid compatibility)Equivalence is too high to influence whether that equipment uses crowd.
Based on the power switching device of above-mentioned communication apparatus, the present invention also provides a kind of power switching sides of communication apparatus
Method, as shown in figure 3, the power switching method includes:
S100, detection module judge current operating mode according to the break-make of test bench and the pull-down state of pull-down module,
And corresponding parameter configuration radio-frequency module is called according to corresponding operating mode.
S200, radio-frequency module send out corresponding power control Anneta module receiving and transmitting signal according to corresponding parameter.
The step S100 is every preset time(Such as 500ms)Judge primary current working condition, is divided into two kinds of situations:
Situation one is off when test bench has p-wire insertion, pull-down module, radio-frequency module and Anneta module
It disconnects, pull-down module does not work;Detection module judges current operating mode for conduction mode, and the first parameter is called to match
Set radio-frequency module.
Situation two is in connected state, pull-down module, radio-frequency module and Anneta module when test bench is inserted into without p-wire
Connection, pull-down module drop-down;Detection module judges current operating mode for radiation mode, and calls the second parameter configuration radio frequency
Module.
The above situation one, the step S200 are specifically included:Radio-frequency module sends out corresponding according to the first parameter
One power.The above situation two, the step S200 are specifically included:Radio-frequency module sends out corresponding second according to the second parameter
Power.
In conclusion the power switching device and its method of communication apparatus provided by the invention, by judging communicating terminal
Current operating mode selects corresponding parameter configuration radio-frequency module according to operating mode, keeps radio-frequency module output corresponding most
High-power control Anneta module receiving and transmitting signal;To which in conduction test or radiation, different maximum powers can be sent out, to change
The performance of kind communication apparatus.Power setting can also be surveyed for any value within the scope of power setting to meet in conduction test
Examination requires.Under radiation mode, power can become larger improves the intensity of signal transmitting and receiving to increase maximum power, avoids going offline etc. and ask
Topic;Also power can be become smaller, influences whether that equipment uses crowd to avoid SAR/HAC equivalences are too high.
It, can according to the technique and scheme of the present invention and its hair it is understood that for those of ordinary skills
Bright design is subject to equivalent substitution or change, and all these changes or replacement should all belong to the guarantor of appended claims of the invention
Protect range.