wanzhe/3886-1875dianyuanban
A 120×88 mm dual-rail power/audio PCB with transformer-rectifier filtering, regulated ±15 V and ±25 V outputs, USB‑C 5 V input, ESP32‑C6 control, LM4861 audio amplification, and tactile-switch control.
- Version
- 0.0.1
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone wanzhe/3886-1875dianyuanban # download the package files into ./3886-1875dianyuanban
tsci add wanzhe/3886-1875dianyuanban # add it to your project as @tsci/wanzhe.3886-1875dianyuanbanIn a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.
index.tsx
PCB
Schematic
import React from "react"
// 将坐标折线转换为 tscircuit 规范的 wire 路径点数组
const wire = (pts: { x: number; y: number }[], width: string, layer: "top" | "bottom") =>
pts.map((pt) => ({
route_type: "wire" as const,
x: pt.x,
y: pt.y,
width,
layer,
}))
// 竖向 3P 5.08mm 间距大电流螺钉接线端子
const Terminal3PinV = ({
name,
pcbX,
pcbY,
label,
p1 = "+",
p2 = "0",
p3 = "-",
}: {
name: string
pcbX: number
pcbY: number
label: string
p1?: string
p2?: string
p3?: string
}) => (
<chip
name={name}
pcbX={pcbX}
pcbY={pcbY}
noSchematicRepresentation
footprint={
<footprint>
<silkscreenrect pcbX={0} pcbY={0} width="8.2mm" height="16.2mm" />
<platedhole
name="pin1"
portHints={["1"]}
pcbX={0}
pcbY={5.08}
holeDiameter="1.4mm"
rectPadWidth="3.2mm"
rectPadHeight="3.2mm"
shape="circular_hole_with_rect_pad"
/>
<platedhole name="pin2" portHints={["2"]} pcbX={0} pcbY={0} holeDiameter="1.4mm" outerDiameter="3.2mm" shape="circle" />
<platedhole name="pin3" portHints={["3"]} pcbX={0} pcbY={-5.08} holeDiameter="1.4mm" outerDiameter="3.2mm" shape="circle" />
<silkscreentext text={label} pcbX={0} pcbY={10.2} fontSize="1.2mm" />
<silkscreentext text={p1} pcbX={-5.6} pcbY={5.08} fontSize="1.1mm" />
<silkscreentext text={p2} pcbX={-5.6} pcbY={0} fontSize="1.1mm" />
<silkscreentext text={p3} pcbX={-5.6} pcbY={-5.08} fontSize="1.1mm" />
</footprint>
}
/>
)
// 大电流直插扁桥(GBJ1510 / KBU1010,脚距 5.08mm,竖放)
const BridgeGBJ = ({ name, pcbX, pcbY }: { name: string; pcbX: number; pcbY: number }) => (
<chip
name={name}
pcbX={pcbX}
pcbY={pcbY}
noSchematicRepresentation
footprint={
<footprint>
<silkscreenrect pcbX={0} pcbY={0} width="5.6mm" height="22mm" />
<platedhole
name="pos"
portHints={["1", "pos"]}
pcbX={0}
pcbY={7.62}
holeDiameter="1.3mm"
rectPadWidth="3.0mm"
rectPadHeight="3.0mm"
shape="circular_hole_with_rect_pad"
/>
<platedhole name="ac1" portHints={["2", "ac1"]} pcbX={0} pcbY={2.54} holeDiameter="1.3mm" outerDiameter="3.0mm" shape="circle" />
<platedhole name="ac2" portHints={["3", "ac2"]} pcbX={0} pcbY={-2.54} holeDiameter="1.3mm" outerDiameter="3.0mm" shape="circle" />
<platedhole name="neg" portHints={["4", "neg"]} pcbX={0} pcbY={-7.62} holeDiameter="1.3mm" outerDiameter="3.0mm" shape="circle" />
<silkscreentext text="+" pcbX={4.2} pcbY={7.62} fontSize="1.2mm" />
<silkscreentext text="~" pcbX={4.2} pcbY={2.54} fontSize="1.2mm" />
<silkscreentext text="~" pcbX={4.2} pcbY={-2.54} fontSize="1.2mm" />
<silkscreentext text="-" pcbX={4.2} pcbY={-7.62} fontSize="1.2mm" />
</footprint>
}
/>
)
// 肖特基二极管封装(SB560 / 1N5822,卧式脚距 10mm,方形焊盘为阴极白环端)
const SchottkyDiode = ({ name, pcbX, pcbY }: { name: string; pcbX: number; pcbY: number }) => (
<chip
name={name}
pcbX={pcbX}
pcbY={pcbY}
noSchematicRepresentation
footprint={
<footprint>
<silkscreenrect pcbX={0} pcbY={0} width="6.5mm" height="3.2mm" />
<platedhole name="anode" portHints={["1", "anode"]} pcbX={-5.0} pcbY={0} holeDiameter="1.1mm" outerDiameter="2.4mm" shape="circle" />
<platedhole
name="cathode"
portHints={["2", "cathode"]}
pcbX={5.0}
pcbY={0}
holeDiameter="1.1mm"
rectPadWidth="2.4mm"
rectPadHeight="2.4mm"
shape="circular_hole_with_rect_pad"
/>
<silkscreentext text="K" pcbX={5.0} pcbY={2.4} fontSize="0.9mm" />
</footprint>
}
/>
)
// 卧式直插电解电容封装(方形焊盘为正极)
const ElecCapH = ({
name,
pcbX,
pcbY,
radius,
pitch,
hole = "1.0mm",
pad = "2.6mm",
}: {
name: string
pcbX: number
pcbY: number
radius: string
pitch: number
hole?: string
pad?: string
}) => (
<chip
name={name}
pcbX={pcbX}
pcbY={pcbY}
noSchematicRepresentation
footprint={
<footprint>
<silkscreencircle pcbX={0} pcbY={0} radius={radius} />
<platedhole
name="pos"
portHints={["1", "pos"]}
pcbX={-pitch / 2}
pcbY={0}
holeDiameter={hole}
rectPadWidth={pad}
rectPadHeight={pad}
shape="circular_hole_with_rect_pad"
/>
<platedhole name="neg" portHints={["2", "neg"]} pcbX={pitch / 2} pcbY={0} holeDiameter={hole} outerDiameter={pad} shape="circle" />
<silkscreentext text="+" pcbX={-pitch / 2} pcbY={3.0} fontSize="1.2mm" />
</footprint>
}
/>
)
// 竖式直插小电解电容封装(方形焊盘为正极)
const ElecCapV = ({
name,
pcbX,
pcbY,
radius = "2.8mm",
pitch = 2.5,
posTop = true,
}: {
name: string
pcbX: number
pcbY: number
radius?: string
pitch?: number
posTop?: boolean
}) => (
<chip
name={name}
pcbX={pcbX}
pcbY={pcbY}
noSchematicRepresentation
footprint={
<footprint>
<silkscreencircle pcbX={0} pcbY={0} radius={radius} />
<platedhole
name="pos"
portHints={["1", "pos"]}
pcbX={0}
pcbY={posTop ? pitch / 2 : -pitch / 2}
holeDiameter="0.85mm"
rectPadWidth="1.9mm"
rectPadHeight="1.9mm"
shape="circular_hole_with_rect_pad"
/>
<platedhole
name="neg"
portHints={["2", "neg"]}
pcbX={0}
pcbY={posTop ? -pitch / 2 : pitch / 2}
holeDiameter="0.85mm"
outerDiameter="1.9mm"
shape="circle"
/>
</footprint>
}
/>
)
// 卧式 CBB 薄膜电容封装
const FilmCapH = ({ name, pcbX, pcbY, pitch = 7.5 }: { name: string; pcbX: number; pcbY: number; pitch?: number }) => (
<chip
name={name}
pcbX={pcbX}
pcbY={pcbY}
noSchematicRepresentation
footprint={
<footprint>
<silkscreenrect pcbX={0} pcbY={0} width={`${pitch + 3}mm`} height="4.2mm" />
<platedhole name="pin1" portHints={["1"]} pcbX={-pitch / 2} pcbY={0} holeDiameter="0.85mm" outerDiameter="2.0mm" shape="circle" />
<platedhole name="pin2" portHints={["2"]} pcbX={pitch / 2} pcbY={0} holeDiameter="0.85mm" outerDiameter="2.0mm" shape="circle" />
</footprint>
}
/>
)
// 竖式 CBB 薄膜电容封装
const FilmCapV = ({ name, pcbX, pcbY, pitch = 5.0 }: { name: string; pcbX: number; pcbY: number; pitch?: number }) => (
<chip
name={name}
pcbX={pcbX}
pcbY={pcbY}
noSchematicRepresentation
footprint={
<footprint>
<silkscreenrect pcbX={0} pcbY={0} width="4.0mm" height={`${pitch + 2.8}mm`} />
<platedhole name="pin1" portHints={["1"]} pcbX={0} pcbY={pitch / 2} holeDiameter="0.85mm" outerDiameter="2.0mm" shape="circle" />
<platedhole name="pin2" portHints={["2"]} pcbX={0} pcbY={-pitch / 2} holeDiameter="0.85mm" outerDiameter="2.0mm" shape="circle" />
</footprint>
}
/>
)
// 卧式 1W 泄放电阻(脚距 12.5mm)
const Resistor1WH = ({ name, pcbX, pcbY }: { name: string; pcbX: number; pcbY: number }) => (
<chip
name={name}
pcbX={pcbX}
pcbY={pcbY}
noSchematicRepresentation
footprint={
<footprint>
<silkscreenrect pcbX={0} pcbY={0} width="9.5mm" height="3.4mm" />
<platedhole name="pin1" portHints={["1"]} pcbX={-6.25} pcbY={0} holeDiameter="0.85mm" outerDiameter="2.0mm" shape="circle" />
<platedhole name="pin2" portHints={["2"]} pcbX={6.25} pcbY={0} holeDiameter="0.85mm" outerDiameter="2.0mm" shape="circle" />
</footprint>
}
/>
)
// 竖式 1/4W 金属膜精密分压电阻(脚距 7.5mm)
const ResistorV = ({ name, pcbX, pcbY, label }: { name: string; pcbX: number; pcbY: number; label: string }) => (
<chip
name={name}
pcbX={pcbX}
pcbY={pcbY}
noSchematicRepresentation
footprint={
<footprint>
<silkscreenrect pcbX={0} pcbY={0} width="2.6mm" height="6.2mm" />
<platedhole name="pin1" portHints={["1"]} pcbX={0} pcbY={3.75} holeDiameter="0.8mm" outerDiameter="1.8mm" shape="circle" />
<platedhole name="pin2" portHints={["2"]} pcbX={0} pcbY={-3.75} holeDiameter="0.8mm" outerDiameter="1.8mm" shape="circle" />
<silkscreentext text={label} pcbX={3.0} pcbY={0} fontSize="0.95mm" />
</footprint>
}
/>
)
// 3mm LED 状态指示灯
const StatusLed = ({ name, pcbX, pcbY, label }: { name: string; pcbX: number; pcbY: number; label: string }) => (
<chip
name={name}
pcbX={pcbX}
pcbY={pcbY}
noSchematicRepresentation
footprint={
<footprint>
<silkscreencircle pcbX={0} pcbY={0} radius="2.4mm" />
<platedhole
name="anode"
portHints={["1", "anode"]}
pcbX={-1.27}
pcbY={0}
holeDiameter="0.85mm"
rectPadWidth="1.9mm"
rectPadHeight="1.9mm"
shape="circular_hole_with_rect_pad"
/>
<platedhole name="cathode" portHints={["2", "cathode"]} pcbX={1.27} pcbY={0} holeDiameter="0.85mm" outerDiameter="1.9mm" shape="circle" />
<silkscreentext text={label} pcbX={5.5} pcbY={0} fontSize="1.1mm" />
</footprint>
}
/>
)
// TO-220 精密可调稳压芯片封装(LM317 / LM337)
const RegulatorTO220 = ({ name, pcbX, pcbY, label }: { name: string; pcbX: number; pcbY: number; label: string }) => (
<chip
name={name}
pcbX={pcbX}
pcbY={pcbY}
noSchematicRepresentation
footprint={
<footprint>
<silkscreenrect pcbX={0} pcbY={0} width="5.0mm" height="10.5mm" />
<platedhole
name="pin1"
portHints={["1"]}
pcbX={0}
pcbY={2.54}
holeDiameter="1.0mm"
rectPadWidth="2.1mm"
rectPadHeight="2.1mm"
shape="circular_hole_with_rect_pad"
/>
<platedhole name="pin2" portHints={["2"]} pcbX={0} pcbY={0} holeDiameter="1.0mm" outerDiameter="2.1mm" shape="circle" />
<platedhole name="pin3" portHints={["3"]} pcbX={0} pcbY={-2.54} holeDiameter="1.0mm" outerDiameter="2.1mm" shape="circle" />
<silkscreentext text={label} pcbX={-4.6} pcbY={0} fontSize="1.1mm" />
</footprint>
}
/>
)
export default () => (
<board width="120mm" height="88mm" routingDisabled>
{/* 四角 M3 固定孔(已留足与右上端子的螺丝帽安全间隙) */}
<hole pcbX={-55} pcbY={39} diameter="3.2mm" />
<hole pcbX={55} pcbY={39} diameter="3.2mm" />
<hole pcbX={-55} pcbY={-39} diameter="3.2mm" />
<hole pcbX={55} pcbY={-39} diameter="3.2mm" />
{/* ==================== 上半区:18-0-18 独立大电流电源 (±25V 专供中置 + 环绕) ==================== */}
<Terminal3PinV name="J_AC1" pcbX={-51} pcbY={22} label="AC 18-0-18" p1="18" p2="0" p3="18" />
<BridgeGBJ name="BR1" pcbX={-34} pcbY={22} />
<FilmCapH name="C_SNUB1" pcbX={-26} pcbY={22} pitch={5.0} />
{/* 4700uF/35V 主滤波水塘(中心距拉开至 20mm,彻底防挤压)+ 104 高频退耦 */}
<ElecCapH name="C1" pcbX={-14} pcbY={31} radius="9.2mm" pitch={7.5} hole="1.1mm" pad="2.8mm" />
<ElecCapH name="C2" pcbX={-14} pcbY={11} radius="9.2mm" pitch={7.5} hole="1.1mm" pad="2.8mm" />
<FilmCapH name="C3" pcbX={3} pcbY={31} pitch={7.5} />
<FilmCapH name="C4" pcbX={3} pcbY={11} pitch={7.5} />
{/* 泄放电阻与 ±25V 状态指示灯 */}
<Resistor1WH name="R1" pcbX={22} pcbY={36} />
<StatusLed name="LED1" pcbX={22} pcbY={29} label="+25V" />
<StatusLed name="LED2" pcbX={22} pcbY={13} label="-25V" />
<Resistor1WH name="R2" pcbX={22} pcbY={6} />
{/* 右上双路独立后级输出端子(左移避开右上角 M3 螺丝帽) */}
<Terminal3PinV name="J_CENTER" pcbX={44} pcbY={29} label="CENTER" />
<Terminal3PinV name="J_SURR" pcbX={44} pcbY={9} label="SURROUND" />
{/* AC 18-0-18 进扁桥 + 吸收电容 (顶层) */}
<pcbtrace route={wire([{ x: -51, y: 27.08 }, { x: -39, y: 27.08 }, { x: -39, y: 24.54 }, { x: -34, y: 24.54 }], "1.5mm", "top")} />
<pcbtrace route={wire([{ x: -51, y: 16.92 }, { x: -39, y: 16.92 }, { x: -39, y: 19.46 }, { x: -34, y: 19.46 }], "1.5mm", "top")} />
<pcbtrace route={wire([{ x: -34, y: 24.54 }, { x: -28.5, y: 24.54 }, { x: -28.5, y: 22 }], "0.8mm", "top")} />
<pcbtrace route={wire([{ x: -34, y: 19.46 }, { x: -23.5, y: 19.46 }, { x: -23.5, y: 22 }], "0.8mm", "top")} />
{/* 主路 +25V 正电源总线 (顶层 1.8mm 红色) */}
<pcbtrace route={wire([{ x: -34, y: 29.62 }, { x: -17.75, y: 29.62 }, { x: -17.75, y: 31 }], "1.8mm", "top")} />
<pcbtrace route={wire([{ x: -17.75, y: 31 }, { x: -0.75, y: 31 }], "1.8mm", "top")} />
<pcbtrace route={wire([{ x: -0.75, y: 31 }, { x: 11, y: 31 }, { x: 11, y: 40 }, { x: 38, y: 40 }, { x: 38, y: 34.08 }, { x: 44, y: 34.08 }], "1.8mm", "top")} />
<pcbtrace route={wire([{ x: 38, y: 34.08 }, { x: 38, y: 14.08 }, { x: 44, y: 14.08 }], "1.8mm", "top")} />
{/* 主路 -25V 负电源总线 (顶层 1.8mm 红色,外侧绕行零交叉) */}
<pcbtrace route={wire([{ x: -34, y: 14.38 }, { x: -34, y: 2.5 }, { x: -10.25, y: 2.5 }, { x: -10.25, y: 11 }], "1.8mm", "top")} />
<pcbtrace route={wire([{ x: -10.25, y: 2.5 }, { x: 6.75, y: 2.5 }, { x: 6.75, y: 11 }], "1.8mm", "top")} />
<pcbtrace route={wire([{ x: 6.75, y: 2.5 }, { x: 50.5, y: 2.5 }, { x: 50.5, y: 3.92 }, { x: 44, y: 3.92 }], "1.8mm", "top")} />
<pcbtrace route={wire([{ x: 50.5, y: 3.92 }, { x: 50.5, y: 23.92 }, { x: 44, y: 23.92 }], "1.8mm", "top")} />
{/* 主路 GND1 星型地线 (底层 2.0mm 蓝色,与下半区完全隔离) */}
<pcbtrace route={wire([{ x: -51, y: 22 }, { x: -51, y: 9 }, { x: -17.75, y: 9 }, { x: -17.75, y: 11 }], "2.0mm", "bottom")} />
<pcbtrace route={wire([{ x: -17.75, y: 9 }, { x: -10.25, y: 9 }, { x: -10.25, y: 31 }], "2.0mm", "bottom")} />
<pcbtrace route={wire([{ x: -10.25, y: 31 }, { x: 6.75, y: 31 }], "2.0mm", "bottom")} />
<pcbtrace route={wire([{ x: -17.75, y: 11 }, { x: -0.75, y: 11 }], "2.0mm", "bottom")} />
<pcbtrace route={wire([{ x: 6.75, y: 31 }, { x: 14, y: 31 }, { x: 14, y: 20 }, { x: 37, y: 20 }, { x: 37, y: 29 }, { x: 44, y: 29 }], "2.0mm", "bottom")} />
<pcbtrace route={wire([{ x: 37, y: 20 }, { x: 37, y: 9 }, { x: 44, y: 9 }], "2.0mm", "bottom")} />
{/* 主路指示灯与泄放支路 (0.6mm) */}
<pcbtrace route={wire([{ x: -0.75, y: 31 }, { x: -0.75, y: 36 }, { x: 15.75, y: 36 }], "0.6mm", "top")} />
<pcbtrace route={wire([{ x: 28.25, y: 36 }, { x: 28.25, y: 32.5 }, { x: 20.73, y: 32.5 }, { x: 20.73, y: 29 }], "0.6mm", "top")} />
<pcbtrace route={wire([{ x: 23.27, y: 29 }, { x: 23.27, y: 25.5 }, { x: 6.75, y: 25.5 }, { x: 6.75, y: 31 }], "0.6mm", "bottom")} />
<pcbtrace route={wire([{ x: -0.75, y: 11 }, { x: -0.75, y: 16.5 }, { x: 20.73, y: 16.5 }, { x: 20.73, y: 13 }], "0.6mm", "bottom")} />
<pcbtrace route={wire([{ x: 23.27, y: 13 }, { x: 23.27, y: 9.5 }, { x: 28.25, y: 9.5 }, { x: 28.25, y: 6 }], "0.6mm", "top")} />
<pcbtrace route={wire([{ x: 15.75, y: 6 }, { x: 6.75, y: 6 }], "0.6mm", "top")} />
{/* ==================== 下半区:12-0-12 肖特基 + LM317/337 精密低噪稳压 (±15V 专供前级) ==================== */}
<Terminal3PinV name="J_AC2" pcbX={-51} pcbY={-24} label="AC 12-0-12" p1="12" p2="0" p3="12" />
<FilmCapV name="C_SNUB2" pcbX={-43.5} pcbY={-24} pitch={5.0} />
{/* 4颗 SB560 肖特基二极管分立全波整流桥 */}
<SchottkyDiode name="D1" pcbX={-35} pcbY={-15} />
<SchottkyDiode name="D2" pcbX={-35} pcbY={-21} />
<SchottkyDiode name="D3" pcbX={-35} pcbY={-27} />
<SchottkyDiode name="D4" pcbX={-35} pcbY={-33} />
{/* 稳压前主滤波 2200uF/25V x2 */}
<ElecCapH name="C5" pcbX={-18} pcbY={-16} radius="6.8mm" pitch={5.0} hole="1.0mm" pad="2.4mm" />
<ElecCapH name="C6" pcbX={-18} pcbY={-32} radius="6.8mm" pitch={5.0} hole="1.0mm" pad="2.4mm" />
{/* LM317 (+15V) 与 LM337 (-15V) 精密可调稳压 */}
<RegulatorTO220 name="U1" pcbX={0} pcbY={-15} label="LM317" />
<RegulatorTO220 name="U2" pcbX={0} pcbY={-33} label="LM337" />
{/* 精密分压电阻 (220R + 2.4K = ±15V) 与 10uF ADJ 降噪退耦电容 */}
<ResistorV name="R3" pcbX={10} pcbY={-13.73} label="220R" />
<ResistorV name="R4" pcbX={17} pcbY={-13.73} label="2.4K" />
<ElecCapV name="C7" pcbX={24} pcbY={-13.73} radius="2.6mm" pitch={2.5} posTop={true} />
<ResistorV name="R5" pcbX={10} pcbY={-34.27} label="220R" />
<ResistorV name="R6" pcbX={17} pcbY={-34.27} label="2.4K" />
<ElecCapV name="C8" pcbX={24} pcbY={-34.27} radius="2.6mm" pitch={2.5} posTop={true} />
{/* 稳压后 100uF 音频电容 + 104 薄膜退耦 */}
<ElecCapV name="C9" pcbX={33} pcbY={-15} radius="3.2mm" pitch={2.5} posTop={true} />
<FilmCapV name="C11" pcbX={40} pcbY={-15} pitch={5.0} />
<ElecCapV name="C10" pcbX={33} pcbY={-33} radius="3.2mm" pitch={2.5} posTop={true} />
<FilmCapV name="C12" pcbX={40} pcbY={-33} pitch={5.0} />
{/* 前级纯净 ±15V 输出端子 */}
<Terminal3PinV name="J_PRE_OUT" pcbX={48} pcbY={-24} label="PRE +/-15V" />
{/* AC 12-0-12 进肖特基桥 + 尖峰吸收电容 */}
<pcbtrace route={wire([{ x: -51, y: -18.92 }, { x: -43.5, y: -18.92 }, { x: -43.5, y: -21.5 }], "1.0mm", "top")} />
<pcbtrace route={wire([{ x: -43.5, y: -18.92 }, { x: -41.5, y: -18.92 }, { x: -41.5, y: -15 }, { x: -40, y: -15 }], "1.0mm", "top")} />
<pcbtrace route={wire([{ x: -40, y: -15 }, { x: -40, y: -18 }, { x: -26, y: -18 }, { x: -26, y: -27 }, { x: -30, y: -27 }], "1.0mm", "bottom")} />
<pcbtrace route={wire([{ x: -51, y: -29.08 }, { x: -43.5, y: -29.08 }, { x: -43.5, y: -26.5 }], "1.0mm", "top")} />
<pcbtrace route={wire([{ x: -43.5, y: -29.08 }, { x: -41.5, y: -29.08 }, { x: -41.5, y: -21 }, { x: -40, y: -21 }], "1.0mm", "top")} />
<pcbtrace route={wire([{ x: -40, y: -21 }, { x: -40, y: -24 }, { x: -24, y: -24 }, { x: -24, y: -33 }, { x: -30, y: -33 }], "1.0mm", "bottom")} />
{/* +V_RAW 进 C5 & LM317 VIN (顶层 1.2mm) */}
<pcbtrace route={wire([{ x: -30, y: -15 }, { x: -30, y: -21 }], "1.2mm", "top")} />
<pcbtrace route={wire([{ x: -30, y: -15 }, { x: -20.5, y: -15 }, { x: -20.5, y: -16 }], "1.2mm", "top")} />
<pcbtrace route={wire([{ x: -20.5, y: -16 }, { x: -6, y: -16 }, { x: -6, y: -17.54 }, { x: 0, y: -17.54 }], "1.2mm", "top")} />
{/* -V_RAW 进 C6 & LM337 VIN (顶层 1.2mm) */}
<pcbtrace route={wire([{ x: -40, y: -27 }, { x: -40, y: -33 }], "1.2mm", "top")} />
<pcbtrace route={wire([{ x: -40, y: -33 }, { x: -40, y: -37 }, { x: -15.5, y: -37 }, { x: -15.5, y: -32 }], "1.2mm", "top")} />
<pcbtrace route={wire([{ x: -15.5, y: -37 }, { x: -4, y: -37 }, { x: -4, y: -33 }, { x: 0, y: -33 }], "1.2mm", "top")} />
{/* LM317 (+15V) 反馈调压与纯净输出 (ADJ 跨接线已改走底层 bottom,消除短路) */}
<pcbtrace route={wire([{ x: 0, y: -15 }, { x: 5, y: -15 }, { x: 5, y: -9.98 }, { x: 10, y: -9.98 }], "1.0mm", "top")} />
<pcbtrace route={wire([{ x: 5, y: -9.98 }, { x: 33, y: -9.98 }, { x: 33, y: -13.75 }], "1.0mm", "top")} />
<pcbtrace route={wire([{ x: 33, y: -9.98 }, { x: 40, y: -9.98 }, { x: 40, y: -12.5 }], "1.0mm", "top")} />
<pcbtrace route={wire([{ x: 40, y: -12.5 }, { x: 45, y: -12.5 }, { x: 45, y: -18.92 }, { x: 48, y: -18.92 }], "1.0mm", "top")} />
<pcbtrace route={wire([{ x: 0, y: -12.46 }, { x: 0, y: -7.5 }, { x: 17, y: -7.5 }, { x: 17, y: -9.98 }], "0.8mm", "top")} />
<pcbtrace route={wire([{ x: 17, y: -7.5 }, { x: 24, y: -7.5 }, { x: 24, y: -12.48 }], "0.8mm", "top")} />
<pcbtrace route={wire([{ x: 10, y: -17.48 }, { x: 13.5, y: -17.48 }, { x: 13.5, y: -7.5 }], "0.8mm", "bottom")} />
{/* LM337 (-15V) 反馈调压与纯净输出 (0.8mm / 1.0mm) */}
<pcbtrace route={wire([{ x: 0, y: -35.54 }, { x: 5, y: -35.54 }, { x: 5, y: -38.02 }, { x: 10, y: -38.02 }], "1.0mm", "top")} />
<pcbtrace route={wire([{ x: 5, y: -38.02 }, { x: 33, y: -38.02 }, { x: 33, y: -34.25 }], "1.0mm", "top")} />
<pcbtrace route={wire([{ x: 33, y: -38.02 }, { x: 40, y: -38.02 }, { x: 40, y: -35.5 }], "1.0mm", "top")} />
<pcbtrace route={wire([{ x: 40, y: -35.5 }, { x: 45, y: -35.5 }, { x: 45, y: -29.08 }, { x: 48, y: -29.08 }], "1.0mm", "top")} />
<pcbtrace route={wire([{ x: 0, y: -30.46 }, { x: 7, y: -30.46 }, { x: 7, y: -30.52 }, { x: 10, y: -30.52 }], "0.8mm", "top")} />
<pcbtrace route={wire([{ x: 7, y: -30.46 }, { x: 7, y: -40.5 }, { x: 17, y: -40.5 }, { x: 17, y: -38.02 }], "0.8mm", "bottom")} />
<pcbtrace route={wire([{ x: 17, y: -40.5 }, { x: 24, y: -40.5 }, { x: 24, y: -35.52 }], "0.8mm", "bottom")} />
{/* 辅助路 GND2 独立纯净星型地线 (底层 1.5mm / 1.0mm,彻底隔离上半区 GND1) */}
<pcbtrace route={wire([{ x: -51, y: -24 }, { x: -51, y: -40 }, { x: -20.5, y: -40 }, { x: -20.5, y: -32 }], "1.5mm", "bottom")} />
<pcbtrace route={wire([{ x: -20.5, y: -40 }, { x: -12, y: -40 }, { x: -12, y: -24 }, { x: -15.5, y: -24 }, { x: -15.5, y: -16 }], "1.5mm", "bottom")} />
<pcbtrace route={wire([{ x: -12, y: -24 }, { x: 48, y: -24 }], "1.5mm", "bottom")} />
<pcbtrace route={wire([{ x: 17, y: -24 }, { x: 17, y: -17.48 }], "1.0mm", "bottom")} />
<pcbtrace route={wire([{ x: 24, y: -24 }, { x: 24, y: -14.98 }], "1.0mm", "bottom")} />
<pcbtrace route={wire([{ x: 33, y: -24 }, { x: 33, y: -16.25 }], "1.0mm", "bottom")} />
<pcbtrace route={wire([{ x: 40, y: -24 }, { x: 40, y: -17.5 }], "1.0mm", "bottom")} />
<pcbtrace route={wire([{ x: 17, y: -24 }, { x: 17, y: -30.52 }], "1.0mm", "bottom")} />
<pcbtrace route={wire([{ x: 24, y: -24 }, { x: 24, y: -33.02 }], "1.0mm", "bottom")} />
<pcbtrace route={wire([{ x: 33, y: -24 }, { x: 33, y: -31.75 }], "1.0mm", "bottom")} />
<pcbtrace route={wire([{ x: 40, y: -24 }, { x: 40, y: -30.5 }], "1.0mm", "bottom")} />
</board>
)