A kind of automatic control method and system of handling robot based on machine vision

Machine vision technology is used to extract the outline features of items and the distribution positions of obstructing items, and combined with the obstruction removal algorithm and robot positioning data, accurate handling path planning under obstruction is achieved, solving the problem of the impact of item obstruction in the existing technology, and improving Improve the accuracy and efficiency of handling operations.

CN118155176BActive Publication Date: 2024-09-06XINJIANG HUILIFENG WAREHOUSING EQUIPMENT CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202410565345.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-09
Publication Date
2024-09-06
Estimated Expiration
2044-05-09

AI Technical Summary

Technical Problem

Existing technology is difficult to achieve accurate detection of items to be transported when items are blocked and aliased, affecting the accuracy of transportation path planning and operation.

Method used

An automatic control method based on machine vision is adopted to obtain storage environment images, extract object outline features, mark the distribution locations of occluded items, use the occlusion removal algorithm to restore the outline, and combine the robot positioning data to set the initial path and simulate handling through virtual robots. Correct the path in real time to ultimately achieve accurate transportation path planning.

Benefits of technology

It improves the integrity of the item outline information and the accuracy of the handling operation, enhances the identification and positioning capabilities of the handling robot, ensures the safety and efficiency of the path, and adapts to dynamic environmental changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118155176B
    Figure CN118155176B
Patent Text Reader

Abstract

The present invention discloses an automatic control method and system for a handling robot based on machine vision, which relates to the field of automatic control technology, including using machine vision technology to obtain a storage environment image of items to be handled; extracting contour features of the items to be handled from the storage environment image, and marking the distribution positions of obstructed items in the items to be handled; restoring the contours of the obstructed items using an obstruction removal algorithm; setting an initial handling path in combination with the robot's own positioning data and the target position of the items to be handled; controlling a virtual robot to simulate handling and correct the initial handling path in real time based on the result of feature detection and the initial handling path to obtain a final handling path; and dispatching a robot to carry the items to be handled according to the final handling path. The present invention restores the contours of obstructions, improves the integrity of the contour information of the items to be handled, improves the accuracy of the handling operation, and enables the robot to more effectively control the handled items.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automatic control technology, and in particular to a method and system for automatic control of a handling robot based on machine vision. Background Art

[0002] With the rapid development of the logistics industry, more and more warehousing companies have turned to intelligent equipment to improve efficiency and reduce labor costs in daily operations. In this trend, handling robots have emerged as an emerging technology that has attracted much attention. Their introduction not only brings significant cost savings to warehousing companies, but also enables them to quickly and reliably complete a large number of tedious work tasks during busy times.

[0003] As part of intelligent equipment, handling robots have advanced sensing and control technologies and can perform handling operations autonomously without direct human involvement, providing great convenience for warehousing companies, especially in scenarios where a large number of items need to be handled or repetitive labor exists. In addition, the working capacity of handling robots enables them to cope with surges in workload at any time, further improving work flexibility and efficiency.

[0004] However, when there are many items to be transported, occlusion and aliasing between the items to be transported are often encountered. In the prior art, when collecting the items to be transported, due to the existence of occlusion, it is often difficult to achieve accurate detection of the occluded items, making it impossible to fully capture all the information of the items to be transported during the item collection process, which may affect the accuracy of subsequent path planning and transportation operations.

[0005] Currently, no effective solution has been proposed for the problems in the related technologies. Summary of the invention

[0006] In view of the problems in the related art, the present invention proposes a method and system for automatic control of a handling robot based on machine vision to overcome the above-mentioned technical problems existing in the existing related art.

[0007] To this end, the specific technical solution adopted by the present invention is as follows:

[0008] According to one aspect of the present invention, a method for automatically controlling a handling robot based on machine vision is provided, and the method for automatically controlling a handling robot based on machine vision comprises the following steps:

[0009] S1. Using machine vision technology to obtain the storage environment image of the items to be transported;

[0010] S2. Extracting contour features of the objects to be transported from the storage environment image, and marking the distribution positions of the obstructed objects in the objects to be transported;

[0011] S3, using an occlusion removal algorithm to restore the outline of the occluded object;

[0012] S4, combining the robot's own positioning data with the target position of the object to be transported, setting the initial transport path;

[0013] S5. Based on the result of feature detection and the initial transport path, control the virtual robot to simulate transport and correct the initial transport path in real time to obtain the final transport path;

[0014] S6. Dispatching a robot to transport the items according to the final transport path.

