
Op-Amp Differentiator (with Derivation and Examples)
ALL ABOUT ELECTRONICS
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.
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.
- 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 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.
- 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.
- 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).
- 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).
Key takeaways
- An op-amp differentiator outputs the derivative of its input signal, making it useful for detecting rates of change and high-frequency components.
- The basic differentiator circuit's output voltage is proportional to the negative derivative of the input signal: Vout = -Rf * C * d(Vin)/dt.
- Simple differentiators suffer from high-frequency noise sensitivity and decreasing input impedance at higher frequencies due to their frequency-dependent gain.
- A practical differentiator adds a series resistor (R) and a feedback capacitor (Cf) to limit high-frequency gain, ensure minimum input impedance, and improve stability.
- The useful frequency range for accurate differentiation in a practical circuit is limited by two cutoff frequencies determined by the added components.
- Differentiators convert sinusoidal inputs to cosine outputs and triangular inputs to square wave outputs.
Key terms
Test your understanding
- How does the output of an op-amp differentiator fundamentally differ from that of a differential amplifier?
- What is the mathematical relationship between the input and output voltages of a simple op-amp differentiator circuit?
- Why is a simple differentiator circuit highly sensitive to high-frequency noise, and what are the consequences of this sensitivity?
- What specific components are added to a simple differentiator to create a practical differentiator, and what problems do these additions solve?
- How do the cutoff frequencies (f1 and f2) in a practical differentiator circuit define its useful operating range for accurate signal differentiation?