EveryCircuit
Contact
Reviews
Home
thebugger
modified 10 years ago

Sawooth Generator How and Why

2
2
148
02:27:25
There are a lot of ways to make a sawtooth generator. This is the simplest form. Usually a better version will have some control feedback to keep things constant. The how? There are two ways to do it. Using a passive resistor to charge the cap leads to an exponential rise, while using constant current source leads to a more linear rise. The fall is very sudden, in a spike manner, discharging thr cap almost immediately. You can switch through the resistor and CCS to view the rise changing from linear to exponential. The rise is exponential because as the voltage on the capacitor rises the potential through the resistor decreases, and the current at which the capacitor is charged also falls (according to Ohm's law). Theoretically the voltage on the capacitor will never completely reach the Vcc, it will always remain slightly (even aV) below the maximum level, no matter how much time is given. With the constant current source the charging current always remains the same, thus the charging cycle is kept constant/linear. Now to the why. These circuits are often used as a sampling clock generator in PWM circuits and in old TV's as the horizontal sweep generator. Other applications include precise timing due to the almost instantaneous switching.
published 10 years ago
Mellotron89
10 years ago
Very nice. I've made a simple circuit to have a voltage ramp obtained with the linear current charge of the capacitor, and a multiple waveform generator using operational amplifiers. Check 'em out if you want and feel free to leave comment/suggestions!
thebugger
10 years ago
Yes I've made that circuit in response to your voltage ramp. The multiform I haven't seen it.

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy