summaryrefslogtreecommitdiff
path: root/2459/CH20/EX20.5/Ex20_5.sce
blob: f9f4000657236572b3766f2f9e8ac86fce660d73 (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
//chapter20
//example20.5
//page441

Vin=24 // V
Vout=12 // V
Rs=160 // ohm
Rl_min=200 // ohm

Is=(Vin-Vout)/Rs  // in ampere

// minimum load occurs when Rl tends to infinity so
Il_min=0

// maximum load occurs when Rl=200 ohm
Il_max=Vout/Rl_min  // in ampere

Iz_min=Is-Il_max  // in ampere 
Iz_max=Is-Il_min  // in ampere

printf("current through series reistance = %.3f mA \n \n",Is*1000)
printf("minimum load current = %.3f mA \n",Il_min*1000)
printf("maximum load current = %.3f mA \n",Il_max*1000)
printf("minimum zener current = %.3f mA \n",Iz_min*1000)
printf("maximum zener current = %.3f mA \n \n",Iz_max*1000)

printf("comment : current Is through Rs is constant.\nAs load current increases from 0 to 60 mA, zener current decreases from 75 to 15 mA, \nmaintaining Is constant.\nThis is the normal operation of zener regulator \ni.e.Is and Vout remain constant inspite of changes in load or source voltage.")