Method and device for configuring flexible sensor on connecting rod of mechanical arm

By measuring the straightest geodesic on the connecting rod of the robot arm and simulating the configuration of flexible sensors, the problems of high costs and poor detection results caused by excessive sensors are solved, and more efficient obstacle detection is achieved.

CN118876113AInactive Publication Date: 2024-11-01SHENZHEN JINGZHI MACHINE
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410967653.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-11-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Although the existing sensor configuration methods on the robotic arm connecting rod improve detection performance, they significantly increase the number of sensors, resulting in high cost and poor detection effect.

Method used

By measuring the straightest geodesic on the connecting rod of the robot arm, the flexible sensor is simulated and the best configuration method is selected according to the detection capability, reducing the number of sensors to improve detection performance.

Benefits of technology

It achieves better detection capabilities when using fewer sensors, reduces costs, and improves obstacle detection performance of the robotic arm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118876113A_ABST
    Figure CN118876113A_ABST
Patent Text Reader

Abstract

The invention relates to a method and device for configuring a flexible sensor on a connecting rod of a mechanical arm. The method comprises the following steps: measuring the straightest geodesic line on a curved surface model of the connecting rod, and simulating the configuration of the flexible sensor on the straightest geodesic line; detecting the detection capability of the flexible sensor on the connecting rod of the mechanical arm; and selecting the configuration mode with the strongest detection capability, and configuring the sensor on the connecting rod of the mechanical arm according to the configuration mode. According to the method and device for configuring the flexible sensor on the connecting rod of the mechanical arm, the straightest geodesic line of the connecting rod is found out, sensor modeling is conducted based on the straightest geodesic line, then the detection capacity of the sensor is simulated, and the optimal placement position of the sensor is found out according to the detection capacity; therefore, better detection performance can be achieved by using fewer sensors, and the cost can be reduced by deploying fewer sensors under the condition of enough detection capability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robot sensor configuration, and in particular to a method and device for configuring a flexible sensor on a connecting rod of a robot arm. Background Art

[0002] The robot arm can automatically stop when it encounters an obstacle during movement, so it is necessary to set sensors to detect obstacles on the connecting rod of the robot arm. Since the connecting rod range of the robot arm is large, it is necessary to determine the configuration position and configuration quantity of the sensors before configuring them.

[0003] An existing configuration method is to evenly distribute all proximity sensor modules into a hexagonal pattern and build a cost function based on hazard field theory to quantify the detection possibility. In addition, another configuration method is to set up a sensor ring around the robot link, which is usually composed of multiple off-the-shelf ToF modules. Although these configuration methods can improve the detection performance of the sensor, they will significantly increase the number of sensors. Summary of the invention

[0004] In view of the above, it is necessary to improve a method and device for configuring a flexible sensor on the connecting rod of a robot arm, which can optimize the configuration of the sensor on the connecting rod of the robot arm, use fewer sensors and have better detection capabilities.

[0005] To this end, the present disclosure first provides a method for configuring a flexible sensor on a connecting rod of a robotic arm, comprising the following steps:

[0006] Determine the straightest geodesic line on the curved surface model of the connecting rod, and simulate the configuration of the flexible sensor on the straightest geodesic line;

[0007] Testing the detection capability of the flexible sensor on the connecting rod of the robotic arm;

[0008] A configuration method with the strongest detection capability is selected, and the sensor is configured on the connecting rod of the robot arm according to the configuration method.

[0009] According to the method for configuring a flexible sensor on a connecting rod of a robotic arm, determining the straightest geodesic line on a curved surface model of the connecting rod includes:

[0010] Selecting a patch of the surface model as a first patch, determining a starting point and an extension vector on the first patch, extending from the starting point along the extension vector to a second patch intersecting with the first patch, and obtaining an intersection point where the extension vector intersects with the second patch;

[0011] The intersection point is used as the starting point of the extension vector in the second face patch, and the extension direction of the extension vector in the first face patch in the second face patch is used as the extension direction of the extension vector of the second face patch to determine the extension vector of the second face patch when the first face patch and the second face patch are rotated to the same plane;

[0012] Repeat the above steps to combine the trajectories of the extension vectors in all the first face patches and the second face patches as the straightest measuring point line until the length of the straightest measuring point line reaches a preset length.

