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
- Why heat matters
- Where the heat comes from
- How heat moves, in plain terms
- What that means for the design
- Venting versus sealing
- Heat sinks and spreaders
- Fans, and when to avoid them
- Simple first estimates
- Testing temperatures on a prototype
- Touch temperature
- Worked example: a sealed outdoor sensor
- 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.
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.
Resistances in a chain add together. The result is a rise above the surrounding air, so add your worst-case ambient temperature.
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
Next steps
- List the parts that get warm and their worst-case power, and add them up.
- Decide whether the product is vented or sealed, and sketch the path heat will take to the outside.
- Do a rough ΔT = P × Rθ estimate for the hottest part at your highest ambient temperature, using the Enclosure Temperature Rise Estimator.
- Add worst-case temperature tests to your plan with the Product Test Plan Builder.
- Identify your safety standard, and its touch-temperature limits, with the Certification Readiness Checklist.
