I'm trying to design an analog switch to switch a signal on and off, for this I was thinking to make my own transmission gate with 2 mosfets.
Setup:
I have a piezo transducer that I use to send a pulse and then listen to it for the reflected pulse. Since the start pulse has a high voltage (> +-30V), I need to protect the aqcuisition circuit. (The return pulse is an order smaller than the send pulse and needs amplification).
I've made this circuit in LTspice and it seems to block the positive part of the sine wave I feed it. However the negative part doesn't gets blocked and I don't know how I can modify the circuit to also block the negative part.

So, when V(pulse_n) is high, the signal should be blocked, is V(pulse_n) low, the signal should be passed through.
V(pulse_p) is the inverse of V(pulse_n)
Setup:
I have a piezo transducer that I use to send a pulse and then listen to it for the reflected pulse. Since the start pulse has a high voltage (> +-30V), I need to protect the aqcuisition circuit. (The return pulse is an order smaller than the send pulse and needs amplification).
I've made this circuit in LTspice and it seems to block the positive part of the sine wave I feed it. However the negative part doesn't gets blocked and I don't know how I can modify the circuit to also block the negative part.

So, when V(pulse_n) is high, the signal should be blocked, is V(pulse_n) low, the signal should be passed through.
V(pulse_p) is the inverse of V(pulse_n)