Skip to content

Thermal Design for Sealed Enclosures

Thermal Design for Sealed Enclosures

“Sealed means better protection” and “good cooling means holes” are two sides of one coin. This section gives a deliverable order of work: compute the steady-state rise first, then choose conduction, convection or derating. By the end you will be able to:

  • List the real heat sources in the box and their continuous dissipation, not just nameplate figures
  • Turn “how many watts can a sealed shell take” into a measured quantity via equivalent thermal resistance
  • Weigh conduction, convection and radiation realistically for small IoT enclosures
  • Verify both hot-end and cold-end failures, and encode battery charge temperature protection in firmware
  • Completed Chapter 23 Sections 4 and 5 (sensor airflow, ingress protection)
  • Have a power budget (the table in Chapter 25 Section 14 works directly)
  • Have thermocouples or an IR thermometer and can run to steady state

Identify the sources before designing cooling

Section titled “Identify the sources before designing cooling”

Typical internal heat sources in an ESP32 product:

Source Character Watch out for
Wi-Fi power amplifier Short bursts, current spikes to hundreds of mA during transmission Low average power but distinct local hot spots
LDO Continuous heat = (Vin − Vout) × I Usually the worst efficiency link, brutal on battery products; a main contributor to internal temperature
DC-DC Efficient, but switching noise; inductor and IC both warm Copper area and via stitching beat adding a heatsink
Heated gas sensor (MQ class) Continuous heater, tens to over a hundred milliwatts and up The single biggest continuous load; generally unsuitable for battery products
Actuator drivers (H-bridge, relay, MOS) Heat concentrated during motion, worst at stall Size for the stall case
Li-ion charging Chemical heating with a hard temperature ceiling No charge when hot, limited current when cold
Display backlight / LEDs Moderate continuous heat Can be conductively coupled to the wall

Key point: separate peak from average. Thermal design runs on continuous dissipation and duty cycle; transient peaks belong to power integrity (Chapter 25 Section 14).

Equivalent thermal resistance: make “how many watts” measurable

Section titled “Equivalent thermal resistance: make “how many watts” measurable”

At steady state, approximately ΔT = P × Rth:

  • ΔT: temperature difference between the critical component inside and ambient
  • P: continuous total dissipation
  • Rth: whole-assembly equivalent thermal resistance (a mix of shell material, thickness, surface area, emissivity, mounting surface and airflow)

Rth cannot be calculated reliably, but it can be measured and then used: run a prototype to steady state at full load, record ΔT and P, derive Rth = ΔT / P. Every subsequent change (material, venting, wall coupling, larger mounting area) gets re-measured the same way, giving one Rth value per version. That is what makes a claim defensible.

The pass criterion comes from component datasheets: maximum working ambient for the MCU, capacitors and cell are hard boundaries. Exceeding them means changing structure or reducing load — not “it just runs a bit warm”. Electrolytic capacitor life is extremely temperature-sensitive (the familiar rule of thumb is roughly doubling life per 10 °C reduction — use the manufacturer’s life curve), which is the most underestimated factor in low-power products.

  1. Conduction (the most effective route in small shells): move heat from the source to the wall via thermal pads or a metal mounting plate, then let the outer surface reject it. Practical moves: heavy copper pour plus via arrays under LDO/DC-DC, coupling hot parts to a metal bracket or wall, thickening ribs locally at hot spots
  2. Convection (depends entirely on apertures and orientation): natural convection needs inlets low, outlets high, unobstructed. Venting collides head-on with IP, dust and condensation (Section 5), so labyrinths or breathable membranes are the compromise
  3. Radiation (modest but tunable): outer surface emissivity, colour and mounting surface matter; light-coloured shells under direct sun absorb far less than dark ones — outdoors, solar load often dominates internal dissipation

Rule of thumb: for a small sealed plastic shell, do conduction plus more outer surface; vent only when the power really demands it, because once you open holes the protection cost from Section 5 jumps immediately.

Derating is a third design lever, not a fallback

Section titled “Derating is a third design lever, not a fallback”

When the rise is too high, you can also change operating conditions — often cheaper than mechanics:

  1. Limit charge current (cell temperature tracks charge current strongly)
  2. Reduce radio duty: batch reports, longer sampling intervals, event-driven instead of polling
  3. Power heavy peripherals on demand rather than always on (Chapter 25 Section 14)
  4. Stagger start-up so multiple actuators do not add their surges together

How to document it: publish a “thermally constrained operating cycle”, e.g. reporting interval shall not be shorter than N seconds to keep steady-state rise below X °C, and archive that statement with the measured curve.

  1. Li-ion cells show higher internal resistance and voltage sag at low temperature — “charge left but it shuts down” is common; charging below the permitted temperature damages cells (most vendors forbid charging below 0 °C — follow the cell datasheet)
  2. Low-temperature ratings of cells and electrolytics are hard limits; outdoor products must check both ends of the range
  3. Rapid cooling condenses internal vapour (Section 5) — vent placement and cold-spot layout decide where it forms
  4. If the site may fall below part ratings, consider insulation, deliberate self-heating, or wide-temperature parts

One steady-state test yields the version’s thermal resistance, worth tabulating (the values below are a format example, not measured results — replace them with your own data in projects):

Version Structural change Ambient Steady key temperature ΔT Continuous P Derived Rth Verdict
v1 Sealed ABS, no ribs 25 °C 52 °C 27 K 0.35 W 77 K/W Near the limit, must change
v2 Thermal pad to shell 25 °C 44 °C 19 K 0.35 W 54 K/W Acceptable, keep

The example only shows how to structure the table and how Rth moves with design changes; it is not a performance basis for any actual product.

Pair it with a small script so nobody does this arithmetic by hand:

# Derive equivalent thermal resistance from measurement, then predict rise at other loads
measured = {"dT_K": 19.0, "power_W": 0.35} # from the prototype, not an estimate
rth = measured["dT_K"] / measured["power_W"] # K/W
ambient, limit_part_C = 40.0, 85.0 # site maximum ambient, part rating ceiling
for p in (0.2, 0.35, 0.5, 0.8):
t = ambient + p * rth
print(f"P={p:.2f} W -> critical part about {t:.1f} C {'OK' if t <= limit_part_C else 'over limit: change structure or derate'}")

Two disciplines: measured must be measured data; ambient and limit_part_C must come from the site profile and the datasheet, not from memory. Keep the sheet and the script output in the project record.

Check Expected result Verified
Full-load steady-state curve Time constant and steady value recorded, Rth entered in the sheet
Critical part temperature Below the datasheet maximum working ambient with margin
Hot environment test Function normal at the rated maximum ambient, no radio rollback
Cold environment test Discharge and charge inside cell limits, no unexpected shutdown
Charge temperature rise Cell surface peak within limits, protective action triggers if exceeded
Re-verify IP after venting Protection retested once holes exist — never inherited
Version comparison Each revision has its own Rth so improvements are quantified
Long-duration ageing No capacitor bulging or seal degradation after extended hot operation

Issue 1: the shell runs hot, or radio becomes unstable on site

Section titled “Issue 1: the shell runs hot, or radio becomes unstable on site”

Cause: continuous dissipation exceeds the structure’s ability; parts derate and PA performance rolls back at high temperature.

Fixes:

  1. Measure steady state before judging — do not rely on touching it; back out Rth to find the bottleneck
  2. Add conduction paths (wall coupling, metal bracket, copper plus vias); prefer conduction
  3. If power cannot drop, accept venting and change the protection design accordingly — never quietly lower the IP claim

Cause: cold raises internal resistance and sags voltage; charging below permitted temperature damages the cell.

Fixes:

  1. Set brown-out thresholds from the low-temperature discharge curve (the battery management of Chapter 25 Section 14 applies)
  2. Let a temperature sensor gate charging: forbid or limit current below the permitted range
  3. For outdoor winter units, consider insulated placement or wide-temperature cells

Issue 3: electrolytics or seals age prematurely

Section titled “Issue 3: electrolytics or seals age prematurely”

Cause: sustained high internal temperature; wrong LDO choice leaving a large permanent dropout.

Fixes:

  1. Re-examine the heat source — fix the power architecture (DC-DC, lower input voltage) rather than bolting on a heatsink
  2. Re-derive capacitor voltage and temperature ratings from measured rise, with margin
  3. Choose gasket material for the measured maximum temperature and re-run weathering checks (Section 5)

Cause: apertures create cold bridges and air paths that deposit water on cold walls.

Fixes:

  1. Move and reorient vents so they do not blow across the sensor or cold surfaces
  2. Use labyrinths instead of straight-through holes, balancing cooling and anti-condensation
  3. Keep sensors away from cold spots (reuse the cold-spot marking from Section 4)
  • Do: run thermal design as “one measured Rth per version”; changes must be quantitatively comparable
  • Do: prefer conduction in small sealed shells (wall coupling, pads, copper and vias); venting is the last resort
  • Do: decide thermal, ingress and EMC together on the drawing instead of each locally optimal
  • Do: treat hot and cold as hard limits, and implement charge temperature protection in firmware rather than in prose
  • Don’t: substitute “doesn’t feel hot” for a steady-state measurement
  • Don’t: open vents and keep the previous IP claim
  • Don’t: design with peak power as if it were continuous, or ignore stall as a worst case

Key points of this section:

  1. Separate peak from average: thermal sizing uses continuous dissipation and duty; transients belong to power integrity
  2. Derive Rth from measurement: ΔT = P × Rth turns “can it take it” into comparable numbers
  3. Conduction beats convection in small shells; holes raise protection cost immediately
  4. Derating is a co-equal third lever, documented as a constrained operating cycle
  5. The cold end kills too: voltage sag, charge damage and vent-induced condensation are designed for at proposal stage

Next section: mounting hardware and fixing methods — load paths, anchors and failure modes for wall, rail and pole installation.


Building a commercial IoT product?

We provide ESP32 ODM design-to-manufacturing services. From prototype to production — the team behind this tutorial can build it with you.

💡 Mention tutorial.imagrove.com in your Alibaba chat with us — get 10% off your custom project quote.

Talk to us →

First published attutorial.imagrove.com/enclosure-design/06-thermal-design-for-sealed-enclosures/Please credit Imagrove and link back to this page when quoting or republishing.

Questions or issues with this tutorial?

Sign in with GitHub to leave a comment. If a step fails for you, tell us — we verify it and update the tutorial.