0% found this document useful (0 votes)
16 views12 pages

Epo246 Etac Lab 1 - Introduction To Matlab

The document outlines a laboratory exercise for the Power System course at Universiti Teknologi Mara, focusing on the introduction to MATLAB for voltage and current measurement in a series RLC circuit. It includes objectives, requirements, and detailed procedures for constructing and simulating the circuit, as well as analyzing voltage and current values. Students are instructed to write a report summarizing their results, discussions, and conclusions based on their findings.

Uploaded by

2022863498
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views12 pages

Epo246 Etac Lab 1 - Introduction To Matlab

The document outlines a laboratory exercise for the Power System course at Universiti Teknologi Mara, focusing on the introduction to MATLAB for voltage and current measurement in a series RLC circuit. It includes objectives, requirements, and detailed procedures for constructing and simulating the circuit, as well as analyzing voltage and current values. Students are instructed to write a report summarizing their results, discussions, and conclusions based on their findings.

Uploaded by

2022863498
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

SCHOOL OF ELECTRICAL ENGINEERING

COLLEGE OF ENGINEERING
UNIVERSITI TEKNOLOGI MARA

POWER SYSTEM - EMBEDDED LABORATORY


(EPO246)

LABORATORY 1
(CLO1:PLO5)

INTRODUCTION TO MATLAB: VOLTAGE AND CURRENT MEASUREMENT

OBJECTIVES
1. To construct and simulate a series RLC circuit using MATLAB.
2. To measure voltage and current using a simulation of an RLC circuit in MATLAB.

LIST OF REQUIREMENTS
Personal computer/laptop/notebook installed with MATLAB 2017 Software.

INTRODUCTION
MATLAB is a programming platform designed specifically for engineers and scientists to
analyze and design systems and products. It includes built-in mathematical functions
fundamental to solving engineering and scientific problems, and an interactive environment
ideal for iterative exploration, design, and problem solving.

MATLAB is an interactive system that allows users to do modeling, simulation, and


prototyping.
By using MATLAB as a tool for circuit simulation, it allows engineers to test a circuit before it
is built to make sure it will function properly and efficiently. Simulation can reduce the number
of physical prototypes required and shorten the development process, cutting both costs and
time-to-market.
Figure 1.1: MATLAB Software

Furthermore, MATLAB provides a vast library of toolboxes for signal processing, symbolic
computation, control system, simulation, optimization, and several other fields of applied
science and engineering.

PROCEDURE
PART A: CREATE NEW PROJECT
1. Click on the MATLAB icon as shown in Figure 1.1 on the computer desktop.

Figure 1.1: MATLAB Software shortcut on desktop

2. Next, click on “Simulink” as highlighted in Figure 1.2.

Figure 1.2
3. Simulink Start Page will appear and click on the “Blank Model” to create a model.

Figure 1.3

4. After that, click ‘Save’ to save the template with the name of EXP 1_<NAME>_EPO246

Figure 1.4

PART B: SCHEMATIC DESIGN FOR RLC CIRCUIT


1. Construct the circuit as in Figure 1.5 with the parameter shown in Table 1.1.

Figure 1.5
Table 1.1

Parameters Value

Vs 220 Vp

f 50 Hz

R 1 kΩ

C 10 µF

L 100 mH

2. First, click on ‘Library Browser’ to find components. The component categories are
shown along with a search option. Then, write the component name into the search box.
Next, right click on the component and select ‘ Add block to model ’ as shown in Figure
1.6.

Figure 1.6
3. Double click on the component to enter its value. Refer Table 1.1 for details.

Figure 1.7
4. To insert components for resistor, capacitor and inductor, choose ‘Series RLC Branch’.
Then, double click on the component and select R for resistor at ‘Branch type’ as shown
in Figure 1.8.

Figure 1.8
5. Next, insert the value of the resistor at ‘Resistance (Ohm)’ and click ‘Measurements’.
Choose Branch voltage and current. Refer Figure 1.9. Repeat steps 4 and 5 for capacitor
and inductor.

Figure 1.9

PART C: VOLTAGE AND CURRENT ANALYSIS


1. Measure the total current (ITotal), voltage resistor (VR), voltage capacitor (VC) and voltage
inductor (VL) in RMS value and Peak value. Refer Table 1.2.
2. To measure, select ‘Library Browser’ and add powergui, Current Measurement and
Voltage Measurement to the schematic diagram.

