Summary of the invention
The objective of the invention is to, a kind of mobile phone and using method of uninterrupted power supply is provided, overcome the difficulty of prior art, reached under the mobile phone user mode purpose of auto switching electric source.
The present invention adopts following technical scheme:
A kind of mobile phone of uninterrupted power supply comprises the mobile phone body that has mobile phone input bus, operating handset bus, mobile phone redundant bus and main power source, also comprises:
One auxilliary power supply, the input of described main power source and auxilliary power supply all is connected described mobile phone input bus, and output all connects the operating handset bus; And
A power management control module that connects described main power source and auxilliary power supply, measurement described main power source and auxilliary supply voltage value respectively and control the conducting state of described main power source and auxilliary power supply.
Further, described power management control module comprises first switch S 1 of corresponding main power source and measures the second switch S2 of main power voltage, first control module of control first switch S 1 conducting state, corresponding auxilliary power supply and measure auxilliary supply voltage, control second switch S2 conducting state second control module and a top control module; Described main and auxiliary power supply comprises SENSE+ end separately;
Described first switch S 1 is serially connected between the output and described operating handset bus of described main power source, and described first control module connects the SENSE+ end and the described mobile phone redundant bus of described main power source respectively;
Described second switch S2 is serially connected between the output and described operating handset bus of described auxilliary power supply, and described second control module connects the SENSE+ end and the described mobile phone redundant bus of described main power source respectively;
Described top control module connects described mobile phone redundant bus, receives the voltage data that described first control module and second control module are measured respectively, and the transmit button status command arrives described first control module and second control module respectively.
Further, described first switch S 1 and second switch S2 be Current Regulation and the derailing switch for being made up of two field effect transistor all, and described first control module and described second control module are the LTC power management chip;
Described Current Regulation and derailing switch connect the GATE pin of described LTC power management chip;
The SENSE+ end of described power supply connects the Iout pin of described LTC power management chip;
The output of described power supply connects Iout pin, UV pin and the Vcc pin of described LTC power management chip;
The STATUS pin of described LTC power management chip is vacant;
The SB pin of described LTC power management chip connects described mobile phone redundant bus.
Further, be connected with resistance R between the GATE pin of described Current Regulation and derailing switch and described LTC power management chip
GBe connected with resistance R between the Iout pin of the output of described power supply and described LTC power management chip
OUTBe connected with resistance R between described Current Regulation and derailing switch and the described mobile phone input circuit
SENSEThe shunt capacitance C of the external ground connection of GATE pin of described LTC power management chip
G
Further, described Current Regulation and derailing switch comprise field effect transistor FET1 and field effect transistor FET2, the drain electrode of described field effect transistor FET1 connects the source electrode of described field effect transistor FET2, the source electrode of described field effect transistor FET1 connects the output of described power supply, and the drain electrode of described field effect transistor FET2 connects described mobile phone input bus; The gate pole of described field effect transistor FET1 and field effect transistor FET2 is connected described resistance R respectively
G
Further, the resistance R of the external ground connection of RSET pin of described LTC power management chip
SET
Further, the resistance R of the external ground connection of GAIN pin of described LTC power management chip
GAIN
Further, the capacitor C of the external ground connection of TIMER pin of described LTC power management chip
T
Further, the capacitor C of the external ground connection of OV pin of described LTC power management chip
OV
Further, the capacitor C of the external ground connection of COMP1 pin of described LTC power management chip
P1
Further, the capacitor C of the external ground connection of COMP2 pin of described LTC power management chip
P2
A kind of using method of mobile phone of uninterrupted power supply, the mobile phone of the described uninterrupted power supply of arbitrary claim in the use claim 2 to 11 may further comprise the steps:
1) top control module sends a command to control module respectively, connects main power source, disconnects auxilliary power supply;
2) main power source is powered to mobile phone;
3) control module is measured and is judged whether the voltage of main power source is lower than operating voltage, if then execution in step 4); If not, execution in step 2 then);
4) the screen display main battery voltage is low, and sends the tinkle of bells prompting, and top control module sends a command to control module respectively, disconnects main power source, connects auxilliary power supply;
5) auxilliary power supply is powered to mobile phone;
6) whether charge or the change owner battery, if then execution in step 2); If not, execution in step 7 then);
7) control module is measured and is judged whether auxilliary power source voltage is lower than latch voltage, if then execution in step 8); If not, execution in step 6 then);
8) the screen display main battery voltage is low, and sends the tinkle of bells prompting;
9) whether charge or change auxilliary battery, if then execution in step 6), if not, mobile phone shutdown then.
Further, described latch voltage is 3.53V, and described operating voltage is 3.5V.
Owing to adopted above technology, the present invention compared with prior art has the following advantages:
1. the trouble that can evade switching on and shutting down when the present invention changes battery, the save trouble and labor.
2. the present invention has avoided too many unnecessary switching on and shutting down, can prolong the mobile phone life-span.
3. can change battery of mobile phone when the present invention converses hangs on.
4. the present invention can realize the redundancy of battery of mobile phone, is beneficial to prevent that mobile phone from not having electricity to hang up suddenly.
5. the present invention has reduced the radiation that brings owing to the handset switch machine.
Further specify the present invention below in conjunction with drawings and Examples.
Embodiment
Embodiment 1
The mobile phone of a kind of uninterrupted power supply of the present invention, comprise the mobile phone body that has mobile phone input bus, operating handset bus, mobile phone redundant bus and main power source, also comprise: an auxilliary power supply, the input of described main power source and auxilliary power supply all is connected described mobile phone input bus, and output all connects the operating handset bus; And power management control module that connects described main power source and auxilliary power supply, measurement described main power source and auxilliary supply voltage value respectively and control the conducting state of described main power source and auxilliary power supply.
Wherein, mobile phone input bus major function is the data message that is used for the transmission user input, also is used for the transmitting cell-phone control chip and gives screen the instruction and data message transmission.For example user key-press need show short message, the user is by the cell phone keyboard input data information, at this moment the mobile phone input bus just is converted to data-signal to user's demand, by the mobile phone input bus data are transmitted the mobile phone control chip, also the outputting data signals of mobile phone control chip, be transferred to input bus, on mobile phone screen, be shown to the information of user's request.The implication of data is a broad sense, it can be real data, also can be instruction code or state information, sometimes or even a control information, therefore, in real work, what transmit on the mobile phone output bus might not only be truly data, and the mobile phone output bus has the function of input-output data.
Operating handset bus major function is that mobile phone input bus data information transfer is given the mobile phone control chip, and the mobile phone control chip is given parts or the module of specifically wanting to finish this instruction instruction or data message again by the operating handset bus transfer.For example the mobile phone control chip passes through the operating handset bus transfer to changing the tinkle of bells module changing the ringing sound of cell phone instruction, mobile phone is changed the tinkle of bells module and is just finished after the instruction, all needs the operating handset bus to transmit data for information this whole process of mobile phone control chip by the operating handset bus transfer.The implication of data is a broad sense, it can be real data, also can be instruction code or state information, sometimes or even a control information, therefore, in real work, what transmit on the operating handset bus might not only be truly data, and the operating handset bus has the function of input-output data.
The data that data command when mobile phone redundant bus major function is the work of transmitting cell-phone primary and secondary power and replacing primary and secondary power are and the signal of state.Main purpose is to reach seamless switching when better changing power supply.By the mobile phone redundant bus some instruction and datas of the working state signal of mobile phone primary and secondary power and replacing power supply are transferred to the mobile phone control chip.The implication of data is a broad sense, it can be real data, also can be instruction code or state information, sometimes or even a control information, therefore, in real work, what transmit on the mobile phone redundant bus might not only be truly data, and the mobile phone redundant bus has the function of input-output data.
The present invention be primarily aimed at mobile phone change battery and design aly change the mobile phone that battery does not shut down.Platform in " test/selection circuit " and " cell phone mainboard " is nested, finishes the function that the voltage of testing two batteries respectively and circuit are selected.Realize by a cellular phone power supplies alarm communication system platform, the power control system controller connects field effect transistor, measure the voltage data of two batteries respectively, compare with the register normal working voltage of mobile phone inside, needs according to operating handset reality, according to the setting of uninterrupted handset program, control the conducting of two batteries/open circuit by field effect transistor respectively.
According to the principle and the function of circuit, use the device design of main and auxiliary battery duplicate supply, i.e. cell phone mainboard power supply has two batteries, and one is main battery, and one is auxilliary battery.Main battery is our battery of mobile phone of usefulness at ordinary times, for daily mobile phone purposes such as make a phone call to send short messages.It is that auxilliary battery is communicated with cell phone mainboard by force when the main battery sudden power that auxilliary battery mainly acts on, and this moment, the cell phone mainboard power on circuitry normally circulated, and can not be subjected to the unexpected disconnection of main battery and shuts down or transfer of data is obstructed and is produced unnecessary influence.It is a large amount of because the time and efforts of changing the cell switch machine to save the user.
Explain in detail as follows to main and auxiliary battery duplicate supply device design below:
1, power management control module mainly is a signal of controlling different circuit according to the mains switch difference, controls source current with this, reaches the control of circuit of cell phone mainboard and unimpeded, is subjected to the control of the control chip of mobile phone inside.The power management control module is measured the voltage of described main and auxiliary battery respectively, under open state, when the voltage of described main battery is higher than operating voltage, described power management control module is controlled the mobile phone input bus and the conducting of operating handset bus of described main battery and mobile phone, disconnect being connected of described auxilliary battery and operating handset bus, make main battery and mobile phone form current supply circuit;
When the voltage of described main battery is lower than operating voltage, described power management control module is controlled the mobile phone input bus and the conducting of operating handset bus of described auxilliary battery and mobile phone, disconnect being connected of described main battery and operating handset bus, make auxilliary battery and mobile phone formation current supply circuit;
When the user closed mobile phone, the power management control module disconnected being connected of described main and auxiliary battery and operating handset bus respectively, mobile phone outage shutdown.
2, auxilliary battery, this battery is the core bright spot of design, mainly be that circuit at main battery is can not constitute a unimpeded loop time, when being disconnection of main battery and cell phone mainboard circuit or main battery power supply deficiency, switch is disconnected, switch connection constitutes cell phone mainboard and auxilliary battery and constitutes a unimpeded loop.Auxilliary battery electric quantity requires charging again much smaller than the main battery electric weight in the regulation certain hour, be full of at any time with the electric weight that keeps auxilliary battery, in the hope of continuing more electric weight redundancy.Design is embedded in mobile phone inside.Also can wait to discharge and recharge when reaching certain number of times, change a battery of new auxilliary battery replace old.
3, main battery, this main battery major function is to power normally to cell phone mainboard at ordinary times, keeps the normal function operation of mobile phone.
Embodiment 2
Because among the embodiment 1, measuring voltage, send instruction or the like operation and finish by a power management control module, its structure certainly will be very complicated, adopt one chip or module finish the very high and stability of these functional costs and replaceability poor.
As shown in Figure 4, so the power management control module is divided into first switch S 1 and the second switch S2 that measures main power voltage, first control module of control first switch S 1 conducting state, corresponding auxilliary power supply and the auxilliary supply voltage of measurement, control second switch S2 conducting state second control module and a top control module of corresponding main power source.
Wherein, described main and auxiliary power supply comprises SENSE+ end separately;
Described first switch S 1 is serially connected between the output and described operating handset bus of described main power source, and described first control module connects the SENSE+ end and the described mobile phone redundant bus of described main power source respectively;
Described second switch S2 is serially connected between the output and described operating handset bus of described auxilliary power supply, and described second control module connects the SENSE+ end and the described mobile phone redundant bus of described main power source respectively;
Described top control module connects described mobile phone redundant bus, receives the voltage data that described first control module and second control module are measured respectively, and the transmit button status command arrives described first control module and second control module respectively.
Shown in Fig. 5,6, described first switch S 1 and second switch S2 be Current Regulation and the derailing switch for being made up of two field effect transistor all, and described first control module and described second control module are the LTC power management chip;
Described Current Regulation and derailing switch connect the GATE pin of described LTC power management chip;
The SENSE+ end of described power supply connects the Iout pin of described LTC power management chip;
The output of described power supply connects Iout pin, UV pin and the Vcc pin of described LTC power management chip;
The STATUS pin of described LTC power management chip is vacant;
The SB pin of described LTC power management chip connects described mobile phone redundant bus.
Be connected with resistance R between the GATE pin of described Current Regulation and derailing switch and described LTC power management chip
GBe connected with resistance R between the Iout pin of the output of described power supply and described LTC power management chip
OUTBe connected with resistance R between described Current Regulation and derailing switch and the described mobile phone input circuit
SENSEThe shunt capacitance C of the external ground connection of GATE pin of described LTC power management chip
G
Described Current Regulation and derailing switch comprise field effect transistor FET1 and field effect transistor FET2, the drain electrode of described field effect transistor FET1 connects the source electrode of described field effect transistor FET2, the source electrode of described field effect transistor FET1 connects the output of described power supply, and the drain electrode of described field effect transistor FET2 connects described mobile phone input bus; The gate pole of described field effect transistor FET1 and field effect transistor FET2 is connected described resistance R respectively
G
The resistance R of the external ground connection of RSET pin of described LTC power management chip
SET
The resistance R of the external ground connection of GAIN pin of described LTC power management chip
GAIN
The capacitor C of the external ground connection of TIMER pin of described LTC power management chip
T
The capacitor C of the external ground connection of OV pin of described LTC power management chip
OV
The capacitor C of the external ground connection of COMP1 pin of described LTC power management chip
P1
The capacitor C of the external ground connection of COMP2 pin of described LTC power management chip
P2
Top control module connects small power supply, and small power supply connects the mobile phone control chip.The mainly present mobile phone of small power supply just had originally, small power supply voltage is 1.5V, major function is when primary and secondary power does not all have electric weight or is all pulled up when coming, this small power supply plays functions such as preserving mobile phone master data and clock, also have in addition when receiving the order of user's start, activate total control module, allow the Closing Switch S1 of its total control module elder generation, be i.e. closed main power circuit earlier.When being lower than operating voltage and being 3.35V as main power voltage, cut-off switch S1 by force, total control module Closing Switch S2 again is lower than S2 as auxilliary supply voltage then, then shutdown by force, mobile phone screen show that the primary and secondary power deficiency please be charged and wait printed words prompting user in time to charge.
Wherein field effect transistor FET1 and FET2 constitute current regulator and derailing switch.Controller is realized adjusting to electric power output voltage to the power supply by output SENSE+ signal loading.Resistance R
OUTAnd R
SETBe used for being provided with voltage adjusting range.R
SETOn voltage with R
OUT/ R
SETRate conversion become R
OUTOn voltage.Therefore, the adjustment of output voltage will be followed the tracks of R
SETVoltage on the pin.
The hot plug process of the power-supply system of uninterrupted power supply mobile phone is subjected to the control of the voltage signal of under-voltage pin (UV) output:
When (1) power module inserted, when the voltage of UV pin was lower than latch voltage 3.350V, the GATE end was output as 0V, and field effect transistor FET1 and FET2 turn-off.Voltage slow rising along with the VCC pin because of electric capacity charges, the voltage of UV pin also increases, when this voltage is higher than 3.350V, the gate pole of FET is advanced the speed by a certain electric current of regulation and is carried out right current source charging, the GATE pin voltage rises along the slope of the electric current of setting, and makes that the electric current among the FET slowly rises.When power supply rose to 3.500V, like this, the new power supply that inserts was joined seamlessly in the load, has avoided surge current to enter power-supply system.
When (2) power module was closed or extracted, control module was to the gate pole repid discharge of FET, and the voltage of UV pin will drop to 3.350V when following, and FET turn-offs, and power supply and load isolation are come.
In the hot plug control circuit, GATE pin external capacitor C
GEffect be vital, it all can not suddenly change the gate pole current potential of FET and output voltage, has avoided power supply to insert and produced surge current when withdrawing from entering load.GAIN pin outer meeting resistance R
GAINBe used to regulate the depth of feedback from the last obtained current detection signal of precision resistance RSENSE, the capacitor C T that is connected the TIMER pin is used for being provided with power supply and inserts the delay time of back to uninterrupted mobile phone electric.
The resistance of having connected in the current supply circuit is the resistance of 50 Ω, is used for keeping during power output end is shorted to ground the power supply of chip, and anti-locking system is out of control.The shunt capacitance C that capacity is 0.1mF that the GATE pin is external
GThe grid potential and the output voltage of power fet all can not suddenlyd change, avoided power supply to insert and produced surge current when withdrawing from entering load.The outside capacitor C that connects of TIMER pin
TPower supply is set inserts the delay time of back to the load-sharing power supply.
GAIN pin outer meeting resistance R
GAINBe used to regulate depth of feedback from the last obtained current detection signal of precision resistance RSENSE.Two power fets are arranged among the figure.Wherein, drain electrode that FET pipe of being connected to power supply (in the accompanying drawing 6 left side) is used to stop the high voltage fault of load.If do not need overpressure protection, this FET can save.Similarly, if do not need to be shorted to the protection on ground, also can save the FET pipe that drain electrode is connected to load (right side in the accompanying drawing 6).
SB, be simulation output, this output pin is to detect the information of battery at redundant bus and main and auxiliary power supply, and that main and auxiliary power supply is current state, finish the function of SB with a dynamic electric resistor, when resistance is lower than the COMP1 output pin, use the NPN of an inside to regulate as a pull down resistor and pull-up resistor.
OV, the Overvoltage overvoltage protection.When the rising of OV Pin magnitude of voltage, then GATE Pin pin drags down, and reaches a timer period, and the STATUS pin is low up to OV voltage from hypermutation then by high step-down.
COMP1, simulation output, this Pin has the amplifier function of the adjustment mistake of voltage output, and the electric capacity supply between this pin and no-voltage is that a point of interface is set, and this interface point is exactly the frequency in the loop of trend bus.According to the voltage of the pin of SB, COMP2 pin adjusted diode voltage rises.
COMP2, simulation output, this pin is a mobile phone redundant bus mistake amplifier, the most of the time, the voltage range of this pin exists.0.5V, show as the voltage of a diode to 1.5V.If a main and auxiliary power supply switches finish, the COMP2 pin voltage promptly discharges.
The STATUS pin is an open-drain logic output pin, mistake appears if this output pin is crossed low then is shown as cell phone system, three class mistakes are arranged, the first kind is that Vcc voltage or UV output pin are crossed low and opened Lou that output voltage is activated, error type II is to be more than 1.5V or to be lower than 0.5V that when the COMP2 input pin last mistake is when OV imported high level.When running into this three classes situation, when three mistakes occurred, system will be presented on the mobile phone interface.The STATUS pin is to need ground connection.
The pin voltage scope of UV,, will also can raise by the GATE output pin when the output valve of UV is raised to 24mV at 1.244V.When the UV output pin was lowered, the GATE output pin also can be lowered.
SENSE1, SENSE2, SENSE3 are power detection signal, and FB is the load voltage feedback signal.
SENSE1 is that the monitoring main power voltage is the power supply signal in working range, be three states, one is that main power voltage is greater than 3.50V, one is at 3.50V-3.35V, one is to be lower than 3.35V, send control module to for the different power supply signal of monitoring, judge that for control module control circuit is used.
SENSE2 is that the auxilliary supply voltage of monitoring is the power supply signal in working range, be three states, one is that auxilliary supply voltage is greater than 3.50V, one is at 3.50V-3.35V, one is to be lower than 3.35V, send control module to for the different power supply signal of monitoring, judge that for control module control circuit is used.
SENSE3 is main for monitoring, and auxilliary supply voltage is the power supply signal in the entire circuit working range, is three states, one be main power voltage greater than 3.50V, top control module is given output command, allows closure, disconnect, one is main power voltage less than 3.50V and auxilliary supply voltage greater than 3.50V, and top control module is given output command, allow closure, disconnect, one is main, and auxilliary power supply all is lower than 3.35V, top control module is given, and output command disconnects.
As shown in Figure 7, the using method of the mobile phone of a kind of uninterrupted power supply of the present invention is used the mobile phone of above-mentioned uninterrupted power supply, and the latch voltage of setting wherein is 3.53V, and operating voltage is 3.5V, and under the mobile phone power-on state, this method may further comprise the steps:
1) top control module sends a command to control module respectively, connects main power source, disconnects auxilliary power supply;
2) main power source is powered to mobile phone;
3) control module is measured and is judged whether the voltage of main power source is lower than operating voltage, if then execution in step 4); If not, execution in step 2 then);
4) the screen display main battery voltage is low, and sends the tinkle of bells prompting, and top control module sends a command to control module respectively, disconnects main power source, connects auxilliary power supply;
5) auxilliary power supply is powered to mobile phone;
6) whether charge or the change owner battery, if then execution in step 2); If not, execution in step 7 then);
7) control module is measured and is judged whether auxilliary power source voltage is lower than latch voltage, if then execution in step 8); If not, execution in step 6 then);
8) the screen display main battery voltage is low, and sends the tinkle of bells prompting;
9) whether charge or change auxilliary battery, if then execution in step 6), if not, mobile phone shutdown then.
Wherein, when receiving the order of user start, small power supply activates total control module, allows the Closing Switch S1 of its total control module elder generation, i.e. closed main power circuit earlier.When being lower than operating voltage and being 3.35V as main power voltage, cut-off switch S1 by force, total control module Closing Switch S2 again is lower than S2 as auxilliary supply voltage then, then shutdown by force, mobile phone screen show that the primary and secondary power deficiency please be charged and wait printed words prompting user in time to charge.
During cell phone mainboard system operate as normal, top control module is by adjusting the conducting degree of current regulator and switch, make system can use reasonably that each power module---each power module provides identical electric current to system, this mode of operation is called " uninterrupted cellular phone power supplies pattern ".
The uninterrupted power supply mobile phone is meant under the mobile phone power-on state, the machine that equipment charged " access " such as certain power supply or " shifting out " are being worked.Each supply module in the uninterrupted power supply power-supply system of cell phone all can hot plug, in case certain supply module damages, just can not finish maintenance work under the power-off condition, and a bit operate as normal that does not influence cell phone system.
In order to satisfy the requirement of uninterrupted power supply power-supply system of cell phone power supply, the control module of uninterrupted power supply power-supply system of cell phone should be able to limit the current break of power module, when preventing that power module from inserting and extracting the load bus is formed surge current.
If monitor main battery and auxilliary battery electric quantity when being lower than the mainboard running current, top control module is received the power detection signal of SENSE3, just disconnects the current regulator and the switch of whole cell phone mainboard, and mobile phone is in off-mode.
If monitor main battery or auxilliary battery electric quantity when all being higher than certain value, the mobile phone normal working voltage is V>3.50V, and when cell phone mainboard can operate as normal, top control module was received the power detection signal of SENSE3, and control module is with regard to closed path adjuster and switch.Make main power source energy operate as normal.
If monitor the electric weight of main battery when being lower than the electric weight that cell phone mainboard needs, this moment, auxilliary battery electric quantity was in mainboard energy operate as normal electric weight, then top control module is then received the power detection signal of SENSE3, feedback signal is issued control module, turn-off current adjuster and switch, then control module is linked to be a loop with regard to closed path adjuster and switch with whole cell phone mainboard and auxilliary battery, powers normally for cell phone mainboard.
If when wherein a certain power module breaks down, cut off current regulator and switch, trouble power is isolated from power-supply system, and carry out fault alarm.Combine with the handset displays program, this power supply alarming information is presented at mobile phone interface, inform the user.Also can adopt the more eye-catching prompting of mode users such as ringing sound of cell phone to know the power supply operating position.
In summary, of the present invention platform in " test/selection circuit " and " cell phone mainboard " is nested, finishes the function that the voltage of testing two batteries respectively and circuit are selected, reached under the mobile phone user mode effect of auto switching electric source.Compared with prior art, it has and changes the trouble that battery can be evaded switching on and shutting down, save trouble and labor; Avoid too many unnecessary switching on and shutting down, can prolong the mobile phone life-span; Can change battery of mobile phone during conversation hangs on; Can realize the redundancy of battery of mobile phone, be beneficial to and prevent that mobile phone from not having electricity to hang up suddenly; Reduced the radiation that brings owing to the handset switch machine.
Above-described embodiment only is used to illustrate technological thought of the present invention and characteristics, its purpose is to make those skilled in the art can understand content of the present invention and implements according to this, can not only limit claim of the present invention with present embodiment, be all equal variation or modifications of doing according to disclosed spirit, still drop in the claim of the present invention.