Waveform generators (sine, square, triangular), multivibrators
- GATE
- UP GDC Mains
4 minute read · Updated 2026-11-15
Picking up from
In Active filters, we saw that active filters combine frequency-selective networks with amplification or buffering to control passbands, attenuation and loading. How do thresholds and charging dynamics determine a repeated waveform?
In one line
Waveform generators combine energy storage, thresholds and switching to produce sine, square or triangular signals.
The idea, explained
A waveform generator repeats a dynamical cycle rather than merely scaling an externally supplied waveform. Sinusoidal oscillators use frequency selection and controlled amplitude buildup. Relaxation oscillators instead charge an energy-storage element until a threshold is reached, switch state, and repeat. A bistable element can hold either of two states, a monostable returns after one triggered interval, and an astable continuously cycles.
A square wave can drive an integrator to produce a triangular ramp, while a threshold element can convert a ramp back into switching events. The ramp shape depends on whether the capacitor sees nearly constant current or a resistor charging toward a fixed voltage. Exponential charging does not automatically create a perfect triangle. Real switching delays, hysteresis, saturation recovery and component loading modify ideal periods and duty cycles. The timing equation must correspond to the actual charge and discharge paths, not a circuit label alone.
Core ideas
- A stable state persists without a trigger in a bistable model. Monostable and astable classifications count stable states, not simply the number of visible transistors.
- Hysteresis supplies different rising and falling thresholds, helping prevent rapid chatter near one noisy switching level.
- A constant-current capacitor charge gives a linear voltage ramp. Charging through a resistor toward a fixed supply gives an exponential ramp.
- Duty cycle depends on separate charge and discharge durations. A period formula alone does not prove a fifty-percent square wave.
- Finite slew rate and switching recovery round waveform edges and can shift threshold timing. Ideal instantaneous switching is an approximation with a frequency range.
Key formulas
Capacitor ramp under constant current
The current is approximately constant over the ramp and leakage or loading is neglected.
Resistive threshold charging interval
The capacitor moves from to toward supply through the stated resistor path.
Draw the state sequence and mark which switches, comparators or feedback paths change at each threshold. Derive the capacitor trajectory for each interval, then sum intervals for the period and divide to obtain duty cycle. Check that each threshold lies within the reachable voltage range. Include different paths for charge and discharge instead of forcing one RC expression on both. If a requested sine wave is produced through shaping, distinguish the generator’s timing principle from the additional distortion and filtering assumptions.
Quick worked example
A constant current charges a capacitor between two fixed thresholds. Doubling the capacitance doubles each ramp duration if current and threshold separation stay unchanged. If charging current varies with capacitor voltage, the linear-ramp timing rule no longer applies directly.
Where this leads
Continue to Switching time, high-frequency devices including generators and detectors, because high-frequency operation tests the nonideal delays hidden by instantaneous switching.
Related: Active filters — prerequisite definitions used in this model.
Practice this topic
Practice this topic4 questions in Assistant Professor · Physics · Physics. Sign in and practice access may be required.