CN106340948B - A kind of three power supply automatic switchover circuits - Google Patents
A kind of three power supply automatic switchover circuits Download PDFInfo
- Publication number
- CN106340948B CN106340948B CN201510872356.9A CN201510872356A CN106340948B CN 106340948 B CN106340948 B CN 106340948B CN 201510872356 A CN201510872356 A CN 201510872356A CN 106340948 B CN106340948 B CN 106340948B
- Authority
- CN
- China
- Prior art keywords
- power supply
- signal
- switching tube
- detection
- 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.)
- Active
Links
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
It includes the first detection circuit, the second detection circuit, the first generation circuit of power supply and selection logic circuit that the present invention, which discloses three power supply automatic switchover circuits of one kind,.The present invention can automatically switch three kinds of power supplys according to certain priority orders according to the power supply connection of system, when the higher power supply of the upper priority of system connection, automatically switch to the power supply power supply.When the power supply of only low priority has electricity, the power supply power supply is automatically switched to.Circuit structure of the present invention is simple, realizes the automatic switchover power supply of three kinds of power supplys, keeps system power supply mode more flexible.
Description
Technical field
The present invention relates to power supplys to switch power supply technique field, more particularly to a kind of three power supply automatic switchover circuits.
Background technique
SoC (System-on-a-Chip, system on chip) chip is widely used in various intelligent terminals, such as hand at present
Machine, tablet computer, smart home device, in-vehicle navigation apparatus etc..To prevent power supply burst power down, many intelligent terminals are all used
Multiple power sources power supply, such as switches over power supply by power supply adaptor, USB port, reserve battery.Currently, mobile phone can pass through
The power supply of handset battery also can switch to USB port power supply, realize two kinds of power supplys after USB port connects external power supply
Automatic switchover.
Under the requirement increasingly minimized, these electric supply systems will be integrated into SoC chip, although this increases
The integrated level of SoC chip, but also increase design difficulty.Power supply adaptor, USB port, reserve battery, these three power supplys
Whether there is or not the states of electricity there are many combining, and under conditions of guaranteeing that system work is unaffected, how to dispatch by which power supply and supplies
Electricity, how it is seamless automatically switch etc. be all prior art problem to be solved.
Summary of the invention
Technical problem to be solved by the invention is to provide a kind of three power supply automatic switchover circuits, can realize three kinds of power supplys
Seamless automatic switchover power supply.
To solve technical problem of the invention, the present invention discloses a kind of three power supply automatic switchover circuits, including the first detection
Circuit, the second detection circuit, the first generation circuit of power supply and selection logic circuit;
First detection circuit generates the first detection for detecting whether the first power supply, second source and third power supply have electricity
Signal is input to the first generation circuit of power supply and selection logic circuit;When only the first power supply has electricity, first detection signal is
ON signal, otherwise first detection signal is OFF signal;
Second detection circuit generates the second detection signal and is input to for detecting whether second source and third power supply have electricity
Logic circuit is selected, when third power supply has electricity, the second detection signal is ON signal;There is electricity in second source, third power supply does not have
When electric, the second detection signal is OFF signal;
It selects logic circuit according to first detection signal and the second detection signal, generates second source selection signal and third
Power supply selection signal is sent to the first generation circuit of power supply;When first detection signal and the second detection signal are OFF signal,
The second source selection signal is ON signal, is otherwise OFF signal;When the first detection signal is OFF signal and the second inspection
When survey signal is ON signal, then otherwise it is OFF signal that third power supply selection signal, which is ON signal,;
The first generation circuit of power supply selects to believe according to the first detection signal, second source selection signal and third power supply
It number selects corresponding power supply as the first out-put supply to external system and selection power logic circuitry, and generates bias voltage
It powers to the second detection circuit;When first detection signal is ON signal, the first power supply is selected;When second source selection signal is
When ON signal, second source is selected;When third power supply selection signal is ON signal, third power supply is selected;
The second generation circuit of power supply detects signal according to second for ON signal for receiving the second detection signal,
Select third power supply as the second out-put supply to itself and external sys-tems;Signal is detected according to second for OFF signal,
Select second source as the second out-put supply to itself and external sys-tems.
Second generation circuit of power supply is also used to generate the first inversion signal with the second detection signal inversion, is sent to
Second detection circuit;
Second detection circuit receives first inversion signal, the output result of enhancing the second detection signal.
Wherein, three power supply automatic switchover circuit further includes third detection circuit and power supply third generation circuit;
Third detection circuit is powered by the bias voltage, raw for detecting whether the first power supply and third power supply have electricity
Power supply third generation circuit is input at third detection signal;If the first power supply has electricity, it is ON signal that third, which detects signal,;If
Only third power supply has electricity, then third detection signal is OFF signal;
Power supply third generation circuit detects signal according to for the third of ON signal, selects the first power supply to itself and outside
System power supply;Signal is detected according to for the third of OFF signal, selects third power supply to itself and external sys-tems.
Wherein, the power supply third generation circuit is also used to generate the second inversion signal with third detection signal inversion,
It is sent to third detection circuit;
The third detection circuit receives second inversion signal, the output result of enhancing third detection signal.
Wherein, first detection circuit includes nor gate NOR1, NOT gate N1, NOT gate N2, NOT gate N3, capacitor C1 and drop-down
Pipe M1;
Nor gate NOR1 works under the first power supply power supply, and the electric current of second source and third power supply is inputted as input
Signal generates logic or non-signal L1;
NOT gate N1, NOT gate N2, NOT gate N3 work under the power supply of first out-put supply, and logic or non-signal L1 pass through
NOT gate N1, NOT gate N2, NOT gate N3 generate first detection signal;Capacitor C1 is connected to nor gate NOR1 output end NAND gate N2 output
Between end, lower trombone slide M1 is connected between nor gate NOR1 output end NAND gate N3 output end, composition positive feedback filtering.
Wherein, second detection circuit include metal-oxide-semiconductor M2, metal-oxide-semiconductor M3, metal-oxide-semiconductor M4, switching tube K1, switching tube K2 and
Switching tube K3;
Switching tube K1 connects second source with the source electrode of switching tube K3, and the source electrode of switching tube K2 connects third power supply, switch
Pipe K1 grid is connect with switching tube K2 grid and the drain electrode of itself, switching tube K3 grid connection switch pipe K2 drain electrode;Switching tube K3
Drain electrode output the second detection signal, is output to selection logic circuit;Metal-oxide-semiconductor M2, metal-oxide-semiconductor M3 connect electricity with the grid of metal-oxide-semiconductor M4
The bias voltage T1 of the first generation circuit of source output;The drain electrode of metal-oxide-semiconductor M2, metal-oxide-semiconductor M3 and metal-oxide-semiconductor M4 are separately connected switching tube
The drain electrode of K1, switching tube K2 and switching tube K3;The source electrode of metal-oxide-semiconductor M2, metal-oxide-semiconductor M3 and metal-oxide-semiconductor M4 are grounded.
Wherein, the selection logic circuit includes NOT gate N4, NAND gate NAND1 and NAND gate NAND2, defeated by described first
Power supply power supply out;
Second detection signal is carried out reverse phase by NOT gate N4, is output to NAND gate NAND1;
NAND gate NAND1 will be defeated after the inversion signal of the second detection signal and first detection signal progress logical AND non-process
Third power supply selection signal out is input to the first generation circuit of power supply;
NAND gate NAND2 exports second source after the second detection signal and first detection signal are carried out logical AND non-process
Selection signal is input to the first generation circuit of power supply.
Wherein, first generation circuit of power supply includes 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 source, and switching tube K6 source electrode connects third electricity
Source;Switching tube K4 grid connects first detection signal, and switching tube K5 grid connects second source selection signal, switching tube K6 grid
Connect third power supply selection signal;The drain electrode of switching tube K4, switching tube K5 and switching tube K6 export the first out-put supply S1, through electricity
Bias voltage T1 is exported after hindering R1;The one end resistance R2 connects resistance R1, other end ground connection.
Wherein, second generation circuit of power supply includes NOT gate N6, NOT gate N7, switching tube K7 and switching tube K8;
NOT gate N6 by second detection signal carry out reverse phase generate the first inversion signal, the conducting of control switch pipe K8 with cut
Only, and inversion signal is exported to NOT gate N7;
First inversion signal is carried out reverse phase, the on and off of control switch pipe K7 by NOT gate N7 again;
The source electrode of switching tube K7 connects third power supply, and the source electrode of switching tube K8 connects second source;Switching tube K7 and switch
The drain electrode of pipe K8 exports the second out-put supply.
Compared with prior art, the present invention has the advantages that:The present invention can according to the power supply connection of system,
According to certain priority orders, three kinds of power supplys are automatically switched, when the higher power supply of the upper priority of system connection, from
It is dynamic to be switched to the power supply power supply.When the power supply of only low priority has electricity, the power supply power supply is automatically switched to.Circuit of the present invention
Structure is simple, realizes the automatic switchover power supply of three kinds of power supplys, keeps system power supply mode more flexible.
Detailed description of the invention
Fig. 1 is three power supply automatic switchover circuit structure charts of the embodiment of the present invention;
Fig. 2 is the first detection circuit structure diagram of the embodiment of the present invention;
Fig. 3 is the second detection circuit structure diagram 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 power supply the first generation circuit structure chart of the embodiment of the present invention;
Fig. 6 is the three power supply automatic switchover circuit structure charts of another embodiment of the present invention;
Fig. 7 is power supply the second generation circuit structure chart of another embodiment of the present invention;
Fig. 8 is second detection circuit structure diagram 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, invention is further described in detail.
As shown in Figure 1, three power supply automatic switchover circuits of the embodiment of the present invention, including the first detection circuit, power supply first
Generation circuit, the second detection circuit and selection logic circuit.
First detection circuit for detecting the first power supply V1, whether second source V2 and third power supply V3 have electricity, generate the
One detection signal Z1 is input to the first generation circuit of power supply and selection logic circuit;When only the first power supply V1 has electricity, first
Detection signal Z1 is ON signal, and otherwise first detection signal Z1 is OFF signal.
Second detection circuit generates the second detection signal Z2 for detecting whether second source V2 and third power supply V3 has electricity
It is input to selection logic circuit, when third power supply V3 has electricity, the second detection signal Z2 is ON signal;Have in second source V2
Electricity, when third power supply V3 is out of power, the second detection signal Z2 is OFF signal.
It selects logic circuit according to the detection signal Z2 of first detection signal Z1 and second, generates second source selection signal Z4
With third power supply selection signal Z3, it is sent to the first generation circuit of power supply;As the detection of first detection signal Z1 and second signal Z2
When being OFF signal, otherwise it is OFF signal that the second source selection signal Z4, which is ON signal,;As the first detection signal Z1
For OFF signal and when the second detection signal Z2 is ON signal, then otherwise it is OFF signal that third power supply selection signal Z3, which is ON signal,.
The first generation circuit of power supply is selected according to the first detection signal Z1, second source selection signal Z4 and third power supply
Selecting signal Z3 selects corresponding power supply as the first out-put supply S1 to external system and selection power logic circuitry, and generates
Bias voltage T1 powers to the second detection circuit;When first detection signal Z1 is ON signal, the first power supply V1 is selected;When second
When power supply selection signal Z4 is ON signal, second source is selected;When third power supply selection signal Z3 is ON signal, third is selected
Power supply.
In embodiments of the present invention, can choose the first power supply V1 is battery, and second source V2 is USB power source, third electricity
Source V3 is power supply adaptor power supply.Priority of powering is incremented by successively from battery, USB power source to power supply adaptor power supply.Work as electricity
When source adapter has electricity, no matter whether other two power supplys have electricity, it is all switched to power supply adaptor power supply;When power supply adaptor does not have
When electric, USB power source has electricity, no matter whether battery has electricity, is all switched to USB power source power supply;Only when power supply adaptor and USB electricity
Source is all out of power, when only battery has electricity, is just switched to battery power supply.If three power supplys are without electricity, this circuit does not work.Certainly
, the selection of the first power supply V1, second source V2, third power supply V3 are also not limited to this, and those skilled in the art can root
It is selected, is all belonged to the scope of protection of the present invention according to actual demand.
Specifically, as shown in Fig. 2, the first detection circuit of the embodiment of the present invention includes nor gate NOR1, NOT gate N1, NOT gate
N2, NOT gate N3, capacitor C1 and lower trombone slide M1.
Nor gate NOR1 works under the first power supply V1 power supply, and the electric current of second source V2 and third power supply V3 are inputted and made
For input signal, logic or non-signal L1 are generated.
NOT gate N1, NOT gate N2, NOT gate N3 work under the power supply S1 power supply that the first generation circuit of power supply exports, logic or non-
Signal L1 generates first detection signal Z1 by NOT gate N1, NOT gate N2, NOT gate N3.
Specifically, when only the first power supply V1 has electricity, first detection signal Z1 is 0, as ON signal;In other situations
Under, first detection signal Z1 is 1, as OFF signal.
Capacitor C1 is connected between nor gate NOR1 output end NAND gate N2 output end, and lower trombone slide M1 is connected to nor gate
Between NOR1 output end NAND gate N3 output end, composition positive feedback filtering can accelerate L1 signal conversion rate, when preventing conversion
M signal is generated, indefinite state is caused.
It is only one of specific implementation of first detection circuit shown in Fig. 2, first detection circuit is not
It is confined to the attached circuit structure shown in Fig. 2, other meet the circuit structure of said function, belong to the protection model of the application
It encloses.
Again as shown in figure 3, the second detection circuit of the embodiment of the present invention, including metal-oxide-semiconductor M2, metal-oxide-semiconductor M3, metal-oxide-semiconductor M4, open
Close pipe K1, switching tube K2 and switching tube K3.
Switching tube K1 connects second source V2 with the source electrode of switching tube K3, and the source electrode of switching tube K2 connects third power supply V3,
Switching tube K1 grid is connect with three end of drain electrode of switching tube K2 grid and switching tube K1 itself, switching tube K3 grid connection switch pipe
K2 drain electrode;Switching tube K3 drain electrode output the second detection signal Z2, is input to selection logic circuit;When third power supply V3 has electricity
Two detection signal Z2 are 0, as ON signal;When second source V2 has electricity, and third power supply V3 is out of power, the second detection signal Z2 is
1, as OFF signal;In addition, second detection signal Z2 output is also 0 as second source V2 and third power supply V3 all out of power.
Metal-oxide-semiconductor M2, metal-oxide-semiconductor M3 and the grid of metal-oxide-semiconductor M4 connect the bias voltage T1 of the first generation circuit of power supply output;
The drain electrode of metal-oxide-semiconductor M2, metal-oxide-semiconductor M3 and metal-oxide-semiconductor M4 are separately connected the drain electrode of switching tube K1, switching tube K2 and switching tube K3;Metal-oxide-semiconductor
The source electrode of M2, metal-oxide-semiconductor M3 and metal-oxide-semiconductor M4 are grounded.
Specifically, the working condition of this circuit includes 3 kinds of situations as shown in table 1 below, wherein switching tube K1, switching tube
K2 and switching tube K3 is low level conducting type switching tube.
Table 1:
Second source V2 | Third power supply V3 | Second detection signal Z2 | First out-put supply S1 |
It is out of power | There is electricity | 0 | Third power supply V3 |
There is electricity | It is out of power | 1 | Second source V2 |
There is electricity | There is electricity | 0 | Third power supply V3 |
When second source V2 is out of power, and third power supply V3 has electricity, the second detection signal Z2 output is 0, as ON signal, is made
First out-put supply S1 of the first generation circuit of power supply output is third power supply V3;When second source V2 has electricity, third power supply V3
When out of power, switching tube K3 grid is low level, and therefore, switching tube K3 conducting, the second detection signal Z2 output is 1, as closes letter
Number, the power supply S1 second source V2 for exporting the first generation circuit of power supply;When second source V2 and third power supply V3 have electricity
When, switching tube K1 and switching tube K2 conducting, switching tube K2 export high level, therefore, switching tube K3 cut-off, the second detection signal Z2
Output is 0, as ON signal, the power supply S1 third power supply V3 for exporting the first generation circuit of power supply;In addition, working as second source
When V2 and third power supply V3 all out of power, the second detection signal Z2 output is also 0.
It is only one of specific implementation of second detection circuit shown in Fig. 3, second detection circuit is not
It is confined to the attached circuit structure shown in Fig. 3, other meet the circuit structure of said function, belong to the protection model of the application
It encloses.
As shown in figure 4, selecting a kind of specific implementation circuit of logic circuit, including NOT gate described in the embodiment of the present invention
N4, NAND gate NAND1 and NAND gate NAND2 are powered by the first out-put supply S1.
Second detection signal Z2 is carried out reverse phase by NOT gate N4, is output to NAND gate NAND1.
The inversion signal of second detection signal Z2 and first detection signal Z1 are carried out logical AND non-process by NAND gate NAND1
Third power supply selection signal Z3 is exported afterwards, as the power switch signal of control third power supply, is output to power supply first and is generated electricity
Road.NAND gate NAND2 exports second source after the second detection signal Z2 and first detection signal Z1 is carried out logical AND non-process
Selection signal Z4 is output to the first generation circuit of power supply as the power switch signal of control second source.
Specifically, the work-based logic of this circuit includes the following three types situation, as shown in table 2 below.
Table 2:
When first detection signal Z1 is 0, and the second detection signal Z2 is 0, third power supply selection signal Z3 and second source
Selection signal Z4 is 1, indicates only have the first power supply V1 to have electricity, second source V2 and third power supply V3 make the second electricity without electricity
The power switch of source V2 and third power supply V3 are turned off.
When first detection signal Z1 is 1, and the second detection signal Z2 is 0, third power supply selection signal Z3 is 0, the second electricity
Source selection signal Z4 is 1, indicates that third power supply V3 has electricity, the power switch of third power supply V3 is connected, the confession of second source V2
Electric switch cut-off.
When first detection signal Z1 is 1, and the second detection signal Z2 is also 1, third power supply selection signal Z3 is 1, second
Power supply selection signal Z4 is 0, indicates that third power supply V3 is out of power, and second source V2 has electricity, cuts the power switch of third power supply V3
Only, the power switch cut-off of second source V2.
It is only one of specific implementation of the selection logic circuit shown in Fig. 4, the selection logic circuit is not
It is confined to the attached circuit structure shown in Fig. 4, other meet the circuit structure of said function, belong to the protection model of the application
It encloses.
As shown in figure 5, the first generation circuit of power supply of the embodiment of the present invention, including switching tube K4, switching tube K5, switching tube
K6, resistance R1 and resistance R2;Switching tube K4 source electrode connects the first power supply V1, and switching tube K5 source electrode connects second source V2, switch
Pipe K6 source electrode connects third power supply V3;Switching tube K4 grid connects the first logical signal Z1, and switching tube K5 grid connection the 4th is patrolled
Signal Z4 is collected, switching tube K6 grid connects third logical signal Z3;The drain electrode of switching tube K4, switching tube K5 and switching tube K6 export
The first out-put supply S1, then after resistance R1 export bias voltage T1;The one end resistance R2 connects resistance R1, other end ground connection.
Specifically, switching tube K4, switching tube K5 and switching tube K6 are low level conducting type switching tubes.When the first detection letter
When number Z1 is 0, switching tube K4 conducting exports the first power supply V1, to external system and selection power logic circuitry, and through resistance
Bias voltage T1 is exported after R1 to power to the second detection circuit;When second source selection signal Z4 is 0, switching tube K5 conducting,
Second source V2 is exported, to external system and selection power logic circuitry, and export after resistance R1 bias voltage T1 to the
The power supply of two detection circuits;When third power supply selection signal Z3 is 0, switching tube K6 conducting exports third power supply V3, to external system
System and selection power logic circuitry, and export bias voltage T1 after resistance R1 and power to the second detection circuit.
It is only one of specific implementation of first generation circuit of power supply shown in Fig. 5, the power supply first produces
Raw circuit is not limited to the attached circuit structure shown in fig. 5, other meet the circuit structure of said function, belong to the application's
Protection scope.
In conclusion three power supply automatic switchover circuits of the embodiment of the present invention can according to the power supply connection of system, into
Row automatically switches.When system connects upper power supply adaptor, just powered using power supply adaptor;When system is not connected with power adaptation
Device when being connected to USB power source by USB interface, switches to USB power source power supply;If system not only show connection power supply adaptor but also
Not connected USB power source when only reserve battery has electricity, switches to battery power supply.Also, circuit structure is simple, high reliablity.
As shown in fig. 6, three power supply automatic switchover circuits of another embodiment of the present invention, on the basis of the above embodiments also
It is given including the second generation circuit of power supply, third detection circuit and power supply third generation circuit so as to export more power supplys
External sys-tems.
Wherein, the second generation circuit of power supply is believed for receiving the second detection signal Z2 according to for the second detection of ON signal
Number Z2 selects third power supply V3 as the second out-put supply S2 to itself and external sys-tems;According to second for OFF signal
Signal Z2 is detected, selects second source V2 as the second out-put supply S2 to itself and external sys-tems.In addition, power supply second
It generates power supply and also generates the first inversion signal Z2B for detecting signal inversion with second, be sent to the second detection circuit.Second detection
Circuit is by the output of the second detection of the first inversion signal Z2B enhancing signal Z2 as a result, keeping signal more stable.
In addition, third detection circuit is powered by bias voltage T1, for whether detecting the first power supply V1 and third power supply V3
There is electricity, generates third detection signal Z5 and be input to third generation circuit;If the first power supply V1 has electricity, third detection signal Z5 is
ON signal;If only third power supply V3 has electricity, it is OFF signal that third, which detects signal Z5,.
Power supply third generation circuit, according to for ON signal third detect signal Z5, select the first power supply V1 to itself and
External sys-tems;Signal Z5 is detected according to for the third of OFF signal, selects third power supply V3 to itself and external sys-tems.
In addition, power supply third generation circuit also generates the second inversion signal Z5B with third detection signal Z5 reverse phase, it is sent to third inspection
Slowdown monitoring circuit.Here, the priority of the first power supply V1 is higher than third power supply V3.Third detection circuit passes through the second inversion signal
Z5B enhances the output of third detection signal Z5 as a result, keeping signal more stable.
As shown in fig. 7, second generation circuit of power supply of the present embodiment includes NOT gate N6, NOT gate N7, switching tube K7 and switch
Pipe K8.Wherein, switching tube K7 and switching tube K8 is low level conducting type switching tube.
Second detection signal Z2 is carried out reverse phase by NOT gate N6, passes through leading for the first inversion signal Z2B control switch pipe K8
Logical and cut-off, and export the first inversion signal Z2B to NOT gate N7.Meanwhile first inversion signal Z2B be also output to the second detection electricity
Road, control first detection signal Z1 output result enhancing.
The inversion signal of second detection signal Z2 is carried out reverse phase by NOT gate N7 again, with the conducting of control switch pipe K7 and is cut
Only.The source electrode of switching tube K7 connects third power supply, and the source electrode of switching tube K8 connects second source;Switching tube K7's and switching tube K8
The second out-put supply S2 of drain electrode output.
Specifically, when the second detection signal Z2 is 0, switching tube K7 conducting, switching tube K8 cut-off, the second out-put supply S2
For third power supply V3;When the second detection signal Z2 is 1, switching tube K7 cut-off, switching tube K8 is connected, and the second out-put supply S2 is
Second source V2.
It is only one of specific implementation of second generation circuit of power supply shown in Fig. 7, the power supply second produces
Raw circuit is not limited to the attached circuit structure shown in Fig. 7, other meet the circuit structure of said function, belong to the application's
Protection scope.
In addition, the circuit structure and working principle of the power supply third generation circuit of the present embodiment and above-mentioned power supply second generate
Circuit it is identical, only, two switching tubes of power supply third generation circuit are separately connected the first power supply V1 and third power supply V3.
Again as shown in figure 8, second detection circuit of the present embodiment further includes metal-oxide-semiconductor M5 on the basis of the above embodiments
With metal-oxide-semiconductor M6.The drain electrode of the source electrode connection switch pipe K1 of metal-oxide-semiconductor M5, the source electrode of the drain electrode connection metal-oxide-semiconductor M6 of metal-oxide-semiconductor M5, grid
It is connected with the grid of metal-oxide-semiconductor M2, metal-oxide-semiconductor M3 and metal-oxide-semiconductor M4, is biased that voltage T1 powers.The grounded drain of metal-oxide-semiconductor M6, grid
By the control of the first inversion signal Z2B.
In addition, the circuit structure and working principle of the third detection circuit of the present embodiment, with above-mentioned second detection circuit phase
Together, only two switching tubes are separately connected the first power supply V1 and third power supply V3.
As shown in fig. 9 again, the selection logic circuit of the present embodiment is according to first detection signal Z1 and the first inversion signal Z2B
Logical combination, generate third power supply selection signal Z3 and second source selection signal Z4.Specifically, circuit structure is above-mentioned
NOT gate N5 is increased on the basis of embodiment, for exporting by the first inversion signal Z2B progress reverse phase, then by the signal after reverse phase
To NOT gate N4 and NAND gate NAND2.Working principle is same as the previously described embodiments, repeats no more here.
In conclusion present embodiments providing three road out-put supplies, external system is facilitated to select power supply, meanwhile, it enhances
Circuit reliability.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
It is above to lift preferred embodiment, the object, technical solutions and advantages of the present invention are had been further described, institute
It should be understood that the foregoing is merely illustrative of the preferred embodiments of the present invention, it is not intended to limit the invention, it is all of the invention
Within spirit and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention,
The interest field that the present invention is advocated should be subject to described in patent application range, not just the above examples.
Claims (9)
1. a kind of three power supply automatic switchover circuits, which is characterized in that including the first detection circuit, the second detection circuit, power supply the
One generation circuit and selection logic circuit;
First detection circuit generates first detection signal for detecting whether the first power supply, second source and third power supply have electricity
It is input to the first generation circuit of power supply and selection logic circuit;When only the first power supply has electricity, first detection signal is to open letter
Number, otherwise first detection signal is OFF signal;
Second detection circuit generates the second detection signal and is input to selection for detecting whether second source and third power supply have electricity
Logic circuit, when third power supply has electricity, the second detection signal is ON signal;When second source has electricity, and third power supply is out of power,
Second detection signal is OFF signal;
It selects logic circuit according to first detection signal and the second detection signal, generates second source selection signal and third power supply
Selection signal is sent to the first generation circuit of power supply;It is described when first detection signal and the second detection signal are OFF signal
Second source selection signal is ON signal, is otherwise OFF signal;When the first detection signal is OFF signal and the second detection letter
Number be ON signal when, then third power supply selection signal be ON signal, be otherwise OFF signal;
The first generation circuit of power supply is selected according to the first detection signal, second source selection signal and third power supply selection signal
Corresponding power supply is selected as the first out-put supply to external system and selection power logic circuitry, and generates bias voltage to the
The power supply of two detection circuits;When first detection signal is ON signal, the first power supply is selected;When second source selection signal is to open letter
Number when, select second source;When third power supply selection signal is ON signal, third power supply is selected;
The second generation circuit of power supply detects signal, selection according to second for ON signal for receiving the second detection signal
Third power supply gives itself and external sys-tems as the second out-put supply;Signal, selection are detected according to second for OFF signal
Second source gives itself and external sys-tems as the second out-put supply.
2. three power supply automatic switchover circuit as described in claim 1, which is characterized in that second generation circuit of power supply is also used
In generating the first inversion signal with the second detection signal inversion, it is sent to the second detection circuit;
Second detection circuit receives first inversion signal, the output result of enhancing the second detection signal.
3. three power supply automatic switchover circuit as described in claim 1, which is characterized in that further include third detection circuit and power supply
Third generation circuit;
Third detection circuit is powered by the bias voltage, for detecting whether the first power supply and third power supply have electricity, generates the
Three detection signals are input to power supply third generation circuit;If the first power supply has electricity, it is ON signal that third, which detects signal,;If only
Third power supply has electricity, then third detection signal is OFF signal;
Power supply third generation circuit detects signal according to for the third of ON signal, selects the first power supply to itself and external system
Power supply;Signal is detected according to for the third of OFF signal, selects third power supply to itself and external sys-tems.
4. three power supply automatic switchover circuit as claimed in claim 3, which is characterized in that the power supply third generation circuit is also used
In generating the second inversion signal with third detection signal inversion, it is sent to third detection circuit;
The third detection circuit receives second inversion signal, the output result of enhancing third detection signal.
5. three power supply automatic switchover circuit as claimed in claim 1 or 3, which is characterized in that first detection circuit includes
Nor gate NOR1, NOT gate N1, NOT gate N2, NOT gate N3, capacitor C1 and lower trombone slide M1;
Nor gate NOR1 works under the first power supply power supply, and the electric current of second source and third power supply is inputted as input letter
Number, generate logic or non-signal L1;
NOT gate N1, NOT gate N2, NOT gate N3 work under the power supply of first out-put supply, and logic or non-signal L1 pass through NOT gate
N1, NOT gate N2, NOT gate N3 generate first detection signal;Capacitor C1 be connected to nor gate NOR1 output end NAND gate N2 output end it
Between, lower trombone slide M1 is connected between nor gate NOR1 output end NAND gate N3 output end, composition positive feedback filtering.
6. three power supply automatic switchover circuit as claimed in claim 5, which is characterized in that second detection circuit includes MOS
Pipe M2, metal-oxide-semiconductor M3, metal-oxide-semiconductor M4, switching tube K1, switching tube K2 and switching tube K3;
Switching tube K1 connects second source with the source electrode of switching tube K3, and the source electrode of switching tube K2 connects third power supply, switching tube K1
Grid is connect with switching tube K2 grid and the drain electrode of itself, switching tube K3 grid connection switch pipe K2 drain electrode;Switching tube K3 drain electrode
Output the second detection signal, is output to selection logic circuit;Metal-oxide-semiconductor M2, metal-oxide-semiconductor M3 and the grid of metal-oxide-semiconductor M4 connect power supply
The bias voltage T1 of one generation circuit output;The drain electrode of metal-oxide-semiconductor M2, metal-oxide-semiconductor M3 and metal-oxide-semiconductor M4 are separately connected switching tube K1, open
Close the drain electrode of pipe K2 and switching tube K3;The source electrode of metal-oxide-semiconductor M2, metal-oxide-semiconductor M3 and metal-oxide-semiconductor M4 are grounded.
7. three power supply automatic switchover circuit as claimed in claim 6, which is characterized in that the selection logic circuit includes NOT gate
N4, NAND gate NAND1 and NAND gate NAND2 are powered by first out-put supply;
Second detection signal is carried out reverse phase by NOT gate N4, is output to NAND gate NAND1;
NAND gate NAND1 will the second detection signal inversion signal and first detection signal carry out logical AND non-process after export the
Three power supply selection signals are input to the first generation circuit of power supply;
Output second source selects after second detection signal and first detection signal are carried out logical AND non-process by NAND gate NAND2
Signal is input to the first generation circuit of power supply.
8. three power supply automatic switchover circuit as claimed in claim 7, which is characterized in that first generation circuit of power supply includes
Switching tube K4, switching tube K5, switching tube K6, resistance R1 and resistance R2;Switching tube K4 source electrode connects the first power supply, the source switching tube K5
Pole connects second source, and switching tube K6 source electrode connects third power supply;Switching tube K4 grid connects first detection signal, switching tube K5
Grid connects second source selection signal, and switching tube K6 grid connects third power supply selection signal;Switching tube K4, switching tube K5 and
The drain electrode of switching tube K6 exports the first out-put supply S1, and bias voltage T1 is exported after resistance R1;The one end resistance R2 connects resistance
R1, other end ground connection.
9. three power supply automatic switchover circuit as claimed in claim 6, which is characterized in that second generation circuit of power supply includes
NOT gate N6, NOT gate N7, switching tube K7 and switching tube K8;
NOT gate N6 by second detection signal carry out reverse phase generate the first inversion signal, the conducting and cut-off of control switch pipe K8, and
Inversion signal is exported to NOT gate N7;
First inversion signal is carried out reverse phase, the on and off of control switch pipe K7 by NOT gate N7 again;
The source electrode of switching tube K7 connects third power supply, and the source electrode of switching tube K8 connects second source;Switching tube K7 and switching tube K8
Drain electrode export 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 CN106340948A (en) | 2017-01-18 |
CN106340948B true 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 (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3843089A1 (en) * | 2019-12-27 | 2021-06-30 | Roland Corporation | Electronic musical instrument, power control device for electronic musical instrument, power control method, and program |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109638956B (en) * | 2018-12-28 | 2024-02-23 | 南京奥视威电子科技股份有限公司 | Power supply switching 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 |
CN115833363B (en) * | 2023-02-14 | 2023-05-16 | 长沙巨翊医疗科技有限公司 | Automatic switching method and system for multiple power supply modes |
CN116937775B (en) * | 2023-06-30 | 2024-06-14 | 辰芯半导体(深圳)有限公司 | Multi-power supply selection circuit and charging equipment |
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 (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3843089A1 (en) * | 2019-12-27 | 2021-06-30 | Roland Corporation | Electronic musical instrument, power control device for electronic musical instrument, power control method, and program |
Also Published As
Publication number | Publication date |
---|---|
CN106340948A (en) | 2017-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106340948B (en) | A kind of three power supply automatic switchover circuits | |
US20150180254A1 (en) | Mobile terminal with multi-port charging control function | |
CN104239240A (en) | Electronic device with universal serial bus (USB) interface with integration function | |
CN105453372A (en) | Method and apparatus for fast battery charging with universal high power input source | |
CN109802457A (en) | A kind of electronic equipment and its charging method | |
JP2017507638A (en) | Method for processing impedance abnormality of power adapter, terminal and charging circuit | |
CN107643998B (en) | System for realizing OTG and charging dual functions based on intelligent module | |
CN106026247A (en) | Charging equipment and charging method thereof | |
CN104852439A (en) | Electronic equipment and double-battery charging and discharging switching method | |
CN103928958A (en) | Lithium battery charging or discharging management circuit and lithium battery management system | |
CN204883583U (en) | A reverse big electricity charging system for intelligent terminal | |
CN203632689U (en) | Multi-network-port electric power receiving-end equipment and electric power receiving device thereof | |
CN104065125A (en) | Electronic product charging system | |
TW201707326A (en) | Power supply system for electronic device | |
CN115208041A (en) | Dual battery switching circuit, battery switching method, electronic device, and storage medium | |
CN102809930B (en) | Constrained input multiplexing port and controller | |
CN103915864B (en) | Electronic device with power supply control function | |
CN102831920B (en) | Power supply circuit and power supply method | |
CN203800692U (en) | Power supply management circuit for remote operated vehicle (ROV) | |
CN106301804B (en) | A kind of server that realizing Wake on LAN, system and method | |
CN103472407A (en) | Dual-power state detection circuit, power supply system and dual-power state detection method | |
CN108259030A (en) | A kind of switching device automatically according to input selection power path | |
CN107147168A (en) | A kind of charging device and terminal device | |
CN103490474A (en) | Power management circuit | |
CN204020594U (en) | A kind of vehicular power-bottle power-fail detection circuit and automobile |
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 | ||
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. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |