Embodiment
See also shown in Figure 1ly, the switch regulator of an existing known primary side control is described.Described switch regulator comprises transformer 10, and it has auxiliary winding N
A, a winding N
P, and secondary winding N
SFor regulating the output voltage V of switch regulator
OWith output current I
O, control circuit 70 produces switching signal V
PWMTo transistor 20, be used for switching transformer 10.
See also shown in Figure 2ly, the signal waveform of existing known switch regulator illustrated in fig. 1 is described.Because switching signal V
PWMBe high potential (logic-high), can corresponding generation primary side switch current I
PPrimary side switch current I
PPeak I
PIBe given by the following formula:
Wherein, V
INBe the input voltage that is applied to transformer 10, L
PBe a winding N of transformer 10
PInductance value, and T
ONBe switching signal V
PWMON time.
In case switching signal V
PWMDrop to electronegative potential (logic-low), the energy that is stored in the transformer 10 will be sent to the secondary side of transformer 10, and arrive the output of switch regulator via rectifier 40.Correspondingly produce secondary side switch current I
SSecondary side switch current I
SPeak I
S1By following equation expression:
Wherein, V
OBe the output voltage of switch regulator, V
FBe the forward voltage drop of rectifier 40, and L
SBe the secondary winding N of transformer 10
SInductance value, and T
DSBe secondary side switch current I
sDischarge time.
Simultaneously, the auxiliary winding N of transformer 10
AThe place produces reflected signal V
AUXDescribed reflected signal V
AUXBe given by the following formula:
Wherein, T
NAAnd T
NSBe respectively the auxiliary winding N of transformer 10
AWith secondary winding N
SUmber of turn.
As secondary side switch current I
SWhen reducing to zero, reflected signal V
AUXBegin to reduce.This energy that also demonstrates transformer 10 discharges this moment fully.Therefore, as shown in Figure 2, from switching signal V
PWMThe drop edge to reflected signal V
AUXT discharge time in the point measurement equation (2) that begins to descend
DSSecondary side switch current I
SBy primary side switch current I
PDetermine with the umber of turn of transformer 10.Secondary side switch current I
SBy following equation expression:
Wherein, T
NPBe a winding N of transformer 10
PUmber of turn.
Please consult shown in Figure 1ly again, control circuit 70 comprises power end VCC and the earth terminal GND that is used to receive electric power.One voltage divider is connected the auxiliary winding N of transformer 10
AAnd between the grounded reference potential, and voltage divider is formed by resistor 50 and resistor 51.One test side DET of control circuit 70 is connected to the junction point of resistor 50 and resistor 51.The voltage V that DET place, test side produces
DETBe given by the following formula:
Wherein, R
50And R
51It is the resistance value of resistor 50 and 51.
By rectifier 60, the capacitor 65 signal V that further is reflected
AUXCharging thinks that control circuit 70 provides electric power.Current sensing resistor 30 is a current sensing elements.Current sensing resistor 30 is connected to grounded reference potential from the source electrode of transistor 20, with primary side switch current I
PConvert current sensing signal V to
CSThe induction end CS of control circuit 70 is connected to current sensing resistor 30, to detect current sensing signal V
CS
The output OUT of control circuit 70 produces switching signal V
PWMCome switching transformer 10.Voltage compensation end COMV is connected to first compensating network, is used for the frequency compensation of first error amplifier.First compensating network can be one to be connected to the capacitor of grounded reference potential, such as capacitor 31.Current compensation end COMI has second compensating network, is used for the frequency compensation to second error amplifier.Second compensating network also can be one to be connected to the capacitor of grounded reference potential, such as capacitor 32.End COMR able to programme has the resistor 33 that is connected to ground, with according to output current I
OFor the voltage feedback loop of control circuit 70 is adjusted reference signal V
REFReference signal V
REFAdjustment be to compensate the pressure drop of output cable 46, thereby realize load regulation preferably.
See also shown in Figure 3ly, the control circuit 70 according to one embodiment of the invention has been described.First circuit (V-LOOP) 100 passes through voltage V
DETCarry out multiple sampling and produce the first signal V
VWith clock signal S
DSClock signal S
DSExpression secondary side switch current I
ST discharge time
DSSecond circuit (I-LOOP) 300 is by measuring current sensing signal V
CSProduce current waveform signal V
WOscillator (OSC) 200 produces oscillator signal PLS to be used to determine switching signal V
PWMSwitching frequency.Tertiary circuit (π) 400 is by integration current waveform signal V
WWith clock signal S
DSProduce secondary signal V
I Operational amplifier 71 and reference signal V
REFForm first error amplifier, to be used to amplify the first signal V
VAnd provide first feedback loop circuitry for output voltage control.Operational amplifier 72 and reference signal V
REF2Form second error amplifier, to be used to amplify secondary signal V
IAnd provide second feedback loop circuitry for output current control.Adjust circuit (ADJ) 700 and be coupled to end COMR able to programme, with according to the first reference signal V
REF1With secondary signal V
IAdjust reference signal V
REFPulse-width modulation (PWM) circuit 500 and comparator 73,75 form control switching circuit, to produce switching signal V
PWM, and control switching signal V according to the output of first error amplifier and second error amplifier
PWMPulsewidth. Operational amplifier 71 and 72 all has mutual conductance (trans-conductance) output.The output of operational amplifier 71 is connected to the positive input terminal of voltage compensation end COMV and comparator 73.The output of operational amplifier 72 is connected to the positive input terminal of current compensation end COMI and comparator 75.The negative input end of comparator 73 is connected to the output of adder 600.The negative input end of comparator 75 is supplied with ramp signal (ramp signal) RMP that produces from oscillator 200.
Adder 600 is by making current sensing signal V
CSProduce slope signal (slope signal) V in the Calais mutually with ramp signal RMP
SLPThe positive input terminal of comparator 74 is supplied with reference signal V
REF3The negative input end of comparator 74 is connected to induction end CS, thus (cycle-by-cycle) electric current of property performance period restriction.Three outputs of NAND door 79 are connected respectively to the output of comparator 73,74 and 75.Reset signal (reset signal) RST is produced by the output of NAND door 79.Reset signal RST is fed to pwm circuit 500, to be used to control switching signal V
PWMDuty cycle (duty cycle).
To primary side switch current I
PDetect switching signal V
PWMCarry out pulse-width modulation and form current control loop, it is according to reference signal V
REF2And control primary side switch current I
PAmplitude (magnitude).Shown in equation (4), secondary side switch current I
SWith primary side switch current I
PProportional.According to the signal waveform of Fig. 2, the output current I of switch regulator
OBe secondary side switch current I
SMean value.It is by following equation expression:
Thus, the output current I of switch regulator
ORegulated.
Second circuit 300 detects current sensing signal V
CS, and produce current waveform signal V
W Tertiary circuit 400 is by integration current waveform signal V
WWith T discharge time
DSAnd then generation secondary signal V
ISo secondary signal V
IBe expressed as following formula:
Wherein, current waveform signal V
WBy following equation expression:
T wherein
IIt is the time constant of tertiary circuit 400.
From equation (6)-(8) as seen, secondary signal is expressed as follows again:
As seen secondary signal V
IOutput current I with switch regulator
OProportional.Secondary signal V
IWith output current I
OIncrease and increase.Yet, secondary signal V
IThe adjusting of maximum by current control loop be limited to reference signal V
REF2Value.Under the FEEDBACK CONTROL of current control loop, maximum output current I
O(max) be given by the following formula:
Wherein K equals T
IThe constant of/T, G
ABe the gain of second error amplifier, and G
SWIt is the gain of commutation circuit.
The very high (G of loop gain (loop gain) when current control loop
A* G
SW>>1), maximum output current I
O(max) can briefly be defined as following formula:
Thus, according to reference signal V
REF2And with the maximum output current I of switch regulator
O(max) be adjusted to constant current.
In addition, to reflected signal V
AUXBe sampled to switching signal V
PWMCarry out pulse-width modulation and form voltage control loop, it is according to reference signal V
REFAnd control reflected signal V
AUXAmplitude.Shown in equation (3), reflected signal V
AUXWith output voltage V
OProportional.Reflected signal V
AUXAnd then be attenuated to voltage V shown in equation (5)
DET First circuit 100 passes through voltage V
DETCarry out multiple sampling and produce the first signal V
VAccording to reference signal V
RETValue, control the first signal V by the adjusting of voltage control loop
VValue.First error amplifier and commutation circuit provide the loop gain of voltage control loop.Therefore, output voltage V
OBriefly be defined as following formula:
100 couples of reflected signal V of first circuit
AUXCarry out multiple sampling.At secondary side switch current I
SReduced to before zero, immediately voltage is taken a sample and measure.Therefore, secondary side switch current I
SVariation do not influence the forward voltage drop V of rectifier 40
FValue.Yet, as output current I
ODuring variation, the pressure drop of output cable 46 changes thereupon.The formation of adjusting circuit 700 is the pressure drop in order to compensation output cable 46.Resistor 33 is used for the slope of programming, with according to secondary signal V
IVariation and determine reference signal V
REFVariation.Therefore, pressure drop is able to and output current I
OCompensation pro rata.Use the resistor 33 of different value, compensating action can be multiple output cable 46 and programmes.
See also shown in Figure 4ly, first circuit 100 according to an embodiment of the invention has been described.Sampling pulse generator 190 produces sample-pulse signal to carry out multiple sampling.Critical voltage 156 and reflected signal V
AUXProduced current potential translation reflected signal (level-shift reflected signal) mutually.First signal generator comprises counter 171 and AND door 165166, is used to produce sampled signal V
SP1V
SPNThe secondary signal generator comprises d type flip flop (flip-flop) 170, NAND door 163, AND door 164 and comparator 155, is used to produce clock signal S
DSTime delay circuit comprises inverter 162, current source 180, transistor 181 and capacitor 182, be used for when switching signal is disabled, producing one time of delay T
dThe input of inverter 161 is supplied with switching signal V
PWMThe output of inverter 161 is connected to the input of inverter 162, the first input end of AND door 164 and the input end of clock (clock-input) of d type flip flop 170.Signal opening/closing (on/off) transistor 181 of the output of inverter 162.Capacitor 182 is connected in parallel with transistor 181.Applying current source 180 comes to capacitor 182 chargings.Therefore, T time of delay of the capacitance of the electric current of current source 180 and capacitor 182 decision time delay circuit
dOn capacitor 182, obtain the output of time delay circuit.The D input of d type flip flop 170 is by supply voltage V
CCMove high potential to.The output of d type flip flop 170 is connected to second input of AND door 164.AND door 164 output timing signal S
DSTherefore as switching signal V
PWMWhen disabled, clock signal S
DSEnable.The output of NAND door 163 is connected to the RESET input of d type flip flop 170.Two inputs of NAND door 163 are connected respectively to the output of time delay circuit and the output of comparator 155.The negative input end of comparator 155 is supplied with current potential translation reflected signal.The positive input terminal of comparator 155 is supplied with sustaining voltage V
HDTherefore, at T time of delay
dAfter, in case current potential translation reflected signal is lower than sustaining voltage V
HD, clock signal S
DSJust disabled.In addition, as long as switching signal V
PWMBe activated clock signal S
DSAlso disabled.
The 3rd input supply sample-pulse signal of counter 171 and AND door 165166.The output of counter 171 is connected respectively to second input of AND door 165166.The first input end of AND door 165166 is supplied with clock signal S
DSThe four-input terminal of AND door 165166 is connected to the output of time delay circuit.Therefore, produce sampled signal V according to sample-pulse signal
SP1V
SPNIn addition, at clock signal S
DSThe cycle of enabling this section during alternately produce sampled signal V
SP1V
SPNYet, time of delay T
dBe at clock signal S
DSBeginning the time introduce, to suppress sampled signal V
SP1V
SPNSo sampled signal V
SP1V
SPNAt T time of delay
dCycle this section during disabled.
Via test side DET and voltage divider, sampled signal V
SP1V
SPNBe used in regular turn to reflected signal V
AUXTake a sample.Sampled signal V
SP1V
SPNControl switch 121122 is to obtain the sustaining voltage on the capacitor 110111 respectively.Switch 123124 is connected in parallel with capacitor 110111, to be used for capacitor 110111 discharges.Buffer circuit comprises operational amplifier 150151, diode 130131 and current source 135, is used to produce sustaining voltage V
HDThe positive input terminal of operational amplifier 150151 is connected respectively to capacitor 110111.The negative input end of operational amplifier 150151 is connected to the output of buffer circuit.Diode 130131 is connected to the output of buffer circuit from the output of operational amplifier 150151.So sustaining voltage V
HDObtain from the high voltage of sustaining voltage.Current source 135 is used for stopping.Switch 125 is periodically with sustaining voltage V
HDBe transmitted to capacitor 115, to produce the first signal V
VVia oscillator signal PLS off/on switches 125.At T time of delay
dAfter, sampled signal V
SP1V
SPNBegin to produce sustaining voltage.Reflected signal V
AUXSurging disturb (spikeinterference) to be eliminated.As switching signal V
PWMWhen disabled and transistor 20 is closed, reflected signal V
AUXSurging disturb and may occur.
As secondary side switch current I
SWhen reducing to zero, reflected signal V
AUXBegin to reduce.Comparator 155 will detect aforesaid reflected signal V
AUXWith forbidding clock signal S
DSTherefore, clock signal S
DSPulsewidth and secondary side switch current I
ST discharge time
DSBe associated.Simultaneously, sampled signal V
SP1V
SPNDisabled, and as clock signal S
DSStop multiple sampling when disabled.At this moment, the sustaining voltage V of the output of buffer circuit generation
HDTherefore with reflected signal V
AUXBe associated, in case secondary side switch current I wherein
SReduce to zero just to reflected signal V
AUXTake a sample.Sustaining voltage V
HDObtain from the high voltage of sustaining voltage, as reflected signal V
AUXWhen beginning to reduce, it will ignore the voltage of being taken a sample.
See also shown in Figure 5ly, oscillator 200 according to an embodiment of the invention has been described.First voltage is formed by operational amplifier 201, resistor 210, transistor 250 to current converter (first V-to-I converter).First voltage to current converter according to reference signal V
RAnd generation reference current I
250Current mirror is formed by several transistors, and for example transistor 251,252,253,254 and 255, are used for according to reference current I
250Produce oscillator charging current I
253With oscillator discharge current I
255The drain electrode of transistor 253 (drain) produces oscillator charging current I
253The drain electrode of transistor 255 produces oscillator discharge current I
255Switch 230 is connected between the drain electrode and capacitor 215 of transistor 253.Ramp signal RMP obtains on capacitor 215.The positive input terminal of comparator 205 is connected to capacitor 215.Comparator 205 outputting oscillation signal PLS.Switching signal V
PWMSwitching frequency determine by oscillator signal PLS.First end of switch 232 is supplied with high critical voltage V
HFirst end of switch 233 is supplied with low critical voltage V
LSecond end of switch 232 and second end of switch 233 all are connected to the negative input end of comparator 205.The input of inverter 260 is connected to the output of comparator 205, to produce counter-rotating oscillator signal/PLS.Switch 231 and switch 233 are by oscillator signal PLS opening/closing.Switch 230 and switch 232 are by counter-rotating oscillator signal/PLS opening/closing.The resistance value R of resistor 210
210Capacitance C with capacitor 215
215Switching cycle T with the decision switching frequency:
V wherein
OSC=VH-VL.
See also shown in Figure 6ly, second circuit 300 according to an embodiment of the invention is described.The 4th circuit comprises comparator 310, current source 320, switch 330,340 and capacitor 361.To current sensing signal V
CSPeak value take a sample, to produce the 4th signal.The positive input terminal of comparator 310 is supplied with current sensing signal V
CSThe negative input end of comparator 310 is connected to capacitor 361.Switch 330 is connected between current source 320 and the capacitor 361.Switch 330 is by the signal opening/closing of the output of comparator 310.Switch 340 is connected in parallel with capacitor 361, so that capacitor 361 is discharged.Switch 350 periodically is transmitted to capacitor 362 with the 4th signal, to produce current waveform signal V
WSwitch 350 is by oscillator signal PLS opening/closing.
See also shown in Figure 7ly, tertiary circuit 400 according to an embodiment of the invention has been described.Second voltage comprises operational amplifier 410, resistor 450 and transistor 420,421,422 to current converter (second V-to-I converter).The positive input terminal of operational amplifier 410 is supplied with current waveform signal V
WThe negative input end of operational amplifier 410 is connected to resistor 450.The gate pole of the signal driving transistors 420 of the output of operational amplifier 410.The source-coupled of transistor 420 is to resistor 450.Via the drain electrode of transistor 420, electric current I 420 by second voltage to current converter according to current waveform signal V
WAnd produce.Transistor 421 and 422 formation ratios are 2: 1 current mirror.Via the drain electrode of transistor 422, electric current I
420Driven current mirror is to produce programmable charge current I
PRGProgrammable charge current I
PRGBy following equation expression:
R wherein
450It is the resistance value of resistor 450.
Capacitor 471 is used for producing integrated signal.Switch 460 is connected between the drain electrode and capacitor 471 of transistor 422.Switch 460 is by clock signal S
DSOpening/closing.Switch 462 is connected in parallel with capacitor 471, so that capacitor 471 is discharged.Switch 461 periodically is transmitted to integrated signal capacitor 472, to produce secondary signal V
ISwitch 461 is by oscillator signal PLS opening/closing.So secondary signal V
IOn capacitor 472, obtain, as follows:
One embodiment of the invention illustrated according to Fig. 4~7, secondary signal V
ISecondary side switch current I with switch regulator
S, output current I
OBe associated.Therefore, equation (9) is expressed as follows again:
Wherein m is a constant, and it is determined by following formula:
The resistance value R of resistor 450
450Resistance value R with resistor 210
210Be associated.The capacitance C of capacitor 471
471Capacitance C with capacitor 215
215Be associated.Therefore, secondary signal V
IOutput current I with switch regulator
OProportional.
See also shown in Figure 8ly, the circuit diagram of pwm circuit 500 according to an embodiment of the invention has been described.Pwm circuit 500 comprises NAND door 511, d type flip flop 515, AND door 519, blanking circuit (blanking circuit) 520 and inverter 512,518.The D input of d type flip flop 515 is by supply voltage V
CCMove high potential to.The input of inverter 512 is driven by oscillator signal PLS.The output of inverter 512 is connected to the input end of clock of d type flip flop 515, to enable switching signal V
PWMThe output of d type flip flop 515 is connected to the first input end of AND door 519.Second input of AND door 519 is coupled to the output of inverter 512.AND door 519 output switching signal V
PWM, with switching transformer 10.The RESET input of d type flip flop 515 is connected to the output of NAND door 511.The first input end of NAND door 511 is supplied with reset signal RST, to be used for periodically forbidding switching signal V
PWMSecond input of NAND door 511 is connected to the output of blanking circuit 520, to guarantee as switching signal V
PWMSwitching signal V when being activated
PWMMinimum ON time (minimum on-time).Switching signal V
PWMMinimum ON time guarantee T discharge time
DSMinimum value, it is guaranteed the reflected signal V in first circuit 100
AUXCarry out suitable multiple sampling.Discharge time T
DSWith switching signal V
PWMON time be associated.With reference to equation (1), (2) and (4), and the secondary side inductance value L shown in the equation (18)
S, discharge time T
DSExpress by following equation (19):
L
s=(T
NS/T
NP)
2×L
P --------------------------------(18)
T wherein
ONBe switching signal V
PWMON time.
The input of blanking circuit 520 is supplied with switching signal V
PWMAs switching signal V
PWMWhen being activated, blanking circuit 520 will produce blanking signal V
BLKSuppress resetting of d type flip flop 515.Blanking circuit 520 more comprises NAND door 523, current source 525, capacitor 527, transistor 526 and inverter 521,522.The first input end supply switching signal V of the input of inverter 521 and NAND door 523
PWMApply current source 525 so that capacitor 527 is charged.Capacitor 527 is connected in parallel with transistor 526.Transistor 526 is by the signal opening/closing of the output of inverter 521.The input of inverter 522 is coupled to capacitor 527.The output of inverter 522 is connected to second input of NAND door 523.The output output blanking signal V of NAND door 523
BLKBlanking signal V
BLKPulsewidth by the capacitance decision of the current value of current source 525 and capacitor 527.The input of inverter 518 is connected to the output of NAND door 523.The output of inverter 518 produces clear signal CLR with off/on switches 123,124,340 and 462.
See also shown in Figure 9ly, the circuit diagram of adder 600 according to an embodiment of the invention has been described.Tertiary voltage is formed by operational amplifier 610, transistor 620,621,622 and resistor 650 to current converter (third V-to-I converter), is used for producing electric current I 622 according to ramp signal RMP.The positive input terminal of operational amplifier 611 is supplied with current sensing signal V
CSThe negative input end and the output of operational amplifier 611 link together, so that operational amplifier 611 is as buffer.The drain electrode of transistor 622 is connected to the output of operational amplifier 611 via resistor 651.Slope signal V
SLPResult from drain electrode place of transistor 622.So slope signal V
SLPWith ramp signal RMP, current sensing signal V
CSBe associated.
See also shown in Figure 10ly, the circuit diagram of adjusting circuit 700 according to an embodiment of the invention is described.Voltage is formed by operational amplifier 710, transistor 711,714,715 and resistor 712 to current converter, is used for according to secondary signal V
IAnd the generation electric current I
715The positive input terminal of operational amplifier 710 is supplied with secondary signal V
IElectric current I
715Be output to end COMR able to programme.Electric current I
715Produce voltage V in conjunction with resistor 33
COMRAnd be connected to operational amplifier 720.Another voltage is formed by operational amplifier 720, transistor 721,724,725 and resistor 722 to current converter, is used for according to voltage V
COMRAnd produce electric current I in drain electrode place of transistor 725
725The negative input end and the output of operational amplifier 750 link together, so that operational amplifier 750 is as buffer.The positive input terminal of operational amplifier 750 is connected to reference signal V
REF1The drain electrode of transistor 725 is connected to the output of operational amplifier 750 via resistor 760.Reference signal V
REFResult from drain electrode place of transistor 725.Based on reference signal V
REF1, reference signal V
REFBy secondary signal V
IAdjust and by resistor 33 programmings.
The those skilled in the art should easily understand, and can make various modifications and variations to its structure under the situation that does not break away from category of the present invention and spirit.In view of mentioned above, wish that the present invention is encompassed in the interior modifications and variations of the present invention of scope of aforesaid right claim and its equivalent.