summaryrefslogtreecommitdiff
path: root/2549/CH3/EX3.5.2/Ex3_5_2.sce
blob: 9d06a47900e402704e6c9fbcad6ac9b3902ed37e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//Ex3.5.2
//calculation of parameter for full wave rectifier ckt
clc;
clear;
//given
Rs=10;//resistance of transformer secondary winding
Rf=5;//forward resistance of diode
Rl=100;//load resistance
N=1/2;//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
Il_dc=2*Vm/(%pi*(Rs+Rf+Rl));//avg load current
Vnl=2*Vm/%pi;//avg load voltage at no load
disp('****Part(1)');
disp('mA',Il_dc*10^3,'Average load Current is :');
disp('****Part(2)');
disp('Volt',Vnl,'Average load Voltage at No Load is :');
Vfl=Il_dc*Rl;//Average Load Voltage at Full load
disp('****Part(3)');
disp('Volt',Vfl,'Average load Voltage at Full Load is :');
%LR=((Vnl-Vfl)/Vfl)*100;//load regulation
disp('****Part(4)');
disp('%',%LR,'% Load Regulation is :');
n=(8/%pi^2)*(Rl/(Rs+Rf+Rl))*100;//rectification efficiency
disp('****Part(5)');
disp('%',n,'Rectification Efficiency is :')