CN110445248A - A kind of standby usage power supply switch circuit and method - Google Patents

A kind of standby usage power supply switch circuit and method Download PDF

Info

Publication number
CN110445248A
CN110445248A CN201910803071.8A CN201910803071A CN110445248A CN 110445248 A CN110445248 A CN 110445248A CN 201910803071 A CN201910803071 A CN 201910803071A CN 110445248 A CN110445248 A CN 110445248A
Authority
CN
China
Prior art keywords
power source
voltage
circuit
backup power
stablizer
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
Application number
CN201910803071.8A
Other languages
Chinese (zh)
Other versions
CN110445248B (en
Inventor
邹博冈
王竹萍
单兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XINGTANG COMMUNICATIONS CO Ltd
Original Assignee
XINGTANG COMMUNICATIONS CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by XINGTANG COMMUNICATIONS CO Ltd filed Critical XINGTANG COMMUNICATIONS CO Ltd
Priority to CN201910803071.8A priority Critical patent/CN110445248B/en
Publication of CN110445248A publication Critical patent/CN110445248A/en
Application granted granted Critical
Publication of CN110445248B publication Critical patent/CN110445248B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/04Circuit 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/06Circuit 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B70/00Technologies for an efficient end-user side electric power management and consumption
    • Y02B70/30Systems integrating technologies related to power network operation and communication or information technologies for improving the carbon footprint of the management of residential or tertiary loads, i.e. smart grids as climate change mitigation technology in the buildings sector, including also the last stages of power distribution and the control, monitoring or operating management systems at local level
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S20/00Management or operation of end-user stationary applications or the last stages of power distribution; Controlling, monitoring or operating thereof
    • Y04S20/20End-user application control systems

Abstract

The present invention relates to a kind of standby usage power supply switch circuit and methods, belong to standby usage power supply handoff technique field, solve the problems, such as not can guarantee seamless connection existing for existing switching circuit and using sacrifice PCB surface product and chip pin caused by external capacitive.Backup power source access adjustable up-down pressure voltage-stablizer, the anti-reverse current circuit of backup power source are sequentially arranged in backup power source current supply circuit;Main power source access voltage-stablizer, the anti-reverse current circuit of main power source are sequentially arranged in main power source current supply circuit;CPU controls switch unit and is used for when needing backup power source to power, adjust the voltage quasi position of backup power source access adjustable up-down pressure voltage-stablizer, until the voltage quasi position after the anti-reverse current circuit of backup power source is higher than voltage quasi position of the main power source access voltage-stablizer after main power source puts adverse current circuit, switching is powered by the backup power source;It is also used to when needing main power source to power, is powered by backup power source power switching to main power source.

Description

A kind of standby usage power supply switch circuit and method
Technical field
The present invention relates to standby usage power supply handoff technique field more particularly to a kind of standby usage power supply switch circuit and sides Method.
Background technique
Existing external load, especially SoC chip system, it is higher and higher to the stability of power supply system, sustainable requests; For power down will loss of data digital module, be more to ensure that stability, the duration of power supply;Therefore, general to require to supply Power supply uses two-way even two-way or more.Under normal conditions, all the way to commonly use main power source, other roads are backup power source.Normally When work, chip is system power supply by main power source, and when chip enters suspend mode, system automatically switches to backup power source power supply To achieve the purpose that save data.
And in existing backup power source switching circuit, according to without external energy-storage travelling wave tube power supply circuit, it is easy to cause output The violent jump of voltage;According to there is external energy-storage travelling wave tube power supply circuit (as increased external capacitive), although can be in certain journey The jump of output voltage is prevented on degree, still, this mode can sacrifice the long-pending pin number with chip of external PCB surface, for The load of chip-scale is simultaneously not suitable for.
Accordingly, it is desirable to provide a kind of circuit that can be switched between main power supply, can prevent the play of output voltage Strong jump guarantees that seamless connection, power supply are sufficient and uninterrupted, while external PCB surface is long-pending and the number of pins of chip without sacrificing Amount.
Summary of the invention
In view of above-mentioned analysis, the present invention is intended to provide a kind of standby usage power supply switch circuit, existing active and standby to solve Acutely the jumping of the output voltage existing for switching circuit not can guarantee that seamless connection, not can guarantee power supply sufficient and uninterrupted The problem of and stand-by circuit use and sacrifice the problem of external PCB surface is long-pending and the pin number of chip caused by external capacitive.
The purpose of the present invention is mainly achieved through the following technical solutions:
A kind of standby usage power supply switch circuit, comprising: backup power source access adjustable up-down presses voltage-stablizer, main power source access The anti-reverse current circuit of voltage-stablizer, main power source, the anti-reverse current circuit of backup power source, CPU control switch unit;Wherein,
The backup power source access adjustable up-down pressure voltage-stablizer, the anti-reverse current circuit of the backup power source are sequentially arranged in standby With in power supply current supply circuit;The main power source access voltage-stablizer, the anti-reverse current circuit of the main power source are sequentially arranged to be supplied in main power source In electrical circuit;
The CPU controls switch unit, adjustable for when needing backup power source to power, adjusting the backup power source access The voltage quasi position of buck voltage-stablizer is saved, until the voltage quasi position after the anti-reverse current circuit of backup power source is higher than the main power source Voltage quasi position of the access voltage-stablizer after main power source puts adverse current circuit, switching are powered by the backup power source;Being also used to work as needs When main power source being wanted to power, powered by backup power source power switching to main power source.
On the basis of above scheme, the present invention has also done following improvement:
Further, the CPU control switch unit adjusts the electricity of the backup power source access adjustable up-down pressure voltage-stablizer After pressing level, start the anti-reverse current circuit of the backup power source;
After switching by backup power source power supply, stablizes to the backup power source supply voltage, close the main power source Access voltage-stablizer, and the voltage quasi position of the backup power source access adjustable up-down pressure voltage-stablizer is adjusted, until passing through standby electricity Voltage quasi position after the anti-reverse current circuit in source is lower than voltage of the main power source access voltage-stablizer after main power source puts adverse current circuit Level.
Further, when being powered by backup power source power switching to main power source, the main power source access voltage-stablizer is opened, is led to It crosses the main power source power supply and closes the backup power source access adjustable up-down pressure after the main power source supply voltage is stablized Voltage-stablizer and the anti-reverse current circuit of backup power source.
Further, the backup power source access adjustable up-down pressure voltage-stablizer includes: Width funtion domain linear voltage-stabilizing circuit, electricity Flat conversion circuit, voltage regulator circuit;Wherein,
The output end of the CPU control switch unit is connected with the input terminal of the level shifting circuit, and the level turns The output end for changing circuit is connected with the input terminal of the voltage regulator circuit, the output end of the voltage regulator circuit and the width The input terminal of voltage domain linear voltage-stabilizing circuit is connected;
The control signal that the voltage regulator circuit is used to control switch unit output according to the CPU adjusts intrinsic standoff ratio Example, to adjust the electric current of voltage regulator circuit output end;
The electric current that Width funtion domain linear voltage-stabilizing circuit is inputted based on input terminal changes the voltage of output end;
The output end of Width funtion domain linear voltage-stabilizing circuit is connected with the backup power source counterflow-preventing circuit input end.
Further, Width funtion domain linear voltage-stabilizing circuit includes: band-gap reference circuit, operational amplifier, first switch Metal-oxide-semiconductor, resistance R1;Wherein,
The backup power source output end respectively with the power end of band-gap reference circuit anode, the first switch MOS The source electrode of pipe is connected;
The output end of the band-gap reference circuit connects the inverting input terminal of the operational amplifier;
The non-inverting input terminal of the operational amplifier connects one end of the resistance R1, the other end connection of the resistance R1 The drain electrode of the first switch metal-oxide-semiconductor, the output end of the operational amplifier connect the grid of the first switch metal-oxide-semiconductor;
The drain electrode of the first switch metal-oxide-semiconductor is the output end of Width funtion domain linear voltage-stabilizing circuit;
The non-inverting input terminal of the operational amplifier is the input terminal of Width funtion domain linear voltage-stabilizing circuit.
Further, the voltage regulator circuit includes second switch metal-oxide-semiconductor, resistance R2, resistance R3;
The grid of the second switch metal-oxide-semiconductor is connected with the output end of the level shifting circuit, the second switch MOS The drain electrode of pipe is connected with the input terminal of Width funtion domain linear voltage-stabilizing circuit;The source electrode of the second switch metal-oxide-semiconductor is through electricity It is grounded after resistance R3;
The both ends of the resistance R2 are connected with the source electrode of the second switch metal-oxide-semiconductor, drain electrode respectively.
Further, the circuit further includes backup power source electricity self-detection module, for detecting the electricity of the backup power source Pressure, and will test result and be sent to the CPU control switch unit;When the voltage of backup power source is lower than voltage threshold, stop It is powered using backup power source.
Further, the anti-reverse current circuit of the backup power source includes: third switch metal-oxide-semiconductor, the 4th switch metal-oxide-semiconductor, the 5th opens Close metal-oxide-semiconductor;Wherein,
Source electrode, the described 4th grid for switching metal-oxide-semiconductor of the third switch metal-oxide-semiconductor are all connected with the main power voltage; Grid, the described 4th source electrode for switching metal-oxide-semiconductor of the third switch metal-oxide-semiconductor are all connected with the backup power source cell voltage;Institute State the substrate after third switch metal-oxide-semiconductor is connected with the drain electrode of the 4th switch metal-oxide-semiconductor, substrate with the 5th switch metal-oxide-semiconductor It is connected;The drain electrode of the 5th switch metal-oxide-semiconductor is connected with the output end of Width funtion domain linear voltage-stabilizing circuit;Described 5th opens The grid for closing metal-oxide-semiconductor is used to receive the switching signal of the CPU control switch unit;By the source electrode of the 5th switch metal-oxide-semiconductor Output end as the anti-reverse current circuit of the backup power source is for connecting load.
Further, the voltage quasi position after the anti-reverse current circuit of the backup power source passes through higher than the main power source access voltage-stablizer Main power source puts the voltage quasi position after adverse current circuit, comprising:
Higher than the 10%-15% of the main power source access stabilizer output voltage;
Voltage quasi position after the anti-reverse current circuit of backup power source passes through main power source lower than the main power source access voltage-stablizer Voltage quasi position after putting adverse current circuit, comprising:
Lower than the 10%-15% of the main power source access stabilizer output voltage.
The present invention also provides a kind of standby usage power-supply switching method, this method is based on above-mentioned standby usage power supply switch circuit It realizes, executes following operation inside CPU control switch unit:
It receives and parses through control instruction, detect current power supply state;Wherein, the control instruction is to be supplied using main power source Electricity is powered using backup power source;
When the control instruction be using main power source power supply and current time backup power source do not power when, control pass through institute State main power source power supply;
When the control instruction is using backup power source power supply and when current time main power source is being powered, described in unlatching Backup power source access adjustable up-down presses voltage-stablizer, and the voltage for adjusting the backup power source access adjustable up-down pressure voltage-stablizer is quasi- Position is put until the voltage quasi position after the anti-reverse current circuit of backup power source is higher than the main power source access voltage-stablizer by main power source Voltage quasi position after adverse current circuit, and start the anti-reverse current circuit of the backup power source, switching is powered by the backup power source;To institute It states backup power source supply voltage to stablize, closes the main power source access voltage-stablizer, and it is adjustable to adjust the backup power source access The voltage quasi position of buck voltage-stablizer, until the voltage quasi position after the anti-reverse current circuit of backup power source is logical lower than the main power source Voltage quasi position of the road voltage-stablizer after main power source puts adverse current circuit;
When the control instruction is using main power source power supply and when current time backup power source is being powered, described in unlatching Main power source access voltage-stablizer, is powered by the main power source, is stablized to the main power source supply voltage, is closed the backup power source Access adjustable up-down presses voltage-stablizer, and closes backup power source and put adverse current circuit.
The present invention has the beneficial effect that:
Standby usage power supply switch circuit provided by the invention and method are fed back by control and realize that backup power source access is adjustable Save buck stabilizer output voltage buck pretreatment so that supply voltage there is no voltage jump, can achieve it is seamless The requirement of formula power supply, while the linear energy-storage travelling wave tube outside piece is saved, without the long-pending number of pins with chip of PCB surface outside sacrificing Amount;Meanwhile the Width funtion domain linear voltage-stabilizing circuit in adjustable up-down pressure voltage-stablizer meets backup power source road supply voltage and confession The big requirement of piezoelectric voltage amplitude of variation;In addition, the anti-reverse current circuit in backup power source road in the present invention uses substrate switch designs, protect No matter whether backup power source road has power supply to card, and switch can effectively work.
It in the present invention, can also be combined with each other between above-mentioned each technical solution, to realize more preferred assembled schemes.This Other feature and advantage of invention will illustrate in the following description, also, certain advantages can become from specification it is aobvious and It is clear to, or understand through the implementation of the invention.The objectives and other advantages of the invention can by specification, claims with And it is achieved and obtained in specifically noted content in attached drawing.
Detailed description of the invention
Attached drawing is only used for showing the purpose of specific embodiment, and is not to be construed as limiting the invention, in entire attached drawing In, identical reference symbol indicates identical component.
Fig. 1 is standby usage power supply switch circuit structural schematic diagram in the embodiment of the present invention 1;
Fig. 2 is the electrical block diagram that backup power source access adjustable up-down presses voltage-stablizer in the embodiment of the present invention 1;
Fig. 3 is backup power source counterflow-preventing electrical block diagram in the embodiment of the present invention 1;
Fig. 4 is to be respectively adopted without external energy-storage travelling wave tube, have backup power source switching circuit in external energy-storage travelling wave tube and the present invention The voltage oscillogram of output.
Appended drawing reference:
1- backup power source electricity self-detection module;2- main power source;3- backup power source;4- main power source access voltage-stablizer;5- is standby Voltage-stablizer is pressed with power path adjustable up-down;The anti-reverse current circuit of 6- main power source;The anti-reverse current circuit of 7- backup power source;8-CPU control Switch unit processed;9- Width funtion domain linear voltage-stabilizing circuit;10- level shifting circuit;11- voltage regulator circuit;12- substrate is opened It closes.
Specific embodiment
Specifically describing the preferred embodiment of the present invention with reference to the accompanying drawing, wherein attached drawing constitutes the application a part, and Together with embodiments of the present invention for illustrating the principle of the present invention, it is not intended to limit the scope of the present invention.
Embodiment 1
A specific embodiment of the invention discloses a kind of standby usage power supply switch circuit, structural schematic diagram such as Fig. 1 institute Show.The circuit includes: that backup power source access adjustable up-down presses voltage-stablizer (5), main power source access voltage-stablizer (4), main power source anti- Adverse current circuit (6), the anti-reverse current circuit of backup power source (7), CPU control switch unit (8);Wherein, the backup power source access can Adjust buck voltage-stablizer, the anti-reverse current circuit of the backup power source is sequentially arranged in backup power source current supply circuit;The main electricity Source access voltage-stablizer, the anti-reverse current circuit of the main power source are sequentially arranged in main power source current supply circuit;The CPU control switching is single Member, for when needing backup power source to power, adjusting the voltage quasi position of the backup power source access adjustable up-down pressure voltage-stablizer, Until voltage quasi position after the anti-reverse current circuit of backup power source be higher than the main power source access voltage-stablizer put by main power source it is inverse Voltage quasi position after current circuit, switching power (3) by the backup power source;It is also used to when needing main power source to power, by spare Power supply power supply switches to main power source (2) power supply.
When implementation, when needing backup power source to power, CPU controls switch unit and issues voltage up control signal, adjusts spare Power path adjustable up-down presses the voltage quasi position of voltage-stablizer, until the voltage quasi position after the anti-reverse current circuit of backup power source is high In voltage quasi position of the main power source access voltage-stablizer after main power source puts adverse current circuit, the preferably higher than described main power source access The 10%-15% of stabilizer output voltage;Meanwhile CPU controls switch unit and issues starting letter to the anti-reverse current circuit of backup power source Number, for starting the anti-reverse current circuit of the backup power source.Since backup power source access output voltage is higher than main power source access at this time Therefore output voltage automatically switches to be powered by the backup power source (3) at this time;After backup power source supply voltage is stablized, close The main power source access voltage-stablizer, and voltage down control signals are issued, and adjust backup power source access adjustable up-down pressure voltage-stablizer Voltage quasi position, until voltage quasi position after the anti-reverse current circuit of backup power source passes through main electricity lower than main power source access voltage-stablizer Put the voltage quasi position after adverse current circuit, the preferably shorter than 10%-15% of main power source access stabilizer output voltage in source;When needing to lead When power supply power supply, main power source access voltage-stablizer is enabled, since main power source access output voltage is defeated higher than backup power source access at this time Therefore voltage out is powered by backup power source power switching to main power source automatically at this time;Also, to the main power source supply voltage After stabilization, the backup power source access adjustable up-down pressure voltage-stablizer is closed, backup power source counterflow-preventing circuit switch is simultaneously closed off; When switching to backup power source power supply again, need to first turn on backup power source access adjustable up-down pressure voltage-stablizer, then Voltage adjustment operations are executed again.
In standby usage power supply switch circuit provided in this embodiment, pre-processed by the buck of supply voltage, so that Supply voltage is not present voltage jump, can achieve the requirement of gapless power supply, while saving the linear energy-storage travelling wave tube outside piece, Without the long-pending pin number with chip of PCB surface outside sacrificing.
Generally, it needs to be supplied using main power source when load (such as chip and its peripheral load circuit) works normally Electricity;And when it enters suspend mode, partial function deactivates, and can use backup power source at this time is powered, and can meet existing The power demands (such as preservation data operation) of functional component.Specifically, when select main power source power supply, when select it is spare The problem of power supply power supply, not within the scope of the considerations of the present invention program.Generally, when load is chip and its periphery load When circuit, CPU can be controlled into switch unit and be directly arranged in the chip, without being individually for CPU control switch unit setting Corresponding hardware configuration, to save PCB surface product.
Preferably, the circuit further includes backup power source electricity self-detection module (1), for monitoring the backup power source Whether output voltage meets power reguirements, such as meets the requirements, and CPU control switch unit can enable backup power source access, And it will test result and be sent to the CPU control switch unit;When the output voltage of backup power source is lower than voltage threshold, stop It is powered using backup power source.
Preferably, the present embodiment gives the circuit structure of backup power source access adjustable up-down pressure voltage-stablizer, comprising: Width funtion domain linear voltage-stabilizing circuit (9), level shifting circuit (10), voltage regulator circuit (11);Wherein, the CPU control is cut The output end for changing unit is connected with the input terminal of the level shifting circuit, the output end of the level shifting circuit and the electricity The input terminal of voltage regulator circuit is connected, and the output end of the voltage regulator circuit is defeated with Width funtion domain linear voltage-stabilizing circuit Enter end to be connected;The control signal that the voltage regulator circuit is used to control switch unit output according to the CPU adjusts intrinsic standoff ratio Example, to adjust the electric current of voltage regulator circuit output end;The electricity that Width funtion domain linear voltage-stabilizing circuit is inputted based on input terminal Stream, changes the voltage of output end;The output end and the anti-reverse current circuit of the backup power source of Width funtion domain linear voltage-stabilizing circuit Input terminal be connected.Wherein, Width funtion domain linear voltage-stabilizing circuit includes: band-gap reference circuit, operational amplifier, first switch Metal-oxide-semiconductor, resistance R1;Wherein, the backup power source output end respectively with the power end of band-gap reference circuit anode, described the The source electrode of one switch metal-oxide-semiconductor is connected, for the source electrode power supply for band-gap reference circuit, first switch metal-oxide-semiconductor.The band-gap reference The output end of circuit connects the inverting input terminal of the operational amplifier;Described in the non-inverting input terminal connection of the operational amplifier One end of resistance R1, the other end of the resistance R1 connect the drain electrode of the first switch metal-oxide-semiconductor, the operational amplifier it is defeated Outlet connects the grid of the first switch metal-oxide-semiconductor;The drain electrode of the first switch metal-oxide-semiconductor is Width funtion domain linear voltage stabilization The output end of circuit;The non-inverting input terminal of the operational amplifier is the input terminal of Width funtion domain linear voltage-stabilizing circuit.Electricity Voltage regulator circuit includes second switch metal-oxide-semiconductor, resistance R2;The grid and the level shifting circuit of the second switch metal-oxide-semiconductor Output end be connected, resistance R3;The grid of the second switch metal-oxide-semiconductor is connected with the output end of the level shifting circuit, institute The drain electrode for stating second switch metal-oxide-semiconductor is connected with the input terminal of Width funtion domain linear voltage-stabilizing circuit;The second switch MOS The source electrode of pipe is grounded after resistance R3;The both ends of the resistance R2 respectively with the source electrode of the second switch metal-oxide-semiconductor, drain electrode phase Even.
When CPU, which issues ascending, descending pressure signal, to be controlled backup power source access adjustable up-down pressure voltage-stablizer, due to It is digital signal that signal is pressed in ascending, descending, and the brownout of digital signal, can not the analog circuit directly to high voltage device carry out Control.Therefore, it is provided with level shifting circuit, digital low-voltage is converted by simulation high voltage by level shifting circuit.Electricity Flat conversion circuit uses general Level-Shifter it is achieved that the analog signal after conversion can be adjusted voltage Circuit is controlled.Voltage regulator circuit realized using the in parallel of switch MOS and resistance string, by the short circuit of control resistance string and Conducting changes the resistance value of resistance string.Since resistance string resistance value changes, so that dividing ratios change, therefore, Width funtion domain line The electric current of property voltage regulator circuit input terminal changes, and due to band-gap reference provides in the linear voltage-stabilizing circuit of Width funtion domain reference Voltage is constant, both ends virtual short principle and negative-feedback principle is inputted using two-stage calculation amplifier, so that feeding back to resistance string The voltage of tie point is constant.And resistance string dividing ratios change, the electric current for flowing through resistance R1 changes, and then the partial pressure on R1 It changes, the voltage of output end is finally made to change, to realize lifting press operation.The ratio of buck can be by changing Resistance in power transformation voltage regulator circuit is realized.Preferably, operational amplifier can be two-stage calculation amplifier, this amplifier stage The MOS of connection is less, and required total overdrive voltage is lower, is able to satisfy supply voltage is low in saturation region operation, to realize Width funtion domain.Backup power source access adjustable up-down presses the electrical block diagram of voltage-stablizer as shown in Figure 2.
Preferably, the present embodiment gives backup power source counterflow-preventing electrical block diagram, as shown in Figure 3.The circuit It include: third switch metal-oxide-semiconductor, the 4th switch metal-oxide-semiconductor, the 5th switch metal-oxide-semiconductor;By third switch metal-oxide-semiconductor, the 4th switch metal-oxide-semiconductor Combination forms substrate switch (12).Wherein, the source electrode of the third switch metal-oxide-semiconductor, the described 4th grid for switching metal-oxide-semiconductor connect Connect the main power voltage;Grid, the described 4th source electrode for switching metal-oxide-semiconductor of the third switch metal-oxide-semiconductor are all connected with described standby With power-supply battery voltage;Third switch metal-oxide-semiconductor is connected afterwards and described the with the drain electrode of the 4th switch metal-oxide-semiconductor, substrate The substrate of five switch metal-oxide-semiconductors is connected;The drain electrode and the output of Width funtion domain linear voltage-stabilizing circuit of the 5th switch metal-oxide-semiconductor End is connected;The grid of the 5th switch metal-oxide-semiconductor is used to receive the switching signal of the CPU control switch unit;By described The source electrode of five switch metal-oxide-semiconductors is loaded as the output end of the anti-reverse current circuit of the backup power source for connecting.Due to battery itself Voltage is lower than supply voltage, if using the anti-reverse-current swithcs of the common diode in power supply road, since diode cross-pressure is excessive (700mV) meeting can not be powered to supported chip so that last output voltage level is too low, so using special construction of switch, The effect of the substrate switch of this structure is that the Body (substrate) that high level in battery or power is linked into switch MOS always is held, Such that regardless of being battery power supply or power supply power supply, switch MOS is since the end Body is in maximum potential, so the equal energy of switch MOS It works normally, and since this switch MOS cross-pressure is very low (being less than 200mV), meets battery road power reguirements, output end can be blocked Backward current, also can guarantee backup power source be low-voltage battery when cross-pressure requirement.
Fig. 4 is respectively without external energy-storage travelling wave tube, has external energy-storage travelling wave tube, using buck of the present invention modulation nothing from top to bottom When the cut-in stand-by power supply of energy-storage travelling wave tube, the voltage oscillogram of output.It can be seen that when without external energy-storage travelling wave tube, due to first The active and standby road output voltage level that begins is equal, can not power, cause standby upon handover enabling in advance to spare road voltage-stablizer Could start to power with voltage-stablizer, output voltage is caused to have a violent jump, output voltage be pulled to it is very low, if supplied at this time Electricity can bring mistake to the output of subsequent conditioning circuit;When possessing the biggish external energy-storage travelling wave tube of capacitance, the nothing of external capacitive is utilized Voltage jump characteristic effectively prevents the jump of output voltage, but can sacrifice the long-pending pin with chip of external PCB surface at this time Quantity;And when the standby usage power supply switch circuit in application the present embodiment, boosting behaviour is carried out to spare road in advance in switching Make, so that backup power source is powered in advance, and then prevent output voltage from jumping, achieve the purpose that seamless voltage-transition.
Embodiment 2
In the embodiment of the present invention 2, a kind of standby usage power-supply switching method is also disclosed, this method is based on above-mentioned active and standby It is realized with power supply switch circuit, executes following operation inside CPU control switch unit:
Step S1: it receives and parses through control instruction, detect current power supply state;Wherein, the control instruction is to utilize Main power source power supply is powered using backup power source.The control instruction is to be powered using main power source or powered using backup power source, The time of control instruction sending, type can be designed as needed by user.For example, when working properly, the control instruction of sending To be powered using main power source;When entering suspend mode, the control instruction of sending is to be powered using backup power source.
Step S2:
Step S21: when the control instruction be using main power source power supply and current time backup power source do not power when, control System is powered by the main power source;
Step S22: when the control instruction be using backup power source power supply and current time main power source powering when, The backup power source access adjustable up-down pressure voltage-stablizer is opened, the backup power source access adjustable up-down pressure voltage-stablizer is adjusted Voltage quasi position, until voltage quasi position after the anti-reverse current circuit of backup power source is higher than main power source access voltage-stablizer process Main power source puts the voltage quasi position after adverse current circuit, and starts the anti-reverse current circuit of the backup power source, switches by the backup power source Power supply;Stablize to the backup power source supply voltage, close the main power source access voltage-stablizer, and it is logical to adjust the backup power source The voltage quasi position of road adjustable up-down pressure voltage-stablizer drops back to the voltage quasi position lower than the main power source access voltage-stablizer, until passing through Voltage quasi position after the anti-reverse current circuit of backup power source is lower than the main power source access voltage-stablizer after main power source puts adverse current circuit Voltage quasi position;
Step S23: when the control instruction be using main power source power supply and current time backup power source powering when, The main power source access voltage-stablizer is opened, is powered by the main power source, is stablized to the main power source supply voltage, described in closing Backup power source access adjustable up-down presses voltage-stablizer, and closes backup power source and put adverse current circuit.
The specific implementation process of embodiment of the method is referring to foregoing circuit embodiment in the present invention, and the present embodiment is herein not It repeats again.Since this method embodiment is identical as foregoing circuit embodiment principle, so this method also has foregoing circuit implementation The corresponding technical effect of example.
It will be understood by those skilled in the art that realizing all or part of the process of above-described embodiment method, meter can be passed through Calculation machine program is completed to instruct relevant hardware, and the program can be stored in computer readable storage medium.Wherein, institute Stating computer readable storage medium is disk, CD, read-only memory or random access memory etc..
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto, In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by anyone skilled in the art, It should be covered by the protection scope of the present invention.

Claims (10)

1. a kind of standby usage power supply switch circuit characterized by comprising backup power source access adjustable up-down pressure voltage-stablizer, Main power source access voltage-stablizer, the anti-reverse current circuit of main power source, the anti-reverse current circuit of backup power source, CPU control switch unit;Wherein,
The backup power source access adjustable up-down pressure voltage-stablizer, the anti-reverse current circuit of the backup power source are sequentially arranged in standby electricity In the current supply circuit of source;The main power source access voltage-stablizer, the anti-reverse current circuit of the main power source are sequentially arranged and power back in main power source Lu Zhong;
The CPU controls switch unit, and for adjusting when needing backup power source to power, the backup power source access is adjustable to be risen The voltage quasi position of voltage-releasing voltage stabilizer, until the voltage quasi position after the anti-reverse current circuit of backup power source is higher than the main power source access Voltage quasi position of the voltage-stablizer after main power source puts adverse current circuit, switching are powered by the backup power source;It is also used to work as and needs to lead When power supply power supply, powered by backup power source power switching to main power source.
2. standby usage power supply switch circuit according to claim 1, which is characterized in that the CPU controls switch unit tune After the voltage quasi position for saving the backup power source access adjustable up-down pressure voltage-stablizer, start the anti-reverse current circuit of the backup power source;
After switching by backup power source power supply, stablizes to the backup power source supply voltage, close the main power source access Voltage-stablizer, and the voltage quasi position of the backup power source access adjustable up-down pressure voltage-stablizer is adjusted, until anti-by backup power source Voltage quasi position after adverse current circuit is lower than voltage quasi position of the main power source access voltage-stablizer after main power source puts adverse current circuit.
3. standby usage power supply switch circuit according to claim 2, which is characterized in that when by backup power source power switching extremely When main power source is powered, the main power source access voltage-stablizer is opened, is powered by the main power source, to the main power source supply voltage After stabilization, the backup power source access adjustable up-down pressure voltage-stablizer and the anti-reverse current circuit of backup power source are closed.
4. standby usage power supply switch circuit according to any one of claim 1-3, which is characterized in that the backup power source It includes: Width funtion domain linear voltage-stabilizing circuit, level shifting circuit, voltage regulator circuit that access adjustable up-down, which presses voltage-stablizer,;Its In,
The output end of the CPU control switch unit is connected with the input terminal of the level shifting circuit, the level conversion electricity The output end on road is connected with the input terminal of the voltage regulator circuit, the output end of the voltage regulator circuit and the Width funtion The input terminal of domain linear voltage-stabilizing circuit is connected;The voltage regulator circuit is used to control switch unit output according to the CPU It controls signal and adjusts dividing ratios, to adjust the electric current of voltage regulator circuit output end;
The electric current that Width funtion domain linear voltage-stabilizing circuit is inputted based on input terminal changes the voltage of output end;
The output end of Width funtion domain linear voltage-stabilizing circuit is connected with the input terminal of the anti-reverse current circuit of the backup power source.
5. standby usage power supply switch circuit according to claim 4, which is characterized in that Width funtion domain linear voltage stabilization electricity Road includes: band-gap reference circuit, operational amplifier, first switch metal-oxide-semiconductor, resistance R1;Wherein,
The backup power source output end respectively with the power end of band-gap reference circuit anode, the first switch metal-oxide-semiconductor Source electrode is connected;
The output end of the band-gap reference circuit connects the inverting input terminal of the operational amplifier;
The non-inverting input terminal of the operational amplifier connects one end of the resistance R1, described in the other end connection of the resistance R1 The drain electrode of first switch metal-oxide-semiconductor, the output end of the operational amplifier connect the grid of the first switch metal-oxide-semiconductor;
The drain electrode of the first switch metal-oxide-semiconductor is the output end of Width funtion domain linear voltage-stabilizing circuit;
The non-inverting input terminal of the operational amplifier is the input terminal of Width funtion domain linear voltage-stabilizing circuit.
6. standby usage power supply switch circuit according to claim 4, which is characterized in that the voltage regulator circuit includes the Two switch metal-oxide-semiconductors, resistance R2, resistance R3;
The grid of the second switch metal-oxide-semiconductor is connected with the output end of the level shifting circuit, the second switch metal-oxide-semiconductor Drain electrode be connected with the input terminal of Width funtion domain linear voltage-stabilizing circuit;The source electrode of the second switch metal-oxide-semiconductor is through resistance R3 After be grounded;
The both ends of the resistance R2 are connected with the source electrode of the second switch metal-oxide-semiconductor, drain electrode respectively.
7. standby usage power supply switch circuit according to claim 1, which is characterized in that the circuit further includes backup power source Electricity self-detection module for detecting the voltage of the backup power source, and will test result and be sent to the CPU control switching list Member;When the voltage of backup power source is lower than voltage threshold, backup power source is stopped using to power.
8. standby usage power supply switch circuit according to claim 4, which is characterized in that the anti-reverse current circuit of backup power source It include: third switch metal-oxide-semiconductor, the 4th switch metal-oxide-semiconductor, the 5th switch metal-oxide-semiconductor;Wherein,
Source electrode, the described 4th grid for switching metal-oxide-semiconductor of the third switch metal-oxide-semiconductor are all connected with the main power voltage;It is described Grid, the described 4th source electrode for switching metal-oxide-semiconductor of third switch metal-oxide-semiconductor are all connected with the backup power source cell voltage;Described Three switch metal-oxide-semiconductors are connected after being connected with the drain electrode of the 4th switch metal-oxide-semiconductor, substrate with the substrate of the 5th switch metal-oxide-semiconductor; The drain electrode of the 5th switch metal-oxide-semiconductor is connected with the output end of Width funtion domain linear voltage-stabilizing circuit;The 5th switch MOS The grid of pipe is used to receive the switching signal of the CPU control switch unit;Using the source electrode of the 5th switch metal-oxide-semiconductor as institute The output end of the anti-reverse current circuit of backup power source is stated for connecting load.
9. standby usage power supply switch circuit according to claim 2, which is characterized in that the anti-reverse current circuit of backup power source Voltage quasi position afterwards is higher than voltage quasi position of the main power source access voltage-stablizer after main power source puts adverse current circuit, comprising:
Higher than the 10%-15% of the main power source access stabilizer output voltage;
Voltage quasi position after the anti-reverse current circuit of backup power source is put lower than the main power source access voltage-stablizer by main power source inverse Voltage quasi position after current circuit, comprising:
Lower than the 10%-15% of the main power source access stabilizer output voltage.
10. a kind of standby usage power-supply switching method, which is characterized in that the method is based on described in any one of claim 1-9 Standby usage power supply switch circuit realize, execute following operation inside CPU control switch unit:
It receives and parses through control instruction, detect current power supply state;Wherein, the control instruction be using main power source power supply or It is powered using backup power source;
When the control instruction be using main power source power supply and current time backup power source do not power when, control pass through the master Power supply power supply;
When the control instruction be using backup power source power supply and current time main power source powering when, open it is described spare Power path adjustable up-down presses voltage-stablizer, adjusts the voltage quasi position of the backup power source access adjustable up-down pressure voltage-stablizer, Until voltage quasi position after the anti-reverse current circuit of backup power source be higher than the main power source access voltage-stablizer put by main power source it is inverse Voltage quasi position after current circuit, and start the anti-reverse current circuit of the backup power source, switching is powered by the backup power source;To described Backup power source supply voltage is stablized, and the main power source access voltage-stablizer is closed, and adjusts the adjustable liter of the backup power source access The voltage quasi position of voltage-releasing voltage stabilizer, until the voltage quasi position after the anti-reverse current circuit of backup power source is lower than the main power source access Voltage quasi position of the voltage-stablizer after main power source puts adverse current circuit;
When the control instruction is to open the main electricity using main power source power supply and when current time backup power source is being powered Source access voltage-stablizer, is powered by the main power source, is stablized to the main power source supply voltage, is closed the backup power source access Adjustable up-down presses voltage-stablizer, and closes backup power source and put adverse current circuit.
CN201910803071.8A 2019-08-28 2019-08-28 Main and standby power supply switching circuit and method Active CN110445248B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910803071.8A CN110445248B (en) 2019-08-28 2019-08-28 Main and standby power supply switching circuit and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910803071.8A CN110445248B (en) 2019-08-28 2019-08-28 Main and standby power supply switching circuit and method

Publications (2)

Publication Number Publication Date
CN110445248A true CN110445248A (en) 2019-11-12
CN110445248B CN110445248B (en) 2021-04-06

Family

ID=68438235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910803071.8A Active CN110445248B (en) 2019-08-28 2019-08-28 Main and standby power supply switching circuit and method

Country Status (1)

Country Link
CN (1) CN110445248B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110940965A (en) * 2019-11-15 2020-03-31 上海禾赛光电科技有限公司 Power supply abnormity monitoring system and method for LIDAR and LIDAR system
CN111090325A (en) * 2019-11-15 2020-05-01 苏州浪潮智能科技有限公司 Hot standby power switching system based on storage system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105990900A (en) * 2015-01-30 2016-10-05 明瑞电子(成都)有限公司 Redundancy power control circuit and redundancy power supplying system using same
US20190109486A1 (en) * 2017-10-05 2019-04-11 Acbel Polytech Inc. Redundant power supply system that prolongs the holdup time after a power failure
CN109787346A (en) * 2018-12-27 2019-05-21 苏州佳世达光电有限公司 Power-supply management system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105990900A (en) * 2015-01-30 2016-10-05 明瑞电子(成都)有限公司 Redundancy power control circuit and redundancy power supplying system using same
US20190109486A1 (en) * 2017-10-05 2019-04-11 Acbel Polytech Inc. Redundant power supply system that prolongs the holdup time after a power failure
CN109787346A (en) * 2018-12-27 2019-05-21 苏州佳世达光电有限公司 Power-supply management system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110940965A (en) * 2019-11-15 2020-03-31 上海禾赛光电科技有限公司 Power supply abnormity monitoring system and method for LIDAR and LIDAR system
CN111090325A (en) * 2019-11-15 2020-05-01 苏州浪潮智能科技有限公司 Hot standby power switching system based on storage system

Also Published As

Publication number Publication date
CN110445248B (en) 2021-04-06

Similar Documents

Publication Publication Date Title
CN203071817U (en) Switching power supply circuit
CN102761273B (en) No-load control system of original-side feedback AC-DC switching power supply
CN101114797B (en) Constant voltage supply circuit
CN102427296B (en) Switching mode regulator of low quiescent current
CN101199105A (en) Step-down type switching regulator, control circuit thereof, and electronic device using the same
CN102414970A (en) Energy-efficient standby mode in a switching power supply
CN108241396A (en) A kind of low pressure difference linear voltage regulator for improving transient response speed
CN110445248A (en) A kind of standby usage power supply switch circuit and method
CN109814650A (en) A kind of low pressure difference linear voltage regulator clamping transistor structure
CN202166908U (en) Combination structure of low dropout regulator (LDO) and direct-current (DC) to direct-current (DC) converter
US20110006728A1 (en) Hybrid battery charger and control circuit and method thereof
CN203520222U (en) LDO (low dropout regulator)
CN103023314B (en) Buck-boost switching power supply and controller thereof
CN103178713B (en) Low dropout regulator and method capable of remarkably reducing standby power consumption
CN209488469U (en) The unilateral adjuster and adjustment system of comparator-type
CN104410300A (en) Synchronous rectification drive circuit and television set
CN105159385B (en) Low-power-dissipation low-dropout voltage regulator
CN201282521Y (en) Silent circuit for opening/closing computer and television set with the same
CN108808841B (en) Power supply switching system and intelligent electric energy meter
CN203225658U (en) Self-conduction boost switch power supply
CN203289074U (en) Power supply direct-supply protection circuit and set-top box
CN102902336B (en) The power supply link block of mainboard, mainboard and electronic equipment thereof
CN109656292A (en) Voltage regulator and system on chip
CN202309922U (en) Low power consumption standby circuit and television set
CN203014675U (en) Buck-boost switching power supply and controller thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant