I want to check this circuit for proper interfacing, I am interfacing a 3.3V output to CMOS CD4071 with supply voltage of 12V.

-First I used a low threshold voltage NMOS TN0106 as shown in the circuit. I put a drain resistance of 10kohm to limit the current to 1.2mA when the output is low. will this output impedance degrade the circuit performance(capacitive coupling noise for example ) to the CD4071 gate? Is their a better way to switch the 12 v using the 3.3V input?

-The second part is the control of the 12v relay 400ohm coil resistance using a PMOS VP0106,The 1K resistor is to protect against inductive spikes coupled back from the load. Do I need to consider anything for proper operation. Thanks

enter image description here


1 Answer 1


Is there a particular reason why you switch the high side? If you switch the low side and choose the appropriate n chan mosfet, then some of your problems go away. Note your 1k gate resistors won’t protect from inductive kickback - that’s what the diode across the relay coil is for.

The effect of the 10k resistor and circuit capacitance should be negligible in your application as you are only switching relays.

The 1k resistor in series with the mosfet gate is called a ‘gate stopper’ to limit oscillation. Usually it is a lower value. Again, since you are switching relays, the effct on switching time is minimal as the average relay takes many millisecond to change state.

  • \$\begingroup\$ Thanks alot, I use high side just to save some space to eliminate an extra inverter stage. The relay is energized when the output is low. what type of problems do you think I might get? \$\endgroup\$
    – Bavly
    Dec 4, 2020 at 14:12
  • \$\begingroup\$ @Bavly save space for what? Pcb space? You can switch the relay with a single nmos at the low side... \$\endgroup\$
    – Sim Son
    Dec 4, 2020 at 17:40
  • \$\begingroup\$ @simson when the output of the cd4071 is low ,the relay must be on. If we use Nmos when the output of cd4071 is low, the Nmos will be off. so we will need an extra inverter. so we used PMOS to make it simpler. \$\endgroup\$
    – Bavly
    Dec 4, 2020 at 18:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.