Design and experiment of monitoring system for rice seedling transplanting manipulator based on the programmable logic controller
-
摘要:目的
设计一套拔抛秧机械手监控系统,以提高拔抛秧机械手设备的自动化和信息化水平。
方法根据拔抛秧机械手工作原理,采用可编程控制器(Programmable logic controller,PLC)作为主控单元设计了系统的硬件电路和软件程序,采用触摸屏和组态软件设计了拔抛秧机械手的人机交互监控界面,并采用GRM530通讯模块、云服务器、Android手机和Android Studio软件设计了远程监控系统手机APP。该监控系统工作时,GRM530通讯模块读取PLC中指定的存储器数据,通过4G网或WIFI将数据上传到云服务器内,Android手机APP可直接访问并下载该云服务器中的数据,最后在APP中可视化地呈现出来。
结果该监控系统工作稳定可靠,远程通信测试重复10次试验的丢包率均为0,平均时延为25 ms,表明Android手机APP客户端和拔抛秧机械手可以实现稳定可靠的双向通信。该系统的数据传输是双向的,人机交互功能正常,触摸屏和Android手机APP均能精准地反馈设备的工作状态和工作数据,用户可以通过Android手机APP对PLC发送控制指令,实现整个系统的监控一体化,远程控制指令响应延时低,最高响应延时不超过0.63 s。
结论该拔抛秧机械手监控系统可以对拔抛秧机械手工作状态和工作数据进行远程实时监控,具有良好的人机交互界面,对促进信息化与农机装备的深度融合具有一定指导意义。
Abstract:ObjectiveIn order to improve the automation and information levels of rice seedling transplanting manipulator, a set of monitoring system for rice seedling transplanting manipulator was designed.
MethodAccording to the working principle of rice seedling transplanting manipulator, the programmable logic controller (PLC) was used as the main control unit, and the hardware circuit and software program of the system were designed. The human-machine interaction monitoring interface of rice seedling transplanting manipulator was designed with a touch screen and the configuration software. The mobile APP for remotely monitoring system was designed with the GRM530 communication module, cloud server, Android mobile phone, and Android Studio software. When the monitoring system was working, the GRM530 communication module read the specified memory data in the PLC and uploaded the data to the cloud server through 4G network or WIFI. Then the Android mobile APP could directly access and download the data in the cloud server. Finally, the data was presented visually in the APP.
ResultThe monitoring system was stable and reliable. The packet loss rates of remote communication for 10 repeated tests all were 0 and the average time delay was 25 ms, which showed that the Android mobile APP client and the rice seedling transplanting manipulator could realize stable and reliable two-way communication. The data transmission of the system was bidirectional. The human-machine interaction function was normal, and the touch screen and Android mobile APP could accurately feedback the working status and data. The user could send the control instructions to PLC through the Android mobile APP to realize the monitoring and controlling integration of the whole system. The response delay of remote control command was low, and the maximum response delay was no more than 0.63 s.
ConclusionThe monitoring system of rice seedling transplanting manipulator can remotely monitor the working status and data of the manipulator in real-time. It has a good human-machine interaction interface and has a certain guiding significance for promoting the deep integration of informatization and agricultural machinery.
-
Keywords:
- transplanting manipulator /
- PLC /
- monitoring system /
- touch screen /
- mobile APP
-
图 1 基于PLC的拔抛秧机械手硬件设备实物图
1:左秧夹,2:左机械臂,3:机械臂驱动电机,4:龙门架限位传感器,5:左、右机械臂限位传感器,6:龙门架,7:龙门架驱动电机,8:右机械臂,9:右秧夹,10:秧盘传送带,11:秧盘传送带驱动电机,12:秧盘到位传感器,13:供电模块,14:拔抛秧机械手PLC控制柜,15:触摸屏,16:云服务器Web客户端,17:Android手机APP客户端,18:通讯模块供电电源,19:GRM530通讯模块
Figure 1. The hardware of manipulator of rice seedlings transplanting based on PLC
1: Left seedling clamp, 2: Left mechanical arm, 3:Drive motor of mechanical arm, 4:Limit sensor on portal frame, 5:Limit sensors on left and right mechanical arms, 6:Portal frame, 7:Drive motor of portal frame, 8:Right mechanical arm, 9:Right seedling clamp, 10:Conveyor belt for seedling tray, 11:Drive motor of conveyor belt for seedling tray, 12:In-place sensor for seedling tray, 13:Power supply module, 14:Control cabinet of rice seedling transplanting manipulator, 15:Touch screen, 16:Cloud server web client, 17:Android mobile APP client, 18:Communication module power, 19:GRM530 communication module
-
[1] 罗锡文, 王在满. 水稻生产全程机械化技术研究进展[J]. 现代农业装备, 2014(1): 23-29. [2] 夏倩倩, 张文毅, 纪要, 等. 我国机械抛秧技术与装备的研究现状及趋势[J]. 中国农机化学报, 2019, 40(6): 201-208. [3] 胡建平, 张晨迪, 王留柱, 等. 全自动温室钵苗移栽机设计与试验[J]. 农业机械学报, 2016, 47(S1): 149-154. [4] 农业部. 全国农业机械化发展第十三个五年规划[N]. 中国农机化导报, 2017-01-05 (7). [5] 吴亚垒, 祁力钧, 张豪, 等. 基于嵌入式互联网的远程智能喷雾控制系统设计[J]. 农业工程学报, 2018, 34(20): 28-35. [6] JIRAPOND M, NATHAPHON B, SIRIWAN K, et al. IoT and agriculture data analysis for smart farm[J]. Computers and Electronics in Agriculture, 2019, 156: 467-474. doi: 10.1016/j.compag.2018.12.011
[7] ZHANG R Y, HAO F Q, SUN X. The design of agricultural machinery service management system based on internet of things[M]. Procedia Computer Science, 2017, 107: 53-57.
[8] 李瑾, 郭美荣, 高亮亮. 农业物联网技术应用及创新发展策略[J]. 农业工程学报, 2015, 31(S2): 200-209. [9] GUPTA N, KHOSRAVY M, PATEL N, et al. Economic data analytic AI technique on IoT edge devices for health monitoring of agriculture machines[J]. Applied Intelligence, 2020, 50(11): 3990-4016. doi: 10.1007/s10489-020-01744-x
[10] 邵耀坚. 水稻工厂化育秧拔苗机械手及仿生机理的研究[J]. 华南农业大学学报, 2000, 21(1): 78-81. [11] 马瑞峻, 区颖刚, 邵耀坚. 机械手式水稻有序行抛机构的设计[J]. 农业机械学报, 2002, 33(1): 36-38. [12] 马瑞峻, 区颖刚, 赵祚喜, 等. 水稻钵苗机械手取秧有序移栽机的改进[J]. 农业工程学报, 2003, 19(1): 113-116. doi: 10.3321/j.issn:1002-6819.2003.01.029 [13] 马瑞峻, 樊元君, 黄倩, 等. 2自由度夹子式水稻穴盘钵苗拔抛机械手设计与试验[J]. 农业机械学报, 2015, 46(6): 35-43. doi: 10.6041/j.issn.1000-1298.2015.06.006 [14] 马锐, 曹卫彬, 任玲, 等. 整排穴盘苗移栽机取送苗装置的设计与研究[J]. 农机化研究, 2019, 41(4): 85-90. [15] 胡建平, 常航, 杨丽红, 等. 自动移栽机整排取苗间隔投苗控制系统设计与试验[J]. 农业机械学报, 2018, 49(6): 78-84. [16] LIU J Z, ZHAO S Y, LI N, et al. Development and field test of an autonomous strawberry plug seeding transplanter for use in elevated cultivation[J]. Applied Engineering in Agriculture, 2019, 35(6): 1067-1078. doi: 10.13031/aea.13236
[17] 陈玉仑, 孙晨阳, 卢中山, 等. 基于可编程控制器的猪胴体喷淋冷却作业控制系统设计[J]. 农业工程学报, 2018, 34(3): 273-278. [18] 付威, 罗锡文, 曾山, 等. 水稻精量旱穴播机穴距电液比例控制系统的设计与试验[J]. 农业工程学报, 2015, 31(9): 25-31. [19] SUSHANTH G, SUJATHA S. IoT based smart agriculture system[M]. New York: IEEE, 2018.
[20] 丁友强, 刘彦伟, 杨丽, 等. 基于Android和CAN总线的玉米播种机监控系统研究[J]. 农业机械学报, 2019, 50(12): 33-41. [21] BARKUNAN S R, BHANUMATHI V, BALAKRISHNAN V. Automatic irrigation system with rain fall detection in agricultural field[J/OL]. Measurement, 2020, 156: 107552. https://doi.org/10.1016/j.measurement.2020.107552.
[22] 樊元君, 马瑞峻, 黄倩, 等. 穴盘水稻钵苗自动送秧机构及控制系统设计与试验[J]. 华南农业大学学报, 2016, 37(4): 117-123.