Robot obstacle avoidance control method based on three-dimensional vision and robot system
By employing a dual-mode 3D vision system and a dimensionality reduction control strategy, the collision risk of robots operating in complex environments was resolved, achieving high-precision and efficient obstacle avoidance control and improving operational safety and efficiency.
Patent Information
- Application Number
- CN202611483228.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-22
- Publication Date
- 2026-11-20
AI Technical Summary
In existing technologies, robots struggle to accurately determine three-dimensional spatial relationships when performing multi-target operations in confined and complex environments, leading to a high risk of collisions. This is especially true when switching between target operations, where safety hazards are severe. Single-dimensional vision technologies lack sufficient accuracy and robustness under specific conditions.
A dual-mode 3D vision system is adopted, combining active and passive 3D measurement modules. Through coordinate system registration and dimensionality reduction control strategies, the movement of the robotic arm end effector along a preset direction is restricted, and the positioning results are dynamically fused to improve accuracy and robustness.
It significantly improves operational safety and accuracy, reduces operational difficulty, increases work efficiency, and ensures stable positioning and obstacle avoidance capabilities in complex environments.
Smart Images

Figure CN123129174A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of robot control technology, and more specifically, to a robot obstacle avoidance control method and robot system based on three-dimensional vision. Background Technology
[0002] In medical procedures (such as interventional surgery) or precision assembly, robots (such as robotic arms) often need to perform precise operations on multiple target objects in confined and complex environments. For example, when manipulating multiple guide wires placed side by side, extremely high demands are placed on the robot's positioning accuracy and obstacle avoidance capabilities.
[0003] In existing technologies, some solutions use two-dimensional vision systems to guide robot operations. However, relying solely on two-dimensional image information, operators find it difficult to accurately determine the three-dimensional spatial relationship between the robot's end effector and surrounding objects. Especially when switching operation targets, the lack of depth information can easily lead to interference or collisions between the robot and adjacent non-target objects, posing serious safety hazards.
[0004] To address these issues, some improvements have incorporated 3D vision technologies, such as binocular vision systems or structured light systems for 3D localization. However, these single-mode 3D vision technologies still have inherent limitations in practical applications. For example, passive binocular vision suffers a significant drop in localization accuracy in scenes with sparse textures or poor lighting; while active structured light technology, although providing high accuracy within a specific effective range, suffers from compromised accuracy and robustness at excessively close or distant distances. Summary of the Invention
[0005] In view of the shortcomings of the prior art, the purpose of this invention is to provide a robot obstacle avoidance control method and robot system based on three-dimensional vision.
[0006] A robot obstacle avoidance control method based on three-dimensional vision according to the present invention includes: Using a 3D vision system, acquire 3D spatial information related to the robotic arm, the control table, and multiple target objects in the operating environment; Based on the three-dimensional spatial information, coordinate system registration is performed on the three-dimensional vision system, the robotic arm, and the operating table. Based on the arrangement characteristics of the multiple target objects in the three-dimensional spatial information, a preset direction is determined, and the preset direction corresponds to the arrangement direction of the multiple target objects; When the end effector of the robotic arm moves to the working plane above the operating table, kinematic constraints are applied to restrict the movement of the end effector of the robotic arm along the preset direction, so that it can only move in a plane perpendicular to the preset direction.
[0007] Preferably, the three-dimensional vision system is a dual-mode three-dimensional vision system, including an active three-dimensional measurement module and a passive three-dimensional measurement module.
[0008] Preferably, it further includes: The target distance is measured by the active three-dimensional measurement module or the passive three-dimensional measurement module; and Based on the target distance, the positioning results of the active 3D measurement module and the passive 3D measurement module are dynamically fused or selected.
[0009] Preferably, the fusion step includes: Based on the target distance, weights are assigned to the positioning results of the active 3D measurement module and the passive 3D measurement module. When the target distance is less than a preset threshold, the weight of the active 3D measurement module is greater than the weight of the passive 3D measurement module; when the target distance is greater than or equal to the preset threshold, the weight of the passive 3D measurement module is greater than the weight of the active 3D measurement module. The final 3D positioning is determined based on the weighted positioning results.
[0010] Preferably, the active 3D measurement module is a speckle structured light system, which includes at least one infrared projector and at least one infrared camera; the passive 3D measurement module is a binocular vision system, which includes at least two RGB cameras.
[0011] Preferably, before the coordinate system registration, a pre-calibration step is also included: The internal parameters of the 3D vision system are calibrated using a calibration board. By acquiring images of the calibration board at different distances and orientations, the focal length, principal point coordinates, and distortion coefficients of each camera, as well as the baseline vector and rotation matrix of the binocular system, are calculated.
[0012] Preferably, the step of determining the preset direction includes: Extract the position coordinates of the multiple target objects from the three-dimensional spatial information; and By performing principal component analysis on the position coordinates of the multiple target objects, the determined first principal component direction is taken as the preset direction.
[0013] According to the present invention, a robot system is provided for implementing the robot obstacle avoidance control method based on three-dimensional vision. The robot system includes: a robotic arm, a three-dimensional vision system, and a controller. The three-dimensional vision system is communicatively connected to the controller and is used to acquire three-dimensional spatial information related to the robotic arm, the operating table, and multiple target objects in the operating environment. The controller is communicatively connected to the robotic arm and is configured to execute the 3D vision-based robot obstacle avoidance control method.
[0014] Preferably, the three-dimensional vision system is mounted on a multi-joint bracket, which is fixed to the operating table. Each joint of the multi-joint bracket is rotatable and lockable, so that the field of view of the three-dimensional vision system covers the movement space of the robotic arm.
[0015] Preferably, the system further includes a 3D display, which is communicatively connected to the controller; the controller is further configured to fuse the images acquired by the 3D vision system into a 3D stereoscopic image and output it to the 3D display.
[0016] Compared with the prior art, the present invention has the following beneficial effects: 1. This invention locks the degree of freedom of the robotic arm along a specific preset direction when the robotic arm reaches a specific operating plane, reducing the free motion in three-dimensional space to a two-dimensional plane. This control method eliminates the possibility of the robotic arm accidentally moving laterally along that direction in the operating plane and causing a collision from the control logic, thus significantly improving operational safety.
[0017] 2. This invention overcomes the limitations of a single vision mode by employing a dual-mode vision system that integrates active and passive 3D measurement, and dynamically fusing or selecting positioning results based on target distance. This achieves stable and accurate 3D positioning throughout the entire working range, providing a reliable data foundation for precise control and obstacle avoidance.
[0018] 3. This invention makes switching between dense targets simpler, more intuitive and faster through a dimensionality reduction control strategy, reducing the operator's burden and operational difficulty, thereby improving overall work efficiency. Attached Figure Description
[0019] Other features, objects, and advantages of the present invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings: Figure 1 This is a schematic diagram illustrating the architecture of the robot system, which is the main feature of this invention. Figure 2 This is a flowchart illustrating the obstacle avoidance control method of the present invention. Figure 3 This is a schematic diagram illustrating the layout of the dual-mode 3D vision module, which is the main feature of this invention. Figure 4 This is a schematic diagram illustrating the scenario in which the system performs coordinate system registration, which is the main feature of this invention. Figure 5 This is a schematic diagram illustrating the effect of the dimensionality reduction control strategy of this invention. Figure 6 This is a schematic diagram illustrating the principle of speckle structured light positioning, which is the main feature of this invention. Figure 7 This is a schematic diagram illustrating the principle of binocular vision positioning, which is the main feature of this invention. Figure 8 This is a schematic diagram illustrating the main features of the invention: monitoring a safe workspace. Figure 9 This is a schematic diagram illustrating the calibration of the vision system, which is the main feature of this invention.
[0020] Figure reference numerals: 1. Camera range; 2. Robotic arm marker; 3. Table marker; 4. Effective working range of robotic arm; 5. RGB camera; 6. Infrared projector; 7. Infrared camera; 8. Calibration board; 100. Robot system; 110. Robotic arm; 120. Controller; 130. 3D vision module; 140. 3D display; 150. Multi-joint support. Detailed Implementation
[0021] The present invention will now be described in detail with reference to specific embodiments. These embodiments will help those skilled in the art to further understand the present invention, but do not limit the invention in any way. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all fall within the protection scope of the present invention.
[0022] This invention provides a robot obstacle avoidance control method and corresponding robot system based on three-dimensional vision, which aims to solve the collision problem that is prone to occur in complex environments with multiple objects, especially when switching between multiple slender objects (such as guide wires in medical surgery).
[0023] Example 1 Combination Figure 1As shown, the robot system 100 of this embodiment mainly includes a multi-degree-of-freedom robotic arm 110, a controller 120 as the system core, an integrated three-dimensional vision module 130, and a 3D display 140 for human-computer interaction. During system operation, the three-dimensional vision module 130 captures three-dimensional spatial information of the operating environment in real time and sends the captured information to the controller 120 in the form of a data stream. The controller 120 analyzes, processes, and makes decisions on the received three-dimensional spatial information, thereby generating precise control signals to drive the robotic arm 110 to perform predetermined motion tasks. Correspondingly, the controller 120 can also process the image information acquired by the three-dimensional vision module 130 into a three-dimensional stereoscopic image and transmit it to the 3D display 140, thereby providing the remote operator with a depth-perceived and intuitive operating field of view.
[0024] like Figure 9 As shown, the 3D vision module 130 is mounted on a multi-joint support 150. The multi-joint support 150 is fixed to the operating table. Specifically, the bottom of the support 150 can be fixed to the guide rail on the table via a clamping mechanism or bolts, allowing the support 150 to slide horizontally along the guide rail on the table and lock in place after reaching a preset position. The multi-joint support 150 has multiple rotatable and lockable joints. The operator can adjust the angle of each joint before surgery to ensure that the field of view of the 3D vision module 130 covers the entire movement space of the robotic arm 110, and then lock each joint to ensure that the position of the vision module 130 remains stable during surgery. This support structure ensures both the flexibility of preoperative positioning and the stability of the intraoperative vision system.
[0025] Figure 3 This is a schematic diagram of the hardware layout of the 3D vision module 130 in an embodiment of this application. In one embodiment of this application, the module adopts a dual-mode design, integrating active and passive 3D measurement technologies to achieve complementary advantages. Specifically, the module includes a passive binocular vision system and an active speckle structured light system. The binocular vision system can be composed of two RGB cameras 5 arranged with a horizontal baseline to capture the color texture information of the scene, thereby generating a stereo image and performing 3D reconstruction under specific conditions. The speckle structured light system can include an infrared projector 6 located in the center of the module and two infrared cameras 7 located on both sides of it. The infrared projector 6 projects an infrared speckle pattern with a specific code or random distribution onto the target scene, while the two infrared cameras 7 simultaneously capture the speckle image modulated by the object surface. It can be understood that the design using two infrared cameras constitutes a binocular structured light system. Compared with a monocular structured light system, this design can effectively reduce the measurement blind zone and improve the integrity and accuracy of 3D reconstruction.
[0026] Before the robot system 100 is put into actual operation, it is necessary to perform the following: Figure 2 S201, as shown, refers to calibration and registration. The calibration process uses a high-precision calibration plate 8, typically printed with a pattern of known geometric dimensions, such as a checkerboard or dot array. During calibration, the calibration plate 8 is placed within the field of view of the 3D vision module 130, and multiple sets of images are captured from different distances, positions, and orientations using the RGB camera 5 and the infrared camera 7. The controller 120 can then run calibration algorithms, such as the Zhang Zhengyou calibration method, to calculate the internal parameters of each camera (including the RGB camera 5 and the infrared camera 7) based on the images, such as focal length, principal point coordinates, and radial and tangential distortion coefficients. Furthermore, for binocular systems (including RGB binocular and infrared binocular systems), this process can also accurately calculate the relative position and orientation relationship between the two cameras, i.e., external parameters, including the baseline vector and rotation matrix. This registration step is fundamental to ensuring the accuracy of all subsequent 3D measurements.
[0027] In another alternative implementation, a reference calibration structure can be installed on the 3D vision module 130 before surgery to calibrate the speckle structured light system. This reference calibration structure has known precise geometric features and can be used to verify and correct the measurement accuracy of the speckle structured light system.
[0028] Next, the system coordinate system needs to be registered. To enable the controller 120 to establish the relative relationships between the robotic arm 110, the operating table, and the vision system in space, they need to be unified into a common coordinate system. Combined with... Figure 4 As shown, in one embodiment of this application, multiple high-contrast robotic arm markers 2 and table markers 3 can be pre-installed at key locations of the robotic arm 110 (such as near the end effector) and at fixed positions on the operating table. During the registration stage, the operator moves the robotic arm 110 to one or more preset positions to ensure that the camera range 1 of the 3D vision module 130 can clearly capture all the robotic arm markers 2 and table markers 3. The controller 120 uses the calibrated 3D vision module 130 to accurately calculate the 3D coordinates of each marker in the camera coordinate system. Since the positions of the table markers 3 are fixed, a stable world coordinate system can be established based on these markers. Through a hand-eye calibration algorithm, the controller 120 can accurately solve for the transformation matrix between the camera coordinate system and the robotic arm base coordinate system, as well as the transformation matrix between the world coordinate system defined by the table and the camera coordinate system. After this step is completed, the coordinate systems of all key components in the system are unified, enabling the controller 120 to freely convert the coordinates of any point perceived by the vision system between the robotic arm coordinate system and the world coordinate system in real time, thus laying a solid data foundation for subsequent precise control and obstacle avoidance.
[0029] After completing the calibration and registration of S201, the system can enter the operational state. The following will combine... Figure 2 , Figure 5 , Figure 6 and Figure 7 The core obstacle avoidance control method of this embodiment will be described in detail. Assume that the operation scenario is that three parallel guide wires G1, G2 and G3 are placed side by side on the operation table, which are roughly arranged along the Y-axis. The operation task requires the end effector of the robotic arm 110 to switch from holding guide wire G1 to holding guide wire G3.
[0030] Upon commencement of operation, controller 120 first executes step S202, receiving a motion command from the operator intended to move robotic arm 110 from the position of guide wire G1 to the position of guide wire G3. Throughout the movement, the 3D vision module 130 continuously operates to acquire complete 3D spatial information, including robotic arm 110, guide wires G1, G2, and G3, and the surrounding environment. Controller 120 processes this information in real time. First, controller 120 determines a preset direction based on the arrangement characteristics of multiple target objects in the 3D spatial information. This preset direction corresponds to the arrangement direction of the multiple target objects. Specifically, controller 120 uses image segmentation and feature extraction algorithms to identify and extract the centerlines of guide wires G1, G2, and G3 from the 3D point cloud data, obtaining a series of 3D coordinate points on these centerlines. These coordinate points reflect the arrangement characteristics of the guide wires. Subsequently, controller 120 performs principal component analysis on the coordinate set of these points. Due to the parallel arrangement of the guide wires, these coordinate points will exhibit a clear linear distribution trend in space. Therefore, the first principal component direction obtained from principal component analysis, i.e., the direction with the largest data variance, physically corresponds to the overall alignment direction of the guidewires. The controller 120 defines this calculated first principal component direction vector as a preset direction, which in this example is... Figure 5 The Y-axis is shown.
[0031] Meanwhile, in step S203, the controller 120 continuously determines the current height of the end effector of the robotic arm 110. Specifically, it compares its Z-axis coordinate in the world coordinate system with a preset operating plane height. This operating plane height is usually preset based on the height of the guide wires G1, G2, and G3, and allows for a small range of fluctuation.
[0032] During the process of lifting the robotic arm 110 from above the guide wire G1 and moving it towards the guide wire G3, its initial height is higher than the operating plane. At this point, the judgment result of S203 is "no", and the controller 120 will execute the normal three-dimensional motion S206, allowing the robotic arm 110 to move freely in the X, Y, and Z dimensions. During this stage, the operator can control the robotic arm 110 to translate along the Y-axis from above the guide wire G1 to above the guide wire G3, completing the switching of the target guide wire.
[0033] When the end effector of the robotic arm 110 descends to the working plane above the operating table, the judgment result of S203 becomes "yes". At this time, the controller 120 immediately triggers the core obstacle avoidance mechanism, that is, executes S204: activate dimensionality reduction control. Specifically, the controller 120 applies a software constraint to the kinematic model of the robotic arm 110, which restricts the movement of the end effector of the robotic arm along a previously determined preset direction (Y-axis, i.e., the direction of guide wire arrangement).
[0034] After activating the dimensionality reduction control, the system then executes S205, which involves two-dimensional planar motion. At this point, although the robotic arm 110 itself still has six degrees of freedom, the motion of its end effector is restricted to a plane perpendicular to the preset direction (Y-axis) (i.e., the XZ plane). Any commands issued by the operator at this time that attempt to move the robotic arm along the Y-axis will be ignored by the controller 120 or mapped to a permitted motion direction.
[0035] Within the working plane, the robotic arm 110 can only move along the X-axis (i.e., the guide wire axis) and move up and down along the Z-axis, thus eliminating the possibility from the control logic that the end effector might accidentally move laterally to an adjacent guide wire at the operating height. For example... Figure 5 As shown, when the robotic arm 110 moves within the working plane above the guide wire G3, because the degree of freedom of movement in the Y-axis direction is locked, the robotic arm 110 is physically impossible to interfere with or collide with the adjacent guide wire G2. The operator can control the robotic arm to move along the X-axis along the axial direction of the guide wire G3 to adjust its position, and descend along the Z-axis to complete the clamping. Throughout the switching process, this dimensionality reduction control strategy from three-dimensional to two-dimensional eliminates the risk of collision at the root of the control logic, greatly improving operational safety.
[0036] In the above process, the accurate acquisition of three-dimensional information is crucial, and the dual-mode three-dimensional vision module 130 in this embodiment provides a reliable guarantee for this. Figure 6A schematic diagram illustrating the working principle of a speckle structured light system is shown. In this diagram, R is a point on the reference plane, Z0 is the distance from the lens to the reference plane, and R1 is the point of R projected onto the CCD / CMOS sensor through the lens. O is the point of R projected onto the object being measured, K1 is the point of O projected onto the CCD / CMOS sensor, and d is the distance between R1 and K1 (R1K1), representing the parallax on the CCD / CMOS sensor. P is the speckle projector, C is the lens, f is the focal length of the lens, K is the intersection of the line connecting lens C and O with the reference plane, RK is the length of the base of triangle OKR, and b is the distance from the centerline of the lens to the centerline of the projector. Z represents the distance between the lens and point O in a direction perpendicular to the reference plane.
[0037] According to the similarity relationship of triangles, triangle RKC is similar to triangle R1K1C, therefore:
[0038] Triangle OKR is similar to triangle OCP, therefore:
[0039] Where R1K1 is the disparity d, by combining the above two equations, the formula for calculating the distance Z to be measured can be derived:
[0040] Z0, f, b, and d are all known, and the distance Z can be calculated. It is understood that speckle structured light can achieve monocular positioning, but monocular systems have blind spots. Therefore, this embodiment uses two infrared cameras 7 to form a binocular structured light system, which can effectively reduce the measurement blind spot. Simultaneously, multiple marker points are set on the robotic arm and the table, which also avoids the situation where a single marker point is obscured. Speckle structured light has high positioning accuracy at close range, so speckle structured light data is used for close-range positioning. If an object appears at a more distant location reachable by the robotic arm, a binocular positioning scheme is needed for distance measurement.
[0041] Figure 7 A schematic diagram illustrating the working principle of a binocular vision system is shown. In the coordinate system XZ, the coordinates (x, z) of the target point P need to be determined. L and R are the CCD / CMOS sensors of the left and right cameras, respectively; b is the distance between the center lines of the left and right CCD / CMOS sensors; the distance from the X-axis to L and R is the lens focal length f; xl is the imaging point position of point P on the left CCD / CMOS sensor; xr is the imaging point position of point P on the right CCD / CMOS sensor; and xl - xr is the parallax d. Based on the relationship of similar triangles, we can obtain:
[0042] We can obtain:
[0043]
[0044] Where xl, xr, f, d, and b are all known or measurable parameters, the coordinates of P(x, z) can be calculated. Binocular vision performs stably in well-lit, textured scenes, especially at long distances, and its robustness is generally superior to structured light. This embodiment combines these two technologies to ensure high-quality 3D data can be obtained under various conditions.
[0045] Example 2 This embodiment provides a more detailed description of the data fusion strategy of the dual-mode 3D vision module 130 in Embodiment 1. The fusion strategy aims to fully utilize the respective advantages of the speckle structured light system and the binocular vision system to provide optimal positioning accuracy and robustness throughout the entire operating range. This function can be implemented by a dedicated data fusion module within the controller 120.
[0046] Specifically, its working process may include the following steps: The data fusion module first performs a preliminary depth estimate of the scene. For example, an initial depth map can be quickly generated using a binocular vision mode with faster computation speed. For any target point in the scene, let its preliminary estimated depth value be D.
[0047] The controller 120 has a preset distance threshold, which is determined experimentally and roughly divides the near-distance region where structured light has the best accuracy and the far-distance region where binocular vision has better robustness. The data fusion module dynamically adjusts the weights of the two data sources based on the comparison between the initial depth value D and the threshold.
[0048] (1) When the target distance is less than the preset threshold, it indicates that the target is in the near range. Within this range, the speckle structured light system is less affected by ambient light and is not sensitive to textureless surfaces, and the depth values it provides usually have higher accuracy and resolution. Therefore, the fusion module will assign a higher weight to the structured light depth value and a lower weight to the binocular vision depth value. The final fused depth value is calculated by weighted averaging.
[0049] (2) When the target distance is greater than or equal to the preset threshold, it indicates that the target is in the medium to long distance range. Within this range, the speckle energy projected by the structured light will decrease with the square of the distance, resulting in a weaker signal received by the infrared camera 7 and a lower signal-to-noise ratio, thus affecting the accuracy of depth calculation. Conversely, as long as the passive binocular vision system can find matching feature points, its measurement range can be farther, and the relative error changes more smoothly with increasing distance. Therefore, the fusion module will reverse the weight allocation, assigning a higher weight to the binocular vision depth value and a lower weight to the structured light depth value.
[0050] Through the aforementioned dynamic fusion or selection strategy, the robot system 100 in this embodiment can leverage its strengths and avoid its weaknesses. It can achieve high precision by relying on structured light during close-range operation and stable global positioning by relying on binocular vision during long-range navigation. This ensures that it can provide continuous, reliable, and high-precision 3D data input for upper-level applications such as dimensionality reduction control, path planning, and safety monitoring throughout the entire workspace.
[0051] Example 3 This embodiment, based on Embodiment 1, further describes a parallel real-time safety monitoring function for enhancing the overall safety of the system. This function aims to prevent collisions between the robotic arm 110 and unexpected objects caused by unforeseen circumstances in the operating environment (such as unintentional insertion of a medical staff member's limb, accidental drop of other medical equipment, etc.).
[0052] Combination Figure 8 As shown, the core of this function is that the controller 120 defines a preset safe workspace for the current task of the robotic arm 110, which is shown as the effective working range 4 of the robotic arm in the figure.
[0053] Throughout the movement of the robotic arm 110, the 3D vision module 130 continuously performs 3D scanning of the field of view, generating real-time 3D spatial data. The controller 120 processes the real-time acquired 3D spatial data. When any object other than the robotic arm 110 and multiple known target objects is detected within the effective working range 4 of the robotic arm, the controller 120 automatically pauses the movement of the robotic arm 110 and issues an alarm.
[0054] Specifically, the safety response may include: the controller 120 directly sending a pause command to the robotic arm 110, causing the robotic arm 110 to stop moving; simultaneously, an alarm is issued via sound and light to alert the operator. After the safety response is triggered, the robotic arm 110 will remain locked until the operator manually confirms that the danger has been eliminated. Only after receiving a resumption command from the operator will the controller 120 allow the robotic arm 110 to continue performing its previous task.
[0055] In this way, this embodiment adds a safety barrier to the robot system 100 that is independent of the main control process, enabling it to proactively and quickly respond to unknown risks in the workspace and providing dual safety protection for high-risk, high-precision application scenarios.
[0056] In the description of this application, it should be understood that the terms "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.
[0057] Specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art can make various changes or modifications within the scope of the claims, which do not affect the essence of the present invention. Unless otherwise specified, the embodiments and features described in this application can be arbitrarily combined with each other.
Claims
1. A robot obstacle avoidance control method based on three-dimensional vision, characterized in that, include: The three-dimensional spatial information related to the robotic arm (110), the operating table and multiple target objects in the operating environment is acquired through the three-dimensional vision system (130); Based on the three-dimensional spatial information, coordinate system registration is performed on the three-dimensional vision system (130), the robotic arm (110), and the operating table. Based on the arrangement characteristics of the multiple target objects in the three-dimensional spatial information, a preset direction is determined, and the preset direction corresponds to the arrangement direction of the multiple target objects; When the end effector of the robotic arm (110) moves to the working plane above the operating table, kinematic constraints are applied to restrict the movement of the end effector of the robotic arm (110) along the preset direction, so that it can only move in a plane perpendicular to the preset direction.
2. The robot obstacle avoidance control method based on three-dimensional vision as described in claim 1, characterized in that, The three-dimensional vision system (130) is a dual-mode three-dimensional vision system, including an active three-dimensional measurement module and a passive three-dimensional measurement module.
3. The robot obstacle avoidance control method based on three-dimensional vision as described in claim 2, characterized in that, Also includes: The target distance is obtained by measuring the active three-dimensional measurement module or the passive three-dimensional measurement module. as well as Based on the target distance, the positioning results of the active 3D measurement module and the passive 3D measurement module are dynamically fused or selected.
4. The robot obstacle avoidance control method based on three-dimensional vision as described in claim 3, characterized in that, The fusion steps include: Based on the target distance, weights are assigned to the positioning results of the active 3D measurement module and the passive 3D measurement module. When the target distance is less than a preset threshold, the weight of the active 3D measurement module is greater than the weight of the passive 3D measurement module; when the target distance is greater than or equal to the preset threshold, the weight of the passive 3D measurement module is greater than the weight of the active 3D measurement module. The final 3D positioning is determined based on the weighted positioning results.
5. The robot obstacle avoidance control method based on three-dimensional vision as described in claim 2, characterized in that, The active three-dimensional measurement module is a speckle structured light system, which includes at least one infrared projector (6) and at least one infrared camera (7); the passive three-dimensional measurement module is a binocular vision system, which includes at least two RGB cameras (5).
6. The robot obstacle avoidance control method based on three-dimensional vision as described in claim 1, characterized in that, Prior to the coordinate system registration, a pre-calibration step is also included: The internal parameters of the three-dimensional vision system (130) are calibrated using a calibration plate (8). By acquiring images of the calibration plate (8) at different distances and orientations, the focal length, principal point coordinates and distortion coefficients of each camera, as well as the baseline vector and rotation matrix of the binocular system, are calculated.
7. The robot obstacle avoidance control method based on three-dimensional vision as described in claim 1, characterized in that, The step of determining the preset direction includes: Extract the position coordinates of the multiple target objects from the three-dimensional spatial information; and By performing principal component analysis on the position coordinates of the multiple target objects, the determined first principal component direction is taken as the preset direction.
8. A robot system, characterized in that, For implementing the robot obstacle avoidance control method based on three-dimensional vision according to any one of claims 1 to 7, the robot system (100) includes: a robotic arm (110), a three-dimensional vision system (130), and a controller (120). The three-dimensional vision system (130) is communicatively connected to the controller (120) and is used to acquire three-dimensional spatial information related to the robotic arm (110), the operating table and multiple target objects in the operating environment; The controller (120) is communicatively connected to the robotic arm (110) and is configured to execute the three-dimensional vision-based robot obstacle avoidance control method.
9. The robot system as described in claim 8, characterized in that, The three-dimensional vision system (130) is mounted on a multi-joint bracket, which is fixed to the operating table. Each joint of the multi-joint bracket is rotatable and lockable so that the field of view of the three-dimensional vision system (130) covers the movement space of the robotic arm (110).
10. The robot system as described in claim 8, characterized in that, It also includes a 3D display (140) which is communicatively connected to the controller (120); the controller (120) is further configured to fuse the images acquired by the three-dimensional vision system (130) into a three-dimensional stereoscopic image and output it to the 3D display (140).
