summaryrefslogtreecommitdiff
path: root/2549/CH3/EX3.4.2/Ex3_4_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2549/CH3/EX3.4.2/Ex3_4_2.sce')
-rw-r--r--2549/CH3/EX3.4.2/Ex3_4_2.sce35
1 files changed, 35 insertions, 0 deletions
diff --git a/2549/CH3/EX3.4.2/Ex3_4_2.sce b/2549/CH3/EX3.4.2/Ex3_4_2.sce
new file mode 100644
index 000000000..46f2a378a
--- /dev/null
+++ b/2549/CH3/EX3.4.2/Ex3_4_2.sce
@@ -0,0 +1,35 @@
+//Ex3.4.2
+//calculation of parameter for half wave rectifier ckt
+clc;
+clear;
+//given
+Rs=5;//resistance of transformer secondary winding
+Rf=50;//forward resistance of diode
+Rl=1000;//load resistance
+N=1/4;//ratio of no. of turns secondary to primary winding (Ns/Np)
+V=240;//input ac voltage
+Vs_rms=N*V;//rms secondary voltage
+Vm=sqrt(2)*Vs_rms;//peak secondary voltage
+Im=Vm/(Rs+Rf+Rl);//peak load current
+Il_dc=Im/%pi;//avg load current
+Vl_dc=Il_dc*Rl;//avg load voltage
+disp('Part(1)');
+disp('Ampere',Il_dc,'Average load Current is :');
+disp('Volt',Vl_dc,'Average load Voltage is :');
+Il_rms=Im/2;//rms load current
+Vl_rms=Il_rms*Rl;//rms load voltage
+disp('Part(2)');
+disp('Ampere',Il_rms,'rms load Current is :');
+disp('Volt',Vl_rms,'rms load Voltage is :');
+Pl_dc=(Il_dc^2)*Rl;//dc load power
+Is_rms=Il_rms;//Is_rms is secondary rms current
+Pac=(Is_rms^2)*(Rs+Rf+Rl);//ac input power
+disp('Part(3)');
+disp('Watt',Pl_dc,'DC load Power is :');
+disp('Watt',Pac,'AC input Power is :');
+n=(Pl_dc/Pac)*100;//rectification efficiency
+disp('Part(4)');
+disp('%',n,'Rectification Efficiency is :')
+TUF=(Pl_dc/(Vs_rms*Is_rms))*100;
+disp('Part(5)')
+disp('%',TUF,'Tranformer Utilization Factor is:')