CN102931720A - Power circuit and power switching method - Google Patents

Power circuit and power switching method Download PDF

Info

Publication number
CN102931720A
CN102931720A CN2012103845833A CN201210384583A CN102931720A CN 102931720 A CN102931720 A CN 102931720A CN 2012103845833 A CN2012103845833 A CN 2012103845833A CN 201210384583 A CN201210384583 A CN 201210384583A CN 102931720 A CN102931720 A CN 102931720A
Authority
CN
China
Prior art keywords
transistor
main battery
secondary cell
transistor seconds
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012103845833A
Other languages
Chinese (zh)
Inventor
夏新球
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Original Assignee
Beijing Xiaomi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Technology Co Ltd filed Critical Beijing Xiaomi Technology Co Ltd
Priority to CN2012103845833A priority Critical patent/CN102931720A/en
Publication of CN102931720A publication Critical patent/CN102931720A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the invention provides a power circuit and a power switching method, in order to solve the problem that equipment is damaged or inconvenient to use, caused by insufficient electric quantity. The power circuit comprises a power switching circuit, a main battery and an auxiliary battery, wherein the main battery and the auxiliary battery are used for supplying electric quantity; the power switching circuit comprises a first transistor and a second transistor; the first transistor is connected with the main battery; when the first transistor is conducted, the main battery supplies power; when the first transistor is not conducted, the main battery stops supplying power; the second transistor is connected with the auxiliary battery; when the second is conducted, the auxiliary battery supplies power; when the second transistor is not conducted, the auxiliary battery stops supplying power; when the first transistor is conducted and the second transistor is stopped, the auxiliary battery stops supplying power and the main battery supplies power; and when the first transistor is not conducted and the second transistor is conducted, the main battery stops supplying power and the auxiliary battery supplies power.

Description

