Winter jujube detection and positioning and mechanical arm picking sequence planning method based on YOLO-MLG and YAGR methods

By using methods based on YOLO-MLG and YAGR, RGB images and depth cameras are combined to obtain three-dimensional coordinates, and clustering algorithms and genetic algorithms are used to plan the efficient picking sequence of winter jujubes. This solves the problem of recognition accuracy and planning when picking winter jujubes with robotic arms, and achieves An efficient, low-collision picking process is achieved.

CN118636150APending Publication Date: 2024-09-13ZHEJIANG FORESTRY UNIVERSITY
View PDF 0 Cites 7 Cited by

Patent Information

Application Number
CN202410902286.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-06
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

When the robotic arm picks winter jujubes, the identification accuracy of winter jujubes is not high, and there are branches and branches blocking the jujubes. Moreover, the number of winter jujubes is large and scattered, making it difficult to efficiently plan the picking sequence, resulting in easy collision with branches during the picking process.

Method used

Using methods based on YOLO-MLG and YAGR, the YOLOv8n model is reconstructed into a lightweight YOLO-MLG model, and RGB images and depth cameras are combined to obtain three-dimensional coordinates. Clustering algorithms and genetic algorithms are used for efficient picking sequence planning of winter dates.

Benefits of technology

It improves the detection accuracy and positioning accuracy of winter dates, reduces the number of collisions during the picking process, realizes efficient picking sequence planning, and improves the efficiency of robotic arm picking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118636150A
    Figure CN118636150A
Patent Text Reader

Abstract

The invention discloses a winter jujube detection, positioning and mechanical arm picking sequence planning method based on YOLO-MLG and YAGR methods. According to the method, a lightweight YOLO-MLG model is provided to detect winter jujubes, and a backbone network is reconstructed by using MobileVit, so that the weight of the model is reduced. And the detection precision of the model is improved by introducing LSKblock and GSConv. Then, a winter jujube three-dimensional positioning method based on a depth camera and YOLO-MLG is provided, and accurate 3d positioning of winter jujubes is realized. Finally, a YAGR method is provided, picking sequence planning is conducted on the winter jujubes with the obtained 3d position information, according to the method, automatic clustering is conducted on the winter jujubes through an improved aggregation hierarchical clustering algorithm, and then the picking sequence of the winter jujubes in clusters is determined through a genetic algorithm. The provided YOLO-MLG and YAGR methods can achieve accurate detection and positioning and efficient and low-collision picking sequence planning of the winter jujubes, and technical support can be provided for a winter jujube picking mechanical arm to achieve coherent picking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This patent relates to the technical field of jujube picking, and specifically to a method for winter jujube detection, positioning, and robotic arm picking sequence planning based on the YOLO-MLG and YAGR methods. Background Art

[0002] Winter jujube is a fresh fruit in China with good taste and rich nutrition. The traditional way of harvesting winter jujube mainly relies on manual picking, which is time-consuming, labor-intensive and has high labor costs. In recent years, with the increase in the area of ​​structured winter jujube orchards, picking winter jujube by robotic arms is a favorable development trend. The primary task of robotic arm picking is to use visual sensing to perceive and learn crop information, including target recognition and positioning, and planning picking strategies based on positioning information. However, there are also some difficulties in robotic arm picking of winter jujube. For example, the winter jujube is small and there are occlusions such as branches and leaves, which leads to low recognition accuracy of winter jujube. Winter jujube is usually single clustered or scattered, and the number is large, making it difficult to efficiently plan the picking order of winter jujube. It is easy to collide with branches during the picking process. Therefore, accurate detection and positioning of winter jujube and efficient planning of picking order are important aspects of robotic arm picking of winter jujube. Summary of the invention

[0003] The purpose of this patent is to solve several key challenges in the robotic arm picking of winter jujubes. By designing an efficient and lightweight target detection algorithm, the detection success rate of winter jujubes is improved, and real-time detection of winter jujubes is achieved. The three-dimensional coordinates of winter jujubes are calculated by combining RGB images and depth information obtained by a depth camera. By designing a combination of clustering algorithms and heuristic algorithms, efficient picking sequence planning of winter jujubes is achieved.

[0004] In order to achieve the above-mentioned object of the invention, the technical solution adopted by the present invention is:

[0005] The present invention provides a method for winter jujube detection, positioning and robotic arm picking sequence planning based on YOLO-MLG and YAGR methods, comprising the following steps:

