Stacking machine and positioning method thereof, readable storage medium and computer equipment

Through laser radar measurement and calculation, combined with dynamic adjustment of orientation and path planning, the problem of low efficiency and poor positioning accuracy of the stacker and container has been solved, and high-precision docking of the stacker and container has been achieved, improving operational safety and efficiency. .

CN118723871APending Publication Date: 2024-10-01SANY MARINE HEAVY INDUSTRY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410842181.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing forklifts are inefficient when positioning containers and are prone to relative positioning inaccuracies, leading to operational delays or risks of safety accidents.

Method used

Lidar is used for horizontal scanning to measure the distance and angle between the forklift and the container, and the relative distance and angle are calculated through distance correspondence and angle correspondence to achieve precise positioning of the forklift and the container, and by dynamically adjusting the orientation and path Plan to ensure alignment and proximity of the forklift to the container.

Benefits of technology

The mutual positioning accuracy of the forklift and the container is improved, manual intervention is reduced, operation preparation time is shortened, collision risks are reduced, operation safety is ensured, and operation efficiency and accuracy are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118723871A_ABST
    Figure CN118723871A_ABST
Patent Text Reader

Abstract

The invention provides a stacking machine and a positioning method thereof, a readable storage medium and computer equipment, and the method comprises the steps: carrying out the horizontal scanning through a laser radar, and measuring a first distance and a second distance between the stacking machine and two sides of a container; and the relative distance and the relative angle between the stacking machine and the container are calculated by using the first distance, the second distance and the known length of the container and adopting the distance corresponding relation and the angle corresponding relation, so that the relative position relation between the stacking machine and the container is obtained. According to the method, calculation is performed through accurate measurement of the laser radar in combination with the distance corresponding relation and the angle corresponding relation, the relative position relation between the stacking machine and the container can be determined in real time, and the mutual positioning accuracy of the stacking machine and the container is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of forklifts, and in particular to a forklift and a positioning method thereof, a readable storage medium and a computer device. Background Art

[0002] In the field of forklift technology, the application of automation and intelligent technology is increasing, but it still faces some challenges, especially in the relative positioning of forklifts and containers.

[0003] Most automated stackers on the market focus on optimization at the system level, such as system docking, scheduling optimization or path planning, etc. However, the level of intelligence in stacker operations has been limited, especially when determining the relative positioning of stackers and containers, which often requires manual control, which is not only inefficient but also prone to inaccurate relative positioning, leading to operation delays or safety accidents.

[0004] Based on this, the present application provides a forklift and a positioning method thereof, a readable storage medium and a computer device to improve the relevant technology. Summary of the invention

[0005] The purpose of the present application is to provide a forklift and a positioning method thereof, a readable storage medium and a computer device, which can improve the mutual positioning accuracy between the forklift and the container.

[0006] The purpose of this application is achieved by the following technical solutions:

[0007] In a first aspect, the present application provides a method for positioning a forklift, the method comprising:

[0008] Performing horizontal scanning using the laser radar of the forklift to measure a first distance and a second distance between the forklift and two sides of the container;

[0009] According to the first distance, the second distance and the length of the container, the relative distance and the relative angle between the stacker and the container are calculated by using the distance correspondence and the angle correspondence, which are recorded as a first relative distance and a first relative angle;

[0010] Among them, the relative distance is used to indicate the distance between the forklift and the front surface of the container, and the relative angle is used to indicate the angle between the line connecting the forklift and the isoheight point and the center line. The isoheight point is located on the vertical central axis of the front surface of the container and is at the same height as the laser radar. The center line is perpendicular to the front surface of the container and passes through the isoheight point.

[0011] In some embodiments, the method further comprises:

[0012] Using the current orientation of the forklift, controlling the forklift to move to the center line;

[0013] In the case where the stacker is not aligned with the center line, adjusting the orientation of the stacker during movement so that the stacker is aligned with the center line;

[0014] When the stacker is aligned with the center line, the stacker is controlled to approach the container so as to move to the front of the equal height point.

[0015] In some embodiments, the process of determining the current orientation includes:

[0016] During the movement of the forklift, re-performing horizontal scanning by using the laser radar to re-measure the first distance and the second distance;

[0017] According to the re-measured first distance, second distance and length of the container, using the distance correspondence and the angle correspondence, respectively calculating the relative distance and relative angle between the stacker and the container, which are recorded as a second relative distance and a second relative angle;

[0018] Based on the first relative distance, the first relative angle, the second relative distance, and the second relative angle, a current orientation of the forklift is determined.

[0019] In some embodiments, the process of determining whether the forklift is aligned with the center line includes:

[0020] Controlling the stacker to move a first target step length, calculating a third relative angle after the movement and a distance of interest before and after the movement;

[0021] When the third relative angle is smaller than the target angle, and the change in the distance of interest before and after the movement is smaller than the target change, it is determined that the forklift is aligned with the center line;

[0022] The distance of interest is determined according to the corresponding first distance and a first cosine value, and the first cosine value is the cosine value of the angle between the straight line where the corresponding first distance is located and the positive box surface of the container.

[0023] In some embodiments, controlling the forklift to approach the container so as to move the forklift to the front of the equal height point includes:

[0024] When the forklift approaches the container, the forklift is controlled to move the second target step length each time, and the relative angles before and after the movement are calculated and recorded as a fourth relative angle and a fifth relative angle;

[0025] When the fifth relative angle is not equal to the fourth relative angle, the orientation of the forklift is adjusted according to the numerical relationship between the fifth relative angle and the fourth relative angle to ensure that the difference between the distance of interest and the target distance is always within the target error range.

[0026] In some embodiments, adjusting the orientation of the forklift according to the numerical value relationship between the fifth relative angle and the fourth relative angle includes:

[0027] When the fifth relative angle is greater than the fourth relative angle, it is determined that the forklift is deviated away from the center line, and the forklift is controlled to deviate toward the center line; or,

[0028] When the fifth relative angle is smaller than the fourth relative angle, it is determined that the forklift is deflected toward the center line, and the forklift is controlled to deflect in a direction away from the center line.

[0029] In some embodiments, the method further comprises:

[0030] Using the laser radar to detect whether there are obstacles within the target range around the forklift;

[0031] When the obstacle is located in front of the forklift in the traveling direction, the forklift is controlled to stop and wait; or, when the obstacle is not located in front of the forklift in the traveling direction, the forklift is controlled to continue traveling.

[0032] In a second aspect, the present application provides a forklift, the forklift comprising:

[0033] A control module, used to execute any of the above methods;

[0034] The laser radar is used for horizontal scanning to measure a first distance and a second distance between the forklift and two sides of the container, and to detect whether there are obstacles within a target range around the forklift.

[0035] In a third aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program implements any of the above methods when executed by a processor.

[0036] In a fourth aspect, the present application provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements any one of the above methods when executing the computer program.

[0037] The present application provides a stacker and a positioning method thereof, a readable storage medium and a computer device, wherein a laser radar is first used for horizontal scanning to measure a first distance and a second distance between the stacker and the two sides of a container. The first distance and the second distance and the known length of the container are then used to calculate the relative distance and the relative angle between the stacker and the container using the distance correspondence and the angle correspondence to obtain the relative position relationship between the stacker and the container. The present application uses accurate measurement of the laser radar and combines the distance correspondence and the angle correspondence for calculation, which can determine the relative position relationship between the stacker and the container in real time, and also improves the mutual positioning accuracy between the stacker and the container. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 It is a flow chart of a method for positioning a forklift provided in an embodiment of the present application.

[0039] Figure 2 It is a structural schematic diagram of a container provided in an embodiment of the present application.

[0040] Figure 3 It is a top view schematic diagram of the relative positions of a forklift and a container provided in an embodiment of the present application.

[0041] Figure 4 It is a simplified schematic diagram of a forklift and a container provided in an embodiment of the present application.

[0042] Figure 5 It is a simplified schematic diagram of another forklift and container provided in an embodiment of the present application.

[0043] Figure 6 This is a simplified schematic diagram of another forklift and container provided in an embodiment of the present application.

[0044] Figure 7 It is a schematic diagram of a forklift and surrounding obstacles provided in an embodiment of the present application.

[0045] Figure 8 It is a point cloud data map detected by a laser radar provided in an embodiment of the present application.

[0046] Fig. 9 It is a schematic diagram of a laser radar detecting stacked containers provided in an embodiment of the present application.

[0047] Fig.10 It is a structural block diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0049] In the description of the embodiments of the present application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0050] In the field of forklift technology, the application of automation and intelligence is increasing day by day, however, there are still some key issues that need to be solved. Forklifts on the market tend to focus more on system optimization, such as system docking, scheduling optimization or path planning, but less on the intelligence of forklift operations, which means that when forklifts determine the mutual positioning with containers or dock with containers, they often need manual control, which is not only inefficient, but also prone to inaccurate positioning, resulting in operation delays and even safety accidents.

[0051] See also Figure 1 , Figure 1 is a flow chart of a method for positioning a forklift provided in an embodiment of the present application, Figure 2 is a structural schematic diagram of a container provided in an embodiment of the present application, Figure 3 is a top view schematic diagram of the relative positions of a forklift and a container provided in an embodiment of the present application, Figure 4 It is a simplified schematic diagram of a forklift and a container provided in an embodiment of the present application.

