Next Article in Journal
Enhanced Farmland Extraction from Gaofen-2: Multi-Scale Segmentation, SVM Integration, and Multi-Temporal Analysis
Previous Article in Journal
Integrating Proximal Gamma Ray and Cosmic Ray Neutron Sensors to Assess Soil Moisture Dynamics in an Agricultural Field in Spain
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Intelligent Detection and Automatic Removal Robot for Skinned Garlic Cloves

1
School of Mechanical Engineering, Yangzhou University, Yangzhou 225000, China
2
Jiangsu Engineering Center for Modern Agricultural Machinery and Agronomy Technology, Yangzhou 225000, China
3
Shandong Maria Machinery Co., Ltd., Jinxiang 272299, China
*
Author to whom correspondence should be addressed.
Agriculture 2025, 15(10), 1076; https://doi.org/10.3390/agriculture15101076
Submission received: 17 April 2025 / Revised: 12 May 2025 / Accepted: 15 May 2025 / Published: 16 May 2025
(This article belongs to the Section Agricultural Technology)

Abstract

:
After undergoing peeling-machine operations, skinned garlic cloves affect subsequent processing, and their manual removal is harmful to health. In this paper, an intelligent garlic-clove-removal test bench was designed, which mainly included a hopper, lifter, vibration conveyor, conveyor belt, visual system, removal robot, control cabinet, frame, etc. A technical method based on machine vision technology to distinguish whether or not garlic cloves had a skin was explored to ensure that the test bench could complete the recognition of the skinned garlic cloves, and to check that the test bench could also complete the removal of skinned garlic cloves. Tests were carried out to check the success rate of machine vision and the removal robot, and to optimize the parameters of the test bench. The results showed that the average success rate of machine vision was 99.15%, and the average success rate of the removal robot was 99.13%. The results also showed that the order of the three factors influence index was the conveying speed, the conveying volume, and the removal period. The regression analysis showed that when the conveying speed was 0.1 m·s−1, the grasping period was 1.725 s, the conveying volume was 104.4 kg·h−1, the qualified rate of the finished product was 97.15%, and the verification test result was 97.02%, which had no significant difference from the analysis result. The research results of this paper are conducive to the development of intelligent detection technology of garlic cloves, and to the development of garlic-planting technology and deep processing technology.

1. Introduction

Garlic (Allium sativum L.) is widely used around the world as an ingredient [1], seasoning [2,3], and medicine [4,5]. Studies have shown that garlic has antibacterial, anti-inflammatory, and virucidal properties [6], and consuming garlic can also reduce the risk of diseases such as diabetes [7]. The total cultivation area of garlic exceeds 1.6 million hectares, with an annual output of over 30 million tons. China is the world’s largest garlic producer [8,9], accounting for more than 50% of the global cultivation area and approximately 80% of global production.
Peeled garlic cloves are ready-to-eat fresh garlic products, which can be consumed fresh or used for further processing [10,11], and demand for them has gradually increased in recent years [12]. However, garlic-peeling machines often fail to remove the skin completely during the peeling process, affecting the overall quality of the cloves. Currently, the removal of skinned garlic cloves is carried out manually, which is not only time-consuming and labor-intensive, but also has more missed detection and error detection, and it is difficult to monitor and affect their subsequent use. Furthermore, the volatile substances of garlic in the working environment can cause damage to the mucous membranes of the eyes, nose, and mouth in the process of manual work. There is therefore an urgent need to develop machinery that can automatically remove skinned garlic cloves.
With the rapid development of hardware and algorithms, visual inspection technology has gradually become the preferred technology in industrial agriculture. China has a huge agricultural market, and the use of machine vision technology to screen for defects in agricultural products has great advantages, and has produced rich application results in agricultural production [13]. Y. Guo [14] studied and used image processing technology to identify the direction of garlic cloves. Firstly, the characteristics of garlic cloves were extracted, and the USAN value and curve curvature were compared and analyzed. Finally, the curve curvature was used to extract the characteristics, and the angle of the garlic clove tip relative to the centroid can be calculated. Elena Guzmán [15] developed a systematic classification of olives based on infrared vision. This used segmentation, edge detection, and pixel value screening algorithms to process the collected olive images, and created a pixel classification program based on health and defect areas to intelligently detect olives. This method can automatically evaluate defective fruit. Machine vision technology also can simulate the human visual system to understand and recognize images [16] and has been applied in the identification and harvesting of agricultural materials such as tomatoes [17,18] and onions [19,20,21], gradually maturing in development. However, algorithms dealing with the segmentation and recognition of fruits in the natural environment are very complex because of color nonuniformity, different illumination, shadows on the surface, oscillation, overlapping and occlusion, etc. This increases the performance requirements of computer hardware equipment and requires more computing resources. However, the operation of the removal of skinned garlic cloves is carried out in an indoor environment with fewer influencing factors, and only low-performance computer hardware equipment and a small amount of computing resources are required. There has been no research on the removal of skinned garlic cloves based on machine vision after the operation of garlic-peeling machines. The manual sorting of skinned garlic cloves has hindered the development of the domestic fresh garlic and deep processing industries. Based on this, this paper documents research on the removal of skinned garlic cloves to match the operation of garlic-peeling machines. It describes an intelligent test bench for the removal of skinned garlic cloves using mechatronics, vision technology, and robot control technology, related experiments that were carried out, the optimization of the parameters of the test bench, and improvements in the removal rate of skinned garlic cloves.

