Docsity

Homework #4 with Solutions - Power Electronics | ECE 472, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE472 HOMEWORK #4 – SOLUTIONS FALL 2008
Problem 4.1 (MATLAB)
01234567
0
5
10
15 Problem 4.1
Angle θ (rad)
Current io(t) (A)
% Problem 4.1
w = 2*pi*60; Vm = 120*sqrt(2);
R = 10; L = 0.0153; X = w*L;
Z = sqrt(R*R + X*X); phi = atan(w*L/R);
%Part (a)
beta_old = 0;
beta = pi;
while (abs(beta - beta_old) > 0.000001)
beta_old = beta;
beta = pi + phi + asin(sin(phi)*exp(-beta/tan(phi)));
end
beta % beta = 3.6656 rad
beta*180/pi % beta = 210.03 deg
tbeta = beta/w % t1 = 9.7234 ms
%Part (b)
t1 = [0:0.0000001:0.0097234];
i1 = (sin(w*t1-phi)+sin(phi)*exp(-R*t1/L))*Vm/Z;
t2 = [0.0097235:0.0000001:0.0166667];
i2 = 0*t2;
t = [t1 t2];
itime = [i1 i2];
%plot(t,itime),grid
theta1 = [0:0.0001:3.6656];
i3 = (sin(theta1-phi)+sin(phi)*exp(-theta1/tan(phi)))*Vm/Z;
1
pf3
pf4
pf5

Partial preview of the text

Download Homework #4 with Solutions - Power Electronics | ECE 472 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECE472 HOMEWORK #4 – SOLUTIONS FALL 2008

Problem 4.1 (MATLAB)

(^00 1 2 3 4 5 6 )

5

10

15 Problem 4.

Angle θ (rad)

Current i

(t) (A)o

% Problem 4. w = 2pi60; Vm = 120sqrt(2); R = 10; L = 0.0153; X = wL; Z = sqrt(RR + XX); phi = atan(wL/R); %Part (a) beta_old = 0; beta = pi; while (abs(beta - beta_old) > 0.000001) beta_old = beta; beta = pi + phi + asin(sin(phi)exp(-beta/tan(phi))); end beta % beta = 3.6656 rad beta180/pi % beta = 210.03 deg tbeta = beta/w % t1 = 9.7234 ms %Part (b) t1 = [0:0.0000001:0.0097234]; i1 = (sin(wt1-phi)+sin(phi)exp(-Rt1/L))Vm/Z; t2 = [0.0097235:0.0000001:0.0166667]; i2 = 0t2; t = [t1 t2]; itime = [i1 i2]; %plot(t,itime),grid theta1 = [0:0.0001:3.6656]; i3 = (sin(theta1-phi)+sin(phi)exp(-theta1/tan(phi)))Vm/Z;

theta2 = [3.6657:0.0001:6.2832]; i4 = 0theta2; theta = [theta1 theta2]; itheta = [i3 i4]; plot(theta,itheta),grid title(’Problem 4.1’) xlabel(’Angle \theta (rad)’) ylabel(’Current i_o(t) (A)’) print -deps sol4p %Part (c) T = 1/60; Ioavg = trapz(theta,itheta)/2/pi % Io,avg = 5.0394 A % Check using another formula Ioavg = Vm(1-cos(beta))/2/pi/R % Io,avg = 5.0394 A % Part (d) Iopeak = max(itheta) % Io,max = 14.899 A % Part (e) io2 = itheta.itheta; Iorms = sqrt(trapz(theta,io2)/2/pi) % Io,rms = 7.6205 A % Part (f) VRavg = RIoavg % VR,avg = 50.394 V % Part (g) VRrms = RIorms % VR,rms = 76.205 V % Part (h) vL1 = (cos(theta1-phi)-cos(phi)exp(-theta1/tan(phi)))wLVm/Z; vL2 = 0theta2; vL = [vL1 vL2]; VLavg = trapz(theta,vL)/2/pi % VL,avg = 0 V % Part (i) VLrms = sqrt(trapz(theta,vL.vL)/2/pi) % VL,rms = 40.013 V % Check using another method Vrms = Vm/2sqrt(beta/pi-sin(2beta)/2/pi) % Vrms = 86.070 V VLrms = sqrt(VrmsVrms-VRrms*VRrms) % VL,rms = 40.012 V % Part (j) VDpeak = Vm % VD,peak = 169.71 V

Problem 4.2 (MATLAB)

% Problem 4. w = 2pi60; Vm = 120sqrt(2); R = 10; L = 0.0459; X = wL; Z = sqrt(RR + XX); phi = atan(wL/R); %Part (a) beta_old = 0; beta = pi; while (abs(beta - beta_old) > 0.000001) beta_old = beta; beta = pi + phi + asin(sin(phi)exp(-beta/tan(phi)));

% Part (e) io2 = itheta.itheta; Iorms = sqrt(trapz(theta,io2)/2/pi) % Io,rms = 5.5006 A % Part (f) VRavg = RIoavg % VR,avg = 38.763 V % Part (g) VRrms = RIorms % VR,rms = 55.006 V % Part (h) vL1 = (cos(theta1-phi)-cos(phi)exp(-theta1/tan(phi)))wLVm/Z; vL2 = 0theta2; vL = [vL1 vL2]; VLavg = trapz(theta,vL)/2/pi % VL,avg = 0 V % Part (i) VLrms = sqrt(trapz(theta,vL.vL)/2/pi) % VL,rms = 76.451 V % Check using another method Vrms = Vm/2sqrt(beta/pi-sin(2beta)/2/pi) % Vrms = 94.450 V VLrms = sqrt(VrmsVrms-VRrms*VRrms) % VL,rms = 76.450 V % Part (j) VDpeak = Vm % VD,peak = 169.71 V

Problem 4.3 (Problem D7.8 p. 375)

vo(t) = Vm π

Vm 2 sin ωt − 2 Vm π

[ cos 2ωt 1 · 3

cos 4ωt 3 · 5

]

io(t) = Vm πR

Vm 2

√ R^2 + (ωL)^2

sin(ωt − tan−^1 ωL R

Io,avg =

Vo,avg R

R

∆Io,pp ∼= Vm Z

Vm √ R^2 + (120πL)^2

≤ 0. 05 ×

Vo,avg R

= 0. 05 ×

Vm πR 20 πR ≤

√ R^2 + (120πL)^2 =⇒ 400 π^2 R^2 ≤ R^2 + (120πL)^2 =⇒ 20 πR ≤ 120 πL =⇒ R ≤ 6 L

Since the above inequality is based on an approximate Fourier analysis, choose R ≤ 5 L. For example, let R = 10 Ω and L = 2 H ≥ 1 .67 H. The MATLAB script below plots the exact load current io(t) for Vo,avg = 20 V. From the graph, the peak-to-peak current ripple is equal to

Io,avg = Vo,avg R

= 2 A

∆Io,pp = io,max − io,min ∼= 0 .092 A ∆Io,pp Io,avg

× 100% = 4 .6% ≤ 5%

Also shown are the two-term and three-term Fourier approximations of the load current io(t). The three-term approximation for io(t) is almost superimposed on the exact response.

% Problem D7.8 p. 375 w = 2pi60; R = 10; L = 2; X = wL; Vm = 20pi; Z1 = sqrt(RR + XX); Z2 = sqrt(RR + 4XX); Z4 = sqrt(RR + 16XX);

phi1 = atan(X/R); phi2 = atan(2X/R); phi4 = atan(4X/R); A = Vmsin(phi1)/Z1/(1 - exp(-pi/tan(phi1))); B = A; theta1 = [0:0.01:180]; io1 = Vmsin(theta1pi/180 - phi1)/Z1 + Aexp(-theta1pi/180/tan(phi1)); theta2 = [181:0.01:360]; io2 =Bexp(-(theta2-180)pi/180/tan(phi1)); io = [io1 io2]; theta = [theta1 theta2]; Delta_Iopp = max(io) - min(io) % Delta I_o,pp = 0.092 A < 0.05 x 2 = 0.1 A plot(theta,io),grid title(’Problem D7.8 p. 375’) xlabel(’\theta [deg]’) ylabel(’i_o(\theta) [A]’) hold on iotwo = Vm/pi/R + Vmsin(thetapi/180 - phi1)/2/Z1; iothree = iotwo - 2Vmcos(2thetapi/180 - phi2)/pi/3/Z2; %iofour = iothree - 2Vmcos(4theta*pi/180 - phi4)/pi/15/Z4; plot(theta,iotwo,’:’) plot(theta,iothree,’--’) %plot(theta,iofour) legend(’Exact’,’Two Terms’,’Three Terms’) print -deps sold7p

1.95 0 50 100 150 200 250 300 350 400

2

Problem D7.8 p. 375

θ [deg]

i(θo

) [A]

Exact Two Terms Three Terms