I'm trying to choose the right parameters in the simulation in order for the output to show a square wave of gain C1/C2 = 2V
Anyone know what I'm doing wrong? Thanks.
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It only takes a minute to sign up.Sign up to join this community
The inverting input is not referenced to any DC voltage therefore it floats. It needs to have negative feedback via a resistor to keep it centred between the power rails. My recommendation is to use a feedback resistor (maybe 10 kohm) and also add a 10 kohm in series with C1. Make C1 a lot higher in value too.
The circuit I propose would have a gain of 1 and will remove the DC offset from the input signal. That is what I believe you are looking for. An op-amp's gain cannot be adequately defined purely by the ratio of capacitors.