2. Materials and Methods

2.1. Overall Design of Intelligent Garlic-Removal Test Bench

2.1.1. Overall Structure and Working Principle

In this paper, an intelligent garlic-clove-removal test bench was designed which could be used to remove skinned garlic cloves after peeling-machine operation. The structure diagram is shown in Figure 1. The test bench mainly included a hopper, lifter, vibration conveyor, vibration motor and controller, conveyor belt, visual system, removal robot, control system, case, alarm light, and frame.
The working process was as follows. All garlic cloves entered the hopper after the operation of the garlic peeling machine. Under the action of the lifter and the vibration conveyor, the garlic cloves were evenly and non-overlappingly distributed on the conveyor belt, and then the cloves moved at a uniform speed on the conveyor belt. After passing through the visual system, the garlic cloves that were not completely peeled would be identified, and their position information would be passed to the control system. Finally, the removal robot grabbed the target garlic cloves according to the position information and motion information of the target garlic cloves provided by the control system, and removed them.
The visual system was mainly composed of a CCD camera (SHL-300W, Shenzhen Shunhuali Electronics Co., Ltd., Shenzhen, China), an LED strip light source, and a dark box. It could collect images of garlic cloves on the conveyor belt in real time. The shooting speed was 10 fps, the CCD camera resolution was 2048 pixels × 1536 pixels, and the frame rate was 30 fps. The camera was vertically fixed at the center of the top of the black box, and the lens was 35 cm away from the conveyor belt plane. Two LED controllable light sources were fixed on the side of the dark box.

2.1.2. Visual System and Control System

The control system adopted a Lenovo Tianyi 510S split computer (Lenovo Group, Tianjin, China) with an Intel Core i5-12400 CPU model (Intel Corporation, Santa Clara, CA, USA), an 8 GB (DDR4, 3200 MHz) RAM model (Samsung Electronics Co., Ltd., Seoul, Republic of Korea), and a Lenovo motherboard model (Lenovo Group, Tianjin, China) plus an Intel B660 chipset (Intel Corporation, Santa Clara, CA, USA). The computer had the test bench control software installed and so on. The workflow of the control system is shown in Figure 2.
Image processing mainly included gray processing, binarization processing, and identifying centroid and contour [22], as shown in Figure 3. Each pixel of the image taken by the CCD camera was determined by the R, G, and B components, and each component could take 255 values. In this paper, the gray processing method of the weighted average method was used to assign different weights to the three components and calculate the weighted results. The following formula was obtained [23].
G r a y = 0.299 R + 0.587 G + 0.114 B
In this formula, Gray was the weighted result. The original image is shown in Figure 3a, and after gray processing it is shown in Figure 3b.
Then, the brightness of the grayscale image was fine-tuned, and then binarized [24]. The processed image is shown in Figure 3c.
The centroid was identified according to the binary image information, as shown in Figure 3d. After marking the centroid, the inclination angle of each garlic clove was calculated. According to the order from left to right, the inclination angles of each garlic clove were 42.98°, 42.82°, −0.48°, −63.87°, 8.79°, −33.88°, −7.89°, −5.65°, −55.70°, and 88.31°.
Then, according to the centroid and inclination of the garlic clove, rotation of the image was carried out to return the inclination to zero, and the two endpoints of the garlic clove were obtained. As shown in Formula 1, firstly, by using the Moore-Neighbor Tracing Algorithm modified by Jacobi's Termination Criterion, the coordinates of the garlic boundary points were extracted from the left endpoint along the clockwise direction to the end of the right endpoint, forming the original upper boundary point set P1. Then, the coordinates of the garlic boundary points were extracted from the right endpoint along the clockwise direction to the end of the left endpoint, forming the original lower boundary point set P2. Count the number of points in P1 and P2, denoted by i and j, respectively. When i > j, the boundary points with larger y value in point P1 were eliminated, so that i = j. When i < j, the boundary points with smaller y value in point P2 were eliminated, so that i = j. Reorder P1 and P2 according to the abscissa from small to large, and calculate the difference of y value between each point in P1 and the corresponding point in P2 in turn to obtain point set P3. The formula was obtained. The points of 15 ≤ yk ≤ 35 in the statistical point set P3 were recorded as P4 due to the tip values of all garlic skins were in this range by data. When the number of points in P4 were more than 40, the garlic clove would be recognized as skinned garlic clove and marked with a red box. Otherwise, the garlic clove would be recognized as garlic clove without skin and marked with green box, as shown in Figure 3e.
P 1 = x 1 , y U 1 , x 2 , y U 2 , , x i , y U i P 2 = x 1 , y L 1 , x 2 , y L 2 , , x j , y L j P 3 = x 1 , y 1 , x 2 , y 3 , , x k , y k ; y k = y U i y L j , i = j P 4 = x 1 , y 1 , x 2 , y 3 , , x k , y k ; 15 y k 35
Taking No.7 garlic clove as an example, the contour boundary processing result is shown in Figure 4.
The whole algorithm is shown in Figure 5.

