Comparing an ant colony algorithm with a genetic algorithm for replugging tour planning of seedling transplanter

https://doi.org/10.1016/j.compag.2015.02.011Get rights and content

Highlights

  • Optimizing the replugging tour was used to improve the efficiency of transplanter.

  • An ACA algorithm and a GA were proposed for optimization of the replugging tour.

  • ACA algorithm was proved to be more efficient for optimizing the replugging tour.

Abstract

The important task of replugging bad or missing cells with healthy seedlings in greenhouses is carried out by automatic transplanters. Grippers of such transplanters spend a considerable amount of time shuttling between the source and target trays during replugging. Therefore, work efficiency of transplanters can be significantly improved by tour planning. In this study, performances of the ant colony algorithm (ACA), the genetic algorithm (GA), and the common sequence method (CSM) in replugging tour planning were compared. Two types of seedling trays, with 50 and 200 cells, were used. The ACA and the GA were found to have more advantages than the CSM in total tour lengths for one tray. Moreover, the ACA performed better than the GA when the numbers of empty cells and healthy seedlings in the target and source trays, respectively, increased. When a 20 × 10 tray was used, the average length of the ACA decreased by 6000.9 mm compared with that of the GA and by 13058.4 mm compared with that of the CSM after finishing 40 empty cells in one tray. The average run times of the GA and the ACA in MATLAB (R2012a) were 0.32 and 0.94 s, respectively. These results meet real-time operation requirements.

Introduction

Manual transplantation in greenhouses is labor-intensive and costly, so growers have become increasingly interested in using automatic seedling transplanters. In 1987, researchers at Rutgers University designed a robotic transplanter that could transplant seedling plugs from high-density trays to low-density trays (Ting et al., 1992). Since this development, various end effectors have been proposed (Ting et al., 1990, Kim et al., 1995, Simonton, 1991). Several research groups have used machine vision systems to monitor seedling transplantation (Ryu et al., 2001, Beam et al., 1991, Tai et al., 1994). Commercial transplanter systems have also been developed and applied in greenhouses (Tong et al., 2013). In recent years, the commercial value and advantages of automatic transplanters in greenhouses have attracted the attention of researchers in China. Researchers in different fields (including machine vision, mechanical engineering, and control engineering) have worked together to develop efficient automatic transplanters (Jiang et al., 2009). Replugging bad or missing cells with healthy seedlings can now be efficiently done by automatic transplanters in greenhouses, and they also conduct preprocessing for most transplanting work on farmlands. The path along which the gripper moves during this process is defined as the replugging tour. Researchers have made great efforts to improve the efficiency of this process by focusing on aspects such as gripper modification (Guanjun et al., 2009, Feng et al., 2013), and optimization of the control systems (Qiao et al., 2013). The gripper spends a significant amount of time shuttling between source tray (the tray providing healthy seedlings for replugging) and target tray (the tray that needs to be emptied and replugged) while replugging. The work efficiency could be improved without increasing the cost by using a shorter replugging tour. To achieve this goal, proper planning of the replugging tour is necessary. Replugging tour planning was first proposed by our research group in 2012. There are no other published studies that deal directly with this problem. It is a combinatorial optimization problem (COP) but different from the traveling salesman problem (TSP). In the TSP, each city must be visited once and just once. Different tours consist of the same cities and follow different arrangements of all cities. TSPs have been solved by using intelligence algorithms, such as branch and bound (Shakila et al., 2013), self-organizing neural network (Masutti, 2009), artificial immune system (Qi et al., 2008), artificial bee colony algorithm (Hu, 2009), simulated annealing (Lopez-Ibanez et al., 2013), genetic algorithm (GA) (Choi et al., 2003), and ant colony algorithm (ACA) (Tsai et al., 2003, Sarhadi and Ghoseiri, 2010, Bai et al., 2013). The GA and ACA are considered in this study to resolve the replugging tour problem because of their better performance as reported in previous studies.

The GA, which is based on the principle of survival of the fittest and natural selection (Booker et al., 1989), is a promising tool for solving COPs (Morimoto et al., 1997, Scheerlinck et al., 2010, Chen, 1997). In GAs, the search space of a problem is represented as a collection of individuals. These individuals are represented by character strings, which are referred to as chromosomes. Crossover and mutation of chromosomes are the basic operations of GAs. The purpose of using a GA is to identify the best individual in the search space. ACAs emulate the behavior of real ant colonies when they search for food from their nest to food sources. Ants can find the shortest route from the food source to their ant hills without using their sense of sight (Keskinturk et al., 2012). Updating the amount of pheromones in the routes that the artificial ants pass through at the end of their tours is the basic operation of ACAs. ACAs are effective optimization methods in many applications (Tang et al., 2013, Rada-Vilela et al., 2013, Mavrovouniotis and Yang, 2013, Ghafurian and Javadian, 2011, Liu et al., 2013, Gao et al., 2013).

The present study aims to plan the replugging tour for automatic transplanters in greenhouses. The specific objectives of this study are as follows: (1) to develop algorithms for planning the replugging tour of automatic transplanters in greenhouses, (2) to select optimal values of parameters used in the algorithms, and (3) to compare the relative performances of the algorithms.

