-
Notifications
You must be signed in to change notification settings - Fork 4
/
Op_Amp.lib
1720 lines (1706 loc) · 66.4 KB
/
Op_Amp.lib
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Qucs Library 0.0.18 "Op_Amp">
<Component LM311>
<Description>
Authors: Vadim Kuznetsov <ra3xdh@gmail.com> and Timofey Moiseev <voig1396@gmail.com>
</Description>
<Spice>
.SUBCKT Op_Amp_LM311 gnd 1 2 3 4 5 6
*
F1 9 3 V1 1
IEE 3 7 DC 100.0E-6
VI1 21 1 DC .45
VI2 22 2 DC .45
Q1 9 21 7 QIN
Q2 8 22 7 QIN
Q3 9 8 4 QMO
Q4 8 8 4 QMI
.MODEL QIN PNP(IS=800.0E-18 BF=500)
.MODEL QMI NPN(IS=800.0E-18 BF=1002)
.MODEL QMO NPN(IS=800.0E-18 BF=1000 CJC=1E-15 TR=102.5E-9)
E1 10 6 9 4 1
V1 10 11 DC 0
Q5 5 11 6 QOC
.MODEL QOC NPN(IS=800.0E-18 BF=103.5E3 CJC=1E-15 TF=11.60E-12 TR=48.19E-9)
DP 4 3 DX
RP 3 4 6.667E3
.MODEL DX D(IS=800.0E-18)
*
.ENDS
</Spice>
<Model>
.Def:Op_Amp_LM311 _net0 _net1 _net2 _net3 _net5 _net4
Sub:X1 _net3 _net0 _net1 _net2 _net4 _net5 gnd Type="LM311_cir"
.Def:End
.Def:LM311_cir _net4 _net1 _net2 _net3 _net6 _net5 _ref
.Def:LM311 _ref _net1 _net2 _net3 _net4 _net5 _net6
CCCS:F1 _net10 _net9 _net3 _cnet0 G="1"
Idc:IEE _net7 _net3 I="0.0001"
Vdc:VI1 _net21 _net1 U="0.45"
Vdc:VI2 _net22 _net2 U="0.45"
BJT:Q1 _net21 _net9 _net7 _ref Type="pnp" Is="8e-16" Bf="500" Nf="1" Nr="1" Ikf="0" Ikr="0" Vaf="0" Var="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
BJT:Q2 _net22 _net8 _net7 _ref Type="pnp" Is="8e-16" Bf="500" Nf="1" Nr="1" Ikf="0" Ikr="0" Vaf="0" Var="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
BJT:Q3 _net8 _net9 _net4 _ref Type="npn" Is="8e-16" Bf="1000" Cjc="1e-15" Tr="1.025e-07" Nf="1" Nr="1" Ikf="0" Ikr="0" Vaf="0" Var="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0"
BJT:Q4 _net8 _net8 _net4 _ref Type="npn" Is="8e-16" Bf="1002" Nf="1" Nr="1" Ikf="0" Ikr="0" Vaf="0" Var="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
VCVS:E1 _net9 _net10 _net6 _net4 G="1"
Vdc:V1 _cnet0 _net11 U="0"
BJT:Q5 _net11 _net5 _net6 _ref Type="npn" Is="8e-16" Bf="103500" Cjc="1e-15" Tf="1.16e-11" Tr="4.819e-08" Nf="1" Nr="1" Ikf="0" Ikr="0" Vaf="0" Var="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Xtf="0" Itf="0"
Diode:DP _net3 _net4 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
R:RP _net3 _net4 R="6667"
.Def:End
Sub:X1 _ref _net1 _net2 _net3 _net4 _net5 _net6 Type="LM311"
.Def:End
</Model>
<Symbol>
<Line -20 -40 0 80 #000080 2 1>
<Line -20 -40 80 40 #000080 2 1>
<Line -20 40 80 -40 #000080 2 1>
<Line -40 -20 20 0 #000080 2 1>
<Line -40 20 20 0 #000080 2 1>
<Line -15 20 10 0 #000000 2 1>
<Line -10 -25 0 10 #ff0000 0 1>
<Line -15 -20 10 0 #ff0000 0 1>
<.PortSym -40 -20 1 0>
<.PortSym -40 20 2 0>
<Line 60 0 20 0 #000080 2 1>
<Line 20 -20 0 -30 #000080 2 1>
<Line 40 10 0 40 #000080 2 1>
<.ID 60 24 OP>
<Line 0 30 0 20 #000080 2 1>
<.PortSym 0 50 4 90>
<.PortSym 40 50 6 90>
<.PortSym 20 -50 3 270>
<.PortSym 80 0 5 180>
</Symbol>
</Component>
<Component LM324>
<Description>
Authors: Vadim Kuznetsov <ra3xdh@gmail.com> and Timofey Moiseev <voig1396@gmail.com>
</Description>
<Spice>
.SUBCKT Op_Amp_LM324 gnd 1 2 3 4 5
*
C1 11 12 5.544E-12
C2 6 7 20.00E-12
DC 5 53 DX
DE 54 5 DX
DLP 90 91 DX
DLN 92 90 DX
DP 4 3 DX
EGND 99 0 POLY(2) (3,0) (4,0) 0 .5 .5
FB 7 99 POLY(5) VB VC VE VLP VLN 0 15.91E6 -20E6 20E6 20E6 -20E6
GA 6 0 11 12 125.7E-6
GCM 0 6 10 99 7.067E-9
IEE 3 10 DC 10.04E-6
HLIM 90 0 VLIM 1K
Q1 11 2 13 QX
Q2 12 1 14 QX
R2 6 9 100.0E3
RC1 4 11 7.957E3
RC2 4 12 7.957E3
RE1 13 10 2.773E3
RE2 14 10 2.773E3
REE 10 99 19.92E6
RO1 8 5 50
RO2 7 99 50
RP 3 4 30.31E3
VB 9 0 DC 0
VC 3 53 DC 2.100
VE 54 4 DC .6
VLIM 7 8 DC 0
VLP 91 0 DC 40
VLN 0 92 DC 40
.MODEL DX D(IS=800.0E-18)
.MODEL QX PNP(IS=800.0E-18 BF=250)
.ENDS
</Spice>
<Model>
.Def:Op_Amp_LM324 _net2 _net3 _net4 _net0 _net1
Sub:X1 _net0 _net1 _net2 _net3 _net4 gnd Type="LM324_cir"
.Def:End
.Def:LM324_cir _net4 _net5 _net1 _net2 _net3 _ref
.Def:LM324 _ref _net1 _net2 _net3 _net4 _net5
CCCS:FB _cnet11 _net99 _net7 gnd G="1"
Eqn:EqnFBI1 FB.I1="+1.591e+07*V2-2e+07*V3+2e+07*V4+2e+07*V5-2e+07*V6" Export="no"
Eqn:EqnFBQ1 FB.Q1="0" Export="no"
Eqn:EqnFBI2 FB.I2="0" Export="no"
Eqn:EqnFBQ2 FB.Q2="0" Export="no"
CCVS:FBV2 _ref _cnet9 gnd _cnet10 G="1"
Eqn:EqnFBI3 FB.I3="0" Export="no"
Eqn:EqnFBQ3 FB.Q3="0" Export="no"
CCVS:FBV3 _net91 _cnet7 gnd _cnet8 G="1"
Eqn:EqnFBI4 FB.I4="0" Export="no"
Eqn:EqnFBQ4 FB.Q4="0" Export="no"
CCVS:FBV4 _net54 _cnet5 gnd _cnet6 G="1"
Eqn:EqnFBI5 FB.I5="0" Export="no"
Eqn:EqnFBQ5 FB.Q5="0" Export="no"
CCVS:FBV5 _net3 _cnet3 gnd _cnet4 G="1"
Eqn:EqnFBI6 FB.I6="0" Export="no"
Eqn:EqnFBQ6 FB.Q6="0" Export="no"
CCVS:FBV6 _net9 _cnet1 gnd _cnet2 G="1"
CCVS:EGND _cnet0 _ref _net99 gnd G="1"
Eqn:EqnEGNDI1 EGND.I1="+0.5*V2+0.5*V3" Export="no"
Eqn:EqnEGNDQ1 EGND.Q1="0" Export="no"
Eqn:EqnEGNDI2 EGND.I2="0" Export="no"
Eqn:EqnEGNDQ2 EGND.Q2="0" Export="no"
Eqn:EqnEGNDI3 EGND.I3="0" Export="no"
Eqn:EqnEGNDQ3 EGND.Q3="0" Export="no"
C:C1 _net11 _net12 C="5.544e-12"
C:C2 _net6 _net7 C="2e-11"
Diode:DC _net53 _net5 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:DE _net5 _net54 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:DLP _net91 _net90 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:DLN _net90 _net92 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:DP _net3 _net4 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
EDD:EGND _cnet0 gnd _net3 _ref _net4 _ref I1="EGND.I1" Q1="EGND.Q1" I2="EGND.I2" Q2="EGND.Q2" I3="EGND.I3" Q3="EGND.Q3"
EDD:FB _cnet11 gnd _cnet1 gnd _cnet3 gnd _cnet5 gnd _cnet7 gnd _cnet9 gnd I1="FB.I1" Q1="FB.Q1" I2="FB.I2" Q2="FB.Q2" I3="FB.I3" Q3="FB.Q3" I4="FB.I4" Q4="FB.Q4" I5="FB.I5" Q5="FB.Q5" I6="FB.I6" Q6="FB.Q6"
VCCS:GA _net11 _net6 _ref _net12 G="0.0001257"
VCCS:GCM _net10 _ref _net6 _net99 G="7.067e-09"
Idc:IEE _net10 _net3 I="1.004e-05"
CCVS:HLIM _net7 _net90 _ref _cnet12 G="1k"
BJT:Q1 _net2 _net11 _net13 _ref Type="pnp" Is="8e-16" Bf="250" Nf="1" Nr="1" Ikf="0" Ikr="0" Vaf="0" Var="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
BJT:Q2 _net1 _net12 _net14 _ref Type="pnp" Is="8e-16" Bf="250" Nf="1" Nr="1" Ikf="0" Ikr="0" Vaf="0" Var="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
R:R2 _net6 _net9 R="100000"
R:RC1 _net4 _net11 R="7957"
R:RC2 _net4 _net12 R="7957"
R:RE1 _net13 _net10 R="2773"
R:RE2 _net14 _net10 R="2773"
R:REE _net10 _net99 R="1.992e+07"
R:RO1 _net8 _net5 R="50"
R:RO2 _net7 _net99 R="50"
R:RP _net3 _net4 R="30310"
Vdc:VB _cnet2 _ref U="0"
Vdc:VC _cnet4 _net53 U="2.1"
Vdc:VE _cnet6 _net4 U="0.6"
Vdc:VLIM _cnet12 _net8 U="0"
Vdc:VLP _cnet8 _ref U="40"
Vdc:VLN _cnet10 _net92 U="40"
.Def:End
Sub:X1 _ref _net1 _net2 _net3 _net4 _net5 Type="LM324"
.Def:End
</Model>
<Symbol>
<Line -20 -40 0 80 #000080 2 1>
<Line -20 -40 60 40 #000080 2 1>
<Line -20 40 60 -40 #000080 2 1>
<Line 40 0 20 0 #000080 2 1>
<Line -40 -20 20 0 #000080 2 1>
<Line -40 20 20 0 #000080 2 1>
<Line -15 20 10 0 #000000 2 1>
<Line -10 -25 0 10 #ff0000 0 1>
<Line -15 -20 10 0 #ff0000 0 1>
<Line 10 -20 0 -20 #000080 2 1>
<Line 10 20 0 20 #000080 2 1>
<.PortSym -40 -20 1 0>
<.PortSym -40 20 2 0>
<.PortSym 10 -40 3 270>
<.PortSym 10 40 4 90>
<.PortSym 60 0 5 180>
<.ID 50 24 OP>
</Symbol>
</Component>
<Component LM358>
<Description>
Authors: Vadim Kuznetsov <ra3xdh@gmail.com> and Timofey Moiseev <voig1396@gmail.com>
</Description>
<Spice>
.SUBCKT Op_Amp_LM358 gnd 1 2 3 4 5
*
C1 11 12 5.544E-12
C2 6 7 20.00E-12
DC 5 53 DX
DE 54 5 DX
DLP 90 91 DX
DLN 92 90 DX
DP 4 3 DX
EGND 99 0 POLY(2) (3,0) (4,0) 0 .5 .5
FB 7 99 POLY(5) VB VC VE VLP VLN 0 15.91E6 -20E6 20E6 20E6 -20E6
GA 6 0 11 12 125.7E-6
GCM 0 6 10 99 7.067E-9
IEE 3 10 DC 10.04E-6
HLIM 90 0 VLIM 1K
Q1 11 2 13 QX
Q2 12 1 14 QX
R2 6 9 100.0E3
RC1 4 11 7.957E3
RC2 4 12 7.957E3
RE1 13 10 2.773E3
RE2 14 10 2.773E3
REE 10 99 19.92E6
RO1 8 5 50
RO2 7 99 50
RP 3 4 30.31E3
VB 9 0 DC 0
VC 3 53 DC 2.100
VE 54 4 DC .6
VLIM 7 8 DC 0
VLP 91 0 DC 40
VLN 0 92 DC 40
.MODEL DX D(IS=800.0E-18)
.MODEL QX PNP(IS=800.0E-18 BF=250)
.ENDS
</Spice>
<Model>
.Def:Op_Amp_LM358 _net2 _net3 _net4 _net0 _net1
Sub:X1 _net0 _net1 _net2 _net3 _net4 gnd Type="LM358_sp"
.Def:End
.Def:LM358_sp _net4 _net5 _net1 _net2 _net3 _ref
.Def:LM358 _ref _net1 _net2 _net3 _net4 _net5
CCCS:FB _cnet11 _net99 _net7 gnd G="1"
Eqn:EqnFBI1 FB.I1="+1.591e+07*V2-2e+07*V3+2e+07*V4+2e+07*V5-2e+07*V6" Export="no"
Eqn:EqnFBQ1 FB.Q1="0" Export="no"
Eqn:EqnFBI2 FB.I2="0" Export="no"
Eqn:EqnFBQ2 FB.Q2="0" Export="no"
CCVS:FBV2 _ref _cnet9 gnd _cnet10 G="1"
Eqn:EqnFBI3 FB.I3="0" Export="no"
Eqn:EqnFBQ3 FB.Q3="0" Export="no"
CCVS:FBV3 _net91 _cnet7 gnd _cnet8 G="1"
Eqn:EqnFBI4 FB.I4="0" Export="no"
Eqn:EqnFBQ4 FB.Q4="0" Export="no"
CCVS:FBV4 _net54 _cnet5 gnd _cnet6 G="1"
Eqn:EqnFBI5 FB.I5="0" Export="no"
Eqn:EqnFBQ5 FB.Q5="0" Export="no"
CCVS:FBV5 _net3 _cnet3 gnd _cnet4 G="1"
Eqn:EqnFBI6 FB.I6="0" Export="no"
Eqn:EqnFBQ6 FB.Q6="0" Export="no"
CCVS:FBV6 _net9 _cnet1 gnd _cnet2 G="1"
CCVS:EGND _cnet0 _ref _net99 gnd G="1"
Eqn:EqnEGNDI1 EGND.I1="+0.5*V2+0.5*V3" Export="no"
Eqn:EqnEGNDQ1 EGND.Q1="0" Export="no"
Eqn:EqnEGNDI2 EGND.I2="0" Export="no"
Eqn:EqnEGNDQ2 EGND.Q2="0" Export="no"
Eqn:EqnEGNDI3 EGND.I3="0" Export="no"
Eqn:EqnEGNDQ3 EGND.Q3="0" Export="no"
C:C1 _net11 _net12 C="5.544e-12"
C:C2 _net6 _net7 C="2e-11"
Diode:DC _net53 _net5 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:DE _net5 _net54 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:DLP _net91 _net90 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:DLN _net90 _net92 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:DP _net3 _net4 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
EDD:EGND _cnet0 gnd _net3 _ref _net4 _ref I1="EGND.I1" Q1="EGND.Q1" I2="EGND.I2" Q2="EGND.Q2" I3="EGND.I3" Q3="EGND.Q3"
EDD:FB _cnet11 gnd _cnet1 gnd _cnet3 gnd _cnet5 gnd _cnet7 gnd _cnet9 gnd I1="FB.I1" Q1="FB.Q1" I2="FB.I2" Q2="FB.Q2" I3="FB.I3" Q3="FB.Q3" I4="FB.I4" Q4="FB.Q4" I5="FB.I5" Q5="FB.Q5" I6="FB.I6" Q6="FB.Q6"
VCCS:GA _net11 _net6 _ref _net12 G="0.0001257"
VCCS:GCM _net10 _ref _net6 _net99 G="7.067e-09"
Idc:IEE _net10 _net3 I="1.004e-05"
CCVS:HLIM _net7 _net90 _ref _cnet12 G="1k"
BJT:Q1 _net2 _net11 _net13 _ref Type="pnp" Is="8e-16" Bf="250" Nf="1" Nr="1" Ikf="0" Ikr="0" Vaf="0" Var="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
BJT:Q2 _net1 _net12 _net14 _ref Type="pnp" Is="8e-16" Bf="250" Nf="1" Nr="1" Ikf="0" Ikr="0" Vaf="0" Var="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
R:R2 _net6 _net9 R="100000"
R:RC1 _net4 _net11 R="7957"
R:RC2 _net4 _net12 R="7957"
R:RE1 _net13 _net10 R="2773"
R:RE2 _net14 _net10 R="2773"
R:REE _net10 _net99 R="1.992e+07"
R:RO1 _net8 _net5 R="50"
R:RO2 _net7 _net99 R="50"
R:RP _net3 _net4 R="30310"
Vdc:VB _cnet2 _ref U="0"
Vdc:VC _cnet4 _net53 U="2.1"
Vdc:VE _cnet6 _net4 U="0.6"
Vdc:VLIM _cnet12 _net8 U="0"
Vdc:VLP _cnet8 _ref U="40"
Vdc:VLN _cnet10 _net92 U="40"
.Def:End
Sub:X1 _ref _net1 _net2 _net3 _net4 _net5 Type="LM358"
.Def:End
</Model>
<Symbol>
<Line -20 -40 0 80 #000080 2 1>
<Line -20 -40 60 40 #000080 2 1>
<Line -20 40 60 -40 #000080 2 1>
<Line 40 0 20 0 #000080 2 1>
<Line -40 -20 20 0 #000080 2 1>
<Line -40 20 20 0 #000080 2 1>
<Line -15 20 10 0 #000000 2 1>
<Line -10 -25 0 10 #ff0000 0 1>
<Line -15 -20 10 0 #ff0000 0 1>
<Line 10 -20 0 -20 #000080 2 1>
<Line 10 20 0 20 #000080 2 1>
<.PortSym -40 -20 1 0>
<.PortSym -40 20 2 0>
<.PortSym 10 -40 3 0>
<.PortSym 10 40 4 0>
<.PortSym 60 0 5 180>
<.ID 40 34 OP>
</Symbol>
</Component>
<Component MAX495>
<Description>
Authors: Vadim Kuznetsov <ra3xdh@gmail.com> and Timofey Moiseev <voig1396@gmail.com>
</Description>
<Spice>
.SUBCKT Op_Amp_MAX495 gnd 111 112 99 50 97
*
****************INPUT STAGE**********************
RCM1 111 1 5000
V12 99 113 .140
D11 1 113 DX
D12 114 1 DX
V13 114 50 .140
***********
V14 99 115 .140
D13 2 115 DX
D14 116 2 DX
V15 50 116 .140
***********
RCM2 112 2 5000
*IOS 2 1 5N
I1 4 50 75E-6
RIN1 1 104 1E9
RIN2 2 104 1E9
R1 5 99 689.3
R2 6 99 689.3
EOS 1 9 POLY(1) 98 30 200U 1
* ^ OFFSET VOLTAGE, NODE 30 FROM COM. MODE STAGE.
Q1 5 2 103 QX
Q2 6 9 104 QX
REE1 104 4 1
REE2 103 4 1
* Second Pole
C4 5 6 68PF
***************SECOND STAGE******************
*IS 99 50 .5m
* SETS IS ^
****OUTPUT VOLTAGE LIMITING****
V2 99 11 .70
D1 12 11 DX
D2 10 12 DX
V3 10 50 .70
****LEVEL TRANSLATION ****
EH 99 98 99 50 0.5
****GAIN, 1ST POLE****
G3 98 12 5 6 0.0012
R4 12 98 1.6936E8
C3 98 12 3.75E-10
*
****COMMON-MODE STAGE****
G11 98 30 104 98 1E-8
R13 30 98 1E3
*
*******************OUTPUT STAGE****************
F6 99 50 VA7 1
F5 99 38 VA8 1
D9 40 38 DX
D10 38 99 DX
VA7 99 40 0
****************
G12 98 32 12 98 1E-3
R15 98 32 1E3
D3 32 36 DX
D4 37 32 DX
V5 35 37 3.5V
V4 36 35 3.5V
R16 34 35 30
E1 99 33 99 32 1
VA8 33 34 0V
L 35 96 .1U
R17 96 97 .01
*
***** MODELS USED ******
.MODEL DX D(IS=1E-15)
.MODEL QX NPN(BF=6.25E4)
.ENDS
</Spice>
<Model>
.Def:Op_Amp_MAX495 _net4 _net2 _net1 _net0 _net3
Sub:X1 _net0 _net1 _net2 _net3 _net4 gnd Type="MAX495_cir"
.Def:End
.Def:MAX495_cir _net50 _net99 _net112 _net97 _net111 _ref
.Def:MAX495 _ref _net111 _net112 _net99 _net50 _net97
CCVS:EOS _cnet0 _net9 _net1 gnd G="1"
Eqn:EqnEOSI1 EOS.I1="+200+1*V2" Export="no"
Eqn:EqnEOSQ1 EOS.Q1="0" Export="no"
Eqn:EqnEOSI2 EOS.I2="0" Export="no"
Eqn:EqnEOSQ2 EOS.Q2="0" Export="no"
R:RCM1 _net111 _net1 R="5000"
Vdc:V12 _net99 _net113 U="0.14"
Diode:D11 _net113 _net1 Is="1e-15" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:D12 _net1 _net114 Is="1e-15" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Vdc:V13 _net114 _net50 U="0.14"
Vdc:V14 _net99 _net115 U="0.14"
Diode:D13 _net115 _net2 Is="1e-15" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:D14 _net2 _net116 Is="1e-15" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Vdc:V15 _net50 _net116 U="0.14"
R:RCM2 _net112 _net2 R="5000"
Idc:I1 _net50 _net4 I="7.5e-05"
R:RIN1 _net1 _net104 R="1e+09"
R:RIN2 _net2 _net104 R="1e+09"
R:R1 _net5 _net99 R="689.3"
R:R2 _net6 _net99 R="689.3"
EDD:EOS _cnet0 gnd _net98 _net30 I1="EOS.I1" Q1="EOS.Q1" I2="EOS.I2" Q2="EOS.Q2"
BJT:Q1 _net2 _net5 _net103 _ref Type="npn" Bf="62500" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Vaf="0" Var="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
BJT:Q2 _net9 _net6 _net104 _ref Type="npn" Bf="62500" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Vaf="0" Var="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
R:REE1 _net104 _net4 R="1"
R:REE2 _net103 _net4 R="1"
C:C4 _net5 _net6 C="68pF"
Vdc:V2 _net99 _net11 U="0.7"
Diode:D1 _net11 _net12 Is="1e-15" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:D2 _net12 _net10 Is="1e-15" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Vdc:V3 _net10 _net50 U="0.7"
VCVS:EH _net99 _net99 _net98 _net50 G="0.5"
VCCS:G3 _net5 _net98 _net12 _net6 G="0.0012"
R:R4 _net12 _net98 R="1.6936e+08"
C:C3 _net98 _net12 C="3.75e-10"
VCCS:G11 _net104 _net98 _net30 _net98 G="1e-08"
R:R13 _net30 _net98 R="1000"
CCCS:F6 _net99 _net99 _net50 _cnet1 G="1"
CCCS:F5 _net33 _net99 _net38 _cnet2 G="1"
Diode:D9 _net38 _net40 Is="1e-15" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:D10 _net99 _net38 Is="1e-15" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Vdc:VA7 _cnet1 _net40 U="0"
VCCS:G12 _net12 _net98 _net32 _net98 G="0.001"
R:R15 _net98 _net32 R="1000"
Diode:D3 _net36 _net32 Is="1e-15" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:D4 _net32 _net37 Is="1e-15" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Vdc:V5 _net35 _net37 U="3.5V"
Vdc:V4 _net36 _net35 U="3.5V"
R:R16 _net34 _net35 R="30"
VCVS:E1 _net99 _net99 _net33 _net32 G="1"
Vdc:VA8 _cnet2 _net34 U="0V"
L:L _net35 _net96 L="0.1u"
R:R17 _net96 _net97 R="0.01"
.Def:End
Sub:X1 _ref _net111 _net112 _net99 _net50 _net97 Type="MAX495"
.Def:End
</Model>
<Symbol>
<Line -20 -40 0 80 #000080 2 1>
<Line -20 -40 60 40 #000080 2 1>
<Line -20 40 60 -40 #000080 2 1>
<Line 40 0 20 0 #000080 2 1>
<Line -40 -20 20 0 #000080 2 1>
<Line -40 20 20 0 #000080 2 1>
<Line -15 20 10 0 #000000 2 1>
<Line -10 -25 0 10 #ff0000 0 1>
<Line -15 -20 10 0 #ff0000 0 1>
<Line 10 -20 0 -20 #000080 2 1>
<Line 10 20 0 20 #000080 2 1>
<.PortSym -40 -20 1 0>
<.PortSym -40 20 2 0>
<.PortSym 10 -40 3 270>
<.PortSym 10 40 4 90>
<.PortSym 60 0 5 180>
<.ID 50 24 OP>
</Symbol>
</Component>
<Component NE5532>
<Description>
Authors: Vadim Kuznetsov <ra3xdh@gmail.com> and Timofey Moiseev <voig1396@gmail.com>
</Description>
<Spice>
.SUBCKT Op_Amp_NE5532 gnd 1 2 3 4 5
*
C1 11 12 7.703E-12
C2 6 7 23.500E-12
DC 5 53 DX
DE 54 5 DX
DLP 90 91 DX
DLN 92 90 DX
DP 4 3 DX
EGND 99 0 POLY(2) (3,0) (4,0) 0 .5 .5
FB 7 99 POLY(5) VB VC VE VLP VLN 0 2.893E6 -3E6 3E6 3E6 -3E6
GA 6 0 11 12 1.382E-3
GCM 0 6 10 99 13.82E-9
IEE 10 4 DC 133.0E-6
HLIM 90 0 VLIM 1K
Q1 11 2 13 QX
Q2 12 1 14 QX
R2 6 9 100.0E3
RC1 3 11 723.3
RC2 3 12 723.3
RE1 13 10 329
RE2 14 10 329
REE 10 99 1.504E6
RO1 8 5 50
RO2 7 99 25
RP 3 4 7.757E3
VB 9 0 DC 0
VC 3 53 DC 2.700
VE 54 4 DC 2.700
VLIM 7 8 DC 0
VLP 91 0 DC 38
VLN 0 92 DC 38
.MODEL DX D(IS=800.0E-18)
.MODEL QX NPN(IS=800.0E-18 BF=132)
.ENDS
</Spice>
<Model>
.Def:Op_Amp_NE5532 _net2 _net3 _net4 _net0 _net1
Sub:X1 _net0 _net1 _net2 _net3 _net4 gnd Type="NE5532_cir"
.Def:End
.Def:NE5532_cir _net4 _net5 _net1 _net2 _net3 _ref
.Def:NE5532 _ref _net1 _net2 _net3 _net4 _net5
CCCS:FB _cnet11 _net99 _net7 gnd G="1"
Eqn:EqnFBI1 FB.I1="+2.893e+06*V2-3e+06*V3+3e+06*V4+3e+06*V5-3e+06*V6" Export="no"
Eqn:EqnFBQ1 FB.Q1="0" Export="no"
Eqn:EqnFBI2 FB.I2="0" Export="no"
Eqn:EqnFBQ2 FB.Q2="0" Export="no"
CCVS:FBV2 _ref _cnet9 gnd _cnet10 G="1"
Eqn:EqnFBI3 FB.I3="0" Export="no"
Eqn:EqnFBQ3 FB.Q3="0" Export="no"
CCVS:FBV3 _net91 _cnet7 gnd _cnet8 G="1"
Eqn:EqnFBI4 FB.I4="0" Export="no"
Eqn:EqnFBQ4 FB.Q4="0" Export="no"
CCVS:FBV4 _net54 _cnet5 gnd _cnet6 G="1"
Eqn:EqnFBI5 FB.I5="0" Export="no"
Eqn:EqnFBQ5 FB.Q5="0" Export="no"
CCVS:FBV5 _net3 _cnet3 gnd _cnet4 G="1"
Eqn:EqnFBI6 FB.I6="0" Export="no"
Eqn:EqnFBQ6 FB.Q6="0" Export="no"
CCVS:FBV6 _net9 _cnet1 gnd _cnet2 G="1"
CCVS:EGND _cnet0 _ref _net99 gnd G="1"
Eqn:EqnEGNDI1 EGND.I1="+0.5*V2+0.5*V3" Export="no"
Eqn:EqnEGNDQ1 EGND.Q1="0" Export="no"
Eqn:EqnEGNDI2 EGND.I2="0" Export="no"
Eqn:EqnEGNDQ2 EGND.Q2="0" Export="no"
Eqn:EqnEGNDI3 EGND.I3="0" Export="no"
Eqn:EqnEGNDQ3 EGND.Q3="0" Export="no"
C:C1 _net11 _net12 C="7.703e-12"
C:C2 _net6 _net7 C="2.35e-11"
Diode:DC _net53 _net5 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:DE _net5 _net54 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:DLP _net91 _net90 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:DLN _net90 _net92 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:DP _net3 _net4 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
EDD:EGND _cnet0 gnd _net3 _ref _net4 _ref I1="EGND.I1" Q1="EGND.Q1" I2="EGND.I2" Q2="EGND.Q2" I3="EGND.I3" Q3="EGND.Q3"
EDD:FB _cnet11 gnd _cnet1 gnd _cnet3 gnd _cnet5 gnd _cnet7 gnd _cnet9 gnd I1="FB.I1" Q1="FB.Q1" I2="FB.I2" Q2="FB.Q2" I3="FB.I3" Q3="FB.Q3" I4="FB.I4" Q4="FB.Q4" I5="FB.I5" Q5="FB.Q5" I6="FB.I6" Q6="FB.Q6"
VCCS:GA _net11 _net6 _ref _net12 G="0.001382"
VCCS:GCM _net10 _ref _net6 _net99 G="1.382e-08"
Idc:IEE _net4 _net10 I="0.000133"
CCVS:HLIM _net7 _net90 _ref _cnet12 G="1k"
BJT:Q1 _net2 _net11 _net13 _ref Type="npn" Is="8e-16" Bf="132" Nf="1" Nr="1" Ikf="0" Ikr="0" Vaf="0" Var="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
BJT:Q2 _net1 _net12 _net14 _ref Type="npn" Is="8e-16" Bf="132" Nf="1" Nr="1" Ikf="0" Ikr="0" Vaf="0" Var="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
R:R2 _net6 _net9 R="100000"
R:RC1 _net3 _net11 R="723.3"
R:RC2 _net3 _net12 R="723.3"
R:RE1 _net13 _net10 R="329"
R:RE2 _net14 _net10 R="329"
R:REE _net10 _net99 R="1.504e+06"
R:RO1 _net8 _net5 R="50"
R:RO2 _net7 _net99 R="25"
R:RP _net3 _net4 R="7757"
Vdc:VB _cnet2 _ref U="0"
Vdc:VC _cnet4 _net53 U="2.7"
Vdc:VE _cnet6 _net4 U="2.7"
Vdc:VLIM _cnet12 _net8 U="0"
Vdc:VLP _cnet8 _ref U="38"
Vdc:VLN _cnet10 _net92 U="38"
.Def:End
Sub:X1 _ref _net1 _net2 _net3 _net4 _net5 Type="NE5532"
.Def:End
</Model>
<Symbol>
<Line -20 -40 0 80 #000080 2 1>
<Line -20 -40 60 40 #000080 2 1>
<Line -20 40 60 -40 #000080 2 1>
<Line 40 0 20 0 #000080 2 1>
<Line -40 -20 20 0 #000080 2 1>
<Line -40 20 20 0 #000080 2 1>
<Line -15 20 10 0 #000000 2 1>
<Line -10 -25 0 10 #ff0000 0 1>
<Line -15 -20 10 0 #ff0000 0 1>
<Line 10 -20 0 -20 #000080 2 1>
<Line 10 20 0 20 #000080 2 1>
<.PortSym -40 -20 1 0>
<.PortSym -40 20 2 0>
<.PortSym 10 -40 3 270>
<.PortSym 10 40 4 90>
<.PortSym 60 0 5 180>
<.ID 50 34 OP>
</Symbol>
</Component>
<Component NE5534>
<Description>
Authors: Vadim Kuznetsov <ra3xdh@gmail.com> and Timofey Moiseev <voig1396@gmail.com>
</Description>
<Spice>
.SUBCKT Op_Amp_NE5534 gnd 1 2 3 4 5 6 7
*
C1 11 12 7.703E-12
C2 6 7 3.500E-12
DC 5 53 DX
DE 54 5 DX
DLP 90 91 DX
DLN 92 90 DX
DP 4 3 DX
EGND 99 0 POLY(2) (3,0) (4,0) 0 .5 .5
FB 7 99 POLY(5) VB VC VE VLP VLN 0 2.893E6 -3E6 3E6 3E6 -3E6
GA 6 0 11 12 1.382E-3
GCM 0 6 10 99 13.82E-9
IEE 10 4 DC 133.0E-6
HLIM 90 0 VLIM 1K
Q1 11 2 13 QX
Q2 12 1 14 QX
R2 6 9 100.0E3
RC1 3 11 723.3
RC2 3 12 723.3
RE1 13 10 329
RE2 14 10 329
REE 10 99 1.504E6
RO1 8 5 50
RO2 7 99 25
RP 3 4 7.757E3
VB 9 0 DC 0
VC 3 53 DC 2.700
VE 54 4 DC 2.700
VLIM 7 8 DC 0
VLP 91 0 DC 38
VLN 0 92 DC 38
.MODEL DX D(IS=800.0E-18)
.MODEL QX NPN(IS=800.0E-18 BF=132)
.ENDS
</Spice>
<Model>
.Def:Op_Amp_NE5534 _net2 _net3 _net4 _net0 _net1 _net5 _net6
Sub:X1 _net0 _net1 _net2 _net3 _net4 _net5 _net6 gnd Type="NE5534_cir"
.Def:End
.Def:NE5534_cir _net4 _net5 _net1 _net2 _net3 _net6 _net7 _ref
.Def:NE5534 _ref _net1 _net2 _net3 _net4 _net5 _net6 _net7
CCCS:FB _cnet11 _net99 _net7 gnd G="1"
Eqn:EqnFBI1 FB.I1="+2.893e+06*V2-3e+06*V3+3e+06*V4+3e+06*V5-3e+06*V6" Export="no"
Eqn:EqnFBQ1 FB.Q1="0" Export="no"
Eqn:EqnFBI2 FB.I2="0" Export="no"
Eqn:EqnFBQ2 FB.Q2="0" Export="no"
CCVS:FBV2 _ref _cnet9 gnd _cnet10 G="1"
Eqn:EqnFBI3 FB.I3="0" Export="no"
Eqn:EqnFBQ3 FB.Q3="0" Export="no"
CCVS:FBV3 _net91 _cnet7 gnd _cnet8 G="1"
Eqn:EqnFBI4 FB.I4="0" Export="no"
Eqn:EqnFBQ4 FB.Q4="0" Export="no"
CCVS:FBV4 _net54 _cnet5 gnd _cnet6 G="1"
Eqn:EqnFBI5 FB.I5="0" Export="no"
Eqn:EqnFBQ5 FB.Q5="0" Export="no"
CCVS:FBV5 _net3 _cnet3 gnd _cnet4 G="1"
Eqn:EqnFBI6 FB.I6="0" Export="no"
Eqn:EqnFBQ6 FB.Q6="0" Export="no"
CCVS:FBV6 _net9 _cnet1 gnd _cnet2 G="1"
CCVS:EGND _cnet0 _ref _net99 gnd G="1"
Eqn:EqnEGNDI1 EGND.I1="+0.5*V2+0.5*V3" Export="no"
Eqn:EqnEGNDQ1 EGND.Q1="0" Export="no"
Eqn:EqnEGNDI2 EGND.I2="0" Export="no"
Eqn:EqnEGNDQ2 EGND.Q2="0" Export="no"
Eqn:EqnEGNDI3 EGND.I3="0" Export="no"
Eqn:EqnEGNDQ3 EGND.Q3="0" Export="no"
C:C1 _net11 _net12 C="7.703e-12"
C:C2 _net6 _net7 C="3.5e-12"
Diode:DC _net53 _net5 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:DE _net5 _net54 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:DLP _net91 _net90 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:DLN _net90 _net92 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:DP _net3 _net4 Is="8e-16" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
EDD:EGND _cnet0 gnd _net3 _ref _net4 _ref I1="EGND.I1" Q1="EGND.Q1" I2="EGND.I2" Q2="EGND.Q2" I3="EGND.I3" Q3="EGND.Q3"
EDD:FB _cnet11 gnd _cnet1 gnd _cnet3 gnd _cnet5 gnd _cnet7 gnd _cnet9 gnd I1="FB.I1" Q1="FB.Q1" I2="FB.I2" Q2="FB.Q2" I3="FB.I3" Q3="FB.Q3" I4="FB.I4" Q4="FB.Q4" I5="FB.I5" Q5="FB.Q5" I6="FB.I6" Q6="FB.Q6"
VCCS:GA _net11 _net6 _ref _net12 G="0.001382"
VCCS:GCM _net10 _ref _net6 _net99 G="1.382e-08"
Idc:IEE _net4 _net10 I="0.000133"
CCVS:HLIM _net7 _net90 _ref _cnet12 G="1k"
BJT:Q1 _net2 _net11 _net13 _ref Type="npn" Is="8e-16" Bf="132" Nf="1" Nr="1" Ikf="0" Ikr="0" Vaf="0" Var="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
BJT:Q2 _net1 _net12 _net14 _ref Type="npn" Is="8e-16" Bf="132" Nf="1" Nr="1" Ikf="0" Ikr="0" Vaf="0" Var="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
R:R2 _net6 _net9 R="100000"
R:RC1 _net3 _net11 R="723.3"
R:RC2 _net3 _net12 R="723.3"
R:RE1 _net13 _net10 R="329"
R:RE2 _net14 _net10 R="329"
R:REE _net10 _net99 R="1.504e+06"
R:RO1 _net8 _net5 R="50"
R:RO2 _net7 _net99 R="25"
R:RP _net3 _net4 R="7757"
Vdc:VB _cnet2 _ref U="0"
Vdc:VC _cnet4 _net53 U="2.7"
Vdc:VE _cnet6 _net4 U="2.7"
Vdc:VLIM _cnet12 _net8 U="0"
Vdc:VLP _cnet8 _ref U="38"
Vdc:VLN _cnet10 _net92 U="38"
.Def:End
Sub:X1 _ref _net1 _net2 _net3 _net4 _net5 _net6 _net7 Type="NE5534"
.Def:End
</Model>
<Symbol>
<Line -20 -40 0 80 #000080 2 1>
<Line -20 -40 80 40 #000080 2 1>
<Line -20 40 80 -40 #000080 2 1>
<Line -40 -20 20 0 #000080 2 1>
<Line -40 20 20 0 #000080 2 1>
<Line -15 20 10 0 #000000 2 1>
<Line -10 -25 0 10 #ff0000 0 1>
<Line -15 -20 10 0 #ff0000 0 1>
<.PortSym -40 -20 1 0>
<.PortSym -40 20 2 0>
<Line 0 -30 0 -20 #000080 2 1>
<.PortSym 0 -50 3 270>
<Line 60 0 20 0 #000080 2 1>
<.PortSym 80 0 5 180>
<Line 40 -10 0 -40 #000080 2 1>
<Line 0 30 0 20 #000080 2 1>
<.PortSym 0 50 4 90>
<.ID 70 24 OP>
<Line 20 -20 0 -30 #000080 2 1>
<.PortSym 20 -50 6 270>
<.PortSym 40 -50 7 270>
</Symbol>
</Component>
<Component ad822>
<Description>
Authors: Vadim Kuznetsov <ra3xdh@gmail.com> and Timofey Moiseev <voig1396@gmail.com>
</Description>
<Spice>
.SUBCKT Op_Amp_AD822 gnd 1 2 99 50 25
*
* INPUT STAGE & POLE AT 5 MHZ
*
R3 5 99 2456
R4 6 99 2456
CIN 1 2 5E-12
C2 5 6 6.48E-12
I1 4 50 108E-6
IOS 1 2 1E-12
EOS 7 1 POLY(1) (12,98) 100E-6 1
J1 5 2 4 JX
J2 6 7 4 JX
GB1 50 2 POLY(3) (2,4) (2,5) (2,50) 0 1E-12 1E-12 1E-12
GB2 50 7 POLY(3) (7,4) (7,5) (7,50) 0 1E-12 1E-12 1E-12
*
* GAIN STAGE & POLE AT 13.4 HZ
*
EREF 98 0 (30,0) 1
R5 9 98 2.313E6
C3 9 25 32E-12
G1 98 9 (6,5) 4.07E-4
V1 8 98 0
V2 98 10 -1
D1 9 10 DX
D2 8 9 DX
*
* COMMON-MODE GAIN NETWORK WITH ZERO AT 1 KHZ
*
R21 11 12 1E6
R22 12 98 100
C14 11 12 159E-12
E13 11 98 POLY(2) (2,98) (1,98) 0 0.5 0.5
*
* POLE AT 10 MHZ
*
R23 18 98 1E6
C15 18 98 15.9E-15
G15 98 18 (9,98) 1E-6
*
* OUTPUT STAGE
*
ES 26 51 POLY(1) (18,98) 1.72 1
RS 26 22 500
V3 23 51 1.03951
V4 21 23 1.36
C16 20 25 2E-12
C17 24 25 2E-12
RG1 20 97 1E8
RG2 24 97 1E8
Q1 20 20 97 PNP
Q2 20 21 22 NPN
Q3 24 23 22 PNP
Q4 24 24 51 NPN
Q5 25 20 97 PNP 20
Q6 25 24 51 NPN 20
VP 96 97 0
VN 51 52 0
EP 96 0 POLY(1) (99,0) 0.01 1
EN 52 0 POLY(1) (50,0) -0.015 1
R25 30 99 63.5E3
R26 30 50 63.5E3
FSY1 99 0 VP 1
FSY2 0 50 VN 1
*
* MODELS USED
*
.MODEL JX NJF(BETA=7.67E-4 VTO=-2.000 IS=1E-12)
.MODEL NPN NPN(BF=120 VAF=150 VAR=15 RB=2E3 RE=4 RC=200)
.MODEL PNP PNP(BF=120 VAF=150 VAR=15 RB=2E3 RE=4 RC=900)
.MODEL DX D(IS=1E-15)
.ENDS AD822
</Spice>
<Model>
.Def:Op_Amp_ad822 _net0 _net2 _net4 _net3 _net1
Sub:X1 _net0 _net1 _net2 _net3 _net4 gnd Type="ad822_cir"
.Def:End
.Def:ad822_cir _net1 _net25 _net2 _net50 _net99 _ref
.Def:AD822 _ref _net1 _net2 _net99 _net50 _net25
CCVS:EN _cnet6 _ref _net52 gnd G="1"
Eqn:EqnENI1 EN.I1="-0.015+1*V2" Export="no"
Eqn:EqnENQ1 EN.Q1="0" Export="no"
Eqn:EqnENI2 EN.I2="0" Export="no"
Eqn:EqnENQ2 EN.Q2="0" Export="no"
CCVS:EP _cnet5 _ref _net96 gnd G="1"
Eqn:EqnEPI1 EP.I1="+0.01+1*V2" Export="no"
Eqn:EqnEPQ1 EP.Q1="0" Export="no"
Eqn:EqnEPI2 EP.I2="0" Export="no"
Eqn:EqnEPQ2 EP.Q2="0" Export="no"
CCVS:ES _cnet4 _net51 _net26 gnd G="1"
Eqn:EqnESI1 ES.I1="+1.72+1*V2" Export="no"
Eqn:EqnESQ1 ES.Q1="0" Export="no"
Eqn:EqnESI2 ES.I2="0" Export="no"
Eqn:EqnESQ2 ES.Q2="0" Export="no"
CCVS:E13 _cnet3 _net98 _net11 gnd G="1"
Eqn:EqnE13I1 E13.I1="+0.5*V2+0.5*V3" Export="no"
Eqn:EqnE13Q1 E13.Q1="0" Export="no"
Eqn:EqnE13I2 E13.I2="0" Export="no"
Eqn:EqnE13Q2 E13.Q2="0" Export="no"
Eqn:EqnE13I3 E13.I3="0" Export="no"
Eqn:EqnE13Q3 E13.Q3="0" Export="no"
CCCS:GB2 _cnet2 _net7 _net50 gnd G="1"
Eqn:EqnGB2I1 GB2.I1="+1e-12*V2+1e-12*V3+1e-12*V4" Export="no"
Eqn:EqnGB2Q1 GB2.Q1="0" Export="no"
Eqn:EqnGB2I2 GB2.I2="0" Export="no"
Eqn:EqnGB2Q2 GB2.Q2="0" Export="no"
Eqn:EqnGB2I3 GB2.I3="0" Export="no"
Eqn:EqnGB2Q3 GB2.Q3="0" Export="no"
Eqn:EqnGB2I4 GB2.I4="0" Export="no"
Eqn:EqnGB2Q4 GB2.Q4="0" Export="no"
CCCS:GB1 _cnet1 _net2 _net50 gnd G="1"
Eqn:EqnGB1I1 GB1.I1="+1e-12*V2+1e-12*V3+1e-12*V4" Export="no"
Eqn:EqnGB1Q1 GB1.Q1="0" Export="no"
Eqn:EqnGB1I2 GB1.I2="0" Export="no"
Eqn:EqnGB1Q2 GB1.Q2="0" Export="no"
Eqn:EqnGB1I3 GB1.I3="0" Export="no"
Eqn:EqnGB1Q3 GB1.Q3="0" Export="no"
Eqn:EqnGB1I4 GB1.I4="0" Export="no"
Eqn:EqnGB1Q4 GB1.Q4="0" Export="no"
CCVS:EOS _cnet0 _net1 _net7 gnd G="1"
Eqn:EqnEOSI1 EOS.I1="+0.0001+1*V2" Export="no"
Eqn:EqnEOSQ1 EOS.Q1="0" Export="no"
Eqn:EqnEOSI2 EOS.I2="0" Export="no"
Eqn:EqnEOSQ2 EOS.Q2="0" Export="no"
R:R3 _net5 _net99 R="2456"
R:R4 _net6 _net99 R="2456"
C:CIN _net1 _net2 C="5e-12"
C:C2 _net5 _net6 C="6.48e-12"
Idc:I1 _net50 _net4 I="0.000108"
Idc:IOS _net2 _net1 I="1e-12"
EDD:EOS _cnet0 gnd _net12 _net98 I1="EOS.I1" Q1="EOS.Q1" I2="EOS.I2" Q2="EOS.Q2"
JFET:J1 _net2 _net5 _net4 Type="nfet" Beta="0.000767" Vt0="-2" Is="1e-12" N="1" Lambda="0" M="0.5" Pb="1" Fc="0.5" Cgs="0" Cgd="0"
JFET:J2 _net7 _net6 _net4 Type="nfet" Beta="0.000767" Vt0="-2" Is="1e-12" N="1" Lambda="0" M="0.5" Pb="1" Fc="0.5" Cgs="0" Cgd="0"
EDD:GB1 _cnet1 gnd _net2 _net4 _net2 _net5 _net2 _net50 I1="GB1.I1" Q1="GB1.Q1" I2="GB1.I2" Q2="GB1.Q2" I3="GB1.I3" Q3="GB1.Q3" I4="GB1.I4" Q4="GB1.Q4"
EDD:GB2 _cnet2 gnd _net7 _net4 _net7 _net5 _net7 _net50 I1="GB2.I1" Q1="GB2.Q1" I2="GB2.I2" Q2="GB2.Q2" I3="GB2.I3" Q3="GB2.Q3" I4="GB2.I4" Q4="GB2.Q4"
VCVS:EREF _net30 _net98 _ref _ref G="1"
R:R5 _net9 _net98 R="2.313e+06"
C:C3 _net9 _net25 C="3.2e-11"
VCCS:G1 _net6 _net98 _net9 _net5 G="0.000407"
Vdc:V1 _net8 _net98 U="0"
Vdc:V2 _net98 _net10 U="-1"
Diode:D1 _net10 _net9 Is="1e-15" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
Diode:D2 _net9 _net8 Is="1e-15" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
R:R21 _net11 _net12 R="1e+06"
R:R22 _net12 _net98 R="100"
C:C14 _net11 _net12 C="1.59e-10"
EDD:E13 _cnet3 gnd _net2 _net98 _net1 _net98 I1="E13.I1" Q1="E13.Q1" I2="E13.I2" Q2="E13.Q2" I3="E13.I3" Q3="E13.Q3"
R:R23 _net18 _net98 R="1e+06"
C:C15 _net18 _net98 C="1.59e-14"
VCCS:G15 _net9 _net98 _net18 _net98 G="1e-06"
EDD:ES _cnet4 gnd _net18 _net98 I1="ES.I1" Q1="ES.Q1" I2="ES.I2" Q2="ES.Q2"
R:RS _net26 _net22 R="500"
Vdc:V3 _net23 _net51 U="1.03951"
Vdc:V4 _net21 _net23 U="1.36"
C:C16 _net20 _net25 C="2e-12"
C:C17 _net24 _net25 C="2e-12"
R:RG1 _net20 _net97 R="1e+08"
R:RG2 _net24 _net97 R="1e+08"
BJT:Q1 _net20 _net20 _net97 _ref Type="pnp" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="900" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
BJT:Q2 _net21 _net20 _net22 _ref Type="npn" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="200" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
BJT:Q3 _net23 _net24 _net22 _ref Type="pnp" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="900" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
BJT:Q4 _net24 _net24 _net51 _ref Type="npn" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="200" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
BJT:Q5 _net20 _net25 _net97 _ref Type="pnp" Area="20" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="900" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
BJT:Q6 _net24 _net25 _net51 _ref Type="npn" Area="20" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="200" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
Vdc:VP _cnet7 _net97 U="0"
Vdc:VN _cnet8 _net52 U="0"
EDD:EP _cnet5 gnd _net99 _ref I1="EP.I1" Q1="EP.Q1" I2="EP.I2" Q2="EP.Q2"
EDD:EN _cnet6 gnd _net50 _ref I1="EN.I1" Q1="EN.Q1" I2="EN.I2" Q2="EN.Q2"
R:R25 _net30 _net99 R="63500"
R:R26 _net30 _net50 R="63500"
CCCS:FSY1 _net96 _net99 _ref _cnet7 G="1"
CCCS:FSY2 _net51 _ref _net50 _cnet8 G="1"
.Def:End
Sub:X1 _ref _net1 _net2 _net99 _net50 _net25 Type="AD822"
.Def:End
</Model>
<Symbol>
<Line -20 -40 0 80 #000080 2 1>
<Line -20 -40 60 40 #000080 2 1>
<Line -20 40 60 -40 #000080 2 1>
<Line 40 0 20 0 #000080 2 1>
<Line -40 -20 20 0 #000080 2 1>
<Line -40 20 20 0 #000080 2 1>
<Line -15 20 10 0 #000000 2 1>
<Line -10 -25 0 10 #ff0000 0 1>
<Line -15 -20 10 0 #ff0000 0 1>
<Line 10 -20 0 -20 #000080 2 1>
<Line 10 20 0 20 #000080 2 1>
<.PortSym -40 -20 1 0>
<.PortSym -40 20 2 0>
<.PortSym 10 -40 3 270>
<.PortSym 10 40 4 90>
<.PortSym 60 0 5 180>
<.ID 50 34 OP>
</Symbol>
</Component>
<Component ad822a>
<Description>
Authors: Vadim Kuznetsov <ra3xdh@gmail.com> and Timofey Moiseev <voig1396@gmail.com>
</Description>
<Spice>
.SUBCKT Op_Amp_AD822A gnd 1 2 99 50 25
*
* INPUT STAGE & POLE AT 5MHZ
*
R3 5 99 2456
R4 6 99 2456
CIN 1 2 5E-12
C2 5 6 6.48E-12
I1 4 50 108E-6
IOS 1 2 1E-11
EOS 7 1 POLY(1) (12,98) 800E-6 2.41
J1 5 2 4 JX
J2 6 7 4 JX
GB1 50 2 POLY(3) (2,4) (2,5) (2,50) 0 1E-12 1E-12 1E-12
GB2 50 7 POLY(3) (7,4) (7,5) (7,50) 0 1E-12 1E-12 1E-12
*
EREF 98 0 (30,0) 1
*
* GAIN STAGE & POLE AT 25 HZ
*
R5 9 98 1.234E6
C3 9 25 32E-12
G1 98 9 (6,5) 4.07E-4
V1 8 98 0
V2 98 10 -1
D1 9 10 DX
D2 8 9 DX
*
* COMMON-MODE GAIN NETWORK WITH ZERO AT 5 KHZ
*
R21 11 12 1E6
R22 12 98 200
C14 11 12 32.25E-12
E13 11 98 POLY(2) (2,98) (1,98) 0 0.5 0.5
*
* POLE AT 10 MHZ
*
R23 18 98 1E6
C15 18 98 15.9E-15
G15 98 18 (9,98) 1E-6
*
* OUTPUT STAGE
*
ES 26 51 POLY(1) (18,98) 1.72 1
RS 26 22 500