PLC Buffer Logging to Prevent Overwritten Trouble Data

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data logging techniques in factory automation systems often result in log data being overwritten in temporary recorders before issues occur, due to long periods between recording triggers and multiple triggers being generated, leading to difficulties in identifying the cause of troubles.

Innovation Solution

A programmable controller with collecting, buffering, and logging means that discards data stored in the buffer when a specific canceling condition is satisfied, reducing the likelihood of data loss and facilitating subsequent examination by managing data storage effectively.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If log data is continuously recorded in a temporary recorder with limited capacity, then the quantity of log data increases to capture more control history, but the data to be used for trouble analysis may be overwritten before a trouble occurs

Engineering Contradiction:
Improvequantity of log dataVSAvoidreliability of log data preservation
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The system performs preliminary actions by detecting troubles in advance and proactively managing data retention. When a trouble is detected, the system identifies and preserves relevant log data before it can be overwritten, ensuring critical information is saved for subsequent analysis.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements feedback mechanisms by continuously monitoring control data for trouble conditions. When troubles are detected, the feedback loop triggers data preservation actions, allowing the system to adapt its data retention strategy based on actual operational conditions and trouble patterns.

Inventive Principle:
Principle #23Feedback

2Reliability

If a large capacity temporary recorder is used to prevent data overwriting, then the reliability of log data preservation improves, but the device complexity and cost increase

Engineering Contradiction:
Improvereliability of log data preservationVSAvoidcomplexity of recording system
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system employs dynamic data management where the buffer allocation and data retention strategy adapt based on operational conditions. Instead of using a fixed large-capacity recorder, the system dynamically adjusts which data to preserve and for how long, optimizing the balance between reliability and resource usage.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes parameters such as buffer size allocation, data retention period, and recording frequency based on detected trouble patterns and operational conditions. This allows the system to maintain high reliability for critical data while using smaller overall storage capacity compared to static approaches.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If data is retained in the buffer for a long period to ensure capture of trouble-related information, then the reliability of trouble analysis improves, but the likelihood of buffer overflow and data loss increases

Engineering Contradiction:
Improvereliability of trouble analysisVSAvoidloss of log data
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The system segments the buffer into multiple regions or categories, allocating different retention periods and priorities to different types of data. Critical trouble-related data receives longer retention and higher priority, while less critical data is managed with shorter retention periods, preventing buffer overflow while maintaining analysis reliability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system introduces an intermediary data management layer between data collection and storage. This intermediary selectively manages data flow, prioritizing preservation of trouble-related information while managing overall buffer usage to prevent overflow, thus protecting against data loss.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12197191B2Programmable controller, data logging method, and recording medium
Publication Date: 2025.01.14 MITSUBISHI ELECTRIC CORP
  • US12197191B2 patent drawing
  • US12197191B2 patent drawing
  • US12197191B2 patent drawing

AI summary

A programmable logic controller or a PLC includes a collector that repeatedly collects, from a device memory, a value varying depending on control of a device, a buffering device that stores, into a buffer, a set of data indicating the value collected at a timing corresponding to satisfaction of a buffering condition, and a logger that reads the set of data from the buffer upon a logging condition being satisfied and stores the set of data into a storage as a set of log data. The buffering device discards the set of data stored in the buffer upon another predetermined condition different from the buffering condition and the logging condition being satisfied.