-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.asc
112 lines (112 loc) · 2.39 KB
/
demo.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
Version 4
SHEET 1 964 680
WIRE 384 -192 224 -192
WIRE 464 -192 384 -192
WIRE 576 -192 544 -192
WIRE 288 -144 -32 -144
WIRE 288 -128 288 -144
WIRE 224 -112 224 -192
WIRE 256 -112 224 -112
WIRE 384 -96 384 -112
WIRE 384 -96 320 -96
WIRE 400 -96 384 -96
WIRE 576 -96 544 -96
WIRE -32 -80 -32 -144
WIRE 128 -80 -32 -80
WIRE 256 -80 224 -80
WIRE 288 -48 288 -64
WIRE 240 -32 208 -32
WIRE -32 0 -32 -80
WIRE 128 0 -32 0
WIRE 368 0 224 0
WIRE 464 0 432 0
WIRE 576 0 544 0
WIRE 240 48 240 -32
WIRE 240 48 208 48
WIRE -32 80 -32 0
WIRE 128 80 -32 80
WIRE 336 80 224 80
WIRE 464 80 400 80
WIRE 576 80 544 80
WIRE 240 128 240 48
WIRE 240 128 208 128
WIRE 240 160 240 128
WIRE 240 256 240 240
FLAG -32 -208 0
FLAG 576 -96 0
FLAG 576 0 0
FLAG 576 80 0
FLAG 576 -192 0
FLAG 240 256 0
FLAG 288 -48 0
SYMBOL Misc/cell -32 -208 M0
WINDOW 0 24 8 Left 1
WINDOW 3 24 56 Left 0
SYMATTR InstName V1
SYMATTR Value 10
SYMBOL nmos 128 -32 R270
WINDOW 0 56 32 Left 1
WINDOW 3 56 72 Left 0
SYMATTR InstName M1
SYMATTR Value NM1
SYMBOL nmos 128 48 R270
WINDOW 0 56 32 Left 1
WINDOW 3 56 72 Left 0
SYMATTR InstName M2
SYMATTR Value NM2
SYMBOL nmos 128 128 R270
WINDOW 0 56 32 Left 1
WINDOW 3 56 72 Left 0
SYMATTR InstName M3
SYMATTR Value NM1
SYMBOL OpAmps/OP07 288 -32 M180
WINDOW 0 16 32 Left 1
SYMATTR InstName U1
SYMBOL ind 560 -112 R90
WINDOW 0 5 56 VBottom 1
WINDOW 3 32 56 VTop 0
SYMATTR InstName L1
SYMATTR Value .5
SYMBOL ind 560 -16 R90
WINDOW 0 5 56 VBottom 1
WINDOW 3 32 56 VTop 0
SYMATTR InstName L2
SYMATTR Value .5
SYMBOL ind 560 64 R90
WINDOW 0 5 56 VBottom 1
WINDOW 3 32 56 VTop 0
SYMATTR InstName L3
SYMATTR Value .5
SYMBOL res 368 -208 R0
WINDOW 0 36 40 Left 1
WINDOW 3 36 76 Left 0
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL res 448 -176 R270
WINDOW 0 32 56 VTop 1
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL voltage 240 144 R0
WINDOW 0 24 16 Left 1
WINDOW 3 24 96 Left 0
SYMATTR InstName V2
SYMATTR Value PULSE(0 2 0 1 1 0 2)
SYMBOL Misc/cell 432 0 R90
WINDOW 0 -32 32 VBottom 1
WINDOW 3 32 32 VTop 0
SYMATTR InstName V4
SYMATTR Value 6.5
SYMBOL Misc/cell 400 80 R90
WINDOW 0 -32 32 VBottom 1
WINDOW 3 32 32 VTop 0
SYMATTR InstName V5
SYMATTR Value 7
SYMBOL Misc/cell 464 -96 R90
WINDOW 0 -32 32 VBottom 1
WINDOW 3 32 32 VTop 0
SYMATTR InstName V3
SYMATTR Value 5
TEXT 384 216 Left 0 !.tran 10mS 10S
TEXT 352 160 Left 0 !.model NM1 NMOS(Rg=1 Rd=0 Rs=30 Vto=3 Kp=70)
TEXT 352 184 Left 0 !.model NM2 NMOS(Rg=1 Rd=0 Rs=25 Vto=3 Kp=60)