A method for a smart mobile device to pass through a narrow passage
By setting a simulated path in a narrow channel and calculating the area of obstacles detected by radar, the problem of uneven motion trajectories of smart mobile devices in narrow channels in the existing technology is solved, achieving smoother and more accurate path planning. Improved work and study efficiency.
Patent Information
- Application Number
- CN202111513802.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-10
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2041-12-10
AI Technical Summary
Existing path planning algorithms are difficult to calculate the correct operating trajectory of smart mobile devices in narrow passage scenarios, resulting in uneven motion trajectories and inability to effectively reach the end point, affecting work and learning efficiency.
By setting m simulation paths, the number of recorded moments in each path is n, and using the method that the change rate of f(x) at each movement moment is the largest and the next moment f(x) tends to 0, combined with the radar detection Calculate the area of obstacles and dividing line segments to determine the optimal path for the smart mobile device. The specific formula includes the calculation of SL’, SR’, SL, SR, D, αL, αR, and adding a relaxation interval to smooth the area changes to ensure the smooth walking of the robot in the narrow channel.
It realizes the smooth walking and straight movement of smart mobile devices in narrow passages, avoids collisions, and improves the efficiency and accuracy of passing through complex narrow areas.
Smart Images

Figure CN114200941B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of path planning, in particular to a method for an intelligent mobile device to pass through a narrow passage. Background Art
[0002] Narrow path planning is a common problem encountered in path planning in practical application scenarios. Currently, most popular path planning algorithms are based on the shortest path calculation algorithm in order to improve planning efficiency. In actual business, we need the robot to move to the point we specify, but this point is not the optimal arrival point for the current algorithm. Therefore, the robot will only stop at a relatively optimized point instead of actually reaching the target point we specify. For example, in some narrow channel scenarios, such as: high-speed rail carriages, aircraft cabins, and classroom desks, smart mobile devices are required to pass through these scenes to complete some work or learning tasks. When passing through narrow channels, smart mobile devices are often prone to falling into local path optimality. In the next section of the path, the motion trajectory is not smooth enough because it encounters obstacles and cannot reach the end point. Summary of the invention
[0003] The purpose of the present invention is to solve the problem in the background technology that a correct running trajectory cannot be made when passing through a narrow passage, thereby wasting time and affecting work and study efficiency. A method for a smart mobile device to pass through a narrow passage is designed.
[0004] To achieve the above-mentioned purpose, the technical solution of the present invention is a method for a smart mobile device to pass through a narrow channel, wherein m simulation paths are set, and the number of moments recorded in each path is n. By making the rate of change of each motion moment f(x) on each path the largest and f(x) at the next moment tends to 0, the optimal path for the smart mobile device to pass through the narrow channel is determined. The specific formula is as follows:
[0005]
[0006] Among them, the S L ' and the S R 'For each movement time t, the obstacles encountered by the smart mobile device during its movement and the segmentation line L 割 , line segment PA and line segment PB at heading angle α L and heading angle α R The angle range includes the area enclosed by the relaxation interval D;
[0007] The segmentation line L 割 When the smart mobile device is in a moving state, the line segment AB formed by connecting two points A and B on the obstacle detected by the radar and the intersection point P of the center line L and the center point of the chassis of the smart mobile device, that is, the coordinate origin O;
[0008] The heading angle α L It is the angle between the line segment connecting the obstacle detection point A and the coordinate origin O and the center line L;
[0009] The heading angle α R It is the angle between the line segment connecting the obstacle detection point B and the coordinate origin O and the center line L;
[0010] The line segment PA and the line segment PB are respectively the distances between the intersection point P and two points A and B on the obstacle;
[0011] The relaxation interval D is the distance between a straight line parallel to the center line L of the chassis of the intelligent mobile device moving forward and the center line L.
[0012] In order to further supplement this technical solution, the S L ' and S R The calculation conditions of ' are as follows:
[0013] a:S R >S L When S R '=S R -S D , S L '=S L +S D ;
[0014] b: S R <S L When S R '=S R +S D , S L '=S L -S D ;
[0015] The S L and S R For each movement time t, the obstacles and segmentation line segments L encountered by the smart mobile device during its movement 割 , line segment PA and line segment PB at heading angle α L and heading angle α R The area enclosed by the angle;
[0016] The S D The calculation formula is S D =D*L 割 .
[0017] In order to further supplement this technical solution, set |S R -S L |>2*D.
[0018] In order to further supplement the technical solution, the obstacle is S L , S R , S L ' and S R 'When inside, the area to be calculated is the area of the polygon.
[0019] In order to further supplement this technical solution, the S L With S R The area ratio is 1.
[0020] In order to further supplement the technical solution, the heading angle α L and heading angle α R It is proportional to the distance between obstacles. The narrower the distance, the greater the heading angle α. L and heading angle α R The smaller.
[0021] In order to further supplement the technical solution, each movement moment t has a corresponding heading angle α L and heading angle α R , each heading angle α L and heading angle α R Corresponding to the corresponding distance information, the distance information is the distance from the center point O of the chassis of the intelligent mobile device to A or B.
[0022] In order to further supplement the technical solution, A or B is two points on the obstacle detected by the radar through the distance information at each movement time t.
[0023] Its beneficial effects are:
[0024] In practical applications, this method makes it smoother for smart mobile devices to walk in narrow passages and easier to keep straight. Since the weight of obstacles on both sides of the center line is calculated, the local path planning will be biased towards the middle of the walking aisle, so as to better pass through complex and narrow areas. A smoothing factor can also be further added to the settlement results to reduce the impact of the weight of obstacles on the distance to the smart mobile device, so that the smart mobile device can keep going straight in most cases without collision. (Because the current open source algorithm calculates the distance based on the distance from the obstacle to the center point of the chassis or the edge of the chassis. The individual closest points are used, and this will cause the distance calculation to change during the movement, resulting in an unsmooth moving path. Currently, the size of the distance obstacle area is used to replace the size of a single distance. This prevents the heading angle of the chassis from changing too much.) BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 A state model diagram for calculating local path planning in a moving state of a smart mobile device;
[0026] Figure 2 A state model diagram of local path planning calculation after adding relaxation intervals to the moving state of a smart mobile device;
[0027] Figure 3 It is the coordinate diagram of the running trajectory of the smart mobile device at the time of motion t1;
[0028] Figure 4 It is the coordinate diagram of the running trajectory of the smart mobile device at the time of motion t2;
[0029] Figure 5 This is the coordinate diagram of the running trajectory of the smart mobile device at the time of t3;
[0030] Figure 6 This is the coordinate diagram of the running trajectory of the smart mobile device at the time of t4;
[0031] Figure 7 This is the coordinate diagram of the running trajectory of the smart mobile device at the time of t5;
[0032] Figure 8 This is the coordinate diagram of the running trajectory of the smart mobile device at the time of t6 movement;
[0033] Fig. 9 This is the coordinate diagram of the running trajectory of the smart mobile device at the time of t7 movement. DETAILED DESCRIPTION
[0034] The present invention will be described in detail below in conjunction with the accompanying drawings. Figure 1 and Figure 2 As shown in FIG. 1 , a method for a smart mobile device to pass through a narrow channel is provided. m simulation paths are set, and the number of moments recorded in each path is n. The optimal path for the smart mobile device to pass through the narrow channel is determined by making the rate of change of f(x) at each moment on each path the largest and f(x) at the next moment tend to 0. The specific formula is as follows:
[0035]
[0036] According to the working principle of radar, we set each movement moment t to have a corresponding heading angle α L and heading angle α R , each heading angle α L and heading angle α R Corresponding to the corresponding distance information, the distance information is the distance from the center point O of the chassis of the intelligent mobile device to A or B. The A or B is two points on the obstacle detected by the radar through the distance information at each movement time t.
[0037] Among them, the S L ' and the S R'For each movement time t, the obstacles encountered by the smart mobile device during its movement and the segmentation line L 割 , line segment PA and line segment PB at heading angle α L and heading angle α R The angle range includes the area surrounded by the relaxation interval D; the dividing line segment L 割 The heading angle α is the line connecting the intersection point P of the line segment AB formed by connecting two points A and B on the obstacle detected by the radar of the smart mobile device in the moving state and the center point of the chassis of the smart mobile device, that is, the coordinate origin O; L is the angle between the line segment connecting the obstacle detection point A and the coordinate origin O and the center line L; the heading angle α R is the angle between the line segment connecting the obstacle detection point B and the coordinate origin O and the center line L; the heading angle α L and heading angle α R It is proportional to the distance between obstacles. The narrower the distance, the greater the heading angle α. L and heading angle α R The smaller.
[0038] The line segment PA and the line segment PB are respectively the distances between the intersection point P and the two points A and B on the obstacle; the relaxation interval D is the distance between the straight line parallel to the center line L of the chassis of the intelligent mobile device and the center line L. The relaxation interval is added to make the area change calculation smoother and ensure that the robot rotates in the desired direction as much as possible when the heading does not change significantly. The relaxation interval will make the larger area smaller faster and the smaller area smaller slower, which will make the ratio of the areas on both sides closer, thereby avoiding the weight of one side affecting the angle being particularly large, so that the intelligent mobile device can keep going straight.
[0039] The S L ' and S R The calculation conditions of ' are as follows:
[0040] a:S R >S L When S R '=S R -S D , S L '=S L +S D ;
[0041] b: S R <S L When S R '=S R +S D , S L '=S L -SD ;
[0042] The S L and S R For each movement time t, the obstacles and segmentation line segments L encountered by the smart mobile device during its movement 割 , line segment PA and line segment PB at heading angle α L and heading angle α R The area enclosed within the angle range; the S L With S R When the area ratio is 1, the smart mobile device will not collide with obstacles and will keep moving between obstacles, because the area on both sides represents the weight of the distance between the chassis and the obstacle. This will affect the rotation speed of the car. The larger the side, the faster the rotation will be. So when the ratio is 1, it means that the distance between the two sides and the obstacle is equal, that is, in the middle.
[0043] The S D The calculation formula is S D =D*L 割 . Settings | S R -S L |>2*D, in order to make the heading angle α L and heading angle α R The obstacle is kept constant before and after adding the relaxation interval. L , S R , S L ’ and S R 'Inside, the area to be calculated is the area of the polygon. The area of the distance obstacle is used to represent the weight of the distance between the obstacle and the smart mobile device, thereby replacing the nearest point of the obstacle as the distance from the smart mobile device. Because sometimes the obstacle is not square, some are elliptical, polygonal, etc., at this time, the area cannot be calculated only by the triangle area quick calculation formula. In fact, there is a ready-made toolkit for area calculation. Whether it is a triangle, polygon or ellipse, an approximate area value can be calculated. Therefore, for the convenience of the experiment, we can take the triangle as an example. According to the shape of the obstacle, it is necessary to use the triangle or polygon area calculation formula, and the approximate value needs to be calculated when encountering complex and irregular obstacles.
[0044] The intelligent mobile device may be a disinfection robot, a library robot, a food delivery robot or other service robots.
[0045] The running trajectory of the intelligent mobile device is tested by the method of passing an intelligent mobile device through a narrow channel. The selected intelligent mobile device is a food delivery robot, the starting point is the coordinate origin, and the actual test environment parameters are as follows: aisle spacing (distance between obstacles): 55cm; aisle length: 10m; chassis size of the food delivery robot: 40cm*55cm; radar ranging range: 25m.
[0046] Each movement time t is represented as t1, t2, t3..., and the subscript number represents the number of movements. After testing each movement time t, that is, the number of times the food delivery robot moves, the running trajectory coordinates are as follows: Figure 3 , [x: 0.545, y: -0.266]; Figure 4 , [x: 0.773, y: -0.387]; Figure 5 , [x: 1.020, y: -0.570]; Figure 6 , [x: 1.210, y: -1.180]; Figure 7 , [x: 1.220, y: -2.020]; Figure 8 , [x: 1.220, y: -3.270]; Fig. 9 , [x: 1.220, y: -4.740]. Figure 3 - Fig. 9 From the running trajectory and coordinate parameters of the intelligent mobile device, it can be seen that the method for an intelligent mobile device to pass through a narrow passage of the present invention can enable the vehicle to make a correct running trajectory throughout the running process, select the optimal path, and keep going straight between obstacles without causing collisions.
[0047] The above technical solutions only reflect the preferred technical solutions of the technical solutions of the present invention. Some changes that may be made to certain parts thereof by technicians in this technical field all reflect the principles of the present invention and fall within the protection scope of the present invention.
Claims
1. A method for a smart mobile device to pass through a narrow passage, characterized in that: Set m simulation paths, and the number of moments recorded in each path is n. By making the rate of change of f(x) at each motion moment on each path the largest and f(x) at the next moment approaching 0, the optimal path for the smart mobile device to pass through the narrow channel is determined. The specific formula is as follows: Among them, the S L ' and the S R 'For each movement time t, the obstacles encountered by the smart mobile device during its movement and the segmentation line L 割 , line segment PA and line segment PB at heading angle α L and heading angle α R The angle range includes the area enclosed by the relaxation interval D; The segmentation line L 割 When the smart mobile device is in a moving state, the line segment AB formed by connecting two points A and B on the obstacle detected by the radar and the intersection point P of the center line L and the center point of the chassis of the smart mobile device, that is, the coordinate origin O; The heading angle α L It is the angle between the line segment connecting the obstacle detection point A and the coordinate origin O and the center line L; The heading angle α R It is the angle between the line segment connecting the obstacle detection point B and the coordinate origin O and the center line L; The line segment PA and the line segment PB are respectively the distances between the intersection point P and two points A and B on the obstacle; The relaxation interval D is the distance between a straight line parallel to the center line L of the chassis of the intelligent mobile device moving forward and the center line L.
2. A method for a smart mobile device to pass through a narrow passage according to claim 1, characterized in that: The S L ' and S R The calculation conditions of ' are as follows: a:S R >S L When S R '=S R -S D , S L '=S L +S D ; b: S R <S L When S R '=S R +S D , S L '=S L -S D ; The S L and S R For each movement time t, the obstacles and segmentation line segments L encountered by the smart mobile device during its movement 割 , line segment PA and line segment PB at heading angle α L and heading angle α R The area enclosed by the angle; The S D The calculation formula is S D =D*L 割 .
3. A method for a smart mobile device to pass through a narrow passage according to claim 2, characterized in that: Settings|S R -S L |>2*D.
4. The method for a smart mobile device to pass through a narrow passage according to claim 2, characterized in that: The obstacle is at S L , S R , S L ' and S R 'When inside, the area to be calculated is the area of the polygon.
5. The method for a smart mobile device to pass through a narrow passage according to claim 2, characterized in that: The S L With S R The area ratio is 1.
6. The method for a smart mobile device to pass through a narrow passage according to claim 1, characterized in that: The heading angle α L and heading angle α R It is proportional to the distance between obstacles. The narrower the distance, the greater the heading angle α. L and heading angle α R The smaller.
7. The method for a smart mobile device to pass through a narrow passage according to claim 1, characterized in that: Each motion moment t has a corresponding heading angle α L and heading angle α R , each heading angle α L and heading angle α R Corresponding to the corresponding distance information, the distance information is the distance from the center point O of the chassis of the smart mobile device to A or B.
8. The method for a smart mobile device to pass through a narrow passage according to claim 1, characterized in that: The A or B is two points on the obstacle detected by the radar through the distance information at each movement time t.
Citation Information
Patent Citations
Path tracking obstacle avoidance and guidance method
CN106959698A
High-endurance aircraft suitable for narrow space and control method
CN108298070A
Route planning method and device and narrow space advancing method and device
CN111761581A
Narrow lane passage method and device for mobile robot, mower and storage medium
CN112099488A
Intelligent mowing system and channel identification method thereof
CN113064419A
