# Bidirectional voltage and current switch using mosfets

I'm following this tutorial (spanish) which tries to create a bidirectional power switch usng mosfets based on this publication by texas instruments

The concept of the circuit looks simple enougth to me, two mosfets back to back, when mosfet 1 conducts due to Vgs, mosfet 2 is in reverse polarity so it's internal diode conducts, when you invert the voltage, it's the other way around, mosfet 1 is in reverse polarity so it's internal diode conducts, mosfet 2 conducts because of it's Vgs value.

But when I try to simulate it it does not work, I'm still pretty new to electronics so I'm not quite sure what's going on.

What I notice is that when the voltage source is at -5V the switch does not conduct (and it should), this is because the MOSFET on the left has a Vgs of around 0V so yeah, that's not going to close the circuit.

The publication does advertise at page 2 that "A bidirectional powers witch(BPS)is an active switch which can support bidirectional current flow when it is in the ON condition and bidirectional voltage blocking whenit is turned OFF" and proceeds to show this circuit.

So that leaves me with the question, am I interpreting the paper/tutorial wrong? as I understand this should work according to those sources when the polarity is inverted (that's the whole point), I guess I must have messed up the circuit somehow?

The Simulation

Circuit as shown in the paper:

Circuit as showin in the tutorial

My simulation

• You need to pull the gates substantially lower than the lowest part of the signal swing in order for the PMOS to stay on. In order for PMOS to be ON, gate must be substantially lower than source. – mkeith Feb 28 at 22:17
• In your simulation, instead of connecting the 100 Ohm resistor to GND, connect it to a -8V power supply. Then you will see your full signal. – mkeith Mar 1 at 0:53
• If you want to switch a signal, you could put back-to-back NMOS in parallel with your back-to-back PMOS. You will need to pull the NMOS gates up to VCC and pull the PMOS gates down to GND to turn both on. So it requires complimentary signals for switching. I have never tried that but it should work. – mkeith Mar 1 at 0:57
• When MOSFET 1 conducts, MOSFET 2 also conducts and there is little current through its diode. The diodes only serve to block on alternate half cycles of AC when the MOSFETs are inactivated. – Andy aka Mar 1 at 9:42
• Alternately, instead of connecting the 10k resistor on the right to GND, connect it to a +10V power supply. – davidcary Mar 6 at 5:36