Understanding power supply circuit operation requires looking past the schematic and into the thermal and transient realities of the load. When designing an off-grid IoT telemetry node powered by a 24V solar battery bank, stepping down to 5V and 3.3V to drive an ESP32-WROOM-32 and a 5V relay module seems trivial on paper. In practice, the high peak currents of Wi-Fi transmission and the harsh voltage transients of lead-acid or LiFePO4 charging profiles will destroy poorly specified regulators. This guide breaks down the exact engineering decisions, thermal math, and component selections required to build a robust 24V-to-5V DC-DC conversion stage.
The Core Decision: Linear vs. Switching for Solar Telemetry
The first step in power supply circuit operation is matching the topology to the load profile. Our target load is an ESP32-WROOM-32 (which peaks at 500mA during RF transmission) combined with a 5V mechanical relay module (drawing 70mA coil current). The total peak load on the 5V rail is 600mA.
If we attempt to use a linear regulator (like an LM7805 or LM317) to drop 24V down to 5V, we must calculate the dropout and headroom math. The voltage drop across the linear element is 19V (24V - 5V). At a peak current of 0.6A, the power dissipated as heat is:
P_diss = (Vin - Vout) × I = (24V - 5V) × 0.6A = 11.4W
Conversely, a switching buck converter operates by storing energy in an inductor and releasing it to the output. Assuming a conservative 85% efficiency, a 3W output (5V × 0.6A) requires 3.52W of input power. The dissipated heat is only 0.52W. This is easily managed by a surface-mount IC with an exposed thermal pad, making switching the only viable topology.
Topology Comparison: Efficiency, Heat, and Noise Trade-offs
While we have eliminated linear regulators for high-current drops, it is useful to map the broader topology landscape for mixed-signal solar nodes. The table below compares the three primary DC-DC topologies for a 24V-to-5V conversion at 600mA.
| Topology | Efficiency (24V to 5V) | Heat Dissipation (at 600mA) | Output Noise / Ripple | Relative Cost & Footprint |
|---|---|---|---|---|
| Linear (LDO) | ~20% | 11.4W (Requires massive heatsink) | Ultra-low (< 1mV RMS) | Lowest cost, but physically huge with heatsink |
| Buck (Switching) | 85% - 92% | 0.3W - 0.5W (Managed via PCB copper) | Moderate (20-50mV switching ripple) | Medium cost, requires inductor and Schottky diode |
| Charge Pump | ~70% (at high step-down ratios) | ~1.2W | High (capacitor switching noise) | Low cost, no inductor, but limited to < 100mA loads |
Ripple Expectations: A buck converter switching at 500kHz will generate output voltage ripple. For the TPS5430 detailed below, expect 20mV to 40mV of peak-to-peak ripple. While this is perfectly acceptable for driving a 5V relay coil, the ESP32’s internal ADC is highly sensitive to supply noise. You must follow the buck converter with a localized 10µF MLCC and 100nF ceramic capacitor placed within 2mm of the ESP32 VDD pin to filter high-frequency switching nodes.
Input Protection and Voltage Range Realities
A '24V nominal' solar battery bank rarely sits at exactly 24.0V. A 24V LiFePO4 pack (8S configuration) ranges from 20V (empty) to 29.2V (absorption charge). Furthermore, when a charge controller disconnects or a heavy inductive load switches off, the wiring inductance can cause voltage spikes (load dump) exceeding 40V.
Your power supply circuit operation must survive these transients. The input stage requires two critical protections:
- Transient Voltage Suppression (TVS): Place a unidirectional TVS diode, such as the SMAJ33A (33V standoff, 53.3V clamping), directly across the input terminals. This shunts inductive spikes to ground before they breach the regulator's absolute maximum voltage rating.
- Reverse Polarity Protection: Instead of a standard P-N junction diode which drops 0.7V and wastes power, use a P-channel MOSFET (like the SI2301) configured as an ideal diode. When wired correctly (source to battery, drain to load, gate to ground via a 10kΩ resistor), it provides near-zero voltage drop reverse polarity protection.
Design Example: 24V to 5V Buck Converter Specs
For this design, we select the Texas Instruments TPS5430DDA. It is a 5.5V-to-36V input, 3A continuous output step-down converter housed in an SOIC-8 package with an exposed PowerPAD. It requires minimal external components and operates at a fixed 500kHz switching frequency, keeping the inductor physically small.
| Component | Reference Designator | Value / Part Number | Function in Circuit |
|---|---|---|---|
| U1 | IC | TPS5430DDA | Main PWM controller and high-side FET |
| L1 | Inductor | 15µH (e.g., Bourns SRP1265A-150M) | Energy storage; rated for > 4A saturation current |
| D1 | Schottky Diode | SS34 (40V, 3A) | Freewheeling diode for inductor discharge path |
| C_IN | Input Caps | 10µF X7R (0805) + 100µF Electrolytic | High-frequency bypass and bulk energy reserve |
| C_OUT | Output Caps | 22µF X7R (1206) + 100µF Low-ESR | Output filtering and loop stability |
| C_BOOT | Bootstrap Cap | 0.1µF X7R (0603) | Drives the high-side gate above VIN |
| R1 / R2 | Feedback Divider | R1 = 52.3kΩ / R2 = 10kΩ (1%) | Sets output to exactly 5.0V |
Feedback Resistor Math: The TPS5430 uses an internal 0.8V reference. The output voltage is set by the formula: Vout = 0.8V × (1 + R1/R2). To achieve 5.0V with a standard 10kΩ resistor for R2, R1 must be 52.5kΩ. The closest standard 1% E96 value is 52.3kΩ, yielding an actual output of 4.98V, which is well within the 5V ±5% tolerance required by the relay and ESP32.
Thermal Derating and PCB Layout Rules
Even though the TPS5430 only dissipates ~0.5W at our 600mA load, ambient temperatures inside a solar enclosure in direct sunlight can easily reach 60°C to 70°C. The TPS5430DDA features an exposed thermal pad on the bottom of the IC.
To ensure reliable operation, the PCB layout must include a continuous copper pour on the top layer connected to the PowerPAD, stitched with an array of thermal vias (0.3mm diameter, 1mm pitch) to a solid ground plane on the bottom layer. According to the TI TPS5430 datasheet, this via array reduces the effective junction-to-ambient thermal resistance to roughly 40°C/W. At 0.5W dissipation and a 70°C ambient environment, the junction temperature will only rise by 20°C, reaching a safe 90°C—far below the 150°C thermal shutdown threshold.
Keep the high-current switching loop (Input Cap -> IC VIN pin -> IC SW pin -> Inductor -> Schottky Diode -> Input Cap GND) as physically tight and short as possible. A large loop area acts as an antenna, radiating EMI that can disrupt the ESP32's 2.4GHz Wi-Fi reception.
Decision Tree: Picking Your Exact Regulator
When evaluating power supply circuit operation for your specific node, use this decision matrix to lock in your component selection. Do not default to 'it depends'—follow the logic to a concrete part number.
| Condition / Load Profile | Topology Required | Concrete Part Recommendation |
|---|---|---|
| Load < 50mA AND (Vin - Vout) < 3V | Linear LDO | AP2112K-3.3 (Low quiescent current, SOT23-5) |
| Load < 50mA AND (Vin - Vout) > 10V | High-Voltage LDO | TPS7A4001 (Handles up to 100V input, 50mA out) |
| Load 50mA - 1A, Space constrained | Integrated Synchronous Buck | MP2315S (SOT23-8, 24V in, 3A out, internal inductor options) |
| Load 1A - 3A, 24V Solar Input (Our Target) | Asynchronous Buck | TPS5430DDA (SOIC-8 PowerPAD, robust, easy hand-soldering) |
| Load > 5A, High Efficiency Required | Synchronous Buck Controller | LM5117 (Requires external FETs, complex compensation) |
Final Verdict: For a 24V solar telemetry node driving an ESP32 and 5V relays (peaking at 600mA), the TPS5430DDA is the definitive pick. It provides the necessary 36V absolute maximum input rating to survive solar charge controller transients, delivers 3A of headroom for future sensor expansions, and utilizes an SOIC-8 package that is forgiving for DIY rework and hand-soldering, unlike sub-millimeter pitch QFN alternatives. Pair it with an SMAJ33A TVS diode and a properly via-stitched thermal pad, and your power stage will outlast the battery bank itself.






