-
Notifications
You must be signed in to change notification settings - Fork 3
/
InrushTimer-2.asc
470 lines (470 loc) · 11.2 KB
/
InrushTimer-2.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
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
Version 4
SHEET 1 2412 1284
WIRE -1104 -656 -1104 -672
WIRE -1328 -528 -1376 -528
WIRE -1216 -528 -1248 -528
WIRE -1104 -528 -1104 -592
WIRE -1104 -528 -1152 -528
WIRE -1008 -528 -1104 -528
WIRE -960 -528 -960 -576
WIRE -960 -528 -1008 -528
WIRE -880 -528 -960 -528
WIRE -704 -512 -816 -512
WIRE -592 -512 -704 -512
WIRE -432 -512 -432 -560
WIRE -432 -512 -512 -512
WIRE -400 -512 -432 -512
WIRE -880 -496 -928 -496
WIRE -240 -496 -336 -496
WIRE -80 -496 -240 -496
WIRE -400 -480 -432 -480
WIRE -560 -448 -592 -448
WIRE -240 -448 -240 -496
WIRE -928 -432 -928 -496
WIRE -832 -432 -928 -432
WIRE -704 -432 -704 -512
WIRE -704 -432 -768 -432
WIRE -560 -416 -560 -448
WIRE -704 -400 -704 -432
WIRE 64 -368 64 -432
WIRE -1104 -336 -1104 -528
WIRE -1008 -336 -1008 -528
WIRE -560 -320 -560 -336
WIRE -432 -320 -432 -480
WIRE -432 -320 -560 -320
WIRE -336 -320 -432 -320
WIRE -240 -320 -240 -368
WIRE -240 -320 -336 -320
WIRE 384 -320 288 -320
WIRE 784 -320 784 -416
WIRE 784 -320 608 -320
WIRE 880 -320 784 -320
WIRE -928 -304 -928 -432
WIRE -816 -304 -928 -304
WIRE -704 -304 -704 -336
WIRE -704 -304 -816 -304
WIRE -560 -304 -560 -320
WIRE 880 -304 880 -320
WIRE -816 -288 -816 -304
WIRE -704 -288 -704 -304
WIRE 784 -288 784 -320
WIRE 64 -256 64 -288
WIRE 384 -256 64 -256
WIRE 656 -256 608 -256
WIRE 880 -208 880 -240
WIRE -1104 -192 -1104 -256
WIRE -1104 -192 -1376 -192
WIRE -1008 -192 -1008 -272
WIRE -1008 -192 -1104 -192
WIRE -816 -192 -816 -208
WIRE -816 -192 -1008 -192
WIRE -704 -192 -704 -224
WIRE -704 -192 -816 -192
WIRE -560 -192 -560 -224
WIRE -560 -192 -704 -192
WIRE 64 -192 64 -256
WIRE 384 -192 336 -192
WIRE 656 -192 656 -256
WIRE 656 -192 608 -192
WIRE 720 -192 656 -192
WIRE 784 -192 784 -208
WIRE 784 -192 720 -192
WIRE 784 -160 784 -192
WIRE 64 -144 64 -192
WIRE 384 -128 224 -128
WIRE 672 -128 608 -128
WIRE -1616 -80 -1632 -80
WIRE -1520 -80 -1536 -80
WIRE 336 -64 336 -192
WIRE 1008 -64 336 -64
WIRE 1216 -64 1216 -80
WIRE 1216 -64 1168 -64
WIRE -1968 -32 -2048 -32
WIRE -2048 -16 -2048 -32
WIRE -1904 -16 -1904 -64
WIRE 944 -16 880 -16
WIRE 1008 -16 944 -16
WIRE -1968 0 -1968 -32
WIRE -1952 0 -1968 0
WIRE -1744 16 -1776 16
WIRE -1632 16 -1632 -80
WIRE -1632 16 -1664 16
WIRE -1600 16 -1632 16
WIRE -1520 16 -1520 -80
WIRE -1520 16 -1536 16
WIRE -1488 16 -1520 16
WIRE -1424 16 -1488 16
WIRE -1280 16 -1360 16
WIRE -1232 16 -1280 16
WIRE -1184 16 -1232 16
WIRE -1040 16 -1184 16
WIRE -864 16 -1040 16
WIRE -704 16 -864 16
WIRE 672 16 672 -128
WIRE -1040 32 -1040 16
WIRE -1952 48 -1968 48
WIRE 1216 64 1216 -64
WIRE 1216 64 976 64
WIRE -2048 80 -2048 64
WIRE -1968 80 -1968 48
WIRE -1968 80 -2048 80
WIRE -864 80 -864 16
WIRE -1232 96 -1232 16
WIRE -1184 96 -1184 16
WIRE -1904 112 -1904 64
WIRE -1488 112 -1488 16
WIRE -1424 112 -1488 112
WIRE -1312 112 -1360 112
WIRE -1040 128 -1040 112
WIRE -976 128 -1040 128
WIRE -928 128 -976 128
WIRE 976 144 976 64
WIRE 1008 144 976 144
WIRE 1216 144 1168 144
WIRE 64 160 64 -80
WIRE 64 160 16 160
WIRE 288 160 288 -320
WIRE 288 160 64 160
WIRE 672 160 672 80
WIRE 672 160 288 160
WIRE 784 160 784 -96
WIRE 784 160 672 160
WIRE -1040 176 -1040 128
WIRE -976 176 -976 128
WIRE -1424 192 -1488 192
WIRE -1280 192 -1280 16
WIRE -1280 192 -1360 192
WIRE -864 192 -864 176
WIRE -800 192 -864 192
WIRE -704 192 -800 192
WIRE 944 192 944 -16
WIRE 1008 192 944 192
WIRE -864 208 -864 192
WIRE -800 208 -800 192
WIRE 2256 224 2256 144
WIRE -2048 240 -2048 80
WIRE -1904 240 -1904 192
WIRE -1904 240 -2048 240
WIRE 1728 240 1728 208
WIRE 1216 272 1216 144
WIRE 1216 272 976 272
WIRE -1904 288 -1904 240
WIRE -1488 288 -1488 192
WIRE -1488 288 -1776 288
WIRE -1424 288 -1488 288
WIRE -1312 288 -1312 112
WIRE -1312 288 -1360 288
WIRE -1232 288 -1232 160
WIRE -1232 288 -1312 288
WIRE -1184 288 -1184 160
WIRE -1184 288 -1232 288
WIRE -1040 288 -1040 240
WIRE -1040 288 -1184 288
WIRE -976 288 -976 240
WIRE -976 288 -1040 288
WIRE -864 288 -864 272
WIRE -864 288 -976 288
WIRE -800 288 -800 272
WIRE -800 288 -864 288
WIRE -704 288 -800 288
WIRE -2048 304 -2048 240
WIRE 2144 336 2128 336
WIRE 2256 336 2256 304
WIRE 2256 336 2224 336
WIRE 2336 336 2256 336
WIRE 976 352 976 272
WIRE 1008 352 976 352
WIRE 1216 352 1168 352
WIRE 1728 368 1728 320
WIRE 1792 368 1728 368
WIRE 1984 368 1952 368
WIRE 2128 368 2128 336
WIRE 2128 368 2064 368
WIRE 2336 368 2336 336
WIRE 2256 384 2256 336
WIRE 944 400 944 192
WIRE 1008 400 944 400
WIRE 1792 448 1728 448
WIRE 2208 448 1952 448
WIRE 1216 480 1216 352
WIRE 1216 480 976 480
WIRE 2128 480 2128 368
WIRE 2336 480 2336 448
WIRE 1728 512 1728 448
WIRE 976 560 976 480
WIRE 1008 560 976 560
WIRE 1504 560 1168 560
WIRE 1648 560 1584 560
WIRE 1664 560 1648 560
WIRE 1648 576 1648 560
WIRE 2128 576 2128 544
WIRE 2256 576 2256 448
WIRE 2256 576 2128 576
WIRE 2336 576 2336 544
WIRE 2336 576 2256 576
WIRE 944 608 944 400
WIRE 1008 608 944 608
WIRE 2256 656 2256 576
WIRE 1648 672 1648 656
WIRE 1728 672 1728 608
WIRE 1728 672 1648 672
WIRE 1728 704 1728 672
FLAG -1776 16 L
FLAG -1776 288 N
FLAG -1904 -64 L
FLAG -1904 288 N
FLAG -704 192 12V
FLAG -2048 304 0
FLAG -704 16 Rect
FLAG -704 288 Zero
FLAG -1376 -192 Zero
FLAG -960 -576 HalfIn
FLAG -848 -480 12V
FLAG -848 -544 Zero
FLAG -368 -528 12V
FLAG -368 -464 Zero
FLAG -1376 -528 L
FLAG -1104 -672 12V
FLAG -432 -560 Sig
FLAG -592 -448 12V
FLAG 2256 656 N
FLAG 2256 144 L
FLAG 16 160 Zero
FLAG 224 -128 12V
FLAG 784 -416 12V
FLAG 880 -208 Zero
FLAG -80 -496 Peak
FLAG 880 -16 Peak
FLAG 1728 208 12V
FLAG 1728 704 Zero
FLAG -336 -320 Hyst
FLAG 64 -432 12V
FLAG 64 -192 Ttrig
FLAG 720 -192 TCharge
FLAG -816 -304 PeakValue
SYMBOL voltage -1904 96 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 2
SYMATTR Value2 AC 1
SYMATTR InstName V2
SYMATTR Value SINE(0 340 50)
SYMBOL diode -1424 0 M90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D1
SYMATTR Value RR2L6S
SYMBOL diode -1424 176 M90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D3
SYMATTR Value RR2L6S
SYMBOL diode -1360 96 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D2
SYMATTR Value RR2L6S
SYMBOL diode -1360 272 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D4
SYMATTR Value RR2L6S
SYMBOL cap -1600 32 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName C3
SYMATTR Value 220e-9
SYMBOL res -1632 -64 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R4
SYMATTR Value 1e6
SYMBOL zener -1024 240 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D5
SYMATTR Value mm3z12vt1g
SYMATTR Prefix X
SYMBOL npn -928 80 R0
SYMATTR InstName Q1
SYMATTR Value ZTX450
SYMBOL res -1056 16 R0
SYMATTR InstName R5
SYMATTR Value 2.2e3
SYMBOL cap -1248 96 R0
SYMATTR InstName C5
SYMATTR Value 10e-6
SYMBOL cap -880 208 R0
SYMATTR InstName C6
SYMATTR Value 10e-6
SYMBOL cap -816 208 R0
SYMATTR InstName C8
SYMATTR Value 10e-6
SYMBOL res -1120 -352 R0
SYMATTR InstName R3
SYMATTR Value 2.2e3
SYMBOL cap -720 -288 R0
SYMATTR InstName C2
SYMATTR Value 100e-9
SYMBOL Opamps\\opamp2 -848 -448 M180
SYMATTR InstName U1
SYMATTR Value TLC272
SYMBOL Opamps\\opamp2 -368 -560 R0
SYMATTR InstName U2
SYMATTR Value TLC272
SYMBOL res -1760 32 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R11
SYMATTR Value 100
SYMBOL cap -1200 96 R0
SYMATTR InstName C1
SYMATTR Value 10e-6
SYMBOL diode -1216 -544 M90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D8
SYMATTR Value UF5406
SYMBOL res -1232 -544 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R14
SYMATTR Value 100e3
SYMBOL res -576 -432 R0
SYMATTR InstName R12
SYMATTR Value 100e3
SYMBOL Misc\\NE555 496 -224 R0
SYMATTR InstName U3
SYMBOL cap 656 16 R0
SYMATTR InstName C7
SYMATTR Value 0.01e-6
SYMATTR SpiceLine V=16
SYMBOL cap 864 -304 R0
SYMATTR InstName C11
SYMATTR Value 100e-9
SYMBOL misc\\TRIAC 2224 384 R0
SYMATTR InstName U4
SYMATTR Value MAC97A6
SYMBOL res 2320 352 R0
SYMATTR InstName R17
SYMATTR Value 47
SYMBOL cap 2320 480 R0
SYMATTR InstName C12
SYMATTR Value 10e-9
SYMBOL ind 2240 208 R0
SYMATTR InstName L1
SYMATTR Value 47
SYMATTR SpiceLine Rser=4e3
SYMBOL res -576 -320 R0
SYMATTR InstName R1
SYMATTR Value 51e3
SYMBOL res -832 -304 R0
SYMATTR InstName R7
SYMATTR Value 10e6
SYMBOL cap -992 176 R0
SYMATTR InstName C13
SYMATTR Value 100e-9
SYMBOL sw -1904 -32 R0
SYMATTR InstName S1
SYMATTR Value MainsOff
SYMBOL voltage -2048 -32 R0
WINDOW 3 24 96 Invisible 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value PWL(0 -1 0.2499 -1 0.25 1)
SYMBOL diode -720 -400 R0
SYMATTR InstName D6
SYMATTR Value 5082-2800
SYMBOL npn 1664 512 R0
SYMATTR InstName Q2
SYMATTR Value QPDTC123EM
SYMBOL res 1600 544 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R13
SYMATTR Value 2.2e3
SYMBOL res 1664 672 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R15
SYMATTR Value 2.2e3
SYMBOL LED_TRIAC_ZCS 1840 384 R0
SYMATTR SpiceModel ""
SYMATTR InstName U6
SYMATTR Value MOC3083
SYMBOL res 1712 224 R0
SYMATTR InstName R18
SYMATTR Value 1.5e3
SYMBOL res 2080 352 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R16
SYMATTR Value 390
SYMBOL cap 2112 480 R0
SYMATTR InstName C14
SYMATTR Value 10e-9
SYMBOL res 2240 320 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R19
SYMATTR Value 4.7e3
SYMBOL Digital\\dflop 1088 -112 R0
SYMATTR InstName A1
SYMBOL Digital\\dflop 1088 96 R0
SYMATTR InstName A2
SYMBOL Digital\\dflop 1088 304 R0
SYMATTR InstName A3
SYMBOL Digital\\dflop 1088 512 R0
SYMATTR InstName A4
SYMBOL diode -992 -272 R180
WINDOW 0 24 64 Left 2
WINDOW 3 -116 -6 Left 2
SYMATTR InstName D10
SYMATTR Value 1N5819HW
SYMBOL diode -1088 -592 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D9
SYMATTR Value 1N5819HW
SYMBOL res -496 -528 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R21
SYMATTR Value 10e3
SYMBOL res -256 -464 R0
SYMATTR InstName R2
SYMATTR Value 100e3
SYMBOL cap -768 -448 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C4
SYMATTR Value 1e-9
SYMBOL res 48 -384 R0
SYMATTR InstName R6
SYMATTR Value 1e6
SYMBOL cap 48 -144 R0
SYMATTR InstName C9
SYMATTR Value 100e-9
SYMBOL res 800 -192 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R8
SYMATTR Value 200e3
SYMBOL cap 768 -160 R0
SYMATTR InstName C10
SYMATTR Value 1e-6
TEXT -2168 -992 Left 2 !.MODEL ZTX450 NPN IS =3.941445E-14 BF =175 VAF=109.45 NF =1 IKF=.8 ISE=7.4025E-15 NE =1.3 BR =20.5 VAR=14.25 NR =.974 IKR=.1 ISC=3.157E-13 NC =1.2 RB =1.1 RE =.1259 RC =.0539 CJE=63E-12 TF =.75E-9 CJC=15.8E-12 TR =85E-9 VJC=.505 MJC=.39
TEXT -2168 -1360 Left 2 !.lib MM3Z12VT1G.LIB
TEXT -2168 -1320 Left 2 !.include MOC308x.lib
TEXT -2168 -1280 Left 2 !.include thyristr.lib
TEXT -2168 -1240 Left 2 !.lib TLC272.101
TEXT -2168 -1200 Left 2 !.MODEL 5082-2800 D(IS=2.2E-9, CJO=1.6E-12, VJ=.6, BV=75, IBV=1E-5 EG=0.69, N=1.08, RS=25, XTI=2, M=0.5)
TEXT -2168 -1152 Left 2 !.lib 2N7002.lib
TEXT -2168 -1112 Left 2 !.model uf5406 d(is = 1.15563E-005 n = 3.45 rs = 0.0887337 eg = 1.11 xti = 3 cjo = 9.14327E-011 vj = 0.298558 m = 0.347605 fc = 0.5 tt = 1.57227E-007 bv = 660 ibv = 0.3 af = 1 kf = 0)
TEXT -2168 -1072 Left 2 !.MODEL MainsOff SW(Vt=0.0)
TEXT -2168 -1032 Left 2 !.lib PDTC123EM.prm
TEXT -2168 -952 Left 2 !.MODEL 1N5819HW D ( IS=191u RS=42.0m BV=40.0 IBV=1.00m CJO=239p M=0.333 N=1.70 TT=7.20n )
TEXT -2170 -1394 Left 2 !.tran 1
TEXT 328 0 Left 2 !.ic V(Ttrig)=0 V(TCharge)=0
TEXT -904 -160 Left 2 !.ic V(PeakValue)=0
TEXT -704 96 Left 2 !.ic V(Rect)=0 V(12V)=0