summaryrefslogtreecommitdiff
path: root/281/CH12/EX12.6/example12_6.sce
blob: 062d777c74ef27089f9d9ee7ee56d570fad4b6df (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
disp('chapter 12 ex12.6')
disp('given')
disp("design feedback limit for 12.4 and max circuit o/p current=400mA when limited foldback to 200mA")
Ilmax=0.4
Isc=0.2
disp("Vr6=0.5 at short circuit")
disp("R6=0.5/Isc")
R6=0.5/Isc
disp('ohms',R6)
disp("use 2.7 ohm std value")
R6=2.7
disp("Vr6=Ilmax*R6")
Vr6=Ilmax*R6
disp('volts',Vr6)
disp("Vr8=Vr6-0.5    Vr6=1")
Vr8=1-0.5
disp('volts',Vr8)
disp("Ir8>>Ib3    hfe3=50  Ic3=5mA")
Ic3=0.005
hfe3=50
disp("Ib3=Ic3/hfe3")
Ib3=Ic3/hfe3
disp('amperes',Ib3)
disp("let Ir8=1mA")
Ir8=0.001
disp("R8=Vr8/Ir8")
R8=Vr8/Ir8
disp('ohms',R8)
disp("use 470 ohm std value")
R8=470
disp("using average level of Vo=12.5")
Vo=12.5
disp("R9=(Vo-Vr8)/Ir8")
R9=(Vo-Vr8)/Ir8
disp('ohms',R9)
disp("R7=Vs/Ic3    Vs=19.5")
Vs=19.5
R7=Vs/Ic3
disp('ohms',R7)
disp("hfe2=50    hfe1=20")
hfe2=50
hfe1=20
disp("Ib2max=Ilmax/(hfe1*hfe2)")
Ib2max=Ilmax/(hfe1*hfe2)
disp('amperes',Ib2max)
disp(" Vr7=Ib2max*R7")
Vr7=Ib2max*R7
disp('volts',Vr7)