I want to mix up to four AC signals, that may or may not be DC biased, but will always be between -5.6 and +5.6. For that I was going to use a summing amp. (If anyone wants to talk me out of that in a comment, feel free, but that's not the main focus of the question.)

I also want to be able to connect/disconnect the signals to the mixer via a microcontroller. I'm not THAT concerned with a little distortion or delay, since the signals are monotone and mostly for testing purposes. I have read that a relay is probably my best bet, but I don't have any around at the moment. Therefore, I tried to design one using the discrete components I have, which are BJTs, MOSFETs, and the normal passives. I read this post, but I'm not really sure how to apply SCRs or TRIACs. The TRIAC's wiki page lost me when it started talking about quadrants, haha. I just want to pass the signal, or block it.

For instance, I drew up and simulated the following BJT schematic. Since it's my own creation, I of course don't trust it, but it seems to work, with only 10nA pulled from the control pin. Could anyone give me a reason why a relay is preferable?

enter image description here

Output is OFF when VCON=5. Current leakage also shown. Output is OFF when VCONT=5. Current leakage also shown. Output is ON when VCON=0 Output is ON when Vcon=0

In reference to Russell's comment, I tried to simulate this circuit:

enter image description here

But the control (shown here as voltage source) cannot be grounded. In this pic it works, because the control is isolated. I tried adding a resistor between ground and sources, but that does not allow for full cutoff.

At Russell's behest, I built the NMOS version and it worked even though the simulations show only a dampening for the positive swing:

This was the circuit that was simulated and built/tested: enter image description here

Simulation result: enter image description here

Oscilloscope measurement (when forgetting to ground the Source, or having very high R to ground): enter image description here

Oscilloscope measurement with the 6.8k resistor from S to GND: enter image description here

Voltmeter measurements:

When Vcon=HIGH: 0 uA from Vcon, 12 uA from signal into input, 9 uA from Source to GND.

When Vcon=LOW:0 uA from Vcon, 0 uA from signal to input, 0 uA from Source to GND.

  • 1
    \$\begingroup\$ You'll want base resistors from base to Vcont and inverse. Reverse biased transistors tend to act like very low beta versions of the same which may or may not cause issues. Reversed biased junctions will breakdown above a certain voltage but probably OK here. | More formally proper and very effective is two MOSFETS of identical type (eg 2 N or 2 P channel in series opposed with sources joined and gates joined and two drains as bidirectional IO. Drive gates high wrt sources for N channel to turn both on and low wrt source to turn off. In this case drive to high and low rails OK .... \$\endgroup\$ – Russell McMahon Jul 25 '15 at 15:46
  • \$\begingroup\$ When off, how much attenuation do you expect to see from input to output and don't say infinite cause it won't happen? \$\endgroup\$ – Andy aka Jul 25 '15 at 15:48
  • \$\begingroup\$ .... if AC lies between rails. Notionally you need drive wrt sources but doing as above tends to work due to strays and non idealities. If desired a say 2 x 1 megOhm from source to each rail will give a dc reference point which signal easily swamps when on. Vgate needs to be Vgsth + some above AC max for proper turn on. \$\endgroup\$ – Russell McMahon Jul 25 '15 at 15:49
  • \$\begingroup\$ @Andy - him or me? I used FET back to back switcy in an inductive loop driver where I turned off loop power to signal . There was too much break through due to capacitive coupling so I followed it with a ground clamp that was on when this switcy was off and I could isolate 10's of volts signal from sub millivolt signal. \$\endgroup\$ – Russell McMahon Jul 25 '15 at 15:51
  • \$\begingroup\$ @Andyaka - The above attenuation is fine. Of course 0V is better, but I guess I'd need mechanical relay for that? \$\endgroup\$ – MrUser Jul 25 '15 at 16:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.