Op-Amp Differentiator (with Derivation and Examples)
19:54

Op-Amp Differentiator (with Derivation and Examples)

ALL ABOUT ELECTRONICS

6 chapters6 takeaways11 key terms5 questions

Overview

This video explains how to use an operational amplifier (op-amp) as a differentiator circuit. It begins by distinguishing a differentiator from a differential amplifier and illustrating the differentiator's function with examples like DC and square wave inputs. The video then derives the basic differentiator circuit's formula by swapping the resistor and capacitor from an integrator circuit. It proceeds to discuss the limitations of a simple differentiator, specifically its sensitivity to high-frequency noise and decreasing input impedance at higher frequencies. Finally, it introduces a practical differentiator circuit with added components to overcome these limitations and explains its frequency response and application with examples of sinusoidal and triangular wave inputs.

How was this?

Save this permanently with flashcards, quizzes, and AI chat

Chapters

  • A differentiator circuit's output is the rate of change (derivative) of its input signal, unlike a differential amplifier which amplifies the difference between two inputs.
  • Applying a DC signal to a differentiator results in a zero output because the signal is not changing.
  • Differentiators can detect fast transitions, producing spikes for square waves, and are useful for edge detection or identifying high-frequency components.
  • The basic differentiator circuit can be created by swapping the positions of the resistor and capacitor in an op-amp integrator circuit.
Understanding the fundamental purpose and behavior of a differentiator circuit is crucial for recognizing its applications in signal processing and analysis.
Applying a DC signal to a differentiator yields zero output, while a square wave with fast transitions produces spikes at the output.
  • In the differentiator circuit, the input signal is applied through a capacitor to the inverting terminal of the op-amp, with a feedback resistor connected between the output and the inverting terminal.
  • Assuming an ideal op-amp, no current flows into the op-amp, and the inverting terminal is a virtual ground (0V).
  • Kirchhoff's Current Law (KCL) at the inverting terminal states that the current through the capacitor equals the current through the feedback resistor.
  • The relationship between input voltage (Vin) and output voltage (Vout) is derived as Vout = -Rf * C * d(Vin)/dt, showing the output is proportional to the derivative of the input.
The derivation provides the mathematical foundation for how the circuit operates, enabling calculations of the output for various input signals.
The output voltage (Vout) is found to be equal to -Rf * C * d(Vin)/dt, meaning the output is the negative derivative of the input signal multiplied by the feedback resistance and capacitance.
  • The gain of a simple differentiator is directly proportional to the input signal's frequency (Gain = -Rf * 2 * pi * f * C).
  • This frequency-dependent gain means the circuit is highly sensitive to high-frequency noise, amplifying it significantly.
  • As frequency increases, the capacitor's reactance decreases, leading to a reduction in the circuit's input impedance.
  • The gain at DC is zero, avoiding input offset voltage issues seen in integrators, but the increasing gain at higher frequencies is a major drawback.
Recognizing these limitations is essential for understanding why a simple differentiator is often impractical and why modifications are necessary for real-world applications.
High-frequency noise present in the input signal will be amplified much more than the desired low-frequency signal due to the differentiator's increasing gain with frequency.
  • To overcome limitations, a resistor (R) is added in series with the input capacitor, and a small capacitor (Cf) is added in parallel with the feedback resistor (Rf).
  • The series resistor (R) limits the high-frequency gain and ensures a minimum input impedance (at least R).
  • The feedback capacitor (Cf) further stabilizes the circuit at high frequencies and introduces a second low-pass filtering effect.
  • The practical differentiator circuit effectively has two low-pass filters, resulting in two cutoff frequencies (f1 and f2) that shape its frequency response.
These modifications transform the theoretically useful but practically flawed simple differentiator into a robust circuit suitable for real-world signal processing.
Adding a resistor R in series with the input capacitor C prevents the input impedance from becoming excessively low at high frequencies.
  • The practical differentiator's frequency response initially shows increasing gain, then flattens out due to the first cutoff frequency (f1), and finally decreases after the second cutoff frequency (f2).
  • The useful range for differentiation is between the zero-gain frequency (f0) and the lower of the two cutoff frequencies (min(f1, f2)).
  • For accurate differentiation, the input signal frequency (fs) should be at least 10 times lower than the upper cutoff frequency (f1 or f2, whichever is lower).
Defining the operational frequency range ensures that the circuit performs accurate differentiation without being significantly affected by noise or exhibiting undesirable frequency characteristics.
If f1 = 159.2 KHz and f2 = 318.3 KHz, the input signal frequency should be less than 15.9 KHz for accurate differentiation.
  • When a sinusoidal input signal (e.g., 2sin(2π*3000t)) is applied to a practical differentiator within its useful range, the output is a cosine wave (e.g., -1.885cos(2π*3000t)).
  • The amplitude of the cosine output depends on Rf, C, and the input signal's frequency.
  • Applying a triangular wave input results in a square wave output, where the amplitude is determined by the slope of the triangular wave and the circuit's Rf*C product.
  • The output amplitude for a triangular wave is calculated as -Rf * C * (slope of input triangle wave).
These examples demonstrate the practical application of the differentiator circuit with common signal types, reinforcing the understanding of its input-output relationship.
A triangular wave with a slope of 48000 V/s applied to a differentiator with Rf=5kΩ and C=10nF produces an output of -2.4V during one half-cycle and +2.4V during the other.

Key takeaways

  1. 1An op-amp differentiator outputs the derivative of its input signal, making it useful for detecting rates of change and high-frequency components.
  2. 2The basic differentiator circuit's output voltage is proportional to the negative derivative of the input signal: Vout = -Rf * C * d(Vin)/dt.
  3. 3Simple differentiators suffer from high-frequency noise sensitivity and decreasing input impedance at higher frequencies due to their frequency-dependent gain.
  4. 4A practical differentiator adds a series resistor (R) and a feedback capacitor (Cf) to limit high-frequency gain, ensure minimum input impedance, and improve stability.
  5. 5The useful frequency range for accurate differentiation in a practical circuit is limited by two cutoff frequencies determined by the added components.
  6. 6Differentiators convert sinusoidal inputs to cosine outputs and triangular inputs to square wave outputs.

Key terms

Op-ampDifferentiatorDifferential AmplifierDerivativeVirtual GroundFeedback Resistor (Rf)Input Capacitor (C)Frequency ResponseCutoff FrequencyInput ImpedanceHigh-Frequency Noise

Test your understanding

  1. 1How does the output of an op-amp differentiator fundamentally differ from that of a differential amplifier?
  2. 2What is the mathematical relationship between the input and output voltages of a simple op-amp differentiator circuit?
  3. 3Why is a simple differentiator circuit highly sensitive to high-frequency noise, and what are the consequences of this sensitivity?
  4. 4What specific components are added to a simple differentiator to create a practical differentiator, and what problems do these additions solve?
  5. 5How do the cutoff frequencies (f1 and f2) in a practical differentiator circuit define its useful operating range for accurate signal differentiation?

Turn any lecture into study material

Paste a YouTube URL, PDF, or article. Get flashcards, quizzes, summaries, and AI chat — in seconds.

No credit card required