IAE Academy

Filters & waveforms formulas

Active filters, comparators, Schmitt triggers, timers, VCOs and PLLs. 29 formulas for GATE EC, EE, IN Analog Electronics, each with when to use it. Each is explained in the topic notes.

All 29 Filters & waveforms formulas

FIRST-ORDER LOW-PASS, NON-INVERTING

R in series from the input to the + terminal, C from the + terminal to ground; (− terminal to ground) and (output to − terminal) set the passband gain and do not affect . and . With (voltage follower), .

FIRST-ORDER HIGH-PASS, NON-INVERTING

R and C swap places: C in series to the + terminal, R from the + terminal to ground. , phase . A real op-amp's finite gain-bandwidth product eventually turns every active high-pass into a band-pass; the ideal model ignores this.

FIRST-ORDER LOW-PASS, INVERTING

from the input to the − terminal, in parallel with in the feedback path, + terminal grounded. Only the feedback pair sets . The passband phase is , so the total phase is .

FIRST-ORDER HIGH-PASS, INVERTING

and in series from the input to the − terminal, alone in the feedback path. Only the input pair sets ; the high-frequency gain is .

STANDARD SECOND-ORDER FORMS

K is the passband gain: at DC for the low-pass, at high frequency for the high-pass, at for the band-pass, and in both outer bands for the notch. . At : , and .

SALLEN-KEY LOW-PASS (GENERAL)

is the capacitor to the output, the capacitor to ground; DC gain K. Dividing through by gives .

UNITY-GAIN SALLEN-KEY LOW-PASS (K = 1)

With equal resistors, Q is set by the capacitor ratio alone: Butterworth () needs , the feedback capacitor twice the grounded one. Equal R and equal C at unity gain give only .

EQUAL-COMPONENT SALLEN-KEY (LOW-PASS OR HIGH-PASS)

Holds for both the low-pass and the high-pass Sallen-Key; the gain alone sets Q. Stable only for : at the poles reach the axis and the circuit oscillates at , and for they are in the right half-plane. Butterworth: , i.e. . At the gain is .

BUTTERWORTH MAGNITUDE RESPONSE

Low-pass of order n (for a high-pass, replace by ). Maximally flat at (the first derivatives of vanish there), no ripple, exactly −3 dB at for every n, asymptotic roll-off dB/decade, and phase at . The poles lie equally spaced on a circle of radius in the left half-plane. Other standard approximations make different trade-offs: Chebyshev accepts ripple in the passband for a sharper transition at the same order, and Bessel accepts a gentler transition for a nearly constant group delay; all three roll off at dB/decade asymptotically.

BUTTERWORTH ORDER REQUIRED

= the largest attenuation (dB) allowed at the passband edge ; = the least attenuation (dB) required at the stopband edge (low-pass: ; high-pass: use ). Round n UP to an integer. If is the −3 dB cut-off, . Example: at least 40 dB at needs , so .

BAND-PASS RELATIONS

and are the −3 dB frequencies of the overall response. Exact for any second-order band-pass ( and ): the centre is the geometric, not the arithmetic, mean of the cut-offs. For a cascade of first-order stages, the stage cut-offs and are not the overall and unless (see above), although the gain always peaks at .

FIRST-ORDER ALL-PASS (PHASE SHIFTER)

The input drives both op-amp inputs: through to the − terminal (with from the output to the − terminal), and through R to the + terminal, with C from the + terminal to ground. Then and . The gain is 1 at every frequency; the phase goes from at DC through at towards . Swapping R and C gives , phase .

COMPARATOR (OPEN LOOP)

Ideal op-amp, no feedback: the virtual-short rule does NOT apply. If the output is limited by a series resistor followed by back-to-back Zener diodes from the limited output node to ground, the levels become (constant-drop diode model, V).

DUTY CYCLE OF A COMPARATOR DRIVEN BY A SINE WAVE

Non-inverting comparator, input , reference with ; D is the fraction of each period with the output at , and is in radians. For the inverting comparator the fraction is . gives exactly one half.

INVERTING SCHMITT TRIGGER

Input to the − terminal; from the + terminal to the reference (ground if ), from the output to the + terminal. By superposition with . With : , , . The output goes LOW when rises above and HIGH when it falls below . The loop is centred at .

NON-INVERTING SCHMITT TRIGGER

Input through to the + terminal, from the output to the + terminal, reference on the − terminal (ground if ). Switching happens when reaches . With : and . The output goes HIGH when rises above and LOW when it falls below .

RC TIMING (CHARGE OR DISCHARGE TOWARD A TARGET)

Time for a capacitor charging or discharging through R, from toward the asymptote , to reach (which must lie between the two). Every period and pulse-width formula in this section and the 555 section is this formula with specific values.

OP-AMP ASTABLE MULTIVIBRATOR

An inverting Schmitt trigger ( from the + terminal to ground, from the output to the + terminal) with R from the output to the − terminal and C from the − terminal to ground. With symmetric , each half-period the capacitor charges from toward until it reaches , so the output is a square wave with 50% duty cycle and T does not depend on . The capacitor voltage is a chain of exponential segments, not a true triangle. gives ; gives .

OP-AMP MONOSTABLE MULTIVIBRATOR

The astable above with a diode across C (anode at the − terminal) that clamps at (constant-drop model, V) while ; this stable state needs . A negative trigger pulse at the + terminal sends to ; C then charges from toward , and the circuit flips back when reaches . With and neglected, . After the pulse, C must recover to before the next trigger.

SQUARE/TRIANGLE GENERATOR

Schmitt trigger: from the triangle output to the + terminal, from the square output to the + terminal, − terminal grounded. Integrator: input resistor R, feedback capacitor C. The triangle swings between (peak-to-peak ; needs ) and the square between . From ; f is independent of because the ramp rate and the thresholds both scale with it.

555 MONOSTABLE PULSE WIDTH

R from to pins 6 and 7, C from there to ground, trigger on pin 2. In the stable state the output is low and C is held discharged. A trigger below sets the output high; C charges from 0 toward , and the pulse ends when . The trigger must return above before T ends (a narrow trigger pulse); in the basic circuit, further triggers during the pulse do not extend it. T does not depend on .

555 ASTABLE

from to pin 7, from pin 7 to pins 6 and 2, C from pins 6 and 2 to ground. C charges through and discharges through alone, between and (a ratio of 2 each way, hence ). With D defined as high time over period, D is always above one half and approaches it only when . must not be zero, or pin 7 shorts to ground when the discharge transistor turns on.

555 ASTABLE WITH A DIODE ACROSS R_B

A diode across (anode at pin 7) bypasses while C charges, so C charges through only and discharges through only. Ideal-diode result; with a real diode drop, comes out somewhat longer. gives a 50% duty cycle, and duty cycles below 50% become possible.

555 WITH THE CONTROL-VOLTAGE PIN DRIVEN

Pin 5 driven to moves the thresholds to and . is unaffected (the discharge still halves ), while raising lengthens and lowers f. This is how a 555 becomes a voltage-controlled oscillator and, in monostable mode, a pulse-width modulator. recovers the standard formulas.

VCO CHARACTERISTIC

in Hz/V, in (rad/s)/V. Linear model. Check which unit a question uses before multiplying.

PHASE-DETECTOR CHARACTERISTICS

Multiplier of gain : inputs and average to , so V/rad ( for unit multiplier gain). XOR with logic levels 0 and : with 50% duty-cycle square waves a phase difference apart, the output is high for a fraction of the time, so V/rad; , measured from the midpoint output .

LOCKED LOOP: CONTROL VOLTAGE AND STATIC PHASE ERROR

Locked loop, linear PD model , loop-filter DC gain , so . (units 1/s) is the DC loop gain; the cancels if both the offset and the VCO gain are in Hz. A larger gives a smaller phase error for the same offset. With a sinusoidal PD, the second relation gives instead of .

LOCK (HOLD-IN) RANGE

is the largest PD output measured from its zero point: for the multiplier (at ), and for the XOR, whose characteristic is linear over . A loop that is already locked stays locked while the input moves up to this far from , i.e. as far as the largest available control voltage can pull the VCO (assuming the VCO itself can go that far). It depends on the filter's DC gain, not its bandwidth. Some questions quote the total width () instead of the one-sided value; read the wording.

CAPTURE (PULL-IN) RANGE, SINGLE-POLE RC LOOP FILTER

One-sided ranges; loop filter with ; an approximation valid when . Starting unlocked, the PD output is a beat at the difference frequency , which the filter attenuates by about ; the loop pulls in only if the attenuated beat still swings the VCO far enough, which gives . The capture range never exceeds the lock range. A narrower filter (larger ) narrows the capture range and leaves the lock range unchanged.

Where this was asked: 2018 (1), 2020 (2), 2022 (4), 2024 (3), 2025 (1), 2026 (2). See the 13 previous-year questions on Filters & waveforms. This shows what was asked, not what will be asked.