Next Article in Journal
Adaptive Interval Type-2 Fuzzy Logic Control of a Three Degree-of-Freedom Helicopter
Previous Article in Journal
Is Artificial Man Still Far Away: Anthropomimetic Robots Versus Robomimetic Humans
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Robotic Detection and Grasp of Maize and Sorghum: Stem Measurement with Contact

1
Department of Biological Systems Engineering, University of Nebraska-Lincoln, Lincoln, NE 68583, USA
2
Department of Agronomy and Horticulture, University of Nebraska-Lincoln, Lincoln, NE 68583, USA
*
Author to whom correspondence should be addressed.
Robotics 2020, 9(3), 58; https://doi.org/10.3390/robotics9030058
Submission received: 28 May 2020 / Revised: 22 July 2020 / Accepted: 24 July 2020 / Published: 28 July 2020
(This article belongs to the Section Agricultural and Field Robotics)

Abstract

:
Frequent measurements of the plant phenotypes make it possible to monitor plant status during the growing season. Stem diameter is an important proxy for overall plant biomass and health. However, the manual measurement of stem diameter in plants is time consuming, error prone, and laborious. The use of agricultural robots to automatically collect plant phenotypic data for trait measurements can overcome many of the drawbacks of manual phenotyping. The objective of this research was to develop a robotic system that can automatically detect and grasp the stem, and measure its diameter of maize and sorghum plants. The robotic system comprises of a four degree of freedom robotic manipulator, a time-of-flight camera for vision system, and a linear potentiometer sensor to measure the stem diameter. Deep learning and conventional image processing were used to detect stem in images and find grasping point of stem, respectively. An experiment was conducted in a greenhouse using maize and sorghum plants to evaluate the performance of the robotic system. The system demonstrated successful grasping of stem and a high correlation between manual and robotic measurements of diameter depicting its ability to be used as a prototype to integrate other sensors to measure different physiological and chemical attributes of the stem.

1. Introduction

Plant phenotyping is a key technology for the plant breeders to produce crops with desirable traits such as higher yield, disease resistance, and drought tolerance [1]. Among other measurements, plant phenotyping typically assesses quantitatively the crop phenotypes such as leaf area, leaf angle, and stem diameter [2]. The stem diameter of a plant is a good indicator of plant’s health and biomass accumulation. A plant with a thicker stem is usually considered as healthier with higher yield potential than other plants at the same growth stage [3]. The manual measurement of stem diameter is laborious, time consuming, and error prone [4]. Robotic phenotyping will help plant geneticists to investigate the interaction between genotype and environment more readily in order to improve crop yields and resilience to environmental stresses [1]. Literature reports many image-based stationary phenotyping systems to mitigate the issues with manual measurements.
Vázquez-Arellano et al. [5] developed a method to estimate the position and height of the maize stem from 3D reconstruction of the plant using the point cloud data from a time-of-flight (TOF) camera. The experimental results showed that their method could determine the position and height of the stem with an average mean error of 24 and 30 mm. Chaivivatrakul et al. [6] developed an automated plant phenotyping system that could measure morphological traits of maize plants via 3D holographic reconstruction. A TOF camera and a rotating table were used to acquire point cloud image data. The proposed method showed promising results to measure plant phenotypic data such as the stalk widths (major and minor axes), and height. Jin et al. [7] proposed a median normalized-vector growth (MNVG) algorithm that could segment leaf and stem, and also extract phenotypic traits such as leaf area, stem diameter, and plant height using terrestrial Light Detection and Ranging (LIDAR) data. The algorithm was tested for maize plants with different height and leaf numbers at three growth stages. The experimental results showed that MNVG method had high accuracy for phenotypic traits extraction at individual plant level (R2 could be up to 0.96), followed by leaf and stem levels. Das Choudhury et al. [8] developed an algorithm to automatically compute the angle of maize stem. They postulated that this trait may be an indicator for plant’s susceptibility to lodging. A graph theory-based approach was applied to recognize leaf-tips and leaf-junctions from visible light images. A regression line curve was fitted through the leaf junctions to form the stem axis, and the angle between the stem axis and the vertical axis was determined as stem angle. The method achieved an accuracy of 84% in a mixed dataset of panicoid grasses. These reports mostly used the image processing techniques to achieve the expected task. However, for many complex phenotyping tasks, conventional image processing pipelines have experienced limited flexibility and unsatisfactory performance; and many believe that machine learning techniques are expected to take a prominent role in the future of image-based phenotyping [9] in stationary or vehicle-based systems.
Various vehicle-based systems were used or proposed for field-based high-throughput plant phenotyping [10]. Lottes et al. [11] developed a system consisting of a 4-channel camera (RGB+ NIR (near-infra-red)) attached to a mobile robot to detect sugar beet plants from weeds. Vidoni et al. [12] introduced a semi-autonomous mobile robot equipped with LIDAR to measure the shape and volume of orchards and vineyards canopy. A ground-based phenotyping system was presented to acquire information of peanut canopy architecture (height, width, and shape), and density [13]. Two RGB cameras, a thermal camera, and a laser scanner were attached to a ground-based, remotely controlled cart. The result showed that the system was able to collect the data with faster speed and higher resolution compared to manual collection. Andrade-Sanchez et al. [10] developed a high-throughput phenotyping platform to measure the dynamic traits of cotton in the field. Several different sensors were used to measure the canopy height, reflectance, and temperature simultaneously on four adjacent rows. The results indicated that the plant traits could be measured by the system rapidly and accurately. Xu et al. [14] designed an autonomous ground robot for high-throughput phenotyping in cotton field. Color images were captured from the cotton plants using RGB cameras. The color images were used to construct 3D plant point cloud, and also to detect and count opened cotton bolls. The experimental results confirmed that the robot could collect the phenotypic information autonomously. Young et al. [15] introduced a high-throughput phenotyping robot to collect plant phenotypic data of energy sorghum in the field. A stereo camera and a depth sensor were mounted on a mobile robot to measure the plant height and stem width. The robot could accurately measure the architectural traits of individual plant. Bao et al. [16] demonstrated a system to characterize several architectural traits of maize plants at multiple growth stags in the field. A mobile robot was equipped with TOF cameras to acquire side-view 3D point cloud data of crop rows. An algorithm was developed to extract plant height, leaf angle, plant orientation, and stem diameter for each plant. The plant phenotypes were estimated with satisfactory accuracies except for the stem diameter due to the insufficient resolution of the TOF cameras. A mobile robot equipped with RGB camera and LIDAR was deployed to sorghum field to estimate the stem width [17]. The results showed that it was predicted with high accuracy.
As the field of robotics is expanding into broader applications, the demand for using robotic manipulators to accomplish unstructured tasks is increasing [18]. Unstructured tasks refer to tasks that cannot be determined ahead of time (such as acquiring plant phenotypes). Lu et al. [19] reported an automated robotic phenotyping platform for characterizing morphological traits of corn seedlings. A TOF camera was attached to the end-effector of a robotic manipulator. The camera was positioned in different views by the robotic arm in order to obtain 3D point cloud data of the plant. This robotic system could satisfactorily segment the stem and leaves of a plant, and measure the stem height and leaf length of corn seedlings. Mueller-Sim et al. [1] developed a high-throughput ground-based agricultural robot that could navigate between sorghum rows in the field and collect plant phenotypic data autonomously. The robot used a mobile platform, a three degree of freedom (DOF) manipulator, a customized gripper consisting of a digital force gauge, and a needle to measure the stem strength, as well as other non-contact sensors such as a stereo camera to gather phenotypic data. The results of outdoor experiments demonstrated that the algorithm for stem detection worked well and all identified stems were grasped by the gripper successfully. Atefi et al. [20] developed a plant phenotyping robotic system to realize automated measurement of leaf reflectance and leaf temperature of maize and sorghum plants in greenhouse. The robotic system consisted of a TOF camera, a four DOF robotic manipulator, an optical fiber cable (coupled to a portable spectrometer) and a thermistor for leaf spectral reflectance and leaf temperature measurements, and a custom-designed gripper to integrate the sensors to the end-effector of the robotic manipulator. Image processing techniques were used to segment plants from the background, detect the stem, separate the stem from the leaves, and determine an appropriate grasping point on leaves. The experimental results showed that the robotic system could satisfactorily measure leaf physiological and chemical traits directly and automatically.
Our previous work [20] focused on the automated grasping leaves and measuring their properties. As a continuation, this work focuses on developing a robotic phenotyping system which has the capability to detect and physically grasp the stem of maize and sorghum. Literature lacks such an effort to grasp the stem of plants which can have significant applications in phenotyping. Such a system has the ability to deploy various sensors such as sap flow, which needs a direct contact with the stem for measurement. In this study, stem diameter measurement is used to demonstrate the effectiveness of the system in stem grasping. The objective of this study was to develop an automated plant phenotyping robotic system that could detect the stem using deep learning, grasp the stem, and automatically measure the stem diameter of maize and sorghum plants in greenhouse. The performance of the robotic system was evaluated by conducting a validation experiment in the greenhouse. The plant phenotyping robotic system that could automatically detect and grasp the stem, and measure the stem diameter in real-time employing both contact-based and image-based approaches has not been reported in literature.

2. Materials and Methods

2.1. Hardware of the Robotic System

Vision system: A TOF camera (Model: SR4500, Mesa Imaging Inc., Zürich, Switzerland) was used to take images of plants. The camera has a resolution of 176 × 144 pixels with 69° × 55° field of view. XYZ coordinates (three channels) of each pixel in the image relative to the center of the camera coordinate system are provided by the camera. A grayscale image can be created using each channel of the image.
Robotic manipulator: A four DOF robotic manipulator (Model: MICO2, KINOVA Inc., Boisbriand, QC, Canada) was used in the robotic system.
Sensing system: A linear potentiometer (LP) sensor (Model: LP804-03, OMEGA Engineering Inc., Norwalk, CT, USA) was used to measure the stem diameter (Figure 1). The LP sensor has a weight of 28 g and it can measure linear displacement up to 76 mm with a resolution of 0.00127 mm. A gripper was designed to integrate the LP sensor to the end-effector of the robotic manipulator (Figure 1). The design of the gripper allowed for linear movement for the fingers of the gripper, which enabled the LP sensor for linear displacement measurement. The gripper was made of plastic material to reduce its weight and was prototyped using a 3D-printer. A data acquisition system (Model: LabJack U6, LabJack Corporation, Lakewood, CO, USA) was used to interface the LP sensor with the robot’s task computer.
The LP sensor was calibrated using a digital caliper. The output voltage of the sensor was converted to linear displacement (stem diameter) using Equation (1) (calibration equation).
D = 1.48 × V O U T
Where: D is the linear displacement (stem diameter) in cm and V O U T is the output voltage of the LP sensor in Volts.
A microcontroller (Model: Arduino Uno ATmega328 board) combined with a dual H-bridge motor driver (Model: Qunqi L298N) was used to control a low-power DC motor (Figure 1). The brushed gear DC motor (Model: 47:1 Metal Gearmotor, Pololu Corporation, Las Vegas, NV, USA) with a 47:1 gearbox and a 48 CPR (counts per revolution) quadrature encoder was used to open and close the gripper’s fingers for stem grasping (Figure 1).
Integration of the robotic system: The TOF camera was installed near the robotic manipulator. The LP sensor and the DC motor were attached to the gripper. To adjust the robotic system with the height of the plants, all components were mounted on the top of a height adjustable desk (Figure 2).

2.2. Software of the Robotic System

2.2.1. Stem Detection Using Deep Learning Technique (Faster R-CNN)

In our previous study [20], an image processing-based algorithm was developed to detect the stem in the image. However, this method had limited success with tilted stems (see Supplementary Figure S1). Therefore, deep learning technique was used to overcome this issue in this research. For this purpose, sixty grey-scale TOF images (Z direction/depth images) from the previous study [20] were used. It was speculated that they have more information (8-bit images) which can help in stem detection model calibrated by deep learning compared to binary images. Then, the gray-scale images were labelled by drawing a bounding box for stem as ground-truth using “ImageLabeler” toolbox in MATLAB (version 2018, MathWorks, Natick, MA, USA). Image augmentation techniques were used to produce more images for training the network. Specifically, the images were sharpened, blurred, darkened, and brightened (Figure 3) to create 240 additional images resulting in a total of 300 labelled images. The dataset was split into two subsets: 80% (240 images) as the training set and 20% (60 images) as the testing set. The training set was used to train the Faster R-CNN model and find the weights and biases of the network, and the testing set was used to evaluate the performance of the network.
Faster R-CNN technique was used for stem detection in the images. In this method, the input image is passed through a convolutional network which returns a convolutional feature map for the image. A small neural network called region proposal network (RPN) is applied on the convolutional feature map to predict the presence of an object and its bounding box (predicted region proposals). Then, a region of interest (RoI) pooling layer is used to bring down all the predicted region proposals to the same size. Finally, the reshaped proposals are provided as inputs to fully connected (FC) layers to classify any predicted bounding boxes. Each bounding box has a confidence-score that shows the likelihood of box containing the object. The confidence-score is computed by “intersection over union” (IoU or overlap) between the predicted and ground-truth. The performance of the Faster R-CNN model for object detection on the testing set is measured by evaluation metrics such as precision, recall, and F1-score. Precision and recall are defined as the ratio of correctly positive predictions to the total positive predictions, and the ratio of correctly positive predictions to the total actual positives, respectively. F1-score measures the model’s accuracy which is calculated by precision and recall (Equation (2)).
F 1 = 2 × ( P r e c i s i o n × R e c a l l P r e c i s i o n + R e c a l l )
In this study, the model consisted of two convolutional layers, a max pooling layer, a RPN, a RoI pooling layer, and two FC layers. The convolutional layers had 32 filters with size of 3 × 3, padding of 1, and rectifier linear unit (ReLu) activation function. The output of the convolutional layers was fed to the max pooling layer with the size of 3 and stride of 2, then to RPN, and RoI pooling layer. The first FC layer had 64 neurons with ReLu, and the second (last) layer had 2 classes (background and stem) with Softmax as loss layer (cross-entropy). Stochastic gradient descent with momentum (SGDM) of 0.9, 100 epochs, batch size of 32, and initial learning rate of 0.001 was used as the optimizer for the network. The model was trained using 240 training images and its output was a detector that could detect the stem in the image (bounding box) and also to predict the class object (background or stem). Figure 4 illustrates the architecture of the model. The detector was used to find a bounding box as stem region in a testing image. The detector generally identified several different bounding boxes as stem candidates. The bounding box that was assigned the highest confidence-score by the detector was selected as the stem (Figure 5). Sixty testing images were used to evaluate the performance of the model. The model detected stems in fifty-six images correctly, and for other four images incorrectly. The precision, recall, and F1-score of the model on the testing set were all the same values and equal to 0.93. A laptop with Intel Core i7 Processor (2.5 GHz) and 8 GB RAM was used to implement the training process of the network.

2.2.2. Determination of the Grasping Point on the Stem

The image processing toolbox in MATLAB (version 2018, MathWorks) was used to segment the plant from the background in the image and to determine the grasping point on the stem. The plant was segmented from the background using a threshold in Z channel (the distance of the plant to the camera in Z direction) of the scene and accordingly a grey-scale image was created (Figure 6a). In this method all objects in the image behind the plant (simple or complicated background) were removed beyond the threshold. The grey-scale image was then converted into a binary image (Figure 6b). Deep learning technique (Faster R-CNN) was applied to detect the stem in the image. The vertical lines of the bounding box were determined as stem’s vertical edges (Figure 6c).
The stem was removed from the binary image (after finding the vertical edges of the stem) and the most bottom leaf was labelled as the first leaf. The most bottom pixel of the first leaf that was connected to the stem was found. A horizontal line was drawn from the bottom pixel that was used to find the candidate grasping region of the stem to avoid hitting the leaves during the movement of the robotic arm (Figure 6d). Thus, to detect the stem grasping area, all pixels in the binary image of the plant were removed except the pixels located between the stem’s vertical edges and under the horizontal line (Figure 6e). The coordinates of the center point of the stem grasping area in the image was determined as the grasping point (Figure 6f). Then, the XYZ coordinates (3D coordinates) of the grasping point relative to the center of the camera’s coordinate system were found using XYZ channels of the scene, which was provided by the TOF camera.

2.2.3. Inverse Kinematics of the Robotic Manipulator

A transformation matrix was created based on the translation ( D C R ) and rotation ( R C R ) of the camera’s coordinate system and robotic manipulator’s coordinate system to find the 3D coordinates of the grasping point relative to the robotics manipulator’s coordinate system (Equation (3)).
P R = T C R × P C  
where:
T C R = [ R C R D C R 0 1 ]
R C R = [ 1 0 0 0 c o s ( 90 ) s i n ( 90 ) 0 s i n ( 90 ) c o s ( 90 ) ]   ,   D C R = [ d x d y d z ]
then:
T C R = [ 1 0 0 d x 0 c o s ( 90 ) s i n ( 90 ) d y 0 s i n ( 90 ) c o s ( 90 ) d z 0 0 0 1 ]
RP, T C R , and CP are the 3D coordinates of the grasping point relative to the center of robotic manipulator’s coordinate system, the transformation matrix, and the 3D coordinates of the grasping point relative to the center of camera’s coordinate system. d x   = 10.5 cm, d y   = −4 cm, and d z   = 41.2 cm are the distances between the coordinate system of the camera and robotic manipulator in X, Y, and Z directions (Figure 7).
The geometric approach in inverse kinematics was used to calculate the angle of the first three joints of the robotic manipulator for grasping process of the stem. The angle of the fourth joint was a constant value such that the end-effector of the robotic manipulator was parallel to the horizontal plane at the beginning of its movement to grasp the stem and the roll angle was not changed during grasping process.
Gripper fingers control: An Arduino program was developed to control (open and close) the fingers of the gripper. The output of the DC motor’s encoder shows the position of the motor. The encoder output was used to stop the linear movement of the fingers at the end of the opening process when they are fully opened, and also at the end of the closing (grasping) process to avoid excessive squeeze to the stem. For this purpose, the program compares two consecutive readings of the encoder. If the readings are equal, then it can be deemed that the motor is stalling due to the resistance force induced when the grippers are in contact with the stem or it is fully opened. To open and close the fingers using MATLAB, “MATLAB Support Package for Arduino” was used for MATLAB-Arduino serial communication.
The architecture diagram of the robotic system is depicted in Figure 8 which illustrates the aspects of data processing and robotic manipulator control.

2.3. Greenhouse Experiment and Data Collection

An experiment was conducted in the Greenhouse Innovation Centre of University of Nebraska-Lincoln to assess the robotic system. For this purpose, two different lines of maize (B73 and Oh47) and two different lines of sorghum (Simon and Grassl) were selected. Eight plants for each line of maize and sorghum were grown and 32 plants in total were used for the experiment.
The experiment was conducted over a period of six weeks (first three weeks for maize and second three weeks for sorghum) to create more variability for stem diameter measurements. The plants had ten leaves (V10) and tassel (VT) at the start and the end of the measuring period for maize and then for sorghum. One day per week was chosen to measure the stem diameter of sixteen plants. In total, the stem diameter of 96 samples were measured during the experiment. To take the automated measurements, the plant was placed in front of the camera. Since the robotic system was not equipped with an obstacle avoidance algorithm such as collision-free path planning or deep reinforcement learning, two considerations were taken for stem grasping process. First, the distance between the stem and the center of the camera’s coordinate system in Z direction was about 40 cm. This distance ensured the secure movement of the robotic manipulator without any harmful contact with plant leaves. Second, one or two leaves of the plant close to the soil were removed to enable free movement of the robotic manipulator without hitting the pot. This measure had to be implemented to avoid detection of the stem grasping point in the clearance area between soil and top edge of the pot which otherwise would have led to a collision of gripper with the pot edge. However, this is not an issue if one needs to adapt this technique for field application, since there is always enough vertical distance between the bottom leaf and soil surface for the movement of the robot. Ground-truth (manual) measurements of stem diameter were collected from each plant, subsequent to the robotic measurement, at the same grasping point using a digital caliper (Model: Brown & Sharpe 00590091, Hexagon Manufacturing Intelligence, North Kingstown, RI, USA).

3. Results and Discussion

Figure 9 shows the range of time taken for each step in the stem grasping and measuring process: stem detection using the trained CNN, image processing to determine the grasping point on the stem, inverse kinematics to calculate the joint angles of the robotic manipulator, stem grasping, and sensing process to measure stem diameter using LP sensor, as well as the range of total execution times for maize and sorghum.
Automated measurement took more time (total execution time of approx. 45 s) than manual measurement (less than 10 s). The physical stem grasping process, in which the robotic manipulator was actuated to grasp the stem and back to its initial position after taking the measurement, took the majority of the total time. The velocity of the robotic manipulator for the grasping process was reduced in order to avoid damage to the plant caused by an unintended hit of the robotic manipulator. The performance of the robotic system can be improved using an obstacle avoidance algorithm such as collision-free path planning or deep reinforcement learning. These techniques can find the optimal grasping path without hitting the plant and therefore the time for stem grasping process will be minimized. Moreover, the aforementioned consideration regarding plant-robot distance to have a secure movement of the robotic manipulator will not be required. The stem detection, determining grasping point on the stem, and sensing process took shorter times, illustrating the potential of the system for real-time stem detection and localization, as well as the stem diameter measurement.
The Faster R-CNN-based method and image processing techniques successfully detected and localized the stem (either vertical or tilted stem) and its grasping point for all plants in the experiment, and the robotic system successfully grasped each stem. Although in this research, deep learning technique was successful for stem detection using the images just contained plant without other objects, for other research the deep learning model could be trained even in the presence of other objects in the image such as pot.
The automated and manual measurements are highly linearly correlated (R2 = 0.98 for maize, and R2 = 0.99 for sorghum) (Figure 10). There was a modest bias toward bigger measurements reported by manual measurement than by automated measurement (−0.10, and −0.11 cm for maize, and sorghum). This negative bias is likely a calibration error that could be addressed by recalibrating the sensor. The relative errors to measure stem diameter were small (4.97% for maize, and 4.88% for sorghum). It can be concluded that the robotic system could accurately measure the stem diameter for all plants during the experiment. Apart from physical measurement, literature reports other vision-based methods of stem diameter estimation.
Choudhuri et al. [17] could estimate the stem diameter for sorghum plants with 92.5% and 98.2% compared to manual measurements using vision and vision+LIDAR methods. Our robotic system could measure the diameter with 95% for both maize and sorghum. Jin et al. [7] reported the diameter estimation with R2 of 0.62 using MNVG algorithm. In comparison, a R2 ≥ 0.98 for stem diameter measurement was observed in this study. The absolute error using deep learning in [4] and relative error using image processing in [15] was 2.77 mm and 13%, respectively. The results of the tested robotic system showed stem diameter measurement with absolute error about 1 mm and relative error less than 5%. Bao et al. [16] could not get satisfactory results regarding diameter estimation because of the low resolution of TOF camera. However, our robotic system could successfully detect the stem using deep learning and measure stem diameter with high accuracy.
In general, robotic system tested in this study outperformed other vision-based systems reported in literature except for one. However, our system was designed for indoor application with controlled environment. On the other hand, the aforementioned vision-based systems were used for outdoor application that require addressing several additional challenges. For example, it is difficult to identify occluded stem by leaves. In addition, the color and texture similarities between stem and leaf may cause issues for stem detection. Furthermore, the sunlight can have negative effect on the performance of stem detection algorithm.
Some characteristics of stem such as reflectance, sap flow, and lodging resistance cannot be measured using vision-based methods and the stem should physically be grasped by a robotic arm. The main purpose of designing such a robotic system was to grasp the stem and show its ability to integrate other contact-based sensors for different measurements. The stem diameter measurement was a case study to show this system is useful for this purpose.
The current system has two limitations that should be addressed to improve its design for future applications. First, for the plants with elliptical morphology of stem, it is possible for the robotic manipulator to grasp the stem from its minor diameter. A robotic arm with more degree of freedom can be used to accommodate more flexibility for dexterous grasping such that the stem diameter is always measured from its major axis. Second, since this work was presented as a stationary system, the plants were moved by a human and placed in front of the system. The robotic system can be integrated to an automated greenhouse where a conveyor belt brings the plants to the system for the measurements.
In the future, the same system could be equipped with different sensors to measure different phenotypes of plant stems. For example, a bifurcated fiber can be attached to the end-effector of the robotic manipulator and the spectral data of stem can be acquired. Then, the chemical properties of stem such as chlorophyll, water content, and nitrogen content can be predicted by analyzing the resulting spectral data [21,22]. Stem strength and sap flow are other plant attributes that can be measured by implementing contact-based sensors in the robotic system. A force sensor and a sap flow sensor can be installed to the gripper of the robotic arm and the lodging resistance of stem and fluid movement in the stem could be sensed. The robotic system also can be mounted on a ground-based vehicle and collect data in the field. However, several challenges should be expected in this regard. First, it is challenging to accurately navigate and control the mobile robot between plant rows. For this purpose, global positioning system (GPS) and proximity sensors can be implemented. Second, varying lighting condition and occluded stem by leaves can be problematic for stem detection. To address this issue, the deep learning model should be trained and calibrated using the plant images in the field to detect the stem of all plants in rows. Third, it might be a difficult task for the robotic manipulator to reach the stem because of obstructions from the adjacent plants. Therefore, an optimized and sophisticated obstacle avoidance algorithm should be used to grasp the stem.

4. Conclusions

In this study, a plant phenotyping robotic system was developed to automatically measure stem diameter of maize and sorghum in the greenhouse. The robotic system consisted of a four DOF robotic manipulator, a TOF camera as the vision system, a LP sensor to measure stem diameter, a custom-designed gripper to integrate the LP sensor to the robotic manipulator, and an Arduino Uno microcontroller to control the gripper. A deep learning algorithm (based on Faster R-CNN) was developed to detect the stem in the image. Image processing techniques were then applied to find the grasping point on the stem. An experiment was conducted in the greenhouse using maize and sorghum plants to compare the robotic and ground-truth (manual) measurements of stem diameter and evaluate the performance of the system. The results showed a high linear correlation with small relative error between the automated and manual measurements. The system could successfully detect, localize, and grasp the stem for all plants during the experiment. The times for stem detection (using the trained CNN) and sensing process (measure stem diameter using LP sensor) were very short which is important for real-time stem detection and localization, and also stem diameter measurement. In spite of the fact that this system was targeted for stem diameter measurements, it could be used as a prototype to integrate other sensors to measure other physiological and chemical attributes of the stem.

Supplementary Materials

The following is available online at https://www.mdpi.com/2218-6581/9/3/58/s1, Figure S1: Example of stem detection using conventional image processing (left) and deep learning (right).

Author Contributions

Conceptualization, Y.G. and S.P.; methodology, A.A. and Y.G.; software, A.A.; validation, A.A.; formal analysis, A.A., Y.G., S.P., and J.S.; investigation, A.A., Y.G., S.P., and J.S.; resources, Y.G.; data curation, A.A.; writing—original draft preparation, A.A.; writing—review and editing, Y.G., S.P., and J.S.; visualization, A.A.; supervision, Y.G., S.P., and J.S.; project administration, Y.G.; funding acquisition, Y.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by USDA-NIFA, grant number 2017-67007-25941 and National Science Foundation, grant number OIA-1557417.

Acknowledgments

