A visual palletizing device and a visual information processing method thereof

Through the visual acquisition component and information processing control equipment of the visual palletizing equipment, combined with the grasping device of the joint arm separation structure, the problem that the existing equipment cannot adapt to the changes in the misalignment of the bricks is solved, automatic grabbing and placement is realized, and the efficiency is improved. Productivity and safety.

CN111470327BActive Publication Date: 2024-10-18CHANGZHOU MODI ROBOT TECH CO LTD

Patent Information

Application Number
CN202010447252.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-25
Publication Date
2024-10-18
Estimated Expiration
2040-05-25

AI Technical Summary

Technical Problem

Existing mechanical equipment cannot adapt to changes in the misalignment of bricks, resulting in low production efficiency, high costs and unstable product quality. Especially in the field of heavy manual labor, manual labor still needs to be heavily involved in the destacking and loading process.

Method used

A visual palletizing equipment is designed, including visual acquisition components and information processing control equipment. It adopts a grabbing device with a separated arm structure to realize automatic grabbing and placement through image acquisition, preprocessing, target space positioning and action trajectory control. Bricks.

Benefits of technology

It improves production efficiency, reduces labor costs, realizes automation of the depalletizing process, enhances the safety of the production site, and is suitable for intelligent production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111470327B_ABST
    Figure CN111470327B_ABST
Patent Text Reader

Abstract

The present invention discloses a visual palletizing device, wherein a visual acquisition component extracts image information for processing and analysis, and transmits the information to an information processor, which processes and analyzes the data, and then controls a grasping device to effectively grasp a target object. The grasping device structure can be freely adjusted at multiple angles in three-dimensional space, and the operation is flexible. The visual palletizing device provided by the present invention can save labor production costs, improve factory production efficiency, improve safety issues at the production site, and ultimately realize automation of the unloading link, which is of great significance to the realization of intelligent production. The present invention also provides a visual information processing method, which processes the acquired image information, effectively eliminates interference and controls the grasping device to perform effective palletizing work. The method is accurate and concise, can meet the needs of various industrial production methods for visual information processing, and is easy to use.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of visual technology application technology, and in particular to a visual palletizing device and a visual information processing method thereof. Background Art

[0002] At present, China's manufacturing industry is in the forefront of the world, but the problems of reliance on manual labor and backward manufacturing technology have led to slower and slower development of the manufacturing industry. The development of industrial robots is an innovation and reform of the manufacturing industry, and is also a trend in global industrial automation. Green, safe and intelligent are the hallmarks of modern manufacturing. The backward production and manufacturing equipment and the huge demand of society are the main contradictions in the brick and tile industry.

[0003] With the increase in labor costs and the demand for efficiency, the trend of industrial automation is becoming more and more obvious, especially in the field of heavy physical labor. While replacing manual labor, because the intelligence stage of industrial robots at home and abroad is in its early stages, most of them currently complete their work through repeated teaching of coordinates in advance, so there will be some omissions in the judgment of objects, and the robots also need to respond to changes in the surrounding environment. In the field of palletizing and related heavy physical labor, after the complete brick stack, it is necessary to dismantle the stack for loading. The dismantling process currently relies mostly on manual labor. Due to the large number and high physical exertion, the disadvantages of time-consuming and labor-intensive are becoming more and more obvious.

[0004] In view of the current actual production situation, it is urgent to develop a stacking equipment to solve the problem of low labor efficiency and large labor demand leading to high labor costs, or the inability of existing mechanical equipment to adapt to changes in external parameters such as changes in the misaligned posture of bricks, resulting in the quantity and quality of products produced not being guaranteed. At the same time, the corresponding method of controlling the information data processing and operation of the equipment is also the focus of design and development. Summary of the invention

[0005] In view of the above-mentioned defects, the technical problem solved by the present invention is to provide a visual stacking equipment and a visual information processing method thereof, so as to solve the problems existing in the current technology such as low labor efficiency and large labor demand resulting in high labor costs, or the inability of existing mechanical equipment to adapt to changes in external parameters such as changes in the misaligned posture of bricks, resulting in the quantity and quality of produced products not being guaranteed.

[0006] The present invention provides a visual palletizing device, comprising:

[0007] A visual acquisition component, including an image collector;

[0008] An information processing control device, electrically connected to the visual acquisition component;

[0009] The grabbing device is electrically connected to the information processing control device, and the grabbing device adopts a structure in which the joint arm is separated.

[0010] Preferably, the image collector is arranged on the grasping device in the form of Eye-in-Hand.

[0011] Preferably, the gripping device comprises:

[0012] A base, provided with a slide rail and a slider slidably connected to the slide rail;

[0013] A trunk connected to the slider;

[0014] a large arm, hinged to the torso;

[0015] A forearm, hinged to the upper arm;

[0016] An end grasping assembly connected to the forearm and electrically connected to the information processing control device;

[0017] The driving device is respectively arranged between the upper arm and the trunk, and between the lower arm and the upper arm.

[0018] Preferably, auxiliary encoders are respectively provided at the connection between the upper arm and the trunk and at the connection between the forearm and the upper arm, and the auxiliary encoders are electrically connected to the information processing control device.

[0019] Preferably, the information processing control device comprises:

[0020] A controller, electrically connected to the driving device;

[0021] A TCP communication module, electrically connected to the controller;

[0022] An information processor is electrically connected to the TCP communication module and the visual acquisition component.

[0023] The present invention also provides a visual information processing method, the specific steps of which include:

[0024] Step 1: Obtain image information through an industrial camera, with the direction of one side of the robot base as X w Axis, X w The midpoint of the side where the axis is located is the origin, and the vertical upward direction is Z w Axis, perpendicular to Z w Axis, X w The straight line in the Y axis direction w Axis, establish the world coordinate system (X w , Y w , Z w ), projecting the image information into the coordinate system;

