A temperature reading shifts immediately after a software update: comparing the raw input and the temperature conversion

Gleicher Eingangsstrom, andere Temperatur nach dem Update



View the WIKA TR10-A measuring insert for resistance thermometers

Until the switchover, the control system shows a return water temperature of 50 °C. With the first valid reading after the restart, the display jumps to 60 °C. The transmitter’s local display still reads 50 °C. The maintenance log records a software update. For the maintenance team, the immediate question is which temperature the control loop actually used at that moment.

A trend plot alone rarely answers that question. An operator display may show a value that has already been calculated, apply another conversion or read a different variable after a version change. The controller itself may also be supplying the new value. Start the comparison at a clearly identified interface. What value does it receive, in what unit, and what value does it pass on? Evaluating the same input with the settings used before and after the update reveals the first processing step at which the results diverge.

Reconstructing the first few minutes after the switchover

First, save the trend data covering the last period of stable operation, the switchover and the first valid readings afterwards. Establish when the new configuration took effect. The maintenance log may show when installation began, while the controller returned to service later and the operator display loaded its new version later still. Record the time zone, logging interval and any available data quality flags. Otherwise, a one-minute average from the historian can be mistaken for the first individual reading after the restart.

Check how the historian displays a gap in the data. Some trend plots draw a line between the last point before a gap and the first point after it. Others continue to show the last valid value throughout the gap. This affects what you can establish. If five minutes of data are missing between the last reading of 50 °C and the first reading of 60 °C, the exact time of the change within that interval is unknown. Record both timestamps and the gap between them.

Establish how the plant was operating during that interval. Did the circulation pump keep running? Did a valve change position during the restart? Is a second temperature reading available from the same circuit? These details help determine whether an actual process change could explain the shift. Simultaneous readings at two points in the same measurement chain are particularly informative, for example 50 °C at the transmitter and 60 °C on the operator display. A single local reading taken the next morning tells you less about the previous day’s event.

What counts as the raw value at this measurement point?

In a resistance thermometer circuit, the meaning of “raw value” depends on where you take the reading. The resistance of a Pt100 sensing element varies with temperature. A downstream transmitter can measure that resistance and transmit the corresponding temperature as a linear 4–20 mA signal. The analogue input module measures the current. Depending on the module and its configuration, it supplies the controller with either a digital input count or a value already scaled into engineering units. At the end of the chain is the temperature used by the control loop, the operator display or the historian.

For a reproducible comparison, record more than “raw value unchanged”. A more precise entry would be “Analogue input AI-07, channel diagnostics in mA. With the test signal held constant, both versions read 12.00 mA.” Record the source of the reading as well. A current reading taken from the input diagnostics provides different evidence from a value in mA that the operator display calculates backwards from the final temperature. In the latter case, both displayed values depend on the same calculation and can appear to confirm each other.

If a Pt100 connects directly to a resistance input, there is no current interface. Check the configured sensor type, wiring arrangement and module output format. For example, a driver may already supply temperature in tenths of a degree. The interface specification for that channel determines whether a value of 500 represents 50.0 °C. A different module type may use a different numerical representation.

A worked example with five fixed input values

In this example, the transmitter is configured for 0 to 100 °C. Its linear current output maps 0 °C to 4 mA and 100 °C to 20 mA. Before the update, the controller used the same endpoints. After the update, the imported channel settings specify an upper temperature limit of 120 °C. The current limits are still 4 and 20 mA. These values illustrate the calculation for one configured measurement loop.

At 12 mA, the input is exactly halfway through the usable current span. It is 8 mA above the lower endpoint, and the full span is 16 mA. At mid-span, the previous calculation gives 50 °C and the new calculation gives 60 °C. This single test point reproduces the jump seen on the operator display. Testing additional points and checking the active channel settings establishes whether the upper scaling limit actually changed.

