Method, apparatus and system for controlling a single-isocentric large-angle stereotactic radiotherapy system
By optimizing the installation relationship between the treatment head and the end effector of the robotic arm, and by optimizing the nodes, the limitations of under-bed directional irradiation in single-isocenter radiotherapy systems have been overcome, enabling continuous global irradiation, improving treatment efficiency and positioning consistency, and avoiding the complexity of multi-isocenter protocols.
Patent Information
- Application Number
- CN202611683347.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-29
- Publication Date
- 2026-11-27
AI Technical Summary
Existing single-center radiotherapy systems cannot achieve continuous global irradiation in the under-bed direction, resulting in high hardware costs, positioning uncertainty, and prolonged treatment time.
By optimizing the installation relationship between the treatment head and the end effector of the robotic arm, the treatment head can cover the isocentric spherical surface of the treatment. Furthermore, by optimizing the pose of the treatment head, the beam direction, and the node position, unreachable nodes can be transformed into reachable nodes, thereby achieving continuous global surface irradiation under a single isocentric system.
Under single isocenter conditions, the irradiation range is expanded, the field coverage density and stereo angle coverage are increased, the dose distribution is improved, the treatment efficiency and positioning consistency are enhanced, and the complexity and process interruption caused by switching between multiple isocenters are avoided.
Smart Images

Figure CN123167431A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of radiosurgical robotics, and in particular, to a control method, device, and system for a single isocenter large stereo angle radiotherapy system. Background Technology
[0002] Multi-degree-of-freedom robot-based radiosurgical systems (such as CyberKnife) utilize compact X-ray linear accelerators mounted on robotic arms to project treatment beams onto the target area in a non-isocentric, non-coplanar manner, which improves dose distribution. The treatment isocenter of such systems serves as the geometric reference point for the entire system. A treatment sphere can be defined with this center as its core, and the set of treatment nodes planned on this sphere constitutes the system's treatment space. However, although the serial structure of the robotic arms provides spatial flexibility, the physical accessibility of the under-bed space is still limited by the spatial relationship between the arm geometry and the bed structure, making single isocenter solutions unsuitable for practical applications.
[0003] To address the limitations of a single isocenter, existing technologies employ a global treatment space comprised of several treatment nodes centered on a lower-level treatment center and a higher-level treatment center. The technical logic is that the lower-level treatment center covers the irradiation angles above and to the sides of the patient, while the higher-level treatment center covers the irradiation angles below the patient (under the bed), thus creating nominal global coverage. This approach recognizes the limitations of a single isocenter in under-bed irradiation and chooses an alternative path of using two physically separate isocenters to cover different spatial areas.
[0004] However, this dual-center approach has the following drawbacks: First, it requires two independent image-guided positioning subsystems and coordinate calibration switching mechanisms, resulting in high hardware costs and complex quality control. Second, the two treatment centers are physically separated, each with its own independent source of positioning error. The consistency of the relative positions between the centers depends on the stability of the mechanical installation and regular calibration. The target area reference benchmark changes during switching, which may introduce additional positioning uncertainty. Third, the treatment method includes two independent image-guided positioning and irradiation stages: a lower center and a higher center. Irradiation is performed in groups by center, and process interruptions prolong the total treatment time and increase the window for changes in patient position.
[0005] Therefore, how to achieve continuous global surface irradiation including the under-bed direction under a single treatment isocenter condition, while avoiding the system complexity of a dual isocenter scheme, has become a technical problem that needs to be solved in this field. Summary of the Invention
[0006] To overcome the shortcomings of the prior art, this application provides a control method, device and system for a single isocenter large stereo angle radiotherapy system, so as to solve the problem that the prior art cannot achieve continuous global surface irradiation including the under-bed direction under single treatment isocenter conditions.
[0007] The technical solution adopted by this application to solve its technical problem is: In a first aspect, a control method for a single isocentric large solid angle radiotherapy system is provided, the system comprising a multi-degree-of-freedom robotic arm, a treatment head mounted at the end of the robotic arm, and a treatment bed for placing a patient to be treated, the method comprising: Using the proportion of reachable treatment nodes covering the treatment isocenter sphere and the uniformity of the distribution of reachable treatment nodes on the sphere as optimization objectives, the target installation relationship between the treatment head and the end effector of the robotic arm is determined among multiple installation relationships. The treatment isocenter sphere is composed of discrete treatment nodes, the center of the treatment isocenter sphere is a unique treatment isocenter point, the reachable treatment nodes are treatment nodes that the robotic arm can directly reach, and the installation relationship includes the position of the treatment head mounting interface on the treatment head housing and the installation attitude angle of the treatment head relative to the end effector flange of the robotic arm. Adjust the actual installation relationship between the treatment head and the end effector of the robotic arm to the target installation relationship; After the installation relationship between the treatment head and the end of the robotic arm is adjusted to the target installation relationship, the unreachable treatment node is determined; The unreachable treatment node is optimized to transform it into a reachable treatment node. The optimization includes one or more of treatment head pose optimization, beam direction optimization, and node position optimization. Control the movement of the robotic arm to bring it to the optimized reachable treatment node.
[0008] As an optional implementation of this application, the step of determining the target installation relationship between the treatment head and the end effector of the robotic arm among multiple installation relationships, using the proportion of reachable treatment nodes covering the isocentric spherical surface of the treatment and the uniformity of the distribution of spherical reachable treatment nodes as optimization objectives, includes: A virtual treatment room model is constructed, which includes a robotic arm model, a treatment bed model, a human body model, a treatment room model, and an obstacle model. The treatment isocentric sphere is defined in the virtual treatment room model, and the treatment isocentric sphere is uniformly discretized into multiple treatment nodes according to a preset angle interval. The installation relationship between the treatment head and the end effector of the robotic arm is taken as a variable to be optimized. The installation relationship includes the position of the treatment head mounting interface on the treatment head housing and the installation attitude angle of the treatment head relative to the end effector flange of the robotic arm. For each set of installation relationships, the inverse kinematics of the robotic arm is solved for each treatment node according to the original pose, resulting in multiple sets of joint angle solutions. Solutions that exceed the limit range, do not meet the velocity constraints, or are close to singular configurations are discarded to obtain usable inverse solutions. The original pose is the pose of the treatment head when it reaches each treatment node under each set of installation relationships. For each available inverse solution, collision detection is performed to determine whether the minimum distance between each link of the treatment head and robotic arm and the human body model, treatment bed model, treatment room model and obstacle model is less than the preset collision space threshold. If there exists at least one set of inverse solutions that make the minimum distance between each link of the treatment head and the robotic arm and the above model not less than the preset collision space threshold, then the treatment node is determined to be a reachable treatment node under the current installation relationship; otherwise, it is determined to be an unreachable treatment node. The number of reachable treatment nodes under each installation relationship is counted, and the ratio between the number of reachable treatment nodes and the total number of treatment nodes is calculated as the proportion of reachable treatment nodes covering the treatment isocentric sphere. The treatment isocentric sphere is divided into multiple regions according to the principle of equal area, and the ratio between the number of reachable treatment nodes in each region and the total number of treatment nodes in that region is calculated as the reachable coverage rate of that region. Based on the reachable coverage rate, the average coverage rate and the standard deviation of the coverage rate of that region are calculated. Based on the average coverage rate and the standard deviation of the coverage rate, the uniformity of the spherical reachable treatment node distribution is calculated as follows: Uniformity of spherical reachable treatment node distribution = 1 - square of the standard deviation of coverage rate / [average coverage rate * (1 - average coverage rate) + non-zero minima], where the non-zero minima is used to prevent the denominator from being 0. An optimization objective function is constructed based on the proportion of the reachable treatment nodes covering the treatment isocenter sphere and the uniformity of the distribution of the spherical reachable treatment nodes. The optimization objective function = first preset weight * proportion of reachable treatment nodes covering the treatment isocenter sphere + second preset weight * uniformity of the distribution of the spherical reachable treatment nodes. The installation relationship that maximizes the value of the optimization objective function is selected as the target installation relationship between the treatment head and the end of the robotic arm.
[0009] As an optional implementation of this application, when the optimization simultaneously includes treatment head pose optimization, beam direction optimization, and node position optimization, the optimization of the unreachable treatment node includes: For treatment nodes that are unreachable, optimize the head position for treatment first. If the treatment head pose optimization transforms the unreachable treatment node into a reachable treatment node, then the treatment head pose optimization is performed on other unreachable treatment nodes; if the unreachable treatment node is still unreachable after the treatment head pose optimization, then the beam direction optimization is performed. If the beam direction optimization transforms the unreachable treatment node into a reachable treatment node, then the treatment head pose optimization is performed on other unreachable treatment nodes; if the unreachable treatment node is still unreachable after the beam direction optimization, then the node position optimization is performed. If the node position optimization transforms the unreachable treatment node into a reachable treatment node, then the treatment head pose optimization is performed on other unreachable treatment nodes; if the unreachable treatment node is still unreachable after the node position optimization, the unreachable treatment node is removed.
[0010] As an optional implementation of this application, optimizing the treatment head pose for the unreachable treatment node includes: Under the constraint that the beam centerline passes through the unreachable treatment node and the beam points to the center of the target area, multiple optional poses are determined when the treatment head reaches the unreachable treatment node. The multiple optional poses include at least the pose obtained by adjusting the rotation angle of the treatment head around the beam centerline. For each selectable pose, solve the inverse kinematics of the robot arm to obtain the first set of joint angle solutions. Then, remove solutions from the first set of joint angle solutions that have joint angles that exceed the limit range, have a singular configuration, or do not meet the velocity constraints to obtain the first usable inverse solution. For each available inverse solution, collision detection is performed to calculate the minimum distance between each link of the treatment head and robotic arm and the human body model, treatment bed model, treatment room model and obstacle model in the pre-constructed virtual treatment room model; If the minimum distance is less than the preset collision space threshold, then the first available inverse solution is determined to be in collision; if the minimum distance is not less than the preset collision space threshold, then the first available inverse solution is determined to be in collision-free. If there exists at least one optional pose corresponding to at least one set of collision-free first available inverse solutions, then the unreachable treatment node is determined to be transformed into a reachable treatment node after treatment head pose optimization; and unreachable treatment nodes whose available inverse solutions corresponding to all optional poses are determined to be collision-free are determined to still be unreachable.
[0011] As an optional implementation of this application, it also includes: If there are multiple collision-free optional poses and first available inverse kinematics combinations, then one of them is selected as the target pose and inverse kinematics combination according to a preset optimization criterion, which includes joint limit margin, collision safety margin and singularity avoidance index. After normalizing the joint limit margin, collision safety margin, and singular avoidance index, the values are weighted and summed according to preset weights. The set with the largest weighted sum is selected as the target pose and inverse solution combination.
[0012] As an optional implementation of this application, beam direction optimization is performed on the unreachable treatment node, including: For unreachable treatment nodes, determine the first point on the treatment head that is closest to the obstacle and the second point on the obstacle that is closest to the treatment head. Calculate the first repulsion vector based on the first and second points. The first repulsion vector = the difference between the coordinates of the first point and the second point / the distance from the first point to the second point. The first repulsion vector is projected onto a plane perpendicular to the reference beam direction to obtain a deflection direction unit vector. The reference beam direction is the direction of the line connecting the unreachable treatment node and the center of the target area, and the deflection direction is the direction that moves the treatment head away from the obstacle. The beam deflection angle is gradually increased by a preset step size. At each step, the deflected beam direction is calculated based on the deflection direction unit vector and the current beam deflection angle. The spatial posture of the treatment head is then redefined so that the center line of the treatment head beam is along the deflected beam direction. Solve the inverse kinematics of the robotic arm for the treatment head spatial posture corresponding to each deflected beam direction to obtain the second set of joint angle solutions. Then, remove solutions from the second set of joint angle solutions that have joint angles that exceed the limit range, have singular configurations, or do not meet the velocity constraints to obtain the second usable inverse solution. For each second available inverse solution, collision detection is performed to calculate the minimum distance between each link of the treatment head and robotic arm and the human body model, treatment bed model, treatment room model and obstacle model in the pre-constructed virtual treatment room model; If the minimum distance is not less than the preset collision space threshold, then the unreachable treatment node is determined to become a reachable treatment node under the deflected beam direction, and the beam direction deflection angle is stopped. If there is still no second available inverse solution without collision when the beam direction deflection angle reaches the preset upper limit of the deflection angle, then it is determined that the unreachable treatment node is still unreachable after beam direction optimization; wherein, the beam direction deflection angle does not exceed the preset upper limit of the deflection angle.
[0013] As an optional implementation of this application, node location optimization is performed on the unreachable treatment node, including: For unreachable treatment nodes, determine the third point on the treatment head that is closest to the obstacle and the fourth point on the obstacle that is closest to the treatment head. Calculate the second repulsion vector based on the third and fourth points. The second repulsion vector = the difference between the coordinates of the third point and the fourth point / the distance from the third point to the fourth point. The second repulsion vector is projected onto a plane perpendicular to the original treatment node direction to obtain the node movement direction, which is the direction that moves the treatment head away from the obstacle. The spherical angle is gradually increased by a preset angle step size. At each step, the new treatment node direction is calculated based on the original treatment node direction, the node movement direction, and the current spherical angle. The direction from the center of the target area to the new treatment node is tilted from the original treatment node direction to the node movement direction by the current spherical angle, thereby determining the spherical position of the new treatment node. For each new treatment node, the target pose of the treatment head is determined under the constraint that the beam centerline passes through the new treatment node and points to the center of the target area. The inverse kinematics of the robotic arm is solved for the target pose of the treatment head to obtain the third set of joint angle solutions. Solutions that exceed the limit range of joint angles, have singular configurations, or do not meet the velocity constraints are removed from the third set of joint angle solutions to obtain the third usable inverse solution. For each third available inverse solution, collision detection is performed to calculate the minimum distance between each link of the treatment head and robotic arm and the human body model, treatment bed model, treatment room model and obstacle model in the pre-constructed virtual treatment room model; If the minimum distance is not less than the preset collision space threshold, then it is determined that the unreachable treatment node has been transformed into a reachable treatment node after node position optimization, and the increase of the spherical angle is stopped. If there is still no third available inverse solution without collision when the spherical angle reaches the upper limit of the preset angular distance, then it is determined that the unreachable treatment node is still unreachable after node position optimization, wherein the spherical angle does not exceed the upper limit of the preset angular distance.
[0014] Secondly, a control device for a single isocentric large solid angle radiotherapy system is provided, the system comprising a multi-degree-of-freedom robotic arm, a treatment head mounted at the end of the robotic arm, and a treatment bed for placing a patient to be treated, the device comprising: The installation relationship determination module is used to determine the target installation relationship between the treatment head and the end effector of the robotic arm among multiple installation relationships, with the ratio of reachable treatment nodes covering the treatment isocenter sphere and the uniformity of the distribution of reachable treatment nodes on the sphere as optimization objectives. The treatment isocenter sphere is composed of discrete treatment nodes, the center of the treatment isocenter sphere is a unique treatment isocenter point, the reachable treatment nodes are treatment nodes that the robotic arm can directly reach, and the installation relationship includes the position of the treatment head mounting interface on the treatment head housing and the installation attitude angle of the treatment head relative to the end effector flange of the robotic arm. The installation relationship adjustment module is used to adjust the actual installation relationship between the treatment head and the end of the robotic arm to the target installation relationship. An unreachable node determination module is used to determine unreachable treatment nodes after the installation relationship between the treatment head and the end of the robotic arm is adjusted to the target installation relationship; An unreachable node optimization module is used to optimize the unreachable treatment node, transforming it into a reachable treatment node. The optimization includes one or more of the following: treatment head pose optimization, beam direction optimization, and node position optimization.
[0015] Thirdly, a control device is provided, comprising: At least one processor and at least one memory; The memory stores the executable instructions of the processor; The processor is configured to perform the control method for a single isocenter large stereo angle radiotherapy system as described above.
[0016] Fourthly, a single isocentric large stereo angle radiotherapy system is provided, comprising: Multi-degree-of-freedom robotic arm; A treatment head mounted at the end of a robotic arm; Treatment beds for placing patients awaiting treatment; Such as the control equipment mentioned above.
[0017] Beneficial effects: This application provides a control method, device, and system for a single isocenter large solid angle radiotherapy system. The optimization targets are the proportion of reachable treatment nodes covering the treatment isocenter sphere and the uniformity of the distribution of reachable treatment nodes on the sphere. Among multiple installation relationships, the target installation relationship between the treatment head and the robotic arm end effector is determined. This incorporates the position of the treatment head mounting interface on the treatment head housing and the installation attitude angle of the treatment head relative to the robotic arm end effector flange into the quantitative optimization oriented towards single isocenter sphere coverage. This allows the multi-degree-of-freedom robotic arm to directly reach more reachable treatment nodes on the treatment isocenter sphere, which is composed of discrete treatment nodes and has the sphere center as the unique treatment isocenter point. It also improves the uniformity of the reachable treatment nodes' distribution on the sphere, avoiding the loss of radiation fields in areas such as the under-bed direction due to installation based solely on experience or local optimization. After adjusting the actual installation relationship between the treatment head and the robotic arm end effector to the target installation relationship, unreachable treatment nodes are then identified, enabling accurate identification of remaining unreachable areas based on the optimized installation foundation. Further optimization of unreachable treatment nodes involves one or more of the following: treatment head pose optimization, beam direction optimization, and node position optimization. This transforms the unreachable treatment nodes into reachable ones. Under single isocenter conditions, the reachability of treatment nodes can be restored through various kinematic and geometric adjustments, expanding the effective irradiation range within the continuous spherical space, increasing field coverage density and solid angle coverage, and improving dose distribution. Finally, control commands for the robotic arm are generated based on the optimized reachable treatment nodes, ensuring consistency between the control commands and the optimized set of reachable treatment nodes. This improves the accuracy, automation, and continuity of the robotic arm's motion control, while maintaining a unique treatment isocenter as the geometric reference throughout the process. This avoids reference changes, re-registration, and process interruptions caused by switching between multiple isocenters, thereby enhancing the treatment efficiency, positioning consistency, and safety of the single isocenter large solid angle radiotherapy system. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a flowchart of a control method for a single isocenter large stereo angle radiotherapy system provided in an embodiment of this application; Figure 2 This is a schematic diagram of the control device structure of a single isocenter large solid angle radiotherapy system provided in an embodiment of this application; Figure 3 This is a schematic diagram of the specific structure of a single isocenter large solid angle radiotherapy system provided in the embodiments of this application. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be described in detail below with reference to the accompanying drawings and embodiments. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments of this application, all other implementation methods obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0021] Example 1
[0022] Reference Figure 1 This application provides a control method for a single isocentric large solid angle radiotherapy system. The system includes a multi-degree-of-freedom robotic arm, a treatment head mounted at the end of the robotic arm, and a treatment bed for placing a patient. The method includes: S11: Using the proportion of reachable treatment nodes covering the treatment isocenter sphere and the uniformity of the distribution of reachable treatment nodes on the sphere as optimization objectives, the target installation relationship between the treatment head and the end of the robotic arm is determined among multiple installation relationships. The treatment isocenter sphere is composed of discrete treatment nodes, the center of the treatment isocenter sphere is a unique treatment isocenter point, the reachable treatment nodes are treatment nodes that the robotic arm can directly reach, and the installation relationship includes the position of the treatment head mounting interface on the treatment head housing and the installation attitude angle of the treatment head relative to the end flange of the robotic arm. As a preferred implementation of this application, the step of determining the target installation relationship between the treatment head and the end effector of the robotic arm among multiple installation relationships, using the proportion of reachable treatment nodes covering the isocentric spherical surface of the treatment area and the uniformity of the distribution of reachable treatment nodes on the spherical surface as optimization objectives, includes: S111: Construct a virtual treatment room model, which includes a robotic arm model, a treatment bed model, a human body model, a treatment room model, and an obstacle model. Define the treatment isocentric sphere in the virtual treatment room model and discretize the treatment isocentric sphere into multiple treatment nodes at preset angle intervals. A virtual treatment room model was constructed to simulate and calculate the reachable treatment nodes of the robotic arm under different installation configurations. This virtual treatment room model includes the following fixed components: a robotic arm model, a treatment bed model, a human body model, a treatment room model, and obstacle models. The spatial relationships between these fixed components are arranged according to theoretical design, and a treatment isocentric sphere is defined in the model.
[0023] The treatment isocenter spherical surface is discretized into multiple treatment nodes. The preferred discretization method is to evenly distribute the treatment nodes on the spherical surface at preset angular intervals, with the treatment isocenter as the center. The angular interval is preferably 2° to 10°, and more preferably 6°. Each treatment node corresponds to a radiation field direction; the arrival of the treatment head at that node indicates that the robotic arm can project a beam along that direction.
[0024] In subsequent collision detection, if the model is overly simplified, potentially leading to the exclusion of actually reachable firing fields due to overly conservative judgments, thus reducing the reachable space; conversely, if the model is incomplete, it may underestimate the collision risk. Therefore, this embodiment, while ensuring collision safety, retains more actually reachable firing field directions, expanding the effective solid angle coverage. A specific model construction method is provided below: Patient-personalized model construction based on DICOM information (medical digital imaging and communication information): Patient height, weight, treatment site, and body surface contour are extracted from CT simulation images. The body surface contour is used to generate a 3D mesh model through threshold segmentation and surface reconstruction. Skeletal structure is extracted through CT value threshold segmentation and used to distinguish bony prominences from soft tissue areas in collision detection: a larger collision space threshold is set for bony prominence areas to avoid misjudgment due to respiratory movements or minor changes in body position.
[0025] Height, weight, and treatment site information are used to select a body shape template to complete areas of missing contours in CT images caused by differences in breathing or body position. The completed body surface model is registered and fused with the CT-extracted contour in the overlapping area, with a model accuracy preferably better than 2 mm. An accurate body surface model helps to accurately distinguish between actual collisions and near-but-not-collision situations in collision detection, avoiding excessive rejection of the radiation field due to a coarse model.
[0026] During CT simulation positioning, patient positioning images are acquired to extract the contact relationship between the patient's body surface and the treatment bed panel, including the back contact area, the relative positions of the sides and the edge of the bed panel, and the projected contour of the body surface on the bed panel. Using these contact relationships as constraints, the patient's body surface model is placed into the virtual treatment room coordinate system to determine its spatial position and orientation relative to the treatment bed model. This results in more accurate distance determination between the treatment head and robotic arm and the patient's body surface during collision detection, avoiding misclassification of reachable fields as collisions due to positional deviations.
[0027] The virtual treatment room model further incorporates positioning plates and thermoplastic membrane models. The positioning plate model is constructed based on actual geometric dimensions, including plate thickness, edge contours, and connection structures to the bed panel, and is placed according to its actual installation position. The thermoplastic membrane model is obtained through one of the following methods: extracting the thermoplastic membrane contour from CT images, or performing a separate 3D scan of the thermoplastic membrane. The thermoplastic membrane model is placed according to its actual position during the CT scan and registered along with the patient's body surface model.
[0028] Including the positioning plate and thermoplastic film in the collision detection allows collision detection to better reflect the actual spatial relationships during treatment. In situations where the robotic arm moves in a confined space under the bed, the contours of the thermoplastic film and positioning plate may affect the passage of the treatment head and arm. Accurate modeling can precisely distinguish between real collisions caused by the fixation device and misjudged collisions due to model deficiencies, thus preserving more practically accessible radiation field directions.
[0029] In collision detection, the positioning plate and thermoplastic film are included in the calculation as part of the collision objects. The minimum distance between the treatment head and each link of the robotic arm and the thermoplastic film model must not be less than the collision space threshold; the minimum distance between them and the positioning plate model must also meet the collision space threshold. By accurately calculating the above minimum distances, it is possible to avoid misclassifying non-collision fields as collisions while ensuring safety, thereby improving the calculation accuracy of the reachable space and the solid angle coverage.
[0030] S112: The installation relationship between the treatment head and the end of the robotic arm is taken as a variable to be optimized. The installation relationship includes the position of the treatment head mounting interface on the treatment head housing and the installation attitude angle of the treatment head relative to the flange of the end of the robotic arm. In the virtual treatment room model described above, the installation relationship between the treatment head and the robotic arm end effector is a variable. This variable includes the position of the treatment head mounting interface on the treatment head housing and the installation attitude angle of the treatment head relative to the robotic arm end effector flange. Different installation configurations can be obtained by changing these variables.
[0031] S113: For each set of installation relationships, solve the inverse kinematics of the robotic arm for each treatment node according to the original pose to obtain multiple sets of joint angle solutions. Eliminate solutions where the joint angles exceed the limit range, do not meet the velocity constraints, or are close to singular configurations to obtain usable inverse solutions. The original pose is the pose of the treatment head when it reaches each treatment node under each set of installation relationships. S114: Perform collision detection on each available inverse solution to determine whether the minimum distance between each link of the treatment head and robotic arm and the human body model, treatment bed model, treatment room model and obstacle model is less than the preset collision space threshold. S115: If there exists at least one set of inverse solutions that make the minimum distance between each link of the treatment head and the robotic arm and the above model not less than the preset collision space threshold, then the treatment node is determined to be a reachable treatment node under the current installation relationship; otherwise, it is determined to be an unreachable treatment node. For each set of installation configuration variables, the reachable treatment nodes of the robotic arm are calculated iteratively. Specifically, for each treatment node, the pose of the treatment head in the sphere-centered coordinate system is obtained. Based on the relationship between the sphere center and the robotic arm base, the pose of the treatment head under the robotic arm base is obtained. Then, inverse kinematics of the robotic arm is solved based on this pose, resulting in multiple sets of inverse kinematics solutions. These multiple sets of inverse kinematics solutions are iterated through, and it is determined whether the minimum distance between the treatment head and each link of the robotic arm and the human body model, treatment bed model, treatment room model, and obstacle model is less than the collision space threshold. If at least one set of inverse kinematics solutions meets the requirements, the current treatment node is a reachable treatment node; otherwise, it is an unreachable treatment node.
[0032] The collision space settings include: A collision space threshold is set. A collision is considered to have occurred when the minimum distance between the treatment head or robotic arm and the human body model, treatment bed model, treatment room model, or obstacle model is less than this threshold. The preferred collision space threshold is 5 cm. This threshold setting takes into account uncertainties such as the patient's respiratory movements, treatment bed positioning errors, and robotic arm movement errors.
[0033] S116: Count the number of reachable treatment nodes under each installation relationship, and calculate the ratio between the number of reachable treatment nodes and the total number of treatment nodes as the proportion of reachable treatment nodes covering the treatment isocentric sphere; divide the treatment isocentric sphere into multiple regions according to the principle of equal area, and calculate the ratio between the number of reachable treatment nodes in each region and the total number of treatment nodes in that region as the reachable coverage rate of that region; calculate the average coverage rate and coverage standard deviation of that region based on the reachable coverage rate; calculate the spherical reachable treatment node distribution uniformity based on the average coverage rate and the coverage standard deviation, spherical reachable treatment node distribution uniformity = 1 - coverage standard deviation squared / [average coverage rate * (1 - average coverage rate) + non-zero minima], where the non-zero minima is used to prevent the denominator from being 0; S117: Construct an optimization objective function based on the proportion of the reachable treatment nodes covering the treatment isocenter sphere and the uniformity of the distribution of the spherical reachable treatment nodes. The optimization objective function = first preset weight * proportion of reachable treatment nodes covering the treatment isocenter sphere + second preset weight * uniformity of the distribution of the spherical reachable treatment nodes. Select the installation relationship that maximizes the value of the optimization objective function as the target installation relationship between the treatment head and the end of the robotic arm.
[0034] For example, the treatment isocentric spherical surface is uniformly discretized into There are [number] treatment nodes. For each installation configuration, the set of reachable treatment nodes is obtained through inverse kinematics solution, singularity detection, and collision detection. Total number of reachable treatment nodes The total number of reachable treatment nodes is defined as follows: ,in The larger the value, the more reachable treatment nodes there are, and the greater the spherical coverage ratio. The sphere is divided according to the principle of equal area. The first region, the first The number of nodes in each region is The number of achievable treatment nodes is The reachable coverage of this area is defined as... The average coverage rate across all areas is The standard deviation of coverage in each region is The distribution uniformity index is defined as , To prevent decimals with a denominator of 0, when the coverage rate of each region is exactly the same, When the distribution is extremely uneven, Approaching 0. Considering both the total number of reachable treatment nodes and the overall uniformity of the spherical distribution, the optimization objective function is defined as: ,in , As preset weights, and Since the total number of reachable treatment nodes is an important indicator, and a uniform spherical distribution is required, preferably, Choose to make The optimal installation configuration is the one with the largest possible installation area. Uniform distribution ensures the distribution of treatment points under the bed.
[0035] It should be noted that singularity detection refers to the process of determining whether a robotic arm's Jacobian matrix is full rank or close to full rank under a given joint angle or configuration, in order to identify whether the robotic arm is in a singular configuration or close to a singular configuration. When the Jacobian matrix decreases in rank (no longer full rank), or the matrix determinant becomes zero, or the minimum singular value becomes zero, it is determined to be in a singular configuration. In actual calculations, due to the existence of errors, indicators such as the condition number, the reciprocal of the condition number, the minimum singular value, or the matrix determinant are usually further calculated and compared with preset thresholds. If the condition number is too large, the reciprocal of the condition number is too small, the minimum singular value is too small, or the absolute value of the matrix determinant is too small, it is determined to be close to a singular configuration. In this embodiment, singularity detection is used to eliminate solutions close to singular configurations after solving the inverse kinematics. The reciprocal of the condition number can be used as a singularity avoidance indicator; the larger the reciprocal of the condition number, the further the robotic arm is from a singular configuration. If the reciprocal of the condition number is too small, the inverse solution is determined to be close to a singular configuration and is eliminated. The specific detection method is a conventional technical means in this field, and this application has not made any improvements, so it will not be described in detail here.
[0036] S12: Adjust the actual installation relationship between the treatment head and the end of the robotic arm to the target installation relationship; For systems where the installation relationship between the treatment head and the robotic arm end effector can be automatically adjusted, adjusting the actual installation relationship between the treatment head and the robotic arm end effector to the target installation relationship can be automatically adjusted. For systems where automatic adjustment is not possible, manual adjustment can be used.
[0037] S13: After the installation relationship between the treatment head and the end of the robotic arm is adjusted to the target installation relationship, an unreachable treatment node is determined; That is, after the installation relationship between the treatment head and the end of the robotic arm is adjusted to the target installation relationship, collision detection is performed again to determine the unreachable treatment node.
[0038] S14: Optimize the unreachable treatment node to transform it into a reachable treatment node. The optimization includes one or more of treatment head pose optimization, beam direction optimization, and node position optimization. In one embodiment, any one of the three optimization methods can be used alone.
[0039] In another embodiment, three optimization methods can be used simultaneously. That is, when the optimization simultaneously includes treatment head pose optimization, beam direction optimization, and node position optimization, the optimization of the unreachable treatment node includes: S141: For unreachable treatment nodes, first optimize the treatment head pose; the unreachable treatment node can be any unreachable treatment node or any one of the selected unreachable treatment nodes.
[0040] For unreachable treatment nodes, treatment head pose optimization is performed first because, under the constraint of keeping the beam centerline passing through the unreachable treatment node and the beam pointing towards the center of the target area, multiple optional poses are determined by adjusting the rotation angle of the treatment head around the beam centerline, etc., and the collision-free available inverse solution is selected by utilizing the multiple solutions of the inverse kinematics of the robotic arm. This does not change the reference beam direction or move the treatment node, has the least impact on the target area dose coverage and the distribution of the radiation field direction, and best conforms to the benchmark of a single isocenter large solid angle irradiation system that maintains a unique treatment isocenter point and a fixed set of treatment nodes.
[0041] S142: If the treatment head pose optimization transforms the unreachable treatment node into a reachable treatment node, then perform treatment head pose optimization on other unreachable treatment nodes; if the unreachable treatment node is still unreachable after the treatment head pose optimization, perform beam direction optimization. If treatment head pose optimization has transformed an unreachable treatment node into a reachable one, then treatment head pose optimization should still be performed on other unreachable treatment nodes first. This is to ensure that all unreachable treatment nodes are given priority in trying this method, which has the lowest cost and least dosimetric impact, avoiding direct entry into beam direction optimization or node position optimization, which would introduce unnecessary beam direction deflection or node position changes. If the unreachable treatment node remains unreachable after treatment head pose optimization, then beam direction optimization is performed. This is because beam direction optimization requires deflecting the beam direction relative to the reference beam direction. Although the deflected beam direction still meets constraints such as the deflection angle not exceeding the preset upper limit and the beam centerline passing through the area near the treatment node and pointing towards the target area, it has already changed the beam direction. The requirements for target area dose coverage and plan optimization compensation are higher than those of treatment head pose optimization. Therefore, it should be used as a secondary method after treatment head pose optimization has failed.
[0042] S143: If the beam direction optimization transforms the unreachable treatment node into a reachable treatment node, then the treatment head pose optimization is performed on other unreachable treatment nodes; if the unreachable treatment node is still unreachable after the beam direction optimization, node position optimization is performed. If the target-unreachable treatment node remains unreachable after beam direction optimization, then node position optimization is performed. This is because node position optimization requires moving the treatment node along the treatment isocenter sphere, changing the position of the treatment node and the distribution of the radiation field direction. Although the new treatment node still satisfies constraints such as the angular distance not exceeding the preset angular distance limit and the beam centerline passing through the new treatment node and pointing towards the center of the target area, it has the greatest impact on the radiation field direction set and dose distribution in the treatment plan. Therefore, it can only be used as a last resort when treatment head pose optimization and beam direction optimization cannot make the target-unreachable treatment node reachable.
[0043] S144: If the node position optimization transforms the unreachable treatment node into a reachable treatment node, then the treatment head pose optimization is performed on other unreachable treatment nodes; if the unreachable treatment node is still unreachable after the node position optimization, the unreachable treatment node is removed.
[0044] If the unreachable treatment node remains unreachable after node position optimization, it will be removed. This is because if the treatment head pose optimization, beam direction optimization, and node position optimization cannot transform it into a reachable treatment node, continuing to retain the node may lead to collision risks or unexecutable control commands, so it will be removed in the end.
[0045] Furthermore, if any two optimization methods are selected, the order of the two optimization methods shall be as described above, that is, the treatment head pose optimization has the highest priority, the beam direction optimization has the second highest priority, and the node position optimization has the lowest priority.
[0046] As a preferred implementation of this application, optimizing the treatment head pose of the unreachable treatment node includes: Under the constraint that the beam centerline passes through the unreachable treatment node and the beam points to the center of the target area, multiple optional poses are determined when the treatment head reaches the unreachable treatment node. The multiple optional poses include at least the pose obtained by adjusting the rotation angle of the treatment head around the beam centerline. For each selectable pose, solve the inverse kinematics of the robot arm to obtain the first set of joint angle solutions. Then, remove solutions from the first set of joint angle solutions that have joint angles that exceed the limit range, have a singular configuration, or do not meet the velocity constraints to obtain the first usable inverse solution. For each available inverse solution, collision detection is performed to calculate the minimum distance between each link of the treatment head and robotic arm and the human body model, treatment bed model, treatment room model and obstacle model in the pre-constructed virtual treatment room model; If the minimum distance is less than the preset collision space threshold, then the first available inverse solution is determined to be in collision; if the minimum distance is not less than the preset collision space threshold, then the first available inverse solution is determined to be in collision-free. If there exists at least one optional pose corresponding to at least one set of collision-free first available inverse solutions, then the unreachable treatment node is determined to be transformed into a reachable treatment node after treatment head pose optimization; and unreachable treatment nodes whose available inverse solutions corresponding to all optional poses are determined to be collision-free are determined to still be unreachable.
[0047] Furthermore, it also includes: If there are multiple collision-free optional poses and first available inverse kinematics combinations, then one of them is selected as the target pose and inverse kinematics combination according to a preset optimization criterion, which includes joint limit margin, collision safety margin and singularity avoidance index. After normalizing the joint limit margin, collision safety margin, and singular avoidance index, the values are weighted and summed according to preset weights. The set with the largest weighted sum is selected as the target pose and inverse solution combination.
[0048] For example, in the above-described optimization of the installation of the treatment head and the end effector of the robotic arm, the position of the treatment node on the treatment isocentric sphere is fixed, and the pose of the treatment head when it reaches each treatment node is also preset. However, the above-mentioned fixed pose may lead to collisions. This embodiment utilizes the kinematic redundancy of the robotic arm to adjust the pose of the treatment head when it reaches the treatment node while keeping the spatial position of the beam center unchanged, making treatment nodes that were originally unreachable due to collisions reachable.
[0049] On the treatment isocentric sphere, each treatment node corresponds to a radiation field direction, which is determined by the beam centerline passing through the treatment node and the beam pointing towards the center of the target area. Under this constraint, the treatment head still has multiple selectable arrival poses.
[0050] Specifically, for a given treatment node, the direction of the beam centerline of the treatment head is determined by the line connecting the treatment node position and the center of the target area. However, the rotation angle of the treatment head around the beam centerline is not constrained by this line; that is, the treatment head can rotate around the beam centerline while maintaining its direction. Furthermore, the translation of the treatment head along the beam centerline direction can also be adjusted within a certain range. Therefore, the same treatment node corresponds to multiple sets of treatment head poses.
[0051] The preferred robotic arm is a six-axis tandem robotic arm. Taking a six-axis robotic arm as an example, given the target pose of the end effector, there are typically eight sets of inverse kinematics solutions. These eight sets of solutions correspond to different configurations of the robotic arm, such as combinations of left / right shoulder, up / down elbow, and wrist rotation / non-rotation. Among the eight sets of inverse solutions, some solutions are eliminated because the joint angles exceed the limit range or are close to singular configurations. After elimination, usually two to three sets of inverse solutions remain usable.
[0052] When a treatment node collides with a preset treatment head pose, the pose optimization is performed according to the following steps: Step 1: Collision Detection Under the preset treatment head pose, collision detection is performed using the aforementioned virtual treatment room model. If the minimum distance between the treatment head or robotic arm link and the patient's body surface model, treatment bed model, or treatment room equipment model is less than the collision space threshold, then a collision is determined to have occurred under the preset pose.
[0053] Step 2: Pose Adjustment While maintaining the constraint that the beam centerline passes through the treatment node and the beam points towards the center of the target area, adjust the rotation angle of the treatment head around the beam centerline. The preferred adjustment range for the rotation angle is -90° to +90°. For each adjusted rotation angle, recalculate the treatment head pose.
[0054] Step 3: Solve the inverse kinematics For each adjusted treatment head pose, solve the inverse kinematics of the robotic arm to obtain multiple sets of joint angle solutions. Discard solutions where joint angles exceed limits, velocity constraints are not met, or are close to singular configurations, and retain usable inverse solutions.
[0055] Step 4: Collision Re-inspection For each available inverse kinematics solution, calculate the spatial pose of the treatment head and each link of the robotic arm in the virtual treatment room, and perform collision detection. If there exists at least one available inverse kinematics solution that ensures no collisions between the treatment head and each link of the robotic arm, then the treatment node is reachable under the adjusted pose.
[0056] Step 5: Optimal Pose Selection. If multiple collision-free pose-inverse kinematics combinations exist, the optimal combination is selected according to a preset optimization criterion. The preferred optimization criterion is as follows: the margin of each joint angle of the robotic arm from the limit boundary, the margin of the minimum distance between each link of the robotic arm and the obstacle relative to the collision safety threshold, and the degree to which the robotic arm moves away from the singular configuration are taken as three optimization sub-objectives. These are normalized separately, weighted, and summed according to preset weights to construct a comprehensive optimization function. The pose-inverse kinematics combination that maximizes this comprehensive optimization function is selected as the optimal pose.
[0057] Specifically, the following three optimization sub-objectives are defined: (1) Joint limit margin : The margin of the angle of each joint of the robotic arm from the limit boundary, taking the minimum value of the normalized limit margin of each joint; (2) Collision safety margin Minimum distance between each link of the robotic arm and the treatment head and the obstacle. Relative to the collision safety threshold The margin, that is ,in The preferred size is 5cm; (3) Singularity Avoidance Index The degree to which the robotic arm deviates from the singular configuration can be taken as the reciprocal of the condition number. , k usually represents the condition number of the Jacobian matrix of the robotic arm, that is, the ratio of the largest singular value to the smallest singular value, and eps represents the preset non-zero minima.
[0058] After normalizing the three sub-objectives respectively, a comprehensive optimization function is constructed:
[0059] in Preferably, Choose to make The largest candidate is selected as the optimal pose-inverse solution combination.
[0060] After the pose optimization described above, the reachability of each treatment node in the candidate field set is reassessed. Treatment nodes that collide in the preset pose but not in the adjusted pose are reinstated into the reachable field set. Treatment nodes that collide in all available poses are deemed unreachable and removed from the candidate set.
[0061] Through the above pose optimization, the number of reachable treatment nodes increases, and the coverage of the field direction on the treatment isocenter sphere expands, which is beneficial to improving dose distribution.
[0062] As a preferred implementation of the embodiments of this application, Optimizing the beam direction for the unreachable treatment nodes includes: For unreachable nodes, determine the first point on the treatment head that is closest to the obstacle and the second point on the obstacle that is closest to the treatment head. Calculate the first repulsion vector based on the first and second points. The first repulsion vector = the difference between the coordinates of the first point and the second point / the distance from the first point to the second point. The first repulsion vector is projected onto a plane perpendicular to the reference beam direction to obtain a deflection direction unit vector. The reference beam direction is the direction of the line connecting the unreachable treatment node and the center of the target area, and the deflection direction is the direction that moves the treatment head away from the obstacle. The beam deflection angle is gradually increased by a preset step size. At each step, the deflected beam direction is calculated based on the deflection direction unit vector and the current beam deflection angle. The spatial posture of the treatment head is then redefined so that the center line of the treatment head beam is along the deflected beam direction. Solve the inverse kinematics of the robotic arm for the treatment head spatial posture corresponding to each deflected beam direction to obtain the second set of joint angle solutions. Then, remove solutions from the second set of joint angle solutions that have joint angles that exceed the limit range, have singular configurations, or do not meet the velocity constraints to obtain the second usable inverse solution. For each second available inverse solution, collision detection is performed to calculate the minimum distance between each link of the treatment head and robotic arm and the human body model, treatment bed model, treatment room model and obstacle model in the pre-constructed virtual treatment room model; If the minimum distance is not less than the preset collision space threshold, then the unreachable treatment node is determined to become a reachable treatment node under the deflected beam direction, and the beam direction deflection angle is stopped. If there is still no second available inverse solution without collision when the beam direction deflection angle reaches the preset upper limit of the deflection angle, then it is determined that the unreachable treatment node is still unreachable after beam direction optimization; wherein, the beam direction deflection angle does not exceed the preset upper limit of the deflection angle.
[0063] In the above-mentioned treatment head pose optimization, the beam direction corresponding to each treatment node is fixed. Pose optimization can only adjust the rotation angle of the treatment head around the beam centerline while keeping the beam direction unchanged. This embodiment, based on this, allows the beam direction to deflect within a preset deflection angle range to expand the number of reachable fields and further expand the effective solid angle coverage.
[0064] It should be noted that the beam direction is determined by the orientation of the beam centerline in space. On the treatment isocentric sphere, each treatment node corresponds to a reference beam direction, which is the direction of the line connecting the treatment node and the center of the target area. In this embodiment, the beam direction is allowed to deflect relative to the reference beam direction by a preset angle, denoted as the beam direction deflection angle. The preferred range of the beam direction deflection angle is 0° to 10°. An excessively large deflection angle will cause the beam centerline to deviate from the target area, affecting the target area dose coverage; an excessively small deflection angle will limit the freedom of beam direction adjustment, making it difficult to effectively avoid collisions. The above-mentioned deflection angle range provides the necessary freedom for beam direction adjustment while ensuring target area dose coverage.
[0065] The beam deflection must satisfy the following geometric constraints: Deflection angle constraint.
[0066] The angle between the deflected beam direction and the reference beam direction shall not exceed the preset upper limit of the deflection angle, which is preferably 10°. The above upper limit of the deflection angle is set based on the following: for a typical target area radius (2 cm to 5 cm), the offset of the beam centerline caused by the beam direction deflection at the edge of the target area shall not exceed 20% of the target area radius, which can be compensated for in the treatment plan optimization by multi-field superposition.
[0067] Incident point constraint.
[0068] The deflected beam centerline passes through a spherical region centered on the treatment node and with a preset deflection radius. The deflection radius is preferably no greater than 0.8 times the radius of the target area.
[0069] Target coverage constraints The distance between the projection point of the deflected beam centerline on the target area center plane and the target area center does not exceed a preset value, which is preferably 0.3 times the target area radius.
[0070] The beam direction deflection is achieved as follows: The treatment head is mounted at the end effector of a robotic arm. The robotic arm adjusts the end effector's pose to deviate the beam centerline of the treatment head from the reference beam direction. Since the direction of the treatment head's beam centerline relative to the treatment head housing is fixed, adjusting the beam direction is equivalent to adjusting the treatment head's spatial orientation. For a given treatment node, the treatment head can adjust its spatial orientation within the range defined by the above constraints, with each orientation corresponding to a beam direction.
[0071] In some embodiments, the beam can be randomly deflected, and then it can be determined whether the unreachable treatment node can be converted into a reachable treatment node. However, the above scheme is inefficient, especially in cases where it is impossible to convert an unreachable treatment node into a reachable treatment node based on beam direction optimization under constraints.
[0072] Based on this, this application provides a scheme for solving the deflection direction and determining the deflection angle. For example: First, based on the reference beam collision detection results, the pair of points with the minimum collision distance is obtained, specifically the point on the treatment head closest to the obstacle. The point on the obstacle closest to the treatment head Then, the repulsion vector is calculated based on the two points. ,vector The meaning indicates that the treatment head is along Moving in a certain direction allows you to get away from obstacles the fastest. Finally, the repulsion vector... Projected onto a direction perpendicular to the reference beam direction plane, This leads to the unit vector of the deflection direction. The preferred range for the beam deflection angle is 0° to 10°, with a preset step size of 1°, thereby determining the beam deflection angle. Calculate the deflection direction of the beam This formula represents the direction from the reference direction. Depart, in the direction of deflection tilt Angle. If the current deflection angle If the requirements are not met, increase the deflection angle by the search step size until a deflection angle that meets the requirements is found, or the deflection constraint condition for the beam direction is triggered.
[0073] By dynamically adjusting the beam direction, the same treatment node can correspond to multiple effective beam directions. For treatment nodes that cannot be reached by the reference beam direction due to collision, the beam direction can be adjusted to make them reachable. As a result, the number of reachable beam directions increases, the coverage density of beam directions on the treatment isocenter sphere is improved, and the effective solid angle coverage range is expanded.
[0074] As a preferred implementation of this application, the node location optimization of the unreachable treatment node includes: For unreachable treatment nodes, determine the third point on the treatment head that is closest to the obstacle and the fourth point on the obstacle that is closest to the treatment head. Calculate the second repulsion vector based on the third and fourth points. The second repulsion vector = the difference between the coordinates of the third point and the fourth point / the distance from the third point to the fourth point. The second repulsion vector is projected onto a plane perpendicular to the original treatment node direction to obtain the node movement direction, which is the direction that moves the treatment head away from the obstacle, and the original treatment node direction is the direction from the center of the target area to the unreachable treatment node. The spherical angle is gradually increased by a preset angle step size. At each step, the new treatment node direction is calculated based on the original treatment node direction, the node movement direction, and the current spherical angle. The direction from the center of the target area to the new treatment node is tilted from the original treatment node direction to the node movement direction by the current spherical angle, thereby determining the spherical position of the new treatment node. For each new treatment node, the target pose of the treatment head is determined under the constraint that the beam centerline passes through the new treatment node and points to the center of the target area. The inverse kinematics of the robotic arm is solved for the target pose of the treatment head to obtain the third set of joint angle solutions. Solutions that exceed the limit range of joint angles, have singular configurations, or do not meet the velocity constraints are removed from the third set of joint angle solutions to obtain the third usable inverse solution. For each third available inverse solution, collision detection is performed to calculate the minimum distance between each link of the treatment head and robotic arm and the human body model, treatment bed model, treatment room model and obstacle model in the pre-constructed virtual treatment room model; If the minimum distance is not less than the preset collision space threshold, then it is determined that the unreachable treatment node has been transformed into a reachable treatment node after node position optimization, and the increase of the spherical angle is stopped. If there is still no third available inverse solution without collision when the spherical angle reaches the upper limit of the preset angular distance, then it is determined that the unreachable treatment node is still unreachable after node position optimization, wherein the spherical angle does not exceed the upper limit of the preset angular distance.
[0075] In the aforementioned treatment head pose optimization and beam direction optimization, the position of the treatment node on the treatment isocentric sphere is fixed, and collision avoidance is achieved only by adjusting the treatment head pose or beam direction. This embodiment allows the treatment node to move within a small range on the sphere, making treatment nodes that were originally unreachable due to collisions reachable again, further expanding the effective solid angle coverage.
[0076] It should be noted that the treatment node is located on a sphere with the treatment isocenter as its center. Node adjustment refers to moving the treatment node along the sphere by a preset angular distance, adjusting it from its original position to a new position. After adjustment, the beam centerline passes through the new node and points towards the center of the target area.
[0077] In one embodiment, the method is also based on random movement, and then it is calculated whether an unreachable treatment node becomes a reachable treatment node, but this is slower.
[0078] Therefore, in another embodiment, the adjustment direction is calculated first, and then the movement is performed. For example, firstly, based on the reference beam collision detection results, the point pair with the minimum collision distance is obtained, which is the point on the treatment head closest to the obstacle. The point on the obstacle closest to the treatment head Then, the repulsion vector is calculated based on the two points. ,vector The meaning indicates that the treatment head is along By moving in a specific direction, you can move away from obstacles as quickly as possible. This further yields the unit direction vector from the center of the target area to the original treatment node. Finally, construct a direction perpendicular to the original node. Ground plane. Project the repulsion vector onto a plane perpendicular to the ground plane. plane This leads to the unit vector of the node's movement direction. Based on the preset upper limit of angular distance, a preferred 3° is selected and a step size of 1° is set to determine the spherical angle. Therefore, the direction vector from the center of the target area to the new treatment node can be obtained as follows: This determines the spherical position of the new treatment node. If the calculated new node does not meet the requirements, the angle is increased by the search step size until a new node that meets the requirements is found or the new node constraint condition is triggered.
[0079] The constraints include: Angular distance constraint: The spherical angular distance between the new node and the original node shall not exceed the preset upper limit, preferably 3°, because the fixed nodes on the spherical surface are spaced at 6° intervals.
[0080] Target coverage constraint: The distance between the projection point of the line connecting the new node and the center of the target area on the plane of the target area and the center of the target area shall not exceed 0.3 times the radius of the target area.
[0081] It should be noted that both the beam direction optimization and node position optimization mentioned above require calculating the repulsion vector or require the minimum collision distance point pair. Specifically, the minimum distance is used to determine the two points in the minimum collision distance point pair. However, in reality, there may be instances where the treatment head reaches an unreachable target node, and a collision has already occurred between the treatment head and the obstacle, making it impossible to directly obtain the repulsion vector.
[0082] To address the aforementioned issues, in one embodiment, when the treatment head reaches an unreachable treatment node according to its original pose, the minimum distance between the treatment head and the obstacle is obtained. When the minimum distance equals a threshold (such as a preset collision space threshold), the positional relationship between the treatment head and the obstacle is determined. Based on this positional relationship, the minimum collision distance pair is determined, thereby obtaining the repulsion vector.
[0083] In the second embodiment, when obtaining the point pair with the minimum collision distance, this application classifies unreachable treatment nodes. Unreachable treatment nodes that will not generate actual collisions, i.e., whose minimum distance is less than a preset collision space threshold but greater than 0, are designated as target unreachable treatment nodes. This is because such unreachable treatment nodes can be adjusted more precisely and are less likely to exceed constraints. Unreachable treatment nodes that will generate actual collisions, on the other hand, are mostly unable to be converted into reachable treatment nodes under constraints, resulting in lower cost-effectiveness.
[0084] In the third embodiment, for unreachable treatment nodes that will result in actual collisions, the separation direction of the two colliding objects (treatment head and obstacle) can be calculated by the collision detection module. For convex polyhedron models, the GJK (Gilbert-Johnson-Keerthi) algorithm can be used to determine whether there is a contact collision. The simplex obtained by GJK is used as the initial polyhedron, and the EPA algorithm (Expanding Polytope Algorithm) is used to iteratively expand the polyhedron until it approaches the boundary of the Minkowski difference. The specific steps are as follows: 1. Use the final simplex of GJK as the initial polyhedron; 2. Find the face of the polyhedron that is closest to the origin; 3. Along the direction of the outward normal of the surface, find new support points on the Minkowski difference boundary; 4. If the distance between the new support point and the surface is less than the preset convergence threshold, then the outward normal direction of the surface is the separation direction; 5. Otherwise, add the new support point to the polyhedron, update the polyhedron, and repeat steps 2 to 4.
[0085] The outward normal direction of the nearest surface output by the EPA algorithm is the separation direction, and this separation vector is the repulsion vector u.
[0086] S15: Control the movement of the robotic arm to bring it to the optimized reachable treatment node.
[0087] The above scheme yields a relatively large set of reachable treatment nodes. Subsequently, the movement of the robotic arm is controlled according to the actual treatment needs and the set of reachable treatment nodes. The specific control method has not been improved in this application and will not be described in detail here.
[0088] It should be noted that any process or method description in the flowchart or otherwise described herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order according to the functions involved, as should be understood by those skilled in the art to which the embodiments of this application pertain.
[0089] Furthermore, in the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0090] Example 2:
[0091] like Figure 2 As shown, this application embodiment also provides a control device 20 for a single isocentric large solid angle radiotherapy system, applying the control method described in Embodiment 1. The system includes a multi-degree-of-freedom robotic arm, a treatment head mounted at the end of the robotic arm, and a treatment bed for placing the patient to be treated. The device includes: The installation relationship determination module 21 is used to determine the target installation relationship between the treatment head and the end of the robotic arm among multiple installation relationships, with the proportion of reachable treatment nodes covering the treatment isocenter sphere and the uniformity of the distribution of reachable treatment nodes on the sphere as optimization objectives. The treatment isocenter sphere is composed of discrete treatment nodes, the center of the treatment isocenter sphere is a unique treatment isocenter point, the reachable treatment nodes are treatment nodes that the robotic arm can directly reach, and the installation relationship includes the position of the treatment head mounting interface on the treatment head housing and the installation attitude angle of the treatment head relative to the end flange of the robotic arm. Installation relationship adjustment module 22 is used to adjust the actual installation relationship between the treatment head and the end of the robotic arm to the target installation relationship; Unreachable node determination module 23 is used to determine unreachable treatment nodes after the installation relationship between the treatment head and the end of the robotic arm is adjusted to the target installation relationship; The unreachable node optimization module 24 is used to optimize the unreachable treatment node, so that the unreachable treatment node becomes a reachable treatment node. The optimization includes one or more of the following: treatment head pose optimization, beam direction optimization, and node position optimization.
[0092] The robotic arm movement control module 25 is used to control the movement of the robotic arm so that the robotic arm reaches the optimized reachable treatment node.
[0093] Example 3:
[0094] This application embodiment also provides a control device, including: At least one processor and at least one memory; The memory stores the executable instructions of the processor; The processor is configured to execute the control method for the single isocenter large stereo angle radiotherapy system provided in Embodiment 1 above.
[0095] Example 4
[0096] This application also provides a single isocentric large stereotactic angle radiotherapy system, including: Multi-degree-of-freedom robotic arm; A treatment head mounted at the end of a robotic arm; Treatment beds for placing patients awaiting treatment; The control device provided in the above embodiments.
[0097] It should be noted that this system uses a single treatment isocenter as its geometric reference. The robotic arm carrying the treatment head can reach a continuous spherical space, including the area under the bed, achieving a large solid angle of irradiation. There is no need to introduce a second treatment center or configure a second image-guided positioning system.
[0098] Specifically, such as Figure 3 As shown, the system includes: a multi-degree-of-freedom robotic arm 100, a miniaturized treatment head 200, a single image-guided positioning device, a treatment bed 500, and a control unit. The robotic arm is mounted on a bedside fixed base. The treatment head is mounted at the end of the robotic arm, and its beam centerline can be pointed to the treatment isocenter. The image-guided positioning device is a cone-beam CT scanner, used for registration and verification of a single treatment isocenter before treatment.
[0099] A single treatment isocenter is defined using either the patient's target area center or the planned target area center as the system's sole geometric reference. All field directions in the treatment plan use this isocenter as the reference coordinate system. Before treatment, the image-guided positioning device acquires the patient's image and registers it with the planned image to confirm the spatial correspondence between the target area and the treatment isocenter. After registration, the treatment bed is locked, and the treatment isocenter position is determined. Because only a single isocenter is used, image guidance only needs to perform registration and verification once, eliminating the need to switch to a second isocenter for secondary registration during treatment.
[0100] The robotic arm base is optimized so that the robotic arm carrying the treatment head can reach a continuous spherical space centered on the treatment isocenter. This spherical space covers the area above, to the sides, below, and under the patient, forming a large solid angle irradiation geometry.
[0101] This embodiment provides a miniaturized treatment head suitable for use at the end effector of a robotic arm. The treatment head features a compact architecture, significantly reducing its size compared to conventional radiotherapy accelerator treatment heads, thus accommodating the load capacity of the robotic arm end effector and reducing the risk of collisions during under-bed movement. It mainly includes: (a) Miniaturization of accelerator tubes The treatment head includes an accelerating tube employing an X-band microwave acceleration structure. Compared to an S-band accelerating tube, the X-band accelerating tube has a shorter axial length and smaller radial dimension at the same acceleration gradient. Preferably, the accelerating tube uses a standing wave acceleration structure, operates at a frequency of 9.3 GHz, and has a length controlled within 30 cm and an outer diameter controlled within 15 cm. By increasing the acceleration gradient, the electron beam can be accelerated to the required treatment energy (preferably 6 MeV) within a shorter length. The accelerating tube shell uses a high-density shielding material (such as tungsten alloy or lead-antimony alloy), controlling the wall thickness while ensuring shielding effectiveness.
[0102] (II) Miniaturization of microwave sources and modulators The microwave source uses a magnetron, which is significantly smaller and lighter than a conventional S-band magnetron. The modulator uses solid-state modulation technology instead of a traditional linear modulator; the high-frequency switching devices of the solid-state modulator are integrated on a printed circuit board, further reducing the modulator's size and weight. The modulator is integrated into the robotic arm base and connected to the microwave source via a high-voltage cable; the microwave source is integrated into the treatment head housing and connected to the accelerating tube via a short-distance waveguide.
[0103] (III) Miniaturization of collimators The treatment head includes a beam collimator. Preferably, the collimator is a multi-leaf collimator (MLC), with the number of blades configured according to clinical needs, and the blade material is tungsten alloy. Conventional accelerators typically include a tungsten gate (secondary collimator) to block leakage radiation from the blade gaps. This design optimizes the blade thickness and its entire stroke, allowing the blades outside the beam field to travel their full stroke while ensuring beam shielding effectiveness, thereby blocking leakage radiation from the blade gaps and reducing the need for a tungsten gate (secondary collimator). Simultaneously, the blade end face design is optimized, allowing the collimator to be positioned closer to the accelerator tube target point within the treatment head, thus reducing the overall height of the treatment head.
[0104] (iv) Miniaturization of shielding bodies The treatment head uses a tungsten alloy shielding structure for radiation shielding. The shielding design follows the principle of local reinforcement and overall weight reduction: high-density tungsten alloy is used for local shielding in the beam exit direction and near the electron beam bombardment target area, while a thinner composite shielding layer is used in non-main beam directions. The thickness distribution of the shielding is optimized through Monte Carlo simulation to keep the overall weight of the treatment head within the load range of the robotic arm while meeting radiation protection requirements.
[0105] (V) Optimization of intra-head layout for treatment Following the aforementioned miniaturization designs, the layout of the internal components of the treatment head is optimized to increase its reach. The overall dimensions of the treatment head are preferably: length not exceeding 80 cm and maximum outer diameter not exceeding 63 cm. More preferably, the treatment head adopts a flattened design. Compared to a cube with approximately equal length, width, and height, a flattened shape is more conducive to the treatment head reaching the under-bed position and achieving a large solid angle of irradiation.
[0106] (vi) Mounting interface with the end effector of the robotic arm The treatment head housing has a mounting interface for connection with the end flange of the robotic arm, enabling a detachable connection between the treatment head and the end of the robotic arm. The position of the mounting interface is optimized so that after the treatment head is installed at the end of the robotic arm, its center of gravity is close to the center of the end flange of the robotic arm, thereby reducing the torque load on the robotic arm joints.
[0107] When the treatment head reaches the under-bed position, the joints of the robotic arm move along a pre-calculated path, allowing the treatment head to enter the under-bed space from above or to the side of the patient, passing through the side or end of the treatment bed. Redundant degrees of freedom are used to adjust the arm configuration, ensuring the arm avoids the treatment bed base, guide rails, and bed board edges, while simultaneously ensuring the treatment head reaches the under-bed irradiation position in the intended posture. When the treatment head reaches the under-bed position, its beam axis passes through the treatment bed board and points towards the target area, maintaining a safe clearance between the treatment head housing and the bottom surface of the treatment bed, preferably not less than 5 cm.
[0108] When the treatment head reaches other non-coplanar directions, the robotic arm adjusts its configuration using redundant degrees of freedom to ensure the treatment head points towards the target area with a non-coplanar beam direction. The field direction generation module selects multiple non-coplanar field directions from the robotic arm's reachable solid angle space, rather than relying on a fixed angle list. The reachable solid angle space is determined by the robotic arm's kinematic model, and its coverage is significantly larger than the solid angle of conventional coplanar radiotherapy.
[0109] The procedure is as follows: The patient is positioned according to the plan, and the treatment bed moves to the treatment isocenter position; the image-guided positioning device acquires images and completes registration; the robotic arm sequentially carries the treatment head to each treatment node according to the treatment plan path for beam projection. When under-bed irradiation is required, the robotic arm moves directly to the treatment node under the bed, and the beam is projected onto the target area through the low-attenuation window of the treatment bed board. When irradiation in other non-coplanar directions is required, the robotic arm adjusts its arm configuration using redundant degrees of freedom to reach the corresponding treatment node. Throughout the treatment process, the treatment isocenter remains fixed, the image-guided device does not need to be switched, and the treatment process is continuous and uninterrupted.
[0110] It is understood that the same or similar parts in the above embodiments can be referred to each other, and the contents not described in detail in some embodiments can be referred to the same or similar contents in other embodiments.
[0111] It should be noted that in the description of this application, the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Furthermore, in the description of this application, unless otherwise stated, "a plurality of" means at least two.
[0112] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A control method for a single isocentric large solid angle radiotherapy system, characterized in that, The system includes a multi-degree-of-freedom robotic arm, a treatment head mounted at the end of the robotic arm, and a treatment bed for placing a patient to be treated; the method includes: Using the proportion of reachable treatment nodes covering the treatment isocenter sphere and the uniformity of the distribution of reachable treatment nodes on the sphere as optimization objectives, the target installation relationship between the treatment head and the end effector of the robotic arm is determined among multiple installation relationships. The treatment isocenter sphere is composed of discrete treatment nodes, the center of the treatment isocenter sphere is a unique treatment isocenter point, the reachable treatment nodes are treatment nodes that the robotic arm can directly reach, and the installation relationship includes the position of the treatment head mounting interface on the treatment head housing and the installation attitude angle of the treatment head relative to the end effector flange of the robotic arm. Adjust the actual installation relationship between the treatment head and the end effector of the robotic arm to the target installation relationship; After the installation relationship between the treatment head and the end of the robotic arm is adjusted to the target installation relationship, the unreachable treatment node is determined; The unreachable treatment node is optimized to transform it into a reachable treatment node. The optimization includes one or more of treatment head pose optimization, beam direction optimization, and node position optimization. Control the movement of the robotic arm to bring it to the optimized reachable treatment node.
2. The method according to claim 1, characterized in that: The optimization objectives are the proportion of reachable treatment nodes covering the isocentric spherical surface and the uniformity of the distribution of reachable treatment nodes on the spherical surface. Among multiple installation relationships, the target installation relationship between the treatment head and the robotic arm end effector is determined, including: A virtual treatment room model is constructed, which includes a robotic arm model, a treatment bed model, a human body model, a treatment room model, and an obstacle model. The treatment isocentric sphere is defined in the virtual treatment room model, and the treatment isocentric sphere is uniformly discretized into multiple treatment nodes according to a preset angle interval. The installation relationship between the treatment head and the end effector of the robotic arm is taken as a variable to be optimized. The installation relationship includes the position of the treatment head mounting interface on the treatment head housing and the installation attitude angle of the treatment head relative to the end effector flange of the robotic arm. For each set of installation relationships, the inverse kinematics of the robotic arm is solved for each treatment node according to the original pose, resulting in multiple sets of joint angle solutions. Solutions that exceed the limit range, do not meet the velocity constraints, or are close to singular configurations are discarded to obtain usable inverse solutions. The original pose is the pose of the treatment head when it reaches each treatment node under each set of installation relationships. For each available inverse solution, collision detection is performed to determine whether the minimum distance between each link of the treatment head and robotic arm and the human body model, treatment bed model, treatment room model and obstacle model is less than the preset collision space threshold. If there exists at least one set of inverse solutions that make the minimum distance between each link of the treatment head and the robotic arm and the above model not less than the preset collision space threshold, then the treatment node is determined to be a reachable treatment node under the current installation relationship; otherwise, it is determined to be an unreachable treatment node. The number of reachable treatment nodes under each installation relationship is counted, and the ratio between the number of reachable treatment nodes and the total number of treatment nodes is calculated as the proportion of reachable treatment nodes covering the treatment isocentric sphere. The treatment isocentric sphere is divided into multiple regions according to the principle of equal area, and the ratio between the number of reachable treatment nodes in each region and the total number of treatment nodes in that region is calculated as the reachable coverage rate of that region. Based on the reachable coverage rate, the average coverage rate and the standard deviation of the coverage rate of that region are calculated. Based on the average coverage rate and the standard deviation of the coverage rate, the uniformity of the spherical reachable treatment node distribution is calculated as follows: Uniformity of spherical reachable treatment node distribution = 1 - square of the standard deviation of coverage rate / [average coverage rate * (1 - average coverage rate) + preset non-zero minima], where the non-zero minima is used to prevent the denominator from being 0. An optimization objective function is constructed based on the proportion of the reachable treatment nodes covering the treatment isocenter sphere and the uniformity of the distribution of the spherical reachable treatment nodes. The optimization objective function = first preset weight * proportion of reachable treatment nodes covering the treatment isocenter sphere + second preset weight * uniformity of the distribution of the spherical reachable treatment nodes. The installation relationship that maximizes the value of the optimization objective function is selected as the target installation relationship between the treatment head and the end of the robotic arm.
3. The method according to claim 1, characterized in that: When the optimization simultaneously includes treatment head pose optimization, beam direction optimization, and node position optimization, the optimization of the unreachable treatment node includes: For treatment nodes that are unreachable, optimize the head position for treatment first. If the treatment head pose optimization transforms an unreachable treatment node into a reachable treatment node, then the treatment head pose optimization is performed on other unreachable treatment nodes; if the unreachable treatment node is still unreachable after the treatment head pose optimization, then the beam direction optimization is performed. If the beam direction optimization transforms the unreachable treatment node into a reachable treatment node, then the treatment head pose optimization is performed on other unreachable treatment nodes; if the unreachable treatment node is still unreachable after the beam direction optimization, then the node position optimization is performed. If the node position optimization transforms the unreachable target treatment node into a reachable treatment node, then the treatment head pose optimization is performed on other unreachable treatment nodes; if the unreachable target treatment node is still unreachable after the node position optimization, the unreachable target treatment node is removed.
4. The method according to claim 1, characterized in that: Optimize the treatment head pose for the unreachable treatment nodes, including: Under the constraint that the beam centerline passes through the unreachable treatment node and the beam points to the center of the target area, multiple optional poses are determined when the treatment head reaches the unreachable treatment node. The multiple optional poses include at least the pose obtained by adjusting the rotation angle of the treatment head around the beam centerline. For each selectable pose, solve the inverse kinematics of the robot arm to obtain the first set of joint angle solutions. Then, remove solutions from the first set of joint angle solutions that have joint angles that exceed the limit range, have a singular configuration, or do not meet the velocity constraints to obtain the first usable inverse solution. For each available inverse solution, collision detection is performed to calculate the minimum distance between each link of the treatment head and robotic arm and the human body model, treatment bed model, treatment room model and obstacle model in the pre-constructed virtual treatment room model; If the minimum distance is not less than the preset collision space threshold, then it is determined that the first available inverse solution corresponds to no collision; otherwise, it is determined that the first available inverse solution corresponds to a collision. If there exists at least one optional pose corresponding to at least one set of collision-free first available inverse solutions, then the unreachable treatment node is determined to be transformed into a reachable treatment node after treatment head pose optimization; if the unreachable treatment node is determined to be a collision-free inverse solution corresponding to all optional poses, it is determined to still be unreachable.
5. The method according to claim 4, characterized in that, Also includes: If there are multiple collision-free optional poses and first available inverse kinematics combinations, then one of them is selected as the target pose and inverse kinematics combination according to a preset optimization criterion, which includes joint limit margin, collision safety margin and singularity avoidance index. After normalizing the joint limit margin, collision safety margin, and singular avoidance index, the values are weighted and summed according to preset weights. The set with the largest weighted sum is selected as the target pose and inverse solution combination.
6. The method according to claim 1, characterized in that: Optimizing the beam direction for the unreachable treatment nodes includes: For unreachable treatment nodes, determine the first point closest to the treatment head and the second point on the obstacle closest to the treatment head, and calculate the first repulsion vector based on the first and second points. The first repulsion vector = the difference between the coordinates of the first point and the coordinates of the second point / the distance from the first point to the second point. The first repulsion vector is projected onto a plane perpendicular to the reference beam direction to obtain a deflection direction unit vector. The reference beam direction is the direction of the line connecting the unreachable treatment node and the center of the target area, and the deflection direction is the direction that moves the treatment head away from the obstacle. The beam deflection angle is gradually increased by a preset step size. At each step, the deflected beam direction is calculated based on the deflection direction unit vector and the current beam deflection angle. The spatial posture of the treatment head is then redefined so that the center line of the treatment head beam is along the deflected beam direction. Solve the inverse kinematics of the robotic arm for the treatment head spatial posture corresponding to each deflected beam direction to obtain the second set of joint angle solutions. Then, remove solutions from the second set of joint angle solutions that have joint angles that exceed the limit range, have singular configurations, or do not meet the velocity constraints to obtain the second usable inverse solution. For each second available inverse solution, collision detection is performed to calculate the minimum distance between each link of the treatment head and robotic arm and the human body model, treatment bed model, treatment room model and obstacle model in the pre-constructed virtual treatment room model; If the minimum distance is not less than the preset collision space threshold, then the unreachable treatment node is determined to become a reachable treatment node under the deflected beam direction, and the beam direction deflection angle is stopped. If there is still no second available inverse solution without collision when the beam direction deflection angle reaches the preset upper limit of the deflection angle, then it is determined that the unreachable treatment node is still unreachable after beam direction optimization; wherein, the beam direction deflection angle does not exceed the preset upper limit of the deflection angle.
7. The method according to claim 1, characterized in that: Optimize the node location of the unreachable treatment node, including: For unreachable treatment nodes, determine the third point closest to the treatment head and the fourth point on the obstacle closest to the treatment head. Calculate the second repulsion vector based on the third and fourth points. The second repulsion vector = the difference between the coordinates of the third and fourth points / the distance from the third to the fourth point. The second repulsion vector is projected onto a plane perpendicular to the original treatment node direction to obtain the node movement direction, which is the direction that moves the treatment head away from the obstacle. The spherical angle is gradually increased by a preset angle step size. At each step, the new treatment node direction is calculated based on the original treatment node direction, the node movement direction, and the current spherical angle. The direction from the center of the target area to the new treatment node is tilted from the original treatment node direction to the node movement direction by the current spherical angle, thereby determining the spherical position of the new treatment node. For each new treatment node, the target pose of the treatment head is determined under the constraint that the beam centerline passes through the new treatment node and points to the center of the target area. The inverse kinematics of the robotic arm is solved for the target pose of the treatment head to obtain the third set of joint angle solutions. Solutions that exceed the limit range of joint angles, have singular configurations, or do not meet the velocity constraints are removed from the third set of joint angle solutions to obtain the third usable inverse solution. For each third available inverse solution, collision detection is performed to calculate the minimum distance between each link of the treatment head and robotic arm and the human body model, treatment bed model, treatment room model and obstacle model in the pre-constructed virtual treatment room model; If the minimum distance is not less than the preset collision space threshold, then it is determined that the unreachable treatment node has been transformed into a reachable treatment node after node position optimization, and the increase of the spherical angle is stopped. If there is still no third available inverse solution without collision when the spherical angle reaches the upper limit of the preset angular distance, then it is determined that the unreachable treatment node is still unreachable after node position optimization, wherein the spherical angle does not exceed the upper limit of the preset angular distance.
8. A control device, characterized in that, include: At least one processor and at least one memory; The memory stores the executable instructions of the processor; The processor is configured to perform the method according to any one of claims 1-7.
9. A single isocentric large solid angle radiotherapy system, characterized in that, include: Multi-degree-of-freedom robotic arm; A treatment head mounted at the end of a robotic arm; Treatment beds for placing patients awaiting treatment; The control device as described in claim 8.
