circuit-json-to-spice 0.0.24 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +43 -19
- package/lib/circuitJsonToSpice.ts +53 -18
- package/package.json +3 -3
- package/tests/examples/ac-voltage-source.test.tsx +2 -21
- package/tests/examples/assets/AC-voltage-source.json +474 -0
- package/tests/examples/assets/Boost-converter-circuit.json +1739 -0
- package/tests/examples/assets/circuit-with-multiple-components.json +558 -0
- package/tests/examples/assets/circuit-with-unrelated-voltage-source-components.json +3890 -0
- package/tests/examples/assets/circuit1-simple-resistor-divider.json +298 -0
- package/tests/examples/assets/example01.json +301 -0
- package/tests/examples/assets/simple-resistor-divider.json +1620 -0
- package/tests/examples/boost-converter.test.tsx +2 -71
- package/tests/examples/circuit1.test.tsx +4 -32
- package/tests/examples/circuit2.test.tsx +2 -45
- package/tests/examples/example01.test.tsx +3 -22
- package/tests/examples/voltage-divider.test.tsx +2 -49
- package/tests/unit/assets/RC-circuit-with-trace.json +354 -0
- package/tests/unit/assets/circuit-with-simulation-voltage-source.json +978 -0
- package/tests/unit/assets/single-resistor-circuit.json +190 -0
- package/tests/unit/circuit-json-conversion.test.tsx +7 -57
- package/tests/unit/voltage-probe.test.ts +75 -22
- package/tests/fixtures/getTestFixture.tsx +0 -7
|
@@ -0,0 +1,1739 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "source_project_metadata",
|
|
4
|
+
"source_project_metadata_id": "source_project_metadata_0",
|
|
5
|
+
"software_used_string": "@tscircuit/core@0.0.874"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"type": "source_group",
|
|
9
|
+
"source_group_id": "source_group_0",
|
|
10
|
+
"is_subcircuit": true,
|
|
11
|
+
"was_automatically_named": true,
|
|
12
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"type": "source_port",
|
|
16
|
+
"source_port_id": "source_port_0",
|
|
17
|
+
"name": "pin1",
|
|
18
|
+
"pin_number": 1,
|
|
19
|
+
"port_hints": ["pin1", "terminal1", "1"],
|
|
20
|
+
"source_component_id": "source_component_0",
|
|
21
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
22
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net0"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"type": "source_port",
|
|
26
|
+
"source_port_id": "source_port_1",
|
|
27
|
+
"name": "pin2",
|
|
28
|
+
"pin_number": 2,
|
|
29
|
+
"port_hints": ["pin2", "terminal2", "2"],
|
|
30
|
+
"source_component_id": "source_component_0",
|
|
31
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
32
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net3"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"type": "source_component",
|
|
36
|
+
"source_component_id": "source_component_0",
|
|
37
|
+
"ftype": "simple_voltage_source",
|
|
38
|
+
"name": "V1",
|
|
39
|
+
"voltage": 5,
|
|
40
|
+
"are_pins_interchangeable": true,
|
|
41
|
+
"source_group_id": "source_group_0"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "source_port",
|
|
45
|
+
"source_port_id": "source_port_2",
|
|
46
|
+
"name": "pin1",
|
|
47
|
+
"pin_number": 1,
|
|
48
|
+
"port_hints": ["pin1", "anode", "pos", "left", "1"],
|
|
49
|
+
"source_component_id": "source_component_1",
|
|
50
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
51
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net0"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "source_port",
|
|
55
|
+
"source_port_id": "source_port_3",
|
|
56
|
+
"name": "pin2",
|
|
57
|
+
"pin_number": 2,
|
|
58
|
+
"port_hints": ["pin2", "cathode", "neg", "right", "2"],
|
|
59
|
+
"source_component_id": "source_component_1",
|
|
60
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
61
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net1"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"type": "source_component",
|
|
65
|
+
"source_component_id": "source_component_1",
|
|
66
|
+
"name": "L1",
|
|
67
|
+
"ftype": "simple_inductor",
|
|
68
|
+
"inductance": 1,
|
|
69
|
+
"are_pins_interchangeable": true,
|
|
70
|
+
"source_group_id": "source_group_0"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "source_port",
|
|
74
|
+
"source_port_id": "source_port_4",
|
|
75
|
+
"name": "pin1",
|
|
76
|
+
"pin_number": 1,
|
|
77
|
+
"port_hints": ["pin1", "pos", "anode", "left", "1"],
|
|
78
|
+
"source_component_id": "source_component_2",
|
|
79
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
80
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net1"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"type": "source_port",
|
|
84
|
+
"source_port_id": "source_port_5",
|
|
85
|
+
"name": "pin2",
|
|
86
|
+
"pin_number": 2,
|
|
87
|
+
"port_hints": ["pin2", "neg", "cathode", "right", "2"],
|
|
88
|
+
"source_component_id": "source_component_2",
|
|
89
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
90
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net2"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"type": "source_component",
|
|
94
|
+
"source_component_id": "source_component_2",
|
|
95
|
+
"ftype": "simple_diode",
|
|
96
|
+
"name": "D1",
|
|
97
|
+
"are_pins_interchangeable": false,
|
|
98
|
+
"source_group_id": "source_group_0"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"type": "source_port",
|
|
102
|
+
"source_port_id": "source_port_6",
|
|
103
|
+
"name": "pin2",
|
|
104
|
+
"pin_number": 2,
|
|
105
|
+
"port_hints": ["pin2", "neg", "cathode", "2"],
|
|
106
|
+
"source_component_id": "source_component_3",
|
|
107
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
108
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net3"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"type": "source_port",
|
|
112
|
+
"source_port_id": "source_port_7",
|
|
113
|
+
"name": "pin1",
|
|
114
|
+
"pin_number": 1,
|
|
115
|
+
"port_hints": ["pin1", "pos", "anode", "1"],
|
|
116
|
+
"source_component_id": "source_component_3",
|
|
117
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
118
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net2"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"type": "source_component",
|
|
122
|
+
"source_component_id": "source_component_3",
|
|
123
|
+
"ftype": "simple_capacitor",
|
|
124
|
+
"name": "C1",
|
|
125
|
+
"capacitance": 0.00001,
|
|
126
|
+
"display_capacitance": "10uF",
|
|
127
|
+
"are_pins_interchangeable": false,
|
|
128
|
+
"source_group_id": "source_group_0"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"type": "source_port",
|
|
132
|
+
"source_port_id": "source_port_8",
|
|
133
|
+
"name": "pin1",
|
|
134
|
+
"pin_number": 1,
|
|
135
|
+
"port_hints": ["pin1", "anode", "pos", "left", "1"],
|
|
136
|
+
"source_component_id": "source_component_4",
|
|
137
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
138
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net2"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"type": "source_port",
|
|
142
|
+
"source_port_id": "source_port_9",
|
|
143
|
+
"name": "pin2",
|
|
144
|
+
"pin_number": 2,
|
|
145
|
+
"port_hints": ["pin2", "cathode", "neg", "right", "2"],
|
|
146
|
+
"source_component_id": "source_component_4",
|
|
147
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
148
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net3"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"type": "source_component",
|
|
152
|
+
"source_component_id": "source_component_4",
|
|
153
|
+
"ftype": "simple_resistor",
|
|
154
|
+
"name": "R1",
|
|
155
|
+
"resistance": 1000,
|
|
156
|
+
"display_resistance": "1kΩ",
|
|
157
|
+
"are_pins_interchangeable": true,
|
|
158
|
+
"source_group_id": "source_group_0"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"type": "source_port",
|
|
162
|
+
"source_port_id": "source_port_10",
|
|
163
|
+
"name": "pin1",
|
|
164
|
+
"pin_number": 1,
|
|
165
|
+
"port_hints": ["pin1", "pos", "terminal1", "1"],
|
|
166
|
+
"source_component_id": "source_component_5",
|
|
167
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
168
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net4"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"type": "source_port",
|
|
172
|
+
"source_port_id": "source_port_11",
|
|
173
|
+
"name": "pin2",
|
|
174
|
+
"pin_number": 2,
|
|
175
|
+
"port_hints": ["pin2", "neg", "terminal2", "2"],
|
|
176
|
+
"source_component_id": "source_component_5",
|
|
177
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
178
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net3"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"type": "source_component",
|
|
182
|
+
"source_component_id": "source_component_5",
|
|
183
|
+
"ftype": "simple_voltage_source",
|
|
184
|
+
"name": "V2",
|
|
185
|
+
"voltage": 10,
|
|
186
|
+
"frequency": 1000,
|
|
187
|
+
"wave_shape": "square",
|
|
188
|
+
"duty_cycle": 0.68,
|
|
189
|
+
"are_pins_interchangeable": true,
|
|
190
|
+
"source_group_id": "source_group_0"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"type": "source_port",
|
|
194
|
+
"source_port_id": "source_port_12",
|
|
195
|
+
"name": "pin1",
|
|
196
|
+
"pin_number": 1,
|
|
197
|
+
"port_hints": ["pin1", "drain", "1"],
|
|
198
|
+
"source_component_id": "source_component_6",
|
|
199
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
200
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net1"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"type": "source_port",
|
|
204
|
+
"source_port_id": "source_port_13",
|
|
205
|
+
"name": "pin2",
|
|
206
|
+
"pin_number": 2,
|
|
207
|
+
"port_hints": ["pin2", "source", "2"],
|
|
208
|
+
"source_component_id": "source_component_6",
|
|
209
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
210
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net3"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"type": "source_port",
|
|
214
|
+
"source_port_id": "source_port_14",
|
|
215
|
+
"name": "pin3",
|
|
216
|
+
"pin_number": 3,
|
|
217
|
+
"port_hints": ["pin3", "gate", "3"],
|
|
218
|
+
"source_component_id": "source_component_6",
|
|
219
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
220
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net4"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"type": "source_component",
|
|
224
|
+
"source_component_id": "source_component_6",
|
|
225
|
+
"ftype": "simple_mosfet",
|
|
226
|
+
"name": "M1",
|
|
227
|
+
"mosfet_mode": "enhancement",
|
|
228
|
+
"channel_type": "n",
|
|
229
|
+
"source_group_id": "source_group_0"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"type": "source_net",
|
|
233
|
+
"source_net_id": "source_net_0",
|
|
234
|
+
"name": "GND",
|
|
235
|
+
"member_source_group_ids": [],
|
|
236
|
+
"is_ground": true,
|
|
237
|
+
"is_power": false,
|
|
238
|
+
"is_positive_voltage_source": false,
|
|
239
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
240
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net3"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"type": "source_board",
|
|
244
|
+
"source_board_id": "source_board_0",
|
|
245
|
+
"source_group_id": "source_group_0"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"type": "source_trace",
|
|
249
|
+
"source_trace_id": "source_trace_0",
|
|
250
|
+
"connected_source_port_ids": ["source_port_0", "source_port_2"],
|
|
251
|
+
"connected_source_net_ids": [],
|
|
252
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
253
|
+
"display_name": ".V1 > .pin1 to .L1 > .pin1",
|
|
254
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net0"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"type": "source_trace",
|
|
258
|
+
"source_trace_id": "source_trace_1",
|
|
259
|
+
"connected_source_port_ids": ["source_port_3", "source_port_4"],
|
|
260
|
+
"connected_source_net_ids": [],
|
|
261
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
262
|
+
"display_name": ".L1 > .pin2 to .D1 > .anode",
|
|
263
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net1"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"type": "source_trace",
|
|
267
|
+
"source_trace_id": "source_trace_2",
|
|
268
|
+
"connected_source_port_ids": ["source_port_5", "source_port_7"],
|
|
269
|
+
"connected_source_net_ids": [],
|
|
270
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
271
|
+
"max_length": null,
|
|
272
|
+
"display_name": ".D1 > .cathode to .C1 > .pin1",
|
|
273
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net2"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"type": "source_trace",
|
|
277
|
+
"source_trace_id": "source_trace_3",
|
|
278
|
+
"connected_source_port_ids": ["source_port_5", "source_port_8"],
|
|
279
|
+
"connected_source_net_ids": [],
|
|
280
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
281
|
+
"display_name": ".D1 > .cathode to .R1 > .pin1",
|
|
282
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net2"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"type": "source_trace",
|
|
286
|
+
"source_trace_id": "source_trace_4",
|
|
287
|
+
"connected_source_port_ids": ["source_port_6", "source_port_9"],
|
|
288
|
+
"connected_source_net_ids": [],
|
|
289
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
290
|
+
"max_length": null,
|
|
291
|
+
"display_name": ".C1 > .pin2 to .R1 > .pin2",
|
|
292
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net3"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"type": "source_trace",
|
|
296
|
+
"source_trace_id": "source_trace_5",
|
|
297
|
+
"connected_source_port_ids": ["source_port_9", "source_port_1"],
|
|
298
|
+
"connected_source_net_ids": [],
|
|
299
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
300
|
+
"display_name": ".R1 > .pin2 to .V1 > .pin2",
|
|
301
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net3"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"type": "source_trace",
|
|
305
|
+
"source_trace_id": "source_trace_6",
|
|
306
|
+
"connected_source_port_ids": ["source_port_3", "source_port_12"],
|
|
307
|
+
"connected_source_net_ids": [],
|
|
308
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
309
|
+
"display_name": ".L1 > .pin2 to .M1 > .drain",
|
|
310
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net1"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"type": "source_trace",
|
|
314
|
+
"source_trace_id": "source_trace_7",
|
|
315
|
+
"connected_source_port_ids": ["source_port_13", "source_port_1"],
|
|
316
|
+
"connected_source_net_ids": [],
|
|
317
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
318
|
+
"display_name": ".M1 > .source to .V1 > .pin2",
|
|
319
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net3"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"type": "source_trace",
|
|
323
|
+
"source_trace_id": "source_trace_8",
|
|
324
|
+
"connected_source_port_ids": ["source_port_13"],
|
|
325
|
+
"connected_source_net_ids": ["source_net_0"],
|
|
326
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
327
|
+
"display_name": ".M1 > .source to net.GND",
|
|
328
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net3"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"type": "source_trace",
|
|
332
|
+
"source_trace_id": "source_trace_9",
|
|
333
|
+
"connected_source_port_ids": ["source_port_14", "source_port_10"],
|
|
334
|
+
"connected_source_net_ids": [],
|
|
335
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
336
|
+
"display_name": ".M1 > .gate to .V2 > .pin1",
|
|
337
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net4"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"type": "source_trace",
|
|
341
|
+
"source_trace_id": "source_trace_10",
|
|
342
|
+
"connected_source_port_ids": ["source_port_11", "source_port_1"],
|
|
343
|
+
"connected_source_net_ids": [],
|
|
344
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
345
|
+
"display_name": ".V2 > .pin2 to .V1 > .pin2",
|
|
346
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net3"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"type": "simulation_voltage_source",
|
|
350
|
+
"simulation_voltage_source_id": "simulation_voltage_source_0",
|
|
351
|
+
"is_dc_source": false,
|
|
352
|
+
"terminal1_source_port_id": "source_port_0",
|
|
353
|
+
"terminal2_source_port_id": "source_port_1",
|
|
354
|
+
"voltage": 5
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"type": "simulation_voltage_source",
|
|
358
|
+
"simulation_voltage_source_id": "simulation_voltage_source_1",
|
|
359
|
+
"is_dc_source": false,
|
|
360
|
+
"terminal1_source_port_id": "source_port_10",
|
|
361
|
+
"terminal2_source_port_id": "source_port_11",
|
|
362
|
+
"voltage": 10,
|
|
363
|
+
"frequency": 1000,
|
|
364
|
+
"wave_shape": "square",
|
|
365
|
+
"duty_cycle": 0.68
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"type": "schematic_component",
|
|
369
|
+
"schematic_component_id": "schematic_component_0",
|
|
370
|
+
"center": {
|
|
371
|
+
"x": -5,
|
|
372
|
+
"y": 2
|
|
373
|
+
},
|
|
374
|
+
"size": {
|
|
375
|
+
"width": 0.6394553499999995,
|
|
376
|
+
"height": 1.08
|
|
377
|
+
},
|
|
378
|
+
"source_component_id": "source_component_0",
|
|
379
|
+
"is_box_with_pins": true,
|
|
380
|
+
"symbol_name": "ac_voltmeter_down",
|
|
381
|
+
"schematic_group_id": "schematic_group_0"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"type": "schematic_component",
|
|
385
|
+
"schematic_component_id": "schematic_component_1",
|
|
386
|
+
"center": {
|
|
387
|
+
"x": 0,
|
|
388
|
+
"y": 3
|
|
389
|
+
},
|
|
390
|
+
"size": {
|
|
391
|
+
"width": 1.16,
|
|
392
|
+
"height": 0.46
|
|
393
|
+
},
|
|
394
|
+
"source_component_id": "source_component_1",
|
|
395
|
+
"is_box_with_pins": true,
|
|
396
|
+
"symbol_name": "inductor_right",
|
|
397
|
+
"symbol_display_value": "1H",
|
|
398
|
+
"schematic_group_id": "schematic_group_0"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"type": "schematic_component",
|
|
402
|
+
"schematic_component_id": "schematic_component_2",
|
|
403
|
+
"center": {
|
|
404
|
+
"x": 3,
|
|
405
|
+
"y": 3
|
|
406
|
+
},
|
|
407
|
+
"size": {
|
|
408
|
+
"width": 1.04,
|
|
409
|
+
"height": 0.54
|
|
410
|
+
},
|
|
411
|
+
"source_component_id": "source_component_2",
|
|
412
|
+
"is_box_with_pins": true,
|
|
413
|
+
"symbol_name": "diode_right",
|
|
414
|
+
"schematic_group_id": "schematic_group_0"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"type": "schematic_component",
|
|
418
|
+
"schematic_component_id": "schematic_component_3",
|
|
419
|
+
"center": {
|
|
420
|
+
"x": 3,
|
|
421
|
+
"y": 0
|
|
422
|
+
},
|
|
423
|
+
"size": {
|
|
424
|
+
"width": 0.5700000000000001,
|
|
425
|
+
"height": 0.99
|
|
426
|
+
},
|
|
427
|
+
"source_component_id": "source_component_3",
|
|
428
|
+
"is_box_with_pins": true,
|
|
429
|
+
"symbol_name": "capacitor_polarized_down",
|
|
430
|
+
"symbol_display_value": "10uF",
|
|
431
|
+
"schematic_group_id": "schematic_group_0"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"type": "schematic_component",
|
|
435
|
+
"schematic_component_id": "schematic_component_4",
|
|
436
|
+
"center": {
|
|
437
|
+
"x": 6,
|
|
438
|
+
"y": 0
|
|
439
|
+
},
|
|
440
|
+
"size": {
|
|
441
|
+
"width": 0.3194553499999995,
|
|
442
|
+
"height": 1.1
|
|
443
|
+
},
|
|
444
|
+
"source_component_id": "source_component_4",
|
|
445
|
+
"is_box_with_pins": true,
|
|
446
|
+
"symbol_name": "boxresistor_down",
|
|
447
|
+
"symbol_display_value": "1kΩ",
|
|
448
|
+
"schematic_group_id": "schematic_group_0"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"type": "schematic_component",
|
|
452
|
+
"schematic_component_id": "schematic_component_5",
|
|
453
|
+
"center": {
|
|
454
|
+
"x": -3,
|
|
455
|
+
"y": 0
|
|
456
|
+
},
|
|
457
|
+
"size": {
|
|
458
|
+
"width": 0.39624869999999945,
|
|
459
|
+
"height": 0.8916016
|
|
460
|
+
},
|
|
461
|
+
"source_component_id": "source_component_5",
|
|
462
|
+
"is_box_with_pins": true,
|
|
463
|
+
"symbol_name": "square_wave_down",
|
|
464
|
+
"schematic_group_id": "schematic_group_0"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"type": "schematic_component",
|
|
468
|
+
"schematic_component_id": "schematic_component_6",
|
|
469
|
+
"center": {
|
|
470
|
+
"x": 0,
|
|
471
|
+
"y": 0
|
|
472
|
+
},
|
|
473
|
+
"size": {
|
|
474
|
+
"width": 0.89,
|
|
475
|
+
"height": 1.16
|
|
476
|
+
},
|
|
477
|
+
"source_component_id": "source_component_6",
|
|
478
|
+
"is_box_with_pins": true,
|
|
479
|
+
"symbol_name": "n_channel_e_mosfet_transistor_horz",
|
|
480
|
+
"schematic_group_id": "schematic_group_0"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"type": "schematic_group",
|
|
484
|
+
"schematic_group_id": "schematic_group_0",
|
|
485
|
+
"is_subcircuit": true,
|
|
486
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
487
|
+
"name": "unnamed_board1",
|
|
488
|
+
"center": {
|
|
489
|
+
"x": 0,
|
|
490
|
+
"y": 0
|
|
491
|
+
},
|
|
492
|
+
"width": 0,
|
|
493
|
+
"height": 0,
|
|
494
|
+
"schematic_component_ids": [],
|
|
495
|
+
"source_group_id": "source_group_0"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"type": "schematic_port",
|
|
499
|
+
"schematic_port_id": "schematic_port_0",
|
|
500
|
+
"schematic_component_id": "schematic_component_0",
|
|
501
|
+
"center": {
|
|
502
|
+
"x": -5.005,
|
|
503
|
+
"y": 2.54
|
|
504
|
+
},
|
|
505
|
+
"source_port_id": "source_port_0",
|
|
506
|
+
"facing_direction": "up",
|
|
507
|
+
"distance_from_component_edge": 0.4,
|
|
508
|
+
"pin_number": 1,
|
|
509
|
+
"display_pin_label": "terminal1",
|
|
510
|
+
"is_connected": true
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"type": "schematic_port",
|
|
514
|
+
"schematic_port_id": "schematic_port_1",
|
|
515
|
+
"schematic_component_id": "schematic_component_0",
|
|
516
|
+
"center": {
|
|
517
|
+
"x": -4.995,
|
|
518
|
+
"y": 1.46
|
|
519
|
+
},
|
|
520
|
+
"source_port_id": "source_port_1",
|
|
521
|
+
"facing_direction": "down",
|
|
522
|
+
"distance_from_component_edge": 0.4,
|
|
523
|
+
"pin_number": 2,
|
|
524
|
+
"display_pin_label": "terminal2",
|
|
525
|
+
"is_connected": true
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"type": "schematic_port",
|
|
529
|
+
"schematic_port_id": "schematic_port_2",
|
|
530
|
+
"schematic_component_id": "schematic_component_1",
|
|
531
|
+
"center": {
|
|
532
|
+
"x": -0.55,
|
|
533
|
+
"y": 2.98
|
|
534
|
+
},
|
|
535
|
+
"source_port_id": "source_port_2",
|
|
536
|
+
"facing_direction": "left",
|
|
537
|
+
"distance_from_component_edge": 0.4,
|
|
538
|
+
"pin_number": 1,
|
|
539
|
+
"display_pin_label": "anode",
|
|
540
|
+
"is_connected": true
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"type": "schematic_port",
|
|
544
|
+
"schematic_port_id": "schematic_port_3",
|
|
545
|
+
"schematic_component_id": "schematic_component_1",
|
|
546
|
+
"center": {
|
|
547
|
+
"x": 0.55,
|
|
548
|
+
"y": 2.97
|
|
549
|
+
},
|
|
550
|
+
"source_port_id": "source_port_3",
|
|
551
|
+
"facing_direction": "right",
|
|
552
|
+
"distance_from_component_edge": 0.4,
|
|
553
|
+
"pin_number": 2,
|
|
554
|
+
"display_pin_label": "cathode",
|
|
555
|
+
"is_connected": true
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"type": "schematic_port",
|
|
559
|
+
"schematic_port_id": "schematic_port_4",
|
|
560
|
+
"schematic_component_id": "schematic_component_2",
|
|
561
|
+
"center": {
|
|
562
|
+
"x": 2.48,
|
|
563
|
+
"y": 3
|
|
564
|
+
},
|
|
565
|
+
"source_port_id": "source_port_4",
|
|
566
|
+
"facing_direction": "left",
|
|
567
|
+
"distance_from_component_edge": 0.4,
|
|
568
|
+
"pin_number": 1,
|
|
569
|
+
"display_pin_label": "pos",
|
|
570
|
+
"is_connected": true
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"type": "schematic_port",
|
|
574
|
+
"schematic_port_id": "schematic_port_5",
|
|
575
|
+
"schematic_component_id": "schematic_component_2",
|
|
576
|
+
"center": {
|
|
577
|
+
"x": 3.52,
|
|
578
|
+
"y": 3
|
|
579
|
+
},
|
|
580
|
+
"source_port_id": "source_port_5",
|
|
581
|
+
"facing_direction": "right",
|
|
582
|
+
"distance_from_component_edge": 0.4,
|
|
583
|
+
"pin_number": 2,
|
|
584
|
+
"display_pin_label": "neg",
|
|
585
|
+
"is_connected": true
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"type": "schematic_port",
|
|
589
|
+
"schematic_port_id": "schematic_port_6",
|
|
590
|
+
"schematic_component_id": "schematic_component_3",
|
|
591
|
+
"center": {
|
|
592
|
+
"x": 3,
|
|
593
|
+
"y": -0.49500000000000005
|
|
594
|
+
},
|
|
595
|
+
"source_port_id": "source_port_6",
|
|
596
|
+
"facing_direction": "down",
|
|
597
|
+
"distance_from_component_edge": 0.4,
|
|
598
|
+
"pin_number": 2,
|
|
599
|
+
"display_pin_label": "neg",
|
|
600
|
+
"is_connected": true
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"type": "schematic_port",
|
|
604
|
+
"schematic_port_id": "schematic_port_7",
|
|
605
|
+
"schematic_component_id": "schematic_component_3",
|
|
606
|
+
"center": {
|
|
607
|
+
"x": 3,
|
|
608
|
+
"y": 0.495
|
|
609
|
+
},
|
|
610
|
+
"source_port_id": "source_port_7",
|
|
611
|
+
"facing_direction": "up",
|
|
612
|
+
"distance_from_component_edge": 0.4,
|
|
613
|
+
"pin_number": 1,
|
|
614
|
+
"display_pin_label": "pos",
|
|
615
|
+
"is_connected": true
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"type": "schematic_port",
|
|
619
|
+
"schematic_port_id": "schematic_port_8",
|
|
620
|
+
"schematic_component_id": "schematic_component_4",
|
|
621
|
+
"center": {
|
|
622
|
+
"x": 6,
|
|
623
|
+
"y": 0.5499999999999999
|
|
624
|
+
},
|
|
625
|
+
"source_port_id": "source_port_8",
|
|
626
|
+
"facing_direction": "up",
|
|
627
|
+
"distance_from_component_edge": 0.4,
|
|
628
|
+
"pin_number": 1,
|
|
629
|
+
"display_pin_label": "anode",
|
|
630
|
+
"is_connected": false
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"type": "schematic_port",
|
|
634
|
+
"schematic_port_id": "schematic_port_9",
|
|
635
|
+
"schematic_component_id": "schematic_component_4",
|
|
636
|
+
"center": {
|
|
637
|
+
"x": 6,
|
|
638
|
+
"y": -0.55
|
|
639
|
+
},
|
|
640
|
+
"source_port_id": "source_port_9",
|
|
641
|
+
"facing_direction": "down",
|
|
642
|
+
"distance_from_component_edge": 0.4,
|
|
643
|
+
"pin_number": 2,
|
|
644
|
+
"display_pin_label": "cathode",
|
|
645
|
+
"is_connected": false
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"type": "schematic_port",
|
|
649
|
+
"schematic_port_id": "schematic_port_10",
|
|
650
|
+
"schematic_component_id": "schematic_component_5",
|
|
651
|
+
"center": {
|
|
652
|
+
"x": -2.9999378,
|
|
653
|
+
"y": 0.4458008
|
|
654
|
+
},
|
|
655
|
+
"source_port_id": "source_port_10",
|
|
656
|
+
"facing_direction": "up",
|
|
657
|
+
"distance_from_component_edge": 0.4,
|
|
658
|
+
"pin_number": 1,
|
|
659
|
+
"display_pin_label": "pos",
|
|
660
|
+
"is_connected": true
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"type": "schematic_port",
|
|
664
|
+
"schematic_port_id": "schematic_port_11",
|
|
665
|
+
"schematic_component_id": "schematic_component_5",
|
|
666
|
+
"center": {
|
|
667
|
+
"x": -3.0000622,
|
|
668
|
+
"y": -0.4458008
|
|
669
|
+
},
|
|
670
|
+
"source_port_id": "source_port_11",
|
|
671
|
+
"facing_direction": "down",
|
|
672
|
+
"distance_from_component_edge": 0.4,
|
|
673
|
+
"pin_number": 2,
|
|
674
|
+
"display_pin_label": "neg",
|
|
675
|
+
"is_connected": true
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"type": "schematic_port",
|
|
679
|
+
"schematic_port_id": "schematic_port_12",
|
|
680
|
+
"schematic_component_id": "schematic_component_6",
|
|
681
|
+
"center": {
|
|
682
|
+
"x": 0.3,
|
|
683
|
+
"y": 0.55
|
|
684
|
+
},
|
|
685
|
+
"source_port_id": "source_port_12",
|
|
686
|
+
"facing_direction": "up",
|
|
687
|
+
"distance_from_component_edge": 0.4,
|
|
688
|
+
"pin_number": 1,
|
|
689
|
+
"display_pin_label": "drain",
|
|
690
|
+
"is_connected": false
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"type": "schematic_port",
|
|
694
|
+
"schematic_port_id": "schematic_port_13",
|
|
695
|
+
"schematic_component_id": "schematic_component_6",
|
|
696
|
+
"center": {
|
|
697
|
+
"x": 0.31,
|
|
698
|
+
"y": -0.55
|
|
699
|
+
},
|
|
700
|
+
"source_port_id": "source_port_13",
|
|
701
|
+
"facing_direction": "down",
|
|
702
|
+
"distance_from_component_edge": 0.4,
|
|
703
|
+
"pin_number": 2,
|
|
704
|
+
"display_pin_label": "source",
|
|
705
|
+
"is_connected": true
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"type": "schematic_port",
|
|
709
|
+
"schematic_port_id": "schematic_port_14",
|
|
710
|
+
"schematic_component_id": "schematic_component_6",
|
|
711
|
+
"center": {
|
|
712
|
+
"x": -0.42,
|
|
713
|
+
"y": -0.1
|
|
714
|
+
},
|
|
715
|
+
"source_port_id": "source_port_14",
|
|
716
|
+
"facing_direction": "left",
|
|
717
|
+
"distance_from_component_edge": 0.4,
|
|
718
|
+
"pin_number": 3,
|
|
719
|
+
"display_pin_label": "gate",
|
|
720
|
+
"is_connected": true
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"type": "schematic_trace",
|
|
724
|
+
"schematic_trace_id": "schematic_trace_0",
|
|
725
|
+
"source_trace_id": "solver_L1.2-D1.1",
|
|
726
|
+
"edges": [
|
|
727
|
+
{
|
|
728
|
+
"from": {
|
|
729
|
+
"x": 0.58,
|
|
730
|
+
"y": 2.97
|
|
731
|
+
},
|
|
732
|
+
"to": {
|
|
733
|
+
"x": 1.53,
|
|
734
|
+
"y": 2.97
|
|
735
|
+
}
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"from": {
|
|
739
|
+
"x": 1.53,
|
|
740
|
+
"y": 2.97
|
|
741
|
+
},
|
|
742
|
+
"to": {
|
|
743
|
+
"x": 1.53,
|
|
744
|
+
"y": 3
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
"from": {
|
|
749
|
+
"x": 1.53,
|
|
750
|
+
"y": 3
|
|
751
|
+
},
|
|
752
|
+
"to": {
|
|
753
|
+
"x": 2.48,
|
|
754
|
+
"y": 3
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
],
|
|
758
|
+
"junctions": [],
|
|
759
|
+
"subcircuit_connectivity_map_key": "unnamedsubcircuit425_connectivity_net1"
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"type": "schematic_trace",
|
|
763
|
+
"schematic_trace_id": "schematic_trace_1",
|
|
764
|
+
"source_trace_id": "solver_V1.1-L1.1",
|
|
765
|
+
"edges": [
|
|
766
|
+
{
|
|
767
|
+
"from": {
|
|
768
|
+
"x": -5.005,
|
|
769
|
+
"y": 2.54
|
|
770
|
+
},
|
|
771
|
+
"to": {
|
|
772
|
+
"x": -5.005,
|
|
773
|
+
"y": 2.9800000000000004
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"from": {
|
|
778
|
+
"x": -5.005,
|
|
779
|
+
"y": 2.9800000000000004
|
|
780
|
+
},
|
|
781
|
+
"to": {
|
|
782
|
+
"x": -0.5800000000000001,
|
|
783
|
+
"y": 2.9800000000000004
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
],
|
|
787
|
+
"junctions": []
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
"type": "schematic_trace",
|
|
791
|
+
"schematic_trace_id": "schematic_trace_2",
|
|
792
|
+
"source_trace_id": "solver_D1.2-C1.1",
|
|
793
|
+
"edges": [
|
|
794
|
+
{
|
|
795
|
+
"from": {
|
|
796
|
+
"x": 3.52,
|
|
797
|
+
"y": 3
|
|
798
|
+
},
|
|
799
|
+
"to": {
|
|
800
|
+
"x": 3.7199999999999998,
|
|
801
|
+
"y": 3
|
|
802
|
+
}
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"from": {
|
|
806
|
+
"x": 3.7199999999999998,
|
|
807
|
+
"y": 3
|
|
808
|
+
},
|
|
809
|
+
"to": {
|
|
810
|
+
"x": 3.7199999999999998,
|
|
811
|
+
"y": 1.7474999999999996
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"from": {
|
|
816
|
+
"x": 3.7199999999999998,
|
|
817
|
+
"y": 1.7474999999999996
|
|
818
|
+
},
|
|
819
|
+
"to": {
|
|
820
|
+
"x": 3,
|
|
821
|
+
"y": 1.7474999999999996
|
|
822
|
+
}
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"from": {
|
|
826
|
+
"x": 3,
|
|
827
|
+
"y": 1.7474999999999996
|
|
828
|
+
},
|
|
829
|
+
"to": {
|
|
830
|
+
"x": 3,
|
|
831
|
+
"y": 0.49500000000000005
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
],
|
|
835
|
+
"junctions": []
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
"type": "schematic_trace",
|
|
839
|
+
"schematic_trace_id": "schematic_trace_3",
|
|
840
|
+
"source_trace_id": "solver_C1.2-M1.2",
|
|
841
|
+
"edges": [
|
|
842
|
+
{
|
|
843
|
+
"from": {
|
|
844
|
+
"x": 3,
|
|
845
|
+
"y": -0.4950000000000001
|
|
846
|
+
},
|
|
847
|
+
"to": {
|
|
848
|
+
"x": 3,
|
|
849
|
+
"y": -0.78
|
|
850
|
+
}
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"from": {
|
|
854
|
+
"x": 3,
|
|
855
|
+
"y": -0.78
|
|
856
|
+
},
|
|
857
|
+
"to": {
|
|
858
|
+
"x": 0.31,
|
|
859
|
+
"y": -0.78
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"from": {
|
|
864
|
+
"x": 0.31,
|
|
865
|
+
"y": -0.78
|
|
866
|
+
},
|
|
867
|
+
"to": {
|
|
868
|
+
"x": 0.31,
|
|
869
|
+
"y": -0.58
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
],
|
|
873
|
+
"junctions": []
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"type": "schematic_trace",
|
|
877
|
+
"schematic_trace_id": "schematic_trace_4",
|
|
878
|
+
"source_trace_id": "solver_V1.2-V2.2",
|
|
879
|
+
"edges": [
|
|
880
|
+
{
|
|
881
|
+
"from": {
|
|
882
|
+
"x": -4.995,
|
|
883
|
+
"y": 1.46
|
|
884
|
+
},
|
|
885
|
+
"to": {
|
|
886
|
+
"x": -4.995,
|
|
887
|
+
"y": -0.6458008
|
|
888
|
+
}
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"from": {
|
|
892
|
+
"x": -4.995,
|
|
893
|
+
"y": -0.6458008
|
|
894
|
+
},
|
|
895
|
+
"to": {
|
|
896
|
+
"x": -3.0000622,
|
|
897
|
+
"y": -0.6458008
|
|
898
|
+
}
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"from": {
|
|
902
|
+
"x": -3.0000622,
|
|
903
|
+
"y": -0.6458008
|
|
904
|
+
},
|
|
905
|
+
"to": {
|
|
906
|
+
"x": -3.0000622,
|
|
907
|
+
"y": -0.4458007999999998
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
],
|
|
911
|
+
"junctions": []
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"type": "schematic_trace",
|
|
915
|
+
"schematic_trace_id": "schematic_trace_5",
|
|
916
|
+
"source_trace_id": "solver_M1.3-V2.1",
|
|
917
|
+
"edges": [
|
|
918
|
+
{
|
|
919
|
+
"from": {
|
|
920
|
+
"x": -0.44499999999999984,
|
|
921
|
+
"y": -0.09999999999999987
|
|
922
|
+
},
|
|
923
|
+
"to": {
|
|
924
|
+
"x": -1.7224689,
|
|
925
|
+
"y": -0.09999999999999987
|
|
926
|
+
}
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
"from": {
|
|
930
|
+
"x": -1.7224689,
|
|
931
|
+
"y": -0.09999999999999987
|
|
932
|
+
},
|
|
933
|
+
"to": {
|
|
934
|
+
"x": -1.7224689,
|
|
935
|
+
"y": 0.6458008000000002
|
|
936
|
+
}
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"from": {
|
|
940
|
+
"x": -1.7224689,
|
|
941
|
+
"y": 0.6458008000000002
|
|
942
|
+
},
|
|
943
|
+
"to": {
|
|
944
|
+
"x": -2.9999378,
|
|
945
|
+
"y": 0.6458008000000002
|
|
946
|
+
}
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"from": {
|
|
950
|
+
"x": -2.9999378,
|
|
951
|
+
"y": 0.6458008000000002
|
|
952
|
+
},
|
|
953
|
+
"to": {
|
|
954
|
+
"x": -2.9999378,
|
|
955
|
+
"y": 0.4458008
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
],
|
|
959
|
+
"junctions": []
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"type": "schematic_net_label",
|
|
963
|
+
"schematic_net_label_id": "schematic_net_label_0",
|
|
964
|
+
"text": "V1_pin1/L1_pin1",
|
|
965
|
+
"anchor_position": {
|
|
966
|
+
"x": -5.005,
|
|
967
|
+
"y": 2.7600000000000002
|
|
968
|
+
},
|
|
969
|
+
"center": {
|
|
970
|
+
"x": -4.255,
|
|
971
|
+
"y": 2.7600000000000002
|
|
972
|
+
},
|
|
973
|
+
"anchor_side": "left"
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"type": "schematic_net_label",
|
|
977
|
+
"schematic_net_label_id": "schematic_net_label_1",
|
|
978
|
+
"text": "GND",
|
|
979
|
+
"anchor_position": {
|
|
980
|
+
"x": 3,
|
|
981
|
+
"y": -0.78
|
|
982
|
+
},
|
|
983
|
+
"center": {
|
|
984
|
+
"x": 3,
|
|
985
|
+
"y": -0.87
|
|
986
|
+
},
|
|
987
|
+
"anchor_side": "top",
|
|
988
|
+
"source_net_id": "source_net_0",
|
|
989
|
+
"symbol_name": "rail_down"
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
"type": "schematic_net_label",
|
|
993
|
+
"schematic_net_label_id": "schematic_net_label_2",
|
|
994
|
+
"text": "GND",
|
|
995
|
+
"anchor_position": {
|
|
996
|
+
"x": 6,
|
|
997
|
+
"y": -0.55
|
|
998
|
+
},
|
|
999
|
+
"center": {
|
|
1000
|
+
"x": 6,
|
|
1001
|
+
"y": -0.64
|
|
1002
|
+
},
|
|
1003
|
+
"anchor_side": "top",
|
|
1004
|
+
"source_net_id": "source_net_0",
|
|
1005
|
+
"symbol_name": "rail_down"
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"type": "schematic_net_label",
|
|
1009
|
+
"schematic_net_label_id": "schematic_net_label_3",
|
|
1010
|
+
"text": "GND",
|
|
1011
|
+
"anchor_position": {
|
|
1012
|
+
"x": -4.995,
|
|
1013
|
+
"y": -0.6458008
|
|
1014
|
+
},
|
|
1015
|
+
"center": {
|
|
1016
|
+
"x": -4.995,
|
|
1017
|
+
"y": -0.7358007999999999
|
|
1018
|
+
},
|
|
1019
|
+
"anchor_side": "top",
|
|
1020
|
+
"source_net_id": "source_net_0",
|
|
1021
|
+
"symbol_name": "rail_down"
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
"type": "schematic_net_label",
|
|
1025
|
+
"schematic_net_label_id": "schematic_net_label_4",
|
|
1026
|
+
"text": "L1_pin2/D1_pin1/M1_pin1",
|
|
1027
|
+
"anchor_position": {
|
|
1028
|
+
"x": 0.3,
|
|
1029
|
+
"y": 0.58
|
|
1030
|
+
},
|
|
1031
|
+
"center": {
|
|
1032
|
+
"x": 0.3,
|
|
1033
|
+
"y": 0.6699999999999999
|
|
1034
|
+
},
|
|
1035
|
+
"anchor_side": "bottom"
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"type": "schematic_net_label",
|
|
1039
|
+
"schematic_net_label_id": "schematic_net_label_5",
|
|
1040
|
+
"text": "D1_pin2/C1_pin1/R1_pin1",
|
|
1041
|
+
"anchor_position": {
|
|
1042
|
+
"x": 3.7199999999999998,
|
|
1043
|
+
"y": 3
|
|
1044
|
+
},
|
|
1045
|
+
"center": {
|
|
1046
|
+
"x": 3.7199999999999998,
|
|
1047
|
+
"y": 3.09
|
|
1048
|
+
},
|
|
1049
|
+
"anchor_side": "bottom"
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
"type": "schematic_net_label",
|
|
1053
|
+
"schematic_net_label_id": "schematic_net_label_6",
|
|
1054
|
+
"text": "D1_pin2/C1_pin1/R1_pin1",
|
|
1055
|
+
"anchor_position": {
|
|
1056
|
+
"x": 6,
|
|
1057
|
+
"y": 0.55
|
|
1058
|
+
},
|
|
1059
|
+
"center": {
|
|
1060
|
+
"x": 6,
|
|
1061
|
+
"y": 0.64
|
|
1062
|
+
},
|
|
1063
|
+
"anchor_side": "bottom"
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
"type": "schematic_net_label",
|
|
1067
|
+
"schematic_net_label_id": "schematic_net_label_7",
|
|
1068
|
+
"text": "V2_pin1/M1_pin3",
|
|
1069
|
+
"anchor_position": {
|
|
1070
|
+
"x": -1.08373445,
|
|
1071
|
+
"y": -0.09999999999999987
|
|
1072
|
+
},
|
|
1073
|
+
"center": {
|
|
1074
|
+
"x": -1.08373445,
|
|
1075
|
+
"y": -0.00999999999999987
|
|
1076
|
+
},
|
|
1077
|
+
"anchor_side": "bottom",
|
|
1078
|
+
"symbol_name": "rail_up"
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"type": "pcb_component",
|
|
1082
|
+
"pcb_component_id": "pcb_component_0",
|
|
1083
|
+
"center": {
|
|
1084
|
+
"x": 0,
|
|
1085
|
+
"y": 3
|
|
1086
|
+
},
|
|
1087
|
+
"width": 0,
|
|
1088
|
+
"height": 0,
|
|
1089
|
+
"layer": "top",
|
|
1090
|
+
"rotation": 0,
|
|
1091
|
+
"source_component_id": "source_component_1",
|
|
1092
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
1093
|
+
"do_not_place": false,
|
|
1094
|
+
"obstructs_within_bounds": true
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"type": "pcb_missing_footprint_error",
|
|
1098
|
+
"pcb_missing_footprint_error_id": "pcb_missing_footprint_error_0",
|
|
1099
|
+
"message": "No footprint found for component: <inductor#372 name=\".L1\" />",
|
|
1100
|
+
"source_component_id": "source_component_1",
|
|
1101
|
+
"error_type": "pcb_missing_footprint_error"
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
"type": "pcb_component",
|
|
1105
|
+
"pcb_component_id": "pcb_component_1",
|
|
1106
|
+
"center": {
|
|
1107
|
+
"x": 3,
|
|
1108
|
+
"y": 6
|
|
1109
|
+
},
|
|
1110
|
+
"width": 2.4500000000000006,
|
|
1111
|
+
"height": 0.9499999999999993,
|
|
1112
|
+
"layer": "top",
|
|
1113
|
+
"rotation": 0,
|
|
1114
|
+
"source_component_id": "source_component_2",
|
|
1115
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
1116
|
+
"do_not_place": false,
|
|
1117
|
+
"obstructs_within_bounds": true
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"type": "pcb_component",
|
|
1121
|
+
"pcb_component_id": "pcb_component_2",
|
|
1122
|
+
"center": {
|
|
1123
|
+
"x": 3,
|
|
1124
|
+
"y": 0
|
|
1125
|
+
},
|
|
1126
|
+
"width": 2.4500000000000006,
|
|
1127
|
+
"height": 0.95,
|
|
1128
|
+
"layer": "top",
|
|
1129
|
+
"rotation": 0,
|
|
1130
|
+
"source_component_id": "source_component_3",
|
|
1131
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
1132
|
+
"do_not_place": false,
|
|
1133
|
+
"obstructs_within_bounds": true
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
"type": "pcb_component",
|
|
1137
|
+
"pcb_component_id": "pcb_component_3",
|
|
1138
|
+
"center": {
|
|
1139
|
+
"x": 9,
|
|
1140
|
+
"y": 0
|
|
1141
|
+
},
|
|
1142
|
+
"width": 2.4499999999999993,
|
|
1143
|
+
"height": 0.95,
|
|
1144
|
+
"layer": "top",
|
|
1145
|
+
"rotation": 0,
|
|
1146
|
+
"source_component_id": "source_component_4",
|
|
1147
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
1148
|
+
"do_not_place": false,
|
|
1149
|
+
"obstructs_within_bounds": true
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
"type": "pcb_component",
|
|
1153
|
+
"pcb_component_id": "pcb_component_4",
|
|
1154
|
+
"center": {
|
|
1155
|
+
"x": -4,
|
|
1156
|
+
"y": 0
|
|
1157
|
+
},
|
|
1158
|
+
"width": 4.200000000000001,
|
|
1159
|
+
"height": 2.6639999999999997,
|
|
1160
|
+
"layer": "top",
|
|
1161
|
+
"rotation": 0,
|
|
1162
|
+
"source_component_id": "source_component_6",
|
|
1163
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
1164
|
+
"do_not_place": false,
|
|
1165
|
+
"obstructs_within_bounds": true
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
"type": "pcb_board",
|
|
1169
|
+
"pcb_board_id": "pcb_board_0",
|
|
1170
|
+
"center": {
|
|
1171
|
+
"x": 0,
|
|
1172
|
+
"y": 0
|
|
1173
|
+
},
|
|
1174
|
+
"thickness": 1.4,
|
|
1175
|
+
"num_layers": 2,
|
|
1176
|
+
"width": 30,
|
|
1177
|
+
"height": 30,
|
|
1178
|
+
"material": "fr4"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"type": "pcb_smtpad",
|
|
1182
|
+
"pcb_smtpad_id": "pcb_smtpad_0",
|
|
1183
|
+
"pcb_component_id": "pcb_component_1",
|
|
1184
|
+
"pcb_port_id": "pcb_port_0",
|
|
1185
|
+
"layer": "top",
|
|
1186
|
+
"shape": "rect",
|
|
1187
|
+
"width": 0.8,
|
|
1188
|
+
"height": 0.95,
|
|
1189
|
+
"port_hints": ["1", "left"],
|
|
1190
|
+
"is_covered_with_solder_mask": false,
|
|
1191
|
+
"x": 2.175,
|
|
1192
|
+
"y": 6,
|
|
1193
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
"type": "pcb_solder_paste",
|
|
1197
|
+
"pcb_solder_paste_id": "pcb_solder_paste_0",
|
|
1198
|
+
"layer": "top",
|
|
1199
|
+
"shape": "rect",
|
|
1200
|
+
"width": 0.5599999999999999,
|
|
1201
|
+
"height": 0.6649999999999999,
|
|
1202
|
+
"x": 2.175,
|
|
1203
|
+
"y": 6,
|
|
1204
|
+
"pcb_component_id": "pcb_component_1",
|
|
1205
|
+
"pcb_smtpad_id": "pcb_smtpad_0",
|
|
1206
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"type": "pcb_smtpad",
|
|
1210
|
+
"pcb_smtpad_id": "pcb_smtpad_1",
|
|
1211
|
+
"pcb_component_id": "pcb_component_1",
|
|
1212
|
+
"pcb_port_id": "pcb_port_1",
|
|
1213
|
+
"layer": "top",
|
|
1214
|
+
"shape": "rect",
|
|
1215
|
+
"width": 0.8,
|
|
1216
|
+
"height": 0.95,
|
|
1217
|
+
"port_hints": ["2", "right"],
|
|
1218
|
+
"is_covered_with_solder_mask": false,
|
|
1219
|
+
"x": 3.825,
|
|
1220
|
+
"y": 6,
|
|
1221
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
"type": "pcb_solder_paste",
|
|
1225
|
+
"pcb_solder_paste_id": "pcb_solder_paste_1",
|
|
1226
|
+
"layer": "top",
|
|
1227
|
+
"shape": "rect",
|
|
1228
|
+
"width": 0.5599999999999999,
|
|
1229
|
+
"height": 0.6649999999999999,
|
|
1230
|
+
"x": 3.825,
|
|
1231
|
+
"y": 6,
|
|
1232
|
+
"pcb_component_id": "pcb_component_1",
|
|
1233
|
+
"pcb_smtpad_id": "pcb_smtpad_1",
|
|
1234
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
"type": "pcb_silkscreen_path",
|
|
1238
|
+
"pcb_silkscreen_path_id": "pcb_silkscreen_path_0",
|
|
1239
|
+
"pcb_component_id": "pcb_component_1",
|
|
1240
|
+
"layer": "top",
|
|
1241
|
+
"route": [
|
|
1242
|
+
{
|
|
1243
|
+
"x": 3.825,
|
|
1244
|
+
"y": 6.875
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
"x": 1.575,
|
|
1248
|
+
"y": 6.875
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
"x": 1.575,
|
|
1252
|
+
"y": 5.125
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
"x": 3.825,
|
|
1256
|
+
"y": 5.125
|
|
1257
|
+
}
|
|
1258
|
+
],
|
|
1259
|
+
"stroke_width": 0.1,
|
|
1260
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"type": "pcb_silkscreen_text",
|
|
1264
|
+
"pcb_silkscreen_text_id": "pcb_silkscreen_text_0",
|
|
1265
|
+
"anchor_alignment": "center",
|
|
1266
|
+
"anchor_position": {
|
|
1267
|
+
"x": 3,
|
|
1268
|
+
"y": 7.375
|
|
1269
|
+
},
|
|
1270
|
+
"font": "tscircuit2024",
|
|
1271
|
+
"font_size": 0.4,
|
|
1272
|
+
"layer": "top",
|
|
1273
|
+
"text": "D1",
|
|
1274
|
+
"ccw_rotation": 0,
|
|
1275
|
+
"pcb_component_id": "pcb_component_1",
|
|
1276
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
"type": "pcb_smtpad",
|
|
1280
|
+
"pcb_smtpad_id": "pcb_smtpad_2",
|
|
1281
|
+
"pcb_component_id": "pcb_component_2",
|
|
1282
|
+
"pcb_port_id": "pcb_port_3",
|
|
1283
|
+
"layer": "top",
|
|
1284
|
+
"shape": "rect",
|
|
1285
|
+
"width": 0.8,
|
|
1286
|
+
"height": 0.95,
|
|
1287
|
+
"port_hints": ["1", "left"],
|
|
1288
|
+
"is_covered_with_solder_mask": false,
|
|
1289
|
+
"x": 2.175,
|
|
1290
|
+
"y": 0,
|
|
1291
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"type": "pcb_solder_paste",
|
|
1295
|
+
"pcb_solder_paste_id": "pcb_solder_paste_2",
|
|
1296
|
+
"layer": "top",
|
|
1297
|
+
"shape": "rect",
|
|
1298
|
+
"width": 0.5599999999999999,
|
|
1299
|
+
"height": 0.6649999999999999,
|
|
1300
|
+
"x": 2.175,
|
|
1301
|
+
"y": 0,
|
|
1302
|
+
"pcb_component_id": "pcb_component_2",
|
|
1303
|
+
"pcb_smtpad_id": "pcb_smtpad_2",
|
|
1304
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
"type": "pcb_smtpad",
|
|
1308
|
+
"pcb_smtpad_id": "pcb_smtpad_3",
|
|
1309
|
+
"pcb_component_id": "pcb_component_2",
|
|
1310
|
+
"pcb_port_id": "pcb_port_2",
|
|
1311
|
+
"layer": "top",
|
|
1312
|
+
"shape": "rect",
|
|
1313
|
+
"width": 0.8,
|
|
1314
|
+
"height": 0.95,
|
|
1315
|
+
"port_hints": ["2", "right"],
|
|
1316
|
+
"is_covered_with_solder_mask": false,
|
|
1317
|
+
"x": 3.825,
|
|
1318
|
+
"y": 0,
|
|
1319
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
"type": "pcb_solder_paste",
|
|
1323
|
+
"pcb_solder_paste_id": "pcb_solder_paste_3",
|
|
1324
|
+
"layer": "top",
|
|
1325
|
+
"shape": "rect",
|
|
1326
|
+
"width": 0.5599999999999999,
|
|
1327
|
+
"height": 0.6649999999999999,
|
|
1328
|
+
"x": 3.825,
|
|
1329
|
+
"y": 0,
|
|
1330
|
+
"pcb_component_id": "pcb_component_2",
|
|
1331
|
+
"pcb_smtpad_id": "pcb_smtpad_3",
|
|
1332
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
"type": "pcb_silkscreen_path",
|
|
1336
|
+
"pcb_silkscreen_path_id": "pcb_silkscreen_path_1",
|
|
1337
|
+
"pcb_component_id": "pcb_component_2",
|
|
1338
|
+
"layer": "top",
|
|
1339
|
+
"route": [
|
|
1340
|
+
{
|
|
1341
|
+
"x": 3.825,
|
|
1342
|
+
"y": 0.875
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
"x": 1.575,
|
|
1346
|
+
"y": 0.875
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
"x": 1.575,
|
|
1350
|
+
"y": -0.875
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"x": 3.825,
|
|
1354
|
+
"y": -0.875
|
|
1355
|
+
}
|
|
1356
|
+
],
|
|
1357
|
+
"stroke_width": 0.1,
|
|
1358
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
"type": "pcb_silkscreen_text",
|
|
1362
|
+
"pcb_silkscreen_text_id": "pcb_silkscreen_text_1",
|
|
1363
|
+
"anchor_alignment": "center",
|
|
1364
|
+
"anchor_position": {
|
|
1365
|
+
"x": 3,
|
|
1366
|
+
"y": 1.375
|
|
1367
|
+
},
|
|
1368
|
+
"font": "tscircuit2024",
|
|
1369
|
+
"font_size": 0.4,
|
|
1370
|
+
"layer": "top",
|
|
1371
|
+
"text": "C1",
|
|
1372
|
+
"ccw_rotation": 0,
|
|
1373
|
+
"pcb_component_id": "pcb_component_2",
|
|
1374
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
"type": "pcb_smtpad",
|
|
1378
|
+
"pcb_smtpad_id": "pcb_smtpad_4",
|
|
1379
|
+
"pcb_component_id": "pcb_component_3",
|
|
1380
|
+
"pcb_port_id": "pcb_port_4",
|
|
1381
|
+
"layer": "top",
|
|
1382
|
+
"shape": "rect",
|
|
1383
|
+
"width": 0.8,
|
|
1384
|
+
"height": 0.95,
|
|
1385
|
+
"port_hints": ["1", "left"],
|
|
1386
|
+
"is_covered_with_solder_mask": false,
|
|
1387
|
+
"x": 8.175,
|
|
1388
|
+
"y": 0,
|
|
1389
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
"type": "pcb_solder_paste",
|
|
1393
|
+
"pcb_solder_paste_id": "pcb_solder_paste_4",
|
|
1394
|
+
"layer": "top",
|
|
1395
|
+
"shape": "rect",
|
|
1396
|
+
"width": 0.5599999999999999,
|
|
1397
|
+
"height": 0.6649999999999999,
|
|
1398
|
+
"x": 8.175,
|
|
1399
|
+
"y": 0,
|
|
1400
|
+
"pcb_component_id": "pcb_component_3",
|
|
1401
|
+
"pcb_smtpad_id": "pcb_smtpad_4",
|
|
1402
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1403
|
+
},
|
|
1404
|
+
{
|
|
1405
|
+
"type": "pcb_smtpad",
|
|
1406
|
+
"pcb_smtpad_id": "pcb_smtpad_5",
|
|
1407
|
+
"pcb_component_id": "pcb_component_3",
|
|
1408
|
+
"pcb_port_id": "pcb_port_5",
|
|
1409
|
+
"layer": "top",
|
|
1410
|
+
"shape": "rect",
|
|
1411
|
+
"width": 0.8,
|
|
1412
|
+
"height": 0.95,
|
|
1413
|
+
"port_hints": ["2", "right"],
|
|
1414
|
+
"is_covered_with_solder_mask": false,
|
|
1415
|
+
"x": 9.825,
|
|
1416
|
+
"y": 0,
|
|
1417
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
"type": "pcb_solder_paste",
|
|
1421
|
+
"pcb_solder_paste_id": "pcb_solder_paste_5",
|
|
1422
|
+
"layer": "top",
|
|
1423
|
+
"shape": "rect",
|
|
1424
|
+
"width": 0.5599999999999999,
|
|
1425
|
+
"height": 0.6649999999999999,
|
|
1426
|
+
"x": 9.825,
|
|
1427
|
+
"y": 0,
|
|
1428
|
+
"pcb_component_id": "pcb_component_3",
|
|
1429
|
+
"pcb_smtpad_id": "pcb_smtpad_5",
|
|
1430
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"type": "pcb_silkscreen_path",
|
|
1434
|
+
"pcb_silkscreen_path_id": "pcb_silkscreen_path_2",
|
|
1435
|
+
"pcb_component_id": "pcb_component_3",
|
|
1436
|
+
"layer": "top",
|
|
1437
|
+
"route": [
|
|
1438
|
+
{
|
|
1439
|
+
"x": 9.825,
|
|
1440
|
+
"y": 0.875
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
"x": 7.575,
|
|
1444
|
+
"y": 0.875
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
"x": 7.575,
|
|
1448
|
+
"y": -0.875
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
"x": 9.825,
|
|
1452
|
+
"y": -0.875
|
|
1453
|
+
}
|
|
1454
|
+
],
|
|
1455
|
+
"stroke_width": 0.1,
|
|
1456
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1457
|
+
},
|
|
1458
|
+
{
|
|
1459
|
+
"type": "pcb_silkscreen_text",
|
|
1460
|
+
"pcb_silkscreen_text_id": "pcb_silkscreen_text_2",
|
|
1461
|
+
"anchor_alignment": "center",
|
|
1462
|
+
"anchor_position": {
|
|
1463
|
+
"x": 9,
|
|
1464
|
+
"y": 1.375
|
|
1465
|
+
},
|
|
1466
|
+
"font": "tscircuit2024",
|
|
1467
|
+
"font_size": 0.4,
|
|
1468
|
+
"layer": "top",
|
|
1469
|
+
"text": "R1",
|
|
1470
|
+
"ccw_rotation": 0,
|
|
1471
|
+
"pcb_component_id": "pcb_component_3",
|
|
1472
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"type": "pcb_smtpad",
|
|
1476
|
+
"pcb_smtpad_id": "pcb_smtpad_6",
|
|
1477
|
+
"pcb_component_id": "pcb_component_4",
|
|
1478
|
+
"pcb_port_id": "pcb_port_6",
|
|
1479
|
+
"layer": "top",
|
|
1480
|
+
"shape": "rect",
|
|
1481
|
+
"width": 0.8,
|
|
1482
|
+
"height": 0.764,
|
|
1483
|
+
"port_hints": ["1"],
|
|
1484
|
+
"is_covered_with_solder_mask": false,
|
|
1485
|
+
"x": -5.7,
|
|
1486
|
+
"y": 0,
|
|
1487
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
"type": "pcb_solder_paste",
|
|
1491
|
+
"pcb_solder_paste_id": "pcb_solder_paste_6",
|
|
1492
|
+
"layer": "top",
|
|
1493
|
+
"shape": "rect",
|
|
1494
|
+
"width": 0.5599999999999999,
|
|
1495
|
+
"height": 0.5347999999999999,
|
|
1496
|
+
"x": -5.7,
|
|
1497
|
+
"y": 0,
|
|
1498
|
+
"pcb_component_id": "pcb_component_4",
|
|
1499
|
+
"pcb_smtpad_id": "pcb_smtpad_6",
|
|
1500
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
"type": "pcb_smtpad",
|
|
1504
|
+
"pcb_smtpad_id": "pcb_smtpad_7",
|
|
1505
|
+
"pcb_component_id": "pcb_component_4",
|
|
1506
|
+
"pcb_port_id": "pcb_port_7",
|
|
1507
|
+
"layer": "top",
|
|
1508
|
+
"shape": "rect",
|
|
1509
|
+
"width": 0.8,
|
|
1510
|
+
"height": 0.764,
|
|
1511
|
+
"port_hints": ["2"],
|
|
1512
|
+
"is_covered_with_solder_mask": false,
|
|
1513
|
+
"x": -2.3,
|
|
1514
|
+
"y": -0.95,
|
|
1515
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"type": "pcb_solder_paste",
|
|
1519
|
+
"pcb_solder_paste_id": "pcb_solder_paste_7",
|
|
1520
|
+
"layer": "top",
|
|
1521
|
+
"shape": "rect",
|
|
1522
|
+
"width": 0.5599999999999999,
|
|
1523
|
+
"height": 0.5347999999999999,
|
|
1524
|
+
"x": -2.3,
|
|
1525
|
+
"y": -0.95,
|
|
1526
|
+
"pcb_component_id": "pcb_component_4",
|
|
1527
|
+
"pcb_smtpad_id": "pcb_smtpad_7",
|
|
1528
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1529
|
+
},
|
|
1530
|
+
{
|
|
1531
|
+
"type": "pcb_smtpad",
|
|
1532
|
+
"pcb_smtpad_id": "pcb_smtpad_8",
|
|
1533
|
+
"pcb_component_id": "pcb_component_4",
|
|
1534
|
+
"pcb_port_id": "pcb_port_8",
|
|
1535
|
+
"layer": "top",
|
|
1536
|
+
"shape": "rect",
|
|
1537
|
+
"width": 0.8,
|
|
1538
|
+
"height": 0.764,
|
|
1539
|
+
"port_hints": ["3"],
|
|
1540
|
+
"is_covered_with_solder_mask": false,
|
|
1541
|
+
"x": -2.3,
|
|
1542
|
+
"y": 0.95,
|
|
1543
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
"type": "pcb_solder_paste",
|
|
1547
|
+
"pcb_solder_paste_id": "pcb_solder_paste_8",
|
|
1548
|
+
"layer": "top",
|
|
1549
|
+
"shape": "rect",
|
|
1550
|
+
"width": 0.5599999999999999,
|
|
1551
|
+
"height": 0.5347999999999999,
|
|
1552
|
+
"x": -2.3,
|
|
1553
|
+
"y": 0.95,
|
|
1554
|
+
"pcb_component_id": "pcb_component_4",
|
|
1555
|
+
"pcb_smtpad_id": "pcb_smtpad_8",
|
|
1556
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
"type": "pcb_silkscreen_text",
|
|
1560
|
+
"pcb_silkscreen_text_id": "pcb_silkscreen_text_3",
|
|
1561
|
+
"anchor_alignment": "center",
|
|
1562
|
+
"anchor_position": {
|
|
1563
|
+
"x": -4,
|
|
1564
|
+
"y": 2
|
|
1565
|
+
},
|
|
1566
|
+
"font": "tscircuit2024",
|
|
1567
|
+
"font_size": 0.5,
|
|
1568
|
+
"layer": "top",
|
|
1569
|
+
"text": "M1",
|
|
1570
|
+
"ccw_rotation": 0,
|
|
1571
|
+
"pcb_component_id": "pcb_component_4",
|
|
1572
|
+
"subcircuit_id": "subcircuit_source_group_0"
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
"type": "pcb_port",
|
|
1576
|
+
"pcb_port_id": "pcb_port_0",
|
|
1577
|
+
"pcb_component_id": "pcb_component_1",
|
|
1578
|
+
"layers": ["top"],
|
|
1579
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
1580
|
+
"x": 2.175,
|
|
1581
|
+
"y": 6,
|
|
1582
|
+
"source_port_id": "source_port_4"
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
"type": "pcb_port",
|
|
1586
|
+
"pcb_port_id": "pcb_port_1",
|
|
1587
|
+
"pcb_component_id": "pcb_component_1",
|
|
1588
|
+
"layers": ["top"],
|
|
1589
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
1590
|
+
"x": 3.825,
|
|
1591
|
+
"y": 6,
|
|
1592
|
+
"source_port_id": "source_port_5"
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
"type": "pcb_port",
|
|
1596
|
+
"pcb_port_id": "pcb_port_2",
|
|
1597
|
+
"pcb_component_id": "pcb_component_2",
|
|
1598
|
+
"layers": ["top"],
|
|
1599
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
1600
|
+
"x": 3.825,
|
|
1601
|
+
"y": 0,
|
|
1602
|
+
"source_port_id": "source_port_6"
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
"type": "pcb_port",
|
|
1606
|
+
"pcb_port_id": "pcb_port_3",
|
|
1607
|
+
"pcb_component_id": "pcb_component_2",
|
|
1608
|
+
"layers": ["top"],
|
|
1609
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
1610
|
+
"x": 2.175,
|
|
1611
|
+
"y": 0,
|
|
1612
|
+
"source_port_id": "source_port_7"
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
"type": "pcb_port",
|
|
1616
|
+
"pcb_port_id": "pcb_port_4",
|
|
1617
|
+
"pcb_component_id": "pcb_component_3",
|
|
1618
|
+
"layers": ["top"],
|
|
1619
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
1620
|
+
"x": 8.175,
|
|
1621
|
+
"y": 0,
|
|
1622
|
+
"source_port_id": "source_port_8"
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"type": "pcb_port",
|
|
1626
|
+
"pcb_port_id": "pcb_port_5",
|
|
1627
|
+
"pcb_component_id": "pcb_component_3",
|
|
1628
|
+
"layers": ["top"],
|
|
1629
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
1630
|
+
"x": 9.825,
|
|
1631
|
+
"y": 0,
|
|
1632
|
+
"source_port_id": "source_port_9"
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
"type": "pcb_port",
|
|
1636
|
+
"pcb_port_id": "pcb_port_6",
|
|
1637
|
+
"pcb_component_id": "pcb_component_4",
|
|
1638
|
+
"layers": ["top"],
|
|
1639
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
1640
|
+
"x": -5.7,
|
|
1641
|
+
"y": 0,
|
|
1642
|
+
"source_port_id": "source_port_12"
|
|
1643
|
+
},
|
|
1644
|
+
{
|
|
1645
|
+
"type": "pcb_port",
|
|
1646
|
+
"pcb_port_id": "pcb_port_7",
|
|
1647
|
+
"pcb_component_id": "pcb_component_4",
|
|
1648
|
+
"layers": ["top"],
|
|
1649
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
1650
|
+
"x": -2.3,
|
|
1651
|
+
"y": -0.95,
|
|
1652
|
+
"source_port_id": "source_port_13"
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
"type": "pcb_port",
|
|
1656
|
+
"pcb_port_id": "pcb_port_8",
|
|
1657
|
+
"pcb_component_id": "pcb_component_4",
|
|
1658
|
+
"layers": ["top"],
|
|
1659
|
+
"subcircuit_id": "subcircuit_source_group_0",
|
|
1660
|
+
"x": -2.3,
|
|
1661
|
+
"y": 0.95,
|
|
1662
|
+
"source_port_id": "source_port_14"
|
|
1663
|
+
},
|
|
1664
|
+
{
|
|
1665
|
+
"type": "cad_component",
|
|
1666
|
+
"cad_component_id": "cad_component_0",
|
|
1667
|
+
"position": {
|
|
1668
|
+
"x": 3,
|
|
1669
|
+
"y": 6,
|
|
1670
|
+
"z": 0.7
|
|
1671
|
+
},
|
|
1672
|
+
"rotation": {
|
|
1673
|
+
"x": 0,
|
|
1674
|
+
"y": 0,
|
|
1675
|
+
"z": 0
|
|
1676
|
+
},
|
|
1677
|
+
"pcb_component_id": "pcb_component_1",
|
|
1678
|
+
"source_component_id": "source_component_2",
|
|
1679
|
+
"footprinter_string": "0603"
|
|
1680
|
+
},
|
|
1681
|
+
{
|
|
1682
|
+
"type": "cad_component",
|
|
1683
|
+
"cad_component_id": "cad_component_1",
|
|
1684
|
+
"position": {
|
|
1685
|
+
"x": 3,
|
|
1686
|
+
"y": 0,
|
|
1687
|
+
"z": 0.7
|
|
1688
|
+
},
|
|
1689
|
+
"rotation": {
|
|
1690
|
+
"x": 0,
|
|
1691
|
+
"y": 0,
|
|
1692
|
+
"z": 0
|
|
1693
|
+
},
|
|
1694
|
+
"pcb_component_id": "pcb_component_2",
|
|
1695
|
+
"source_component_id": "source_component_3",
|
|
1696
|
+
"footprinter_string": "0603"
|
|
1697
|
+
},
|
|
1698
|
+
{
|
|
1699
|
+
"type": "cad_component",
|
|
1700
|
+
"cad_component_id": "cad_component_2",
|
|
1701
|
+
"position": {
|
|
1702
|
+
"x": 9,
|
|
1703
|
+
"y": 0,
|
|
1704
|
+
"z": 0.7
|
|
1705
|
+
},
|
|
1706
|
+
"rotation": {
|
|
1707
|
+
"x": 0,
|
|
1708
|
+
"y": 0,
|
|
1709
|
+
"z": 0
|
|
1710
|
+
},
|
|
1711
|
+
"pcb_component_id": "pcb_component_3",
|
|
1712
|
+
"source_component_id": "source_component_4",
|
|
1713
|
+
"footprinter_string": "0603"
|
|
1714
|
+
},
|
|
1715
|
+
{
|
|
1716
|
+
"type": "cad_component",
|
|
1717
|
+
"cad_component_id": "cad_component_3",
|
|
1718
|
+
"position": {
|
|
1719
|
+
"x": -4,
|
|
1720
|
+
"y": 0,
|
|
1721
|
+
"z": 0.7
|
|
1722
|
+
},
|
|
1723
|
+
"rotation": {
|
|
1724
|
+
"x": 0,
|
|
1725
|
+
"y": 0,
|
|
1726
|
+
"z": 0
|
|
1727
|
+
},
|
|
1728
|
+
"pcb_component_id": "pcb_component_4",
|
|
1729
|
+
"source_component_id": "source_component_6",
|
|
1730
|
+
"footprinter_string": "sot23"
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
"type": "pcb_autorouting_error",
|
|
1734
|
+
"pcb_autorouting_error_id": "pcb_autorouting_error_0",
|
|
1735
|
+
"pcb_error_id": "pcb_autorouter_error_subcircuit_subcircuit_source_group_0",
|
|
1736
|
+
"error_type": "pcb_autorouting_error",
|
|
1737
|
+
"message": "En ran out of iterations (capacity-autorouter@0.0.140)"
|
|
1738
|
+
}
|
|
1739
|
+
]
|