[0025] Step 2: Preprocess the acquired image information according to the image features of the target object;

[0026] Step 3: Position the target space based on the information obtained from image preprocessing;

[0027] Step 4: Obtain the placement position status information, and process the information to obtain the robot's motion trajectory;

[0028] Step 5: Based on the motion trajectory information, control the robot to grab the target object and place it at the specified location.

[0029] Preferably, the specific steps of step 2 include:

[0030] Step 2.1, grayscale and enhance the image;

[0031] Step 2.2, using Gaussian filtering algorithm to smooth the image;

[0032] Step 2.3, extract the characteristic holes on the target object according to the difference in color between the characteristic holes and the surface of the target object. The extraction method adopts the image binarization algorithm, and the channel thresholds of the three RGB colors are R>G>B, and the target area and the background area of ​​the image are obtained;

[0033] Step 2.4, extract edge contour line information, perform edge detection, and judge the damage state of the target object based on the standard that when the number of contour lines is greater than the number of the target object itself, there is a crack.

[0034] Preferably, the specific steps of step 3 include:

[0035] Step 3.1, locate the target object in three dimensions, find the position of the target object in the pixel, extract the XYZ coordinates of the target object, and obtain the actual position of the target object;

[0036] Step 3.2: Extract the corner points of the target object from the acquired image data. The target object brick has 4 corner points, marked as A, B, C, and D. Calculate the pitch angle Pitch, yaw angle Yaw, and roll angle Roll in turn according to the XYZ coordinates of each point to obtain the attitude positioning information of the target object:

[0037] Pitch angle: Pitch = atan2((az-cz), (ay-cy))

[0038] Yaw angle: Yaw = atan2((ay-cy), (ax-cx))

[0039] Roll angle: Roll = atan2((bz-az), (bx-ax))

[0040] Among them, atan2 is the inverse tangent function,

[0041] Preferably, the specific steps of step 3.1 include:

[0042] Step 3.1.1, count the number of connected valid pixels to obtain the area of ​​the pixels. If the area of ​​the connected pixels is greater than or less than the average value of the characteristic hole area, the pixel is set as an invalid pixel and filtered out;

[0043] Step 3.1.2, perform graphic fitting according to the extracted pixel area, and fuse and compare the fitted graphic position view with the original image;

[0044] Step 3.1.3, extract the pixel area as the area of ​​the feature hole, simplify the original image and extract the center position of the feature hole as the center position of the target object;

[0045] Step 3.1.4, classify the characteristic holes according to the feature that the distance between characteristic holes on the same target object is greater than the distance between characteristic holes on two adjacent target objects, and distinguish the number of target objects and the position of each target object in the image by comparing the distance between characteristic holes, and represent each category with a different color;

[0046] Step 3.1.5: Calculate the average X and Y pixel coordinates of the target object based on the data information of the classified characteristic holes to obtain the center position coordinates of the target object.

[0047] It can be seen from the above scheme that the visual palletizing equipment provided by the present invention has a visual acquisition component that extracts the image information of objective objects and performs relevant image processing and analysis and understanding, identifies, measures, locates and tracks the target object, obtains effective target object information, and is used for actual measurement, detection and control, and can avoid the interference of artificial subjective factors, and transmits information to the information processor. The information processor processes and analyzes the data through the mutual operation of its components, and then controls the grasping device to effectively grasp the target object. The grasping device structure can be freely adjusted at multiple angles in three-dimensional space, and the operation is flexible. Its section arm separation structure is modularly designed, easy to disassemble and transport, and can flexibly select different arm spans, which has stronger adaptability to different work scenes. At the same time, the section arm can be increased / reduced according to actual needs to reduce unnecessary performance waste and save costs. The visual palletizing equipment provided by the present invention can save labor production costs, improve factory production efficiency, improve safety issues at the production site, and ultimately realize the automation of the unloading link, which is of great significance to the realization of intelligent production and is suitable for wide promotion.

[0048] The present invention also provides a visual information processing method, which processes the acquired image information through a variety of calculation methods, obtains image data with more obvious features, calculates accurate spatial position information and quantity, posture and other information of the target object, effectively eliminates interference, and then controls the grasping device to perform effective stacking work. The method is accurate and concise, can meet the needs of various industrial production methods for visual information processing, and is easy to use. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] 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 or the description of the prior art 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.

[0050] Figure 1 A schematic diagram of the structure of a visual palletizing device provided by an embodiment of the present invention;

[0051] Figure 2 A schematic diagram of the structure of a grabbing device of a visual palletizing device provided in an embodiment of the present invention;

[0052] Figure 3 for Figure 2 The schematic diagram of the structure of the grabbing device shown excluding the base part;

[0053] Figure 4 A schematic diagram of the structure of the combination of the grabbing device and the vision acquisition component Eye-in-Hand in the visual palletizing equipment provided by an embodiment of the present invention;

[0054] Figure 5 A schematic diagram of the structure of the combination of the grabbing device and the vision acquisition component Eye-to-Hand in the visual palletizing equipment provided by an embodiment of the present invention;

[0055] Figure 6 A schematic diagram of the structure of a linear model of the relationship between three coordinate systems in the visual information processing method provided by an embodiment of the present invention;

[0056] Figure 7 A process block diagram of information analysis of a visual palletizing device provided by an embodiment of the present invention;

[0057] Figure 8 A schematic diagram of a brick model structure used in the visual information processing method provided in an embodiment of the present invention;

[0058] Fig. 9 A schematic diagram of brick color extraction information in a visual information processing method provided by an embodiment of the present invention;

[0059] Fig.10 A schematic diagram of the result of fusion comparison between the fitted circular hole position and the brick model in the visual information processing method provided in an embodiment of the present invention;

[0060] Fig.11 A schematic diagram of the result of extracting circle information, marking the center position and classifying it in the visual information processing method provided in an embodiment of the present invention;

[0061] Fig.12 A schematic diagram of endpoint selection of a posture algorithm in a visual information processing method provided by an embodiment of the present invention;

[0062] Fig.13 A schematic diagram of the structure of an image coordinate system in a visual information processing method provided by an embodiment of the present invention;

[0063] Fig.14 A schematic diagram of target object area calculation in the visual information processing method provided in an embodiment of the present invention;

[0064] Fig.15 A schematic diagram of the three-dimensional structure of a placement positioning system in a visual information processing method provided by an embodiment of the present invention;

[0065] Fig.16 A positioning model diagram is provided in the visual information processing method provided in the embodiment of the present invention.

[0066] Figure 1-16 middle:

[0067] 1. Grasping device; 2. Visual acquisition component; 3. Information processing control equipment; 4. Shell; 6. Horizontal laser radar; 11. Base; 12. Torso; 13. Upper arm; 14. Lower arm; 15. End grasping component; 16. Driving device; 17. Counterweight; 18. Auxiliary encoder; 31. TCP communication module; 32. Controller; 33. Information processor; 41. Industrial camera placement position; 51. First vertical laser radar; 52. Second vertical laser radar; 53. Third vertical laser radar; 54. Fourth vertical laser radar; 111. Slider; 112. Slide rail; 121. Shoulder joint; 131. Elbow joint; 132. Support rod; 133. Shoulder joint sheet metal; 141. Wrist joint; m. Brick one; n. Brick two. DETAILED DESCRIPTION

[0068] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0069] Example 1

[0070] Please also read Figures 1 to 7 Now, a specific implementation of a visual palletizing device provided by the present invention is described. The visual palletizing device includes a gripping device 1, an information processing control device 3 and a visual acquisition component 2, wherein the visual acquisition component 2 is provided with an image collector; the information processing control device 3 is electrically connected to the visual acquisition component 2; the gripping device 1 is electrically connected to the information processing control device 3. The visual acquisition component 2 includes an image collector and an image acquisition card. The image collector includes an industrial CCD (charge coupled device) camera and lens or a CMOS (Complementary Metal Oxide Semiconductor) camera and lens, which collects and transmits image information to the image acquisition card. The image acquisition card includes an external acquisition card and a built-in board. The analog signal of the brick stack image collected by the image collector is converted into a digital output signal that is convenient for computer storage through AD through the image acquisition card, and then the data information is transmitted to the information processing control device 3.

[0071] The visual acquisition component 2 extracts the image information of objective things and performs relevant image processing and analysis to understand the recognition, measurement, positioning and tracking of the target object, obtains effective target object information for actual measurement, detection and control, and can avoid the interference of human subjective factors. The information is transmitted to the information processing control device 3. The information processing control device 3 processes and analyzes the data through the mutual operation of its components, and then controls the grasping device 1 to effectively grasp the target object. The grasping device 1 structure can be freely adjusted at multiple angles in three-dimensional space, and the operation is flexible. Its section arm separation structure is modularly designed, easy to disassemble and transport, and can flexibly select different arm spans. It has stronger adaptability to different work scenes. At the same time, it can increase / decrease the section arm according to actual needs to reduce unnecessary performance waste and save costs. This kind of visual palletizing equipment can save labor production costs, improve factory production efficiency, improve safety issues on the production site, and finally realize the automation of the unloading link. It is of great significance to the realization of intelligent production, has a significant effect, and is suitable for wide promotion.

[0072] See also Figure 4In this embodiment, the image collector is arranged on the gripping device 1 in the form of Eye-in-Hand. According to the relationship between the gripping device 1 and the installation position of the image collector, the robot can be divided into two combinations: Eye-in-Hand and Eye-to-Hand. The Eye-in-Hand combination is adopted here. This combination is to fix the position of the image collector at one end of the forearm 14 of the gripping device 1 close to the terminal gripping component 15, and can move with the movement of the gripping device 1. During the operation, the field of view of the image collector changes continuously due to the movement of the gripping device 1 connected thereto. As the target approaches the position of the image collector, the error between the result of image processing of the target and the actual object parameters will become smaller. The image collector is not disturbed or affected by the magnetic field, has a small size, light weight, is easy to carry, is resistant to vibration and impact, has good real-time performance and fast response speed, and has low requirements on lighting conditions, and can collect clear and sharp target images. The image acquisition card realizes the real-time processing, storage and display of the on-site target image captured by the image collector by the information processing control device 3.

[0073] In this embodiment, the grasping device 1 includes a base 11, a trunk 12, an upper arm 13, a lower arm 14, an end grasping assembly 15 and a driving device 16, wherein the base 11 is provided with a slide rail 112 and a slider 111 slidably connected to the slide rail 112; the trunk 12 is fixedly connected to the slider 111; the upper arm 13 is hinged to the trunk 12; the lower arm 14 is hinged to the upper arm 13; the end grasping assembly 15 is connected to the lower arm 14 and is electrically connected to the information processing control device 3; the driving device 16 is respectively arranged between the upper arm 13 and the trunk 12, and between the lower arm 14 and the upper arm 13.

[0074] The entire grasping device 1 adopts a structure in which the joints and arms are separated. Specifically, the upper arm 13 includes a support rod 132, an elbow joint 131 and a shoulder joint sheet metal 133. The elbow joint 131 is hinged to the lower arm 14, the shoulder joint sheet metal 133 is hinged to the trunk 12, the support rod 132 is welded to the elbow joint 131, and the connection method between the support rod 132 and the shoulder joint sheet metal 133 includes riveting or bolting. The trunk 12 includes a shoulder joint 121 and a main body. The shoulder joint 121 is welded to the main body, the shoulder joint 121 is hinged to the shoulder joint sheet metal 133, and a sliding bearing or a graphite copper washer is placed between the shoulder joint sheet metal 133 and the shoulder joint 121 to achieve a close fit of the structure while ensuring the flexibility of rotation. The end grasping assembly 15 and the lower arm 14 are designed to be separated, and the end grasping assembly 15 for different work can be installed according to different requirements of different working conditions such as different fineness and environment, so that the cost is greatly reduced. A wrist joint 141 is provided at the end of the forearm 14 , and a wrist joint motor seat for connecting the end grabbing assembly 15 is provided at the wrist joint 141 , and the wrist joint motor seat and the end grabbing assembly 15 are fixedly connected by bolts.

[0075] See also Figure 2 , taking the midpoint of the slide rail 112 at the initial position of the slider 111 as the coordinate origin, taking the direction of the slide rail 112 as the X-axis, the straight line direction of the trunk 12 as the Z-axis, and the direction perpendicular to the X-axis and the Z-axis as the Y-axis to establish a rectangular coordinate system, the base 11 is provided with a cylinder, the cylinder is connected to the slider 111, and the slider 111 is pushed to move on the slide rail 112, and the slider 111 drives the trunk 12 and the related components connected to it to move to the vicinity of the target object (brick), the driving device 16 includes a first driving device and a second driving device, the first driving device is connected between the upper arm 13 and the trunk 12, and the second driving device is connected between the forearm 14 and the upper arm 13, the movement of the first driving device drives the upper arm 13 to swing up and down in the Z-axis direction, and the movement of the second driving device drives the forearm 14 to swing left and right in the Y-axis direction, so that the end grasping component 15 can be flexibly and accurately moved to the target object, and the information processing control device 3 controls the end grasping component 15 to accurately grasp the target object.

[0076] In this embodiment, auxiliary encoders 18 are respectively provided at the connection between the upper arm 13 and the trunk 12, and at the connection between the forearm 14 and the upper arm 13, and the auxiliary encoders 18 are electrically connected to the information processing control device 3. The auxiliary encoders 18 include photoelectric encoders or magnetic encoders, which are used to detect the rotation angle and angular velocity of the connection between the upper arm 13 and the trunk 12, and at the connection between the forearm 14 and the upper arm 13, and provide feedback to the information processing control device 3 to achieve the effect of accurately controlling the grasping device 1. The installation of the auxiliary encoder 18 is coaxial with the rotation axis of each connection. A balance counterweight 17 is respectively provided between the upper arm 13 and the trunk 12, and between the forearm 14 and the upper arm 13, and the balance counterweight 17 is respectively hinged to the upper arm 13, the trunk 12 and the forearm 14. The balancing counterweight 17 includes a mass block counterweight, a traditional mechanical tension spring, a constant force spring, a magnetic spring, a nitrogen balancer, and a cylinder balancing method (including an ordinary cylinder and a steel rope cylinder), which can reduce the force acting on the drive device 16 and effectively extend the service life of the drive device 16.

[0077] In this embodiment, the information processing control device 3 includes a TCP (Transmission Control Protocol) communication module 31, a controller 32 and an information processor 33, wherein the controller 32 is electrically connected to the drive device 16; the TCP communication module 31 is electrically connected to the controller 32; the information processor 33 is electrically connected to the TCP communication module 31 and the visual acquisition component 2. The information processor 33 is provided with image acquisition and processing software and a coordinate analysis and conversion module. The controller 32 includes a motion controller and a microprogram controller, which are responsible for coordinating the acquired data and issuing relevant action instructions, and finally realizing the movement of the grasping device 1. It has powerful functions and can realize high-speed motion control and high-performance control calculation. The information processor 33 includes an industrial computer, i.e., an industrial control computer or a PC (Personal Computer), which can work reliably in an industrial environment. The information processor 33 receives the image information obtained and converted by the visual acquisition component 2, analyzes and settles through the image acquisition and processing software, obtains simplified graphic information, and then obtains the position coordinates that the final grasping device 1 needs to reach through the information conversion of the coordinate analysis and conversion module, and sends the coordinates to the controller 32 through the TCP communication module 31, and the controller 32 controls the grasping device 1 to grasp at the specified position.

[0078] Example 2

[0079] As a specific implementation of the embodiment of the present invention, please refer to Figures 1 to 7 The visual palletizing equipment of this embodiment is basically the same as that of the first embodiment, except that the image collector and the gripping device 1 adopt an Eye-to-Hand combination mode. Specifically, the image collector is fixed outside the gripping device 1, generally fixed on a bracket of a specially constructed target workpiece placement platform, and is not connected to the gripping device 1. The position and posture of the image collector remain unchanged during the entire gripping operation. This setting reduces the flexibility requirements of the cable material and the wiring position is convenient for actual on-site operations because the position of the image collector is always fixed. After the image collector is calibrated, the calibration parameters are constant values, which reduces the subsequent calibration work. The image collector only needs to be fixed at a certain position. The fixing device has a simple structure and is easy to implement. It is less affected by the on-site environment and is conducive to extending the service life of the image collector. In order to ensure the integration and safe operation of this type of visual palletizing equipment, some related auxiliary equipment components can be added, such as an electric control cabinet. The function of the electric control cabinet is to integrate the carrier of the main hardware in the control system according to the electrical wiring requirements. Based on the design factors such as convenient operation, easy maintenance and beautiful appearance, the internal layout design ensures the installation distance of the secondary line to avoid mutual interference of line signals. The left side of the electric control cabinet is connected to the grabbing device 1, and the right side is installed with a cable interface and a communication interface connected to the controller 32.

[0080] Example 3

[0081] As a specific implementation of the embodiment of the present invention, please refer to Figures 1 to 7 The visual palletizing equipment of this embodiment is basically the same as that of embodiment 1, except that the specific implementation process is as follows: first, the image collector is installed on the gripping device 1, the gripping device 1 is moved to the photo location, and the photo is taken to return the RGB format image, and the data in the point cloud format is output at the same time. Secondly, the image is processed by the information processor 33, including grayscale processing. After the grayscale processing, it is easy to distinguish the image features, perform threshold segmentation to extract features, and make an image template. Again, through edge detection, the minimum circumscribed corresponding shape of the object is obtained, and the center point in the object image is calculated and output. After obtaining the depth data of the point cloud, the RGBD image is obtained by aligning it with the resolution of the RGB image, and the center point of the camera image is converted to the actual coordinate center point of the RGBD image through the coordinate conversion module. Finally, the coordinates are sent to the controller 32 through the TCP communication module 31 to control the gripping device 1 to grab at the specified position.

[0082] Example 4

[0083] As a specific implementation of the embodiment of the present invention, please refer to Figures 1 to 7 The visual palletizing device of this embodiment is basically the same as that of Embodiment 1, except that the slider 111 is rotatably connected to the trunk 12, a rotating shaft is provided on the slider 111, the trunk 12 is arranged on the rotating shaft, and the trunk 12 is connected to the rotating shaft through a bearing, so that the rotation is more flexible. At the same time, the trunk 12 is connected to the motor through a gear, and the motor is electrically connected to the information processing control device 3. The motor drives the gear to rotate, and the gear drives the trunk 12 to rotate, so that the grasping device 1 can rotate freely, and the grasping process can be more flexible and the grasping range can be wider according to the adjustment of any angle as needed.

[0084] Example 5

[0085] Please also read Figures 1 to 16 Now, a specific implementation of a visual information processing method provided by the present invention is described. The visual information processing method comprises the following specific steps:

[0086] Step 1: Obtain image information through an industrial camera, with the direction of one side of the robot base as X w Axis, X w The midpoint of the side where the axis is located is the origin, and the vertical upward direction is Z w Axis, perpendicular to Z w Axis, X w The straight line in the Y axis direction w Axis, establish the world coordinate system (X w , Y w , Zw ) to project the image information into a coordinate system. See Figure 6 The acquired image information is transformed through the image coordinate system, camera coordinate system and world coordinate system, and finally projected into the world coordinate system to achieve the distance measurement and positioning of the target object. The establishment of the world coordinate system solves the problem of difficulty in describing the three-dimensional position of the target object due to the uncertainty of the position of the industrial camera. Therefore, a reference coordinate system, namely the world coordinate system (X w , Y w , Z w ), integrating the world coordinate system and the robot base coordinate system can greatly simplify the calibration work and related mathematical expressions.

[0087] Step 1.1, establish common coordinate systems, including the world coordinate system (X w , Y w , Z w ), camera coordinate system (X c , Y c , Z c ) and the image coordinate system (u, v). The camera coordinate system (X c , Y c , Z c ) takes the optical center O of the camera lens as the coordinate origin, and the coordinate axis X c , Y c Parallel to the image plane, coordinate axis Z c Perpendicular to the image plane. The image coordinate system is a two-dimensional rectangular coordinate system that represents the projection of the target object on the image plane in the world coordinate system. It has two representation modes: the (x, y) coordinate system with physical length (such as millimeters) and the (u, v) coordinate system with pixels. o , v o ) is the main point of the camera, that is, the axis point of the camera, which is the coordinate axis Z c The intersection point with the image plane, the principal point generally passes through the center of the image plane. Pixels are represented as each element in the array, and the brightness of the image point, i.e., the grayscale, represents the value of each element. See Fig.13 , define the upper left corner of the image coordinate system as the origin of the coordinate system (u, v) in pixels, and set the origin of the coordinate system in physical length to the center point O(u o , v o ), the two coordinate axes X and Y are parallel to the u and v axes respectively, and the physical size of each pixel in the X and Y directions is expressed as d x ,d y, the coordinate conversion relationship between any pixel in the image in the physical coordinate system and the image coordinate system is as follows:

[0088]

[0089] Step 1.2, take any point P in the world coordinate system as the starting point, and derive the camera pinhole imaging model based on the position representation in the camera coordinate system and the image coordinate system, and obtain the linear measurement model of the camera. The coordinate transformation relationship is: the spatial point P is projected onto the image plane through the pinhole imaging and intersects with the physical coordinate system of the image plane at a point M (x, y). From the pinhole imaging relationship, we can get Expressed in homogeneous coordinates: Where f is the focal length of the camera optical system, and the relationship between the world coordinate system and the camera coordinate system is: Where (x w ,y w , z w ) and (x c ,y c , z c ) are the coordinates of point P in the world coordinate system and the camera coordinate system, R is a 3×3 orthogonal matrix, T is the translation vector, 0 T =[0 0 0] T , M1 is a 4×4 matrix, the coordinates of point P in the world coordinate system (x w ,y w , z w ) and the coordinates (u, v) of point M in pixels on the image plane: in, M1 is the external parameter determined by the relative position and posture of the world coordinate system and the camera. M2 is the internal parameter determined by the properties of the camera itself and is only related to the camera itself. M is a 3×4 projection matrix.

[0090] Step 1.3: The world coordinate system is parallel to the camera coordinate system and the image coordinate system, then R = I, T = [0 0d] T , d is the distance between the world coordinate system and the camera coordinate system, and we get

[0091]

[0092] The coordinates of point P perpendicular to the optical axis plane can be expressed as (x w ,y w , 0) get Move the target object along the Y axis in the world coordinate system. w The direction is divided into M equal parts, each part is a rectangle, and the four vertices of the i-th rectangle are marked as The area of ​​the target object is: get: S1 represents the area of ​​the target object on the image plane, and we get: Select feature point P s For a point on the front surface of the target, we get the feature point P in the world coordinate system. s To the origin O w The distance L w for The distance from the target object to the optical center of the camera is

[0093] Step 2: Perform image processing preprocessing on the acquired image information according to the image features of the target object. Image processing is helpful to improve image quality and visual quality, extract and analyze target image feature information, prepare for subsequent target object recognition, measurement and other tasks, transform, compress and encode image data, improve image data transmission efficiency, and greatly save computer storage space.

[0094] The recognition method of the target object brick is mainly based on the appearance characteristics of the brick. Bricks have the following characteristics: 1. The color of the bricks is bright red; 2. The surface of the brick is a porous structure, and the color of the non-reflective holes is dark black; 3. There is a fixed distance and arrangement between the holes in the bricks.

[0095] Step 2.1: grayscale and enhance the image.

[0096] Grayscale processing methods include component method, maximum value method, average method and weighted average method. The weighted average method uses different weights to average the three components based on the fact that the human eye is least sensitive to blue and most sensitive to green. This method not only does not lose the original information of the image, but also has a better smoothing effect on the grayscaled image. The weighted average method processes the original image with multiple colors so that the information of each pixel in the image is described by a quantized grayscale level without color information. The application formula includes: Gray = W R *R+W G *G+W B *B, where W R , W G , W B They are different weights of R, G, and B respectively. The grayscale level of grayscale image pixels is usually 0-255, "0" represents pure black, and "255" represents pure white. Any color of the color image captured by the industrial camera is composed of the three primary colors of red, green, and blue. After the color image is converted into a grayscale image, the grayscale values ​​of the three primary colors remain unchanged, and the data information of the original color image is retained. Image grayscale reduces the amount of image processing calculations and has the same feature description capabilities as color images. At the same time, it can increase the speed of the visual system to identify and locate the target object brick stack, thereby improving work efficiency.

[0097] Image enhancement includes two operation domains: spatial domain and frequency domain. Image enhancement can improve the quality and visual effect of the image, reveal blurred details or highlight useful features in the image, and lay the foundation for subsequent computer processing operations such as feature extraction and corner detection. Image spatial domain processing refers to the direct processing of target image pixels, including grayscale transformation enhancement, histogram correction, image smoothing, etc. Digital image processing can be transformed from spatial domain to frequency domain through Fourier transform. When converted back to spatial domain through inverse Fourier transform, information is not lost, and the image in the spatial domain can be processed again. The mathematical model of image enhancement processing by spatial domain transformation can be described as g(x,y)=T[f(x,y)], where g(x,y) represents the pixel grayscale value of the output image point (x,y) after spatial domain enhancement processing, f(x,y) represents the pixel grayscale value of the original image point (x,y), and T represents the spatial domain enhancement transformation algorithm. Image frequency domain processing is to first convert the image space domain into frequency domain by Fourier transform, then calculate the image transformation coefficients, and finally reconstruct the image through inverse Fourier transform to obtain image enhancement effect. The image histogram represents the statistical information of each gray level of the image, solving the problem of uneven distribution of image gray values. Histogram equalization means that the histogram of the output image is uniform. After the input image is equalized, each pixel will occupy as many gray levels as possible and be evenly distributed, which increases the image contrast and gray value dynamic range, and highlights the characteristics of the target object image.

[0098] Step 2.2, use Gaussian filtering algorithm to smooth the image. Image smoothing algorithms include Gaussian filtering algorithm and bilateral filtering algorithm. Image filtering can minimize noise interference and retain as much target feature information as possible in the image. For images containing more Gaussian noise components, it is suitable to use Gaussian filtering method. Specifically, a Gaussian template with a large center point weight is selected, and the pixels in the image area are scanned equally. The grayscale value of the scanned grayscale value result is weighted averaged to replace the grayscale value of the selected Gaussian template center pixel point. Bilateral filtering combines the two factors of image pixel value similarity and adjacent space physical distance to perform a compromise processing method. It also takes into account spatial information and grayscale similarity, while eliminating noise interference and retaining the edge information of the object well.

[0099] Step 2.3: According to the difference in color between the characteristic holes and the surface of the target object, the characteristic holes on the target object can be extracted. The extraction method uses the image binarization algorithm, and the channel thresholds of the three RGB colors are R>G>B. Finally, the image is divided into two parts: the target area and the background area. Please refer to Figures 8 to 9, binarize the image, and finally make the gray value of the pixel on the image 0 or 255, and divide the image into the target area and the background area. The binarization of the image can make the image simple and clear, highlight the target area, reduce the amount of data processing, and facilitate further processing of the image. The binarization methods include the fixed value method and the Otsu method. The Otsu method is also called the maximum inter-class variance method. It is an adaptive threshold determination method derived based on the principle of the least squares method. It can perform binarization processing on uneven illumination and blurred images.

[0100] Step 2.4, extract the edge contour lines of the image information and calculate the number of contour lines, perform edge detection, and judge the damage state of the target object according to the standard that there is cracking when the number of contour lines is greater than the number of the target object itself, so as to solve the impact of cracking and disconnection of some bricks in the firing process on the analysis results. The Canny algorithm is used for edge detection to obtain the edge information of the target image. The edge has rich intrinsic image information. When the edge information of the target image is accurately measured and located, the measurement and location of the entire target object can be achieved.

[0101] Step 3: Based on the information obtained from image processing, target space positioning is performed to obtain the position, placement and height information of each target object.

[0102] Step 3.1: Locate the three-dimensional position of the target object. After finding the position of the target object in the pixel, extract the XYZ coordinates of the target object from the RGBXYZ point cloud database of the industrial camera according to the image index to obtain the actual position of the target object.

[0103] Step 3.1.1, count the number of connected valid (non-zero) pixels, the obtained number value is the area of ​​the pixel, if the area of ​​the connected pixel is greater than or less than the average value of the characteristic hole area, then the pixel is set as an invalid pixel and filtered out;

[0104] Step 3.1.2: Perform circular fitting based on the extracted pixel area. The area of ​​the circle is known to be S = πR. 2 , the extracted pixel area is taken as the area S of the characteristic hole, the radius of the circle can be obtained by solving the equation, and then the center position of the characteristic hole is extracted as the center position of the target object, please refer to Fig.10 , we can see that the circle and the brick hole can match, indicating that the position of the hole on the brick has been successfully extracted. The original image is simplified, that is, only the center position of the hole of the brick is extracted;

[0105] Step 3.1.3: Classify the characteristic holes according to the feature that the distance between characteristic holes on the same target object is greater than the distance between characteristic holes on two adjacent target objects. Compare the distances between characteristic holes to distinguish the number of target objects and the position of each target object in the image. Use different colors to represent each category. Please refer to Fig.11 ,It can be seen that the extracted data are divided into two categories, namely, the left brick one m and the right brick two n. The distance between the middle center points of the two parts and the distance between the internal center points are obviously different;

[0106] Step 3.1.4: Calculate the average X and Y pixel coordinates of the target object based on the data information of the classified characteristic holes, and the obtained coordinates are the center position coordinates of the target object.

[0107] Step 3.2: In the actual factory environment, bricks may tilt or fall over. If the visual system cannot detect the overturning, the grasping will fail. The posture positioning of the target object is performed to avoid the above situation. The specific method is to extract the corner points of the target object from the acquired image data. There are 4 corner points of the brick extracted from the 3D point cloud data of the industrial camera, marked as A, B, C, and D. The pitch angle Pitch, yaw angle Yaw, and roll angle Roll are calculated in turn according to the XYZ coordinates of each point.

[0108] Pitch angle: Pitch = atan2((az-cz), (ay-cy))

[0109] Yaw angle: Yaw = atan2((ay-cy), (ax-cx))

[0110] Roll angle: Roll = atan2((bz-az), (bx-ax))

[0111] Among them, atan2 is the inverse tangent function,

[0112] Step 4, obtain the placement position status information, and process the information to obtain the robot's motion trajectory. Based on the acquired image information, obtain the parameters required to describe the placement position information in the three-dimensional coordinate system, including three position information of X (front and rear position), Y (left and right position) and Z (height information), as well as three angle information of yaw, pitch and roll. The placement position includes a specific placement table or loading vehicle for bricks at the construction site. This step avoids changes in the placement position posture due to changes in load distribution during the process of the robot stacking the target object to the placement position, which may cause collisions or excessive gaps between materials in situations where high stacking accuracy is required.

[0113] Devices such as laser radar and industrial cameras are arranged near the placement position to obtain position information. Four laser radars are placed in parallel to form a polygon with a mutual distance range of 10mm-10000mm. The placement direction of the horizontal laser radar 6 is completely perpendicular to the placement direction of the vertical laser radar array, and the placement position is at the center of the polygon formed by the vertical laser radar array. The horizontal laser radar 6 and the vertical laser radar are arranged in the shell 4 to prevent dust from affecting the acquisition of laser radar information. The shell 4 is provided with an industrial camera placement position 41 for placing an industrial camera to facilitate the acquisition of placement position image information. The vertical laser radar array is a point-shaped or linear radar, and the laser light is directly irradiated on the placement plane of the placement position to measure the height and pitch angle (Pitch), and roll angle (Roll) of the placement position. The horizontal laser radar 6 is a 360° linear radar or mechanical scanning radar, which is used to measure the width, length, and yaw angle (Yaw) of the placement position (vehicle body), as follows:

[0114] Step 4.1: Extend the laser radar into the placement position, and the horizontal laser radar 6 scans the outer contour of the placement position. After scanning, a total of N (x, y) coordinate points will be obtained for each scan. Each coordinate point is recorded as p, p = (x, y), and the i-th coordinate point is recorded as pi (0 = <i<N)

[0115] Step 4.2: During the scanning process, there is often a large measurement error due to ambient light interference or reflection. In order to improve the stability of the algorithm, this algorithm introduces a Gaussian filter algorithm to filter out noise. Definition: p′ i =(x′ i ,y′ i )=(p i -p i -1) 2 , p′ i Substitute into the Gaussian distribution function:

[0116] The Gaussian filtering algorithm retains the first 80%-99% of the data as needed for input into the template matching function.

[0117] Step 4.3: After the filtered coordinate points are brought into the rectangular template matching algorithm, the length and width of the rectangular frame are obtained. The length and width of the rectangular frame are the length and width of the placement position (car body) itself.

[0118] Step 4.4: After template matching, the model of the car frame is obtained. a, b, c, and d are the four vertices of the car body. Each vertex has a set of (x, y) coordinate points. The yaw angle (Yaw) of the placement position is calculated by the following formula: Yaw = atan2 (ay-by, ax-bx)

[0119] Step 4.5, the vertical laser radar array obtains the height, pitch and roll angle information of the placement position, and obtains: the average height of the placement position (car body): The roll angle of the placement position (vehicle body): Roll = atan2 (l1-l2, la), the pitch angle of the placement position: Pitch = atan2 (l1-l4, lb), where l1-l4 are the distance data points obtained by the first vertical laser radar 51-the fourth vertical laser radar 54 respectively, la is the actual distance from the first vertical laser radar 51 to the second vertical laser radar 52, and lb is the actual distance from the first vertical laser radar 51 to the fourth vertical laser radar 54.

[0120] Step 5: According to the action trajectory information, control the robot to grab the target object and place it at the specified position. After the robot completes a grabbing and handling task, the industrial camera set at the placement position acquires real-time placement position status information. The direction of the industrial camera is the same and parallel to the direction of the vertical laser radar light emission, and the posture changes of the placement position and the goods are detected, and the next robot motion trajectory is calculated and adjusted in real time. The image recognition process of this method can be adapted to any industrial robot, reducing the process of structural design, increasing the fault tolerance of the visual information processing method and structural coordination, and is easy to use.

[0121] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0122] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A visual information processing method, characterized in that: The following steps are involved: Step 1: Obtain image information through an industrial camera, with the direction of one side of the robot base as X w Axis, X w The midpoint of the side where the axis is located is the origin, and the vertical upward direction is Z w Axis, perpendicular to Z w Axis, X w The straight line in the Y axis direction w Axis, establish the world coordinate system (X w , Y w , Z w ), projecting the image information into the coordinate system; Step 2: Preprocess the acquired image information according to the image features of the target object; Step 3: Position the target space based on the information obtained from image preprocessing; Step 4: Obtain the placement position status information, and process the information to obtain the robot's motion trajectory; Step 5: According to the action trajectory information, control the robot to grab the target object and place it at the specified location; The specific steps of step 2 include: Step 2.1, grayscale and enhance the image; Step 2.2, using Gaussian filtering algorithm to smooth the image; Step 2.3, extract the characteristic holes on the target object according to the difference in color between the characteristic holes and the surface of the target object. The extraction method adopts the image binarization algorithm, and the channel thresholds of the three RGB colors are R>G>B, and the target area and the background area of ​​the image are obtained; Step 2.4, extract edge contour information, perform edge detection, and determine the damage state of the target object based on the standard that cracking exists when the number of contour lines is greater than the number of the target object itself; The specific steps of step 3 include: Step 3.1, locate the target object in three dimensions, find the position of the target object in the pixel, extract the XYZ coordinates of the target object, and obtain the actual position of the target object; Step 3.2: Extract the corner points of the target object from the acquired image data. The target object brick has 4 corner points, marked as A, B, C, and D. According to the XYZ coordinates of each point, the pitch angle Pitch, yaw angle Yaw, and roll angle Roll are calculated in turn to obtain the attitude positioning information of the target object: Pitch angle: Pitch = atan2((az-cz), (ay-cy)) Yaw angle: Yaw = atan2((ay-cy), (ax-cx)) Roll angle: Roll = atan2((bz-az), (bx-ax)) Among them, atan2 is the inverse tangent function, ; The specific steps of step 3.1 include: Step 3.1.1, count the number of connected valid pixels to obtain the area of ​​the pixels. If the area of ​​the connected pixels is greater than or less than the average value of the characteristic hole area, the pixel is set as an invalid pixel and filtered out; Step 3.1.2, perform graphic fitting according to the extracted pixel area, and fuse and compare the fitted graphic position view with the original image; Step 3.1.3, extract the pixel area as the area of ​​the feature hole, simplify the original image and extract the center position of the feature hole as the center position of the target object; Step 3.1.4, classify the characteristic holes according to the feature that the distance between characteristic holes on the same target object is greater than the distance between characteristic holes on two adjacent target objects, and distinguish the number of target objects and the position of each target object in the image by comparing the distance between characteristic holes, and represent each category with a different color; Step 3.1.5: Calculate the average X and Y pixel coordinates of the target object based on the data information of the classified characteristic holes to obtain the center position coordinates of the target object.

2. A visual information processing method according to claim 1, wherein the device used includes a visual palletizing device, characterized in that: include: A visual acquisition component (2) is provided with an image collector; An information processing control device (3) electrically connected to the visual acquisition component (2); The gripping device (1) is electrically connected to the information processing control device (3), and the gripping device (1) adopts a structure in which the joints and arms are separated.

3. A visual information processing method according to claim 2, characterized in that: The image collector is arranged on the grasping device (1) in the form of an Eye-in-Hand.

4. A visual information processing method according to claim 3, characterized in that: The gripping device (1) comprises: A base (11) is provided with a slide rail (112) and a sliding block (111) slidably connected to the slide rail (112); A trunk (12) connected to the slider (111); A large arm (13) is hinged to the trunk (12); A small arm (14) is hinged to the large arm (13); An end grasping assembly (15) connected to the forearm (14) and electrically connected to the information processing control device (3); The driving device (16) is respectively arranged between the upper arm (13) and the trunk (12), and between the lower arm (14) and the upper arm (13).

5. A visual information processing method according to claim 4, characterized in that: Auxiliary encoders (18) are respectively provided at the connection point between the upper arm (13) and the trunk (12) and at the connection point between the lower arm (14) and the upper arm (13); the auxiliary encoders (18) are electrically connected to the information processing control device (3).

6. A visual information processing method according to claim 5, characterized in that: A balancing weight (17) is provided between the upper arm (13) and the trunk (12), and between the lower arm (14) and the upper arm (13), respectively. The balancing weight (17) is hingedly connected to the upper arm (13), the trunk (12), and the lower arm (14), respectively.

7. A visual information processing method according to claim 6, characterized in that: The information processing control device (3) comprises: A controller (32) electrically connected to the driving device (16); A TCP communication module (31) electrically connected to the controller (32); An information processor (33) is electrically connected to the TCP communication module (31) and the visual acquisition component (2).

Citation Information

Patent Citations

  • Coal mine material stacking and loading robot system based on machine vision

    CN110950007A

  • Visual stacking equipment

    CN212502887U

Cited By

  • Machine vision information processing method

    CN117115450A