Temperatures calculated from the same input current before and after the update
Fixed input current Previous scaling
0 to 100 °C
New scaling
0 to 120 °C
Difference (new minus previous)
4 mA0 °C0 °C0 K
8 mA25 °C30 °C+5 K
12 mA50 °C60 °C+10 K
16 mA75 °C90 °C+15 K
20 mA100 °C120 °C+20 K

A test at the lower endpoint alone would have missed the error. Applying an offset of −10 K simply because it restores the display to 50 °C at 12 mA would also give misleading results. The display would then read −10 °C at 4 mA and 110 °C at 20 mA. The reading would look correct at the operating point while the measurement chain still produced incorrect values at both ends of the range.

You can start by replaying saved test values in an approved test environment. Use the software versions and channel parameters actually deployed in the plant. A separate spreadsheet calculation provides expected results for a cross-check. To establish which parameter set the running controller actually loaded, check its active configuration.

What the pattern of deviation tells you about the settings

The difference increases with the measured value. If both configurations give the same result at the lower endpoint but their results diverge towards the upper limit for identical inputs, check the scaling span first. Compare the configured output range of the transmitter with the scaling limits of the receiving channel. Also check whether the software scales an input that is already in engineering units. The pattern narrows the search, and the active settings establish the cause.

The difference stays constant across several test points. A nearly constant offset is consistent with an additive correction or with both temperature endpoints shifting by the same amount. Check whether a correction previously applied elsewhere is being applied twice after migration. For small differences, resolution and rounding also matter. Compare the internal values before the display rounds them to a set number of decimal places.

The numerical value and the unit label disagree. A temperature of 50 °C is equivalent to 122 °F. If an exported record shows 122 with the unit °F, the conversion may be entirely correct. If the operator display shows that same number with the unit °C, check the source unit, the conversion in the receiving system and the display field label individually. The reverse can also occur. The unit label changes while the numerical value stays at 50. A screenshot alone cannot establish which unit the interface passed on.

The discrepancy occurs mainly while the temperature is changing. If both versions settle at the same value for each fixed input, compare their response over time. Apply a defined step change in the test environment and follow both responses until they stabilise. Changes to filter time constants, averaging intervals or historian settings can explain a delayed reading. A difference that persists well after a test point has stabilised requires an explanation beyond a simple delay.

Finding the first discrepancy in the signal path

The fault report should answer two questions separately. Where does the discrepancy first appear, and which functions use the affected value?

  1. Identify the measurement point. Record the instrument tag, input channel, controller variable, display field and historian tag. Check which variable each field actually reads. After a project migration, two fields with identical labels may refer to different sources.
  2. Save the active configuration. Before making any changes, record the parameter set and software version currently in use. Compare them with the last configuration you can confirm was in service. An old project draft or a default value from a device template does not establish how the channel was previously configured.
  3. Choose a comparison point. Select an interface at which both versions can receive the same defined input. Record the data type, unit and validity status. To check a software conversion, it is often sufficient to start at the input to the calculation function. This also defines which part of the measurement loop the test covers.
  4. Record intermediate values. For each test point, record the input, the scaled controller variable, the value on the operator display and the individual historian sample, wherever these are available. Investigate the first processing step at which the results differ.
  5. Trace how the value is used. Identify the variables actually read by the control loop, the limit monitoring function and the report. The control loop can operate correctly even when the display is wrong. If several functions share an incorrectly scaled variable, the error can affect all of them.

For the example channel, the result is straightforward to verify. At 12.00 mA, the input diagnostics show the expected current. The controller’s scaled variable already reads 60.0 °C. The display and historian both use that value. With the previous upper limit of 100 °C, the same test input gives 50.0 °C. This identifies the channel scaling as the next place to investigate. If the controller still supplied 50.0 °C and the discrepancy first appeared as 60.0 °C on the operator display, changing the analogue input would address the wrong part of the chain.

Correcting the fault, verifying the result and handling historical data

Confirm the approved measurement range before restoring the previous upper limit. A plant modification may have called for a new range of 0 to 120 °C. In that case, the finding may be that only the receiving channel was updated. The documented design, the transmitter’s actual output range and the receiving channel’s scaling must agree.

After making the correction, repeat the test points used during diagnosis. If the error affected the processing of an operationally important limit, add a test point near that limit. In the test record, distinguish verification of the calculation from end-to-end verification of the plant function. A simulation tests the software from the signal injection point onwards. Testing at the physical input covers more of the signal path and requires the plant to be in an approved condition for testing, particularly if the channel affects control loops or shutdown functions.

What you can recover from the historian depends on what it recorded. If valid individual input current samples are available, you can recalculate the corresponding temperatures using the verified scaling. If the historian stored only the incorrectly scaled temperature, you can work backwards provided the mapping and conversion for that period are unambiguous and reversible. Clipping, rounding or substitution may have discarded information. For example, a reading clipped at the upper limit no longer shows how far the original input exceeded that limit.

Preserve the original historian data. Identify any recalculated values and record the time interval, calculation and data source. Document whether the report simply needed to be regenerated or whether operators made decisions based on the incorrect readings. Correcting a historical trend cannot reverse a control action that took place during the event.

When to include the temperature sensor in the investigation

The WIKA TR10-A is a measuring insert for resistance thermometers. If both software versions produce the same correct result for an identical test input, but the live input signal already differs from the value expected at the process temperature, move the investigation to the field side. Check the wiring, transmitter, reference measurement and thermal installation of the sensor. For details of how installation affects the reading, see heat conduction and insertion depth in pipe-mounted temperature sensors. Further instruments for different measurement arrangements are available in the temperature measurement category.

Conclusion

A useful fault report gives a pair of reproducible results at a clearly identified test point. For example, “At 12.00 mA, channel AI-07 calculated 50.0 °C before the update and 60.0 °C afterwards.” Together with the scaling endpoints, the active parameter set and a record of the functions using that variable, this finding shows where the discrepancy originates and which operating data need review.

Frequently asked questions

Does a temperature jump at the time of an update prove a software fault?

The timing gives you a starting point. A difference that you can reproduce with an identical input provides stronger evidence. Check whether the process conditions, channel assignment or input data validity changed during the restart. Even correctly functioning software can produce the wrong result if it loads unsuitable channel settings.

Which three input values should I use for an initial scaling check?

For a temperature range mapped linearly to 4–20 mA, use 4, 12 and 20 mA to check the lower endpoint, midpoint and upper endpoint. Determine the expected temperatures from the approved range for the specific measurement point. For a non-linear characteristic or a piecewise conversion, add test points at the relevant transitions.

How can I check the conversion while the process stays in operation?

Save a copy of the active project and apply fixed input values in a separate test environment. At the same time, you can compare the available diagnostic, controller and display readings on the running plant using read-only access. Document which parts of the signal path the simulation covers. If you later need to intervene in the physical measurement loop, agree the plant conditions for that test in advance.

Can the same raw value mean something different after an update?

Yes. Depending on the interface, the same number can represent a digital input count, a temperature in tenths of a degree or a fully converted temperature. Compare the data type, unit, scaling factor and source. This is especially important after a driver change or when a channel has been migrated to a new device template.

Why is the local display correct while the monthly report shows a different value?

The report may use a different variable, apply its own unit conversion or use aggregated data. Trace one timestamped historian sample through to the report. If the individual sample is correct, check how the report aggregates, converts and rounds the data. Adjusting the sensor would have no effect on those processing steps.

What is the minimum evidence to include in the test record?

Record the instrument tag, interface tested, software version, parameter set, fixed input value and unit, expected output and observed result. Include the time the configuration took effect, the downstream functions affected and the results of the repeat test after correction. This gives another technician enough information to repeat the test and compare the results with the original finding.

Diese Website benutzt Cookies. Wenn du die Website weiter nutzt, gehen wir von deinem Einverständnis aus.