summaryrefslogtreecommitdiff
path: root/863/CH6
diff options
context:
space:
mode:
Diffstat (limited to '863/CH6')
-rw-r--r--863/CH6/EX6.1/Ex6_1.sce22
-rw-r--r--863/CH6/EX6.1/Ex6_1.txt22
-rw-r--r--863/CH6/EX6.1/Result6_1.txt10
-rw-r--r--863/CH6/EX6.2/Ex6_2.sce26
-rw-r--r--863/CH6/EX6.2/Ex6_2.txt26
-rw-r--r--863/CH6/EX6.2/Result6_2.txt10
-rw-r--r--863/CH6/EX6.3/Ex6_3.sce13
-rw-r--r--863/CH6/EX6.3/Ex6_3.txt13
-rw-r--r--863/CH6/EX6.3/Result6_3.txt4
-rw-r--r--863/CH6/EX6.4/Ex6_4.sce17
-rw-r--r--863/CH6/EX6.4/Ex6_4.txt17
-rw-r--r--863/CH6/EX6.4/Result6_4.txt10
-rw-r--r--863/CH6/EX6.5/Ex6_5.sce27
-rw-r--r--863/CH6/EX6.5/Ex6_5.txt27
-rw-r--r--863/CH6/EX6.5/Result6_5.txt12
-rw-r--r--863/CH6/EX6.6/Ex6_6.sce14
-rw-r--r--863/CH6/EX6.6/Ex6_6.txt14
-rw-r--r--863/CH6/EX6.6/Result6_6.txt6
18 files changed, 290 insertions, 0 deletions
diff --git a/863/CH6/EX6.1/Ex6_1.sce b/863/CH6/EX6.1/Ex6_1.sce
new file mode 100644
index 000000000..617d04681
--- /dev/null
+++ b/863/CH6/EX6.1/Ex6_1.sce
@@ -0,0 +1,22 @@
+//Caption:Determine schmitt trigger circuit components for designing it
+//Ex6.1
+clc;
+clear;
+close;
+u=5//Upper trigger point voltage(in volts)
+Vbe=0.7//Base emitter voltage(in volts)
+I=2//Collector current(in mA)
+hfe=100
+Vcc=12//Collector voltage(in volt)
+Vce=0.2//Saturated collector emitter voltage(in volts)
+Ve=u-Vbe
+Re=Ve/I
+Rc=(Vcc-Ve-Vce)/I
+i=I/10
+R2=u/i
+Ib2=I/hfe
+I2=u/i
+It=Ib2+i
+r=(Vcc-u)/It
+R1=r-Rc
+disp(R1,R2,Rc,Re,'Circuit components Re,Rc,R2,R1(in kilo ohm)=') \ No newline at end of file
diff --git a/863/CH6/EX6.1/Ex6_1.txt b/863/CH6/EX6.1/Ex6_1.txt
new file mode 100644
index 000000000..617d04681
--- /dev/null
+++ b/863/CH6/EX6.1/Ex6_1.txt
@@ -0,0 +1,22 @@
+//Caption:Determine schmitt trigger circuit components for designing it
+//Ex6.1
+clc;
+clear;
+close;
+u=5//Upper trigger point voltage(in volts)
+Vbe=0.7//Base emitter voltage(in volts)
+I=2//Collector current(in mA)
+hfe=100
+Vcc=12//Collector voltage(in volt)
+Vce=0.2//Saturated collector emitter voltage(in volts)
+Ve=u-Vbe
+Re=Ve/I
+Rc=(Vcc-Ve-Vce)/I
+i=I/10
+R2=u/i
+Ib2=I/hfe
+I2=u/i
+It=Ib2+i
+r=(Vcc-u)/It
+R1=r-Rc
+disp(R1,R2,Rc,Re,'Circuit components Re,Rc,R2,R1(in kilo ohm)=') \ No newline at end of file
diff --git a/863/CH6/EX6.1/Result6_1.txt b/863/CH6/EX6.1/Result6_1.txt
new file mode 100644
index 000000000..1fd73a883
--- /dev/null
+++ b/863/CH6/EX6.1/Result6_1.txt
@@ -0,0 +1,10 @@
+ Circuit components Re,Rc,R2,R1(in kilo ohm)=
+
+ 2.15
+
+ 3.75
+
+ 25.
+
+ 28.068182
+ \ No newline at end of file
diff --git a/863/CH6/EX6.2/Ex6_2.sce b/863/CH6/EX6.2/Ex6_2.sce
new file mode 100644
index 000000000..bd32f25cc
--- /dev/null
+++ b/863/CH6/EX6.2/Ex6_2.sce
@@ -0,0 +1,26 @@
+//Caption:Find circuit components for designing a schmitt trigger circuit
+//Ex6.2
+clc;
+clear;
+close;
+u=5//Upper trigger point voltage(in volts)
+Vbe=0.7//Base emitter voltage(in volts)
+I=2//Collector current(in mA)
+hfe=100
+Vcc=12//Collector voltage(in volt)
+Vce=0.2//Saturated collector emitter voltage(in volts)
+l=3//Lower trigger point voltage(in volts)
+Ve=u-Vbe
+Re=Ve/I
+Rc=(Vcc-Ve-Vce)/I
+i=I/10
+R2=u/i
+Ib2=I/hfe
+I2=u/i
+It=Ib2+i
+r=(Vcc-u)/It
+I1=l/R2
+Ie=(l-Vbe)/Re
+Rc1=Vcc-(I1*(r+R2))/Ie
+R1=r-Rc1
+disp(R1,R2,Rc1,Re,'Circuit components are Re,Rc1,R2,R1(in kilo ohm)=') \ No newline at end of file
diff --git a/863/CH6/EX6.2/Ex6_2.txt b/863/CH6/EX6.2/Ex6_2.txt
new file mode 100644
index 000000000..bd32f25cc
--- /dev/null
+++ b/863/CH6/EX6.2/Ex6_2.txt
@@ -0,0 +1,26 @@
+//Caption:Find circuit components for designing a schmitt trigger circuit
+//Ex6.2
+clc;
+clear;
+close;
+u=5//Upper trigger point voltage(in volts)
+Vbe=0.7//Base emitter voltage(in volts)
+I=2//Collector current(in mA)
+hfe=100
+Vcc=12//Collector voltage(in volt)
+Vce=0.2//Saturated collector emitter voltage(in volts)
+l=3//Lower trigger point voltage(in volts)
+Ve=u-Vbe
+Re=Ve/I
+Rc=(Vcc-Ve-Vce)/I
+i=I/10
+R2=u/i
+Ib2=I/hfe
+I2=u/i
+It=Ib2+i
+r=(Vcc-u)/It
+I1=l/R2
+Ie=(l-Vbe)/Re
+Rc1=Vcc-(I1*(r+R2))/Ie
+R1=r-Rc1
+disp(R1,R2,Rc1,Re,'Circuit components are Re,Rc1,R2,R1(in kilo ohm)=') \ No newline at end of file
diff --git a/863/CH6/EX6.2/Result6_2.txt b/863/CH6/EX6.2/Result6_2.txt
new file mode 100644
index 000000000..81f41d00f
--- /dev/null
+++ b/863/CH6/EX6.2/Result6_2.txt
@@ -0,0 +1,10 @@
+Circuit components are Re,Rc1,R2,R1(in kilo ohm)=
+
+ 2.15
+
+ 5.6264822
+
+ 25.
+
+ 26.1917
+ \ No newline at end of file
diff --git a/863/CH6/EX6.3/Ex6_3.sce b/863/CH6/EX6.3/Ex6_3.sce
new file mode 100644
index 000000000..9b2c433b3
--- /dev/null
+++ b/863/CH6/EX6.3/Ex6_3.sce
@@ -0,0 +1,13 @@
+//Caption:Determine Largest speed up capacitance
+//Ex6.3
+clc;
+clear;
+close;
+f=1//Frequency(in Mhz)
+R1=22//Resistance(in kilo ohm)
+R2=22//Resistance(in kilo ohm)
+Rc1=4.7//Resistance(in kilo ohm)
+R=R1*(Rc1+R2)/(R1+Rc1+R2)
+t=1/f
+C=t*1000/(2.3*R)
+disp(C,'Required Capacitance(in pF)=') \ No newline at end of file
diff --git a/863/CH6/EX6.3/Ex6_3.txt b/863/CH6/EX6.3/Ex6_3.txt
new file mode 100644
index 000000000..9b2c433b3
--- /dev/null
+++ b/863/CH6/EX6.3/Ex6_3.txt
@@ -0,0 +1,13 @@
+//Caption:Determine Largest speed up capacitance
+//Ex6.3
+clc;
+clear;
+close;
+f=1//Frequency(in Mhz)
+R1=22//Resistance(in kilo ohm)
+R2=22//Resistance(in kilo ohm)
+Rc1=4.7//Resistance(in kilo ohm)
+R=R1*(Rc1+R2)/(R1+Rc1+R2)
+t=1/f
+C=t*1000/(2.3*R)
+disp(C,'Required Capacitance(in pF)=') \ No newline at end of file
diff --git a/863/CH6/EX6.3/Result6_3.txt b/863/CH6/EX6.3/Result6_3.txt
new file mode 100644
index 000000000..affdd976c
--- /dev/null
+++ b/863/CH6/EX6.3/Result6_3.txt
@@ -0,0 +1,4 @@
+Required Capacitance(in pF)=
+
+ 36.046839
+ \ No newline at end of file
diff --git a/863/CH6/EX6.4/Ex6_4.sce b/863/CH6/EX6.4/Ex6_4.sce
new file mode 100644
index 000000000..a71f84331
--- /dev/null
+++ b/863/CH6/EX6.4/Ex6_4.sce
@@ -0,0 +1,17 @@
+//Caption:Calculate R1,R2 and Actual UTP and LTP
+//Ex6.4
+clc;
+clear;
+close;
+u=3//Upper trigger voltage(in volts)
+Ib=500//Max base current(in nA)
+Vcc=15//Collector voltage(in volts)
+i=Ib*0.1
+R2=u*1000/i
+I=u/R2
+Vo=Vcc-1
+Vr1=Vo-u
+R1=Vr1/I
+utp=Vo*R2/(R1+R2)
+ltp=-utp
+disp(ltp,utp,R2,R1,'Circuit components R1,R2(in kilo ohm) and actual UTP and LTP(in volts)=') \ No newline at end of file
diff --git a/863/CH6/EX6.4/Ex6_4.txt b/863/CH6/EX6.4/Ex6_4.txt
new file mode 100644
index 000000000..a71f84331
--- /dev/null
+++ b/863/CH6/EX6.4/Ex6_4.txt
@@ -0,0 +1,17 @@
+//Caption:Calculate R1,R2 and Actual UTP and LTP
+//Ex6.4
+clc;
+clear;
+close;
+u=3//Upper trigger voltage(in volts)
+Ib=500//Max base current(in nA)
+Vcc=15//Collector voltage(in volts)
+i=Ib*0.1
+R2=u*1000/i
+I=u/R2
+Vo=Vcc-1
+Vr1=Vo-u
+R1=Vr1/I
+utp=Vo*R2/(R1+R2)
+ltp=-utp
+disp(ltp,utp,R2,R1,'Circuit components R1,R2(in kilo ohm) and actual UTP and LTP(in volts)=') \ No newline at end of file
diff --git a/863/CH6/EX6.4/Result6_4.txt b/863/CH6/EX6.4/Result6_4.txt
new file mode 100644
index 000000000..437d10be3
--- /dev/null
+++ b/863/CH6/EX6.4/Result6_4.txt
@@ -0,0 +1,10 @@
+Circuit components R1,R2(in kilo ohm) and actual UTP and LTP(in volts)=
+
+ 220.
+
+ 60.
+
+ 3.
+
+ - 3.
+ \ No newline at end of file
diff --git a/863/CH6/EX6.5/Ex6_5.sce b/863/CH6/EX6.5/Ex6_5.sce
new file mode 100644
index 000000000..bcf401517
--- /dev/null
+++ b/863/CH6/EX6.5/Ex6_5.sce
@@ -0,0 +1,27 @@
+//Caption:Design Schmitt circuit components R1,R2,R3,R4 and R5
+//Ex6.5
+clc;
+clear;
+close;
+u=3//Upper trigger voltage(in volts)
+Ib=500//Max base current(in nA)
+Vf=0.7//Forward diode voltage(in volts)
+Vk1=-2//Voltage(in volts)
+Vcc=15//Collector voltage(in volts)
+Vk2=-Vk1
+i=Ib*0.1
+R2=u*1000/i
+I=u/R2
+Vo=Vcc-1
+Vr1=Vo-u
+R1=Vr1/I
+I4=100*i
+Va1=Vk1+Vf
+Vee=-Vcc
+V4=Va1-Vee
+R4=V4*1000/I4
+Va2=Vk2+Vf
+V5=Va2-Va1
+R5=V5*1000/I4
+R3=(Vcc-Va2)*1000/I4
+disp(R5,R4,R3,R2,R1,'R1,R2,R3,R4,R5(in kilo ohm)=') \ No newline at end of file
diff --git a/863/CH6/EX6.5/Ex6_5.txt b/863/CH6/EX6.5/Ex6_5.txt
new file mode 100644
index 000000000..bcf401517
--- /dev/null
+++ b/863/CH6/EX6.5/Ex6_5.txt
@@ -0,0 +1,27 @@
+//Caption:Design Schmitt circuit components R1,R2,R3,R4 and R5
+//Ex6.5
+clc;
+clear;
+close;
+u=3//Upper trigger voltage(in volts)
+Ib=500//Max base current(in nA)
+Vf=0.7//Forward diode voltage(in volts)
+Vk1=-2//Voltage(in volts)
+Vcc=15//Collector voltage(in volts)
+Vk2=-Vk1
+i=Ib*0.1
+R2=u*1000/i
+I=u/R2
+Vo=Vcc-1
+Vr1=Vo-u
+R1=Vr1/I
+I4=100*i
+Va1=Vk1+Vf
+Vee=-Vcc
+V4=Va1-Vee
+R4=V4*1000/I4
+Va2=Vk2+Vf
+V5=Va2-Va1
+R5=V5*1000/I4
+R3=(Vcc-Va2)*1000/I4
+disp(R5,R4,R3,R2,R1,'R1,R2,R3,R4,R5(in kilo ohm)=') \ No newline at end of file
diff --git a/863/CH6/EX6.5/Result6_5.txt b/863/CH6/EX6.5/Result6_5.txt
new file mode 100644
index 000000000..d3e035481
--- /dev/null
+++ b/863/CH6/EX6.5/Result6_5.txt
@@ -0,0 +1,12 @@
+R1,R2,R3,R4,R5(in kilo ohm)=
+
+ 220.
+
+ 60.
+
+ 2.46
+
+ 2.74
+
+ 0.8
+ \ No newline at end of file
diff --git a/863/CH6/EX6.6/Ex6_6.sce b/863/CH6/EX6.6/Ex6_6.sce
new file mode 100644
index 000000000..e3afaca29
--- /dev/null
+++ b/863/CH6/EX6.6/Ex6_6.sce
@@ -0,0 +1,14 @@
+//Caption:Design a non inverting schmitt trigger circuit
+//Ex6.6
+clc;
+clear;
+close;
+Vcc=15//Collector voltage(in volts)
+u=2//Upper trigger point(in volts)
+Ib=500//Base current(in nA)
+I2=Ib*0.1
+Vo=Vcc-1
+R2=Vo*1000/I2
+i=Vo*1000/R2
+R1=u*1000/i
+disp(R2,R1,'Circuit components R1 and R2(in kilo ohm)=') \ No newline at end of file
diff --git a/863/CH6/EX6.6/Ex6_6.txt b/863/CH6/EX6.6/Ex6_6.txt
new file mode 100644
index 000000000..e3afaca29
--- /dev/null
+++ b/863/CH6/EX6.6/Ex6_6.txt
@@ -0,0 +1,14 @@
+//Caption:Design a non inverting schmitt trigger circuit
+//Ex6.6
+clc;
+clear;
+close;
+Vcc=15//Collector voltage(in volts)
+u=2//Upper trigger point(in volts)
+Ib=500//Base current(in nA)
+I2=Ib*0.1
+Vo=Vcc-1
+R2=Vo*1000/I2
+i=Vo*1000/R2
+R1=u*1000/i
+disp(R2,R1,'Circuit components R1 and R2(in kilo ohm)=') \ No newline at end of file
diff --git a/863/CH6/EX6.6/Result6_6.txt b/863/CH6/EX6.6/Result6_6.txt
new file mode 100644
index 000000000..a79bd6a24
--- /dev/null
+++ b/863/CH6/EX6.6/Result6_6.txt
@@ -0,0 +1,6 @@
+ Circuit components R1 and R2(in kilo ohm)=
+
+ 40.
+
+ 280.
+ \ No newline at end of file