You are on page 1of 5

Lecture 15 Integrator and Differentiator

Objective: To present an op amp integrator and differentiator. The circuit techniques applied for resistive op amp circuits can be extended to study op amp circuits with both resistors and capacitors. The most fundamental RC op amp circuits are the integrator and the differentiator. At the end of this class you should be able to: * Understand the operation of op amp integrator and differentiator * Analysis the integrator and differentiator circuits assuming ideal and non-ideal op amps. Inverting Integrator: In this configuration: Feedback resistor R2 in the inverting amplifier is replaced by capacitor C. The circuit uses frequency-dependent feedback.

Fig. 1: Integrator: (a) circuit (b) response to step input In analyzing RC op amp circuit, you may use time domain or frequency domain method.

Using time domain analysis:

v is = s R
ic = C dvo dt

Since ic= is

1 vs d RC t vo (t ) = 1 vs ( )d + vo (0) RC 0 vo (0) = Vc (0) dvo =

* Voltage at the circuits output at time t is given by the initial capacitor voltage plus the integral of the input signal from start of integration interval, here, t=0. * Integration of an input step signal results in a ramp at the output as shown in Fig. 7(b)

Example 1:
Draw the output waveform of the integrator shown in Fig. 1(a) in response to the input shown in Fig. 2. Assume R=10k, C=10nF and vo(0)=0.

Fig. 2: Step input

Solution:
1 1 vo(t ) = t for 0 t 1ms 1 d = CR 0 1 10 4
Thus, the output voltage will decrease linearly with time from 0V at t=0 to 10V at t=1ms as shown in Fig. 3.
t

Fig. 3: Response of the step input

* Frequency domain analysis of the integrator is very simple. By writing the KCL equation at v- and solving for vo(s) results in:

vo ( s ) 1 = vi ( s ) sRC
For physical frequency s j :

v o ( j ) 1 = v i ( j ) jRC

Therefore, the magnitude and phase responses are as follows: vo 1 = Magnitude: vi CR Phase:

= 180 90 = 90 o constant

The Bode plot of the magnitude response of the integrator is shown in Fig. 4.

Fig. 4: Bode plot of the integrator transfer function

Problem: Note that this means any small dc component of vi(t) results in output. In practice, the op amp will saturates at a voltage close to V+ or V- depending on input voltage polarity.
Example 2: Determine the output voltage due to both offset voltage and biasing current for the integrator circuit shown in Fig. 5

Fig. 5: DC errors in the integrator

At t<0, reset switch is closed, circuit becomes a voltage-follower

Vo = V OS
At t=0, reset switch is opened, circuit starts integrating its own offset voltage and bias current. Using superposition analysis, output due to VOS can be found as follows. Assume the initial capacitor voltage is zero. t 1 By KVL: Vo (t ) = VOS + iC dt C0 But ic =

VOS R
t V 1 VOS + d = VOS + OS t C0 R CR

Vo (t ) = VOS

(1)

This means that Vo(t) increases linearly with time until op amp saturates. Therefore, the offset voltage is very dangerous for the integrator operation. When VOS is set to zero, the output due to IB2 will be: I vo (t ) = B2 t C Thus the total output is given by:
V I voT (t ) = V + OS t + B2 t OS RC C

This means that the output becomes ramp with slope determined by VOS and IB2 and saturates at one of the power supplies. Differentiator:

Fig. 6: Differentiator

In this configuration: Input resistor R1 in the inverting amplifier is replaced by capacitor C. Derivative operation emphasizes high-frequency components of input signal, hence is less often used than the integrator. * Using time domain analysis:

v i = o R R

is = C
Since iR= is

dvs dt
dvs dt

vo = RC

Output is scaled version of derivative of input voltage. Problem: the differentiator is noise magnifier (i.e. spikes are produced at output due to sharp changing in vi(t). Therefore, it is usually avoided in practice. In frequency domain, writing KCL at v- and solving for transfer function yields: vo (s) v ( j ) = sCR o = j CR vi (s) v i ( j )
vo = CR vi

= 90

The Bode plot of the magnitude response of the differentiator is shown in Fig. 7.

1 CR

Fig. 7: Bode plot of the differentiator transfer function