|
<< Click to Display Table of Contents >> (TD) 4.7 Generating Capacitor Charge and Discharge |
![]() ![]()
|
Both Waveform Block Equations and Label Equations can be used to draw capacitor charge and discharge waveforms. These functions have three required parameters - amplitude, RC constant, and duration - that are used to generate the waveform.
For Label equations, there is also an optional fourth parameter that can specify the number of points to use when drawing the waveform. For Waveform Block Equations, the number of points is determined by durationT/deltaT.
Capacitor Charging Waveforms with State Label Equations
The CapCharge function generates the waveform for a charging capacitor. The waveform will start at zero and gradually rise (using the RC value) to the amplitude at the end of duration specified.
|
|
|
|
Capacitor Discharge Waveforms with State Label Equations
The CapDischarge function performs the inverse of the CapCharge function. The waveform starts at the maximum amplitude and it slowly declines based on the RC provided over the duration until it reaches the lowest point.
|
|
|
|
The Capacitor label equations append to the end of the waveform, so you can also draw part of the waveform and then append a capacitor waveform to the drawn signal.