2.1.3. Removal Robot

The removal robot (Figure 6) was mainly composed of a motor, mechanical arm, pneumatic gripper, and frame. The specification of the frame was D3W-800-P3, which was previously purchased in Chenxing (Tianjin) Automation Equipment Co., Ltd. (Tianjin, China). The pneumatic gripper had four degrees of freedom, which were X, Y, and Z directions and Z-axis rotation. The EtherCAT protocol was used between the controller and the driver, so that the control system sent instructions to the motor during operation. The motor controlled the action of the mechanical arm, and adjusted the spatial movement and opening direction of the pneumatic gripper. The pneumatic gripper realized the clamping and loosening action under the control of the air compressor and the electromagnetic valve.
As shown in Figure 3, the claw arm of the pneumatic gripper had four tooth-shaped airbags, and under the action of air pressure the tooth-shaped airbag and the side wall of the gripper deformed due to different stress areas. When the pressure was positive, the gripper showed a curved shape of inward deformation to realize the clamping action.
According to the research of reference [25] and experimental verification, the relationship between the elastic deformation T and the holding force FJ was roughly satisfied.
F j = 1 + 0.2 T
In this formula, Fj was the holding force, N, and T was the elastic deformation, mm.
The elastic deformation T could be roughly obtained by the distance Wg and the distance W.
T = W g W 2
In this formula, T was the elastic deformation, mm; Wg was the bottom distance of claw arm of the pneumatic gripper, mm; and W was the top distance of claw arm of the pneumatic gripper, mm.
The weight of the garlic cloves was generally 2~8 g, and the gravity was about 0.02~0.08 N. The relationship between the holding force of the claw arm and the elastic deformation and air pressure is shown in Figure 7. In general, when the air pressure of the claw was more than 40 kPa, the holding force of the claw arm exceeded 1 N, and under such conditions the garlic cloves could be stably grasped and moved.
The process of removing skinned garlic cloves was as follows. The pneumatic gripper moved down from the initial position A and adjusted the opening orientation during the movement according to the information of the center of shape, inclination angle, and grasping time of the skinned garlic clove provided by the control system. After the target garlic clove was clipped, it was vertically moved up to the specified height, and then the moving direction was changed, horizontally moved to the position B directly above the placement point, and then the moving direction was changed to move down and release the garlic clove. Finally, the pneumatic gripper returned to the initial position A through position B, and adjusted the opening direction to the initial position. The whole removal operation of the skinned garlic clove could be recorded as a removal cycle. The schematic diagram of the removal cycle of the pneumatic gripper is shown in Figure 8 and the actuation strategy and control logic of the robotic arm is shown in Figure 9.

2.2. Test Materials and Methods

On 25 July 2024, researchers collected 50 kg of garlic clove samples after peeling-machine operations from some food factories in Jinxiang County, Shandong Province, China. The rate of skinned garlic cloves was about 5.6% in total. All skinned garlic cloves were collected by hand picking at first, and divided into 5 groups on average, in order to carry out tests of the success rates of machine vision and the removal robot.
In the test of the regression orthogonal, the Box–Behnken test method was used. Conveying speed, removal period, and conveying volume were taken as influencing factors. Each factor was set at three levels, coded as −1, 0, and 1, and the Box–Behnken test scheme is shown in Table 1. There were 17 groups with 5 replicates in each group. All garlic clove samples were fully mixed and divided into 5 groups on average. The test was carried out on 26–27 July in Jinan City, Shandong Province, China.
The intelligent garlic-removal test bench (self-made) was used to carry out the test, as shown in Figure 10.

2.2.1. Test of Success Rate of Machine Vision and Removal Robot

The success rate of machine vision and the removal robot can be obtained as follows.
y 1 = S 1 S 1 × 100 %
y 2 = S 2 S 2 × 100 %
In this formula, y1 was the success rate of machine vision, %; S 1 was the number of skinned garlic cloves recognized by machine vision; S1 was the total number of skinned garlic cloves in each group; y2 was the success rate of the removal robot, %; S 2 was the number of skinned garlic cloves garbed by the removal robot; and S2 was the total number of skinned garlic cloves which had been recognized in each group.

2.2.2. Test of Intelligent Garlic-Removal Test Bench

The removal rate of skinned garlic cloves in each group was selected as the test index. The following formula was obtained.
y = M d M × 100 %
In this formula, y was the removal rate of skinned garlic cloves, %; Md was the total weight of skinned garlic cloves removed in each group, g; and M was the total weight of garlic cloves in each group, g.

3. Results and Discussion

3.1. Results of Success Rate and Error Rate of Machine Vision and Removal Robot

A large number of pre-test results showed that when the conveying speed was less than 0.3 m·s−1, the removal period was more than 1 s, and the conveying volume was less than 160 kg·h−1, the test bench could achieve a stable working state. When the pressure of the pneumatic gripper was between 40 kPa and 120 kPa, factors such as the pressure of the air, the size and shape of the garlic clove, and the weight of the garlic clove had little effect on the index, but the three factors of the conveying speed, the removal period, and the conveying volume had a greater impact on the index. Therefore, in the test of the success rate of machine vision and the removal robot, the conveying speed was 0.2 m·s−1, the removal period was 1.5 s, and the conveying volume was 120 kg·h−1. The results of the success rate of machine vision and the removal robot are shown in Table 2 and the results of error rate are shown in Table 3.
The results showed that the average success rate of machine vision was 99.15%, the average success rate of the removal robot was 99.13%, the average error rate of machine vision was 0.39%, and the average error rate of the removal robot was 0.16%.

3.2. Results of Regression Orthogonal Test

The results of regression orthogonal test are shown in Table 4.
The variance analysis of the response surface quadratic model is shown in Table 5. Data showed that the regression model test of the removal rate (y) was extremely significant, and the lack of fit was not significant, which indicated that the test data were reliable. The regression terms X1, X2, an X 3 2 of the model had extremely significant effects on the removal rate. The order of importance of each test factor on the removal rate (y) was conveying speed (X1), conveying volume (X3), and removal period (X2).
For a conveying volume of 120 kg·h−1, the relationship between the removal rate (y), conveying speed (X1), and removal period (X2) is shown in Figure 11a. For a removal period of 1.5 s, the relationship between removal rate (y), conveying speed (X1), and conveying volume (X3) is shown in Figure 11b. For a conveying speed of 0.2 m·s−1, the relationship between removal rate (y), removal period (X2), and conveying volume (X3) is shown in Figure 11c.
Figure 11 shows that with the increase of conveying speed the removal rate increased, and with the increase of removal period and conveying volume the removal rate increased first and then decreased.
The quadratic regression equation between the removal rate (y) and all factors was as follows.
y = 94.34 + 2.12 X 1 + 0.4 X 2 1.6 X 3 + 0.36 X 1 X 2 0.31 X 1 X 3 + 0.55 X 2 X 3 + 0.14 X 1 2 0.61 X 2 2 2.13 X 3 2
Excluding the insignificant items in the analysis of variance, the quadratic regression equation between the removal rate (y) and all factors was as follows.
y = 94.13 + 2.12 X 1 1.6 X 3 2.16 X 3 2
Data from the response surface analysis indicated that the test data fit well. Taking the conveying speed, removal period, and conveying volume as independent variables, within the range of independent variables, the mathematical model formula was established with the removal rate as the target.
max y 0.1 m / s X 1 0.3 m / s 1 s X 2 2 s 80 kg / h X 3 160 kg / h
According to the Optimization module in Design Expert, the optimal parameter combination was a conveying speed of 0.1 m·s−1, a removal period of 1.725 s, and a conveying volume of 104.4 kg·h−1. The highest removal rate was 97.15%. The experimental verification was carried out under the conditions of this parameter combination, and the result was 97.02%, which had no significant different from the theoretical result, indicating that the model result was reliable.

3.3. Discussion

The results showed that the average success rate of machine vision was 99.15%, and the average success rate of the removal robot was 99.13%. The existing research is mainly focused on the tip orientation of garlic cloves. The author of reference [26] measures the upper and lower ends of the garlic binary image, respectively. This study calculates the width of each row and accumulates it to determine the direction of the garlic cloves. If the garlic tip is upward, the growth rate of the width from bottom to top will be greater than from bottom to top. Through experimental demonstration, the number of garlic cloves in the correct direction accounted for 97% of the total number of tests. Some studies used the algorithm of tip recognition based on the contour features of garlic cloves. These algorithms need to extract the contour of garlic clove image, and identify the position or orientation of the garlic tip according to the curvature, sharp angle, number of pixels, and other single or multiple features of garlic tip contour. Reference [27] proposes that the tip of the garlic clove exhibits the maximum curvature in the whole garlic image according to its morphological characteristics. Robles [28] assumed that the minimum inner edge angle coincides with the apex of the bud tip. By calculating the minimum inner edge angle to locate the apex of the bud tip, the influence of the position and size of the apex on the correct recognition of the apex was evaluated. The boundary detection methods of Canny, Roberts, and Sobel were compared. The recognition rates of the three boundary detection methods were 91.25%, 77.5%, and 81.25%, respectively. Reference [29] proposed a multi-feature algorithm to effectively identify the clove direction in images. The algorithm circles the minimum circumscribed rectangle on the binary image of the garlic, subtracts the binary image obtained by the opening operation from the original binary image to obtain the head area of the garlic clove, and takes the equal length area at both ends of the garlic and the contour image of the garlic. The three features of the edge length are extracted at the same height as the long axis of the contour image of the garlic, and the three features are fused according to the experiment to obtain the comprehensive features to determine the direction of the garlic clove. Experimental results showed that the adjustment rates of ‘Jinxiang’ and ‘Cangshan’ garlic were 94.6% and 97.5%, respectively. Compared with this technology, the automatic detection algorithm used in this paper is simpler and the recognition success rate is higher.
In practical applications, garlic cloves with skin or with mildew defects would be removed during manual operations. The visual system in this paper can only identify whether the garlic cloves are skinned, while Xiaopeng Li [30] only studied the appearance defects of garlic cloves. The algorithm used in this manuscript has a higher accuracy and better effects under certain conditions, which reflects its innovation and advancement.

4. Conclusions

(1) In order to solve the problems of low production efficiency and high labor costs in removing skinned garlic cloves after peeling-machine operations, this paper designed an intelligent garlic-clove-removal test bench. A technical method based on machine vision technology to distinguish whether garlic cloves had skin was explored to ensure that the test bench could complete the identification of the skinned garlic cloves. Compared with reference [26], the tests in this paper verified the working principle of a garlic-clove-removal test bench based on machine vision technology, which could improve the qualified rate of garlic cloves after the peeling operation and provide a reference for the optimization of garlic-clove-peeling machines.
(2) The regression orthogonal test was carried out by taking the conveying speed, the removal period, and the conveying volume as the factors and the removal rate of the skinned garlic cloves as the index. The results showed that the order of the three factors was the conveying speed, the conveying volume, and the removal period. When the conveying speed was 0.1 m·s−1, the grasping period was 1.725 s, and the conveying volume was 104.4 kg·h−1, the qualified rate of the finished product was 97.15%, and the verification test result was 97.02%, which had no significant difference from the analysis result.
(3) There are many varieties of garlic in Jinxiang County, Shandong Province, China, but the differences in the size and shape of garlic cloves were small. The garlic cloves taken in the tests were very representative in China, and more than 70% of garlic in China is of this kind of size and shape. The threshold values of the recognition algorithm applied in the manuscript can be adjusted. For other varieties of garlic, we can first observe a threshold range such as “yk” and “number of points in P4”, then adjust it to meet the recognition.
(4) In further studies, the visual system using edge extraction should not only judge whether the garlic cloves are skinned, but also judge whether the garlic cloves are mildewed. It is necessary to optimize and improve the removal robot by designing a multi-gripper mechanism to improve the success rate of clamping.

Author Contributions

Conceptualization, Z.Z. and Y.X.; methodology, Y.X. and L.X. (Li Xin); software, X.C. and L.X. (Lei Xin); formal analysis, Z.Z. and S.L.; investigation, L.X. (Li Xin) and S.L.; writing, Z.Z. and Y.X.; review and editing, X.C. and L.X. (Lei Xin); visualization, X.C. and L.X. (Lei Xin); funding acquisition, Z.Z. and L.X. (Li Xin). All authors have read and agreed to the published version of the manuscript.

Funding

National Natural Science Foundation of China (NSFC) (52005309). Jiangsu Postdoctoral Research Funding Program (2021K134B). Key R & D plan of Shandong Province (2024TZXD072, 2024TSGC0624 and 2024BTJH012). Technology Innovation Guidance Plan of Shandong Province (YDZX2024032).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to privacy.

Conflicts of Interest

