blob: 54ae9efc956aeca61f2dee22211d8bf7eb694058 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
//Book name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter 3
//example 3.6
//edition 1
//publisher and place:Nelson Engineering
clc;
clear;
R=10;//resistance of the load in ohm
L=0.03;//inductance in H
Vrms=100;//source voltage in volt
f=60;//frequency in Hz
alpha=60;//triggering angle in degree
omega=2*%pi*f;
tau=L/R;
Q=atand((omega*L)/R);
//iteration method
xold=1;//assumed value
x=Q+asind(sind(Q-alpha)*exp((-1)*(((xold-alpha)*(%pi/180))/(omega*tau))));
err=10;//assumed value
while(err>0.01)
xnew=Q+asind(sind(Q-alpha)*exp((-1)*((x-alpha)*(%pi/180)/(omega*tau))));
x=xnew;
err=abs(xnew-xold);
xold=x;
end
disp(x,'The value of beta in degree is')
r=x-alpha;
disp(r,'The conduction period in degree is ')
//The answer given in the book is wrong.While using the book answer both LHS and RHS are not equal.
|