You are on page 1of 4

Lab # 01

To study the transient response of RL series circuit

Materials :
One DC power source, 12V
Inductor, 1H,
Resistor, 100
One Current Measurement (Ammeter)
One Voltage Measurement (Voltmeter)
Oscilloscope
to Workspace
Powergui
Ground

THEORY:
MATLAB:
MATLAB (matrix laboratory) is a multi-paradigm numerical computing environment
and proprietary programming language developed by Math Works MATLAB allows
matrix  manipulations, plotting of functions and data, implementation of algorithms, creation of user
interfaces, and interfacing with programs written in other languages, including C, C+
+, Java, Fortran and Python.

CIRCUIT DIAGRAM:
Procedure:
1) Open MATLAB and type Simulink and another window will open.
2) After it, click on Blank Model and then select Library Browser.
3) In Library Browser ,click on Simscape
4) In simscape ,click on power system and then Specialized technology .
5) And then select Fundamental Blocks .
6) From Fundamental Blocks we select Electrical sources for DC voltage source
and for elements like resistance ,inductor and capacitor we select Element Block.
7) For resistance, inductor and capacitor we use series RLC Branch .if we use as a
Resistance we select R and give its value, like it can be use inductor and
capacitor. and for oscilloscope simply type scope in library Browser.
8) To find current and voltage graph, for current we use current Measurement library
which is to be connected in series and for voltage we use voltage measurement
which is to be connected in parallel across elements and then connect to scope.
9) We use these elements which are not library of Simulink ,so we use power gui.
10) Elements can be selected By ADD MODEL option.
11) After it Elements are connected.
12) Set the initial condition of L to be o (IL(0)) and also set the interval of time and
then run it.
13) Click on scope ,Graph will be display.
14) Now for finding Equation for Graph ,we use “to workspace ” which is connected
to voltage and currents measurement separately and then open it on MATLAB.
After it we select curve fitting tool and then find Equation for current and voltage.
Graph for Current ‘I’ and Voltage ’ V ‘:

EQUATION FOR CURRENT AND VOLTAGE:


USING CURVE FITTING TOOL FOR CURRENT:
−R
V V t
EQUATION FOR CURRENT : i(t)= − e L
R R

FROM CURVE FITTING TOOL: i(t)= 0.12 -0.12e−100 t

USING CURVE FITTING TOOL FOR VOLTAGE:

−R
EQUATION FOR VOLTAGE: V(t) = Ve L
t

FROM CURVE FITTING TOOL: V(t) = 12e−100 t

You might also like