[0013] According to the method for configuring a flexible sensor on a connecting rod of a robotic arm, when the first surface patch and the second surface patch are rotated to the same plane, the extension direction of the extension vector in the first surface patch in the second surface patch is used as the extension direction of the extension vector of the second surface patch. Determining the extension vector of the second surface patch includes:

[0014] Calculating a first angle between an extension vector in the first patch and adjacent lines of the first patch and the second patch;

[0015] An extension vector passing through the intersection point and having the same angle as the first included angle is determined in the second face patch as an extension vector of the second face patch.

[0016] According to the method for configuring a flexible sensor on a connecting rod of a robotic arm, simulating configuring the flexible sensor on the straightest geodesic line includes:

[0017] In a simulation environment, multiple ranging models are evenly placed on the straightest geodesic line, and an illumination cone is set as the detection area of ​​the ranging module, wherein the fixed point of the illumination cone is located at the point where the ranging module is located, the vertical line of the illumination cone is perpendicular to the surface patch where the ranging module is located, and the taper and height of the illumination cone are set according to the parameters of the ranging module.

[0018] According to the method for configuring a flexible sensor on a connecting rod of a mechanical arm, detecting the detection capability of the flexible sensor on the connecting rod of the mechanical arm includes:

[0019] Setting a connecting rod running track of the robotic arm and setting obstacles within the running range of the robotic arm;

[0020] Shooting an operation video of the robotic arm, and extracting N video frames of the operation video;

[0021] If the video frame detects that the obstacle enters the range within the illumination cone of the ranging module, the number of detections n is increased by one until the detection of all extracted video frames is completed;

[0022] The detection capability is determined according to the ratio of the number of detections n to the total number of video frames N.

[0023] According to the method of configuring a flexible sensor on a connecting rod of a robotic arm, setting an obstacle within the operating range of the robotic arm includes: the position of the obstacle changes randomly within the working area of ​​the robotic arm.

[0024] According to the method of configuring flexible sensors on the connecting rods of the robotic arm, multiple ranging models are evenly placed on the straightest geodesic line in a simulation environment, including: setting sensors starting from the connecting rod at the end of the robotic arm for testing, and then arranging sensors on each connecting rod in turn for testing until all connecting rods are configured with the sensors.

[0025] According to the method of configuring a flexible sensor on a connecting rod of a robotic arm, determining the detection capability according to the ratio of the number of detections n to the total number of video frames N includes: calculating the detection capability of the sensor position according to a Monte Carlo method.

[0026] In addition, the present disclosure also provides a device for configuring a flexible sensor on a connecting rod of a robotic arm, which is used to configure the sensor on the connecting rod of the robotic arm, and includes a controller, and the controller is used to execute the described method.

[0027] Compared with the prior art, the method and device for configuring flexible sensors on the connecting rod of the robotic arm finds the straightest geodesic of the connecting rod, models the sensor based on the straightest geodesic, and then simulates the detection capability of the sensor. The optimal placement position of the sensor is found according to the detection capability, thereby achieving better detection performance with fewer sensors. Under the condition of sufficient detection capability, costs can be reduced by deploying fewer sensors. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the specific implementation methods, the drawings required for use in the description of the implementation methods will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0029] Figure 1 It is a flow chart of a method for configuring a flexible sensor in a link of a robotic arm.

[0030] Figure 2 It is a schematic diagram of selecting the first face, starting point and extension vector on the surface model of the connecting rod.

[0031] Figure 3 It is a schematic diagram of extending the extension vector of the first face patch toward the second face patch to determine the extension vector of the second face patch.

[0032] Figure 4It is a schematic diagram of calculating the extension vector of the second patch.

[0033] Figure 5 It is a detection schematic diagram of the flexible sensor configured on the connecting rod.

[0034] Figure 6 It is a schematic diagram of detecting obstacles by the flexible sensor on the connecting rod.

[0035] The following specific implementations will further illustrate the present disclosure in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION

[0036] In order to more clearly understand the above-mentioned purposes, features and advantages of the present disclosure, the present disclosure is described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other. In the following description, many specific details are set forth in order to fully understand the present disclosure, and the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.

[0037] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present disclosure belongs. The terms used in the specification herein are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure.

[0038] In each embodiment, for the convenience of description and not to limit the present disclosure, the term "connection" used in the patent specification and claims of the present disclosure is not limited to physical or mechanical connection, but may include electrical connection, whether direct or indirect. "Up", "down", "below", "left", "right", etc. are only used to indicate relative position relationship. When the absolute position of the described object changes, the relative position relationship also changes accordingly.

[0039] A robotic arm generally includes a plurality of connecting rods that are rotatably connected to each other, and the posture change of the robotic arm is achieved by rotating between the connecting rods. In order to place the flexible proximity sensor on the connecting rod of the robotic arm in an optimal manner, in this embodiment, an appropriate mathematical model is used to describe the possible installation positions of the sensor strip. The flexible sensor is composed of a plurality of ranging modules and is evenly mounted on the FPC strip, which plays an important role in obstacle detection. In the process of sensing potential obstacles, the transmitter of the ranging module will pass through an illumination cone as the detection area. If part of the obstacle is within the cone, the distance from the ranging module to the obstacle can be measured. Therefore, the shape of the entire flexible sensor and the position and direction of each ranging module on the flexible sensor can be specified.

[0040] Figure 1 is a flow chart of a method for configuring flexible sensors on the links of a robotic arm. Figure 1 As shown, the method for configuring a flexible sensor on a connecting rod of a robotic arm includes steps S101 to S104. When the flexible sensor is placed on a plane, the edge between the left and right sides of the flexible sensor is a straight line, while if we place the flexible sensor on the connecting rod of the robotic arm, it is one of the "straightest curves" on the surface. Such a feature can be represented by a classical concept in Riemannian geometry: geodesic.

[0041] Step S101: Determine the straightest geodesic on the curved surface model of the connecting rod. In this step, the specific implementation steps are as follows:

[0042] First, a patch of the surface model is selected as a first patch, a starting point and an extension vector are determined on the first patch, and the extension vector is extended from the starting point to the second patch intersecting with the first patch along the extension vector to obtain the intersection point where the extension vector intersects with the second patch. Then, the intersection point is used as the starting point of the extension vector in the second patch, and the extension vector of the second patch is determined by taking the extension direction of the extension vector in the first patch in the second patch as the extension direction of the extension vector of the second patch when the first patch and the second patch are rotated to the same plane. In some embodiments, the method for calculating the extension vector may be: first, calculating the first angle between the extension vector in the first patch and the adjacent lines of the first patch and the second patch, and then determining an extension vector in the second patch that passes through the intersection point and is equal to the first angle as the extension vector of the second patch. Then, repeat the above steps, and combine the trajectories of the extension vectors in all the first patches and the second patches as the straightest measuring point line until the length of the straightest measuring point line reaches a preset length.

[0043] Figure 2 This is a schematic diagram of selecting the first face, starting point and extension vector on the surface model of the connecting rod. Figure 2 As shown, as an example, the geometric information of the connecting rod of the robot arm is usually represented by a triangular patch model, such as an STL model. To extract a geodesic in a triangular patch model, first determine an initial patch, and determine an initial point and an initial direction vector on the initial patch. Starting from these initial direction vectors, we extend the direction vector to intersect with other triangular patches. On the newly intersecting triangular patches, determine a new direction vector, which should be aligned with the original direction vector. In this way, the geodesic finally extracted from the triangular patch model is a sequence of line segments composed of these direction vectors. The specific termination condition is determined by the length of the geodesic to be extracted, that is, after the length of the geodesic is met, stop extending the direction vector to the next patch.

[0044] However, there should be a specific standard for the alignment between the direction vectors of the first and second facets. When the direction vector intersects the edge of the second facet, we only need to ensure that the angle between the direction vector of the second facet and the edge is equal to the angle between the direction vector of the first facet and the edge.

[0045] Figure 3 It is a schematic diagram of extending the extension vector of the first face patch toward the second face patch to determine the extension vector of the second face patch. Figure 4 is a schematic diagram for calculating the extension vector of the second patch. Figure 3 and Figure 4 As shown in the figure, when the direction vector of the first patch (the previous patch) intersects with a vertex of the second patch (the next patch), it is necessary to ensure that the new direction vector can bisect the vertex angle contained in this vertex. The specific method is:

[0046] 1. Calculate the sum θ of all vertex angles contained in the vertex.

[0047] 2. Calculate the angle θ between the direction vector of the first face and any edge of the first face containing the vertex sum .

[0048] 3. Starting from this edge, add the vertex angles containing this vertex to θ in order. sum , until θ sum >θ / 2

[0049] 4. Determine θ sum >θ / 2 is used as the second patch, and a new direction vector is determined in the second patch so that θ sum =θ / 2.

[0050] Step S102: Simulate the configuration of the flexible sensor on the straightest geodesic line. In this step, specifically, Figure 5 It is a detection schematic diagram of the flexible sensor configured on the connecting rod, such as Figure 5 As shown, in a simulation environment, multiple ranging models are evenly placed on the straightest geodesic line. Preferably, sensors are set starting from the connecting rod at the end of the robotic arm for testing, and then sensors are arranged on the connecting rods one by one in sequence for testing until all the connecting rods are equipped with the sensors. Then, an illumination cone is set as the detection area of ​​the ranging module, wherein the fixed point of the illumination cone is located at the point where the ranging module is located, the vertical line of the illumination cone is perpendicular to the surface patch where the ranging module is located, and the taper and height of the illumination cone are set according to the parameters of the ranging module.

[0051] Step S103: Detecting the detection capability of the flexible sensor on the connecting rod of the robotic arm. Figure 6is a schematic diagram of detecting obstacles by the flexible sensor on the connecting rod, such as Figure 6 As shown, in this step, first, the connecting rod running track of the robot arm is set, and an obstacle is set within the running range of the robot arm. Preferably, the position of the obstacle changes randomly within the working area of ​​the robot arm. Then, the running video of the robot arm is shot, and N video frames of the running video are extracted. Then, if the video frame detects that the obstacle enters the range within the illumination cone of the ranging module, the number of detections n is increased by 1 until the detection of all extracted video frames is completed. Finally, the detection capability is determined according to the ratio of the number of detections n to the total number of video frames N.

[0052] As an example, the present embodiment estimates the detection capability of a specific sensor position according to the Monte Carlo method. The basic idea of ​​the Monte Carlo method is to calculate the cumulative number of successful detections n in the total number of simulations N. s And calculate the success rate.

[0053] First, during the simulation, the robot's pose changes over time and the position of the obstacle is randomly updated within the robot's working area. Second, if any part of the obstacle is within one of the illumination cones, it is considered a successful obstacle detection. At this point, n s will be incremented by 1 and a new simulation will follow.

[0054] Finally, using The successful detection rate ζ is obtained as an evaluation metric of the detection capability of a specific sensor placement.

[0055] Step S104: Select the configuration with the strongest detection capability, and configure the sensor on the connecting rod of the robot according to the configuration. In this step, the detection capability of the sensor position is calculated according to the Monte Carlo method. Specifically, after all the geodesics on the connecting rod are generated as installation positions, simulation tests are performed to find the best arrangement on each connecting rod in turn (with the detection success rate as the evaluation criterion). In the simulation test, the robot performs a specific pick-and-place task. First, sensors are arranged on the connecting rod at the end of the robot, and a cyclic test is performed to find the best arrangement of the sensors at this time; then sensors are added to the remaining connecting rods in turn, and a cyclic test is performed to find the best arrangement of the sensors at this time; until all the connecting rods of the robot arm are arranged with sensors in the best way, the test ends.

[0056] Through the above method, the optimal sensor arrangement of the robot link in a specific situation can be obtained. Moreover, through simulation, it is found that the more sensors there are, the better the detection effect is. As the number of sensors increases, the detection success rate increases gradually until it is almost the same.

[0057] Finally, this embodiment also provides a device for configuring a flexible sensor on a connecting rod of a robotic arm, which is used to configure the sensor on the connecting rod of the robotic arm. The device includes a controller, and the controller is used to execute the described method.

[0058] The above-mentioned method and device for configuring flexible sensors on the connecting rod of the robotic arm finds the straightest geodesic of the connecting rod, models the sensor based on the straightest geodesic, and then simulates the detection capability of the sensor. According to the detection capability, the optimal placement position of the sensor is found, thereby achieving better detection performance with fewer sensors. Under the condition of sufficient detection capability, the cost can be reduced by deploying fewer sensors.

[0059] In the several specific embodiments provided in the present disclosure, it is obvious to those skilled in the art that the present disclosure is not limited to the details of the above exemplary embodiments, and that the present disclosure can be implemented in other specific forms without departing from the spirit or basic features of the present disclosure. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present disclosure is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present disclosure. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

[0060] The above embodiments are only used to illustrate the technical solution of the present disclosure rather than to limit it. Although the present disclosure is described in detail with reference to the above preferred embodiments, those skilled in the art should understand that the technical solution of the present disclosure can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present disclosure.

Claims

1. A method for configuring a flexible sensor on a connecting rod of a robotic arm, characterized in that: The following steps are involved: Determine the straightest geodesic line on the curved surface model of the connecting rod, and simulate the configuration of the flexible sensor on the straightest geodesic line; Testing the detection capability of the flexible sensor on the connecting rod of the robotic arm; A configuration method with the strongest detection capability is selected, and the sensor is configured on the connecting rod of the robot arm according to the configuration method.

2. The method for configuring a flexible sensor on a connecting rod of a robot arm as claimed in claim 1, characterized in that: Determining the straightest geodesic on the surface model of the connecting rod includes: Selecting a patch of the surface model as a first patch, determining a starting point and an extension vector on the first patch, extending from the starting point along the extension vector to a second patch intersecting with the first patch, and obtaining an intersection point where the extension vector intersects with the second patch; The intersection point is used as the starting point of the extension vector in the second face patch, and the extension direction of the extension vector in the first face patch in the second face patch is used as the extension direction of the extension vector of the second face patch to determine the extension vector of the second face patch when the first face patch and the second face patch are rotated to the same plane; Repeat the above steps to combine the trajectories of the extension vectors in all the first face patches and the second face patches as the straightest measuring point line until the length of the straightest measuring point line reaches a preset length.

3. The method for configuring a flexible sensor on a connecting rod of a robot arm as claimed in claim 2, characterized in that: Determining the extension vector of the second face patch by taking the extension direction of the extension vector in the first face patch in the second face patch as the extension direction of the extension vector of the second face patch when the first face patch and the second face patch are rotated to the same plane includes: Calculating a first angle between an extension vector in the first patch and adjacent lines of the first patch and the second patch; An extension vector passing through the intersection point and having the same angle as the first included angle is determined in the second face patch as an extension vector of the second face patch.

4. The method for configuring a flexible sensor on a connecting rod of a robot arm as claimed in claim 1, characterized in that: Simulating configuring the flexible sensor on the straightest geodesic line includes: In a simulation environment, multiple ranging models are evenly placed on the straightest geodesic line, and an illumination cone is set as the detection area of ​​the ranging module, wherein the fixed point of the illumination cone is located at the point where the ranging module is located, the vertical line of the illumination cone is perpendicular to the surface patch where the ranging module is located, and the taper and height of the illumination cone are set according to the parameters of the ranging module.

5. The method for configuring a flexible sensor on a connecting rod of a robot arm as claimed in claim 4, characterized in that: Detection capabilities of the flexible sensor on the connecting rod of the robotic arm include: Setting a connecting rod running track of the robotic arm and setting obstacles within the running range of the robotic arm; Shooting an operation video of the robotic arm, and extracting N video frames of the operation video; If the video frame detects that the obstacle enters the range within the illumination cone of the ranging module, the number of detections n is increased by one until the detection of all extracted video frames is completed; The detection capability is determined according to the ratio of the number of detections n to the total number of video frames N.

6. The method for configuring a flexible sensor on a connecting rod of a robot arm as claimed in claim 5, characterized in that: Setting an obstacle within the operating range of the robotic arm includes: a position of the obstacle randomly changes within the working area of ​​the robotic arm.

7. The method for configuring a flexible sensor on a connecting rod of a robot arm as claimed in claim 6, characterized in that: Evenly placing multiple distance measurement models on the straightest geodesic line in a simulation environment includes: setting sensors for testing starting from the connecting rod at the end of the robot arm, and then arranging sensors on each connecting rod in turn for testing until all connecting rods are equipped with the sensors.

8. The method for configuring a flexible sensor on a connecting rod of a robot arm as claimed in claim 4, characterized in that: Determining the detection capability according to the ratio of the number of detections n to the total number of video frames N includes: calculating the detection capability of the sensor position according to a Monte Carlo method.

9. A device for configuring a flexible sensor on a connecting rod of a mechanical arm, used for configuring a sensor on a connecting rod of a mechanical arm, characterized in that: The method comprises a controller, wherein the controller is used to execute the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Mechanical arm obstacle avoidance method based on proximity perception

    CN113232025A

  • Mechanical arm obstacle avoidance method and device, electronic equipment and storage medium

    CN115958610A

  • Mechanical arm for multi-point measurement based on distributed flexible sensor and control method

    CN118342487A

  • ROBOT ARM MECHANISM

    DE112017005503T5