The TI application note AN-211 (and others) have a design for a fully adjustable (V and I) power supply using LM10 op amps. See page 17 of the PDF at https://www.ti.com/lit/pdf/snoa638
I built the circuit and have been impressed with how it performs. However, it does not have an LED to indicate when it is in current limit mode, which is something I enjoy having.
Since the circuit operates in floating mode there are two issues that have me stumped on how to add a CC LED:
1) The voltage across the IC's is below 2V and thus insufficient to drive an LED
2) The output from the current limit IC is always at the +ve supply voltage
The config I am hoping to use this in will be 0 - 40V. This means that the inputs to the current limit IC will vary from 0 - 40.2V. Presumably I could use a high voltage op amp to handle the common mode voltage but that seems like an expensive way too turn on an LED. There will also be a slight mismatch between the LM10 and an additional op amp (probably not significant).
Another possibility is to add a couple of diodes in the three stage emitter follower to increase the supply voltage and then another LM10 or other low voltage op amp. This is also an expensive way to drive an LED.
Is there an elegant way of doing this?
PS - I am strictly a hobbyist 
Hello there,
You may be able to use pin 6 of A2 to drive an LED through a resistor, but you'd have to check the output of pin 6 when it just starts to go into current regulation to see how to work that in.
However, this does not look like a very good design at all. It looks like somebody started to design a regulator circuit while forced to use an LM10 or two, then when deficiencies started to crop up they kept adding parts to try to make it work. That's almost never a good way to engineer a new design.
To add to that, the LM10 op amp section looks like the GBW is only 0.3MHz, which is way low. Minimum 1MHz with 0.5v/us slew rate, but even that is too close. I'd go with minimum 2MHz GBW and at least 2v/us or better. When I did a linear back some years ago I found 1MHz GBW not good enough to respond to current limits and recovery fast enough, so I went to a 10MHz GBW op amp with fast slew rate probably 5v/us or better. We don't want to destroy the equipment we are testing with this power supply.
Here is a short list of deficiencies...
1. GBW only 0.3MHz, slew rate really bad too: 0.15v/us !!! (nasty).
2. Parts added to make up for deficiencies of the basic design, and not adequate at that. Looks like recovery peak current could be very high even with the added 'fix'.
3. A 500k voltage adjustment pot ... seriously? Max should be 100k.
4. The LM10 is more than 20 years old there are newer chips that have the same functionality although you may have to get a surf board to convert from SMD to DIP if you need DIP. However, using a separate and cheap voltage reference IC you have all the freedom to choose the op amp so you can use a faster one and get really good response in and out of current limit which is always a major concern with these kinds of power supplies.
With all of this, I'd look for a better design. Since you don't mind linear operation and older chips, maybe a ua723 based design, but there are lots out there you could find on the web. Will be easier to add an LED also
