Proto-1 power board: protection, rails and mute timing
Proto-1 is three board designs: a power board, a carrier board and a DAC card I'm building twice. The power stage is the heart of any electronics that live in a car. A car's electrical system is noisy and hostile: alternator whine, dips when the engine cranks, and spikes when loads switch on and off. An audio processor has to survive all of that and keep it out of the audio. Everything else in the stack depends on the power board, so it's the first one I'll bring up.
It accepts a nominal 12 V power input and makes two rails: 5 V for the digital side and ±15 V for the analog side. Both stay in regulation with the input anywhere from 9 to 24 V. It also protects the stack from a bad power input, and it can force the outputs to mute when the input voltage drops.
Power is its own board so I can bring it up alone, on a dummy load, where a mistake can't damage anything else. I can also revise or replace it without remaking the carrier.
This post covers the design as ordered, so its numbers are design values, estimates and datasheet figures.
Input and protection
The power board has to make regulated rails and demonstrate the core input protection a car needs. Its power input is a simple barrel jack, so I can test it with a 12 V wall adapter or a bench power supply. From the jack, power goes through four parts before it reaches the converters:
- A 3 A fuse.
- An SMCJ33CA TVS diode, which clamps fast transients.
- An LM74722-Q1 ideal-diode controller. It blocks reverse polarity and disconnects above 33 V.
- Two 220 µF hybrid polymer capacitors, which hold the rail up through short dips.
The 5 V and ±15 V rails
I wanted the simplest power stage that gets proto-1 running. Both converters run straight from the protected input.
The 5 V rail comes from an LMR33630 buck at 2.1 MHz. It powers the PocketBeagle 2, the logic, the relays and the DAC cards' 3.3 V regulators. It's set to 5.02 V because the PocketBeagle 2 cuts off its input above 5.5 V ±3%, which can be as low as 5.34 V.
The ±15 V comes from a TDK-Lambda CCG6 module. It accepts 9 to 36 V and makes ±15 V at up to 200 mA per rail. I chose a module because it's the quickest path to regulated rails from a wide input. A discrete stage might replace it later.
At the expected load of about ±80 mA, the module runs at 40% of its rating. With every output at full scale, the load rises to about ±110 mA, or 55%.
Each ±15 V rail goes through a 10 µH LC filter, with a 1 Ω and 22 µF damping branch that keeps the filter from ringing. The filter is about 50 dB down at the module's 400 kHz switching frequency. Each DAC card then regulates the ±15 V down to ±13.3 V with its own low-noise regulators.
Eventually I'll design for crank ride-through, maybe with bulk capacitance or an intermediate bus. This board doesn't take that on.
Power-on and shutdown
In a car, the processor turns on with the ignition (ACC) wire. Proto-1 replaces the ACC wire with a switch to test the same enable logic.
Switch on:
- The ideal-diode controller turns on slowly, which limits inrush to about 0.6 A.
- As the input rises, the 5 V buck starts at about 6.1 V and the ±15 V module at about 9 V. The PocketBeagle 2 boots from the 5 V rail. The DACs and the codec are held in reset until Linux releases them.
- Linux drives a power-hold line high, sets up the codec and DACs, then requests unmute.
Switch off:
- The software sees the switch go off on a sense line.
- It ramps the DAC volume down to zero, then drops the unmute request so the relays open.
- It finishes writing to storage and shuts Linux down.
- The power-hold line falls, and the board disconnects everything. The off-state drain is about 1.5 µA.
The power-hold line lets the software finish shutting down after the ignition is off. There's one case where that fails: if the processor hangs with the line high, the board stays on and drains the car's battery. To cover it, a watchdog will have to restart the processor, which then sees the switch is off and shuts down.
Mute before the rails collapse
The outputs have to mute before any rail collapses. Otherwise the amplifiers get a pop that can damage a speaker. The power board has two signals that feed the mute line: the 5 V buck's power-good, and a TPS3808 brown-out detector on the input. A power-good signal goes low when a regulator's output falls out of regulation.
| Input | What happens |
|---|---|
| ≥ 9 V | All rails are up. |
| 9 V to 6.5 V | The ±15 V module stops. The DAC card regulators drop their power-good signals and the output relays open. The PocketBeagle 2 keeps running. |
| Below 6.5 V | The brown-out detector also forces mute. |
| Below 5.6 V | The 5 V buck turns off and the PocketBeagle 2 loses power. |
The relays are meant to open while the op-amps still have most of their supply. When the ±15 V module stops, the DAC cards' ±13.3 V rails start to fall. Their regulators drop power-good at about 90%, around ±12 V, and the relays release within milliseconds. How much margin that leaves isn't measured yet.
Temperature
The power board runs hot, so most of the higher-temperature parts are here. The long-term board target is 85 °C ambient. The hold-up capacitors are rated to 135 °C, and the buck and the protection parts to 125 °C. The ±15 V module derates above 80 °C in still air. At about 55% load it's good to about 87 °C.
The module has no thermal shutdown of its own. A TMP75B temperature sensor sits within 10 mm of it instead, on I²C. Its alert pin goes to the PocketBeagle 2. Software can use it to monitor the temperature and throttle processing, clock speed or output level as the board heats up.
Later additions
To survive in a car, later iterations of the power stage must include:
- A harness terminal with battery, ground, ignition and a remote-on output for the amplifiers.
- An input filter for EMC, in front of both converters.
- Crank ride-through for the analog rails.
- A backstop to the processor's watchdog, such as a hardware timeout, so a hung processor can't keep the board on and drain the battery.
- A thermal path to the enclosure: pads from the ±15 V module and the 5 V buck to the lid.