To address the problems of low automation level, insufficient synchronous control accuracy, and difficult fault diagnosis in traditional liquor bottle capping machines, the work aims to design an automatic capping machine control system based on a programmable logic controller (PLC). With the PLC as the control core, automatic control and closed-loop regulation of the capping process are realized, and a three-dimensional virtual simulation model of the capping machine is established in NX MCD as a virtual commissioning support tool for control logic verification and parameter optimization. The automatic closed-loop regulation of capping time is achieved by measuring the bottle height after capping. With the Siemens S7-1500 PLC as the control core and the KTP1200 touch panel for human-machine interaction, a virtual simulation model was constructed in NX MCD with reference to the existing capping equipment, in which the electromechanical and kinematic properties were configured. The communication between the PLC and the simulation model was implemented via PLCSIM Advanced and TIA Portal. The system adopted a core mechanism in which a conveyor motor drived bottle feeding, a pneumatic cylinder performed the capping action, and a laser displacement sensor enabled closed-loop regulation of capping time, thereby achieving closed-loop control of capping height. Virtual simulation verification showed that the simulation model communicated successfully with the PLC control program, the height deviation of bottles after capping was no greater than ±0.2 mm, and continuous simulation ran for 2 hours without failure. Through virtual commissioning based on the constructed virtual simulation model of the capping machine, this work provides a reference for the control system design of packaging machinery. The system has the potential to improve capping accuracy and production efficiency, offering technical reference for the intelligent upgrading of the liquor-making industry.
Key words
capping machine /
PLC /
virtual commissioning /
NX MCD
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
References
[1] 颜学定, 谭五丰. 灌装压盖机自动控制系统的探讨[J]. 现代食品科技, 2006(3): 163-164.
YAN X D, TAN W F.Discussion on the Automatic Control System of Filling and Capping Machine[J]. Modern Food Science and Technology, 2006(3): 163-164.
[2] 贾文鹏, 张鹏强. 基于NX-MCD的自动化生产线物料仓储单元虚拟仿真调试[J]. 价值工程, 2026, 45(4): 107-112.
JIA W P, ZHANG P Q.Virtual Simulation Debugging of Material Storage Unit in Automated Production Line Based on NX-MCD[J]. Value Engineering, 2026, 45(4): 107-112.
[3] 王俊杰, 戴春祥, 秦荣康, 等. 基于NX MCD的机电概念设计与虚拟验证协同的研究[J]. 制造业自动化, 2018, 40(7): 31-33.
WANG J J, DAI C X, QIN R K, et al.Research on Collaborative Electromechanical Conceptual Design and Virtual Verification Based on NX MCD[J]. Manufacturing Automation, 2018, 40(7): 31-33.
[4] 凌旭, 邹冲, 戴俊良, 等. 基于NX-MCD的物料分拣装置数字孪生系统设计[J]. 中国机械, 2024(31): 16-21.
LING X, ZOU C, DAI J L, et al.Design of a Digital Twin System for Material Sorting Device Based on NX-MCD[J]. China Machinery, 2024(31): 16-21.
[5] 付董帅, 李昌豪, 杨文健, 等. 基于数字孪生的过程控制实训系统[J]. 机电工程技术, 2025(10): 1-7
FU D S, LI C H, YANG W J, et al.Process Control Training System Based on Digital Twin[J]. Mechanical & Electrical Engineering Technology, 2025(10): 1-7.
[6] ZHANG S K, JI J, ZHAO Y X, et al.Control System Design of Automatic Capping Machine Based on S7-300 PLC[C]// Proceedings of the 2020 IEEE Conference on Telecommunications, Optics and Computer Science (TOCS). New York: IEEE, 2020: 1-5.
[7] 张坤平. 基于PLC的全自动在线式缠绕包装机控制系统设计[J]. 包装工程, 2021, 42(17): 270-275.
ZHANG K P.Design of a Fully Automatic Online Winding Packaging Machine Control System Based on PLC[J]. Packaging Engineering, 2021, 42(17): 270-275.
[8] 刘方平. 基于数字孪生的机电设备装调虚实结合实训教学改革与实践[J]. 中国机械, 2026(7): 169-172.
LIU F P.Reform and Practice of Training Teaching for Electromechanical Equipment Assembly and Commissioning Based on Digital Twin[J]. China Machinery, 2026(7): 169-172.
[9] RODRIGUEZ J, LOPEZ M.Virtual Commissioning of a Capping Line Using NX Tecnomatix and S7-PLCSIM[J]. Procedia CIRP, 2024(128): 890-895.
[10] WANG L, ZHANG H, LI Y.Digital Twins for Machine Tools: A Systematic Mapping Study[J]. Journal of Manufacturing Systems, 2025(75): 123-135.
[11] 郑艳楠. 啤酒灌装压盖机监控系统的研究与改进[J]. 内蒙古石油化工, 2013, 39(1): 4-5.
ZHENG Y N.Research and Improvement of Monitoring System for Beer Filling and Capping Machine[J]. Inner Mongolia Petrochemical Industry, 2013, 39(1): 4-5.
[12] 曾鹏飞. 压盖机上下料机械手PLC控制系统的设计[J]. 自动化应用, 2025, 66(7): 20-23.
ZENG P F.Design of PLC Control System for Loading and Unloading Manipulator of Capping Machine[J]. Automation Application, 2025, 66(7): 20-23.
[13] 陈源, 褚洪钊, 杨锡, 等. 白酒灌装生产线柔性化生产技术探究[J]. 食品与发酵科技, 2023, 59(4): 129-131.
CHEN Y, CHU H Z, YANG X, et al.Research on Flexible Production Technology of Baijiu Filling Production Line[J]. Food and Fermentation Sciences & Technology, 2023, 59(4): 129-131.
[14] 何小兰, 邓宦权, 张宇, 等. 酒瓶压盖质量检测设备的研究应用[J]. 酿酒科技, 2026(2): 86-89.
HE X L, DENG H Q, ZHANG Y, et al.Research and Application of Quality Inspection Equipment for Wine Bottle Capping[J]. Liquor-Making Science & Technology, 2026(2): 86-89.
[15] 李倩. 高速灌装生产线下对白酒玻璃酒瓶的质量探讨[J]. 酿酒, 2025, 52(5): 148-151.
LI Q.Discussion on the Quality of Baijiu Glass Bottles in High-Speed Filling Production Lines[J]. Liquor Making, 2025, 52(5): 148-151.
[16] 王俊, 李添亿. NX-MCD与PLC联合仿真的通信技术研究与实现[J]. 自动化应用, 2026, 67(10): 240-243.
WANG J, LI T Y.Research and Implementation of Communication Technology for Joint Simulation of NX MCD and PLC[J]. Automation Application, 2026, 67(10): 240-243.