Author Topic: Finding Transfer Function for feedback loop design of linear regulators  (Read 1453 times)

0 Members and 1 Guest are viewing this topic.

Offline anur156Topic starter

  • Newbie
  • Posts: 3
  • Country: in
Hello,

I want to design a linear CC/CV power supply. I was going to use a darlington pass transistor and opamp for the feedback. But I've got many questions like,



1) How do you find out the transfer function of a standard NPN linear regulator (With Opamp feedback)?
Because in the feedback path you've got the BE junction of the transistor, like how do you take that into account?

2) I've seen designs where they use Opamps and they've put a capacitor in the feedback path of the opamp (between inverting terminal and the output pin). I understand it's for compensation and stuff but how do you find the right value of capacitance to use?

3) What about the value of the output capacitor? How do we calculate that? Do we use the trial and error method to find a suitable value?

4) How are CC/CV power supplies designed commercially? For example, do they just pick the parts, put them together and then find the stability and/or stabilize the feedback loops and/or improve the transient responses?
 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 3249
  • Country: us
I'm sure simulation is used extensively nowadays. Here's a video on how to perform stability analysis using LTspice:

LTspice IV:Stability of Opamp Circuits -- LinearTechnology
https://youtu.be/YYWlPFBebfc

In the video it suggests using the .STEP directive to find suitable values for feedback components to obtain the desired phase and gain margins.

There is a related forum thread here:

https://www.eevblog.com/forum/beginners/ltspice-linear-regulator-loop-gain-stability-analysis/

Another approach is to use a network analyzer to measure the frequency response of the circuit. You then select poles and zeros of the compensation network to achieve the desired margin parameters. Software can then compute the values of the compensation components for you.

Here's a video which explains that procedure:

Power Supply Compensator Design without Equations -- Biricha
https://youtu.be/PkjDUQjEDBw

I'm sure this method could also be used with the simulation approach once you have a Bode plot of the frequency response.
 
The following users thanked this post: MegaVolt, ROT, anur156

Offline amosborne

  • Contributor
  • Posts: 38
  • Country: us
For the linear regulator transfer function:

Stability is determined by the margin against the critical point of instability when analyzing the loop gain transfer function (usually gain margin and phase margin).

For the circuit imaged, the loop gain is a product of the following: voltage divider transfer function, op amp transfer function, and emitter follower transfer function. Emitter follower transfer function will depend on your selected operating point (primarily the collector current).

Choosing loop compensation is an analytic activity based on these transfer functions and your requirements on the type of response you desire. Simulation tools can help— but I wouldn’t recommend using simulation without also understanding the math involved.
 
The following users thanked this post: anur156

Offline moffy

  • Super Contributor
  • ***
  • Posts: 2087
  • Country: au
For your model make sure you place a capacitor between the output of the op amp and its inverting input, you will need it to prevent oscillations.
 
The following users thanked this post: anur156

Online David Hess

  • Super Contributor
  • ***
  • Posts: 17131
  • Country: us
  • DavidH
1) How do you find out the transfer function of a standard NPN linear regulator (With Opamp feedback)?
Because in the feedback path you've got the BE junction of the transistor, like how do you take that into account?

There are some complications:

1. The Ft (and hfe) of the bipolar transistor is not constant and drops at high current, so the transfer function depends on operating point.

2. The emitter resistance varies with current so the pole formed with the output capacitance shifts with output current.  This is especially a problem with common emitter output stages which may require special compensation to operate at low output currents because their output resistance can be very high.

See below where I describe how I work back to calculate the response of the output transistor.

Quote
2) I've seen designs where they use Opamps and they've put a capacitor in the feedback path of the opamp (between inverting terminal and the output pin). I understand it's for compensation and stuff but how do you find the right value of capacitance to use?

You may also see a capacitor in parallel with the top resistor of the feedback divider to add phase lead.  And either or both capacitors may have a series capacitor and resistor in parallel for pole-zero compensation.  When I layout PC boards, I include spots for these parts even if I do not eventually use them.

Quote
3) What about the value of the output capacitor? How do we calculate that? Do we use the trial and error method to find a suitable value?

As a practical matter, the output capacitor will be 25 to 100 microfarads per amp.  If you get deep into the design outside of the regulator, then the output capacitor actually has nothing to do with the regulator itself.  Its real purpose is to provide an AC termination for the transmission line formed by the power distribution wiring.  When this is done, then the output capacitance combined with the output resistance of the regulator produces dominant mode compensation which is what limits the dynamic performance of the regulator.  Of course the larger the output capacitance, the slower the regulator can be and still provide sufficient load response.

Fast response regulators lack this output capacitor and are designed like a class-AB audio output stage with a series RC network on the output to provide stability.  A book about audio power amplifier design is helpful here.  Below is an example of a fast 10 amp regulator where the output capacitance is 0.22 microfarads in series with 10 ohms.

Quote
4) How are CC/CV power supplies designed commercially? For example, do they just pick the parts, put them together and then find the stability and/or stabilize the feedback loops and/or improve the transient responses?

The way I find that works best, at least if you lack a network analyzer and maybe if you even have one, is to empirically (trial and error) adjust the compensation for critical dampening.  Then it is possible to work backwards to calculate the response of the output stage, but keep in mind that the frequency response of the transistor and output stage varies considerably with output current.
« Last Edit: June 20, 2022, 04:23:49 am by David Hess »
 
The following users thanked this post: sorin, boB, anur156

Online 2N3055

  • Super Contributor
  • ***
  • Posts: 7235
  • Country: hr
This is where all those Bode plot functions (that are now available even on comparatively inexpensive scopes) come in handy...
 
The following users thanked this post: anur156

Offline anur156Topic starter

  • Newbie
  • Posts: 3
  • Country: in
Hello, thanks for your reply
For the linear regulator transfer function:

Stability is determined by the margin against the critical point of instability when analyzing the loop gain transfer function (usually gain margin and phase margin).

For the circuit imaged, the loop gain is a product of the following: voltage divider transfer function, op amp transfer function, and emitter follower transfer function. Emitter follower transfer function will depend on your selected operating point (primarily the collector current).

Choosing loop compensation is an analytic activity based on these transfer functions and your requirements on the type of response you desire. Simulation tools can help— but I wouldn’t recommend using simulation without also understanding the math involved.

Hi, thanks for your reply. I understand that it can be difficult to find the Transfer Function for BE junction, but if I wanted to can I find it out mathematically? And if so, then for an given operating point, how can we do that?
 

Offline amosborne

  • Contributor
  • Posts: 38
  • Country: us
There's plenty of stuff on google. For example:
BJT model: https://en.wikipedia.org/wiki/Hybrid-pi_model
Common emitter analysis page 51/52: https://ocw.snu.ac.kr/sites/default/files/NOTE/10747.pdf
 
The following users thanked this post: anur156


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf