Path planning method, system, equipment and medium

By screening intermediate points to construct alternative paths and calculating evaluation values ​​based on multi-dimensional information, it solves the problem of collision-free and smoothness of path planning in DSA equipment movement, improves the efficiency and success rate of path planning, and adapts to complex scenes and changes in target areas.

CN118605482APending Publication Date: 2024-09-06SHANGHAI UNITED IMAGING HEALTHCARE
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310165781.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-24
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing path planning algorithms cannot effectively plan a collision-free, smooth path that meets the performance requirements of movable devices during the movement of DSA equipment. It is especially difficult to achieve adaptive adjustment and local optimal avoidance in complex scenarios.

Method used

By screening the intermediate points between the initial point and the target point, alternative paths are constructed, and evaluation values ​​are calculated based on the collision information, position information, attitude information and time-consuming information of the movable device, thereby planning the target path. Dynamically simulate the path of the movable device, combine the inverse solution weight value, collision weight value and time weight value to optimize the path planning and adapt to changes in the target area.

Benefits of technology

It improves the efficiency and success rate of path planning, ensures the smoothness and collision-free nature of the path, enhances the flexibility and effectiveness of path planning for movable equipment, and solves the local optimal and adaptive adjustment capabilities in the existing technology. Bad question.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118605482A
    Figure CN118605482A
Patent Text Reader

Abstract

The invention discloses a path planning method and system, electronic equipment and a medium. The method comprises the following steps: screening out a plurality of intermediate points between an initial point and a target point; and when the movable equipment performs simulated motion along each alternative path, planning a target path from the alternative paths according to collision information, position information, attitude information and time consumption information of the movable equipment. According to the invention, by dynamically planning the path of the mobile device, the planning time is shortened; the problems that an existing optimization algorithm is prone to falling into local optimum and poor in self-adaptive adjustment capacity are solved, and the planning efficiency of planning a path which is free of collision and smooth and meets the performance requirement of the mobile equipment is improved; the target intermediate point on the target path is expanded, and the optimal path is planned from a plurality of expanded paths, so that the path planning result is optimized; when the target area changes, the position of the middle point is adjusted in real time, and the flexibility of path planning of the mobile equipment is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of robot motion planning, and in particular to a path planning method, system, equipment and medium. Background Art

[0002] When planning the path of a DSA (Digital subtraction angiography) device, the DSA device is required to run around a specific safety area. For example, when there is an immovable bed in the path formed by the starting point and the target point, the DSA device is not allowed to directly climb over the bed during movement, and it should try to go around the bed.

[0003] In order to determine the optimal path, any one of the optimization algorithms (genetic algorithm, artificial potential field method, particle swarm algorithm, ant colony algorithm, etc.), graph search algorithm (A* algorithm, D* algorithm), sampling algorithm (RRT, RRT*, etc.), and Cartesian space path planning (linear interpolation, circular interpolation, curve interpolation, etc.) is often used for path planning. However, the optimization algorithm has the defect that the target point is unreachable; the graph search algorithm has the defect that the calculation amount is large and it is difficult to apply in complex scenes; the sampling algorithm has the defect that the planned path consistency is poor and the planned path quality is poor in narrow areas and collision areas; the Cartesian space path planning has the defect that it cannot achieve adaptive adjustment in complex scenes.

[0004] It can be seen that the existing planning algorithm is used to plan the path from the starting point to the target point, which has poor effect and cannot meet the actual needs. Summary of the invention

[0005] The technical problem to be solved by the present invention is to overcome the defects of the existing planning algorithms in the prior art in path planning, which cannot plan a collision-free, smooth path and cannot meet the performance requirements of mobile equipment, and provide a path planning method, system, device and medium.

[0006] The present invention solves the above technical problems through the following technical solutions:

[0007] In a first aspect, the present invention provides a path planning method, the path planning method comprising:

[0008] Screening out a number of intermediate points between the initial point and the target point; the intermediate points are set within a preset range of the target area, and the several intermediate points, the initial point, and the target point together constitute a number of candidate paths;

[0009] When the movable device performs simulated movement along each of the candidate paths, a target path is planned from the candidate paths according to the collision information, position information, posture information and time-consuming information of the movable device.

[0010] Preferably, the step of planning a target path from the alternative paths according to the collision information, position information, posture information and time-consuming information of the movable device comprises:

[0011] Calculate the evaluation value corresponding to each of the candidate paths according to the collision information, the position information, the posture information and the time-consuming information of the movable device;

[0012] The alternative path corresponding to the evaluation value with the highest score is used as the target path.

[0013] Preferably, the step of calculating the evaluation value corresponding to each of the candidate paths according to the collision information, the position information, the posture information and the time-consuming information of the movable device comprises:

[0014] Determine an interpolation weight value corresponding to each of the candidate paths;

[0015] Calculate the inverse solution weight value corresponding to each of the candidate paths according to the position information and the posture information;

[0016] Calculate the collision weight value corresponding to each of the alternative paths according to the collision information;

[0017] Calculate the time weight value corresponding to each of the alternative paths according to the time-consuming information;

[0018] An evaluation value corresponding to each of the candidate paths is calculated based on the interpolation weight value, the inverse solution weight value, the collision weight value and the time weight value.

[0019] Preferably, the step of calculating the inverse solution weight value corresponding to each of the candidate paths according to the position information and the posture information includes:

[0020] Calculate, according to the position information and the posture information, each joint angle of the mechanical arm of the movable device when the movable device is located at each path point of the candidate path;

[0021] The joint angles are compared with the joint limit angles to determine the inverse solution weight value corresponding to each of the alternative paths.

[0022] Preferably, the path planning method further includes:

[0023] When the movable device performs simulated movement along the target path, target position information and target posture information passing through a target intermediate point are obtained; the target intermediate point is located on the target path;

[0024] Expanding the target intermediate point according to the target position information and the target posture information to obtain a plurality of expanded intermediate points;

[0025] When the movable device performs simulated movement along the extended path formed by each of the extended intermediate points, an optimal path is planned from the extended path according to the collision information, position information, posture information and time-consuming information of the movable device.

[0026] Preferably, the step of selecting a plurality of intermediate points between the initial point and the target point comprises:

[0027] Determine a center point located in the target area;

[0028] Draw a circle with the center point as the center and the first preset distance as the radius, and determine a middle point on the drawn circle;

[0029] Taking the middle point as the starting point and the second preset distance value as the spacing, the remaining middle points are selected from the drawn circle.

[0030] Preferably, the path planning method further includes:

[0031] Collecting position and posture information of the target area;

[0032] According to the posture information, it is detected whether the target area has changed. If so, the step of selecting a plurality of intermediate points between the initial point and the target point is re-executed.

[0033] In a second aspect, the present invention provides a path planning system, the path planning system comprising:

[0034] A screening module is used to screen out a number of intermediate points between the initial point and the target point; the intermediate points are set within a preset range of the target area, and the several intermediate points, the initial point, and the target point together constitute a number of candidate paths;

[0035] The planning module is used to plan a target path from the alternative paths according to the collision information, position information, posture information and time-consuming information of the movable device when the movable device performs simulated movement along each of the alternative paths.

[0036] In a third aspect, the present invention provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and used to run on the processor, wherein the computer program implements the path planning method as described above when executed by the processor.

[0037] In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the path planning method as described above is implemented.

[0038] The positive and progressive effects of the present invention are: screening out several intermediate points between the initial point and the target point; when the movable device simulates movement along each alternative path, the target path is planned from the alternative path according to the collision information, position information, posture information and time-consuming information of the movable device. The present invention shortens the time required for planning by dynamically simulating the path of the movable device; solves the problems that the existing optimization algorithm is prone to fall into local optimality, the target point is unreachable and the adaptive adjustment ability is poor, and improves the planning efficiency of planning a collision-free, smooth path that meets the performance requirements of the movable device; when the alternative path planning corresponding to an intermediate point is unsuccessful, multiple intermediate points are considered for path planning, enriching the path planning scheme and improving the success rate of path planning; the target intermediate point on the target path is expanded, and the optimal path is planned from multiple extended paths, optimizing the result of path planning; when the target area changes, the position of the intermediate point can be adjusted in real time, effectively enhancing the flexibility and effectiveness of the path planning of the movable device. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 Schematic diagram of the process of the path planning method of embodiment 1 of the present invention.

[0040] Figure 2 This is a structural diagram of a DSA device of the path planning method of Example 1 of the present invention.

[0041] Figure 3 This is a flowchart of step S2 of the path planning method of embodiment 1 of the present invention.

[0042] Figure 4 This is a flowchart diagram of step S21 of the path planning method of embodiment 1 of the present invention.

[0043] Figure 5 This is a flowchart diagram of step S1 of the path planning method of embodiment 1 of the present invention.

[0044] Figure 6 This is a first application example diagram of the path planning method of embodiment 1 of the present invention.

[0045] Figure 7 This is a second application schematic diagram of the path planning method of Example 1 of the present invention.

[0046] Figure 8 This is a first flow chart of the path planning method according to Embodiment 2 of the present invention.

[0047] Fig. 9 This is a second flow chart of the path planning method according to Embodiment 2 of the present invention.

[0048] Fig.10 This is a module diagram of a path planning system according to Embodiment 3 of the present invention.

[0049] Fig.11 This is a module diagram of a path planning system according to Embodiment 4 of the present invention.

[0050] Fig.12 This is a schematic diagram of the structure of an electronic device for implementing a path planning method according to Embodiment 5 of the present invention. DETAILED DESCRIPTION

[0051] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.

[0052] Example 1

[0053] The path planning method of this embodiment is as follows: Figure 1 As shown, the path planning method includes:

[0054] S1. Select a number of intermediate points between the initial point and the target point; the intermediate points are set within a preset range of the target area, and the intermediate points, the initial point, and the target point together constitute a number of candidate paths.

[0055] S2. When the movable device performs simulated movement along each alternative path, a target path is planned from the alternative paths according to collision information, position information, posture information and time-consuming information of the movable device.

[0056] For a hybrid operating room, movable devices are required to operate around a specific safety area. The movable devices include medical imaging devices (for example, DSA devices or other X-ray devices) and surgical robots. DSA devices include robotic DSA devices and suspended DSA devices or other types of DSA devices. For example, when a patient is lying on a bed, the DSA device is required to operate around a specific safety area around the bed, and during the automatic movement of the DSA device, it is not allowed to directly climb over the bed, and try to go around the bed. The position of the initial point is planned according to the current position of the DSA device, and the position of the target point is planned according to the preset position. Find at least one intermediate point between the initial point and the target point, and generate at least one alternative path. Make the movable device simulate movement directly along the starting point, the intermediate point to the target point, so as to perform path planning, and determine whether a collision-free, smooth target path that meets the joint angle limits of the DSA device can be planned.

[0057] The robot system includes a movable device and a terminal device. The terminal device may include a mobile computer, a server, or other device with data processing capabilities. The terminal device may communicate with the movable device via wired or wireless means, and the screen of the terminal device may present dynamic images and motion status information simulating the motion of the movable device.

[0058] The following is an application scenario, in which the terminal device uses the path planning method for the movable device in this embodiment to determine the alternative path corresponding to the first intermediate point, and simulates the scenario of the movable device moving along the first alternative path. Then, the alternative path corresponding to the second intermediate point is determined, and the scenario of the movable device moving along the second alternative path is simulated, and so on, until the simulation is completed for the scenario of the movable device moving along the alternative paths corresponding to the remaining intermediate points.

[0059] It should be noted that when simulating movement along an alternative path, if the current alternative path planning is successful, there is no need to simulate the remaining alternative paths, and the currently planned successful middle point and the alternative path corresponding to the middle point are selected. If all alternative paths are not successfully planned, the middle point with the highest score is selected for extended middle point planning, and then simulated movement is performed along the extended paths corresponding to all extended middle points. If the current extended path planning is successful, there is no need to simulate the remaining extended paths, and the currently planned successful extended middle point and the extended path corresponding to the extended middle point are selected. If the current extended path planning fails, the successfully planned extended path or the extended path with the highest evaluation is selected from the remaining extended paths.

[0060] For the above step S1, the middle point is the "bridge" for path planning. The posture of the DSA device is selected as the standard posture based on the easy reach of the DSA device. Once the bed moves, the position of the middle point will change with the movement of the bed. After the initial point and the target point are determined, the bed is used as a reference to plan multiple middle points within a specific safety area around the bed. For example, the safety area can be within a 50 cm circumference around the head of the bed. The more middle points are screened out, the more alternative paths there are.

[0061] It should be noted that in the first case, an alternative path is composed of an intermediate point, an initial point, and a target point. For example, intermediate point 1, an initial point, and a target point together constitute the first alternative path, intermediate point 2, an initial point, and a target point together constitute the second alternative path, and intermediate point 3, an initial point, and a target point together constitute the third alternative path. In the second case, an alternative path is composed of a plurality of intermediate points combined with an initial point and a target point. For example, intermediate point 1, intermediate point 2, an initial point, and a target point together constitute the first alternative path, intermediate point 1, intermediate point 2, intermediate point 3, an initial point, and a target point together constitute the second alternative path, and intermediate point 2, intermediate point 3, an initial point, and a target point together constitute the third alternative path.

[0062] With respect to the above step S2, when the movable device performs simulated movement along each alternative path, the motion state of the movable device at each path point on the alternative path is obtained through the simulation system. The motion state of the movable device may include: collision information, position information, posture information and time-consuming information of the movable device at each path point. The weight score corresponding to the collision information of the movable device at each path point, the weight score corresponding to the position information, the weight score corresponding to the posture information and the weight score corresponding to the time-consuming information are calculated respectively, and the evaluation value corresponding to each alternative path is comprehensively considered according to the weight scores of the four dimensions, and an optimal, collision-free and smooth path is planned from the alternative paths as the target path based on the ranking of the evaluation values.

[0063] It should be noted that if Figure 2 As shown, for DSA equipment, the posture information represents the angle information of the six joint axes of the equipment, for example, A1-A6 (shown as Link1-Link6 in the figure). According to the robot model corresponding to the DSA equipment, a specific kinematic model is established to solve the kinematic equations of the complex motion chain, so as to obtain the angle information corresponding to the joint axes Link1-Link6, and determine whether the posture information of each joint axis meets the performance requirements of the joint limit. For X-ray equipment, the posture information represents the terminal posture of the equipment.

[0064] In an alternative embodiment, Figure 3 As shown, step S2 specifically includes:

[0065] S21. Calculate the evaluation value corresponding to each candidate path according to the collision information, position information, posture information and time-consuming information of the movable device.

[0066] S22. The alternative path corresponding to the highest evaluation value is taken as the target path.

[0067] For the above steps S21-S22, the weighted sum of the weighted scores corresponding to the collision information of the movable device at each path point, the weighted score corresponding to the position information, the weighted score corresponding to the posture information, and the weighted score corresponding to the time-consuming information is calculated to obtain the evaluation value. The evaluation values ​​are sorted by size, and the alternative path corresponding to the top evaluation value is used as the target path. The size of the evaluation value reflects the quality of each alternative path. The higher the evaluation value is ranked, the higher the probability of no collision of the alternative path, the better the smoothness performance, and the ability to meet the performance requirements of each joint angle of the movable device.

[0068] In an alternative embodiment, Figure 4 As shown, step S21 specifically includes:

[0069] S211: Determine an interpolation weight value corresponding to each candidate path.

[0070] S212: Calculate the inverse solution weight value corresponding to each candidate path according to the position information and posture information.

[0071] S213: Calculate a collision weight value corresponding to each candidate path according to the collision information.

[0072] S214: Calculate the time weight value corresponding to each candidate path according to the time consumption information.

[0073] S215. Calculate the evaluation value corresponding to each candidate path based on the interpolation weight value, the inverse solution weight value, the collision weight value and the time weight value.

[0074] For the above step S211, when performing linear interpolation planning in Cartesian space, it is determined whether the initial point, the intermediate point and the target point can plan a path without obstacle obstruction. If so, the interpolation weight value is determined to be 30, if not, the interpolation weight value is determined to be 0.

[0075] For the above step S212, when simulating the scene where the movable device moves along each planned path point on an alternative path, the inverse solution is performed according to the position information and posture information of each path point to obtain the joint angle values ​​of the six joint axes A1-A6 of the movable device. It is determined whether the joint angle value of each joint axis is within the joint limit. If so, the performance requirements of the movable device are met, and the inverse solution weight value is determined to be 40. If not, the performance requirements of the movable device are not met, and the inverse solution weight value is determined to be 0.

[0076] For the above step S213, when simulating the movable device to move along each alternative path, it is necessary to perform collision detection on the movable device at each path point according to the collision information. In the process of collision detection, when all path points on the alternative path have no collision, it indicates that the alternative path has no collision, and when any path point has a collision, it indicates that the alternative path has a collision. The collision detection method can generate an STL file through SolidWorks according to the models of the loaded components, and detect the collision information between the components of the movable device in real time through the FCL collision detection library. The collision information between the components is generated according to different set collision thresholds. When there is an inverse solution and there is no collision at any path point, the collision weight value is determined to be 20. When there is an inverse solution but there is a collision at the path point, the collision weight value is determined to be 0.

[0077] For example, the collision deceleration threshold between the frame of the movable device and the target bed is set to 10cm, and the collision stop threshold between the frame of the movable device and the target bed is set to 5cm. When the distance between the frame of the movable device and the target bed is less than or equal to 10cm, the movable device enters the collision deceleration zone; when the distance between the frame of the movable device and the target bed is less than or equal to 5cm, the movable device is prohibited from running. It can be understood that in the process of path planning, the position point where the movable device encounters a collision and stops moving is the collision point, and the position point where it enters the collision deceleration zone is the deceleration point.

[0078] For the above step S214, when simulating the movable device moving along each alternative path, the time information corresponding to each alternative path is obtained, and the alternative path corresponding to the shortest time is determined according to the time information. The time weight value corresponding to the alternative path is 10, and the time weight values ​​corresponding to the other alternative paths are 0.

[0079] For the above step S215, the evaluation value corresponding to each alternative path is calculated according to the weighted result or summation result of the interpolation weight value, inverse solution weight value, collision weight value and time weight value corresponding to each alternative path, and a target path is planned from multiple alternative paths according to the size of the evaluation value. The higher the evaluation value, the higher the reference value of the intermediate point.

[0080] In an optional implementation, step S212 specifically includes:

[0081] When the movable device is located at each path point of the candidate path, each joint angle of the manipulator arm of the movable device is calculated according to the position information and the posture information.

[0082] Compare each joint angle with the joint limit angle to determine the inverse solution weight value corresponding to each alternative path.

[0083] Specifically, for the DSA device, the joint angles of the robot arm (for example, A4-A6) are calculated based on the position information and posture information of the device at each path point on the alternative path. The joint angles of the three joint axes A4-A6 are compared with their corresponding joint limit angles. If the joint angle of any joint axis is greater than the joint limit angle, the inverse solution weight value corresponding to the alternative path is determined to be 0, which does not meet the performance requirements of the device.

[0084] In an alternative embodiment, Figure 5 As shown, step S1 specifically includes:

[0085] S11. Determine the center point of the target area.

[0086] S12, drawing a circle with the center point as the center and the first preset distance value as the radius, and determining a middle point on the drawn circle.

[0087] S13, taking the middle point as the starting point and the second preset distance value as the spacing, selecting the remaining middle points from the drawn circle.

[0088] For the above steps S11-S13, a fixed area around the head of the target bed is used as the target area. A point on the head of the bed is selected as the center point of the target area, and a circle is drawn with the center point as the center and a radius of 50 mm. A point is selected from the drawn circle as the first middle point. The remaining middle points are selected from the drawn circle with the first middle point as the starting point and a spacing of 10 mm.

[0089] In an alternative embodiment, Figure 6As shown, multiple intermediate points are selected in a fixed area around the head of the target bed, and each initial point, intermediate point and target point together constitute multiple alternative paths. When the movable device is a DSA device, during the process of controlling the DSA device to simulate movement along the alternative path, each path point along the alternative path is detected to see whether it meets the performance requirements. The path point represents the end point of the C-arm, that is, the intersection of the connecting line (ray centerline) between the detector and the tube and the extension line of the flange center of the DSA device. According to the common standard posture or the "easy to reach" posture of the DSA device as a reference, the position information and posture information of the intermediate point are pre-set, and the set position information and posture information are pre-stored in the system of the DSA device. The position information of the intermediate point includes the position coordinates (x, y, z) of the DSA device in the Cartesian space coordinate system, and the posture information of the intermediate point includes the posture coordinates (A, B, C) of the DSA device expressed in the form of Euler angles. The initial values ​​of A, B, and C can be set according to actual conditions. For example, the position information and posture information of the DSA device at the initial point can be randomly set, and the position information and posture information of the DSA device at the target point can also be randomly set. The set posture of the DSA device at the middle point is related to the target bed, and the posture coordinates (A, B, C) are synchronized with the target bed. When the target bed is horizontal and not tilted, the default values ​​of A, B, and C are 180, 0, and 0. In the process of path planning, the rotational movement of the C-arm of the DSA device during movement needs to be considered to make the movement of the DSA device safer and smoother during the path planning process.

[0090] In an alternative embodiment, Figure 6 As shown, there are four intermediate points. After controlling the movable device to perform simulated movement along each alternative path, it is detected that only the alternative paths consisting of the two intermediate points, the initial point and the target point meet the performance requirements of smoothness and collision-free. The alternative paths corresponding to the remaining two intermediate points cannot achieve the performance requirements of collision-free.

[0091] In an alternative embodiment, Figure 7 As shown in the figure, a solution for path planning is performed through multiple continuous intermediate points. When all the alternative paths corresponding to an intermediate point have been planned and none of them can be planned successfully, the intermediate point with the highest score is selected for path planning under the extended intermediate point. When all the extended paths corresponding to all extended intermediate points have been planned and none of them can be planned successfully, consider performing path planning through two or more intermediate points. For example, first plan the path formed by the initial point, intermediate point 1, intermediate point 3, intermediate point 4 and the target point. If the planning fails, consider planning the path formed by the initial point, intermediate point 2, intermediate point 3, intermediate point 4 and the target point.

[0092] In this embodiment, a path planning method is provided, which selects several intermediate points between the initial point and the target point; when the movable device simulates movement along each alternative path, the target path is planned from the alternative paths according to the collision information, position information, posture information and time-consuming information of the movable device. The present invention shortens the time required for planning by dynamically simulating the path of the movable device; solves the problems of the existing optimization algorithm being prone to fall into local optimum, unreachable target points and poor adaptive adjustment ability, and improves the planning efficiency of planning a collision-free, smooth path that meets the performance requirements of the movable device; when the alternative path planning corresponding to an intermediate point is unsuccessful, multiple intermediate points are considered for path planning, which enriches the path planning scheme and improves the success rate of path planning.

[0093] Example 2

[0094] Based on Example 1, this example provides a path planning method, such as Figure 8 As shown, a flow chart of this embodiment is shown. Compared with embodiment 1, further improvement is made, and the path planning method further includes:

[0095] S3. When the movable device performs simulated movement along the target path, target position information and target posture information passing through the target middle point are obtained; the target middle point is located on the target path.

[0096] S4. Expand the target middle point according to the target position information and the target posture information to obtain multiple expanded middle points.

[0097] S5. When the movable device performs simulated movement along the extended path formed by each extended intermediate point, an optimal path is planned from the extended path according to the collision information, position information, posture information and time-consuming information of the movable device.

[0098] For the above steps S3-S5, when the target path is determined, when the movable device simulates movement along the target path, the target midpoint is extended according to the target position information and target posture information of the movable device at the target midpoint. The extension rule is to offset the position of the target midpoint, for example, the target midpoint is extended after being offset by +20mm or -20mm along the X-axis direction to generate multiple extended midpoints. When the movable device simulates movement along the extended path formed by each extended midpoint, the extended midpoint is adjusted with reference to the planning result of each extended midpoint. Because the failure of the inverse solution is related to the posture, consider adjusting the posture information of the movable device corresponding to the extended midpoint. Because the failure of the collision detection is related to the position, consider moving the position information of the movable device corresponding to the extended midpoint. The direction of movement is related to the collision direction. If there is a collision with the ground in the Z direction, it is preferred to move up in the Z direction to achieve the extension of the midpoint.

[0099] In an alternative embodiment, Fig. 9 As shown, the path planning method also includes:

[0100] S6. Collecting position and posture information of the target area.

[0101] S7. Detect whether the target area has changed according to the position information. If so, re-execute step S1.

[0102] For the above steps S6-S7, the position information of the area where the target bed is located is obtained. When it is determined that the target bed has moved based on the position information, several intermediate points are re-screened between the initial point and the target point according to the position information of the target bed after the move, and a new path planning is performed again.

[0103] In this embodiment, a path planning method is provided. The present invention shortens the time required for planning by dynamically simulating the path of a movable device, thereby improving the planning efficiency of planning a collision-free, smooth path that meets the performance requirements of the movable device; the target midpoint on the target path is expanded, and the optimal path is planned from multiple extended paths, thereby improving the accuracy of path planning; when the target area changes, the position of the midpoint can be adjusted in real time, effectively enhancing the flexibility and effectiveness of the path planning of the movable device.

[0104] Example 3

[0105] like Fig.10 As shown, this embodiment provides a path planning system, which shows a module schematic diagram of this embodiment. The path planning system includes: a screening module 310 and a planning module 320.

[0106] The screening module 310 is used to screen out a number of intermediate points between the initial point and the target point; the intermediate points are set within a preset range of the target area, and the intermediate points, the initial point and the target point together constitute a number of candidate paths.

[0107] The planning module 320 is used to plan a target path from the alternative paths according to the collision information, position information, posture information and time-consuming information of the movable device when the movable device performs simulated movement along each alternative path.

[0108] For a hybrid operating room, movable devices are required to operate around a specific safety area. The movable devices include medical imaging devices (for example, DSA devices or other X-ray devices) and surgical robots. DSA devices include robotic DSA devices and suspended DSA devices or other types of DSA devices. For example, when a patient is lying on a bed, the DSA device is required to operate around a specific safety area around the bed, and during the automatic movement of the DSA device, it is not allowed to directly climb over the bed, and try to go around the bed. The position of the initial point is planned according to the current position of the DSA device, and the position of the target point is planned according to the preset position. Find at least one intermediate point between the initial point and the target point, and generate at least one planned path. Make the movable device simulate movement directly along the starting point, the intermediate point to the target point, so as to perform path planning, and determine whether a collision-free, smooth target path that meets the joint angle limits of the DSA device can be planned.

[0109] The robot system includes a movable device and a terminal device. The terminal device may include a mobile computer, a server, or other device with data processing capabilities. The terminal device may communicate with the movable device via wired or wireless means, and the screen of the terminal device may present dynamic images and motion status information simulating the motion of the movable device.

[0110] The following is an application scenario, in which the terminal device uses the movable device path planning method in this embodiment to determine the alternative path corresponding to the first intermediate point, and simulates the scenario of the movable device moving along the first alternative path. Then, the alternative path corresponding to the second intermediate point is determined, and the scenario of the movable device moving along the second alternative path is simulated, and so on, until the simulation is completed for the scenario of the movable device moving along the alternative paths corresponding to the remaining intermediate points.

[0111] It should be noted that when simulating movement along an alternative path, if the current alternative path planning is successful, there is no need to simulate the remaining alternative paths, and the currently planned successful middle point and the alternative path corresponding to the middle point are selected. If all alternative paths are not successfully planned, the middle point with the highest score is selected for extended middle point planning, and then simulated movement is performed along the extended paths corresponding to all extended middle points. If the current extended path planning is successful, there is no need to simulate the remaining extended paths, and the currently planned successful extended middle point and the extended path corresponding to the extended middle point are selected. If the current extended path planning fails, the successfully planned extended path or the extended path with the highest evaluation is selected from the remaining extended paths.

[0112] The middle point is the "bridge" for path planning. The posture of the DSA device is selected as the standard posture based on the easy reach of the DSA device. Once the bed moves, the position of the middle point will change with the movement of the bed. After the initial point and the target point are determined, the screening module 310 plans multiple middle points within a specific safety area around the bed with the bed as the reference. For example, the safety area can be within a 50 cm circumference around the head of the bed. The more middle points are screened, the more alternative paths there are.

[0113] It should be noted that in the first case, an alternative path is composed of an intermediate point, an initial point, and a target point. For example, intermediate point 1, an initial point, and a target point together constitute the first alternative path, intermediate point 2, an initial point, and a target point together constitute the second alternative path, and intermediate point 3, an initial point, and a target point together constitute the third alternative path. In the second case, an alternative path is composed of a plurality of intermediate points combined with an initial point and a target point. For example, intermediate point 1, intermediate point 2, an initial point, and a target point together constitute the first alternative path, intermediate point 1, intermediate point 2, intermediate point 3, an initial point, and a target point together constitute the second alternative path, and intermediate point 2, intermediate point 3, an initial point, and a target point together constitute the third alternative path.

[0114] When the movable device performs simulated movement along each alternative path, the motion state of the movable device at each path point on the alternative path is obtained through the simulation system. The motion state of the movable device may include: collision information, position information, posture information and time-consuming information of the movable device at each path point. The weight score corresponding to the collision information of the movable device at each path point, the weight score corresponding to the position information, the weight score corresponding to the posture information and the weight score corresponding to the time-consuming information are calculated respectively. The planning module 320 comprehensively considers the evaluation value corresponding to each alternative path according to the weight scores of the four dimensions, and plans an optimal, collision-free and smooth path from the alternative paths as the target path based on the ranking of the evaluation values.

[0115] It should be noted that, for a DSA device, the posture information represents the angle information of the six joint axes (eg, A1-A6) of the device; for an X-ray device, the posture information represents the terminal posture of the device.

[0116] In an alternative embodiment, Fig.10 As shown, the planning module 320 specifically includes:

[0117] The calculation unit 321 is used to calculate the evaluation value corresponding to each candidate path according to the collision information, position information, posture information and time consumption information of the movable device.

[0118] The determination unit 322 is configured to select the candidate path corresponding to the highest evaluation value as the target path.

[0119] The calculation unit 321 performs weighted summation of the weight score corresponding to the collision information of the movable device at each path point, the weight score corresponding to the position information, the weight score corresponding to the posture information, and the weight score corresponding to the time-consuming information to calculate the evaluation value. The determination unit 322 sorts the evaluation values ​​according to their size, and the alternative path corresponding to the top evaluation value is used as the target path. The size of the evaluation value reflects the quality of each alternative path. The higher the evaluation value is ranked, the higher the probability of no collision of the alternative path, the better the smoothness performance, and the ability to meet the performance requirements of each joint angle of the movable device.

[0120] In an optional implementation, the calculation unit 321 is specifically configured to:

[0121] Determine the interpolation weight value corresponding to each alternative path.

[0122] The inverse solution weight value corresponding to each alternative path is calculated based on the position information and posture information.

[0123] The collision weight value corresponding to each alternative path is calculated based on the collision information.

[0124] The time weight value corresponding to each alternative path is calculated based on the time consumption information.

[0125] The evaluation value corresponding to each alternative path is calculated based on the interpolation weight value, the inverse solution weight value, the collision weight value and the time weight value.

[0126] Specifically, when performing linear interpolation planning in Cartesian space, it is determined whether the initial point, the intermediate point and the target point can plan a path without obstacle obstruction. If so, the interpolation weight value is determined to be 30, if not, the interpolation weight value is determined to be 0.

[0127] When simulating a scenario where a movable device moves along each planned path point on an alternative path, perform an inverse solution based on the position information and posture information of each path point to obtain the joint angle values ​​of the six joint axes A1-A6 of the movable device. Determine whether the joint angle value of each joint axis is within the joint limit. If so, the performance requirements of the movable device are met, and the inverse solution weight value is determined to be 40. If not, the performance requirements of the movable device are not met, and the inverse solution weight value is determined to be 0.

[0128] When simulating the movement of a movable device along each alternative path, it is necessary to perform collision detection on the movable device at each path point based on the collision information. During the collision detection process, when there is no collision at all path points on the alternative path, it indicates that there is no collision on the alternative path. When there is a collision at any path point, it indicates that there is a collision on the alternative path. This collision detection method can generate an STL file through SolidWorks based on the models of each loaded component, and detect the collision information between the components of the movable device in real time through the FCL collision detection library. The collision information between the components is generated based on different set collision thresholds. When there is an inverse solution and there is no collision at any path point, the collision weight value is determined to be 20. When there is an inverse solution but there is a collision at the path point, the collision weight value is determined to be 0.

[0129] For example, the collision deceleration threshold between the frame of the movable device and the target bed is set to 10cm, and the collision stop threshold between the frame of the movable device and the target bed is set to 5cm. When the distance between the frame of the movable device and the target bed is less than or equal to 10cm, the movable device enters the collision deceleration zone; when the distance between the frame of the movable device and the target bed is less than or equal to 5cm, the movable device is prohibited from running. It can be understood that in the process of path planning, the position point where the movable device encounters a collision and stops moving is the collision point, and the position point where it enters the collision deceleration zone is the deceleration point.

[0130] When simulating the movable device moving along each alternative path, the time information corresponding to each alternative path is obtained, and the alternative path corresponding to the shortest time is determined according to the time information. The time weight value corresponding to the alternative path is 10, and the time weight values ​​corresponding to the other alternative paths are 0.

[0131] The evaluation value corresponding to each alternative path is calculated based on the weighted result or summation of the interpolation weight value, inverse solution weight value, collision weight value and time weight value corresponding to each alternative path. A target path is planned from multiple alternative paths according to the size of the evaluation value. The higher the evaluation value, the higher the reference value of the intermediate point.

[0132] In an optional implementation, the calculation unit 321 is specifically configured to:

[0133] When the movable device is located at each path point of the candidate path, each joint angle of the manipulator arm of the movable device is calculated according to the position information and the posture information.

[0134] Compare each joint angle with the joint limit angle to determine the inverse solution weight value corresponding to each alternative path.

[0135] Specifically, for the DSA device, the joint angles of the robot arm (for example, A4-A6) are calculated based on the position information and posture information of the device at each path point on the alternative path. The joint angles of the three joint axes A4-A6 are compared with their corresponding joint limit angles. If the joint angle of any joint axis is greater than the joint limit angle, the inverse solution weight value corresponding to the alternative path is determined to be 0, which does not meet the performance requirements of the device.

[0136] In this embodiment, a path planning system is provided, in which a screening module screens out several intermediate points between an initial point and a target point; when a movable device simulates movement along each alternative path, the planning module plans a target path from the alternative paths according to the collision information, position information, posture information and time-consuming information of the movable device. The present invention shortens the time required for planning by dynamically simulating the path of the movable device; solves the problems that the existing optimization algorithm is prone to fall into local optimum, the target point is unreachable and the adaptive adjustment ability is poor, and improves the planning efficiency of planning a collision-free, smooth path that meets the performance requirements of the movable device; expands the target intermediate point on the target path, plans the optimal path from multiple extended paths, and optimizes the path planning result; when the alternative path planning corresponding to an intermediate point is unsuccessful, multiple intermediate point combinations are considered for path planning, enriching the path planning scheme and improving the success rate of path planning.

[0137] Example 4

[0138] Based on Example 3, this embodiment provides a path planning system, such as Fig.11 As shown, compared with Example 3, further improvements have been made, and the path planning system also includes:

[0139] The acquisition module 330 is used to acquire target position information and target posture information passing through a target middle point when the movable device performs simulated motion along the target path, and the target middle point is located on the target path.

[0140] The expansion module 340 is used to expand the target middle point according to the target position information and the target posture information to obtain multiple expanded middle points.

[0141] The planning module 350 is used to plan an optimal path from the extended path according to the collision information, position information, posture information and time-consuming information of the movable device when the movable device performs simulated movement along the extended path formed by each extended intermediate point.

[0142] When the target path is determined and the movable device simulates movement along the target path, the expansion module 340 expands the target midpoint according to the target position information and target posture information of the movable device at the target midpoint. The expansion rule is to offset the position of the target midpoint, for example, offset the target midpoint along the X-axis direction by +20mm or -20mm and then expand to generate multiple expanded midpoints.

[0143] When the movable device simulates movement along the extended path formed by each extended intermediate point, the planning module 350 adjusts the extended intermediate point with reference to the planning result of each extended intermediate point. Because the failure of the inverse solution is related to the posture, consider adjusting the posture information of the movable device corresponding to the extended intermediate point. Because the failure of the collision detection is related to the position, consider moving the position information of the movable device corresponding to the extended intermediate point. The direction of movement is related to the collision direction. If there is a collision with the ground in the Z direction, it is preferred to move up in the Z direction to achieve the expansion of the intermediate point.

[0144] In an alternative embodiment, Fig.11 As shown, the path planning system also includes:

[0145] The acquisition module 360 ​​is used to acquire the position and posture information of the target area.

[0146] The judgment module 370 is used to detect whether the target area has changed according to the posture information, and if so, call the screening module 310.

[0147] The acquisition module 360 ​​obtains the posture information of the area where the target bed is located. When the judgment module 370 determines that the target bed has moved based on the posture information, it re-screens several intermediate points between the initial point and the target point according to the posture information of the target bed after the move, and performs new path planning again.

[0148] In this embodiment, a path planning system is provided. The present invention shortens the time required for planning by dynamically simulating the path of a movable device, thereby improving the planning efficiency of planning a collision-free, smooth path that meets the performance requirements of the movable device; the target midpoint on the target path is expanded, and the optimal path is planned from multiple extended paths, thereby optimizing the path planning result; when the target area changes, the position of the midpoint can be adjusted in real time, effectively enhancing the flexibility and effectiveness of the path planning of the movable device.

[0149] Example 5

[0150] Fig.12The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the path planning method of Embodiment 1 or Embodiment 2 is implemented when the processor executes the program. Fig.12 The electronic device 90 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0151] like Fig.12 As shown, the electronic device 90 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 90 may include, but are not limited to: at least one processor 91, at least one memory 92, and a bus 93 connecting different system components (including the memory 92 and the processor 91).

[0152] The bus 93 includes a data bus, an address bus, and a control bus.

[0153] The memory 92 may include a volatile memory, such as a random access memory (RAM) 921 and / or a cache memory 922 , and may further include a read-only memory (ROM) 923 .

[0154] The memory 92 may also include a program / utility 925 having a set (at least one) of program modules 924, such program modules 924 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include an implementation of a network environment.

[0155] The processor 91 executes various functional applications and data processing by running the computer program stored in the memory 92, such as the path planning method of embodiment 1 or embodiment 2 of the present invention.

[0156] The electronic device 90 may also communicate with one or more external devices 94 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 95. Furthermore, the model generating device 90 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 96. Fig.12 As shown, the network adapter 96 communicates with other modules of the model-generated device 90 via the bus 93. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the model-generated device 90, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.

[0157] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.

[0158] Example 6

[0159] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the path planning method of Embodiment 1 or Embodiment 2 are implemented.

[0160] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.

[0161] In a possible implementation manner, the present invention may also be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to enable the terminal device to execute the steps in the path planning method of Example 1 or Example 2.

[0162] Among them, the program code for executing the present invention can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.

[0163] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that this is only for illustration and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.

Claims

1. A path planning method, characterized in that: The path planning method comprises: Screening out a number of intermediate points between the initial point and the target point; the intermediate points are set within a preset range of the target area, and the several intermediate points, the initial point, and the target point together constitute a number of candidate paths; When the movable device performs simulated movement along each of the candidate paths, a target path is planned from the candidate paths according to the collision information, position information, posture information and time-consuming information of the movable device.

2. The path planning method according to claim 1, characterized in that: The step of planning a target path from the alternative paths according to the collision information, position information, posture information and time-consuming information of the movable device comprises: Calculate the evaluation value corresponding to each of the candidate paths according to the collision information, the position information, the posture information and the time-consuming information of the movable device; The alternative path corresponding to the evaluation value with the highest score is used as the target path.

3. The path planning method according to claim 2, characterized in that: The step of calculating the evaluation value corresponding to each of the candidate paths according to the collision information, the position information, the posture information and the time-consuming information of the movable device comprises: Determine an interpolation weight value corresponding to each of the candidate paths; Calculate the inverse solution weight value corresponding to each of the candidate paths according to the position information and the posture information; Calculate the collision weight value corresponding to each of the alternative paths according to the collision information; Calculate the time weight value corresponding to each of the alternative paths according to the time-consuming information; An evaluation value corresponding to each of the candidate paths is calculated based on the interpolation weight value, the inverse solution weight value, the collision weight value and the time weight value.

4. The path planning method according to claim 3, characterized in that: The step of calculating the inverse solution weight value corresponding to each of the candidate paths according to the position information and the posture information comprises: Calculate, according to the position information and the posture information, each joint angle of the mechanical arm of the movable device when the movable device is located at each path point of the candidate path; The joint angles are compared with the joint limit angles to determine the inverse solution weight value corresponding to each of the alternative paths.

5. The path planning method according to claim 2, characterized in that: The path planning method further includes: When the movable device performs simulated movement along the target path, target position information and target posture information passing through a target intermediate point are obtained; the target intermediate point is located on the target path; Expanding the target intermediate point according to the target position information and the target posture information to obtain a plurality of expanded intermediate points; When the movable device performs simulated movement along the extended path formed by each of the extended intermediate points, an optimal path is planned from the extended path according to the collision information, position information, posture information and time-consuming information of the movable device.

6. The path planning method according to claim 1, characterized in that: The step of selecting a plurality of intermediate points between the initial point and the target point comprises: Determine a center point located in the target area; Draw a circle with the center point as the center and the first preset distance as the radius, and determine a middle point on the drawn circle; Taking the middle point as the starting point and the second preset distance value as the spacing, the remaining middle points are selected from the drawn circle.

7. The path planning method according to claim 1, characterized in that: The path planning method further includes: Collecting position and posture information of the target area; According to the posture information, it is detected whether the target area has changed. If so, the step of selecting a plurality of intermediate points between the initial point and the target point is re-executed.

8. A path planning system, characterized in that: The path planning system comprises: A screening module is used to screen out a number of intermediate points between the initial point and the target point; the intermediate points are set within a preset range of the target area, and the several intermediate points, the initial point, and the target point together constitute a number of candidate paths; The planning module is used to plan a target path from the alternative paths according to the collision information, position information, posture information and time-consuming information of the movable device when the movable device performs simulated movement along each of the alternative paths.

9. An electronic device comprising a processor, a memory, and a computer program stored in the memory and used to run on the processor, characterized in that: When the computer program is executed by the processor, the path planning method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the path planning method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Crown block scheduling method and device, storage medium and electronic equipment

    CN119398459A

  • Probe motion control method and device, medical scanning system and storage medium

    CN119498884A