Power supply circuits
Technical field
This utility model embodiment is related to power supply power supply technique, more particularly, to a kind of power supply circuits.
Background technology
Single switch latching circuit, that is, after momentary breaks after controlling switch transient switching, circuit persistently remains powered on state, directly
Whole circuit breaker just can be made to controlling switch after turning on again;Such circuit, referred to as Single switch latching circuit.
Existing single-button latching circuit generally passes through latch or chip microcontroller auto-lock function, but latch and list
Piece machine is required to connect an independent current source, provides electric energy to realize the self-locking of system from this independent current source to latch or single-chip microcomputer
Function, but under system off position, its latch or single-chip microcomputer remain a need for continuing to be in state of " awaiting orders " at any time
There is provided electric energy so that the power consumption of whole system is larger.In order to overcome power consumption this defect big, as shown in figure 1, existing band
There is the power supply circuit of auto-lock function, realize the power supply circuits of its auto-lock function by energy-storage units, its concrete operating principle is,
When the closure moment of switch S1, NMOS tube V2Grid V2GVoltage be resistance R3 and electric capacity C1 two ends voltage, NMOS tube V2
Source electrode V2SGround connection, NMOS tube V2Gate-to-source between voltage V2GSMore than cut-in voltage, NMOS tube V2Conducting, PMOS
V1GGrid voltage be [R5/(R1+R5)]*Vin, PMOS V1SSource voltage be Vin, then PMOS V1Gate-to-source it
Between voltage V1GSLess than cut-in voltage, PMOS V1Conducting, power supply circuits VoutEnd and VinEnd connects, and electric capacity C1 is in and fills simultaneously
Electricity condition, now entirely power supply unit is in self-locking state.When the closure moment again of switch S1, electric capacity C1 is put by resistance R3
Electricity, as NMOS pipe V2Gate-to-source between voltage V2GSWhen being not more than cut-in voltage, NMOS tube V2It is in cut-off state, this
When PMOS V1GGrid voltage be Vin, then PMOS V1Cut-off, power supply circuits VoutEnd and VinEnd disconnects.By NMOS tube V2
Realize its auto-lock function, its shut-off function is realized by electric capacity C1 discharge and recharge.Although foregoing circuit solve the problems, such as low in energy consumption,
But also there is following defect:Length is needed to be under lasting closure state just making power supply circuits stop supplying by switch S1
Electricity, when switching S1 closing time and being shorter, NMOS tube V2Gate-to-source between voltage V2GSMore than cut-in voltage, its power supply
Circuit is still within power supply state it is impossible to reach expected power-off effect.
Utility model content
This utility model provides a kind of power supply circuits, has more stable auto-lock function, low in energy consumption, stable electric power excellent
Point.
On the one hand, this utility model provides a kind of power supply circuits, wherein, including:
Switch element, control end is electrically connected with the outfan of control unit, and input is electrically connected with the first feeder ear, output
End is electrically connected with load, the drive signal that the described control unit receiving for the control end according to described switch element sends
Switch between conducting and off-state;
Control unit, the power end of described control unit is electrically connected with the outfan of described switch element, is used to described
Switch element works in the first electric energy receiving described first feeder ear output under conducting state, and exports institute by outfan
State drive signal,
Load, is used to described switch element and works in the first electricity receiving described first feeder ear output under conducting state
Can,
Wherein, described control unit, including:
Trigger switch;
Detector unit, input is electrically connected with described trigger switch, and outfan is electrically connected with the input of a controller, uses
To detect the working condition of described trigger switch, work in output detection signal under conducting state in described trigger switch;
Controller, outfan is electrically connected with a driver element, in order to described detection signal is received by input, and according to
Described detection signal forms a control signal and exports;
Driver element, input is electrically connected with the outfan of described controller, in order to receive described control signal basis
Described control signal forms the output of described drive signal, and the outfan of described driver element is as the output of described control unit
End.
Preferably, above-mentioned power supply circuits, wherein, described driver element, including,
First diode, positive terminal connects the control end of described switch element, and end of oppisite phase connects the one of described trigger switch
End;
Second switch, input connects the control end of described switch element, and outfan connects the another of described trigger switch
End and publicly;Control end connects the input of described driver element,
Wherein, the input of described driver element is formed by the second input/output terminal of described controller.
Preferably, above-mentioned power supply circuits, wherein, described detector unit, including,
Second diode, positive terminal connects the input of described detector unit and the power end of described controller, end of oppisite phase
Connect the positive terminal of described first diode;
Wherein, the input of described detector unit is formed by the first input/output terminal of described controller.
Preferably, above-mentioned power supply circuits, wherein, described driver element also includes,
Second feeder ear, connects the control end of described second switch, is used to described first feeder ear shutdown transient output
One the second electric energy supplying described second switch conducting.
Preferably, above-mentioned power supply circuits, wherein, described second feeder ear includes
Storage capacitor, negative terminal connect described in publicly, anode connect described controller described second input/output terminal;
First discharge resistance, one end connects the anode of described storage capacitor, and the other end connects the control of described second switch
End;
Second discharge resistance, one end connects the control end of described second switch, described in other end connection publicly.
Preferably, above-mentioned power supply circuits, wherein, described second feeder ear, also include
Second filter branch, be connected to described second feeder ear and described publicly between.
Preferably, above-mentioned power supply circuits, wherein, described second switch is formed by audion, the current collection of described audion
Pole connects the control end of described switch element, and emitter stage connects one end and publicly of described trigger switch respectively;Base stage connects
The input of described driver element.
Preferably, above-mentioned power supply circuits, wherein, described switch element includes
PMOS, grid forms the control end of described switch element, and source electrode connects described first feeder ear, and drain electrode connects institute
State load;
First divider resistance, one end connects described source electrode,
Second divider resistance, one end connects described grid, and the other end connects the other end of described first divider resistance respectively
And described driver element.
Preferably, above-mentioned power supply circuits, wherein, also include the first filter branch, be connected to described first feeder ear with
One publicly between, in order to filter the AC harmonic in described first electric energy.
Preferably, above-mentioned power supply circuits, wherein, described controller is formed by model STM8S103KS single-chip microcomputer.
The technical scheme of the present embodiment, under switching means conductive state, control unit could go up electricity, and that is, feeder ear is not powered
In the state of, control unit does not consume any electric energy, solves the big defect of power consumption in prior art, simultaneously in the application, control
Unit processed realizes expected power-off effect in the moment of the secondary triggering of trigger switch, and need not persistently press trigger switch can be real
Existing open circuit, enables to whole power supply circuits and is in stable power supply state.
Brief description
Fig. 1 is a kind of power supply circuits of prior art;
Fig. 2 is the structural representation of the power supply circuits in this utility model embodiment;
Fig. 3 is the structural representation of the power supply circuits in this utility model embodiment;
Fig. 4 is the control planning in this utility model embodiment between the first input/output terminal and the second input/output terminal
Oscillogram.
Specific embodiment
The utility model is described in further detail with reference to the accompanying drawings and examples.It is understood that herein
Described specific embodiment is used only for explaining this utility model, rather than to restriction of the present utility model.Further need exist for
Bright, for the ease of description, in accompanying drawing, illustrate only the part related to this utility model rather than entire infrastructure.
As shown in figure 1, the existing power supply circuit with auto-lock function, exist and make at it by switch S1 for needs are long
Under lasting closure state, power supply circuits can be the reason this defect of power-off:
Power-off because of power supply circuits is determined by the electric discharge of electric capacity C1, when electric capacity C1 is discharged to NMOS tube V2Gate-to-source
Between voltage V2GSWhen being not more than cut-in voltage, power supply circuits ability power-off, when the discharge time of electric capacity C1 is shorter, NMOS
Pipe V2Gate-to-source between voltage V2GSMore than cut-in voltage, its power supply circuits is still within power-up state it is impossible to normal
Power-off.Therefore need length just to enable breaking effect by switch S1 so that the electric energy of electric capacity C1 is reduced under cut-in voltage.
Embodiment one
Fig. 2 show the structural representation of the power supply circuits of this utility model embodiment one offer, the tool of this power supply circuits
Body structure is as follows:
Switch element 1, control end is electrically connected with the outfan of control unit 2, and input is electrically connected with the first feeder ear, defeated
Go out end to electrically connect with load, the driving that the described control unit accepting for the control end according to described switch element 1 sends
Signal switches between conducting and off-state;
Control unit 2, the power end of described control unit 2 is electrically connected with the outfan of described switch element 1, is used to institute
State switch element 1 and work in the first electric energy accepting one first feeder ear output under conducting state, and exported by outfan
Described drive signal,
Load, be used to described switch element 1 work in accept under conducting state described first feeder ear output first
Electric energy,
Wherein, described control unit 2, including:
Trigger switch;
Detector unit 21, input is electrically connected with described trigger switch, the input electrical connection of outfan one controller 20,
In order to detect the working condition of described trigger switch, work in described trigger switch and under conducting state, export a detection signal;
Controller 20, forms a control signal output in order to receive and according to described detection signal;
Driver element 22, outfan is electrically connected with described driver element 22, and forms described drive according to described control signal
Dynamic signal output, the outfan of described driver element is as the outfan of described control unit.
The operation principle of this power supply circuits is:
Under the non-power-up state of control unit 2, trigger switch closure snap switch unit 1 turns on, and feeder ear is to control unit 2
And load provides an electric energy, now electricity in control unit 2, control unit 2 exports a drive signal and is in for switch element 1 and continues
Conducting state, the first feeder ear continues to provide one first electric energy to control unit 2 and load, and whole power supply circuits are in self-locking shape
State.Trigger switch closes moment again, and detector unit 21 exports a detection signal, and controller 20 forms one according to this detection signal
Control signal exports to driver element 22, and driver element 22 forms a drive signal output, drive signal according to this control signal
Controlling switch unit 1 switches to off state, and feeder ear stops providing electric energy, whole power supply circuits to control unit 2 and load
Instant cut-off.
The technical scheme of the present embodiment,
Under switching means conductive state, control unit could go up electricity, and in the state of that is, feeder ear is not powered, control unit is not
Consume any electric energy, solve the big defect of power consumption in prior art, simultaneously in the application, control unit is secondary in trigger switch
The moment of triggering realizes expected power-off effect, need not persistently press trigger switch and can achieve open circuit, enables to whole
Power supply circuits are in stable power supply state.
Embodiment two
As shown in figure 3, on the basis of technique scheme, this enforcement provides a specific power supply circuit, including:
First feeder ear Vin;
Switch element 1, mainly formed by PMOS, the first divider resistance R1, the second divider resistance R2, wherein PMOS
Grid forms the control end of switch element 1.
Detector unit 21, is mainly formed by the first input/output terminal IO1 of the second diode D2, controller 20;Wherein
One input/output terminal IO1 is formed by the input of described detector unit.
Controller 20, can be formed by model STM8S103KS single-chip microcomputer,
Driver element 22 is mainly by the first diode D1, trigger switch K, second switch Q2, the second input/output terminal IO2
Formed, the second input/output terminal IO2 of wherein said controller 20 forms the input of described driver element 22, second switch
The colelctor electrode C-shaped of Q2 becomes the control end of second switch Q2.
PMOS grid G forms described switch element 1 control end, and PMOS source S connects described first feeder ear Vin,
PMOS drain D connects described load;First divider resistance R one end connects described PMOS source S, and the other end connects second point
One end of piezoresistance R2, the second divider resistance R2 other end connects described PMOS grid G, and the second diode D2 positive terminal connects
The power end VCC of the first input/output terminal IO1 and described controller 20, end of oppisite phase connects the positive of described first diode D1
End;First diode D2, positive terminal connects described PMOS grid G, and end of oppisite phase connects one end of described trigger switch K;Second
The colelctor electrode C of switch Q2 connects described PMOS grid G, and emitter E connects the other end, publicly of described trigger switch K
GND;Base stage B connects described second input/output terminal IO2.
Controller 20 controls the first input/output terminal IO1, described second input/output terminal IO2 with side as shown in Figure 4
Formula works, and trigger switch K high level is conducting state, and trigger switch K low level is cut-off state, and the second input/output IO2
Output voltage overturn in the trailing edge of the first input/input/output terminal IO1, the frequency of the first input/output terminal IO1
It is equal to the triggering frequency of triggering exploitation K.
The operation principle of the present embodiment, presses trigger switch K (trigger switch disconnects after conducting moment), the anti-phase termination of D1
Ground, D1 forward conduction, the grid G of Q1 connects publicly GND, and the gate-source pressure drop Vgs of Q1 is less than 0, Q1 and turns on, the first confession
Respectively to controller 20 and load supplying, after electricity on controller 20, the second input/output terminal IO2 exports high level to electric end Vin,
The pressure drop Vbe of the Base-Emitter of Q2 is more than 0.6, and (emitter stage of Q2 connects publicly, and the base stage of Q2 connects high level, and definition is more than
The level of 0.6V is high level), Q2 turns on, and after Q2 conducting, the grid of Q1 is continuously connected with publicly, and that is, Q1 is held on, herein
K disconnects the working condition not affecting Q1, and power supply circuits realize auto-lock function.
Press trigger switch K again, the second diode D2 connects publicly GND, the second diode D2 forward conduction (second
Diode D2 positive terminal connects the power end VCC of controller, is sent to end ground connection), the first input/output terminal IO1 connects low level, control
Output low level (the control of low level control second input/output terminal IO2 that device 20 processed detects according to the first input/output terminal IO1
Unit processed overturns the high level that the second input/output terminal IO2 exports for low level), the ground level of Q2 connects low level, and Q2 is in and cuts
Only state, the grid voltage of corresponding Q1 switchs to high level by original low level, and Q1 turns off, the first feeder ear Vin stop to
Control unit and load supplying.
In above-described embodiment, the power end VCC connecting valve unit of controller, individually do not connect a power supply, pass through
First feeder ear is powered, and in the state of the first feeder ear is not powered, control unit (includes controller, driver element, detection list
First) do not consume any power, in addition, getting final product in fact it is thus only necessary to press triggering exploitation in the state of needing to turn off power supply circuits
Existing power-off effect, changes conducting and the shutoff of real-time control Q1 by the level of the second input/output terminal IO2, need not be long-time
Press trigger switch and get final product real-time power-off, stability is preferable.
Example IV
Continue as shown in figure 1, existing power supply circuits also have a defect, for VinTerminate into voltage decline abruptly
State, power supply circuits are unable to normal power supply, for example, as switch S1Closure moment, Vin(0+)Far smaller than Vin(0-), PMOS V1Place
In cut-off state it is assumed that VinTerminate into voltage decline abruptly be about 0V, VinIt is in zero point state, PMOS V1GGrid
Voltage is 0, PMOS V1SSource electrode close to 0, PMOS V1It is in cut-off state, power supply circuits nor normal power supply.
The power supply circuits that the application provides equally can overcome drawbacks described above.
On the basis of above-described embodiment, described driver element 22 also includes the second feeder ear, is used to described first confession
Electric end Vin shutdown transient output one supplies the second electric energy of described second switch conducting.Further, described second feeder ear includes
Storage capacitor C1, negative terminal connect described in publicly;
First discharge resistance R3, one end connects the anode of described storage capacitor C1, and the other end connects described second switch Q2
Base stage B;
Second discharge resistance R4, one end connects described second switch Q2 base stage B, the other end connect described in publicly GND.
The operation principle of the present embodiment is:As above-mentioned, during Q1 turns on, the high electricity of the second input/output terminal IO2 output
Flat, then storage capacitor C1 is in charged state, and when the first feeder ear Vin momentary power failure, storage capacitor C1 passes through first and discharges
Resistance R3, the second discharge resistance R4 electric discharge, the pressure drop of the second discharge resistance R4 is available for that Q2 is in the conduction state, and Q2 conducting is at Q1
In conducting state.
Further, storage capacitor C1 can be 22uF/10V storage capacitor, and the resistance of the first discharge resistance R3 can be 410K
The resistance of Ω, the second discharge resistance R4 can be 10K Ω, in storage capacitor C1 discharge process, Q2 base voltage Vb=[10/ (410+
10)] * 10 ≈ 0.6V, that is, more than cut-in voltage, Q2 turns on the pressure drop Vbe of the Base-Emitter of Q2.
The technical scheme of the present embodiment, by arranging one second feeder ear, falling occurs in the electric energy of the first feeder ear output
In the state of, whole power supply circuits remain to continued power.But in above-described embodiment, such as in the first electricity of the first feeder ear output
Energy unsure state, can be by adjusting the energy storage value of energy storage electric energy, and/or the resistance prolongation power supply circuits of adjustment discharge resistance
ON time.Operation principle is identical with above-mentioned enforcement, does not repeat herein.
As further preferred embodiment, also include the first filter branch C2, be connected to described first feeder ear and institute
State publicly between GND, in order to filter the AC harmonic in described first electric energy.So that the stable electric energy of circuit output.
As further preferred embodiment, described second feeder ear also includes the second filter branch C3, is connected to described
Between first feeder ear Vin and described publicly GND.Become in order to filter harmonic wave in the second input/output terminal IO2 output high level
Point, so that the second stable electric energy of the second feeder ear output.
As further preferred embodiment, also include the second filter branch C4, be connected to described load public with described
Between ground GND, in order to filter the filtering composition in the first electric energy that load accepts.
As further preferred embodiment, also include pull-up resistor R5, be connected to the power end VCC and of controller 20
The positive terminal of two diode D2, the positive terminal voltage in order to ensure the second diode D2 is high level voltage.
Although various aspects of the present utility model are given in the independent claim, its aspect bag of the present utility model
Include from described embodiment feature and/or have independent claims feature dependent claims combination, and
It is only not the combination being clearly given in claim.
It should be noted herein that although the foregoing describing example embodiment of the present utility model, but these descriptions
Should not be understood in a limiting sense.On the contrary, several changing and modifications without departing from such as appended power can be carried out
Scope of the present utility model defined in profit requirement.
Note, above are only preferred embodiment of the present utility model and institute's application technology principle.Those skilled in the art's meeting
Understand, this utility model is not limited to specific embodiment described here, can carry out various bright for a person skilled in the art
Aobvious change, readjust and substitute without departing from protection domain of the present utility model.Therefore although passing through above example
This utility model is described in further detail, but this utility model is not limited only to above example, without departing from
In the case of this utility model design, other Equivalent embodiments more can also be included, and scope of the present utility model is by appended
Right determine.