The short answer
How to Trend Data
To trend data, decide what question the trend answers and put on it only the tags that answer it, usually two to four, each with its own scale unless they share units and range; set a default time span that shows the behavior, hours for a wet well, days for a tank, minutes for a loop being tuned; take the data from the historian so that the trend has history when it opens and survives a client restart; give each pen a distinct color and a label with units; add the trends that every equipment class needs to its faceplate, level with pump runs, setpoint with process variable and output, flow with pressure; and make the ad hoc trend tool a keystroke away with a tag picker, because a trend that takes two minutes to build is a trend that does not get built.
Key points
- One question per trend, two to four tags, each with a scale that shows its behavior.
- Historian-backed trends open with history and survive restarts; live buffers do not.
- A time span per trend from the process time constant: minutes, hours, or days.
- Standard trends on every faceplate: level with runs, setpoint with process variable and output, flow with pressure.
- Ad hoc trending must be fast; a tag picker and a saved-trend feature decide whether operators use it.
What you need
- The list of tags with history enabled and their collection settings
- The SCADA trend tool and its configuration for historian access
- The equipment faceplates or templates the standard trends attach to
- A style guide for pen colors, line weights, and grid density
- Operator input on the questions they ask most
Procedure
- 1
Define the question
Is the pump keeping up; is the loop tuned; did the level cycle overnight; what happened at 2 a.m. The question chooses the tags and the span.
- 2
Pick the tags
The value and the things that explain it: level with pump run status, process variable with setpoint and controller output, flow with discharge pressure, chlorine residual with feed rate and flow. Two to four pens.
- 3
Confirm history
Each tag is historized at an interval and deadband fine enough for the question; a level trended at one-minute samples shows a pump cycle, at ten-minute samples it shows a line.
- 4
Set the scales
Each pen with a scale appropriate to it: fixed scales for values whose normal range is known, so that an operator recognizes abnormal at a glance; shared scales only for values in the same units and range. Discrete pens as bands at the bottom.
- 5
Set the span
A default from the process: minutes for loop tuning, four to eight hours for a wet well, twenty-four hours to seven days for a tank. Easy controls to change it.
- 6
Style the pens
Distinct colors that survive the screen and the operator, consistent across the plant: setpoint always one color, process variable always another. Labels with units. Grid light.
- 7
Attach the standard trends
The equipment faceplate has a trend tab with the pens for that class prebuilt: pump, valve, analog, loop, tank. Built once in the template.
- 8
Make ad hoc trending fast
A trend tool reachable from any screen, a tag picker that searches by description, drag from a value to the trend, and saved trends per user. The measure is seconds.
- 9
Review with operators
Sit with the operators and watch which trends they open and what they wish they had; adjust.
| Trend | Pens | Span | What it shows |
|---|---|---|---|
| Wet well | Level, pump 1 run, pump 2 run, inflow if computed | 8 hours | Cycle time, pump capacity, inflow pattern |
| Control loop | Process variable, setpoint, output | 30 minutes | Tuning, oscillation, saturation |
| Tank | Level, fill sources running, demand flow | 3 days | Turnover, source adequacy, leaks |
| Chlorine | Residual, feed rate, flow | 24 hours | Demand changes, feed problems |
| Membrane train | Normalized permeate flow, differential pressure, salt passage | 90 days | Fouling and cleaning triggers |
| Communication | Success rate, retries, signal | 7 days | A failing link |
Frequently asked questions
- How many pens on one trend?
- Two to four. Beyond that the chart is unreadable and the question is not one question. Build two trends.
- Live trend or historian trend?
- Historian. A live trend starts empty and forgets when the client closes; a historian trend opens with the past and is the same on every client.
- Why does my trend show a straight line where the level cycled?
- The history collection interval or deadband is too coarse for that tag, or the trend is decimating the samples. Check the collection settings for the tag and the trend sampling mode.
- Should operators be able to save their own trends?
- Yes. A saved trend per user or per shift is how operators build the views they actually use, and the good ones become the standard trends.
Related topics
- 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.
- 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.
- Historian Data CollectionDeciding what the historian stores and how often: polled versus exception collection, the deadband per tag, rates for control loops, levels, totals, and compliance values, timestamps at the source, quality codes, calculated tags, and the tag list review that keeps a historian from filling with noise and missing what matters.
- How to Configure a HistorianSet up a process historian that collects what matters and keeps it: decide the tags and their classes, set collection intervals and deadbands per class, size the storage and the retention, and hand the operators a working trend on day one.
- Trend GapsHoles in a trend where data should be: a communication loss, a historian that stopped or fell behind, a buffer that filled or never forwarded, compression set too coarse, a renamed tag, or a clock that jumped. Reading the cause from the shape of the gap.
- HMI FaceplatesThe pop-up that controls one device: what a pump, valve, or loop faceplate must show, the mode and command layout, interlock and permissive display, security by role, and building faceplates from a standard object so every device behaves the same.
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.