Prepare OPC UA data for AI
Turn a tag value into a usable observation with units, quality, timestamps and asset context.
The series in a historian is not the series the sensor saw. Compression settings change what features and models learn.
Many historian products do not store a value unless it leaves a band around the previously stored value (a deadband). Some drop points that a straight line can represent. This reduces storage and makes trend screens look good, but it leaves a different series from the raw one.
The mean and last value are usually preserved. Standard deviation, derivatives, peaks and noise level change: a deadband erases noise and produces an apparently flat stretch. In predictive maintenance, where the vibration or current noise itself carries information, a compressed series may have removed it.
Models usually expect an evenly spaced series. Forward-fill and linear interpolation are different assumptions when turning compressed records into a regular grid. Record the method and its rationale, and keep a separate flag for “actually measured” versus “derived”.
Find out the compression setting for the tag you use. If possible, collect raw and compressed data side by side for a week and compare feature distributions. If the model will be trained on compressed data only, state that as a limitation. This guide is a suggested workflow; product-specific algorithm details should come from the vendor documentation.
Many historian products store a value only when it leaves a deadband around the previous stored value. The mean and last value are usually preserved, but standard deviation, derivatives, peaks and noise level can change. In predictive maintenance, where noise may carry information, a compressed series may have removed it.
Find the compression setting for the tag you use. If possible, collect raw and compressed data side by side for a week and compare feature distributions. If the model is trained only on compressed data, state that as a limitation. Use vendor documentation for product-specific algorithm details.
Pilot steps in this guide are proposed engineering workflows. Examples do not constitute measured field performance.