Interference detection device and interference detection method
Hyperquadratic functions facilitate efficient and accurate interference detection for moving objects and sensors by converting complex shapes into manageable representations, addressing the inefficiencies of existing methods.
Patent Information
- Application Number
- JP2023069074
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-20
- Publication Date
- 2024-10-31
- Estimated Expiration
- 2043-04-20
AI Technical Summary
Existing interference detection methods for moving objects and sensors require large amounts of data and computational resources to model complex shapes, leading to inefficiencies in real-time collision avoidance and detection of interference with variously shaped obstacles.
The use of hyperquadratic functions to represent interference detection areas, allowing for flexible and efficient detection of interference with a small amount of data by converting complex shapes into a manageable format for real-time processing.
Enables quick and accurate detection of interference with variously shaped obstacles using a small amount of data, reducing computational burden and enabling real-time collision avoidance.
Smart Images

Figure 2024154872000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an interference detection device and an interference detection method relating to technology for detecting and avoiding interference between various moving bodies, whether manned or autonomous, and objects in their surroundings, such as automobiles, construction and agricultural vehicles, mobile robots including drones and unmanned guided vehicles, and movable manipulator parts of articulated robots.Furthermore, the present invention relates to an interference detection device and an interference detection method relating to technology for detecting the intrusion of people or objects into an interference detection area set around a robot or a sensor, such as a robot or a safety scanner, and for detecting intrusion into the interference detection area of the robot or the sensor itself. [Background technology]
[0002] In the field of automobiles, cars equipped with cameras that recognize the surrounding environment and LiDAR (Light Detection and Ranging) that can avoid collisions with people or other vehicles, park automatically, and even drive autonomously are now being put to practical use. Similarly, in the fields of construction vehicles and agricultural vehicles, vehicles capable of unmanned construction and tilling have also been realized.
[0003] Additionally, in the field of robotics, autonomous mobile robots are currently being put to practical use, such as robots and unmanned guided vehicles that transport workpieces, materials, and various products in factories and logistics facilities, self-propelled cleaning robots that operate in the home, and drones that fly indoors and outdoors to take pictures and transport goods. Some autonomous mobile robots are mobile manipulator type robots that have a multi-joint manipulator mounted on the traveling and moving part. In the case of multi-joint manipulators, whose base is fixed to the floor or a pedestal on equipment, the link part that corresponds to the arm from the base can also be considered a type of mobile body.
[0004] Furthermore, in the field of sensors, there are currently safety sensors called safety scanners, which are used in various automated equipment, including equipment using articulated manipulators, to detect the approach of people, logistics vehicles, and other such objects to the equipment. Safety scanners are installed on fixed equipment, and can also be mounted on autonomously moving robots and unmanned guided vehicles. The detection and avoidance of collisions and interference with obstacles while moving objects such as various vehicles and robots are moving, or the detection and avoidance of collisions and interference with people and vehicles approaching equipment using sensors in automated equipment, are becoming important technologies.
[0005] For example, in recent years, not only has autonomous driving been achieved on roads, but autonomous parking has also been achieved in narrower spaces. In addition, mobile robots and automated guided vehicles are increasingly driving in the same passages as people, rather than driving in dedicated driving lanes. In this way, when moving bodies, including automobiles, mobile robots, agricultural and construction vehicles, etc., whether manned or unmanned, move more precisely in narrower spaces without stopping as much as possible and perform tasks that involve movement, rough collision avoidance, such as stopping when a distance measurement means such as LiDAR mounted on the moving body detects an obstacle within a certain distance in the direction of travel, is insufficient. Instead, more precise collision avoidance is required, such as slipping through obstacles perpendicular to the direction of travel without stopping the movement and approaching the obstacle as close as possible to the obstacle in the direction of travel.
[0006] Mobile robots equipped with manipulators on their running parts are also on the rise. For mobile robots equipped with such manipulators, it is necessary to prevent the manipulator, which corresponds to a human arm, from colliding with surrounding objects other than the target of the task during operation, as well as to prevent the manipulator from colliding with the mobile robot's body itself. In the latter case, the part of the manipulator that corresponds to the elbow may be separated from the waist, which has a smaller circumference, due to the narrowness of the body, but may be close to coming into contact with the chest, which has a larger circumference.
[0007] In addition, when a mobile robot uses a manipulator to grasp a doorknob to open a door and pass through it, because the door it is opening is approaching from the front left side of the body, the robot will also need to move back slightly to the rear right.
[0008] For drones, which are included in mobile robots, it is expected that in the future, information on no-approach zones established by government agencies and businesses will be updated manually by the drone's administrator or automatically by the drone's control device itself, and even if the pilot intentionally or mistakenly tries to approach such a no-approach zone, the drone will be controlled so that it cannot enter the no-approach zone. In such cases, it is desirable to be able to set no-approach zones in a variety of shapes, such as roughly enveloping buildings of various shapes, cylindrical or rectangular shapes that cover a certain area around a steel tower or chimney, or a hemisphere centered on a certain point.
[0009] In this case, it is preferable to express these various no-approach airspace shapes in the same framework with a small amount of data, because the flight avoidance process can also be executed in the same framework with a small amount of computational resources. For example, when manually spraying pesticides only on specific fields, drones can be used in the opposite way by setting an interference detection area on the target field and flying the drone to spray, and when the drone leaves the target field, a person or the drone's control device detects that the output of the interference detection device changes from an interference state to a non-interference state, and the drone returns in the opposite direction so that the drone re-enters the target field. This is useful when the field is large and it is difficult to determine from the operation point on the ground whether the drone has left the target field at a point away from the operation point.
[0010] Unmanned operation and construction are becoming more common for agricultural and construction vehicles, but in the future, unmanned operation will be required not only for large, simple fields and construction sites where surrounding trees have been cut down and maintained, but also for fields and construction sites where people are currently performing work and construction in a skillful and careful manner. In such cases, it is necessary not only to avoid collisions with other vehicles or people on the ground, but also to avoid contact or collisions with high protruding objects, such as tree branches that have not been removed, and other structures. In this case, it is assumed that the shortest distance and shortest direction to the same branch will be different between the riding part and the engine bonnet, and as a result, the risk of contact will be different between the two.
[0011] Regarding safety sensors that prevent collisions and interference, in addition to those that detect objects on a two-dimensional plane, those that detect objects in three-dimensional space are also being put to practical use. Therefore, there is a demand for sensors that can set interference detection areas of various shapes in three-dimensional space as easily as possible.
[0012] Conventionally, industrial articulated manipulators are often equipped with a function that virtually sets a rectangular parallelepiped area in the space around the manipulator and outputs a signal from the control device to the outside when the hand enters the area. This function is used for safety purposes such as prohibiting approach to the area to protect equipment in the area and interlocking with other cooperating robots and equipment, as well as for the purpose of actively using interference detection for control, such as issuing an operation start command to other cooperating robots and equipment. However, the shape of the area is limited to a rectangular parallelepiped shape that is easy to set.
[0013] To sum up, as the operation of mobile bodies and sensors in various fields becomes more advanced, it is not enough for a mobile body or a sensor to simply grasp the distance between a distance measuring means provided in the mobile body or a sensor and an object around the mobile body in order to detect and avoid a collision between the mobile body and a surrounding object, or to detect interference between an interference detection area set by the sensor and an object or person.Moreover, it is necessary to easily check the presence or absence of interference with a person or an object for interference detection areas of various shapes including the body of the mobile body, and to grasp the distance between each part of the interference detection area of various shapes including the body of the mobile body and the surrounding object as accurately and as quickly as possible.
[0014] Regarding the shape of the collision detection area, the body shapes of moving objects, such as automobiles, agricultural machinery, construction machinery, humanoid mobile robots, etc., are becoming increasingly complex. For this reason, there is a demand for a method of collision detection and distance calculation for the collision detection area that can handle such complex body shapes and that can handle the smallest amount of data possible.
[0015] Various methods have been proposed for detecting and avoiding collisions and interference between moving objects and sensors. However, when considering the background and requirements described above, these methods are not necessarily sufficient.
[0016] Patent Document 1 discloses a method of modeling a robot and its environment with a polyhedron composed of triangular or quadrilateral polygons, and judging interference based on whether the ridges that make up the polygon, i.e., the polygon, intersect with the polygons that make up the opposing polyhedron. However, its purpose is as a simulator to check the robot's operation in advance, and it is not a technology to detect or avoid interference in real time while the robot is operating. The main reason that it remains at a simulation level is that modeling the robot and its external environment with polyhedrons requires a huge amount of data for the polyhedrons and the amount of data to be processed.
[0017] Looking specifically at the amount of computational processing required for this interference detection, when determining whether or not there is interference between a polyhedron on the robot's side and a polyhedron on the environment side, it is necessary to perform m x n crossing checks between the edges and polygons for all m edges that make up the polygons on the robot's polyhedron and all n polyhedrons on the environment side.
[0018] In addition, since it is difficult to instantly calculate which polygons on one polyhedron are close to which polygons on the other polyhedron, it is difficult to avoid the m×n combination exhaustive search and reduce the amount of calculations unless a special device is used in the processing program. Even if only the robot moves, for either the robot or the environment polyhedron, calculations are added to convert the coordinate values of all vertices constituting the polygon into the coordinate system of the other party according to the amount of movement of the robot. Another problem is that the accuracy of interference detection depends on the resolution of the polygon. This is because if the resolution is made finer to improve accuracy, both the amount of data and the amount of calculation for interference detection increase. Thus, although modeling the shape of the interference detection area with polygons is a common method, it is not a good idea to detect interference in real time.
[0019] Patent Document 2 discloses a collision avoidance method for mobile robots that move mainly along road-like paths, in which a control device for the mobile robot equipped with an obstacle sensor adjusts the moving speed for obstacles located in the moving direction. However, the collision avoidance process is performed according to the distance to the obstacle in a sensor coordinate system based on the sensor position, and the distance between the obstacle and each part of the body, which is not necessarily a simple shape such as a rectangular parallelepiped or cylindrical shape, is not taken into consideration in the collision avoidance process. For this reason, the moving path to avoid collision has to be a large detour around the obstacle, making it difficult to move through a narrow space.
[0020] Patent Document 3 discloses a technology for avoiding an obstacle by calculating the shortest distance between the robot's body and the obstacle based on 3D models of the robot's body and the obstacle. Therefore, the collision avoidance movement path is maneuverable according to the shape of the robot's body and the obstacle, and it can move as if slipping through a narrow space. However, since the 3D model is converted into a convex polyhedron model and the shortest distance calculation is performed, a negative distance error occurs for concave parts of the body.
[0021] Therefore, if we imagine a mobile robot with a body shape similar to that of a human, equipped with manipulators for arms, and assuming that this mobile robot is to grasp an object at the back of a table, even though there is still some distance between the table top and the narrow waist, the shortest distance error associated with the convex polyhedron transformation will cause the waist and the table top to be determined to be in an interference state, and the mobile robot will not be able to bring its hands close to the object at the back of the table.
[0022] Furthermore, although Patent Document 3 does not specify the specific format of the 3D model, at least point cloud data on the constituent surfaces of the robot body and obstacles is required to obtain the convex polyhedron model. This means that, like Patent Document 1, the interference detection means needs to store a large amount of data. Also, the GJK algorithm is used as an example of a method for calculating the shortest distance between two convex polyhedrons.
[0023] This method is a method for calculating the shortest distance between a point and a polygonal face that constitutes a convex polyhedron, and unless some special ingenuity is used, it requires an exhaustive search of combinations of vertices on one convex polyhedron and polygons that constitute the other polyhedron. As with Patent Document 1, the accuracy of the calculation of the shortest distance depends on the resolution of the polygons that constitute the convex polyhedron, and coordinate conversion of point cloud data of either the robot body or obstacles is required as the robot moves. For these reasons, the same problems as those in Patent Document 1 arise regarding the format of the 3D model.
[0024] Patent Document 4 discloses a technique for setting detection conditions for a sensor to detect the approach of an object to a machine, but it is not a technique related to the sensor itself. The interference detection area of the sensor assumed in Patent Document 4 is two-dimensional, not three-dimensional. The interference detection area is set with the sensor at the center, and it is not possible to set the interference detection area at a position away from the sensor. [Prior art documents] [Patent documents]
[0025] [Patent Document 1] Japanese Patent Application Publication No. 8-278990 [Patent Document 2] JP 2019-21202 A [Patent Document 3] Special Publication No. 2019-516146 [Patent Document 4] JP 2021-186946 A Summary of the Invention [Problem to be solved by the invention]
[0026] In contrast to the above prior art documents, the requirements for interference detection that the present invention addresses are as follows: The area in which interference is detected may be a roughly cylindrical or roughly partially cylindrical area around the robot or sensor, a roughly rectangular or spherical no-approach area that is fixedly provided in a space away from the robot or sensor, the general shape of the body of the automobile or robot itself, or a shape offset a certain distance from the general shape of the body.
[0027] In this case, while using the same interference detection procedure, it is convenient if the shape of the interference detection area can be varied in a variety of ways, such as being roughly cylindrical as described above, roughly rectangular in some cases, or roughly the shape of an automobile or robot body in other cases.
[0028] It is also desirable to be able to represent such diverse shapes with a small amount of data.Furthermore, it is desirable to be able to easily check, with a small amount of calculation, the interference between a surrounding object, the distance of which is measured in part or in whole by a distance measuring means, and the interference detection area, and to easily and quickly obtain the shortest distance between a distance measurement point on a surrounding object and the interference detection area, in order to predict the possibility of interference after a certain period of time even if there is no interference, or to avoid surrounding objects by making too large a detour.
[0029] The present invention has been made in consideration of the above, and has an object to provide a means of implementing interference detection that can give a variety of shapes, using a small amount of data, to an interference detection area that detects the presence or absence of interference, and that can easily and quickly determine the presence or absence of interference between a surrounding object and the interference detection area, as well as the shortest distance between the object and the interference detection area. [Means for solving the problem]
[0030] The interference detection device of the present invention is an interference detection device that detects the presence or absence of interference between a set three-dimensional or two-dimensional area and an object based on the measured distance to a surrounding object, and is equipped with an interference detection area shape representation means that holds the interference detection area that detects the presence or absence of interference in superquadric function form. Effect of the Invention
[0031] According to the interference detection device of the present invention, the interference detection area that detects the presence or absence of interference can be given a variety of shapes using a small amount of data, and the presence or absence of interference between a surrounding object and the interference detection area, as well as the shortest distance between the object and the interference detection area, can be determined easily and in a short time. [Brief description of the drawings]
[0032] [Figure 1] FIG. 1 is a block diagram showing the configuration and data exchange relationship when an interference detection device according to this embodiment is incorporated into a control device for a moving object. [Diagram 2] FIG. 2 is a block diagram showing the configuration and data transfer relationship when the interference detection device of this embodiment is incorporated into a sensor. [Diagram 3] FIG. 3 is a diagram for explaining an example of a sphere whose shape is expressed in the form of a superquadric function. [Figure 4] FIG. 4 is a diagram for explaining an example of a rectangular parallelepiped whose shape is expressed in the form of a superquadric function. [Diagram 5] FIG. 5 is a diagram for explaining an example of a cylinder whose shape is expressed in the form of a superquadric function. [Figure 6] FIG. 6 is a diagram for explaining an example of an intermediate shape between a rectangular parallelepiped and an ellipsoid, the shape of which is expressed in the form of a superquadric function. [Figure 7] FIG. 7 is a diagram for explaining an example of a cone, the shape of which is expressed in the form of a superquadric function, and only the upper half of the cone is shown. [Figure 8] FIG. 8 shows a modification of the cylinder shown in FIG. [Figure 9] FIG. 9 shows a modification of the cylinder shown in FIG. [Figure 10] FIG. 10 is a diagram for explaining an example of a moving object whose shape is expressed in the form of a superquadric function. [Figure 11] FIG. 11 is a diagram for explaining an example of interference detection between a moving trajectory of a moving body and an interference detection region. [Figure 12] FIG. 12 is a diagram for explaining an example of collision detection between a manipulator and the body of a mobile robot equipped with a manipulator and a surrounding approach-prohibited area. [Figure 13] FIG. 13 is a diagram for explaining an example of detection of interference between a manipulator and a body in a mobile robot equipped with a manipulator. [Figure 14] FIG. 14 is a diagram for explaining an example of interference detection at distance measurement points by a sensor. [Figure 15] FIG. 15 is a diagram for explaining an example of a process of searching for a nearest point on the body of a moving object. [Figure 16] FIG. 16 is a diagram for explaining an example of a process for calculating the shortest distance between a point outside the body of a moving object and the body. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0033] In this embodiment, the three-dimensional solid shape of the interference detection area is represented by a superquadric function, which is simple yet has a wide range of shape expressibility, making it possible to express the shape of the interference detection area with a small amount of data, from a simple roughly cylindrical shape to the more complex body shapes of an automobile or robot, and to easily and flexibly change the shape.
[0034] Then, by substituting the coordinate values of the point (x, y, z) into the superquadric function formula, it is possible to easily determine whether the superquadric function surface is inside or outside based on whether the calculated value exceeds 1, making it possible to easily and quickly determine whether an object is interfering with the interference detection area.
[0035] Furthermore, even if it is determined that no interference has occurred by the interference check using the inside / outside judgment of this superquadric function surface, it is possible to efficiently calculate the distance between the object and the boundary of the interference detection area, which is necessary to predict the possibility of a future collision or to generate a trajectory for a moving body equipped with this interference detection device to avoid collision with the object.
[0036] For this purpose, we utilize the property that any point on a curved surface given by a superquadric function can be sampled (=indicated) using two variables, azimuth angle and elevation angle, even though the surface shape given by the superquadric function forms a solid in the orthogonal three-dimensional space of X·Y·Z.
[0037] Hereinafter, an embodiment of an interference detection device and an interference detection method according to the present disclosure will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiment. In addition, the components in the following embodiments include those that are replaceable and easily conceivable by a person skilled in the art, or those that are substantially the same.
[0038] The interference detection device according to this embodiment is a device that detects the presence or absence of interference between a set three-dimensional or two-dimensional area and a surrounding object based on a measured distance to the surrounding object. The interference detection device functions by being incorporated into the control systems of moving objects such as automobiles, mobile robots including drones and unmanned guided vehicles, agricultural machinery, construction machinery, etc. The interference detection device also functions by being incorporated into safety sensors that are mounted on these moving objects and form the control systems of the moving objects. Furthermore, the interference detection device also functions by being incorporated into the control systems of fixed equipment such as various types of automated equipment.
[0039] 1 is a block diagram showing the configuration and data exchange relationship when the interference detection device of this embodiment is incorporated into a mobile body control device of a mobile body. In the mobile body control device 3 of the mobile body 1, the interference detection device 4 of this embodiment detects the presence or absence of interference with the target area for interference detection, and calculates the shortest distance between the interference detection area and a distance measurement point. These results are passed to an execution control means constituting the mobile body control device 3, which stops the traveling unit drive means of the mobile body 1, or to a collision avoidance means which controls the traveling unit drive means so that the mobile body 1 avoids obstacles based on the results.
[0040] 2 is a block diagram showing the configuration and data exchange relationship when the interference detection device of this embodiment is incorporated in a sensor. When incorporated in a sensor 2, the interference detection device 4 of this embodiment returns an interference detection result to an external device, that is, a mobile body control device 3 in FIG. 2, as to whether or not a distance measurement point in the surrounding environment, the distance of which is measured by a distance measurement means, is interfering with the interference detection area. When there is a separate command from the external mobile body control device 3, the shortest distance between the interference detection area and the distance measurement point is also returned to the mobile body control device 3.
[0041] 1 and 2, the components of the interference detection device 4, that is, the interference detection area shape representation means 41, the interference detection means 42, the interference detection area shape setting switching means 43, and the interference detection area shortest distance calculation means 44, will be described.
[0042] First, the interference detection area shape representation means 41 will be described. The interference detection area shape representation means 41 holds the interference detection area for detecting the presence or absence of interference in the form of a superquadric function. There are three types of interference detection areas targeted by the interference detection device 4 of this embodiment, corresponding to the usage format of the device. The first type is an area that is set in advance at an arbitrary position and orientation in the coordinate system in the surrounding environment of the moving body 1 or the sensor 2, and is an area to which the moving body 1 or the sensor 2 itself should avoid active approach.
[0043] The second is a region that is set at an arbitrary position and orientation outside the moving body 1 or the sensor 2 and in a coordinate system on the moving body 1 or the sensor 2, and is a region where passive approach of targets such as other objects and people should be avoided. The third is an interference detection region that corresponds to an approximate shape of all or part of the body of the moving body 1.
[0044] The passive approach of the second object includes a new object being detected as a result of active movement of the mobile object 1 or the sensor 2. The three-dimensional shape of the above interference detection area is defined by the superquadric function shown in the following equation (1).
[0045]
number
[0046] The superquadrics referred to here are functions expressed as superquadrics in English. Superquadrics form a three-dimensional shape, but if the parameters ε1 = ε2 = 1 in formula (1), and if a1, a2, and a3 are all set to the same value, the shape will be a sphere, and if a1, a2, and a3 are set to different values, the shape will be an ellipsoid.
[0047] In this way, a1, a2, and a3 are dimensional parameters that define the size or spread in each of the X, Y, and Z directions of the three-dimensional shape given by the superquadric function. On the other hand, ε1 and ε2 are both shape parameters that control the roundness of the shape. In this embodiment, the moving body 1 and the obstacle are 3D modeled using the superquadric function. For example, for general shapes such as an approximate cylinder, an approximate rectangular parallelepiped, an approximate cone including a truncated cone, an approximate ellipsoid including a sphere, an approximate torus, and an approximate pyramid, many shapes with parameters set in advance are prepared, and the user selects a shape that is close to the actual shape by fine-tuning the parameters. For complex shapes, the manufacturer of the moving body provides a formula that represents the shape, or the user of the sensor 2 makes the parameters in the formula adjustable.
[0048] Figures 3 to 7 show point cloud meshes of three-dimensional shapes given by the basic form of the superquadric function shown in equation (1) together with set numerical values. Figure 3 is an example of a sphere. Figure 4 is an example of a rectangular parallelepiped. Figure 5 is an example of a cylinder. Figure 6 is an example of an intermediate shape between a rectangular parallelepiped and an ellipsoid. Figure 7 is an example of a cone, with only the upper half illustrated. To illustrate these, it is necessary to sample points on the superquadric surface. A superquadric function coordinate system (X S ,Y S ,Z S ) at point P on the superquadric surface S =(x S ,y S ,z S ) T is sampled according to the following equation (2), which is an extension of the conversion equation between ellipsoidal coordinates and orthogonal three-dimensional coordinates.
[0049]
number
[0050] sgn() is the sign function. As shown in equation (2), ω is the superquadric function coordinate system (X S ,Y S ,Z S ) and point P S The vector connecting SThe angle formed with respect to the axis corresponds to longitude on the earth, and is called the azimuth angle in this embodiment. η is the angle S -Y S The angle formed with respect to the plane corresponds to latitude on the earth, and in this embodiment is called an elevation angle.
[0051] The collision detection area can also be a two-dimensional area on a plane. A two-dimensional area is equivalent to setting the z term in the parentheses ( ) on the left side of equation (1) to 0, and in equation (2) the elevation angle η should be set to 0. In this way, two-dimensional areas are contained within three-dimensional areas, so the following explanation will continue assuming that the collision detection area is a three-dimensional area.
[0052] Next, we will show how to improve the shape representation of superquadrics. There are several extensions of superquadrics. One of them is called deformable superquadrics, which is a form in which x, y, and z in equation (1) are not just variables but functions called deformed functions, as shown in the following equation (3).
[0053]
number
[0054] In formula (3), f x -1 (y,z), f y -1 (x,z), f z -1 (x,y) are the transformation functions f x (y,z), f y (x,z), f z The inverse function of (x,y).
[0055] As for deformation functions, as described in Reference 1, tapering, bending, cavity deformation, etc. have been proposed, and composite transformations of these are also possible.
[0056] Reference 1: F. Solina, R. Bajcsy, Recovery of Parametric Models from Range Images: The Case for Superquadrics with Global Deformations, IEEE Transactions on Pattern Analysis and Machine Intelligence, pp.131-146, Vol.12, No.2, (1990).
[0057] Fig. 8 shows a modified cylinder shown in Fig. 5, in which tapering is applied to increase or decrease the diameter of the bottom and top surfaces by 30% from the center, and bending is applied to the cylinder at an elevation angle of 20°. Fig. 9 shows an example of a cylinder that is deformed into a torus shape by bending the cylinder at an elevation angle of 180°. Basically, any deformation function can be defined, but if it is necessary to determine whether a coordinate point is inside or outside by substituting coordinate values into equation (3), a reverse transformation must be defined along with a forward transformation.
[0058] Figure 10 shows a shape that imitates a moving body (as an example, the body of a minivan) by applying deformation using a sigmoid function with an inverse function in addition to tapering deformation. If it is not necessary to determine whether it is inside or outside by substituting coordinate values into equation (3), more complicated shape deformation can be performed using various function approximation methods such as regression or curved interpolation without considering inverse transformation.
[0059] The samples of points on the superquadric function surface are also used by the interference detection means 42 and the means for calculating the shortest distance to the interference detection region 44. In order to perform unbiased interference detection of the target shape in the former, and to accurately find the point on the interference detection region that is closest to an external point in the latter, it is desirable to be able to sample points on the interference detection region as uniformly as possible, like the surface meshes shown in Figures 3 to 10, 12 to 13, and 15 to 16.
[0060] There are several methods for uniform sampling, and the details are given in references 2 and 3. However, some adjustments may be necessary depending on the method to be applied, the shape of the transformation function, and the shape of the surface to be approximated.
[0061] Reference 2: E. Bardinet, LD Cohen, N. Ayache, A parametric deformable model to fit unstructured 3D data, Computer Vision and Image Understanding, 71(1), pp.39-54, 1998.
[0062] Reference 3: BC Vemuri, A. Radisavwevic, Multiresolution Stochastic Hybrid Shape Models with Fractal Priors, ACM Transactions on Graphics, Vol. 13, No. 2, pp.177-207, 1994.
[0063] The examples in FIGS. 3 to 10 are based on Reference 1, in which case, equation (2) is transformed into the following equation (4).
[0064]
number
[0065]
number
[0066] The important thing about both equations (2) and (4) is that even though the superquadric surface forms a solid, if you specify only two angles, the azimuth angle ω and the elevation angle η, you can find the three-dimensional coordinate point (x S ,y S ,z S) are the points that can be sampled at any time. By varying the definition ranges of these two angles shown in equations (2) and (4) with an arbitrary resolution, it is possible to sample points on the entire surface.
[0067] This is because the superquadric is geometrically a two-dimensional manifold like a sphere, and just as positions on the Earth's surface are determined by longitude and latitude, points on the superquadric surface are determined by azimuth and elevation angles. This allows for efficient interference detection and shortest distance calculation, as described below.
[0068] This characteristic is significantly different from that of conventional technologies, which require the point cloud data that makes up the interference detection area and the three-dimensional coordinate values (x, y, z) of the vertices of polyhedrons to be stored at a specific roughness resolution, and which have no means of directly accessing points in specific parts of the area without a search means.
[0069] In addition to the extended system in which x, y, and z in equation (1) described here are transformed functions, there are also extended superquadrics in which the parameters ε1 and ε2 in equation (1) are functions, a further generalized form called hyperquadrics, and a form in which a1, a2, and a3 in equation (1) are functions. In this embodiment, these extended systems are collectively referred to as superquadrics, and are included in the scope of the present invention.
[0070] In addition to the examples of 3D shapes shown in Figures 3 to 10, by using these extension systems, it is possible to express a variety of 3D shapes with a small number of finite parameters, such as a wedge shape, a banana shape, a hat or ashtray shape, a shoe shape, etc. Conversely, it is also possible to apply a superquadric function to shape measurement data of various objects by using optimization calculations, and there are examples in which superquadric functions have been adapted to the shapes of beverage cans, candy packets, the ventricles of the heart, etc.
[0071] In this way, the superquadric function, which can express a variety of three-dimensional shapes using the five parameters of equation (1) that define the size and shape, and a small, finite number of parameters that define various deformations, is suitable for the shape expression means 41 of the interference detection area.
[0072] Next, the interference detection means 42 will be described. In the coordinate system (X S , Y S , Z S ) of a superquadratic function, the so-called inside-outside determination of whether a certain point P(x, y, z) is located inside the surface represented by the superquadratic function can be easily determined by simply substituting the coordinate values of (x, y, z) into the left side of Equation (1) or Equation (3), which is called the inside-outside function.
[0073] That is, when the left side of Equation (1) is represented as F(x, y, z), if F(x, y, z) < 1, the point P is located inside the surface represented by the superquadratic function; if F(x, y, z) = 1, the point P is located on the superquadratic function surface; and if 1 < F(x, y, z), the point P is located outside the superquadratic function surface. The same applies to Equation (3). Using this characteristic, the interference detection means 42 in the present embodiment detects interference for the following three types of objects.
[0074] First, first, it is determined whether a point on the moving trajectory sampled from the moving trajectory of the moving body 1 interferes with the interference detection region represented by the superquadratic function. FIG. 11 is a diagram for explaining an example of interference detection between the moving trajectory of the moving body 1 and the interference detection region. FIG. 11 shows an interference detection region 111 and a moving trajectory 112. The interference detection region 111 shown in FIG. 11 may correspond to a prohibited approach region set around the outside of the moving body 1 or the moving body 1 itself.
[0075] Points on the moving trajectory 112 of the moving body 1 such as the manipulator tip or the drone are regarded as representing the moving body 1, and this is a process for detecting interference in a rougher manner than the following second detailed interference detection, and is intended to be executed before the operation of the moving body 1 or to calculate points on the trajectory in advance during the operation and execute them prior to the actual operation.
[0076] That is, the interference detection means 42 sets an interference detection area expressed in a superquadric form corresponding to an approach prohibition area within the space surrounding the interference detection device 4, and judges whether a sample point of the moving trajectory of the mobile body 1 provided by the control means of the mobile body 1 interferes with the interference detection area by performing an inside / outside judgment calculation of each trajectory sample point with respect to the superquadric surface representing the interference detection area. Note that the interference detection area 111 may be configured by combining and arranging a plurality of superquadric surfaces, and the plurality of superquadric surfaces may each have a different shape. Also, the trajectory data required for this process is passed to the interference detection means 42 from the trajectory storage means or trajectory generation means of the mobile body control device 3.
[0077] Secondly, it is determined whether or not the point cloud data approximating the overall shape of the moving body 1 or the shape of a part where interference is to be detected or avoided interferes with the interference detection area expressed by a superquadric. This shape approximation point cloud data may be in a format in which data created based on CAD (Computer Aided Design) data of the moving body 1 is stored, but from the viewpoint of reducing the amount of data storage, it is more appropriate to sample data at appropriate times when interference is detected based on equations (2) and (4) from the superquadric function approximating the shape of the relevant part.
[0078] In this case, the interference detection area may correspond to a no-approach area set around the moving body 1, or may be the body of the moving body 1 itself. FIG. 12 is a diagram for explaining an example of interference detection between a manipulator and a body of a moving robot equipped with a manipulator and the surrounding no-approach area. FIG. 13 is a diagram for explaining an example of interference detection between a manipulator and a body of a moving robot equipped with a manipulator. FIGS. 12 and 13 show a manipulator 121, a moving robot 122, an interference detection area 123, and an interference occurrence point 124. Note that the point cloud mesh of the outer shape of both the body 133 and the manipulator 121 shown in FIGS. 12 and 13 is generated by sampling a superquadric function.
[0079] Considering a mobile robot 122 equipped with a manipulator 121 (FIGS. 12 and 13), the manipulator part is approximated by a hyperquadric function, and it is possible to judge whether or not a group of points roughly sampled from the manipulator will interfere with the approach-prohibited area outside the mobile robot 122 by the method based on the interior and exterior functions described above (FIG. 12). Similarly, it is also possible to set the interference detection area 123 as the body 133 of the mobile robot 122 and judge whether or not the manipulator 121 will interfere with the body 133 during operation (FIG. 13). As with the first detection process, this detection process is intended to be executed before the mobile body 1 starts to move, or to be executed by reading ahead the points on the trajectory during operation.
[0080] In other words, the interference detection means 42 sets an interference detection area 123 expressed in a superquadric form, which corresponds to a no-approach area, within the space surrounding the interference detection device 4, and when a moving body 1 (mobile robot 122) which has the interference detection device 4 built in as part of the moving body control device 3 moves along a predetermined trajectory, it represents the shape of part or all of a constituent part of the moving body 1 as point cloud data, and determines whether part or all of the constituent part interferes with the interference detection area 123 by performing an inside / outside determination calculation for each point of the point cloud with respect to the superquadric function surface which represents the interference detection area 123.
[0081] Thirdly, it is judged whether or not the surrounding objects or environmental distance measurement points corresponding to the distance measured by the distance measuring means provided on the moving body 1 or the sensor 2 interfere with the interference detection area expressed by the superquadric function. For example, this corresponds to a case where an interference detection area equivalent to an approach prohibition area is set around the moving body 1 or the sensor 2, and the intrusion of a person or vehicle into a specific range in the moving direction of the moving body 1 and the approach of an obstacle, or the intrusion of a person or vehicle into the monitoring area of the sensor 2 fixedly installed near a dangerous place is detected. FIG. 14 shows this example. FIG. 14 shows the interference detection of the distance measurement points by the sensor 2. FIG. 14 shows an interference detection area 141 expressed by a superquadric function, a distance sensor 142 as an example of the sensor 2, and a distance measurement point (distance detection point) 143.
[0082] By performing coordinate transformation, the superquadric function can be placed at any position in three-dimensional space in any posture. This makes it possible to set an interference detection area equivalent to an approach-prohibited area by tilting it in space in the first interference detection, and to approximate the link shape of the manipulator 121 with a superquadric function in the second interference detection (FIGS. 12 and 13) and determine whether or not the links moving with six degrees of freedom interfere with the interference detection area 123 equivalent to an approach-prohibited area set in an arbitrary coordinate space (FIG. 12). This will be specifically shown by an example of the most basic coordinate transformation.
[0083] The superquadric function coordinate system (X S ,Y S ,Z S ) on the point p S =(x S ,y S ,z S ) T and the distance measurement means coordinate system (X M ,Y M ,Z M ) on the point p M =(x M ,y M ,z M ) T The relationship between these is expressed by the following equations (6) and (7):
[0084]
number
[0085]
number
[0086] These formulas are general formulas that represent coordinate transformation. Among the components of the coordinate transformation matrix T in formula (6), d is the coordinate system (X M ,Y M ,Z M) from the origin of the superquadric coordinate system (X S ,Y S ,Z S ) to the origin, R is the vector (3×1) that represents the translation of (X M ,Y M ,Z M ) for (X S ,Y S ,Z S ) is a 3 × 3 rotation matrix.
[0087] The points on the superquadric surface sampled by formula (2) or (4) can be placed at any position in the distance measurement means coordinate system with any rotational attitude by formula (6). Similarly, it is naturally possible to transform the distance measurement means coordinate system into, for example, the moving body coordinate system that holds the distance measurement means, and the moving body coordinate system into the world coordinate system in which the moving body 1 travels.
[0088] Conversely, by coordinate transforming the distance measurement point 143 on the distance measurement means coordinate system corresponding to the distance measured by the distance measurement means into the superquadric function coordinate system according to equation (7), it is possible to determine whether the distance measurement point is within the interference detection area 141 expressed by a superquadric function by an inside / outside determination using an inside / outside function in the interference detection means 42.
[0089] Using general knowledge of robotics, the position and attitude angle of each link that constitutes the manipulator during manipulator movement can be calculated using the concept of kinematics, and the calculated position and attitude angle are respectively substituted into d and R in equation (6). This enables the second type of interference detection. Methods for expressing attitude angles include Euler angles and angular axis vectors, but any of these can be converted into the rotation matrix format of equation (6).
[0090] Next, the interference detection area shape setting and switching means 43 will be described. The interference detection area shape setting and switching means 43 stores a plurality of parameters related to the shape and location of the hyperquadric surface representing the interference detection area for detecting the presence or absence of interference. In either case, when the interference detection device 4 is incorporated in a moving body (FIG. 1) or when the interference detection device 4 is incorporated in a sensor 2 (FIG. 2), these parameters can be set or switched by a signal or communication from outside the interference detection device 4, or manual setting. In addition, a user or manufacturer may add parameters of a hyperquadric function corresponding to a new interference detection area shape or set them as a processing target from outside the moving body 1 or the sensor 2 via an external interface.
[0091] For example, the interference detection area shape setting switching means 43 receives an interference detection area switching command corresponding to the operation mode of the mobile body 1 from the execution control means of the mobile body control device 3. For example, the switching command is to switch the parameters of a superquadric function with a designated number to an interference detection area outside the mobile body in order to detect interference between the mobile body 1 moving on a predetermined trajectory and a specific surrounding object, or to switch the interference detection area to the body shape of the mobile body with a designated number.
[0092] There are three types of interference detection areas targeted by the interference detection device 4 of this embodiment, corresponding to the usage modes of the device.
[0093] The first type is a region that is set in advance at an arbitrary position and orientation in the coordinate system in the surrounding environment of the moving body 1 or the sensor 2, and is a region where the moving body 1 or the sensor 2 mounted on the moving body 1 should avoid active approach. The second type is a region that is set at an arbitrary position and orientation in the coordinate system outside the moving body 1 or the sensor 2 and on the moving body 1 or the sensor 2, and is a region where passive approach of targets such as other objects and people should be avoided. Note that the passive approach of targets includes a new detection of a target as the moving body 1 or the sensor 2 moves actively. The third type is an interference detection region that corresponds to an approximate shape of the whole or part of the body of the moving body 1.
[0094] Corresponding to the differences between the above three types of interference detection areas, the interference detection area shape setting switching means 43 accepts manual setting of the interference detection area shape when changing the operation of the moving body 1 or the sensor 2, and also receives a command from the execution control means of the moving body control device 3 according to the activity status of the moving body 1 and switches the interference detection area. It performs both of these functions.
[0095] First, we will explain how the system works when it supports the first and second types. For typical general shapes such as an almost cylinder or an almost rectangular parallelepiped, the user can select the shape manually from an external interface or by signals or communications from outside, and the roundness parameters ε1 and ε2 in formula (1) are given in advance so that the superquadric surface becomes the selected shape, and the dimensional parameters a1, a2, and a3 are made variable by the user.
[0096] In addition, for the set position and orientation of the collision detection area given by the superquadric surface, the translation amount d and rotation matrix R constituting the coordinate transformation matrix T in equation (6) can be set and stored. As a result, it is possible to select general representative shapes such as an approximately cylinder, an approximately rectangular parallelepiped, an approximately cone including a truncated cone, an approximately ellipsoid including a sphere, an approximately torus, and an approximately pyramid as shown in Fig. 3, and by storing parameters that make the superquadric surface into the selected shape in advance and making it possible to manually change the dimensions and placement position, the user can select a variety of three-dimensional shapes for the collision detection area while saving the effort of detailed settings.
[0097] Next, the specification and switching of the body shape of the third type of moving body 1 will be described. Since the body shape of the moving body 1 is complex, it is reasonable to consider that it is expressed by a combination of multiple superquadric functions or a transformation function of a superquadric function specialized for the body shape. Furthermore, regarding the body shape, the user who operates the moving body 1 does not usually set parameters of a superquadric function including a transformation function in the interference detection device 4. It is assumed that the normal operation form is that the manufacturer of the moving body 1 that incorporates the interference detection device 4 sets parameters of a superquadric function related to the body of a specific model in the interference detection device 4.
[0098] In this case, considering that the body shape of the moving body 1 is generally complex and model-specific, and considering the desire to shorten the processing time for interference detection, it is reasonable for the manufacturer of the moving body 1 to directly write a formula expressing the body shape, including a combination of multiple superquadric functions and a transformation function that approximates the contour, into the processing execution program of the interference detection means 42. Then, the interference detection area shape setting switching means 43 calls this function when it receives a designation from outside the interference detection device 4, or notifies the number so that the interference detection means 42 can switch the function that executes the processing.
[0099] Similarly, for transformation functions of superquadric functions defined by individual mathematical expressions, the transformation functions are implemented for each type in the processing execution program of the interference detection means 42. Then, when a transformation function of a format specified by the interference detection area shape setting switching means 43 is called in the processing execution program of the interference detection means 42, the interference detection area shape setting switching means 43 passes the stored parameters of the transformation function to the interference detection means 42 together with parameters that define the shape and position of the superquadric function.
[0100] Next, the means 44 for calculating the shortest distance to the interference detection area will be described. The means 44 for calculating the shortest distance to the interference detection area calculates the shortest distance between the interference detection area and a distance measurement point on a surrounding object existing around the interference detection device 4 by sampling points on a hyperquadric function surface that represents the interference detection area. The target points for which the shortest distance to the interference detection area is calculated are of the following three types, the same as the interference detection targets of the interference detection means.
[0101] The first type is distance measurement points on the moving body 1 or objects around the sensor 2, which correspond to the distances measured by the distance detection means. The second type is each point of point cloud data that approximates the overall shape of the moving body 1 or the shape of a part where interference needs to be detected or avoided. The third type is points on the trajectory of the moving body 1.
[0102] Even if the interference detection means 42 determines that there is no interference, it is very useful for the collision avoidance means 36 to know the shortest distance between a distance measurement point on a surrounding object or a point on the trajectory of the moving body 1 and the interference detection area in order to predict the possibility of a collision after a certain period of time or to avoid surrounding objects by not making too large a detour.
[0103] Therefore, by repeatedly sampling points on the superquadric surface while changing the azimuth angle and elevation angle according to formula (2) or formula (4), and exploratory calculation of the distance between each of these points and the target point, the shortest distance between the target point and the interference detection area is calculated. An example of this procedure is specifically shown below.
[0104] First, the azimuth and elevation angles at which to start the search calculation for the shortest distance are calculated from the position of the target point for which the shortest distance is to be calculated. The surface given by the superquadric shown in equation (1) or equation (3) can be regarded as a surface obtained by scaling the surface of a sphere or ellipsoid with parameters ε1 and ε2 or a deformation function, or as a surface obtained by distorting the surface.
[0105] Based on this understanding, there are several methods for inverse calculation using a sphere or an ellipsoid. Which method gives the angle closest to the true value may vary depending on the shape of the superquadric surface, but here we will show an example of a simple and widely applicable method.
[0106] This method focuses only on a1, a2, and a3 in formula (1), which are parameters that determine the spread of the superquadric surface, and calculates the azimuth and elevation angles that give the point on the ellipsoid that is closest to the target point for the ellipsoid determined by these three parameters. When a target point (x, y, z) for which the shortest distance should be calculated is given, the azimuth angle ω and elevation angle η of the point on the ellipsoid that corresponds to this point before transformation into a superquadric, i.e., ε1 = ε2 = 1, can be easily calculated from the following formula (8) using general geometric knowledge about ellipsoids.
[0107]
number
[0108] Next, the search for the shortest distance begins with the two angle values of azimuth and elevation obtained in this way as the initial search values. Given a point A in three-dimensional space, the overall procedure for calculating the shortest distance and shortest-distance point between point A and the interference detection area given by a superquadric function is summarized below. Note that if the shape of the interference detection area is a sphere and a1=a2=a3 in the superquadric function that represents it, these azimuth and elevation angles are the angle values that give the shortest-distance point, and it goes without saying that the search process described below is not necessary.
[0109] (Procedure for calculating the shortest distance point) Step 1: For example, the azimuth angle and elevation angle of point A in the interference detection area are calculated according to formula (8). These azimuth angle and elevation angle are set as the initial angles of the search. Also, a large value is set as the provisional shortest distance value. Step 2: Search for the shortest distance within a certain angle range near the initial angle found in step 1 as follows: Step 2-1: The azimuth angle and elevation angle are each changed by a fixed angular increment around the initial search angle. Step 2-2: Substitute the changed azimuth and elevation angles into equation (4) to sample a point on the surface given by the superquadric function, and call this point point B. Step 2-3: The distance between point A and point B is calculated, and if the distance value is smaller than the provisional shortest distance value, the provisional shortest distance value is updated to the calculated distance value. At the same time, the coordinates of point B are stored as the provisional shortest distance point. Step 3: When the search for the azimuth angle and elevation angle has been completed within the specified angle range, the provisional shortest distance and provisional shortest distance point at that point are set as the final provisional shortest distance and provisional shortest distance point, respectively.
[0110] The azimuth and elevation angles that gave the shortest distance point in step 3 can be used as the initial search angles, and the vicinity can be searched for at finer angle increments according to step 2, to calculate a more accurate shortest distance.
[0111] Figures 15 and 16 show the process of calculating the shortest distance to a point outside an interference detection area of a complex shape based on the above method. Figure 15 shows the process of searching for the nearest point on the body. Figure 16 shows an example of calculating the shortest distance between a point outside the body and the body. In this example, the interference detection area is, as an example, the body shape of a mobile robot CONOID-3 manufactured by Shibaura Machine that is equipped with a manipulator. Note that CONOID is a registered trademark. The transformation function f in equation (3) x , f y An approximation equation for the contour shape is set to, and the body shape is expressed by a super-quadratic function.
[0112] Point 151 in Fig. 15 is the calculation target point for the shortest distance. Point 152 indicates the search initial point on the body corresponding to the search initial angles of azimuth angle and elevation angle obtained based on equation (8). Line 153 indicates a vector corresponding to the distance calculated by changing the azimuth angle and elevation angle around the search initial angle during the search process.
[0113] From the above search process, the shortest distance and the corresponding shortest distance point are obtained. Here, even though the superquadric function surface forms a solid in the orthogonal three-dimensional space of X·Y·Z, based on the formula (4) and the formula (2), as shown in the above-mentioned interference detection means 42, an arbitrary point (x S ,y S ,z S ) can be sampled in two variables: azimuth angle ω and elevation angle η.
[0114] Therefore, without searching in the three directions of X, Y, and Z, the shortest distance point and the shortest distance can be calculated efficiently by sampling points on the superquadric surface by changing two angles limited to the vicinity of the initial angle of the search narrowed down as shown in equation (8).
[0115] Figure 16 shows an example of the shortest distance point and the shortest distance calculated by the above-mentioned search process for point 161 shown in Figure 16. Point 162 is the search initial point corresponding to the search initial angles of azimuth angle and elevation angle. Line 163 is a vector corresponding to the shortest distance calculated for point 161.
[0116] The data required to represent this body shape are the five parameters in equation (1) and f y The function formula of and two f that approximate the contour shapes of the front and back surfaces x This is a simple function, which is less complicated than the shape. Figures 12 and 13 also show the same robot.
[0117] In this way, the body is treated as an interference detection area, and the shortest distance between the body and its manipulator or a representative point on a surrounding object and the shortest distance point on the body that gives the shortest distance are determined. Information on the shortest distance and the shortest distance point is then transmitted to the collision avoidance means 36 shown in Figure 1, thereby making it possible to avoid collision between the body and the manipulator, or between the body and a surrounding object.
[0118] As described above, the interference detection device 4 of this embodiment detects the presence or absence of interference between a set three-dimensional or two-dimensional area and an object based on the measured distance to the surrounding object, and holds the interference detection area for detecting the presence or absence of interference in the form of a superquadric function.
[0119] For example, it is clear that it is preferable to use a superquadric function for the interference detection area that detects the presence or absence of interference with a surrounding object, because the various three-dimensional shapes shown in Fig. 1 can be expressed by the simple formula (1). When the interference detection device 4 of this embodiment stores the shape of the interference detection area, it is not necessary to store all point cloud data or all polygon data of the boundary of the interference detection area as in the existing technology, and with regard to shape information other than the position and orientation, it is sufficient to store only five parameters that define the size and shape of the superquadric function, and a small and finite number of parameters that give the shape deformation.
[0120] Moreover, the interference detection device 4 of this embodiment judges whether or not a sample point of the moving trajectory of the moving body 1 provided by the control means of the moving body 1 interferes with the interference detection area by performing an inside / outside determination calculation of each trajectory sample point with respect to the superquadric function surface representing the interference detection area.
[0121] For example, to determine whether or not there is interference with the interference detection area, it is sufficient to input the (x, y, z) coordinate values of a point on an object or a point on a trajectory for which interference is to be determined into a superquadric function and check whether the superquadric function exceeds 1, which can be done in an extremely short time. Therefore, for example, interference can be detected in real time on an actual robot during operation, or immediately before operation during operation.
[0122] Specifically, when there are n points in the interference detection area where interference should be judged, the number of times interference judgment is performed in this embodiment is the above-mentioned simple inside / outside judgment calculation n times. This is because, for example, when an interference detection area formed by a polygonal polyhedron has m edges (of polygons), and it is judged to judge interference between that polyhedron and another polyhedron formed by n polygons, the number of processing calculations is significantly different from that of the conventional method, which requires m×n combination intersection judgments between the edges and the polygons.
[0123] Furthermore, the interference detection device 4 of this embodiment stores a small number of setting parameters of the superquadric function surface that represents the interference detection area for detecting the presence or absence of interference in a setting and switching means for the interference detection area shape, and sets or switches these manually or by an external signal or communication.
[0124] For example, in order to utilize the characteristics of the superquadric function to set a variety of three-dimensional shapes as the interference detection area by switching the settings of the interference detection area shape, a small number of parameters that define the superquadric function can be switched or adjusted manually or by external communication or signals, etc. As a result, it is possible to select general representative shapes such as an almost cylinder or an almost rectangular parallelepiped, and by providing parameters in advance that will make the superquadric function surface into the selected shape and making it possible to manually change the dimensions and placement position, the user can select a variety of three-dimensional shapes for the interference detection area while saving the effort of detailed settings.
[0125] On the other hand, taking a mobile robot equipped with a manipulator as an example, when the robot is traveling over a wide area without using the manipulator, a roughly rectangular parallelepiped interference detection area that automatically changes size depending on the traveling speed is set in front of the mobile robot to detect obstacles on the traveling path. Next, when performing a local task using the manipulator, the body of the mobile robot is automatically switched to the interference detection area, and distance measurement points that measure the distance to surrounding objects and multiple links of the manipulator, which are approximated by superquadrics like the body, are monitored to see if they interfere with the body. In addition, an interference detection area equivalent to a no-approach area is automatically set outside the mobile robot, and it is judged whether the trajectory of the manipulator's hand will interfere there. The above is possible.
[0126] Also, taking the example of a sensor that detects the approach of people or objects, it will be possible, at one time, for the user to set an outer cylindrical interference detection area centered on the sensor in three-dimensional space after changing the diameter and height of the area, and at another time, by manually switching, to set an interference detection area equivalent to a roughly rectangular prism-shaped no-approach zone in a space away from the sensor.
[0127] Moreover, the interference detection device 4 of this embodiment samples points on the superquadric function surface representing the interference detection area, thereby calculating the shortest distance between the interference detection area and distance measurement points on surrounding objects present around the interference detection device 4, which are required for collision avoidance processing.
[0128] For example, unlike conventional technology, which has difficulty in instantly calculating which polygon on one polyhedron is closest to which polygon on another polyhedron when calculating the shortest distance to an interference detection area, this technology can instantly calculate, while approximating depending on the interference detection area, the azimuth angle and elevation angle of the corresponding superquadric function for the target point for which the shortest distance is to be calculated.
[0129] Furthermore, even though the surface shape given by the superquadric function forms a solid in the orthogonal three-dimensional space of X·Y·Z, S ,y S ,z S) can be sampled using two variables, azimuth angle and elevation angle. This makes it possible to efficiently calculate the shortest distance without searching in the three directions, X, Y, and Z, by sampling points on the superquadric surface by varying the two angles limited to the periphery based on the inverse-calculated azimuth angle and elevation angle, and then exploratory calculation of the distance between that point and the target point.
[0130] In the case of conventional technology that approximates a three-dimensional shape with a point cloud or a polyhedron, data on the points that make up the point cloud and the vertices of the polygons that make up the polyhedron are stored in memory, but adjacent points and adjacent vertices are not necessarily adjacent in memory, so it is not easy to narrow down the search for the shortest distance to a certain part. On the other hand, in the case of a superquadric function, by simply changing the azimuth angle and elevation angle in the vicinity of the inversely calculated shortest distance in increments of 0.1°, for example, from 10° to +10°, it is possible to continuously search around those angles, and the shortest distance calculation can be efficiently performed.
[0131] Furthermore, even if the three-dimensional shape has a concave portion, the distance can be calculated with high accuracy because convex approximation is not performed as in the conventional technology. Also, unlike the conventional technology, which requires finer resolution of the point cloud or polyhedron to improve the distance accuracy and results in an increase in the amount of storage of the point cloud or polyhedron, the resolution of the change in azimuth angle and elevation angle when searching for the shortest distance can be made coarse or fine without changing the amount of parameter storage of the interference detection area shape. Therefore, by narrowing down the azimuth angle and elevation angle that give the point with the shortest distance in a coarse resolution search and then searching with a fine resolution, the distance calculation time can be shortened while improving the distance accuracy.
[0132] The above-described embodiment can be modified as appropriate by changing a part of the configuration or function of the interference detection device 4. Some modified examples of the above-described embodiment will be described below. The following mainly describes the differences from the above-described embodiment, and a detailed description of the commonalities with the contents already described will be omitted. The modified examples described below may be implemented individually or in appropriate combination.
[0133] (Variation 1) For example, when it is difficult to approximate the three-dimensional shape of the interference detection area to a curved surface using a superquadric function, for example, when it is difficult to generate a group of points uniformly distributed on a superquadric function surface, or when approximating the contour using a deformation function is extremely difficult, the shape representation means 41 of the interference detection area may approximate the three-dimensional shape of the interference detection area to a shape in which cross sections at each height are stacked. Also, the contour shape of each cross section may be approximated by a two-dimensional superquadric function.
[0134] (Variation 2) For example, the interference detection means 42 may use one or more superquadric functions to represent the shape of the body of the moving body 1 offset by a certain distance as the interference detection region, rather than the actual body shape of the moving body 1. This makes it possible to grasp early, by an amount equivalent to the offset amount, that there is a risk of interference with the body of the moving body 1 by another object or a manipulator of a moving robot.
[0135] (Variation 3) For example, in this embodiment, the means 44 for calculating the shortest distance to the interference detection region provides a method for efficiently calculating the shortest distance to an external point without using a gradient for a curved surface shape in which it is not easy to calculate the gradient of a superquadric function, as shown in Figures 15 and 16. In order to specifically and directly explain the calculation method, a so-called grid search method has been used. However, for step 2, instead of such a grid search, a nonlinear optimization method that does not use the gradient of the evaluation function, such as the Nelder-Mead method, may be used.
[0136] In the above-mentioned embodiment, the program for executing the above-mentioned processing has a modular configuration including each of the above-mentioned functional units, and as actual hardware, for example, a CPU (Central Processing Unit) reads out and executes the processing program from a ROM (Read Only Memory), an HDD (Hard Disk Drive), or an SSD (Solid State Drive), thereby loading each of the above-mentioned functional means into a RAM (Random Access Memory), and generating each of the above-mentioned functional means on the RAM. It is also possible to realize some or all of the above-mentioned functional means using dedicated hardware such as an FPGA (Field-Programmable Gate Array).
[0137] Although the embodiment of the present invention has been described above, the above-mentioned embodiment is presented as an example and is not intended to limit the scope of the present invention. This new embodiment can be implemented in various other forms. In addition, various omissions, substitutions, and modifications can be made without departing from the gist of the invention. In addition, this embodiment is included in the scope and gist of the invention, and is included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]
[0138] 1. Mobile 2 Sensors 3. Mobile control device 4. Interference detection device 41 Means for expressing the shape of the interference detection area 42 Interference detection means 43. Means for switching the shape of interference detection area 44 Means for calculating the shortest distance to the interference detection area
Claims
1. An interference detection device that detects the presence or absence of interference between a set three-dimensional or two-dimensional area and a peripheral object based on a measured distance to the peripheral object, an interference detection area shape representation means for holding an interference detection area for detecting the presence or absence of interference in a superquadric function format; An interference detection device comprising:
2. a setting and switching means for storing a small number of setting parameters of the hyperquadric function surface representing the interference detection area for detecting the presence or absence of interference, and for setting or switching the shape of the interference detection area manually or by a signal or communication from an external device; 2. The interference detection device according to claim 1, further comprising:
3. a shortest distance calculation means for calculating a shortest distance between the interference detection area and a distance measurement point on a surrounding object existing around the interference detection device by sampling points on a hyperquadric function surface representing the interference detection area; 3. An interference detection device according to claim 1 or 2, comprising:
4. an interference detection area expressed in the superquadric function format, which corresponds to a no-approach area, is set within a space surrounding the interference detection device; an interference detection means for determining whether a sample point of a moving trajectory of the moving body provided by a control means of the moving body interferes with the interference detection area by performing an inside / outside determination calculation of each trajectory sample point with respect to a hyperquadric function surface representing the interference detection area; The interference detection device according to claim 3, further comprising:
5. an interference detection area expressed in the superquadric function format, which corresponds to a no-approach area, is set within a space surrounding the interference detection device; an interference detection means for expressing a shape of a part or the whole of a component part of a moving body, which incorporates the interference detection device as a part of a control device, as point cloud data when the moving body moves along a predetermined trajectory, and for determining whether or not the part or the whole of the component part interferes with the interference detection area by performing an inside / outside determination calculation for each point of the point cloud with respect to a superquadric function surface which represents the interference detection area; The interference detection device according to claim 3, further comprising:
6. The interference detection region is expressed by one or more hyperquadric functions, which represent an approximate body shape of a moving body incorporating the interference detection device as a part of a control device, or a shape obtained by offsetting the body shape by a certain distance. An interference detection device as claimed in claim 3.
7. An interference detection method for detecting the presence or absence of interference between a set three-dimensional or two-dimensional area and a peripheral object based on a measured distance to the peripheral object, comprising: a step of retaining an interference detection region for detecting the presence or absence of interference in a superquadric function format; 13. A method of interference detection comprising:
Citation Information
Patent Citations
Octal tree generating method
JP1998063873A
System and method for constructing 3D scene models from images
JP2012505471A
Segmenting 3D modeled object representing mechanical assembly
JP2023017718A
Process and device for collision detection of objects
US20020154128A1
Robot teaching method and robot teaching system
WO2019208785A1
Cited By
Anti-interference detection method and system for machining surface roughness in complex environment
CN121544610A
