0% found this document useful (0 votes)
32 views23 pages

Lab em

Uploaded by

f20230015
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)
32 views23 pages

Lab em

Uploaded by

f20230015
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/ 23

LABORATORY MANUAL

on
Software experiments for
EEE/ECE F211 Electrical Machines

Department of Electrical & Electronics


Engineering
BITS Pilani Dubai Campus
Dubai, September 2020
INDEX
Rotor-I

S. No Content Page Date Signature


No

A Introduction to Matlab/Simulink

Platform

S1 OC &SC Test of single-phase

Transformer

S2 Swinburne’s Test DC Shunt motor

S3 Speed Control of DC Shunt motor


Introduction to MATLAB / SIMULINK Platform

Aim: - Introduction of MATLAB software

Introduction: -

Simulink is a graphical extension to MATLAB for modeling and simulation of


systems. In Simulink, systems are drawn on screen as block diagrams. Many
elements of block diagrams are available, such as transfer functions, summing
junctions, etc., as well as virtual input and output devices such as function
generators and oscilloscopes. Simulink is integrated with MATLAB and data can
be easily transferred between the programs.

Simulink is supported on Unix, Macintosh, and Windows environments; and is


included in the student version of MATLAB for personal computers

Simulink is started from the MATLAB command prompt


>> Simulink
Alternatively, you can hit the New Simulink Model button at the
top of the MATLAB command window
When it starts, Simulink brings up the main Simulink window
and a blank, untitled, model window. This is the window into which a new model
can be drawn.

In Simulink, a model is a collection of blocks which, in general, represents a


system. In addition, to drawing a model into a blank model window, previously
saved model files can be loaded either from the File menu or from the MATLAB
command prompt.

Example:

Create a Simple Model

You can use Simulink® to model a system and then simulate the dynamic behavior
of that system. The basic techniques you use to create a simple model in this
tutorial are the same as those you use for more complex models. This example
simulates simplified motion of a car. A car is typically in motion while the gas
pedal is pressed. After the pedal is released, the car idles and comes to a stop.

A Simulink block is a model element that defines a mathematical relationship


between its input and output. To create this simple model, you need four Simulink
blocks.

Block
Block Purpose Model Purpose
Name

Pulse Generate an Represent the accelerator pedal


Generator input signal for
the model

Gain Multiply the Calculate how pressing the accelerator affects the
input signal by a car acceleration
constant value

Integrator, Integrate the Obtain position from acceleration


Second- input signal
Order twice

Out port Designate a Designate the position as an output from the model
signal as an
output from the
model

Simulating this model integrates a brief pulse twice to get a ramp. The results
display in a Scope window. The input pulse represents a press of the gas pedal — 1
when the pedal is pressed and 0 when it is not. The output ramp is the increasing
distance from the starting point.

Open New Model :

Use the Simulink Editor to build your models.


Start MATLAB®. From the MATLAB toolstrip, click the Simulink button .
1. Click the Blank Model template.
The Simulink Editor opens.
2. From the Simulation tab, select Save > Save as. In the File name text box,
enter a name for your model. For example, simple model. Click Save. The
model is saved with the file extension .slx.

Open Simulink Library Browser:


Simulink provides a set of block libraries, organized by functionality in the Library
Browser. The following libraries are common to most workflows:
 Continuous — Blocks for systems with continuous states
 Discrete — Blocks for systems with discrete states
 Math Operations — Blocks that implement algebraic and logical equations
 Sinks — Blocks that store and show the signals that connect to them
 Sources — Blocks that generate the signal values that drive the model
1. From the Simulation tab, click the Library Browser button .

2. Set the Library Browser to stay on top of the other desktop windows. On the
Simulink Library Browser toolbar, select the Stay on top button .
To browse through the block libraries, select a category and then a functional area
in the left pane. To search all of the available block libraries, enter a search term.
For example, find the Pulse Generator block. In the search box on the browser
toolbar, enter pulse, and then press Enter. Simulink searches the libraries for
blocks with pulse in their name or description and then displays the blocks.

Get detailed information about a block. Right-click the Pulse Generator block, and
then select Help for the Pulse Generator block. The Help browser opens with the
reference page for the block.
Blocks typically have several parameters. You can access all block parameters by
double-clicking the block.
Add Blocks to a Model:
To start building the model, browse the library and add the blocks from either from
Simulink / Simscape tool menu only.
1. From the Sources library, drag the Pulse Generator block to the Simulink
Editor. A copy of the Pulse Generator block appears in your model with a text
box for the value of the Amplitude parameter. Enter 1.

2. Parameter values are held throughout the simulation.


3. Add the following blocks to your model using the same approach.
Block Library Parameter

Gain Simulink/Math Operations Gain: 2

Integrator, Second-Order Simulink/Continuous Initial condition: 0

Outport Simulink/Sinks Port number: 1

4. Add a second Outport block by copying the existing one and pasting it at
another point using keyboard shortcuts.
5. Your model now has the blocks you need.
6. Arrange the blocks by clicking and dragging each block. To resize a block, drag
a corner.

Connect Blocks:
Connect the blocks by creating lines between output ports and input ports.
1. Click the output port on the right side of the Pulse Generator block.
The output port and all input ports suitable for a connection are highlighted.

2. Click the input port of the Gain block.


Simulink connects the blocks with a line and an arrow indicating the direction
of signal flow.

