Study Cools Raspberry Pi 5 With Paraffin and Copper Foam, Using Machine Learning to Control the Fan

A research team at the American University of Sharjah in the United Arab Emirates published a preprint on a cooling system for the Raspberry Pi 5. The paper is titled Machine-Learning-Assisted Hybrid Cooling of a Raspberry Pi 5.
The team built an aluminum heat sink containing paraffin. The paraffin serves as a phase-change material (PCM) that absorbs heat as it changes from solid to liquid.
The selected paraffin melts at 53°C to 57°C. The material was chosen so that melting would absorb heat before CPU temperature rose enough to affect performance.
Paraffin alone does not readily conduct heat through its interior. The researchers therefore embedded a copper foam with fine pores, filling those pores with paraffin so that heat would spread more widely.
The material can absorb heat to suppress a temporary temperature increase, but its ability to absorb additional heat falls sharply once the paraffin has fully melted. To handle prolonged loads, a PWM cooling fan with adjustable speed was mounted on top of the heat sink.
Incorporating temperature prediction into fan control
The research team trained a machine-learning model using temperature data collected under different loads. It used random forest regression to predict CPU temperature 30 seconds ahead from the recent temperature trend and apply the prediction to fan control.
The Raspberry Pi 5 itself performs the computation from prediction through fan-speed selection.
In addition to the predicted value, the controller uses stepwise fan-speed settings based on measured temperature. It also includes a mechanism to prevent rapid switching when the temperature fluctuates around a speed threshold.
If a sensor returns an abnormal value or the system reaches a dangerous temperature, the design prioritizes safety controls over prediction and switches the fan to its maximum cooling setting.
The paper reports a mean absolute error of 1.076°C and a root mean square error of 1.946°C for its temperature predictions. The former averages the magnitude of the difference between predicted and measured values, while the latter gives greater weight to large errors.
The design combines a material that absorbs heat by melting with fan control that anticipates future temperature. Its interesting feature is how it combines the capacity to hold heat temporarily with the ability to release heat to the surroundings.
Temperature differences under high load
The team applied a heavy load that brought CPU utilization to about 99%, repeated each experiment three times, and presented the averaged temperature curves.
Without an additional cooling device, CPU temperature rose to about 85°C and thermal throttling, a heat-driven reduction in operating frequency, began about 75 seconds after the load started.
According to the paper, the CPU averaged about 57°C with the prototype and reached a peak of 59.5°C. No thermal throttling was observed, and CPU frequency reportedly remained stable.
The commercial active cooler, comprising a heat sink and fan, reached a peak of about 65°C. The researchers report that the prototype's maximum was about 6°C lower than the commercial cooler's and about 9°C lower than passive cooling using paraffin and copper foam without a fan.
The paper's comparison chart shows temperature over 30 minutes. With fanless paraffin and copper foam, the temperature appears to continue rising through the end of the measurement. The commercial cooler and prototype also began with different CPU temperatures.
This raises the question of how much temperature prediction itself changed cooling performance. Comparing the same heat-sink design with and without predictive control would reveal that effect in more detail. Under the conditions shown in the paper, the test evaluates the complete device combining the materials and fan control.
Connecting lower temperatures with higher performance
In 2023, the Raspberry Pi developers tested the official Active Cooler. With the board exposed and the CPU under sustained load, temperature stabilized near 60°C and peaked at about 62°C to 63°C.
In June 2026, a Japanese-language test posted to the Fujitsu Software Developer Community compared two cooling fans and heat sinks for the Raspberry Pi 5. Under a 120-minute FFT workload at a room temperature of 25°C, peak temperatures were about 70°C and 64°C.
Despite the temperature difference, neither system throttled, and both generally maintained a CPU clock of about 2.4GHz. The tester noted that the temperatures may not have completely stabilized by the end of the measurement.
When evaluating a cooler, it is useful to know not only how far it lowers temperature but also what difference it makes to actual processing. When clock speed is maintained, a temperature difference does not necessarily translate directly into a performance difference.
Testing the prototype over long periods and repeated load changes, along with fan noise, power consumption, and manufacturing cost, would provide a more concrete assessment of its product value.
Determine the necessary cooling capacity and use it when needed. Beyond pursuing a lower temperature, combining a heat-absorbing material with temperature prediction makes it possible to design the timing of cooling itself.
KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.