针对发酵过程的监测及控制问题,利用高级编程语言Python和JavaScript,设计并开发了一套基于浏览器/服务器(brower/server,B/S)架构的发酵过程嵌入式监控软件系统。该软件系统应用基于Python语言的Django框架及基于JavaScript语言的VUE框架,以MySQL和Redis数据库作为信息载体,运行于本地树莓派的嵌入式Linux操作系统,通过Web浏览器访问,具有数据采集、数据汇总、数据表展示以及多批次多参数的曲线比较功能。同时,在云服务器上搭建了配套的云端系统,Web页面和本地软件系统相同。用户可以在任意一个能够访问公网的计算机上通过Web浏览器远程监控发酵设备。将该软件系统连接发酵设备进行多批次的发酵实验,测试其在实验中的功能和性能。结果表明,该系统的各个功能模块运行正常并能达到预期的效果。
A fermentation process monitoring software system was designed and developed using high-level programming languages of Python and JavaScript based on Brower/Server architecture for monitoring and controlling the fermentation process. This software system applied Python-based Django framework and JavaScript-based VUE framework, used MySQL and Redis databases as the information carrier, and ran on local Raspberry Pi embedded Linux operating system. Accessed through a Web browser, it had such functions as data acquisition, data summarization, datasheet display and multi-batch multi-parameter curve comparison. Meanwhile, a supporting cloud system was built on a cloud server, and Web pages were identical with the local software system. Users could monitor the fermentation equipment remotely via a Web browser on any computer that has access to the public network. This software system was connected to the fermentation equipment for multiple batches of fermentation experiments, so as to test its functionality and performance in the experiments. The results showed that all functional modules of the system can operate properly and deliver the expected effects.
[1] 卢涛, 石维忱.我国生物发酵产业现状分析与发展策略[J].生物产业技术, 2019(2):5-8.
LU T, SHI W C.Current situation analysis and development strategy of biological fermentation industry in China[J].Biotechnology & Business, 2019(2):5-8.
[2] 刘力. 组态软件在PLC实验系统中的应用[J].实验室研究与探索, 2014, 33(4):127-129;136.
LIU L.The application of configuration software in PLC experimental system[J].Research and Exploration in Laboratory, 2014, 33(4):127-129;136.
[3] 戴京京, 吕奎, 史仲平.BioJN发酵技术服务系统PC端的设计、开发及应用[J].食品与发酵工业, 2021, 47(3):150-156.
DAI J J, LV K, SHI Z P.Design, development and application of BioJN fermentation technology service system PC terminal[J].Food and Fermentation Industries, 2021, 47(3):150-156.
[4] LI W H, PENG L F.Upgrade ERP from C/S to B/S based on Web service[C]//Proceedings of ICSSSM'05.2005 International Conference on Services Systems and Services Management, 2005.IEEE, 2005, 1:593-597.
[5] 郑智方, 魏恺乐, 李彬, 等.MySQL得到广泛使用的原因以及它的嵌入应用[J].科技, 2020(5):114.
ZHENG Z F, WEI K L, LI B, et al.Reasons for the widespreaduse of MySQL and its embedded applications[J].Technology Wind, 2020(5):114
[6] PEREIRA R I S, DUPONT I M, CARVALHO P C M, et al.IoT embedded linux system based on Raspberry Pi applied to real-time cloud monitoring of a decentralized photovoltaic plant[J].Measurement, 2018, 114:286-297.
[7] 王伊, 王韶红, 刘晋泽, 等.Vue.js与Django组合框架的网络社交系统单页面架构方案设计[J].信息技术与信息化, 2020(1):121-123.
WANG Y, WANG S H, LIU J Z, et al.Vue.js and Django combined framework for web social system single page architecture solution design[J].Information Technology and Informatization, 2020(1):121-123.
[8] 王建荣, 陈斌.基于PLC的工业物联网云平台研究与设计[J].自动化与仪器仪表, 2022(7):104-107.
WANG J R, CHEN B.Research and design of industrial IoT cloud platform based on PLC[J].Automation & Instrumentation, 2022(7):104-107.
[9] STOOP F, ELY G, MENNA R, et al.Smart factory equip-ment integration through standardised OPC UA communication with companion specifications and equipment specific information models[J].International Journal of Mechatronics and Manufacturing Systems, 2019, 12(3-4):344-364.
[10] 陈文艺, 梁宁宁, 杨辉.基于MQTT的物联网网关双向通信系统设计[J].传感器与微系统, 2022,41(8):100-103.
CHEN W Y, LIANG N N, YANG H.Design of two-way communication system of IoT gateway based on MQTT[J].Transducer and Microsystem Technologies, 2022,41(8):100-103.
[11] 陈衍鹏, 杜家兵.基于Django框架管理界面自动生成模块的设计与实现[J].自动化与仪器仪表, 2018(5):109-111;115.
CHEN Y P, DU J B.Design and implementation of automatic generation module based on Django framework management interface[J].Automation & Instrumentation, 2018(5):109-111;115.
[12] 吴俊锋. 基于Django的高性能地学计算Web系统的设计与实现[D].电子科技大学, 2016.
WU J F.Design and implementation of web system for HPGC based on Django[D].University of Electronic Science and Technology of China, 2016.
[13] 王子毅, 张春海.基于ECharts的数据可视化分析组件设计实现[J].微型机与应用, 2016, 35(14):46-48;51.
WANG Z Y, ZHANG C H.Design and implementation of a data visualization analysis component based on ECharts[J].Microcomputer & Its Applications, 2016, 35(14):46-48;51.