I am trying to make a regulator that will regulate its input voltage rather than its output voltage.
I am using a LDO to work out the kinks in the control logic and keep the diagram simple. I want to get this working on a buck regulator eventually.

I am using a LDO to work out the kinks in the control logic and keep the diagram simple. I want to get this working on a buck regulator eventually.
- Use input voltage and link it to the adjust pin so the regulator can control it.
- Take input voltage and first invert it so when Vin increases a falling voltage is seen on ADJ pin and the regulator passes more current thus bringing Vin down (and vise versa)
- Compensate for a negative inverted Vin signal coming from the op-amp by adding a voltage to it giving ADJ an positive and correctly correlated response to Vin. I attempt to do this using a differential (subtracting) circuit.