[0052] In order to improve the related technology, an embodiment of the present application provides a positioning method for a forklift, and the method includes steps S101 to S102.

[0053] Step S101: Perform horizontal scanning using the laser radar of the forklift to measure a first distance and a second distance between the forklift and two sides of a container.

[0054] Step S102: according to the first distance, the second distance and the length of the container, using the distance correspondence relationship and the angle correspondence relationship, respectively calculating the relative distance and the relative angle between the stacker and the container, which are recorded as a first relative distance and a first relative angle;

[0055] Among them, the relative distance is used to indicate the distance between the forklift and the front surface of the container, and the relative angle is used to indicate the angle between the line connecting the forklift and the isoheight point and the center line. The isoheight point is located on the vertical central axis of the front surface of the container and is at the same height as the laser radar. The center line is perpendicular to the front surface of the container and passes through the isoheight point.

[0056] Among them, LiDAR is a sensor that uses laser beams to measure distance, which can quickly and accurately measure the distance between an object and the sensor. Horizontal scanning refers to the rotation of LiDAR in the horizontal direction.

[0057] In the above embodiment, a laser radar is first used to perform a horizontal scan to measure the precise distance between the forklift and the two sides of the container, namely the first distance and the second distance. Then, using the first distance and the second distance and the known length of the container, the distance correspondence and the angle correspondence are used to calculate the relative distance and the relative angle between the forklift and the container, so as to obtain the relative position relationship between the forklift and the container, and realize the precise positioning of the forklift and the container. It should be noted that the above-mentioned first distance and second distance may refer to the distance between the laser radar and the two sides of the container, and the present application does not limit this. In one possible implementation, the laser radar may be provided on the front end face of the forklift, and the number of laser radars is one. Using one laser radar can not only reduce the hardware cost, but also reduce the data processing time because there is only a single data acquisition source. Taking the container as a rectangular solid as an example, its front box surface is a rectangle, Figure 2 The center axis of the container's front surface, the center line perpendicular to the front surface, and the iso-height points at the same height as the laser radar are shown. Figure 3 As shown, when the position of the container is known, a polar coordinate system can be established with the isoelevation point as the coordinate origin, and the position and direction of the forklift relative to the container can be calculated, for example, represented by r and θ.

[0058] The above embodiment can determine the relative position relationship between the stacker and the container in real time through the combination of accurate measurement of the laser radar and calculation using the corresponding relationship, and also improve the mutual positioning accuracy of the stacker and the container. For example, the error can be controlled within 50cm, ensuring the accuracy of the container grabbing and releasing operations, and can also help avoid collision risks, ensure the safety of the stacker during operation, and reduce the possibility of accidents. In addition, automated positioning reduces manual intervention and shortens the operation preparation time, thereby improving the overall operation efficiency of the stacker.

[0059] like Figure 4As shown in the figure, an example is given to illustrate how to calculate the relative distance and relative angle using the distance correspondence and angle relationship. Take the container as a rectangular parallelepiped as an example, the location of the forklift is recorded as point P1, the points on both sides of the front surface of the container at the same height as the laser radar are recorded as points A and B, and the AP1 line segment is the first distance L 11 , with BP1 line segment as the second distance L 12 , the length of the container is denoted as L, the first relative distance is denoted as D1, and the first relative angle is denoted as α1.

[0060] The distance correspondence relationship can be expressed using the distance correspondence formula, for example:

[0061]

[0062] The angle correspondence relationship can be expressed using the angle correspondence formula, for example:

[0063]

[0064] The corresponding D1 and α1 are calculated according to the above distance correspondence formula and angle correspondence formula, so that the mutual positioning of the forklift and the container can be achieved.

[0065] The distance correspondence and the angle correspondence may also be a correspondence model, which may be obtained through machine learning. In the obtained correspondence model, as long as the current first distance, the current second distance and the length of the container are input, the correspondence model can calculate the relative distance and relative angle between the forklift and the container.

[0066] On the basis of achieving precise positioning, in order to improve the force balance when the forklift grabs and releases the container, in some embodiments, the method may also include: using the current orientation of the forklift to control the forklift to move to the center line; when the forklift is not aligned with the center line, adjusting the orientation of the forklift during the movement to align the forklift with the center line; when the forklift is aligned with the center line, controlling the forklift to approach the container so that the forklift moves to the front of the equal height point.

[0067] Among them, the forklift is aligned with the center line means that the moving direction of the forklift is parallel to the center line, and the forklift is located on the center line or within a certain range away from the center line.

