My programmable power supply project in progressing slowly and now it's time to do something with overshooting of linear "postregulator" during power off and power on. Overshooting on step response is still waiting in the queue to be observed and corrected. Here is the latest schematics (right click to enlarge) this time with voltage control loop depicted (version with current control loop is discussed here).

Voltage control loop

Notice that switching preregulator (based on LM5118) is now up and running with functional tracking and it seems that it prevents power down/up overshooting but my intention is to add possibility to bypass it (using power mosfet or relay) to provide "pure linear mode of operation". Of course, in this mode max. power dissipation of Q1 will be limited to 30W. Overshooting is inherent for presented solution since before control loop is established (power on) or lost (power off) Q1 will conduct and deliver full input voltage (from C1-C3) to the output terminal. Obvious choice will be to build everything around P-ch mosfet, but it seems that is easier to find N-ch which can deliver continuously 3-5A up to 60V.

The question is: it it possible to somehow avoid mentioned overshooting and still use N-channel mosfet as serial regulator?

EDIT (2014-11-23):

Maybe it make sense to add schematic of currently used bias power supply. It's rather simple supplied with aux transformer and common ground is connected to common ground of main power supply (It the future I'd like to derive bias power from main DCin with step-down and inverting circuits). enter image description here

EDIT (2014-12-03):

Now with DSO in place I can add some real measurements. First picture shown what is happened without any modification and no load connected. Bias supply is evidently slow and it possibly participate greatly in 110ms overshoot during power up.

Power up overshoot with no load

Situation with load of 1A on power up does not improve situation a lot (overshoot is still 66ms long and undershoot is also exists), since bias supply comes too late.

Power up overshoot with 1A load

Now with adding Rff (50K) and without removing ZD2 (emitter is still on approx. -6V) we have the following situation:

Power up with Rff and emitter to -6V

Power up overshoot is shorter, but Vout ends up to -4.4V and no regulation is possible. If I disconnect emitter of Q3 from ZD2 and connect it to the GND I got the following situation:

Power up with Rff and emitter to GND

Vout is now 1.28V and again without possibility to change its value. Measuring the Vbe of Q3 it's clear that when proper IC1 bias supply is not present that Vbe instantly drop down to zero (or lets say well below 0.6-0.7V). Therefore it seems that adding anything after the IC1A will not improve situation. I also made one additional test: Q1 drain was connected to +15V from bias power supply. In that case and without any load on power up we have the following situation:

Main connected to bias supply

Some oscillations exists but it looks much lower then before and I believe that it now belongs to improper compensation of voltage control loop. If something should not be present during the power up is the output of IC1A to Q3. If analog switch (such as CD4066, ADG1436, etc.) has to be used then it should be deploy to connect and disconnect Q3 base in the right moment.

My plan for the moment is to derive bias power supply for main supply (use buck SMPS to step down from 50VDC to +15V with inverter to get -15V). Another possibility is to use "Power good" signal from SMPS used for bias power to connect/disconnect IC1Aout to Q3B. Does that make any sense?

EDIT (2014-12-03) Part 2:

Gsills propose one important improvement that seems that can make a real change. Adding diode in parallel with integrator capacitor will remove ringing. Here is the picture with the same setup as the latest from previous edit (main and bias supply is the same):

Diode clamp on integrator

Note that this works only with Q3 emitter connected to ground not below it. The question is this case is: does diode could remain connected or it has to be disconnected shortly after the power up?

EDIT (2014-12-10):

I'm adding power up oscillogram with the following signals: CH2:Vin (32VDC), CH1:Vout (5V), CH3:+Vbias (+15V) and CH4:-Vbias (-15V). It's clear that overshoot is happening while working bias supply is still not established.

Power up screenshot

EDIT (2014-12-19):

I'm still thinking that maybe control of Q1 bias could be a solution for both power up and power down issue. Idea is to get "power good" signal derived from other logic to control some sort of switch that will connect or disconnect bias resistor to Q1 gate. If this makes sense question is what component to use as a switch device: low power BJT or MOSFET? (relay even a small one I think is not a solution).