A kind of power circuit and power-supply switching method
Technical field
The embodiment of the invention relates to circuit engineering, particularly relates to a kind of power circuit, and a kind of power-supply switching method.
Background technology
Development along with mobile phone market, the function of mobile phone from strength to strength, especially the emergence of smart mobile phone, the user is except using the smart mobile phone conversation, can also carry out other activity, such as taking pictures, surf the Net and play games etc., thing followed problem is exactly that the consumption of mobile phone electric weight increases, and the user needs usually to cell-phone charging.
In order to make the user can use anywhere or anytime mobile phone, can be pluggable mode with the cell arrangement of mobile phone therefore, when mobile phone electric weight deficiency or mobile phone do not have electricity, can take out the battery in the mobile phone, changing one has the battery of electricity to continue to use mobile phone.And before mobile phone is changed battery, for hardware, the software systems of protecting mobile phone are not damaged, usually need first mobile phone shutdown cutting off the power supply of mobile phone, and then change battery.
But, change the power supply that cuts off mobile phone before the battery, will be so that mobile phone can't be in holding state, during might miss important phone, use inconvenience very.
In addition, if the user does not notice that the electric weight of battery of mobile phone is not enough, mobile phone just may in use cut off the power supply suddenly, may cause the loss of data in the cell phone software system, also may cause the damage of hardware in the mobile phone.
Summary of the invention
The embodiment of the invention provides a kind of power circuit and power-supply switching method, with solution equipment because the not enough caused damage of battery electric quantity or awkward problem.
In order to address the above problem, the embodiment of the invention discloses a kind of power circuit, comprising: power supply switch circuit, main battery and secondary cell, wherein, described main battery and described secondary cell are used for providing electric weight; Described power supply switch circuit comprises: the first transistor and transistor seconds; Described the first transistor is connected with described main battery, described main battery power supply during conducting, described main battery outage during cut-off; Described transistor seconds is connected with described secondary cell, described secondary cell power supply during conducting, described secondary cell outage during cut-off; When the first transistor conducting and transistor seconds cut-off, the secondary cell outage is powered by main battery; When the first transistor cut-off and transistor seconds conducting, the main battery outage is powered by secondary cell.
In the embodiment of the invention, the positive pole of described main battery connects the drain electrode of the first transistor, and the positive pole of secondary cell connects the drain electrode of transistor seconds, and the source electrode of the first transistor links to each other with the source electrode of transistor seconds.
In the embodiment of the invention, the positive pole of main battery connects the drain electrode of the first transistor, and the positive pole of secondary cell connects the drain electrode of transistor seconds, and the source electrode of the first transistor and transistor seconds links to each other, and the grid of the first transistor and transistor seconds links to each other; Wherein, when the grid of the first transistor and transistor seconds is in high level, the first transistor conducting and transistor seconds cut-off, the secondary cell outage is powered by main battery; When the grid of the first transistor and transistor seconds is in low level, the first transistor cut-off and transistor seconds conducting, the main battery outage is powered by secondary cell.
In the embodiment of the invention, the grid reception control signal of the first transistor and transistor seconds in the described power supply switch circuit; When detecting main battery voltage and be higher than preset value, configuration control signal is high level, and then the grid of the first transistor and transistor seconds is in high level; When detecting main battery voltage and be lower than preset value, configuration control signal is low level, and then the grid of the first transistor and transistor seconds is in low level.
In the embodiment of the invention, described power circuit also comprises: trigger switch, wherein, described trigger switch one end ground connection, the grid of the first transistor and transistor seconds links to each other in the other end and the described power supply switch circuit, and the positive pole of main battery connects the drain electrode of the first transistor in the described power circuit, and the positive pole of secondary cell connects the drain electrode of transistor seconds, the source electrode of the first transistor and transistor seconds links to each other, and the grid of the first transistor and transistor seconds links to each other; When trigger switch was closed, the grid of the first transistor and transistor seconds was in low level.
In the embodiment of the invention, described the first transistor is N-type Metal-oxide-semicondutor NMOS pipe, and transistor seconds is P type Metal-oxide-semicondutor PMOS pipe.
Accordingly, the embodiment of the invention also discloses a kind of power-supply switching method, comprising: aforesaid power circuit, described method comprises: when equipment is powered by main battery, when the equipment of detecting meets first pre-conditionedly, then switch to secondary cell equipment is powered; When equipment is powered by secondary cell, when the equipment of detecting meets second pre-conditionedly, then switch to main battery equipment is powered.
In the embodiment of the invention, described first pre-conditioned comprise following each: main battery voltage is lower than that trigger switch is in closure state in preset value and the equipment in the equipment; Described second pre-conditioned comprise following each: main battery voltage is higher than that trigger switch is in opening in preset value and the equipment in the equipment.
In the embodiment of the invention, main battery is installed in the equipment, and trigger switch is in opening when being connected with trigger switch; When main battery and trigger switch disconnected, trigger switch was in closure state.
In the embodiment of the invention, during the equipment connection charging device, if powered by main battery, then be the main battery charging, switch to the secondary cell charging after charging is finished; If powered by secondary cell, then be the secondary cell charging, switch to main battery after charging is finished and continue charging, until main battery and secondary cell charging are finished.
Compare with background technology, the embodiment of the invention comprises following advantage:
At first, the described power circuit of the embodiment of the invention comprises battery switching circuit, main battery and secondary cell, can be powered by main battery by transistorized conducting and cut-off control, or be powered by secondary cell.Therefore, if in equipment, as using the described power circuit of the embodiment of the invention in the mobile phone, equipment is when being powered by main battery, need to change if detect main battery electric weight deficiency, then when changing main battery, can be powered by secondary cell, can keep the holding state of mobile phone.And, if main battery cuts off the power supply suddenly in the equipment, also can be powered by secondary cell, avoid because suddenly outage and the loss of data that may cause, or hardware damage.
Secondly, during the main battery power supply, can the voltage of main battery be detected, when battery electric quantity is not enough, by control signal, cut off the main battery power supply, powered by secondary cell.During the secondary cell power supply, be higher than preset value if detect main battery voltage, illustrate that battery electric quantity is sufficient, can be power devices, then can cut off the secondary cell power supply, powered by main battery.
Again, the embodiment of the invention has also disposed trigger switch, when main battery is powered, if closed trigger switch then can cut off the main battery power supply, is powered by secondary cell.During the secondary cell power supply, if open trigger switch, then can cut off the secondary cell power supply, be powered by main battery.If therefore main battery adopts the connected mode of shell fragment contact, then can in the battery case of main battery, trigger switch be set, switch open when main battery is installed in the battery case, when main battery accidental or loose contact, main battery is closed, this moment, secondary cell can be powered, and can prevent suddenly outage of battery and caused the problem of loss of data, hardware damage.
Description of drawings
Fig. 1 is the described circuit construction of electric power figure of the embodiment of the invention;
Fig. 2 is the described circuit construction of electric power figure of the optional embodiment of the present invention;
Fig. 3 is the first structure chart of the described the second power circuit of the optional embodiment of the present invention;
Fig. 4 is the second structure chart of the described the second power circuit of the optional embodiment of the present invention;
Fig. 5 is the third structure chart of the described the second power circuit of the optional embodiment of the present invention;
Fig. 6 is the described main battery of the optional embodiment of the present invention and trigger switch connection diagram.
Embodiment
For above-mentioned purpose, the feature and advantage that make the embodiment of the invention can become apparent more, below in conjunction with the drawings and specific embodiments the embodiment of the invention is described in further detail.
In order to make the user can use anywhere or anytime mobile phone, can be pluggable mode with the cell arrangement of mobile phone, when mobile phone electric weight deficiency or mobile phone do not have electricity, can take out the battery in the mobile phone, changing one has the battery of electricity to continue to use mobile phone.And before mobile phone is changed battery, for hardware, the software systems of protecting mobile phone are not damaged, usually need first mobile phone shutdown cutting off the power supply of mobile phone, and then change battery.
But, change the power supply that cuts off mobile phone before the battery, will be so that mobile phone can't be in holding state, during might miss important phone, use inconvenience very.
In addition, if the user does not notice that the electric weight of battery of mobile phone is not enough, mobile phone just may in use cut off the power supply suddenly, may cause the loss of data in the cell phone software system, also may cause the damage of hardware in the mobile phone.
The embodiment of the invention provides a kind of power circuit, comprise power supply switch circuit, main battery and secondary cell, can be powered by main battery, or be powered by secondary cell, therefore, if in equipment, as using the described power circuit of the embodiment of the invention in the mobile phone, equipment is powered by main battery usually, if main battery electric weight deficiency needs to change, then when changing main battery, can be powered by secondary cell, can keep holding state.And, if main battery cuts off the power supply suddenly in the equipment, also can be powered by secondary cell, avoid because suddenly outage and the loss of data that may cause, or hardware damage.
With reference to Fig. 1, provided the described circuit construction of electric power figure of the embodiment of the invention.
Described power circuit comprise power supply switch circuit D, main battery V1 and secondary cell V2.
Described power supply switch circuit D comprises: the first transistor D1 and transistor seconds D2.
Wherein, in the power supply branch road of main battery, main battery V1 connects the first transistor D1; In the power supply branch road of secondary cell, secondary cell V2 connects transistor seconds D2.
In the power supply branch road of main battery, during the first transistor D1 conducting, the power supply branch road conducting of main battery, V1 powers by main battery; During the first transistor D1 cut-off, the power supply branch road of main battery disconnects, main battery V1 outage.
In the power supply branch road of secondary cell, during transistor seconds D2 conducting, the power supply branch road conducting of secondary cell, V2 powers by secondary cell, and during transistor seconds D2 cut-off, the power supply branch road of secondary cell disconnects, secondary cell V2 outage.
Therefore, if during the first transistor D1 conducting, transistor seconds D2 cut-off then can be powered by main battery; If during the first transistor D1 cut-off, transistor seconds D2 conducting then can be powered by secondary cell.
In the embodiment of the invention, described the first transistor D1 and transistor seconds D2, can adopt MOS(Mental-Oxide-Semiconductor, Metal-oxide-semicondutor) transistor, described MOS transistor can be divided into P raceway groove and N raceway groove two classes, namely is divided into P type Metal-oxide-semicondutor PMOS pipe (PMOS transistor) and N-type Metal-oxide-semicondutor NMOS pipe (nmos pass transistor).
Wherein, described the first transistor D1 and transistor seconds D2 can be the PMOS transistors, or all are nmos pass transistors; Can also the first transistor D1 be the PMOS transistor, transistor seconds D2 be nmos pass transistor; Can the first transistor D1 be nmos pass transistor also, transistor seconds D2 be the PMOS transistor.
In sum, the described power circuit of the embodiment of the invention comprises battery switching circuit, main battery and secondary cell, can be powered by main battery by transistorized conducting and cut-off control, or be powered by secondary cell.Therefore, if in equipment, as using the described power circuit of the embodiment of the invention in the mobile phone, equipment is when being powered by main battery, need to change if detect main battery electric weight deficiency, then when changing main battery, can be powered by secondary cell, can keep the holding state of mobile phone.And, if main battery cuts off the power supply suddenly in the equipment, also can be powered by secondary cell, avoid because suddenly outage and the loss of data that may cause, or hardware damage.
With reference to Fig. 2, provided the described circuit construction of electric power figure of the optional embodiment of the present invention.
In the power circuit, the connected mode of described power supply switch circuit D, main battery V1 and secondary cell V2 can be as follows:
Optionally, the positive pole of main battery V1 connects the drain electrode of the first transistor D1, and the positive pole of secondary cell V2 connects the drain electrode of transistor seconds D2, and the first transistor D1 links to each other with the source electrode of transistor seconds D2, the negative pole of main battery V1 and secondary cell V2 is ground connection respectively, and Power is the supply power voltage signal.
Described power supply switch circuit D, when the first transistor D1 conducting and transistor seconds D2 cut-off, secondary cell V2 outage, V1 powers by main battery; When the first transistor D1 cut-off and transistor seconds D2 conducting, main battery V1 outage, V2 powers by secondary cell.
(1) of Fig. 2 is the first power circuit, and wherein the first transistor D1 and transistor seconds D2 are nmos pass transistor; (2) be the second power circuit, wherein the first transistor D1 is nmos pass transistor, and transistor seconds D2 is the PMOS transistor; (3) be the third power circuit, wherein the first transistor D1 and transistor seconds D2 are the PMOS transistor; (4) be the 4th kind of power circuit, wherein the first transistor D1 is the PMOS transistor, and transistor seconds D2 is nmos pass transistor.
Wherein, when the grid high level, the nmos pass transistor conducting, during the grid low level, the nmos pass transistor cut-off; When the grid low level, the PMOS transistor turns, during the grid high level, the cut-off of PMOS transistor.
The below is take the described the second power circuit of Fig. 2 (2) as example, and namely the first transistor D1 is nmos pass transistor, and transistor seconds D2 is the PMOS transistor, discusses the described power circuit of the embodiment of the invention.
With reference to Fig. 3, provided the first structure chart of the described the second power circuit of the optional embodiment of the present invention.
The positive pole of main battery V1 connects the drain electrode of the first transistor D1, the positive pole of secondary cell V2 connects the drain electrode of transistor seconds D2, the first transistor D1 links to each other with the source electrode of transistor seconds D2, and the first transistor D1 links to each other with the grid of transistor seconds D2, and the negative pole of main battery V1 and secondary cell V2 is ground connection respectively.Wherein, Power is the supply power voltage signal, V 0Grid voltage for the first transistor D1 and transistor seconds D2.
If power supply switch circuit D is V 0Be high level, namely the grid of the first transistor D1 and transistor seconds D2 is in high level, at this moment, the first transistor D1 conducting, and transistor seconds D2 cut-off, secondary cell V2 outage, V1 powers by main battery.
If V 0Be low level, namely the grid of the first transistor D1 and transistor seconds D2 is in low level, the first transistor D1 cut-off, and transistor seconds D2 conducting, and main battery V1 outage, V2 powers by secondary cell.
With reference to Fig. 4, provided the second structure chart of the described the second power circuit of the optional embodiment of the present invention.
The positive pole of main battery V1 connects the drain electrode of the first transistor D1, the positive pole of secondary cell V2 connects the drain electrode of transistor seconds D2, the first transistor D1 links to each other with the source electrode of transistor seconds D2, and the first transistor D1 links to each other with the grid of transistor seconds D2, and the negative pole of main battery V1 and secondary cell V2 is ground connection respectively.Wherein, Power is the supply power voltage signal, V 0Grid voltage for the first transistor D1 and transistor seconds D2.
Described power supply switch circuit D reception control signal Ctr, concrete, the grid of the first transistor D1 and transistor seconds D2 receives described control signal Ctr.In the actual treatment, described control signal Ctr also can be connected grid by resistance R and the first transistor D1 and be connected with transistor seconds D2.
The embodiment of the invention is during as the power supply of equipment, and described equipment can detect respectively the voltage of main battery V1 and secondary cell V2, again according to the voltage configuration control signal Ctr that detects.Concrete as:
When detecting main battery V1 voltage and be higher than preset value, configuration control signal Ctr is high level, and then the grid of the first transistor D1 and transistor seconds D2 is in high level, then the first transistor D1 conducting, and transistor seconds D2 cut-off, secondary cell V2 outage, V1 powers by main battery.
When detecting main battery V1 voltage and be lower than preset value, configuration control signal Ctr is low level, and then the grid of the first transistor D1 and transistor seconds D2 is in low level, then the first transistor D1 cut-off, and transistor seconds D2 conducting, main battery V1 outage, V2 powers by secondary cell.
Wherein, described equipment can be for needing the various device of power supply, such as electronic equipments such as mobile phone, panel computers.
Electric weight reaches certain value in the main battery in equipment, and when namely reporting to the police charge value, meeting prompting user main battery electric weight is not enough, needs charging.It is preset value that the embodiment of the invention disposes described warning charge value corresponding voltage, then when the voltage of main battery reaches preset value, can switch to the secondary cell power supply, prevents because main battery electric weight deficiency can't be worked equipment.
Simultaneously, also can detect the voltage of secondary cell, when the secondary cell electric weight is not enough, notify the user to charge.
With reference to Fig. 5, provided the third structure chart of the described the second power circuit of the optional embodiment of the present invention.
In the embodiment of the invention, power circuit comprises power supply switch circuit D, main battery V1, secondary cell V2 and trigger switch K.
The minus earth of main battery V1, the anodal drain electrode that connects the first transistor D1, the minus earth of secondary cell V2, the anodal drain electrode that connects transistor seconds D2, the first transistor D1 links to each other with the source electrode of transistor seconds D2, and the first transistor D1 links to each other with the grid of transistor seconds D2.
Described trigger switch K one end ground connection, the other end links to each other with the grid of transistor seconds D2 with the first transistor D1.
The grid reception control signal Ctr of described the first transistor D1 and transistor seconds D2, in the implementation, can adopt resistance R of configuration, an end of described resistance R connects the grid of the first transistor D1 and transistor seconds D2, other end connection control signal Ctr.
Wherein, Power is the supply power voltage signal, V 0Grid voltage for the first transistor D1 and transistor seconds D2.
Therefore, when trigger switch K was closed, no matter control signal Ctr was high level, or was low level, and the grid of the first transistor D1 and transistor seconds D2 all is in low level.At this moment, the first transistor D1 cut-off, and transistor seconds D2 conducting, main battery V1 outage, V2 powers by secondary cell.
Based on above-mentioned arbitrary described power circuit, the embodiment of the invention also provides a kind of power-supply switching method, comprising:
When equipment is powered by main battery V1, when the equipment of detecting meets first pre-conditionedly, then switch to secondary cell V2 equipment is powered; When equipment is powered by secondary cell V2, when the equipment of detecting meets second pre-conditionedly, then switch to main battery V1 equipment is powered.
Equipment (electronic equipments such as mobile phone, panel computer) is if adopt above-mentioned arbitrary described power circuit, then can dispose two batteries in this equipment, be respectively main battery V1 and secondary cell V2, main battery V1 is main power supply, and secondary cell V2 is auxiliary electric power supply.
When equipment was powered by main battery V1, in real time whether checkout equipment met first pre-conditionedly, if meet first pre-conditionedly, then switches to secondary cell V2 equipment is powered.
When equipment was powered by secondary cell V2, in real time whether checkout equipment met second pre-conditionedly, if meet second pre-conditionedly, then switches to main battery V1 equipment is powered.
Optionally, described first pre-conditioned comprise following each: main battery V1 voltage is lower than that trigger switch K is in closure state in preset value and the equipment in the equipment.
Main battery V1 voltage is lower than preset value in equipment, and namely the electric weight of main battery V1 is not enough in the equipment, when being lower than the warning charge value, can cut off the power supply of main battery V1 this moment, and be communicated with secondary cell V2 and power, simultaneously also can prompting user main battery V1 electric weight not enough, need charging.
A kind of connected mode of battery is to connect by connector (such as plug and socket) in the equipment, and battery can not be changed in this kind connected mode, the dismounting cell that namely user can not be at random.
Another kind of connected mode is by the shell fragment contact, user's battery in the exchange device more in this kind method of attachment.
If main battery V1 adopts the connected mode of shell fragment contact, then main battery V1 may accidental, and then causes in the equipment power supply to be stopped power supply, and causes software data to lose, even hardware damage.Can arrange a mechanical trigger switch K this moment in the battery case of main battery V1.When main battery V1 is installed in the battery case, main battery V1 compressing trigger switch K, so that trigger switch K is in opening, when main battery V1 took out, trigger switch K was with closure.
With reference to Fig. 6, the described main battery of the optional embodiment of the present invention and trigger switch connection diagram have been provided.
A is the schematic diagram that main battery is installed on battery case among Fig. 6, and wherein, VI is main battery, and K is trigger switch, and L is battery case.
B is the schematic diagram that main battery breaks away from battery case among Fig. 6, and wherein, VI is main battery, and K is trigger switch, and L is battery case.
And, in order further to prevent owing to main battery V1 separates the problem that causes with battery case L, described trigger switch K can be disposed at the shell fragment cell tube foot away from main battery V1, when getting main battery V1, the far-end of contact can take out first, and trigger switch K is closed in the time of so just can guaranteeing that the contact does not also disconnect.As shown in Figure 6.
Therefore, if when main battery V1 powered, trigger switch K was in closure state, then in the power circuit shown in Figure 5, the grid of the first transistor D1 and transistor seconds D2 all is in low level, the first transistor D1 cut-off, and transistor seconds D2 conducting is powered by secondary cell V2.
Optionally, described second pre-conditioned comprise following each: main battery V1 voltage is higher than that trigger switch K is in opening in preset value and the equipment in the equipment.
When equipment is powered by secondary cell V2, be higher than preset value if detect main battery V1 voltage, the electric weight that main battery V1 then is described is sufficient, therefore can adopt main battery V1 to power.
If configure trigger K switch in the battery case of main battery V1 in the equipment, then when main battery V1 separates with battery case, trigger switch K is in closure state, when equipment is powered by secondary cell V2, if this moment, main battery V1 reinstalled back in the battery case, then main battery V1 can oppress trigger switch K, makes trigger switch K be in opening, then the grid of the first transistor D1 and transistor seconds D2 all is in high level among Fig. 5, can be powered by main battery V1.
Optionally, during the equipment connection charging device, if powered by main battery V1, then be main battery V1 charging; If V2 powers by secondary cell, then be secondary cell V2 charging; After main battery V1 or secondary cell V2 charging are finished, switch to secondary cell V2 or main battery V1 and continue charging, until main battery V1 and secondary cell V2 charging are finished.
1, in main battery V1 when power supply, inserted charger to equipment charge:
1) charge for first main battery V1 by normal condition;
2) after main battery V1 charging is finished, if when detecting the electric weight of secondary cell V2 and being lower than preset value, it is low level that equipment sends control signal Ctr, switch to secondary cell V2 power supply, main battery V1 disconnects power supply, and the charge circuit in the equipment works on simultaneously, begins to charge to secondary cell V2;
3) after secondary cell V2 charging was complete, it was high level that equipment sends control signal Ctr, switched back main battery V1 power supply, and secondary cell V2 disconnects power supply, and whole device battery battery charger is finished.
2, insert charger during secondary cell V2 power supply state to equipment charge:
1) gives first secondary cell V2 charging by normal condition;
2) secondary cell V2 charging complete after, it is high level that equipment sends control signal Ctr, switch to the work of main battery V1 current supply circuit, secondary cell V2 current supply circuit disconnects, charge circuit works on simultaneously, begin the charging to main battery V1, after main battery V1 charging was finished, whole charging mobile phone battery work was finished.
Therefore, the embodiment of the invention is to process as follows in unit exception power down or replacing battery:
Main battery V1 is when normal power supply, if it is unusual that suddenly main battery V1 power supply occurs, such as the shell fragment loose contact, if main battery V1 comes off from battery case, when main battery V1 voltage detecting was lower than preset value to voltage, system will by above-mentioned method, automatically switch to secondary cell V2 current supply circuit, disconnect main battery V1 current supply circuit, normal to guarantee operating handset.
During main battery V1 normal operation, because the triggering K switch in the main battery V1 compressing battery case, trigger switch K is in opening, can be controlled by the control signal Ctr that equipment sends the switching of main battery V1 and secondary cell V2.
When main battery V1 takes out from battery case, because the screens effect of battery case itself, main battery V1 is first from the end elder generation releasing slots away from the contact, at this time, the trigger switch K that is in the battery below will be closed, therefore, the grid of the first transistor D1 and transistor seconds E2 pulls into low level, regardless of control signal Ctr, main battery V1 will disconnect, and secondary cell V2 will power.
In addition, if use the described power circuit of the embodiment of the invention in mobile phone, under normal circumstances, mobile phone is after trigger switch K closure or electric weight are lower than preset value by main battery V1 power supply in main battery V1 outage, adopts secondary cell V2 power supply.When changing main battery V1, secondary cell V2 powers to mobile phone, and mobile phone need not shutdown and restarts.
Therefore, after the employing embodiment of the invention is switched power supply by major and minor battery, just can be so that mobile phone be in line states always.If user mobile phone is being stolen, even main battery V1 is pulled out in the mobile phone, but secondary cell V2 still can power in mobile phone, makes mobile phone still in running order.Then by phone number, or antitheft software etc. just can be followed the trail of stolen mobile phone.
In sum, during the main battery power supply, can the voltage of main battery be detected, when battery electric quantity is not enough, by control signal, cut off the main battery power supply, powered by secondary cell.During the secondary cell power supply, be higher than preset value if detect main battery voltage, illustrate that battery electric quantity is sufficient, can be power devices, then can cut off the secondary cell power supply, powered by main battery.
Secondly, the embodiment of the invention has also disposed trigger switch, when main battery is powered, if closed trigger switch then can cut off the main battery power supply, is powered by secondary cell.During the secondary cell power supply, if open trigger switch, then can cut off the secondary cell power supply, be powered by main battery.If therefore main battery adopts the connected mode of shell fragment contact, then can in the battery case of main battery, trigger switch be set, switch open when main battery is installed in the battery case, when main battery accidental or loose contact, main battery is closed, this moment, secondary cell can be powered, and can prevent suddenly outage of battery and caused the problem of loss of data, hardware damage.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.
In this article, relational terms such as the first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint and have the relation of any this reality or sequentially between these entities or the operation.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby not only comprise those key elements so that comprise process, method, commodity or the equipment of a series of key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, commodity or equipment.Do not having in the situation of more restrictions, the key element that is limited by statement " comprising ... ", and be not precluded within process, method, commodity or the equipment that comprises described key element and also have other identical element.
More than a kind of power circuit and a kind of power-supply switching method that the embodiment of the invention is provided, be described in detail, used specific case herein principle and the execution mode of the embodiment of the invention are set forth, the explanation of above embodiment just is used for helping to understand method and the core concept thereof of the embodiment of the invention; Simultaneously, for one of ordinary skill in the art, the thought according to the embodiment of the invention all will change in specific embodiments and applications, and in sum, this description should not be construed as the restriction to the embodiment of the invention.

