I have built a Voltage Controlled Current Source that has no ON/OFF switch. This VCCS simply receives a voltage and outputs current to a DUT. The DUT is basically a high-power variable resistor (10 to 20 ohm).
So for example, if I give 100mV to the VCCS's input, it will try to supply 100mA to the DUT (regardless of its current resistance). And if I give 2V to the VCCS, I get 2A at the DUT (again, regardless of its resistance). So the VCCS is all fine and dandy.
Now, I need to implement a high-side switching between the VCCS and the DUT, that can be controlled by a 3.3V logic from an MCU. I tried to come up with some solution, and here is where I am currently stuck at:
And here is the result:
Can you please guide me to wire this circuit correctly? Also, I will appreciate it if you can name a NMOS and PMOS that can be used in this configuration. I have chosen the mos-es in the LTSpice arbitrarily.