[0068] In the above embodiment, the current orientation information of the forklift is used to plan a travel path, with the goal of gradually aligning the forklift with the center line of the container. During the travel process, the forklift can continuously monitor its own position and orientation through the laser radar and the calculation of the corresponding relationship. If it is found that it is not aligned, the orientation of the forklift is immediately adjusted until it is aligned with the center line. After the forklift is aligned with the center line, the forklift slowly approaches the container and finally stops just in front of the equal height point, ready for the next grab or placement operation. As an example, when the angle between the straight line where the forklift's current orientation is located and the center line is 30° and the forklift is on one side of the center line, the forklift can be adjusted to rotate 60° in the direction close to the other side of the center line, so that the straight line where the adjusted forklift's orientation is located is perpendicular to the center line, thereby controlling the forklift to travel to the center line.

[0069] The above embodiment combines dynamic adjustment of orientation with path planning, so that the stacker can accurately align with the center line of the container, significantly improving the accuracy of grabbing and placing containers, reducing the error rate of operation, and ensuring that the container can maintain the best balance state during the process of grabbing or placing the container by the stacker, reducing the risk of rollover or collision. Through appropriate path planning, the stacker can approach the front of the equal height point in the most direct and effective way, reducing unnecessary path deviations, saving time and energy. In addition, the above method also improves the adaptability of the stacker in complex or changing operating environments, and can maintain efficient and stable operating performance whether it is an empty yard or a crowded dock.

[0070] See also Figure 5 , Figure 5 It is a simplified schematic diagram of another forklift and container provided in an embodiment of the present application.

[0071] In some embodiments, the process of determining the current orientation may include: during the movement of the forklift, using the laser radar to re-perform a horizontal scan to re-measure the first distance and the second distance; based on the re-measured first distance, second distance and the length of the container, using the distance correspondence and the angle correspondence, respectively calculate the relative distance and relative angle between the forklift and the container, recorded as the second relative distance and the second relative angle; based on the first relative distance, the first relative angle, the second relative distance and the second relative angle, determine the current orientation of the forklift.

[0072] In the above embodiment, during the dynamic process of the stacker moving toward the container, the first distance and the second distance between the stacker and the container are updated in real time by repeatedly performing horizontal scanning of the laser radar. Before and after each scan, the corresponding distance data is combined with the known length of the container, as well as the distance correspondence and the angle correspondence to calculate the relative position of the stacker and the container before and after this scan (wherein the relative distance and the relative angle obtained in the previous scan are recorded as the first relative distance and the first relative angle, and the relative distance and the relative angle obtained in this scan are recorded as the second relative distance and the second relative angle). The real-time and accuracy of the current direction determination are ensured by using the real-time updated relative distance and relative angle.

[0073] The above embodiment uses the instant current direction determination mechanism to enable the stacker to continuously adjust the direction of travel during movement, and can accurately align with the container's iso-height point even in a complex operating environment. In addition, during the movement of the stacker, through continuous scanning and calculation, the occurrence of positioning errors is reduced, the speed of the stacker approaching and locating the container is accelerated, and the operating efficiency is improved.

[0074] like Figure 5 As shown in the figure, the process of determining the current orientation of the forklift is illustrated. Taking the container as a rectangular parallelepiped, the forklift moves from point P1 to point P2. The length of the container is recorded as L, and the points on both sides of the front surface of the container at the same height as the laser radar are recorded as point A and point B. The AP1 line segment is the first distance L. 11 , with BP1 line segment as the second distance L 12 , the AP2 line segment represents the first distance L measured after moving to point P2 21 BP2 line segment represents the second distance L measured after moving to point P2 22 , let the first relative distance be D1, the first relative angle be α1, let the second relative distance be D2, the second relative angle be α2, then the above parameters can be calculated using the following formula:

[0075]

[0076] According to the first relative distance D1, the first relative angle α1, the second relative distance D2 and the second relative angle α2, the current orientation of the forklift can be determined, for example, by the vector Representation. Assume that when the forklift is at the initial position of operation, the relative position relationship between the forklift and the container can be known, but the current orientation of the forklift cannot be known. When the forklift starts to move from the initial position, the current orientation of the forklift can be calculated based on the first distance and the second distance corresponding to the initial position and the remeasured first distance and second distance. For example, when point P1 is the initial position, the corresponding first relative distance D1 and the first relative angle α1 can be known, but the current orientation at point P1 cannot be known. When point P1 moves to point P2, the current orientation is determined based on the second relative distance D2 and the second relative angle α2 corresponding to point P2, as well as the first relative distance D1 and the first relative angle α1. It is used to indicate the orientation of the forklift at point P1, point P2, and any position between point P1 and point P2. It can be considered that when the forklift is not in the initial position, the forklift can not only know the relative position relationship between the forklift and the container, but also know the current orientation of the forklift. For example, when the forklift is at point P2, Indicates the current direction of the forklift. When the forklift moves to point P3, Indicates the current orientation of the forklift. It can be understood that the current orientation is continuously updated as the forklift moves. The updating method is similar and will not be described in detail in this article.

[0077] In order to enable the forklift to move to the center line efficiently and quickly, in some embodiments, utilizing the current orientation of the forklift to control the forklift to move to the center line may include: adjusting the orientation of the forklift to be perpendicular to the center line according to the current orientation of the forklift; and controlling the forklift to move to the center line in a direction perpendicular to the center line.

[0078] In the above embodiment, the current orientation of the forklift can be determined based on the real-time distance information provided by the laser radar during the movement of the forklift. Then, based on the current orientation of the forklift, the orientation of the forklift is adjusted. After the orientation is adjusted, that is, the orientation of the forklift is perpendicular to the target centerline, the forklift is controlled to move in a straight line in a direction perpendicular to the centerline until the forklift reaches the centerline of the container. During the above movement, continuous laser radar scanning can be performed to ensure that the forklift can move to the centerline in a direction perpendicular to the centerline during movement.

[0079] The above embodiment controls the stacker to move directly toward the center line, which can reduce unnecessary lateral movement, making the stacker's travel path more direct, saving time and reducing energy consumption. The stacker only needs to make a large angle direction adjustment before reaching the center line, and then move straight along the center line or make small angle direction adjustments while moving roughly along the center line, which reduces the complexity of docking the stacker with the container.

[0080] In some embodiments, the process of determining whether the forklift is aligned with the center line may include: controlling the forklift to move a first target step length, calculating a third relative angle after the movement and a distance of interest before and after the movement; when the third relative angle is smaller than the target angle, and the change in the distance of interest before and after the movement is smaller than the target change, determining that the forklift is aligned with the center line; wherein the distance of interest is determined based on a corresponding first distance and a first cosine value, and the first cosine value is the cosine value of the angle between a straight line where the corresponding first distance is located and the positive box surface of the container.

[0081] The first target step length refers to a preset distance that the forklift moves each time, which is used to gradually approach the center line and reduce positioning inaccuracies caused by direct large-step movement. The distance of interest is, for example, the product of the first distance and the first cosine value.

[0082] In the above embodiment, the stacker moves forward according to the preset first target step length. After the movement, the distance data updated by the laser radar is used to calculate a new relative angle, which is recorded as the third relative angle, and the change in the distance of interest between the current position of the stacker and the position before the movement is calculated. According to the calculation result, if the third relative angle is less than the preset target angle, and the change in the distance of interest is less than the set target change, it is considered that the stacker has successfully aligned with the center line. The combined use of the above two conditions ensures the rigor and accuracy of the alignment judgment. As an example, the first target step length can be 5cm, 10cm, 20cm, 50cm, 100cm, etc., the target angle can be 2°, 3°, 5°, etc., and the target change can be 2cm, 3cm, 4cm, 5cm, etc. This application does not limit the values ​​of the above first target step length, target angle and target change.

[0083] When the third relative angle is equal to 0° (or an angle value less than the target angle), and the change in the distance of interest is 0 (or a change value less than the target change), it can be considered that the forklift is moving on the center line, and the forklift is parallel to the center line and points to the same height point as the container. At this time, the forklift is aligned with the center line. As an example, assuming that the position of the forklift before moving is point P1 and the position after moving is point P2, then the change in the distance of interest is 0, which can be understood as Parallel to the center line, the third relative angle is 0°, which means that point P2 after movement is located on the center line. Combining the above two conditions, it can be considered that the forklift moves from point P1 to point P2 along the center line, that is, the distance of interest before and after the forklift moves is L / 2.

[0084] The above embodiment greatly improves the accuracy of the forklift's alignment with the center line by controlling the moving first target step length and comprehensively considering the change in relative angle and distance of interest, and also reduces the need for manual adjustment, thereby improving the consistency and efficiency of automated operations. Secondly, the streamlined judgment logic and automated adjustment strategy shorten the alignment time, speed up the entire forklift operation process, avoid the risk of misoperation due to over-reliance on manual judgment, and enhance the safety of the operation process.

[0085] In order to ensure precise alignment, the direction of travel is dynamically adjusted to ensure that the stacker moves stably and efficiently to the front of the iso-elevation point. In some embodiments, the controlling the stacker to approach the container so that the stacker moves to the front of the iso-elevation point may include: in the process of the stacker approaching the container, controlling the stacker to move the second target step length each time, calculating the relative angles before and after the movement, and recording them as the fourth relative angle and the fifth relative angle; when the fifth relative angle is not equal to the fourth relative angle, adjusting the orientation of the stacker according to the numerical relationship between the fifth relative angle and the fourth relative angle, to ensure that the difference between the distance of interest and the target distance is always within the target error range.

[0086] In the above embodiment, when the stacker is in front of the equal height point close to the container, it adopts a step-by-step approach strategy, and only moves the preset second target step length each time. Setting the second target step length can control the movement rhythm of the stacker, which is convenient for real-time monitoring and adjustment. Before and after each movement, the laser radar is used to combine the distance correspondence and the angle correspondence to calculate the relative angle between the connecting line of the stacker and the equal height point and the center line, which are recorded as the fourth relative angle and the fifth relative angle respectively. By comparing the two relative angles, any slight changes in the direction of the stacker can be captured in time. If it is found that the fifth relative angle is not equal to the fourth relative angle, the deviation trend of the stacker is judged according to the numerical difference of the two relative angles, and the direction of the stacker is adjusted to ensure that the stacker can continue to move toward the equal height point, so as to maintain the difference between the distance of interest and the target distance within the preset target error range, and ensure that the stacker is always located in front of the equal height point (or only has a small deviation) in the process of approaching the container. As an example, the second target step length can be 2 cm, 5 cm, 10 cm, 15 cm, etc. The specific value of the second target step length can be the same as the value of the first target step length, or it can be different, and it can be determined according to the actual movement requirements of the forklift. The choice of target distance can be determined according to the distance of interest. The target error range can be, for example, 2 cm, 3 cm, 4 cm, 5 cm, etc. This application does not limit the values ​​of the above-mentioned second target step length, target distance and target error range.

[0087] The above embodiment adopts a step-by-step approach and a dynamic adjustment strategy within the error range, which reduces the deviation caused by external interference and enhances the stability and reliability of the operation. In addition, by real-time monitoring and dynamic adjustment of the orientation of the stacker, it is ensured that the stacker is continuously aligned with the height point of the container when approaching the height point, thereby improving the accuracy of the final docking.

[0088] See also Figure 6 , Figure 6 This is a simplified schematic diagram of another forklift and container provided in an embodiment of the present application.

[0089] In order to clarify how to adjust the orientation of the forklift when the forklift moves to the front of the equal height point, in some embodiments, adjusting the orientation of the forklift according to the numerical relationship between the fifth relative angle and the fourth relative angle may include: when the fifth relative angle is greater than the fourth relative angle, determining that the forklift is deflected away from the center line, and controlling the orientation of the forklift to deflect toward the center line; or, when the fifth relative angle is less than the fourth relative angle, determining that the forklift is deflected toward the center line, and controlling the orientation of the forklift to deflect away from the center line.

[0090] In the above embodiment, the change in the orientation of the forklift before and after the movement can be determined in real time, which is specifically manifested as a comparison between the fourth relative angle and the fifth relative angle. When the fifth relative angle is greater than the fourth relative angle, it indicates that the forklift is deflecting away from the center line; conversely, if the fifth relative angle is less than the fourth relative angle, it indicates that the forklift is deflecting toward the center line. Based on the above deviation identification, when the fifth relative angle is greater than the fourth relative angle, the orientation of the forklift is controlled to deflect toward the direction close to the center line. Conversely, when the fifth relative angle is less than the fourth relative angle, the orientation of the forklift is controlled to deflect toward the direction away from the center line. In one possible implementation, the deflection angle of the forklift's orientation is the target deflection angle. The target deflection angle can be 0.5°, 0.6°, 0.75°, 1°, etc., and the present application does not limit this.

[0091] The above embodiment can avoid unnecessary round-trip adjustments by timely correcting the orientation deviation of the stacker during movement, thereby directly improving the efficiency of the stacker in approaching the equal height point. In addition, by real-time monitoring and rapid response to orientation deviation, cumulative errors are effectively avoided, significantly improving the accuracy of the stacker in aligning with the centerline of the container.

[0092] like Figure 6As shown, taking the container as a rectangular parallelepiped as an example, the forklift is moving from point P4 to point P5 for explanation. The length of the container is recorded as L, and the points on both sides of the front surface of the container at the same height as the laser radar are recorded as point A and point B. The AP4 line segment is the first distance L 41 , with BP4 line segment as the second distance L 42 , with AP5 line segment representing the first distance L after moving to point P5 51 BP5 line segment represents the second distance L after moving to point P5. 52 , the fourth relative angle is α4, and the fifth relative angle is α5. Compare the values ​​of the fourth relative angle α4 and the fifth relative angle α5. When the fifth relative angle α5 is greater than the fourth relative angle α4, it is determined that the forklift is deviating away from the center line, and the direction of the forklift is controlled. When the fifth relative angle α5 is smaller than the fourth relative angle α4, it is determined that the forklift is deflected toward the center line, and the direction of the forklift is controlled. Deflection away from the center line.

[0093] See also Figure 7 , Figure 7 It is a schematic diagram of a forklift and surrounding obstacles provided in an embodiment of the present application.

[0094] In order to reduce the possibility of a collision between the forklift and surrounding obstacles, in some embodiments, the method may also include: using the laser radar to detect whether there are obstacles within a target range around the forklift; when the obstacle is located in front of the forklift's travel direction, controlling the forklift to stop and wait; or, when the obstacle is not located in front of the forklift's travel direction, controlling the forklift to continue moving.

[0095] In the above embodiment, the laser radar on the forklift is used to perform a comprehensive scan within a set range around the forklift. The range can be adjusted according to the size, speed and complexity of the working environment of the forklift. For example, the target range can be within 1 meter from the forklift. The laser radar quickly and accurately acquires data on the surrounding environment by emitting laser pulses and receiving reflected signals, thereby identifying the existence of various obstacles and their relative positions. Then, the collected laser radar data is analyzed in real time to determine whether there is an obstacle in front of the forklift in the direction of travel. If an obstacle is detected in front, the forklift will immediately receive a stop command to avoid the risk of collision; if it is confirmed that there is no obstacle in front, the forklift will continue to move along the established route.

[0096] The above embodiment adopts the obstacle detection and avoidance mechanism to significantly reduce the probability of collision accidents, protecting the safety of the forklift and surrounding equipment and personnel. In addition, the automated parking and continued travel control reduces the need for manual intervention, ensuring the efficient operation of the forklift under the premise of safety.

[0097] In some embodiments, to detect obstacles around the forklift, laser radars can be installed in front and behind the vehicle, and the laser radars can be used to scan the area around the forklift to determine the type of obstacle. Common obstacles include pedestrians, container trucks, trailers, or electric poles. The outline of pedestrians is displayed as irregular, the outline of container trucks and trailers is displayed as a regular multi-part rectangle, and the outline of electric poles is displayed as a regular arc outline. The sizes of these obstacles are generally not in the same range, so they are easier to distinguish.

[0098] See also Figure 8 , Figure 8 It is a point cloud data map detected by a laser radar provided in an embodiment of the present application.

[0099] In some embodiments, a laser radar can be used for horizontal scanning to obtain point cloud data of the surface of the container; clustering is performed on the point cloud data to obtain the outline of the container. The point cloud data obtained by the laser radar is relatively messy, and it is necessary to determine which part is the container. Through the clustering method, the points with a certain threshold distance between the detection points are clustered to obtain the complete container outline data. Since the surface of the container is uneven, the detected points may not be continuous. By adjusting the threshold size, changing the clustering range, and calculating the outline length for verification, it can be determined whether the outline is a container.

[0100] See also Fig. 9 , Fig. 9 It is a schematic diagram of a laser radar detecting stacked containers provided in an embodiment of the present application.

[0101] In some embodiments, a laser radar can also be used for vertical scanning to measure the height of the stacked containers. For example, the measured height of the stacked containers is 7.5m. According to the actual size of the containers, the standard 20-foot container is used for calculation. The actual height of the 20-foot container is 2.59m. The measured height of the stacked containers divided by the actual height of the containers is approximately equal to 3. It is assumed that the number of layers of the stacked containers is 3, and the actual height of the stacked containers can be calculated to be 7.77m.

[0102] An embodiment of the present application also provides a forklift, which may include: a control module, used to execute any of the methods described above; a laser radar, used to perform horizontal scanning to measure a first distance and a second distance between the forklift and two sides of a container, and to detect whether there are obstacles within a target range around the forklift.

[0103] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any of the above methods is implemented.

[0104] See also Fig.10 , Fig.10 It is a structural block diagram of a computer device provided in an embodiment of the present application.

[0105] An embodiment of the present application further provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements any of the above methods when executing the computer program.

[0106] It should be understood that the specific examples herein are only intended to help those skilled in the art to better understand the embodiments of the present specification, rather than to limit the scope of the present invention.

[0107] It can be understood that in the various implementations of this specification, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the implementation methods of this specification.

[0108] It can be understood that the various embodiments described in this specification can be implemented individually or in combination, and the embodiments of this specification are not limited to this.

[0109] Unless otherwise specified, all technical and scientific terms used in the embodiments of this specification have the same meaning as those generally understood by those skilled in the art of the technical field of this specification. The terms used in this specification are only for the purpose of describing specific embodiments and are not intended to limit the scope of this specification. The term "and / or" used in this specification includes any and all combinations of one or more related listed items. The singular forms of "a", "above", and "the" used in the embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0110] It can be understood that the processor of the embodiment of this specification can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method implementation can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiment of this specification can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of this specification can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor are combined and executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0111] It is understood that the memory in the embodiments of this specification may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (programmable ROM, PROM), an erasable programmable read-only memory (erasablePROM, EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory may be a random access memory (RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0112] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this specification.

[0113] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method implementation methods and will not be repeated here.

[0114] In the several embodiments provided in this specification, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0115] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0116] In addition, each functional unit in each embodiment of the present specification may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0117] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this specification, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of this specification. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

[0118] The above is only a specific implementation of this specification, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in this specification, which should be included in the protection scope of this specification. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for positioning a forklift, characterized in that: The method comprises: Performing horizontal scanning using the laser radar of the forklift to measure a first distance and a second distance between the forklift and two sides of the container; According to the first distance, the second distance and the length of the container, the relative distance and the relative angle between the stacker and the container are calculated by using the distance correspondence and the angle correspondence, which are recorded as a first relative distance and a first relative angle; Among them, the relative distance is used to indicate the distance between the forklift and the front surface of the container, and the relative angle is used to indicate the angle between the line connecting the forklift and the isoheight point and the center line. The isoheight point is located on the vertical central axis of the front surface of the container and is at the same height as the laser radar. The center line is perpendicular to the front surface of the container and passes through the isoheight point.

2. The method for positioning a forklift according to claim 1, characterized in that: The method further comprises: Using the current orientation of the forklift, controlling the forklift to move to the center line; In the case where the stacker is not aligned with the center line, adjusting the orientation of the stacker during movement so that the stacker is aligned with the center line; When the stacker is aligned with the center line, the stacker is controlled to approach the container so as to move to the front of the equal height point.

3. The method for positioning a forklift according to claim 2, characterized in that: The process of determining the current orientation includes: During the movement of the forklift, re-performing horizontal scanning by using the laser radar to re-measure the first distance and the second distance; According to the re-measured first distance, second distance and length of the container, using the distance correspondence and the angle correspondence, respectively calculating the relative distance and relative angle between the stacker and the container, which are recorded as a second relative distance and a second relative angle; Based on the first relative distance, the first relative angle, the second relative distance, and the second relative angle, a current orientation of the forklift is determined.

4. The method for positioning a forklift according to claim 2, characterized in that: The process of determining whether the forklift is aligned with the center line includes: Controlling the stacker to move a first target step length, calculating a third relative angle after the movement and a distance of interest before and after the movement; When the third relative angle is smaller than the target angle, and the change in the distance of interest before and after the movement is smaller than the target change, it is determined that the forklift is aligned with the center line; The distance of interest is determined according to the corresponding first distance and a first cosine value, and the first cosine value is the cosine value of the angle between the straight line where the corresponding first distance is located and the positive box surface of the container.

5. The method for positioning a forklift according to claim 4, characterized in that: The controlling the forklift to approach the container so as to move the forklift to the front of the equal height point includes: When the forklift approaches the container, the forklift is controlled to move the second target step length each time, and the relative angles before and after the movement are calculated and recorded as a fourth relative angle and a fifth relative angle; When the fifth relative angle is not equal to the fourth relative angle, the orientation of the forklift is adjusted according to the numerical relationship between the fifth relative angle and the fourth relative angle to ensure that the difference between the distance of interest and the target distance is always within the target error range.

6. The method for positioning a forklift according to claim 5, characterized in that: The adjusting the orientation of the forklift according to the numerical value relationship between the fifth relative angle and the fourth relative angle includes: When the fifth relative angle is greater than the fourth relative angle, it is determined that the forklift is deviated away from the center line, and the forklift is controlled to deviate toward the center line; or, When the fifth relative angle is smaller than the fourth relative angle, it is determined that the forklift is deflected toward the center line, and the forklift is controlled to deflect in a direction away from the center line.

7. The method for positioning a forklift according to claim 2, characterized in that: The method further comprises: Using the laser radar to detect whether there are obstacles within the target range around the forklift; When the obstacle is located in front of the forklift in the traveling direction, the forklift is controlled to stop and wait; or, when the obstacle is not located in front of the forklift in the traveling direction, the forklift is controlled to continue traveling.

8. A forklift, characterized in that: The stacker comprises: A control module, configured to execute the method according to any one of claims 1 to 7; The laser radar is used for performing horizontal scanning to measure a first distance and a second distance between the forklift and two sides of the container, and for detecting whether there are obstacles within a target range around the forklift.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

10. A computer device, characterized in that: The computer device comprises a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.

Citation Information

Cited By

  • Unmanned forklift and pallet fork control method and controller thereof

    CN122079042A