Authors Li Xin, Lei Xin and Shuqian Li were employed by the company Shandong Maria Machinery Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Tao, Y.; Zhang, J.; Jiang, S.; Xu, Y.; Show, P.-L.; Han, Y.; Ye, X.; Ye, M. Contacting ultrasound enhanced hot-air convective drying of garlic slices: Mass transfer modeling and quality evaluation. J. Food Eng. 2018, 235, 79–88. [Google Scholar] [CrossRef]
  2. Thomas, A.; Boobyer, C.; Borgonha, Z.; van den Heuvel, E.; Appleton, K.M. Adding Flavours: Use of and Attitudes towards Sauces and Seasonings in a Sample of Community-Dwelling UK Older Adults. Foods 2021, 10, 2828. [Google Scholar] [CrossRef]
  3. Netzel, M.E. Garlic: Much More Than a Common Spice. Foods 2020, 9, 1544. [Google Scholar] [CrossRef]
  4. Furdak, P.; Pieńkowska, N.; Bartosz, G.; Sadowska-Bartosz, I. Extracts of Common Vegetables Inhibit the Growth of Ovary Cancer Cells. Foods 2022, 11, 2518. [Google Scholar] [CrossRef] [PubMed]
  5. Recinella, L.; Gorica, E.; Chiavaroli, A.; Fraschetti, C.; Filippi, A.; Cesa, S.; Cairone, F.; Martelli, A.; Calderone, V.; Veschi, S.; et al. Anti-Inflammatory and Antioxidant Effects Induced by Allium sativum, L. Extracts on an Ex Vivo Experimental Model of Ulcerative Colitis. Foods 2022, 11, 3559. [Google Scholar] [CrossRef]
  6. Phan, A.D.T.; Netzel, G.; Chhim, P.; Netzel, M.E.; Sultanbawa, Y. Phytochemical Characteristics and Antimicrobial Activity of Australian Grown Garlic (Allium sativum L.) Cultivars. Foods 2019, 8, 358. [Google Scholar] [CrossRef]
  7. Wang, J.; Zhang, X.; Lan, H.; Wang, W. Effect of garlic supplement in the management of type 2 diabetes mellitus (T2DM): A meta-analysis of randomized controlled trials. Food Nutr. Res. 2017, 61, 1377571. [Google Scholar] [CrossRef] [PubMed]
  8. Cui, Z.; Liu, X.; Chen, Y.; Guan, C.; Yang, Y.; Xu, B. Status, problems and countermeasures of whole mechanized production of garlic in China. J. Chin. Agric. Mech. 2023, 44, 239–243, 250. [Google Scholar]
  9. Crop Queries of Production Volume of Data [EB/OL]. Available online: https://www.fao.org/faostat/en/#data (accessed on 10 February 2024).
  10. Wang, J.; Li, Y.; Yang, X.; Wu, H.; Zhao, J.; Shen, Q. Research on the Processing Technology of Honeyed Garlic. China Condiment 2019, 44, 130–135. [Google Scholar]
  11. Hao, Q.; Gong, M.; Lu, X. Research Progress of Garlic Drying Technology. China Condiment 2020, 45, 193–195. [Google Scholar]
  12. Qian, X. Analysis on the Diversity of Related Agricultural Products Processing Types and Market Demand with Garlic as an Example. China Condiment 2020, 45, 192–194. [Google Scholar]
  13. Zhou, H.; Du, Z.; Wu, Z.; Song, C.; Guo, N.; Lin, Y. Application progress of machine vision technology in the field of modern agricultural equipment. J. Chin. Agric. Mech. 2017, 38, 86–92. [Google Scholar] [CrossRef]
  14. Guo, Y. Research of the Recognition Method of Garlic Direction in Planting Machinery. Ph.D. Thesis, Northwest Agriculture and Forestry Technology University, Xianyang, China, 2011; pp. 6–36. [Google Scholar]
  15. Guzmán, E.; Baeten, V.; Pierna, J.A.F.; García-Mesa, J.A. Infrared machine vision system for the automatic detection of olive fruit quality. Talanta 2013, 116, 894–898. [Google Scholar] [CrossRef]
  16. Liu, H.; Chahl, S.J. A multispectral machine vision system for invertebrate detection on green leaves. Comput. Electron. Agric. 2018, 150, 279–288. [Google Scholar] [CrossRef]
  17. Cardellicchio, A.; Solimani, F.; Dimauro, G.; Petrozza, A.; Summerer, S.; Cellini, F.; Renò, V. Detection of tomato plant phenotyping traits using YOLOv5-based single stage detectors. Comput. Electron. Agric. 2023, 207, 107757. [Google Scholar] [CrossRef]
  18. Afonso, M.; Fonteijn, H.; Fiorentin, F.S.; Lensink, D.; Mooij, M.; Faber, N.; Polder, G.; Wehrens, R. Tomato Fruit Detection and Counting in Greenhouses Using Deep Learning. Front. Plant Sci. 2020, 11, 571299. [Google Scholar] [CrossRef] [PubMed]
  19. Navasardyan, S.; Ohanyan, M. The Family of Onion Convolutions for Image Inpainting. Int. J. Comput. Vis. 2022, 130, 3070–3099. [Google Scholar] [CrossRef]
  20. Malekabadi, A.J.; Khojastehpour, M.; Emadi, B.; Golzarian, M.R. Development of a machine vision system for determination of mechanical properties of onions. Comput. Electron. Agric. 2017, 141, 131–139. [Google Scholar] [CrossRef]
  21. Kim, W.S.; Lee, D.H.; Kim, Y.J. Machine vision-based automatic disease symptom detection of onion downy mildew. Comput. Electron. Agric. 2020, 168, 105099. [Google Scholar] [CrossRef]
  22. Zhao, P.; Wang, Z.; Ding, P.; Wu, P.; Zang, C. Location Identification of Parallel Robot Based on Machine Vision. Manuf. Technol. Mach. Tool 2021, 12, 15–20. [Google Scholar]
  23. Luo, C.; Di, Z.; Xiang, Y.; Zhao, N.; Zhou, J.; Zhu, Z. Design and Experiment of Garlic Seed Recognition Clamping Test-bed Based on Machine Vision. J. Agric. Mech. Res. 2024, 46, 72–81. [Google Scholar]
  24. Lei, D.; Zheng, X. Design of Mechanical and Electrical Control System for Combined Harvester of Full Feeding Corn. J. Agric. Mech. Res. 2024, 46, 118–121+126. [Google Scholar]
  25. Li, C.; Gu, X.; Ren, H. A Cable-Driven Flexible Robotic Grasper With Lego-Like Modular and Reconfigurable Joints. IEEE/ASME Trans. Mechatron. 2017, 22, 2757–2767. [Google Scholar] [CrossRef]
  26. Ficur, P. A garlic clove direction detection based on pixel counting. In Proceedings of the 2014 1st Student Computer Science Research Conference, Berlin, Germany, 5–6 November 2014. [Google Scholar]
  27. Lei, P.; Shijian, D.; Ronghua, L. Research on the identification of the roots of garlic base on pattern recognition. J. Agric. Mech. Res. 2010, 32, 51–54. [Google Scholar]
  28. Saldaña-Robles, N.; Serwatowski Hlawinska, R.J.; Aguilera Hernández, R.A.; Saldaña-Robles, A.; Martínez-Jaime, O.A.; Gutiérrez-Vaca, C. Localización del ápice del ajo mediante técnicas de análisis digital de imagen. Agrociencia 2016, 50, 215–225. [Google Scholar]
  29. Li, Y.; Wu, Y.; Li, T.; Niu, Z.; Hou, J. Design and experiment of adjustment device based on machine vision for garlic clove direction. Comput. Electron. Agric. 2020, 174, 105513. [Google Scholar] [CrossRef]
  30. Li, X. Automatic Screening System for Appearance Defects of Garlic Clove Based on Machine Vision. Ph.D. Thesis, Tianjin University of Science and Technology, Tianjin, China, 2023; pp. 7–24. [Google Scholar]
