Académique Documents
Professionnel Documents
Culture Documents
Charging Capacitor
The capacitor is initially uncharged
There is no current while switch S is open (Fig.b)
If the switch is closed at t= 0 (Fig.c) the
charge begins to flow, setting up a current in the circ
uit, and the capacitor begins to charge
Note that during charging, charges do not
jump across the capacitor plates because the gap
between the plates represents an open circuit
The charge is transferred between each plate and its
connecting wire due to E by the battery
As the plates become charged, the potential
difference across the capacitor increases
Once the maximum charged is reached, the current
in the circuit is zero
rule
to
the
Note
that
q
and
I
are
instantaneous
values that depend on time
At the instant the switch is closed (t = 0) the
charge on the capacitor is zero. The initial current
At this time, the potential difference from the battery
terminals appears entirely across the resistor
When the charge of capacitor is maximum Q, The charge
stop flowing and the current stop flowing as well. The V
battery appears entirely across the capacitor
, substitute to voltage
Solution of ODE
Using Deterministic Approach
Using Numerical approach:
1. Eulers method
2. Heuns method
3. Predictor-corrector method
4. Runge-kutta method
5. Etc.
Deterministic Approach
The current is
equation
, substitute to voltage
Deterministic Approach
If you integrate to obtain the solution, then
you use exact/deterministic method.
However in practical use, we often cannot
integrate the function directly.
The numerical approach is often preferable.
Numerical approach
Solution in Matlab
Using ODE solver (m-file)
Using Simulink
q(t ) x Ax Bu
dt
RC
R
q(t ) [1]q(t ) [0] y Cx Du
x Ax
Transformer Simulation
Equivalent circuit
Implementation in Simulink