I am building a battery-powered speaker and would like a check of the boost converter on my board before I order prototypes. I am a software/firmware developer, not a hardware engineer.
AI disclosure (rule 7):Â the board was designed with heavy help from Claude Code (Anthropic), which also helped word this post. It generated the KiCad schematic and placement with Python scripts and drew the power copper by hand in those scripts following TI's layout section. The schematic below is the real KiCad schematic, not an AI image.
What I have checked:Â ERC and DRC clean; the netlist checked pin by pin against the datasheets; the boost simulated in ngspice (averaged loop model and cycle by cycle), which changed several values. Nothing built yet.
The circuit:Â LM5123-Q1 synchronous boost, input 10 to 14 V from a 4S LiFePO4 pack, output 15.2 to 24 V set by the TRK pin (the amplifier raises it on loud passages), 435 kHz, forced PWM, 4.7 uH inductor, 3 milliohm sense resistor (20 A limit), two 40 V N-FETs in 5 x 6 mm packages, 4 x 10 uF ceramic + 2 x 330 uF at the output. Load: a TAS5828M class-D amplifier with bursts to about 100 W. 4-layer board, layer 2 solid ground.
Layout: the output capacitors bridge from the low-side FET's source to the high-side FET's drain (loop about 8 x 7 mm). The current-sense pair is taken from the inner edges of the sense resistor's pads and runs as a pair on the bottom layer. High-side gate track 2.3 mm. Low-side gate track 35 mm on the bottom layer, because it has to go round the switch node; there is a 0 ohm gate resistor position.
My question:Â is the 35 mm low-side gate track acceptable for a first prototype with that gate resistor position, or should I move the controller first? Any other problem in the switching loop or current sense that would damage parts would also be very welcome.
Images: boost schematic https://drive.google.com/file/d/1YwNMGb9RpuATVN70liLHcIj6IjHkKR8R/view?usp=share_link,
top layer https://drive.google.com/file/d/1QXBLQMungJYseBt_zf6WmvhKUq7O1mgl/view?usp=sharing,
bottom layer https://drive.google.com/file/d/1q25exjQvvOJDywoZo6fAtRfBXykKTZez/view?usp=sharing
Full schematic PDF and KiCad project:Â https://drive.google.com/file/d/1oU6fQsxH8IulgoLs_rlhCkGAHyAZikhA/view?usp=sharing
Datasheets:
- TAS5828M:Â https://www.ti.com/lit/ds/symlink/tas5828m.pdf
- LM5123-Q1:Â https://www.ti.com/lit/ds/symlink/lm5123-q1.pdf
- BQ25798:Â https://www.ti.com/lit/ds/symlink/bq25798.pdf
- BQ34Z100-R2:Â https://www.ti.com/lit/ds/symlink/bq34z100-r2.pdf
- HUSB238 (Chinese):Â https://www.lcsc.com/datasheet/C7471904.pdf
- ESP32-C5-WROOM-1U:Â https://www.espressif.com/sites/default/files/documentation/esp32-c5-wroom-1_wroom-1u_datasheet_en.pdf