Electronic – How to add CC/CV feature with single LM358 for variable linear power supply

constant-currentdarlingtonlinearoperational-amplifierpower supply

I have a few weeks with a problem in the design of my bench power supply. First of all I have this design from this guy on YouTube https://youtu.be/_CFIovMkRyg that made a variable power supply using two of four op amp LM324 and the PSU behavior is really stable perhaps I don't find a way to get work that design in LTSpice.

Here's a snapshot of the video showing the design he used.

Lab power supply linear regulator

Here's I've tried so far in LTSpice.

Darlington PSU.asc

I think is a reference ground problem because he has two grounds. When I simulate all the current from the current source is sinked by a single OPAMP and doesn't matter the value of the pot wiper the control doesn't work. In any case Does this design really work? if it doesn't work, you know a way to make it work?

Best Answer

So yes, the design it's perfectly working, by now I tested on LTSpice and works very well the error that I had in my simulation was the reference Vo3(is the voltage out regulated) that is AGND of the control circuit without that reference the control circuit wouldn't work. Here's the updated circuit

And the schematic: enter image description here

I understanded the principle of CC/CV mode from this webpages: