Bulk cargo wharf grab ship unloader ship unloading method and system
Through lidar scanning and three-dimensional point cloud technology, the grab ship unloader's coal pile area is accurately identified and positioned, solving the problem of inaccurate manual operations, improving ship unloading efficiency and safety, and ensuring the safety of the unloading process. Uniformity and stability.
Patent Information
- Application Number
- CN202410763515.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-10-15
AI Technical Summary
In the existing technology, the ship unloading process of the grab ship unloader relies on manual operation, which leads to identification errors, inaccurate operations, multiple adjustments and repeated operations, which reduces the efficiency and safety of ship unloading.
LiDAR scanning and 3D point cloud technology are used to achieve accurate identification and positioning of coal pile areas. The initial 3D point cloud is obtained through multiple LiDAR scans, preprocessed and segmented, the unloading rows are divided, and the unloading materials are selected based on the mean elevation value. row to perform unloading action.
It improves the automation and efficiency of the ship unloading process, reduces manual operation risks and costs, ensures the uniformity and stability of the unloading process, improves ship unloading performance and work efficiency, and avoids safety hazards caused by the shift of the ship's center of gravity.
Smart Images

Figure CN118780707A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of dock unloading, and in particular to a ship unloading method and system of a grab ship unloader at a bulk cargo dock. Background Art
[0002] Grab ship unloader is a large-scale and efficient mechanized bulk cargo unloading equipment. As an important component of port loading and unloading machinery, it is being used more and more widely, playing an important role in the efficient, stable, high-speed and rolling development of my country's ports, metallurgy, electricity, energy and other industries. After 30 years of extensive scale development, China's ports need to seek new breakthroughs and growth points to adapt to the requirements of economic transformation and industrial structure optimization and upgrading. China's ports are experiencing another round of port reforms with "cooperation as the main focus", and the trend of port resource integration is obvious.
[0003] At present, most of them are operated manually by drivers, and the driver's proficiency in operation directly determines the efficiency and safety of the entire unloading process. In the process of unloading, the grab ship unloader relies on manual visual inspection and experience to determine the position and shape of the coal pile, which is prone to recognition errors and leads to inaccurate operation. At the same time, since it is difficult to accurately identify the coal pile area during manual operation, the grab ship unloader needs to be adjusted and repeated during the unloading process, which increases the operation time and reduces the unloading efficiency. Summary of the invention
[0004] In view of this, the present invention proposes a ship unloading method and system for a grab ship unloader at a bulk cargo terminal. By introducing lidar scanning and three-dimensional point cloud technology, accurate identification and positioning of the coal pile area are achieved, the automation and efficiency of the unloading process are improved, the risk and cost of manual operation are reduced, the uniformity and stability of the unloading process are ensured, and the unloading performance and work efficiency of the grab ship unloader at the bulk cargo terminal are improved as a whole.
[0005] The technical solution of the present invention is achieved in this way:
[0006] On the one hand, the present invention provides a bulk cargo terminal grab ship unloader ship unloading method, which is implemented based on multiple laser radars set on the grab ship unloader, and the ship unloading method includes the following steps:
[0007] S1 scans the hull through multiple laser radars to obtain the initial 3D point cloud;
[0008] S2 preprocesses the initial three-dimensional point cloud to obtain the hull depth image and the hull three-dimensional point cloud;
[0009] S3 divides the two-dimensional coal pile area from the hull depth image;
[0010] S4 maps the two-dimensional coal pile area to the three-dimensional point cloud of the ship hull to obtain a three-dimensional coal pile area, and divides the three-dimensional coal pile area into a plurality of unloading columns;
[0011] S5 calculates the average elevation of each unloading column respectively;
[0012] S6 selects a discharge train according to the average elevation of each discharge train, and the grab ship unloader performs discharge operation on the discharge train.
[0013] On the basis of the above technical solution, preferably, step S1 includes the following sub-steps:
[0014] S11 uses multiple laser radars to collect local point clouds of the hull along the length of the hull;
[0015] S12 transforms the collected multiple local point clouds of the hull into the same coordinate system;
[0016] S13 aligns the converted multiple hull local point clouds;
[0017] S14 fuses the aligned multiple hull local point clouds to generate an initial three-dimensional point cloud.
[0018] On the basis of the above technical solution, preferably, step S2 includes the following sub-steps:
[0019] S21 sets an offshore bounding box on the shore side, and removes point cloud data and isolated points of the initial three-dimensional point cloud outside the offshore bounding box to obtain an intermediate three-dimensional point cloud;
[0020] S22 converts the intermediate three-dimensional point cloud into an intermediate depth image, and converts the intermediate depth image into an intermediate binary image;
[0021] S23 removes the connected domain outside the hull according to the pixel area of each connected domain in the intermediate binary image to obtain a binary image of the hull;
[0022] S24 converts the hull binary image into a hull depth image, and obtains a 3D point cloud of the hull through the hull depth image.
[0023] On the basis of the above technical solution, preferably, step S3 also includes setting a target detection model, marking a 2D bounding box in the hull depth image through the target detection model, and dividing the 2D bounding box into a two-dimensional hull area and a two-dimensional coal pile area in the hull depth image.
[0024] Further preferably, in step S4, the step of mapping the two-dimensional coal pile area to the three-dimensional point cloud of the hull to obtain the three-dimensional coal pile area comprises the following sub-steps:
[0025] S41 obtains the depth value of the boundary pixel of the 2D bounding box;
[0026] S42 converts the 2D coordinates of the 2D bounding box boundary into 3D coordinates by inverse projection according to the depth values of the 2D bounding box boundary pixels, to obtain a plurality of three-dimensional boundary points;
[0027] S43 obtains the minimum bounding box formed by the three-dimensional boundary points;
[0028] S44 corresponds the minimum bounding box to the three-dimensional point cloud of the hull to form a 3D bounding box, and obtains a three-dimensional hull area and a three-dimensional coal pile area.
[0029] On the basis of the above technical solution, preferably, step S5 includes the following sub-steps:
[0030] S51 sequentially obtains the horizontal heights of all points in each unloading column to form a height set with the same number as the unloading columns;
[0031] S52 calculates the average value of the horizontal heights of all points in each height set as the average elevation of the corresponding unloading column.
[0032] On the basis of the above technical solution, preferably, step S6 includes the following sub-steps:
[0033] S61 calculates the score of unloading each unloading column according to the average elevation of each unloading column;
[0034] S62 selects the unloading plan of the unloading train with the highest score, and the grab ship unloader performs unloading action on the unloading train.
[0035] Further preferably, in step S61, the number of unloading trains is N, and the score J(w) for selecting the i-th unloading train for unloading is:
[0036]
[0037] in, is the mean bulk material elevation of the i-th column, p i is to select the center of gravity position of the ship after unloading in the i-th column, C is the current center of gravity position of the ship, γ is the weight of the mean elevation, β is the weight of the center of gravity offset, and w i is the selection weight of the i-th column.
[0038] More preferably, the step S6 further includes a sub-step S63, collecting real-time data of the ship, and calculating a gradient based on the real-time data of the ship, and the optimization algorithm selects the weight w according to the gradient. i Make dynamic adjustments.
[0039] On the other hand, the present invention provides a bulk cargo terminal grab ship unloader ship unloading system for implementing the above-mentioned ship unloading method.
[0040] The bulk cargo terminal grab ship unloader ship unloading method and system of the present invention has the following beneficial effects compared with the prior art:
[0041] (1) By setting up a laser radar to scan the ship to obtain a three-dimensional point cloud, and then processing and segmenting the three-dimensional point cloud, the coal pile area on the ship can be accurately identified and located. According to the location of the coal pile area, the ship unloader can perform automated unloading operations, which improves the automation and efficiency of the unloading process, reduces the risk and cost of manual operation, ensures the uniformity and stability of the unloading process, and overall improves the unloading performance and work efficiency of the grab ship unloader at the bulk cargo terminal;
[0042] (2) By calculating the mean elevation of the unloading train, the selection of the loading train is carried out based on the mean elevation and the center of gravity of the ship, so as to keep the center of gravity of the ship balanced during the unloading process and avoid accidents such as capsizing or rolling over due to the shift of the center of gravity. The optimized unloading sequence can reduce the operational risks and ensure the smooth and safe unloading process. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 A three-dimensional diagram of a bulk cargo terminal grab ship unloader ship unloading method and system of the present invention;
[0045] Figure 2 It is a schematic diagram of three local point clouds of a hull collected by three laser radars respectively in a bulk cargo terminal grab ship unloader ship unloading method of the present invention;
[0046] Figure 3 It is a schematic diagram of an initial three-dimensional point cloud after the fusion of three local point clouds of a ship hull in a bulk cargo terminal grab ship unloader unloading method of the present invention;
[0047] Figure 4 A schematic diagram of setting an offshore bounding box outside an initial three-dimensional point cloud for a bulk cargo terminal grab ship unloader unloading method of the present invention;
[0048] Figure 5 It is a schematic diagram of an intermediate binary image of a bulk cargo terminal grab ship unloader unloading method of the present invention;
[0049] Figure 6 A schematic diagram of the pixel area of a connected domain in an intermediate binary image of a bulk cargo terminal grab ship unloader unloading method of the present invention;
[0050] Figure 7 A schematic diagram of a binary image of a hull of a bulk cargo terminal grab ship unloader unloading method of the present invention;
[0051] Figure 8 A schematic diagram of a ship hull depth image of a bulk cargo terminal grab ship unloader unloading method of the present invention;
[0052] Fig. 9 The present invention is a schematic diagram of dividing a 3D point cloud of a ship hull by a bulk cargo terminal grab ship unloader method. DETAILED DESCRIPTION
[0053] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0054] With the improvement of environmental awareness, terminals also need to take measures to reduce the impact on the environment. Unmanned ship unloader operations have significant advantages in environmental protection and energy conservation. First, reducing personnel participation reduces energy consumption; second, precise control and optimized scheduling reduce unnecessary waste of resources; finally, by adopting environmentally friendly equipment and intelligent control technology, pollution emissions during unloading operations can be reduced. In the future, unmanned intelligent ship unloading operations will play a greater role in environmental protection and energy conservation at construction aggregate terminals, helping the industry achieve green development.
[0055] With the help of the Internet of Things and communication technology, operators can monitor and dispatch loading operations in real time in the remote monitoring center, which improves the flexibility and convenience of operations. With the popularization and application of communication technologies such as 5G, the reliability and real-time performance of remote control will be further improved. This will provide strong support for the development of unmanned key technology research in docks.
[0056] Therefore, as the future development direction of bulk cargo terminals, the unmanned operation of port machinery equipment has broad application prospects. Its advantages in improving efficiency, precise control, safety management, environmental protection and energy saving, and remote control make it an important force in promoting the transformation and upgrading of terminals.
[0057] like Figure 1As shown, the ship unloading method of the grab ship unloader of the bulk cargo terminal of the present invention is realized based on multiple laser radars arranged on the grab ship unloader. Specifically, due to the different specifications of the ships docked at the terminal, the load of most ships is about 1000 to 2000 tons. Considering the length of the ship, at least three laser radars need to be installed for scanning operations, so as to realize data collection of the whole ship. The laser radar can be installed under the main beam or the driver's cab of the grab ship unloader. In addition, considering that when the ship unloader is in normal production and operation, the main beam and the driver's cab will produce a large shaking with the lifting and opening and closing of the grab, thereby affecting the scanning result of the laser radar, therefore, the laser radar bracket needs to take relevant conditions into consideration when designing, and adopt various mechanical and physical anti-shaking and anti-vibration measures, such as steel wire shock absorption, rubber pads, springs, etc., to ensure that under the low-frequency vibration of 50mm, there is no impact on radar imaging. The ship unloading method includes steps S1-S6.
[0058] Step S1: Scan the hull through multiple laser radars to obtain an initial three-dimensional point cloud.
[0059] In this step, the ship unloader needs to move on the port track to a position roughly in the middle of the hull. The ship docked at the dock is scanned by multiple laser radars to obtain the position of the hull and the bulk materials on board, and form an initial three-dimensional point cloud.
[0060] Specifically, the step S1 includes sub-steps S11-S14.
[0061] Step S11: multiple laser radars collect local point clouds of the hull along the length direction of the hull.
[0062] like Figure 2 As shown, in this embodiment, taking three laser radars as an example, the three laser radars are respectively facing different directions, and respectively collect three-dimensional point clouds near the bow, part of the cabin and near the stern.
[0063] It should be noted that in this step, it is necessary to ensure that the point cloud data collected by each lidar has a consistent format and unit, and perform necessary denoising and filtering operations to remove outliers and noise.
[0064] Step S12: converting the collected multiple local point clouds of the hull into the same coordinate system.
[0065] When installing the laser radar, the position of the laser radar needs to be calibrated to obtain the position and direction of each laser radar in the world coordinate system. According to the laser radar external parameters, the local point cloud of the hull collected by the corresponding laser radar can be uniformly transformed so that it is located in the same coordinate system.
[0066] Step S13: aligning the converted multiple hull local point clouds.
[0067] In this embodiment, the point cloud data collected by different laser radars need to be accurately aligned through a point cloud matching algorithm, and the ICP algorithm can be selected as the point cloud matching algorithm.
[0068] Step S14: Fusing the aligned multiple hull local point clouds to generate an initial three-dimensional point cloud.
[0069] like Figure 3 As shown in the figure, after aligning and fusing the three local point clouds of the hull, an initial three-dimensional point cloud can be obtained, and the point cloud data includes the hull, the pile, the shore, etc.
[0070] Step S2: pre-process the initial three-dimensional point cloud to obtain the hull depth image and the hull three-dimensional point cloud.
[0071] like Figure 3 As shown, the initial 3D point cloud obtained has other floating objects, shore and other objects in addition to the hull. The initial 3D point cloud needs to be preprocessed before the hull can be identified and divided. The identification and division of the hull needs to be performed through the hull depth image and the hull 3D point cloud.
[0072] Specifically, step S2 includes sub-steps S21-S24.
[0073] Step S21: setting an offshore bounding box on the shore side, and removing the point cloud data and isolated points of the initial three-dimensional point cloud outside the offshore bounding box to obtain an intermediate three-dimensional point cloud.
[0074] like Figure 4 As shown, the offshore bounding box is a three-dimensional bounding box, which is composed of four points. The four points are set in the world coordinate system to form a bounding box, and the point cloud outside the bounding box is removed to remove the influence of the shore point cloud on the data. For isolated points in the point cloud data, it is possible to directly determine whether the point is an isolated point by detecting whether there are other points near the point. If it is an isolated point, it is removed to obtain the intermediate three-dimensional point cloud.
[0075] Step S22: converting the intermediate three-dimensional point cloud into an intermediate depth image, and converting the intermediate depth image into an intermediate binary image.
[0076] In order to project the 3D point cloud data onto a 2D plane to obtain an intermediate depth image, it is necessary to select a projection plane and a projection method. Common projection methods include orthogonal projection and perspective projection, and the projection plane can be selected as the water surface. In this process, each 3D point cloud point will be projected onto a specified 2D plane, and the depth of each point cloud point will be recorded during the projection process. These depth values will become the pixel values for generating the depth image, and the depth values on the 2D plane obtained after projection will be arranged according to the pixel position to generate a 2D depth image. In this depth image, the grayscale value or color value of each pixel corresponds to the distance from the point in the original point cloud to the lidar sensor. Closer points may be represented as brighter pixels, and farther points as darker pixels.
[0077] like Figure 5 As shown, after obtaining the intermediate depth image, the intermediate depth image can be converted into an intermediate binary image. Specifically, by setting a pixel threshold, setting the part of pixels greater than the pixel threshold to 255, and setting the part less than the pixel threshold to 0, the intermediate depth image is converted into an intermediate binary image.
[0078] Step S23: According to the pixel area of each connected domain in the intermediate binary image, the connected domain outside the hull is removed to obtain a binary image of the hull.
[0079] like Figure 6-7 As shown, Figure 5 After the intermediate depth image in the image is converted into a binary image, the pixel area of each connected domain can be calculated. In this step, an area threshold can be set to remove the connected domains below the pixel area, thereby obtaining a binary image of the hull.
[0080] Step S24: converting the hull binary image into a hull depth image, and obtaining a 3D point cloud of the hull through the hull depth image.
[0081] like Figure 8 As shown, before entering the next step, the hull binary image needs to be converted into a hull depth image, which can be set by assigning depth values to pixels. The specific depth value can adopt the depth value of the corresponding pixel before it is converted into a binary image. Accordingly, based on the obtained hull depth image, the corresponding hull three-dimensional point cloud can be obtained.
[0082] Step S3: Divide the two-dimensional coal pile area from the hull depth image.
[0083] In this step, the two-dimensional coal pile area is divided from the hull depth image by manual annotation or automatic annotation through the annotation model. In the actual unloading process, a part of it needs to be manually labeled for model training, and then automatically labeled through the model.
[0084] Specifically, this step also includes setting a target detection model, marking a 2D bounding box in the hull depth image through the target detection model, and dividing the 2D bounding box into a two-dimensional hull area and a two-dimensional coal pile area in the hull depth image.
[0085] The target detection model can be selected as the YOLO model. After selecting the YOLO model as the target detection model, the coal pile in the image needs to be labeled using the labeling tool. During training, the five hundred labeled images can be divided into training set, validation set and test set in an 8:1:1 ratio, and the target detection model can be trained.
[0086] The trained target detection model can automatically mark the two-dimensional bounding box after inputting the hull depth image, and then divide the two-dimensional coal pile area.
[0087] In this embodiment, in addition to the coal pile area, the bow, stern and deck also need to be divided. The bow and stern can be divided along the extension line of the width of the coal pile area bounding box, and the deck can be divided along the extension line of the length of the coal pile area bounding box. After the division is completed, the hull depth image is composed of five areas, among which the bow and stern are at the two ends of the hull. The average height of the point cloud of the two parts is calculated. The one with a higher average height is the stern, and the one with a lower average height is the bow.
[0088] Step S4: correspond the two-dimensional coal pile area to the three-dimensional point cloud of the hull to obtain the three-dimensional coal pile area, and divide the three-dimensional coal pile area into a plurality of unloading columns.
[0089] like Fig. 9 As shown, after the two-dimensional coal pile area is mapped to the three-dimensional point cloud of the hull, the obtained three-dimensional point cloud of the hull is divided into a three-dimensional coal pile area, a three-dimensional bow area, a three-dimensional stern area and a three-dimensional deck area, wherein the three-dimensional coal pile area needs to be divided into several unloading columns, which can be formed by setting a plane perpendicular to the horizontal plane to cut the three-dimensional coal pile area, or can be divided according to the beams placed horizontally on the cabin on the ship type. It should be noted that for ships with beams on the cabin, the beams must be used as the basis for division, and the beams are not the planes that cut the three-dimensional coal pile area, but need to be on the horizontal plane where the beams are located, extending toward the upper and lower sides to divide a separate three-dimensional protection area to prevent the grab from touching the ship beams during unloading operations.
[0090] The divided three-dimensional bow area, three-dimensional stern area and three-dimensional deck area can be used to locate the ship's posture, so as to determine the ship's posture. When the ship's posture changes during the unloading process, the ship's position can be re-determined to reduce the impact of the change in the ship's posture during the grab's downward movement to unload.
[0091] Specifically, in step S4, the two-dimensional coal pile area is mapped to the three-dimensional point cloud of the hull to obtain the three-dimensional coal pile area, including sub-steps S41-S44.
[0092] Step S41: Obtain the depth values of the boundary pixels of the 2D bounding box.
[0093] The depth value of the 2D bounding box can be preset manually so that its depth value covers the bottom of the ship to the top of the ship, thereby forming a full enclosure of the three-dimensional coal pile area.
[0094] Step S42: According to the depth values of the 2D bounding box boundary pixels, the 2D coordinates of the 2D bounding box boundary are converted into 3D coordinates by inverse projection to obtain a plurality of three-dimensional boundary points.
[0095] After obtaining the depth value of each point in the 2D bounding box, the corresponding 2D coordinates of each point in the 2D bounding box can be obtained. The 2D coordinates of these boundary pixels can be converted into 3D coordinates through the inverse projection formula.
[0096] Specifically, the inverse projection formula is as follows:
[0097]
[0098] Where (u, v) is the pixel coordinate in the depth image, D(u, v) is the depth value of the pixel, and c x 、c y is the coordinate of the optical center of the camera, f x 、f y is the focal length of the camera.
[0099] In the inverse projection formula, Z refers to the depth value of the pixel, that is, the distance from the optical center of the camera to the pixel in three-dimensional space. Here, D(u,v) is the depth value of the pixel position (u,v) in the depth image. This means that each pixel point (u,v) has a corresponding depth value Z, which represents the distance from the optical center of the camera to the pixel point in three-dimensional space. The inverse projection formula converts the pixel coordinates (u,v) and depth value Z in the 2D image into coordinates (X,Y,Z) in three-dimensional space. This process maps each pixel from the 2D image space to the three-dimensional space, and determines its position in the three-dimensional space through the depth value Z.
[0100] Step S43: Obtain the minimum bounding box formed by the three-dimensional boundary points.
[0101] The minimum bounding box is a cuboid defined by the maximum and minimum coordinate points, and the minimum bounding box can be directly regarded as a 3D bounding box.
[0102] Step S44: correspond the minimum bounding box to the three-dimensional point cloud of the hull to form a 3D bounding box, and obtain the three-dimensional hull area and the three-dimensional coal pile area.
[0103] The parameters of the 3D bounding box include the coordinates of its center point, width, height, depth, etc., which are represented by these parameters. By traversing the point cloud data in the three-dimensional point cloud, each point in the point cloud is judged against the generated 3D bounding box to determine whether the point is in the bounding box. The points that meet the conditions are extracted to form a three-dimensional hull area and a three-dimensional coal pile area.
[0104] Correspondingly, in the process of dividing the unloading column, the point cloud can also be segmented through the 3D bounding box.
[0105] Step S5: Calculate the average elevation of each unloading column respectively.
[0106] The elevation value is the value of the Z coordinate. In this step, the elevation data of the bulk material in each column needs to be recorded, and the average elevation of each unloading column is obtained by calculating the average height.
[0107] Specifically, step S5 includes sub-steps S51-S52.
[0108] Step S51: sequentially obtain the horizontal heights of all points in each unloading column to form a height set with the same number as the unloading columns.
[0109] Assume the mean elevation is Then the elevation data in the i-th unloading column is h i1 ,h i2 ,......,h im , where m is the number of data points in the discharge column.
[0110] Step S52: Calculate the average value of the horizontal heights of all points in each height set as the average elevation of the corresponding unloading column.
[0111] For the i-th column, the mean elevation for:
[0112]
[0113] In this way, the average horizontal height of all points in each unloading row, that is, the mean elevation, can be obtained.
[0114] Step S6: Select a discharge train according to the average elevation of each discharge train, and use the grab ship unloader to perform discharge operations on the discharge train.
[0115] In this step, whether a certain unloading column is suitable for unloading can be judged according to the position of each unloading column and its corresponding elevation average, so as to realize the comparison of each unloading column and obtain the best unloading column for unloading operation.
[0116] Specifically, step S6 includes sub-steps S61-S63.
[0117] Step S61: Calculate the score of unloading for each unloading train according to the average elevation of each unloading train.
[0118] The number of unloading trains is N, and the score J(w) for selecting the i-th unloading train for unloading is:
[0119]
[0120] in, is the mean bulk material elevation of the i-th column, p i is to select the center of gravity position of the ship after unloading in the i-th column, C is the current center of gravity position of the ship, γ is the weight of the mean elevation, β is the weight of the center of gravity offset, and w i is the selection weight of the i-th column.
[0121] Step S62: selecting the unloading plan of the unloading train with the highest score, and having the grab ship unloader perform unloading operations on the unloading train.
[0122] The calculated scores of each unloading column are compared, and the unloading column with the highest score is selected. Then, the path planning is carried out according to the relative position of the grab ship unloader and the unloading column. The grab ship unloader moves along the planned path to the outside of the designated unloading column, and the grab performs the unloading operation.
[0123] Step S63: Collect the real-time data of the ship, and calculate the gradient based on the real-time data of the ship. The optimization algorithm selects the weight w according to the gradient. i Make dynamic adjustments.
[0124] The real-time data includes the center of gravity of the ship and the volume of bulk materials. During the unloading process, the weight of the selection can be adjusted according to the change of the center of gravity of the ship after grabbing the bulk materials in the unloading column. i Optimization and adjustment can be carried out. Specifically, the Adam optimization algorithm can be used to adjust the weight w, thereby achieving optimal selection of the unloading train. It should be noted that the weights w of different unloading trains are different, and the weights w are based on normalization, so that the sum of the weights w of each unloading train is equal to one.
[0125] Specifically, the Adam optimization algorithm needs to first set the initialization parameters, including the uniform distribution of the initial weight vector w0: where n is the number of columns; the first-order moment estimate vector m0=0; the second-order moment estimate vector v0=0; the number of time steps t=0; the learning rate a; the momentum term hyperparameters β1 and β2; and a small constant ∈.
[0126] For each iteration, t=1,2,...,T, calculate the gradient of the objective function And update the first-order moment estimation vector and the second-order moment estimation vector.
[0127] Among them, the updated first-order moment estimation vector and the updated second-order moment estimation vector are expressed as:
[0128]
[0129]
[0130] Then m t With v t Perform bias correction, expressed as:
[0131]
[0132] Update the weight vector:
[0133]
[0134] Finally, the weights must be non-negative and normalized:
[0135]
[0136] The final weight vector w is output to maximize the objective function J(w).
[0137] In addition, the gradient of the objective function with respect to the weight w can be calculated using a numerical method. In the present embodiment, the centroid difference method is used for calculation.
[0138] Through the above steps and formulas, the objective function can be combined with the Adam optimization algorithm to select the unloading train and effectively adjust the selection weight of each train, making the unloading process more efficient and safer.
[0139] It should be noted that the unloading process includes an initial stage and a stabilization stage. In actual operation, the above method can ensure the stability of a fully loaded ship during initial unloading, so as to avoid the grab bucket working in a fixed area for a long time, causing the center of gravity of the unloaded ship to tilt, and the grab bucket will make adaptive adjustments according to the changes in the center of gravity of the material and the center of gravity of the unloaded ship.
[0140] In the stable stage, the horizontal height of the unloading row is basically lower and closer to the center of gravity of the ship. The continuous unloading of a single unloading row will not have a significant adverse effect on the ship as a whole. Therefore, in the stable stage, continuous unloading can be carried out directly in the order of the unloading rows. Whether it is necessary to switch to the adjacent unloading row can be judged by whether the average elevation between two adjacent unloading rows exceeds a certain threshold. This can effectively improve the unloading efficiency without much impact on the ship.
[0141] The bulk cargo terminal grab ship unloader ship unloading system of the present invention is used to implement the above-mentioned ship unloading method.
[0142] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for unloading a ship using a grab ship unloader at a bulk cargo terminal. It is characterized in that Based on multiple laser radars arranged on the grab ship unloader, the ship unloading method comprises the following steps: S1 scans the hull through multiple laser radars to obtain the initial 3D point cloud; S2 preprocesses the initial three-dimensional point cloud to obtain the hull depth image and the hull three-dimensional point cloud; S3 divides the two-dimensional coal pile area from the hull depth image; S4 maps the two-dimensional coal pile area to the three-dimensional point cloud of the hull to obtain a three-dimensional coal pile area, and divides the three-dimensional coal pile area into a plurality of unloading rows; S5 calculates the average elevation of each unloading column respectively; S6 selects a discharge train according to the average elevation of each discharge train, and the grab ship unloader performs discharge operation on the discharge train.
2. The bulk cargo terminal grab ship unloader ship unloading method according to claim 1, It is characterized in that The step S1 comprises the following sub-steps: S11 uses multiple laser radars to collect local point clouds of the hull along the length of the hull; S12 transforms the collected multiple local point clouds of the hull into the same coordinate system; S13 aligns the converted multiple hull local point clouds; S14 fuses the aligned local point clouds of multiple hulls to generate an initial three-dimensional point cloud.
3. The ship unloading method of bulk cargo terminal grab ship unloader according to claim 1, It is characterized in that The step S2 comprises the following sub-steps: S21 sets an offshore bounding box on the shore side, and removes point cloud data and isolated points of the initial three-dimensional point cloud outside the offshore bounding box to obtain an intermediate three-dimensional point cloud; S22 converts the intermediate three-dimensional point cloud into an intermediate depth image, and converts the intermediate depth image into an intermediate binary image; S23 removes the connected domain outside the hull according to the pixel area of each connected domain in the intermediate binary image to obtain a binary image of the hull; S24 converts the hull binary image into a hull depth image, and obtains a 3D point cloud of the hull through the hull depth image.
4. The bulk cargo terminal grab ship unloader ship unloading method according to claim 1, It is characterized in that The step S3 further comprises setting a target detection model, marking a 2D bounding box in the hull depth image by the target detection model, and dividing the 2D bounding box into a two-dimensional hull area and a two-dimensional coal pile area in the hull depth image.
5. The ship unloading method of bulk cargo terminal grab ship unloader according to claim 4, It is characterized in that In step S4, the two-dimensional coal pile area is mapped to the three-dimensional point cloud of the hull to obtain the three-dimensional coal pile area, which includes the following sub-steps: S41 obtains the depth value of the boundary pixel of the 2D bounding box; S42 converts the 2D coordinates of the 2D bounding box boundary into 3D coordinates by inverse projection according to the depth values of the 2D bounding box boundary pixels, to obtain a plurality of three-dimensional boundary points; S43 obtains the minimum bounding box formed by the three-dimensional boundary points; S44 corresponds the minimum bounding box to the three-dimensional point cloud of the hull to form a 3D bounding box, and obtains a three-dimensional hull area and a three-dimensional coal pile area.
6. The ship unloading method of bulk cargo terminal grab ship unloader according to claim 1, It is characterized in that The step S5 comprises the following sub-steps: S51 sequentially obtains the horizontal heights of all points in each unloading column to form a height set with the same number as the unloading columns; S52 calculates the average value of the horizontal heights of all points in each height set as the average elevation of the corresponding unloading column.
7. The ship unloading method of bulk cargo terminal grab ship unloader according to claim 1, It is characterized in that The step S6 comprises the following sub-steps: S61 calculates the score of unloading each unloading column according to the average elevation of each unloading column; S62 selects the unloading plan of the unloading train with the highest score, and the grab ship unloader performs unloading action on the unloading train.
8. The ship unloading method of bulk cargo terminal grab ship unloader according to claim 7, It is characterized in that In step S61, the number of unloading trains is N, and the score J(w) for selecting the i-th unloading train for unloading is: in, is the mean bulk material elevation of the i-th column, p i is to select the center of gravity position of the ship after unloading in the i-th column, C is the current center of gravity position of the ship, γ is the weight of the mean elevation, β is the weight of the center of gravity offset, and w i is the selection weight of the i-th column.
9. The ship unloading method of bulk cargo terminal grab ship unloader according to claim 8, It is characterized in that The step S6 also includes a sub-step S63, collecting real-time data of the ship, and calculating the gradient based on the real-time data of the ship, and the optimization algorithm selects the weight w according to the gradient. i Make dynamic adjustments.
10. A bulk cargo terminal grab ship unloader ship unloading system, It is characterized in that Used to implement the ship unloading method described in any one of claims 1-9.
Citation Information
Cited By
Intelligent grab bucket control method and system based on multi-sensor fusion
CN119822238A
Intelligent Grab Control Method and System Based on Multi-Sensor Fusion
CN119822238B
Liquefied natural gas (LNG) ship material loading and unloading balance dynamic monitoring cloud platform and method
CN120106720A
Ship unloader collaborative operation control method and device
CN122569009A
Non-intrusive dynamic sensing retrofit system for aging ship unloading machines in ports
CN123118978A
