You are on page 1of 5

Electromechanical system

Lab Report # 5

Book Examples Chapter 1 through MATLAB

Submitted by: Mian Sayaf Ali Shah(18PWMCT0612)

Submitted to: Engr. Shahbaz Khan

Section:A

Submission Date (July 24, 2020)

DEPARTMENT OF MECHATRONICS ENGINEERING


University of Engineering and Technology, Peshawar, Pakistan
Lab 05: Book Examples Chapter 1 through MATLAB

Objectives:

• To solve Book Examples chapter 1 through MATLAB.


• To Calculate many important parameters in MATLAB.
• To Calculate the Starting current, Velocity in steady state and Power in MATLAB.

Software:

• MATLAB

Theory:

In this lab, we do some calculations on DC motors. We determine the maximum starting current
which is at initial stage of starting and steady state velocity at NO load. We also determined
the power at battery and load when the force acting in one direction or in opposite direction.
From the power we can say that whether the machine is acting as a motor or as a generator. In
this lab, we also studied the behavior of many parameters when the magnetic field was weak.
[1]

Figure 1 DC Machine [1]


𝑉𝐵−𝑒𝑖𝑛𝑑
i= ----------------------------Starting Current
𝑅

eind = VB+ i*R-----------------------------Induced Voltage


𝑉𝐵
Vss = ----------------------Steady state Velocity [1]
𝐵∗𝐿

1
Procedure:

• After Reading the statement of questions, the first thing is to collect data and modify that
data for formulas.
• Because in MATLAB we put values directly in formulas and in Output MATLAB gives us
final values.
• So, make sure to Write the correct formulas in MATLAB and put the correct data in
formulas.
• After Writing code, click on the run button the final values will be displayed.

Code for BOOK Examples:

Example 1-10:

Part a
% Part a
Vb = 120;
Ri = 0.3;
B = 0.1;
L = 10
Is = (Vb-0)/Ri ; %starting Current
Vss = Vb/(B*L); %Velocity at steady state

disp ( ['Starting Current = ' num2str(Is)]);


disp ( ['Velocity at steady state = ' num2str(Vss)]);

Part b
% Part b
disp ( [' Part B. When the 30N force is pointing to the Right of bar. ']);
Fapp = 30;
I = Fapp/(L*B);
eind = Vb + I*Ri;
Vfss = eind/(B*L); %Velocity at final steady state
disp (['Velocity at final steady state = ' num2str(Vfss)]);
Pb = eind*I; %Power at bar;
disp ( ['Power at bar = ' num2str(Pb)]);
Ps = Vb*I; %Power at battery;
disp ( ['Power at battery = ' num2str(Ps)]);
disp ( ['The difference between these two numbers is the 270 W of losses
in the resistor. This machine is acting as a generator. ']);

Part c
% Part c
disp ( [' Part C. When the 30N force is pointing to the left of bar. ']);
Fapp = 30;
I = Fapp/(L*B);
eind = Vb - I*Ri;
Vfss = eind/(B*L); %Velocity at final steady state

disp ( ['Velocity at final steady state = ' num2str(Vfss)]);


disp ( [' This machine is acting as a Motor. ']);

2
Part
% Part e
disp ( [' Part E. Bar is unloaded and Magnetic field weakens to 0.008T. ']);

Vfss = Vb/(0.08*L); %Velocity at final steady state


disp ( ['Velocity at final steady state = ' num2str(Vfss)]);
disp ( [' When the field flux becomes weaken so it turns faster. ']);

Results:

Figure 2 Results of Example 1-10

Conclusion:
After performing this lab, we come to know3 about that we can easily solve the complex
problems in MATLAB in very easy way. We solved the problems related to DC Motors in

3
very easy way. However, MATLAB easily solve every kind of complex problems within a
second.

References

[1] S. j. Chpman, Electrical Machinery Fundamentals, Australia: Elizebeth A. Jones.

You might also like