JP7105993B2 - Collision detection device - Google Patents
Collision detection device Download PDFInfo
- Publication number
- JP7105993B2 JP7105993B2 JP2021515677A JP2021515677A JP7105993B2 JP 7105993 B2 JP7105993 B2 JP 7105993B2 JP 2021515677 A JP2021515677 A JP 2021515677A JP 2021515677 A JP2021515677 A JP 2021515677A JP 7105993 B2 JP7105993 B2 JP 7105993B2
- Authority
- JP
- Japan
- Prior art keywords
- polygons
- determination unit
- processed
- simple determination
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating three-dimensional [3D] models or images for computer graphics
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2210/00—Indexing scheme for image generation or computer graphics
- G06T2210/12—Bounding box
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2210/00—Indexing scheme for image generation or computer graphics
- G06T2210/21—Collision detection, intersection
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Optimization (AREA)
- Computational Mathematics (AREA)
- Pure & Applied Mathematics (AREA)
- Evolutionary Computation (AREA)
- Mathematical Analysis (AREA)
- Computer Graphics (AREA)
- Software Systems (AREA)
- Processing Or Creating Images (AREA)
- Traffic Control Systems (AREA)
Description
この発明は、物体同士の衝突を検知する衝突検知装置に関する。 The present invention relates to a collision detection device for detecting collisions between objects.
設計分野において、CAD(Computer-Aided Design)データを用いたVR(Virtual Reality)空間での組立検証又は作業性検討等の作業では、物体同士が衝突しないかを検知することが重要である。CADデータを用いた衝突判定では、物体の形状を構成する全てのポリゴン同士で干渉の有無を判定する必要がある。しかしながら、設計分野で用いる物体の形状は緻密であり、ポリゴンの数量が非常に多いため、実時間で衝突判定を行うことは困難である。そのため、衝突判定を行う必要が無い部位を特定し、処理量を減らす工夫が必要である。近年用いられている衝突判定では、高速化のために2ステップ処理を行うものが多い。 In the design field, it is important to detect whether or not objects collide with each other in work such as assembly verification or workability examination in VR (Virtual Reality) space using CAD (Computer-Aided Design) data. In collision determination using CAD data, it is necessary to determine whether or not there is interference between all polygons forming the shape of an object. However, the shapes of objects used in the design field are very precise and the number of polygons is very large, so it is difficult to perform collision determination in real time. Therefore, it is necessary to specify portions that do not need to perform collision determination and reduce the amount of processing. Collision determination that has been used in recent years often involves two-step processing for speeding up.
1ステップ目では、簡易な判定を行うことで、衝突の可能性が無い物体を処理対象から除外し、2ステップ目での処理量を低減する。2ステップ目では、詳細な判定を行うことで、衝突の可能性が有る物体同士で干渉の有無を判定する。 In the first step, simple determination is performed to exclude objects that have no possibility of collision from being processed, thereby reducing the amount of processing in the second step. In the second step, detailed determination is performed to determine whether or not there is interference between objects that may collide.
2ステップ処理としては、例えば特許文献1のように、ユーザの認識及び知覚に基づいて物体の選定を行う方法がある。しかしながら、この方法では、ユーザからは見えない範囲及びユーザが無意識な範囲では物体の選定が行われない。
一方で、CADデータを用いたVR空間での作業では、ユーザからは見えない範囲及びユーザが無意識な範囲で発生する物体の干渉も検出する必要がある。よって、上記作業における衝突検知では、上記のような方法は適していない。As a two-step process, there is a method of selecting an object based on the user's recognition and perception, as disclosed in Patent Document 1, for example. However, in this method, objects are not selected in a range invisible to the user and in a range unconscious of the user.
On the other hand, when working in a VR space using CAD data, it is necessary to detect interference of objects that occur in a range invisible to the user and in a range unconscious of the user. Therefore, the above method is not suitable for collision detection in the above work.
上記のように、従来方法では、自動で、衝突判定の処理量を低減しつつ物体同士の衝突検知を正確に行うことは困難である。 As described above, with the conventional method, it is difficult to automatically and accurately detect collisions between objects while reducing the amount of collision determination processing.
この発明は、上記のような課題を解決するためになされたもので、自動で、従来構成に対して衝突判定の処理量を低減しつつ物体同士の衝突検知を正確に行うことを可能とする衝突検知装置を提供することを目的としている。 The present invention has been made to solve the above-mentioned problems, and it is possible to automatically and accurately detect collisions between objects while reducing the amount of collision determination processing compared to the conventional configuration. It is an object of the present invention to provide a collision detection device.
この発明に係る衝突検知装置は、少なくとも1つの移動体を含む複数の物体に対し、それぞれ境界ボリュームを作成する作成部と、作成部により作成された境界ボリュームを用い、移動体の境界ボリュームに干渉する境界ボリュームを検出し、当該検出した境界ボリュームに対応する物体を特定する第1簡易判定部と、第1簡易判定部により特定された物体を構成する処理対象のポリゴンのうち、移動体の境界ボリュームに干渉するポリゴンを検出する第2簡易判定部と、第2簡易判定部により検出された物体を構成する処理対象のポリゴン、及び移動体を構成する処理対象のポリゴンに基づいて、衝突判定を行う詳細判定部と、物体を構成するポリゴンにおいて、1つのポリゴンを構成する全ての頂点座標が他のポリゴンに共有されている場合、当該頂点座標を共有するポリゴンのうちの一方を処理対象から除外する除外部とを備え、第2簡易判定部は、除外部による処理後の物体を構成する処理対象のポリゴンを用いて処理を行うことを特徴とする。 A collision detection device according to the present invention includes a creation unit that creates a boundary volume for each of a plurality of objects including at least one moving body; a first simple determination unit for detecting a bounding volume and specifying an object corresponding to the detected bounding volume; A second simple determination unit for detecting polygons interfering with the volume, a polygon to be processed that constitutes an object detected by the second simple determination unit, and a polygon to be processed that constitutes a moving object, and perform collision determination. and when all the vertex coordinates of one polygon are shared by other polygons, one of the polygons sharing the vertex coordinates is excluded from the processing target. and the second simple determination unit performs processing using polygons to be processed that form the object after processing by the exclusion unit .
この発明によれば、上記のように構成したので、自動で、従来構成に対して衝突判定の処理量を低減しつつ物体同士の衝突検知を正確に行うことが可能となる。 According to the present invention, since it is configured as described above, it is possible to automatically and accurately detect the collision between objects while reducing the amount of processing for collision determination as compared with the conventional configuration.
以下、この発明の実施の形態について図面を参照しながら詳細に説明する。
実施の形態1.
図1は実施の形態1に係る衝突検知装置1の構成例を示す図である。
衝突検知装置1は、物体5同士の衝突を検知する。物体5には、1つ以上の移動体5aが含まれる。物体5としては、例えば、部品又はアセンブリ等が挙げられる。衝突検知装置1は、図1に示すように、記憶部101、除外部102、作成部103、簡易判定部(第1簡易判定部)104、簡易判定部(第2簡易判定部)105及び詳細判定部106を備えている。BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
Embodiment 1.
FIG. 1 is a diagram showing a configuration example of a collision detection device 1 according to Embodiment 1. As shown in FIG.
A collision detection device 1 detects a collision between
記憶部101は、衝突検知装置1で扱う各種のデータを記憶する。記憶部101は、事前に、衝突検知対象とする物体5の形状を示すCADデータ(三次元データ)を記憶している。衝突検知装置1は、物体5の形状を示すCADデータから、当該物体5を構成する三角形状のポリゴン、及び、当該ポリゴンを構成する頂点座標を示す情報を取得可能である。
The
図1では、衝突検知装置1の内部に記憶部101が設けられた場合を示している。しかしながら、これに限らず、衝突検知装置1の外部に記憶部101が設けられていてもよい。
また、記憶部101としては、例えば、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ、EPROM(Erasable Programmable ROM)、EEPROM(Electrically EPROM)等の不揮発性又は揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、又はDVD(Digital Versatile Disc)等が該当する。FIG. 1 shows a case where a
The
除外部102は、衝突検知対象とする物体5毎に、物体5を構成するポリゴンのうちの一部のポリゴンを処理対象から除外する。この際、除外部102は、物体5を構成するポリゴンにおいて、1つのポリゴンを構成する全ての頂点座標が他のポリゴンに共有されている場合に、当該頂点座標を共有するポリゴンのうちの一方を処理対象から除外してもよい。又は、除外部102は、物体5を構成するポリゴンのうちの一部のポリゴンをランダムに処理対象から除外してもよい。
The excluding
なお、除外部102は、衝突検知装置1に必須の構成ではなく、衝突検知装置1から取除いてもよい。
Note that the
作成部103は、衝突検知対象とする物体5毎に、境界ボリューム6を作成する。境界ボリューム6としては、例えば、AABB(Axis-Aligned Bounding Box:軸平行境界ボックス)又は球体が挙げられる。
The
簡易判定部104は、作成部103により作成された境界ボリューム6を用いて、1ステップ目の簡易判定を行う。この際、まず、簡易判定部104は、移動体5aの境界ボリューム6aに干渉する境界ボリューム6を検出する。そして、簡易判定部104は、検出した境界ボリューム6に対応する物体5を特定する。
The
簡易判定部105は、簡易判定部104による判定結果に基づいて、2ステップ目の簡易判定を行う。この際、簡易判定部105は、簡易判定部104により特定された物体5を構成する処理対象のポリゴンのうち、移動体5aの境界ボリューム6aに干渉するポリゴンを検出する。衝突検知装置1に除外部102が設けられている場合には、簡易判定部105は、除外部102による処理後の物体5を構成する処理対象のポリゴンのうち、移動体5aの境界ボリューム6aに干渉するポリゴンを検出する。
また、簡易判定部105は、移動体5aを構成する処理対象のポリゴンのうち、簡易判定部104により特定された物体5の境界ボリューム6に干渉するポリゴンを検出してもよい。衝突検知装置1に除外部102が設けられている場合には、簡易判定部105は、除外部102による処理後の移動体5aを構成する処理対象のポリゴンのうち、簡易判定部104により特定された物体5の境界ボリューム6に干渉するポリゴンを検出する。The
In addition, the
更に、簡易判定部105は、3ステップ目の簡易判定を行ってもよい。この際、簡易判定部105は、移動体5aの進行方向に基づいて、当該移動体5aを構成する処理対象のポリゴンのうちの一部のポリゴンを処理対象から除外する。
Further, the
詳細判定部106は、簡易判定部105による判定結果に基づいて、詳細判定を行う。この際、詳細判定部106は、簡易判定部105により検出された物体5を構成する処理対象のポリゴン、及び移動体5aを構成する処理対象のポリゴンに基づいて、衝突判定を行う。
また、簡易判定部105により移動体5aを構成する処理対象のポリゴンも検出されている場合には、詳細判定部106は、簡易判定部105により検出された物体5を構成する処理対象のポリゴン及び当該移動体5aを構成する処理対象のポリゴンに基づいて、衝突判定を行う。
Further, when the
次に、図1に示す実施の形態1に係る衝突検知装置1の動作例について、図2を参照しながら説明する。
実施の形態1に係る衝突検知装置1は、2ステップ以上の連続する簡易判定によって詳細判定の処理対象とするポリゴンを検出し、詳細判定によって当該検出したポリゴン同士で衝突判定を行う。以下では、衝突検知装置1が3ステップの簡易判定を行う場合を示す。Next, an operation example of the collision detection device 1 according to Embodiment 1 shown in FIG. 1 will be described with reference to FIG.
The collision detection apparatus 1 according to Embodiment 1 detects polygons to be processed for detailed determination by two or more consecutive simple determinations, and performs collision determination between the detected polygons by detailed determination. Below, the case where the collision detection apparatus 1 performs three steps of simple determinations is shown.
図1に示す実施の形態1に係る衝突検知装置1の動作例では、図2に示すように、まず、除外部102は、衝突検知対象とする物体5毎に、物体5を構成するポリゴンのうちの一部のポリゴンを処理対象から除外する(ステップST1)。 In the operation example of the collision detection device 1 according to Embodiment 1 shown in FIG. 1, as shown in FIG. Some of the polygons are excluded from processing (step ST1).
この際、図3に示すように、除外部102は、物体5を構成するポリゴンにおいて、1つのポリゴンを構成する全ての頂点座標が他のポリゴンに共有されている場合に、当該頂点座標を共有するポリゴンのうちの一方を処理対象から除外してもよい。これにより、実施の形態1に係る衝突検知装置1は、物体5を構成するポリゴンを構成する頂点座標の変更及び数の削減を行うことなく、すなわち、物体5の大きさ及び形状を変えることなく、処理対象とするポリゴンの数を削減可能となる。図3では、物体5が立方体形状であり、除外部102は斜線部分のポリゴンを処理対象から除外している。
なお、衝突判定をポリゴン対ポリゴンで行う場合、ポリゴンの処理対象からの除外は、厳密には精度に影響する。一方、世の中に流通している大部分の製品は、安全上、処理対象から除外したポリゴン部分を通り抜ける程鋭角で長い形状を有しているとは考えられず、連続した曲面又は平面で構成されていると考えられる。そのため、除外部102によるポリゴンの処理対象からの除外は、実質的には問題とならない。At this time, as shown in FIG. 3, in the polygons forming the
When collision determination is performed on a polygon-to-polygon basis, strictly speaking, the exclusion of polygons from the objects to be processed affects the accuracy. On the other hand, for safety reasons, most of the products distributed in the world are not considered to have sharp and long shapes that pass through the polygons excluded from processing, and are composed of continuous curved surfaces or flat surfaces. It is thought that Therefore, exclusion of polygons from processing targets by the
又は、除外部102は、物体5を構成するポリゴンのうちの一部のポリゴンをランダムに処理対象から除外してもよい。
CADデータで示される物体5の形状は、多数のポリゴンで構成されている。そのため、除外部102でランダムにポリゴンを処理対象から除外しても、一定の割合であれば、隣接するポリゴン同士が処理対象から除外される確率は低いと考えられる。そのため、これによっても、実施の形態1に係る衝突検知装置1は、物体5を構成するポリゴンを構成する頂点座標の変更及び数の削減を行うことなく、すなわち、物体5の大きさ及び形状を変えることなく、処理対象とするポリゴンの数を削減可能となる。Alternatively, the
The shape of the
また、作成部103は、衝突検知対象とする物体5毎に、境界ボリューム6を作成する(ステップST2)。図4Aでは境界ボリューム6として球体を用いた場合を示し、図4Bでは境界ボリューム6としてAABBを用いた場合を示している。なお、記憶部101は、作成部103により作成された境界ボリューム6と、当該境界ボリューム6に対応する物体5とをユニークなIDを用いて関連付けて記憶する。
Further, the
次いで、簡易判定部104は、作成部103により作成された境界ボリューム6を用いて、1ステップ目の簡易判定を行う(ステップST3)。この際、図5に示すように、まず、簡易判定部104は、移動体5aの境界ボリューム6aに干渉する境界ボリューム6を検出する。そして、簡易判定部104は、上記検出した境界ボリューム6に対応する物体5を特定する。図5では、領域501部分で、移動体5aの境界ボリューム6aに静止物体5bの境界ボリューム6bが干渉している。
なお図5では、図を見易くするため、ポリゴンを三角形ではなく四角形で表現している。図6,7についても同様である。Next, the
Note that in FIG. 5, the polygons are represented by quadrilaterals instead of triangles in order to make the drawing easier to see. The same applies to FIGS.
次いで、簡易判定部105は、簡易判定部104による判定結果に基づいて、2ステップ目の簡易判定を行う(ステップST4)。
この際、まず、簡易判定部105は、簡易判定部104により特定された物体5を構成する処理対象のポリゴンのうち、移動体5aの境界ボリューム6aに干渉するポリゴンを検出する。図6では、領域601部分で、移動体5aの境界ボリューム6aに静止物体5bが干渉している。またここでは、簡易判定部105は、移動体5aを構成する処理対象のポリゴンのうち、簡易判定部104により特定された物体5の境界ボリューム6に干渉するポリゴンを検出するものとする。図7では、領域701部分で、静止物体5bの境界ボリューム6bに移動体5aが干渉している。
なお、簡易判定部105による2ステップ目の簡易判定の処理は、非常にコストの低い処理であり、物体5が多い場合でも実現可能な処理である。Next, the
At this time, first, the
It should be noted that the simple determination processing of the second step by the
この簡易判定部105による2ステップ目の簡易判定により、実施の形態1に係る衝突検知装置1は、詳細判定を行う必要が有る物体5において処理対象とするポリゴンを限定でき、詳細判定における処理量を削減できる。
By the simple determination of the second step by the
次いで、簡易判定部105は、3ステップ目の簡易判定を行う(ステップST5)。この際、簡易判定部105は、移動体5aの進行方向に基づいて、当該移動体5aを構成する処理対象のポリゴンのうちの一部のポリゴンを処理対象から除外する。
Next, the
図8に示すように、移動体5aによる静止物体5bへの衝突は、移動体5aの進行方向にしか発生しない。そこで、簡易判定部105は、移動体5aを構成する処理対象のポリゴンのうち、進行方向における正面側の衝突する可能性のあるポリゴンのみを処理対象としてもよい。これにより、実施の形態1に係る衝突検知装置1は、詳細判定における処理量を更に削減できる。
As shown in FIG. 8, the collision of the moving
なお、この場合の具体的な処理方法としては、図9に示すように、まず、簡易判定部105は、移動体5aを構成する処理対象のポリゴンに対し、ポリゴン毎に、直前のフレームでの位置から移動ベクトルをそれぞれ算出する。そして、簡易判定部105は、ポリゴン毎に、法線ベクトルを正規化し、算出した移動ベクトルを正規化する。そして、簡易判定部105は、ポリゴン毎に、正規化した法線ベクトルと正規化した移動ベクトルとの内積の値を算出する。そして、簡易判定部105は、ポリゴン毎に、算出した内積の値が閾値以上且つ1以下の値であれば、進行方向における正面側に存在するポリゴンであると判定して処理対象として扱う。なお、閾値は、0以上且つ1未満の任意の値である。一方、簡易判定部105は、ポリゴン毎に、算出した内積の値が負の値であれば、進行方向における正面側以外に存在するポリゴンであるため、衝突の可能性が無いと判定して処理対象から除外する。
なお、物体5はポリゴンで閉じた形状であるため、物体5には必ず進行方向における正面側を向いたポリゴンが存在する。As a specific processing method in this case, first, as shown in FIG. A motion vector is calculated from each position. The
Since the
なお上記では、簡易判定部105が、移動体5aの進行方向に基づいて、当該移動体5aを構成する処理対象のポリゴンのうちの一部のポリゴンを処理対象から除外する場合を示した。しかしながら、これに限らず、簡易判定部105は、移動体5aの進行方向に基づいて、簡易判定部104により特定された物体5(当該移動体5aと衝突の可能性のある物体5)を構成する処理対象のポリゴンのうちの一部のポリゴンを処理対象から除外してもよい。
なお、この場合の具体的な処理方法としては、まず、簡易判定部105は、移動体5aの移動ベクトルを算出して正規化する。この正規化した移動ベクトルの取得方法は上記と同様である。そして、簡易判定部105は、上記物体5を構成する処理対象のポリゴン毎に、法線ベクトルを正規化する。そして、簡易判定部105は、ポリゴン毎に、正規化した法線ベクトルと正規化した移動ベクトルとの内積の値を算出する。そして、簡易判定部105は、ポリゴン毎に、算出した内積の値が閾値以下且つ-1以上の値であれば、移動体5aに対向する正面側に存在するポリゴンであると判定して処理対象として扱う。なお、閾値は、-1より大きく且つ0以下の任意の値である。一方、簡易判定部105は、ポリゴン毎に、算出した内積の値が正の値であれば、移動体5aに対向する正面側以外に存在するポリゴンであるため、衝突の可能性が無いと判定して処理対象から除外する。In the above description, the
As a specific processing method in this case, first, the
また、簡易判定部105は、移動体5aの進行方向に基づいて、当該移動体5aを構成する処理対象のポリゴンのうちの一部のポリゴンを処理対象から除外し、更に、簡易判定部104により特定された物体5を構成する処理対象のポリゴンのうちの一部のポリゴンを処理対象から除外してもよい。
Further, the
このように、実施の形態1に係る衝突検知装置1は、簡易判定部104及び簡易判定部105による2ステップ以上の簡易判定によって、詳細判定で処理対象とするポリゴンを徐々に減らしていく。これにより、実施の形態1に係る衝突検知装置1は、空間内に存在する物体5の数量が多い場合又は物体5を構成するポリゴンの数量が多い場合でも、詳細判定における処理量を大幅に低減できる。
In this manner, the collision detection apparatus 1 according to Embodiment 1 gradually reduces polygons to be processed in detailed determination by performing simple determination in two or more steps by the
次いで、詳細判定部106は、簡易判定部105による判定結果に基づいて、詳細判定を行う(ステップST6)。この際、詳細判定部106は、簡易判定部105により検出された物体5を構成する処理対象のポリゴン及び移動体5aを構成する処理対象のポリゴンに基づいて、衝突判定を行う。例えば、詳細判定部106は、GPU(Graphics Processing Unit)等の演算装置を用いて処理対象のポリゴンの総当たり判定を並列処理で実施することで、移動体5aが干渉する物体5とその部位を特定する。なお、ポリゴン同士の衝突判定(干渉判定)としては既存の技術を用いることが可能であり、その処理の詳細については説明を省略する。
Next,
なお、衝突検知装置1は、上記処理を行うフレームを限定してもよい。例えば、衝突検知装置1は、物体5が動いていない状態のフレームは処理対象から除外する。また、例えば、衝突検知装置1は、物体5が動いている状態であっても、ユーザの知覚に影響が出ない範囲で処理対象とするフレームの間隔を設定してもよい。これにより、衝突検知装置1は、演算プロセッサ上での処理の占有率の低減が可能となる。VRの実利用において、演算プロセッサは、衝突判定の計算処理だけではなく、他の処理も実行する。そのため、衝突判定の計算処理による演算プロセッサの占有率を低減することで、他の処理に演算プロセッサの能力を割当てられるため、全体的な体感速度の向上に繋がる。
Note that the collision detection device 1 may limit the frames on which the above process is performed. For example, the collision detection device 1 excludes frames in which the
移動体5aの移動速度が遅い場合、衝突検知装置1は、例えば、6フレームに1回処理することとすれば、0.1秒単位(60フレーム/秒の画像の場合)で衝突検知を実施できる。また、移動体5aの移動速度が速い場合、フレーム毎の物体5の位置関係の変化が大きくなることを考慮し、衝突検知装置1は、例えば、3フレームに1回処理することとすれば、0.05秒単位で衝突検知を実施でき、より細かな判定処理が可能となる。
When the moving speed of the moving
なお図では、移動体5aと静止物体5bとの衝突判定を例に挙げている。しかしながら、これに限らず、実施の形態1に係る衝突検知装置1は、移動体5a同士の衝突判定も可能である。例えば、実施の形態1に係る衝突検知装置1は、作業者が両手に持っている工具同士が衝突するか否かを検知することも可能である。
In the figure, the determination of collision between the moving
以上のように、この実施の形態1によれば、衝突検知装置1は、少なくとも1つの移動体5aを含む複数の物体5に対し、それぞれ境界ボリューム6を作成する作成部103と、作成部103により作成された境界ボリューム6を用い、移動体5aの境界ボリューム6に干渉する境界ボリューム6を検出し、当該検出した境界ボリューム6に対応する物体5を特定する簡易判定部104と、簡易判定部104により特定された物体5を構成する処理対象のポリゴンのうち、移動体5aの境界ボリューム6aに干渉するポリゴンを検出する簡易判定部105と、簡易判定部105により検出された物体5を構成する処理対象のポリゴン、及び移動体5aを構成する処理対象のポリゴンに基づいて、衝突判定を行う詳細判定部106とを備えた。これにより、実施の形態1に係る衝突検知装置1は、自動で、従来構成に対して衝突判定の処理量を低減しつつ物体5同士の衝突検知を正確に行うことが可能となる。また、実施の形態1に係る衝突検知装置1は、物体5の大きさ及び複雑さによって精度にバラつきが生じることはない。
As described above, according to the first embodiment, the collision detection apparatus 1 includes the creating
最後に、図10を参照して、実施の形態1に係る衝突検知装置1のハードウェア構成例を説明する。
処理回路51は、図10Aに示すように、専用のハードウェアであってもよいし、図10Bに示すように、メモリ53に格納されるプログラムを実行するCPU(Central Processing Unit、中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、プロセッサ、又はDSP(Digital Signal Processor)ともいう)52であってもよい。Finally, a hardware configuration example of the collision detection device 1 according to the first embodiment will be described with reference to FIG. 10 .
The
処理回路51が専用のハードウェアである場合、処理回路51は、例えば、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ASIC(Application Specific Integrated Circuit)、FPGA(Field Programmable Gate Array)、又はこれらを組み合わせたものが該当する。除外部102、作成部103、簡易判定部104、簡易判定部105及び詳細判定部106の各部の機能それぞれを処理回路51で実現してもよいし、各部の機能をまとめて処理回路51で実現してもよい。
If the
処理回路51がCPU52の場合、除外部102、作成部103、簡易判定部104、簡易判定部105及び詳細判定部106の機能は、ソフトウェア、ファームウェア、又はソフトウェアとファームウェアとの組み合わせにより実現される。ソフトウェア及びファームウェアはプログラムとして記述され、メモリ53に格納される。処理回路51は、メモリ53に記憶されたプログラムを読み出して実行することにより、各部の機能を実現する。すなわち、衝突検知装置1は、処理回路51により実行されるときに、例えば図2に示した各ステップが結果的に実行されることになるプログラムを格納するためのメモリ53を備える。また、これらのプログラムは、除外部102、作成部103、簡易判定部104、簡易判定部105及び詳細判定部106の手順及び方法をコンピュータに実行させるものであるともいえる。ここで、メモリ53としては、例えば、RAM、ROM、フラッシュメモリ、EPROM、EEPROM等の不揮発性又は揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、又はDVD等が該当する。
When the
なお、除外部102、作成部103、簡易判定部104、簡易判定部105及び詳細判定部106の各機能について、一部を専用のハードウェアで実現し、一部をソフトウェア又はファームウェアで実現するようにしてもよい。例えば、除外部102については専用のハードウェアとしての処理回路51でその機能を実現し、作成部103、簡易判定部104、簡易判定部105及び詳細判定部106については処理回路51がメモリ53に格納されたプログラムを読み出して実行することによってその機能を実現することが可能である。
Note that the functions of the
このように、処理回路51は、ハードウェア、ソフトウェア、ファームウェア、又はこれらの組み合わせによって、上述の各機能を実現することができる。
Thus, the
なお、本願発明はその発明の範囲内において、実施の形態の任意の構成要素の変形、若しくは実施の形態の任意の構成要素の省略が可能である。 It should be noted that, within the scope of the present invention, any component of the embodiment can be modified or any component of the embodiment can be omitted.
この発明に係る衝突検知装置は、自動で、従来構成に対して衝突判定の処理量を低減しつつ物体同士の衝突検知を正確に行うことが可能となり、物体同士の衝突を検知する衝突検知装置等に用いるのに適している。 A collision detection device according to the present invention can automatically detect a collision between objects while reducing the amount of processing for collision determination as compared with the conventional configuration, and can detect collisions between objects. suitable for use in
1 衝突検知装置、5 物体、5a 移動体、5b 静止物体、6,6a,6b 境界ボリューム、51 処理回路、52 CPU、53 メモリ、101 記憶部、102 除外部、103 作成部、104 簡易判定部(第1簡易判定部)、105 簡易判定部(第2簡易判定部)、106 詳細判定部。
1
Claims (4)
前記作成部により作成された境界ボリュームを用い、移動体の境界ボリュームに干渉する境界ボリュームを検出し、当該検出した境界ボリュームに対応する物体を特定する第1簡易判定部と、
前記第1簡易判定部により特定された物体を構成する処理対象のポリゴンのうち、移動体の境界ボリュームに干渉するポリゴンを検出する第2簡易判定部と、
前記第2簡易判定部により検出された物体を構成する処理対象のポリゴン、及び移動体を構成する処理対象のポリゴンに基づいて、衝突判定を行う詳細判定部と、
物体を構成するポリゴンにおいて、1つのポリゴンを構成する全ての頂点座標が他のポリゴンに共有されている場合、当該頂点座標を共有するポリゴンのうちの一方を処理対象から除外する除外部とを備え、
前記第2簡易判定部は、前記除外部による処理後の物体を構成する処理対象のポリゴンを用いて処理を行う
ことを特徴とする衝突検知装置。 a creation unit that creates boundary volumes for each of a plurality of objects including at least one moving object;
a first simple determination unit that detects a bounding volume that interferes with the bounding volume of the moving object using the bounding volume created by the creating unit and identifies an object that corresponds to the detected bounding volume;
a second simple determination unit that detects polygons interfering with a boundary volume of a moving object among the polygons to be processed that form the object identified by the first simple determination unit;
a detailed determination unit that performs collision determination based on the polygons to be processed that constitute the object detected by the second simple determination unit and the polygons to be processed that constitute the moving object;
an exclusion unit for excluding one of the polygons sharing the vertex coordinates from the processing target when all the vertex coordinates of one polygon are shared by other polygons in the polygons constituting the object. ,
The collision detection device, wherein the second simple determination unit performs processing using polygons to be processed that form an object after processing by the exclusion unit.
前記作成部により作成された境界ボリュームを用い、移動体の境界ボリュームに干渉する境界ボリュームを検出し、当該検出した境界ボリュームに対応する物体を特定する第1簡易判定部と、
前記第1簡易判定部により特定された物体を構成する処理対象のポリゴンのうち、移動体の境界ボリュームに干渉するポリゴンを検出する第2簡易判定部と、
前記第2簡易判定部により検出された物体を構成する処理対象のポリゴン、及び移動体を構成する処理対象のポリゴンに基づいて、衝突判定を行う詳細判定部と、
物体を構成するポリゴンのうちの一部のポリゴンをランダムに処理対象から除外する除外部とを備え、
前記第2簡易判定部は、前記除外部による処理後の物体を構成する処理対象のポリゴンを用いて処理を行う
ことを特徴とする衝突検知装置。 a creation unit that creates boundary volumes for each of a plurality of objects including at least one moving object;
a first simple determination unit that detects a bounding volume that interferes with the bounding volume of the moving object using the bounding volume created by the creating unit and identifies an object that corresponds to the detected bounding volume;
a second simple determination unit that detects polygons interfering with a boundary volume of a moving object among the polygons to be processed that form the object identified by the first simple determination unit;
a detailed determination unit that performs collision determination based on the polygons to be processed that constitute the object detected by the second simple determination unit and the polygons to be processed that constitute the moving object;
an exclusion unit that randomly excludes some of the polygons that make up the object from being processed;
The collision detection device, wherein the second simple determination unit performs processing using polygons to be processed that form an object after processing by the exclusion unit.
前記作成部により作成された境界ボリュームを用い、移動体の境界ボリュームに干渉する境界ボリュームを検出し、当該検出した境界ボリュームに対応する物体を特定する第1簡易判定部と、
前記第1簡易判定部により特定された物体を構成する処理対象のポリゴンのうち、移動体の境界ボリュームに干渉するポリゴンを検出する第2簡易判定部と、
前記第2簡易判定部により検出された物体を構成する処理対象のポリゴン、及び移動体を構成する処理対象のポリゴンに基づいて、衝突判定を行う詳細判定部とを備え、
前記第2簡易判定部は、移動体の進行方向に基づいて、当該移動体を構成する処理対象のポリゴン及び前記第1簡易判定部により特定された物体を構成する処理対象のポリゴンのうちの少なくとも一方のうちの一部のポリゴンを処理対象から除外する
ことを特徴とする衝突検知装置。 a creation unit that creates boundary volumes for each of a plurality of objects including at least one moving object;
a first simple determination unit that detects a bounding volume that interferes with the bounding volume of the moving object using the bounding volume created by the creating unit and identifies an object that corresponds to the detected bounding volume;
a second simple determination unit that detects polygons interfering with a boundary volume of a moving object among the polygons to be processed that form the object identified by the first simple determination unit;
a detailed determination unit that performs collision determination based on the polygons to be processed that constitute the object detected by the second simple determination unit and the polygons to be processed that constitute the moving object;
The second simple determination unit determines, based on the traveling direction of the moving object, at least one of the polygons to be processed that constitute the moving object and the polygons to be processed that constitute the object specified by the first simple determination unit. A collision detection device characterized by excluding a part of polygons of one of them from processing targets.
前記詳細判定部は、前記第2簡易判定部により検出された物体を構成する処理対象のポリゴン及び移動体を構成する処理対象のポリゴンに基づいて、衝突判定を行う
ことを特徴とする請求項1から請求項3のうちの何れか1項記載の衝突検知装置。 The second simple determination unit detects polygons interfering with the boundary volume of the object specified by the first simple determination unit, among the polygons to be processed that constitute the moving body,
2. The detailed determination unit performs collision determination based on the polygons to be processed that constitute the object and the polygons to be processed that constitute the moving object detected by the second simple determination unit. 4. The collision detection device according to any one of claims 3 to 4 .
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2019/017852 WO2020217440A1 (en) | 2019-04-26 | 2019-04-26 | Collision sensing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPWO2020217440A1 JPWO2020217440A1 (en) | 2021-10-21 |
| JP7105993B2 true JP7105993B2 (en) | 2022-07-25 |
Family
ID=72940896
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021515677A Active JP7105993B2 (en) | 2019-04-26 | 2019-04-26 | Collision detection device |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP7105993B2 (en) |
| WO (1) | WO2020217440A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7381155B1 (en) | 2023-08-17 | 2023-11-15 | オフィスケイワン株式会社 | Bridge construction simulation system |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004062546A (en) | 2002-07-29 | 2004-02-26 | Ricoh Co Ltd | Three-dimensional shape processing apparatus and interference model detection method |
| JP2004094750A (en) | 2002-09-02 | 2004-03-25 | Ricoh Co Ltd | Three-dimensional shape processing device, interference model detection method, program, and storage medium |
| JP2006302035A (en) | 2005-04-21 | 2006-11-02 | Canon Inc | Image processing method and image processing apparatus |
| JP2011165096A (en) | 2010-02-12 | 2011-08-25 | Fujitsu Ltd | Interference determination device, interference determination method, and interference determination program |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07152807A (en) * | 1993-11-26 | 1995-06-16 | Canon Inc | Interference tracking method between objects in virtual three-dimensional space |
| JP4031942B2 (en) * | 2002-03-28 | 2008-01-09 | 富士通株式会社 | How to get the shortest distance between objects |
-
2019
- 2019-04-26 JP JP2021515677A patent/JP7105993B2/en active Active
- 2019-04-26 WO PCT/JP2019/017852 patent/WO2020217440A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004062546A (en) | 2002-07-29 | 2004-02-26 | Ricoh Co Ltd | Three-dimensional shape processing apparatus and interference model detection method |
| JP2004094750A (en) | 2002-09-02 | 2004-03-25 | Ricoh Co Ltd | Three-dimensional shape processing device, interference model detection method, program, and storage medium |
| JP2006302035A (en) | 2005-04-21 | 2006-11-02 | Canon Inc | Image processing method and image processing apparatus |
| JP2011165096A (en) | 2010-02-12 | 2011-08-25 | Fujitsu Ltd | Interference determination device, interference determination method, and interference determination program |
Also Published As
| Publication number | Publication date |
|---|---|
| JPWO2020217440A1 (en) | 2021-10-21 |
| WO2020217440A1 (en) | 2020-10-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7314411B2 (en) | Obstacle information sensing method and device for mobile robot | |
| AU2014278279B2 (en) | Lidar-based classification of object movement | |
| US9905032B2 (en) | Object removal using lidar-based classification | |
| US10482656B2 (en) | 3D face modeling methods and apparatuses | |
| US9984291B2 (en) | Information processing apparatus, information processing method, and storage medium for measuring a position and an orientation of an object by using a model indicating a shape of the object | |
| EP3016071B1 (en) | Estimating device and estimation method | |
| KR102493461B1 (en) | System and Method of rendering | |
| CN107530881B (en) | Robotic system and method for operating a robot | |
| US10102672B2 (en) | Storage medium, information processing apparatus and control method | |
| CN104424649A (en) | Method and system for detecting moving object | |
| JP7105993B2 (en) | Collision detection device | |
| CN111814294B (en) | Method for estimating visibility of object | |
| CN112068547A (en) | Robot positioning method and device based on AMCL and robot | |
| CN104680564A (en) | Gray enhanced chromatography PIV reconstruction method, device and equipment | |
| JP7283734B2 (en) | Tracking device, tracking method and program | |
| EP3731130B1 (en) | Apparatus for determining an occupancy map | |
| JP6894398B2 (en) | Object tracking device, object tracking method, and object tracking program | |
| JP7283735B2 (en) | Tracking device, tracking method and program | |
| KR102840781B1 (en) | Apparatus and method for detecting mesh collisions in electronics device | |
| US9721151B2 (en) | Method and apparatus for detecting interfacing region in depth image | |
| EP2127600B1 (en) | Surface extraction method, surface extractor and program | |
| US20170061233A1 (en) | Image processing device, image processing method, and program | |
| JP4151332B2 (en) | 3D model editing apparatus and computer program | |
| JP7152103B2 (en) | Estimation device, estimation method, and estimation program | |
| JP3820068B2 (en) | Target identification method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210415 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220419 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220602 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20220614 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220712 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7105993 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |