I'm trying to design simple voltage regulator with differential feedback. Vin = 12V Vout = 2-5V Iout = 0-7A
In simulator I can see large oscillations. The larger the output current, the higher oscillations. When I remove the first op amp, the regulator works fine.
How to fix oscillations in cascaded op amp schematic?
UPD sorry for bad schematic, I've redrawed it.
I was promped to add a capacitor C3 between negative input and output of U1B:
And now it works fine, there is no oscillations. Is it right solution? And how exactly this capacitor stabilizes the schematic?