blob: 16af3a357a5ff41980cea2ba293c7509365cd235 (
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
28
29
30
31
32
33
|
clc
disp("Example 2.61")
printf("\n")
disp("Design a zener voltage regulator to meet following specification")
printf("Given\n")
printf("1 Resistance are in ohms \n 2 Current are in ampere \n 3 voltage sources are in volt\n")
//DC input voltage
Vimin=12-3
Vimax=12+3
//DC output voltage
Vo=5
//Load current
ILmax=20*10^-3
ILmin=0
//zener wattage
Pzmax=500*10^-3
Vz=Vo
//maximum zener current
Izmax=Pzmax/Vz
//since Izmin is not given so let us take IZmin=5mA
Izmin=5*10^-3
//maximum Resistance
Rmax=(Vimin-Vo)/(Izmin+ILmax)
//mini resistance
Rmin=(Vimax-Vo)/(Izmax+ILmin)
//Required resistance
R=(Rmax+Rmin)/2
//load resistance
RL=Vo/ILmax
printf("minimum resistance %d ohm \n",Rmin)
printf("maximum resistance %d ohm \n",Rmax)
printf("required resistance %d ohm \n",R)
printf("load resistance %d ohm \n",RL)
|