ESP32 电池切换控制

针脚映射和元件布局已完成,模块排母按15.24mm中心距放置并保留USB/天线空间。当前唯一阻塞是4层叠层没有成功保存,我会再做一次针对性修复并读回确认,然后停在布局确认点。
4层叠层已成功修复为Top信号、内层地、内层电源、Bottom信号;模块与逻辑区的局部拥塞也已拉开。正在做布局确认点的最终读回。
布局阶段已经完成并通过基础检查;我将停在走线前确认点,等待你确认模块排距与整体布局后再布线。
已按图片完成针脚映射和PCB布局:
  • PCB:180×140mm、4层。
  • ESP32排母:2×1×9、2.54mm针距、15.24mm排距。
  • USB朝左侧板边,天线朝右并保留无铜区域。
  • GPIO、I²C、移位寄存器和采样选择信号已固定。
  • 继电器、32A端子、模拟采样及控制区已分区布局。
  • 尚未走线。
**待确认:**15.24mm排距依据兼容模块常见封装推定,首板前请用卡尺测量你手中模块两排针的中心距离。确认排距及当前布局后,我再开始15A功率铜皮和控制信号走线。
确认布局并走线
先检查DRC
优化板子尺寸
生成装配预览
U3
U5
U7
C13
Capacitance
470uF
C1
Capacitance
100nF
C7
Capacitance
100nF
C2
Capacitance
100nF
C6
Capacitance
100nF
C12
Capacitance
100nF
C16
Capacitance
10uF
C19
Capacitance
1uF
C18
Capacitance
1uF
C10
Capacitance
100nF
C11
Capacitance
100nF
C3
Capacitance
100nF
C4
Capacitance
100nF
C8
Capacitance
100nF
C5
Capacitance
100nF
C9
Capacitance
100nF
U1
R17
Resistance
100kΩ
R19
Resistance
12kΩ
R1
Resistance
100kΩ
R15
Resistance
100kΩ
R21
Resistance
12kΩ
R14
Resistance
100kΩ
R20
Resistance
22kΩ
R13
Resistance
100kΩ
R16
Resistance
100kΩ
R8
Resistance
19.1kΩ
R25
Resistance
4.7kΩ
R22
Resistance
22kΩ
R18
Resistance
100kΩ
R24
Resistance
10kΩ
R9
Resistance
19.1kΩ
R4
Resistance
100kΩ
R6
Resistance
100kΩ
R2
Resistance
100kΩ
R7
Resistance
19.1kΩ
R3
Resistance
100kΩ
R5
Resistance
100kΩ
R26
Resistance
4.7kΩ
R11
Resistance
19.1kΩ
R12
Resistance
19.1kΩ
R10
Resistance
19.1kΩ
R23
Resistance
10kΩ
F1
J13
J4
K1
J12
J3
K2
J2
K5
J8
J7
J1
J5
J6
K3
K4
K6
D7
U4
U2
J9
J10

Refine this doc
Ask about this doc
Safety and FMEA

Table


Hazard / failureEffectRequired mitigation / verification
Two relays closed togetherBattery-to-battery uncontrolled equalization current, fireHardware default-off; OE/KILL gating; one-hot firmware; break-before-make; contact feedback; test fault injection
ESP32 reset/brownout while shiftingSpurious relay pulse74HC595 OE held disabled and clear asserted by hardware until valid latched one-hot word; input defaults; KILL independent of firmware
Relay welded closedNext selection parallels batteriesPer-relay contact feedback or common fault plus pre-switch voltage/current checks; refuse next close; service relay
Wrong relay DC ratingContact welding/arcingVerify ≥20A at ≥12VDC from manufacturer datasheet, not AC rating only
Undersized terminal/traceOverheating/fire≥20A DC terminal; no 16A DB128V; thermal verification in PCB stage
Missing/remote fuseCable/fire hazardExternal 20A replaceable fuse at each battery positive terminal
BAT_BUS dead-time resets controllerLoss of control / unsafe restartOR-ing control supply from battery inputs; calculate and test hold-up
12V applied to ESP32Module destruction/fireFeed only regulated 3.3–6V to B+/B- per module page; labeled connector/net
ADC overvoltage/transientDamaged ADC/MCU, wrong selection1% divider, series resistance, RC, 3.3V clamps; validate 20V full scale and surge
Current sensor saturation/polarity errorWrong energy/control decision≥±20A, target ±30A; bidirectional calibration and polarity test
WiFi malfunction/remote commandUnsafe switchingLocal invariant and KILL cannot be overridden by web request; authentication/network risk review
Lithium battery/BMS faultFire or overchargeEach pack requires appropriate BMS; controller is not a charger; solar controller remains responsible for chemistry charging profile
Regulatory / risk posture
Low-voltage DC but high available fault energy and WiFi radio. Final product requires applicable radio/module integration evidence, enclosure/wiring protection, fuse interrupt-rating validation, creepage/clearance appropriate to pollution environment, thermal testing at 15A, and a qualified safety review.
  • Regulatory / risk posture

ESP32 六路电池切换器

ESP32 六路电池切换器 thumbnail
6组共负极12V锂电池的15A自动切换控制器,单一BAT_BUS连接太阳能控制器并记录母线电压、电流、功率、Ah与Wh;采用硬件默认断开和break-before-make互锁。

Properties

Properties describe core aspects of the project.

Pricing & Availability

Distributor

Qty 1

Arrow

$39.15–$51.71

Digi-Key

$4.89

HQonline

$0.69–$2.33

LCSC

$26.55–$28.34

Mouser

$34.12

TME

$2.75

Verical

$42.40–$59.53

Controls