[0015] Optionally, extracting contour features of the objects to be transported from the storage environment image and marking the distribution positions of obstructed objects in the objects to be transported comprises the following steps:

[0016] S21, based on the acquired storage environment image, using a gradient image algorithm to process the storage environment image to obtain an edge marking line;

[0017] S22, using Fourier descriptors to extract contour features of the object to be transported from the edge markings;

[0018] S23, using a fully convolutional network model to learn and identify the contour features of the objects to be transported;

[0019] S24. Using a real-time target detection algorithm, mark the distribution positions of obstructed objects among the objects to be transported.

[0020] Optionally, based on the acquired storage environment image, the storage environment image is processed by using a gradient image algorithm to obtain edge markings, including the following steps:

[0021] S211, based on the acquired storage environment image, converting the color image in the storage environment image into a grayscale image using a grayscale conversion formula;

[0022] S212, processing the converted grayscale image using a gradient image algorithm;

[0023] S213, based on the processed result, performing a binarization process on the gradient amplitude;

[0024] S214, using a connectivity-based region growing algorithm to connect the edges of the binarized storage environment image to obtain edge markings.

[0025] Optionally, processing the converted grayscale image using a gradient image algorithm comprises the following steps:

[0026] S2121, accumulating the converted grayscale image to obtain a gradient image of the pixel points;

[0027] S2122, calculating original gradients in four directions of the gradient image using a gradient image algorithm;

[0028] S2123, dividing the detection window into two groups, and respectively calculating the sum of the products of the absolute values ​​of the weights corresponding to the templates and the three pixels in the two groups;

[0029] S2124, obtaining four new gradient values ​​by calculating the original gradients in four directions;

[0030] S2125. Assign the maximum value of the four new gradient values ​​obtained to the pixel at the center of the detection window image, and output it as the final gradient value.

[0031] Optionally, the calculation formula for calculating the original gradients in four directions in the gradient image using the gradient image algorithm is:

[0032]

[0033] In the formula, Indicates k The feature map is at coordinate position The pixel value of

[0034] It means that the function is at the coordinate position The pixel value of

[0035] Indicated in k The position in the weight matrix corresponding to the feature map is The weight value of

[0036] k Indicates the gradient direction;

[0037] m,n Both represent the offset of the detection window.

[0038] Optionally, extracting contour features of the object to be transported from the edge markings using Fourier descriptors includes the following steps:

[0039] S221, using a connectivity analysis method to extract the outline of the object to be transported based on edge markings;

[0040] S222, calculating a Fourier descriptor for the contour of the object to be transported, adjusting the parameters of the Fourier descriptor according to the shape of the object to be transported, and extracting low-frequency components from the parameters of the Fourier descriptor;

[0041] S223, converting the low-frequency component into a coordinate sequence by inverse Fourier transform;

[0042] S224. Perform hierarchical clustering analysis on the coordinate sequence and the Fourier descriptor to obtain contour features of the object to be transported.

[0043] Optionally, restoring the outline of the occluding object using the occluding object removal algorithm includes the following steps:

[0044] S31, using image refocusing technology, selecting the best depth refocusing according to the difference in depth between the object to be transported and the obstructing object;

[0045] S32, based on the positions of the storage environment image array and the machine vision array, continuously iterate using geometric features to select the best tilt factor;

[0046] S33, reconstructing the stored environment image using the optimal tilt factor to obtain a re-depth refocused image;

[0047] S34, segmenting the re-depth refocused image using a minimum error method to obtain occlusion area information;

[0048] S35. According to the occlusion area information, remove the pixels of the occlusion area from the image, and use an occlusion removal algorithm to restore the outline of the occluding object.

[0049] Optionally, based on the positions of the stored environment image array and the machine vision array, continuous iteration using geometric features to select the best tilt factor comprises the following steps:

[0050] S321, establishing a geometric position model of the storage environment image array and the machine vision array, and presetting an initial tilt factor;

[0051] S322, extracting geometric features from the stored environment image and defining an objective function;

[0052] S323, using a gradient descent algorithm to iteratively optimize the objective function;

[0053] S324, judging whether the objective function continues to iterate by using a preset initial tilt factor;

[0054] S325. After the iteration is completed, the optimal tilt factor is obtained.

[0055] Optionally, based on the result of feature detection and the initial transport path, controlling the virtual robot to simulate transport and correcting the initial transport path in real time to obtain the final transport path includes the following steps:

[0056] S51, simulating the transport of the virtual robot according to the initial transport path;

[0057] S52, adjusting the control instructions of the virtual robot in real time according to the transport position, transport speed and transport posture of the virtual robot in the simulated transport;

[0058] S53, obtaining environmental information and obstacle positions of the virtual robot in simulated transportation, and correcting the initial transportation path in combination with an environmental perception algorithm;

[0059] S54, integrating the corrected initial transport path with the distribution positions of the obstructing objects to ensure that the virtual robot can cover all the obstructing objects in the simulated transport.

[0060] According to another aspect of the present invention, there is also provided a handling robot automatic control system based on machine vision, the handling robot automatic control system based on machine vision comprising an image acquisition module, a position marking module, a contour restoration module, a path planning module, a simulation handling module and a handling planning module;

[0061] The image acquisition module, the position marking module, the contour restoration module, the path planning module, the simulation transport module and the transport planning module are connected in sequence;

[0062] An image acquisition module, used to acquire the storage environment image of the items to be transported by using machine vision technology;

[0063] A position marking module is used to extract the contour features of the objects to be transported from the storage environment image and mark the distribution positions of the obstructed objects in the objects to be transported;

[0064] The contour restoration module is used to restore the contour of the occluded object using the occluder removal algorithm;

[0065] The path planning module is used to set the initial transport path by combining the robot's own positioning data with the target location of the object to be transported;

[0066] A simulated transport module is used to control the virtual robot to simulate transport and correct the initial transport path in real time based on the result of feature detection and the initial transport path to obtain the final transport path;

[0067] The transport planning module is used to dispatch robots to transport the items according to the final transport path.

[0068] The beneficial effects of the present invention are:

[0069] 1. The present invention eliminates the influence of obstructing objects by restoring the contours of obstructions, thereby improving the integrity of the contour information of the objects to be transported, helping the machine vision system to more accurately capture the actual shape and layout of the objects, and then generating a more accurate transport path. While improving the integrity of the contour information of the objects to be transported, the accuracy of the transport operation is improved, enabling the robot to more effectively control the transported objects.

[0070] 2. The present invention helps the transport robot to accurately locate the edge information of the transported objects by capturing the edge, shape and structure information of the transported objects, further improving the transport robot's ability to identify and analyze the transported objects, thereby enhancing the transport robot's stable identification and precise positioning under various environmental conditions, making it more adaptable to different work scenarios.

[0071] 3. By combining the distribution positions of the items to be transported, the control system of the present invention can more accurately plan the optimal path and avoid collisions between the transport robot and other items or obstacles, thereby improving the safety of the transport operation, reducing the transport time and energy consumption, and improving the overall transport efficiency. At the same time, as the distribution of the items changes, the control system can correct the transport path in real time to ensure that the transport path always remains in the optimal state, thereby improving the transport robot's ability to adapt to dynamic environmental changes and maintaining the efficiency and accuracy of the transport process. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0073] Figure 1 is a flow chart of an automatic control method of a handling robot based on machine vision according to an embodiment of the present invention;

[0074] Figure 2 The present invention is a block diagram of a machine vision-based automatic control system for a handling robot according to an embodiment of the present invention.

[0075] In the figure:

[0076] 1. Image acquisition module; 2. Position marking module; 3. Contour restoration module; 4. Path planning module; 5. Simulation handling module; 6. Handling planning module. DETAILED DESCRIPTION

[0077] To further illustrate each embodiment, the present invention provides drawings, which are part of the disclosure of the present invention and are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, ordinary technicians in the field should be able to understand other possible implementations and advantages of the present invention. The components in the figures are not drawn to scale, and similar component symbols are generally used to represent similar components.

[0078] According to an embodiment of the present invention, a method and system for automatic control of a handling robot based on machine vision are provided.

[0079] The present invention is further described with reference to the accompanying drawings and specific embodiments. Figure 1 As shown, according to the automatic control method of a handling robot based on machine vision according to an embodiment of the present invention, the automatic control method of a handling robot based on machine vision comprises the following steps:

[0080] S1. Use machine vision technology to obtain the storage environment image of the items to be transported.

[0081] It should be noted that real-time images of the storage environment of the items to be transported are collected using video cameras; the collected images are preprocessed, including denoising, adjusting brightness and contrast, image scaling and other operations; the objects to be transported in the preprocessed images are detected using object detection algorithms, and images of the storage environment containing the items to be transported are obtained.

[0082] S2. Extract contour features of the objects to be transported from the storage environment image, and mark the distribution positions of the obstructed objects in the objects to be transported.

[0083] The steps of extracting contour features of the objects to be transported from the storage environment image and marking the distribution positions of the obstructed objects in the objects to be transported include:

[0084] S21. Based on the acquired storage environment image, the storage environment image is processed by using a gradient image algorithm to obtain edge markings.

[0085] The process of processing the stored environment image using a gradient image algorithm based on the acquired stored environment image to obtain edge markings includes the following steps:

[0086] S211. Based on the acquired storage environment image, a grayscale conversion formula is used to convert the color image in the storage environment image into a grayscale image.

[0087] It should be noted that the grayscale conversion formula is:

[0088]

[0089] In the formula, Grayis the grayscale conversion value;

[0090] R is the value of the pixel in the red channel;

[0091] G is the value of the pixel in the green channel;

[0092] B is the value of the pixel in the blue channel.

[0093] S212: Process the converted grayscale image using a gradient image algorithm.

[0094] The process of processing the converted grayscale image using the gradient image algorithm includes the following steps:

[0095] S2121. Accumulate the converted grayscale image to obtain a gradient image of the pixel points.

[0096] S2122. Calculate original gradients in four directions in the gradient image using a gradient image algorithm.

[0097] S2123, dividing the detection window into two groups, and respectively calculating the sum of the products of the absolute values ​​of the three pixel points in the two groups and the corresponding weights of the template.

[0098] S2124. Obtain four new gradient values ​​by calculating the original gradients in four directions.

[0099] S2125. Assign the maximum value of the four new gradient values ​​obtained to the pixel at the center of the detection window image, and output it as the final gradient value.

[0100] Among them, the calculation formula for calculating the original gradient in four directions in the gradient image using the gradient image algorithm is:

[0101]

[0102] In the formula, Indicates k The feature map is at coordinate position The pixel value of

[0103] It means that the function is at the coordinate position The pixel value of

[0104] Indicated in k The position in the weight matrix corresponding to the feature map is The weight value of

[0105] k Indicates the gradient direction;

[0106] m,n Both represent the offset of the detection window.

[0107] It is necessary to add that k Represents horizontal, vertical, 45 o Directions and 135 o direction.

[0108] S213: Based on the processed result, perform binarization processing on the gradient amplitude.

[0109] It should be noted that a threshold is set, pixels with gradient amplitudes greater than or equal to the threshold are set to one value (for example, 255), and pixels with gradient amplitudes less than the threshold are set to another value (for example, 0). According to the result after threshold processing, the final binary image is obtained, in which only pixels corresponding to gradient amplitudes greater than or equal to the threshold are retained, and other pixels are discarded.

[0110] S214, using a connectivity-based region growing algorithm to connect the edges of the binarized storage environment image to obtain edge markings.

[0111] It should be noted that a pixel point is selected from the binary image as the starting point of the seed point, and the criterion for edge connection is determined (i.e., whether two pixels belong to the same edge, usually including the similarity of pixel grayscale values, spatial distance, etc.); the selected seed point is added to the queue as the starting point for growth, the seed point is taken out from the queue, and it is checked whether the pixels around it meet the connection criteria. Pixels that meet the conditions are added to the queue and marked as belonging to the same edge. The growth process is iterated until the queue is empty; edge markings are generated based on the pixels marked during the connection process, and the edge markings are represented by drawing connected pixel paths or generating borders surrounding connected areas.

[0112] S22. Use Fourier descriptors to extract contour features of the object to be transported from the edge markings.

[0113] The process of extracting the contour features of the object to be transported from the edge markings using the Fourier descriptor includes the following steps:

[0114] S221. Use a connectivity analysis method to extract the outline of the object to be transported based on edge markings.

[0115] It should be noted that, based on the acquired edge markings, the connectivity analysis of the edge markings is initialized, a label is assigned to each pixel, and an empty connected area list is initialized; each pixel is traversed from the upper left corner of the image, and processed one by one in a certain order (such as from left to right, from top to bottom); for each pixel, its relationship with the adjacent pixels is checked to determine whether it belongs to the same edge marking, and the judgment can be made using conditions such as pixel grayscale value and distance; if the current pixel and the adjacent pixel belong to the same edge marking, their labels are set to be the same; if they belong to different markings, consider merging the connected areas and merging the pixels of the adjacent areas into the same connected area; based on the merged or newly created connected areas, the connected area list is updated, and each connected area contains pixels belonging to the same object contour; after traversing all pixels, the contour information of each connected area is extracted from the connected area list, and these contours represent the shape of the object to be transported.

[0116] S222, calculating a Fourier descriptor for the contour of the object to be transported, adjusting parameters of the Fourier descriptor according to the shape of the object to be transported, and extracting low-frequency components from the parameters of the Fourier descriptor.

[0117] It should be noted that the object contour is usually represented as a series of valid point sets, and the point set of the object contour is converted into a complex number representation to form a closed curve, and the Fourier transform is applied to calculate its Fourier descriptor; wherein, the Fourier descriptor is the coefficient obtained by Fourier series expansion of the object contour, which contains the shape information of the object contour and is usually represented as a set of complex numbers, each of which contains amplitude and phase information; according to the shape characteristics of the object to be transported, the parameters of the Fourier descriptor are adjusted, including selecting the number of descriptors, ignoring high-frequency components or adjusting the weight of the descriptor; the Fourier descriptors are usually sorted by frequency, where low-frequency components correspond to the overall characteristics of the shape and high-frequency components correspond to subtle local features; the first few items (usually the first few) in the descriptor coefficients are selected as low-frequency components representing the overall shape of the object.

[0118] S223. Convert the low-frequency components into a coordinate sequence through inverse Fourier transform.

[0119] It should be noted that the selected low-frequency Fourier descriptor coefficients are applied to the inverse Fourier transform, which converts the information in the frequency domain back to the time domain to generate a complex number sequence representing the contour of the object; the real part and the imaginary part are extracted from the complex number sequence obtained by the inverse Fourier transform to obtain a series of complex numbers, each of which represents the coordinates of a point on the plane; the obtained coordinate sequence is processed to obtain a series of coordinate points on the object contour by taking the real part or the imaginary part, or calculating the modulus value; the processed coordinate sequence is connected to form a closed curve, which is the object contour reconstructed by the inverse Fourier transform.

[0120] S224. Perform hierarchical clustering analysis on the coordinate sequence and the Fourier descriptor to obtain contour features of the object to be transported.

[0121] It should be noted that the coordinate sequences of multiple contours of the items to be transported and the corresponding Fourier descriptors are used as input data; if the value ranges of the coordinate sequences and Fourier descriptors are quite different, they can be standardized; a hierarchical clustering analysis is performed on the data to divide the coordinate sequences and Fourier descriptors into different clusters; the data within each cluster is analyzed to understand the characteristics of the data within the cluster; the analysis results are displayed through a scatter plot, and its representative coordinate sequences and Fourier descriptors are extracted as the contour features of the cluster.

[0122] S23. Use a fully convolutional network model to learn and identify the contour features of the objects to be transported.

[0123] It should be noted that SegNet is selected as the basic architecture of the fully convolutional network model, in which the input is the storage environment image, and the output is the corresponding contour map, the object contour part is marked as 1, and the background is marked as 0; according to the complexity of the storage environment image and the characteristics of the contour of the object to be transported, the network structure of SegNet is appropriately adjusted, and the sigmoid activation function is used in the output layer of the fully convolutional network to ensure that the output is between 0 and 1; a data set of storage environment images and corresponding contour labels is obtained, and the data set is preprocessed, including resizing, standardization, data enhancement, etc.; the adjusted SegNet fully convolutional network model is trained using the data set, and the network parameters are optimized through back propagation so that it can accurately learn the contour features of the objects to be transported in the storage environment image.

[0124] S24. Using a real-time target detection algorithm, mark the distribution positions of obstructed objects among the objects to be transported.

[0125] It should be noted that a real-time target detection algorithm is used to perform real-time target detection on the collected storage environment images; for each detected object to be transported, it is determined whether there is an obstructing object, and if so, the boundary box or area of ​​the obstructing object is marked.

[0126] S3. Use the occlusion removal algorithm to restore the outline of the occluded object.

[0127] Among them, using the occlusion removal algorithm to restore the outline of the occluded object includes the following steps:

[0128] S31. Using image refocusing technology, select the best depth refocusing according to the difference in depth between the object to be transported and the obstructing object.

[0129] It should be noted that the image refocusing technology is a light field digital refocusing technology. It uses array machine vision to collect information and refocuses data based on the depth characteristics of the objects to be transported and the obstructions. The depth of field characteristics of machine vision can effectively highlight the detailed information of the objects to be transported and reduce the impact of obstacles.

[0130] S32. Based on the positions of the storage environment image array and the machine vision array, continuous iteration is performed using geometric features to select the best tilt factor.

[0131] The process of selecting the optimal tilt factor based on the position of the storage environment image array and the machine vision array and continuously iterating using geometric features includes the following steps:

[0132] S321, establishing a geometric position model of the storage environment image array and the machine vision array, and presetting an initial tilt factor.

[0133] S322, extracting geometric features from the stored environment image and defining an objective function.

[0134] S323. Use a gradient descent algorithm to iteratively optimize the objective function.

[0135] S324. Determine whether the objective function should continue to iterate based on the preset initial tilt factor.

[0136] S325. After the iteration is completed, the optimal tilt factor is obtained.

[0137] S33. Reconstruct the stored environment image using the optimal tilt factor to obtain a re-depth refocused image.

[0138] It should be noted that the image is adjusted at the pixel level using the optimal tilt factor to ensure that objects at different depths remain clear in the output image, and the reconstructed image is further corrected and reconstructed to ensure the accuracy and rationality of the image.

[0139] S34, using a minimum error method to segment the re-depth refocused image to obtain occlusion area information.

[0140] It should be noted that the re-deeply refocused image is preprocessed, including denoising, contrast enhancement and other steps to improve the accuracy and stability of the segmentation; the edges and change areas in the image are highlighted by calculating the gradient map of the image; the gradient map is segmented into target area and background area using the threshold segmentation method, and a suitable threshold is selected to distinguish the gradient changes in different areas; morphological operations such as erosion and dilation are performed on the segmented image to remove noise, fill small holes or breaks, and make the segmentation result smoother; the re-deeply refocused image is compared with the original image to generate an error map; based on the generated error map, a suitable error threshold is selected; using the minimum error method, areas where the error value exceeds the threshold are marked as occluded areas; the segmentation results are post-processed, including removing small segmented areas, filling holes, etc., to obtain more accurate and continuous occluded areas.

[0141] S35. According to the occlusion area information, remove the pixels of the occlusion area from the image, and use an occlusion removal algorithm to restore the outline of the occluding object.

[0142] It should be noted that the occlusion mask is obtained through the occlusion area information, and the occlusion area is repaired using the image restoration algorithm; the edge information is extracted from the repaired image, the unoccluded part of the original image is combined with the repaired image, and the unoccluded area is retained; the repaired edge information is combined with the retained unoccluded area to restore the outline of the occluded object; the restored image is post-processed, including removing possible artifacts, smoothing edges, etc., to obtain a more natural and realistic effect.

[0143] S4. Combining the robot's own positioning data with the target position of the object to be transported, an initial transport path is set.

[0144] It should be noted that the robot's internal positioning system is used to obtain the robot's current position information, machine vision technology is used to obtain the target position of the object to be transported, and the path planning algorithm is used to set the initial transport path.

[0145] S5. Based on the result of feature detection and the initial transport path, the virtual robot is controlled to simulate the transport and correct the initial transport path in real time to obtain the final transport path.

[0146] Among them, based on the result of feature detection and the initial transport path, controlling the virtual robot to simulate transport and correct the initial transport path in real time to obtain the final transport path includes the following steps:

[0147] S51, simulating transportation of the virtual robot according to the initial transportation path.

[0148] S52, adjusting the control instructions of the virtual robot in real time according to the transport position, transport speed and transport posture of the virtual robot in the simulated transport.

[0149] S53, obtaining environmental information and obstacle positions of the virtual robot in simulated transportation, and correcting the initial transportation path in combination with an environmental perception algorithm.

[0150] S54, integrating the corrected initial transport path with the distribution positions of the obstructing objects to ensure that the virtual robot can cover all the obstructing objects in the simulated transport.

[0151] S6. Dispatching a robot to transport the items according to the final transport path.

[0152] like Figure 2 As shown, according to another embodiment of the present invention, there is also provided a handling robot automatic control system based on machine vision, the handling robot automatic control system based on machine vision comprises an image acquisition module 1, a position marking module 2, a contour restoration module 3, a path planning module 4, a simulation handling module 5 and a handling planning module 6;

[0153] The image acquisition module 1, the position marking module 2, the contour restoration module 3, the path planning module 4, the simulation transport module 5 and the transport planning module 6 are connected in sequence;

[0154] Image acquisition module 1, used to acquire the storage environment image of the items to be transported by using machine vision technology;

[0155] Position marking module 2, used to extract the contour features of the objects to be transported from the storage environment image, and mark the distribution positions of the obstructed objects in the objects to be transported;

[0156] The contour restoration module 3 is used to restore the contour of the obstructed object by using the obstruction removal algorithm;

[0157] The path planning module 4 is used to set the initial transport path by combining the robot's own positioning data with the target position of the object to be transported;

[0158] The simulation transport module 5 is used to control the virtual robot to simulate transport and correct the initial transport path in real time based on the result of feature detection and the initial transport path to obtain the final transport path;

[0159] The transport planning module 6 is used to dispatch the robot to transport the objects according to the final transport path.

[0160] In summary, with the help of the above technical solution of the present invention, the present invention restores the outline of the obstruction and eliminates the influence of the obstructing objects, thereby improving the integrity of the outline information of the objects to be transported, which helps the machine vision system to more accurately capture the actual shape and layout of the objects, and then generate a more accurate transport path. While the integrity of the outline information of the objects to be transported is improved, the accuracy of the transport operation is improved, so that the robot can more effectively control the transported objects. By capturing the edge, shape and structural information of the transported objects, it is helpful for the transport robot to accurately locate the edge information of the transported objects, further improving the recognition and analysis ability of the transport robot to the transported objects, thereby enhancing the stable recognition and accurate positioning of the transport robot under various environmental conditions, making it more adaptable to different work scenarios. By combining the distribution position of the objects to be transported, the control system can more accurately plan the optimal path to avoid collisions between the transport robot and other objects or obstacles, thereby improving the safety of the transport operation, reducing the transport time and energy consumption, and improving the overall transport efficiency. At the same time, as the distribution of the objects changes, the control system can correct the transport path in real time to ensure that the transport path always remains in the optimal state, thereby improving the adaptability of the transport robot to dynamic environmental changes and maintaining the efficiency and accuracy of the transport process.

[0161] 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, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for automatic control of a handling robot based on machine vision, characterized in that: The automatic control method of the handling robot based on machine vision comprises the following steps: S1. Using machine vision technology to obtain the storage environment image of the items to be transported; S2. Extracting contour features of the objects to be transported from the storage environment image, and marking the distribution positions of the obstructed objects in the objects to be transported; S3, using an occlusion removal algorithm to restore the outline of the occluded object; S4, combining the robot's own positioning data with the target position of the object to be transported, setting the initial transport path; S5. Based on the result of feature detection and the initial transport path, control the virtual robot to simulate transport and correct the initial transport path in real time to obtain the final transport path; S6, dispatching the robot to carry the items to be carried according to the final carrying path; The step of extracting contour features of the objects to be transported from the storage environment image and marking the distribution positions of the obstructed objects in the objects to be transported comprises the following steps: S21, based on the acquired storage environment image, using a gradient image algorithm to process the storage environment image to obtain an edge marking line; S22, using Fourier descriptors to extract contour features of the object to be transported from the edge markings; S23, using a fully convolutional network model to learn and identify the contour features of the objects to be transported; S24, using a real-time target detection algorithm to mark the distribution positions of obstructed objects among the objects to be transported; The method of restoring the outline of the obstructed object by using the obstruction removal algorithm comprises the following steps: S31, using image refocusing technology, selecting the best depth refocusing according to the difference in depth between the object to be transported and the obstructing object; S32, based on the positions of the storage environment image array and the machine vision array, continuously iterate using geometric features to select the best tilt factor; S33, reconstructing the stored environment image using the optimal tilt factor to obtain a re-depth refocused image; S34, segmenting the re-depth refocused image using a minimum error method to obtain occlusion area information; S35, removing pixels in the occluded area from the image according to the occluded area information, and using an occluder removal algorithm to restore the outline of the occluded object; The method of controlling the virtual robot to simulate the transport and correct the initial transport path in real time based on the result of feature detection and the initial transport path to obtain the final transport path includes the following steps: S51, simulating the transport of the virtual robot according to the initial transport path; S52, adjusting the control instructions of the virtual robot in real time according to the transport position, transport speed and transport posture of the virtual robot in the simulated transport; S53, obtaining environmental information and obstacle positions of the virtual robot in simulated transportation, and correcting the initial transportation path in combination with an environmental perception algorithm; S54, integrating the corrected initial transport path with the distribution positions of the obstructing objects to ensure that the virtual robot can cover all the obstructing objects in the simulated transport.

