Build Single pole changeover switch from 4066 Single pole, single throw

operational-amplifierswitches

I am trying to build this circuit which requires two SPCO switch that go between two voltage values but I only have access to 4066N SPST switches.

Circuit

I am not sure if there are better alternative designs but the one I came up with was to use two different switches and an inverter for the clock. Apologies for the terrible MS paint drawing.

Possible Solution
Edit: That triangle thing on the second IN is a ground, not another opamp.

My question is will this work? I'm wondering if tying the outputs together like that would cause problems but I don't understand the circuit well enough to know for sure.

Also, this is more of a notation question but the first opamp only shows an input into the + terminal. Is the other one grounded by convention or is it trying to say something else?

Best Answer

This will work but with a small modification. The output from the AC amplifier is decoupled via the output capacitor and therefore the voltage reaching the 4066 switch might have a strange dc value on it. The possible solution is to not ac couple but rely on the dc connection to the ac amplifier - there shouldn't be any problem designing the ac amp to have a "centred" dc rail coming from the device so that the 4066 switch is seeing an ac voltage mid-rail of its supplies.

On the most left-hand switch you ought to have a pull-down resistor after the switch and before it feeds to the AC amplifier, probably in the order of 1M ohm.

Any time you use analogue switches in this type of application you have to watch out for the switches inherent leakage currents charging up capacitors and this is always alleviated by dc coupling.