Forklift loading method and device, and computer readable storage medium
By obtaining the point cloud data of the truck compartment and accurately determining the storage location of the goods at the secondary location detection location, the problem of inaccurate loading of unmanned forklifts caused by truck parking deviations is solved, and loading accuracy and efficiency are improved.
Patent Information
- Application Number
- CN202111615660.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-27
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-12-27
AI Technical Summary
Unmanned forklifts cannot accurately load goods when there is a deviation in the truck's parking position, resulting in reduced efficiency and accuracy during the loading process.
By obtaining the point cloud data of the truck's compartment, the warehouse location information of the truck is initially determined, and the storage location of the goods is accurately determined at the secondary warehouse location detection location. The vehicle-mounted system is used to plan the path and drive to the detection location to ensure accurate placement of the goods.
It improves the accuracy and efficiency of forklift loading and solves the problem of inaccurate loading caused by truck parking deviation.
Smart Images

Figure CN114455511B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of forklifts, and in particular to a forklift loading method and equipment, and a computer-readable storage medium. Background Art
[0002] With the development of smart industry and smart logistics, warehousing and logistics are becoming more and more automated, and unmanned forklifts play a very important role. During the loading process of a truck, an unmanned forklift is used to fork the goods at a specified location and deliver the forked goods to the truck. At present, when the unmanned forklift is loading, if there is a deviation in the parking position of the truck, the unmanned forklift cannot complete the loading smoothly.
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of the present invention is to provide a forklift loading method and equipment, and a computer-readable storage medium, aiming to solve the technical problem that a forklift cannot accurately load cargo due to a truck parking deviation.
[0005] To achieve the above object, the present invention provides a forklift loading method, the forklift loading method comprising:
[0006] Acquire the compartment point cloud data of the truck parked at the preset position obtained by the first detection device, and determine the storage location information of the truck according to the compartment point cloud data, wherein the first detection device is located directly above the preset position;
[0007] After receiving the loading command, the forklift arrives at the cargo stacking area and obtains the position of the pallet using the second detection device in the cargo stacking area;
[0008] Fork the goods on the pallet;
[0009] Driving to the secondary storage location detection position issued by the first detection device according to the path planned by the vehicle-mounted system, wherein the second detection device is located on the forklift, and the secondary storage location detection position is determined by the first detection device according to the car point cloud data;
[0010] Acquiring point cloud data of the truck using a second detection device at the secondary storage location detection position;
[0011] The storage location of the cargo is determined according to the point cloud data of the truck, and the cargo is placed at the storage location of the cargo.
[0012] In this embodiment, the step of acquiring the carriage point cloud data of the truck parked at the preset position obtained by the first detection device and determining the storage location information of the truck according to the carriage point cloud data includes:
[0013] Acquire point cloud data obtained by the first detection device, and perform filtering processing and plane fitting processing on the point cloud data in sequence to obtain point cloud data of the carriage;
[0014] Determine the storage location information of the truck in the radar coordinate system according to the carriage point cloud data;
[0015] The storage location information under the radar coordinate system is converted into the storage location information under the map coordinate system based on a preset conversion matrix.
[0016] In this embodiment, the step of determining the storage location information of the truck in the radar coordinate system according to the carriage point cloud data includes:
[0017] Determine first size information of the truck according to the carriage point cloud data;
[0018] Acquire the category of goods, and determine the second size information of the goods according to the category of goods;
[0019] The storage location information of the truck in the radar coordinate system is determined according to the first size information and the second size information, and the storage location information includes the number of storage locations and the storage location positions.
[0020] In this embodiment, after the step of acquiring the point cloud data of the truck parked at the preset position collected by the first detection device and determining the storage location information of the truck according to the point cloud data, the step further includes:
[0021] Determine the loading order according to the storage location information of the truck;
[0022] The loading sequence and the storage location information are sent to a storage location management system, so that the storage location management system generates a loading instruction according to the loading sequence and the storage location information and sends the loading instruction to a forklift, and enables the forklift to execute the step of arriving at the cargo stacking area after receiving the loading command and obtaining the pallet position in the cargo stacking area using a second detection device.
[0023] In this embodiment, the step of forking the goods on the pallet position includes:
[0024] Determine the fork entry information of the forklift according to the pallet position, wherein the fork entry information includes the fork entry position information and angle information;
[0025] The goods at the position of the pallet are forked based on the position information and angle information of the fork entry.
[0026] In this embodiment, obtaining the position of the pallet by using the second detection device in the cargo stacking area includes:
[0027] Acquire image information detected by a second detection device;
[0028] Inputting the image information into a preset target detection model to obtain point cloud data of the pallet, wherein the preset target detection model is trained based on preset pallet and cargo data;
[0029] The position of the pallet is determined according to the point cloud data of the pallet.
[0030] In this embodiment, the step of determining the position of the pallet according to the point cloud data of the pallet includes:
[0031] Performing data processing on the extracted point cloud data of the pallet, wherein the data processing sequentially includes discrete point filtering processing, normal vector filtering processing, smoothing processing, and pallet plane segmentation processing;
[0032] The position of the pallet is obtained according to the point cloud data of the pallet after data processing.
[0033] In this embodiment, the step of determining the storage location of the cargo according to the point cloud data of the truck includes:
[0034] Processing the point cloud data of the truck to obtain the cabin and baffle planes of the truck in a radar coordinate system, wherein the data processing includes discrete point cloud data filtering processing and point cloud plane fitting processing in sequence;
[0035] Determining the storage position of the cargo in the radar coordinate system according to edge information of the carriage and baffle plane of the truck;
[0036] The storage location in the radar coordinate system is converted into the storage location in the map coordinate system based on a preset conversion matrix, and the storage location in the map coordinate system is used as the storage location of the goods.
[0037] In addition, to achieve the above-mentioned purpose, the present invention also provides a forklift loading device, which includes: a memory, a processor, and a forklift loading program stored in the memory and executable on the processor, and the forklift loading program is configured to implement the steps of the forklift loading method as described above.
[0038] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a forklift loading program is stored, and when the forklift loading program is executed by a processor, the steps of the forklift loading method described above are implemented.
[0039] In the technical solution of the present application, the present application obtains the car body point cloud data of the truck parked at a preset position obtained by a first detection device, and determines the storage location information of the truck according to the car body point cloud data, wherein the first detection device is located directly above the preset position; after receiving the loading command, the forklift arrives at the cargo stacking area, obtains the pallet position in the cargo stacking area by using the second detection device, and forks the cargo on the pallet position; then, the forklift drives to the secondary storage location detection position issued by the first detection device according to the path planned by the vehicle-mounted system, wherein the second detection device is located on the forklift, and the second detection device is located on the forklift. The secondary storage location detection position is determined by the first detection device based on the car body point cloud data; after the forklift reaches the second storage location detection position, the forklift uses the second detection device to obtain the point cloud data of the truck at the secondary storage location detection position; the storage location of the goods is determined according to the point cloud data of the truck, and the goods are placed at the storage location of the goods. Since the present application can preliminarily determine the storage location information of the truck through the first detection device, and accurately determine the storage location of the goods at the secondary storage location detection position, the problem that the forklift cannot accurately load the goods due to the parking deviation of the truck is solved, and the accuracy of forklift loading is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a structural schematic diagram of a forklift loading device in a hardware operating environment involved in an embodiment of the present invention;
[0041] Figure 2 It is a schematic diagram of the process of the first embodiment of the forklift loading method of the present invention;
[0042] Figure 3 This is a detailed flowchart of step S110 of the first embodiment of the present invention;
[0043] Figure 4 It is a schematic diagram of the process after step S110 of the first embodiment of the present invention;
[0044] Figure 5 Detailed flowchart of step S130 of the first embodiment of the present invention;
[0045] Figure 6 This is a detailed flow chart of step S120 of the first embodiment of the present invention;
[0046] Figure 7 This is a detailed flowchart of step S150 of the first embodiment of the present invention;
[0047] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0048] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0049] Reference Figure 1 , Figure 1 A schematic diagram of the structure of a forklift loading device in the hardware operating environment involved in an embodiment of the present invention.
[0050] like Figure 1 As shown, the forklift loading equipment may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0051] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the forklift loading device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0052] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module, and a forklift loading program.
[0053] exist Figure 1 In the forklift loading device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the forklift loading device of the present invention can be set in the forklift loading device, and the forklift loading device calls the forklift loading program stored in the memory 1005 through the processor 1001, and executes the forklift loading method provided by the embodiment of the present invention.
[0054] First embodiment:
[0055] The embodiment of the present invention provides a forklift loading method, referring to Figure 2 , Figure 2 This is a schematic flow chart of a first embodiment of a forklift loading method of the present invention. In this embodiment, the forklift loading method includes:
[0056] Step S110, acquiring the compartment point cloud data of the truck parked at a preset position obtained by a first detection device, and determining the storage location information of the truck based on the compartment point cloud data, wherein the first detection device is located directly above the preset position.
[0057] Step S120, after receiving the loading command, the forklift arrives at the cargo stacking area and obtains the position of the pallet using the second detection device in the cargo stacking area.
[0058] Step S130, picking up the goods at the pallet position.
[0059] Step S140, driving to the secondary storage location detection position issued by the first detection device according to the path planned by the vehicle-mounted system, wherein the second detection device is located on the forklift, and the secondary storage location detection position is determined by the first detection device according to the car point cloud data.
[0060] Step S150: acquiring point cloud data of the truck using a second detection device at the secondary storage location detection position.
[0061] Step S160, determining a storage location of the goods according to the point cloud data of the truck, and placing the goods at the storage location of the goods.
[0062] In this embodiment, the first detection device is a solid-state laser radar device. The preset position is the parking position of the truck, and the preset position is any position within the area, and multiple preset positions can be set. The solid-state laser radar device is pre-installed directly above each preset position, and the solid-state laser radar device is connected to an industrial computer, and a communication connection relationship is established between the industrial computer and the unmanned forklift. After the industrial computer obtains the point cloud data of the compartment of the truck parked at the preset position, the point cloud data is processed, and the storage location information of the goods is sent to the unmanned forklift, so that the unmanned forklift plans a path to the storage location of the goods after receiving the storage location information of the truck.
[0063] Specifically, when receiving the staff's request to start the loading task, the solid-state laser radar device transmits a radar signal to the truck and receives the point cloud information corresponding to the radar signal. After obtaining the point cloud data of the truck's compartment, the industrial computer connected to the solid-state laser radar device automatically plans the truck's storage location according to the point cloud data of the compartment, thereby obtaining the truck's storage location information and sending it to the unmanned forklift. The storage location information includes the number of storage locations and the location of the storage locations.
[0064] In this embodiment, goods are placed on the pallet, and after the pallet position is obtained, the goods at the pallet position are forked. A second detection device is installed on the unmanned forklift, and the pallet position is obtained by the second detection device. Among them, the second detection device is a TOF camera (Time of Fight Camera). Specifically, after the unmanned forklift reaches the storage location of the goods, the second detection device is used to identify the pallet position and fork the goods. The second detection device collects image and point cloud information, and inputs the collected image information into a preset target detection model for processing, thereby obtaining the pallet position and the category of goods. Among them, the preset target detection model is a YOLO deep learning target detection model.
[0065] In this embodiment, after obtaining the position of the pallet, the position information and angle information of the unmanned forklift fork entry can be determined. Based on the position information and angle information of the fork entry, the multi-tine fork of the unmanned forklift is controlled to pick up the goods at the pallet position. After picking up the goods at the pallet position, the unmanned forklift will drive to the secondary detection position of the storage location based on the path issued by the vehicle-mounted system. The secondary detection position of the storage location is the position in front of the truck storage location.
[0066] In this embodiment, after the unmanned forklift drives to the secondary storage location detection position, the second detection device is used to obtain the point cloud information of the truck compartment and the baffle, and the baffle of the truck is located under the truck compartment. The cargo placement angle is corrected according to the normal line of the baffle plane and the compartment plane under the compartment to prevent the cargo from being loaded crookedly. When other cargo has been placed in the truck compartment, ensure that there is enough space between the current cargo and the already placed cargo to prevent squeezing and tilting.
[0067] In this embodiment, after obtaining the point cloud data of the truck compartment and the baffle, the storage position of the cargo in the truck compartment is determined according to the point cloud data of the truck compartment and the baffle. The cargo is placed at the storage position of the cargo. Specifically, the point cloud data of the truck compartment and the baffle are processed to obtain the storage position in the map coordinate system; the storage position in the map coordinate system is regarded as the storage position of the cargo.
[0068] In the technical solution of this embodiment, by obtaining the point cloud data of the truck compartment parked at the preset position obtained by the first detection device, the storage location information of the truck is preliminarily obtained according to the point cloud data of the truck compartment. After receiving the loading command, the forklift arrives at the cargo stacking area, obtains the pallet position by using the second detection device, forks the cargo at the pallet position, and drives to the secondary storage location detection position issued by the first detection device according to the path planned by the vehicle-mounted system. The secondary storage location detection position is determined by the first detection device according to the point cloud data of the compartment. At the secondary storage location detection position, the point cloud data of the truck compartment and baffle are obtained according to the second detection device on the forklift. The storage location of the cargo can be accurately determined according to the point cloud data of the truck compartment and baffle, thereby placing the cargo at the storage location of the cargo. Since the present application can preliminarily determine the storage location information of the truck and accurately determine the storage location of the cargo at the secondary storage location detection position, the problem that the forklift cannot accurately load the cargo is solved, and the accuracy of forklift loading is improved.
[0069] Second embodiment:
[0070] Further, see Figure 3 The second embodiment of the forklift loading method of the present invention provides a technical solution for obtaining the compartment point cloud data of a truck parked at a preset position obtained by a first detection device, and determining the storage location information of the truck according to the compartment point cloud data. Figure 1 In the illustrated embodiment, the step of acquiring the carriage point cloud data of the truck parked at the preset position obtained by the first detection device, and determining the storage location information of the truck according to the carriage point cloud data includes:
[0071] Step S111, acquiring point cloud data obtained by the first detection device, and performing filtering processing and plane fitting processing on the point cloud data in sequence to obtain point cloud data of the carriage.
[0072] Step S112, determining the storage location information of the truck in the radar coordinate system according to the car point cloud data.
[0073] Step S113: converting the storage location information under the radar coordinate system into the storage location information under the map coordinate system based on a preset conversion matrix.
[0074] In this embodiment, the preset transformation matrix includes a preset rotation matrix and a preset translation matrix. The preset transformation matrix can be obtained in advance by hand-eye calibration. The storage location information includes the number of storage locations that can be planned and the location of each storage location. The number of goods that can be placed and the location of the goods are determined according to the storage location information. For the storage location information obtained in the radar coordinate system, the storage location information in the radar coordinate system can be converted into the storage location information in the map coordinate system through the preset transformation matrix, thereby driving the unmanned forklift to reach the secondary storage location detection position associated with the storage location information in the map coordinate system to perform a secondary precise positioning task.
[0075] Specifically, the first dimension information of the truck is determined based on the compartment point cloud data, wherein the first dimension information includes the length, width and height of the truck. After obtaining the compartment point cloud data of the truck, the edge of the compartment plane is extracted, and the first dimension information of the truck can be automatically calculated by processing the edge information. The cargo category is obtained, and the second dimension information of the cargo is determined based on the cargo category, wherein the second dimension information includes the length, width and height of the cargo. The actual length, width and height of different cargoes can be determined based on the cargo category detected by the second detection device. The storage location information of the truck is determined based on the first dimension information and the second dimension information.
[0076] In this embodiment, the storage location information is the storage location information in the radar coordinate system. After obtaining the storage location information in the radar coordinate system, the storage location information in the radar coordinate system is converted into the storage location information in the map coordinate system based on a preset rotation matrix and a preset translation matrix. The quantity of goods that can be placed and the location of the goods are determined according to the storage location information.
[0077] In the technical solution of this embodiment, since the first detection device is used to preliminarily locate the storage location information, after the unmanned forklift reaches the secondary storage location detection position, the second detection device is used to recalculate the storage location information to improve the loading accuracy of the unmanned forklift.
[0078] Third embodiment:
[0079] Further, see Figure 4 The third embodiment of the forklift loading method of the present invention provides a technical solution after the step of obtaining the point cloud data of the truck parked at the preset position collected by the first detection device and determining the storage location information of the truck according to the point cloud data. Figure 1 In the embodiment shown, after the step of obtaining the point cloud data of the truck parked at the preset position collected by the first detection device and determining the storage location information of the truck according to the point cloud data, the method further includes:
[0080] Step S210, determining the loading order according to the storage location information of the truck.
[0081] Step S220, sending the loading sequence and the storage location information to the storage location management system, so that the storage location management system generates a loading instruction according to the loading sequence and the storage location information and sends the loading instruction to the forklift, and enables the forklift to execute the step of arriving at the cargo stacking area after receiving the loading command and obtaining the pallet position in the cargo stacking area using the second detection device.
[0082] In this embodiment, after obtaining the storage location information of the truck, the loading order is determined according to the storage location information of the truck, and the storage location information and the loading order are sent to the storage location management system. Optionally, the loading order is used to indicate the loading order of the goods. The loading order of the goods can be indicated in the form of a serial number, and the serial number is associated with the location information of each storage location. After receiving the fork pick-up instruction, the storage location management system dispatches a forklift to travel to the cargo location area according to the loading order and the storage location information. The storage location management system can be a user terminal.
[0083] Specifically, a dispatch instruction is generated according to the loading order and storage location information of the goods, and the dispatch instruction is sent to the unmanned forklift. Optionally, the forklift position and the cargo position are obtained, and the driving path is determined according to the forklift position and the cargo position. When the unmanned forklift receives the dispatch instruction, the forklift is dispatched to drive to the cargo location area according to the driving path, and the pallet position is identified and obtained in the cargo location area through the second detection device.
[0084] In the technical solution of this embodiment, the loading order is determined according to the storage location information of the truck; the loading order and the storage location information are sent to the storage location management system, so that the storage location management system can dispatch the forklift to the cargo location area and obtain the pallet location according to the loading order and the storage location information when receiving the loading instruction, thereby realizing orderly loading by unmanned forklifts.
[0085] Fourth embodiment:
[0086] Further, see Figure 5 The fourth embodiment of the forklift loading method of the present invention provides a technical solution before the step of forking the goods at the pallet position. Figure 1 In the embodiment shown, the step of forking the cargo at the pallet position includes:
[0087] Step S131, determining the forklift's fork entry information according to the pallet position, wherein the fork entry information includes fork entry position information and angle information.
[0088] Step S132: Pick up the goods at the position of the pallet based on the position information and angle information of the fork entry.
[0089] In this embodiment, after obtaining the pallet position and before picking up the goods at the pallet position, the forklift's fork entry information can be determined according to the pallet position. Specifically, the forklift's fork entry position information and angle information are determined according to the pallet information; the multiple forks on the forklift are controlled to pick up the goods at the pallet position based on the fork entry position information and fork entry angle information, so as to prevent the inaccurate fork entry information from causing the goods at the pallet position to be unable to be picked up accurately or the goods at the pallet position to be pushed down.
[0090] In the technical solution of this embodiment, the accuracy of forklift picking up goods on the pallet is improved by determining the forklift's fork entry information according to the pallet position and picking up the goods on the pallet based on the fork entry position information and angle information.
[0091] Fifth embodiment:
[0092] Further, see Figure 6 The fifth embodiment of the forklift loading method of the present invention provides a specific technical solution for obtaining the position of the pallet by using the second detection device in the cargo stacking area. Figure 1 In the illustrated embodiment, obtaining the position of the pallet by using the second detection device in the cargo stacking area includes:
[0093] Step S121, acquiring image information detected by a second detection device.
[0094] Step S122, inputting the image information into a preset target detection model to obtain point cloud data of the pallet, wherein the preset target detection model is trained based on preset pallet and cargo data.
[0095] Step S123, determining the position of the pallet according to the point cloud data of the pallet.
[0096] In this embodiment, the preset target detection model is a YOLO deep learning target detection model. Specifically, when the unmanned forklift performs a loading task, it is necessary to use a second detection device to detect the cargo. First, after the unmanned forklift arrives at the cargo location area, the second detection device begins to perform the pallet detection task. This application uses YOLO deep learning target detection to train and detect pallet data, and uses genetic algorithm + k-means to recalculate the most appropriate anchor frame ratio of the training data set. Using the recalculated anchor frame ratio to train the pallet detection model can significantly improve the detection accuracy.
[0097] In this embodiment, when detecting the position of the pallet, the RGB-D image data collected by the second detection device is input into the preset target detection model to obtain the cargo detection frame, and the point cloud data corresponding to the cargo detection frame is extracted from the point cloud data corresponding to the image information, and input into the point cloud data processing module. The point cloud data processing module sequentially performs discrete point filtering, normal vector filtering, point cloud data smoothing, and plane segmentation processing on the point cloud data corresponding to the cargo detection frame, thereby obtaining the surface point cloud of the pallet based on the point cloud data after point cloud data processing, and obtaining the pallet position based on the pallet surface point cloud. When the pallet position is obtained, the position information and angle information of the unmanned forklift fork entry can be further determined based on the pallet position.
[0098] In the technical solution of this embodiment, image information detected by the second detection device is obtained, and the image information includes a pallet and the goods on the pallet. The image information is input into a preset target detection model to obtain a pallet detection frame and a category of goods, and the preset target detection model is trained based on preset pallet data. The pallet position is determined based on the point cloud data of the pallet, so as to accurately determine the position and angle information of the unmanned forklift fork entry, so as to avoid the dumping of goods due to inaccurate fork entry angle and fork entry position.
[0099] Sixth embodiment:
[0100] Further, see Figure 7 The sixth embodiment of the forklift loading method of the present invention provides a specific technical solution for determining the storage location of the cargo according to the point cloud data of the truck. Figure 1 In the illustrated embodiment, determining the storage location of the cargo based on the point cloud data of the truck includes:
[0101] Step S151, processing the point cloud data of the truck to obtain the cabin and baffle planes of the truck in the radar coordinate system, wherein the data processing includes discrete point cloud data filtering processing and point cloud plane fitting processing in sequence;
[0102] Step S152, determining the storage position of the cargo in the radar coordinate system according to the edge information of the compartment and the baffle plane of the truck;
[0103] Step S153: converting the storage location in the radar coordinate system into the storage location in the map coordinate system based on a preset conversion matrix, and using the storage location in the map coordinate system as the storage location of the goods.
[0104] In this embodiment, when the unmanned forklift forks the goods and arrives at the secondary storage location detection position in front of the storage location, the second detection device starts to detect the plane of the carriage and the baffle, and corrects the angle of the vehicle body according to the normal of the carriage and the baffle plane to prevent the goods from being loaded crookedly; when other goods have been placed, ensure that there is enough space margin between the current goods and the placed goods, and no squeezing and tilting will occur. Since the point cloud obtained by the second detection device carries the background point cloud, and there are noise points in the 3D point cloud itself. Therefore, it is necessary to process the point cloud data of the truck baffle through the point cloud processing module. Specifically, first, the point cloud data of the truck baffle is subjected to discrete point cloud data filtering processing, and the point cloud filtering method needs to be used to filter out outlier point clouds. Then, the point cloud data of the truck baffle after the discrete point cloud data filtering processing is subjected to point cloud plane fitting processing, and the RANSAC method is used to fit the carriage and baffle planes respectively, so as to obtain the carriage and baffle planes of the truck in the radar coordinate system.
[0105] In this embodiment, the actual storage position of the goods in the radar coordinate system is determined based on the edge information of the truck compartment and the baffle plane. At this time, the second detection device is very close to the truck's storage location when positioning, and the point cloud density and point cloud accuracy are high, so that the precise storage position (x, y, z, angle) of the goods in the radar coordinate system can be obtained. In addition, the preset conversion matrix between the offline calibrated radar coordinate system and the map coordinate system is required to transform the storage position in the radar coordinate system to the storage position in the map coordinate system, thereby providing the forklift with final accurate loading information.
[0106] In the technical solution of this embodiment, data processing is performed on the point cloud data of the truck compartment and baffle to obtain the truck compartment and baffle planes in the radar coordinate system; the storage position of the goods in the radar coordinate system is determined based on the edge information of the compartment and baffle planes; the storage position in the radar coordinate system is converted into the storage position in the map coordinate system, thereby providing an accurate storage position of the goods for the unmanned forklift.
[0107] Based on the same inventive concept, an embodiment of the present application also provides a computer-readable storage medium, which stores a forklift loading program. When the forklift loading program is executed by the processor, it implements the various steps of forklift loading as described above and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0108] Since the computer-readable storage medium provided in the embodiments of the present application is a computer-readable storage medium used to implement the method of the embodiments of the present application, based on the method introduced in the embodiments of the present application, those skilled in the art can understand the specific structure and deformation of the computer-readable storage medium, so it is not repeated here. All computer-readable storage media used in the methods of the embodiments of the present application belong to the scope of protection of this application.
[0109] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, the elements defined by the sentence "including a forklift loading" do not exclude the existence of other identical elements in the process, method, article or system including the element.
[0110] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0111] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0112] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A forklift loading method, characterized in that: The forklift loading method comprises the following steps: Acquire point cloud data of a truck parked at a preset position obtained by a first detection device, and perform filtering processing and plane fitting processing on the point cloud data in sequence to obtain point cloud data of a compartment of the truck, wherein the first detection device is located directly above the preset position; Determine the first dimension information of the truck according to the carriage point cloud data; obtain the cargo category, and determine the second dimension information of the cargo according to the cargo category; determine the storage location information of the truck in the radar coordinate system according to the first dimension information and the second dimension information, the storage location information including the number of storage locations and storage location positions; convert the storage location information in the radar coordinate system into the storage location information in the map coordinate system based on a preset rotation matrix and a preset translation matrix; After receiving the loading command, the forklift arrives at the cargo stacking area, obtains image information detected by the second detection device in the cargo stacking area; inputs the image information into a preset target detection model to obtain point cloud data of the pallet, the preset target detection model is trained based on preset pallet and cargo data; determines the position of the pallet based on the point cloud data of the pallet, wherein the loading command is determined based on the storage location information and the loading order; Fork-pick the goods on the pallet; Driving to the secondary storage location detection position issued by the first detection device according to the path planned by the vehicle-mounted system, wherein the second detection device is located on the forklift, the secondary storage location detection position is determined by the first detection device according to the car point cloud data, and the secondary storage location detection position is the position in front of the truck storage location; Acquiring point cloud data of the truck using a second detection device at the secondary storage location detection position; The point cloud data of the truck acquired by the second detection device is processed to obtain the car body and baffle plane of the truck in the radar coordinate system, wherein the data processing includes discrete point cloud data filtering processing and point cloud plane fitting processing in sequence; the storage position of the cargo in the radar coordinate system is determined according to the edge information of the car body and baffle plane of the truck; the storage position in the radar coordinate system is converted into the storage position in the map coordinate system based on a preset conversion matrix, and the storage position in the map coordinate system is used as the storage position of the cargo, and the cargo is placed at the storage position of the cargo.
2. The forklift loading method according to claim 1, characterized in that: The method further comprises: Determine the loading order according to the storage location information of the truck; The loading sequence and the storage location information are sent to a storage location management system, so that the storage location management system generates a loading instruction according to the loading sequence and the storage location information and sends the loading instruction to a forklift, and enables the forklift to execute the steps of: after receiving the loading command, the forklift arrives at the cargo stacking area, and obtains image information detected by a second detection device in the cargo stacking area; inputs the image information into a preset target detection model to obtain point cloud data of the pallet, and the preset target detection model is trained based on preset pallet and cargo data; and determines the position of the pallet based on the point cloud data of the pallet.
3. The forklift loading method according to claim 1, characterized in that: The step of forking the goods on the pallet position includes: Determine the fork entry information of the forklift according to the pallet position, wherein the fork entry information includes the fork entry position information and angle information; The goods at the position of the pallet are forked based on the position information and angle information of the fork entry.
4. The forklift loading method according to claim 1, characterized in that: The step of determining the position of the pallet according to the point cloud data of the pallet comprises: Performing data processing on the extracted point cloud data of the pallet, wherein the data processing sequentially includes discrete point filtering processing, normal vector filtering processing, smoothing processing, and pallet plane segmentation processing; The position of the pallet is obtained according to the point cloud data of the pallet after data processing.
5. A forklift loading device, characterized in that: The forklift loading device comprises: a memory, a processor and a forklift loading program stored in the memory and executable on the processor, wherein the forklift loading program is configured to implement the steps of the forklift loading method according to any one of claims 1 to 4.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a forklift loading program, and when the forklift loading program is executed by the processor, the steps of the forklift loading method according to any one of claims 1 to 4 are implemented.