3. Connect the output port of the Gain block to the input port on the Integrator,
Second-Order block.
4. Connect the two outputs of the Integrator, Second-Order block to the
two Outport blocks.
5. Save your model. In the Simulation tab, click the Save button.
Add Signal Viewer:
To view simulation results, connect the first output to a Signal Viewer.
Click the signal. In the Simulation tab under Prepare, click Add Viewer.
Select Scope. A viewer icon appears on the signal and a scope window opens.

You can open the scope at any time by double-clicking the icon.
Run Simulation:
After you define the configuration parameters, you are ready to simulate your
model.
1. In the Simulation tab, set the simulation stop time by changing the value in the
toolbar.

The default stop time of 10.0 is appropriate for this model. This time value has no
unit. The time unit in Simulink depends on how the equations are constructed. This
example simulates the simplified motion of a car for 10 seconds — other models
could have time units in milliseconds or years.

2. To run the simulation, click the Run button .

The simulation runs and produces the output in the viewer.


Refine Model
This example takes an existing model, moving_car.slx, and models a proximity
sensor based on this motion model. In this scenario, a digital sensor measures the
distance between the car and an obstacle 10 m (30 ft) away. The model outputs the
sensor measurement and the position of the car, taking these conditions into
consideration:
 The car comes to a hard stop when it reaches the obstacle.
 In the physical world, a sensor measures the distance imprecisely, causing random
numerical errors.
 A digital sensor operates at fixed time intervals.

Another example uses AC Voltage Source and it is read by a Voltage


Measurement block.
It displays the output voltage of magnitude 100V in the scope
EXPERIMENT NO- S1

No-Load Tests on Single Phase Transformer

Name------------------------------------------ID No:------------------------------------
Sec No: -----------------Batch No-----------------Marks Obtained-----------------
Date: -------------------------------------------Instructors Signature: ---------------

(a) OC Test in Simulink

Circuit Diagram:
Components Required:

S. No Component Quantity
1 Powergui 1

2 Current measurement 1

3 Voltage measurement 2

4 RMS 4

5 Display 4

6 Linear Transformer 1

7 Power 1

8 AC Voltage Source 1

Weblink of tutorial: https://www.youtube.com/watch?v=hEYHix-1Quk


(b) SC Test in Simulink.

Circuit Diagram:
Components Required:

S. No Component Quantity
1 Powergui 1

2 Current measurement 1

3 Voltage measurement 2

4 RMS 3

5 Display 3

6 Linear Transformer 1

7 Power 1

8 AC Voltage Source 1

Weblink of tutorial: https://www.youtube.com/watch?v=YPreQnqerck


Further Calculation and graph:
Refer to Expt.1 No load test on a single phase transformer in Electrical Machines
lab manual.
EXPERIMENT NO- S2

Swinburne’s Test

Name------------------------------------------ ID No:------------------------------------
Sec No: -----------------Batch No-----------------Marks Obtained-----------------
Date: -------------------------------------------Instructors Signature: ---------------

Aim: -
Perform Swinburne’s Test on DC Shunt Motor in Simulink.

Circuit Diagram:
Components Required:

S. No Component Quantity
1 Powergui 1

2 Current measurement 1

3 Voltage measurement 2

4 Series RLC Branch 1

5 Display 5

6 DC Machine 1

7 Demux 1

8 DC Voltage Source 1

9 Scope 3

10 Constant 1

11 Gain 1

Weblink of tutorial: https://www.youtube.com/watch?v=gWDUnQk_viI


Further Calculation and graph:
Refer to Expt.2 No load tests on a DC shunt motor in Electrical Machines lab
manual and do calculations and graph pertaining to (A) Swinburne’s test.
EXPERIMENT NO- S3

Speed Control of DC Motor

Name------------------------------------------ ID No:------------------------------------
Sec No: -----------------Batch No-----------------Marks Obtained-----------------
Date: -------------------------------------------Instructors Signature: ---------------

Aim: - Speed Control of DC Motor in Simulink


(a) Field Control of DC Motor in Simulink

Circuit Diagram:
Components Required:

S. No Component Quantity
1 Powergui 1

2 Current measurement 1

3 Voltage measurement 1

4 Series RLC Branch 1

5 Display 3

6 DC Machine 1

7 DC Voltage Source 1

8 Scope 3

9 Constant 1

10 Gain 1

11 Demux 1

Procedure:
Keeping armature voltage constant at 220 V, vary field current and note down
speed. Take minimum 5 sets of readings and plot field current (vs) speed.
Weblink of tutorial:
https://www.youtube.com/watch?v=gWDUnQk_viI
(b) Armature Control of DC Motor in Simulink.
Circuit Diagram:

Components Required:

S. No Component Quantity
1 Powergui 1

2 Current measurement 1

3 Voltage measurement 1

4 Series RLC Branch 1

5 Display 3
6 DC Machine 1

7 DC Voltage Source 1

8 Scope 3

9 Constant 1

10 Gain 1

11 Demux 1

Procedure:
Keeping field current constant at rated value of the machine, vary armature voltage
and note down speed. Take minimum 5 sets of readings and plot armature voltage
(vs) speed.

Weblink of tutorial:
https://www.youtube.com/watch?v=gWDUnQk_viI

Further Calculation and graph:


Refer to Expt.2 No load tests on a DC shunt motor in Electrical Machines lab
manual and do calculations and graph pertaining to (B) Speed control of a DC
motor (No-load)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy