A method for solving the workspace envelope surface of a six-degree-of-freedom robot arm working in a fixed end pose under an inclined or vertical downward direction

By combining analytical and numerical iterative methods, the envelope surface of the robotic arm's workspace is generated, solving the problems of large memory consumption and misjudgment caused by the Monte Carlo method, and realizing efficient and accurate determination of workpiece placement position.

CN123160831APending Publication Date: 2026-11-24SHENYANG BAOSHUNAN SAFETY EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611341868.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-01
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

The existing Monte Carlo method generates robotic arm workspace files containing a large number of internal point clouds, which consumes a lot of memory, easily causes computer lag, and makes it difficult to accurately measure and visually position, leading to misjudgment of workpiece placement.

Method used

A combination of analytical and numerical iterative methods was used to generate the workspace envelope surface of a six-DOF robotic arm in a fixed end-effector posture, either tilted or vertically downward. Coordinate point clouds were generated using Python programming, and splines and surfaces were generated in CATIA software to ensure that the volume of discontinuous parts of the envelope surface contour approaches 0, thus avoiding misjudgment.

Benefits of technology

The generated workspace file is based on boundary point clouds, which reduces memory usage, improves visual comfort, reduces the risk of misjudgment, provides accurate measurement functions, and facilitates the determination of the placement position of workpieces in the field of intelligent manufacturing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160831A_ABST
    Figure CN123160831A_ABST
Patent Text Reader

Abstract

This invention discloses a method for solving the workspace envelope surface of a six-DOF robotic arm in a fixed end-effector posture (tilted or vertically downward), belonging to the fields of industrial intelligent manufacturing and robot kinematics and workspace analysis. The invention generates the workspace envelope surface of a six-DOF robotic arm in a fixed end-effector posture (tilted or vertically downward) to quickly and accurately represent workspace files without cavities, replacing the traditional Monte Carlo method. This invention not only significantly reduces the memory footprint of workspace model files without cavities and improves visual comfort in 3D design software, but also greatly reduces the risk of misjudging whether a workpiece is inside a workspace without cavities. More importantly, it provides a precise definition of the reachable range under specific postures, which is impossible with the traditional Monte Carlo method. This makes the determination of the innermost and outermost placement positions of workpieces in intelligent manufacturing layouts accurate, measurable, efficient, and reliable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of industrial intelligent manufacturing and robot kinematics and workspace analysis, specifically involving analytical methods to solve the axisymmetric range limit of the wrist center point, inverse kinematics program to solve the angles of each servo motor of the robotic arm, Python calculation to generate point clouds, and CATIA surface generation technology. Background Technology

[0002] As a crucial component of industrial automation, robotic arms are finding increasingly diverse applications. In certain work arrangements, if the workpiece's position exceeds the robotic arm's end-effector's working space, the end-effector cannot reach that position.

[0003] The assembly module of 3D mechanical design software contains a complete digital model of the robotic arm assembly and can solve for and simulate the robotic arm's motion based on constraints, closely resembling real-world conditions. If the file representing the robotic arm's workspace can be imported into the assembly module, determining the placement of workpieces becomes immediately clear and extremely convenient.

[0004] The most common method for determining the workspace of a robotic arm is the Monte Carlo method, which requires relatively low mathematical skills from engineers and is based on simple principles. However, the workspace file generated by the Monte Carlo method contains a large amount of internal point cloud data because it solves for the point cloud of the entire workspace, not just the point cloud of the envelope surface at the workspace boundary. This often results in a large memory footprint when imported into the assembly module, causing computer lag and operational inconvenience. Importing point clouds generated by the Monte Carlo method into the assembly module can easily lead to misjudgments by operators regarding whether the workpiece is within the workspace, potentially causing significant engineering problems. Furthermore, it is difficult to accurately measure the coordinates of the point clouds generated by the Monte Carlo method and the corresponding end effector posture within the assembly module, resulting in poor visual positioning comfort. Therefore, it is necessary to find alternative methods to the Monte Carlo method for easier operation. Summary of the Invention

