-
Notifications
You must be signed in to change notification settings - Fork 0
/
single_with_control_logic.asc
182 lines (182 loc) · 4.03 KB
/
single_with_control_logic.asc
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
Version 4
SHEET 1 1660 1408
WIRE -560 -560 -560 -624
WIRE -832 -416 -896 -416
WIRE -640 -416 -752 -416
WIRE -560 -368 -560 -480
WIRE -640 -352 -640 -416
WIRE -592 -352 -640 -352
WIRE -352 -336 -528 -336
WIRE -592 -320 -640 -320
WIRE 448 -320 448 -384
WIRE 608 -320 608 -384
WIRE 816 -320 816 -384
WIRE -832 -272 -896 -272
WIRE -640 -272 -640 -320
WIRE -640 -272 -752 -272
WIRE -560 -240 -560 -304
WIRE 448 -128 448 -240
WIRE 608 -128 608 -240
WIRE 608 -128 448 -128
WIRE 816 -128 816 -240
WIRE 816 -128 608 -128
WIRE 608 -80 608 -128
WIRE -560 96 -560 32
WIRE 704 208 352 208
WIRE 1120 208 704 208
WIRE -832 240 -896 240
WIRE -640 240 -752 240
WIRE -560 288 -560 176
WIRE -640 304 -640 240
WIRE -592 304 -640 304
WIRE 1120 304 1120 208
WIRE -352 320 -528 320
WIRE 352 320 352 208
WIRE 704 320 704 208
WIRE -592 336 -640 336
WIRE -832 384 -896 384
WIRE -640 384 -640 336
WIRE -640 384 -752 384
WIRE 1072 384 944 384
WIRE -560 400 -560 352
WIRE 944 432 944 384
WIRE 944 576 944 512
WIRE 352 688 352 400
WIRE 352 688 272 688
WIRE 416 688 352 688
WIRE 432 688 416 688
WIRE 528 688 512 688
WIRE 576 688 528 688
WIRE 704 688 704 384
WIRE 704 688 656 688
WIRE 1120 688 1120 400
WIRE 1120 688 704 688
WIRE 416 784 416 688
WIRE 432 784 416 784
WIRE 528 784 528 688
WIRE 528 784 496 784
WIRE 1120 992 1120 688
WIRE 352 1008 352 688
WIRE 704 1008 704 688
WIRE 1072 1072 944 1072
WIRE 944 1120 944 1072
WIRE 944 1280 944 1200
WIRE 352 1328 352 1088
WIRE 704 1328 704 1072
WIRE 704 1328 352 1328
WIRE 1120 1328 1120 1088
WIRE 1120 1328 704 1328
FLAG 272 688 0
FLAG 448 -384 VCC
FLAG 608 -384 Sin
FLAG 816 -384 Tri
FLAG 608 -80 COM
FLAG -352 -336 Sig
FLAG 1120 688 S1
FLAG 528 688 Out
FLAG -896 -416 COM1
FLAG -896 -272 COM2
FLAG -560 -624 COM3
FLAG -560 -240 COM4
FLAG -896 240 COM5
FLAG -896 384 COM6
FLAG -560 32 COM7
FLAG -560 400 COM8
FLAG -352 320 Sig-1
FLAG 944 576 COM9
FLAG 944 1280 COM10
SYMBOL voltage 352 304 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Vdd
SYMATTR Value 24
SYMBOL voltage 352 992 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Vss
SYMATTR Value 24
SYMBOL Diode 720 384 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMBOL Diode 720 1072 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D2
SYMBOL Res 528 672 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10
SYMBOL nmos 1072 992 R0
SYMATTR InstName M2
SYMATTR Value BSP89
SYMBOL nmos 1072 304 R0
SYMATTR InstName M1
SYMATTR Value BSP89
SYMBOL Cap 496 768 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value .1m
SYMBOL Ind 560 704 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value .06
SYMBOL voltage 816 -336 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value PULSE(-1 1 0 1e-4 1e-4 0 2e-4 100000)
SYMBOL Misc\\signal 608 -336 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value SINE(0 1 60)
SYMBOL voltage 448 -336 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 24
SYMBOL bv 944 416 R0
SYMATTR InstName B2
SYMATTR Value V=V(sig)-V(s1)
SYMBOL bv 944 1104 R0
SYMATTR InstName B3
SYMATTR Value V=V(sig-1)
SYMBOL bv -736 -416 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName B4
SYMATTR Value V=V(Tri) - V(COM)
SYMBOL bv -736 -272 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName B5
SYMATTR Value V=V(Sin) - V(COM)
SYMBOL bv -736 240 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName B1
SYMATTR Value V=V(Tri) - V(COM)
SYMBOL bv -736 384 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName B7
SYMATTR Value V=V(Sin) - V(COM)
SYMBOL bv -560 -464 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
SYMATTR InstName B6
SYMATTR Value V=V(VCC)-V(COM)
SYMBOL bv -560 192 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
SYMATTR InstName B8
SYMATTR Value V=V(VCC)-V(COM)
SYMBOL OpAmps\\UniversalOpAmp2 -560 -336 R0
SYMATTR InstName U1
SYMBOL OpAmps\\UniversalOpAmp2 -560 320 R0
SYMATTR InstName U2
TEXT 472 136 Left 2 !.tran 100m