Abstract:Data-driven soft sensor methods have been widely applied in modern manufacturing to infer key process variables that are difficult to measure directly from easily accessible sensor data. However, in practical applications, sensor faults often lead to a significant decline in the prediction performance of soft sensor models. To address this issue, this paper proposes a soft sensor modeling approach with enhanced robustness against sensor faults. Considering the diversity of sensor fault types and the scarcity of real fault data, an adversarial learning strategy is introduced to generate adversarial samples for model training. By leveraging only normal data together with the generated adversarial samples, the proposed method effectively improves the model’s adaptability to sensor faults, thereby maintaining accurate prediction of key variables when faults occur. Furthermore, a dedicated module is incorporated to fully exploit the spatiotemporal features of process variables, further enhancing the prediction performance of the soft sensor. The proposed method is validated on the penicillin fermentation process dataset, with root mean square error and mean absolute error used as evaluation metrics. Experimental results demonstrate that, under sensor fault conditions, the proposed model outperforms other commonly used data-driven soft sensor methods, exhibiting strong fault robustness; while under fault-free conditions, it still achieves high prediction accuracy.