Similar to some other posts here, I'm working on a MOS-based voltage protection circuit to prevent bad things from happening if someone accidentally plugs in the voltage incorrectly. I'm having trouble understanding why it isn't working in the reverse direction, so I wanted to ask for help here.
My initial circuit was based on this
app-note from ONSEMI. In it, they used a PMOS with the gate attached to an NMOS control to turn on/off via the NMOS gate. In my case, I was trying to have the NMOS gate be tied to the input voltage so that when correctly plugged in, the load voltage will be the same as VIN. Otherwise, the NMOS will not turn on and the load voltage will be 0.
I've attached three different circuits. The first one shows the correct voltage polarity (MOS_FORWARD). The second one shows the input voltage connected incorrectly, though all I did was change the voltage to -14 volts (MOS_REVERSE). The third one shows the same as the second picture, but the PMOS is reversed with the input voltage being connected to the drain instead of the source (MOS_REVERSE_DRAIN_FIRST). I was always taught that for PMOS, current flows in the direction from source-to-drain (unlike the NMOS), so that was what the first two pictures were like. However, the third picture was based on
this other article which I found after doing a search on other posts here where they had the PMOS flowing from drain-to-source.
It's a straightforward circuit. The input voltage gets divided, and it controls the NMOS. If the NMOS is on with its gate being positive, it pulls PGATE down to 0. Doing so causes the source-gate voltage of the PMOS (V
P-SG) to go up (be positive) and turn on, causing the voltage at the load to be the same as the voltage as the input. When the voltage is connected incorrectly like in the second photo, the NMOS sees a negative voltage at its gate, so it stays closed. Therefore, the PMOS gate will be the same voltage as the input (with the input voltage being negative here). V
P-SG will remain 0, so the PMOS is closed. That's the theory. The PMOS's threshold voltage is |2| volts while the NMOS's threshold voltage is 1.5 volts.
Unfortunately, my simulation shows something different. The forward direction works as expected, though with a small spike when the input voltage is turned on. However, the reverse voltage circuit doesn't work. The PMOS gate still experiences a small negative voltage when the NMOS is closed, not being close to the input voltage as expected. Furthermore, the PMOS is still open despite V
P-SG being less than 0. On the other hand, from the third picture, the circuit works despite the PMOS being reversed in orientation. Why is that? Could it have something to do with the drain-source voltage and the source-gate voltage of the PMOS that's causing it to not work in the reverse direction?