Temperature is one of the most widely monitored quantities in an electronic system, and digital temperature sensors are popular because they are accurate, linear, fast to respond, and easy to use. What is often overlooked is that the reading a sensor produces depends as much on the thermal path built into the board as it does on the silicon inside the package. A sensor placed at the wrong spot, or connected to the wrong copper, will faithfully report the temperature of something other than the object of interest. The layout, not the part number, decides which temperature is actually being measured.
This article explains the heat transfer mechanisms that matter inside a PCB assembly, derives the practical consequences of the conduction equation, and then sets out two distinct layout strategies: one for measuring the temperature of the PCB and its main heat sources, and one for measuring ambient air temperature while rejecting heat conducted from nearby components. Both strategies rely on the same physical principle, thermal resistance, applied in opposite directions.
Highlights:
- Conduction is the dominant heat transfer mechanism inside a PCB, and copper, with a thermal conductivity of 385 W/(m·K) at room temperature, forms the main thermal path between components and sensors.
- Because 60% to 65% of PCB heat is transferred through the pins to the chip's thermal sensor, and the GND pin is bonded to the substrate, the GND connection offers the lowest thermal resistance between a heat source and a sensor.
- The layout goal reverses for ambient measurement: hatched ground planes, narrow GND connections, and physical separation are used to raise thermal resistance and isolate the sensor from on-board heat sources.
How Heat Moves in an Electronic Assembly
Heat naturally flows from a hotter object to a colder one. Reversing that direction does not happen on its own; it requires a forced system such as a refrigerator that pumps energy from a cold region to a hot region. Heat transfer itself takes place through three basic mechanisms, of which conduction and convection dominate inside a PCB assembly.
Conduction is by far the most common heat transfer method in a PCB. At the microscopic level, conduction occurs when fast-moving, vibrating atoms and molecules interact with neighbouring atoms and molecules and hand over part of their energy (heat) to them.
When one end of a PCB is hotter than the other, energy travels toward the cooler end of the board as high-speed particles collide with slower ones. The rate of that transfer is not arbitrary; it is governed by the geometry of the thermal path and the properties of the conducting material:
H = K × A × (THOT - TCOLD) / L
Where:
- H = energy conducted per unit time (joules per second)
- K = thermal conductivity coefficient of copper at room temperature, 385 W/(m·K)
- A = area of copper on the PCB
- T = temperature
- L = distance between the hot object and the cold object
The equation tells you everything you need for layout decisions. If the cross-sectional area of the conducting medium between the hot and cold objects, such as copper, increases, heat is transferred faster. If that copper area decreases, the transfer rate drops. It also follows from simple experience that the farther apart two objects are, the longer the cold object takes to heat up.
Copper is an excellent thermal conductor, which is why it is used in so many PCB designs to spread heat away from heat sources. Only silver and diamond have better thermal conductivity coefficients. For layout purposes, this means copper is not a neutral material: every plane, trace, and via connected to a sensor is a deliberate thermal design decision, whether or not the designer treated it as one.

Correct PCB Layout for Measuring PCB Temperature
When the goal is to know how hot the board or a particular component is running, the sensor must be thermally coupled to the heat source as tightly as possible. Between 60% and 65% of PCB heat is transferred through the pins to the chip's thermal sensor. The GND pin connects directly to the substrate, so the GND pin presents the minimum thermal resistance between the temperature sensor and the heat source.

How to Measure PCB Temperature Effectively
The following techniques ensure that a temperature sensor can track and accurately measure PCB temperature and the primary heat sources:
- The temperature sensor and the heat source must share the same GND plane.
- All GND pins of the temperature sensor must be connected to the GND plane of the heat source.
- The temperature sensor and the heat source should be placed as close to each other as possible on the PCB.


With this arrangement, a digital temperature sensor tracks the temperature of the heat source closely. When the intent is to measure PCB or device temperature with a 1C temperature sensor, the layout approach described above is the one to use.
Correct PCB Layout for Measuring Ambient Temperature
Many applications do not need to know how warm the board is; they need to know the temperature of the surrounding air. The problem then becomes the reverse: how do you prevent heat sources on the PCB from influencing the sensor's ambient temperature reading? The answer is to deliberately raise the thermal resistance between the sensor and everything else on the board.

How to Measure Ambient Temperature Effectively
The following techniques prevent heat dissipated by the primary heat sources from affecting the temperature sensor, allowing the sensor to monitor ambient temperature accurately:
- Use a hatched GND plane. Reducing the area of the GND plane increases thermal resistance.
- Place the temperature sensor as far away from heat sources as possible.
- Give the temperature sensor its own separate GND plane and minimise its connections to the main GND plane.
- Use narrow GND connections to increase thermal resistance.
- Use a solid GND plane beneath the main heat source and leave the green solder mask exposed. This gives the main heat source the lowest possible thermal resistance for dissipating heat.
With this arrangement, the digital temperature sensor closely tracks ambient temperature rather than being pulled toward the temperature of nearby components. When the objective is to monitor air temperature and to take advantage of the accuracy, linearity, fast response, and ease of use of a 1C temperature sensor, the isolated layout described above is the better choice.
The Governing Principle Behind Both Layouts
The two layouts look like opposites, but they are the same calculation applied with different intent. In the PCB-temperature case, the design minimises thermal resistance between the heat source and the sensor: shared ground plane, all GND pins bonded to that plane, and minimum physical separation. Heat flows readily along the copper and through the pins, and the sensor reports the temperature of the hardware it is coupled to.
In the ambient-temperature case, the design maximises thermal resistance along every path that could carry heat into the sensor: hatched copper instead of solid copper, a dedicated ground island with only narrow links to the main plane, and distance from the components that dissipate power. Meanwhile the heat source itself is given the easiest possible escape route through a solid ground plane beneath it with exposed solder mask, so that its energy spreads into the board and the surrounding air instead of being funnelled into the sensor.
Deciding which case applies is the first step in any temperature-sensing layout. Once the target is clear, whether it is the board, a specific component, or the air, the copper geometry follows directly from the conduction equation and the thermal resistance it describes.
Related Reading:
Eight Layout Considerations for Differential Filters on PCBs
Improving PCB Immunity to Power Supply Variations in Converter Systems
Best Grounding Practices for Data Converters: Return Paths and Error Voltage
High-Temperature IC Packaging: Die Attach, Wire Bond, Solder and PCB
isoPower Radiated Emissions: Dense PCB Layout Guide
Buck Regulator PCB Layout and Grounding Guide for Low Noise
PCB Thermal Design: Junction Temperature and Power Dissipation
LFCSP Package Rework: Safe Removal and Replacement on PCBs
PBGA Rework Procedure: Removal, Pad Cleaning, Paste and Placement