Table of Contents
![Simple charging capacitor voltage ramp using constant current source schematic diagram by electronzap electronzapdotcom](https://electronzap.com/wp-content/uploads/2021/12/Simple-charging-capacitor-voltage-ramp-using-constant-current-source-schematic-diagram-by-electronzap-electronzapdotcom.png)
A steady amount of current from a current source being used to charge a capacitor, results in a steady rise of voltage. A steady voltage change is called a ramp.
- Pushbutton (or other switch) parallel to the capacitor can instantly discharge the capacitor when the switch is closed. Opening the switch allows the capacitor to start charging based on the current set by the LM334. Only use an approx. 1,000µF or less capacitor to prevent a destructive amount of current.
- LM334 is a 3 terminal component that looks like a transistor in the TO-92 package. It passes a certain amount of current based on resistance between pins R and V-. That is true for as long as there is enough supply voltage across it to do so. Always consult the datasheet for the most accurate specifications and limitations.
- 0.064V (64mV) divided by set resistor (resistor between R and V-) sets the current. 0.064V/64Ω = 0.001A (1mA) of current.
- 0.001F (1,000µF capacitor gains 1 volt per second while it is charged with 0.001A (1mA) of current.
- Rated for 1µA (0.064V/0.000001A = 64,000Ω) to 10mA (0.064V/0.01A = 6.4Ω).
- 0.064V (64mV) divided by set resistor (resistor between R and V-) sets the current. 0.064V/64Ω = 0.001A (1mA) of current.
Video:
Discharging ramp:
![Simple discharging capacitor voltage ramp circuit schematic by electronzap electronzapdotcom](https://electronzap.com/wp-content/uploads/2021/12/Simple-discharging-capacitor-voltage-ramp-circuit-schematic-by-electronzap-electronzapdotcom.png)
Discharging a capacitor with a current source results in a discharging ramp voltage.
The current source is placed parallel to a capacitor.
Closing a series switch instantly charges the capacitor.
Once the switch is opened, current will stop coming from the switch, and will be provided by the capacitor as it discharges through the current source.
Video:
Brief Circuit Schematics with Short Video List of Pages
To support this site, check out the following links:
- Become a Patron!
- Check out my YouTube videos! https://www.youtube.com/c/Electronzap/videos
- Products I used in my videos or otherwise think look like a good buy. As an Amazon associate, I earn from qualifying purchases. https://www.amazon.com/shop/electronzapdotcom
- Information on this site is not guaranteed to be accurate. Always consult the manufacturer info/datasheet of parts you use. Research the proper safety precautions for everything you do.
- Electronzap is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com.