Hey guys, I'm working on a circuit that is an adaptation of something I found online awhile back. The first adaptation of the original circuit I made (shown below) draws a fixed amount of current from a positive voltage external supply. The idea is that the amount of current flowing through the N-channel enhancement MOSFET and the 0.1 ohm resistor is regulated through negative feedback and equals 10x the value of V+ on the op-amp. I have this version of the circuit working fine.
What I'm trying to do now is build a similar circuit that will do the same thing with a negative voltage external supply. The reference voltage being generated here is varied between -0.77 and 0 Vdc with the 250k potentiometer, and I'm using a P-channel enhancement MOSFET instead. The problem I'm having is that for some reason, this configuration is driving the op-amp Vout into saturation (-12 V), which of course is driving the D-S resistance of the MOSFET down to almost nothing. I'm not sure what I did wrong here, but I have a feeling I'm not setting up this op-amp properly for the new circuit.
Any thoughts? Suggestions?
What I'm trying to do now is build a similar circuit that will do the same thing with a negative voltage external supply. The reference voltage being generated here is varied between -0.77 and 0 Vdc with the 250k potentiometer, and I'm using a P-channel enhancement MOSFET instead. The problem I'm having is that for some reason, this configuration is driving the op-amp Vout into saturation (-12 V), which of course is driving the D-S resistance of the MOSFET down to almost nothing. I'm not sure what I did wrong here, but I have a feeling I'm not setting up this op-amp properly for the new circuit.
Any thoughts? Suggestions?