Problem 1 (30 points): Consider the half-wave rectifier circuit in Figure 11. Yo
ID: 2248114 • Letter: P
Question
Problem 1 (30 points): Consider the half-wave rectifier circuit in Figure 11. Your goal is to plot the output waveform of this circuit for a given input waveform. Use the following algorithm to plot two cycles of a sinusoidal input, Vin (t)- 5 cos(t), and the corresponding output in the same figure window .Pick an arbitrary frequency and choose a suitable sampling interval accordingly to vary the input voltage for different time instances For each instantaneous value of the input voltage, the output voltage is zero if Vin is less than the diode's forward built-in voltage, 0.7v the output voltage is Vin-0.7 if yn 0.7 V. o o Problem 2 (30 points): Repeat Problem 1 for the full-wave bridge rectifier circuit shown in Figure 12. Keep in mind that the equations for Vout and the associated conditions will be different [Hint: there will be three different equations for three conditions; also remember that the current passes through two diodes when there is a non-zero output voltage].Explanation / Answer
% Program to simulate the full-wave fully-controlled bridge rectifier % Simulation at a specified firing angle % Enter the peak voltage, frequency, inductance L in mH and resistor R disp('Typical value for peak voltage is 340 V') peakV=input('Enter Peak voltage in Volts>'); disp('Typical value for line frequency is 50 Hz') freq=input('Enter line frequency in Hz>'); disp('Typical value for Load inductance is 31.8 mH') L=input('Enter Load inductance in mH>'); disp('Typical value for Load Resistance is 10.0 Ohms') R=input('Enter Load Resistance in Ohms>'); disp('Typical value for Firing angle is 30.0 degree') fangDeg=input('Enter Firing angle within range 0 to 180 in deg>'); fangRad=fangDeg/180.0*pi; w=2.0*pi*freq; X=w*L/1000.0; if (X=(180+fangDeg)); cur=k1*sin(theta-pi-loadAng)+A*exp(-tauInv*(theta-pi-fangRad)); vbr(n)=peakV*sin(theta-pi); vind(n)=vbr(n)-R*cur; iLoad(n)=cur; vSCR(n)=peakV*sin(theta); Ampavg=Ampavg+cur*1/360; AmpRMS=AmpRMS+cur*cur*1/360; end; end; end; plot(X,iLoad) title('The Load current') xlabel('degrees') ylabel('Amps') grid pause plot(X,vbr) title('Bridge Output volt') xlabel('degrees') ylabel('Volts') grid pause plot(X,vind) title('Inductor Voltage') xlabel('degrees') ylabel('Volts') grid pause plot(X,vSCR) title('SCR Voltage') xlabel('degrees') ylabel('Volts') gridRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.