Question

5x3 +7x-4 2. (a) A diode allows the flow of current only in one direction which is used as a half wave rectifier. For a real

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The given condition is a combination of the load and diode. Whenever, the source voltage is more than 0.6 volts, the diode starts conducting in one direction and the voltage across the load will be Vs - 0.6.

The voltage across the load is expressed as

Vs-0.6 V, > 0.6 ï, < 0.6 0 V

Given that, V_s(t) = 3 e^{-\frac{t}{3}} \sin (\pi t) , where 't' is in seconds.

---------------------------------------------------------------------------------------------------------------------------------------------------------

MATLAB code to plot the load voltage from 0 to 8 seconds.

======= START OF MATLAB CODE ======

%------------------------------
% Diode Conduction
%------------------------------
% Time required for plotting
Ts = 8;
% Time interval of 1 milliseconds from 0 to 8 seconds
t = 0:0.001:Ts;
% Generation of supply voltage
% Dot multiplication for element-wise multiplication
Vs = 3.*exp(-t/3).*sin(pi*t);
% Checking all the voltages in the interval 0 to 8 seconds
% to generate load voltage using if/else condition
for i=1:length(Vs)
   if Vs(i) > 0.6
       Vl(i) = Vs(i) - 0.6;
   else
       Vl(i) = 0;
   end
end
% Plotting load voltage
figure,plot(t,Vl)
xlabel('Time in seconds')
ylabel('Vl')
title('Load voltage')
grid on
% Plotting supply voltage
figure,plot(t,Vs)
xlabel('Time in seconds')
ylabel('Vs')
title('Supply voltage')
grid on
============== END OF MATLAB CODE =============

Save the MATLAB code in a file named as 'diode.m' and run the command 'diode' in command window of MATLAB to generate load voltage and supply voltage plots. There are comments in each line and comments start with the symbol '%' in MATLAB.

---------------------------------------------------------------------------------------------------------------------------------------

The plot of load voltage from 0 to 8 seconds is shown below

Load voltage 2 1.5 2 4 Time in seconds

---------------------------------------------------------------------------------------------------------------------------------------

The plot of supply voltage from 0 to 8 seconds is shown below

Supply voltage 2 -2 2 4 Time in secondsThe plot of supply voltage is provided as a reference.

------------------------------------------------------------------------------------------------------------------------------------------------

Add a comment
Know the answer?
Add Answer to:
5x3 +7x-4 2. (a) A diode allows the flow of current only in one direction which is used as a half wave rectifier. For a real diode, the voltage v, across the load Ri is given by: [10) v.- vs-0.6 if v...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Use matlab to solve Project A half-wave diode rectifier shown in the following Fig. 1 is...

    Use matlab to solve Project A half-wave diode rectifier shown in the following Fig. 1 is an electrical cirouit that coeverts AC voltage to DC voltage. The voltage of the source is y,Sin(utwhere -f in whicfis the frequency. The operation of the circuit is illustrated in Fig. 2 where the dashod line shows the source veltage and the solid line shows the voltage across the resistor Diode Time Fig. 1 In the first cycle, thediode is on (conductingcurrent)fromに0umi 4Atthstme thediodetums...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT