Method for visually detecting parcel stack

Through the combination of the RGBD depth camera and the servo conveying mechanism, the characteristic coefficients of the stacks are calculated and the stacks are automatically separated, which solves the accuracy and efficiency problems of stack processing in logistics sorting and achieves efficient and accurate identification and separation of stacks. Reduces hardware cost and space occupation.

CN118570153AActive Publication Date: 2024-08-30JIN HOUNG FUH (CHUZHOU) CONVEYING EQUIP CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410650530.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-08-30
Estimated Expiration
2044-05-24

AI Technical Summary

Technical Problem

The existing technology cannot effectively handle stacked items in logistics sorting, resulting in system backflow and reduced accuracy. The traditional stacked item separation system takes up a lot of space, has high hardware costs, and lacks interpretable identification technology.

Method used

An RGBD depth camera is used to collect the pixel coordinate data of the package target point, the depth value and transition value are calculated, and the integrated analysis is used to obtain the characteristic coefficient of the stack. The abnormal stack is automatically separated through the servo conveying mechanism to achieve fast and accurate judgment and processing.

Benefits of technology

It improves the accuracy and interpretability of stack recognition, reduces hardware costs and space occupation, improves stack separation efficiency and accuracy, and ensures system reliability and interpretability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570153A
    Figure CN118570153A
Patent Text Reader

Abstract

The invention discloses a method for visually detecting a parcel stack, which relates to the technical field of parcel stack detection, and comprises the following steps: arranging a plurality of groups of servo conveying mechanisms on single-piece separation equipment, conveying parcels and realizing stack separation through the plurality of groups of servo conveying mechanisms, arranging a group of RGBD depth cameras on the single-piece separation equipment, and carrying out visual detection on the single-piece separation equipment through the RGBD depth cameras. Performing real-time detection on a detection area on the single piece separation equipment through an RGBD depth camera; collecting pixel coordinate data of each target point wrapped in the detection area through an RGBD depth camera, and obtaining a pixel coordinate data set U of each target point of the wrapped; according to the method, the rated value of the characteristic coefficient of the stack is set to be compared with the characteristic coefficient of the stack, whether the abnormal stack appears or not is judged quickly and accurately, the judgment of the abnormal stack is driven by a mechanism, the input and output correlation degree is visual and clear, the interpretability is high, and targeted adjustment and improvement are facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of package stack detection, and in particular to a method for visually detecting package stacks. Background Art

[0002] It is well known that although there are single-piece separation systems in the logistics sorting industry, they are basically separated by conveyor belt speed differences, which cannot effectively handle stacked pieces, resulting in system backflow and reduced accuracy. Special stacked piece separation systems use mechanical tumbling to achieve this, but there are uncontrollable factors, and the actual overlapping recognition technology is not used to know the stacking processing situation. At the same time, the traditional stacking piece separation system occupies a lot of space because it requires multi-stage tumbling, has a complex structure, high space occupancy, and high hardware cost.

[0003] For example, the application publication number is CN117523296A, the application publication date is 2024.02.06, and the name is an intelligent logistics stack detection method, which specifically includes installing a detection device on a conveyor belt. During the installation process, it is necessary to ensure that the detection area of ​​the detection device is aligned with the conveyor belt, and then start the detection device; there is a package in the detection area, and the package is photographed by a sensor system to generate a color image of the package, and the color image is used as basic data for subsequent analysis and detection; step three: passing the collected color image to a detection algorithm model, analyzing the color image through a convolutional neural network, locating the position of the package on the picture according to the feature information of the package, and cropping out the picture information of the package area; passing the cropped picture information of the package area to a classification algorithm model, predicting the status of the package through the classification algorithm model, and after the prediction is completed, comparing the predicted value with a pre-defined threshold to determine the status of the package; outputting the detection result.

[0004] As in the above application, currently, overlapping parts identification is implemented by machine learning or deep learning algorithms, and deep learning is essentially a black box. The algorithm is driven by data rather than mechanism, so it lacks explainability, and the correlation between input and output is not intuitive enough. If the identification is wrong, it is difficult to make targeted improvements unless the data samples are significantly upgraded and retrained, resulting in low recognition accuracy when packages of various specifications appear. Summary of the invention

[0005] The object of the present invention is to provide a method for visually inspecting package stacks to solve the above-mentioned deficiencies in the prior art.

[0006] In order to achieve the above object, the present invention provides the following technical solution: a method for visually inspecting package stacks, comprising the following steps:

[0007] S01: A plurality of servo conveying mechanisms are arranged on the single-piece separation device, and the packages are conveyed and stacked pieces are separated by the plurality of servo conveying mechanisms. A set of RGBD depth cameras is arranged on the single-piece separation device, and the detection area on the single-piece separation device is detected in real time by the RGBD depth cameras;

[0008] S02: Collect pixel coordinate data of each target point wrapped in the detection area through the RGBD depth camera, and obtain a pixel coordinate data set U of each target point wrapped;

[0009] S03: Based on the obtained pixel coordinates of each target point of the package, the depth value D of the package is obtained by integration calculation m And the corresponding transition value △Xm;

[0010] S04: Based on the depth value D of the obtained package m The transition value △Xm is integrated and analyzed to obtain the stacking characteristic coefficient Kmax, and the stacking characteristic coefficient Kmax is used to determine whether abnormal stacking occurs;

[0011] S05: When abnormal stacking occurs, the corresponding deceleration servo conveying mechanism and acceleration servo conveying mechanism on the single piece separation device are calibrated based on the pixel coordinate data of each target point on the package and the stacking separation time is calculated;

[0012] S06: Based on the calculated deceleration servo conveying mechanism, acceleration servo conveying mechanism, and stack separation time, the single piece separation device is controlled to automatically separate the abnormal stack.

[0013] As a further description of the above technical solution: the coordinate data set U∈(A1, A2, A3....An), An(Xn, Yn, Zn), where An represents the package of the nth target point, Xn represents the X-axis coordinate data of the package of the nth target point, Yn represents the Y-axis coordinate data of the package of the nth target point, and Zn represents the Z-axis coordinate data of the package of the nth target point.

[0014] As a further description of the above technical solution: based on the obtained depth value D of the package m The integrated analysis of the transition value △Xm to obtain the stacking characteristic coefficient Kmax specifically includes the following steps:

[0015] Retrieve the pixel coordinate data set U∈(A1, A2, A3....An) of each target point in the package, identify the pixel coordinate data of each target point, remove the target points with the same X-axis coordinate data and Z-axis coordinate data, and sort the remaining target point pixel coordinate data in ascending order according to the X-axis coordinate data to obtain the processed target point pixel coordinate data set Um∈(A1, A2, A3....Am), m≥2;

[0016] Calculate the depth value D of two adjacent points m And the corresponding transition value △Xm:

[0017]

[0018] Integrated evaluation depth value D m And the transition value △Xm is used to obtain the stacking characteristic coefficient Kmax, wherein the stacking characteristic coefficient Kmax is the most effective stacking coefficient among the stacking coefficients of each adjacent target point of the package for judging whether abnormal stacking occurs.

[0019] As a further description of the above technical solution: integrating the evaluation depth value D m And the transition value △Xm is used to obtain the stacking characteristic coefficient Kmax:

[0020] Calculate the package stacking coefficient Km, where the package stacking coefficient Km calculation formula is:

[0021] All package stacking coefficients are obtained by statistical calculation, and the maximum value among all package stacking coefficients is selected and defined as the package stacking characteristic coefficient Kmax.

[0022] As a further description of the above technical solution: when the detected package is several standard parts, the stacking characteristic coefficient Kmax is used to determine whether abnormal stacking occurs:

[0023] When the package is composed of several fixed standard parts, the stacking characteristic coefficients of several standard parts are input, and the currently obtained stacking characteristic coefficients are compared and matched with the stacking characteristic coefficients of several standard parts. When the currently obtained package stacking characteristic coefficient does not match the stacking characteristic coefficient of the standard parts, it is judged as an abnormal stacking.

[0024] As a further description of the above technical solution: when the detected packages are of multiple types with complex and irregular shapes, the stacking characteristic coefficient Kmax is used to determine whether abnormal stacking occurs:

[0025] The stacking characteristic coefficient rated value Ke is set according to the actual situation of the current detected package, and the stacking characteristic coefficient Kmax is compared with the characteristic coefficient rated value Ke. When Kmax>Ke, it is judged as abnormal stacking. The characteristic coefficient rated value Ke is determined according to the current batch of packages. Optionally, it can be obtained by sampling the current batch of packages and then measuring them.

[0026] As a further description of the above technical solution: the single-piece separation equipment includes a conveyor frame, and a plurality of independently controlled servo conveying mechanisms are evenly distributed on the conveyor frame, and the RGBD depth camera is arranged above the conveyor frame to realize real-time detection of the packages conveyed on the conveyor frame.

[0027] As a further description of the above technical solution: based on the pixel coordinate data of each target point of the package, the corresponding deceleration servo conveying mechanism and acceleration servo conveying mechanism on the single piece separation device are integrated and analyzed and calibrated, and the stack separation time is calculated:

[0028] Collect the coordinate data X of the conveying boundary lines of each group of servo conveying mechanisms (2) in the detection area of ​​the single-piece separation equipment by the RGBD depth camera F1 , X F2 , X F3 ...X Fi ;

[0029] The coordinates of the two target points corresponding to the stacking characteristic coefficient Kmax are recorded as Au(Xu, Yu, Zu) and Av(Xv, Yv, Zv), where Xv>Xu;

[0030] When Zv>Zu, collect the maximum X-axis coordinate data of the pixel coordinate data of each target point in the package and record it as Xmax;

[0031] Calculate the position data of the stack separation point

[0032] Separate the stacked parts into position data Coordinate data X of the conveying boundary line F1 , X F2 , X F3 ...X Fi Match and get greater than and closest to The boundary coordinate data

[0033] Calculate the stack separation time T1, where Where V represents the conveying speed of the servo conveying mechanism, and Δt is the preset compensation amount of the separation time;

[0034] Acquire the boundary line coordinate data along the conveying direction of the single-room separation equipment The servo conveying mechanism on the front side is marked as an accelerating servo conveying mechanism, and the servo conveying mechanism on the rear side is marked as a decelerating servo conveying mechanism.

[0035] As a further description of the above technical solution: when Zv<Zu, collect the minimum X-axis coordinate data of the pixel coordinate data of each target point in the package and record it as Xmin;

[0036] Calculate the position data of the stack separation point

[0037] Separate the stacked parts into position data Coordinate data X of the conveying boundary line F1 , XF2 , X F3 ...X Fi Match and get greater than and closest to The boundary coordinate data

[0038] Calculate the stack separation time T2, where Where V represents the conveying speed of the servo conveying mechanism;

[0039] T f is the stack separation time, and T f The calculation method for stack separation time is: Wherein L is the length of the abnormal stack package to be separated;

[0040] Acquire the boundary line coordinate data along the conveying direction of the single-room separation equipment The servo conveying mechanism on the front side is marked as an accelerating servo conveying mechanism, and the servo conveying mechanism on the rear side is marked as a decelerating servo conveying mechanism.

[0041] As a further description of the above technical solution: when the stack separation time T2 < 0, the stack separation time correction value T is calculated at this time. 2X ;

[0042] Stack separation time correction value T 2X The calculation method is: Where V represents the conveying speed of the servo conveying mechanism, L S Indicates the length of the servo conveyor mechanism;

[0043] At this time, the corresponding deceleration servo conveying mechanism and acceleration servo conveying mechanism on the single-piece separation device are calibrated as follows: The servo conveying mechanism on the front side is marked as a deceleration servo data mechanism, and the servo conveying mechanism on the front side of the deceleration servo conveying mechanism is marked as a deceleration servo conveying mechanism.

[0044] In the above technical scheme, a visual inspection method for package stacking provided by the present invention has the following beneficial effects: by collecting pixel coordinate data of each target point of the package, then calculating the depth value of each adjacent target point of the package and the corresponding transition value, calculating the package stacking coefficient, statistically obtaining all the package stacking coefficients, selecting the maximum value of all the package stacking coefficients and defining it as the package stacking characteristic coefficient. Obviously, if abnormal stacking occurs, the end face of one end of the package stacking is tilted, resulting in a huge depth difference at a very short distance, and the maximum value of the obtained package stacking coefficient, i.e., the stacking characteristic coefficient, will obviously far exceed the constant stacking coefficient. By setting the rated value of the stacking characteristic coefficient and comparing it with the stacking characteristic coefficient, it is possible to quickly and accurately determine whether abnormal stacking occurs, and the abnormal stacking determination is driven by the mechanism, and the input and output correlation is intuitive and clear, and the interpretability is strong, which is convenient for targeted adjustment and improvement.

[0045] Secondly, by calculating the position data of the stack separation point, and then matching and calculating the closest dividing line coordinate data according to the conveying status of the servo conveying mechanism, the stack separation time is finally calculated based on the dividing line coordinate data and the separation point position data to ensure that the two packages of the abnormal stack are located on two servo conveying mechanisms, avoiding the situation where two packages are located on the same servo conveying mechanism or one package is located on two servo conveying mechanisms, which affects the stack separation effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the embodiments of the present application 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 recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0047] Figure 1 A schematic flow chart of a method for visually inspecting package stacks provided by an embodiment of the present invention;

[0048] Figure 2 A schematic diagram of the structure of a single-room separation device provided in an embodiment of the present invention;

[0049] Figure 3 A schematic diagram of the arrangement state of the RGBD depth camera provided in an embodiment of the present invention;

[0050] Figure 4 A schematic diagram of an abnormal package stacking state provided in an embodiment of the present invention.

[0051] Description of reference numerals:

[0052] 1. Conveyor rack; 2. Servo conveyor mechanism; 3. RGBD depth camera. DETAILED DESCRIPTION

[0053] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings.

[0054] Example 1: Please refer to Figure 1-4 The embodiment of the present invention provides a technical solution: a method for visually inspecting package stacks, comprising the following steps:

[0055] A plurality of servo conveying mechanisms are arranged on the single-piece separation device, and the packages are conveyed and stacked pieces are separated by the plurality of servo conveying mechanisms. A set of RGBD depth cameras is arranged on the single-piece separation device, and the detection area on the single-piece separation device is detected in real time by the RGBD depth cameras; specifically, Figure 2-3 As shown, the single-room separation equipment includes a conveyor frame 1, and a plurality of independently controlled servo conveying mechanisms 2 are evenly arranged on the conveyor frame 1, and the servo conveying mechanism 2 is a rotary conveyor belt mechanism driven by a servo motor, that is, each servo conveying mechanism 2 can independently control and adjust the conveying speed, and an RGBD depth camera 3 is arranged above the conveyor frame 1 to realize real-time detection of the parcels conveyed on the conveyor frame 1, and the image acquisition area of ​​the RGBD depth camera 3 on the conveyor frame 1 is the detection area;

[0056] The pixel coordinate data of each target point of the package in the detection area is collected by the RGBD depth camera to obtain the pixel coordinate data set U of each target point of the package; specifically, the RGBD depth camera calculates the distance between the object and the camera by measuring the time or phase difference of light emitted from the camera to the surface of the object and then reflected back to the camera, and then generates a depth map. After obtaining the depth map, the image is processed and the target is detected, and then the pixel coordinate data of each target point of the target object are extracted from the depth map, where the target point is each vertex of the package, and the pixel coordinate data are integrated to obtain the coordinate data set U; the coordinate data set U∈(A1, A2, A3....An), An(Xn, Yn, Zn), where An represents the nth target point of the package, Xn represents the X-axis coordinate data of the nth target point of the package, where the X-axis is the coordinate axis along the conveying direction of the single-piece separation device, Yn represents the Y-axis coordinate data of the nth target point of the package, where the Y-axis is the coordinate axis along the width direction of the single-piece separation device, and Zn represents the Z-axis coordinate data of the nth target point of the package, where the Z-axis is the coordinate axis along the vertical direction of the conveying plane of the single-piece separation device.

[0057] Based on the obtained pixel coordinates of each target point of the package, the depth value D of the package is obtained by integration calculation m And the corresponding transition value △Xm;

[0058] Specifically, the pixel coordinate data sets U∈(A1, A2, A3....An) of each target point in the package are retrieved, the pixel coordinate data of each target point is identified, the target points with the same X-axis coordinate data and Z-axis coordinate data are removed, and the remaining target point pixel coordinate data are sorted in order from small to high according to the X-axis coordinate data to obtain the processed target point pixel coordinate data set Um∈(A1, A2, A3....Am), m≥2;

[0059] Calculate the depth value D of two adjacent points m And the corresponding transition value △Xm:

[0060]

[0061] Integrated evaluation depth value D m And the transition value △Xm obtains the stacking characteristic coefficient Kmax,

[0062] Calculate the package stacking coefficient Km, where the package stacking coefficient Km calculation formula is:

[0063] All package stacking coefficients are statistically obtained, and the maximum value among all package stacking coefficients is selected and defined as the package stacking characteristic coefficient Kmax.

[0064] Based on the obtained package depth value D m The transition value △Xm is integrated and analyzed to obtain the stacking characteristic coefficient Kmax, and the stacking characteristic coefficient Kmax is used to determine whether abnormal stacking occurs;

[0065] When the package to be tested is composed of several standard parts, the stacking characteristic coefficient Kmax is used to determine whether abnormal stacking occurs:

[0066] When the package is a fixed number of standard parts, input the stacking characteristic coefficients of the standard parts, compare and match the stacking characteristic coefficients of the standard parts, and when the stacking characteristic coefficients of the package currently obtained do not match the stacking characteristic coefficients of the standard parts, it is judged as an abnormal stack. Obviously, when the package is a fixed number of standards, the stacking characteristic coefficients of the fixed number of standard packages can be directly measured, and then directly matched with the stacking characteristic coefficients of the package obtained by the current detection calculation. When the stacking characteristic coefficients of the package currently obtained do not match the stacking characteristic coefficients of the standard parts, it is judged as an abnormal stack. The identification of abnormal stacks is more accurate.

[0067] When the detected packages are of multiple types and complex and irregular, the stacking characteristic coefficient Kmax is used to determine whether abnormal stacking occurs:

[0068] According to the actual situation of the current package detection, the stacking characteristic coefficient rated value Ke is set, and the stacking characteristic coefficient Kmax is compared with the characteristic coefficient rated value Ke. When Kmax>Ke, it is judged as abnormal stacking.

[0069] It should be noted that, because express parcels need to be scanned and stacked for transportation, the express parcel as a whole is a detectable plane. Even if there is a height difference or a certain deformation occurs during transportation, it is within a uniform range and there will not be a huge depth difference in a very short distance. When express parcels are abnormally stacked during transportation, one end of the parcel is erected above the adjacent parcel, causing the end face of the parcel to tilt, resulting in a huge depth difference in a very short distance (such as Figure 4 As shown, a depth difference of Dsmo appears at a distance of △X. This application uses this as a basis to determine whether there is abnormal overlap in the package. By collecting the pixel coordinate data of each target point of the package, the depth value D of each adjacent target point of the package is calculated and obtained. m And the corresponding transition value △Xm, calculate the package stacking coefficient Km, and statistically obtain all the package stacking coefficients. The maximum value of all the package stacking coefficients is selected and defined as the package stacking characteristic coefficient Kmax. Obviously, if abnormal stacking occurs, the end face of one end of the package stacking installation will be tilted, resulting in a large depth difference in a very short distance, and the maximum value of the package stacking coefficient obtained, that is, the stacking characteristic coefficient Kmax, will obviously far exceed the constant stacking coefficient. By setting the stacking characteristic coefficient rated value Ke and comparing it with the stacking characteristic coefficient Kmax, it is possible to quickly and accurately determine whether abnormal stacking occurs, and the abnormal stacking judgment is driven by the love you mechanism. The input and output correlation is intuitive and clear, and it is highly explainable, which is convenient for targeted adjustments and improvements.

[0070] Example 2: Please refer to Figure 1 When abnormal stacking occurs, the corresponding deceleration servo conveying mechanism and acceleration servo conveying mechanism on the single piece separation device are calibrated based on the pixel coordinate data of each target point of the package and the stacking separation time is calculated;

[0071] Based on the calculated deceleration servo conveying mechanism, acceleration servo conveying mechanism and stack separation time, the single-piece separation equipment is controlled to automatically separate abnormal stacks.

[0072] The pixel coordinate data of each target point on the package are integrated and analyzed to calibrate the corresponding deceleration servo conveying mechanism and acceleration servo conveying mechanism on the single piece separation device and calculate the stack separation time as follows:

[0073] Collect the coordinate data X of the conveying boundary line of each group of servo conveying mechanism 2 in the detection area of ​​the single-piece separation equipment by the RGBD depth camera F1 , X F2, X F3 ...X Fi ; Multiple sets of servo conveying mechanisms 2 are equidistantly arranged in the length direction of the conveying frame 1, wherein the conveying boundary line is the decomposition line position of two adjacent sets of servo conveying mechanisms, and the boundary line coordinate data X F1 , X F2 , X F3 ...X Fi Align with the pixel coordinate data of each target point of the package;

[0074] The coordinates of the two target points corresponding to the stacking characteristic coefficient Kmax are recorded as Au(Xu, Yu, Zu) and Av(Xv, Yv, Zv), where Xv>Xu;

[0075] When Zv>Zu, collect the maximum X-axis coordinate data of the pixel coordinate data of each target point in the package and record it as Xmax;

[0076] Calculate the position data of the stack separation point

[0077] Separate the stacked parts into position data Coordinate data X of the conveying boundary line F1 , X F2 , X F3 ... XF i is matched, and the result is greater than and closest to The boundary coordinate data

[0078] Calculate the stack separation time T1, where Wherein V represents the conveying speed of the servo conveying mechanism, Δt is the preset compensation amount of the separation time; wherein Δt is a preset value set by the technician according to the current conveying speed of the servo conveying mechanism, and optionally, Δt=(Xv-Xu) / v,

[0079] By calculating the position data of the stack separation point Then, the closest boundary coordinate data is calculated based on the servo conveying mechanism conveying state matching Finally, combined with the boundary coordinate data And the separation point location data Calculate the stack separation time to ensure that the two packages of abnormal stacks are located on two servo conveying mechanisms to avoid two packages being located on the same servo conveying mechanism or one package being located on two servo conveying mechanisms, which affects the stack separation effect.

[0080] Acquire the boundary line coordinate data along the conveying direction of the single-room separation equipment The servo conveying mechanism on the front side is marked as an accelerating servo conveying mechanism, and the servo conveying mechanism on the rear side is marked as a decelerating servo conveying mechanism.

[0081] Based on the calculated deceleration servo conveying mechanism, acceleration servo conveying mechanism, and stack separation time, the single-piece separation equipment is controlled to automatically separate the abnormal stacks. Specifically, according to the determined acceleration servo data mechanism, deceleration servo conveying mechanism, and control time T1, after the interval control time T1, the target acceleration servo data mechanism is controlled to accelerate, and the target deceleration servo conveying mechanism is controlled to decelerate, so as to try to separate the packages of the abnormal stacks.

[0082] Embodiment 3: When Zv<Zu, collect the minimum X-axis coordinate data of the pixel coordinate data of each target point in the package and record it as Xmin;

[0083] Calculate the position data of the stack separation point

[0084] Separate the stacked parts into position data Coordinate data X of the conveying boundary line F1 , X F2 , X F3 ...X Fi Match and get greater than and closest to The boundary coordinate data

[0085] Calculate the stack separation time T2, where Where V represents the conveying speed of the servo conveying mechanism;

[0086] T f is the stack separation time, and T f The calculation method for stack separation time is: Wherein L is the length of the abnormal stack package to be separated;

[0087] Acquire the boundary line coordinate data along the conveying direction of the single-room separation equipment The servo conveying mechanism on the front side is marked as an accelerating servo conveying mechanism, and the servo conveying mechanism on the rear side is marked as a decelerating servo conveying mechanism.

[0088] When the stack separation time T2 < 0, the stack separation time correction value T is calculated. 2X ;

[0089] Stack separation time correction value T 2X The calculation method is: Where V represents the conveying speed of the servo conveying mechanism, L S Indicates the length of the servo conveyor mechanism;

[0090] At this time, the corresponding deceleration servo conveying mechanism and acceleration servo conveying mechanism on the single-piece separation device are calibrated as follows: The servo conveying mechanism on the front side is marked as a deceleration servo data mechanism, and the servo conveying mechanism on the front side of the deceleration servo conveying mechanism is marked as a deceleration servo conveying mechanism.

[0091] After testing, the success rate of stacking separation is as high as 97%. At the same time, without adding extra hardware costs and space, the stacking can be effectively handled. The stacking processing efficiency can reach 3,400 pieces per hour. With the default size of 6 columns * 8 rows and a servo conveying mechanism with a length of 40 cm and a width of 10 cm, the system greatly guarantees the stacking separation processing capability, making the subsequent scanning and distribution more accurate.

[0092] The above description is only by way of illustration of certain exemplary embodiments of the present invention. It is undoubted that those skilled in the art can modify the described embodiments in various ways without departing from the spirit and scope of the present invention. Therefore, the above drawings and descriptions are illustrative in nature and should not be construed as limiting the scope of protection of the claims of the present invention.

Claims

1. A method for visually inspecting package stacks, characterized in that: The following steps are involved: S01: A plurality of servo conveying mechanisms are arranged on the single-piece separation device, and the packages are conveyed and stacked pieces are separated by the plurality of servo conveying mechanisms. A set of RGBD depth cameras is arranged on the single-piece separation device, and the detection area on the single-piece separation device is detected in real time by the RGBD depth cameras; S02: Collect pixel coordinate data of each target point wrapped in the detection area through the RGBD depth camera, and obtain a pixel coordinate data set U of each target point wrapped; S03: Based on the obtained pixel coordinates of each target point of the package, the depth value D of the package is obtained by integration calculation m And the corresponding transition value △Xm; S04: Based on the depth value D of the obtained package m The transition value △Xm is integrated and analyzed to obtain the stacking characteristic coefficient Kmax, and the stacking characteristic coefficient Kmax is used to determine whether abnormal stacking occurs; S05: When abnormal stacking occurs, the corresponding deceleration servo conveying mechanism and acceleration servo conveying mechanism on the single piece separation device are calibrated based on the pixel coordinate data of each target point on the package and the stacking separation time is calculated; S06: Based on the calculated deceleration servo conveying mechanism, acceleration servo conveying mechanism, and stack separation time, the single piece separation device is controlled to automatically separate the abnormal stack.

2. A method for visually inspecting package stacks according to claim 1, characterized in that: The coordinate data set U∈(A1, A2, A3....An), An(Xn, Yn, Zn), where An represents the package of the nth target point, Xn represents the X-axis coordinate data of the package of the nth target point, Yn represents the Y-axis coordinate data of the package of the nth target point, and Zn represents the Z-axis coordinate data of the package of the nth target point.

3. A method for visually inspecting package stacks according to claim 2, characterized in that: Based on the obtained package depth value D m The integrated analysis of the transition value △Xm to obtain the stacking characteristic coefficient Kmax specifically includes the following steps: Retrieve the pixel coordinate data set U∈(A1, A2, A3....An) of each target point in the package, identify the pixel coordinate data of each target point, remove the target points with the same X-axis coordinate data and Z-axis coordinate data, and sort the remaining target point pixel coordinate data in ascending order according to the X-axis coordinate data to obtain the processed target point pixel coordinate data set Um∈(A1, A2, A3....Am), m≥2; Calculate the depth value D of two adjacent points m And the corresponding transition value △Xm: Integrated evaluation depth value D m And the transition value △Xm is used to obtain the stacking characteristic coefficient Kmax, wherein the stacking characteristic coefficient Kmax is the most effective stacking coefficient among the stacking coefficients of each adjacent target point of the package for judging whether abnormal stacking occurs.

4. A method for visually inspecting package stacks according to claim 3, characterized in that: Integrated evaluation depth value D m And the transition value △Xm is used to obtain the stacking characteristic coefficient Kmax: Calculate the package stacking coefficient Km, where the package stacking coefficient Km calculation formula is: All package stacking coefficients are obtained by statistical calculation, and the maximum value among all package stacking coefficients is selected and defined as the package stacking characteristic coefficient Kmax.

5. The method for visually inspecting package stacks according to claim 1, characterized in that: When the package to be tested is composed of several standard parts, the stacking characteristic coefficient Kmax is used to determine whether abnormal stacking occurs: When the package is composed of several fixed standard parts, the stacking characteristic coefficients of several standard parts are input, and the currently obtained stacking characteristic coefficients are compared and matched with the stacking characteristic coefficients of several standard parts. When the currently obtained package stacking characteristic coefficient does not match the stacking characteristic coefficient of the standard parts, it is judged as an abnormal stacking.

6. A method for visually inspecting package stacks according to claim 4, characterized in that: When the detected packages are of multiple types and complex and irregular, the stacking characteristic coefficient Kmax is used to determine whether abnormal stacking occurs: The stacking characteristic coefficient rated value Ke is set according to the actual situation of the current detected package, and the stacking characteristic coefficient Kmax is compared with the characteristic coefficient rated value Ke. When Kmax>Ke, it is judged as abnormal stacking.

7. A method for visually inspecting package stacks according to claim 4, characterized in that: The single-piece separation device comprises a conveyor frame (1), and a plurality of groups of independently controlled servo conveying mechanisms (2) are evenly distributed on the conveyor frame (1), and the RGBD depth camera (3) is arranged above the conveyor frame (1) to realize real-time detection of packages conveyed on the conveyor frame (1).

8. A method for visually inspecting package stacks according to claim 7, characterized in that: Based on the pixel coordinate data of each target point on the package, the corresponding deceleration servo conveyor mechanism and acceleration servo conveyor mechanism on the single piece separation device are integrated and analyzed, and the stack separation time is calculated: Collect the coordinate data X of the conveying boundary lines of each group of servo conveying mechanisms (2) in the detection area of ​​the single-piece separation equipment by the RGBD depth camera F1 , X F2 , X F3 ...X Fi ; The coordinates of the two target points corresponding to the stacking characteristic coefficient Kmax are recorded as Au(Xu, Yu, Zu) and Av(Xv, Yv, Zv), where Xv>Xu; When Zv>Zu, collect the maximum X-axis coordinate data of the pixel coordinate data of each target point in the package and record it as Xmax; Calculate the position data of the stack separation point Separate the stacked parts into position data Coordinate data X of the conveying boundary line F1 , X F2 , X F3 ...X Fi Match and get greater than and closest to The boundary coordinate data Calculate the stack separation time T1, where Where V represents the conveying speed of the servo conveying mechanism, and Δt is the preset compensation amount of the separation time; Acquire the boundary line coordinate data along the conveying direction of the single-room separation equipment The servo conveying mechanism on the front side is marked as an accelerating servo conveying mechanism, and the servo conveying mechanism on the rear side is marked as a decelerating servo conveying mechanism.

9. A method for visually inspecting package stacks according to claim 8, characterized in that: When Zv<Zu, collect the minimum X-axis coordinate data of the pixel coordinate data of each target point in the package and record it as Xmin; Calculate the position data of the stack separation point Separate the stacked parts into position data Coordinate data X of the conveying boundary line F1 , X F2 , X F3 ...X Fi Match and get greater than and closest to The boundary coordinate data Calculate the stack separation time T2, where Where V represents the conveying speed of the servo conveying mechanism; T f is the stack separation time, and T f The calculation method for stack separation time is: Wherein L is the length of the abnormal stack package to be separated; Acquire the boundary line coordinate data along the conveying direction of the single-room separation equipment The servo conveying mechanism on the front side is marked as an accelerating servo conveying mechanism, and the servo conveying mechanism on the rear side is marked as a decelerating servo conveying mechanism.

10. A method for visually inspecting package stacks according to claim 9, characterized in that: 。 When the stack separation time T2 < 0, the stack separation time correction value T is calculated. 2X ; Stack separation time correction value T 2X The calculation method is: Where V represents the conveying speed of the servo conveying mechanism, L S Indicates the length of the servo conveyor mechanism; At this time, the corresponding deceleration servo conveying mechanism and acceleration servo conveying mechanism on the single-piece separation device are calibrated as follows: The servo conveying mechanism on the front side is marked as a deceleration servo data mechanism, and the servo conveying mechanism on the front side of the deceleration servo conveying mechanism is marked as a deceleration servo conveying mechanism.

Citation Information

Patent Citations

  • Stacked noise reduction auto-encoder based on spectral loss function and hyperspectral anomaly detection method of cooperative representation

    CN115439431A

  • Express parcel real-time detection and identification algorithm based on depth information matching RGB

    CN115457048A

  • Parcel detection method and parcel processing equipment

    CN115631125A

  • Target area security and monitoring system based on hundred-million-level pixel camera

    WO2023098362A1