Object sorting method and arm-hand system based on multimode perception and hardness tactile detection
Through the collaborative work of depth cameras and robotic arms, flexible tactile sensors and fruit hardness classification networks are used to realize fully automatic ripeness detection and sorting of fruits, solving the problems of low detection efficiency and poor adaptability in the existing technology, and improving efficiency Detection accuracy and degree of automation.
Patent Information
- Application Number
- CN202411117826.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-08-15
AI Technical Summary
Existing fruit ripeness detection technology has problems such as high labor cost, low efficiency, strong detection subjectivity, and inability to achieve large-scale real-time detection. In particular, flexible sensors are difficult to adapt to fruits with special shapes.
Using an object sorting method based on multi-modal perception and hardness tactile detection, the depth camera and the robotic arm work together, using the flexible tactile sensor on the mechanical gripper and the trained fruit hardness classification network to achieve fully automatic ripeness of the fruit. Detection and sorting.
It improves detection efficiency and recognition accuracy, is suitable for a variety of objects, including fruits with special shapes, reduces the labor intensity of operators, and achieves fully automatic fruit ripeness detection and sorting.
Smart Images

Figure CN118809608A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of object sorting, and in particular to an object sorting method and an arm-hand system based on multi-mode perception and hardness tactile detection. Background Art
[0002] Hardness is a key indicator in assessing material quality and manufacturing processes. Accurate hardness identification can help manufacturers ensure product consistency and reliability, thereby improving product quality and market competitiveness. Hardness data can provide valuable information about material behavior and performance, such as its wear resistance, fatigue resistance, and deformation characteristics. This information is important for predicting the performance of materials under different environmental conditions. Fruit hardness identification is an important task in the agriculture and food industry, mainly used to assess the maturity, quality, and edible state of fruits.
[0003] my country is a major producer of fruits and vegetables, and it plays an important role in the national economy. However, about 30% of fruits are wasted every year for various reasons. Among them, the waste during picking, storage and transportation accounts for a large proportion. At present, the main fruit maturity detection technology mainly relies on the experience of fruit farmers or manual detection with the help of tools such as sugar acidity analyzers and hardness testers, and the maturity level of fruits is judged according to relevant standards. At the same time, fruits that have undergone destructive testing cannot be eaten or sold. According to this process, the labor cost of fruit maturity extraction and detection is high, the efficiency is low, the detection is subjective and unstable, and large-scale real-time detection cannot be carried out. The existing work for predicting and classifying fruit maturity aims to solve these problems, such as some methods based on machine learning. However, these methods often require specific environments, complex equipment, and a large amount of data processing. There is still a certain gap from achieving truly intelligent automatic detection and maturity grading.
[0004] Sensors can be used for interaction and detection of objects to be measured. However, the current development of flexible sensors has limitations such as area and sensing range. This results in certain restrictions on the types, sizes, and weights of fruits that can be measured. In particular, it is difficult for flat fingertip flexible tactile sensors to fully contact fruits of special shapes. Summary of the invention
[0005] The present invention provides an object sorting method and an arm-hand system based on multi-mode perception and hardness tactile detection to solve the technical problems mentioned in the background technology.
[0006] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0007] The present invention provides an object sorting method based on multi-mode perception and hardness tactile detection, comprising the following steps:
[0008] S1. First, a training set of a fruit hardness classification network is constructed using a fruit maturity detection module, and the fruit hardness classification network is trained using the training set to obtain a trained fruit hardness classification network;
[0009] S2, perform hand-eye calibration on the depth camera, and map the target position perceived by the depth camera vision to the motion trajectory of the robotic arm;
[0010] S3, train the YOLOv8 model in the host computer to obtain a trained YOLOv8 model;
[0011] S4. With the assistance of the depth camera and the trained YOLOv8 model, the robotic arm grabs the target fruit using the mechanical gripper at the end of the robotic arm. The first flexible tactile sensor on the mechanical gripper senses the hardness information of the target fruit, and transmits the obtained tactile information to the trained fruit hardness classification network to obtain the hardness of the target fruit.
[0012] S5. Classify the maturity of the target fruit according to the fruit type identified by the trained YOLOv8 model and the corresponding fruit hardness grade dividing line, and sort it to the designated location through the robotic arm.
[0013] Furthermore, the step of constructing a training set of a fruit hardness classification network using a fruit maturity detection module in S1 specifically includes the following steps:
[0014] S11, randomly selecting a plurality of detection points in the plane area on the top of the dual-axis mobile platform, and placing and clamping a detected object with a corresponding hardness grade on the top of the dual-axis mobile platform in the fruit maturity detection module;
[0015] S12, rotating the hand wheel on the side of the test frame so that the movable end of the test frame drives the push-pull force gauge to move vertically until the detection end of the push-pull force gauge contacts the object to be measured and the pressure reaches a set value to simulate the initial grasping state; the second flexible tactile sensor on the fruit maturity detection module is pressurized, and the pressure data of multiple sensing units in the second flexible tactile sensor at the detection point are output;
[0016] S13, then adjusting the position of the object to be measured and the detection end of the push-pull force gauge by the dual-axis mobile platform until the detection end of the push-pull force gauge is located directly above another detection point. After the adjustment is completed, continue to drive the push-pull force gauge to move downward a fixed stroke to obtain the pressure data of the second flexible tactile sensor at the detection point;
[0017] S14, loop S13 until the pressure data of all detection points in the plane area are obtained, thereby obtaining a training set of the fruit hardness classification network.
[0018] Furthermore, the S2 specifically includes the following steps:
[0019] S21, fixing the depth camera at a position outside the robotic arm and keeping it motionless, while keeping the relative position between the calibration pattern and the end of the robotic arm fixed;
[0020] S22. Move the robotic arm and use the depth camera to take multiple photos of the calibration pattern, and record the homogeneous transformation matrix of the calibration pattern relative to the depth camera each time. And the homogeneous transformation matrix of the robot end effector relative to the robot base
[0021] S23, then according to the homogeneous transformation matrix of the calibration image relative to the robot base The transformation matrix of the depth camera relative to the robotic arm base is solved by the following equation Then the hand-eye calibration process of the depth camera is completed, and the target position perceived by the depth camera is mapped to the motion trajectory of the robotic arm;
[0022]
[0023] in, and Represents the homogeneous transformation matrix of the end effector of the robot arm relative to the base of the robot arm at three different positions after the robot arm is moved. and Represents the homogeneous transformation matrix of the calibration pattern at three different positions relative to the depth camera after moving the robotic arm.
[0024] Furthermore, the S4 specifically includes the following steps:
[0025] S41, the depth camera transmits the visual information to the trained YOLOv8 model in the host computer control unit, and the posture estimator in the trained YOLOv8 model confirms the grasping point of the target fruit based on the visual information transmitted by the depth camera;
[0026] S42, the host computer control unit generates control information according to the grasping point of the target fruit, and transmits the control information to the robotic arm, and the robotic arm grasps the target fruit using the mechanical gripper at the end of the robotic arm;
[0027] S43, the first flexible tactile sensor on the mechanical gripper senses the hardness information of the target fruit, and transmits the obtained tactile information to the trained fruit hardness classification network to obtain the hardness of the target fruit.
[0028] Furthermore, the object sorting method further comprises the following steps:
[0029] S6, looping S4 to S5 until the maturity information of all fruits is obtained, and all fruits are sorted to designated locations according to the maturity information of all fruits.
[0030] On the other hand, the present invention further provides an arm-hand system based on multi-modal perception and hardness tactile detection, which uses the above-mentioned object sorting method for sorting. The arm-hand system specifically includes:
[0031] A robotic arm, mounted in the object sorting area via a robotic arm base;
[0032] A mechanical gripper, installed at the end of the robotic arm, is used to grab the fruit;
[0033] A first flexible tactile sensor is fixedly mounted on the fingertip of the mechanical gripper through a base;
[0034] Depth cameras are installed around the robot arm to obtain visual information of the fruit in real time;
[0035] The host computer control unit is electrically connected to the robotic arm, the mechanical gripper, the first flexible tactile sensor, and the depth camera respectively to realize the control of the robotic arm and the mechanical gripper. The host computer control unit has a built-in fruit hardness classification network and a YOLOv8 model.
[0036] Furthermore, the robotic arm is a six-degree-of-freedom robotic arm.
[0037] Furthermore, the mechanical gripper is an articulated adaptive electric gripper equipped with a force control and a programmable control unit.
[0038] Furthermore, the first flexible tactile sensor is a flexible fingertip tactile sensor based on a 4×4 array of barometer sensors.
[0039] Furthermore, the fruit hardness classification network includes a 1-D convolutional layer with ReLU activation, a Dropout layer, and an average pooling layer connected in sequence.
[0040] Beneficial effects of the present invention:
[0041] 1. The object sorting method provided by the present invention utilizes the upper computer vision to guide the robot arm to grasp and realize the full tactile maturity detection and sorting of the target fruit; it improves the detection efficiency and has good universality in life and production scenes, and can be applied to a variety of different objects, including but not limited to various ball products.
[0042] 2. The object sorting method of the present invention utilizes a fruit hardness classification network, which can accurately and quickly estimate the hardness of the target fruit and has good recognition accuracy and recognition speed.
[0043] 3. On the other hand, the present invention also provides an arm-hand system with a high degree of intelligence and tactile properties, thereby reducing the labor intensity of operators. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 is a flowchart of the object sorting method of the present invention;
[0045] Figure 2 It is a structural schematic diagram of the arm-hand system of the present invention;
[0046] Figure 3 It is a structural schematic diagram of the fruit maturity detection module in the present invention;
[0047] Figure 4 It is a structural schematic diagram of the fruit hardness classification network in the present invention;
[0048] Figure 5 Schematic diagram of hand-eye calibration in the present invention. DETAILED DESCRIPTION
[0049] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Preferred embodiments of the present invention are provided in the drawings. However, the present invention can be implemented in many other different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.
[0050] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element.
[0051] It should be understood that the orientation or position relationship indicated by terms such as "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside" and "outside" are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0052] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0053] It should also be noted that, in the embodiments of the present application, the same figure mark is used to represent the same component or the same part. For the same parts in the embodiments of the present application, the figure may only mark one of the parts or components as an example. It should be understood that the figure mark also applies to other identical parts or components.
[0054] Reference Figure 1 The present application embodiment provides an object sorting method based on multi-modal perception and hardness tactile detection, comprising the following steps:
[0055] S1. First, a training set of a fruit hardness classification network is constructed using a fruit maturity detection module, and the fruit hardness classification network is trained using the training set to obtain a trained fruit hardness classification network;
[0056] Specifically, refer to Figure 3 The fruit maturity detection module includes a test frame with a handwheel installed on the side, a digital push-pull force gauge mounted on the test frame, and a second flexible tactile sensor; the test frame base is equipped with a standard X and Y-direction dual-axis mobile platform for carrying the second flexible tactile sensor, which can be moved left and right, front and back, and is convenient for accurate clamping. The test frame has a large base with good stability and is suitable for indoor desktop testing. The digital push-pull force gauge is equipped with an NK / HP series push-pull force gauge to form a professional small testing machine. In this embodiment, the second flexible tactile sensor uses a flexible fingertip tactile sensor with a 4×4 array of MS5805-02BA01 high-resolution barometer sensors based on FPGA;
[0057] S2. Perform hand-eye calibration on the depth camera and map the target position perceived by the depth camera to the motion trajectory of the robotic arm. The relative posture and position relationship between the end of the robotic arm (hand) and the depth camera (eye) can be determined through hand-eye calibration.
[0058] S3. Train the YOLOv8 model in the host computer to obtain a trained YOLOv8 model; the YOLOv8 model can be used to detect and identify different types of fruits in the fruit classification task. By training a YOLOv8 model, it can learn to accurately locate and identify fruits from the images obtained by the depth camera, and output the category and location information of each fruit;
[0059] S4. With the assistance of the depth camera and the trained YOLOv8 model, the robotic arm grabs the target fruit using the mechanical gripper at the end of the robotic arm. The first flexible tactile sensor on the mechanical gripper senses the hardness information of the target fruit, and transmits the obtained tactile information to the trained fruit hardness classification network to obtain the hardness of the target fruit.
[0060] S5. Classify the maturity of the target fruit according to the fruit type identified by the trained YOLOv8 model and the corresponding fruit hardness grade dividing line, and sort it to the designated location through the robotic arm.
[0061] The object sorting method provided by the present invention uses the upper computer vision to guide the mechanical arm to grasp and realize the full-automatic maturity detection and sorting of the target fruit. It improves the detection efficiency and has good universality in life and production scenes. It can be applied to a variety of different objects, including but not limited to various ball products.
[0062] In some embodiments, the training process of the fruit hardness classification network in S1 involves model selection, that is, adjusting the classifier architecture hyperparameters. The hyperparameters selected in this embodiment are: the number of convolutional layers ranges from 2 to 4 (the filter candidates are: (8, 8), (16, 16), (16, 32), (4, 8, 16), (8, 8, 8, 8, 8, 16 32), (4, 8, 16, 32)); kernel size: Ks = {8, 12, 16}; dropout percentage 20%. The object sorting method of the present invention utilizes the fruit hardness classification network to accurately and quickly estimate the hardness of the target fruit, and has good recognition accuracy and recognition speed.
[0063] In some embodiments, the YOLOv8 model introduces TaskAlignedAssigner, so that the YOLOv8 model can more intelligently assign anchor boxes to appropriate targets. This is different from the traditional anchor box (AnchorBoxes) allocation strategy, which is usually based on fixed size and ratio, while TaskAlignedAssigner provides a dynamic allocation mechanism, which helps the model to more accurately predict the actual target box. While optimizing the anchor box strategy, the YOLOv8 model also introduces a more sophisticated feature learning strategy for targets of different sizes. It ensures that the model has good detection performance for both small and large targets by adjusting the learning focus of targets of different sizes. This is especially important for arm-hand systems that detect the freshness of fruits, because the arm-hand system needs to be able to accurately identify fruits of various sizes.
[0064] In some embodiments, the step of constructing a training set of a fruit hardness classification network using a fruit maturity detection module in S1 specifically includes the following steps:
[0065] S11, randomly selecting a plurality of detection points in the plane area on the top of the dual-axis mobile platform, and placing and clamping a detected object with a corresponding hardness grade on the top of the dual-axis mobile platform in the fruit maturity detection module; in this embodiment, the number of detection points is 10;
[0066] S12, rotating the hand wheel on the side of the test frame, so that the movable end of the test frame drives the push-pull force gauge to move vertically, until the detection end of the push-pull force gauge contacts the object to be measured and the pressure reaches the set value, which is 2N in this embodiment to simulate the initial grasping state; the second flexible tactile sensor on the fruit maturity detection module is pressed, and the pressure data of multiple sensing units in the second flexible tactile sensor at the detection point is output, that is, a 1*16 vector is collected for each test;
[0067] S13, then adjust the position of the object to be measured and the detection end of the push-pull force gauge by the dual-axis mobile platform until the detection end of the push-pull force gauge is located directly above another detection point. After the adjustment is completed, continue to drive the push-pull force gauge to move downward by a fixed stroke. In this embodiment, the fixed stroke is 0.95 mm, that is, the minimum unit stroke of the mechanical gripper, to obtain the pressure data of the second flexible tactile sensor at the detection point;
[0068] S14, loop S13 until the pressure data of all 10 detection points in the plane area are obtained, thereby obtaining a training set for the fruit hardness classification network.
[0069] Reference Figure 5 In some embodiments, S2 specifically includes the following steps:
[0070] S21, fixing the depth camera at a position outside the robotic arm and keeping it motionless, while keeping the relative position between the calibration pattern and the end of the robotic arm fixed;
[0071] S22. Move the robotic arm and use the depth camera to take multiple photos of the calibration pattern, and record the homogeneous transformation matrix of the calibration pattern relative to the depth camera each time. And the homogeneous transformation matrix of the robot end effector relative to the robot base
[0072] S23, then according to the homogeneous transformation matrix of the calibration image relative to the robot base The transformation matrix of the depth camera relative to the robotic arm base is solved by the following equation Then the hand-eye calibration process of the depth camera is completed, and the target position perceived by the depth camera is mapped to the motion trajectory of the robotic arm;
[0073]
[0074] in, and Represents the homogeneous transformation matrix of the end effector of the robot arm relative to the base of the robot arm at three different positions after the robot arm is moved. and Represents the homogeneous transformation matrix of the calibration pattern at three different positions relative to the depth camera after moving the robotic arm.
[0075] In this embodiment, the hand-eye calibration method uses eye-outside-hand calibration, which is a key technology for calibration of robot vision arm-hand system. By installing a camera (depth camera) outside the robot arm, real-time image information outside the hand is obtained in the depth camera. This method can help the robot arm perceive and understand the surrounding environment, thereby achieving more precise operation and control.
[0076] The process of eye-out-of-hand calibration usually includes determining the position and posture of the depth camera and the base of the robotic arm, and exchanging information with the control arm-hand system of the robotic arm to achieve the grasping, positioning or operation of the target object. This calibration method has broad application prospects in industrial production, logistics distribution, service robots and other fields, which can improve the autonomy and flexibility of robots, and improve work efficiency and accuracy.
[0077] In some embodiments, the S4 specifically includes the following steps:
[0078] S41, the depth camera transmits the visual information to the trained YOLOv8 model in the host computer control unit, and the posture estimator in the trained YOLOv8 model confirms the grasping point of the target fruit based on the visual information transmitted by the depth camera;
[0079] S42, the host computer control unit generates control information according to the grasping point of the target fruit, and transmits the control information to the robotic arm, and the robotic arm grasps the target fruit using the mechanical gripper at the end of the robotic arm;
[0080] S43, the first flexible tactile sensor on the mechanical gripper senses the hardness information of the target fruit, and transmits the obtained tactile information to the trained fruit hardness classification network to obtain the hardness of the target fruit.
[0081] In some embodiments, the fruit hardness classification network estimates the hardness by a hardness value estimation method, which is specifically implemented as follows:
[0082] Firstly, the fruit to be tested is clamped by a mechanical clamp and a set pressure is applied to the fruit to be tested. The hardness value of the fruit is estimated by the pressure applied to the first flexible tactile sensor after the fruit to be tested in the first flexible tactile sensor passes through a fixed stroke of the mechanical clamp.
[0083] In this embodiment, the present invention uses a hardness estimation method to estimate the hardness of the fruit, and the hardness estimation method refers to the Vickers hardness (symbol HV) measurement method. Vickers hardness is the most widely used test method that can be tested with any test force. In the Vickers hardness test, a diamond or hard spherical steel ball is applied to the surface of the material being tested with a specific load, and then the diagonal length of the resulting indentation is measured.
[0084] Referring to the calculation formula of Vickers hardness, we can get the relationship between fruit hardness P, contact area S and pressure N as shown in the following formula:
[0085] P∝N / S
[0086] The results obtained by the hardness estimation method are mainly used for the classification of fruit maturity, and only the relative hardness relationship is required, and the precise hardness value is not required.
[0087] Fruit hardness is one of the important indicators to measure fruit maturity and storage quality. During the process of fruit ripening and aging, the fruit hardness gradually decreases. By measuring the hardness of the fruit, we can understand the degree of maturity or the degree of softening after ripening, thereby determining the characteristics of the fruit's quality changes and correctly guiding the storage of fruits and vegetables.
[0088] In some embodiments, the object sorting method further comprises the following steps:
[0089] S6, looping S4 to S5 until the maturity information of all fruits is obtained, and all fruits are sorted to designated locations according to the maturity information of all fruits.
[0090] Reference Figure 2 On the other hand, the present invention also provides an arm-hand system based on multi-mode perception and hardness tactile detection, which uses the above-mentioned object sorting method for sorting. The arm-hand system specifically includes:
[0091] A robotic arm, mounted in the object sorting area via a robotic arm base;
[0092] A mechanical gripper, installed at the end of the robotic arm, is used to grab the fruit;
[0093] A first flexible tactile sensor is fixedly mounted on the fingertip of the mechanical gripper through a base;
[0094] Depth cameras are installed around the robot arm to obtain visual information of the fruit in real time. The depth camera is used to obtain image information and depth information of the target fruit (group). The depth camera is a special type of camera that can capture the depth information of each pixel in the scene, not just the color information. This depth information can provide important information such as the distance, shape and size of objects in the scene, so that the host computer can better understand and perceive the surrounding environment.
[0095] The host computer control unit is electrically connected to the robotic arm, the mechanical gripper, the first flexible tactile sensor, and the depth camera respectively to realize the control of the robotic arm and the mechanical gripper. The host computer control unit has a built-in fruit hardness classification network and a YOLOv8 model.
[0096] The host computer control unit controls the movement of the robotic arm and the gripping and releasing of the target fruit by the mechanical gripper through instructions from the host computer, and monitors the information returned by the first flexible tactile sensor and the robotic arm to achieve intelligent control.
[0097] In some embodiments, the robot arm is a six-degree-of-freedom robot arm. The six-degree-of-freedom robot arm is the supporting part of the arm-hand system, and mainly completes the end movement and object sorting action. The six-degree-of-freedom robot arm is a lightweight and adaptable collaborative industrial robot with a series of joint connections, which enables it to move flexibly and accurately position in multiple dimensions. It is very suitable for optimizing lightweight collaborative processes such as picking and placing.
[0098] In some embodiments, the mechanical gripper uses a two-finger mechanical gripper, specifically a joint-type adaptive electric gripper among the two-finger mechanical grippers. The joint-type adaptive electric gripper is suitable for collaborative robots, and the structural design is suitable for stable grasping of objects of different shapes. The gripper linkage mechanism on the joint-type adaptive electric gripper supports envelope adaptive grasping, which is more suitable for round, spherical or special-shaped objects, is highly suitable for fruit grasping scenarios, improves grasping stability, and achieves stable gripping and release of fruits.
[0099] The articulated adaptive electric gripper is equipped with force control and programmable control unit. It effectively prevents damage to fruits caused by excessive gripping. The bottom of the articulated adaptive electric gripper is connected to the end of the six-degree-of-freedom robotic arm through a flange to form the overall framework of the hardware part of the arm-hand system.
[0100] In some embodiments, the first flexible tactile sensor is a flexible fingertip tactile sensor based on a FPGA-based MS5805-02BA01 high-resolution barometer sensor 4×4 array. The flexible fingertip tactile sensor has good performance, small error, and a wide range. The low-energy design adopted allows the flexible fingertip tactile sensor to operate for a long time with only a small amount of power supply. The flexible fingertip tactile sensor is deployed at the fingertips of the mechanical gripper to fully contact the fruit, obtain the tactile information of the fruit, and transmit it to the fruit hardness classification network to classify the maturity of the fruit based on hardness and then achieve sorting.
[0101] The independently developed flexible fingertip tactile sensor is fixed on the fingertips of the two-finger mechanical gripper through a independently developed base. The independently developed interface of the flexible fingertip tactile sensor is simple, has good software and hardware compatibility, and can be adapted to different robots and manipulator structures to achieve tactile perception.
[0102] The tactile information obtained by the flexible fingertip tactile sensor mainly includes pressure information obtained by transmitting the pressure to the pressure gauge unit through the flexible silicone and contact position information obtained through the spatial relationship of the array.
[0103] In some embodiments, the fruit hardness classification network includes a 1-D convolution layer with ReLU activation, a Dropout layer, and an average pooling layer connected in sequence. The 1-D convolution layer performs a convolution operation to extract features from the bottom layer to the upper layer. The Dropout layer prevents overfitting by making other hidden units unreliable. The average pooling layer performs feature selection to reduce the number of features, thereby reducing the number of parameters. The network structure is as follows Figure 3 shown.
[0104] The above is only a specific embodiment 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 within the protection scope of the present invention. In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the ability of ordinary technicians in the field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. An object sorting method based on multimodal perception and hardness tactile detection, It is characterized in that The steps include: S1. First, a training set of a fruit hardness classification network is constructed using a fruit maturity detection module, and the fruit hardness classification network is trained using the training set to obtain a trained fruit hardness classification network; S2, perform hand-eye calibration on the depth camera, and map the target position perceived by the depth camera vision to the motion trajectory of the robotic arm; S3, train the YOLOv8 model in the host computer to obtain a trained YOLOv8 model; S4. With the assistance of the depth camera and the trained YOLOv8 model, the robotic arm grabs the target fruit using the mechanical gripper at the end of the robotic arm. The first flexible tactile sensor on the mechanical gripper senses the hardness information of the target fruit, and transmits the obtained tactile information to the trained fruit hardness classification network to obtain the hardness of the target fruit. S5. Classify the maturity of the target fruit according to the fruit type identified by the trained YOLOv8 model and the corresponding fruit hardness grade dividing line, and sort it to the designated location through the robotic arm.
2. The object sorting method according to claim 1, It is characterized in that The method of constructing a training set of a fruit hardness classification network using a fruit maturity detection module in S1 specifically includes the following steps: S11, randomly selecting a plurality of detection points in the plane area on the top of the dual-axis mobile platform, and placing and clamping a detected object with a corresponding hardness grade on the top of the dual-axis mobile platform in the fruit maturity detection module; S12, rotating the hand wheel on the side of the test frame so that the movable end of the test frame drives the push-pull force gauge to move vertically until the detection end of the push-pull force gauge contacts the object to be measured and the pressure reaches a set value to simulate the initial grasping state; the second flexible tactile sensor on the fruit maturity detection module is pressurized, and the pressure data of multiple sensing units in the second flexible tactile sensor at the detection point are output; S13, then adjusting the position of the object to be measured and the detection end of the push-pull force gauge by the dual-axis mobile platform until the detection end of the push-pull force gauge is located directly above another detection point. After the adjustment is completed, continue to drive the push-pull force gauge to move downward a fixed stroke to obtain the pressure data of the second flexible tactile sensor at the detection point; S14, loop S13 until the pressure data of all detection points in the plane area are obtained, thereby obtaining a training set of the fruit hardness classification network.
3. The object sorting method according to claim 1, It is characterized in that The S2 specifically includes the following steps: S21, fixing the depth camera at a position outside the robotic arm and keeping it motionless, while keeping the relative position between the calibration pattern and the end of the robotic arm fixed; S22. Move the robotic arm and use the depth camera to take multiple photos of the calibration pattern, and each time record the homogeneous transformation matrix of the calibration pattern relative to the depth camera. And the homogeneous transformation matrix of the robot end effector relative to the robot base S23, then according to the homogeneous transformation matrix of the calibration image relative to the robot base The transformation matrix of the depth camera relative to the robotic arm base is solved by the following equation Then the hand-eye calibration process of the depth camera is completed, and the target position perceived by the depth camera is mapped to the motion trajectory of the robotic arm; in, and Represents the homogeneous transformation matrix of the end effector of the robot arm relative to the base of the robot arm at three different positions after the robot arm is moved. and Represents the homogeneous transformation matrix of the calibration pattern at three different positions relative to the depth camera after moving the robotic arm.
4. The object sorting method according to claim 1, It is characterized in that The S4 specifically includes the following steps: S41, the depth camera transmits the visual information to the trained YOLOv8 model in the host computer control unit, and the posture estimator in the trained YOLOv8 model confirms the grasping point of the target fruit based on the visual information transmitted by the depth camera; S42, the host computer control unit generates control information according to the grasping point of the target fruit, and transmits the control information to the robotic arm, and the robotic arm grasps the target fruit using the mechanical gripper at the end of the robotic arm; S43, the first flexible tactile sensor on the mechanical gripper senses the hardness information of the target fruit, and transmits the obtained tactile information to the trained fruit hardness classification network to obtain the hardness of the target fruit.
5. The object sorting method according to claim 1, It is characterized in that The following steps are also included: S6, looping S4 to S5 until the maturity information of all fruits is obtained, and all fruits are sorted to designated locations according to the maturity information of all fruits.
6. An arm-hand system, It is characterized in that The object sorting method according to any one of claims 1 to 5 is used for sorting, and the arm-hand system specifically comprises: A robotic arm, mounted in the object sorting area via a robotic arm base; A mechanical gripper, installed at the end of the robotic arm, is used to grab the fruit; A first flexible tactile sensor is fixedly mounted on the fingertip of the mechanical gripper through a base; Depth cameras are installed around the robot arm to obtain visual information of the fruit in real time; The host computer control unit is electrically connected to the robotic arm, the mechanical gripper, the first flexible tactile sensor, and the depth camera respectively to realize the control of the robotic arm and the mechanical gripper. The host computer control unit has a built-in fruit hardness classification network and a YOLOv8 model.
7. The arm-hand system according to claim 6, It is characterized in that The mechanical arm is a six-degree-of-freedom mechanical arm.
8. The arm-hand system according to claim 6, It is characterized in that The mechanical gripper is an articulated adaptive electric gripper equipped with a force control and a programmable control unit.
9. The arm-hand system according to claim 6, It is characterized in that The first flexible tactile sensor is a flexible fingertip tactile sensor based on a 4×4 array of barometer sensors.
10. The arm-hand system according to any one of claims 6 to 9, It is characterized in that The fruit hardness classification network includes a 1-D convolutional layer with ReLU activation, a Dropout layer, and an average pooling layer connected in sequence.
Citation Information
Patent Citations
Self-adaption sorting system and method based on computer vision and machine learning
CN108772840A
Deep learning-based six-degree-of-freedom mechanical arm grabbing pose detection method
CN116277014A
FPGA (Field Programmable Gate Array)-based fruit maturity detection flexible mechanical arm system
CN117621145A
Two-finger clamp deformable object fine grabbing system based on tactile feedback
CN117656039A
Deep learning-based five-finger dexterous arm hand robot contact point grabbing method
CN117984327A
Cited By
Vegetable maturity qualitative and quantitative detection method and system based on image deep learning
CN119715524A
