Home/Analog Electronics/Op-amp applications/Differentiator
Differentiator using Op-Amp (IC 741) – Virtual Lab
A differentiator places a capacitor in the input path and a resistor in the feedback path. The output is proportional to how fast the input changes, so a triangle (constant slopes) becomes a square wave.
Aim
To build a practical differentiator using IC 741 and observe the conversion of a triangular wave into a square wave.
Circuit components
| Component | Value | Purpose |
|---|---|---|
| IC 741 | OA1 | — |
| C1 | 10 nF | Input capacitor |
| Rs | 1 kΩ | Series resistor for stability |
| Rf | 100 kΩ | Feedback resistor |
Supply: ±12 V dual power supply. Instruments: function generator and two-channel digital storage oscilloscope, all on the virtual bench.
Theory
The capacitor current is C dVin/dt. Because the − input is a virtual ground, all of this current flows through Rf and produces Vo = −RfC dVin/dt.
An ideal differentiator has a gain that rises without limit with frequency, which amplifies noise and makes the circuit oscillate. The small series resistor Rs limits the high-frequency gain to Rf/Rs = 100 and keeps the circuit stable.
The rising slope of the triangle gives a constant negative output and the falling slope a constant positive output, so the output is a square wave of about 8 Vpp.
Procedure
- Open the Op-Amp Trainer Kit simulator; it starts with the Differentiator application selected.
- In Guided mode follow the highlighted connections to place the components from the parts bank and wire the circuit on the kit, or wire it yourself in Free mode.
- Set the dual power supply to ±12 V and switch it on.
- Switch on the function generator and set: Triangle, 2 Vpp, 1 kHz.
- Connect CH1 and CH2 of the oscilloscope as shown and set: CH1 1 V/div, CH2 2 V/div, 200 µs/div.
- Measure the level of the output square wave.
- Note the small overshoot at each corner caused by the limited bandwidth.
- Change the input to a sine and observe the inverted cosine output.
- Capture the oscilloscope screen and compare it with the expected result below.
Expected result
The triangle is converted into a square wave of about ±4 V (8 Vpp), as given by RfC × dVin/dt.
Viva questions
- Why is a resistor placed in series with the input capacitor?
- To limit the gain at high frequency, which reduces noise and prevents oscillation.
- What is the output of a differentiator for a square wave input?
- Narrow spikes at each edge, because the input changes only at the transitions.
- Why is a differentiator less common than an integrator?
- Its gain increases with frequency, so it amplifies high-frequency noise.
Other op-amp applications
Linear amplifiers
Integrator and differentiator
- Integrator
- Differentiator
Comparators and waveform generators
Active filters
Non-linear circuits
All applications run on the Op-Amp Trainer Kit 3D virtual lab.