Claims (10)

1. a power circuit is characterized in that, comprising: power supply switch circuit, main battery and secondary cell, and wherein, described main battery and described secondary cell are used for providing electric weight;
Described power supply switch circuit comprises: the first transistor and transistor seconds;
Described the first transistor is connected with described main battery, described main battery power supply during conducting, described main battery outage during cut-off;
Described transistor seconds is connected with described secondary cell, described secondary cell power supply during conducting, described secondary cell outage during cut-off;
When the first transistor conducting and transistor seconds cut-off, the secondary cell outage is powered by main battery;
When the first transistor cut-off and transistor seconds conducting, the main battery outage is powered by secondary cell.
2. power circuit according to claim 1 is characterized in that:
The positive pole of described main battery connects the drain electrode of the first transistor, and the positive pole of secondary cell connects the drain electrode of transistor seconds, and the source electrode of the first transistor links to each other with the source electrode of transistor seconds.
3. power circuit according to claim 2 is characterized in that:
The positive pole of main battery connects the drain electrode of the first transistor, and the positive pole of secondary cell connects the drain electrode of transistor seconds, and the source electrode of the first transistor and transistor seconds links to each other, and the grid of the first transistor and transistor seconds links to each other; Wherein, when the grid of the first transistor and transistor seconds is in high level, the first transistor conducting and transistor seconds cut-off, the secondary cell outage is powered by main battery; When the grid of the first transistor and transistor seconds is in low level, the first transistor cut-off and transistor seconds conducting, the main battery outage is powered by secondary cell.
4. power circuit according to claim 3 is characterized in that, the grid reception control signal of the first transistor and transistor seconds in the described power supply switch circuit;
When detecting main battery voltage and be higher than preset value, configuration control signal is high level, and then the grid of the first transistor and transistor seconds is in high level;
When detecting main battery voltage and be lower than preset value, configuration control signal is low level, and then the grid of the first transistor and transistor seconds is in low level.
5. power circuit according to claim 3, it is characterized in that, also comprise: trigger switch, wherein, described trigger switch one end ground connection, the grid of the first transistor and transistor seconds links to each other in the other end and the described power supply switch circuit, the positive pole of main battery connects the drain electrode of the first transistor in the described power circuit, the positive pole of secondary cell connects the drain electrode of transistor seconds, and the source electrode of the first transistor and transistor seconds links to each other, and the grid of the first transistor and transistor seconds links to each other;
When trigger switch was closed, the grid of the first transistor and transistor seconds was in low level.
6. according to claim 3 to 5 arbitrary described power circuits, it is characterized in that described the first transistor is N-type Metal-oxide-semicondutor NMOS pipe, transistor seconds is P type Metal-oxide-semicondutor PMOS pipe.
7. a power-supply switching method is characterized in that, comprising: to the arbitrary described power circuit of claim 6, described method comprises such as claim 1:
When equipment is powered by main battery, when the equipment of detecting meets first pre-conditionedly, then switch to secondary cell equipment is powered;
When equipment is powered by secondary cell, when the equipment of detecting meets second pre-conditionedly, then switch to main battery equipment is powered.
8. method according to claim 7 is characterized in that:
Described first pre-conditioned comprise following each: main battery voltage is lower than that trigger switch is in closure state in preset value and the equipment in the equipment;
Described second pre-conditioned comprise following each: main battery voltage is higher than that trigger switch is in opening in preset value and the equipment in the equipment.
9. method according to claim 8 is characterized in that, main battery is installed in the equipment, and trigger switch is in opening when being connected with trigger switch; When main battery and trigger switch disconnected, trigger switch was in closure state.
10. 7 described methods as requested is characterized in that, during the equipment connection charging device, if powered by main battery, then are the main battery charging, switch to the secondary cell charging after charging is finished; If powered by secondary cell, then be the secondary cell charging, switch to main battery after charging is finished and continue charging, until main battery and secondary cell charging are finished.
CN2012103845833A 2012-10-11 2012-10-11 Power circuit and power switching method Pending CN102931720A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103845833A CN102931720A (en) 2012-10-11 2012-10-11 Power circuit and power switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103845833A CN102931720A (en) 2012-10-11 2012-10-11 Power circuit and power switching method

Publications (1)

Publication Number Publication Date
CN102931720A true CN102931720A (en) 2013-02-13

Family

ID=47646457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103845833A Pending CN102931720A (en) 2012-10-11 2012-10-11 Power circuit and power switching method

Country Status (1)

Country Link
CN (1) CN102931720A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871049A (en) * 2015-02-09 2016-08-17 精工半导体有限公司 Power supply switching circuit and semiconductor device
CN106797133A (en) * 2017-01-05 2017-05-31 深圳市大疆创新科技有限公司 Control method, control device and electronic installation
CN107508373A (en) * 2017-09-11 2017-12-22 深圳鼎智通讯股份有限公司 A kind of backup battery switching circuit for POS
CN108307152A (en) * 2018-01-09 2018-07-20 国网山东省电力公司滨州供电公司 A kind of Visualized meter reading device
CN108702007A (en) * 2017-02-16 2018-10-23 深圳市大疆灵眸科技有限公司 Method of supplying power to, for electric installation and electronic device
CN109428385A (en) * 2017-08-29 2019-03-05 中兴通讯股份有限公司 Power transfer system and method
CN110571917A (en) * 2019-09-30 2019-12-13 华勤通讯技术有限公司 Switching control circuit and electronic equipment
CN110718961A (en) * 2019-11-27 2020-01-21 成都天马微电子有限公司 Power supply circuit, control method thereof and display device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6396243B2 (en) * 2000-03-22 2002-05-28 International Business Machines Corporation Power unit and power source switching apparatus for a computer
CN1667910A (en) * 2004-03-08 2005-09-14 日本电气株式会社 Battery switching circuit for a portable communication device, battery switching method therefor, and battery switching program therefor
JP2007124725A (en) * 2005-10-24 2007-05-17 Toshiba Tec Corp Power unit equipped with backup power source by battery
CN101136558A (en) * 2006-09-02 2008-03-05 深圳迈瑞生物医疗电子股份有限公司 Power supply system and switch circuit, switch method of main power source and backup battery
CN101207300A (en) * 2006-12-21 2008-06-25 英业达股份有限公司 Power management system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6396243B2 (en) * 2000-03-22 2002-05-28 International Business Machines Corporation Power unit and power source switching apparatus for a computer
CN1667910A (en) * 2004-03-08 2005-09-14 日本电气株式会社 Battery switching circuit for a portable communication device, battery switching method therefor, and battery switching program therefor
JP2007124725A (en) * 2005-10-24 2007-05-17 Toshiba Tec Corp Power unit equipped with backup power source by battery
CN101136558A (en) * 2006-09-02 2008-03-05 深圳迈瑞生物医疗电子股份有限公司 Power supply system and switch circuit, switch method of main power source and backup battery
CN101207300A (en) * 2006-12-21 2008-06-25 英业达股份有限公司 Power management system

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871049A (en) * 2015-02-09 2016-08-17 精工半导体有限公司 Power supply switching circuit and semiconductor device
CN105871049B (en) * 2015-02-09 2020-09-08 艾普凌科有限公司 Power supply switching circuit and semiconductor device
WO2018126423A1 (en) * 2017-01-05 2018-07-12 深圳市大疆创新科技有限公司 Control method, control device, and electronic device
CN106797133A (en) * 2017-01-05 2017-05-31 深圳市大疆创新科技有限公司 Control method, control device and electronic installation
US11362531B2 (en) 2017-01-05 2022-06-14 SZ DJI Technology Co., Ltd. Audio adjustment method and electronic device thereof
CN108702007A (en) * 2017-02-16 2018-10-23 深圳市大疆灵眸科技有限公司 Method of supplying power to, for electric installation and electronic device
US11211806B2 (en) 2017-02-16 2021-12-28 Sz Dji Osmo Technology Co., Ltd. Power supply method, power supply device, and electronic device
CN109428385A (en) * 2017-08-29 2019-03-05 中兴通讯股份有限公司 Power transfer system and method
CN107508373A (en) * 2017-09-11 2017-12-22 深圳鼎智通讯股份有限公司 A kind of backup battery switching circuit for POS
CN108307152A (en) * 2018-01-09 2018-07-20 国网山东省电力公司滨州供电公司 A kind of Visualized meter reading device
CN110571917A (en) * 2019-09-30 2019-12-13 华勤通讯技术有限公司 Switching control circuit and electronic equipment
CN110718961A (en) * 2019-11-27 2020-01-21 成都天马微电子有限公司 Power supply circuit, control method thereof and display device
CN110718961B (en) * 2019-11-27 2021-11-02 成都天马微电子有限公司 Power supply circuit, control method thereof and display device

