EEVblog #95 - Linear Regulators, Closed Loops, Simulations, & Brand Shenanigans

preview_player
Показать описание
A bit of a follow-on from the linear regular episode. Dave dances with a simple linear closed loop circuit he built, and bodges it up in LTspice to get a remarkably consistent result.
Not really a tutorial, just a few random tidbits.
Рекомендации по теме
Комментарии
Автор

I love Dave’s old videos. Real EE stuff here.

markuscwatson
Автор

I suspect all you need have done to stabilise the circuit is connect a 100pF capacitor from the output of the operational amplifier to its inverting input.

Michael_Kiwanuka
Автор

EEVblog This might be a bit late, but for those kinds of circuits you should always use the startup option to .tran ("Start external DC supply voltages at 0V") so the simulation will use the input at 0V as initial state and doesnt start simulation with a steady state. This will lead to much more often oscillation, even with your original 2n222 only circuit right away. As additional hints, I always use .opt numdgt 15 (to force double precision, since oscillation might be smoothed out by rounding) and .opt plotwinsize 0 (to save more datapoints for the transient graph. uses more hdd space and memory, but makes the gaphs much smoother and fft much more accurate)

PlasmaHH
Автор

Your videos are too good I'm addicted to them

linuxguy
Автор

Great Vid! I love that you show how easy it is to destabilize these loops. And great job with the post-production adding in the inset pics as you work in the background! Very effective.

AllenKll
Автор

nice video!

shouldn't something like a 22nF bypass cap e.g. from the OpAmp output directly to the inverting input should have fixed the problem?

R = 10k || 27k = 7k3 and C = 10n ==> 1/(2*pi*R*C) = 991Hz

should provide enough feedback to the high frequencies to get rid of the ~1kHz oscillation if I got the math right (haven't actually tried it in a simulator).

But of course this would also make the regulator slower. So one would also need to enlarge C1 depending on the type of load.

CliffordWolf
Автор

Very nice post Dave, really appreciate the heavy tech content. More like this in the future please!

You didn't mention if this circuit was for work or for a home project. I hope you didn't mention because you plan on doing some more building posts and you want to surprise us with your next blog. ;)

Keep up the excellent work!

Rob

RobertGallop
Автор

One thing I've found that affects stability of this in SPICE is the equivelant series resistance value of the output capacitor. Without it specified it is more affable towards starting oscilla
ting.

seljer
Автор

@darrenhello2 afaics with this solution the circuit would start oscillating again when the load resistance is decreased, as this would reduce the effect the added capacitor has on the feedback path.

CliffordWolf
Автор

Place a compensating capacitor in parallel with R8 or RC series compensating network.
Take a look into "Feed foward compensation techniques". I'm currently desining a professional power supply 0-60V 5A, (P-MOS in my particular case, so pretty challenge) and I had have the same problem.

ralvarezb
Автор

Manage to discover this the same way. Having the gain in the feedback loop caused way to much instability. Just using unity feedback and the gain external to the control loop made a helluva difference! Still used the LM324, can't beat them!

chriswouse
Автор

good video... I've just tryd your circuit and inserted a capacitor between the output of the op-amp and the emitter of the darlington pair (to have a sort of miller capacitor effect). It worked with every output capacitor tried. I didn't work with it for much time so I don't know its effects in detail but though it mite help!

darrenhello
Автор

from the sim it looks like the oscillations are at about 1Khz, i've actually made a linear adjustable supply with an LM324 with whatever power transistors i managed to salvage, as i dont have access to an oscilloscope i cant really check if it is oscillating (at least above 17Khz or so, using a signal tracer) but it seems pretty stable with maybe a bit of noise at the low ends, i'll probably add in those resistors at some stage and see if the noise goes down

williefleete
Автор

@kraudio7 You can either use solder to join the "islands" (you will need lots of solder), enamelled wire (wire that has a thin isolating cover that can be remove just by heating/sandpapering it) or even standard protoboard wire if your designed pcb tracks are big.

I would go with enamelled wire, its cheap (or you can get some from an old transformer) and its really easy to use and makes the board look nice from the top.

Gzalo
Автор

hi, can you help please show how to simulate an LDO and Battery on LTSpice?

sergepouani
Автор

@gbowne1
Nothing fancy, probably just a recap of the first 100!

EEVblog
Автор

How can we simulate a circuit as accurately as possible? I have a circuit, where i've managed to obtain all of the simulation circuit components for LTspice. But when i simulate it, i don't get the same distortion and oscillations as i do in the real circuit. I've even gone to the effort of working out the inductance and capacitance of the traces but still nothing the same. The simulation shows that it should be working beautifully well.

Ultrasonic
Автор

I need an ADC. I am thinking of a MAX186 or MAX188. Any suggestions?

JosephLorentzen
Автор

I need a complex switching regulator.

Well, we're almost to episode #100.. gee what's dave got planned for the big 100th episode.

gbowne
Автор

@desertbard Why not just use a micro with a built in ADC?

ubuntututorials