A dynamic programming method and system for coal gangue sorting robot based on greedy strategy

By introducing the energy consumption index of mass and path product into the coal gangue sorting robot and improving the greedy strategy, combined with image recognition and positioning, the sorting path and speed curve are optimized to solve the risk of sorting omissions and efficiency in multi-material sorting. It reduces the problem and achieves low energy consumption and high efficiency sorting effect.

CN118428647BActive Publication Date: 2024-10-29CHINA UNIV OF MINING & TECH (BEIJING)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410461924.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-17
Publication Date
2024-10-29
Estimated Expiration
2044-04-17

AI Technical Summary

Technical Problem

The existing dynamic programming algorithm of coal gangue sorting robots has the risk of sorting omissions in multi-material sorting, and fails to effectively consider the quality of objects to be sorted, resulting in poor sorting efficiency and energy consumption.

Method used

This paper proposes a dynamic planning method for coal gangue sorting robots based on a greedy strategy. By introducing the energy consumption index of the product of quality and path as the optimization function of sorting planning, and combining the coal gangue image recognition and positioning methods, the sorting path and speed are optimized. curve, select the waste with the lowest cost for sorting, and compensate for omissions through an improved greedy strategy.

Benefits of technology

It effectively improves coal gangue sorting efficiency and energy utilization, reduces sorting energy consumption, reduces sorting time and travel, and enhances the working efficiency of the sorting system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118428647B_ABST
    Figure CN118428647B_ABST
Patent Text Reader

Abstract

The present invention discloses a coal gangue sorting robot dynamic programming method and system based on greedy strategy, which belongs to the field of sorting technology and comprises the following steps: step 1, initializing the gangue sorting parameters of the Delta gangue sorting robot; step 2, updating the position and quality information of the gangue flow within the time window; step 3, according to the gangue flow density g within the time window, the gangue sorting robot is automatically sorted; step 4, the gangue sorting robot is automatically sorted; step 5, the gangue sorting robot is automatically sorted; step 6, the gangue sorting robot is automatically sorted; step 7, the gangue sorting robot is automatically sorted; step 8, the gangue sorting robot is automatically sorted; step 9, the gangue sorting robot is automatically sorted; step 10, the gangue sorting robot is automatically sorted; step 11, the gangue sorting robot is automatically sorted; step 12, the gangue sorting robot is automatically sorted; step 13, the gangue sorting u , adjust the movement speed u of Delta gangue sorting robot r ; Step 4, update the position of Delta gangue sorting robot and gangue; Step 5, calculate the cost function of all gangue in the time window, and select the gangue with the minimum cost for sorting; Step 6, i Execute the picking and placing tasks; Step 7, determine whether all the waste rocks in the time window have been sorted. Compared with the traditional sequential planning algorithm, the present invention saves sorting energy consumption and sorting time, and effectively improves waste rock sorting efficiency and energy utilization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of sorting, and in particular relates to a dynamic programming method and system for a coal gangue sorting robot based on a greedy strategy. Background Art

[0002] Gangue sorting robots are coal mine robots that solve the problem of gangue removal in raw coal production and transportation. They are an effective way to achieve clean coal utilization and green production. Gangue sorting robots are mainly divided into cable-driven, rectangular coordinate and parallel robot types. In terms of parallel-type gangue sorting robots, the Delta robot has the advantages of high structural rigidity and high operating speed, which meets the needs of gangue sorting.

[0003] Sorting planning is an important issue in the production of coal gangue sorting robots. Reasonable sorting order and sorting path can reduce the robot's moving distance, time and energy consumption, improve sorting efficiency and reduce sorting energy consumption, which has very important research value. Robot sorting is divided into static sorting and dynamic sorting according to whether the conveyor belt stops. The static sorting planning problem is similar to the traveling salesman problem (TSP). Commonly used planning algorithms include genetic algorithms, simulated annealing algorithms, artificial neural network algorithms, ant colony algorithms, etc.; in the dynamic sorting planning problem, the coordinate position of the object to be sorted changes with the movement of the conveyor belt. The path and space of its dynamic planning are more complicated, and it is impossible to directly apply the static sorting planning algorithm to solve it.

[0004] In the field of gangue sorting, Wang et al. proposed a mathematical model of dynamic tracking of gangue by manipulator based on the minimum time and solved it using particle swarm optimization algorithm in “Trajectory planning for coal gangue sorting robot tracking fast-mass target under multiple constraints” to solve the grabbing impact problem of gangue sorting robot, which improved the robot target tracking accuracy and gangue grabbing success rate. Wu et al. constructed a multi-task allocation framework of coal gangue sorting robot system for the time-varying raw coal flow in “Multi-task allocation framework of coal gangue sorting robot system for the time-varying raw coal flow.” They proposed a multi-task allocation model based on M / M / s queuing model, created an iterative mechanism for solving the environmental state of the gangue sorting area, and improved the allocation efficiency of gangue sorting tasks through the adaptive weight rule of the greedy algorithm. The experimental results show that the framework theory has good adaptability and sorting effect in multi-sorting task scheduling under different gangue flow density conditions. In terms of gangue image positioning, Li et al. proposed a method for positioning and identifying gangue through image processing in “Image positioning and identification method and system for coal and gangue sorting robot.” A clustering method was used to binarize gangue images using three threshold automatic segmentation methods, and a joint feature classifier that combined the grayscale and texture features of gangue with contrast had good positioning and recognition effects in the experiment.

[0005] In terms of dynamic planning sorting algorithms, Zhang et al. studied the multi-material fast sorting problem of Delta robots in “Simultaneous path planning and trajectory optimization for high-speed sorting system.” They optimized the sorting trajectory and speed curve, and performed dynamic sorting planning through a greedy strategy to improve the efficiency of the sorting system. However, the sorting algorithm did not consider the omission compensation problem of multi-material sorting, and there was a risk of sorting omissions. The improved greedy strategy proposed by Zhao and Wang in “Sorting path optimization of delta robot based on improved greedy algorithm.” considered the omission compensation problem in material sorting, but like the former, it can only be used in the sorting conditions of the same materials with similar quality and size. Chen et al. optimized the greedy strategy and added omission compensation in the dynamic sorting problem of sorting multiple solid construction waste in “Dynamic sorting planning of a rectangular-coordinate robot based on a greedy strategy.” The experimental results show that this method shortens the average sorting time and average sorting distance, and effectively improves the efficiency of the sorting system. However, the cost function in this greedy strategy does not consider the quality of the objects to be sorted, and only uses the robot's sorting stroke as the cost indicator, which cannot achieve the goal of reducing sorting energy consumption.

