# Capacitor / Resistor Discharge Circuit : Theory + Demo

## Table of Contents

1. [Simulation](/content/0014/0014.html#ch1/index.html)  
2. [Theory](/content/0014/0014.html#ch2/index.html)  
3. [Further Reading](/content/0014/0014.html#links/index.html)

## Simulation

Your browser does not support the HTML5 canvas tag.

Time Domain Scope On/OffTransfer Function Bode plot On/Off

The scope is clickable & draggable. More [here](/content/0014/0015/0015.html).

Your browser does not support the HTML5 canvas tag.

Note: The simulator is not compatible with Internet Explorer 11 and below. Please use Chrome/Firefox/Safari instead.

Your browser does not support the HTML5 canvas tag.

**How to run the simulation**

1. There are two individual circuits with different resistor loads - a) 100 ohm and b) 50 ohm
2. Hit the "Run" button and observe the system response for both systems
3. Modify the capacitor and resistor values to observe the effect on dynamic response
4. Scopes 1/3 are capacitor voltages. Scopes 2/4 are resistor currents

## Theory

**Resistive Discharge**

- The basic premise is very simple - resistor draws current from a voltage source connected across its terminals.
- Resistor current is proportional to voltage. The higher the voltage the higher the current. The ratio of voltage to current is called resistance and is measured in ohms.
- The initial capacitor voltage in the simulation above is 100 V. The capacitance is 1 mF.
- The resistance of the first circuit is 100 ohms. Hence, the time constant is:

|     |     |     |
| --- | --- | --- |
|  | τ=RC=100Ω×1e−3F=0.1sτ=RC=100Ω×1e−3F=0.1s |  |

- The resistance of the second circuit is 50 ohms. Hence, the time constant is:

|     |     |     |
| --- | --- | --- |
|  | τ=RC=50Ω×1e−3F=0.05sτ=RC=50Ω×1e−3F=0.05s |  |

- These values are nicely supported by the simulation. Please do change the capacitor and/or resistor values to see the effect.

**From Circuit to Block Diagram**

- Both the circuit and signal block diagrams are shown below:

- The output of the summing junction is the net capacitor current. Since there are no other elements that would charge or discharge the capacitor aside the resistor, the first input is set to 0A.
- The relationship between capacitor current and voltage is as follows:

|     |     |     |
| --- | --- | --- |
|  | v(t)=1C∫i(t)dtv(t)=1C∫i(t)dt |  |

- After taking the Laplace Transform:

|     |     |     |
| --- | --- | --- |
|  | V(s)=I(s)CsV(s)=I(s)Cs |  |

- Hence, the input of 1/Cs block is capacitor current and the output is capacitor voltage.

**References**

- [(CSA) System Modeling With Transfer Functions](/content/0011/0011.html).
- [(CSA) Control System Block Diagram](/content/0002/0002.html).
- [(CSA) System Dynamics - Time Constants](/content/0008/0008.html).
- [(CSA) Web-based Simulator Documentation](/content/0023/0023.html).

**Additional Notes**

- The resistor eventually dissipates all the capacitor energy. The final cap voltage will be 0 V.
- Since the power dissipated in the resistor is R*i(t)*i(t), the initial power could be fairly high. Thermal considerations need to be made.
- These circuits are commonly used in the industry.

**Version**

Version of this article is 04/20/2018.
