Guide

Managing heat in a product enclosure: giving heat a path out

Why heat matters in a physical product, where it comes from, how it moves in plain terms, the trade-off between venting and sealing, simple first estimates you can do on paper, and how to test temperatures on a prototype before the design is frozen.

Quick answer

Almost all the power your product uses ends up as heat, and that heat has to find a way out of the housing. Design that path on purpose rather than hoping the enclosure copes.

List the parts that get warm and how much power each one uses, then give the hottest ones a solid route to the outside: a thermal pad to the case wall, a metal lid or panel, more surface area, or vents if the product does not need to be sealed. A rough estimate of temperature rise (power multiplied by thermal resistance) tells you early whether you have a problem. Then measure a prototype at its worst-case temperature and load, and check the results against the component datasheets and the touch-temperature limits in your product's safety standard.

Contents

  1. Why heat matters
  2. Where the heat comes from
  3. How heat moves, in plain terms
  4. What that means for the design
  5. Venting versus sealing
  6. Heat sinks and spreaders
  7. Fans, and when to avoid them
  8. Simple first estimates
  9. Testing temperatures on a prototype
  10. Touch temperature
  11. Worked example: a sealed outdoor sensor
  12. Common mistakes

Why heat matters

A circuit that runs happily on an open bench can run much hotter inside a housing, as the electronics guide points out. Heat causes problems in four ways:

  • Component ratings. Every electronic part has a maximum operating temperature in its datasheet. Near it, parts may slow down, shut off, drift or wear out early.
  • Battery temperature limits. The cell maker sets temperature ranges for charging and for use. The charging range is often narrower, and a battery next to a warm charger can be pushed outside it.
  • Touch temperature. A surface that is safe for the electronics may still be too hot to hold; see below.
  • Plastic softening and creep. Plastics lose stiffness as they warm, and under a steady load, such as a screw boss, they slowly deform. Warm plastic creeps faster. The plastics guide covers choosing a grade with enough heat resistance.

Where the heat comes from

Almost all the electrical power a product uses becomes heat inside it. The usual sources are:

  • Processors and radio modules, especially when busy or transmitting.
  • Voltage regulators. A linear regulator turns the whole voltage drop into heat; a switching one wastes less.
  • Battery chargers and the battery itself while charging.
  • Motors and motor drivers, especially when stalled or working hard.
  • LEDs, which turn much of their power into heat, not light.
  • Sunlight. Sunshine on a dark housing can add more heat than the electronics do, and it never appears on the circuit diagram.

Ask your electronics engineer for each part's power in its worst realistic mode, not the average. That list starts every estimate below.

How heat moves, in plain terms

Heat always flows from hotter to cooler, in three ways:

  • Conduction is heat passing through solid material, or between two surfaces pressed together. Metals conduct well; plastics and still air conduct poorly, so even a small air gap insulates.
  • Convection is heat carried away by moving air or liquid. Warm air rises, so even without a fan there is a gentle flow over a warm surface.
  • Radiation is infrared given off by any warm surface, and received from the sun.

In a closed housing, heat conducts from a component into the board, crosses air or a pad to the wall, passes through it, then leaves the outer surface by convection and radiation. Each step resists the flow, and the slowest one tends to set the temperature.

Heat paths out of a sealed enclosure A cross-section of a sealed housing with a plastic base and an aluminium lid. A hot chip sits on a circuit board. A thermal pad joins the top of the chip to a raised boss on the underside of the lid, so heat conducts up into the lid. Arrows show heat leaving the top of the lid to the outside air by convection and radiation. The sun shines on the lid from above. A note says a slower path also runs through the plastic walls. Heat leaves to outside air Sun Conduction to the lid Pad Aluminium lid Hot chip Circuit board Plastic base Slower path: through the plastic walls
Section through a sealed housing, not to scale. A thermal pad and a boss on the lid give the hot chip a solid conduction path to the aluminium lid, which then loses heat to the air. Sunlight on the lid works against it.

What that means for the design

  • Give hot parts a thermal path to the housing. Connect the hottest component to the case wall or a metal part through solid material, rather than letting heat soak into trapped air. Board copper also spreads heat sideways.
  • Use thermal pads or gap fillers to bridge gaps. These soft, conductive pads fill the air gap between a component and the case. The gap must stay within the pad's range across your tolerances.
  • Metal versus plastic housings. A metal housing, or just a metal lid, spreads heat over its surface far better than plastic, which tends to leave a hot spot. Metal has trade-offs, such as blocking radio; see choosing metals for a product.
  • Surface area. The outer surface hands heat to the air, so more area, ribs or fins lower the temperature.
  • Colour and finish. Outdoors, a light colour or a shade often helps more than any internal change. A matt or anodised finish radiates better than shiny bare metal.

Venting versus sealing

Vents let warm air out and cool air in: cheap and effective. Put inlets low and outlets high so rising warm air does the work, away from where a hand or surface could block them.

But every opening also lets in water and dust. If the product must be sealed against water and dust, heat must leave by conduction through the walls, so the thermal path and housing material matter much more. A membrane vent equalises pressure as the air inside warms and cools, but moves very little heat. Decide early whether the product is vented or sealed; they lead to different designs.

Heat sinks and spreaders

A heat sink is finned metal, usually aluminium, fixed to a hot component to give it more surface area. It needs moving air around it, so it suits vented products; in a small sealed box it mostly warms the trapped air.

A heat spreader is a plate that moves heat sideways from a small hot spot to a larger area. A metal lid, chassis or bracket can do this alongside its structural job. In sealed products, the best heat sink is often the housing itself.

Fans, and when to avoid them

A fan moves far more heat than natural convection, and some products need one. For most small products, try hard to avoid it:

  • Noise. Users notice it, and it changes as the fan ages.
  • Dust. A fan pulls dust in, where it coats the board and blocks vents.
  • A failure point. Its bearings wear out, and its life may set the product's life.

It also needs openings, which rules it out for most sealed products. Reduce power and improve the conduction path first. If a fan is still needed, plan for filters, cleaning and a replaceable fan, and make the product protect itself if it stops.

Simple first estimates

You can catch most heat problems with two simple ideas and a calculator.

Power in equals heat out. Once the product has settled, all the power going in leaves as heat. If the board uses 2 W, the housing must shed 2 W, plus any sunshine.

Temperature rise follows thermal resistance. Each heat path has a thermal resistance, Rθ, in degrees Celsius per watt (°C/W): how many degrees warmer one end gets per watt flowing through it.

Temperature rise ΔT (°C) = power P (W) × thermal resistance Rθ (°C/W)

Resistances in a chain add together. The result is a rise above the surrounding air, so add your worst-case ambient temperature.

Illustrative example, round numbers. A regulator uses 1 W and its datasheet gives a thermal resistance from the chip to the surrounding air of 50 °C/W on a typical board. ΔT = 1 × 50 = 50 °C. At an ambient of 40 °C, the chip would reach about 40 + 50 = 90 °C. Compare that with the datasheet maximum, with a margin.

Check the datasheets. Datasheets usually give thermal resistances, such as junction to case or junction to ambient, and the test board they were measured on. That rarely matches your housing, so treat them as a starting point. Pad datasheets give a figure too. The estimates are rough, but show quickly whether you are clear or need a change.

Testing temperatures on a prototype

Estimates point the way; measurements decide. Build temperature tests into your test and validation plan, on a prototype with the real housing material, walls, pads and seals.

  • Thermocouples on the hottest parts. Small wire sensors fixed to the processor, regulator, charger, battery and the housing above them, recorded on a logger.
  • Worst-case ambient and load. Test at the highest ambient the product must work in, with the heaviest realistic load, such as charging while transmitting, and in sun for outdoor products. A temperature chamber helps.
  • Steady state. Keep going until readings stop rising, which can take an hour or more.
  • A thermal camera as an aid. It finds hot spots quickly and shows where to put thermocouples, but its readings depend on surface finish, so confirm with thermocouples.

Touch temperature

How hot a surface may safely get depends on the material, how long it is touched and the type of product. Metal feels hotter than plastic at the same temperature because it conducts heat into the skin faster. The limits come from your product's applicable safety standard, so this guide does not quote them. Identify that standard early, as described in product certification basics, and design to it from the first prototype. A metal lid that cools the electronics can make the outside hotter, so check both.

Worked example: a sealed outdoor sensor

Illustrative example, with round numbers chosen to show the method. A start-up is developing a sealed outdoor sensor with a 2 W circuit board inside a moulded plastic housing. The product must work in shaded outdoor air up to 40 °C, and the team has set a target of keeping the hottest component below 65 °C, taken from its datasheet with a margin.

Before. The board sits in still air inside the sealed plastic box. Heat must warm the trapped air, cross the plastic wall and leave the outer surface. The team estimates the whole path at about 25 °C/W, to be confirmed on a prototype. ΔT = 2 W × 25 °C/W = 50 °C. Component temperature ≈ 40 + 50 = 90 °C, well above the 65 °C target.

After. The lid is changed to aluminium, about 100 × 100 mm, with a boss on its underside and a thermal pad pressing on the hottest chip. The path is now: pad and contact surfaces about 1 °C/W, then the lid's outer surface to the air. For a surface in still air, engineers often use a rough combined convection and radiation figure of around 10 W per square metre per °C. The lid's area is 0.1 × 0.1 = 0.01 m², so its resistance to air is about 1 ÷ (10 × 0.01) = 10 °C/W. Total ≈ 1 + 10 = 11 °C/W. ΔT = 2 W × 11 °C/W = 22 °C. Component temperature ≈ 40 + 22 = 62 °C, just under the target.

Design Rθ Rise At 40 °C
Plastic, no thermal path 25 °C/W 50 °C 90 °C
Aluminium lid and pad 11 °C/W 22 °C 62 °C

Some heat still leaves through the plastic walls, so reality should be slightly better. But 62 °C leaves little margin, and the estimate assumed shade. The team chooses a light-coloured lid finish, checks the lid against the touch limits in their safety standard, and plans a thermocouple test in sun before freezing the design.

Common mistakes

Testing the board on the bench. Open-air temperatures say little about a closed housing. Measure inside a representative enclosure.
Using average power. Heat problems happen in the worst case, such as charging while transmitting on a hot day. Estimate and test at that load.
Forgetting the sun. A dark housing in sunshine can gain more heat than the electronics produce. Choose the colour and test outdoors.
Leaving an air gap. A small gap between a hot part and the case wall acts as insulation. Bridge it with a pad sized for the tolerance range.
Treating touch temperature as an afterthought. Fixing a hot outer surface after tooling is expensive. Check the limits in your standard from the start.

Next steps

  1. List the parts that get warm and their worst-case power, and add them up.
  2. Decide whether the product is vented or sealed, and sketch the path heat will take to the outside.
  3. Do a rough ΔT = P × Rθ estimate for the hottest part at your highest ambient temperature, using the Enclosure Temperature Rise Estimator.
  4. Add worst-case temperature tests to your plan with the Product Test Plan Builder.
  5. Identify your safety standard, and its touch-temperature limits, with the Certification Readiness Checklist.

FAQ

Do I need thermal simulation software?

Not usually at the start. A list of power figures and a simple ΔT = P × Rθ estimate show whether you have a problem. Simulation becomes worthwhile for products that run hot, are tightly packed or must be sealed with little margin, and its results should still be checked with measurements on a prototype.

Is a metal housing always cooler than a plastic one?

Inside, usually yes, because metal spreads and conducts heat far better. But a metal surface can feel hotter to touch, can block radio signals and, if dark, can absorb a lot of sunlight. A metal lid or panel on a plastic housing is often a good compromise.

Can I seal a product that gets warm?

Yes, but the heat must then leave by conduction through the walls. Give the hot parts a solid path to the housing with thermal pads, use metal for at least part of the enclosure if needed, and add a membrane vent so the seal is not strained as the air inside warms and cools.

Where do I find the touch-temperature limits for my product?

In the safety standard that applies to your product type. They vary with the material, how long the surface is touched and the kind of product, so identify your standard early through the certification process and design to it from the first prototype.

How long should a temperature test run?

Until the readings stop rising and stay level, which is called steady state. For a small product that can take an hour or more. Run it at your highest expected ambient temperature and heaviest realistic load.