A non-specific shape object recognition, positioning and manipulator grasping system and method
Through the combination of multi-degree-of-freedom manipulators and deep neural networks, automatic identification and classification of objects of non-specific shapes are realized, solving the problem of inflexibility of traditional manipulator grasping, improving grabbing efficiency and accuracy, and adapting to different types and locations. of parts pickup.
Patent Information
- Application Number
- CN202210384412.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-13
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-04-13
AI Technical Summary
When faced with different types of parts, traditional manipulators are difficult to flexibly identify and grasp. There are problems such as inflexible grasping and insufficient adaptability. Moreover, the system has projection errors in coordinate calculation, resulting in low grasping efficiency and unsatisfactory grasping. Take a pose.
It uses a multi-degree-of-freedom manipulator, a machine vision imaging module and a central processing module, combined with a deep neural network to achieve automatic judgment and classification of targets. It uses image processing and size measurement to guide the manipulator to identify, locate and pick up, and uses a deep neural network model to perform target analysis. Classify, and update parameters through machine learning to achieve accurate classification of emerging non-specific objects.
It realizes the intelligent identification, classification and position measurement of non-specific shaped objects, provides the optimal picking plan in real time, and guides the manipulator to quickly, accurately and orderly pick up random positions and random types of targets, improving the grabbing efficiency and accuracy. .
Smart Images

