Integrator and Differentiator Circuits

College Depth 164 in the knowledge graph I know this Set as goal
integrator differentiator op-amp capacitor-feedback frequency-response dc-offset reset-switch

Core Idea

The op-amp integrator replaces the feedback resistor of the inverting amplifier with a capacitor: V_out(t) = -(1/R_in*C) * integral of V_in(t) dt. It performs mathematical integration in continuous time, converting a constant input to a linearly ramping output and a square wave to a triangle wave. In the frequency domain, it has gain |H(jw)| = 1/(w*R*C), acting as a low-pass filter with gain that increases without bound at low frequencies — the fundamental practical problem. Any DC offset or bias current at the input integrates over time, driving the output to saturation. A large feedback resistor in parallel with C limits the DC gain and prevents saturation at the cost of deviating from ideal integration at low frequencies. The op-amp differentiator places the capacitor in the input path with a feedback resistor: V_out(t) = -R_f*C * dV_in/dt. Its gain increases with frequency (|H(jw)| = w*R*C), amplifying high-frequency noise and making it inherently unstable without a series input resistor to limit high-frequency gain. Both circuits are building blocks for analog computers, PID controllers, and active filter design.

How It's Best Learned

Derive the integrator transfer function by writing KCL at the virtual ground node using impedance Z_C = 1/(jwC) for the capacitor, then transform to the time domain using the capacitor voltage-current relationship. Apply a square wave input and sketch the output by hand. Then add a parallel feedback resistor and re-derive the transfer function to see how it modifies the low-frequency behavior. Repeat the dual analysis for the differentiator.

Common Misconceptions

Explainer

You know from op-amp circuit applications that the inverting amplifier has gain −R_f/R_in, set by the ratio of feedback to input resistors. You also know from capacitor and inductor energy storage that a capacitor's impedance is Z_C = 1/(jωC) — it looks like a very large resistor at low frequencies and a very small one at high frequencies. The op-amp integrator exploits both ideas: replace the feedback resistor with a capacitor, so the gain becomes −Z_C/R_in = −1/(jωRC). Low frequencies see enormous gain; high frequencies see tiny gain. This is mathematically equivalent to integration in the time domain: V_out(t) = −(1/RC) ∫ V_in(t) dt.

The square-wave-to-triangle-wave conversion makes the integration concrete. Feed a square wave into the integrator: during the positive half-cycle, the input is a constant positive voltage. Integrating a constant yields a linearly increasing output — a ramp. During the negative half-cycle, the ramp reverses. The output is a triangle wave, and its slope is proportional to the input amplitude and inversely proportional to RC. This is not filtering in the ordinary sense; it is continuous-time computation. Analog computers used chains of integrators to solve differential equations — a second-order DE becomes two cascaded integrators with appropriate feedback.

The practical problem is DC offset. Ideal integration assumes the output starts at zero and the input has zero DC component. Real op-amps have non-zero input offset voltage (a small DC error at the input) and input bias current (small DC currents flowing into both input terminals). When the integrator runs without bound on these DC terms, the output ramps to the power supply rail and saturates. The fix is a large feedback resistor in parallel with the capacitor: at DC (ω = 0), the capacitor is an open circuit and the feedback resistor limits gain to −R_f/R_in, a finite value. The circuit is now a lossy integrator — it integrates accurately for signals above a break frequency 1/(2πR_fC) but behaves like an ordinary inverting amplifier at DC.

The differentiator is the dual: the capacitor moves to the input path, the resistor to feedback. Gain becomes −R·Z_C⁻¹ = −jωRC, rising with frequency. In the time domain, V_out = −RC · dV_in/dt. A triangle wave in produces a square wave out; a ramp in produces a step out. The problem is the gain-versus-frequency shape: because gain keeps rising, high-frequency noise is amplified without limit. Any small noise spike at the input produces a large spike at the output. The circuit also tends toward oscillation because the rising gain interacts with the op-amp's own phase shift. The fix — a small series resistor at the input — caps the maximum gain and stabilizes the circuit, but at the cost of differentiating accurately only below a frequency set by that resistor. Differentiators are far less common than integrators in practice for exactly this reason.

Practice Questions 5 questions

