I need to check the state of a voltage source, and I'm trying to see if I can simplify a circuit that I previously built. The purpose of the circuit is to check if there is enough voltage at a source (Vline). The original circuit is as follows.
I've already built the circuit shown above and it is working just fine. As can be seen, a low-side nFet is in charge of activating a high-side pFet, which in allows current to flow through a resistor voltage divider and a zener prevents the output voltage from going too high for an MCU to read as a logic signal.
What I'm trying to do is simplify things and do without the pFet if possible, using a single "mid-side" nFet instead. So I've simmed the following circuit, and it seems to work, in the sim at least:
My questions are:
I've already built the circuit shown above and it is working just fine. As can be seen, a low-side nFet is in charge of activating a high-side pFet, which in allows current to flow through a resistor voltage divider and a zener prevents the output voltage from going too high for an MCU to read as a logic signal.
What I'm trying to do is simplify things and do without the pFet if possible, using a single "mid-side" nFet instead. So I've simmed the following circuit, and it seems to work, in the sim at least:
My questions are:
- Will it work in real life? Or is the only way to find out is to actually build it? I'm gonna build it anyway, but I'd like to know at least what to expect.
- I'm trying to bring its maximum output up to 3.3V. But it seems that even if I remove the zener, its maximum output remains the same, why?
- And if I were to lower the value of R1, its maximum output also remains the same, why?
Attachments
-
2.1 KB Views: 0
-
1.7 KB Views: 1

