Docsity

Homework 1 Practice Problem on Power Electronics | ECE 472, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE472 HOMEWORK #1 DUE: FRIDAY, SEPTEMBER 5, 2008
Problem 1.1
Load the data file named ‘hw1.txt’ from the ECE 472 website into a MATLAB workspace using
the commands:
>>load hw1.txt
>>t = hw1(:,1);
>>v = hw1(:,2);
>>i = hw1(:,3);
This data file contains a full 60-Hz cycle of the voltage and current waveforms of a 26-W compact
fluorescent lightbulb sampled with a frequency fs= 12 kHz. Each of the 201 rows lists three data
points representing time, voltage, and current, respectively, at the given instant of time.
(a) Write a MATLAB script to plot the normalized voltage and current waveforms on the same
graph using the MATLAB command:
plot(t,v/100,t,i),grid
(b) Assuming that the voltage and current waveforms can be represented by the following functions
v(t) = av1cos ωt +bv1sin ωt =√2V1sin(ωt +θv1)
i(t) = ai1cos ωt +bi1sin ωt +ai3cos 3ωt +bi3sin 3ωt +. . .
=√2V1sin(ωt +θi1) + √2V3sin(3ωt +θi3) + . . .
find av1,bv1,V1,θv1(deg), ai1,bi1,I1, and θi1(deg).
(c) Plot the fundamental waveform of the current on the same graph as the original voltage and
current waveforms using the MATLAB commands
hold off
plot(t,v/100,t,i,t,i1),grid
title{’ ... ’)
xlabel(’Time (s)’)
ylabel(’ ... ’)
print -deps plots
(d) Verify that the average power Pconsumed by the fluorescent lightbulb is approximately equal
to 26 W using the following two methods
P=1
TZT
0
v(t)i(t)dt
P=V1I1cos(θv1−θi1)
Hint: Use the trapezoidal function ‘trapz’ in MATLAB:
P = trapz(t,v.*i)/T;
1
pf2

Partial preview of the text

Download Homework 1 Practice Problem on Power Electronics | ECE 472 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECE472 HOMEWORK #1 DUE: FRIDAY, SEPTEMBER 5, 2008

Problem 1.

Load the data file named ‘hw1.txt’ from the ECE 472 website into a MATLAB workspace using the commands:

load hw1.txt t = hw1(:,1); v = hw1(:,2); i = hw1(:,3);

This data file contains a full 60-Hz cycle of the voltage and current waveforms of a 26-W compact fluorescent lightbulb sampled with a frequency fs = 12 kHz. Each of the 201 rows lists three data points representing time, voltage, and current, respectively, at the given instant of time.

(a) Write a MATLAB script to plot the normalized voltage and current waveforms on the same graph using the MATLAB command:

plot(t,v/100,t,i),grid

(b) Assuming that the voltage and current waveforms can be represented by the following functions

v(t) = av 1 cos ωt + bv 1 sin ωt =

2 V 1 sin(ωt + θv 1 ) i(t) = ai 1 cos ωt + bi 1 sin ωt + ai 3 cos 3ωt + bi 3 sin 3ωt +... =

2 V 1 sin(ωt + θi 1 ) +

2 V 3 sin(3ωt + θi 3 ) +...

find av 1 , bv 1 , V 1 , θv 1 (deg), ai 1 , bi 1 , I 1 , and θi 1 (deg).

(c) Plot the fundamental waveform of the current on the same graph as the original voltage and current waveforms using the MATLAB commands

hold off plot(t,v/100,t,i,t,i1),grid title{’ ... ’) xlabel(’Time (s)’) ylabel(’ ... ’) print -deps plots

(d) Verify that the average power P consumed by the fluorescent lightbulb is approximately equal to 26 W using the following two methods

P =

T

∫ (^) T

0

v(t)i(t) dt P = V 1 I 1 cos(θv 1 − θi 1 )

Hint: Use the trapezoidal function ‘trapz’ in MATLAB:

P = trapz(t,v.*i)/T;

(e) Find the rms values of the voltage and current waveforms using the definitions

V =

√ 1 T

∫ (^) T

0

v^2 (t) dt

I =

√ 1 T

∫ (^) T

0

i^2 (t) dt

(f) Find the power factor (PF), the displacement power factor (DPF), the current distortion factor (IDF) and the current total harmonic distortion (ITHD) from the following definitions

PF =

P

S

DPF = cos(θv 1 − θi 1 )

IDF =

I 1

I

ITHD =

√( I I 1

) 2 − 1 =

√( 1 IDF

) 2 − 1

(g) Verify that

PF = IDF × DPF =

DPF

√ 1 + (ITHD)^2