The short answer
Historian Data Collection
Historian data collection is configured per tag: the source, the collection mode, the rate or the deadband, and how the timestamp and quality are handled. Fast-changing control values are collected at a rate matched to the loop; slow values on a deadband that stores a new point only when the value moves; compliance values at the interval the rule requires regardless of change; and digital states on every change. The timestamp comes from the source where the source has a clock, quality is stored with every value so a gap is a gap and not a zero, and the tag list is reviewed on a schedule against what the trends and the reports actually use.
Key points
- Configure per tag, from what the value is for. One rate for everything is wrong for most of them.
- Deadband collection stores changes; polled collection stores samples. Use both, deliberately.
- Compliance values are collected at the required interval whether or not they changed.
- Quality is stored with the value. A gap must read as a gap, never as zero or as the last value.
- Review the tag list against the trends and reports. Add what is missing, and stop collecting what nobody reads.
Two collection modes
- Polled or periodic
- The collector samples the value at a fixed interval and stores every sample. Simple, predictable, and the right mode for a compliance value that must exist at every interval. Wasteful for a value that does not move: a tank level sampled every second stores 86,400 nearly identical points a day.
- Exception or deadband
- The collector watches the value and stores a new point when it changes by more than a deadband from the last stored point. A steady value stores nothing; a moving one stores every meaningful step. Efficient, and the mode most tags use. Its risk is a deadband set so wide that real movement is lost, or so narrow that noise is stored.
- Hybrid
- Deadband with a maximum interval, so a steady value still stores a point every few minutes as proof of life. The usual configuration.
Rates and deadbands by value type
| Value | Mode | Rate or deadband | Why |
|---|---|---|---|
| Pressure or flow in a control loop | Polled, or deadband with a small band | 1 to 5 s | Loop tuning and oscillation analysis need the dynamics |
| Wet well or tank level | Deadband with a maximum interval | A fraction of an inch; a maximum interval of a minute | Cycles and rates of change matter; the value moves slowly |
| Chlorine residual, turbidity, pH | Polled at the compliance interval, plus deadband | Every 15 minutes for compliance; deadband between for the trend | The rule requires a value at the interval regardless of change |
| Flow totals | Polled | Every minute or every hour, plus a daily snapshot | Totals are read at fixed times; a missing sample breaks the arithmetic |
| Motor current, speed, power | Deadband | A percent of range | Wear trends and clog detection |
| Digital states: run, fault, mode, valve position | Every change | No deadband | Events; every transition is a fact |
| Alarm states | Every change | Through the alarm journal | Alarm analysis needs every event |
| Setpoints and tuning | Every change | No deadband | Who changed what and when; rarely changes |
| Communication status, poll success | Every change plus a periodic | A minute | Telemetry health |
| Weather, rain gauge | Polled | Every minute for rain; every 15 minutes otherwise | Correlation with inflow |
Timestamps
A value has a time at which it was true, and the historian stores that time. Where the source has a synchronized clock, a controller or an RTU with time, the timestamp travels with the value and the historian keeps it, so a value that was buffered through an outage lands at the time it happened, not the time it arrived. Where the source has no clock, the collector timestamps it on receipt, and the collection latency is the error. Every clock in the system, controllers, SCADA servers, historian, is synchronized to one time source. A historian with values timestamped by three unsynchronized clocks cannot say which of two events came first.
Quality
Every stored value carries a quality: good, bad, uncertain, with a reason. When the driver loses the device, the collector stores a bad-quality marker at the time of the loss, and the trend shows a gap. When the device returns, a good value resumes. A historian that stores the last good value through an outage, or a zero, produces a trend that shows a steady level while the station was unreachable, and the report that comes from it is wrong. Collectors are configured to store quality transitions, trend clients draw gaps for bad quality, and reports exclude or flag bad-quality intervals.
Calculated tags
Historians compute derived values from stored ones: a daily flow total from a rate, a pump run time from the run status, a starts count, a specific capacity from level and flow, a CT from residual and flow, a rolling average. Calculations run in the historian rather than the controller when they are for reporting rather than control, when they need history to compute, or when the controller has no spare capacity. Each calculation is documented as a tag with its formula and its inputs, so that a report reader can trace a number to its sources.
The tag list review
- 1
Export the collection configuration
Every tag with its mode, rate, deadband, and source.
- 2
Compare with what is used
The historian usage log, the trend groups, the reports, and the compliance list. A tag collected at one second that no trend or report reads is a candidate for a slower rate or removal; a value that operators keep asking for and cannot find is a candidate to add.
- 3
Check the deadbands against the trends
A trend that looks stepped is a deadband too wide; one that is fuzzy is a deadband narrower than the noise.
- 4
Check the compliance tags
Every value the permit requires is collected at or faster than the required interval, in polled mode, with quality.
- 5
Check the gaps
The bad-quality intervals over the period, by tag, and their causes. A tag with frequent gaps has a collection or a communication problem.
- 6
Record the changes
The collection configuration is a document under change control; the review updates it.
Frequently asked questions
- What deadband should I use?
- Larger than the measurement noise and smaller than the change that matters. For a level in feet with an inch of noise, a deadband of a couple of inches stores the cycles and ignores the ripple. Look at the raw trend, note the noise band, and set the deadband above it. Then look at the stored trend and confirm nothing meaningful is missing.
- Should I collect everything at one second and sort it out later?
- No. The archive fills with noise, the trends of slow values become unreadable without resampling, and the queries slow down. Collect each tag for its purpose. Storage is cheap, but a historian that stores fifty times more than it needs is harder to back up, to replicate, and to query.
- How do I know the historian is collecting?
- A collector status tag per collector, alarmed, and a daily check that the compliance tags have values at every interval. A calculated tag that counts stored points per hour for a critical tag, alarmed when it drops, catches a stalled collector before the monthly report does.
- What about data from the lab and manual readings?
- Manual entry tags in the historian, with the sample time as the timestamp and the person as an attribute, so that lab results sit beside the online values on the same trend. Many historians provide a manual entry interface; where they do not, a spreadsheet import on a schedule does the job.
Related topics
- Historian ArchitectureHow process history is collected, stored, and served: the collector, the archive, and the client layers, where the historian sits relative to SCADA and the DMZ, single-server and tiered designs for a utility, the store-and-forward buffer that survives outages, and the sizing that decides how many years fit on a disk.
- Historian CompressionHow historians store years of data on a disk: exception deadbands at the collector, swinging door compression at the archive, what each discards and what it keeps, the settings that turn a trend into a staircase, lossless alternatives, and how to check that the compressed data still tells the truth.
- Trends on the HMITrend displays that answer questions: embedded sparklines on process displays, pre-configured trend groups, the axes and time spans that make a trend readable, and the difference between a trend for operating and a trend for investigating.
- HistoriansWhat a process historian does that a database does not, how data gets into it, how compression and retrieval work, how to size and keep it, and the settings that quietly throw data away.
- Values Frozen On ScreenThe HMI shows numbers that are not changing while the plant runs. Whether the controller, the communication driver, the tag server, or the display stopped, and the order to check them in.
- TrendingUsing historian trends to understand a process and diagnose a problem: pens that belong together, scaling and time ranges, raw versus averaged data and what compression hides, overlays and cursors, event markers, and the patterns that point at each cause.
Direct contact
Have a controls question?
Reach Eric Sullivan directly about anything on this site, a controls or automation topic, or one of his personal projects.