TL;DR
This paper introduces a novel fault-tolerant soft sensor algorithm using a dual-LSTM network architecture to tackle the challenges of uneven batch data and sensor failures in industrial processes. By converting quality variables into process rates and leveraging historical data for compensation, the method achieves robust and accurate quality prediction, even when sensors malfunction.
What Problem Does This Paper Address?
In high-value manufacturing, especially in batch processes, real-time quality assessment is crucial for efficiency and yield. Traditional methods rely on offline measurements, leading to delays and potential losses. Soft sensors offer a solution by estimating quality variables from easily measurable process data. However, two major hurdles exist:
- Uneven Batch Data: Batch processes often have variable durations and data lengths, making it difficult to apply standard time-series analysis techniques that expect uniform data structures.
- Sensor Failures: Industrial environments are harsh, leading to sensor degradation and failure. These failures can significantly degrade the accuracy of soft sensors, which rely on multiple sensor inputs. Existing soft sensor approaches often struggle to handle these sensor malfunctions gracefully, leading to inaccurate predictions.
This paper aims to bridge this gap by developing a soft sensor that is both robust to sensor failures and capable of handling the inherent variability of batch process data.
Methods
The proposed solution employs a two-layer Long Short-Term Memory (LSTM) network architecture:
- LSTM I (Process Variable Modeling): This layer takes processed sensor time-series data as input. To address the uneven batch data challenge, a novel approach is introduced: quality variables are converted into "process rates" by calculating their change over fixed time windows. This calculus-inspired method effectively aligns data of varying lengths and establishes a connection between quality variables and their rates of change. The output of LSTM I models the relationship between process variables and quality variables.
- LSTM II (Historical Quality Data Compensation): This layer utilizes historical batch quality measurements. It learns from past quality data to compensate for potential errors or deviations introduced by sensor failures in the current batch.
- Integration: A backpropagation neural network connects the outputs of LSTM I and LSTM II. The final output combines the direct estimation from LSTM I with the compensation from LSTM II, resulting in a more robust and fault-tolerant quality variable estimation.
The algorithm also includes a method for endpoint detection, where the soft sensor's estimated quality variable is used to determine the optimal time to terminate a batch process, aiming to maximize yield and efficiency.
Datasets
The study utilizes a simulated dataset generated by IndPensim, a software package designed to simulate penicillin production in a bioreactor. This simulation is based on established mechanistic models and validated with industrial data. The dataset comprises seven hundred batches, with five hundred used for training and two hundred for testing. The simulation allows for the introduction of various process variables and intentional sensor failures (abrupt offset and slow drift) to test the algorithm's robustness.
Key Insights and Ideas
- Calculus for Data Alignment: The novel idea of converting quality variables into "process rates" using fixed time windows is a clever way to handle uneven batch data without resorting to simple padding or resampling, which can distort valuable information.
- Dual-LSTM for Fault Tolerance: Employing two LSTMs—one for current process data and another for historical quality data—provides a powerful mechanism for compensating for sensor failures. This layered approach allows the model to learn from both real-time signals and past reliable data.
- Historical Data as a "Ground Truth" Backup: LSTM II acts as a crucial backup, leveraging the wisdom of past successful batches to correct for current sensor anomalies. This is a key insight into building truly resilient soft sensors.
- Endpoint Detection for Process Optimization: The application of the fault-tolerant soft sensor for endpoint detection highlights its practical utility in optimizing production cycles, preventing waste, and ensuring consistent product quality.
Key Results
The proposed fault-tolerant soft sensor algorithm demonstrated superior performance compared to several baseline methods (LSTM-EWMA, concat LSTM, and a basic LSTM model) across various conditions:
- Normal Conditions: The proposed method achieved the best performance in terms of RMSE, R-squared, and MAE, indicating high accuracy.
- Sensor Failures (Abrupt Offset & Slow Drift):
- The algorithm showed remarkable fault tolerance. For abrupt offset, the proposed method's accuracy (R-squared) decreased by only 1.14%, significantly less than other methods (e.g., concat LSTM by 9.27%, LSTM by 10.16%).
- In the case of slow drift, the proposed method also exhibited the least degradation, maintaining a smooth trend similar to actual values even with faulty sensor data.
- Uneven Batch Handling: The proposed method, by converting data to process rates, outperformed simple padding and resampling methods in terms of estimation accuracy, especially under fault conditions.
- Endpoint Detection: The proposed method provided more precise endpoint detection, with the final penicillin concentration fluctuating minimally around the target value, indicating better control and reduced resource wastage.
Limitations and Future Work
- Focus on Specific Faults: The study primarily focused on abrupt offset and slow drift faults for dissolved oxygen sensors. While these are common, other types of sensor failures might require further investigation.
- Simulation-Based: The study relies on a simulated dataset. While IndPensim is a robust simulator, real-world industrial data might present additional complexities.
- Future Work: The authors suggest extending the work to include more types of sensor faults to further refine and optimize quality soft sensors. They also note that the data-driven nature of the algorithm makes it easily migratable to other batch industrial processes with sensor failures.
Summary updated