[0006] S1. Taking the YOLOv8n model as the benchmark model, a model named YOLO-MLG was proposed. The backbone network was reconstructed using MobileVit to make the model more lightweight. The LSKblock and GSConv modules were introduced to improve the detection accuracy of the model for small winter jujube targets. The model can achieve high-precision real-time detection of winter jujube.

[0007] S2. A three-dimensional positioning method for winter jujube based on depth camera and YOLO-MLG is proposed. The YOLO-MLG model is used to identify winter jujube and calculate the coordinates of the center point of the winter jujube. The depth camera is used to obtain the three-dimensional coordinate information of the center point of the winter jujube in the camera coordinate system. The three-dimensional positioning of the winter jujube in the base coordinate system of the robotic arm is achieved through the calibration and coordinate transformation of the robotic arm vision system.

[0008] A winter jujube picking sequence planning method named YAGR was proposed, where "Y" stands for YOLO-MLG, "A" stands for Agglomerative Hierarchical Clustering Algorithm, "G" stands for Genetic Algorithm and "R" stands for Real-time picking sequence planning. The winter jujubes were automatically clustered by an improved agglomerative hierarchical clustering algorithm, and the genetic algorithm was used to determine the picking order of the winter jujubes within the cluster, thus realizing real-time picking sequence planning of the winter jujubes.

[0009] Furthermore, the S1 comprises the following steps:

[0010] S11. Obtain the winter jujube dataset. Use an RGB-D depth camera to collect winter jujube images. Set the image resolution format to 640 pixels × 480 pixels. Collect 930 winter jujube images under different weather conditions.

[0011] S12. Dataset preprocessing. The 930 images were randomly divided into training set, test set and validation set in a ratio of 8:1:1. The data set was enhanced by 2 times by using image processing methods such as changing brightness, rotation, mirroring and translation. After processing, 2232 images of training set, 279 images of test set and 279 images of validation set were obtained. The images were annotated using LabelImg.

[0012] S13. A lightweight general network MobileVitR that combines the advantages of convolutions and transformers is used to reconstruct the backbone network of YOLOv8n. The standard convolution includes three operations: expansion, care and global representation. MobileVit proposes a different perspective for learning global representation. The backbone network of YOLOv8n, the standard convolution includes three operations: expansion, care and global representation. Unlike ViT, MobileVit proposes a different perspective for learning global representation. MobileVitblock uses transformers to implement global processing instead of local processing in convolutions, which can enable MobileVitblock to better learn representations with smaller parameters and less data enhancement.

[0013] S14. Add Large Selective Kernel Network (LSKNet) at the output of the neck in the YOLOv8n network. LSKNet involves dynamically adjusting the receptive field of the feature extraction backbone to more effectively handle the ever-changing and extensive context of the object being detected. This is achieved through a spatially selective mechanism that effectively weights the features processed by a series of large deep convolution kernels and then performs spatial fusion. The weights of these convolution kernels are dynamically determined based on the input, enabling the model to adapt to different large convolution kernels as needed and adjust the receptive field of each target.

[0014] S15. Add a Large Selective Kernel Network (LSKNet) at the output of the neck in the YOLOv8n network. LSKNet involves dynamically adjusting the receptive field of the feature extraction backbone to more effectively handle the changing and extensive context of the object being detected. This is achieved through a spatially selective mechanism that effectively weights the features processed by a series of large deep convolutional kernels and then performs spatial fusion. The weights of these convolutional kernels are dynamically determined based on the input, enabling the model to adapt to different large convolutional kernels as needed and adjust the receptive field of each target.

[0015] S16. A new hybrid convolution method called Ghost-Shuffle Convolution (GSConv) is introduced. By replacing part of the Conv in the YOLOv8n neck with GSConv, the model is made lighter and the accuracy is improved. GSConv is a method that densely calculates convolution while striving to maintain the connection between channels. This method alleviates the loss of feature information and reduces time complexity.

[0016] Furthermore, S2 comprises the following steps:

[0017] S21. Obtain the three-dimensional coordinates of winter jujube. Use the YOLO-MLG model to identify winter jujube. Calculate the coordinates of the center point of winter jujube according to the coordinates of the detection frame obtained after identification. The calculation formula is as follows: Where X min , Y min is the coordinate of the upper left corner of the detection box, X max ,Y max is the coordinate of the lower right corner of the detection box. The depth value of the center of the winter jujube is obtained using the RGB-D depth camera, and the image coordinate system is converted to the camera coordinate system through the Realsense SDK to obtain the coordinate P of the center of the winter jujube in the camera coordinate system. c =(x c ,y c ,z c ).

[0018] S22. Calibration and coordinate transformation of the robot's vision system. Use Aruco calibration to perform Eye-to-Hand calibration to achieve coordinate transformation. Print a set of Aruco markers and fix them to the robot's end effector for camera recognition. Then fix the camera in the robot's working area to ensure that the camera can clearly capture the Aruco markers in the robot's operating area. Control the robot's end effector to move to multiple different positions and postures. Record the position of the robot's end effector after each movement and take a picture of the Aruco marker. Finally, the calibration software calculates the rotation and translation information of the camera coordinate system relative to the robot's base coordinate system.

[0019] Furthermore, S3 comprises the following steps:

[0020] S31. Use Agglomerative Hierarchical Clustering Algorithm to cluster the identified winter jujubes, and then use Genetic Algorithm to plan the picking path for the winter jujubes in each cluster. The picking order between clusters is horizontally from left to right (X-axis), and the winter jujube closest to the base coordinate system of the robotic arm in the cluster is the picking starting point (Y-axis).

[0021] S32. Three-dimensional Euclidean distance is used as the distance metric, and the nearest neighbor link method is adopted as the link criterion, that is, the distance between clusters is determined by the distance between the two closest points in the cluster, which helps to identify closely connected winter jujube groups, and the termination condition is to set a distance threshold.

[0022] S33. For the picking order planning of winter jujube within a cluster, the genetic algorithm can efficiently search and determine the optimal or approximately optimal picking path in a complex winter jujube distribution environment by simulating natural selection and genetic mechanisms, thereby improving the picking efficiency. The genetic algorithm parameters in this study are set as follows: the population size is 20, the number of iterations is 100, the crossover probability is 0.9, the mutation probability is 0.05, the binary tournament selection method is used, and the chromosome length is the number of winter jujubes.

[0023] The beneficial effects of this patent are: in YOLO-MLG, MobileVit is used to reconstruct the backbone network to reduce the weight of the model, and the detection accuracy of the model is improved by introducing LSKblock and GSConv. Compared with the baseline model YOLOv8n, the mAP of YOLO-MLG is increased by 3.50%, and the number of parameters is reduced by 61.03%. Compared with mainstream target detection models such as Faster rcnn, SSD, RT-DETR-L and YOLOv7-tiny, YOLO-MLG has the best detection accuracy and the smallest model size. Then a three-dimensional positioning method for winter jujube based on depth camera and YOLO-MLG is proposed. The positioning success rate is 100% in four groups of experiments with different numbers of winter jujubes, and accurate 3D positioning of winter jujubes is achieved. Finally, the YAGR method is proposed to plan the picking order of winter jujubes with 3D position information. The method first uses an improved aggregation hierarchical clustering algorithm to automatically cluster the winter jujubes, and then uses a genetic algorithm to determine the picking order of winter jujubes within the cluster. In four experiments with different numbers of winter jujubes, compared with the genetic algorithm for planning the picking order, the YAGR method reduced the average planning time by 27.56% and the average number of collisions by 58.82%, verifying the effectiveness of the method. The YOLO-MLG and YAGR methods we proposed can achieve accurate detection and positioning of winter jujubes and efficient, low-collision picking sequence planning, which can provide technical support for the winter jujube picking robot arm to achieve coherent picking.

[0024] Other advantages of the present invention will be analyzed in more detail in subsequent embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0026] Figure 1 The process of collecting the winter jujube dataset.

[0027] Figure 2 YOLO-MLG model architecture.

[0028] Figure 3 It is the MobileVitblock architecture.

[0029] Figure 4 It is the LSK module architecture.

[0030] Figure 5 It is the GSConv module.

[0031] Figure 6 The process of planning the picking sequence of winter jujube.

[0032] Figure 7 Flowchart of the picking sequence planning algorithm.

[0033] Figure 8 Robotic arm picking system. DETAILED DESCRIPTION

[0034] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.

[0035] Example:

[0036] like Figure 1 As shown, in one embodiment of the present invention, the present invention provides a method for collecting a winter jujube dataset, using an RGB-D depth camera to collect winter jujube images, setting the image resolution format to 640 pixels × 480 pixels, and collecting 930 winter jujube images under different weather conditions. The schematic diagram of the winter jujube dataset collection is shown in FIG. Figure 1 shown.

