Content of the invention
The technical problem to be solved in the present invention is, provides a kind of protection circuit of Switching Power Supply and method, can make switch
The safe and reliable operation of the switching tube of power supply.
The technical solution adopted for the present invention to solve the technical problems is:Construct a kind of protection circuit of Switching Power Supply, use
In processing to initial driving signal, to generate final drive signal and to export to the switching tube of Switching Power Supply, including:
Sample circuit, is adopted with generating at least one for sampling at least one signal that need to protect of Switching Power Supply
Sample signal;
Decision circuitry, for judging the state of Switching Power Supply according at least one sampled signal described, to generate at least one
Individual state control signal;And
Actuating circuit, for generating final drive according to described initial driving signal and at least one state control signal described
Dynamic signal, and, in the malfunction of Switching Power Supply, described final drive signal is low level;In Switching Power Supply from fault
When state turns normal condition, from the beginning of first trailing edge after fault terminates for the initial driving signal, by described initial driving
Signal is as described final drive signal.
In the protection circuit of Switching Power Supply of the present invention, described actuating circuit includes:
First module, for processing to described initial driving signal and at least one state control signal described, with
Generate the first midway drive signal, and, in the normal condition of Switching Power Supply, described first midway drive signal is initial drive
Dynamic signal;In the malfunction of Switching Power Supply, described first midway drive signal is low level;
Second module, for generating reset signal according at least one state control signal;
3rd module, for according to described reset signal and described first midway drive signal generation the second midway drive letter
Number, and described second midway drive signal and described first midway drive signal are carried out logic and operation, to generate final drive
Dynamic signal, and, in the malfunction of Switching Power Supply, described second midway drive signal constant is low level;In Switching Power Supply
When malfunction turns normal condition, from the beginning of first trailing edge after fault terminates for the first midway drive signal, described
Second midway drive signal constant is high level.
In the protection circuit of Switching Power Supply of the present invention, described first module includes at least one first logical AND
Door, and,
When the quantity of the first logical AND gate is one, the first input end of described first logical AND gate inputs corresponding shape
State control signal, described first logical AND gate second input input initial driving signal, described first logical AND gate defeated
Go out end output the first midway drive signal;
When the quantity of the first logical AND gate is more than or equal to two, the first input end input phase of each the first logical AND gate
The state control signal answered, the second input input initial driving signal of first the first logical AND gate, last first
The output end of logical AND gate exports the first midway drive signal, and, in two neighboring first logical AND gate, previous first
The output end of logical AND gate connects the second input of rear first logical AND gate.
In the protection circuit of Switching Power Supply of the present invention, when the quantity of described state control signal is one,
Described second module includes:Switching tube, pull-up resistor, wherein, the control end of described switching tube accesses described state control signal,
The first end of described switching tube connects high level by pull-up resistor, and the second end of described switching tube is grounded, and, described switching tube
First end output reset signal;
When the quantity of described state control signal is more than or equal to two, described second module includes:Logical AND gate group, open
Guan Guan, pull-up resistor, wherein, described logical AND gate group is used for at least two state control signals carrying out logic and operation, institute
The control end stating switching tube connects the output end of described logical AND gate group, and the first end of described switching tube connects height by pull-up resistor
Level, the second end ground connection of described switching tube, and, the first end output reset signal of described switching tube.
In the protection circuit of Switching Power Supply of the present invention, when the quantity of described state control signal is one,
Described second module includes:First logic inverter, wherein, the input of described first logic inverter accesses described state and controls letter
Number, the output end output reset signal of described first logic inverter;
When the quantity of described state control signal is more than or equal to two, described second module includes:Logical AND gate group,
One logic inverter, wherein, described logical AND gate group is used for at least two state control signals carrying out logic and operation, and described the
The input of one logic inverter connects the output end of described logical AND gate group, and the output end output of described first logic inverter resets
Signal.
In the protection circuit of Switching Power Supply of the present invention, described 3rd module includes:Second logic inverter, D touch
Send out device, the second logical AND gate, wherein, the input input first midway drive signal of described second logic inverter, described second
The output end of logic inverter connects the clock end of described d type flip flop, and the data terminal of described d type flip flop connects high level, and described D touches
Send out the set end ground connection of device, the reset terminal of described d type flip flop inputs described reset signal, the output end output of described d type flip flop
Second midway drive signal, the first input end of described second logical AND gate inputs the second midway drive signal, and described second patrols
Collect second input input the first midway drive signal with door, the final driving of output end output of described second logical AND gate is believed
Number.
In the protection circuit of Switching Power Supply of the present invention, described 3rd module includes:Logic XOR gate, D triggering
Device, the second logical AND gate, wherein, the first input end of described logic XOR gate connects high level, and the second of described logic XOR gate
Input inputs the first midway drive signal, and the output end of described logic XOR gate connects the clock end of described d type flip flop, described
The data terminal of d type flip flop connects high level, the set end ground connection of described d type flip flop, and the reset terminal input of described d type flip flop is described
Reset signal, the output end of described d type flip flop exports the second midway drive signal, the first input end of described second logical AND gate
Input the second midway drive signal, the second input of described second logical AND gate inputs the first midway drive signal, described the
The output end of two logical AND gates exports final drive signal.
The present invention also constructs a kind of guard method of Switching Power Supply, is processed for initial driving signal, to generate
Whole drive signal simultaneously exports to the switching tube of Switching Power Supply, including:
S1. at least one signal that need to protect of Switching Power Supply is sampled to generate at least one sampled signal;
S2. judge the state of Switching Power Supply according at least one sampled signal described, and generate at least one state to control
Signal;
S3. final drive signal is generated according to described initial driving signal and at least one state control signal described, and
And, in the malfunction of Switching Power Supply, final drive signal is low level;Turn normal condition in Switching Power Supply from malfunction
When, from the beginning of first trailing edge after fault terminates for the initial driving signal, initial driving signal is driven letter as final
Number.
In the guard method of Switching Power Supply of the present invention, described step S3 includes:
S31. described initial driving signal and at least one state control signal described are processed, to generate in first
Between drive signal, and, in the normal condition of Switching Power Supply, described first midway drive signal be initial driving signal;?
During the malfunction of Switching Power Supply, described first midway drive signal is low level;
S32. reset signal is generated according at least one state control signal;
S33. according to described reset signal and described first midway drive signal generation the second midway drive signal, and by institute
State the second midway drive signal and carry out logic and operation with described first midway drive signal, to generate final drive signal, and
And, in the malfunction of Switching Power Supply, described second midway drive signal constant is low level;In Switching Power Supply from malfunction
When turning normal condition, from the beginning of first trailing edge after fault terminates for the first midway drive signal, drive in the middle of described second
Dynamic signal constant is high level.
In the guard method of Switching Power Supply of the present invention, in described step S31, to described initial driving signal
The step being processed with least one state control signal described is:
Described initial driving signal and at least one state control signal described are carried out logic and operation.
Implement technical scheme, because actuating circuit controls letter according to initial driving signal and at least one state
Number generate final drive signal, and, when nonserviceabling, final drive signal be low level, can play in fault close
Close the effect of switching tube driving;When turning normal condition from malfunction, from initial driving signal after fault terminates first
Individual trailing edge starts, using initial driving signal as final drive signal, so, even if being high level in initial driving signal
Final stage time failure eliminate, due to final drive signal from initial driving signal first trailing edge after fault terminates
Start just to be equal to initial driving signal, so export to the final drive signal of switching tube to produce the driving arteries and veins of a very little
Width, solves the problems, such as the too high electric stress of switching tube, thus improve the reliability of Switching Power Supply overall operation.
Specific embodiment
In Switching Power Supply, switching tube for example selects the switching tube of model SPW47N60C3 of infineon company, needs
Very little is avoided to drive the appearance of pulsewidth.For the randomness due to fault recovery in prior art, it is easily caused Switching Power Supply
The too high electric stress of switching tube defect, the present invention construct a kind of protection circuit of new Switching Power Supply, this Switching Power Supply
Protection circuit initial driving signal can be processed, to generate final drive signal, then by final drive signal export
Switching tube to Switching Power Supply.With regard to initial driving signal it should be noted that, it is produced by drive signal generation circuit, for example,
For the Switching Power Supply shown in Figure 1A, drive signal generation circuit produces two-way complementation and there is the frequency modulation PWM square wave in dead band, such as
Shown in Figure 1B.Wherein, drive signal generation circuit can be drawn by simulation control chip, the such as type of ON SEMICONDUCTOR company
Number for the integrated chip of MC33067, integrated chip of model L6599 of ST company etc., also can by digital control directly by
CPU draws.
In the protection circuit of Switching Power Supply of the present invention, this protection circuit includes sample circuit, decision circuitry and action electricity
Road three module.And, sample circuit is used at least one signal that need to protect of Switching Power Supply is sampled to generate at least
One sampled signal, the signal of the need protection with regard to being sampled, it should be noted that, it is input overvoltage/undervoltage protection in this protection circuit
During circuit, the signal sampled is input voltage signal;When this protection circuit is input overcurrent protection circuit, the letter sampled
Number be input current signal;When this protection circuit is output over under-voltage protection circuit, the signal sampled is believed for output voltage
Number;When this protection circuit is output overcurrent protection circuit, the signal sampled is output current signal;In this protection circuit it is
During thermal-shutdown circuit, the signal of the need protection sampled is temperature signal.Certainly, this protection circuit is alternatively any of the above guarantor
The multiple combination of shield, now, the quantity of sampled signal is more than one.After sampling, decision circuitry is used for being adopted according at least one
Sample signal judges the state of Switching Power Supply, to generate at least one state control signal.Then, actuating circuit is used for according to initial
Drive signal and at least one state control signal generate final drive signal, and, in the malfunction of Switching Power Supply,
Whole drive signal is low level;When Switching Power Supply turns normal condition from malfunction, terminate in fault from initial driving signal
First trailing edge afterwards starts, using initial driving signal as final drive signal.
Using the protection circuit of the Switching Power Supply of the present invention, due to actuating circuit according to initial driving signal and at least one
State control signal generates final drive signal, and, in Switching Power Supply malfunction, final drive signal is low level,
The effect that closing switch pipe drives in fault can be played;When Switching Power Supply turns normal condition from malfunction, from initial
First trailing edge after fault terminates for the drive signal starts, using initial driving signal as final drive signal, so, that is,
Make to eliminate for the final stage time failure of high level in drive signal, due to final drive signal from initial driving signal in event
First trailing edge after barrier terminates starts just equal to initial driving signal, thus export to switching tube final drive signal not
The driving pulsewidth of a very little can be produced, solve the problems, such as the too high electric stress of switching tube, thus it is whole to improve Switching Power Supply
The reliability of running body.
Fig. 4 is Switching Power Supply of the present invention and the circuit logic diagram of protection circuit embodiment one, in this embodiment, switch electricity
Source is resonance topological full-bridge LLC, and drive signal generation circuit produces two-way complementation and there is the frequency modulation PWM square wave in dead band, that is, just
Beginning drive signal GA, GB.The signal of the need protection to Switching Power Supply for the sample circuit 10 is sampled to generate sampled signal;Judge
Circuit 20 judges the state of Switching Power Supply according to sampled signal, to generate state control signal C_CONTROL, and, when this shape
When state control signal C_CONTROL is high level, Switching Power Supply is normal condition, when this state control signal C_CONTROL is
During low level, Switching Power Supply is malfunction.Actuating circuit includes the first module 31, the second module 32 and the 3rd module 33, its
In, the first module 31 is used for initial driving signal GA, GB and state control signal C_CONTROL process, to generate the
One midway drive signal GA_C1, GB_C1, and, in the normal condition of Switching Power Supply, the first midway drive signal GA_C1,
GB_C1 is initial driving signal GA or GB;In the malfunction of Switching Power Supply, first midway drive signal GA_C1, GB_C1
For low level.Second module 32 is used for generating reset signal R according to state control signal C_CONTROL.3rd module 33 is used for
Second midway drive signal is generated according to reset signal R and first midway drive signal GA_C1, GB_C1, and, in switch electricity
During the malfunction in source, the second midway drive signal constant is low level;When Switching Power Supply turns normal condition from malfunction, from
First trailing edge after fault terminates for the first midway drive signal starts, and the second midway drive signal constant is high level.The
Then second midway drive signal and first midway drive signal GA_C1, GB_C1 are carried out logic and operation by three modules 33, with
Generate final drive signal GA1, GB1, and export to the switching tube of Switching Power Supply, the work of controlling switch power supply.
Fig. 5 is the circuit diagram of actuating circuit the first module embodiments one in Switching Power Supply of the present invention and protection circuit, at this
In embodiment, the quantity of state control signal has n+1, respectively:C_CONTROL, C_CONTROL1 ..., C_CONTROLn,
Accordingly, this first module includes n+1 logical AND gate corresponding with each initial driving signal, and logical AND gate can adopt type
Number for CD4081 logical AND gate.Wherein, for n+1 logical AND gate corresponding to a drive signal, each logical AND gate
First input end input corresponding state control signal, first logical AND gate second input input initial driving signal
GA or GB, the output end of last logical AND gate exports the first midway drive signal GA_Cn or GB_Cn, and, adjacent two
In individual logical AND gate, the output end of previous logical AND gate connects the second input of a rear logical AND gate.Finally need explanation
, in the first module, with the quantity of the logical AND gate corresponding to a drive signal and the quantity phase of state control signal
With, when the quantity of logical AND gate is one, the first input end input state control signal of logical AND gate, the of logical AND gate
Two input input initial driving signal, the output end of logical AND gate exports the first midway drive signal.
Fig. 6 is the circuit diagram of actuating circuit the second module embodiments one in Switching Power Supply of the present invention and protection circuit, at this
In embodiment, the quantity of state control signal has n+1, respectively:C_CONTROL, C_CONTROL1 ..., C_CONTROLn,
Accordingly, this second module includes logical AND gate group, triode Qc, pull-up resistor R3, for example, logic in logical AND gate group
The logical AND gate of model CD4081 can be adopted with door, triode Qc is NPN triode.Wherein, logical AND gate group is used for n+1
Individual state control signal carries out logic and operation, and the multiple logical AND gates in logical AND gate group in this second module can first simultaneously
Connection is connected it is also possible to first connect in parallel again again.The base stage of triode Qc connects the output end of logical AND gate group, electricity by resistance R1
Resistance R1 plays metering function.The colelctor electrode of triode Qc meets high level VCC by pull-up resistor R3, and the emitter stage of triode Qc connects
Ground, pull down resistor R2 is connected between base stage and the emitter stage of triode Qc, and pull down resistor R2 plays Anti-Jamming.Triode Qc
Colelctor electrode output reset signal R.When the quantity of state control signal is one, logical AND gate group can be saved, directly should
State control signal is input to the emitter stage of triode Qc.In addition, triode Qc also can be selected for other types of switching tube.
Fig. 7 is the circuit diagram of actuating circuit the 3rd module embodiments one in Switching Power Supply of the present invention and protection circuit, and this
Three modules include and the logic inverter corresponding to each drive signal, d type flip flop, logical AND gate, and for example, logic inverter can adopt
The logic inverter of CD4009, d type flip flop can adopt the d type flip flop of model CD4013, and logical AND gate can adopt model
The logical AND gate of CD4081.Wherein, the input of logic inverter inputs the first midway drive signal GA_Cn or GB_Cn, logic NOT
The output end of door connects the clock end of d type flip flop, and the data terminal of d type flip flop connects high level VCC, the set termination of d type flip flop
Ground, reset terminal input reset signal R of d type flip flop, the output end of d type flip flop exports the second midway drive signal GA_Q or GB_
Q, the first input end of logical AND gate inputs the second midway drive signal GA_Q or GB_Q, the second input input of logical AND gate
First midway drive signal GA_Cn or GB_Cn, the output end of logical AND gate exports final drive signal GAn or GBn.
Operation principle with reference to the actuating circuit shown in Fig. 8 explanatory diagram 5-7:Assume that only one of which protection judges bar
Part, i.e. one state control signal C_CONTROL of decision circuitry generation, when full-bridge LLC normal operation circuit, mends through feedback
Repay circuit, drive signal generation circuit will obtain the complementary square wave with dead band for the certain frequency, i.e. initial driving signal GA, GB.
In normal non-fault, state control signal C_CONTROL is high level, and in the first module, state controls letter
Number C_CONTROL carries out after logic and operation with initial driving signal GA, GB respectively, obtained first midway drive signal GA_
C1, GB_C1 are identical with initial driving signal GA, GB respectively.Meanwhile, in the second module, reset signal R is low level, and then
Make d type flip flop output high level, that is, second midway drive signal GA_Q, GB_Q is high level, and this second midway drive is believed
Number GA_Q, GB_Q and first midway drive signal GA_C1, GB_C1 after logical AND gate computing, obtained final driving
Signal GA1, GB1 are identical with initial driving signal GA, GB.
When Switching Power Supply breaks down, state control signal C_CONTROL will be changed into low level from high level, first
In module, state control signal C_CONTROL carry out with initial driving signal GA, GB respectively with computing after, can make in the middle of first
Drive signal GA_C1, GB_C1 keep low level.Meanwhile, reset signal R that the 3rd module is exported by low transition will be
So that d type flip flop resets, now, second midway drive signal GA_Q, GB_Q is converted to low level by high level to high level,
This second midway drive signal GA_Q, GB_Q and first midway drive signal GA_C1, GB_C1 after logical AND gate computing,
Obtained final drive signal GA1, GB1 also will keep low level, that is, achieve and close the purpose driving.
When the fault of Switching Power Supply removes, such as, in the t1 moment, state control signal C_CONTROL will be turned by low level
Change high level into, in the first module, state control signal C_CONTROL carries out logic with initial driving signal GA, GB respectively
After computing, obtain first midway drive signal GA_C1, GB_C1 identical with initial driving signal GA, GB, now, in the middle of first
The pulsewidth that a very little in drive signal GB_C1 drives.For technical scheme, the first midway drive signal GA_
C1, GB_C1 are not intended as final drive signal.Meanwhile, in the second module, when state control signal C_CONTROL signal
During by low transition to high level, reset signal R will switch to low level by high level, that is, the pressure eliminating d type flip flop is multiple
Position signal, as long as rising edge in the clock signal of d type flip flop, the output end of d type flip flop will be changed into high level from low level, that is,
Second midway drive signal GA_Q, GB_Q will be high level by low transition, obtain final after logic and operation
Drive signal GA1, GB1, and, this final drive signal GA1, GB1 compare first midway drive signal GA_C1, GB_C1, will
The small pulsewidth no longer occurring not matched that with frequency is driven, and therefore final switching tube VDS due to voltage spikes also will keep normal.
Last it should be noted that, a specific embodiment of the above simply present invention, certainly, in other embodiments, on
Stating embodiment can have various modifications, for example, in one example, in the second module, switching tube, pull-up resistor utilogic
Not gate is substituting.That is, when the quantity of state control signal is one, the second module includes logic inverter, wherein, logic NOT
The input access state control signal of door, the output end output reset signal of logic inverter;Quantity in state control signal
During more than or equal to two, the second module includes logical AND gate group, logic inverter, and wherein, logical AND gate group is used at least two
State control signal carries out logic and operation, and the input of the first logic inverter connects the output end of logical AND gate group, and first patrols
Collect the output end output reset signal of not gate.
Again for example, in the 3rd module of another example, logic inverter utilogic XOR gate substituting, as Fig. 9 institute
Show, the first input end of logic XOR gate connects high level, and the second input of logic XOR gate inputs the first midway drive signal,
The output end of logic XOR gate connects the clock end of d type flip flop, and the data terminal of d type flip flop connects high level, the set of d type flip flop
End ground connection, the reset terminal of d type flip flop inputs described reset signal, and the output end of d type flip flop exports the second midway drive signal, patrols
Collect first input end input the second midway drive signal with door, second input input the first midway drive letter of logical AND gate
Number, the output end of logical AND gate exports final drive signal.
Figure 10 is the flow chart of the guard method embodiment one of Switching Power Supply of the present invention, the guard method of this Switching Power Supply,
Including:
S1. at least one signal that need to protect of Switching Power Supply is sampled to generate at least one sampled signal;
S2. judge the state of Switching Power Supply according at least one sampled signal described, and generate at least one state to control
Signal;
S3. final drive signal is generated according to described initial driving signal and at least one state control signal described, and
And, in the malfunction of Switching Power Supply, final drive signal is low level;Turn normal condition in Switching Power Supply from malfunction
When, from the beginning of first trailing edge after fault terminates for the initial driving signal, initial driving signal is driven letter as final
Number.
Figure 11 is the flow chart of step S3 embodiment one in Figure 10, and step S3 specifically includes:
S31. described initial driving signal and at least one state control signal described are processed, to generate in first
Between drive signal, and, in the normal condition of Switching Power Supply, described first midway drive signal be initial driving signal;?
During the malfunction of Switching Power Supply, described first midway drive signal is low level, in this step, described initial driving is believed
Number with least one state control signal described carry out logic and operation;
S32. reset signal is generated according at least one state control signal;
S33. according to described reset signal and described first midway drive signal generation the second midway drive signal, and by institute
State the second midway drive signal and carry out logic and operation with described first midway drive signal, to generate final drive signal, and
And, in the malfunction of Switching Power Supply, described second midway drive signal constant is low level;In Switching Power Supply from malfunction
When turning normal condition, from the beginning of first trailing edge after fault terminates for the first midway drive signal, drive in the middle of described second
Dynamic signal constant is high level.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area
For art personnel, the present invention can have various changes, combination and change.All within the spirit and principles in the present invention, made
Any modification, equivalent substitution and improvement etc., should be included within scope of the presently claimed invention.