Similar Documents

Publication Publication Date Title
CN102931720A (en) Power circuit and power switching method
CN101459347B (en) Charger and method for controlling connection between the charger and external electric power source
CN104348233A (en) Battery protection circuit and system
CN102981425A (en) Startup and shutdown circuit
CN103762650B (en) A kind of single USB port stand-by power supply based on equilibrium charging technology
CN104850021B (en) A kind of power on/off system
CN101853970A (en) Method and device for charging through universal serial bus (USB) interface
KR20150054532A (en) Apparatus and method for managing battery pack
CN110226258A (en) Battery pack and electric system including the battery pack
CN103581371A (en) Mobile terminal and battery control method thereof
CN202978308U (en) Movable power supply device
CN104333051A (en) Mobile terminal and power supply method thereof
CN204390446U (en) Multifunctional lose-preventing portable power source and anti-lose system
CN204376434U (en) Battery protecting circuit
CN102270877A (en) Power supply system
CN104467104A (en) Vehicle-mounted USB intelligent charging device
CN104467167A (en) Power source path management circuit
CN105207279A (en) Charge and discharge circuit and mobile terminal
CN103513742A (en) Terminal device
CN216670679U (en) Reset circuit and electronic equipment
CN105429246A (en) Circuit and method for automatically disconnecting terminal after full charge
CN202172287U (en) Standby power source control circuit
CN202550660U (en) Mobile terminal device and power supply circuit thereof
CN201514967U (en) Battery connector and mobile terminal
CN205070394U (en) Electric automobile feed protection system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130213