Prerequisite Chain

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueReading and Writing DecimalsComparing and Ordering DecimalsAdding and Subtracting DecimalsMultiplying DecimalsDividing DecimalsDividing FractionsMixed Number ArithmeticOrder of OperationsInteger Order of OperationsVariable ExpressionsCombining Like TermsOne-Step EquationsTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIterated Integrals and Fubini's TheoremDouble Integrals in Cartesian CoordinatesDouble Integrals over Rectangular RegionsDouble Integrals in Polar CoordinatesDouble Integrals: Definition and SetupIterated Integrals and Fubini's TheoremDouble Integrals over Rectangular RegionsDouble Integrals over General RegionsApplications of Double Integrals: Area, Mass, and MomentsTriple Integrals in Cartesian CoordinatesTriple Integrals in Cylindrical and Spherical CoordinatesChange of Variables and the Jacobian DeterminantApplications of Triple Integrals: Volume and MassVector Fields and Their RepresentationsLine Integrals of Vector FieldsGreen's TheoremSurface Integrals and Flux of Vector FieldsSurface Integrals and Flux of Vector FieldsDivergence Theorem: Flux and OutflowDivergence TheoremElectric FluxGauss's LawConductors in Electrostatic EquilibriumCapacitance and CapacitorsDielectricsDielectric Constant and Relative PermittivityElectric Field Inside Dielectric MaterialsDielectric Materials and PolarizationDielectric Susceptibility and PermittivityEnergy Density in Electric FieldsElectric Current and Current DensityElectrical Resistance and ResistivityOhm's Law and Circuit ElementsElectromotive Force (EMF) and BatteriesKirchhoff's Circuit Laws: Voltage and CurrentDC Circuit Network Analysis MethodsTransient Response in RC CircuitsRC CircuitsLC and RLC CircuitsAC Circuits: FundamentalsImpedance and ReactanceAC Power and ResonanceElectromagnetic WavesThe Electromagnetic SpectrumBlackbody Radiation and Planck's LawPhotoelectric EffectThe Photon: Light as QuantaCompton ScatteringWave-Particle Dualityde Broglie WavelengthHeisenberg Uncertainty PrincipleWavefunction and the Born RuleThe Schrödinger EquationState Vectors and WavefunctionsQuantum SuperpositionQuantum EntanglementBell Theorem and Bell InequalitiesPostulates of Quantum MechanicsScattering TheoryIntroduction to Scattering TheoryPartial Wave Analysis in ScatteringSpin Angular MomentumElectron Spin and Intrinsic Magnetic MomentStern-Gerlach Experiment: Spin Quantization and MeasurementElectron Diffraction and Matter Wave PropertiesDavisson-Germer Experiment: Crystal Diffraction of ElectronsElectron Diffraction and Matter Wave InterferenceWavefunctions and Probability Density InterpretationQuantum Superposition and Linear Combinations of StatesQuantum Operators and ObservablesCanonical Commutation Relations and UncertaintyHeisenberg Uncertainty Principle and Measurement LimitsTime-Independent Schrödinger Equation and EigenvaluesHydrogen Atom in Quantum MechanicsSpectral Lines and Energy TransitionsSelection Rules for Atomic TransitionsLS and jj Coupling Schemes in Multi-Electron AtomsPauli Exclusion Principle and Antisymmetric WavefunctionsElectron Configuration and the Aufbau PrincipleThe Periodic Table and Atomic Electronic StructureThe Periodic TableElectron ConfigurationPeriodic TrendsIonization EnergyIonic BondingLewis StructuresPolar Covalent Bonds and Dipole MomentsClassification of Bonds: Ionic, Covalent, and MetallicMetallic Bonding and Properties of MetalsCrystal Structures and Solid PropertiesCrystal Structure and Unit CellsElectrical Properties of MaterialsDiode Characteristics and ModelsDiode Circuit ApplicationsBipolar Junction Transistor (BJT) FundamentalsMOSFET FundamentalsOperational Amplifier FundamentalsOp-Amp Circuit ApplicationsIntegrator and Differentiator Circuits

Longest path: 165 steps · 911 total prerequisite topics

Prerequisites (2)

Leads To (0)

No topics depend on this one yet.