M
mook Johnson
- Jan 1, 1970
- 0
I'm spinning my own 5V linear voltage linear regulator. I'm using a NPN
pass transisitor (non-ldo configuration) and a opamp, and 2.5V reference.
It is the textbook circuit with a voltage divider on the output (two 1K
resistors) with the center going to the in- on the opamp and the 2.5V
reference on in+ and of course the output drives the base of the NPN through
a current limiting resistor. essentialy an emitter follower.
What I'd like to do is simulate the loop response because with no
compensation the output oscillates after a step load change. Also
oscillates with heavy load.
How do I simulate the gain and phase in spice so I can check the phase
margin at various loads and compensate properly.
thanks.
pass transisitor (non-ldo configuration) and a opamp, and 2.5V reference.
It is the textbook circuit with a voltage divider on the output (two 1K
resistors) with the center going to the in- on the opamp and the 2.5V
reference on in+ and of course the output drives the base of the NPN through
a current limiting resistor. essentialy an emitter follower.
What I'd like to do is simulate the loop response because with no
compensation the output oscillates after a step load change. Also
oscillates with heavy load.
How do I simulate the gain and phase in spice so I can check the phase
margin at various loads and compensate properly.
thanks.