summaryrefslogtreecommitdiff
path: root/Clampercircuit
diff options
context:
space:
mode:
Diffstat (limited to 'Clampercircuit')
-rw-r--r--Clampercircuit/Clampercircuit-cache.lib93
-rw-r--r--Clampercircuit/Clampercircuit.bak207
-rw-r--r--Clampercircuit/Clampercircuit.cir20
-rw-r--r--Clampercircuit/Clampercircuit.cir.out26
-rw-r--r--Clampercircuit/Clampercircuit.pro71
-rw-r--r--Clampercircuit/Clampercircuit.proj1
-rw-r--r--Clampercircuit/Clampercircuit.sch261
-rw-r--r--Clampercircuit/Clampercircuit_Previous_Values.xml1
-rwxr-xr-xClampercircuit/D.lib2
-rw-r--r--Clampercircuit/analysis1
-rw-r--r--Clampercircuit/plot_data_i.txt76
-rw-r--r--Clampercircuit/plot_data_v.txt153
12 files changed, 912 insertions, 0 deletions
diff --git a/Clampercircuit/Clampercircuit-cache.lib b/Clampercircuit/Clampercircuit-cache.lib
new file mode 100644
index 0000000..08230e0
--- /dev/null
+++ b/Clampercircuit/Clampercircuit-cache.lib
@@ -0,0 +1,93 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# C
+#
+DEF C C 0 10 N Y 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "C" 25 -100 50 H V L CNN
+F2 "" 38 -150 30 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ C?
+ C_????_*
+ C_????
+ SMD*_c
+ Capacitor*
+$ENDFPLIST
+DRAW
+P 2 0 1 20 -80 -30 80 -30 N
+P 2 0 1 20 -80 30 80 30 N
+X ~ 1 0 150 110 D 40 40 1 1 P
+X ~ 2 0 -150 110 U 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# D
+#
+DEF D D 0 40 N N 1 F N
+F0 "D" 0 100 50 H V C CNN
+F1 "D" 0 -100 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ Diode_*
+ D-Pak_TO252AA
+ *SingleDiode
+ *_Diode_*
+ *SingleDiode*
+$ENDFPLIST
+DRAW
+P 2 0 1 6 50 50 50 -50 N
+P 3 0 1 0 -50 50 50 0 -50 -50 F
+X A 1 -150 0 100 R 40 40 1 1 P
+X K 2 150 0 100 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# GND
+#
+DEF GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -250 50 H I C CNN
+F1 "GND" 0 -150 50 H V C CNN
+F2 "" 0 0 50 H V C CNN
+F3 "" 0 0 50 H V C CNN
+DRAW
+P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
+X GND 1 0 0 0 D 50 50 1 1 W N
+ENDDRAW
+ENDDEF
+#
+# plot_v1
+#
+DEF plot_v1 U 0 40 Y Y 1 F N
+F0 "U" 0 500 60 H V C CNN
+F1 "plot_v1" 200 350 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 0 500 100 0 1 0 N
+X ~ ~ 0 200 200 U 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# sine
+#
+DEF sine v 0 40 Y Y 1 F N
+F0 "v" -200 100 60 H V C CNN
+F1 "sine" -200 -50 60 H V C CNN
+F2 "R1" -300 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ 1_pin
+$ENDFPLIST
+DRAW
+A -50 0 50 1 1799 0 1 0 N 0 0 -100 0
+A 50 0 50 -1799 -1 0 1 0 N 0 0 100 0
+C 0 0 150 0 1 0 N
+X + 1 0 450 300 D 50 0 1 1 I
+X - 2 0 -450 300 U 50 0 1 1 I
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/Clampercircuit/Clampercircuit.bak b/Clampercircuit/Clampercircuit.bak
new file mode 100644
index 0000000..9469e64
--- /dev/null
+++ b/Clampercircuit/Clampercircuit.bak
@@ -0,0 +1,207 @@
+EESchema Schematic File Version 2
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_User
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:device
+LIBS:transistors
+LIBS:conn
+LIBS:linear
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L sine v1
+U 1 1 56A864A1
+P 3750 3550
+F 0 "v1" H 3550 3650 60 0000 C CNN
+F 1 "sine" H 3550 3500 60 0000 C CNN
+F 2 "R1" H 3450 3550 60 0000 C CNN
+F 3 "" H 3750 3550 60 0000 C CNN
+ 1 3750 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L C C1
+U 1 1 56A86522
+P 4300 2900
+F 0 "C1" H 4325 3000 50 0000 L CNN
+F 1 "1n" H 4325 2800 50 0000 L CNN
+F 2 "" H 4338 2750 30 0000 C CNN
+F 3 "" H 4300 2900 60 0000 C CNN
+ 1 4300 2900
+ 0 1 1 0
+$EndComp
+$Comp
+L D D1
+U 1 1 56A86555
+P 5100 3400
+F 0 "D1" H 5100 3500 50 0000 C CNN
+F 1 "D" H 5100 3300 50 0000 C CNN
+F 2 "" H 5100 3400 60 0000 C CNN
+F 3 "" H 5100 3400 60 0000 C CNN
+ 1 5100 3400
+ 0 1 1 0
+$EndComp
+$Comp
+L GND #PWR01
+U 1 1 56A86578
+P 4550 4150
+F 0 "#PWR01" H 4550 3900 50 0001 C CNN
+F 1 "GND" H 4550 4000 50 0000 C CNN
+F 2 "" H 4550 4150 50 0000 C CNN
+F 3 "" H 4550 4150 50 0000 C CNN
+ 1 4550 4150
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4150 2900 3750 2900
+Wire Wire Line
+ 3750 2900 3750 3100
+Wire Wire Line
+ 4450 2900 5100 2900
+Wire Wire Line
+ 5100 2900 5100 3250
+Wire Wire Line
+ 3750 4000 3750 4100
+Wire Wire Line
+ 3750 4100 5100 4100
+Wire Wire Line
+ 5100 4100 5100 3550
+Text GLabel 3700 2800 0 60 Input ~ 0
+in_neg
+Text GLabel 5000 2750 2 60 Input ~ 0
+out_neg
+Wire Wire Line
+ 3700 2800 3800 2800
+Wire Wire Line
+ 3800 2800 3800 2900
+Connection ~ 3800 2900
+Wire Wire Line
+ 5000 2750 4950 2750
+Wire Wire Line
+ 4950 2750 4950 2900
+Connection ~ 4950 2900
+Wire Wire Line
+ 4550 4150 4550 4100
+Connection ~ 4550 4100
+$Comp
+L sine v2
+U 1 1 56A86723
+P 6950 3550
+F 0 "v2" H 6750 3650 60 0000 C CNN
+F 1 "sine" H 6750 3500 60 0000 C CNN
+F 2 "R1" H 6650 3550 60 0000 C CNN
+F 3 "" H 6950 3550 60 0000 C CNN
+ 1 6950 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L C C2
+U 1 1 56A86783
+P 7600 2900
+F 0 "C2" H 7625 3000 50 0000 L CNN
+F 1 "1n" H 7625 2800 50 0000 L CNN
+F 2 "" H 7638 2750 30 0000 C CNN
+F 3 "" H 7600 2900 60 0000 C CNN
+ 1 7600 2900
+ 0 1 1 0
+$EndComp
+$Comp
+L D D2
+U 1 1 56A867F1
+P 8500 3400
+F 0 "D2" H 8500 3500 50 0000 C CNN
+F 1 "D" H 8500 3300 50 0000 C CNN
+F 2 "" H 8500 3400 60 0000 C CNN
+F 3 "" H 8500 3400 60 0000 C CNN
+ 1 8500 3400
+ 0 -1 -1 0
+$EndComp
+$Comp
+L GND #PWR02
+U 1 1 56A868AB
+P 7850 4150
+F 0 "#PWR02" H 7850 3900 50 0001 C CNN
+F 1 "GND" H 7850 4000 50 0000 C CNN
+F 2 "" H 7850 4150 50 0000 C CNN
+F 3 "" H 7850 4150 50 0000 C CNN
+ 1 7850 4150
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6950 3100 6950 2900
+Wire Wire Line
+ 6950 2900 7450 2900
+Wire Wire Line
+ 7750 2900 8500 2900
+Wire Wire Line
+ 8500 2900 8500 3250
+Wire Wire Line
+ 6950 4000 6950 4050
+Wire Wire Line
+ 6950 4050 8500 4050
+Wire Wire Line
+ 8500 4050 8500 3550
+Wire Wire Line
+ 7850 4150 7850 4050
+Connection ~ 7850 4050
+Text GLabel 7000 2800 0 60 Input ~ 0
+in_pos
+Text GLabel 8450 2750 2 60 Input ~ 0
+out_pos
+Wire Wire Line
+ 7000 2800 7050 2800
+Wire Wire Line
+ 7050 2800 7050 2900
+Connection ~ 7050 2900
+Wire Wire Line
+ 8450 2750 8400 2750
+Wire Wire Line
+ 8400 2750 8400 2900
+Connection ~ 8400 2900
+Text Notes 4150 4750 0 60 ~ 0
+Negative Clamper\n\n
+Text Notes 7600 4650 0 60 ~ 0
+Positive Clamper\n
+$EndSCHEMATC
diff --git a/Clampercircuit/Clampercircuit.cir b/Clampercircuit/Clampercircuit.cir
new file mode 100644
index 0000000..dd1eec1
--- /dev/null
+++ b/Clampercircuit/Clampercircuit.cir
@@ -0,0 +1,20 @@
+* /home/fossee/eSim-Workspace/Clampercircuit/Clampercircuit.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: Mon Feb 29 18:25:22 2016
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+v1 in_neg GND sine
+C1 out_neg in_neg 1n
+D1 out_neg GND D
+v2 in_pos GND sine
+C2 out_pos in_pos 1n
+D2 GND out_pos D
+U1 in_neg plot_v1
+U2 out_neg plot_v1
+U3 in_pos plot_v1
+U4 out_pos plot_v1
+
+.end
diff --git a/Clampercircuit/Clampercircuit.cir.out b/Clampercircuit/Clampercircuit.cir.out
new file mode 100644
index 0000000..8ebcb64
--- /dev/null
+++ b/Clampercircuit/Clampercircuit.cir.out
@@ -0,0 +1,26 @@
+* /home/fossee/esim-workspace/clampercircuit/clampercircuit.cir
+
+.include D.lib
+v1 in_neg gnd sine(0 5 50 0 0)
+c1 out_neg in_neg 1n
+d1 out_neg gnd 1N4148
+v2 in_pos gnd sine(0 5 50 0 0)
+c2 out_pos in_pos 1n
+d2 gnd out_pos 1N4148
+* u1 in_neg plot_v1
+* u2 out_neg plot_v1
+* u3 in_pos plot_v1
+* u4 out_pos plot_v1
+.tran 10e-03 100e-03 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+plot v(in_neg)
+plot v(out_neg)
+plot v(in_pos)
+plot v(out_pos)
+.endc
+.end
diff --git a/Clampercircuit/Clampercircuit.pro b/Clampercircuit/Clampercircuit.pro
new file mode 100644
index 0000000..38ad92d
--- /dev/null
+++ b/Clampercircuit/Clampercircuit.pro
@@ -0,0 +1,71 @@
+update=Mon Feb 29 18:24:06 2016
+version=1
+last_client=eeschema
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=eSim_Analog
+LibName2=eSim_Devices
+LibName3=eSim_Digital
+LibName4=eSim_Hybrid
+LibName5=eSim_Miscellaneous
+LibName6=eSim_Plot
+LibName7=eSim_Power
+LibName8=eSim_Sources
+LibName9=eSim_Subckt
+LibName10=eSim_User
+LibName11=adc-dac
+LibName12=memory
+LibName13=xilinx
+LibName14=microcontrollers
+LibName15=dsp
+LibName16=microchip
+LibName17=analog_switches
+LibName18=motorola
+LibName19=texas
+LibName20=intel
+LibName21=audio
+LibName22=interface
+LibName23=digital-audio
+LibName24=philips
+LibName25=display
+LibName26=cypress
+LibName27=siliconi
+LibName28=opto
+LibName29=atmel
+LibName30=contrib
+LibName31=power
+LibName32=device
+LibName33=transistors
+LibName34=conn
+LibName35=linear
+LibName36=regul
+LibName37=74xx
+LibName38=cmos4000
diff --git a/Clampercircuit/Clampercircuit.proj b/Clampercircuit/Clampercircuit.proj
new file mode 100644
index 0000000..e4b64dc
--- /dev/null
+++ b/Clampercircuit/Clampercircuit.proj
@@ -0,0 +1 @@
+schematicFile Clampercircuit.sch
diff --git a/Clampercircuit/Clampercircuit.sch b/Clampercircuit/Clampercircuit.sch
new file mode 100644
index 0000000..da93274
--- /dev/null
+++ b/Clampercircuit/Clampercircuit.sch
@@ -0,0 +1,261 @@
+EESchema Schematic File Version 2
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Plot
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_User
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:device
+LIBS:transistors
+LIBS:conn
+LIBS:linear
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:Clampercircuit-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L sine v1
+U 1 1 56A864A1
+P 3750 3550
+F 0 "v1" H 3550 3650 60 0000 C CNN
+F 1 "sine" H 3550 3500 60 0000 C CNN
+F 2 "R1" H 3450 3550 60 0000 C CNN
+F 3 "" H 3750 3550 60 0000 C CNN
+ 1 3750 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L C C1
+U 1 1 56A86522
+P 4300 2900
+F 0 "C1" H 4325 3000 50 0000 L CNN
+F 1 "1n" H 4325 2800 50 0000 L CNN
+F 2 "" H 4338 2750 30 0000 C CNN
+F 3 "" H 4300 2900 60 0000 C CNN
+ 1 4300 2900
+ 0 1 1 0
+$EndComp
+$Comp
+L D D1
+U 1 1 56A86555
+P 5100 3400
+F 0 "D1" H 5100 3500 50 0000 C CNN
+F 1 "D" H 5100 3300 50 0000 C CNN
+F 2 "" H 5100 3400 60 0000 C CNN
+F 3 "" H 5100 3400 60 0000 C CNN
+ 1 5100 3400
+ 0 1 1 0
+$EndComp
+$Comp
+L GND #PWR01
+U 1 1 56A86578
+P 4550 4150
+F 0 "#PWR01" H 4550 3900 50 0001 C CNN
+F 1 "GND" H 4550 4000 50 0000 C CNN
+F 2 "" H 4550 4150 50 0000 C CNN
+F 3 "" H 4550 4150 50 0000 C CNN
+ 1 4550 4150
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4150 2900 3750 2900
+Wire Wire Line
+ 3750 2900 3750 3100
+Wire Wire Line
+ 4450 2900 5100 2900
+Wire Wire Line
+ 5100 2900 5100 3250
+Wire Wire Line
+ 3750 4000 3750 4100
+Wire Wire Line
+ 3750 4100 5100 4100
+Wire Wire Line
+ 5100 4100 5100 3550
+Text GLabel 3700 2800 0 60 Input ~ 0
+in_neg
+Text GLabel 5000 2750 2 60 Input ~ 0
+out_neg
+Wire Wire Line
+ 3700 2800 3800 2800
+Wire Wire Line
+ 3800 2750 3800 2900
+Connection ~ 3800 2900
+Wire Wire Line
+ 5000 2750 4950 2750
+Wire Wire Line
+ 4950 2750 4950 2900
+Connection ~ 4950 2900
+Wire Wire Line
+ 4550 4150 4550 4100
+Connection ~ 4550 4100
+$Comp
+L sine v2
+U 1 1 56A86723
+P 6950 3550
+F 0 "v2" H 6750 3650 60 0000 C CNN
+F 1 "sine" H 6750 3500 60 0000 C CNN
+F 2 "R1" H 6650 3550 60 0000 C CNN
+F 3 "" H 6950 3550 60 0000 C CNN
+ 1 6950 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L C C2
+U 1 1 56A86783
+P 7600 2900
+F 0 "C2" H 7625 3000 50 0000 L CNN
+F 1 "1n" H 7625 2800 50 0000 L CNN
+F 2 "" H 7638 2750 30 0000 C CNN
+F 3 "" H 7600 2900 60 0000 C CNN
+ 1 7600 2900
+ 0 1 1 0
+$EndComp
+$Comp
+L D D2
+U 1 1 56A867F1
+P 8500 3400
+F 0 "D2" H 8500 3500 50 0000 C CNN
+F 1 "D" H 8500 3300 50 0000 C CNN
+F 2 "" H 8500 3400 60 0000 C CNN
+F 3 "" H 8500 3400 60 0000 C CNN
+ 1 8500 3400
+ 0 -1 -1 0
+$EndComp
+$Comp
+L GND #PWR02
+U 1 1 56A868AB
+P 7850 4150
+F 0 "#PWR02" H 7850 3900 50 0001 C CNN
+F 1 "GND" H 7850 4000 50 0000 C CNN
+F 2 "" H 7850 4150 50 0000 C CNN
+F 3 "" H 7850 4150 50 0000 C CNN
+ 1 7850 4150
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6950 3100 6950 2900
+Wire Wire Line
+ 6950 2900 7450 2900
+Wire Wire Line
+ 7750 2900 8500 2900
+Wire Wire Line
+ 8500 2900 8500 3250
+Wire Wire Line
+ 6950 4000 6950 4050
+Wire Wire Line
+ 6950 4050 8500 4050
+Wire Wire Line
+ 8500 4050 8500 3550
+Wire Wire Line
+ 7850 4150 7850 4050
+Connection ~ 7850 4050
+Text GLabel 7000 2800 0 60 Input ~ 0
+in_pos
+Text GLabel 8450 2750 2 60 Input ~ 0
+out_pos
+Wire Wire Line
+ 7000 2800 7050 2800
+Wire Wire Line
+ 7050 2650 7050 2900
+Connection ~ 7050 2900
+Wire Wire Line
+ 8450 2750 8400 2750
+Wire Wire Line
+ 8400 2750 8400 2900
+Connection ~ 8400 2900
+Text Notes 4150 4750 0 60 ~ 0
+Negative Clamper\n\n
+Text Notes 7600 4650 0 60 ~ 0
+Positive Clamper\n
+$Comp
+L plot_v1 U1
+U 1 1 56D43FBF
+P 3800 2950
+F 0 "U1" H 3800 3450 60 0000 C CNN
+F 1 "plot_v1" H 4000 3300 60 0000 C CNN
+F 2 "" H 3800 2950 60 0000 C CNN
+F 3 "" H 3800 2950 60 0000 C CNN
+ 1 3800 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L plot_v1 U2
+U 1 1 56D44022
+P 4950 2900
+F 0 "U2" H 4950 3400 60 0000 C CNN
+F 1 "plot_v1" H 5150 3250 60 0000 C CNN
+F 2 "" H 4950 2900 60 0000 C CNN
+F 3 "" H 4950 2900 60 0000 C CNN
+ 1 4950 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L plot_v1 U3
+U 1 1 56D44072
+P 7050 2850
+F 0 "U3" H 7050 3350 60 0000 C CNN
+F 1 "plot_v1" H 7250 3200 60 0000 C CNN
+F 2 "" H 7050 2850 60 0000 C CNN
+F 3 "" H 7050 2850 60 0000 C CNN
+ 1 7050 2850
+ 1 0 0 -1
+$EndComp
+$Comp
+L plot_v1 U4
+U 1 1 56D440D3
+P 8400 2850
+F 0 "U4" H 8400 3350 60 0000 C CNN
+F 1 "plot_v1" H 8600 3200 60 0000 C CNN
+F 2 "" H 8400 2850 60 0000 C CNN
+F 3 "" H 8400 2850 60 0000 C CNN
+ 1 8400 2850
+ 1 0 0 -1
+$EndComp
+Connection ~ 3800 2800
+Wire Wire Line
+ 4950 2700 4950 2800
+Connection ~ 4950 2800
+Connection ~ 7050 2800
+Wire Wire Line
+ 8400 2650 8400 2800
+Connection ~ 8400 2800
+$EndSCHEMATC
diff --git a/Clampercircuit/Clampercircuit_Previous_Values.xml b/Clampercircuit/Clampercircuit_Previous_Values.xml
new file mode 100644
index 0000000..f58b615
--- /dev/null
+++ b/Clampercircuit/Clampercircuit_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source><v1 name="Source type">sine<field1 name="Offset Value">0</field1><field2 name="Amplitude">5</field2><field3 name="Frequency">50</field3><field4 name="Delay Time">0</field4><field5 name="Damping Factor">0</field5></v1><v2 name="Source type">sine<field1 name="Offset Value">0</field1><field2 name="Amplitude">5</field2><field3 name="Frequency">50</field3><field4 name="Delay Time">0</field4><field5 name="Damping Factor">0</field5></v2></source><model /><devicemodel><d2><field>/home/fossee/esim-clones/eSim/src/deviceModelLibrary/Diode/D.lib</field></d2><d1><field>/home/fossee/esim-clones/eSim/src/deviceModelLibrary/Diode/D.lib</field></d1></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time">0</field1><field2 name="Step Time">10</field2><field3 name="Stop Time">100</field3><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">ms</field5><field6 name="Stop Combo">ms</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/Clampercircuit/D.lib b/Clampercircuit/D.lib
new file mode 100755
index 0000000..8a7fb4d
--- /dev/null
+++ b/Clampercircuit/D.lib
@@ -0,0 +1,2 @@
+.model 1n4148 D(is=2.495E-09 rs=4.755E-01 n=1.679E+00 tt=3.030E-09 cjo=1.700E-12 vj=1 m=1.959E-01 bv=1.000E+02 ibv=1.000E-04)
+
diff --git a/Clampercircuit/analysis b/Clampercircuit/analysis
new file mode 100644
index 0000000..d5e1354
--- /dev/null
+++ b/Clampercircuit/analysis
@@ -0,0 +1 @@
+.tran 10e-03 100e-03 0e-00 \ No newline at end of file
diff --git a/Clampercircuit/plot_data_i.txt b/Clampercircuit/plot_data_i.txt
new file mode 100644
index 0000000..5187705
--- /dev/null
+++ b/Clampercircuit/plot_data_i.txt
@@ -0,0 +1,76 @@
+ * /home/fossee/esim-workspace/clampercircuit/clampercircuit.cir
+ Transient Analysis Thu Mar 3 20:30:13 2016
+--------------------------------------------------------------------------------
+Index time v1#branch v2#branch
+--------------------------------------------------------------------------------
+0 0.000000e+00 0.000000e+00 0.000000e+00
+1 1.000000e-05 -3.75264e-09 -3.41664e-09
+2 1.162771e-05 -3.97364e-09 -3.51095e-09
+3 1.488313e-05 -4.44997e-09 -3.68848e-09
+4 2.139398e-05 -5.58173e-09 -3.98936e-09
+5 3.441567e-05 -8.81785e-09 -4.40919e-09
+6 6.045905e-05 -2.21136e-08 -4.82882e-09
+7 9.023818e-05 -6.26522e-08 -4.98992e-09
+8 1.271204e-04 -2.11054e-07 -5.02764e-09
+9 1.691461e-04 -6.38228e-07 -5.01825e-09
+10 2.203033e-04 -1.29532e-06 -4.99487e-09
+11 3.057421e-04 -1.61245e-06 -4.94629e-09
+12 4.301355e-04 -1.53971e-06 -4.88007e-09
+13 5.565338e-04 -1.55627e-06 -4.81431e-09
+14 8.093305e-04 -1.52062e-06 -4.69281e-09
+15 1.314924e-03 -1.45261e-06 -4.46258e-09
+16 2.326110e-03 -1.19428e-06 -3.99523e-09
+17 4.326110e-03 -4.03974e-07 -2.91422e-09
+18 6.326110e-03 3.606613e-09 -1.69771e-09
+19 8.326110e-03 4.318030e-09 -6.81454e-10
+20 1.032611e-02 4.421533e-09 3.249287e-07
+21 1.189320e-02 3.906091e-09 2.485055e-06
+22 1.334664e-02 3.404576e-09 3.838998e-09
+23 1.511140e-02 2.393479e-09 5.119388e-07
+24 1.645191e-02 1.802625e-09 -3.65637e-09
+25 1.766016e-02 1.164507e-09 -4.07353e-09
+26 1.950334e-02 6.794750e-10 -4.54249e-09
+27 2.150334e-02 5.600008e-10 -4.01590e-09
+28 2.350334e-02 1.343926e-09 -3.37414e-09
+29 2.550334e-02 2.496618e-09 -2.14197e-09
+30 2.750334e-02 4.263282e-09 -1.34934e-09
+31 2.950334e-02 4.335044e-09 -5.49971e-10
+32 3.150334e-02 4.232408e-09 -6.95190e-10
+33 3.350334e-02 3.161861e-09 -1.21862e-09
+34 3.550334e-02 2.354892e-09 -2.84437e-09
+35 3.750334e-02 1.133678e-09 -4.12362e-09
+36 3.950334e-02 7.588148e-10 -4.46740e-09
+37 4.150334e-02 4.734238e-10 -4.09607e-09
+38 4.350334e-02 1.417761e-09 -3.29634e-09
+39 4.550334e-02 1.661650e-09 -2.22013e-09
+40 4.750334e-02 4.355620e-09 -1.26964e-09
+41 4.950334e-02 4.251879e-09 -6.25847e-10
+42 5.150334e-02 4.320534e-09 -6.12078e-10
+43 5.350334e-02 3.076039e-09 -1.28919e-09
+44 5.550334e-02 2.441064e-09 -2.44938e-09
+45 5.750334e-02 1.046018e-09 -4.21244e-09
+46 5.950334e-02 8.427555e-10 -4.38787e-09
+47 6.150334e-02 3.823835e-10 -4.18066e-09
+48 6.350334e-02 1.495975e-09 -3.21411e-09
+49 6.550334e-02 -5.07776e-10 -2.30272e-09
+50 6.750334e-02 4.451931e-09 -1.18553e-09
+51 6.950334e-02 4.164071e-09 -7.06156e-10
+52 7.150334e-02 4.412907e-09 -5.24541e-10
+53 7.350334e-02 2.985780e-09 -1.36415e-09
+54 7.550334e-02 2.531640e-09 -1.42006e-09
+
+Index time v1#branch v2#branch
+--------------------------------------------------------------------------------
+55 7.750334e-02 9.540739e-10 -4.30570e-09
+56 7.950334e-02 9.312811e-10 -4.30370e-09
+57 8.150334e-02 2.873080e-10 -4.26974e-09
+58 8.350334e-02 1.578828e-09 -3.12731e-09
+59 8.550334e-02 -5.23664e-09 -2.38986e-09
+60 8.750334e-02 4.550643e-09 -1.09691e-09
+61 8.950334e-02 4.072139e-09 -7.91094e-10
+62 9.150334e-02 4.508455e-09 -4.32574e-10
+63 9.350334e-02 2.891908e-09 -1.44446e-09
+64 9.550334e-02 2.625767e-09 1.200768e-09
+65 9.750334e-02 8.588663e-10 -4.40270e-09
+66 9.950334e-02 1.023786e-09 -4.21494e-09
+67 1.000000e-01 2.595927e-10 -4.58152e-09
diff --git a/Clampercircuit/plot_data_v.txt b/Clampercircuit/plot_data_v.txt
new file mode 100644
index 0000000..4313349
--- /dev/null
+++ b/Clampercircuit/plot_data_v.txt
@@ -0,0 +1,153 @@
+ * /home/fossee/esim-workspace/clampercircuit/clampercircuit.cir
+ Transient Analysis Thu Mar 3 20:30:13 2016
+--------------------------------------------------------------------------------
+Index time in_neg in_pos out_neg
+--------------------------------------------------------------------------------
+0 0.000000e+00 0.000000e+00 0.000000e+00 1.944812e-18
+1 1.000000e-05 1.570794e-02 1.570794e-02 1.567041e-02
+2 1.162771e-05 1.826473e-02 1.826473e-02 1.822073e-02
+3 1.488313e-05 2.337829e-02 2.337829e-02 2.332058e-02
+4 2.139398e-05 3.360533e-02 3.360533e-02 3.351497e-02
+5 3.441567e-05 5.405895e-02 5.405895e-02 5.387484e-02
+6 6.045905e-05 9.496314e-02 9.496314e-02 9.437625e-02
+7 9.023818e-05 1.417268e-01 1.417268e-01 1.398778e-01
+8 1.271204e-04 1.996273e-01 1.996273e-01 1.927308e-01
+9 1.691461e-04 2.655691e-01 2.655691e-01 2.408268e-01
+10 2.203033e-04 3.457754e-01 3.457754e-01 2.715756e-01
+11 3.057421e-04 4.795205e-01 4.795205e-01 2.811022e-01
+12 4.301355e-04 6.736008e-01 6.736008e-01 2.791286e-01
+13 5.565338e-04 8.697541e-01 8.697541e-01 2.796190e-01
+14 8.093305e-04 1.257640e+00 1.257640e+00 2.785921e-01
+15 1.314924e-03 2.007232e+00 2.007232e+00 2.765617e-01
+16 2.326110e-03 3.337213e+00 3.337213e+00 2.682917e-01
+17 4.326110e-03 4.888366e+00 4.888366e+00 2.211920e-01
+18 6.326110e-03 4.572330e+00 4.572330e+00 -4.95211e-01
+19 8.326110e-03 2.509819e+00 2.509819e+00 -2.54980e+00
+20 1.032611e-02 -5.11357e-01 -5.11357e-01 -5.56223e+00
+21 1.189320e-02 -2.80157e+00 -2.80157e+00 -7.84593e+00
+22 1.334664e-02 -4.34054e+00 -4.34054e+00 -9.37958e+00
+23 1.511140e-02 -4.99694e+00 -4.99694e+00 -1.00309e+01
+24 1.645191e-02 -4.48882e+00 -4.48882e+00 -9.51993e+00
+25 1.766016e-02 -3.35325e+00 -3.35325e+00 -8.38256e+00
+26 1.950334e-02 -7.76989e-01 -7.76989e-01 -5.80461e+00
+27 2.150334e-02 2.274627e+00 2.274627e+00 -2.75175e+00
+28 2.350334e-02 4.457412e+00 4.457412e+00 -5.67063e-01
+29 2.550334e-02 4.937618e+00 4.937618e+00 -8.30171e-02
+30 2.750334e-02 3.531822e+00 3.531822e+00 -1.48205e+00
+31 2.950334e-02 7.769892e-01 7.769892e-01 -4.22829e+00
+32 3.150334e-02 -2.27463e+00 -2.27463e+00 -7.27134e+00
+33 3.350334e-02 -4.45741e+00 -4.45741e+00 -9.44673e+00
+34 3.550334e-02 -4.93762e+00 -4.93762e+00 -9.92142e+00
+35 3.750334e-02 -3.53182e+00 -3.53182e+00 -8.51213e+00
+36 3.950334e-02 -7.76989e-01 -7.76989e-01 -5.75541e+00
+37 4.150334e-02 2.274627e+00 2.274627e+00 -2.70256e+00
+38 4.350334e-02 4.457412e+00 4.457412e+00 -5.17882e-01
+39 4.550334e-02 4.937618e+00 4.937618e+00 -3.45965e-02
+40 4.750334e-02 3.531822e+00 3.531822e+00 -1.43438e+00
+41 4.950334e-02 7.769892e-01 7.769892e-01 -4.18060e+00
+42 5.150334e-02 -2.27463e+00 -2.27463e+00 -7.22364e+00
+43 5.350334e-02 -4.45741e+00 -4.45741e+00 -9.39903e+00
+44 5.550334e-02 -4.93762e+00 -4.93762e+00 -9.87372e+00
+45 5.750334e-02 -3.53182e+00 -3.53182e+00 -8.46444e+00
+46 5.950334e-02 -7.76989e-01 -7.76989e-01 -5.70772e+00
+47 6.150334e-02 2.274627e+00 2.274627e+00 -2.65488e+00
+48 6.350334e-02 4.457412e+00 4.457412e+00 -4.70212e-01
+49 6.550334e-02 4.937618e+00 4.937618e+00 1.098188e-02
+50 6.750334e-02 3.531822e+00 3.531822e+00 -1.39087e+00
+51 6.950334e-02 7.769892e-01 7.769892e-01 -4.13709e+00
+52 7.150334e-02 -2.27463e+00 -2.27463e+00 -7.18013e+00
+53 7.350334e-02 -4.45741e+00 -4.45741e+00 -9.35551e+00
+54 7.550334e-02 -4.93762e+00 -4.93762e+00 -9.83020e+00
+
+Index time in_neg in_pos out_neg
+--------------------------------------------------------------------------------
+55 7.750334e-02 -3.53182e+00 -3.53182e+00 -8.42092e+00
+56 7.950334e-02 -7.76989e-01 -7.76989e-01 -5.66420e+00
+57 8.150334e-02 2.274627e+00 2.274627e+00 -2.61137e+00
+58 8.350334e-02 4.457412e+00 4.457412e+00 -4.26715e-01
+59 8.550334e-02 4.937618e+00 4.937618e+00 4.983310e-02
+60 8.750334e-02 3.531822e+00 3.531822e+00 -1.35665e+00
+61 8.950334e-02 7.769892e-01 7.769892e-01 -4.10286e+00
+62 9.150334e-02 -2.27463e+00 -2.27463e+00 -7.14589e+00
+63 9.350334e-02 -4.45741e+00 -4.45741e+00 -9.32128e+00
+64 9.550334e-02 -4.93762e+00 -4.93762e+00 -9.79597e+00
+65 9.750334e-02 -3.53182e+00 -3.53182e+00 -8.38669e+00
+66 9.950334e-02 -7.76989e-01 -7.76989e-01 -5.62997e+00
+67 1.000000e-01 -6.12323e-15 -6.12323e-15 -4.85266e+00
+
+ * /home/fossee/esim-workspace/clampercircuit/clampercircuit.cir
+ Transient Analysis Thu Mar 3 20:30:13 2016
+--------------------------------------------------------------------------------
+Index time out_pos
+--------------------------------------------------------------------------------
+0 0.000000e+00 -5.50430e-19
+1 1.000000e-05 1.567377e-02
+2 1.162771e-05 1.822484e-02
+3 1.488313e-05 2.332669e-02
+4 2.139398e-05 3.352874e-02
+5 3.441567e-05 5.392768e-02
+6 6.045905e-05 9.471157e-02
+7 9.023818e-05 1.413291e-01
+8 1.271204e-04 1.990448e-01
+9 1.691461e-04 2.647755e-01
+10 2.203033e-04 3.447257e-01
+11 3.057421e-04 4.780461e-01
+12 4.301355e-04 6.715153e-01
+13 5.565338e-04 8.670559e-01
+14 8.093305e-04 1.253740e+00
+15 1.314924e-03 2.001017e+00
+16 2.326110e-03 3.326722e+00
+17 4.326110e-03 4.870966e+00
+18 6.326110e-03 4.550318e+00
+19 8.326110e-03 2.485428e+00
+20 1.032611e-02 -2.11501e-01
+21 1.189320e-02 -2.99972e-01
+22 1.334664e-02 -3.02076e-02
+23 1.511140e-02 -2.31495e-01
+24 1.645191e-02 6.173036e-01
+25 1.766016e-02 1.748206e+00
+26 1.950334e-02 4.316522e+00
+27 2.150334e-02 7.359580e+00
+28 2.350334e-02 9.534975e+00
+29 2.550334e-02 1.000967e+01
+30 2.750334e-02 8.600377e+00
+31 2.950334e-02 5.843646e+00
+32 3.150334e-02 2.790785e+00
+33 3.350334e-02 6.060850e-01
+34 3.550334e-02 1.218163e-01
+35 3.750334e-02 1.520645e+00
+36 3.950334e-02 4.266886e+00
+37 4.150334e-02 7.309939e+00
+38 4.350334e-02 9.485332e+00
+39 4.550334e-02 9.960021e+00
+40 4.750334e-02 8.550735e+00
+41 4.950334e-02 5.794007e+00
+42 5.150334e-02 2.741153e+00
+43 5.350334e-02 5.564662e-01
+44 5.550334e-02 7.252188e-02
+45 5.750334e-02 1.471657e+00
+46 5.950334e-02 4.217889e+00
+47 6.150334e-02 7.260936e+00
+48 6.350334e-02 9.436327e+00
+49 6.550334e-02 9.911016e+00
+50 6.750334e-02 8.501731e+00
+51 6.950334e-02 5.745007e+00
+52 7.150334e-02 2.692161e+00
+53 7.350334e-02 5.074860e-01
+54 7.550334e-02 2.449607e-02
+
+Index time out_pos
+--------------------------------------------------------------------------------
+55 7.750334e-02 1.424567e+00
+56 7.950334e-02 4.170790e+00
+57 8.150334e-02 7.213832e+00
+58 8.350334e-02 9.389221e+00
+59 8.550334e-02 9.863910e+00
+60 8.750334e-02 8.454626e+00
+61 8.950334e-02 5.697906e+00
+62 9.150334e-02 2.645066e+00
+63 9.350334e-02 4.604035e-01
+64 9.550334e-02 -2.00459e-02
+65 9.750334e-02 1.382549e+00
+66 9.950334e-02 4.128763e+00
+67 1.000000e-01 4.903568e+00