So, I'm trying to modify a sample and hold circuit from "The Forrest Mims Engineer's Notebook", that uses a 353 op-amp, so that it runs off of a single supply:
I needed to add a 4.5V (1/2 supply voltage) offset to the inverting input, so that it would operate on a just a single polarity supply. My dilemma is that I need to remove the 4.5V DC offset from the output. Obviously, the output would be a DC voltage, so a capacitor would not work. I was simply wondering if there was a way that I could subtract the 4.5V offset from the output, using all discrete components if possible.
Best Answer
The op-amp circuit following the sample and hold is intended to have a gain of two and I think this over complicates things with the mid-rail generator formed by R1 and R2. Try this for size: -
Now, if you have 3V on the input and you sample it, 3V will get charged onto C1 and the output from the op-amp will be a buffered 3V - isn't this what you want?
If you do need a gain of two then restore R4 but take it down to GND/0V - this time, with 3V being sampled it'll be 6V at the output. If your maximum input voltage is 4V you'll get 8.8V on the output - except the LF353 is a poor choice these days - it's not rail-to-rail which means you might see 7.5V maximum on the output - it's going to limit to about 1.5V below the 9V supply voltage.
If, in fact you have a 12V rail, then using it as a gain of two is fine because if your input is restricted to 5V it'll produce a 10V output no problem.