Historian Server Signal Cache for Fast Data Access

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for storing and accessing process data in historian servers are memory-intensive and inefficient, particularly when dealing with large volumes of data, leading to slow read operations and the overwriting of historical data, which renders previously calculated aggregates unusable until manually recalculated.

Innovation Solution

Assigning each process value a separate signal cache for raw values and internal signal-specific aggregate accumulators, which are incrementally updated, allowing for immediate aggregation and storage without re-reading historical data, utilizing a ring memory configuration to maintain aggregate data efficiently.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If all process data are stored in a single table with signal index and timestamp as primary indexes, then all signals can be archived in a unified structure, but reading individual signal time series becomes very slow as the number of signals increases

Engineering Contradiction:
Improvedata storage structureVSAvoidread speed
Core Design Contradiction:
Device complexityVSSpeed

Solution Approach 1:

The patent divides the unified table structure into multiple signal-specific tables, each containing only the data for one signal. This segmentation allows direct access to individual signal data without scanning the entire table, dramatically improving read speed while maintaining organized storage.

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If aggregate values are calculated by reading the entire raw data stock, then complete aggregate determination is achieved, but the operation becomes very time-consuming and involves high data throughput requirements

Engineering Contradiction:
Improveaggregate calculation completenessVSAvoidaggregate calculation time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent pre-calculates and stores aggregate values (such as minimum, maximum, sum) directly in the signal tables alongside the raw data. This preliminary action eliminates the need to re-read and re-process entire data stocks when aggregates are needed, significantly reducing calculation time while maintaining completeness.

Inventive Principle:
Principle #10Preliminary action

3Quantity of substance

If historical data are overwritten to make space for new data, then storage capacity is optimized, but previously created aggregate values become unusable and require manual recalculation

Engineering Contradiction:
Improvestorage capacityVSAvoiddata availability
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent implements continuous incremental update of aggregate values whenever raw data is added or overwritten. The system maintains the invariant that aggregate values are always consistent with the current raw data state, eliminating gaps in data availability and removing the need for manual recalculation after overwrites.

Inventive Principle:
Principle #20Continuity of useful action

4Ease of operation

If all signals are recorded at the same fixed speed (e.g., every 5 seconds), then uniform data collection is achieved, but slowly changing signals are recorded multiple times while rapidly changing signals may be lost

Engineering Contradiction:
Improvedata collection uniformityVSAvoidsignal capture accuracy
Core Design Contradiction:
Ease of operationVSManufacturing precision

Solution Approach 1:

The patent implements dynamic sampling intervals for each signal based on its rate of change. Signals that change rapidly are sampled more frequently, while slowly changing signals are sampled less frequently. This dynamic adjustment maintains uniform data collection operations while significantly improving signal capture accuracy for different signal types.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS9104198B2Optimized storage and access method for a historian server of an automated system
Publication Date: 2015.08.11 ABB (SCHWEIZ) AG
  • US9104198B2 patent drawing
  • US9104198B2 patent drawing

AI summary

Exemplary embodiments of the disclosure relate to a method and a system for the storage and processing of process values of a technical process or a technical installation in a historian server which can be integrated into a process control system of a technical installation or of a technical process. In such a method and system a dedicated signal cache can be associated with every process value for its raw values provided by the process. The raw values provided by the process are stored in the respective signal caches and additional internal signal-individual aggregate accumulators for the desired aggregates are associated with every raw value. The aggregate accumulators are incrementally modified for the defined interval when a new raw value is received.