From 1aaa791497cd672a547351936422246efdb758fd Mon Sep 17 00:00:00 2001
From: Fahim
Date: Fri, 12 Feb 2016 15:10:50 +0530
Subject: Added phase plot
---
Examples/BJT_amplifier/BJT_amplifier.cir | 5 ++++-
Examples/BJT_amplifier/BJT_amplifier.cir.out | 6 +++++-
Examples/BJT_amplifier/BJT_amplifier_Previous_Values.xml | 2 +-
Examples/BJT_amplifier/plot_data_i.txt | 4 ++--
Examples/BJT_amplifier/plot_data_v.txt | 14 +++++++-------
5 files changed, 19 insertions(+), 12 deletions(-)
(limited to 'Examples')
diff --git a/Examples/BJT_amplifier/BJT_amplifier.cir b/Examples/BJT_amplifier/BJT_amplifier.cir
index cf6ac11c..70555b1d 100644
--- a/Examples/BJT_amplifier/BJT_amplifier.cir
+++ b/Examples/BJT_amplifier/BJT_amplifier.cir
@@ -17,6 +17,9 @@ C2 GND Net-_C2-Pad2_ 100u
C3 out Net-_C3-Pad2_ 40u
R5 Net-_R2-Pad1_ Net-_C3-Pad2_ 2k
R4 Net-_C2-Pad2_ GND 1.5k
-Q1 Net-_C3-Pad2_ Net-_C1-Pad2_ Net-_C2-Pad2_ NPN
+Q1 Net-_C3-Pad2_ Net-_C1-Pad2_ Net-_C2-Pad2_ NPN
+
+U1 out plot_phase
+U2 out plot_log
.end
diff --git a/Examples/BJT_amplifier/BJT_amplifier.cir.out b/Examples/BJT_amplifier/BJT_amplifier.cir.out
index 899d6a09..ee87daae 100644
--- a/Examples/BJT_amplifier/BJT_amplifier.cir.out
+++ b/Examples/BJT_amplifier/BJT_amplifier.cir.out
@@ -2,7 +2,7 @@
.include NPN.lib
v1 net-_r2-pad1_ gnd dc 10
-v2 net-_r1-pad2_ gnd ac 0.5
+v2 net-_r1-pad2_ gnd ac 0.5 0
r1 net-_c1-pad1_ net-_r1-pad2_ 50
r2 net-_r2-pad1_ net-_c1-pad2_ 200k
c1 net-_c1-pad1_ net-_c1-pad2_ 40u
@@ -13,6 +13,8 @@ c3 out net-_c3-pad2_ 40u
r5 net-_r2-pad1_ net-_c3-pad2_ 2k
r4 net-_c2-pad2_ gnd 1.5k
q1 net-_c3-pad2_ net-_c1-pad2_ net-_c2-pad2_ Q2N2222
+* u1 out plot_phase
+* u2 out plot_log
.ac dec 100 100Hz 10KHz
* Control Statements
@@ -20,5 +22,7 @@ q1 net-_c3-pad2_ net-_c1-pad2_ net-_c2-pad2_ Q2N2222
run
print allv > plot_data_v.txt
print alli > plot_data_i.txt
+plot phase(out)
+plot log(out)
.endc
.end
diff --git a/Examples/BJT_amplifier/BJT_amplifier_Previous_Values.xml b/Examples/BJT_amplifier/BJT_amplifier_Previous_Values.xml
index 98eb245e..0db3966c 100644
--- a/Examples/BJT_amplifier/BJT_amplifier_Previous_Values.xml
+++ b/Examples/BJT_amplifier/BJT_amplifier_Previous_Values.xml
@@ -1 +1 @@
-falsetruefalse10010100HzKHzFalseVolts or AmperesVolts or AmperesVolts or AmperesSecSecSec/opt/eSim/src/deviceModelLibrary/Transistor/NPN.lib
\ No newline at end of file
+/home/phantom/Workspace/eSim/src/deviceModelLibrary/Transistor/NPN.libfalsetruefalse10010100HzKHz0Volts or AmperesVolts or AmperesVolts or AmperesSecSecSec
\ No newline at end of file
diff --git a/Examples/BJT_amplifier/plot_data_i.txt b/Examples/BJT_amplifier/plot_data_i.txt
index b20147de..68e5fea9 100644
--- a/Examples/BJT_amplifier/plot_data_i.txt
+++ b/Examples/BJT_amplifier/plot_data_i.txt
@@ -1,5 +1,5 @@
* /home/fossee/downloads/esim-master/examples/bjt_amplifier/bjt_amplifier.cir
- AC Analysis Thu Feb 4 15:28:47 2016
+ AC Analysis Fri Feb 12 15:10:17 2016
--------------------------------------------------------------------------------
Index frequency v1#branch
--------------------------------------------------------------------------------
@@ -215,7 +215,7 @@ Index frequency v1#branch
200 1.000000e+04 -5.02835e-03, -2.03142e-05
* /home/fossee/downloads/esim-master/examples/bjt_amplifier/bjt_amplifier.cir
- AC Analysis Thu Feb 4 15:28:47 2016
+ AC Analysis Fri Feb 12 15:10:17 2016
--------------------------------------------------------------------------------
Index frequency v2#branch
--------------------------------------------------------------------------------
diff --git a/Examples/BJT_amplifier/plot_data_v.txt b/Examples/BJT_amplifier/plot_data_v.txt
index 983c00f7..e54c7fe7 100644
--- a/Examples/BJT_amplifier/plot_data_v.txt
+++ b/Examples/BJT_amplifier/plot_data_v.txt
@@ -1,5 +1,5 @@
* /home/fossee/downloads/esim-master/examples/bjt_amplifier/bjt_amplifier.cir
- AC Analysis Thu Feb 4 15:28:47 2016
+ AC Analysis Fri Feb 12 15:10:17 2016
--------------------------------------------------------------------------------
Index frequency net-_c1-pad1_
--------------------------------------------------------------------------------
@@ -215,7 +215,7 @@ Index frequency net-_c1-pad1_
200 1.000000e+04 4.959885e-01, -2.02010e-04
* /home/fossee/downloads/esim-master/examples/bjt_amplifier/bjt_amplifier.cir
- AC Analysis Thu Feb 4 15:28:47 2016
+ AC Analysis Fri Feb 12 15:10:17 2016
--------------------------------------------------------------------------------
Index frequency net-_c1-pad2_
--------------------------------------------------------------------------------
@@ -431,7 +431,7 @@ Index frequency net-_c1-pad2_
200 1.000000e+04 4.959869e-01, -1.70087e-04
* /home/fossee/downloads/esim-master/examples/bjt_amplifier/bjt_amplifier.cir
- AC Analysis Thu Feb 4 15:28:47 2016
+ AC Analysis Fri Feb 12 15:10:17 2016
--------------------------------------------------------------------------------
Index frequency net-_c2-pad2_
--------------------------------------------------------------------------------
@@ -647,7 +647,7 @@ Index frequency net-_c2-pad2_
200 1.000000e+04 1.123580e-05, -2.41284e-03
* /home/fossee/downloads/esim-master/examples/bjt_amplifier/bjt_amplifier.cir
- AC Analysis Thu Feb 4 15:28:47 2016
+ AC Analysis Fri Feb 12 15:10:17 2016
--------------------------------------------------------------------------------
Index frequency net-_c3-pad2_
--------------------------------------------------------------------------------
@@ -863,7 +863,7 @@ Index frequency net-_c3-pad2_
200 1.000000e+04 -1.00617e+01, -4.06268e-02
* /home/fossee/downloads/esim-master/examples/bjt_amplifier/bjt_amplifier.cir
- AC Analysis Thu Feb 4 15:28:47 2016
+ AC Analysis Fri Feb 12 15:10:17 2016
--------------------------------------------------------------------------------
Index frequency net-_r1-pad2_
--------------------------------------------------------------------------------
@@ -1079,7 +1079,7 @@ Index frequency net-_r1-pad2_
200 1.000000e+04 5.000000e-01, 0.000000e+00
* /home/fossee/downloads/esim-master/examples/bjt_amplifier/bjt_amplifier.cir
- AC Analysis Thu Feb 4 15:28:47 2016
+ AC Analysis Fri Feb 12 15:10:17 2016
--------------------------------------------------------------------------------
Index frequency net-_r2-pad1_
--------------------------------------------------------------------------------
@@ -1295,7 +1295,7 @@ Index frequency net-_r2-pad1_
200 1.000000e+04 0.000000e+00, 0.000000e+00
* /home/fossee/downloads/esim-master/examples/bjt_amplifier/bjt_amplifier.cir
- AC Analysis Thu Feb 4 15:28:47 2016
+ AC Analysis Fri Feb 12 15:10:17 2016
--------------------------------------------------------------------------------
Index frequency out
--------------------------------------------------------------------------------
--
cgit