Section snippets

Replugging operation

Fig. 1 shows the automatic transplanter in Zhejiang University Agricultural Robotic Laboratory. The transplanter mainly consists of a control unit, a machine vision unit, a replugging unit, and a conveying unit. It is expected to complete 25 empty cells within one minute. In the replugging unit, a mechanical arm attached with one gripper can be driven precisely by servo motors in a system comprising three linear degrees of freedom (X, Y, Z). Therefore, the gripper can grip and replug seedlings

Performance comparison in 10 × 5 trays

Fig. 3-a presents the replugging tour of the CSM for the trays in Fig. 2; here, the length is 3082.7 mm. Fig. 3-b presents the replugging tour of the GA; here, the length is 2922.5 mm. Fig. 9-a presents variations in the results of the GA with iterations. The blue curves indicate the average results of the population, and the red curves indicate the best results of the population. The average and best results show good convergence. Fig. 3-c presents a replugging tour of the ACA; here, the length

Conclusion

Both the GA and the ACA have obvious advantages over the CSM when used for replugging tour planning in production. However, the GA cannot work with one empty cell. Compared with the performance of the GA, the performance of the ACA meets real-time requirements but is more time-consuming. The average elapsed times for the GA and the ACA are 0.32 s and 0.94 s, respectively. All computations can be completed before the gripper completes all empty cells in the front tray. The standard deviation of

Acknowledgments

The authors gratefully acknowledge the financial support provided by the National Nature Science Foundation of China (51275475), the Ministry of Agriculture of China’s “Introduction of Advanced International Agricultural Science and Technology” Project (2011-G32), and the Research Fund for the Doctoral Program of Higher Education of China (20110101110086).

References (36)

  • T. Morimoto et al.

    Optimization of heat treatment for fruit during storage using neural networks and genetic algorithms

    Comput. Electron. Agric.

    (1997)
  • Juan Rada-Vilela et al.

    A comparative study of multi-objective ant colony optimization algorithms for the time and space assembly line balancing problem

    Appl. Soft Comput.

    (2013)
  • K.H. Ryu et al.

    Development of a robotic transplanter for bedding plants

    J. Agric. Eng. Res.

    (2001)
  • Karolien Scheerlinck et al.

    Subset selection from multi-experiment data sets with application to milk fatty acid profiles

    Comput. Electron. Agric.

    (2010)
  • Thomas Stutzle et al.

    MAX–MIN ant system

    Future Generation Comput. Syst.

    (2000)
  • Jiafu Tang et al.

    A Max–Min Ant System for the split delivery weighted vehicle routing problem

    Expert Syst. Appl.

    (2013)
  • Jun H. Tong et al.

    Machine vision techniques for the evaluation of seedling quality based on leaf area

    Biosyst. Eng.

    (2013)
  • Beam, S.M., Miles, G.E., Treece, G.J., Hammer, P.A., Kutz, L.J., Richey, C.B., 1991. Robotic transplanting: Simulation,...
  • Cited by (25)

    • Application of AI techniques and robotics in agriculture: A review

      2023, Artificial Intelligence in the Life Sciences
    • Porcine automation: Robotic abdomen cutting trajectory planning using machine vision techniques based on global optimization algorithm

      2017, Computers and Electronics in Agriculture
      Citation Excerpt :

      However, due to high variability of carcass size, harsh environments, and space constraints, automating processes on the meat cutting floor is very challenging. With the technical advance, meat product automation also evolves in adopting machine vision, robotics or computer technology and so on (He and et al., 2014; Miljkovic and et al., 2013; Zhan and Wang, 2012; Aviles-Vinas et al., 2016; Jiang and et al., 2015). The porcine automation includes slaughtering, unhairing, carcass cutting etc.

    • Optimizing the path of seedling low-density transplanting by using greedy genetic algorithm

      2017, Computers and Electronics in Agriculture
      Citation Excerpt :

      Many studies have obtained optimization results for the classical TSP by adopting artificial intelligence algorithms, such as a greedy algorithm (GRA) (Haim and Nira, 2005), ACA (Garcia-Martinez et al., 2007), GA (Tang and Liu, 2000), dynamic programming (Khalil and Mahdi, 2015), backtracking (Yannis et al., 2009), and branch-and-bound method (Christian and Dominique, 2008). Jiang et al. (2015) and Tong et al. (2013) verified that path planning effectively improves there plugging efficiency by optimizing GA. The total numbers of healthy seedlings in a high-density tray and the empty holes in a low-density tray are relatively larger for the low-density transplanting task than for the replugging task.

    • Cooperation and profit allocation in two-echelon logistics joint distribution network optimization

      2017, Applied Soft Computing Journal
      Citation Excerpt :

      GA is also a stochastic optimization algorithm used to mimic the natural selection process [40,41,5]. Combinational optimization problems can be solved by applying the combination of ACO and GA [22,23]. In the present study, we propose that the genetic operations from GA are integrated into the ACO algorithm procedure as an IACO algorithm.

    View all citing articles on Scopus
    View full text