Background:
- I need a microcontroller adjustable high voltage (300V) constant current.
- Source: High voltage boost converter.
- Load: Gas discharge lamp (20mA max). Can only be switch from high side.
- There is no digital constant current IC at that voltage.
- There is no (affordable) op-amp at that voltage.
- Linear regulator can operate at constant current mode, and there is (only) one linear regulator that can operate at 300V:LR8
- Digital potentiometer can be used to adjust current.
Problem:
- The adjusting resistor is in series with the load. The load current is too much (20mA max) for a digital potentiometer.
- I found a constant current topology in the LM350 datasheet: 2 linear regulators without having R_set in series to the load.
- I don't quite understand how this works, but I assume the lower linear regulator serves as constant current reference.
Could someone please explain how this works and how to calculate output current ?
Update:
Following advice from @SimonFitch. A DAC-controlled current sensing opamp seems to be a better choice.
As suggested, this circuit uses current feedback to drive a MOSFET, a bit like current mode SMPS. The comparator is protected by opto-isolated gate driver.