Figure CN114758236B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of robot grasping, and more specifically, relates to a system and method for identifying and positioning objects of non-specific shapes and grasping them by a robot. Background Art
[0002] In recent years, Internet technology has developed rapidly, and automation has become the mainstream in industrial production. Traditional manual production has gradually disappeared from view, and more advanced production equipment such as emerging industrial robots have entered people's field of vision. For the parts production industry, many problems have arisen. How should a fully automated production line identify different types of parts? How should a robot grasp them?
[0003] At present, when traditional manipulators for industrial production line automation grasp objects, they need to analyze and program the characteristics of the grasped target in advance, and then cooperate with the machine vision system to realize the position positioning of the specific target, and finally guide the manipulator to complete the grasping process. Moreover, in the prior art, the visual recognition algorithm is only for parts with certain characteristics, and it is not possible to completely recognize random objects. In addition, there is a certain projection error in the calculation of coordinates in the system, which causes the manipulator to have an error of about several millimeters when grasping objects. In addition, the grasping strategy of the manipulator is not optimal, and there are some redundant movements in the grasping process of the manipulator, so the grasping efficiency is not very high. When the manipulator grasps an object, it will have an undesirable grasping posture, which will cause the grasping error and cause the manipulator to stop. The manipulator has a size limit on the grasped object, and the grasped object cannot be too large or too small. When grasping an object, the manipulator occasionally fails to grasp it steadily, causing the object to fall.
[0004] In view of the above defects of the prior art, it is necessary to develop a system and method for identifying, positioning and grasping objects of non-specific shapes for a robot arm. Summary of the invention
[0005] In view of the defects of the prior art, the purpose of the present invention is to provide a system and method for identifying, locating and grasping objects of non-specific shapes by a robot. By combining deep neural network learning, automatic judgment and classification of targets can be achieved, and the robot can be guided to pick up targets with random positions within a certain range. This aims to solve the problems of insufficient flexibility and adaptability of the robot's grasping in the prior art.
[0006] To achieve the above-mentioned purpose, the present invention provides a non-specific shape object recognition, positioning and manipulator grasping system, which includes a multi-degree-of-freedom manipulator, a machine vision imaging module and a central processing module, wherein:
[0007] The multi-degree-of-freedom manipulator includes a clamping claw and / or a suction nozzle. The multi-degree-of-freedom manipulator is connected to the central processing module to be controlled by the central processing module and performs picking up of the target according to the plane motion coordinates and the target peripheral dimensions given by the central processing module.
[0008] The machine vision imaging module includes an industrial camera and an imaging lens. The machine vision imaging module is connected to the central processing module to transmit the image data collected by itself to the central processing module.
[0009] The central processing module is used to receive image data collected by the machine vision imaging module, process the image data, extract the target contour, and measure the external dimensions of each target based on the target contour combined with the calibrated mapping relationship between the object space size and the number of pixels in the image space. It is also used to classify targets according to their external dimensions using a deep neural network model, and then guide and control the multi-degree-of-freedom manipulator to identify, locate and pick up the targets.
[0010] Furthermore, an image processing submodule is integrated in the central processing module. The image processing submodule is used to perform image data processing. Specifically, a contrast-improved working area image is obtained through histogram equalization, and then the target to be picked up in the working area image is segmented through an edge extraction algorithm. All target contours in the working area image are extracted to provide a data basis for subsequent analysis and processing.
[0011] Furthermore, a dimension measurement submodule is integrated in the central processing module, which is used to measure the target dimension information according to the target contour. The target dimension information includes the aspect ratio, rectangularity and roundness of the circumscribed rectangle. It is also used to measure the actual spatial coordinates of the center position of the target plane according to the target contour information, which is used for subsequent guidance of the robot picking.
[0012] Furthermore, the central processing module is also integrated with a target classification submodule, which is used to classify the target through a trained deep neural network model based on the target contour information extracted by the image processing submodule and the target size information obtained by the size measurement submodule, and if the target cannot be classified into the known target characteristic classification library, it will be added to the classification library as a new target feature.
[0013] Furthermore, a picking guidance submodule is integrated in the central processing module, which is used to guide the manipulator to complete the picking of the target according to the set picking method based on the position information and classification information of each target in the working area.
[0014] According to a second aspect of the present invention, there is also provided a method for identifying, locating and grasping an object of a non-specific shape by a robot, which comprises the following steps:
[0015] S1: Acquire image data in digital format.
[0016] S2: Perform image preprocessing on the image data in the data format, obtain the target image, use edge extraction and sub-pixel analysis to obtain the edge information of the target in the target image, and determine its circumscribed rectangle based on the edge information.
[0017] S3: Pair the edge information and bounding rectangle of each target, store the pairing results in the target information list, analyze each information in the list, calculate the length and width information of each target's bounding rectangle and the coordinate information of the center position of the bounding rectangle, and store the information in the target information list for target classification.
[0018] S4: Use the pre-trained deep neural network model to classify the target information. A deep neural network consisting of an input layer, multiple hidden layers, and an output layer is used as the classification network. The network input information is the target contour and size information, and the output is the classification result.
[0019] When classifying targets, if a new type of target is found, first exclude the possibility that it overlaps with a known target. If it still exhibits the characteristics of a new target, treat it as a new target that appears for the first time. Add the acquired new target data to the training set, and generate a large amount of target data with similar characteristics through a generative adversarial neural network. Then, update the parameters of the deep neural network model through machine learning training to achieve accurate classification of newly appeared non-specific targets.
[0020] S5: Instruct and control the multi-degree-of-freedom manipulator to identify, locate and pick up the target in a set manner. When picking up non-specific targets, place them in the corresponding collection space according to a predetermined collection method.
[0021] Furthermore, in step S4, the specific operation for excluding the overlap of the position of the new type of target with the known target is to first guide the manipulator to move to the vicinity of the new type of target according to the position measurement result, perform a touch operation on the new type of target, change the target position, and then re-capture images of the working area, and then perform target recognition on the area where the new type of target appears. If it still exhibits the characteristics of a new target, it is regarded as a new target that appears for the first time.
[0022] Furthermore, in step S3, when the length, width and coordinate information of the center position of the circumscribed rectangle of each target are calculated, the first coordinate system is the spatial coordinate system, the second coordinate system is the image coordinate system, and the third coordinate system is the manipulator coordinate system. The image coordinate system is established based on the fixed captured image, the spatial coordinate system is established based on the specific position of the object on the placement plane, the placement plane is the xy plane, and the vertical direction is the positive direction of the z-axis. The manipulator coordinate system is established in the actual space based on the difference in position of the two feature points before and after the movement of the manipulator. The conversion of the coordinates in the second coordinate system to the first coordinate system is completed through a matrix, and the conversion of the coordinates in the first coordinate system to the third coordinate system is completed through a second matrix.
[0023] Furthermore, in step S5, after placing the target, the multi-degree-of-freedom manipulator returns its own position and posture to the external central processing module to confirm whether the coordinates of the manipulator are correct. The multi-degree-of-freedom manipulator sorts the target objects according to their sizes before grabbing the targets, and classifies different objects according to their types and sizes and places them in corresponding different positions.
[0024] Furthermore, in step S2, image preprocessing includes one or more of grayscale stretching, histogram equalization, smoothing filtering, distortion correction, and white balance correction. In step S5, when guiding and controlling the multi-degree-of-freedom manipulator to identify, locate and pick up the target according to a set method, the set method refers to a method of sorting coordinates according to the target size, shape and / or color gamut.
[0025] The present invention identifies different parts by extracting information about the parts in the field of view, and the main methods include calculating the aspect ratio of the circumscribed rectangle of the parts, and calculating the rectangularity and roundness of the parts. Considering that the parameters required for template matching are relatively large and complex, more time is required for calculation, and the setting of parameters has a great influence on the speed and results, template matching is not used to identify the objects to be grasped, but the aspect ratio, rectangularity and roundness of the parts are distinguished. This method undoubtedly makes the method and system of the present invention more efficient. As for the grasping of the manipulator, the algorithm design applied in the present invention enables the manipulator to automatically adjust the posture when grasping, making the grasping more accurate, and at the same time, more accurate control of the manipulator can be achieved through the operation panel and the program.
[0026] After placing an object, the robot will return its position to the computer or industrial computer, so a certain degree of monitoring can be achieved to confirm whether the coordinates of the robot are correct. Before grabbing an object, the robot can sort the objects by size to grab the objects, and classify different objects by type and size to place them in different positions.
[0027] In general, the above technical solution conceived by the present invention has the following beneficial effects compared with the prior art:
[0028] In the system of the present invention, by combining machine vision and the idea of deep learning methods, a deep neural network model is constructed to realize automatic judgment and classification of targets that appear for the first time, and these features are automatically merged into the target feature information library accumulated over a long period of time, so that in subsequent applications, non-specific targets can be adaptively recognized, classified and position measured. The system and method of the present invention realizes the size measurement, appearance feature analysis, occlusion identification, characteristic classification and position measurement of the target based on the image of the working area taken by the machine vision system, through the image processing algorithm combined with artificial intelligence technology, and on this basis, the optimal target picking scheme is given in real time, guiding the manipulator to quickly, accurately and orderly pick up targets of random positions, random types and possible occlusions. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a schematic diagram of the working process of the non-specific shape object recognition, positioning and manipulator grasping system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0031] The non-specific shape object recognition, positioning and manipulator grasping system of the present invention mainly includes a functional platform part and a sub-module part integrated in the functional platform part. The functional platform part includes a multi-degree-of-freedom manipulator, a machine vision imaging module and a central processing module. The sub-module part integrated in the functional platform part includes an image processing sub-module, a dimension measurement sub-module, a target classification sub-module and a picking guidance sub-module. These two parts cooperate with each other to realize the functions of identifying, positioning and grasping non-specific shape targets designed by the present invention application.
[0032] Among them, the multi-degree-of-freedom manipulator can select products with different structures, different load capacities and different motion accuracy according to the task requirements. The basic requirement is to have the ability to accurately grasp the target based on the given manipulator plane motion coordinates and target peripheral size information, using the manipulator equipped with claws, nozzles and other components. The machine vision imaging module is composed of a high-resolution industrial camera, an imaging lens, an illumination source and its installation structure. The resolution of the high-resolution industrial camera is determined by the minimum size of the target to be picked up and the focal length parameters of the imaging lens, while the focal length, aperture and other parameters of the imaging lens need to be calculated based on the range of the working area to be detected. The illumination source is used to effectively illuminate the target and the working area, which is calculated based on the surface color and reflectivity characteristics of the target to be measured and the background reflection characteristics of the working area. The installation structure in the module is responsible for ensuring that the machine vision imaging module and the manipulator are in a relatively fixed spatial position, which is convenient for determining the coordinate transformation matrix and improving the guidance accuracy when guiding the manipulator in the later stage. The central processing module is mainly responsible for the operation of the software system, including collecting image data from the camera, running the analysis software to give guidance data, and controlling the manipulator and the various components of the machine vision imaging module to work normally according to the given parameters and coordinate positions.
[0033] The central processing module integrates multiple sub-modules, including image processing sub-module, dimension measurement sub-module, target classification sub-module and picking guidance sub-module. The specific functions of each module are as follows:
[0034] The image processing submodule processes the working area images collected by the machine vision system, obtains the working area images with improved contrast through image preprocessing methods such as histogram equalization, and then segment the targets to be picked up through the edge extraction algorithm, accurately extracting the contours of all targets in the working area, providing a data basis for subsequent analysis and processing.
[0035] Based on the contour information of all targets in the working area obtained by the image processing module, the size measurement submodule measures the external dimensions of each target through the mapping relationship between the calibrated object space size and the number of image space pixels. At the same time, the actual spatial coordinates of the center position of the plane are measured according to the target contour information for subsequent guidance of the robot picking.
[0036] The target classification submodule uses the target contour information extracted by the image processing module and the target size information obtained by the size measurement module to classify it through the trained deep neural network. If the target cannot be classified into the known target feature classification library, it will be added to the classification library as a new target feature.
[0037] The picking guidance submodule obtains the position information and classification information of each target in the working area after processing by all the previous modules, and guides the manipulator to complete the task of picking up the target according to the established logic.
[0038] Figure 1 1 is a flow chart of the operation of the non-specific shape object recognition, positioning and robot grasping system provided by an embodiment of the present invention. Combining the figure with the non-specific shape object recognition, positioning and robot grasping method, it can be seen that the method of the present invention mainly includes the following steps:
[0039] (1) The machine vision imaging module performs imaging detection on the working area. The light source evenly illuminates the target in the working area, and the image is formed on the image plane of the high-resolution industrial camera through the imaging lens. The formed image is transmitted to the central processing module through the digital signal transmission line. The module collects and stores it as a digital format image for subsequent processing.
[0040] (2) The digital format image is sent to the image processing module. First, the image preprocessing methods such as grayscale stretching, histogram equalization, smoothing filtering, distortion correction, and white balance correction in computer graphics are used to obtain a high-contrast, low-noise, and distortion-free target image. Then, the edge extraction and sub-pixel analysis algorithms are used to obtain high-precision edge information of the target in the image. Finally, the target edge obtained by analysis is used to determine its circumscribed rectangle for further size measurement.
[0041] (3) Pair the edge contour and circumscribed rectangle of each analyzed target and store them in a target information list. Use the size measurement module to analyze each piece of information in the list, calculate the length and width of the circumscribed rectangle and the coordinate information of the center position of the rectangle, and store the information in the target list for the next step of target classification.
[0042] (4) Use a pre-trained classification deep neural network to classify the target information. The classification is based on the measured size and specific contour information of the target. Since randomly placed targets may be in various postures when being photographed, the outer contour obtained by processing the captured image may have various shapes, and the measured size may also be different. Therefore, a simple linear model cannot be used to directly classify them. Consider using a deep neural network consisting of an input layer, multiple hidden layers, and an output layer as a classification network. The network input information is the target contour and size information, and the output is the classification result. The model is trained using prior measurement data as training data. The resulting neural network model can classify known targets with an accuracy rate of more than 99%. If an accurate classification cannot be achieved, it may be considered that it is a new type of target that appears for the first time, and the next step is taken.
[0043] (5) For new types of targets that appear in the classification, we must first rule out the possibility that they are misclassified due to the overlap of known targets and the appearance of different features on the two-dimensional image. Therefore, each time a new target is discovered, the robot is first guided to move to the vicinity of the target based on the position measurement results, and a small touch operation is performed on the target to slightly change the target position. The machine vision system is then used to photograph the working area, and then the target is identified in the area where the new target appears. If it is still a target after the robot operation and still exhibits the characteristics of a new target, it is regarded as a new target that appears for the first time. The acquired new target data is added to the training set, and a large amount of target data with similar characteristics is generated through a generative adversarial neural network to enrich the new type of training data. The parameters of the deep neural network are then updated through machine learning training to achieve accurate classification of the newly appeared non-specific object targets.
[0044] (6) After obtaining the outline, position and classification information list of all targets in the working area, the control software determines the picking order according to the picking logic, and guides the robot to move to the corresponding actual coordinate position in sequence, picks up non-specific targets, and then places them in the corresponding collection space according to the agreed collection method.
[0045] In the present invention, the "eye", such as the visual part of the system, determines the target position through a series of image processing, and the "hand", such as the manipulator movement part of the system, includes the grasping and placement of the manipulator, and the hand-eye combined part, including data transmission and coordinate conversion, combines the "hand" and "eye" of the system.
[0046] In one embodiment of the present invention, the halcon software is used to complete the relevant image processing. Specifically, under the conditions of a given background and sufficient light source, the original picture is obtained by photography, and the image is corrected by halcon to eliminate aberrations, and a rectangular field of view picture on the basic placement plane is obtained. The n*n standard calibration plate downloaded from halcon is used to determine the correctness of the field of view according to its size, that is, the image position matches the actual position. Through the powerful visual processing ability of halcon, the circumscribed rectangle of each object to be captured in the field of view is extracted, and the recognition of different types of objects is achieved by the characteristics of the aspect ratio and area of the rectangle. The scanned objects are classified, and the classification is based on factors such as size, shape, and color gamut, and then the coordinates of these images are sorted in the order required by the user, such as according to size, shape, and color gamut. At present, the objects used in the project are mainly commonly used parts in industry, such as nuts and nuts, which have obvious characteristics in shape and have a more regular shape, which are relatively easy to identify and classify.
[0047] When the robot grasps and places the target object, the robot movement path needs to be set. Because of the influence of the robot itself, the constraints of the surrounding metal frame and the obstruction of the small objects to be grasped on the placement plane, planning the movement path of the robot before grasping can avoid the movement of the robot being blocked and the robot destroying the original scene. When grasping, the robot arm obtains the initial coordinates of the parts in sequence and moves the robot arm to the initial coordinates. The robot arm calculates the reasonable grasping angle of the measured object by the size of the preset length of the image and controls the steering of the two-finger robot claw. The robot arm calculates the vertical coordinate landing point of the preset length according to the horizontal and vertical coordinate differences of the current feature points, adjusts the vertical coordinate to move to the target position, and tightens the robot claw. When the robot arm recognizes that it has not grasped the object to be grasped, it will obtain the coordinates of the next target until it grasps the object. After the robot arm grasps the object to be grasped, it identifies the path to the object placement position according to the position of the current feature point, and plans the direction of travel of the robot arm to avoid the movement of the robot being blocked or destroying the original placement scene. When the robot arm recognizes the feature point and reaches the predetermined placement position, it will slowly fall down. During the fall, it will check the force of the robot arm. If the robot arm is subjected to an upward force, it will be judged that the robot arm has fallen to the bottom. The robot arm will release the mechanical grip and grab the parts. The robot arm will place them in different places according to the type of parts. In addition, the robot arm will classify the objects it grabs according to their size and place the parts in different places according to different area intervals. The industrial computer that controls the robot arm will display the coordinates of the target object grabbed by the robot arm and the coordinates of the object placed by the robot arm at the target position in real time, which has a monitoring effect.
[0048] In the present invention, when converting the information of machine vision into information that can be used by the robot arm, it is equivalent to combining the "hand" and the "eye", and mainly requires coordinate conversion and data transmission. When performing coordinate conversion, the first coordinate system is the space coordinate system, the second coordinate system is the picture coordinate system, and the third coordinate system is the robot coordinate system. The picture coordinate system is based on the picture in the halcon obtained by fixed shooting, and the space coordinate system is based on the specific position of the object on the placement plane, and the placement plane is the xy plane, and the vertical direction is the positive direction of the z axis. The robot coordinate system is based on the difference position of the two feature points before and after the movement of the robot. The system is built in the actual space, and the conversion of the coordinates in the second coordinate system to the first coordinate system is completed by a matrix, and the conversion of the coordinates in the first coordinate system to the third coordinate system is completed by a second matrix. After obtaining the coordinates in the data arrangement of image processing, coordinate transformation is performed, and the redis database is used to perform image processing and rapid transmission of thermal data of the robot arm system, and coordinate data interaction is performed in the database.
[0049] In one embodiment of the present invention, based on Universal Robots e5 of Universal Robots, a two-finger robot claw is used to perform a grasping task with an effective working radius of up to 850 mm and a maximum weight of five kilograms. A metal frame is set up around the robotic arm, wherein the robotic arm is ensured to be located at the midpoint of one side of the rectangular projection of the metal frame in the top view, and the vertical distance between the CCD camera and the object plane is ensured to be, for example, 88 cm. The GO-5100M-USB camera of JAI was selected. The CCD target surface of the camera is 2 / 3 inches. According to the calculation and the final actual matching, a lens with a focal length of f=16mm is used to obtain a rectangular field of view of 50cm*40cm covered by the camera. Luminous flux E=(1 / (D*D))*lnx, D is the distance from the light source to the object to be measured, and x is the distance from the object to the lens (working distance) WD obtained by the luminous intensity. The image magnification PMAG is calculated by the known sensor imaging surface height Hi and the size of the object to be measured (field of view height) Ho, PMAG = Sensor Size (mm) / Field of View (mm) = Hi / Ho. Use the formula to calculate the required focal length f, f = WD * PMAG / (1 + PMAG), select the standard lens product closest to the calculated value, and take its focal length value. Standard lens focal lengths are, for example, 8mm, 12.5mm, 16mm, 25mm and 50mm. Recalculate the distance WD from the lens to the object according to the selected lens focal length. Among them, LE = Di-f = PMAG * f, PMAG = Di / WD or WD = f * (1 + PMAG) / PMAG, which is converted into Chinese as: Resolution = photosensitive chip size / pixel size = field of view length or width / detection accuracy. Based on the Feichuang Yida optical platform, a PVC board and a pure black curtain can be used on the placement plane to build a placement area of for example, 90cm * 90cm in size, and under such a contrast, no additional light source is added.
[0050] In the present invention, an object recognition, positioning and grasping system combining machine vision imaging and intelligent algorithm for adaptive recognition of targets of non-specific shapes is constructed. This system eliminates the need for analysis or programming of the targets to be grasped. It directly uses artificial intelligence algorithms in conjunction with edge computing modules to automatically classify and identify newly emerging objects of different shapes and sizes. The positioning algorithm achieves high-precision positioning and guides the robot to accurately grasp non-specific targets of any shape and size.
[0051] The target adaptive recognition intelligent algorithm designed in the present invention utilizes the design concepts of deep neural networks and machine learning. By constructing and training neural networks, it realizes the automatic extraction and clustering of appearance features and size parameters, and adaptively determines whether to add object types based on the classification results, thereby realizing efficient adaptive recognition of non-specific objects with any new characteristics.
[0052] In the present invention, the designed machine vision imaging module is relatively fixed with the spatial installation reference of the manipulator, and a high-precision calibration algorithm is used to realize fast and efficient conversion of image coordinates and manipulator spatial coordinates, thereby realizing artificial intelligence object recognition and positioning functions combined with image processing algorithms, and guiding the manipulator to obtain specific feature targets according to instructions or classify and pick up targets according to target features.
[0053] The present invention has the following two relatively clever and novel aspects: (1) Intelligent adaptive classification of new targets. The demand for flexible production in the field of intelligent manufacturing is increasing day by day. In modern intelligent production lines, there will be a need to carry and assemble a large number of small batches, multiple specifications, and randomly appearing parts or components. When traditional manipulators carry parts, they must first know the size, shape and other characteristics of the target to be carried. After analysis and pre-programming, they can achieve accurate and reliable grasping. The present invention combines machine vision and deep learning methods to construct a deep neural network to realize automatic judgment and classification of the first-appearing target, and automatically merge these features into a long-term accumulated target feature information library. In subsequent applications, it can adaptively realize intelligent recognition, classification and position measurement of non-specific targets. (2) Adaptive, real-time guidance of the manipulator to automatically pick up the target. At present, the way manipulators pick up targets on industrial automatic production lines is mostly based on fixed-point picking of fixed target positions. In very few applications, machine vision is used to guide the manipulator to realize the picking function of targets with random positions within a certain range. Once the products are of various types, large in number, randomly placed, or even blocked from each other, the system cannot achieve effective recognition and picking. The system applied for in the present invention is based on the image of the working area taken by the machine vision system, and realizes the size measurement, appearance feature analysis, occlusion identification, characteristic classification and position measurement of the target through the image processing algorithm combined with artificial intelligence technology. On this basis, the optimal target picking plan is given in real time to guide the robot to quickly, accurately and orderly pick up targets of random positions, random types and possible occlusions.
[0054] The system and method of the present invention can be applied in the following fields: (1) Parts sorting on automatic production lines: Due to the fineness of the parts, the system can classify different parts by size, weight, shape, and color, and automatically sort them into different areas, greatly reducing manpower and material resources; (2) Intelligent classification in flexible manufacturing: The flexible manufacturing system is an automated production system controlled by a computer based on grouping technology, which can simultaneously process a group or a class of products with similar shapes. It is suitable for efficient manufacturing modes of multiple varieties and small batches. Under different varieties, according to the individual differences of the varieties, the system of the present invention can be integrated into it to realize intelligent classification, reduce the inventory of blanks and work-in-progress, and reduce direct labor. In addition, the system and method of the present invention can be applied in many places where classification is required.
[0055] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for identifying, locating and grasping objects of non-specific shapes by a robot, characterized in that: It includes the following steps: S1: Acquire image data in digital format. S2: Perform image preprocessing on the image data in the data format, obtain the target image, use edge extraction and sub-pixel analysis to obtain the edge information of the target in the target image, and determine its circumscribed rectangle based on the edge information. S3: Pair the edge information and bounding rectangle of each target, store the pairing results in the target information list, analyze each information in the list, calculate the length and width information of each target's bounding rectangle and the coordinate information of the center position of the bounding rectangle, and store the information in the target information list for target classification. S4: Use the pre-trained deep neural network model to classify the target information. A deep neural network consisting of an input layer, multiple hidden layers, and an output layer is used as the classification network. The network input information is the target contour and size information, and the output is the classification result. When classifying targets, if a new type of target is found, first exclude the possibility that it overlaps with a known target. If it still exhibits the characteristics of a new target, treat it as a new target that appears for the first time. Add the acquired new target data to the training set, and generate a large amount of target data with similar characteristics through a generative adversarial neural network. Then, update the parameters of the deep neural network model through machine learning training to achieve accurate classification of newly appeared non-specific targets. S5: Guide and control the multi-degree-of-freedom manipulator to identify, locate and pick up the target according to the set method. When picking up non-specific targets, place them in the corresponding collection space according to the predetermined collection method. Among them, in step S4, the specific operation of excluding the overlap of the position of the new type of target with the known target is to first guide the manipulator to run near the new type of target according to the position measurement result, touch the new type of target, change the target position, and then re-capture the image of the working area, and then identify the area where the new type of target appears. If it still shows the characteristics of the new target, it is regarded as a new target that appears for the first time.
2. A method for identifying, locating and grasping objects of non-specific shapes as claimed in claim 1, characterized in that: In step S3, when the length, width and coordinate information of the center position of each target circumscribed rectangle are calculated, the first coordinate system is the space coordinate system, the second coordinate system is the picture coordinate system, and the third coordinate system is the manipulator coordinate system. The picture coordinate system is established based on the fixed captured image, the space coordinate system is established based on the specific position of the object on the placement plane, the placement plane is the xy plane, and the vertical direction is the positive direction of the z-axis. The manipulator coordinate system is established in the actual space based on the difference in position of the two feature points before and after the movement of the manipulator. The conversion of the coordinates in the second coordinate system to the first coordinate system is completed through a matrix, and the conversion of the coordinates in the first coordinate system to the third coordinate system is completed through a second matrix.
3. A method for identifying, locating and grasping objects of non-specific shapes as claimed in claim 2, characterized in that: In step S5, after placing the target, the multi-degree-of-freedom manipulator returns its own position and posture to the external central processing module to confirm whether the coordinates of the manipulator are correct. The multi-degree-of-freedom manipulator sorts the target objects according to their size before grasping them, and classifies them according to their type and size, placing different objects in corresponding different positions.
4. A method for identifying, locating and grasping objects of non-specific shapes as claimed in claim 3, characterized in that: In step S2, image preprocessing includes one or more of grayscale stretching, histogram equalization, smoothing filtering, distortion correction, and white balance correction. In step S5, when the multi-degree-of-freedom manipulator is guided and controlled to identify, locate and pick up the target according to a set method, the set method refers to a method after sorting the coordinates according to the size, shape and / or color range of the target.
5. A non-specific shape object recognition, positioning and manipulator grasping system implementing the method as described in any one of claims 1 to 4, characterized in that: It includes a multi-degree-of-freedom manipulator, a machine vision imaging module and a central processing module, among which: The multi-degree-of-freedom manipulator includes a clamping claw and / or a suction nozzle. The multi-degree-of-freedom manipulator is connected to the central processing module to be controlled by the central processing module and performs picking up of the target according to the plane motion coordinates and the target peripheral dimensions given by the central processing module. The machine vision imaging module includes an industrial camera and an imaging lens. The machine vision imaging module is connected to the central processing module to transmit the image data collected by itself to the central processing module. The central processing module is used to receive image data collected by the machine vision imaging module, process the image data, extract the target contour, and measure the external dimensions of each target based on the target contour combined with the calibrated mapping relationship between the object space size and the number of pixels in the image space. It is also used to classify targets according to their external dimensions using a deep neural network model, and then guide and control the multi-degree-of-freedom manipulator to identify, locate and pick up the targets.
6. A non-specific shape object recognition, positioning and manipulator grasping system as claimed in claim 5, characterized in that: The central processing module is integrated with an image processing submodule, which is used to perform image data processing. Specifically, a contrast-improved working area image is obtained through histogram equalization, and then the target to be picked up in the working area image is segmented through an edge extraction algorithm. All target contours in the working area image are extracted to provide a data basis for subsequent analysis and processing.
7. A non-specific shape object recognition, positioning and manipulator grasping system as claimed in claim 6, characterized in that: The central processing module also integrates a dimension measurement submodule, which is used to measure the target dimension information according to the target contour. The target dimension information includes the aspect ratio, rectangularity and roundness of the circumscribed rectangle. It is also used to measure the actual spatial coordinates of the center position of the target plane according to the target contour information, which is used for subsequent guidance of the robot picking.
8. The non-specific shape object recognition, positioning and manipulator grasping system according to claim 7, characterized in that: The central processing module also integrates a target classification submodule, which is used to classify the target through the trained deep neural network model according to the target contour information extracted by the image processing submodule and the target size information obtained by the size measurement submodule. If the target cannot be classified into the known target feature classification library, it will be added to the classification library as a new target feature.
9. The non-specific shape object recognition, positioning and manipulator grasping system according to claim 8, characterized in that: The central processing module also integrates a picking guidance submodule, which is used to guide the manipulator to complete the picking of the target according to the set picking method based on the position information and classification information of each target in the working area.
Citation Information
Patent Citations
Disordered part grabbing system with three-dimensional visual positioning and mechanical arm cooperatively working
CN113269723A
Target grabbing method of robot vision grabbing system based on multi-modal feature deep learning
CN113524194A
Learning system for learning visual representation of object, and computer program
JP2008257353A
Chess piece positioning method and system based on machine vision, storage medium, and robot
WO2019080229A1
