Request an Assessment

← Blogs

Temperature compensation: when cleaning the data removes the damage too

Published by A. K. Sreerama · 12 Nov 2026

SHM FIELD NOTES · 07

Temperature compensation: when cleaning the data removes the damage too

Three engineers take the same three years of frequency data from the same bridge. Each removes the effect of temperature in a different way.

The first flags a developing frequency change about three weeks after it starts, while it is still only about 0.15%; the change reaches 1.2% after six months. The second never sees it clearly. The third sees it with the wrong sign: the bridge appears to get stiffer.

The data is identical. Only the compensation is different. Before reading on: which method do you use?

The setup

This is an illustrative case: the same 3 Hz girder as the earlier Field Notes, with one frequency estimate a day from a 10-minute record. Field Notes 03 showed that such an estimate scatters by about ±0.15%.

Two things change the frequency over three years:

  • Temperature. Structural temperature swings through the seasons, with weekly averages between about 9 °C and 34 °C. In this model the frequency falls by 0.15% for every degree of warming. That moves the weekly frequency over a range of almost 4% in the first year, with no damage at all.
  • Damage. From day 450, a stiffness loss develops over six months and lowers the frequency by 1.2%. That is the size of shift Field Notes 01 found for a 30% stiffness loss over 1 m at midspan.

Simulated weekly means. The fixed baseline keeps the 1.2 % drop; the rolling baseline learns it away.

In the raw data (top panel), the damage is invisible. A 1.2% drop sits inside a seasonal swing more than three times larger. That is why temperature compensation exists. The question is what it does to the damage.

Method A: a fixed baseline from a full healthy year

Fit the relation between frequency and temperature once, using the first year, when the bridge is healthy and the full seasonal range has been seen. Then freeze it. Every new day is compared with what that frozen model expects at that day's temperature.

This is the approach Peeters and De Roeck used on the Z24 bridge: models of frequency against temperature built from healthy-bridge data, with new data checked against their confidence intervals.

In this simulation, the weekly residual crosses its threshold 22 days after the damage starts, when the simulated shift is still only about 0.15%, and stays beyond it in 89 of the 92 weeks that follow. After the damage has fully developed, the residual sits at −1.2%: the size of the real change is preserved.

Method B: a rolling baseline that keeps itself up to date

Now refit the same model every day on the last 60 days of data. It sounds like good practice: the model stays current, and slow seasonal effects are tracked automatically.

But a slowly developing stiffness loss is also a slow change. The rolling model learns it. Each refit treats the slightly lower frequency as the new normal, and the residual is pulled back towards zero.

In this simulation the rolling baseline alarmed in only 8 of the 92 weeks after the damage started, all of them while the damage was still developing or just as it finished. Once the 1.2% drop was complete, the residual averaged about zero. Make the damage develop over twelve months instead of six, and the rolling baseline alarmed in just 1 week out of 92. The fixed baseline still caught it in 82.

A · fixed one-year baseline B · rolling 60-day baseline
First alarm after the damage starts 22 days 92 days
Alarm weeks after onset, damage over 6 months 89 of 92 8 of 92
Alarm weeks after onset, damage over 12 months 82 of 92 1 of 92
Residual once the damage is complete −1.2 % 0.0 %
False alarms before onset (days 366–449) 0 0

One simulated realisation (seed 11). Real change: −1.2 %. Weekly mean residual against a three-standard-deviation threshold.

The compensation removed temperature, and the history along with it.

Method C: using another mode as the temperature sensor

When no reliable temperature sensor is available, one shortcut is to compensate one frequency with another. If temperature shifts modes 1 and 2 by the same percentage, the ratio f₁/f₂ cancels temperature, and any change in the ratio should be damage.

It does cancel temperature. What it does to damage depends on where the damage is, because damage does not shift both modes equally. Using the same girder model as Field Notes 01, with stiffness halved over 1 m, or reduced uniformly along the span:

Damage Mode 1 Mode 2 Ratio f₁/f₂ Proxy result
Halved over 1 m, midspan −2.7 % −0.01 % −2.7 % kept
Halved over 1 m, quarter span −1.4 % −2.6 % +1.3 % reversed
Uniform loss −1.2 % −1.2 % 0 % erased

Bending stiffness halved over 1 m, or reduced uniformly. Change in frequency from the healthy girder. Assumes temperature shifts both modes by the same percentage.

