Heya all!
Im sorry if this has been discussed somewhere, but i haven't been able to precisely keyword my problem (If anyone knows a good search term, please, do tell).
So i'm doing some more in-depth op-amp stuff than I've used to.
This is my specific op-amp circuit:
not sure how to embed attachment pictures...
See attachment picture
The circuit basically is like a variable PWM, depending on the input signal. I need PWM from both periods of the input signal around the set threshold (so I've created positive and negative threshold simultaneously).
I get around 800mV offset (green and blue lines) at the final comparator 'switches', which I want to be at 0V when at rest. Any ideas what should I do ?
I've messed around adding some negative feedbacks (makes the transitions slow though :S ) and trying differential op-amp modes, but maybe I'm doing it wrong...
OR maybe there's some better circuits to achieve this behaviour (but this is what I came up myself though).
(there can be more issues, when i want to build it up in real life - decoupling, actual resistor sizes etc, but these would be left for another topic I guess.)