Page 316 - Solutions Manual to accompany Electric Machinery Fundamentals
P. 316
temp = 0;
for ii = 1:nvals
temp = temp + waveform(ii)^2;
end
rms = sqrt(temp/nvals);
% Calculate ripple factor
r = sqrt((rms / average)^2 - 1) * 100;
Finally, the test driver program is shown below.
% M-file: test_halfwave3.m
% M-file to calculate the ripple on the output of a
% three phase half-wave rectifier.
% First, generate the output of a three-phase half-wave
% rectifier
waveform = zeros(1,128);
for ii = 1:128
waveform(ii) = halfwave3(ii*pi/64);
end
% Now calculate the ripple factor
r = ripple(waveform);
% Print out the result
string = ['The ripple is ' num2str(r) '%.'];
disp(string);
When this program is executed, the results are
» test_halfwave3
The ripple is 18.2759%.
This answer agrees with the analytical solution above.
S1-2. Calculate the ripple factor of a three-phase full-wave rectifier circuit, both analytically and using
MATLAB.
SOLUTION A three-phase half-wave rectifier and its output voltage are shown below
310