Escolar Documentos
Profissional Documentos
Cultura Documentos
Electroni
cs
LAB: 02 MANUAL Study
the Voltage and Current
Characteristics of R and RL
circuit.
5th Semester
Object:
Study the Voltage and Current
characteristics of R and RL circuits.
1st Experiment:
Display and Plot the Voltage, Current and Power characteristics
across load R using Matlab.
2nd Experiment:
Plot the characteristics of RL circuit using Matlab.
Introduction to Matlab:
The name MATLAB stands for MATrix LABoratory. MATLAB is a
modern programming language environment, it has
sophisticated data structures, contains built-in editing and
debugging tools, and supports object-oriented programming.
These factors make MATLAB an excellent tool for teaching and
research.
Procedure:
Introduction to Simulink:
Simulink is used to model, analyse and simulate dynamic
systems using block diagrams. In Simulink we simulate a
model to study the behavior of a system need to verify
that our model is correct
1st Experiment:
Display and Plot the Voltage, Current and Power characteristics
across load R using Matlab.
1.1 Model the simple R circuit by using different blocks from
library, dragging them to model window and linking them.
Sim power system Electrical sources DC voltage
source
-- Elements Ground
-- Elements Series RLC branch
(Double click on RLC branch, open block parameters and select R in
branch type option)
Settings:
Click on Simulation, then Configuration parameters,
select fixed step type and fixed step size as 0.0001
(This should be done in order to get accurate graphs).
Click on parameters icon, go to history and uncheck
the limit data points option.
To save data, set variable name as your file name to
be saved. Click on OK.
Go to matlab command window and write the
following command to display graphs.
Plot (name.signals.values)
Set Axis properties and add legends to the graph.
To get proper image ,go to file, then export setup.
Click on export and save the file in jpg format.
1.5 Now replace the DC source with AC source and repeat the
above steps to get the output graphs for current ,voltage
and current.
Set the frequency of AC source at 1Hz.
Block Diagram:
Graph:
2nd Experiment:
Plot the characteristics of RL circuit using Matlab.
2.1
Model the simple RL circuit by using different blocks
from library, dragging them to model window and linking
them.
For this circuit we also use Ideal switch block and step
block (set its initial value at 0.5)
2.2
Set the ac voltage at 100V with 1Hz frequency
,resistor at 10 ohms and inductor at 1H.
Link all the blocks together as shown below:
Block Diagram:
Characteristics of RL circuit:
Transient Response:
Time constant
=L/R
t0
Graph: