Redundant parallel robot automatic fracture reduction path planning method and system
Through the redundant parallel robot automatic fracture reduction path planning method, medical imaging data and three-dimensional reconstruction technology are used to solve the problems of high dependence on traditional femoral fracture reduction operation and uncertain reduction effect, achieving safer and more accurate fracture reduction. Reduces the risk of iatrogenic injury.
Patent Information
- Application Number
- CN202410892779.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-11-01
AI Technical Summary
During the reduction process of traditional femoral fractures, there is a high operation dependence and high uncertainty in the reduction effect, which leads to deviation of reset angles and inaccurate alignment, affecting the healing quality and rehabilitation process, and the operation of complex cases is difficult, increasing the operation time and risk.
The automatic fracture reset path planning method of redundant parallel robot is adopted to obtain the femoral oblique fracture reset path through three-dimensional reconstruction, mirror transformation and path planning of medical imaging data. The fracture reset is achieved by using redundant parallel robot, combining the A* algorithm and PH curve. Perform path optimization to avoid important tissue damage.
It improves the automation of fracture reduction path planning, simplifies operations, improves the safety and accuracy of resets, reduces the unsatisfactory reset problems caused by human errors, and ensures the safety of important soft tissues.
Smart Images

Figure CN118873248A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of medical robots and path planning, and in particular relates to a redundant parallel robot automatic fracture reduction path planning method and system. Background Art
[0002] In orthopedic surgery, the reduction of femoral shaft fractures is a crucial step. In the traditional process of femoral shaft fracture reduction, doctors manually reduce the fracture site accurately. This operation method is highly dependent on the doctor's operation level and has certain limitations and uncertainties. Due to the complex anatomical structure of the human body, the variety of fracture types, and the influence of factors such as hand tremor, if the doctor is not skilled enough or makes mistakes, the reduction effect may be unsatisfactory, such as excessive deviation in the reduction angle, inaccurate alignment of the fracture ends, etc., which will affect the quality of fracture healing and the patient's recovery process, and may even cause more serious iatrogenic injuries.
[0003] Although existing surgical techniques and medical devices have made significant progress, reduction still faces many challenges in actual clinical operations. Especially for some complex and difficult-to-reset femoral shaft fractures, it is difficult to achieve the expected ideal reduction effect by relying solely on the doctor's experience and techniques, and it is easy to increase the operation time and risk.
[0004] Based on this, the present invention proposes a redundant parallel robot automatic fracture reduction path planning method. Summary of the invention
[0005] In order to solve the above problems in the prior art, that is, to solve the problems of low automation, high difficulty in operation and low safety in fracture reduction path planning in the prior art, the first aspect of the present invention proposes a redundant parallel robot automatic fracture reduction path planning method for obtaining a femoral shaft oblique fracture reduction path, and then enabling the redundant parallel robot to reduce the distal bone according to the femoral shaft oblique fracture reduction path. The method comprises:
[0006] Step S10, obtaining medical image data of a fractured femur of a femur fracture subject as input data;
[0007] Step S20, combining the input data, performing three-dimensional reconstruction on the fractured femur of the femoral fracture subject, obtaining a distal bone model, a proximal bone model and a healthy side bone model of the fractured femur of the femoral fracture subject, and then obtaining the distal bone posture information, the proximal bone posture information and the healthy side bone posture information of the femoral fracture subject;
[0008] Step S30, based on the posture information of the healthy side bone, mirror transform the healthy side bone to obtain a mirror bone model of the healthy side bone;
[0009] Step S40, aligning the coordinate systems of the mirror image bone model and the proximal bone model to fix the proximal bone of the femoral fracture subject;
[0010] Step S50, combining the posture information of the proximal bone after fixation, obtaining the femoral shaft oblique fracture reduction path through the redundant parallel robot automatic fracture reduction path planning method; the redundant parallel robot reduces the distal bone of the femoral fracture object according to the femoral shaft oblique fracture reduction path.
[0011] In some preferred embodiments, the fracture reduction path is obtained by a redundant parallel robot automatic fracture reduction path planning method, and the method is:
[0012] The fractured bone of the distal bone is offset along the axial direction of the fractured bone of the proximal bone by a set distance d; the distance d is set according to the spacing between the fractured bones, the larger the spacing is, the smaller the distance d is, and the smaller the spacing is, the larger the distance d is; the distance d is less than or equal to 8 mm;
[0013] Get the position T of the distal bone model after offset 1 , the pose of the mirror bone model of the healthy side bone after offset T 2 ;
[0014] Combined with the T 1 , the T 2 , calculate the rotation transformation matrix, and then obtain the equivalent rotation angle and rotation axis corresponding to the rotation transformation matrix; perform rotation transformation on the equivalent rotation angle in i steps to obtain the rotation matrix of the i-th step;
[0015] Combined with the T 1 , the T 2 , obtaining the initial position and the terminal position of the distal bone;
[0016] Modeling the bone structure and environment around the fracture surgery, setting the tissues to be avoided as irregular polygonal obstacles, and constructing a safe constraint distance between the femoral shaft oblique fracture reduction path and the polygonal obstacle information based on the polygonal obstacle information; the tissues to be avoided include blood vessels and important soft tissues;
[0017] Based on the initial position and the end position, combined with the safety constraint distance and the polygonal obstacle information, an optimal piecewise linear path that avoids offset obstacles is constructed using an improved A* algorithm, and a set secondary PH curve is used to smoothly transition the sharp corners of the optimal piecewise linear path, so as to obtain a femoral shaft oblique fracture reduction path;
[0018] The distal bone of the femoral fracture object is reduced by combining the rotation matrix of the i-th step and the femoral shaft oblique fracture reduction path.
[0019] In some preferred implementations, the rotation transformation matrix is calculated to obtain the equivalent rotation angle and rotation axis corresponding to the rotation transformation matrix, and the method is as follows:
[0020]
[0021]
[0022]
[0023] Among them, R f represents the rotation transformation matrix, θ f represents the equivalent rotation angle, f represents the rotation axis, n, o, and a represent the normal vector, azimuth vector, and approach vector, respectively.
[0024] In some preferred embodiments, the rotation matrix of step i is obtained by:
[0025]
[0026] θ i =α i θ
[0027] versθ i =1-cθ i
[0028] Among them, R f (i) represents the rotation matrix of the i-th step, α i A fraction between 0 and 1, indicating the degree of rotation.
[0029] In some preferred embodiments, the estimation function of the improved A* algorithm is:
[0030] F(n)=G(n)*M(n)+w*H(n)
[0031]
[0032] Among them, F(n) represents the comprehensive cost; G(n) represents the cost from the starting point to the current point; H(n) represents the estimated cost from the current point to the target point; w is the dynamic segment adjustment weight; d h1 d h2 is the threshold, d h1 >d h2 ; M(n) is the additional cost.
[0033] In some preferred embodiments, the additional cost is obtained by:
[0034] The anatomical type of the femoral fracture site is established using a classification algorithm, and different anatomical types correspond to different added cost values; wherein the added cost value of the first anatomical tissue corresponding to the anatomical type is greater than the added cost value of the second anatomical tissue; the first anatomical tissue includes important nerves, arterial blood vessels, and bone tissue; the second anatomical tissue is tissue other than the first anatomical tissue.
[0035] In some preferred embodiments, the sharp corners of the optimal piecewise linear path are smoothly transitioned by setting a secondary PH curve, and the method is as follows:
[0036] The setting of the secondary PH curve is a quintic PH curve; using the quintic PH curve to smoothly transition the sharp corner of the optimal piecewise linear path is as follows: using the curve P 0 P 5 Replace the sharp corner P 0 MP 5 ;
[0037] In the five PH curves: P 1 =P 2 ,P 3 =P 4 ,κ(0)=0,κ(1)=0,P(0)=P 0 ,P(1)=P 5 , P 0 , P 1 All are on the Y coordinate axis;
[0038] in, P 1 , P 2 , P 3 , P 4 , P 5 Indicates the PH curve control point, P 0 M|=|MP 5 |=d, d base is the reference distance, P 0 The velocity of the point, v base is the reference speed, M represents the sharp point of the sharp corner, P 0 represents the starting point of the transition section, P(0) and P(1) represent P(τ) when the curve parameter τ in the PH curve is 0 and 1, respectively. P i is the curve control point, u 0 ,u 1 ,u 2 ,v 0 ,v 1 ,v 2represents the curve parameters, τ∈[0,1], and P(τ) represents the quintic PH curve formula.
[0039] In some preferred embodiments, when the redundant parallel robot performs linear motion, it uses a modified trapezoidal motion law to perform motion:
[0040] Among them, a(t) represents the speed at time t, t represents time, T represents the specified time, t∈[0,T], a max Indicates the maximum velocity, when the muscle force F j When it is greater than the first set value, a max The maximum speed V is set max , otherwise, a max =V max *(1+k j F j ), k j represents the speed adaptation coefficient;
[0041] When the redundant parallel robot performs transition curve motion, it moves using a 3-4-5th order polynomial motion law.
[0042] In some preferred embodiments, the femoral shaft oblique fracture reduction path planning is based on the kinematic model of the redundant parallel robot, and the kinematic model can be solved by the position vector of the lower end of the branch chain of the redundant parallel robot in the base coordinate system, the position coordinates of the vertex of the moving platform, the Euler angle of the redundant parallel robot, and the Jacobian matrix.
[0043] In a second aspect of the present invention, a redundant parallel robot automatic fracture reduction path planning system is proposed, which is used to obtain a femoral shaft oblique fracture reduction path, and then enable the redundant parallel robot to reduce the distal bone according to the femoral shaft oblique fracture reduction path. The system includes:
[0044] a data acquisition module configured to acquire medical image data of a fractured femur of a femur fracture subject as input data;
[0045] a posture acquisition module configured to perform three-dimensional reconstruction of the fractured femur of the femoral fracture subject in combination with the input data, obtain a distal bone model, a proximal bone model and a healthy side bone model of the fractured femur of the femoral fracture subject, and further obtain posture information of the distal bone, the proximal bone and the healthy side bone of the femoral fracture subject;
[0046] A mirror transformation module, configured to perform a mirror transformation on the healthy side bone based on the posture information of the healthy side bone to obtain a mirror bone model of the healthy side bone;
[0047] A fixation module, configured to overlap the coordinate system of the mirror image bone model with the coordinate system of the proximal bone model to fix the proximal bone of the femoral fracture subject;
[0048] The path planning module is configured to obtain a femoral shaft oblique fracture reduction path through a redundant parallel robot automatic fracture reduction path planning method in combination with the posture information of the proximal bone after fixation; the redundant parallel robot reduces the distal bone of the femoral fracture object according to the femoral shaft oblique fracture reduction path.
[0049] Beneficial effects of the present invention:
[0050] The present invention improves the automation level of fracture reduction path planning, simplifies the operation, and improves the safety of fracture reduction.
[0051] The present invention first offsets the fractured bone of the distal bone by a set distance along the axial direction of the fractured bone of the proximal bone; then calculates the rotation matrix and the end position of the distal bone according to the posture of the distal bone model after the offset and the posture of the mirror image bone model of the healthy side bone after the offset, and implements path planning, thereby realizing automatic reduction of the femoral shaft fracture and reducing the problem of unsatisfactory reduction caused by human operation such as manual error.
[0052] In addition, the present invention also fully considers the continuity and smoothness of the path and controls the planned path within an acceptable range determined by the doctor to prevent damage to important soft tissue organs and cause major medical accidents, reduce iatrogenic injuries, and achieve precise reduction. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings.
[0054] Figure 1 It is a flow chart of a redundant parallel robot automatic fracture reduction path planning method according to an embodiment of the present invention;
[0055] Figure 2 is a schematic diagram of an oblique fracture of the femoral shaft according to an embodiment of the present invention;
[0056] Figure 3 is a schematic diagram of a redundant parallel robot prototype according to an embodiment of the present invention;
[0057] Figure 4 is a schematic diagram of a 3D model of a redundant parallel robot according to an embodiment of the present invention;
[0058] Figure 5 is a schematic diagram of the structure of a redundant parallel robot according to an embodiment of the present invention;
[0059] Figure 6is a schematic diagram of a redundant parallel robot base according to an embodiment of the present invention;
[0060] Figure 7 is a schematic diagram of a path planning process of an embodiment of the present invention;
[0061] Figure 8 A redundant parallel robot for orthopedic fracture reduction surgery according to an embodiment of the present invention;
[0062] Fig. 9 It is a schematic diagram of using a PH curve to smoothly transition the sharp corners of an optimal piecewise linear path according to an embodiment of the present invention. DETAILED DESCRIPTION
[0063] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiment is a part of the embodiment of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0064] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.
[0065] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application may be combined with each other.
[0066] A redundant parallel robot automatic fracture reduction path planning method according to a first embodiment of the present invention is used to obtain a femoral shaft oblique fracture reduction path, and then enable the redundant parallel robot to reduce the distal bone according to the femoral shaft oblique fracture reduction path, such as Figure 1 As shown, the following steps are included:
[0067] Step S10, obtaining medical image data of a fractured femur of a femur fracture subject as input data;
[0068] Step S20, combining the input data, performing three-dimensional reconstruction on the fractured femur of the femoral fracture subject, obtaining a distal bone model, a proximal bone model and a healthy side bone model of the fractured femur of the femoral fracture subject, and then obtaining the distal bone posture information, the proximal bone posture information and the healthy side bone posture information of the femoral fracture subject;
[0069] Step S30, based on the posture information of the healthy side bone, mirror transform the healthy side bone to obtain a mirror bone model of the healthy side bone;
[0070] Step S40, aligning the coordinate systems of the mirror image bone model and the proximal bone model to fix the proximal bone of the femoral fracture subject;
[0071] Step S50, combining the posture information of the proximal bone after fixation, obtaining the femoral shaft oblique fracture reduction path through the redundant parallel robot automatic fracture reduction path planning method; the redundant parallel robot reduces the distal bone of the femoral fracture object according to the femoral shaft oblique fracture reduction path.
[0072] In order to more clearly illustrate a redundant parallel robot automatic fracture reduction path planning method of the present invention, each step in an embodiment of the method of the present invention is described in detail below with reference to the accompanying drawings.
[0073] Step S10, obtaining medical image data of a fractured femur of a femur fracture subject as input data;
[0074] In this embodiment, the medical image data of the fractured femur of the femur fracture object is first obtained, such as Figure 2 shown.
[0075] Step S20, combining the input data, performing three-dimensional reconstruction on the fractured femur of the femoral fracture subject, obtaining a distal bone model, a proximal bone model and a healthy side bone model of the fractured femur of the femoral fracture subject, and then obtaining the distal bone posture information, the proximal bone posture information and the healthy side bone posture information of the femoral fracture subject;
[0076] In this embodiment, based on the medical imaging data of the fractured femur of the femoral fracture subject, the fractured femur of the femoral fracture subject is three-dimensionally reconstructed to obtain the distal bone model, proximal bone model and healthy side bone model of the fractured femur of the femoral fracture subject, and then obtain the model position and posture information of the affected side distal bone, proximal bone and healthy side bone, that is, posture information.
[0077] Step S30, based on the posture information of the healthy side bone, mirror transform the healthy side bone to obtain a mirror bone model of the healthy side bone;
[0078] In this embodiment, the healthy side bone is subjected to a mirror transformation to obtain a mirror image bone model of the healthy side bone, and then the bone model information of the femoral fracture subject in a normal state before the fracture can be solved.
[0079] Step S40, aligning the coordinate systems of the mirror image bone model and the proximal bone model to fix the proximal bone of the femoral fracture subject;
[0080] In this embodiment, the proximal femur of the femur fracture subject is fixed by a redundant parallel robot. The redundant parallel robot includes: a base, a moving platform, and a linear slide mechanism, a six-bar telescopic mechanism, and a rotating mechanism between the base and the moving platform. The prototype is shown in FIG. Figure 3 As shown, the 3D model is Figure 4 As shown, the structural diagram is as follows Figure 5 As shown, the base schematic diagram is as follows Figure 6 As shown in Figure 2, a redundant parallel robot for orthopedic fracture reduction surgery is shown in Figure 2. Figure 8 As shown. The kinematic model of the redundant parallel robot is:
[0081] The position vector of the lower end of the branch chain of the parallel robot in the base coordinate system is:
[0082] b 3j =Z k [d 3 +l 3 ' k cosα(-1) k hd′+l 3 ' k sinα] T (1)
[0083] Among them, the lower end of the branch chain is the position where the moving platform is hinged to the slider through a six-bar telescopic mechanism, j = 1, 2, 3, 4, 5, 6, Z k =Rot(z k ,γ k ), Z k Represents around Z 3 The axis rotates k times, k = 1, 2, 3. Since the designed moving platform is a semi-regular hexagon, each of its internal angles is 120°, that is, γ 1 =0,γ 2 =2π / 3,γ 3 =4π / 3,d 3 Indicates that the slider is in X 3 O 3 Y 3 Projection on the plane to the center point O of the base 3 The initial position of the slider is set at the midpoint of the linear guide rail. 3 ' k is a variable representing the position of the slider, and l 3 ' k = x 3k -r 3 / 2, where χ 3k Represents the distance from the kth base slider to the negative end point of the linear guide, r 3represents the stroke of the base slider. α is the angle between the linear guide and the base plane, h represents half the distance between the bottoms of two adjacent branches on the same slider. d′ represents the distance from the midpoint of the linear guide along the Z axis in the base coordinate system. 3 The coordinates of the axis. Combining the above formula, we can get the length of the driving branch chain;
[0084] l 3j =||p 3j -b 3j || (2)
[0085] The position coordinates of the vertex of the moving platform are:
[0086]
[0087] Among them, O′ 3 Indicates O 3 The position vector of point ′ in the base coordinate system, YesP 3j The position vector of the point in the moving platform coordinate system, ψ, θ, φ represent yaw, pitch, and roll respectively, x 3 ,y 3 、z 3 They represent coordinate axes respectively, c is cosine, and s is sin.
[0088] The posture of the moving platform is expressed using the Euler angles in the ZYX order, i.e., Θ = [φθψ] T , is the Euler angle of the redundant parallel mechanism. The Jacobian matrix of the redundant parallel mechanism is obtained by the velocity between the joint velocity and the moving platform.
[0089] Step S50, combining the posture information of the proximal bone after fixation, obtaining the femoral shaft oblique fracture reduction path through the redundant parallel robot automatic fracture reduction path planning method; the redundant parallel robot reduces the distal bone of the femoral fracture object according to the femoral shaft oblique fracture reduction path.
[0090] In this embodiment, for the above oblique fracture, the two ends of the affected bone are first pulled apart by a certain distance d, and then the distal fracture is slightly offset along the axis of the proximal fracture. The distance d is related to the distance between the fractured bones. The larger the distance, the smaller the distance; the smaller the distance, the larger the distance, but not more than 8mm. The adjusted distal bone model position is T 1 , the mirror transformation model pose of the healthy side bone is T 2 .
[0091] By T 1 and T 2 , the initial posture and terminal posture of the distal bone in fracture reduction surgery can be obtained, and then the rotation transformation matrix R can be obtainedf . Obtain the rotation transformation matrix R f The corresponding equivalent rotation angle θ f and the axis of rotation f, with respect to θ f The rotation transformation is performed in i steps, and the general rotation transformation is used for step-by-step solution to achieve rotation posture alignment.
[0092]
[0093]
[0094]
[0095] Among them, n, o, and a represent the normal vector, azimuth vector, and approach vector, respectively.
[0096] The rotation matrix of step i is:
[0097]
[0098] θ i =α i θ (8)
[0099] versθ i =1-cθ i (9)
[0100] Among them, R f (i) represents the rotation matrix of the i-th step, α i It is a fraction between 0 and 1, indicating the step degree of the rotation angle, which is 0, 0.1, 0.2, 0.3, 0.4, …, 0.9, 1.
[0101] By T 1 and T 2 , the initial position and end position of the distal bone in fracture reduction surgery can be obtained. In order to solve the shortest obstacle avoidance path between the initial position and the end position to avoid blood vessels and important soft tissues, based on the existing medical image obstacle information, the bone structure and environment around the surgery are modeled, and the blood vessels and important soft tissue organs to be avoided are regarded as obstacles; the boundary of the obstacle is offset by a specific safety distance, and a safety constraint distance is constructed to maintain a specific safety distance between the trajectory and the obstacle; based on the existing obstacle environment information, the improved A* algorithm is used to construct the optimal piecewise linear path to avoid the offset obstacles; the quintic PH curve is used to smoothly transition the sharp corners of the optimal piecewise linear path. The endpoint tangent vector, convex hull and other properties of the PH curve can optimize the collision-free path, fully consider the continuous smoothness of the path and control the planned path within the acceptable range recognized by the doctor to prevent damage to important soft tissue organs and cause major medical accidents, reduce iatrogenic injuries, that is, a certain range of motion, to prevent iatrogenic injuries such as secondary injuries. Specifically, Figure 7 As shown. That is, based on the initial position and the end position, combined with the set obstacle information and the rotation matrix of the i-th step, the improved A* algorithm is used to construct the optimal piecewise linear path to avoid the offset obstacle, and the set secondary PH curve is used to smoothly transition the sharp corners of the optimal piecewise linear path, that is, the fracture reduction path is obtained. Based on its kinematic model and combined with the fracture reduction path, the redundant parallel robot moves and reduces the distal bone of the femur of the femoral fracture object.
[0102] Among them, the improved A* algorithm is used to construct the optimal piecewise linear path to avoid offset obstacles. The specific process is as follows:
[0103] First, let the two lists be list a and list b. The algorithm pseudo code is as follows:
[0104] 1. Add the starting point P1 to list a;
[0105] 2. Loop: a) Find the point with the smallest F in list a and set it as the current point to be processed;
[0106] b) Move the current point to list b;
[0107] c) Judge the neighboring nodes of the current point in turn: i. If the neighboring point is unreachable or already in list b, skip the point; ii. If the neighboring point is not in list a, add it to list a, set the current point as its parent node, and record the F, G, and H values of the current point; iii. If the neighboring point is already in list a, use the G value as a reference to check whether the path is better. A smaller G indicates a better path. If so, set its parent node as the current point and recalculate the G and F values. If list a is sorted by F value, list a needs to be reordered after the change;
[0108] d) Stop until: i. Add the target point P2 to list a, and the shortest path is obtained; ii. The target point P2 is not found, and list a is empty, and there is no path;
[0109] 3. Save the path, starting from the target point P2, each node moves along its parent node until the starting point P1;
[0110] Among them, the estimation function of the improved A* algorithm is:
[0111] F(n)=G(n)*M(n)+w*H(n) (10)
[0112]
[0113] Among them, F(n) represents the comprehensive cost; G(n) represents the cost from the starting point to the current point; H(n) represents the estimated cost from the current point to the target point; M(n) is the additional cost; that is, M(n) is the additional cost of important arteries and bone tissues, and different cost values are designed for different tissues. The classification algorithm is used to establish the anatomical type of the fracture site, and different anatomical types correspond to different additional cost values. The additional cost M(n) of important nerves, arteries, bone tissues, etc. is set to a larger value, and the additional cost M(n) of relatively easy-to-handle tissues is set to a relatively small value. By designing cost values according to the importance of different parts, a hierarchical path search algorithm that considers the safety of important parts is implemented; w is the dynamic segmentation adjustment weight; d h1 d h2 is the threshold, d h1 >d h2 The size can be determined by the actual fracture conditions such as fracture site, size and trauma.
[0114] In the improved A* algorithm, the path obtained is composed of multiple straight line segments. Taking full account of the continuity and smoothness of the path, the quintic PH curve is used to smoothly transition the sharp corners where the line segments are connected. 0 P 5 Replace the sharp corner P 0 MP 5 ,like Fig. 9 As shown:
[0115] The formula of the quintic PH curve is:
[0116]
[0117] Where P i =(x i ,y i ), P i is the curve control point, τ is the curve parameter;
[0118] The relationship between the control points of the PH curve is as follows:
[0119]
[0120]
[0121]
[0122]
[0123]
[0124] Among them, P 1 , P 2 , P 3 , P4 , P 5 Indicates the pH curve control point.
[0125] In the present invention, the size of the transition curve can be optimized by adjusting d. The selection of d is related to the speed at this point. The smaller the speed, the smaller d can be appropriately reduced, and the larger the speed, the larger d can be appropriately increased. The details are as follows:
[0126] Control point P 1 and P 2 Overlap, P 3 and P 4 Overlap, the distance d of the transition section is fixed, that is, P 0 M|=|MP 5 |=d. Let P 0 and P 1 are all on the line segment and on the Y coordinate axis, so u can be obtained by the following formula 0 ,u 1 ,u 2 ,v 0 ,v 1 ,v 2 .
[0127] P 1 =P 2 ,P 3 =P 4 ,κ(0)=0,κ(1)=0,P(0)=P 0 ,P(1)=P 5 (18)
[0128] in, P 0 M|=|MP 5 |=d, d base is the reference distance, P 0 The velocity of the point, v base is the reference speed, M represents the sharp point of the sharp corner, P 0 represents the starting point of the transition section, P(0) and P(1) represent P(τ) when the curve parameter τ in the PH curve is 0 and 1, respectively. u 0 ,u 1 ,u 2 ,v 0 ,v 1 ,v 2 represents the curve parameter, τ∈[0,1], P(τ) represents the quintic PH curve formula, and the smoothed path is as follows Figure 7 As shown in the last picture.
[0129] In addition, when planning the path, the robot motion law is dynamically planned: for the case of linear motion, the modified trapezoidal motion law is adopted. Specifically, when the muscle force is relatively large, the maximum design speed is smaller, and when the muscle force is relatively small, the maximum design speed is larger; for the transition curve part, a relatively gentle 3-4-5 polynomial motion law is adopted; among them, the modified trapezoidal motion law is:
[0130]
[0131] Among them, a(t) represents the speed at time t, t represents time, T represents the specified time, t∈[0,T], a max Indicates the maximum velocity, when the muscle force F j When it is greater than the first set value, a max The maximum speed V is set max , otherwise, a max =V max *(1+k j F j ), k j represents the velocity adaptation coefficient, where the muscle force is obtained through the force sensor.
[0132] A redundant parallel robot automatic fracture reduction path planning system according to a second embodiment of the present invention is used to obtain a femoral shaft oblique fracture reduction path, and then enable the redundant parallel robot to reduce the distal bone according to the femoral shaft oblique fracture reduction path. The system includes: a redundant parallel robot, an image acquisition unit;
[0133] The image acquisition unit comprises a data acquisition module; the data acquisition module is configured to acquire medical image data of a fractured femur of a femur fracture subject as input data;
[0134] A redundant parallel robot, used for calculating a fracture reduction path, and moving and reducing the distal bone of the fractured femur of the femoral fracture subject according to the fracture reduction path, comprising a posture acquisition module, a mirror transformation module, a fixing module, and a path planning module;
[0135] a posture acquisition module configured to perform three-dimensional reconstruction of the fractured femur of the femoral fracture subject in combination with the input data, obtain a distal bone model, a proximal bone model and a healthy side bone model of the fractured femur of the femoral fracture subject, and further obtain posture information of the distal bone, the proximal bone and the healthy side bone of the femoral fracture subject;
[0136] A mirror transformation module, configured to perform a mirror transformation on the healthy side bone based on the posture information of the healthy side bone to obtain a mirror bone model of the healthy side bone;
[0137] A fixation module, configured to overlap the coordinate system of the mirror image bone model with the coordinate system of the proximal bone model to fix the proximal bone of the femoral fracture subject;
[0138] The path planning module is configured to obtain a femoral shaft oblique fracture reduction path through a redundant parallel robot automatic fracture reduction path planning method in combination with the posture information of the proximal bone after fixation; the redundant parallel robot reduces the distal bone of the femoral fracture object according to the femoral shaft oblique fracture reduction path.
[0139] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process and related instructions of the system described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0140] It should be noted that the redundant parallel robot automatic fracture reduction path planning system provided in the above embodiment is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the modules or steps in the embodiments of the present invention can be decomposed or combined. For example, the modules in the above embodiments can be combined into one module, or further divided into multiple sub-modules to complete all or part of the functions described above. The names of the modules and steps involved in the embodiments of the present invention are only for distinguishing the modules or steps, and are not regarded as improper limitations of the present invention.
[0141] A third embodiment of the present invention is a redundant parallel robot automatic fracture reduction path planning device, comprising at least one processor; and a memory communicatively connected to at least one of the processors; wherein the memory stores instructions executable by the processor, and the instructions are used to be executed by the processor to implement the above-mentioned redundant parallel robot automatic fracture reduction path planning method.
[0142] A fourth embodiment of the present invention is a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to be executed by the computer to implement the above-mentioned redundant parallel robot automatic fracture reduction path planning method.
[0143] Technicians in the technical field can clearly understand that, for the convenience and brevity of description, the specific working process and related instructions of the redundant parallel robot automatic fracture reduction path planning device and readable storage medium described above can refer to the corresponding process in the aforementioned method example and will not be repeated here.
[0144] Those skilled in the art should be able to appreciate that the modules and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software or a combination of the two, and the programs corresponding to the software modules and method steps can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, or any other form of storage medium known in the technical field. In order to clearly illustrate the interchangeability of electronic hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in electronic hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but this implementation should not be considered to exceed the scope of the present invention.
[0145] The terms "first", "second", "third", etc. are used to distinguish similar objects rather than to describe or indicate a particular order or sequence.
[0146] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A redundant parallel robot automatic fracture reduction path planning method, used to obtain a femoral shaft oblique fracture reduction path, and then enable the redundant parallel robot to reduce the distal bone according to the femoral shaft oblique fracture reduction path, characterized in that: The method includes: Step S10, obtaining medical image data of a fractured femur of a femur fracture subject as input data; Step S20, combining the input data, performing three-dimensional reconstruction on the fractured femur of the femoral fracture subject, obtaining a distal bone model, a proximal bone model and a healthy side bone model of the fractured femur of the femoral fracture subject, and then obtaining the distal bone posture information, the proximal bone posture information and the healthy side bone posture information of the femoral fracture subject; Step S30, based on the posture information of the healthy side bone, mirror transform the healthy side bone to obtain a mirror bone model of the healthy side bone; Step S40, aligning the coordinate systems of the mirror image bone model and the proximal bone model to fix the proximal bone of the femoral fracture subject; Step S50, combining the posture information of the proximal bone after fixation, obtaining the femoral shaft oblique fracture reduction path through the redundant parallel robot automatic fracture reduction path planning method; the redundant parallel robot reduces the distal bone of the femoral fracture object according to the femoral shaft oblique fracture reduction path.
2. The method for automatic fracture reduction path planning of a redundant parallel robot according to claim 1, characterized in that: The redundant parallel robot automatic fracture reduction path planning method is used to obtain a femoral shaft oblique fracture reduction path, and the redundant parallel robot reduces the distal bone of the femoral fracture object according to the femoral shaft oblique fracture reduction path, wherein the method is as follows: The fractured bone of the distal bone is offset along the axial direction of the fractured bone of the proximal bone by a set distance d; the distance d is set according to the spacing between the fractured bones, the larger the spacing is, the smaller the distance d is, and the smaller the spacing is, the larger the distance d is; Said d is less than or equal to 8 mm; Obtaining the position T1 of the distal bone model after the offset and the position T2 of the mirror image bone model of the healthy side bone after the offset; Combine T1 and T2 to calculate a rotation transformation matrix, and then obtain an equivalent rotation angle and rotation axis corresponding to the rotation transformation matrix; perform rotation transformation on the equivalent rotation angle in i steps to obtain a rotation matrix of the i-th step; Combining the T1 and the T2, obtaining the initial position and the terminal position of the distal bone; Modeling the bone structure and environment around the fracture surgery, setting the tissues to be avoided as irregular polygonal obstacles, and constructing a safe constraint distance between the femoral shaft oblique fracture reduction path and the polygonal obstacle information based on the polygonal obstacle information; the tissues to be avoided include blood vessels and important soft tissues; Based on the initial position and the end position, combined with the safety constraint distance and the polygonal obstacle information, an optimal piecewise linear path that avoids offset obstacles is constructed using an improved A* algorithm, and a set secondary PH curve is used to smoothly transition the sharp corners of the optimal piecewise linear path, so as to obtain a femoral shaft oblique fracture reduction path; The distal bone of the femoral fracture object is reduced by combining the rotation matrix of the i-th step and the femoral shaft oblique fracture reduction path.
3. The method for automatic fracture reduction path planning of a redundant parallel robot according to claim 2, characterized in that: The rotation transformation matrix is calculated to obtain the equivalent rotation angle and rotation axis corresponding to the rotation transformation matrix. The method is as follows: Among them, R f represents the rotation transformation matrix, θ f represents the equivalent rotation angle, f represents the rotation axis, n, o, and a represent the normal vector, azimuth vector, and approach vector, respectively.
4. The method for automatic fracture reduction path planning of a redundant parallel robot according to claim 3, characterized in that: Get the rotation matrix of step i as follows: i i =a i i versθ i =1-cθ i Among them, R f (i) represents the rotation matrix of the i-th step, α i A fraction between 0 and 1, indicating the degree of rotation.
5. The method for automatic fracture reduction path planning of a redundant parallel robot according to claim 2, characterized in that: The estimation function of the improved A* algorithm is: F(n)=G(n)*M(n)+w*H(n) Among them, F(n) represents the comprehensive cost; G(n) represents the cost from the starting point to the current point; H(n) represents the estimated cost from the current point to the target point; w is the dynamic segment adjustment weight; d h1 ,d h2 is the threshold, d h1 >d h2 ; M(n) is the additional cost.
6. The method for automatic fracture reduction path planning of a redundant parallel robot according to claim 5, characterized in that: The additional cost value is obtained by: The anatomical type of the femoral fracture site is established using a classification algorithm, and different anatomical types correspond to different added cost values; wherein the added cost value of the first anatomical tissue corresponding to the anatomical type is greater than the added cost value of the second anatomical tissue; the first anatomical tissue includes important nerves, arterial blood vessels, and bone tissue; the second anatomical tissue is tissue other than the first anatomical tissue.
7. The method for automatic fracture reduction path planning of a redundant parallel robot according to claim 2, characterized in that: The method of smoothly transitioning the sharp corners of the optimal piecewise linear path by setting a secondary PH curve is as follows: The setting of the secondary PH curve is a quintic PH curve; using the quintic PH curve to smoothly transition the sharp corner of the optimal piecewise linear path is: using the curve P0P5 to replace the sharp corner P0MP5; In the five PH curves: P1 = P2, P3 = P4, κ(0) = 0, κ(1) = 0, P(0) = P0, P(1) = P5, P0 and P1 are both on the Y coordinate axis; in, P1, P2, P3, P4, P5 represent the control points of the PH curve, P0M|=|MP5|=d, d base is the reference distance, is the velocity of point P0, v base is the reference speed, M represents the sharp point of the sharp corner, P0 represents the starting point of the transition section, P(0) and P(1) represent P(τ) when the curve parameter τ in the PH curve is 0 and 1, respectively. P i are the control points of the curve, u0, u1, u2, v0, v1, v2 represent the curve parameters, τ∈[0,1], and P(τ) represents the quintic PH curve formula.
8. The method for automatic fracture reduction path planning of a redundant parallel robot according to claim 7, characterized in that: When the redundant parallel robot performs linear motion, it uses a modified trapezoidal motion law to perform motion: Among them, a(t) represents the speed at time t, t represents time, T represents the specified time, t∈[0,T], a max Indicates the maximum acceleration, when the muscle force F j When it is greater than the first set value, the maximum design speed is V max , otherwise, the maximum design speed is a max =V max *(1+k j / F j ), k j represents the speed adaptation coefficient; When the redundant parallel robot performs transition curve motion, it moves using a 3-4-5th order polynomial motion law.
9. The method for automatic fracture reduction path planning of a redundant parallel robot according to claim 8, characterized in that: The femoral shaft oblique fracture reduction path planning is based on the kinematic model of the redundant parallel robot, and the kinematic model can be solved by the position vector of the lower end of the branch chain of the redundant parallel robot in the base coordinate system, the position coordinates of the vertex of the moving platform, the Euler angle of the redundant parallel robot, and the Jacobian matrix.
10. A redundant parallel robot automatic fracture reduction path planning system, used to obtain a femoral shaft oblique fracture reduction path, and then enable the redundant parallel robot to reduce the distal bone according to the femoral shaft oblique fracture reduction path, characterized in that: A redundant parallel robot automatic fracture reduction path planning method based on any one of claims 1 to 9, the system comprising: a data acquisition module configured to acquire medical image data of a fractured femur of a femur fracture subject as input data; a posture acquisition module configured to perform three-dimensional reconstruction of the fractured femur of the femoral fracture subject in combination with the input data, obtain a distal bone model, a proximal bone model and a healthy side bone model of the fractured femur of the femoral fracture subject, and further obtain posture information of the distal bone, the proximal bone and the healthy side bone of the femoral fracture subject; A mirror transformation module, configured to perform a mirror transformation on the healthy side bone based on the posture information of the healthy side bone to obtain a mirror bone model of the healthy side bone; A fixation module, configured to overlap the coordinate system of the mirror image bone model with the coordinate system of the proximal bone model to fix the proximal bone of the femoral fracture subject; The path planning module is configured to obtain a femoral shaft oblique fracture reduction path through a redundant parallel robot automatic fracture reduction path planning method in combination with the posture information of the proximal bone after fixation; the redundant parallel robot reduces the distal bone of the femoral fracture object according to the femoral shaft oblique fracture reduction path.
Citation Information
Cited By
Long bone fracture reduction method and system based on image processing
CN119791842A
Motor torque dynamic adjustment method and system based on analog input
CN119891881A
Automatic planning method and device for pelvic fracture virtual reduction based on template registration
CN120753787A
