ContextThe brief
Everything downstream of the cart's 24 V traction pack, the motor drive, a single-board computer, four microcontrollers and their sensors, was being wired point to point. On a vehicle that drives itself, loose high-current wiring is a safety problem first.
The fix was one board that carries motor-level current and supplies clean rails to the compute stack.
My subsystemThrottle control
- Programmed a microcontroller to generate PWM throttle commands for a high-current ESC, automating acceleration on the full-scale cart.
- Wired, bench-tested and debugged the system for repeatable speed regulation before it went on the vehicle.
Three tiersPower architecture
- The 24 V rail runs straight to the motor driver through its own fuse and bulk capacitance, keeping the highest-current path short.
- A 24 → 12 V buck feeds everything that is not the drive motor.
- A 12 → 5 V stage supplies a Raspberry Pi 5 and four ESP32 controllers.
- Voltage, current and thermal margin were checked on every rail, not just the input.
SchematicOn the board
- Battery Connect brings the 24 V pack onto the board through a screw-terminal block.
- Fuse 1 protects the branch that feeds the 24 → 12 V buck converter for the logic tier.
- Fuse 2 protects the motor branch, which passes a 1000 µF bulk capacitor (C1) before the Pololu motor driver output.
- All grounds return on one shared net, and every connector uses the same screw-terminal footprint, so the harness is simple to service.
Copper sizingCarrying the current
- Trace widths calculated to IPC-2221 for a 15–20 A continuous target.
- 2 oz copper on both layers, with polygon pours instead of discrete traces.
- Via stitching so both pours share the load and spread the heat.
Heat dissipation was a placement constraint from the first layout pass.
SafetyProtection
A 5 A fuse on the logic branch and a 20 A fuse on the motor branch, coordinated with the driver's current limit so the fuse acts last. Bulk capacitance holds the motor rail up through current steps, and anti-spark connectors protect the contacts when the 100 Ah pack is connected. The board shipped with a full BOM and wiring documentation for design review.
ValidationResults
Next step: current sensing on each branch, reported back to the compute stack, so the vehicle can see its own power draw.
FiguresBoard and schematic
Select any figure to open it full size.