I'm trying to design a current source that can be adjusted from 0mA to 25mA (for an input voltage of 0V to 3V) using a dual P-Channel FET (NTZD3152P).
I've based my design on some PMOS current mirror circuits I've found online but with the addition of the adjustable input voltage. Will the attached circuit work? If not, why and how can I fix/improve it?
I've built this circuit using the LMV931 for my opamp. I've also added a 150nF capacitor between the gates and my non-inverting input, however I'm seeing a lot of oscillation on the non-inverting input and output still. I can increase the cap the further reduce the oscillation but I don't want to mask a fundamental design issue. Any ideas on how to fix this? I've included a quick sketch of what I observed.