Hi everyone.
My problem deals with the following circuit:
Let's go through it. It consists of three main elements: An op-amp in inverting unity-gain operation (X1), an adjustable LDO regulator generating 15V (U1), and an adjustable LDO regulator generating 3.3V (U2). Capacitors C1, C3 and C5 are for stability of the LDO's, and the resistors R5 and R2 sets the voltage level of U1. The purpose of the circuit is to generate a base voltage (called faux_gnd on the schematic) and the two voltages 15V and 3.3V referenced to this faux_gnd. The idea is that I can change faux_gnd as I please with the op-amp, and the LDO output voltages will follow. The change in faux_gnd will be slow compared to the response time of the LDO's, of course.
The problem is that I am seeing two behaviors I did not expect. In both cases, faux_gnd is set to 0V. One is understandable (I think!) and the other not so much. Let's start with the latter:
The 3.3V regulator does not generate 3.3V, but instead 5V! However, it works perfectly if I connect faux_gnd to GND, i.e. turning off the op-amp and connecting the output to GND via a 0 Ohm resistor. The 15V LDO generates 15V regardless. I cannot explain this behavior of the 3.3V regulator. It has a low-impedance path to GND via the op-amp, so it should be a happy camper, but obviously it's not. The op-amp is powered by +-5V, and so is able to source and sink. Any ideas for why this is happening?
The second unexpected behavior is that when I turn off the 20V line to the 15V regulator, faux_gnd oscillates strongly with a peak-to-peak value of almost 1V and a frequency of 7.2MHz. I realize now that it's probably unstable due to driving all those LDO capacitors of several µF. However, the oscillation stops when 20V is applied again. Also, here's a question: Can I connect the LDO capacitors to GND instead of faux_gnd? Or will that render the LDOs non-functioning? If I could, then I would not have the problem of driving them with the op-amp, and the oscillation would hopefully stop.
Thank you for taking the time to read this, and I hope someone can point out the mistakes I've made.