Bias control

  • \$\begingroup\$ So, what is the question? \$\endgroup\$
    – Andy aka
    Commented Nov 20, 2014 at 14:34
  • \$\begingroup\$ Sounds like power sequencing problem. Can you add photos of the overhoot at start with Vo, bias voltages, Vref, and IC1A-1? \$\endgroup\$
    – gsills
    Commented Nov 21, 2014 at 1:33
  • \$\begingroup\$ Yes, it's a sort of sequencing problem. If that can be resolved in power up phase, I have no idea how to ensure proper sequence when power goes down. Required bias supply is limited by input capacitor which is 470uF, but I also tested with 1500uF what makes situation more acceptable but that is still not enough. I currently cannot provide any photos, I hope that can be done next week. Vref and IC1 are connected to the same bias supply (currently based on LM317/LM337 pair). Maybe switching with low level output ripple could be used instead to provide longer presence of proper bias voltages? \$\endgroup\$
    – prasimix
    Commented Nov 21, 2014 at 6:22
  • \$\begingroup\$ It would be good to have pics showing start of Q1-d with +15V bias. Also of +15V and -15V bias together. That way you could see relation between all input power as it starts. A short review: Pic1 at light load Vo rises to ~29.5V then decays to ~9V setpoint. Pic2 at 1A is more interesting, Vo rises to ~26V (probably lower than pic1 due to added Vgs to supply 1A) then can see where the loop becomes active with quick fall settling to ~9V setpoint in about 8msec. Rising edge of pic2 looks like a 1/4 cycle of 50Hz. \$\endgroup\$
    – gsills
    Commented Dec 4, 2014 at 4:36
  • 1
    \$\begingroup\$ Using DLim for integrator windup can be effective depending on relation between IC1A-1 and reference voltage, also known as virtual ground at IC1A-2&3. For DLim cathode at IC1A-1, IC1A-1 needs to be more positive than IC1A-2&3 for integrator to have gain. Normally DLim is left connected permanently. Sometimes the voltage range of the reference has to change (to change Vo for example), and diode clamp of integrator is ineffective. \$\endgroup\$
    – gsills
    Commented Dec 4, 2014 at 4:59

1 Answer 1


That there is no output start-up spike with the preregulator in place will be because the soft-start of the LM5118 adds tens of milliseconds to the time allowed for the bias to come up and actively control the gate of Q1. That's a pretty reasonable way to have a more controlled start. But let's set that aside to look at some of the other things that can happen during start up.

Start-up power sequencing is always a big concern with any power supply. Things can get quite involved, making sure that proper bias is present at the right time. Here are some common causes of overshoot on start up, in rough order of prevalence:

  1. Integrator wind up. A precharge occurs on the integrator capacitor at start, causing a hard start.

  2. Uncontrolled start of \$V_{\text{Ref}}\$. A unit step start of \$V_{\text{Ref}}\$ can cause an overshoot of output voltage.

  3. Local bias voltage coming up late, or unbalanced start. Unbalanced start of bias can happen when there is bipolar bias voltage. Either the positive or negative output can come up first, in which case the output can rail.

  4. Lack of termination at startup. If the output is unloaded at start, the output can overshoot and stay at an excessive level for an extended period.

All of these causes should be checked. Integrator wind up and controlled start of \$V_{\text{Ref}}\$ always have to be managed, and will get further attention here. Local bias sequencing and balance can take many forms and is hard to say much about specifically, but now that the local bias schematic has been added to the question, it is somewhat doubtful that any imbalance or delay would be severe enough to cause overshoot. Lack of termination is usually not a significant factor in a linear supply, but could make any existing overshoot more severe.

Integrator Wind Up

Without an active loop, such as under start up conditions, an integrator capacitor will always become excessively charged. High gain and any offset voltage or input bias currents of the OpAmp will combine to make this so. Then when the loop becomes active, the error amplifier is railed and the supply output overshoots. All practical integrator circuits used in power supplies have some means added to constrain charge up of the integrator capacitor. Quite common is placing a diode in parallel with the capacitor.

enter image description here

Here, \$D_{\text{Lim}}\$ is configured such that if the output of the amplifier should normally be higher than \$V_{\text{Ref}}\$, the amplifier will behave as an integrator. But, for output voltages lower than \$V_{\text{Ref}}\$ no excess charge up of \$C_9\$ will occur and the amplifier will only have unity gain. So, the amplifier can not end up railed to the negative bias voltage. No or minimal overshoot. In the case that amplifier output should be lower than \$V_{\text{Ref}}\$ during normal loop operation, \$D_{\text{Lim}}\$ connection can be reversed to prevent railing to the positive bias supply rail.

Sometimes using a diode is not restrictive enough, especially if \$V_{\text{Ref}}\$ is adjustable over a wide range. In this case a normally closed single pole single throw (NC SPST) analog switch can be used in place of \$D_{\text{Lim}}\$ to make the error amplifier have unity or some proportional gain during start up. At the proper time the analog switch is opened and the error amplifier becomes an integrator again. No overshoot.

Uncontrolled Start of \$V_{\text{Ref}}\$

An abrupt step in \$V_{\text{Ref}}\$ can cause overshoot or ringing at the output. Although this happens a lot at start up, it's not strictly a start up problem. A control loop with inadequate phase margin, anything less than about 68 degrees, will overshoot or ring with a step of \$V_{\text{Ref}}\$. Best way to handle this in general is to design the loop to have adequate phase margin. Best practice at start up is to initiate start with \$V_{\text{Ref}}\$ at zero setting and then ramp to the desired setting over a period of milliseconds.

Note: Initially it appeared that overshoot cause could be delay of local bias. Here is a test to verify and a possible solution offered.

Since it is crucial with this power stage to have active pull-down on Q1-G to maintain control of Q1-S, a crude pre-bias could be applied to Q3-B. A 50kOhm resistor, here shown as \$R_{\text{ff}}\$, could be connected from Q3-B to Q1-D. When voltage appears at Q1-D, Q3 would be turned on actively pulling down Q1-G. To make this work, D6 and D7 would have to be turned around, anodes tied together and R8, and D7-C to IC1A-1, and D6-C to IC2A-1 to allow Q3-B to be pulled down during regulation. This might be the simplest thing to do.

enter image description here

When \$R_{\text{ff}}\$ is not present, ripple rejection of the stage, open loop with \$D_7\$ cathode pulled low, is zero dB.

enter image description here

With \$R_{\text{ff}}\$ in place ripple rejection improved to 20dB. 50kOhm was chosen on a wim, and no effort was made to find a better value.

  • \$\begingroup\$ I didn't notice any improvement for power up. I'm still using an analog oscilloscope (DSO is on the way) but jump to full Vin is clearly visible. Situation with power down is much easier to see since it last much longer. \$\endgroup\$
    – prasimix
    Commented Nov 22, 2014 at 9:44
  • \$\begingroup\$ @prasimix When I looked at this yesterday I overlooked ZD2. With the zener in place a pull up to Q3-B won't do anything until input voltage is over 9 or 10 volts, too late to help. To really try the idea, R12 could be connected to ground instead of ZD2. Having a 50k-ish pull up could also act as a feed forward to improve ripple rejection. \$\endgroup\$
    – gsills
    Commented Nov 23, 2014 at 5:21
  • \$\begingroup\$ ZD2 is here to provide approx. -6V required to regulate down to 0V. Without it Vout cannot go below 1.4V. Anyway I tried with ZD2 connected to ground. There is no improvement in power up case but it seems that in power down case Vout after overshoot drops few times faster then before. \$\endgroup\$
    – prasimix
    Commented Nov 23, 2014 at 7:08
  • \$\begingroup\$ @prasimix I understand why ZD2 is there. Do you mean you connected R12 to ground for the test, instead of having R12 connected to ZD2? \$\endgroup\$
    – gsills
    Commented Nov 24, 2014 at 5:33
  • \$\begingroup\$ Exactly. Then Vout cannot go below 1.4V. \$\endgroup\$
    – prasimix
    Commented Nov 24, 2014 at 9:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.