The authors would like to thank Greenhouse staff Vincent Stoerger, Troy Pabst, and Nathan Duffy for their assistance in experiment design and plant caring, and graduate student CheeTown Liew for his assistance in Arduino programming.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Mueller-Sim, T.; Jenkins, M.; Abel, J.; Kantor, G. The Robotanist: A Ground-Based Agricultural Robot for High-Throughput Crop Phenotyping. In Proceedings of the 2017 IEEE International Conference on Robotics and Automation (ICRA), Las Vegas, NV, USA, 29 May–3 June 2017; pp. 3634–3639. [Google Scholar] [CrossRef]
  2. Schepers, J.S.; Holland, K.H.; Francis, D.D. Automated Measurement of Maize Stalk Diameter and Plant Spacing. Adv. Anim. Biosci. 2017, 8, 220–223. [Google Scholar] [CrossRef] [Green Version]
  3. Shi, Y. Corn Plant Location, Spacing and Stalk Diameter Measurement Using Optical Sensing Technologies; Oklahoma State University: Stillwater, OK, USA, 2014. [Google Scholar]
  4. Baweja, H.S.; Parhar, T.; Mirbod, O.; Nuske, S. StalkNet: A Deep Learning Pipeline for High-Throughput Measurement of Plant Stalk Count and Stalk Width BT–Field and Service Robotics; Hutter, M., Siegwart, R., Eds.; Springer International Publishing: Cham, Germany, 2018; pp. 271–284. [Google Scholar]
  5. Vázquez-Arellano, M.; Paraforos, D.S.; Reiser, D.; Garrido-Izard, M.; Griepentrog, H.W. Determination of Stem Position and Height of Reconstructed Maize Plants Using a Time-of-Flight Camera. Comput. Electron. Agric. 2018, 154, 276–288. [Google Scholar] [CrossRef]
  6. Chaivivatrakul, S.; Tang, L.; Dailey, M.N.; Nakarmi, A.D. Automatic Morphological Trait Characterization for Corn Plants via 3D Holographic Reconstruction. Comput. Electron. Agric. 2014, 109, 109–123. [Google Scholar] [CrossRef] [Green Version]
  7. Jin, S.; Su, Y.; Wu, F.; Pang, S.; Gao, S.; Hu, T.; Liu, J.; Guo, Q. Stem–Leaf Segmentation and Phenotypic Trait Extraction of Individual Maize Using Terrestrial LiDAR Data. IEEE Trans. Geosci. Remote Sens. 2019, 57, 1336–1346. [Google Scholar] [CrossRef]
  8. Das Choudhury, S.; Goswami, S.; Bashyam, S.; Samal, A.; Awada, T. Automated Stem Angle Determination for Temporal Plant Phenotyping Analysis. In Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy, 22–29 October 2017; pp. 2022–2029. [Google Scholar]
  9. Tsaftaris, S.A.; Minervini, M.; Scharr, H. Machine Learning for Plant Phenotyping Needs Image Processing. Trends Plant Sci. 2016, 21, 989–991. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  10. Andrade-Sanchez, P.; Gore, M.A.; Heun, J.T.; Thorp, K.R.; Carmo-Silva, A.E.; French, A.N.; Salvucci, M.E.; White, J.W. Development and Evaluation of a Field-Based High-Throughput Phenotyping Platform. Funct. Plant Biol. 2013, 41, 68–79. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  11. Lottes, P.; Hoeferlin, M.; Sander, S.; Müter, M.; Schulze, P.; Stachniss, L.C. An Effective Classification System for Separating Sugar Beets and Weeds for Precision Farming Applications. In Proceedings of the 2016 IEEE International Conference on Robotics and Automation (ICRA), Stockholm, Sweden, 16–21 May 2016; IEEE: Piscataway, NJ, USA, 2016; pp. 5157–5163. [Google Scholar]
  12. Vidoni, R.; Gallo, R.; Ristorto, G.; Carabin, G.; Mazzetto, F.; Scalera, L.; Gasparetto, A. ByeLab: An Agricultural Mobile Robot Prototype for Proximal Sensing and Precision Farming. In Proceedings of the ASME International Mechanical Engineering Congress and Exposition, Tampa, FL, USA, 3–9 November 2017; American Society of Mechanical Engineers: New York, NY, USA, 2017; Volume 58370, p. V04AT05A057. [Google Scholar]
  13. Yuan, H.; Wang, N.; Bennett, R.; Burditt, D.; Cannon, A.; Chamberlin, K. Development of a Ground-Based Peanut Canopy Phenotyping System. IFAC Papers Online 2018, 51, 162–165. [Google Scholar] [CrossRef]
  14. Xu, R.; Li, C.; Mohammadpour Velni, J. Development of an Autonomous Ground Robot for Field High Throughput Phenotyping. IFAC Papers Online 2018, 51, 70–74. [Google Scholar] [CrossRef]
  15. Young, S.N.; Kayacan, E.; Peschel, J.M. Design and Field Evaluation of a Ground Robot for High-Throughput Phenotyping of Energy Sorghum. Precis. Agric. 2019, 20, 697–722. [Google Scholar] [CrossRef] [Green Version]
  16. Bao, Y.; Tang, L.; Srinivasan, S.; Schnable, P.S. Field-Based Architectural Traits Characterisation of Maize Plant Using Time-of-Flight 3D Imaging. Biosyst. Eng. 2019, 178, 86–101. [Google Scholar] [CrossRef]
  17. Choudhuri, A.; Chowdhary, G. Crop Stem Width Estimation in Highly Cluttered Field Environment. In Proceedings of the Computer Vision Problems in Plant Phenotyping (CVPPP 2018), Newcastle, UK, 6 September 2018; pp. 6–13. [Google Scholar]
  18. Ahlin, K.; Joffe, B.; Hu, A.-P.; McMurray, G.; Sadegh, N. Autonomous Leaf Picking Using Deep Learning and Visual-Servoing. IFAC Papers Online 2016, 49, 177–183. [Google Scholar] [CrossRef]
  19. Lu, H.; Tang, L.; Whitham, A.S.; Mei, Y.A. Robotic Platform for Corn Seedling Morphological Traits Characterization. Sensors 2017, 17, 2082. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  20. Atefi, A.; Ge, Y.; Pitla, S.; Schnable, J. In Vivo Human-like Robotic Phenotyping of Leaf Traits in Maize and Sorghum in Greenhouse. Comput. Electron. Agric. 2019, 163, 104–854. [Google Scholar] [CrossRef]
  21. Pandey, P.; Ge, Y.; Stoerger, V.; Schnable, J.C. High Throughput In Vivo Analysis of Plant Leaf Chemical Properties Using Hyperspectral Imaging. Front. Plant. Sci. 2017, 8, 1348. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  22. Ge, Y.; Atefi, A.; Zhang, H.; Miao, C.; Ramamurthy, R.K.; Sigmon, B.; Yang, J.; Schnable, J.C. High-Throughput Analysis of Leaf Physiological and Chemical Traits with VIS–NIR–SWIR Spectroscopy: A Case Study with a Maize Diversity Panel. Plant. Methods 2019, 15, 66. [Google Scholar] [CrossRef] [PubMed] [Green Version]