[0006] To this end, this paper proposes an improved greedy strategy dynamic programming algorithm which takes into account the quality of gangue and is based on the sorting energy consumption index. It combines the gangue image recognition and positioning method to achieve low-energy consumption and high-efficiency sorting planning of the gangue sorting robot, and verifies the effectiveness of the algorithm by establishing a simulation experiment. Summary of the invention

[0007] The purpose of the present invention is to provide a dynamic programming method and system for a coal gangue sorting robot based on a greedy strategy, so as to solve the problems of poor flexibility, repeated sorting routes and low efficiency of the sorting strategy algorithm used in the existing sorting tasks in the above-mentioned technology.

[0008] To achieve the above object, the present invention provides a dynamic programming method for a coal gangue sorting robot based on a greedy strategy, comprising the following steps:

[0009] Step 1: Initialize the sorting parameters of the Delta gangue sorting robot, including the initialization time window T, the gangue bin positions P on both sides of the conveyor belt, and the j 、Delta gangue sorting robot maximum moving acceleration amax and the maximum moving speed u max , sorting work area [X min ,X max ], Single shortest sorting time T min , equivalent mass of moving platform m d' , the height H of the gate-shaped track, the arc radius H / 2 and the conveyor belt running speed v belt ;

[0010] Step 2: Update the location and quality information G of the waste rock flow within the time window n (x n ,y n ,m n );

[0011] Step 3: According to the density of the gangue flow g in the time window u , adjust the movement speed u of Delta gangue sorting robot r ;

[0012] Step 4: Update the positions of the Delta waste rock sorting robot and the waste rock;

[0013] Step 5: Calculate the cost function of all waste rocks in the time window, and select the waste rocks with the minimum cost for sorting;

[0014] Step 6: Gangue G i performs pick and place tasks;

[0015] Step 7: Determine whether all the waste rock within the time window has been sorted.

[0016] Preferably, the specific process of step 2 is as follows:

[0017] S21, calculate the position G of each gangue through the gangue image positioning algorithm i (x i ,y i ,t0), the mass m of each gangue is estimated by gangue image quality approximation algorithm i ;

[0018] S22, the position and quality information are matched one by one and merged into G n (x n ,y n ,m n ,t0) returned to the gangue sorting robot system;

[0019] S23. The gangue sorting robot system records and updates the location and quality information table of the gangue flow in real time, and divides the gangue flow on the gangue conveyor belt into regions with the time window T as a time period. The gangue robot sorting system takes the first time window on the conveyor belt that is about to enter the sorting area of ​​the Delta gangue sorting robot as the current working time window, and sends the gangue flow data in the window to the robot dynamic sorting planning algorithm module.

[0020] Preferably, the specific formula for calculating the position of the gangue and estimating the mass of the gangue in S21 is as follows:

[0021]

[0022]

[0023] In the formula, u i and v i represents the pixel coordinates of gangue in the pixel coordinate system, u0 and v0 represent the pixel coordinates of the origin of the image coordinate system in the pixel coordinate system, is the camera internal parameter, R cw and T cw is the rotation and translation transformation matrix from the Delta gangue sorting robot coordinate system to the image coordinate system, z i represents the height from the camera to the conveyor belt, p x is the distance from the edge of the gangue to the perpendicular line of the bisector, x max and x min Respectively represent the maximum and minimum values ​​of the gangue edge point in the x direction; V i represents the volume of gangue i, ρ i Represents the density of gangue i.

[0024] Preferably, the specific process of step 3 is as follows:

[0025] S31, the robot dynamic sorting planning algorithm module analyzes the waste rock flow data in the current working time window, and counts the waste rock quantity in the current window as the waste rock flow density g u ;

[0026] S32, for the density of waste rock flow g u , adjust the movement speed u of Delta gangue sorting robot r , the specific adjustment relationship is as follows:

[0027]

[0028] Among them, u max Indicates the maximum sorting movement rate of the Delta gangue sorting robot, g maxIt indicates the maximum waste rock flow density that can be completely sorted at the maximum sorting rate.

[0029] Preferably, the specific process of updating the position of the Delta gangue sorting robot and the gangue in step 4 is as follows:

[0030] S41, after the Delta gangue sorting robot completes the last sorting task, the position coordinates of the Delta gangue sorting robot's moving platform gripper are updated;

[0031] S42, according to the conveyor belt speed v belt and Delta gangue sorting robot system time t, update the position coordinates G of the gangue flow in the current time window i (x i ,y i ,t0), the specific calculation formula is as follows:

[0032]

[0033] In the formula, the coordinates of the gangue are Unit is mm, conveyor belt speed v belt The unit is mm / s, and the unit of Delta gangue sorting robot system time t is s.

[0034] Preferably, the specific process of step 5 is as follows:

[0035] S51. According to the coordinate position information of the unsorted gangue flow in the current time window, determine whether there is gangue in the current sorting area; if there is no gangue in the current sorting area, wait for the gangue in the current time window to enter the sorting area of ​​the Delta gangue sorting robot. When the gangue is about to enter the sorting area, perform the improved greedy strategy sorting planning algorithm on all the gangue to be sorted in the current time window, and calculate the cost function L(G(t)) of each gangue sorting according to the coordinates and quality information of each gangue; if there is unsorted gangue in the current sorting area, perform the improved greedy strategy sorting planning algorithm on all the gangue in the sorting area, and calculate the cost function L(G(t)) of each gangue sorting according to the coordinates and quality information of each gangue. The specific calculation formula of the cost function L(G(t)) is as follows:

[0036]

[0037]

[0038]

[0039]

[0040] In the formula, The energy consumption of the Delta gangue sorting robot picking up gangue i; is the energy consumption of Delta gangue sorting robot to place gangue i; m i is the mass of gangue i; m d ′ is the equivalent mass of the moving platform; is the coordinate of gangue i; is the coordinate of the waste rock bin corresponding to waste rock i-1; is the coordinate of the waste rock bin corresponding to waste rock i, α is the compensation coefficient, and the waste rock flow density g u Decide; is the omission compensation function of the greedy strategy; Δ x =X max -X min , T min The shortest single sorting time;

[0041] S52, comparing the sorting cost functions of each gangue calculated by the improved greedy strategy sorting planning algorithm, and selecting the gangue with the smallest cost as the gangue to be sorted for this task;

[0042] S53, according to the coordinate position of the selected gangue and the sorting movement rate u of the Delta gangue sorting robot r , calculate the actual sorting coordinate position of gangue;

[0043] S54, determine whether the actual sorting coordinates of the selected gangue exceed the sorting work area of ​​the Delta gangue sorting robot; if the actual sorting coordinates do not exceed the sorting work area, transmit the actual sorting coordinates to the Delta gangue sorting robot to perform the picking and placing tasks; if the actual sorting coordinates of the selected gangue exceed the sorting work area, the selected gangue cannot be sorted, return to S52 to select the gangue with the second lowest cost, and execute subsequent steps.

[0044] Preferably, the specific process of step 6 is as follows:

[0045] S61. The gangue robot sorting system generates a gate-shaped trajectory and plans an improved trapezoidal acceleration curve of the Delta gangue sorting robot according to the actual sorting coordinates of the gangue and the position coordinates of the moving platform gripper of the Delta gangue sorting robot. Similarly, according to the actual sorting coordinates of the gangue and the coordinates of the gangue bin corresponding to the gangue, a gate-shaped trajectory is generated and an improved trapezoidal acceleration curve of the Delta gangue sorting robot is planned;

[0046] S62, the Delta gangue sorting robot moves to the actual gangue sorting coordinates according to the planned trajectory and speed, and performs the gangue picking task; similarly, according to the planned trajectory and speed, it moves to the gangue bin corresponding to the gangue and performs the gangue placement task; records the Delta gangue sorting robot's moving platform gripper position coordinates and the time t spent on this sorting task i .

[0047] Preferably, the Delta gangue sorting robot is divided into three stages according to the speed change and trajectory of the Delta gangue sorting robot in the gate-shaped trajectory movement. The first stage is the acceleration stage, and the speed of the Delta gangue sorting robot is accelerated from 0 to u r , the corresponding gate-shaped trajectory is the first straight line trajectory; the second stage is the uniform motion stage, and the speed of the Delta gangue sorting robot is maintained at u r The corresponding gate-shaped trajectory is two arc transition segments and a straight line segment in the middle; the third stage is the deceleration stage, and the speed of the Delta gangue sorting robot is u r When the speed is reduced to 0, the corresponding gate-shaped trajectory is the third straight line trajectory; the acceleration and stroke formula of the gate-shaped trajectory motion in the acceleration stage are as follows:

[0048]

[0049]

[0050] a0 is the maximum moving acceleration of the Delta gangue sorting robot in this gate-shaped trajectory, and T0 is the total time of the acceleration stage.

[0051] Preferably, the specific situation of judging whether all the gangue in the current time window has been sorted in step 7 is as follows: if all the gangue has been sorted, return to step 2 to execute the sorting task of the next time window, and at the same time, the moving platform of the Delta gangue sorting robot turns back to the initial position (x0, y0) of the robot system; if all the gangue in the current time window has not been sorted, it is divided into two situations: the first situation is that the Delta gangue sorting robot has only sorted part of the gangue, and there is still gangue to be sorted in the sorting area or there is still gangue that has not entered the sorting area, then the Delta gangue sorting robot needs to continue to complete the gangue sorting task, return to step 4, execute the next gangue sorting task, and update the Delta gangue sorting robot system time to: t = t + t i; The second situation is that the density of the gangue flow is large, the Delta gangue sorting robot has only completed the sorting task of part of the gangue, and the remaining unsorted gangue has left the sorting area. The Delta gangue sorting robot has completed the gangue sorting task of the current time window and returns to step 2 to execute the sorting task of the next time window. At the same time, the Delta gangue sorting robot's moving platform gripper returns to the initial position (x0, y0) of the robot system.

[0052] The present invention also provides a coal gangue sorting robot dynamic planning system based on a greedy strategy, comprising a coal gangue conveyor belt, a gangue bin, a visual system, a motion control system and a Delta gangue sorting robot. The visual control system identifies coal blocks and gangue in real time and processes the position and image information of the gangue flow and sends it to a robot dynamic sorting planning algorithm module in a computer; the motion control system completes the sorting control of the Delta gangue sorting robot and completes the tasks of sorting, grasping and placing the gangue.

[0053] Therefore, the present invention adopts the above-mentioned coal gangue sorting robot dynamic programming method and system based on greedy strategy, which has the following beneficial effects:

[0054] (1) This paper considers the quality and path of gangue sorting, and introduces the energy consumption index of the product of quality and path as the optimization function of sorting planning, which is closer to the actual gangue sorting needs;

[0055] (2) Aiming at the planning problem of coal gangue sorting robot, an improved greedy strategy dynamic programming algorithm was designed. Compared with the traditional sequential planning algorithm, it saves sorting energy consumption and sorting time, and effectively improves the gangue sorting efficiency and energy utilization.

[0056] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 A schematic diagram of a system of a coal gangue sorting robot dynamic programming method and system based on a greedy strategy of the present invention;

[0058] Figure 2 This is the structural diagram of the Delta coal gangue sorting robot system of the present invention;

[0059] Figure 3 This is a simplified model diagram of the Delta robot of the present invention;

[0060] Figure 4 This is the trajectory diagram of the Delta robot gangue sorting of the present invention;

[0061] Figure 5 This is a working area diagram of the coal gangue sorting robot system of the present invention;