Figure 1. Structure diagram of intelligent garlic-removal test bench.
Figure 1. Structure diagram of intelligent garlic-removal test bench.
Agriculture 15 01076 g001
Figure 2. The workflow of the control system.
Figure 2. The workflow of the control system.
Agriculture 15 01076 g002
Figure 3. The main process of image processing.
Figure 3. The main process of image processing.
Agriculture 15 01076 g003
Figure 4. The contour boundary processing result of No.7 garlic clove.
Figure 4. The contour boundary processing result of No.7 garlic clove.
Agriculture 15 01076 g004
Figure 5. Whole algorithm for recognizing skinned garlic cloves.
Figure 5. Whole algorithm for recognizing skinned garlic cloves.
Agriculture 15 01076 g005
Figure 6. Structure diagram of removal robot.
Figure 6. Structure diagram of removal robot.
Agriculture 15 01076 g006
Figure 7. The schematic diagram of the pneumatic gripper and the relationship between the holding force of the claw arm and the elastic deformation and air pressure.
Figure 7. The schematic diagram of the pneumatic gripper and the relationship between the holding force of the claw arm and the elastic deformation and air pressure.
Agriculture 15 01076 g007
Figure 8. Schematic diagram of the removal cycle of the pneumatic gripper.
Figure 8. Schematic diagram of the removal cycle of the pneumatic gripper.
Agriculture 15 01076 g008
Figure 9. The actuation strategy and control logic of the robotic arm.
Figure 9. The actuation strategy and control logic of the robotic arm.
Agriculture 15 01076 g009
Figure 10. The intelligent garlic-removal test bench.
Figure 10. The intelligent garlic-removal test bench.
Agriculture 15 01076 g010
Figure 11. The influence of the interaction between the factors on the removal rate (y).
Figure 11. The influence of the interaction between the factors on the removal rate (y).
Agriculture 15 01076 g011
Table 1. Factors and levels of Box–Behnken design.
Table 1. Factors and levels of Box–Behnken design.
LevelConveying Speed
X1/(m·s−1)
Removal Period X2/(s)Conveying Volume
X3/(kg·h−1)
−10.3180
00.21.5120
10.12160
Table 2. Results of success rate of machine vision and removal robot.
Table 2. Results of success rate of machine vision and removal robot.
No.Success Rate of Machine VisionSuccess Rate of Removal Robot
Number of Skinned Garlic Cloves/Total Garlic Cloves in Each Group S1Number of Skinned Garlic Cloves Recognized by Machine Vision S 1 Success Rate of Machine Vision y1/(%)Number of Skinned Garlic Cloves/Total Garlic Cloves in Each Group S2Number of Skinned Garlic Cloves Recognized by Machine Vision S 2 Success Rate of Removal Robot
Y2/(%)
1182/323718199.45181/322317998.90
2195/348019398.97193/345219198.96
3201/360119999.00199/355019899.50
4175/311617499.43174/310417399.43
5180/322817898.89178/318117698.88
AVE//99.15//99.13
Table 3. Results of error rate of designed machine vision and removal robot.
Table 3. Results of error rate of designed machine vision and removal robot.
No.Number of Skinned Garlic Cloves/Number of Peeled Garlic ClovesError Rate of Machine VisionError Rate of Removal Robot
Skinned Garlic ClovesPeeled Garlic ClovesTotol Error Rate
(%)
Skinned Garlic ClovesPeeled Garlic ClovesTotol Error Rate
(%)
11952/20316/19520/20310.312/19521/20310.15
21792/18854/17921/18850.281/17920/18850.06
32001/19158/20011/19150.454/20011/19150.25
41985/21515/19852/21510.342/19852/21510.19
51980/220710/19801/22070.553/19800/22070.15
AVE 0.39 0.16
Table 4. Results of regression orthogonal test by Box–Behnken Design.
Table 4. Results of regression orthogonal test by Box–Behnken Design.
No.Conveying Speed
X1/(m·s−1)
Removal Period
X2/(s)
Conveying Volume X3/(kg·h−1)Removal Rate y/(%)
1−1.00−1.000.0092.49
21.00−1.000.0095.48
3−1.001.000.0091.55
41.001.000.0095.98
5−1.000.00−1.0090.94
61.000.00−1.0096.35
7−1.000.001.0088.98
81.000.001.0093.14
90.00−1.00−1.0093.14
100.001.00−1.0093.87
110.00−1.001.0088.24
120.001.001.0091.15
130.000.000.0094.15
140.000.000.0093.77
150.000.000.0094.42
160.000.000.0095.41
170.000.000.0093.96
Table 5. Variance analysis of the response surface quadratic model.
Table 5. Variance analysis of the response surface quadratic model.
SourceRemoval Rate y
Sum of SquaresSum of Mean SquaresFp
Model81.251979.02799712.47550.0015 **
X136.0825136.0825149.861290.0002 **
X21.281.281.7687920.2252
X320.4480120.4480128.256460.0011 **
X1X20.51840.51840.7163610.4253
X1X30.3906250.3906250.5397920.4864
X2X31.18811.18811.6417980.2409
X 1 2 0.08580.08580.1185650.7407
X 2 2 1.5654531.5654532.163250.1848
X 3 2 19.1431219.1431226.453270.0013 **
Residual5.0656050.723658
Lack of fit3.4089251.1363082.743580.1771
Pure error1.656680.41417
Total86.31758
Note: ** indicates extremely significant.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhu, Z.; Cao, X.; Xiao, Y.; Xin, L.; Xin, L.; Li, S. Intelligent Detection and Automatic Removal Robot for Skinned Garlic Cloves. Agriculture 2025, 15, 1076. https://doi.org/10.3390/agriculture15101076

AMA Style

Zhu Z, Cao X, Xiao Y, Xin L, Xin L, Li S. Intelligent Detection and Automatic Removal Robot for Skinned Garlic Cloves. Agriculture. 2025; 15(10):1076. https://doi.org/10.3390/agriculture15101076

Chicago/Turabian Style

Zhu, Zhengbo, Xin Cao, Yawen Xiao, Li Xin, Lei Xin, and Shuqian Li. 2025. "Intelligent Detection and Automatic Removal Robot for Skinned Garlic Cloves" Agriculture 15, no. 10: 1076. https://doi.org/10.3390/agriculture15101076

APA Style

Zhu, Z., Cao, X., Xiao, Y., Xin, L., Xin, L., & Li, S. (2025). Intelligent Detection and Automatic Removal Robot for Skinned Garlic Cloves. Agriculture, 15(10), 1076. https://doi.org/10.3390/agriculture15101076

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