Electronic – Op-amp differentiator and integrator circuit: resistor and capacitor values

capacitordifferentialoperational-amplifierresistorssimulation

I don't understand how to determine value of resistors and capacitor in differentiator and integrator circuit of Op-Amp.

I tried to align the amplitudes of these sine waves. I keep changing their values but I can't get it right.

The best result I can get:

differentiator results

The circuit:

differentiator circuit

Okay, so that is my question about the differentiator circuit. The next question is about my integrator circuit. As with the differentiator, I don't understand how these resistors and capacitors affect each other. I tried to make the source a triangular wave and the result a sine wave. Alas, no luck.

Here is the result:

triangular result

Here is the circuit:

triangular circuit

The next one is a square wave. I managed to get it to square wave, but the result is supposed to be a triangular wave and all I get looks like a straight line.

Here is the result:

Square result

Here is the circuit:

Square circuit

How can I determine the correct resistor and capacitor values?

Best Answer

These are all RC time constants, let's call them tau. (freq. = 1/(2*pi*tau))

For differential circuit tau = R1*C3, (with R1 giving you some gain.)

For the integrator tau = R6*C3, (R5 is resetting the cap with yet another time constant.)