Figure 1.10
3. Next, click on ‘Library Browser’ and select Scope, RMS Measurement, and Display for
each component to view the result. See Figure 1.11.

Figure 1.11

2. Run the simulation by clicking on the ‘Run’ button. Double click the Scope to see the
waveform.
3. Record all the readings in Table 1.2. Lastly, screenshot the waveform and the schematic
diagram of the RLC circuit. Record it in Table 1.3 and Table 1.4 respectively.

DISCUSSION
1. Briefly explain the purpose of powergui in MATLAB Simulink?
2. Based on the results obtained, discuss the difference between RMS value and peak
value for alternating current (AC).

INSTRUCTION TO STUDENT
Write a short report which includes results, discussion, conclusion and references.
LABORATORY EXERCISE
SCHOOL OF ELECTRICAL ENGINEERING
COLLEGE OF ENGINEERING
UNIVERSITI TEKNOLOGI MARA

COURSE NAME: POWER SYSTEM COURSE CODE: EPO246


PROGRAMME CODE: EE112 TAXONOMY: P5 CLO – PLO: CLO1 – PLO5

EXPERIMENT 1 DATE:

LECTURER’S NAME:

STUDENT’S NAME GROUP ID NUMBER

LECTURER’S COMMENT (if any):

CLO1 Measure the parameters of power system models to analyse their performance using modern engineering tools.

PLO5 Apply appropriate techniques, resources, and modern engineering and IT tools to well-defined engineering problems, with and awareness of the limitations.
WEAK POOR FAIR GOOD EXCELLENT WEIGH PART PART PART
CRITERIA SUB-ATTRIBUTE SCORE
1 2 3 4 5 T A B C
Appropriate Able to partially Able to use the Able to use the
Able to partially
Equipment/Tools/So Incorrect of use of use the right right right
use the right
ftware equipment/tools/s equipment/tools/s equipment/tools/s equipment/tools/s
equipment/tools/s
Able to follow oftware and oftware and oftware and and oftware and
oftware and x 0.6
experimental cannot identify the partially identify partially identify excellent in
cannot identify the
procedure. right components/ the right the right identify the right
right components
items. components components components
/items
/items /items /items
Handling Able to Able to
Experimental/ Able to partially Able to partially
Experiment successfully successfully
Demonstration handle the handle the
Able to handle Unable to handle handle the handle the
setup/ experiment with experiment with
equipment/tools/softw the experiment experiment with experiment with x 0.5
Simulation minor errors minor errors (able
are with major errors minor errors (able no errors
(unable to solve to solve the
to solve the
the errors) errors)
errors)
Troubleshooting Able to Able to
Able to partially
Failure identification Unable to identify Able to partially succussfully successfully
identify the failure
and problem solving the failure of the identify the failure identify the failure identify the failure
of the experiment
experiment and of the experiment of the experiment of the experiment x 0.3
and able to
unable to do and unable to do and able to and able to
partially do
trouble-shooting troubleshooting partially do succussfully do
trouble-shooting
trouble-shooting trouble-shooting
Data Collection
Incomplete data Complete data
Able to measure data Incomplete data
Unable to record measurement with measurement but
completely and measurement with All data are x 0.3
any result correct/ incorrect some are
achieve experiment incorrect value measured and
Data collection value incorrect
objectives correct
and analysis
Data analysis Good in Excellent in
Able to perform Able to perform
Perform an performing performing
Do not perform analysis but analysis and less
appropriate analysis analysis and analysis and x 0.3
data analysis wrong/not related related to
based on the related to related to
to theoretical theoretical
question given theoretical theoretical
10 MARKS FOR EACH PART

TOTAL 30 MARKS
RESULT SHEET
PART C
Table 1.2: Voltage and Current value

Parameter Peak Value RMS Value


ITotal

VR

VC

VL

Table 1.3: Voltage and Current waveform

Parameter Waveform

ITotal

VR
VC

VL

Table 1.4: Schematic diagram of a series RLC circuit

Series RLC circuit


DISCUSSION
1. Briefly explain the purpose of powergui in MATLAB simulink.

2. Based on the results obtained, discuss the difference between RMS value and peak
value in alternating current (AC).

You might also like