Email us

Este artículo está en inglés. Ver el sitio en español

Cet article est en anglais. Voir le site en français

Dieser Artikel ist auf Englisch. Website auf Deutsch ansehen

Este artigo está em inglês. Ver o site em português

本文为英文。 查看中文网站

Cabinet temperature swings that drift thermocouple readings

A thermocouple reading that falls as the enclosure warms and recovers when the box settles is cold-junction lag at the controller terminals, not bad wiring. Hold the interior swing near ±2 °C: move the transformer out, keep total heat near 8 W in a 24 x 20 x 8 in stainless box left uncooled, and fit a sealed cooler sized to the load above that.

NEMA4 Enclosure engineering team · Published November 25, 2026 · 8 min read

Short answer: a thermocouple reading that falls while the enclosure warms, then recovers once the box settles, is cold-junction lag at the controller's terminals. Hold the interior temperature swing to about ±2 °C and the drift stops. Get there by moving the largest heat source — in most small panels the control transformer — out of the box, then matching a sealed cooler to whatever heat remains. Wiring is rarely at fault. A reversed thermocouple reads wrong at every temperature and never tracks an identical controller at steady ambient. Two instruments that agree when cold and split only while the terminals warm are wired right and compensating differently. The symptom patterns, the checks and the cooling arithmetic follow.

What the symptom pattern tells you

Log the reading beside the internal enclosure temperature for a shift. The shape of the two traces sorts the fault before you touch a terminal screw.

  • Falls while the box warms, recovers when temperatures settle. Cold-junction lag: the compensation sensor trails the terminal block. This is the common pattern.
  • Falls and stays low while the box stays hot. A steady compensation offset against the raised ambient, bigger than the model's stated input accuracy absorbs.
  • Wrong at every temperature, or it moves the wrong way when the sensor tip warms. Polarity, input type or a setup mismatch. Sort this out before trusting any heat test.
  • Dips when a contactor, heater stage or supply switches. A load change stepping the interior several kelvin; the same lag, triggered from inside instead of by the room.
  • One controller drifts while identical neighbours hold. A different compensation design in that family, or that unit's own setup.

Correlation with temperature points at the terminals; correlation with process events points back at the process.

Why the reading drops as the box warms

A thermocouple reports a difference, not a temperature. Its voltage comes from the gap between the measuring junction at the process and the reference junction where the thermocouple wire lands on copper at the controller's terminal. Type J produces about 50 µV per °C near room temperature (the NIST reference tables), so the controller needs the terminal temperature within about a degree to keep the reading honest. It measures the terminal block with a sensor inside the unit and adds that temperature back. That is cold-junction compensation.

When the enclosure warms, block, screw and wire carry heat to the real junction within seconds. The compensation sensor sits deeper in the unit and lags behind. For as long as the two disagree, the computed reading runs low by almost exactly the mismatch: a 3 °C lag is a 3 °C low reading, some 150 µV short on type J. The compensation error lands directly in the result, so filtering, scaling or retuning cannot reach it.

A bench heat gun exaggerates what the panel shows. It ramps the terminals many times faster than any enclosure drifts, so the dip you reproduce on the bench is bigger than the dip in the field. The mechanism and the fix are the same either way: shrink the swing, slow the swing.

The causes in order, and how to check each

  1. Compensation lag during a ramp — the most likely. Run the process steady and log the reading against internal box temperature. A dip during every ramp and a flat trace between ramps confirms it.
  2. A steady offset against ambient. After the box has sat hot for an hour with the process steady, the reading should return to truth. If it still sits low, compare the offset with the input accuracy stated for the exact model in its manual. Some ranges document the compensation there; others never name it. An offset past the stated accuracy means the box swings wider than the instrument was built for; cool it to a tighter band.
  3. Polarity, input type or a setup mismatch. Give two instruments the same sensor, the same extension wire and stable room air; healthy units agree within about a degree of placement error. A reversed lead fails that test, because it reads wrong continuously and steps the wrong way when the tip warms. The same all-the-time-wrong signature appears when a PLC analog input's leads are swapped; the reversed-leads fix for a common analog input card walks one example.
  4. A switching heat load. Dips lined up against contactor closes, heater stages or drive starts mean the load is stepping the interior temperature. Trend the events beside the trace and the trigger shows itself.
  5. Sun or a hot neighbour. A box in afternoon sun or mounted beside an oven swings harder than the room. Compare internal swing with room swing; a gap of more than a couple of kelvin means heat is arriving through the walls. The solar heat load on an outdoor enclosure article works that side of the balance.

The cold-side cousin gets its own article: a temperature transmitter that drifts in a cold box has a different mechanism but the same discipline of logging temperature beside the reading.

The fix: cut the swing where it starts

Work the four moves in order; each one shrinks what the compensation sensor has to chase.

Move the transformer out. Dry-type transformers lose about 1-3 % of rating as heat, the figure this site's guides use. A 150 VA control transformer therefore dumps 1.5-4.5 W into the box around the clock, and in an uncooled box whose whole budget is a handful of watts, that is the swing. Mount it in its own ventilated enclosure beside the panel and keep the secondary leads short; the transformer heat loss in a sealed enclosure article covers the partial-load case.

Cool what stays, sealed. In a washdown cell an air-to-air heat exchanger or a thermoelectric (Peltier) cooler moves heat through the wall with the box closed. A fan-filter pack exchanges air with the room, so hose water, foam and dust come with it and the seal is gone. Fit the cooler through the maker's cutout with the supplied gasket kit, follow the maker's installation instructions, and the assembly keeps its rating. The stainless washdown enclosures page sets out where 304 holds and where 316L is the right call.

Lay the plate out for even temperature. Spread the remaining heat sources along the mounting plate and keep the controller's terminals clear of them; the PLC panel layout guide shows where hot components belong.

Standardize the instruments. One controller family per enclosure. Families compensate the reference junction differently, so two designs on the same ramp part company even when both are healthy.

Worked example: a 24 x 20 x 8 in box at 35 °C plant ambient

Inputs, with their sources:

  • Box 24 x 20 x 8 in (0.61 x 0.51 x 0.20 m), stainless walls, gasketed door. An example size; order the walls to your drawing.
  • Wall heat-transfer coefficient 3.7 W/m²K, the value this site's heat guides use for stainless.
  • Plant ambient 35 °C typical, 40 °C worst case on summer afternoons.
  • Loads: controller plus 24 V DC supply, 8 W together — an assumed example figure, so take yours from the datasheets. Control transformer 150 VA at 3 % loss = 4.5 W (transformer loss runs 1-3 % of rating).
  • Targets: steady rise at or below 2 K uncooled, interior swing within about ±2 °C, components below their rated ambient.

A sealed box sheds heat only through its walls; the sealed-box heat balance article covers both sides of that exchange, and the enclosure heat calculation guide works the same wall-loss arithmetic end to end.

Rule in words: heat load in watts, divided by wall conductance in watts per kelvin, gives the steady rise in kelvin, and wall conductance is the coefficient times the area.

  1. Wall area: A = 2 × (0.61 × 0.51 + 0.61 × 0.20 + 0.51 × 0.20) = 2 × (0.311 + 0.122 + 0.102) = 1.07 m².
  2. Wall conductance: 3.7 W/m²K × 1.07 m² = 3.96 W/K, call it 4.0 W per kelvin.
  3. Everything inside: 8 W + 4.5 W = 12.5 W, so rise = 12.5 / 3.96 = 3.2 K and the interior sits at 38 °C with the room at 35 °C. That clears the usual 40 °C electronics rating. A room that swings ±3 K, though, carries the terminals from 35 to 41 °C: past the swing target, and past the rating on the hot afternoons.
  4. Transformer out: 12.5 − 4.5 = 8 W, rise = 8 / 3.96 = 2.0 K, interior 37 °C. The rise target is met and the interior now just follows the room.
  5. Uncooled budget: 4.0 W/K × 2 K = 8 W. Hold total dissipation at or below 8 W and the box keeps a 2 K rise.
  6. Pinning the interior: hold 30 °C inside while ambient touches its worst case, transformer out. Heat to pump = 8 W internal + 4.0 W/K × (40 − 30) K = 8 + 40 = 48 W. Select a sealed exchanger or thermoelectric unit rated above about 50 W at that 10 K difference, read on the maker's capacity curve.

Decision: a steady room and 8 W or less of electronics need only the transformer moved out. A room that swings with shift cycles or sun, or a load above 8 W, needs the transformer out plus a sealed cooler of roughly the 50 W class at the design difference. Run your own box through the enclosure heat calculator before you order the cooler.

Keeping the fix in place

  • Trend the internal temperature beside the reading. A slow creep upward means a filter loading up or a load that grew, and the drift in the readings follows it.
  • Set the interior alarm at the components' rated ambient — 40 °C for most electronics. The example box runs at 37 °C, so the alarm leaves 3 K of warning before the parts and before the readings.
  • Clean the cooler's filter on a schedule: monthly is a fair starting point in a heavy washdown cell, sooner where flour dust or sanitizer foam loads it, longer in a clean room.
  • Recompute the budget whenever equipment lands in the box. A drive or a second supply adds tens of watts; a 50 W addition turns the example box from no-cooler to roughly a 100 W cooler (48 + 50 = 98 W), not a bigger fan.
  • Close the door between changeovers. An open gasket hands the compensation sensor a room-air ramp to chase.

When to re-specify the enclosure

Stop compensating when the load stays above the uncooled budget even with the transformer out, or when the room swings harder than the target. Split the panel instead: measurement electronics and terminal strips in one small sealed box with almost no dissipation, power and switching in another. The terminal box then holds about ±2 °C with no cooler at all, and the power box gets its own arithmetic.

More wall area buys uncooled headroom, because the budget scales with area: a box with half again the surface carries half again the watts for the same 2 K rise. Outdoors, add the solar gain from the wall check before sizing anything.

Our 304 and 316L stainless wall-mount boxes are rated NEMA 4X / IP66 by the manufacturer; not UL listed. Order 316L for brine and chlorine-sanitizer washdown; 304 suits routine washdown. These boxes are not rated for close-range hot high-pressure spray of the IP69K kind, so say so at the drawing stage if your sanitation runs that. Put the cooler cutout on the drawing, from the cooler maker's template, high in a side wall above the terminal strip. The box arrives cut, gasketed and delivered in 10 business days from drawing approval.

Catalog dimensions to compare

Compare these catalog dimensions with your component layout. Open each enclosure for its rating, material and usable space, then check those specifications against your application.

EnclosureMaterialOutside H x W x D / displayRating
24 × 20 × 8 in304 stainless24 x 20 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
16 × 12 × 8 in304 stainless16 x 12 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
30 × 24 × 10 in304 stainless30 x 24 x 10 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
60 × 36 × 16 in304 stainless60 x 36 x 16 inRated NEMA 4X / IP66 by the manufacturer; not UL listed

Questions

Why do two controller families in the same box drift differently?

Each family measures the reference-junction temperature with its own sensor, mounted at its own spot with its own coupling to the terminals. A 2 °C difference in how closely those sensors track the terminal block becomes 2 °C of disagreement between two healthy controllers on the same ramp. Standardize on one family per enclosure, or give each family its own small sealed box; chase neither with PID tuning.

Does a PV offset or a longer input filter remove the drift?

Neither works. An offset is one fixed number, while this error moves kelvin for kelvin with the enclosure: an offset entered correct at 35 °C is out by the full swing at 30 °C or 40 °C. A longer input filter only smooths the dip and slows the loop controlling the real process. Cut the swing instead; the reading then needs no correction at all.

Will a heat exchanger hold the box tighter than ±2 °C?

An air-to-air exchanger pulls the interior toward ambient and cannot cool below it, so it removes the load-driven rise but leaves the room's own swing. On the example box that means a 37 °C interior on a 35 °C day that still wanders as the room wanders. A thermoelectric cooler or a small air conditioner holds a setpoint and pins the terminals; read the capacity curve at the design difference before ordering.

Do RTD inputs drift this way too?

RTD inputs have no cold junction, so this lag does not exist for them. Copper lead resistance rises about 0.39 % per kelvin, and a three-wire RTD input cancels lead resistance while the three leads match, so a warming terminal strip moves the reading very little. Thermocouple inputs own this failure mode; keep every input terminal stable anyway, for the other signals on the strip.

Checklist before you order

Specify it once, built to your drawing

  • Environment and NEMA type: Type 1, Type 3R, Type 4, Type 4X, Type 6P, Type 12, Type 13 (manufacturer ratings, not UL listed)
  • Material: 304 stainless steel, 316L stainless steel, Powder-coated carbon steel, Aluminum, Polycarbonate, Fiberglass (FRP)
  • Size: inside or outside height, width and depth, with the depth your deepest component needs
  • Cutouts, glands and windows, dimensioned from one datum on each face
  • Mounting and access: wall, pole or stand, hinge side, mounting panel
  • Quantity: from one piece

Delivered in 10 business days, anywhere in the world. Counted from your order; for custom work, from your approval of the drawing.

Build it from 24 × 20 × 8 inRequest a custom quote

Check the heat load in the calculator · Outdoor enclosures: sizes for this job

Keep reading

More on outdoor, heat and moisture

All articles

Buying guides

The guides behind this answer

All guides