System Identification (Identification Des Systémes) : Modeling and Simulation of Electric Circuits
System Identification (Identification Des Systémes) : Modeling and Simulation of Electric Circuits
Lab Assignment 1
Figure 1.1
a) Derive the state equations in the following form:
ẋ = Ax + Bu
{ (1.1)
y = Cx + Du
Use the state variables 𝑥1 = 𝑖𝐿 = 𝑖 and 𝑥2 = 𝑣𝑐 = 𝑣𝑜𝑢𝑡
b) Derive the transfer function
𝑁(𝑠)
𝐺(𝑠) = (1.2)
𝐷(𝑠)
c) Check your answers with MATLAB commands ss2tf() and tf2ss(0.
d) Use the Simulink models of Figure 1.2 to obtain the step response of the two
representations (state-space and transfer function) and plot the results. The
initial conditions are zero.
Figure 1.2
a) Derive the state equations with x1 = iL, x2 = vC1 and x3 = vC2 = y. Assume all initial
conditions are zero.
b) Create the Simulink model of Figure 1.4 and plot the response of the circuit with
VP = 1 V.
c)
Figure 1.4
Figure 2.1
a) The switch SW is closed at t = 0, apply Kirchhoff’s laws (KCL and KVL) and
derive the differential equations of the circuit.
b) Determine manually the equation of the current i3 and plot the waveform.
c) Build the Simulink model of the circuit using the differential equations found in
a). Plot the waveform of the current i3 and compare the results with b).
d) Plot on the same graph the waveforms of the currents i1, i2, i3 and the voltage
across the inductor.
Figure 2.2
a) Create the circuit of Figure 2.2 in Simulink and display the current waveforms
from the scopes.
b) Derive all the circuit equations that have been used to build the Simulink model
of Figure 2.2.
c) Sketch a labelled diagram of the circuit studied showing the currents, voltage
and all the components of the circuit..