2. The automatic control method of a handling robot based on machine vision according to claim 1, characterized in that: The method of processing the stored environment image based on the acquired stored environment image by using a gradient image algorithm to obtain edge markings includes the following steps: S211, based on the acquired storage environment image, converting the color image in the storage environment image into a grayscale image using a grayscale conversion formula; S212, processing the converted grayscale image using a gradient image algorithm; S213, based on the processed result, performing a binarization process on the gradient amplitude; S214, using a connectivity-based region growing algorithm to connect the edges of the binarized storage environment image to obtain edge markings.

3. The automatic control method of a handling robot based on machine vision according to claim 2 is characterized in that: The process of processing the converted grayscale image using the gradient image algorithm comprises the following steps: S2121, accumulating the converted grayscale image to obtain a gradient image of the pixel points; S2122, calculating original gradients in four directions of the gradient image using a gradient image algorithm; S2123, dividing the detection window into two groups, and respectively calculating the sum of the products of the absolute values ​​of the weights corresponding to the templates and the three pixels in the two groups; S2124, obtaining four new gradient values ​​by calculating the original gradients in four directions; S2125. Assign the maximum value of the four new gradient values ​​obtained to the pixel at the center of the detection window image, and output it as the final gradient value.

4. The automatic control method of a handling robot based on machine vision according to claim 3 is characterized in that: The calculation formula for calculating the original gradients in four directions in the gradient image using the gradient image algorithm is: In the formula, Indicates k The feature map is at coordinate position The pixel value of It means that the function is at the coordinate position The pixel value of Indicated in k The position in the weight matrix corresponding to the feature map is The weight value of k Indicates the gradient direction; m,n Both represent the offset of the detection window.

5. The automatic control method of a handling robot based on machine vision according to claim 1, characterized in that: The method of extracting the contour features of the object to be transported from the edge markings using the Fourier descriptor comprises the following steps: S221, using a connectivity analysis method to extract the outline of the object to be transported based on edge markings; S222, calculating a Fourier descriptor for the contour of the object to be transported, adjusting the parameters of the Fourier descriptor according to the shape of the object to be transported, and extracting low-frequency components from the parameters of the Fourier descriptor; S223, converting the low-frequency component into a coordinate sequence by inverse Fourier transform; S224. Perform hierarchical clustering analysis on the coordinate sequence and the Fourier descriptor to obtain contour features of the object to be transported.

6. The automatic control method of a handling robot based on machine vision according to claim 1, characterized in that: The method of selecting the optimal tilt factor based on the position of the storage environment image array and the machine vision array and continuously iterating using geometric features comprises the following steps: S321, establishing a geometric position model of the storage environment image array and the machine vision array, and presetting an initial tilt factor; S322, extracting geometric features from the stored environment image and defining an objective function; S323, using a gradient descent algorithm to iteratively optimize the objective function; S324, judging whether the objective function continues to iterate by using a preset initial tilt factor; S325. After the iteration is completed, the optimal tilt factor is obtained.

7. A machine vision-based handling robot automatic control system, used to implement the machine vision-based handling robot automatic control method according to any one of claims 1 to 6, characterized in that: The automatic control system of the handling robot based on machine vision includes an image acquisition module, a position marking module, a contour restoration module, a path planning module, a simulation handling module and a handling planning module; The image acquisition module, the position marking module, the contour restoration module, the path planning module, the simulation transport module and the transport planning module are connected in sequence; The image acquisition module is used to acquire the storage environment image of the items to be transported by using machine vision technology; The position marking module is used to extract the contour features of the objects to be transported from the storage environment image and mark the distribution positions of the obstructed objects in the objects to be transported; The outline restoration module is used to restore the outline of the obstructing object using an obstruction removal algorithm; The path planning module is used to set an initial transport path by combining the robot's own positioning data with the target position of the object to be transported; The simulated transport module is used to control the virtual robot to simulate transport and correct the initial transport path in real time based on the result of feature detection and the initial transport path to obtain the final transport path; The transport planning module is used to dispatch the robot to transport the items according to the final transport path.

Citation Information

Patent Citations

  • System and method for semantic segmentation using dense up-sampling convolution (DUC)

    CN109426825A

  • Face occlusion face image reconstruction method and model for face occlusion detection

    CN110414394A

  • Method for removing image shelter by applying camera array

    CN111696116A

  • Sorting manipulator multi-object sorting method based on deep learning

    CN113920142A

  • Fruit detection method and system in sheltered environment

    CN114612760A