Software Engineering

ISSN Online: 2376-8037 ISSN Print: 2376-8029

The Application of Distance-Measuring by Ultrasonic Based on CPLD in the Field of Agriculture Robot

Received: Aug. 16, 2021 Accepted: Sep. 4, 2021 Published: Sep. 10, 2021

DOI: 10.11648/j.se.20210903.14 Views: Download:

Authors

Li Hui, Faculty of Automation, Huaiyin Institute of Technology, Huaian, China

Li Jing, Faculty of Automation, Huaiyin Institute of Technology, Huaian, China

Li Ruofan, Faculty of Automation, Huaiyin Institute of Technology, Huaian, China

Wang Dongkun, Faculty of Automation, Huaiyin Institute of Technology, Huaian, China

Abstract

In order to further improve the accuracy of the distance measurement of agricultural robots and realize the precise delivery of crop feeds, thereby increasing the yield of crops, this paper proposed a ultrasonic distance measurement system for agricultural robots based on Complex Programmable Logic Device (CPLD). The system mainly included two parts: hardware and software. The hardware part mainly included CPLD control part, ultrasonic sensor and temperature sensor. The software part mainly included the identification and counting of ultrasonic signals, data processing and temperature compensation. The system performed accurate ultrasonic ranging based on the current temperature and ultrasonic echo measurement. In order to improve the degree of humanization of the system, the system used a high-brightness digital tube to display the measured data in real time. The part of hardware had been analyzed and designed, and the same time the part of software had been designed by the language of VHDL and simulated by wave in QUARTUSII platform. Finally the design was downloaded to a CPLD chip named EPM1270T144C5. The system was tested by measuring the distance of block range from 50mm to 5500mm in the temperature of 28°C. After actual system testing, we found that the precision of test could be controlled less than 0.1 mm as a result of temperature compensating and high-speed characteristic of CPLD.

Keywords

CPLD, High Precision, Distance-Measuring by Ultrasonic, Agriculture Robot

To cite this article

Li Hui, Li Jing, Li Ruofan, Wang Dongkun, The Application of Distance-Measuring by Ultrasonic Based on CPLD in the Field of Agriculture Robot, Software Engineering. Vol. 9, No. 3, 2021, pp. 70-75. doi: 10.11648/j.se.20210903.14

Copyright

Copyright © 2021 Authors retain the copyright of this article.
This article is an open access article distributed under the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0/) which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

References
  • [1]

    LIANG Zhi-xun, BI Lv-qing. Design of reversing collision avoidance system based on CPLD [J]. Electronic Design Engineering, 2018, 26 (15): 6–10+14.

  • [2]

    WANG Zhan-kuo, LI Wei-cong, QIAO Sen. Design of Automotive Collision Avoidance System Based on CPLD [J]. Industrial Applications and Communications, 2016, 35 (7): 105–108.

  • [3]

    WU Jin-yuan, RONG Hong-wei, LI Ji-sheng, etc. Study on ophthalmic ultrasound bio-metric system based oncomplex programmable logic device [J]. Chinese Medical Equipment Journal, 2016, 37 (9): 12-15.

  • [4]

    Gao Yun. The Design of Ultrasonic Ranging System in Agriculture Robot [J]. Journal of Agricultural Mechanization Research, 2009 (4): 76-79.

  • [5]

    ZHANG Hefang, JIA Cunyang. Research and Design of Ultrasonic Nondestructive Testing System Based on DSP [J]. Computer & Digital Engineering, 2015, 43 (5): 821-824+830.

  • [6]

    CHEN Xi, HUANG Shenghua, ZHANG Xianhe. Fast Turning-off Scheme of PWM Signals for Cascaded Multilevel Converters Based on FPGA / CPLD [J]. MICROMOTORS, 2021, 54 (1): 39-44.

  • [7]

    LI Ming-kai, LIU Tie-jun, ZHOU Min, CHEN Yi-qian. Design and Application of Ultrasonic Signals Collector Based on USB and CPLD [J]. Instrument Technique and Sensor, 2018, 5: 83-87.

  • [8]

    YANG Ling-chen, ZHOU Wu-neng, TANG Wen-bing, et al. Research and Hardware Design of Ultrasonic Ranging System [J]. Instrument Technique and Sensor, 2018, 2: 41-47.

  • [9]

    Su Chen, Zhang Peng, Chang Jing. Research on Real-time Denoise Filtering Algorithm for Ultrasonic Ranging Signal [J]. BULLETIN OF SCIENCE AND TECHNOLOGY, 2019, 35 (5): 107-110.

  • [10]

    WEI Yutong, ZHANG Qi, ZHAO Boxin. Development of multi-target ultrasonic ranging system based on ATMEGA64 single chip microcomputer [J]. Industrial instrumentation and automation equipment, 2020, 3: 103-106.

  • [11]

    ZHANG Lei, DONG Gai-hua, JIA Li-ying, et al. Design of Standardized SCI Port for Ultrasonic Distance-Measuring Module in DSP [J]. MECHANICAL ENGINEERING & AUTOMATION, 2018, 210 (5): 188-189.

  • [12]

    YANG Baohai, SONG Junkang, LI Yunyu, et al. Research and Implementation of High Precision Ultrasonic Ranging System Based on SOPC [J]. Chinese Journal of Electron Devices, 2019, 42 (6): 1574-1577.

  • [13]

    ZHENG Kun, HOU Wei-gou, YAO Jing, et al. Multi-channel Ultrasonic Distance Measuring System of RS485 Bus Based on STM32 Microprocessor [J]. Instrument Technique and Sensor, 2018, 6: 79-82.

  • [14]

    SUN Hui. Design and Experiment of Ultrasonic Distance-Measuring System with High Precisioon Based on T/R40-16 [J]. Instrument Technique and Sensor, 2018, 6: 94-97.

  • [15]

    XIE Di, LU Zhaoquan, DING Haofeng, et al. High precision indoor positioning system based on ultrasonic ranging [J]. Transducer and Microsystem Technologies, 2019, 38 (10): 98-101.