[0005] The purpose of this invention is to propose a method combining analytical and numerical iteration to generate the workspace envelope surface of a six-DOF robotic arm in a fixed end-effector posture (tilted or vertically downward). This method quickly and accurately represents the workspace file without cavities, replacing the traditional Monte Carlo method. The CATIA software's algorithm for generating splines and surfaces ensures that even if the envelope surface profile splines are discontinuous, the volume of the discontinuous portion remains close to zero, making the risk to practical engineering negligible. Furthermore, a similar method can be used to solve the boundary surface of the cavity portion separately. Rigorous mathematical verification shows that, in a fixed end-effector posture (tilted or vertically downward), the robotic arm can guarantee that any cylindrical coordinate angle section in the workspace will only have one peak and one valley, completely avoiding the risk of incorrect inner and outer envelope profiles obtained using the previous method. Therefore, the method proposed in this invention accurately represents the actual workspace of the robotic arm in a tilted or vertically downward end-effector posture without cavities. This invention is mainly used in the field of intelligent manufacturing for determining the placement of workpieces based on the workspace of the robotic arm.

[0006] To achieve the above objectives, the technical solution adopted in this invention is as follows: a method for solving the workspace envelope surface of a six-degree-of-freedom robotic arm in a fixed end-effector posture of tilting or vertical downward, the steps of which are: Step 1: Determine the theoretical limit position of the robotic arm's wrist center point using analytical methods, considering only the first three degrees of freedom. Using the rotation angles of the second and third degrees of freedom as parametric curves, generate the outer contour coordinate point cloud using Python programming software at equal angular intervals. For the inner contour, first generate the coordinate point cloud using equal angular and equal height intervals, then generate splines, and finally select corresponding coordinate points at the same height as the outer contour on these splines. Finally, regenerate the inner contour coordinate point cloud. Simultaneously with generating the rectangular coordinates (x, y, z), generate the cylindrical coordinates (r, ...). Adding the end-effector vector to the rectangular coordinates yields the initial end-effector limit coordinates of the robotic arm. Here, r is the radius of the envelope contour point relative to the origin of the robotic arm in cylindrical coordinates. is the angle value of the envelope contour point relative to the origin of the robotic arm in cylindrical coordinates, and h is the height value of the envelope contour point relative to the origin of the robotic arm in cylindrical coordinates.

[0007] Step 2: Perform inverse kinematics calculation on the end effector limit coordinates of the robotic arm obtained in Step 1 to verify whether the fifth degree of freedom exceeds the angle constraint; If it does not exceed the limit, then immediately retain the terminal limit coordinate value; If it exceeds the limit, maintain the wrist center cylindrical coordinates. Keeping h constant, adjust the value of r and shrink unidirectionally in small steps (1 cm) into the workspace. Each shrinkage must retain the r value from the previous step. Find the value at this point. After finding the r value that makes the fifth degree of freedom conform to the angle constraint under h, use the bisection method to find the r value that makes the fifth degree of freedom exactly conform to the angle constraint; Step 3: Press Order by size, import the calculated wrist center coordinates that satisfy the angle constraints for the fifth degree of freedom into CATIA software; cylindrical coordinates All identical points are connected by the software to generate an envelope spline; finally, according to... Envelope splines are selected in order of size to generate multi-section surfaces, which characterize the extreme positions of the wrist center. Step 4: Translate the end rod vector of the three-dimensional surface representing the extreme position of the wrist center to obtain the envelope surface of the robotic arm's workspace.

[0008] The workspace envelope surface of the robotic arm is imported into the 3D model assembly of the robotic arm to determine the placement of the workpiece.

[0009] The beneficial effects of this invention are as follows: The file representing the workspace of the robotic arm without excluded cavities is generated based on point clouds at the boundaries, excluding internal spatial point clouds. Compared to the traditional Monte Carlo method, this significantly reduces the memory footprint of the workspace file, making the file visually simpler and greatly improving visual comfort. It also significantly reduces the risk of misjudging whether a workpiece is within the workspace without excluded cavities, making software operations for determining the innermost and outermost placement positions of workpieces based on the workspace of the robotic arm without excluded cavities much more convenient in intelligent manufacturing. This method also provides a function for accurately measuring the workspace of the robotic arm, which is not available in the Monte Carlo method. Attached Figure Description

[0010] Figure 1 This is a schematic diagram of the initial posture of the robotic arm in Example 1; Figure 2 This is a contour diagram of the limit range of motion of the robotic arm wrist center in the plane in Example 1; Figure 3 This is a flowchart illustrating the process of determining the extreme position coordinates of the robotic arm's end effector under a fixed end effector posture, either tilted or vertically downward, in Example 1. Figure 4 This is a schematic diagram of the envelope surface of the workspace of the robotic arm end effector under a fixed end effector posture that is tilted or vertically downward, as shown in Example 1. Figure 5 This is a cross-sectional view of the innermost and outermost envelope surfaces of the workspace of the six-degree-of-freedom robotic arm in Example 1, under its fixed end-effector posture of tilting or vertically downward. Detailed Implementation

[0011] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0012] Due to the numerous technical problems mentioned in the background section regarding the use of the Monte Carlo method, and considering current mechanical engineering capabilities, it is now possible to ensure that the fourth and sixth degrees of freedom of a six-DOF robotic arm can reach any angle between 0 and 360 degrees. The wrist's workspace is axisymmetric and can be obtained analytically. As long as the wrist is within its workspace, the first three degrees of freedom will not exceed angular constraints, while the fourth and sixth degrees of freedom are not subject to angular constraints. It can be determined that when the wrist is within its workspace and the end effector is held in a fixed posture, the only degree of freedom that could potentially exceed angular constraints is the fifth degree of freedom. This configuration, combined with the spline and surface generation algorithms of CATIA software, ensures that even if the contour lines are discontinuous, the volume of the discontinuous portion approaches zero, and the risk to practical engineering is negligible. In the case of internal cavities, the cavity boundary surface can be solved separately using a method similar to that of this invention. Furthermore, rigorous mathematical proofs show that in inclined or vertically downward end effector postures, the contour on the cylindrical coordinate angle section of the robotic arm's workspace will only have one peak or valley, and this method will not obtain incorrect inner and outer envelope contour lines. Therefore, by combining the analytical method to determine the wrist center coordinates with the numerical iteration method, and using the fifth degree of freedom as the objective function, the workspace envelope surface of the robotic arm end effector is finally solved.

[0013] The method is as follows: A method for solving the workspace envelope surface of a six-degree-of-freedom robotic arm in a fixed end-effector posture of tilting or vertical downward, the steps of which are: Step 1: Determine the theoretical limit position of the robotic arm's wrist center point using analytical methods, considering only the first three degrees of freedom. Using the rotation angle of the second or third degree of freedom as the parametric curve driving variable, generate a coordinate point cloud with equal angular intervals using Python programming software. Simultaneously generate rectangular coordinates (x, y, z) and cylindrical coordinates (r, ...). Adding the end-effector vector to the Cartesian coordinates yields the initial end-effector limit coordinates of the robotic arm. Here, r is the radius of the outer contour point relative to the origin of the robotic arm in cylindrical coordinates. is the angle value of the outer contour point relative to the origin of the robotic arm in cylindrical coordinates, and h is the height value of the outer contour point relative to the origin of the robotic arm in cylindrical coordinates.

[0014] Step 2: Perform inverse kinematics calculation on the end effector limit coordinates of the robotic arm obtained in Step 1 to verify whether the fifth degree of freedom exceeds the angle constraint; If it does not exceed the limit, then immediately retain the terminal limit coordinate value; If it exceeds the limit, maintain the wrist center cylindrical coordinates. Keeping h constant, adjust the value of r and shrink unidirectionally in small steps (1 cm) into the workspace. Each shrinkage must retain the r value from the previous step. Find the value at this point. After finding the r value that makes the fifth degree of freedom conform to the angle constraint under h, use the bisection method to find the r value that makes the fifth degree of freedom exactly conform to the angle constraint; Step 3: Press Order by size, import the calculated wrist center coordinates that satisfy the angle constraints for the fifth degree of freedom into CATIA software; cylindrical coordinates All identical points are connected by the software to generate boundary splines; finally, according to... Envelope splines are selected in order of size to generate multi-section surfaces, which characterize the extreme positions of the wrist center. Step 4: Translate the end rod vector of the three-dimensional surface representing the extreme position of the wrist center to obtain the envelope surface of the robotic arm's workspace.

[0015] The workspace envelope surface of the robotic arm is imported into the 3D model assembly of the robotic arm to determine the placement of the workpiece.

[0016] Example 1: For example Figure 1 Taking a certain robotic arm purchased by our company as an example: its angular constraints for each degree of freedom are shown in Table 1: Table 1: Angle Constraints for Each Degree of Freedom of the Robotic Arm

[0017] As shown in Table 1, J4 and J6 are equivalent to having no angular constraints and can rotate to any relative position within a 360-degree range without any blind spots.

[0018] Based on the angular constraints of each degree of freedom of the robotic arm in Table 1, the method for solving the envelope surface of the workspace of a six-degree-of-freedom robotic arm under a fixed end-effector posture is as follows: Step 1: The range of motion of the wrist is axisymmetric. To solve for the planar profile at the limit position, only the angular constraints of the second degree of freedom (J2) and the third degree of freedom (J3) need to be considered. If only the angular constraint of J3 is considered, when... and equivalent The range is largest when they are collinear and in the same direction; when and equivalent The range is minimized when the position is closest to the opposite collinearity. Based on the above conclusions, the maximum and minimum motion ranges can be preliminarily drawn as two circles, considering only the J3 angle constraint.

[0019] At the two angular constraint limit positions of J2, fix Rotational equivalent Considering the angular constraint of J3, an arc is drawn at each of the two positions, and then the curves are modified by combining them with the two previously drawn circles, resulting in four curve segments as shown below. Figure 2 As shown.

[0020] The expressions for each curve parameter are as follows: Curve 1: r=801.15 +70 -8°≤ ≤170° h=801.15 +412.5 Curve 2: r=390 + 411.15 +70 0°≤ ≤153.39° h=390 +411.15 +412.5 Curve 3: r=185.49 +70 -8°≤ ≤170° h=185.49 +412.5 Curve 4: r=390 + 411.15 +70 0°≤ ≤153.39° h=390 +411.15 +412.5 according to Figure 2 The planar working area, represented by a curve, is appropriately segmented and trimmed, and filled with vertical line segments to obtain the inner and outer contours of the wrist's center planar working area. This is achieved using the angle variables and cylindrical coordinates from the above expression. Angle variable-driven generation of the outer contour point cloud. Then, points with the same height h as the outer contour are selected to generate the inner contour point cloud. Next, appropriate limit values ​​for the shrinkage r are set for each segment of the outer contour (if r is less than this limit value, J5 still exceeds the angle constraint, then it is considered to be within the selected...). At this angle, there is no r value for the height h that satisfies the angle constraint. Therefore, the limit value of the inner contour retraction r is set to this value. The maximum value of the outer contour r that satisfies the angle constraint, calculated under angle and height h.

[0021] Step Two

[0022] according to Following the sequence, the three-dimensional coordinates of the point cloud generated in step one are added to the end rod vector to obtain the end coordinates.

[0023] Write a Python program to calculate the angles of a six-DOF robotic arm. The program discards the solution where the elbow points downwards. The end effector vector is set to (0, 0, -448), which is vertically downwards, and the end effector length is set to 448.

[0024] The program calculates the angle of the endpoint point cloud corresponding to the outer contour point cloud using the J5 value. It verifies if the J5 value meets the angle constraint. If it does, the center-of-the-arm coordinates are retained. If not, the value of r corresponding to the center-of-the-arm coordinates is decreased in small steps (e.g., 1 cm), while retaining the previous r value. After finding the first r value that satisfies the angle constraint for J5, a bisection iterative process is performed between this value and the previous r value to find the r value that exactly satisfies the angle constraint for J5. If, after regressing to the set r limit value, J5 still does not meet the angle constraint, it is determined that there is no r value that satisfies the constraint for J5 at the given cylindrical coordinate angle Φ and height h.

[0025] For the inner contour point cloud with the same height h as the outer contour point cloud, calculate its J5 angle using a Python program. If it meets the constraint, retain its center-of-wrist coordinates; otherwise, increase the corresponding r value at the center-of-wrist by small steps (e.g., 1 cm). Simultaneously retain the r value from the previous step. Find the first r value that makes J5 meet the angle constraint, and perform a bisection iteration with the r value from the previous step to obtain the r value that makes J5 exactly meet the angle constraint. If the r value is increased to the value of the outer contour point cloud with the same height h, then the cylindrical coordinate angle is considered to be... At height h, the inner contour r that makes J5 conform to the angle constraint does not exist.

[0026] The point cloud coordinate calculation process is as follows: Figure 3 As shown.

[0027] Each cylindrical coordinate angle The following values, calculated by Python to ensure J5 meets angular constraints, are converted to Cartesian coordinates and then converted to cylindrical coordinates. Save it to Excel.

[0028] Step 3: Convert the calculated outer contour wrist center point cloud into cylindrical coordinate angles. (J1 corner) sequence, imported into Catia via GSD, so that... Point clouds with the same angle generate splines.

[0029] Pick each spline sequentially, and use the multi-section surface command to generate the outermost envelope surface of the wrist center in the workspace of the robotic arm (e.g., Figure 4 As shown in the figure.

[0030] The calculated inner contour wrist center point cloud is then converted into cylindrical coordinate angles. (J1 corner) sequence, imported into Catia via GSD, so that... Point clouds with the same angle generate splines.

[0031] Pick each spline in sequence and generate the innermost envelope surface of the wrist center in the workspace of the robotic arm using the multi-section surface command.

[0032] Step 4: Translate the innermost and outermost envelope surfaces generated by CATIA into the end rod vector (0, 0, -448), and then save it as an STP file.

[0033] Using software designed to open robotic arm assemblies, open the STP files of the inner and outer contour surfaces, save them as part files for that software, and finally import them into the robotic arm assembly. The sectional view is shown below. Figure 5 As shown.

Claims

1. A method for solving the workspace envelope surface of a six degree of freedom manipulator working in a fixed end pose with tilt or vertical downward, characterized in that, The steps are as follows: Step 1: Determine the theoretical limit position of the robotic arm's wrist center point using analytical methods, considering only the first three degrees of freedom. Using the rotation angles of the second and third degrees of freedom as parametric curve driving variables, generate the outer contour coordinate point cloud using programming software at equal angular intervals. For the inner contour, first generate the coordinate point cloud using equal angular and equal height intervals, then generate splines, and finally select corresponding coordinate points at the same height as the outer contour on these splines. Finally, regenerate the inner contour coordinate point cloud. Simultaneously with generating the rectangular coordinates (x, y, z), generate the cylindrical coordinates (r, ...). Add the end-effector vector to the rectangular coordinates to obtain the initial end-effector limit coordinates of the robotic arm; Step 2: Perform inverse kinematics calculation on the end effector limit coordinates of the robotic arm obtained in Step 1 to verify whether the fifth degree of freedom exceeds the angle constraint; If it does not exceed the limit, then immediately retain the terminal limit coordinate value; If it exceeds the limit, maintain the wrist center cylindrical coordinates. Keeping h constant, adjust the value of r and perform small-step unidirectional contraction into the workspace. Each contraction must retain the r value from the previous step. Find the value at this point. After finding the r value that makes the fifth degree of freedom conform to the angle constraint under h, use the bisection method to find the r value that makes the fifth degree of freedom exactly conform to the angle constraint; Step 3: Press Import the calculated wrist center coordinates that satisfy the angle constraints for the fifth degree of freedom into the software, in order of size; cylindrical coordinates All identical points are connected by the software to generate an envelope spline; finally, according to... Envelope splines are selected in order of size to generate multi-section surfaces, which characterize the extreme positions of the wrist center. Step 4: Translate the end rod vector of the three-dimensional surface representing the extreme position of the wrist center to obtain the envelope surface of the robotic arm's workspace.

2. The method for solving the workspace envelope surface of a six-degree-of-freedom robotic arm in a fixed end-effector posture (tilted or vertically downward) according to claim 1, characterized in that, In step one, r is the radius of the envelope contour point relative to the origin of the robotic arm in cylindrical coordinates. is the angle value of the envelope contour point relative to the origin of the robotic arm in cylindrical coordinates, and h is the height value of the envelope contour point relative to the origin of the robotic arm in cylindrical coordinates.

3. The method for solving the workspace envelope surface of a six-degree-of-freedom robotic arm in a fixed end-effector posture (tilted or vertically downward) according to claim 1, characterized in that, In step one, the programming software is Python.

4. The method for solving the workspace envelope surface of a six-degree-of-freedom robotic arm in a fixed end-effector posture (tilted or vertically downward) according to claim 1, characterized in that, In step two, the step size is 1 cm.

5. The method for solving the workspace envelope surface of a six-degree-of-freedom robotic arm in a fixed end-effector posture (tilted or vertically downward) according to claim 1, characterized in that, In step three, the wrist center coordinates are imported using CATIA software.

6. The application of the method for solving the workspace envelope surface of a six-degree-of-freedom robotic arm in a fixed end-effector posture of tilting or vertical downward as described in any one of claims 1-5, characterized in that, The workspace envelope surface of the robotic arm in a fixed end-effector posture (tilted or vertically downward) is imported into the 3D model assembly of the robotic arm to determine the placement of the workpiece.