A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Integrator and Differentiator Circuits

College Depth 184 in the knowledge graph I know this Set as goal
1,251prerequisites beneath it
See this on the map →
Capacitors and Inductors as Energy Storage ElementsInverting Amplifier Analysis+1 more
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

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10One-to-One CorrespondenceCounting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Making 10 as an Addition StrategyAddition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication 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 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-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 IntroductionSine, Cosine, and Tangent RatiosTrigonometric 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 in Polar CoordinatesDouble 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 FieldsWork and CirculationLine Integrals of Scalar and Vector FunctionsFundamental Theorem for Line IntegralsConservative Vector FieldsConservative Vector Fields and Potential FunctionsCurl and Divergence of Vector FieldsCurl and DivergenceDivergence TheoremElectric Flux and Divergence TheoremGauss's Law: Integral Form and MeaningSolving Problems with Gauss'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 WavesPostulates of Special RelativityTime DilationLength ContractionLorentz TransformationRelativistic Velocity AdditionRelativistic Momentum and EnergyMass-Energy Equivalence and E=mc²Photons as Particles with Energy and MomentumPlanck-Einstein Relation: Energy and FrequencyPhotoelectric EffectThe Photon: Light as QuantaCompton ScatteringWave-Particle Dualityde Broglie WavelengthThe Schrödinger EquationState Vectors and WavefunctionsQuantum SuperpositionThe Measurement ProblemInterpretations of Quantum MechanicsPostulates of Quantum MechanicsObservables and Quantum OperatorsCommutators and Commutation RelationsThe WKB ApproximationWKB Quantization and Bohr-Sommerfeld RuleAngular Momentum QuantizationSolution of the Hydrogen AtomIntroduction 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 ObservablesExpectation Values and AveragesTime-Independent Perturbation TheoryDegenerate Perturbation TheoryTime-Dependent Perturbation TheoryTransition Probabilities and Selection RulesHydrogen Atom Spectral SeriesSpectral 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 PrincipleElectrical Properties of MaterialsDiode Characteristics and ModelsDiode Circuit ApplicationsBipolar Junction Transistor (BJT) FundamentalsMOSFET FundamentalsOperational Amplifier FundamentalsOp-Amp Circuit ApplicationsInverting Amplifier AnalysisIntegrator and Differentiator Circuits

Longest path: 185 steps · 1251 total prerequisite topics

Prerequisites (3)

Leads To (0)

No topics depend on this one yet.