CN106340948A - Three-power-supply automatic switching circuit - Google Patents
Three-power-supply automatic switching circuit Download PDFInfo
- Publication number
- CN106340948A CN106340948A CN201510872356.9A CN201510872356A CN106340948A CN 106340948 A CN106340948 A CN 106340948A CN 201510872356 A CN201510872356 A CN 201510872356A CN 106340948 A CN106340948 A CN 106340948A
- Authority
- CN
- China
- Prior art keywords
- power supply
- signal
- switching tube
- detection signal
- circuit
- 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.)
- Granted
Links
- 238000001514 detection method Methods 0.000 claims abstract description 127
- 238000000034 method Methods 0.000 claims abstract description 11
- 230000005611 electricity Effects 0.000 claims description 72
- 238000012360 testing method Methods 0.000 claims description 45
- HCUOEKSZWPGJIM-YBRHCDHNSA-N (e,2e)-2-hydroxyimino-6-methoxy-4-methyl-5-nitrohex-3-enamide Chemical compound COCC([N+]([O-])=O)\C(C)=C\C(=N/O)\C(N)=O HCUOEKSZWPGJIM-YBRHCDHNSA-N 0.000 claims description 12
- 101100162200 Aspergillus parasiticus (strain ATCC 56775 / NRRL 5862 / SRRC 143 / SU-1) aflD gene Proteins 0.000 claims description 12
- 238000007689 inspection Methods 0.000 claims description 12
- 238000012544 monitoring process Methods 0.000 claims description 8
- 238000001914 filtration Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J9/00—Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
- H02J9/04—Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
- H02J9/06—Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
- H02J9/061—Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems for DC powered loads
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J9/00—Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
- H02J9/04—Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
- H02J9/06—Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
- H02J9/068—Electronic means for switching from one power supply to another power supply, e.g. to avoid parallel connection
Landscapes
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Electronic Switches (AREA)
- Tests Of Electronic Circuits (AREA)
Abstract
The invention discloses a three-power-supply automatic switching circuit, which comprises a first detection circuit, a second detection circuit, a power supply first generation circuit and a selection logic circuit. The three-power-supply automatic switching circuit can perform automatic switching on three kinds of power supplies according to the power supply connecting situation of a system in a certain priority sequence. When the system is connected with the power supply with a high priority, the power supply is automatically switched to for supplying power. When only the power supply with a low priority has power, the power supply is automatically switched to for supplying power. The three-power-supply automatic switching circuit is simple in structure, realizes automatic switching power supply of the three kinds of power supplies, and makes the power supply methods of the system more flexible.
Description
Technical field
The present invention relates to power supply switching power supply technique field, more particularly, to a kind of three power supply automatic switchover circuits.
Background technology
Soc (system-on-a-chip, SOC(system on a chip)) chip is widely used in various intelligent terminal at present,
Such as mobile phone, panel computer, intelligent home device, in-vehicle navigation apparatus etc..For preventing power supply burst from falling
Electricity, a lot of intelligent terminal are powered using multiple power sources, such as by power supply adaptor, usb port, standby
Switch over power supply with battery.At present, mobile phone can be powered by handset battery, in usb port
After connecting external power source, also can switch to usb port and power it is achieved that the automatic switchover of two kinds of power supplys.
Under the requirement of increasingly miniaturization, these electric supply systems will be integrated in soc chip,
Although this increased the integrated level of soc chip, also increase design difficulty.Power supply adaptor, usb
Port, reserve battery, the state that these three power supplys have or not electricity has multiple combination, is ensureing system work not
Which under the conditions of affected, how to dispatch to be powered by power supply, how seamless automatically switch etc. is all
The problem that prior art needs to solve.
Content of the invention
The technical problem to be solved is to provide a kind of three power supply automatic switchover circuits, and it can achieve
The seamless automatic switchover of three kinds of power supplys is powered.
For solving the technical problem of the present invention, the present invention discloses a kind of three power supply automatic switchover circuits, including
First testing circuit, the second testing circuit, power supply first produce circuit and select logic circuit;
First testing circuit is used for whether detection the first power supply, second source and the 3rd power supply have electricity, generates
First detection signal inputs to power supply first and produces circuit and select logic circuit;Have in the only first power supply
When electric, first detection signal is ON signal, and otherwise first detection signal is OFF signal;
Second testing circuit is used for detecting whether second source and the 3rd power supply have electricity, generates the second detection letter
Number input to selecting logic circuit, when the 3rd power supply has electricity, the second detection signal is ON signal;?
Two power supplys have electricity, and when the 3rd power supply does not have electricity, the second detection signal is OFF signal;
Select logic circuit according to first detection signal and the second detection signal, generate second source and select letter
Number and the 3rd power supply selection signal, be sent to power supply first produce circuit;When first detection signal and second
When detection signal is OFF signal, described second source selection signal is ON signal, otherwise for OFF signal;
When described first detection signal is OFF signal and the second detection signal is ON signal, then the 3rd power supply selects
Signal is ON signal, otherwise for OFF signal;
Power supply first produces circuit according to described first detection signal, second source selection signal and the 3rd electricity
Source selection signal selects corresponding power supply to external system and to select logic circuit to supply as the first out-put supply
Electricity, and generate bias voltage power to the second testing circuit;When first detection signal ON signal, choosing
Select the first power supply;When second source selection signal is ON signal, select second source;When the 3rd power supply
When selection signal is ON signal, select the 3rd power supply.
Wherein, described three power supply automatic switchover circuits also include power supply second generation circuit, for receiving
State the second detection signal, according to the second detection signal for ON signal, select the 3rd power supply defeated as second
Go out power supply to itself and external sys-tems;According to the second detection signal for OFF signal, select the second electricity
Itself and external sys-tems are given as the second out-put supply in source.
Described power supply second produces circuit and is additionally operable to generate the first anti-phase letter anti-phase with the second detection signal
Number, it is sent to the second testing circuit;
Described second testing circuit receives described first inversion signal, strengthens the output knot of the second detection signal
Really.
Wherein, described three power supply automatic switchover circuits also include three testing circuit and power supply the 3rd produces electricity
Road;
Three testing circuit is powered by described bias voltage, for detecting whether are the first power supply and the 3rd power supply
There is electricity, generate the 3rd detection signal and input to the 3rd generation circuit;If the first power supply has electricity, the 3rd inspection
Survey signal is ON signal;If the only the 3rd power supply has electricity, the 3rd detection signal is OFF signal;
Power supply the 3rd produces circuit, according to the 3rd detection signal for ON signal, selects the first power supply to certainly
Body and external sys-tems;According to the 3rd detection signal for OFF signal, select the 3rd power supply to itself and
External sys-tems.
Wherein, described power supply the 3rd produce circuit be additionally operable to produce second anti-phase with the 3rd detection signal anti-
Phase signals, are sent to three testing circuit;
Described three testing circuit receives described second inversion signal, strengthens the output knot of the 3rd detection signal
Really.
Wherein, described first testing circuit includes nor gate nor1, not gate n1, not gate n2, not gate
N3, electric capacity c1 and lower trombone slide m1;
Nor gate nor1 powers lower work in the first power supply, will be defeated for the electric current of second source and the 3rd power supply
Enter as input signal, produce logic or non-signal l1;
Not gate n1, not gate n2, not gate n3 work under the power supply of described first out-put supply, logic
Or non-signal l1 produces first detection signal through not gate n1, not gate n2, not gate n3;Electric capacity c1
It is connected between nor gate nor1 outfan NAND gate n2 outfan, lower trombone slide m1 is connected to nor gate
Between nor1 outfan NAND gate n3 outfan, composition positive feedback filtering.
Wherein, described second testing circuit include mos pipe m2, mos pipe m3, mos pipe m4,
Switching tube k1, switching tube k2 and switching tube k3;
The source electrode of switching tube k1 and switching tube k3 connects second source, and the source electrode of switching tube k2 connects the
Three power supplys, switching tube k1 grid is connected with switching tube k2 grid and the drain electrode of itself, switching tube k3 grid
Pole connecting valve pipe k2 drains;Switching tube k3 drain electrode output the second detection signal, exports selection logic
Circuit;The grid of mos pipe m2, mos pipe m3 and mos pipe m4 connects power supply first and produces electricity
The bias voltage of road output;The drain electrode of mos pipe m2, mos pipe m3 and mos pipe m4 connects respectively
Connect the drain electrode of switching tube k1, switching tube k2 and switching tube k3;Mos pipe m2, mos pipe m3 and
The source ground of mos pipe m4.
Wherein, described selection logic circuit includes not gate n4, NAND gate nand1 and NAND gate nand2,
Powered by described first out-put supply;
Second detection signal is carried out anti-phase by not gate n4, exports NAND gate nand1;
The inversion signal of the second detection signal and first detection signal are carried out logical AND by NAND gate nand1
Export the 3rd power supply selection signal after non-process, be input to power supply first and produce circuit;
Second detection signal and first detection signal are carried out defeated after logical AND non-process by NAND gate nand2
Go out second source selection signal, be input to power supply first and produce circuit.
Wherein, described power supply first produce circuit include switching tube k4, switching tube k5, switching tube k6,
Resistance r1 and resistance r2;Switching tube k4 source electrode connects the first power supply, and switching tube k5 source electrode connects second
Power supply, switching tube k6 source electrode connects the 3rd power supply;Switching tube k4 grid connects first detection signal, opens
Close pipe k5 grid and connect second source selection signal, switching tube k6 grid connects the 3rd power supply selection signal;
The drain electrode of switching tube k4, switching tube k5 and switching tube k6 exports the first out-put supply s1, through resistance r1
Export bias voltage t1 afterwards;Resistance r2 one end connects resistance r1, and the other end is grounded.
Wherein, described power supply second produces circuit and includes not gate n6, not gate n7, switching tube k7 and open
Close pipe k8;
Second detection signal is carried out anti-phase, the conducting of controlling switch pipe k8 and cut-off by not gate n6, and defeated
Go out inversion signal to not gate n7;
The inversion signal of the second detection signal is carried out anti-phase, the conducting of controlling switch pipe k7 by not gate n7 again
And cut-off;
The source electrode of switching tube k7 connects the 3rd power supply, and the source electrode of switching tube k8 connects second source;Switch
The drain electrode of pipe k7 and switching tube k8 exports the second out-put supply.
Compared with prior art, the invention has the following beneficial effects: the present invention can be according to the power supply of system
Three kinds of power supplys, according to certain priority orders, are automatically switched by connection, when system connects
During the higher power supply of upper priority, automatically switch to this power supply and power.When the power supply of only low priority has
When electric, automatically switch to this power supply and power.Circuit structure of the present invention simple it is achieved that three kinds of power supplys from
Dynamic switching power supply, makes system power supply mode more flexible.
Brief description
Fig. 1 is three power supply automatic switchover circuit structure charts of the embodiment of the present invention;
Fig. 2 is the first testing circuit structure chart of the embodiment of the present invention;
Fig. 3 is the second testing circuit structure chart of the embodiment of the present invention;
Fig. 4 is the selection logic circuit structure figure of the embodiment of the present invention;
Fig. 5 is that the power supply first of the embodiment of the present invention produces circuit structure diagram;
Fig. 6 is the three power supply automatic switchover circuit structure charts of another embodiment of the present invention;
Fig. 7 is that the power supply second of another embodiment of the present invention produces circuit structure diagram;
Fig. 8 is the second testing circuit structure chart of another embodiment of the present invention;
Fig. 9 is the selection logic circuit structure figure of another embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawings and examples, the present invention is described in further detail.
As shown in figure 1, three power supply automatic switchover circuits of the embodiment of the present invention, including the first testing circuit,
Power supply first produces circuit, the second testing circuit and selects logic circuit.
Whether first testing circuit is used for detection the first power supply v1, second source v2 and the 3rd power supply v3
There is electricity, generate first detection signal z1 and input to power supply first generation circuit and select logic circuit;Only
When having the first power supply v1 to have electricity, first detection signal z1 is ON signal, otherwise first detection signal z1
For OFF signal.
Second testing circuit is used for detecting whether second source v2 and the 3rd power supply v3 has electricity, generates second
Detection signal z2 inputs to selection logic circuit, when the 3rd power supply v3 has electricity, the second detection signal z2
For ON signal;There is electricity in second source v2, when the 3rd power supply v3 does not have electricity, the second detection signal z2 is
OFF signal.
Select logic circuit according to first detection signal z1 and the second detection signal z2, generate second source
Selection signal z4 and the 3rd power supply selection signal z3, are sent to power supply first and produce circuit;When the first inspection
When survey signal z1 and the second detection signal z2 is OFF signal, described second source selection signal z4 is to open
Signal, otherwise for OFF signal;When described first detection signal z1 is OFF signal and the second detection signal z2
During for ON signal, then the 3rd power supply selection signal z3 is ON signal, otherwise for OFF signal.
Power supply first produce circuit according to described first detection signal z1, second source selection signal z4 and
3rd power supply selection signal z3 selects corresponding power supply as the first out-put supply s1 to external system and choosing
Select power logic circuitry, and generate bias voltage t1 and power to the second testing circuit;When the first detection letter
When number z1 is ON signal, select the first power supply v1;When second source selection signal z4 is ON signal,
Select second source;When the 3rd power supply selection signal z3 is ON signal, select the 3rd power supply.
In embodiments of the present invention, the first power supply v1 can be selected to be battery, second source v2 is usb
Power supply, the 3rd power supply v3 is power supply adaptor power supply.Power supply priority be from battery, usb power supply to
Power supply adaptor power supply incremented by successively.When power supply adaptor has electricity, no matter whether other two power supplys have
Electricity, is all switched to power supply adaptor and powers;When power supply adaptor does not have electricity, usb power supply has electricity, no matter
Whether battery has electricity, is all switched to usb power supply and powers;Only when power supply adaptor and usb power supply all do not have
Electricity, when only battery has electricity, is just switched to battery and powers.If three power supplys are all no electric, this circuit not work
Make.Certain, the first power supply v1, second source v2, the selection of the 3rd power supply v3 are also not limited to this,
Those skilled in the art can be selected according to actual demand, belongs to protection scope of the present invention.
Specifically, as shown in Fig. 2 the first testing circuit of the embodiment of the present invention include nor gate nor1,
Not gate n1, not gate n2, not gate n3, electric capacity c1 and lower trombone slide m1.
Nor gate nor1 powers lower work in the first power supply v1, by second source v2 and the 3rd power supply
The electric current input of v3, as input signal, produces logic or non-signal l1.
Not gate n1, not gate n2, not gate n3 are under the power supply s1 that power supply first produces circuit output powers
Work, logic or non-signal l1 produce first detection signal through not gate n1, not gate n2, not gate n3
z1.
Specifically, when the only first power supply v1 has electricity, first detection signal z1 is 0, as opens letter
Number;In other cases, first detection signal z1 is 1, as OFF signal.
Electric capacity c1 is connected between nor gate nor1 outfan NAND gate n2 outfan, lower trombone slide m1
It is connected between nor gate nor1 outfan NAND gate n3 outfan, composition positive feedback filtering, Ke Yijia
Fast l1 signal switching rate, prevents from producing M signal during conversion, causes indefinite state.
It is only the one of which specific implementation of described first testing circuit, described first inspection shown in Fig. 2
Slowdown monitoring circuit is not limited to this circuit structure shown in accompanying drawing 2, and other meet the circuit structure of said function,
Belong to the protection domain of the application.
Again as shown in figure 3, the second testing circuit of the embodiment of the present invention, including mos pipe m2, mos
Pipe m3, mos pipe m4, switching tube k1, switching tube k2 and switching tube k3.
The source electrode of switching tube k1 and switching tube k3 connects second source v2, and the source electrode of switching tube k2 is even
Connect the 3rd power supply v3, the drain electrode three of switching tube k1 grid and switching tube k2 grid and switching tube k1 itself
End connects, and switching tube k3 grid connecting valve pipe k2 drains;Switching tube k3 drain electrode output the second detection
Signal z2, is input to selection logic circuit;When the 3rd power supply v3 has electricity, the second detection signal z2 is 0,
It is ON signal;There is electricity in second source v2, when the 3rd power supply v3 does not have electricity, the second detection signal z2
For 1, as OFF signal;In addition, when second source v2 and the 3rd power supply v3 does not have electricity, the second inspection
Surveying signal z2 output is also 0.
The grid of mos pipe m2, mos pipe m3 and mos pipe m4 connects power supply first and produces circuit
The bias voltage t1 of output;The drain electrode of mos pipe m2, mos pipe m3 and mos pipe m4 connects respectively
Connect the drain electrode of switching tube k1, switching tube k2 and switching tube k3;Mos pipe m2, mos pipe m3 and
The source ground of mos pipe m4.
Specifically, the working condition of this circuit includes as shown in table 1 below 3 kind situation, wherein, switch
Pipe k1, switching tube k2 and switching tube k3 are low level conducting type switching tube.
Table 1:
Second source v2 | 3rd power supply v3 | Second detection signal z2 | First out-put supply s1 |
No electricity | There is electricity | 0 | 3rd power supply v3 |
There is electricity | No electricity | 1 | Second source v2 |
There is electricity | There is electricity | 0 | 3rd power supply v3 |
When second source v2 does not have electricity, and the 3rd power supply v3 has electricity, the second detection signal z2 is output as 0,
It is ON signal, make the first out-put supply s1 that power supply first produces circuit output be the 3rd power supply v3;
When second source v2 has electricity, and the 3rd power supply v3 does not have electricity, switching tube k3 grid is low level, therefore,
Switching tube k3 turns on, and the second detection signal z2 is output as 1, and as OFF signal makes power supply first produce
The power supply s1 of circuit output is second source v2;When second source v2 and the 3rd power supply v3 has electricity,
Switching tube k1 and switching tube k2 conducting, switching tube k2 exports high level, and therefore, switching tube k3 ends,
Second detection signal z2 is output as 0, as ON signal, makes power supply first produce the power supply s1 of circuit output
For the 3rd power supply v3;In addition, when second source v2 and the 3rd power supply v3 does not have electricity, the second detection letter
Number z2 output is also 0.
It is only the one of which specific implementation of described second testing circuit, described second inspection shown in Fig. 3
Slowdown monitoring circuit is not limited to this circuit structure shown in accompanying drawing 3, and other meet the circuit structure of said function,
Belong to the protection domain of the application.
As shown in figure 4, described in the embodiment of the present invention select logic circuit one kind be embodied as circuit,
Including not gate n4, NAND gate nand1 and NAND gate nand2, powered by the first out-put supply s1.
Second detection signal z2 is carried out anti-phase by not gate n4, exports NAND gate nand1.
The inversion signal of the second detection signal z2 and first detection signal z1 are carried out by NAND gate nand1
The 3rd power supply selection signal z3 is exported, as the power switch letter controlling the 3rd power supply after logical AND non-process
Number, export power supply first and produce circuit.Second detection signal z2 and first is examined by NAND gate nand2
Survey after signal z1 carries out logical AND non-process and export second source selection signal z4, as control second electricity
The power switch signal in source, exports power supply first and produces circuit.
Specifically, the work-based logic of this circuit includes following three kinds of situations, as shown in table 2 below.
Table 2:
When first detection signal z1 is 0, and the second detection signal z2 is 0, the 3rd power supply selection signal
Z3 and second source selection signal z4 are all 1, represent and only have the first power supply v1 to have electricity, second source v2
All no electric with the 3rd power supply v3, so that second source v2 and the power switch of the 3rd power supply v3 is turned off.
When first detection signal z1 is 1, and the second detection signal z2 is 0, the 3rd power supply selection signal
Z3 is 0, and second source selection signal z4 is 1, represents that the 3rd power supply v3 has electricity, makes the 3rd power supply v3
Power switch conducting, second source v2 power switch cut-off.
When first detection signal z1 is 1, and the second detection signal z2 is also 1, the 3rd power supply selects letter
Number z3 is 1, and second source selection signal z4 is 0, represents that the 3rd power supply v3 does not have electricity, second source
V2 has electricity, so that the power switch of the 3rd power supply v3 is ended, the power switch cut-off of second source v2.
It is only the described one of which specific implementation selecting logic circuit, described selection is patrolled shown in Fig. 4
Collect circuit and be not limited to this circuit structure shown in accompanying drawing 4, other meet the circuit structure of said function,
Belong to the protection domain of the application.
As shown in figure 5, the power supply first of the embodiment of the present invention produces circuit, including switching tube k4, switch
Pipe k5, switching tube k6, resistance r1 and resistance r2;Switching tube k4 source electrode connects the first power supply v1,
Switching tube k5 source electrode connects second source v2, and switching tube k6 source electrode connects the 3rd power supply v3;Switching tube
K4 grid connects the first logical signal z1, and switching tube k5 grid connects the 4th logical signal z4, switch
Pipe k6 grid connects the 3rd logical signal z3;The drain electrode of switching tube k4, switching tube k5 and switching tube k6
First out-put supply s1 of output, then export bias voltage t1 after resistance r1;Resistance r2 one end is even
Connecting resistance r1, the other end is grounded.
Specifically, switching tube k4, switching tube k5 and switching tube k6 are low level conducting type switching tubes.
When first detection signal z1 is 0, switching tube k4 turns on, and exports the first power supply v1, to external system
With select power logic circuitry, and export after resistance r1 bias voltage t1 give second testing circuit confession
Electricity;When second source selection signal z4 is 0, switching tube k5 turns on, and exports second source v2, gives
External system and selection power logic circuitry, and export bias voltage t1 after resistance r1 to the second inspection
Slowdown monitoring circuit is powered;When the 3rd power supply selection signal z3 is 0, switching tube k6 turns on, output the 3rd electricity
Source v3, to external system and selection power logic circuitry, and exports bias voltage t1 after resistance r1
Power to the second testing circuit.
It is only the one of which specific implementation that described power supply first produces circuit, described electricity shown in Fig. 5
Source first produces circuit and is not limited to this circuit structure shown in accompanying drawing 5, and other meet the electricity of said function
Line structure, belongs to the protection domain of the application.
In sum, three power supply automatic switchover circuits of the embodiment of the present invention can connect according to the power supply of system
Situation, is automatically switched.When system connects upper power supply adaptor, just powered using power supply adaptor;
When system is not connected with power supply adaptor, when usb power supply is connected to by usb interface, switch to usb
Power supply is powered;If system had not only shown connection power supply adaptor but also had been not connected with usb power supply, only reserve battery has
When electric, switch to battery and power.And, circuit structure is simple, reliability is high.
As shown in fig. 6, three power supply automatic switchover circuits of another embodiment of the present invention, in above-described embodiment
On the basis of also include that power supply second produces circuit, three testing circuit and power supply the 3rd produce circuit, from
And more power supplys can be exported, to external sys-tems.
Wherein, power supply second produces circuit, for receiving the second detection signal z2, according to for ON signal
Second detection signal z2, selects the 3rd power supply v3 as the second out-put supply s2 to itself and external system
Power supply;According to the second detection signal z2 for OFF signal, select second source v2 as the second output electricity
Source s2 gives itself and external sys-tems.In addition, power supply second produces power supply also generating and the second detection letter
Number the first anti-phase inversion signal z2b, is sent to the second testing circuit.Second testing circuit passes through first
Inversion signal z2b strengthens the output result of the second detection signal z2, makes signal more stable.
In addition, three testing circuit is powered by bias voltage t1, for detecting the first power supply v1 and the 3rd
Whether power supply v3 has electricity, generates the 3rd detection signal z5 and inputs to the 3rd generation circuit;If the first power supply
V1 has electricity, then the 3rd detection signal z5 is ON signal;If the only the 3rd power supply v3 has electricity, the 3rd inspection
Survey signal z5 is OFF signal.
Power supply the 3rd produces circuit, according to the 3rd detection signal z5 for ON signal, selects the first power supply
V1 gives itself and external sys-tems;According to the 3rd detection signal z5 for OFF signal, select the 3rd power supply
V3 gives itself and external sys-tems.In addition, power supply the 3rd produces circuit also producing and the 3rd detection signal
The second anti-phase inversion signal z5b of z5, is sent to three testing circuit.Herein, the first power supply v1
Priority be higher than the 3rd power supply v3.Three testing circuit passes through the second inversion signal z5b and strengthens the 3rd
The output result of detection signal z5, makes signal more stable.
As shown in fig. 7, the power supply second of the present embodiment produces circuit and including not gate n6, not gate n7, opening
Close pipe k7 and switching tube k8.Wherein, switching tube k7 and switching tube k8 is low level conducting type switching tube.
Second detection signal z2 is carried out anti-phase, by this first inversion signal z2b control by not gate n6
The conducting of switching tube k8 and cut-off, and export the first inversion signal z2b to not gate n7.Meanwhile, first
Inversion signal z2b also exports the second testing circuit, controls first detection signal z1 output result to strengthen.
The inversion signal of the second detection signal z2 is carried out anti-phase, with controlling switch pipe k7 by not gate n7 again
Conducting and cut-off.The source electrode of switching tube k7 connects the 3rd power supply, and the source electrode of switching tube k8 connects second
Power supply;The drain electrode of switching tube k7 and switching tube k8 exports the second out-put supply s2.
Specifically, when the second detection signal z2 is 0, switching tube k7 turns on, and switching tube k8 ends,
Second out-put supply s2 is the 3rd power supply v3;When the second detection signal z2 is 1, switching tube k7 cuts
Only, switching tube k8 turns on, and the second out-put supply s2 is second source v2.
It is only the one of which specific implementation that described power supply second produces circuit, described electricity shown in Fig. 7
Source second produces circuit and is not limited to this circuit structure shown in accompanying drawing 7, and other meet the electricity of said function
Line structure, belongs to the protection domain of the application.
In addition, the power supply the 3rd of the present embodiment produces circuit structure and operation principle and the above-mentioned power supply of circuit
Second produces the identical of circuit, and simply, two switching tubes that power supply the 3rd produces circuit connect first respectively
Power supply v1 and the 3rd power supply v3.
Again as shown in figure 8, second testing circuit of the present embodiment, on the basis of above-described embodiment, also wraps
Include mos pipe m5 and mos pipe m6.The drain electrode of the source electrode connecting valve pipe k1 of mos pipe m5,
The drain electrode of mos pipe m5 connects the source electrode of mos pipe m6, and grid is managed with mos pipe m2, mos
The grid of m3 with mos pipe m4 is connected, and is biased that voltage t1 powers.The drain electrode of mos pipe m6 connects
Ground, grid is controlled by the first inversion signal z2b.
In addition, the circuit structure of three testing circuit of the present embodiment and operation principle, with the above-mentioned second inspection
Slowdown monitoring circuit is identical, and simply two switching tubes connect the first power supply v1 and the 3rd power supply v3 respectively.
Again as shown in figure 9, the selection logic circuit of the present embodiment is according to first detection signal z1 and first
The logical combination of inversion signal z2b, produces the 3rd power supply selection signal z3 and second source selection signal
z4.Specifically, circuit structure is to increased not gate n5 on the basis of above-described embodiment, for by first
Inversion signal z2b carry out anti-phase, then will be anti-phase after signal output to not gate n4 and NAND gate nand2.
Operation principle is same as the previously described embodiments, here is omitted.
In sum, present embodiments provide three road out-put supplies, facilitate external system to select power supply, with
When, enhance circuit reliability.
One of ordinary skill in the art will appreciate that realizing all or part stream in above-described embodiment method
Journey, can be by computer program to complete come the hardware to instruct correlation, described program can be stored in
In one computer read/write memory medium, this program is upon execution, it may include as the enforcement of above-mentioned each method
The flow process of example.Wherein, described storage medium can be magnetic disc, CD, read-only memory (read-only
Memory, rom) or random access memory (random access memory, ram) etc..
The object, technical solutions and advantages of the present invention have been carried out detailed further by above act preferred embodiment
Describe in detail bright, be should be understood that and the foregoing is only presently preferred embodiments of the present invention, not in order to
Limit the present invention, all any modifications within the spirit and principles in the present invention, made, equivalent,
Improve etc., should be included within the scope of the present invention, the interest field that the present invention is advocated should be with
It is defined described in patent application scope, rather than be only limitted to above-described embodiment.
Claims (10)
1. a kind of three power supply automatic switchover circuits are it is characterised in that include the first testing circuit, the second inspection
Slowdown monitoring circuit, power supply first produce circuit and select logic circuit;
First testing circuit is used for whether detection the first power supply, second source and the 3rd power supply have electricity, generates
First detection signal inputs to power supply first and produces circuit and select logic circuit;Have in the only first power supply
When electric, first detection signal is ON signal, and otherwise first detection signal is OFF signal;
Second testing circuit is used for detecting whether second source and the 3rd power supply have electricity, generates the second detection letter
Number input to selecting logic circuit, when the 3rd power supply has electricity, the second detection signal is ON signal;?
Two power supplys have electricity, and when the 3rd power supply does not have electricity, the second detection signal is OFF signal;
Select logic circuit according to first detection signal and the second detection signal, generate second source and select letter
Number and the 3rd power supply selection signal, be sent to power supply first produce circuit;When first detection signal and second
When detection signal is OFF signal, described second source selection signal is ON signal, otherwise for OFF signal;
When described first detection signal is OFF signal and the second detection signal is ON signal, then the 3rd power supply selects
Signal is ON signal, otherwise for OFF signal;
Power supply first produces circuit according to described first detection signal, second source selection signal and the 3rd electricity
Source selection signal selects corresponding power supply to external system and to select logic circuit to supply as the first out-put supply
Electricity, and generate bias voltage power to the second testing circuit;When first detection signal ON signal, choosing
Select the first power supply;When second source selection signal is ON signal, select second source;When the 3rd power supply
When selection signal is ON signal, select the 3rd power supply.
2. three power supply automatic switchover circuits as claimed in claim 1 are it is characterised in that also include power supply
Second generation circuit, for receiving described second detection signal, according to the second detection signal for ON signal,
Select the 3rd power supply as the second out-put supply to itself and external sys-tems;According to for the of OFF signal
Two detection signals, select second source as the second out-put supply to itself and external sys-tems.
3. three power supply automatic switchover circuits as claimed in claim 2 are it is characterised in that described power supply
Two generation circuit are additionally operable to generate first inversion signal anti-phase with the second detection signal, are sent to the second inspection
Slowdown monitoring circuit;
Described second testing circuit receives described first inversion signal, strengthens the output knot of the second detection signal
Really.
4. three power supply automatic switchover circuits as claimed in claim 1 are it is characterised in that also include the 3rd
Testing circuit and power supply the 3rd produce circuit;
Three testing circuit is powered by described bias voltage, for detecting whether are the first power supply and the 3rd power supply
There is electricity, generate the 3rd detection signal and input to the 3rd generation circuit;If the first power supply has electricity, the 3rd inspection
Survey signal is ON signal;If the only the 3rd power supply has electricity, the 3rd detection signal is OFF signal;
Power supply the 3rd produces circuit, according to the 3rd detection signal for ON signal, selects the first power supply to certainly
Body and external sys-tems;According to the 3rd detection signal for OFF signal, select the 3rd power supply to itself and
External sys-tems.
5. three power supply automatic switchover circuits as claimed in claim 4 are it is characterised in that described power supply
Three generation circuit are additionally operable to produce second inversion signal anti-phase with the 3rd detection signal, are sent to the 3rd inspection
Slowdown monitoring circuit;
Described three testing circuit receives described second inversion signal, strengthens the output knot of the 3rd detection signal
Really.
6. three power supply automatic switchover circuits as described in claim 1 or 2 or 4 are it is characterised in that institute
State the first testing circuit and include nor gate nor1, not gate n1, not gate n2, not gate n3, electric capacity c1
With lower trombone slide m1;
Nor gate nor1 powers lower work in the first power supply, will be defeated for the electric current of second source and the 3rd power supply
Enter as input signal, produce logic or non-signal l1;
Not gate n1, not gate n2, not gate n3 work under the power supply of described first out-put supply, logic
Or non-signal l1 produces first detection signal through not gate n1, not gate n2, not gate n3;Electric capacity c1
It is connected between nor gate nor1 outfan NAND gate n2 outfan, lower trombone slide m1 is connected to nor gate
Between nor1 outfan NAND gate n3 outfan, composition positive feedback filtering.
7. three power supply automatic switchover circuits as claimed in claim 6 are it is characterised in that described second examines
Slowdown monitoring circuit includes mos pipe m2, mos pipe m3, mos pipe m4, switching tube k1, switching tube k2
With switching tube k3;
The source electrode of switching tube k1 and switching tube k3 connects second source, and the source electrode of switching tube k2 connects the
Three power supplys, switching tube k1 grid is connected with switching tube k2 grid and the drain electrode of itself, switching tube k3 grid
Pole connecting valve pipe k2 drains;Switching tube k3 drain electrode output the second detection signal, exports selection logic
Circuit;The grid of mos pipe m2, mos pipe m3 and mos pipe m4 connects power supply first and produces electricity
The bias voltage of road output;The drain electrode of mos pipe m2, mos pipe m3 and mos pipe m4 connects respectively
Connect the drain electrode of switching tube k1, switching tube k2 and switching tube k3;Mos pipe m2, mos pipe m3 and
The source ground of mos pipe m4.
8. three power supply automatic switchover circuits as claimed in claim 7 are it is characterised in that described selection is patrolled
Collect circuit and include not gate n4, NAND gate nand1 and NAND gate nand2, by the described first output electricity
Source powers;
Second detection signal is carried out anti-phase by not gate n4, exports NAND gate nand1;
The inversion signal of the second detection signal and first detection signal are carried out logical AND by NAND gate nand1
Export the 3rd power supply selection signal after non-process, be input to power supply first and produce circuit;
Second detection signal and first detection signal are carried out defeated after logical AND non-process by NAND gate nand2
Go out second source selection signal, be input to power supply first and produce circuit.
9. three power supply automatic switchover circuits as claimed in claim 8 are it is characterised in that described power supply
One generation circuit includes switching tube k4, switching tube k5, switching tube k6, resistance r1 and resistance r2;Open
Close pipe k4 source electrode and connect the first power supply, switching tube k5 source electrode connects second source, switching tube k6 source electrode
Connect the 3rd power supply;Switching tube k4 grid connects first detection signal, and switching tube k5 grid connects second
Power supply selection signal, switching tube k6 grid connects the 3rd power supply selection signal;Switching tube k4, switching tube
The drain electrode of k5 and switching tube k6 exports the first out-put supply s1, exports bias voltage t1 after resistance r1;
Resistance r2 one end connects resistance r1, and the other end is grounded.
10. three power supply automatic switchover circuits as claimed in claim 7 are it is characterised in that described power supply
Second generation circuit includes not gate n6, not gate n7, switching tube k7 and switching tube k8;
Second detection signal is carried out anti-phase, the conducting of controlling switch pipe k8 and cut-off by not gate n6, and defeated
Go out inversion signal to not gate n7;
The inversion signal of the second detection signal is carried out anti-phase, the conducting of controlling switch pipe k7 by not gate n7 again
And cut-off;
The source electrode of switching tube k7 connects the 3rd power supply, and the source electrode of switching tube k8 connects second source;Switch
The drain electrode of pipe k7 and switching tube k8 exports the second out-put supply.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510872356.9A CN106340948B (en) | 2015-12-01 | 2015-12-01 | A kind of three power supply automatic switchover circuits |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510872356.9A CN106340948B (en) | 2015-12-01 | 2015-12-01 | A kind of three power supply automatic switchover circuits |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106340948A true CN106340948A (en) | 2017-01-18 |
CN106340948B CN106340948B (en) | 2018-11-20 |
Family
ID=57826239
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510872356.9A Active CN106340948B (en) | 2015-12-01 | 2015-12-01 | A kind of three power supply automatic switchover circuits |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106340948B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109638956A (en) * | 2018-12-28 | 2019-04-16 | 南京奥视威电子科技股份有限公司 | Power supply switch circuit |
CN112542829A (en) * | 2020-11-16 | 2021-03-23 | 科大讯飞股份有限公司 | Multi-path power supply management method and multi-path power supply device applied to electronic equipment |
CN115833363A (en) * | 2023-02-14 | 2023-03-21 | 长沙巨翊医疗科技有限公司 | Automatic switching method and system for multiple power supply modes |
CN116937775A (en) * | 2023-06-30 | 2023-10-24 | 辰芯半导体(深圳)有限公司 | Multi-power supply selection circuit and charging equipment |
US11810541B2 (en) | 2019-12-27 | 2023-11-07 | Roland Corporation | Electronic musical instrument, power control device for electronic musical instrument, and power control method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203522318U (en) * | 2013-10-22 | 2014-04-02 | Tcl通力电子(惠州)有限公司 | Three-power-supply switching circuit and consumer electronic equipment |
CN104348252A (en) * | 2013-08-05 | 2015-02-11 | 北京精密机电控制设备研究所 | Three-power-supply redundancy power supplying device and portable device |
CN104377812A (en) * | 2014-11-28 | 2015-02-25 | 青岛歌尔声学科技有限公司 | Switching circuit for multiple input power sources |
-
2015
- 2015-12-01 CN CN201510872356.9A patent/CN106340948B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104348252A (en) * | 2013-08-05 | 2015-02-11 | 北京精密机电控制设备研究所 | Three-power-supply redundancy power supplying device and portable device |
CN203522318U (en) * | 2013-10-22 | 2014-04-02 | Tcl通力电子(惠州)有限公司 | Three-power-supply switching circuit and consumer electronic equipment |
CN104377812A (en) * | 2014-11-28 | 2015-02-25 | 青岛歌尔声学科技有限公司 | Switching circuit for multiple input power sources |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109638956A (en) * | 2018-12-28 | 2019-04-16 | 南京奥视威电子科技股份有限公司 | Power supply switch circuit |
CN109638956B (en) * | 2018-12-28 | 2024-02-23 | 南京奥视威电子科技股份有限公司 | Power supply switching circuit |
US11810541B2 (en) | 2019-12-27 | 2023-11-07 | Roland Corporation | Electronic musical instrument, power control device for electronic musical instrument, and power control method |
CN112542829A (en) * | 2020-11-16 | 2021-03-23 | 科大讯飞股份有限公司 | Multi-path power supply management method and multi-path power supply device applied to electronic equipment |
CN115833363A (en) * | 2023-02-14 | 2023-03-21 | 长沙巨翊医疗科技有限公司 | Automatic switching method and system for multiple power supply modes |
CN115833363B (en) * | 2023-02-14 | 2023-05-16 | 长沙巨翊医疗科技有限公司 | Automatic switching method and system for multiple power supply modes |
CN116937775A (en) * | 2023-06-30 | 2023-10-24 | 辰芯半导体(深圳)有限公司 | Multi-power supply selection circuit and charging equipment |
CN116937775B (en) * | 2023-06-30 | 2024-06-14 | 辰芯半导体(深圳)有限公司 | Multi-power supply selection circuit and charging equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106340948B (en) | 2018-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106340948A (en) | Three-power-supply automatic switching circuit | |
CN103219770B (en) | Mobile terminal with multi-port charging control function | |
CN106026247A (en) | Charging equipment and charging method thereof | |
CN102130492A (en) | Power selection apparatus and method | |
CN204068306U (en) | A kind of charging system of electronic product | |
US20200068691A1 (en) | Discharge method and circuit for usb connector | |
CN104065125A (en) | A charging system for electronic products | |
WO2016127605A1 (en) | Power supply method and apparatus, and terminal | |
CN103560550A (en) | Device capable of simultaneously conducting power supplying and charging on mobile electronic device | |
CN109413532A (en) | A kind of charging bluetooth earphone circuit and bluetooth headset | |
CN109831020A (en) | A kind of ultra-low loss two-way power supply switching anti-back flow circuit | |
CN107396273A (en) | A kind of detection circuit and its detection method and device for broadcasting audio amplifier | |
WO2024087418A1 (en) | Multi-voltage independent output circuit of single-inductor transformer and related product | |
CN104767518A (en) | Substrate switching circuit based on CMOS | |
CN107843806A (en) | A kind of Wiring detection method, device and photovoltaic generating system | |
CN112798947A (en) | Electric vehicle fast charging relay detection circuit, detection method and detection electronic equipment | |
CN102360065B (en) | Battery detection method and device | |
CN209375240U (en) | A kind of ultra-low loss two-way power supply switching anti-back flow circuit | |
CN103472407A (en) | Dual-power state detection circuit, power supply system and dual-power state detection method | |
CN202455057U (en) | Power supply protecting circuit | |
CN106249833A (en) | The method of supplying power to of terminal unit and terminal unit | |
CN104422867B (en) | A kind of chip device and its method of testing | |
CN203537553U (en) | An Interface circuit realizing serial port and infrared multiplex functions | |
CN204069293U (en) | Bluetooth circuit and comprise the blue-tooth device of this Bluetooth circuit | |
CN207706169U (en) | A kind of antenna tuner detection electrifying device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 518000 Guangdong, Nanshan District high tech Zone, Shenzhen Software Park Phase 1, building 4, room, building 4, 406-421 Applicant after: Shenzhen Shenyang electronic Limited by Share Ltd Address before: 518000 Guangdong, Nanshan District high tech Zone, Shenzhen Software Park Phase 1, building 4, room, building 4, 406-421 Applicant before: Aike Chuangxin Microelectronic Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |