Professional Documents
Culture Documents
17 - Matlab-SIMULATION OF ELECTRICAL MACHINES
17 - Matlab-SIMULATION OF ELECTRICAL MACHINES
Experiment No.17
Theory:
The name MATLAB stands for matrix laboratory. MATLAB is a high-
performance language for technical computing. It integrates computation,
visualization, and programming in an easy-to-use environment where problems
and solutions are expressed in familiar mathematical notation. In the last few years,
SIMULINK has become the most widely used software package in academia and
industry for modeling and simulating dynamic systems. SIMULINK is a software
package for modeling, simulating, and analyzing dynamic systems. It supports
linear and nonlinear systems, modeled in continuous time, sampled time, or a
hybrid of the two. Systems can also be multi-rate, i.e., have different parts that are
sampled or updated at different rates. SIMULINK encourages the user to try things
out. User can easily build models from scratch, or take an existing model and
modify it. Simulations are interactive, so user can change parameters on the spot
and immediately see what happens. You can use MATLAB in a wide range of
1
applications, including signal and image processing, communications, control
design, test and measurement, financial modeling and analysis, and computational
biology. Add-on toolboxes (collections of special-purpose MATLAB functions,
available separately) extend the MATLAB environment to solve particular classes
of problems in these application areas.
Before you can begin building your model, you must start Simulink and create an
empty model.
2
Fig.1
3
2.Select File > New > Model in the Simulink Library Browser to create a new
model.The software opens an empty model window as shown in Fig.2
Fig. 2
To construct a model, you first copy blocks from the Simulink Library Browser to
the model window. To add blocks to your model for examples:
1. Select the Sinks library in the Simulink Library Browser, then select the scope
block from the Sinks library, then drag it to the model window. A Scope block
appears in the model window.
Scope
4
2. Select the Sources library in the Simulink Library Browser,then select the
ground.
3. Select the Mux block from the Signal routing of the Simulink Library browser,
and then drag it to the model window.
5. Select the sim power system from the libraries, select machine then select DC
machine.
5
6. To select the DC Voltage Source block in the Simulink Library Browser, select
the sim power system then electrical sources as shown in Fig below:
7. To select the linear transformer block in the Simulink Library Browser, select
the sim power system then elements
6
Procedure:
1. Connect a separately excited DC motor as shown in the Fig.3, set the parameters
of the motor as shown in Fig.4.
2. Vary the input voltage from 0 to 240 in step of 60 volt then record ω, Ia, Te as
shown in the table 1.
3. Connect a shunt DC motor and repeat step 2.
4. Connect a simple single phase transformer circuit shown in Fig 5. For resistive
load (1000W), Set the parameters of the transformer as shown in Fig.6,measure the
primary current, secondary current and output voltage.
5. Repeat step3 with capacitive load (200W, 1000VAR) and inductive load (200W,
500VAR).
7
BL Torque is proportional to speed; TL=Bl*w
0.2287 Display
Continuous
powergui w
DC_Motor Display1
5 hp; 240V; 16.2 A; 1220rpm
TL m Demux
Ia
A+ dc A-
F+ F- Display2
Vin
240 V
Te
Ef=240 V
Fig.3
8
Fig.4
Vi/p ω Ia Te
0
60
120
180
240
Table 1
9
Continuous
output
pow ergui input i current1
+
current -
Current Measurement
+
-
v Series RLC Branch
u1
i output
+
- voltage
i in 1 2
220v
50 Hz
Fig.5
10
Fig.6
Conclusion:
1. For the separately excited motor circuit, draw Ia and ω as a function of V input
and discuss the graph.
2. For the transformer circuit, depending on the values of primary currents and the
transformation ratio calculate the secondary currents.
11