I've been playing around with a sample and hold adder circuit. Essentially, I am trying to sample a sine wave with a sample and hold circuit. I want to take that sample and add it back to the sine wave to set its DC value. This is what I've come up with but its not happening the wave I imagined it. What is going wrong here?
- Red = Sine Wave
- Blue = Sample
- Green = Summing Amp
I know I am forgetting a fundamental concept here. Can someone explain to me what's going wrong here?