Enable Spike Logic
About this task
Unfortunately, in the event of a spike in data values, an unrealistic set of samples is created when the data is plotted. Instead of showing the results of compression (the same values over a series of intervals), a rising or falling slope is created in the chart. This gives the impression that values for a given time stamp are higher or lower than they actually were. The figure below shows the difference between the raw data for a series of samples, and how the samples would be plotted if data compression were enabled, assuming all values between 10 and 20 are in the deadband range.
Spike logic monitors incoming data samples for spikes in a tag's values. If spike logic is enabled, a sample of equal value to the previously archived sample is inserted into the archive in front of the spike value. The time stamp of the inserted value is determined by your polling interval. If samples are collected at one-second intervals, the inserted sample's time stamp will be one second before the spike. This helps identify the spike, and retains a more accurate picture of the data leading up to it, as shown in the following image.
Procedure
- Access Historian Administrator.
-
Select Collectors.
A list of collectors appears.
- Select the collector to which you want to apply spike logic.
- Select Tags.
-
Under Default Compression, in the Spike Logic
Control field, select Enabled, and then
select one of the following options:
- Multiplier: Specifies how much larger a spike value must be than the deadband range before spike logic will be invoked. For example, if you enter 3, and the deadband percentage was set to 5%, spike logic will not be invoked until the difference between the spike value and the previously archived data point is 15% of the EGU range.
- Interval: Specifies how many samples must have been compressed before the spike logic will be invoked. For example, if you enter 4, and 6 values have been compressed since the last archived data sample, spike logic will be invoked.
-
Select Update.
The spike logic is enabled.