Your Equation

Library / Circuits, electronics and noise / ELN-29

Circuits, electronics and noise

Inverting differentiator output for a ramp input

Output of an ideal inverting differentiator for an input that changes at a steady rate.

Ref
ELN-29
Rev
v1
Field
Circuits, electronics and noise
Result
Vo [V]

For a ramp input the current through the input capacitor is C·dVi/dt, and all of it flows through Rf. The output is Vo = −Rf C dVi/dt, proportional to the slope of the input and inverted. A rising input gives a negative output. A real differentiator needs a small series resistor with C and a small capacitor across Rf, or it amplifies high-frequency noise and oscillates.

Output of an ideal inverting differentiator for an input that changes at a steady rate. It is proportional to the slope of the input, and negative for a rising input. Real circuits add a resistor and capacitor to limit noise gain.

Calculator

Solve for
V
Ω
1,0001,000,000
F
1e-101e-6
V/s
−10,00010,000
  • Time constant, Rf C1×10−4 s
  • Capacitor current, C dVi/dt2×10−5 A
  • Gain at 1 kHz, Rf C 2π f0.6283 V/V

What drives the result

Each variable is moved across its typical range while the others stay at the values above. The longest bar is the key driver.

Output voltage (V) current value −0.2 V
CiInput capacitorKey driver
−20−0.002
RfFeedback resistor
−20−0.02
dVi/dtInput slope
−11
  • A ramp of 2,000 V/s through Rf C = 1×10−4 s gives −0.2 V at the output.
  • The gain rises with frequency, 0.628 at 1 kHz, which is why noise is amplified more than the signal.
Chart data as tables

Ranked variables

VariableTypical rangeLowest resultHighest resultSwing (V)Local stepChange in result
Ci Input capacitor1e-10 to 1e-6 F−20−0.00220+10%+10 %
Rf Feedback resistor1,000 to 1,000,000 Ω−20−0.0219.98+10%+10 %
dVi/dt Input slope−10,000 to 10,000 V/s−112+400 V/s+20 %

Sweep of Input slope

Input slope (V/s)Output voltage (V)
−10,0001
−7,5000.75
−5,0000.5
−2,5000.25
00
2,500−0.25
5,000−0.5
7,500−0.75
10,000−1

Sweep one variable

Output voltage (V)Hover, touch, or use the arrow keys on the chart
−1−0.500.51 −10k−50000500010k Input slope (V/s) now −0.2

Variables and how each one contributes

Vo

Output voltage

Result · V

What the equation gives you. Everything else feeds it.

Rf

Feedback resistor

Ω · typical 1,000 to 1,000,000

The feedback resistor, in Ω. Scales the output size in direct proportion. Raising it by 10 % (to 11,000) moves the result by +10 %, from −0.2 to −0.22 V.

Ci

Input capacitor

F · typical 1e-10 to 1e-6

The input capacitor, in F. A larger C carries more current for the same slope, so the output size rises in direct proportion. Raising it by 10 % (to 1.1×10−8) moves the result by +10 %, from −0.2 to −0.22 V.

dVi/dt

Input slope

V/s · typical −10,000 to 10,000

The slope of the input, dVi/dt, in V/s. A steeper input raises the output size in direct proportion; the sign of the output is opposite to that of the slope. Raising it by 10 % (to 2,200) moves the result by +10 %, from −0.2 to −0.22 V.

Worked example with the values above

  1. Time constant: Rf C = 10,000 × 1×10−8 = 1×10−4 s.
  2. Slope: dVi/dt = 2,000 V/s.
  3. Vo = −1×10−4 × 2,000 = −0.2 V.

Assumptions and limits

  • An ideal op amp with infinite gain and no input current, in its linear range with negative feedback.
  • Output limited only by the supply, and signals within the useful bandwidth.

Common mistakes

  • Forgetting the minus sign of the inverting stage.
  • Leaving out the small series resistor, so that the circuit is unstable.
  • Using the slope in volts per millisecond with SI components.

Statistics and uncertainty

Resistor tolerances set the gain accuracy, so use 1 % parts or better for precision, and a matched network for the difference amplifier, where mismatch converts common-mode voltage into error. Real op amps add offset, bias current and finite gain.

Where it is used

  • Signal mixing, scaling, integration and current-to-voltage conversion in instrumentation.
  • Photodiode, sensor and ramp-generator circuits.

Maths you need

  • Virtual ground: the inverting input sits at the non-inverting voltage
  • Negative feedback: the output acts to cancel the input difference
  • Kirchhoff’s current law: currents at a node add to zero

Related formulas

Practise this formula