From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1514/CH16/EX16.9/16_9.sce | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100755 1514/CH16/EX16.9/16_9.sce (limited to '1514/CH16/EX16.9') diff --git a/1514/CH16/EX16.9/16_9.sce b/1514/CH16/EX16.9/16_9.sce new file mode 100755 index 000000000..e778f2a89 --- /dev/null +++ b/1514/CH16/EX16.9/16_9.sce @@ -0,0 +1,40 @@ +//chapter 16 +//example 16.9 +//page 4 +clear all; +clc ; +//given +Ilmax=100;//maximum op current +Vs=20;//supply voltage +//maximum op voltage 10-15V +Vomin=10;Vomax=15; +Vz1=Vomin/2; +Vz2=Vomax/2; +printf("\nSuitable device is 1N753,from datasheet") +Vz=6.2;//nominal voltage +Izr=20; +Iz=Izr; +Voavg=12.5; +R1=1000*(Voavg-Vz)/Iz; +printf("\nR1=%d ohm,standard value 330 kohm",R1);R1=330; +//I3>Ibmax for opAmp,let +I3min=1; +//Vo=min,wiper at top of R4 +R3R4=Vz/I3min; +VR3=Vz; +R2=(Vomin-VR3)/I3min; +printf("\nR2=%.1f kohm,standard value 3.3 kohm",R2);R2=3.3; +//Vo=max,wiper at bottom of R4 +I3max=Vomax/(R2+R3R4); +R3=Vz/I3max; +R4=(R3R4)-R3; +printf("\nR3=%.1f kohm",R3); +printf("\nR4=%.1f kohm,standard value 3 kohm",R4); +//Q1 specification +P1=(Vs-Vomin)*(Ilmax+Iz+I3min); +P1=P1/1000; +printf("\nP1=%.2f W",P1) +Vcemax=Vs; +ICmax=Ilmax+Iz+I3min; +printf("\nVcemax=%d V,ICmax=%d mA",Vcemax,ICmax) + -- cgit