[0062] Figure 6 This is the gangue edge detection and volume calculation diagram of the present invention;

[0063] Figure 7 This is a schematic diagram of the gangue sorting plan of the present invention;

[0064] Figure 8 The schematic diagrams of the waste rock distribution of different waste rock flow densities of the present invention are shown in FIG. (a) is a schematic diagram of the waste rock distribution of a relatively small waste rock flow density; and (b) is a schematic diagram of the waste rock distribution of a relatively large waste rock flow density.

[0065] Fig. 9 The following are the sorting sequence diagrams of the two planning algorithms under the condition of relatively small waste rock flow density of the present invention; (a) is the sorting sequence diagram of the improved greedy strategy planning algorithm; (b) is the sorting sequence diagram of the sequential planning algorithm;

[0066] Fig.10 The graphs are the experimental results of random distribution simulation sorting of two planning algorithms under the condition of relatively small waste rock flow density of the present invention; (a) is the experimental results of conveyor belt speed and average sorting time of two planning algorithms under the condition of relatively small waste rock flow density; (b) is the experimental results of conveyor belt speed and average sorting energy consumption of two planning algorithms under the condition of relatively small waste rock flow density;

[0067] Fig.11 The following are the sorting sequence diagrams of the two planning algorithms under the condition of large waste rock flow density of the present invention; (a) is the sorting sequence diagram of the improved greedy strategy planning algorithm; (b) is the sorting sequence diagram of the sequential planning algorithm;

[0068] Fig.12 Figure 1 is a graph showing the experimental results of random distribution simulation sorting of two planning algorithms under the condition of relatively large waste rock flow density of the present invention; (a) is a graph showing the experimental results of conveyor belt speed and average sorting time of two planning algorithms under the condition of relatively large waste rock flow density; (b) is a graph showing the experimental results of conveyor belt speed and average sorting energy consumption of two planning algorithms under the condition of relatively large waste rock flow density;

[0069] Reference numerals

[0070] 1. Delta gangue sorting robot; 2. Motion control system; 3. Vision system; 4. Gangue bin; 5. Gangue conveyor belt. DETAILED DESCRIPTION

[0071] The following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. 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.

[0072] See also Figure 1-12 A coal gangue sorting robot dynamic planning system based on a greedy strategy includes a coal gangue conveyor belt 5, a gangue bin 4, a visual system 3, a motion control system 2 and a Delta gangue sorting robot 1, wherein the coal gangue conveyor belt is responsible for the transportation of coal blocks and gangue blocks; the visual control system recognizes the coal blocks and gangue in real time and processes the position and image information of the gangue flow and sends it to the robot dynamic sorting planning algorithm module in the computer; the motion control system completes the sorting control of the Delta gangue sorting robot and completes the sorting, grabbing and placing tasks of the gangue.

[0073] The Delta gangue sorting robot is a typical parallel robot. Its simplified model is as follows: Figure 3 As shown in the figure, there are three motion branches in the Delta gangue sorting robot, each of which consists of a static platform A1A2A3, an active arm A i B i (i=1,2,3), slave arm B i C i (i=1,2,3), moving platform C1C2C3. Among them, the lines connecting the three hinge points of the active arm and the static platform can form an equilateral triangle; similarly, the three hinge points of the driven arm and the moving platform also form an equilateral triangle. Since the lengths of the three active arms and the three driven arms are equal, without considering the influence of factors such as assembly errors, the moving platform can be regarded as keeping parallel with the static platform during movement. Figure 2 As shown, coordinate systems {O} and {O'} are established with the centers of the moving platform and the static platform as coordinate origins, respectively, wherein OA1 is parallel to the X-axis, O'C1 is parallel to the X'-axis, and the coordinate systems of the two platforms are parallel to each other. Figure 3 The meaning of each symbol parameter is shown in Table 1:

[0074] Table 1 Delta robot model parameters

[0075]

[0076]

[0077] From the simplified model of the Delta robot, we can see that the angle of the line connecting each hinge point of the static (dynamic) platform and the origin relative to the X (X') axis is:

[0078]

[0079] The kinematic equation of the Delta robot is:

[0080]

[0081] A dynamic programming method for a coal gangue sorting robot based on a greedy strategy comprises the following steps:

[0082] Step 1: Initialize the sorting parameters of the Delta gangue sorting robot, including the initialization time window T, the gangue bin positions P on both sides of the conveyor belt, and the j 、Delta gangue sorting robot maximum moving acceleration a max and the maximum moving speed u max , sorting work area [X min ,X max ], Single shortest sorting time T min , equivalent mass of moving platform m d' , the height H of the gate-shaped track, the arc radius H / 2 and the conveyor belt running speed v belt ;

[0083] Step 2: Update the location and quality information G of the waste rock flow within the time window n (x n ,y n ,m n ); In order to achieve low energy consumption and high efficiency of gangue sorting, the gangue sorting system processes the gangue flow image information on the transmission belt in real time through the visual system, executes the gangue sorting planning algorithm based on the processed gangue flow information, and determines the optimal order, sorting path and sorting cycle of gangue sorting to realize the intelligent sorting task for gangue flow. The working area of ​​the gangue sorting system mainly includes the image recognition area and the sorting area, such as Figure 5 Update the location and quality information of the waste rock flow within the time window G n (x n ,y n ,m n ); the specific process is as follows:

[0084] S21, calculate the position G of each gangue through the gangue image positioning algorithm i (x i ,y i ,t0), the mass m of each gangue is estimated by gangue image quality approximation algorithm i (First, edge detection is performed on the gangue image, and the plane centroid position, size and area of ​​the gangue are determined according to the pixel points and distance, and then the volume of the gangue is calculated using the Gurukin theorem); the specific formula is as follows:

[0085]

[0086]

[0087] In the formula, u i and v irepresents the pixel coordinates of gangue in the pixel coordinate system, u0 and v0 represent the pixel coordinates of the origin of the image coordinate system in the pixel coordinate system, is the camera internal parameter, R cw and T cw is the rotation and translation transformation matrix from the Delta gangue sorting robot coordinate system to the image coordinate system, z i represents the height from the camera to the conveyor belt, p x for Figure 6 The distance from the edge of the gangue to the perpendicular line of the bisector, x max and x min Respectively represent the maximum and minimum values ​​of the gangue edge point in the x direction; V i represents the volume of gangue i, ρ i Represents the density of gangue i.

[0088] S22, the position and quality information are matched one by one and merged into G n (x n ,y n ,m n ,t0) returned to the gangue sorting robot system;

[0089] S23. The gangue robot sorting system records and updates the location and quality information table of the gangue flow in real time, and divides the gangue flow on the gangue conveyor belt into regions with the time window T as a time period. The gangue sorting robot system takes the first time window on the conveyor belt that is about to enter the sorting area of ​​the Delta gangue sorting robot as the current working time window, and sends the gangue flow data in the window to the robot dynamic sorting planning algorithm module.

[0090] Step 3: According to the density of the gangue flow g in the time window u , adjust the movement speed u of Delta gangue sorting robot r ; The specific process is as follows:

[0091] S31, the robot dynamic sorting planning algorithm module analyzes the waste rock flow data in the current working time window, and counts the waste rock quantity in the current window as the waste rock flow density g u ;

[0092] S32, for the density of waste rock flow g u , adjust the movement speed u of Delta gangue sorting robot r , the specific adjustment relationship is as follows:

[0093]

[0094] Among them, u max Indicates the maximum sorting movement rate of the Delta gangue sorting robot, gmax It indicates the maximum waste rock flow density that can be completely sorted at the maximum sorting rate.

[0095] Step 4: Update the position of the Delta gangue sorting robot and the gangue; the specific process is as follows:

[0096] S41, after the Delta gangue sorting robot completes the last sorting task, the position coordinates of the Delta gangue sorting robot's moving platform gripper are updated;

[0097] S42, according to the conveyor belt speed v belt and Delta gangue sorting robot system time t, update the position coordinates G of the gangue flow in the current time window i (x i ,y i ,t0), the specific calculation formula is as follows:

[0098]

[0099] In the formula, the coordinates of the gangue are Unit is mm, conveyor belt speed v belt The unit is mm / s, and the unit of Delta gangue sorting robot system time t is s.

[0100] Step 5: Calculate the cost function of all waste rocks in the time window and select the waste rocks with the minimum cost for sorting; the specific process is as follows:

[0101] S51. According to the coordinate position information of the unsorted gangue flow in the current time window, determine whether there is gangue in the current sorting area; if there is no gangue in the current sorting area, wait for the gangue in the current time window to enter the sorting area of ​​the Delta gangue sorting robot. When the gangue is about to enter the sorting area, perform the improved greedy strategy sorting planning algorithm on all the gangue to be sorted in the current time window, and calculate the cost function L(G(t)) of each gangue sorting according to the coordinates and quality information of each gangue; if there is unsorted gangue in the current sorting area, perform the improved greedy strategy sorting planning algorithm on all the gangue in the sorting area, and calculate the cost function L(G(t)) of each gangue sorting according to the coordinates and quality information of each gangue. The specific calculation formula of the cost function L(G(t)) is as follows:

[0102]

[0103]

[0104]

[0105]

[0106] In the formula, The energy consumption of the Delta gangue sorting robot picking up gangue i; is the energy consumption of Delta gangue sorting robot to place gangue i; m i is the mass of gangue i; m d ′ is the equivalent mass of the moving platform; is the coordinate of gangue i; is the coordinate of the waste rock bin corresponding to waste rock i-1; is the coordinate of the waste rock bin corresponding to waste rock i, α is the compensation coefficient, and the waste rock flow density g u Decide; is the omission compensation function of the greedy strategy; Δ x =X max -X min , T min The shortest single sorting time;

[0107] S52, comparing the sorting cost functions of each gangue calculated by the improved greedy strategy sorting planning algorithm, and selecting the gangue with the smallest cost as the gangue to be sorted for this task;

[0108] S53, according to the coordinate position of the selected gangue and the sorting movement rate u of the Delta gangue sorting robot r , calculate the actual sorting coordinate position of gangue;

[0109] S54, determine whether the actual sorting coordinates of the selected gangue exceed the sorting work area of ​​the Delta gangue sorting robot; if the actual sorting coordinates do not exceed the sorting work area, transmit the actual sorting coordinates to the Delta gangue sorting robot to perform the picking and placing tasks; if the actual sorting coordinates of the selected gangue exceed the sorting work area, the selected gangue cannot be sorted, return to S52 to select the gangue with the second lowest cost, and execute subsequent steps.

[0110] Step 6: Gangue G i Perform pick and place tasks; the specific process is as follows:

[0111] S61. The gangue robot sorting system generates a gate-shaped trajectory and plans an improved trapezoidal acceleration curve of the Delta gangue sorting robot according to the actual sorting coordinates of the gangue and the position coordinates of the moving platform gripper of the Delta gangue sorting robot. Similarly, according to the actual sorting coordinates of the gangue and the coordinates of the gangue bin corresponding to the gangue, a gate-shaped trajectory is generated and an improved trapezoidal acceleration curve of the Delta gangue sorting robot is planned; the gate-shaped trajectory is composed of three straight lines and two arcs, where the robot sorting height is H, the radius of each arc is H / 2, and the sorting point E is i and placement point Fi The straight-line distance between them is l, such as Figure 4 The Delta gangue sorting robot is moving in a gate-shaped trajectory. According to the speed change and trajectory of the Delta gangue sorting robot, it is divided into three stages. The first stage is the acceleration stage. The speed of the Delta gangue sorting robot accelerates from 0 to u r , the corresponding gate-shaped trajectory is the first straight line trajectory; the second stage is the uniform motion stage, and the speed of the Delta gangue sorting robot is maintained at u r The corresponding gate-shaped trajectory is two arc transition segments and a straight line segment in the middle; the third stage is the deceleration stage, and the speed of the Delta gangue sorting robot is u r When the speed is reduced to 0, the corresponding gate-shaped trajectory is the third straight line trajectory; the acceleration and stroke formula of the gate-shaped trajectory motion in the acceleration stage are as follows:

[0112]

[0113]

[0114] a0 is the maximum moving acceleration of the Delta gangue sorting robot in this gate-shaped trajectory, and T0 is the total time of the acceleration stage.

[0115] S62, the Delta gangue sorting robot moves to the actual gangue sorting coordinates according to the planned trajectory and speed, and performs the gangue picking task; similarly, according to the planned trajectory and speed, it moves to the gangue bin corresponding to the gangue and performs the gangue placement task; records the Delta gangue sorting robot's moving platform gripper position coordinates and the time t spent on this sorting task i This application adopts an improved trapezoidal acceleration curve algorithm, which has the advantages of fast acceleration and smooth speed transition. At the same time, the acceleration and deceleration transition section is optimized by using sine and cosine functions as the transition stage, avoiding the problem of discontinuous step and jump degrees of the robot under high-speed movement, and has better shock absorption and impact performance.

[0116] Step 7, determine whether all the gangue in the time window has been sorted. The specific situation is as follows: if all the gangue has been sorted, return to step 2 and execute the sorting task of the next time window. At the same time, the Delta gangue sorting robot moves the platform back to the initial position (x0, y0) of the robot system; if all the gangue in the current time window has not been sorted, there are two situations: the first situation is that the Delta gangue sorting robot has only sorted part of the gangue, and there is still gangue to be sorted in the sorting area or there is still gangue that has not entered the sorting area. In this case, the Delta gangue sorting robot needs to continue to complete the gangue sorting task, return to step 4, execute the next gangue sorting task, and update the Delta gangue sorting robot system time to: t = t + ti ; The second situation is that the density of the gangue flow is large, the Delta gangue sorting robot has only completed the sorting task of part of the gangue, and the remaining unsorted gangue has left the sorting area. The Delta gangue sorting robot has completed the gangue sorting task of the current time window and returns to step 2 to execute the sorting task of the next time window. At the same time, the Delta gangue sorting robot's moving platform gripper returns to the initial position (x0, y0) of the robot system.

[0117] Example

[0118] The robot simulation program was written using MATLAB tools, and a sorting planning verification environment based on the actual parameters of the Delta gangue sorting robot was built. The parameters were measured or fitted based on the actual sorting system. The system can complete simulated sorting experiments with different gangue flow densities and random distributions, and the sorting process is close to the real process.

[0119] In order to verify the effectiveness of the proposed waste rock sorting planning algorithm, a simulation program was used to simulate sorting tests on the sequential planning algorithm and the improved greedy strategy planning algorithm under two conditions of smaller and larger waste rock flow densities. Figure 8 As shown, there are 10 and 20 gangue targets to be sorted in the time windows in (a) and (b), respectively. This application compares the simulation sorting experimental results of two planning sorting algorithms under different coal gangue conveyor belt speeds under these two different conditions. In addition, the detailed parameters of the Delta gangue sorting robot system are shown in Table 2:

[0120] Table 2 Sorting robot system parameters

[0121]

[0122]

[0123] Random distribution simulation sorting of small waste rock flow density

[0124] In the sorting task of a smaller gangue flow density in the same window, the Delta gangue sorting robot can complete the sorting of all gangues faster. Generally speaking, the faster the speed of the gangue conveyor belt, the less gangue the robot can complete sorting. When the speed of the gangue conveyor belt is 150-350mm·s -1 Under these conditions, a random distribution simulation sorting experiment with a smaller gangue flow density was carried out, and the experimental results are recorded in Table 3, including the sorting sequence, sorting time and sorting energy consumption data of the sequential planning algorithm and the improved greedy strategy planning algorithm under different conveyor belt speed conditions, as follows:

[0125] Table 3 Results of random distribution simulation sorting experiment of small gangue flow density

[0126]

[0127]

[0128] From the sorting experiment results of the smaller gangue flow density in Table 3, it can be seen that under the same conveyor belt speed condition, the improved greedy strategy planning algorithm is better than the sequential planning algorithm in terms of average sorting time and sorting energy consumption; when the conveyor belt speed increases, the robot will miss picking, but the improved greedy strategy planning algorithm sorts slightly more gangue than the sequential sorting algorithm. When the conveyor belt speed is 150mm / s, the initial positions of the sorted gangue are connected into lines in sequence according to the sorting order of the two algorithms to obtain a gangue sorting sequence diagram, as shown in the figure below: Fig. 9 As shown. Fig. 9 It can be seen from (a) and (b) that the sorting order of the improved greedy strategy planning algorithm and the sequential planning algorithm can both complete the sorting of all the gangue, but the sorting order of the two algorithms is obviously different.

[0129] According to the data in Table 3, the average sorting time and average sorting energy consumption of the two gangue sorting planning algorithms to complete the sorting task at different conveyor belt speeds are plotted, as shown in Figure 3. Fig.10 As shown. Fig.10 As can be seen from (a) and (b), as the conveyor belt speed increases, the average sorting time and average sorting energy consumption of the two algorithms have changed significantly. The average sorting time of the greedy strategy planning algorithm is less than that of the sequential planning algorithm, and it can be calculated that the average sorting time is saved by 4.86%; the average sorting energy consumption of the greedy strategy planning algorithm is significantly less than that of the sequential planning algorithm, and it can be calculated that the average sorting energy consumption is saved by 20.13%, and the maximum average sorting energy consumption of the greedy strategy planning algorithm is only 4315.35mm·kg, which is much less than the 5200.24mm·kg of the sequential sorting.

[0130] Random distribution simulation sorting of large waste rock flow density

[0131] In the sorting task of large waste rock flow density in the same window, the conveyor belt speed has a great influence on the sorting result of the sorting robot. Under the condition of conveyor belt speed of 100-300mm·s-1, a random distribution simulation sorting experiment with large waste rock flow density was carried out, and the experimental results are recorded in Table 4, including the sorting sequence, sorting time and sorting energy consumption data of the sequential planning algorithm and the improved greedy strategy planning algorithm under different conveyor belt speed conditions, as follows:

[0132] Table 4 Results of random distribution simulation sorting experiment of large gangue flow density

[0133]

[0134]

[0135] From the sorting experiment results of the larger waste rock flow density in Table 4, it can be seen that under the condition of the same conveyor belt speed, the improved greedy strategy planning algorithm is also better than the sequential planning algorithm in terms of average sorting time and sorting energy consumption; when the conveyor belt speed increases, the number of missed picks by the robot increases, but the number of waste rock sorted by the improved greedy strategy planning algorithm is significantly more than that of the sequential sorting algorithm, and it will affect the sorting order of the improved greedy planning algorithm. When the conveyor belt speed is 100mm / s, the initial positions of the sorted waste rocks are connected into lines in sequence according to the sorting order of the two algorithms to obtain a simple diagram of the waste rock sorting order, as shown in the figure. Fig.11 As shown in Figure 11(a) and (b), when the density of the waste rock flow is large, both algorithms cannot complete the sorting of all the waste rocks. The improved greedy strategy planning algorithm and the sequential planning algorithm each pick up 18 waste rocks. However, the sorting order of the greedy strategy algorithm is significantly different from that of the sequential planning algorithm. When the sorting of all the waste rocks cannot be completed, the former will partially abandon the areas with denser waste rocks on the X-axis to reduce the sorting energy consumption and be more flexible.

[0136] According to the data in Table 4, a line graph of the average sorting time and average sorting energy consumption of the two algorithms to complete the sorting task at different conveyor belt speeds is drawn, as shown in Fig.12 As shown. Fig.12 As can be seen from (a) and (b), as the conveyor belt speed increases, the average sorting time and average sorting energy consumption of the greedy strategy planning algorithm show an increasing trend, but their absolute values ​​are still significantly smaller than the sequential sorting algorithm. Compared with the sequential sorting algorithm, the greedy strategy planning algorithm saves an average of 5.49% of sorting time and 18.75% of sorting energy consumption.

[0137] Therefore, the present invention adopts the above-mentioned dynamic planning method and system of coal gangue sorting robot based on greedy strategy, taking into account the different gangue quality and sorting distance, and establishes a robot sorting energy consumption index that is more suitable for gangue sorting. The time window is designed, the gangue to be sorted on the conveyor belt is divided into regions, and the improved greedy strategy is applied to plan the sorting order of objects in the same time window and calculate the actual sorting position. Taking into account the problem of gangue sorting omissions in the traditional greedy algorithm, the compensation function is designed to improve the greedy strategy, enhance the applicability of the greedy algorithm, save sorting energy consumption and sorting time compared to the traditional sequential planning algorithm, and effectively improve the gangue sorting efficiency and energy utilization.

[0138] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.

Claims

1. A dynamic programming method for coal gangue sorting robot based on greedy strategy, characterized in that: The following steps are involved: Step 1: Initialize the sorting parameters of the Delta gangue sorting robot, including the initialization time window T, the gangue bin positions P on both sides of the conveyor belt, and the j 、Delta gangue sorting robot maximum moving acceleration a max and the maximum moving speed u max , sorting work area [X min ,X max ], Single shortest sorting time T min , equivalent mass of moving platform m d' , the height H of the gate-shaped track, the arc radius H / 2 and the conveyor belt running speed v belt ; Step 2: Update the location and quality information G of the waste rock flow within the time window n (x n ,y n ,m n ); Step 3: According to the density of the gangue flow g in the time window u , adjust the movement speed u of Delta gangue sorting robot r ; Step 4: Update the positions of the Delta waste rock sorting robot and the waste rock; Step 5: Calculate the cost function of all waste rocks in the time window, and select the waste rocks with the minimum cost for sorting; Step 6: Gangue G i performs pick and place tasks; Step 7: Determine whether all the gangue within the time window has been sorted; The specific process of step 2 is as follows: S21, calculate the position G of each gangue through the gangue image positioning algorithm i (x i ,y i ,t0), the mass m of each gangue is estimated by gangue image quality approximation algorithm i ; S22, the position and quality information are matched one by one and merged into G n (x n ,y n ,m n ,t0) returned to the gangue sorting robot system; S23, the gangue sorting robot system records and updates the gangue flow position and quality information table in real time, and divides the gangue flow on the gangue conveyor belt into regions with the time window T as a time period. The gangue robot sorting system takes the first time window on the conveyor belt that is about to enter the Delta gangue sorting robot sorting area as the current working time window, and sends the gangue flow data in the window to the robot dynamic sorting planning algorithm module; The specific formula for calculating the position of waste rock and estimating its mass in S21 is as follows: In the formula, u i and v i represents the pixel coordinates of gangue in the pixel coordinate system, u0 and v0 represent the pixel coordinates of the origin of the image coordinate system in the pixel coordinate system, is the camera internal parameter, R cw and T cw is the rotation and translation transformation matrix from the Delta gangue sorting robot coordinate system to the image coordinate system, z i represents the height from the camera to the conveyor belt, p x is the distance from the edge of the gangue to the perpendicular line of the bisector, x max and x min Respectively represent the maximum and minimum values ​​of the gangue edge point in the x direction; V i represents the volume of gangue i, ρ i represents the density of gangue i; The specific process of step 3 is as follows: S31, the robot dynamic sorting planning algorithm module analyzes the waste rock flow data in the current working time window, and counts the waste rock quantity in the current window as the waste rock flow density g u ; S32, for the density of waste rock flow g u , adjust the movement speed u of Delta gangue sorting robot r , the specific adjustment relationship is as follows: Among them, u max Indicates the maximum sorting movement rate of the Delta gangue sorting robot, g max It indicates the maximum density of waste rock flow that can be completely sorted at the maximum sorting rate; The specific process of updating the position of the Delta gangue sorting robot and the gangue in step 4 is as follows: S41, after the Delta gangue sorting robot completes the last sorting task, the position coordinates of the Delta gangue sorting robot's moving platform gripper are updated; S42, according to the conveyor belt speed v belt and Delta gangue sorting robot system time t, update the position coordinates G of the gangue flow in the current time window i (x i ,y i ,t0), the specific calculation formula is as follows: In the formula, the coordinates of the gangue are Unit is mm, conveyor belt speed v belt The unit is mm / s, and the unit of Delta gangue sorting robot system time t is s; The specific process of step 5 is as follows: S51. According to the coordinate position information of the unsorted gangue flow in the current time window, determine whether there is gangue in the current sorting area; if there is no gangue in the current sorting area, wait for the gangue in the current time window to enter the sorting area of ​​the Delta gangue sorting robot. When the gangue is about to enter the sorting area, perform the improved greedy strategy sorting planning algorithm on all the gangue to be sorted in the current time window, and calculate the cost function L(G(t)) of each gangue sorting according to the coordinates and quality information of each gangue; if there is unsorted gangue in the current sorting area, perform the improved greedy strategy sorting planning algorithm on all the gangue in the sorting area, and calculate the cost function L(G(t)) of each gangue sorting according to the coordinates and quality information of each gangue. The specific calculation formula of the cost function L(G(t)) is as follows: In the formula, The energy consumption of the Delta gangue sorting robot picking up gangue i; is the energy consumption of Delta gangue sorting robot to place gangue i; m i is the mass of gangue i; m d ′ is the equivalent mass of the moving platform; is the coordinate of gangue i; is the coordinate of the waste rock bin corresponding to waste rock i-1; is the coordinate of the waste rock bin corresponding to waste rock i, α is the compensation coefficient, and the waste rock flow density g u Decide; is the omission compensation function of the greedy strategy; Δ x =X max -X min , T min The shortest single sorting time; S52, comparing the sorting cost functions of each gangue calculated by the improved greedy strategy sorting planning algorithm, and selecting the gangue with the smallest cost as the gangue to be sorted for this task; S53, according to the coordinate position of the selected gangue and the sorting movement rate u of the Delta gangue sorting robot r , calculate the actual sorting coordinate position of gangue; S54, judging whether the actual sorting coordinates of the selected gangue exceed the sorting work area of ​​the Delta gangue sorting robot; if the actual sorting coordinates do not exceed the sorting work area, transmitting the actual sorting coordinates to the Delta gangue sorting robot to perform the picking and placing tasks; if the actual sorting coordinates of the selected gangue exceed the sorting work area, the selected gangue cannot be sorted, returning to S52 to select the gangue with the second lowest cost, and executing the subsequent steps; The specific process of step 6 is as follows: S61. The gangue robot sorting system generates a gate-shaped trajectory and plans an improved trapezoidal acceleration curve of the Delta gangue sorting robot according to the actual sorting coordinates of the gangue and the position coordinates of the moving platform gripper of the Delta gangue sorting robot. Similarly, according to the actual sorting coordinates of the gangue and the coordinates of the gangue bin corresponding to the gangue, a gate-shaped trajectory is generated and an improved trapezoidal acceleration curve of the Delta gangue sorting robot is planned; S62, the Delta gangue sorting robot moves to the actual gangue sorting coordinates according to the planned trajectory and speed, and performs the gangue picking task; similarly, according to the planned trajectory and speed, it moves to the gangue bin corresponding to the gangue and performs the gangue placement task; records the Delta gangue sorting robot's moving platform gripper position coordinates and the time t spent on this sorting task i .

2. According to claim 1, a dynamic programming method for coal gangue sorting robot based on greedy strategy is characterized by: The Delta gangue sorting robot moves in a gate-shaped trajectory. According to the speed change and trajectory of the Delta gangue sorting robot, it is divided into three stages. The first stage is the acceleration stage. The speed of the Delta gangue sorting robot accelerates from 0 to u r , the corresponding gate-shaped trajectory is the first straight line trajectory; the second stage is the uniform motion stage, and the speed of the Delta gangue sorting robot is maintained at u r The corresponding gate-shaped trajectory is two arc transition segments and a straight line segment in the middle; the third stage is the deceleration stage, and the speed of the Delta gangue sorting robot is u r When the speed is reduced to 0, the corresponding gate-shaped trajectory is the third straight line trajectory; the acceleration and stroke formula of the gate-shaped trajectory motion in the acceleration stage are as follows: a0 is the maximum moving acceleration of the Delta gangue sorting robot in this gate-shaped trajectory, and T0 is the total time of the acceleration stage.

3. According to claim 2, a dynamic programming method for coal gangue sorting robot based on greedy strategy is characterized in that: In step 7, the specific situation of judging whether all the gangue in the current time window has been sorted is as follows: if all the gangue has been sorted, return to step 2 to execute the sorting task of the next time window, and at the same time, the Delta gangue sorting robot moves the platform back to the initial position (x0, y0) of the robot system; if all the gangue in the current time window has not been sorted, there are two situations: the first situation is that the Delta gangue sorting robot has only sorted part of the gangue, and there is still gangue to be sorted in the sorting area or there is still gangue that has not entered the sorting area, then the Delta gangue sorting robot needs to continue to complete the gangue sorting task, return to step 4, execute the next gangue sorting task, and update the Delta gangue sorting robot system time to: t = t + t i ; The second situation is that the density of the gangue flow is large, the Delta gangue sorting robot has only completed the sorting task of part of the gangue, and the remaining unsorted gangue has left the sorting area. The Delta gangue sorting robot has completed the gangue sorting task of the current time window and returns to step 2 to execute the sorting task of the next time window. At the same time, the Delta gangue sorting robot's moving platform gripper returns to the initial position (x0, y0) of the robot system.

4. A system for a dynamic programming method of a coal gangue sorting robot based on a greedy strategy as claimed in any one of claims 1 to 3, characterized in that: It includes a coal gangue conveyor belt, a gangue bin, a visual system, a motion control system and a Delta gangue sorting robot. The visual control system identifies coal blocks and gangue in real time, processes the position and image information of the gangue flow, and sends it to the robot dynamic sorting planning algorithm module in the computer; the motion control system completes the sorting control of the Delta gangue sorting robot and completes the tasks of sorting, grasping and placing the gangue.