Midspan damage survives, because midspan is a node of mode 2 and only mode 1 moves. Quarter-span damage shifts mode 2 more than mode 1, so the ratio rises by 1.3%: the bridge appears stiffer. A uniform stiffness loss shifts both modes by the same 1.2%, and the ratio does not move at all.

So the proxy can keep damage, reverse it, or erase it. It depends on what the proxy is itself sensitive to.

The common thread

Hoon Sohn's review of environmental and operational effects on monitoring put the underlying problem plainly:

“In reality, structures are subject to changing environmental and operational conditions that affect measured signals, and these ambient variations of the system can often mask subtle changes in the system’s vibration signal caused by damage.”
Sohn (2007). Full reference at the end.

Every compensation method is a model of what "normal" looks like. Whatever that model is allowed to learn, it will also remove. If it can learn slow change, it will remove slow damage. If its reference signal responds to damage, it will remove damage that looks like that response.

Before trusting a compensated signal

  1. Freeze the baseline. Build it from a period you have reason to believe is healthy, covering the full seasonal range, then stop it learning. Update it only as a deliberate, documented decision, not automatically.
  2. Don't extrapolate silently. Flag days whose temperature lies outside the range the model was trained on, rather than trusting its prediction there.
  3. Prove a known change survives. Add a synthetic shift, for example −1% from a chosen date, to the recorded data, run the full compensation, and check that the shift comes out the other end at the right size and sign. If it doesn't, neither will real damage.
  4. Know what your reference responds to. Use structural temperature rather than air temperature where you can. If you use another mode or sensor as the reference, check how damage at the locations you care about would move it.
  5. Report raw and compensated together, with the compensation model and its training period stated.

Back to the report

ORIGINAL
“Frequencies have been corrected for temperature. The corrected first frequency shows no significant change over the monitoring period.”
REVISED
“The first frequency was corrected for temperature using a regression model refitted every 60 days. A rolling model can absorb gradual change, so this result cannot rule out slow stiffness loss. The data will be re-analysed against a fixed baseline from the first healthy year, and the method checked by confirming that a synthetic −1 % shift survives the correction.”
What the report should have said.

Key learning

Temperature compensation can remove damage as easily as it removes temperature. Freeze the baseline, and before trusting the result, prove that a known change survives the compensation.

Your turn

How does your team compensate for temperature, and has anyone ever tested whether a known shift survives it? I'd like to hear about it in the discussion on LinkedIn. And if you think I've got something wrong, say so. That's what this series is for.

Next in the series, Field Notes 08: The baseline problem: what if the bridge was never healthy?


Notes and references

Illustrative case, not a real bridge: the 3 Hz, 36 m girder from Field Notes 01–03.

Simulation: three years of daily first-frequency estimates. Structural temperature = 22 °C + 10 °C seasonal sine + 3 °C daily scatter. Frequency = 3.00 Hz × (1 − 0.0015 per °C × (T − 22 °C)) × (1 − damage), with 0.15% measurement scatter. Damage ramps linearly from 0 to 1.2% over 180 days from day 450 (365 days in the slower case). Compensation: linear regression of frequency on temperature; residual = measured / predicted − 1. Method A: fitted once on days 1–365. Method B: refitted each day on the previous 60 days. Detection: weekly mean residual beyond three standard deviations of the weekly residuals in the healthy period. Real temperature sensitivities vary between bridges and modes and can be non-linear; these values are illustrative. All counts are from one simulated realisation (random seed 11, the same seed for the six- and twelve-month cases); a different seed changes them slightly.

Method C: Euler–Bernoulli beam, simply supported, 36 m, 360 elements. Damage: bending stiffness halved over 1 m (midspan 17.5–18.5 m, quarter span 8.5–9.5 m), or reduced uniformly so that f₁ falls by 1.2%. Assumes temperature shifts modes 1 and 2 by the same percentage.

Peeters B, De Roeck G. One-year monitoring of the Z24-Bridge: environmental effects versus damage events. Earthquake Engineering & Structural Dynamics, 2001, 30(2), 149–171.

Sohn H. Effects of environmental and operational variability on structural health monitoring. Philosophical Transactions of the Royal Society A, 2007, 365(1851), 539–560. doi:10.1098/rsta.2006.1935

SHM Field Notes 07, published 12 November 2026; shared on LinkedIn as Week 7/52.

A weekly series by A. K. Sreerama, Mantis Infra Solutions Pvt Ltd.