Figure 1. Gripper, linear potentiometer (LP) sensor, and DC motor were integrated onto the robotic manipulator.
Figure 1. Gripper, linear potentiometer (LP) sensor, and DC motor were integrated onto the robotic manipulator.
Robotics 09 00058 g001
Figure 2. The robotic system with individual components labelled.
Figure 2. The robotic system with individual components labelled.
Robotics 09 00058 g002
Figure 3. The images before and after using the augmentation.(a) Original image; (b) Blurred image; (c) Sharpened image; (d) Darkened image; (e) Brightened image.
Figure 3. The images before and after using the augmentation.(a) Original image; (b) Blurred image; (c) Sharpened image; (d) Darkened image; (e) Brightened image.
Robotics 09 00058 g003
Figure 4. The architecture of Faster R-CNN model.
Figure 4. The architecture of Faster R-CNN model.
Robotics 09 00058 g004
Figure 5. Several bounding boxes were found as stem region candidates after applying the detector (left), and the bounding box with the highest confidence-score was detected as stem region (right).
Figure 5. Several bounding boxes were found as stem region candidates after applying the detector (left), and the bounding box with the highest confidence-score was detected as stem region (right).
Robotics 09 00058 g005
Figure 6. Determination of the grasping point on the stem. (a) Plant segmentation from the background (grey-scale image). (b) Binary image of the plant. (c) Deep learning stem detection (determine stem vertical edges). (d) Find the horizontal line that is used to find stem grasping area. (e) Stem grasping area. (f) Stem grasping point.
Figure 6. Determination of the grasping point on the stem. (a) Plant segmentation from the background (grey-scale image). (b) Binary image of the plant. (c) Deep learning stem detection (determine stem vertical edges). (d) Find the horizontal line that is used to find stem grasping area. (e) Stem grasping area. (f) Stem grasping point.
Robotics 09 00058 g006
Figure 7. Position of time-of-flight (TOF) camera coordinate system (XC, YC, ZC) and robotic manipulator coordinate system (XR, YR, ZR).
Figure 7. Position of time-of-flight (TOF) camera coordinate system (XC, YC, ZC) and robotic manipulator coordinate system (XR, YR, ZR).
Robotics 09 00058 g007
Figure 8. The architecture diagram of the robotic system consisted of data processing and robotic manipulator control.
Figure 8. The architecture diagram of the robotic system consisted of data processing and robotic manipulator control.
Robotics 09 00058 g008
Figure 9. Time taken for different steps of the automated stem measurement for maize, and sorghum. Distribution of times taken for maize is based on 48 total measurements and 48 total measurements for sorghum.
Figure 9. Time taken for different steps of the automated stem measurement for maize, and sorghum. Distribution of times taken for maize is based on 48 total measurements and 48 total measurements for sorghum.
Robotics 09 00058 g009
Figure 10. Correlation and regression lines (red dashed lines) between manually and automatically measured stem diameters for maize (left), and sorghum (right).
Figure 10. Correlation and regression lines (red dashed lines) between manually and automatically measured stem diameters for maize (left), and sorghum (right).
Robotics 09 00058 g010

Share and Cite

MDPI and ACS Style

Atefi, A.; Ge, Y.; Pitla, S.; Schnable, J. Robotic Detection and Grasp of Maize and Sorghum: Stem Measurement with Contact. Robotics 2020, 9, 58. https://doi.org/10.3390/robotics9030058

AMA Style

Atefi A, Ge Y, Pitla S, Schnable J. Robotic Detection and Grasp of Maize and Sorghum: Stem Measurement with Contact. Robotics. 2020; 9(3):58. https://doi.org/10.3390/robotics9030058

Chicago/Turabian Style

Atefi, Abbas, Yufeng Ge, Santosh Pitla, and James Schnable. 2020. "Robotic Detection and Grasp of Maize and Sorghum: Stem Measurement with Contact" Robotics 9, no. 3: 58. https://doi.org/10.3390/robotics9030058

APA Style

Atefi, A., Ge, Y., Pitla, S., & Schnable, J. (2020). Robotic Detection and Grasp of Maize and Sorghum: Stem Measurement with Contact. Robotics, 9(3), 58. https://doi.org/10.3390/robotics9030058

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop