Abstract
[Objective] In response to the limitations of traditional temperature control methods (such as PID control ),including slow response,significant overshoot,and the inability to fully utilize predictive information in dynamic,multi -variable complex scenarios,an intelligent food temperature control method combining fuzzy control and the Transformer prediction model is proposed.This method aims to improve temperature control accuracy,response speed,and energy consumption efficiency.[Methods] The Transformer model is used to predict the trend of future multi -time -step ambient temperature and target temperature,and real -time temperature deviation control is implemented based on fuzzy logic.The proposed method is experimentally validated using pizza billet temperature control as an example.[Results] The experimental results show that the proposed intelligent temperature control method outperforms traditional methods in both prediction and control performance.Compared with other prediction models,the mean absolute error (MAE ) of the Transformer model is reduced by 21.30% (from 0.19 ℃ to 0.15 ℃),and the root mean square error (RMSE ) is reduced by 16.67% to 25.00% across three time -series predictions.In the cold storage temperature control scenario,compared with the other four methods,the temperature overshoot is reduced by 15.73%~39.27%,the response time is shortened by 14.24%~33.52%,and the steady -state error is reduced by 33.30%~62.50%.In the oven temperature control scenario,compared with the other four methods,the temperature overshoot is reduced by 11.24%~33.05%,the response time is shortened by 11.54%~33.03%,and the steady -state error is reduced by 40.00%~71.43%.[Conclusion] The intelligent temperature control method combining fuzzy control and Transformer shows excellent prediction accuracy and control performance in complex food storage and processing scenarios,with significant performance advantages over other methods.
Publication Date
4-3-2025
First Page
120
Last Page
125
DOI
10.13652/j.spjx.1003.5788.2024.60135
Recommended Citation
Chunhui, YOU; Rucheng, LI; Yanfei, LIU; and Feng, ZHAO
(2025)
"Intelligent food temperature control method based on fuzzy control and Transformer,"
Food and Machinery: Vol. 41:
Iss.
1, Article 15.
DOI: 10.13652/j.spjx.1003.5788.2024.60135
Available at:
https://www.ifoodmm.cn/journal/vol41/iss1/15
References
[1] 丁浩晗,宋晓东,董冠军,等.牛奶罐装运输全过程质量控制研究 [J].中国乳品工业,2024,52(10):23-29.DING H H,SONG X D,DONG G J,et al.Research on quality control in the entire process of milk canning and transportation[J].China Dairy Industry,2024,52(10):23-29.
[2] 刘向勇,高雪飞,董强,等.用于食品冷冻温度控制的模糊控制系统设计 [J].食品与机械,2023,39(11):116-124.LIU X Y,GAO X F,DONG Q,et al.The design of fuzzy control system for food freezing temperature control [J].Food & Machinery,2023,39(11):116-124.|[3] 朱 颖,邱 丽 单,朱 秀 清.冷 冻 处 理 对 食 品 组 分 及 品 质 的 影 响[J].中国食品学报,2024,24(11):483-493.ZHU Y,QIU L D,ZHU X Q.The effects of freezing treatment on food composition and quality [J].Journal of Chinese Institute of Food Science and Technology,2024,24(11):483-493.
[4] 于超,陈书法,钮硕硕,等.夹心海苔隧道式烘烤设备优化设计与试验 [J].食品与机械,2024,40(5):96-100,179.YU C,CHEN S F,NIU S S,et al.Optimization design and experimental research of sandwich seaweed tunnel baking equipment [J].Food & Machinery,2024,40(5):96-100,179.
[5] 罗一,石艳.基于模糊 PID 控制的窖池温度监控设计 [J].食品与机械,2023,39(3):85-90.LUO Y,SHI Y.The environment monitoring system of cellar based on fuzzy PID control [J].Food & Machinery,2023,39(3):85-90.
[6] 张建华,商建伟,王唱,等.基于 LSTM 和IGA-BP 的酒精度预测模型 [J].食品与机械,2022,38(5):71-77.ZHANG J H,SHANG J W,WANG C,et al.Research on alcohol prediction model based on LSTM and IGA-BP [J].Food & Machinery,2022,38(5):71-77.
[7] 祝玉华,张钰涵,李智慧,等.基于 TCN-BiGRU 结合自注意力机制的储粮温度预测研究 [J].中国农机化学报,2024,45(12):133-139.ZHU Y H,ZHANG Y H,LI Z H,et al.Research on temperature prediction of grain storage based on TCN-BiGRU combined with self-attention mechanism [J].Journal of Chinese Agricultural Mechanization,2024,45(12):133-139.
[8] 张博,潘福成,周晓锋,等.基于二阶价值梯度模型强化学习的工业过程控制方法 [J].计算机应用研究,2024,41(8):2 434-2 440.ZHANG B,PAN F C,ZHOU X F,et al.Industrial process control method based on second-order value gradient model reinforcement learning [J].Application Research of Computers,2024,41(8):2 434-2 440.
[9] KHAN M I H,SABLANI S S,NAYAK R,et al.Machine learning-based modeling in food processing applications:state of the art [J].Comprehensive Reviews in Food Science and Food Safety,2022,21(2):1 409-1 438.
[10] SINGH R,NISHA R,NAIK R,et al.Sensor fusion techniques in deep learning for multimodal fruit and vegetable quality assessment:a comprehensive review [J].Journal of Food Measurement and Characterization,2024,18(9):8 088-8 109.
[11] ZOU Y F,WU J Z,WANG X F,et al.An improved artificial neural network using multi-source data to estimate food temperature during multi-temperature delivery [J].Journal of Food Engineering,2023,351:111518.
[12] 梁旭茹,岳淑丽,张硕,等.响应型食品包装的研究现状及前景 展 望 [J/OL ].现 代 食 品 科 技.(2024 -10-16) [2024 -12-02].https://doi.org/10.13982 /j.mfst.1673 -9078.2025.1.1437.LIANG X R,YUE S L,ZHANG S,et al.A review on development status and prospects of stimuli-responsive food packaging [J/OL ].Modern Food Science and Technology.(2024 -10-16) [2024 -12-02].https://doi.org/10.13982 /j.mfst.1673 -9078.2025.1.1437.
[13] 梁子勇.基于交叉污染视角的冷链食品质量控制分析 [J].食品安全导刊,2024 (19):47-49.LIANG Z Y.Analysis of quality control of cold chain food based on cross contamination perspective [J].China Food Safety Magazine,2024 (19):47-49.
[14] ULUOCAK I,BILGILI M.Daily air temperature forecasting using LSTM-CNN and GRU-CNN models [J].Acta Geophysica,2024,72(3):2 107-2 126.
[15] HUANG W T,YIN M S,XIA J,et al.A review of cross-scale and cross-modal intelligent sensing and detection technology for food quality:mechanism analysis,decoupling strategy and integrated applications [J].Trends in Food Science & Technology,2024,151:104646.
[16] 樊宏鹏,于鹏飞,杨森.基于视觉 Transformer 的马铃薯薯形与大小自动分级 [J].食品与机械,2024,40(7):111-116.FAN H P,YU P F,YANG S.Automatic grading of potato shape and size based on visual Transformer [J].Food & Machinery,2024,40(7):111-116.
[17] 何宇驰,陈永乐,贺良,等.基于 STM 32的茶叶揉捻机揉捻桶转速模糊 PID 设计 [J].食品与机械,2024,40(7):74-80.HE Y C,CHEN Y L,HE L,et al.Fuzzy PID design for rotating speed of rolling drum of tea twisting machine based on STM 32[J].Food & Machinery,2024,40(7):74-80.
[18] 李云峰,王聪,李玉琴.多算法融合的并联食品分拣机器人轨迹跟踪控制方法 [J].食品与机械,2024,40(4):72-77.LI Y F,WANG C,LI Y Q.Multi algorithm fusion based trajectory tracking control method for parallel food sorting robots [J].Food & Machinery,2024,40(4):72-77.
[19] 刘 川 正,马 景 余,白 雪 瑞,等.基 于 电 子 舌 和 电 子 鼻 结 合CNN-Transformer 模 型 的 绿 茶 种 类 识 别 [J].食 品 与 机 械,2024,40(6):34-42,52.LIU C Z,MA J Y,BAI X R,et al.Green tea species recognition based on electronic tongue and electronic nose combined with CNN-Transformer model [J].Food & Machinery,2024,40(6):34-42,52.
[20] 涂井先,冀占江,覃桂茳,等.基于统计模型的麦克风阵列语音增强算法 [J].计算机应用与软件,2024,41(11):335-340.TU J X,JI Z J,QIN G J,et al.Microphone array speech enhancement algorithm based on statistical models [J].Computer Applications and Software,2024,41(11):335-340.
[21] PENG F L,QIAO Y K,YANG C.A LSTM-RNN based intelligent control approach for temperature and humidity environment of urban utility tunnels [J].Heliyon,2023,9(2):e13182.
[22] ZHOU H Y,WU J H,ZHENG X N,et al.Fuzzy-PID controller based on improved LFPSO for temperature and humidity control in a CA ripening system [J].Journal of Food Process Engineering,2024,47(6):e14651.