农业大数据学报 ›› 2021, Vol. 3 ›› Issue (2): 16-23.doi: 10.19788/j.issn.2096-6369.210202

• 专刊——农业科学数据采集方法研究 •    

基于LabVIEW的植物离子吸收多参数检测系统软件研发

冯小鼎1,2(), 王晓冬2, 罗斌2, 王成2()   

  1. 1.广西大学机械工程学院,南宁 530004
    2.北京农业智能装备技术研究中心,北京 100097
  • 收稿日期:2021-05-11 出版日期:2021-06-26 发布日期:2021-08-31
  • 通讯作者: 王成 E-mail:13213013419@163.com;wangc@nercita.org.cn
  • 作者简介:冯小鼎,男,硕士研究生,研究方向:机械电子工程;E-mail:13213013419@163.com
  • 基金资助:
    国家自然基金(32001410);广东省重点领域研发项目(2019B020219003)

Software Research and Development of a Multi-parameter Detection System for Plant Ion Absorption Based on LabVIEW

Xiaoding Feng1,2(), Xiaodong Wang2, Bin Luo2, Cheng Wang2()   

  1. 1.School of Mechanical Engineering, Guangxi University, Nanning 10593, China
    2.Beijing Research Center of Intelligent Equipment for Agriculture, Beijing 100097, China
  • Received:2021-05-11 Online:2021-06-26 Published:2021-08-31
  • Contact: Cheng Wang E-mail:13213013419@163.com;wangc@nercita.org.cn

摘要:

无机离子是农作物植株生长环境中重要组成部分,具备调节生理活动的功能。在生长过程中获得植物与环境养分离子的吸收信息有助于揭示植物的养分吸收机理,辅助农业科研人员或生产者监测植物生长状态。本文以植物离子吸收动力学为依据,设计了一款在线、活体、多通道的植物离子吸收多参数检测软件系统。研究在水培环境下,基于液态离子选择性微电极和NI-9205采集卡获取的离子电信号,在软件中转换为离子浓度,再通过自动拟合出的离子浓度耗竭曲线实现离子吸收动力学特征参数的实时在线获取。该软件系统基于LabVIEW软件平台进行开发设计,结合Actor Framework(操作者框架)多线程并发式的设计模式和面向对象的设计思想,完成了用户交互界面、数据采集、数据处理与分析以及数据库应用等模块化设计。对多任务系统层级间的异步通信结构进行分析与搭建,并基于高内聚、低耦合的设计原则,构建抽象的数据消息接口隔离上下层模块,增强软件的可靠性和扩展性。在数据处理与分析模块的核心业务逻辑中,嵌入服从能斯特方程的电压-浓度标定转换算法,并完成植物离子吸收动力学特征参数提取的具体流程。经过实验测试,该系统能够实时准确的完成离子电压信号的采集、浓度的标定与转换、特征多参数的获取,可满足农业科研和生产中对植物离子吸收动力学特征参数自动在线监测的需求,为营养学研究和栽培管理措施制定提供依据。

关键词: LabVIEW, 操作者框架, 面向对象, 数据采集, 异步通信, 科学数据采集

Abstract:

Inorganic ions are an important part of the growth environment of crop plants with the function of regulating physiological activities. Obtaining the absorption information of plant and environmental nutrient ions during the growth process can reveal the nutrient absorption mechanism of plants and assist agricultural researchers or producers in monitoring plant growth status. Using the kinetics of plant ion absorption, we design an online, in-vivo, multi-channel plant ion absorption multi-parameter detection software system. Research in hydroponic environments uses the ion electric signal acquired by the liquid ion selective microelectrode and NI-9205 acquisition card. This signal is then converted into an ion concentration in the software, and then the ion access of absorption kinetics characteristic parameters is realized by automatically fitting the ion concentration depletion curve in real time online. The software system is developed and designed using the LabVIEW software platform combined with the Actor Framework multi-threaded concurrent design mode and object-oriented design ideas to complete modular design. The system includes a user interface, data acquisition, data processing and analysis, and database applications. It also analyzes and builds the asynchronous communication structure between the levels of the multitasking system. It builds an abstract data message interface using the design principles of high cohesion and low coupling to isolate the upper and lower modules to enhance the reliability and scalability of the software. In the data processing and analysis module, the voltage-concentration calibration conversion algorithm that obeys the Nernst equation is embedded, and the specific process of extracting the characteristic parameters of plant ion absorption kinetics is completed. After experimental testing, the system can accurately complete the collection of ion voltage signals; concentration, calibration, and conversion; and the acquisition of characteristic multi-parameters in real time. It can meet the needs of automatic online monitoring of plant ion absorption kinetic characteristic parameters in agricultural scientific research and production. It can also provide a basis for nutrition research and the formulation of cultivation management measures.

Key words: LabVIEW, actor framework, object-oriented, data acquisition, asynchronous communication, scientific data acquisition

中图分类号: 

  • TP311.1