JP2012194706A - Determination program, determination device and determination method - Google Patents
Determination program, determination device and determination method Download PDFInfo
- Publication number
- JP2012194706A JP2012194706A JP2011057265A JP2011057265A JP2012194706A JP 2012194706 A JP2012194706 A JP 2012194706A JP 2011057265 A JP2011057265 A JP 2011057265A JP 2011057265 A JP2011057265 A JP 2011057265A JP 2012194706 A JP2012194706 A JP 2012194706A
- Authority
- JP
- Japan
- Prior art keywords
- component
- contact
- unit
- determination
- state
- 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.)
- Granted
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Processing Or Creating Images (AREA)
Abstract
Description
本発明は、判定プログラム、判定装置および判定方法に関する。 The present invention relates to a determination program, a determination device, and a determination method.
従来、部品の組み立てや、分解作業を支援するアニメーションを表示する装置がある。この装置で表示されるアニメーションを作成する作成者は、組み立てや分解作業によって、落下する部品を想定し、組み立てや分解作業に伴い発生する部品の落下が表現されるようにアニメーションを作成する。 2. Description of the Related Art Conventionally, there is an apparatus that displays an animation that supports part assembly and disassembly work. A creator who creates an animation to be displayed on this apparatus assumes a falling part by assembling or disassembling work, and creates an animation so that the falling of the part that occurs during assembling or disassembling work is expressed.
しかしながら、上記の従来の技術では、落下する部品をアニメーションの作成者が想定するため、落下する部品を自動的に判定することができないという問題がある。 However, the above-described conventional technology has a problem that the falling part cannot be automatically determined because the creator of the animation assumes the falling part.
開示の技術は、上記に鑑みてなされたものであって、落下する部品を自動的に判定することができる判定プログラム、判定装置および判定方法を提供することを目的とする。 The disclosed technology has been made in view of the above, and an object thereof is to provide a determination program, a determination device, and a determination method that can automatically determine a falling component.
本願の開示する判定プログラムは、一つの態様において、コンピュータに、部品の形状と位置とを含む部品情報を格納する格納部から、部品情報を読み出す処理を実行させる。また、本願の開示する判定プログラムは、コンピュータに、位置を更新する更新部品を部品の中から特定する処理を実行させる。また、本願の開示する判定プログラムは、コンピュータに、更新部品と接触する接触部品を特定する処理を実行させる。また、本願の開示する判定プログラムは、コンピュータに、更新部品の位置を更新する処理を実行させる。また、本願の開示する判定プログラムは、コンピュータに、接触部品の重力方向の接触状態を検出する処理を実行させる。また、本願の開示する判定プログラムは、コンピュータに、検出した接触状態から接触部品の落下状況を判定する処理を実行させる。 In one aspect, a determination program disclosed in the present application causes a computer to execute a process of reading component information from a storage unit that stores component information including the shape and position of the component. Further, the determination program disclosed in the present application causes a computer to execute a process of identifying an update part whose position is to be updated from among the parts. Further, the determination program disclosed in the present application causes the computer to execute processing for specifying a contact component that contacts the update component. Further, the determination program disclosed in the present application causes the computer to execute processing for updating the position of the update component. Further, the determination program disclosed in the present application causes the computer to execute processing for detecting the contact state of the contact component in the gravity direction. Further, the determination program disclosed in the present application causes the computer to execute processing for determining the fall state of the contact component from the detected contact state.
本願の開示する判定プログラムの一つの態様によれば、落下する部品を自動的に判定することができる。 According to one aspect of the determination program disclosed in the present application, a falling component can be automatically determined.
以下に、本願の開示する判定プログラム、判定装置および判定方法の各実施例を図面に基づいて詳細に説明する。なお、この実施例は開示の技術を限定するものではない。そして、各実施例は、処理内容を矛盾させない範囲で適宜組み合わせることが可能である。 Hereinafter, embodiments of a determination program, a determination apparatus, and a determination method disclosed in the present application will be described in detail with reference to the drawings. Note that this embodiment does not limit the disclosed technology. Each embodiment can be appropriately combined within a range in which processing contents are not contradictory.
[判定装置の構成]
実施例1に係る判定装置について説明する。図1は、実施例1に係る判定装置の構成を示す図である。本実施例にかかる判定装置10は、部品の自由落下を判定するものである。図1に示すように、判定装置10は、入力部11と、出力部12と、記憶部13と、制御部14とを有する。
[Configuration of judgment device]
A determination apparatus according to the first embodiment will be described. FIG. 1 is a diagram illustrating the configuration of the determination apparatus according to the first embodiment. The determination apparatus 10 according to the present embodiment is for determining a free fall of a component. As illustrated in FIG. 1, the determination device 10 includes an input unit 11, an
入力部11は、各種情報を制御部14に入力する。例えば、入力部11は、ユーザから、後述の自由落下判定処理を実行する指示を受け付けて、受け付けた指示を制御部14に入力する。また、入力部11は、ユーザから、位置を移動させる、すなわち、位置を更新させる部品の識別情報(ID:IDentification)を受け付けて、受け付けた識別情報を制御部14に入力する。入力部11のデバイスの一例としては、マウスやキーボードなどの操作受付デバイスが挙げられる。 The input unit 11 inputs various information to the control unit 14. For example, the input unit 11 receives an instruction from a user to execute a later-described free fall determination process, and inputs the received instruction to the control unit 14. Further, the input unit 11 receives identification information (ID: IDentification) of a part whose position is to be moved, that is, whose position is to be updated, from the user, and inputs the received identification information to the control unit 14. An example of a device of the input unit 11 is an operation reception device such as a mouse or a keyboard.
出力部12は、各種の情報を出力する。例えば、出力部12は、後述の判定部14fにより自由落下すると判定された部品が自由落下するように、後述の修正部14gにより修正された画像情報が示す画像を表示する。出力部12のデバイスの一例としては、LCD(Liquid Crystal Display)やCRT(Cathode Ray Tube)などの表示デバイスなどが挙げられる。
The
記憶部13は、各種情報を記憶する。例えば、記憶部13は、部品情報13aを記憶する。部品情報13aは、出力部12により画像が表示される部品に関する情報である。例えば、部品情報13aには、部品の位置を示す位置情報、部品の3次元形状を示す形状情報などが部品毎に含まれる。また、部品情報13aとして、CAD(Computer Aided Design)データを用いることができる。部品情報13aに含まれる各部品の位置情報の一例としては、各部品の重心位置などが挙げられる。また、後述する重力方向については、部品情報13aが示す各部品が仮想的に存在する三次元空間上に予め定義されているものとする。また、後述する地面についても、部品情報13aが示す各部品が仮想的に存在する三次元空間上に予め定義されているものとする。なお、「記憶部」は、「格納部」とも称される。
The
記憶部13は、例えば、フラッシュメモリなどの半導体メモリ素子、または、ハードディスク、光ディスクなどの記憶装置である。なお、記憶部13は、上記の種類の記憶装置に限定されるものではなく、RAM(Random Access Memory)、ROM(Read Only Memory)であってもよい。
The
制御部14は、各種の処理手順を規定したプログラムや制御データを格納するための内部メモリを有し、これらによって種々の処理を実行する。図1に示すように、制御部14は、生成部14aと、第一の特定部14bと、第二の特定部14cと、更新部14dと、検出部14eと、判定部14fと、修正部14gとを有する。
The control unit 14 has an internal memory for storing programs defining various processing procedures and control data, and executes various processes using these. As shown in FIG. 1, the control unit 14 includes a
生成部14aは、部品の形状と位置とを含む部品情報を格納する格納部から、部品情報を読み出して画像情報を生成する。例えば、生成部14aは、記憶部13に記憶された部品情報13aを読み出す。そして、生成部14aは、読み出した部品情報13aの位置および形状に基づいて、出力部12で表示される画像の画像情報を生成する。図2は、判定装置の処理を説明するための図である。図2の例では、部品A21と、部品B22および部品C23とが接触している場合が示されている。また、図2の例では、部品C23と部品D24とが接触している場合が示されている。また、図2の例では、部品D24が、地面に接触している場合が示されている。図2の例では、生成部14aは、部品A21、部品B22、部品C23、部品D24の位置情報および形状情報などを含む部品情報13aを記憶部13から読み出す。そして、図2の例では、生成部14aは、読み出した部品情報13aの各部品の位置情報が示す位置、および形状情報が示す形状に基づいて、部品A21、部品B22、部品C23、部品D24の画像を含む画像情報を生成する。なお、出力部12で表示される画像の画像情報は、出力部12で表示される場合に、後述の判定部14により、自由落下すると判定された部品が自由落下するように修正される。
The
第一の特定部14bは、位置を更新する部品である更新部品を部品の中から特定する。例えば、第一の特定部14bは、入力部11から入力された位置を更新させる部品の識別情報を受信して取得することで、更新部品を部品の中から特定する。図2の例では、部品A21の識別情報が入力部11から入力された場合が示されている。この場合、第一の特定部14bは、部品A21を更新部品として、部品A21〜D21の中から特定する。
The first specifying
第二の特定部14cは、更新部品と接触する部品である接触部品を特定する。例えば、第二の特定部14cは、更新部品を重力方向に微少量移動させる。微少量の一例としては、部品が位置する3次元空間において2、3mmなどが挙げられる。そして、第二の特定部14cは、他の部品と干渉が起きた場合には、干渉が起きた部品を、更新部品と接触する接触部品として特定する。続いて、第二の特定部14cは、特定した接触部品を接触部品リストに追加する。
The second specifying
図2の例では、第二の特定部14cは、更新部品A21を重力方向に微少量移動させた場合に、部品B22および部品C23と干渉が起きるので、部品B22および部品C23を更新部品A21と接触する接触部品として特定する。
In the example of FIG. 2, the second specifying
更新部14dは、更新部品の位置を更新する。例えば、更新部14dは、更新部品を、移動方向に所定距離移動させ、移動後の位置を更新部品の位置として更新する。図3は、判定装置の処理を説明するための図である。図3の例では、更新部品として、位置が(XA1、YA1、ZA1)である部品A21が特定された場合が示されている。また、図3の例では、更新部品A21が図中右方向に所定距離X移動される場合が示されている。なお、移動後の更新部品A21の位置を(XA2、YA2、ZA2)とする。図3の例では、更新部14dは、更新部品A21の位置を(XA2、YA2、ZA2)に更新する。
The
検出部14eは、接触部品の重力方向の接触状態を検出する。例えば、検出部14eは、接触部品リストの接触部品のうち、未選択の接触部品を一つ選択し、選択した接触部品を重力方向に微少量移動させる。微少量の一例としては、部品が位置する3次元空間において2、3mmなどが挙げられる。そして、検出部14eは、接触状態として、他の部品と干渉する状態であるか否かを検出する。そして、検出部14eは、接触部品が他の部品と干渉する状態であることを検出した場合には、接触部品と干渉する他の部品を接触部品リストに追加する。ただし、検出部14eは、接触部品と干渉する他の部品が、地面と接する部品であるベース部品の場合には、接触部品リストに追加しない。これは、接触部品リストの部品は、後述の判定部14fにより自由落下するか否かの判定対象となるが、ベース部品については、地面に接しているため自由落下することがないので、かかる判定対象から外すためである。図3の例では、検出部14eは、接触部品B22が他の部品と干渉しない状態であることを検出する場合が示されている。また、図3の例では、検出部14eは、接触部品C23が他の部品と干渉する状態であることを検出する場合が示されている。
The
判定部14fは、検出した接触状態から接触部品の落下状況を判定する。例えば、判定部14fは、検出部14eにより接触部品が他の部品と干渉しない状態であることが検出された場合には、この接触部品が自由落下すると判定する。また、判定部14fは、検出部14eにより接触部品が他の部品と干渉する状態であることが検出された場合には、この接触部品が自由落下しないと判定する。そして、判定部14fは、自由落下すると判定された接触部品を自由落下部品リストに追加する。図3の例では、判定部14fは、部品B22が自由落下すると判定する。また、図3の例では、判定部14fは、部品C23が自由落下しないと判定する。
The determination unit 14f determines the fall state of the contact component from the detected contact state. For example, the determination unit 14f determines that the contact component is free-falling when the
修正部14gは、自由落下すると判定された部品が、出力部12の表示上において、自由落下するように、画像情報を修正する。例えば、修正部14gは、判定部14fにより自由落下すると判定された部品が、表示上で自由落下するように、生成部14aにより生成された画像情報を修正する。そして、修正部14gは、修正した画像情報を出力部12に出力する。図3の例では、修正部14gは、部品B22が自由落下するように、生成部14aにより生成された画像情報を修正する。
The
制御部14は、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)などの集積回路またはCPU(Central Processing Unit)やMPU(Micro Processing Unit)などの電子回路である。 The control unit 14 is an integrated circuit such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA) or an electronic circuit such as a central processing unit (CPU) or a micro processing unit (MPU).
[処理の流れ]
次に、本実施例に係る判定装置10の処理の流れを説明する。図4は、実施例1に係る自由落下判定処理の手順を示すフローチャートである。この自由落下判定処理は、入力部11から自由落下判定処理を実行する指示を制御部14が入力された場合に、実行される。
[Process flow]
Next, a processing flow of the determination apparatus 10 according to the present embodiment will be described. FIG. 4 is a flowchart illustrating the procedure of the free fall determination process according to the first embodiment. This free fall determination process is executed when the control unit 14 inputs an instruction to execute the free fall determination process from the input unit 11.
図4に示すように、第一の特定部14bは、位置を更新させる部品の識別情報を受信した場合(ステップS101肯定)には、更新部品を部品の中から特定する(ステップS102)。生成部14aは、記憶部13から部品情報13aを読み出して画像情報を生成する(ステップS103)。第二の特定部14cは、更新部品と接触する接触部品を特定し、特定した接触部品を接触部品リストに追加する(ステップS104)。
As shown in FIG. 4, when receiving the identification information of the component whose position is to be updated (Yes at Step S101), the first specifying
更新部14dは、更新部品の位置を更新する(ステップS105)。検出部14eは、接触部品リストのうち、未選択の接触部品を一つ選択し、選択した接触部品を重力方向に微少量移動させる(ステップS106)。検出部14eは、接触部品が他の部品と干渉したか否かを判定する(ステップS107)。
The
接触部品が他の部品と干渉しない場合(ステップS107否定)には、判定部14fは、接触部品が自由落下すると判定し、自由落下すると判定した接触部品を自由落下部品リストに追加し(ステップS108)、ステップS111へ進む。一方、接触部品が他の部品と干渉する場合(ステップS107肯定)には、検出部14eは、接触部品と干渉する他の部品が、ベース部品であるか否かを判定する(ステップS109)。接触部品と干渉する他の部品が、ベース部品でない場合(ステップS109否定)には、検出部14eは、接触部と干渉する他の部品を接触部品リストに追加する(ステップS110)。そして、検出部14eは、接触部品リストの接触部品のうち、上記のステップS106で未選択の接触部品があるか否かを判定する(ステップS111)。未選択の接触部品がある場合(ステップS111肯定)には、ステップS106に戻る。一方、未選択の接触部品がない場合(ステップS111否定)には、修正部14gは、次のような処理を行う。すなわち、修正部14gは、自由落下すると判定された部品が、表示上で自由落下するように、生成部14aにより生成された画像情報を修正し、修正した画像情報を出力部12に出力し(ステップS112)、処理を終了する。また、接触部品と干渉する他の部品が、ベース部品である場合(ステップS109肯定)には、ステップS111へ進む。
When the contact component does not interfere with other components (No at Step S107), the determination unit 14f determines that the contact component is free-falling, and adds the contact component determined to be free-falling to the free-fall component list (Step S108). ), Go to step S111. On the other hand, when the contact component interferes with another component (Yes at Step S107), the
[実施例1の効果]
上述してきたように、本実施例に係る判定装置10は、部品の形状と位置とを含む部品情報を格納する格納部である記憶部13から、部品情報13aを読み出して画像情報を生成する。また、本実施例に係る判定装置10は、位置を更新する部品である更新部品を部品の中から特定する。また、本実施例に係る判定装置10は、更新部品と接触する部品である接触部品を特定する。また、本実施例に係る判定装置10は、更新部品の位置を更新する。また、本実施例に係る判定装置10は、接触部品の重力方向の接触状態を検出する。また、本実施例に係る判定装置10は、検出した接触状態から接触部品の落下状況を判定する。したがって、本実施例に係る判定装置10によれば、自動的に部品の落下を判定することができる。
[Effect of Example 1]
As described above, the determination apparatus 10 according to the present embodiment reads the
また、本実施例に係る判定装置10は、重力方向に、接触部品と接触する部品が存在しない場合に、接触部品は自由落下すると判定する。したがって、本実施例に係る判定装置10によれば、自動的に部品の自由落下を判定することができる。 Moreover, the determination apparatus 10 according to the present embodiment determines that the contact component is free-falling when there is no component in contact with the contact component in the direction of gravity. Therefore, according to the determination apparatus 10 according to the present embodiment, it is possible to automatically determine the free fall of the component.
また、本実施例に係る判定装置10は、接触部品に接触する部品を新たな接触部品として、接触部品が地面に接する部品であるベース部品となるまで接触状態を検出する処理を繰り返し行う。また、本実施例に係る判定装置10は、新たな接触部品の重力方向の接触状態から新たな接触部品の落下状況を判定する。これにより、更新部品と地面との間に存在する部品全てについて、落下状況を判定することができる。 Moreover, the determination apparatus 10 according to the present embodiment repeatedly performs the process of detecting the contact state until the contact component becomes a base component that is a component that contacts the ground, with the component that contacts the contact component as a new contact component. Moreover, the determination apparatus 10 according to the present embodiment determines the fall state of the new contact component from the contact state of the new contact component in the gravity direction. Thereby, a fall situation can be judged about all the parts which exist between an update part and the ground.
さて、上記の実施例1では、自由落下を判定する場合を例示したが、開示の装置はこれに限定されない。そこで、実施例2では、回転落下を判定する場合について説明する。 In the first embodiment, the case where the free fall is determined is illustrated, but the disclosed apparatus is not limited to this. Therefore, in the second embodiment, a case where a rotational drop is determined will be described.
[判定装置30の構成]
図5は、実施例2に係る判定装置の構成を示す図である。図5に示すように、判定装置30は、制御部34を有する。かかる制御部34は、図1に示す実施例1に係る制御部14と比較して、第二の特定部14c、検出部14eおよび判定部14fに代えて、第二の特定部34c、検出部34eおよび判定部34fを有する点が異なる。なお、以下では、上記の実施例1と同様の機能を果たす回路や機器については図1と同様の符号を付し、その説明は省略することとする。本実施例では、判定装置30は、部品の回転落下を判定する。また、本実施例では、入力部11は、ユーザから、後述の回転落下判定処理を実行する指示を受け付けて、受け付けた指示を制御部34に入力する。
[Configuration of Determination Device 30]
FIG. 5 is a diagram illustrating the configuration of the determination apparatus according to the second embodiment. As illustrated in FIG. 5, the determination device 30 includes a control unit 34. Compared with the control unit 14 according to the first embodiment illustrated in FIG. 1, the control unit 34 replaces the second specifying
第二の特定部34cは、更新部品と接触する部品である接触部品を特定する。例えば、第二の特定部34cは、更新部品を全方向に微少量移動させる。微少量の一例としては、部品が位置する3次元空間において2、3mmなどが挙げられる。そして、第二の特定部34cは、他の部品と干渉が起きた場合には、干渉が起きた部品を、更新部品と接触する接触部品として特定する。 The second specifying unit 34c specifies a contact component that is a component that contacts the update component. For example, the second specifying unit 34c moves the update component in a small amount in all directions. An example of a minute amount is 2, 3 mm, etc. in the three-dimensional space where the part is located. Then, when interference occurs with another component, the second specification unit 34c specifies the component with the interference as a contact component that comes into contact with the updated component.
図6および図7は、判定装置の処理を説明するための図である。図6の例では、部品A41と、部品B42および部品C43とが接触している場合が示されている。また、図6の例では、部品B42および部品C43が、地面に接触している場合が示されている。また、図6の例では、部品B42の識別情報が入力部11から制御部14に入力された場合が示されている。この場合、第一の特定部14bは、部品B42を更新部品として、部品A41〜部品C43の中から特定する。また、図6の例では、第二の特定部34cは、更新部品B42を全方向に微少量移動させた場合に、部品A41および部品C43と干渉が起きるので、部品A41および部品C43を更新部品B42と接触する接触部品として特定する。
6 and 7 are diagrams for explaining the processing of the determination apparatus. In the example of FIG. 6, the case where the component A41, the component B42, and the component C43 are contacting is shown. Moreover, in the example of FIG. 6, the case where the components B42 and C43 are in contact with the ground is shown. In the example of FIG. 6, a case where identification information of the component B42 is input from the input unit 11 to the control unit 14 is illustrated. In this case, the first specifying
また、図7の例では、位置が(XB1、YB1、ZB1)である更新部品B42が図中左方向に所定距離X移動される場合が示されている。なお、移動後の更新部品B42の位置を(XB2、YB2、ZB2)とする。図7の例では、更新部14dは、更新部品B42の位置を(XB2、YB2、ZB2)に更新する。
Further, in the example of FIG. 7, a case where the update component B42 whose position is (X B1 , Y B1 , Z B1 ) is moved by a predetermined distance X in the left direction in the drawing is shown. It is assumed that the position of the updated part B42 after the movement is (X B2 , Y B2 , Z B2 ). In the example of FIG. 7, the
検出部34eは、接触部品と接触する部品の接触部分と、接触部品の重心とを水平面に投影させた場合に、接触部分によって囲まれる最小の多角形内に重心が含まれているか否かを判定することにより、接触状態を検出する。例えば、検出部34eは、接触部品の移動量が指定量に達するまで、接触部品を重力方向に微少量ずつ移動させる。微少量の一例としては、部品が位置する3次元空間において2、3mmなどが挙げられる。また、検出部34eは、他の部品と干渉が起きた場合には、干渉が起きた部分の位置座標を干渉点リストに追加する。すなわち、干渉点リストには、干渉が起きた部分の位置座標である干渉点の集合が含まれる。そして、検出部34eは、干渉点リストの位置座標が示す干渉点の集合である接触部分(干渉部分)と、接触部品の重心とを水平面に投影させる。続いて、検出部34eは、接触部分によって囲まれる最小多角形であって水平面上の最小多角形の領域を生成する。そして、検出部34eは、最小多角形内に重心が含まれているか否かを判定することにより、接触状態を検出する。
The
図8Aおよび図8Bは、検出部により生成される最小多角形の領域と、重心との関係の一例を示す図である。図8Aの例では、接触部分によって囲まれる最小多角形51内に、接触部品の重心50が含まれていないため、検出部34eは、最小多角形内に重心が含まれていないと判定する。ここで、最小多角形内に重心が含まれていない場合には、接触部品は回転落下する。また、図8Bの例では、接触部分によって囲まれる最小多角形51内に、接触部品の重心50が含まれるため、検出部34eは、最小多角形内に重心が含まれていると判定する。ここで、最小多角形内に重心が含まれている場合には、接触部品は回転落下しない。このようにして、検出部34eは、接触状態を検出する。
8A and 8B are diagrams illustrating an example of the relationship between the minimum polygonal area generated by the detection unit and the center of gravity. In the example of FIG. 8A, since the center of
判定部34fは、検出した接触状態から接触部品の落下状況を判定する。例えば、判定部34fは、検出部34eにより最小多角形内に重心が含まれていないと判定された場合には、接触部品が回転落下すると判定する。また、判定部34fは、検出部34eにより最小多角形内に重心が含まれていると判定された場合には、接触部品が回転落下しないと判定する。そして、判定部34fは、回転落下すると判定された接触部品を回転落下部品リストに追加する。図7の例では、判定部34fは、部品A41が回転落下すると判定する。
The determination unit 34f determines the fall state of the contact component from the detected contact state. For example, the determination unit 34f determines that the contact component rotates and falls when the
修正部34gは、回転落下すると判定された部品が、出力部12の表示上において、回転落下するように、画像情報を修正する。例えば、修正部34gは、判定部34fにより回転落下すると判定された部品が、表示上で回転落下するように、生成部14aにより生成された画像情報を修正する。そして、修正部34gは、修正した画像情報を出力部12に出力する。図7の例では、修正部34gは、部品A41が回転落下するように、生成部14aにより生成された画像情報を修正する。
The
制御部34は、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)などの集積回路またはCPU(Central Processing Unit)やMPU(Micro Processing Unit)などの電子回路である。 The control unit 34 is an integrated circuit such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA) or an electronic circuit such as a central processing unit (CPU) or a micro processing unit (MPU).
[処理の流れ]
次に、本実施例に係る判定装置30の処理の流れを説明する。図9は、実施例2に係る回転落下判定処理の手順を示すフローチャートである。この回転落下判定処理は、入力部11から回転落下判定処理を実行する指示を制御部34が入力された場合に、実行される。
[Process flow]
Next, a processing flow of the determination apparatus 30 according to the present embodiment will be described. FIG. 9 is a flowchart illustrating the procedure of the rotation drop determination process according to the second embodiment. This rotation drop determination process is executed when the control unit 34 receives an instruction to execute the rotation drop determination process from the input unit 11.
図9に示すように、第一の特定部14bは、位置を更新させる部品の識別情報を受信した場合(ステップS201肯定)には、更新部品を部品の中から特定する(ステップS202)。生成部14aは、記憶部13から部品情報13aを読み出して画像情報を生成する(ステップS203)。第二の特定部34cは、更新部品と接触する接触部品を特定する(ステップS204)。
As shown in FIG. 9, when the identification information of the part whose position is to be updated is received (Yes at Step S201), the first specifying
更新部14dは、更新部品の位置を更新する(ステップS205)。検出部34eは、接触部品を重力方向に微少量移動させる(ステップS206)。検出部34eは、接触部品が他の部品と干渉したか否かを判定する(ステップS207)。接触部品が他の部品と干渉しない場合(ステップS207否定)には、ステップS209へ進む。一方、接触部品が他の部品と干渉した場合(ステップS207肯定)には、検出部34eは、干渉が起きた部分の位置座標を干渉点リストに追加する(ステップS208)。検出部34eは、接触部品の移動量が指定量に達したか否かを判定する(ステップS209)。接触部品の移動量が指定量に達していない場合(ステップS209否定)には、ステップS206に戻る。
The
一方、接触部品の移動量が指定量に達した場合(ステップS209肯定)には、検出部34eは、干渉点リストの位置座標が示す干渉点の集合である接触部分(干渉部分)と、接触部品の重心とを水平面に投影させる(ステップS210)。検出部34eは、接触部分によって囲まれる最小多角形であって水平面上の最小多角形の領域内に、重心が含まれているか否かを判定する(ステップS211)。最小多角形内の領域内に重心が含まれていない場合(ステップS211否定)には、判定部34fは、接触部品が回転落下すると判定する(ステップS212)。一方、最小多角形内の領域内に重心が含まれている場合(ステップS211肯定)には、判定部34fは、接触部品が回転落下しないと判定する(ステップS213)。そして、接触部品が回転落下すると判定された場合には、修正部34gは、次のような処理を行う。すなわち、修正部34gは、回転落下すると判定された部品が、表示上で回転落下するように、生成部14aにより生成された画像情報を修正し、修正した画像情報を出力部12に出力し(ステップS214)、処理を終了する。
On the other hand, when the amount of movement of the contact component reaches the specified amount (Yes at Step S209), the
[実施例2の効果]
上述してきたように、本実施例に係る判定装置30は、部品の形状と位置とを含む部品情報を格納する格納部である記憶部13から、部品情報13aを読み出して画像情報を生成する。また、本実施例に係る判定装置30は、位置を更新する部品である更新部品を部品の中から特定する。また、本実施例に係る判定装置30は、更新部品と接触する部品である接触部品を特定する。また、本実施例に係る判定装置30は、更新部品の位置を更新する。また、本実施例に係る判定装置30は、接触部品の重力方向の接触状態を検出する。また、本実施例に係る判定装置30は、検出した接触状態から接触部品の落下状況を判定する。したがって、本実施例に係る判定装置30によれば、自動的に部品の落下を判定することができる。
[Effect of Example 2]
As described above, the determination apparatus 30 according to the present embodiment reads the
また、本実施例に係る判定装置30は、接触部品と接触する部品の接触部分と、接触部品の重心とを水平面に投影させた場合に、接触部分によって囲まれる最小の多角形内に重心が含まれていないときに、接触部品は回転落下すると判定する。したがって、本実施例に係る判定装置30によれば、自動的に部品の回転落下を判定することができる。 In addition, when the determination device 30 according to the present embodiment projects the contact portion of the component that contacts the contact component and the center of gravity of the contact component on a horizontal plane, the center of gravity is within the smallest polygon surrounded by the contact portion. When not included, it is determined that the contact component is rotated and dropped. Therefore, according to the determination apparatus 30 according to the present embodiment, it is possible to automatically determine the rotational drop of the component.
実施例3では、部品の接触関係を予め抽出し、抽出した部品の接触関係に基づいて、接触部品の自由落下および回転落下を判定する場合について説明する。 In the third embodiment, a case will be described in which the contact relationship between components is extracted in advance, and free fall and rotation fall of the contact component are determined based on the extracted contact relationship between components.
[判定装置50の構成]
図10は、実施例3に係る判定装置の構成を示す図である。図10に示すように、判定装置50は、記憶部53と、制御部54とを有する。記憶部53は、図1に示す実施例1に係る記憶部13と比較して、新たに、ツリー情報53bを記憶する点が異なる。ツリー情報53bには、後述のツリー生成部54hにより部品の接触関係が登録される。すなわち、本実施例では、このツリー情報53bが示す部品の接触関係を用いて、部品の落下状況を判定するため、判定の都度、個々の部品の接触関係を検出した場合と比較して、より速い計算速度で、部品の落下状況を判定することができる。なお、ツリー情報53bについては、後述する。また、制御部54は、図1に示す実施例1に係る制御部14と比較して、ツリー生成部54hが新たに設けられた点が異なる。また、制御部54は、制御部14と比較して、検出部14e、判定部14f、修正部14gに代えて、検出部54e、判定部54f、修正部54gを有する点が異なる。また、制御部54は、制御部14と比較して、第二の特定部14cを有さない点が異なる。なお、以下では、上記の実施例1、2と同様の機能を果たす回路や機器については図1、図5と同様の符号を付し、その説明は省略することとする。
[Configuration of Determination Device 50]
FIG. 10 is a diagram illustrating the configuration of the determination apparatus according to the third embodiment. As illustrated in FIG. 10, the
本実施例の判定装置50は、部品の接触関係を予め抽出し、抽出した部品の接触関係に基づいて、部品の落下状況を判定する。これにより、本実施例によれば、より速い計算速度で、落下状況を判定することができる。また、本実施例では、入力部11は、ユーザから、後述の落下状況判定処理を実行する指示を受け付けて、受け付けた指示を制御部54に入力する。また、本実施例では、入力部11は、ユーザから、後述のツリー生成処理を実行する指示を受け付けて、受け付けた指示を制御部54に入力する。
The
ツリー生成部54hは、部品の接触関係を抽出する。例えば、ツリー生成部54hは、部品情報13aに定義された地面を移動部品として、重力方向と反対方向に移動させる。そして、ツリー生成部54hは、地面が他の部品と干渉したか否かを判定する。地面が他の部品と干渉した場合には、ツリー生成部54hは、地面と干渉した部品をベース部品とする。そして、ツリー生成部54hは、干渉した部品を移動部品とする。次に、ツリー生成部54hは、移動部品を重力方向と反対方向に微少量移動させる。続いて、ツリー生成部54hは、移動部品が他の部品と干渉したか否かを判定する。移動部品が他の部品と干渉した場合には、ツリー生成部54hは、移動部品と、干渉した他の部品とが接触することを示す関係をツリー情報53bに追加する。その後、ツリー生成部54hは、干渉した他の部品を、新たな移動部品とし、上記の処理を再び行う。
The
具体例を挙げて説明する。図11は、判定装置の処理を説明するための図である。図11の例では、部品A61と、部品B62および部品C63とが接触している場合が示されている。また、図11の例では、部品C63が、地面64に接触している場合が示されている。このような場合には、ツリー生成部54hは、地面64を移動部品として、重力方向と反対方向に移動させる。そして、ツリー生成部54hは、地面64が他の部品と干渉したか否かを判定する。図6の例では、ツリー生成部54hは、地面64が部品C63と干渉したと判定する。そして、ツリー生成部54hは、地面64と干渉した部品C63をベース部品とする。そして、ツリー生成部54hは、干渉した部品C63を移動部品とする。次に、ツリー生成部54hは、移動部品C63を重力方向と反対方向に微少量移動させる。続いて、ツリー生成部54hは、移動部品C63が他の部品と干渉したか否かを判定する。図6の例では、ツリー生成部54hは、移動部品C63が部品A61と干渉したと判定する。そして、ツリー生成部54hは、移動部品C63と、干渉した部品A61とが接触することを示す関係をツリー情報53bに追加する。その後、ツリー生成部54hは、干渉した部品A61を新たな移動部品とし、上記と同様の処理を繰り返し行う。その結果、ツリー生成部54hは、地面と部品C63とが接触し、部品C63と部品A61とが接触し、部品A61と部品B62とが接触することを示す関係を、ツリー情報53bに追加する。
A specific example will be described. FIG. 11 is a diagram for explaining processing of the determination apparatus. In the example of FIG. 11, the case where the component A61 is in contact with the component B62 and the component C63 is shown. Further, in the example of FIG. 11, a case where the component C63 is in contact with the
図12は、ツリー情報が示す部品の接触関係を示すツリーの一例を示す図である。図12の例では、ツリー情報53bが示す接触関係が、地面と部品C63とが接触し、部品C63と部品A61とが接触し、部品A61と部品B62とが接触することを示す関係である場合が示されている。この接触関係は、先の図11に示した部品の接触関係と同一である。また、図12の例では、上位階層に存在する部品ほど、ベース部品に近いものとして表現されているが、ツリー情報53bが示す接触関係の表現方法は任意の方法を用いることができる。例えば、下位階層に存在する部品ほど、ベース部品に近いものとして表現してもよい。
FIG. 12 is a diagram illustrating an example of a tree indicating a contact relationship between components indicated by the tree information. In the example of FIG. 12, the contact relationship indicated by the
また、図12の例において、部品A61を分解、すなわち部品A61を移動させた場合には、同図から、部品B62が、ベース部品とのつながりがツリー上で消えてしまうため、部品B62が落下することが、ツリー情報53bが示すツリーから容易に分かる。また、各部品を分解などにより外した場合、すなわち部品の位置を更新させた場合には、ツリー情報53bが示すツリーから、位置が更新された部品の部分のみを更新すれば、全部品の接触関係を把握することが可能な情報が生成できる。そのため、判定装置50は、落下状況を判定するたびに、部品の接触関係を検出する場合と比較して、ツリー情報53bを用いることで、より速い計算事件で落下状況を判定することができる。
In the example of FIG. 12, when the part A61 is disassembled, that is, when the part A61 is moved, the connection between the part B62 and the base part disappears on the tree from the same figure, so the part B62 falls. It is easily understood from the tree indicated by the
検出部54eは、実施例2に係る検出部34eと同様の機能を有する。すなわち、検出部54eは、部品の回転落下を判定する際に用いられる接触状態を検出する。
The
判定部54fは、実施例2に係る判定部34fと同様の機能を有する。すなわち、判定部54fは、部品の回転落下を判定する。
The
また、判定部54fは、更新部品を、後述の落下判定処理の処理対象の部品である部品Kとする。また、判定部54fは、部品Kと接触する部品であって、下位の接触部品をツリーから検索し、処理対象の部品のリストである部品リストkに追加する。また、判定部54fは、部品リストkの部品のうち、未選択の部品Lを一つ選択する。そして、判定部54fは、ツリー上において、選択した部品Lの上位に接続している部品を、ツリー情報53bから検索する。そして、判定部54fは、検索の結果、部品Lの上位に接続している部品が得られた場合には、得られた部品を部品リストlに追加する。
In addition, the
そして、判定部54fは、部品リストlに部品が含まれていない状態、いわゆる「空」であるか否かを判定する。部品リストlに部品が含まれている場合には、検出部54eおよび判定部54fは、実施例2と同様に、部品Lの回転落下を判定する。そして、部品Lが回転落下すると判定された場合には、判定部54fは、部品Lを部品リストmと部品リストnに追加する。ここで、判定部54fは、部品Lが回転落下することを示す情報を、部品Lに付加して、部品リストnに追加する。
Then, the
一方、判定部54fは、部品リストlに部品が含まれていない場合には、部品Lが自由落下すると判定する。そして、部品Lが自由落下すると判定された場合には、判定部54fは、部品Lを部品リストmと部品リストnに追加する。ここで、判定部54fは、部品Lが自由落下することを示す情報を、部品Lに付加して、部品リストnに追加する。
On the other hand, the
また、判定部54fは、部品リストkに未選択の部品が含まれていない場合には、部品リストmの部品のうち、未選択の部品Mを選択する。そして、判定部54fは、選択した部品Mを、部品Kとし、部品Kを、部品リストkに追加し、上記の処理を再び行う。一方、部品リストmに未選択の部品Mが含まれていない場合には、処理を終了する。なお、処理を終了した際に、リストnには、自由落下または回転落下することが示す情報が付加された部品が含まれる。
Further, the
修正部54gは、実施例1に係る修正部14gおよび実施例2に係る修正部34gと同様の機能を有する。すなわち、修正部54gは、自由落下すると判定された部品が、出力部12の表示上において、自由落下するように、画像情報を修正する。また、修正部54gは、回転落下すると判定された部品が、出力部12の表示上において、回転落下するように、画像情報を修正する。
The
図13、図14および図15は、判定装置の処理を説明するための図である。図13の例では、部品A71が、地面に接触している場合が示されている。また、図13の例では、部品A71と、部品B72および部品C73とが接触している場合が示されている。また、図13の例では、部品B72および部品C73と、部品D74とが接触している場合が示されている。また、図13の例では、部品D74と、部品E75、部品F76および部品G77とが接触している場合が示されている。また、図13の例では、部品F76と、部品H78とが接触している場合が示されている。 13, FIG. 14 and FIG. 15 are diagrams for explaining the processing of the determination apparatus. In the example of FIG. 13, the case where the component A71 is in contact with the ground is shown. Moreover, in the example of FIG. 13, the case where the component A71, the component B72, and the component C73 are contacting is shown. Moreover, in the example of FIG. 13, the case where the components B72 and C73 and the component D74 are contacting is shown. Moreover, in the example of FIG. 13, the case where the component D74 and the component E75, the component F76, and the component G77 are contacting is shown. Moreover, in the example of FIG. 13, the case where the component F76 and the component H78 are contacting is shown.
図13の例の場合では、ツリー生成部54hは、図14に示すようなツリーを表すツリー情報53bを生成する。図14の例では、部品A71と、部品B72および部品C73とが接触していることを示す関係が示されている。また、図14の例では、部品B72および部品C73と、部品D74とが接触していることを示す関係が示されている。また、図14の例では、部品D74と、部品E75、部品F76および部品G77とが接触していることを示す関係が示されている。また、図14の例では、部品F76と、部品H78とが接触していることを示す関係が示されている。
In the case of the example of FIG. 13, the
図13および図14の例において、部品C73を分解して取り除いた場合、すなわち、部品Cの位置を更新した場合には、判定装置50は、次のように、各部品の自由落下および回転落下を判定する。すなわち、判定装置50は、ツリー上で、部品C73と接触している下位の部品を検索する。図14の例では、判定装置50は、部品C73と接触している下位の部品として、部品D74を検索する。この部品D74が落下判定処理の対象の部品となる。また、図15の例は、部品C73が取り除かれた場合が示されている。
In the example of FIGS. 13 and 14, when the part C73 is disassembled and removed, that is, when the position of the part C is updated, the
判定装置50は、部品D74の上位に接触する部品があるか否かを判定する。部品D74の上位に接触する部品がない場合には、部品D74が自由落下すると判定する。図15の例では、部品D74の上位に接触する部品B72があるので、判定装置50は、部品D74が自由落下しないと判定する。しかしながら、部品D74が回転落下をする可能性があるので、次に、判定装置50は、部品D74が回転落下をするか否かの判定を行う。この回転落下の判定方法は、実施例2での回転落下の判定方法と同様である。
The
そして、判定装置50は、上述した自由落下および回転落下の判定を、部品D74より下位の部品に対して行い、部品D74の落下により、下位の部品が落下するか否かを判定する。
Then, the
制御部54は、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)などの集積回路またはCPU(Central Processing Unit)やMPU(Micro Processing Unit)などの電子回路である。 The control unit 54 is an integrated circuit such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA), or an electronic circuit such as a central processing unit (CPU) or a micro processing unit (MPU).
[処理の流れ]
次に、本実施例に係る判定装置50の処理の流れを説明する。図16は、実施例3に係るツリー生成処理の手順を示すフローチャートである。このツリー生成処理は、入力部11からツリー生成処理を実行する指示を制御部54が入力された場合に、実行される。
[Process flow]
Next, the process flow of the
図16に示すように、ツリー生成部54hは、部品情報13aに定義された地面を移動部品とする(ステップS301)。ツリー生成部54hは、移動部品を重力方向と反対方向に移動させる(ステップS302)。
As illustrated in FIG. 16, the
ツリー生成部54hは、移動部品が他の部品と干渉したか否かを判定する(ステップS303)。移動部品が他の部品と干渉した場合(ステップS303肯定)には、ツリー生成部54hは、地面と干渉した部品をベース部品とする(ステップS304)。ツリー生成部54hは、干渉した部品を移動部品とする(ステップS305)。ツリー生成部54hは、移動部品を重力方向と反対方向に微少量移動させる(ステップS306)。
The
ツリー生成部54hは、移動部品が他の部品と干渉したか否かを判定する(ステップS307)。移動部品が他の部品と干渉した場合(ステップS307肯定)には、ツリー生成部54hは、移動部品と、干渉した他の部品とが接触することを示す関係をツリー情報53bに追加し(ステップS308)、ステップS305に戻る。一方、移動部品が他の部品と干渉しない場合(ステップS307否定)、および移動部品が他の部品と干渉しない場合(ステップS303否定)には、処理を終了する。
The
図17は、実施例3に係る落下状況判定処理の手順を示すフローチャートである。この落下状況判定処理は、入力部11から落下状況処理を実行する指示を制御部54が入力された場合に、実行される。 FIG. 17 is a flowchart illustrating a procedure of a fall state determination process according to the third embodiment. This fall situation determination process is executed when the control unit 54 receives an instruction to execute the fall situation process from the input unit 11.
図17に示すように、第一の特定部14bは、位置を更新させる部品の識別情報を受信した場合(ステップS401肯定)には、更新部品を部品の中から特定する(ステップS402)。
As shown in FIG. 17, when receiving the identification information of the part whose position is to be updated (Yes at Step S401), the first specifying
判定部54fは、更新部品を、部品Kとする(ステップS403)。判定部54fは、判定部54fは、部品Kと接触する部品であって、下位の接触部品をツリーから検索し、処理対象の部品のリストである部品リストkに追加する(ステップS404)。判定部54fは、部品リストkの部品のうち、未選択の部品Lがあるか否かを判定する(ステップS405)。未選択の部品Lがある場合(ステップS405肯定)には、判定部54fは、未選択の部品Lを一つ選択する(ステップS406)。判定部54fは、ツリー上において、選択した部品Lの上位に接続している部品を、ツリー情報53bから検索し、検索の結果、部品Lの上位に接続している部品が得られた場合には、得られた部品を部品リストlに追加する(ステップS407)。
The
判定部54fは、部品リストlに部品が含まれていない状態、いわゆる「空」であるか否かを判定する(ステップS408)。部品リストlに部品が含まれている場合(ステップS408否定)には、検出部54eおよび判定部54fは、実施例2と同様に、部品Lの回転落下を判定する(ステップS409)。判定部54fは、ステップS409で部品Lが回転落下すると判定されたか否かを判定する(ステップS410)。部品Lが回転落下すると判定された場合(ステップS410肯定)には、判定部54fは、部品Lを部品リストmと部品リストnに追加する。ここで、判定部54fは、部品Lが回転落下することを示す情報を、部品Lに付加して、部品リストnに追加する(ステップS411)。一方、部品Lが回転落下すると判定されない場合(ステップS410否定)には、ステップS405に戻る。
The
また、部品リストlに部品が含まれていない場合(ステップS408肯定)には、判定部54fは、部品Lが自由落下すると判定し(ステップS412)、ステップS411で、部品Lを部品リストmと部品リストnに追加する。ここで、判定部54fは、部品Lが自由落下することを示す情報を、部品Lに付加して、部品リストnに追加する。
If no part is included in the parts list l (Yes in step S408), the
また、部品リストkに未選択の部品が含まれていない場合(ステップS405否定)には、判定部54fは、部品リストmに未選択の部品Mが含まれているか否かを判定する(ステップS413)。未選択の部品Mが含まれている場合(ステップS413肯定)には、判定部54fは、部品リストmの部品のうち、未選択の部品Mを選択する(ステップS414)。判定部54fは、選択した部品Mを、部品Kとし、部品Kを、部品リストkに追加し(ステップS415)、ステップS404に戻る。
When the unselected part is not included in the parts list k (No at Step S405), the
一方、部品リストmに未選択の部品Mが含まれていない場合(ステップS413否定)には、処理を終了する。 On the other hand, when the unselected part M is not included in the parts list m (No at step S413), the process is terminated.
[実施例3の効果]
上述してきたように、本実施例に係る判定装置50は、部品の形状と位置とを含む部品情報を格納する格納部である記憶部53から、部品情報13aを読み出して画像情報を生成する。また、本実施例に係る判定装置50は、位置を更新する部品である更新部品を部品の中から特定する。また、本実施例に係る判定装置50は、更新部品と接触する部品である接触部品を特定する。また、本実施例に係る判定装置50は、更新部品の位置を更新する。また、本実施例に係る判定装置50は、接触部品の重力方向の接触状態を検出する。また、本実施例に係る判定装置50は、検出した接触状態から接触部品の落下状況を判定する。したがって、本実施例に係る判定装置50によれば、自動的に部品の落下を判定することができる。
[Effect of Example 3]
As described above, the
また、本実施例に係る判定装置50は、重力方向に、接触部品と接触する部品が存在しない場合に、接触部品は自由落下すると判定する。したがって、本実施例に係る判定装置50によれば、自動的に部品の自由落下を判定することができる。
Moreover, the
また、本実施例に係る判定装置50は、接触部品と接触する部品の接触部分と、接触部品の重心とを水平面に投影させた場合に、接触部分によって囲まれる最小の多角形内に重心が含まれていないときに、接触部品は回転落下すると判定する。したがって、本実施例に係る判定装置50によれば、自動的に部品の回転落下を判定することができる。
In addition, the
また、本実施例に係る判定装置50は、接触部品に接触する部品を新たな接触部品として、接触部品が地面に接する部品であるベース部品となるまで接触状態を検出する処理を繰り返し行う。また、本実施例に係る判定装置50は、新たな接触部品の重力方向の接触状態から新たな接触部品の落下状況を判定する。これにより、更新部品と地面との間に存在する部品全てについて、落下状況を判定することができる。
Further, the
また、本実施例に係る判定装置50は、部品の接触関係を抽出し、抽出した部品の接触関係に基づいて、接触部品の落下状況を判定する。したがって、本実施例に係る判定装置50によれば、部品の接触関係を用いて、部品の落下状況を判定するため、判定の都度、個々の部品の接触関係を検出した場合と比較して、より速い計算速度で、部品の落下状況を判定することができる。
Further, the
さて、これまで開示の装置に関する実施例について説明したが、本発明は上述した実施例以外にも、種々の異なる形態にて実施されてよいものである。そこで、以下では、本発明に含まれる他の実施例を説明する。 Although the embodiments related to the disclosed apparatus have been described above, the present invention may be implemented in various different forms other than the above-described embodiments. Therefore, another embodiment included in the present invention will be described below.
例えば、実施例1〜3において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともできる。また、本実施例において説明した各処理のうち、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。 For example, all or some of the processes described as being automatically performed among the processes described in the first to third embodiments can be manually performed. In addition, among the processes described in this embodiment, all or a part of the processes described as being performed manually can be automatically performed by a known method.
また、各種の負荷や使用状況などに応じて、各実施例において説明した各処理の各ステップでの処理を任意に細かくわけたり、あるいはまとめたりすることができる。また、ステップを省略することもできる。例えば、図17に示すステップS409、S410をまとめたりすることもできる。 In addition, the processing at each step of each processing described in each embodiment can be arbitrarily finely divided or combined according to various loads and usage conditions. Also, the steps can be omitted. For example, steps S409 and S410 shown in FIG. 17 can be combined.
また、各種の負荷や使用状況などに応じて、各実施例において説明した各処理の各ステップでの処理の順番を変更できる。 Further, the order of processing at each step of each processing described in each embodiment can be changed according to various loads and usage conditions.
また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的状態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。例えば、図1、図5、図10に示す判定部と、修正部とが統合されてもよい。 Further, each component of each illustrated apparatus is functionally conceptual, and does not necessarily need to be physically configured as illustrated. In other words, the specific state of distribution / integration of each device is not limited to the one shown in the figure, and all or a part thereof may be functionally or physically distributed or arbitrarily distributed in arbitrary units according to various loads or usage conditions. Can be integrated and configured. For example, the determination unit and the correction unit illustrated in FIGS. 1, 5, and 10 may be integrated.
[判定プログラム]
また、上記の各実施例で説明した各判定装置の各種の処理は、あらかじめ用意されたプログラムをパーソナルコンピュータやワークステーションなどのコンピュータシステムで実行することによって実現することもできる。そこで、以下では、図18を用いて、上記の実施例で説明した判定装置と同様の機能を有する判定プログラムを実行するコンピュータの一例を説明する。図18は、判定プログラムを実行するコンピュータを示す図である。
[Judgment program]
Various processes of each determination apparatus described in the above embodiments can be realized by executing a program prepared in advance on a computer system such as a personal computer or a workstation. Therefore, in the following, an example of a computer that executes a determination program having the same function as the determination apparatus described in the above embodiment will be described with reference to FIG. FIG. 18 is a diagram illustrating a computer that executes a determination program.
図18に示すように、実施例4におけるコンピュータは、CPU(Central Processing Unit)310、ROM(Read Only Memory)320、HDD(Hard Disk Drive)330、RAM(Random Access Memory)340とを有する。これら310〜340の各部は、バス350を介して接続される。
As illustrated in FIG. 18, the computer according to the fourth embodiment includes a CPU (Central Processing Unit) 310, a ROM (Read Only Memory) 320, an HDD (Hard Disk Drive) 330, and a RAM (Random Access Memory) 340. These
ROM320には、上記の各実施例で示す生成部、ツリー生成部、第一の特定部、第二の特定部、更新部、検出部、判定部、修正部と同様の機能を発揮する判定プログラム320aが予め記憶される。なお、判定プログラム320aについては、適宜分離しても良い。
The ROM 320 includes a determination program that exhibits the same functions as the generation unit, tree generation unit, first specification unit, second specification unit, update unit, detection unit, determination unit, and correction unit shown in the above embodiments. 320a is stored in advance. Note that the
そして、CPU310が、判定プログラム320aをROM320から読み出して実行する。
Then, the
そして、HDD330には、部品情報、ツリー情報が設けられる。これら部品情報、ツリー情報のそれぞれは、部品情報13a、ツリー情報53bのそれぞれに対応する。
The
そして、CPU310は、部品情報、ツリー情報を読み出してRAM340に格納する。さらに、CPU310は、RAM340に格納された部品情報、ツリー情報を用いて、判定プログラムを実行する。なお、RAM340に格納される各データは、常に全てのデータがRAM340に格納される必要はなく、処理に必要なデータのみがRAM340に格納されれば良い。
Then, the
なお、上記した判定プログラムについては、必ずしも最初からROM320に記憶させておく必要はない。 Note that the above-described determination program is not necessarily stored in the ROM 320 from the beginning.
例えば、コンピュータ300に挿入されるフレキシブルディスク(FD)、CD−ROM、DVDディスク、光磁気ディスク、ICカードなどの「可搬用の物理媒体」にプログラムを記憶させておく。そして、コンピュータ300がこれらからプログラムを読み出して実行するようにしてもよい。 For example, the program is stored in a “portable physical medium” such as a flexible disk (FD), a CD-ROM, a DVD disk, a magneto-optical disk, or an IC card inserted into the computer 300. Then, the computer 300 may read and execute the program from these.
さらには、公衆回線、インターネット、LAN、WANなどを介してコンピュータ300に接続される「他のコンピュータ(またはサーバ)」などにプログラムを記憶させておく。そして、コンピュータ300がこれらからプログラムを読み出して実行するようにしてもよい。 Furthermore, the program is stored in “another computer (or server)” connected to the computer 300 via a public line, the Internet, a LAN, a WAN, or the like. Then, the computer 300 may read and execute the program from these.
以上説明した実施形態及びその変形例に関し、更に以下の付記を開示する。 The following supplementary notes are further disclosed regarding the embodiment described above and its modifications.
(付記1)コンピュータに、
部品の形状と位置とを含む部品情報を格納する格納部から、部品情報を読み出し、
位置を更新する更新部品を前記部品の中から特定し、
前記更新部品と接触する接触部品を前記部品の中から特定し、
前記更新部品の位置を更新し、
前記接触部品の重力方向の接触状態を検出し、
検出した接触状態から前記接触部品の落下状況を判定する
処理を実行させる判定プログラム。
(Supplementary note 1)
Read the component information from the storage unit that stores the component information including the shape and position of the component,
An update part whose position is to be updated is identified from the parts,
Identify a contact part that contacts the updated part from the parts,
Update the location of the update part,
Detecting the contact state of the contact component in the direction of gravity;
A determination program for executing a process for determining a fall state of the contact component from a detected contact state.
(付記2)前記落下状況を判定する処理は、前記重力方向に、前記接触部品と接触する部品が存在しない場合に、前記接触部品は自由落下すると判定する
付記1に記載の判定プログラム。
(Supplementary note 2) The determination program according to supplementary note 1, wherein the process of determining the fall state determines that the contact component is free-falling when there is no component in contact with the contact component in the gravity direction.
(付記3)前記落下状況を判定する処理は、前記接触部品と接触する部品の接触部分と、前記接触部品の重心とを水平面に投影させた場合に、前記接触部分によって囲まれる最小の多角形内に前記重心が含まれていないときに、前記接触部品は回転落下すると判定する
付記1に記載の判定プログラム。
(Additional remark 3) The process which determines the said fall condition is the minimum polygon enclosed by the said contact part, when the contact part of the part which contacts the said contact part, and the gravity center of the said contact part are projected on a horizontal surface The determination program according to claim 1, wherein the contact part is determined to rotate and drop when the center of gravity is not included therein.
(付記4)前記接触部品の重力方向の接触状態を検出する処理は、前記接触部品に接触する部品を新たな接触部品として、該接触部品が地面に接する部品となるまで前記接触状態を検出する処理を繰り返し行い、
前記落下状況を判定する処理は、前記新たな接触部品の重力方向の接触状態から該新たな接触部品の落下状況を判定する
付記1〜3のいずれか一つに記載の判定プログラム。
(Additional remark 4) The process which detects the contact state of the said contact component of the gravity direction detects the said contact state until it becomes a component which contacts the said contact component by making the component which contacts the said contact component into a new contact component. Repeat the process,
The determination program according to any one of appendices 1 to 3, wherein the process of determining the fall state determines a fall state of the new contact part from a contact state of the new contact part in a gravity direction.
(付記5)さらに、コンピュータに、部品の接触関係を抽出する処理を実行させ、
前記落下状況を判定する処理は、前記部品の接触関係に基づいて、前記接触部品の落下状況を判定する
付記1〜4のいずれか一つに記載の判定プログラム。
(Additional remark 5) Furthermore, let a computer perform the process which extracts the contact relationship of components,
The determination program according to any one of appendices 1 to 4, wherein the process of determining the drop state determines a drop state of the contact component based on a contact relationship of the component.
(付記6)部品の形状と位置とを含む部品情報を格納する格納部から、部品情報を読み出す生成部と、
位置を更新する更新部品を前記部品の中から特定する第一の特定部と、
前記更新部品と接触する接触部品を前記部品の中から特定する第二の特定部と、
前記更新部品の位置を更新する更新部と、
前記接触部品の重力方向の接触状態を検出する検出部と、
検出した接触状態から前記接触部品の落下状況を判定する判定部と、
を有することを特徴とする判定装置。
(Supplementary Note 6) A generation unit that reads out component information from a storage unit that stores component information including the shape and position of the component;
A first specifying unit for specifying an update part for updating the position from the parts;
A second identifying unit that identifies a contact component that contacts the updated component from the components;
An update unit for updating the position of the update part;
A detection unit for detecting a contact state in a gravity direction of the contact component;
A determination unit for determining a fall state of the contact component from the detected contact state;
The determination apparatus characterized by having.
(付記7)前記判定部は、前記重力方向に、前記接触部品と接触する部品が存在しない場合に、前記接触部品は自由落下すると判定する
付記6に記載の判定装置。
(Supplementary note 7) The determination device according to supplementary note 6, wherein the determination unit determines that the contact component is free-falling when there is no component in contact with the contact component in the gravity direction.
(付記8)前記判定部は、前記接触部品と接触する部品の接触部分と、前記接触部品の重心とを水平面に投影させた場合に、前記接触部分によって囲まれる最小の多角形内に前記重心が含まれていないときに、前記接触部品は回転落下すると判定する
付記6に記載の判定装置。
(Additional remark 8) When the said determination part projects the contact part of the component which contacts the said contact component, and the gravity center of the said contact component on a horizontal surface, the said gravity center is in the minimum polygon enclosed by the said contact part. The determination apparatus according to appendix 6, wherein the contact component is determined to rotate and fall when no is included.
(付記9)前記検出部は、前記接触部品に接触する部品を新たな接触部品として、該接触部品が地面に接する部品となるまで前記接触状態を検出する処理を繰り返し行い、
前記落下状況を判定する処理は、前記新たな接触部品の重力方向の接触状態から該新たな接触部品の落下状況を判定する
付記6〜8のいずれか一つに記載の判定装置。
(Additional remark 9) The said detection part repeats the process which detects the said contact state until it becomes a component which contacts the said contact component by making the component which contacts the said contact component into a new contact component,
The determination apparatus according to any one of appendices 6 to 8, wherein the process of determining the fall state determines a fall state of the new contact part from a contact state of the new contact part in a gravity direction.
(付記10)さらに、部品の接触関係を抽出する抽出部を有し、
前記判定部は、前記部品の接触関係に基づいて、前記接触部品の落下状況を判定する
付記6〜9のいずれか一つに記載の判定装置。
(Additional remark 10) Furthermore, it has the extraction part which extracts the contact relationship of components,
The determination device according to any one of appendices 6 to 9, wherein the determination unit determines a fall state of the contact component based on a contact relationship of the component.
(付記11)コンピュータが実行する判定方法であって、
部品の形状と位置とを含む部品情報を格納する格納部から、部品情報を読み出し、
位置を更新する更新部品を前記部品の中から特定し、
前記更新部品と接触する接触部品を前記部品の中から特定し、
前記更新部品の位置を更新し、
前記接触部品の重力方向の接触状態を検出し、
検出した接触状態から前記接触部品の落下状況を判定する
ことを特徴とする判定方法。
(Supplementary Note 11) A determination method executed by a computer,
Read the component information from the storage unit that stores the component information including the shape and position of the component,
An update part whose position is to be updated is identified from the parts,
Identify a contact part that contacts the updated part from the parts,
Update the location of the update part,
Detecting the contact state of the contact component in the direction of gravity;
A determination method comprising: determining a fall state of the contact component from a detected contact state.
(付記12)前記落下状況を判定する方法は、前記重力方向に、前記接触部品と接触する部品が存在しない場合に、前記接触部品は自由落下すると判定する
付記11に記載の判定方法。
(Supplementary note 12) The determination method according to supplementary note 11, wherein the method of determining the fall state determines that the contact component is free-falling when there is no component in contact with the contact component in the direction of gravity.
(付記13)前記落下状況を判定する方法は、前記接触部品と接触する部品の接触部分と、前記接触部品の重心とを水平面に投影させた場合に、前記接触部分によって囲まれる最小の多角形内に前記重心が含まれていないときに、前記接触部品は回転落下すると判定する
付記11に記載の判定方法。
(Additional remark 13) The method of determining the said fall condition is the minimum polygon enclosed by the said contact part, when the contact part of the part which contacts the said contact part, and the gravity center of the said contact part are projected on a horizontal surface The determination method according to claim 11, wherein the contact part is determined to rotate and drop when the center of gravity is not included therein.
(付記14)前記接触部品の重力方向の接触状態を検出する方法は、前記接触部品に接触する部品を新たな接触部品として、該接触部品が地面に接する部品となるまで前記接触状態を検出する処理を繰り返し行い、
前記落下状況を判定する方法は、前記新たな接触部品の重力方向の接触状態から該新たな接触部品の落下状況を判定する
付記11〜13のいずれか一つに記載の判定方法。
(Additional remark 14) The method of detecting the contact state of the said contact component of the gravitational direction detects the said contact state until the contact component becomes a component which contacts the ground by making the component which contacts the said contact component into a new contact component. Repeat the process,
The determination method according to any one of appendices 11 to 13, wherein the method for determining the fall state is to determine the fall state of the new contact component from the contact state of the new contact component in the gravity direction.
(付記15)さらに、コンピュータに、部品の接触関係を抽出する方法を実行させ、
前記落下状況を判定する方法は、前記部品の接触関係に基づいて、前記接触部品の落下状況を判定する
付記11〜14のいずれか一つに記載の判定方法。
(Supplementary note 15) Further, the computer is caused to execute a method of extracting a contact relation between parts,
The determination method according to any one of appendices 11 to 14, wherein the method of determining the drop state is to determine the drop state of the contact component based on a contact relationship of the component.
10 判定装置
11 入力部
12 出力部
13 記憶部
13a 部品情報
14 制御部
14a 生成部
14b 第一の特定部
14c 第二の特定部
14d 更新部
14e 検出部
14f 判定部
14g 修正部
DESCRIPTION OF SYMBOLS 10 Determination apparatus 11
Claims (7)
部品の形状と位置とを含む部品情報を格納する格納部から、部品情報を読み出し、
位置を更新する更新部品を前記部品の中から特定し、
前記更新部品と接触する接触部品を前記部品の中から特定し、
前記更新部品の位置を更新し、
前記接触部品の重力方向の接触状態を検出し、
検出した接触状態から前記接触部品の落下状況を判定する
処理を実行させる判定プログラム。 On the computer,
Read the component information from the storage unit that stores the component information including the shape and position of the component,
An update part whose position is to be updated is identified from the parts,
Identify a contact part that contacts the updated part from the parts,
Update the location of the update part,
Detecting the contact state of the contact component in the direction of gravity;
A determination program for executing a process for determining a fall state of the contact component from a detected contact state.
請求項1に記載の判定プログラム。 The determination program according to claim 1, wherein the process of determining the fall state determines that the contact component is free-falling when there is no component in contact with the contact component in the gravity direction.
請求項1に記載の判定プログラム。 In the process of determining the fall state, when the contact portion of the component that contacts the contact component and the center of gravity of the contact component are projected on a horizontal plane, the center of gravity is within the smallest polygon surrounded by the contact portion. The determination program according to claim 1, wherein it is determined that the contact component is rotated and dropped when no is included.
前記落下状況を判定する処理は、前記新たな接触部品の重力方向の接触状態から該新たな接触部品の落下状況を判定する
請求項1〜3のいずれか一つに記載の判定プログラム。 The process of detecting the contact state of the contact component in the gravity direction is performed by repeatedly performing the process of detecting the contact state until the contact component becomes a component in contact with the ground, with the component in contact with the contact component being a new contact component. ,
The determination program according to any one of claims 1 to 3, wherein the process of determining the fall state determines a fall state of the new contact part from a contact state of the new contact part in a gravity direction.
前記落下状況を判定する処理は、前記部品の接触関係に基づいて、前記接触部品の落下状況を判定する
請求項1〜4のいずれか一つに記載の判定プログラム。 In addition, let the computer execute the process of extracting the contact relationship of the parts,
The determination program according to any one of claims 1 to 4, wherein the process of determining the fall status determines a fall status of the contact component based on a contact relationship between the components.
位置を更新する更新部品を前記部品の中から特定する第一の特定部と、
前記更新部品と接触する接触部品を前記部品の中から特定する第二の特定部と、
前記更新部品の位置を更新する更新部と、
前記接触部品の重力方向の接触状態を検出する検出部と、
検出した接触状態から前記接触部品の落下状況を判定する判定部と、
を有することを特徴とする判定装置。 A generation unit that reads out component information from a storage unit that stores component information including the shape and position of the component;
A first specifying unit for specifying an update part for updating the position from the parts;
A second identifying unit that identifies a contact component that contacts the updated component from the components;
An update unit for updating the position of the update part;
A detection unit for detecting a contact state in a gravity direction of the contact component;
A determination unit for determining a fall state of the contact component from the detected contact state;
The determination apparatus characterized by having.
部品の形状と位置とを含む部品情報を格納する格納部から、部品情報を読み出し、
位置を更新する更新部品を前記部品の中から特定し、
前記更新部品と接触する接触部品を前記部品の中から特定し、
前記更新部品の位置を更新し、
前記接触部品の重力方向の接触状態を検出し、
検出した接触状態から前記接触部品の落下状況を判定する
ことを特徴とする判定方法。 A determination method executed by a computer,
Read the component information from the storage unit that stores the component information including the shape and position of the component,
An update part whose position is to be updated is identified from the parts,
Identify a contact part that contacts the updated part from the parts,
Update the location of the update part,
Detecting the contact state of the contact component in the direction of gravity;
A determination method comprising: determining a fall state of the contact component from a detected contact state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011057265A JP5648543B2 (en) | 2011-03-15 | 2011-03-15 | Determination program, determination apparatus, and determination method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011057265A JP5648543B2 (en) | 2011-03-15 | 2011-03-15 | Determination program, determination apparatus, and determination method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012194706A true JP2012194706A (en) | 2012-10-11 |
JP5648543B2 JP5648543B2 (en) | 2015-01-07 |
Family
ID=47086544
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011057265A Expired - Fee Related JP5648543B2 (en) | 2011-03-15 | 2011-03-15 | Determination program, determination apparatus, and determination method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5648543B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019016180A (en) * | 2017-07-07 | 2019-01-31 | 株式会社アマダホールディングス | Component fixed state display device, component fixed state display method, and component fixed state display program |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000113225A (en) * | 1998-10-08 | 2000-04-21 | Sega Enterp Ltd | Image processor and image processing method |
JP2001029651A (en) * | 1999-07-21 | 2001-02-06 | Namco Ltd | Image producing system and information memory medium |
-
2011
- 2011-03-15 JP JP2011057265A patent/JP5648543B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000113225A (en) * | 1998-10-08 | 2000-04-21 | Sega Enterp Ltd | Image processor and image processing method |
JP2001029651A (en) * | 1999-07-21 | 2001-02-06 | Namco Ltd | Image producing system and information memory medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019016180A (en) * | 2017-07-07 | 2019-01-31 | 株式会社アマダホールディングス | Component fixed state display device, component fixed state display method, and component fixed state display program |
Also Published As
Publication number | Publication date |
---|---|
JP5648543B2 (en) | 2015-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109313505B (en) | Apparatus for rendering rendered objects and associated computer-implemented method | |
EP2738660A2 (en) | Method for providing user interface based on physical engine and an electronic device thereof | |
US9001059B2 (en) | Method and apparatus for choosing an intended target element from an imprecise touch on a touch screen display | |
JP5639907B2 (en) | Design support apparatus, method and program | |
CN105843440B (en) | The registration of electronic console | |
US20150169180A1 (en) | Rearranging icons on a display by shaking | |
CN109981311B (en) | Method and device for realizing graph layout | |
JP6391893B1 (en) | Operation input device, information processing system, and operation determination method | |
JP5648543B2 (en) | Determination program, determination apparatus, and determination method | |
TWI641986B (en) | Method for determining a number of users and their respective positions relative to a device, electronic device and computer readable medium | |
JP2014182219A (en) | Flawed site predictor, identification model generator, flawed site prediction program, and flawed site prediction method | |
JP6266104B2 (en) | Assembly sequence generation apparatus, assembly sequence generation method, and assembly sequence generation program | |
JP5359986B2 (en) | Connection relation determination processing program, computer support apparatus, and computer support method | |
CN105335118B (en) | The display methods and device of a kind of electronic equipment control | |
US9001058B2 (en) | Computer action detection | |
JP2015064663A (en) | Stroke processor, method, and program | |
JP2013196030A (en) | Information processing device, information processing method, and information processing program | |
US20170039698A1 (en) | Pattern outline extraction device, pattern outline extraction method, and computer program product | |
JP2013084109A (en) | Design support apparatus, design support program, and design support method | |
CN111062360A (en) | Hand tracking system and tracking method thereof | |
JP2016126557A (en) | Simulation program, simulation device and vector presentation method | |
JP6464763B2 (en) | Layout verification apparatus, layout verification method, and layout verification program | |
JP6123398B2 (en) | DEFECT LOCATION PREDICTION DEVICE, IDENTIFICATION MODEL GENERATION DEVICE, DEFECT LOCATION PREDICTION PROGRAM, AND DEFECT LOCATION PREDICTION METHOD | |
JPWO2020100310A1 (en) | Compound design support method, compound design support device, and program | |
JP5482175B2 (en) | Boundary particle search system, boundary particle search device, control method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20131129 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140710 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140715 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140916 |
|
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: 20141014 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20141027 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5648543 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |