Ensuring the accuracy of flow measurement is crucial to promoting high-quality cigarette production. In order to monitor the working status of flowmeters, this paper proposes an anomaly detection method based on the sliding-window recursive Lasso (Least absolute shrinkage and selection operator), which is able to track the changes in flowmeter operating conditions by self-adapting model parameters based on observed measurements. Due to the frequent mode switch and high sampling frequency of flow data, this paper introduces the sliding-window strategy to remove the effect of outdated data and accelerate the optimization. The tracking errors are used as a measure of anomaly and different thresholds are introduced based on the operating manual of cigarette production, which are used to distinguish between mode switch and flowmeter anomalies. The method’s effectiveness is verified by detecting flowmeter anomalies in a real cigarette production line. The mean absolute error (MAE) is 8.1479 and the root mean squared error (RMSE) is 2.8544, which outperforms methods such as Lasso and the ridge regression.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.