Re: Opamp Integrator
RollingEEE,
A true integrator output will ramp up at a constant rate while the square wave input input is non-zero. The output will remain constant while the input is zero. It will then ramp up (starting where it left off) at the constant rate when the input is again non-zero, This process will continue until the output reaches saturation. Is this what you want?
.
A true integrator is very difficult to implement because both input offset voltage and input bias current will cause the output to drift, even with zero input.
.
You can approximate an integrator with a low pass filter whose time constant is very long compared to the period of the input. This will mitigate the drift problem.
.
Let the integrator characteristic time equal Tau = RC, wher R is the input resistor, and C is the feedback resistor. Then the output ramp rate wil equal Vin/(RC).