[0037] like Figure 2 As shown, in one embodiment of the present invention, the present invention provides a YOLO-MLG model architecture, proposes a YOLO-MLG model for winter jujube detection in a natural environment, and improves the YOLOv8n model in the following three aspects. First, the Backbone of YOLOv8n is reconstructed using MobileVit. MobileVit is a lightweight general network that combines the advantages of convolutions and transformers, which can significantly reduce the model size and make the model more lightweight. Secondly, LSKblock (Large Selective Kernel block) is introduced in the neck. This module effectively improves the network's detection ability in processing objects of different scales and different backgrounds by dynamically adjusting the receptive field and adopting a spatial selectivity mechanism. Finally, a new lightweight convolution technology GSConv is introduced in the neck, so that the model can reduce the model burden while maintaining accuracy.

[0038] like Figure 3 As shown, in one embodiment of the present invention, the present invention provides a MobileVit block architecture, which utilizes a lightweight general network MobileVitR that combines the advantages of convolutions and transformers to reconstruct the backbone network of YOLOv8n. The standard convolution includes three operations of expansion, care and global representation. Unlike ViT, MobileVit proposes a different perspective for learning global representation. MobileVitblock uses transformers to implement global processing instead of local processing in convolutions, which can enable MobileVitblock to better learn representations with smaller parameters and less data enhancement.

[0039] Furthermore, the MobileViT block is designed to capture local and global information in the input tensor using a more efficient parameter setting. In essence, given an input tensor X of dimension H×W×C, MobileViT applies a standard convolutional layer of size n×n followed by a pointwise (1×1) convolutional layer to obtain a transformed tensor X of dimension H×W×d, where d is a high-dimensional space (d>C). The n×n convolutional layer encodes local spatial information, while the pointwise convolutional layer achieves this by learning linear combinations of the input channels.

[0040] Furthermore, to enhance the spatial understanding of MobileViT’s ability to acquire global representations, X is unfolded into N separate flat patches, denoted as X of size P × N × d, where P is determined by the formula P = wh, N is calculated as N = HW / P, represents the total number of these patches, h and w represent the height and width of each patch, respectively, both of which are less than or equal to n, and for each patch, denoted as p in the set of patches from 1 to p, we establish connections between patches by applying transformers, thereby generating X of size P × N × d. G , as shown below: X G (p) = Transformer(X U (p))

[0041] like Figure 4 As shown, in one embodiment of the present invention, the present invention provides an LSK module architecture, which consists of a series of large kernel convolutions and a spatial kernel selection mechanism. The figure intuitively demonstrates how the large selection kernel works by adaptively collecting corresponding large receptive fields of different objects.

[0042] Further, Large Kernel Convolutions: In order to create larger kernel convolutions, we decompose them into a series of deep convolutions. The characteristics of these convolutions are that the kernels are gradually getting larger and the expansion is getting larger. The growth of kernel size and expansion rate ensures the rapid expansion of the receptive field. In order to obtain features containing different contextual information from various fragments of the input X, a series of deep decomposed convolutions with different receptive fields are used. For N decomposed kernels, each kernel is further processed by a 1×1 convolution layer.

[0043] Furthermore, spatial kernel selection: To improve the network’s ability to focus on the most relevant spatial context for object detection, feature maps from large convolutional kernels of different scales are spatially selected using a spatial selection mechanism. Subsequently, we effectively capture spatial relationships by applying channel-wise average pooling and max pooling.

[0044] like Figure 5 As shown, in one embodiment of the present invention, the present invention provides a GSConv module, GSConv combines SC and DSC through channel transformation, the method involves convolving the input feature map with the C1 channel to create a C1 / 2 feature vector, generating another C1 / 2 feature vector through deep convolution (deep-wise convolution, DWConv), and connecting the two feature vectors. The derived information is then propagated to each DSC segment through channel transformation, and the obtained output feature map contains the C2 channel. This enhancement of GSConv can improve the nonlinear representation capability. It is worth noting that the method achieves output similar to standard convolution while reducing the computational cost by 50%. In convolution calculations, time complexity is usually quantified by FLOPs.

[0045] like Figure 6 As shown, in one embodiment of the present invention, the present invention provides a winter jujube picking sequence planning process. By spatially clustering the winter jujubes, it is more likely to divide the winter jujube groups belonging to the same main branch, optimize the picking path, and reduce the risk of collision between the robotic arm and the main branch. In order to realize the winter jujube picking sequence planning, we proposed a winter jujube picking sequence planning method called YAGR. After obtaining the three-dimensional coordinates of the winter jujube in the robotic arm base coordinate system through the YOLO-MLG model and the winter jujube 3D positioning method proposed by us, the method is used to realize the winter jujube picking sequence planning.

[0046] like Figure 7As shown, in one embodiment of the present invention, the present invention provides a flowchart of a picking sequence planning algorithm, by using the Agglomerative Hierarchical Clustering Algorithm to cluster the identified winter jujubes, and then using the Genetic Algorithm to plan the picking path for the winter jujubes in each cluster, the picking order between clusters is horizontally from left to right (X-axis), and the winter jujube closest to the robot arm base coordinate system in the cluster is the picking starting point (Y-axis).

[0047] like Figure 8 As shown, in one embodiment of the present invention, the present invention provides a robotic arm picking system, and the experimental environment of the robotic arm picking system is set as follows: the operating system is Ubuntu 20.04, the ROS version is ROS1, the integrated development environment is Pycharm-2023.3.2, and the python version is python 3.9. It is mainly composed of an AUBO C5 robotic arm, an RGB-D depth camera, a robotic arm gripper and a computer.

[0048] The present invention provides a method for realizing accurate and real-time detection, positioning and picking sequence planning of winter jujube in a natural winter jujube orchard environment. The study shows that combining the proposed YOLO-MLG target detection model with the YAGR winter jujube picking sequence planning method can successfully plan the efficient picking path for the detected winter jujube.

[0049] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A method for winter jujube detection, positioning and robotic arm picking sequence planning based on YOLO-MLG and YAGR methods, characterized in that: The steps include: S1. Taking the YOLOv8n model as the benchmark model, a model named YOLO-MLG is proposed. The backbone network is reconstructed using MobileVit to make the model more lightweight. The LSKblock and GSConv modules are introduced to improve the detection accuracy of the model for small winter jujube targets. This model can achieve high-precision real-time detection of winter jujube. S2. A three-dimensional positioning method for winter jujube based on depth camera and YOLO-MLG is proposed. The YOLO-MLG model is used to identify winter jujube and calculate the coordinates of the center point of winter jujube. The depth camera is used to obtain the three-dimensional coordinate information of the center point of winter jujube in the camera coordinate system. The three-dimensional positioning of winter jujube in the base coordinate system of the robotic arm is realized through the calibration and coordinate transformation of the robotic arm vision system. S3. A winter jujube picking sequence planning method named YAGR is proposed, where "Y" stands for YOLO-MLG, "A" stands for Agglomerative Hierarchical Clustering Algorithm, "G" stands for Genetic Algorithm, and "R" stands for Real-time picking sequence planning. The winter jujube is automatically clustered by an improved aggregation hierarchical clustering algorithm, and then the genetic algorithm is used to determine the picking order of the winter jujube within the cluster, thereby realizing real-time picking sequence planning of winter jujube.

2. According to claim 1, a method for winter jujube detection, positioning and robotic arm picking sequence planning based on YOLO-MLG and YAGR methods is characterized in that: The S1 comprises the following steps: S11. Obtain the winter jujube dataset. Use an RGB-D camera to collect winter jujube images. Set the image resolution format to 640 pixels × 480 pixels. Collect 930 winter jujube images under different weather conditions. S12. Dataset preprocessing: The 930 images were randomly divided into training set, test set and validation set in a ratio of 8:1:

1. The dataset was enhanced by 2 times by using image processing methods such as changing brightness, rotation, mirroring and translation. After processing, 2232 images were obtained for the training set, 279 images for the test set and 279 images for the validation set. The images were annotated using LabelImg. S13. A lightweight general network MobileVitR that combines the advantages of convolutions and transformers is used to reconstruct the backbone network of YOLOv8n. The standard convolution includes three operations: expansion, care and global representation. MobileVit proposes a different backbone network for learning global representation. The standard convolution includes three operations: expansion, care and global representation. Unlike ViT, MobileVit proposes a different perspective for learning global representation. MobileVitblock uses transformers to implement global processing instead of local processing in convolutions, which can enable MobileVitblock to better learn representations with smaller parameters and less data enhancement. S14. Add Large Selective Kernel Network (LSKNet) at the output of the neck in the YOLOv8n network. LSKNet involves dynamically adjusting the receptive field of the feature extraction backbone to more effectively handle the changing and extensive context of the object being detected. This is achieved through a spatially selective mechanism that effectively weights the features processed by a series of large deep convolution kernels and then spatially fuses them. The weights of these convolution kernels are dynamically determined based on the input, enabling the model to adapt to different large convolution kernels as needed and adjust the receptive field of each target. S15. Add a Large Selective Kernel Network (LSKNet) at the output of the neck in the YOLOv8n network. LSKNet involves dynamically adjusting the receptive field of the feature extraction backbone to more effectively handle the changing and extensive context of the object being detected. This is achieved through a spatial selectivity mechanism that effectively weights the features processed by a series of large deep convolution kernels and then performs spatial fusion. The weights of these convolution kernels are dynamically determined based on the input, enabling the model to adapt to different large convolution kernels as needed and adjust the receptive field of each target. S16. A new hybrid convolution method called Ghost-Shuffle Convolution (GSConv) is introduced. By replacing part of the Conv in the YOLOv8n neck with GSConv, the model is made lighter and the accuracy is improved. GSConv is a method that densely calculates convolution while striving to maintain the connection between channels. This method alleviates the loss of feature information and reduces time complexity.

3. According to claim 1, a method for winter jujube detection, positioning and robotic arm picking sequence planning based on YOLO-MLG and YAGR methods, characterized in that: Described S2 comprises the following steps: S21. Obtain the three-dimensional coordinates of winter jujube. Use the YOLO-MLG model to identify winter jujube. Calculate the coordinates of the center point of winter jujube according to the coordinates of the detection frame obtained after identification. The calculation formula is as follows: Where X min , Y min is the coordinate of the upper left corner of the detection box, X max ,Y max is the coordinate of the lower right corner of the detection frame. The depth value of the center of the winter jujube is obtained using the RGB-D camera, and the image coordinate system is converted to the camera coordinate system through the Realsense SDK to obtain the coordinate P of the center of the winter jujube in the camera coordinate system. c =(x c ,y c ,z c ); S22. Calibration and coordinate transformation of the robot's vision system. Use Aruco calibration to perform Eye-to-Hand calibration to achieve coordinate transformation. Print a set of Aruco markers and fix them to the robot's end effector for camera recognition. Then fix the camera in the robot's working area to ensure that the camera can clearly capture the Aruco markers in the robot's operating area. Control the robot's end effector to move to multiple different positions and postures. Record the position of the robot's end effector after each movement and take a picture of the Aruco marker. Finally, the calibration software calculates the rotation and translation information of the camera coordinate system relative to the robot's base coordinate system.

4. According to claim 1, a method for winter jujube detection, positioning and robotic arm picking sequence planning based on YOLO-MLG and YAGR methods, characterized in that: Described S3 comprises the following steps: S31, using Agglomerative Hierarchical Clustering Algorithm to cluster the identified winter jujubes, and then using Genetic Algorithm to plan the picking path for the winter jujubes in each cluster. The picking order between clusters is horizontally from left to right (X-axis), and the winter jujube closest to the robot arm base coordinate system in the cluster is the picking starting point (Y-axis); S32, using three-dimensional Euclidean distance as the distance metric, and the nearest neighbor link method as the link criterion, that is, the distance between clusters is determined by the distance between the two closest points in the cluster, which helps to identify closely connected winter jujube groups, and the termination condition is to set a distance threshold; S33. For the picking order planning of winter jujube within a cluster, the genetic algorithm can efficiently search and determine the optimal or approximately optimal picking path in a complex winter jujube distribution environment by simulating natural selection and genetic mechanisms, thereby improving the picking efficiency. The genetic algorithm parameters in this study are set as follows: the population size is 20, the number of iterations is 100, the crossover probability is 0.9, the mutation probability is 0.05, the binary tournament selection method is used, and the chromosome length is the number of winter jujubes.

Citation Information

Cited By

  • Potato picking and harvesting method based on PLP-net

    CN119563462A

  • Intelligent inspection method and system for power distribution room

    CN119625483A

  • Intelligent picking robot and monitoring system

    CN119949151A

  • Road pit detection method and system based on vision and 4D millimeter wave radar

    CN120279521A

  • Moxibustion robot mechanical arm real-time compliance control method and system based on state estimation

    CN120422229A