JP4544881B2 - Physical model creation device, simulation device equipped with the physical model creation device, and program in the physical model creation device - Google Patents

Physical model creation device, simulation device equipped with the physical model creation device, and program in the physical model creation device Download PDF

Info

Publication number
JP4544881B2
JP4544881B2 JP2004059446A JP2004059446A JP4544881B2 JP 4544881 B2 JP4544881 B2 JP 4544881B2 JP 2004059446 A JP2004059446 A JP 2004059446A JP 2004059446 A JP2004059446 A JP 2004059446A JP 4544881 B2 JP4544881 B2 JP 4544881B2
Authority
JP
Japan
Prior art keywords
physical model
data
information
creating
simulation
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.)
Expired - Fee Related
Application number
JP2004059446A
Other languages
Japanese (ja)
Other versions
JP2005250793A (en
Inventor
裕 森山
智敬 中南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Ten Ltd
Original Assignee
Denso Ten Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2004059446A priority Critical patent/JP4544881B2/en
Publication of JP2005250793A publication Critical patent/JP2005250793A/en
Application granted granted Critical
Publication of JP4544881B2 publication Critical patent/JP4544881B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は物理モデル作成装置、該物理モデル作成装置を備えたシミュレーション装置、及び物理モデル作成装置におけるプログラムに関し、特に、機構部分を含む制御対象と制御装置とからなるシステムをシミュレーションするに際して、機構部分を含む制御対象の物理モデルを作成する物理モデル作成装置、該物理モデル作成装置を備えたシミュレーション装置、及び物理モデル作成装置におけるプログラムに関する。 The present invention relates to a physical model creation device, a simulation device including the physical model creation device , and a program in the physical model creation device , and in particular, when simulating a system including a control target including a mechanism portion and a control device, the mechanism portion The present invention relates to a physical model creation device that creates a physical model of a control target including the above, a simulation device including the physical model creation device , and a program in the physical model creation device .

従来、機構部品を備えた制御対象をコンピュータ制御する場合、実際の機構部品を使用することなく、コンピュータを使用した立体画像(3D画像)を作成してシミュレーションすることが行われている。このようなシミュレーションに必要となるのは、ハードウエアとシミュレーションソフトウエアから構成されるシミュレーション装置である。このシミュレーション装置を用いてシミュレーションを行う場合には、機構、回路等を含んだ制御システムをモデル化した物理モデルを作成し、この物理モデルによってシミュレーションを行うことが一般的である。   2. Description of the Related Art Conventionally, when a controlled object including a mechanical component is controlled by a computer, a stereoscopic image (3D image) using a computer is created and simulated without using an actual mechanical component. What is necessary for such a simulation is a simulation apparatus composed of hardware and simulation software. When performing simulation using this simulation apparatus, it is common to create a physical model that models a control system including mechanisms, circuits, and the like, and perform simulation using this physical model.

ハードウエアの構成は、通常のパーソナルコンピュータと同様であり、これにコンピュータ設計支援装置が追加されることもある。図1は従来のシミュレーション装置4の構成の一例を示すものであり、パーソナルコンピュータ10にコンピュータ設計支援装置20が組み合わされた例を示している。   The hardware configuration is the same as that of an ordinary personal computer, and a computer design support device may be added to this. FIG. 1 shows an example of the configuration of a conventional simulation apparatus 4 and shows an example in which a computer design support apparatus 20 is combined with a personal computer 10.

パーソナルコンピュータ10には、CD−ROM等のディスク媒体に記録されたソフトウエアを読み込むディスクドライブ11、ソフトウエアやデータを記録する外部記憶装置であるハードディスクドライブ(図にはHDDと記載)12、ハードディスク12上のソフトウエアやデータを展開するメモリ13、ソフトウエアやデータの処理(演算)を行うCPU14、処理の結果を表示する表示器15、外部装置との通信を行う通信装置16、および外部からのデータを入力するためのデータ入力装置17があり、バス18によって相互に接続されている。また、データ入力装置17にはキーボード19や図示しないマウスが接続されている。   The personal computer 10 includes a disk drive 11 for reading software recorded on a disk medium such as a CD-ROM, a hard disk drive (denoted as HDD in the figure) 12 which is an external storage device for recording software and data, a hard disk 12, a memory 13 for developing software and data, a CPU 14 for processing (calculating) the software and data, a display 15 for displaying the processing results, a communication device 16 for communicating with an external device, and an external device There is a data input device 17 for inputting these data, and they are connected to each other by a bus 18. The data input device 17 is connected to a keyboard 19 and a mouse (not shown).

コンピュータ設計支援装置20は、この例では通信ケーブル21によってパーソナルコンピュータ10と接続されている。コンピュータ設計支援装置20の内部には、この通信ケーブルに接続する通信装置22、メモリ23、CPU24、およびハードディスク25が設けられており、バス28で相互に接続されている。   In this example, the computer design support apparatus 20 is connected to the personal computer 10 by a communication cable 21. Inside the computer design support device 20, a communication device 22, a memory 23, a CPU 24, and a hard disk 25 connected to the communication cable are provided, and are connected to each other via a bus 28.

ソフトウエアは、大きく分けて「物理モデル作成、シミュレーション情報設定、及び結果表示」を行うソフトウエアと、「物理モデル演算」を行うソフトウエアの2つから構成される。ここでは、「物理モデル作成、シミュレーション情報設定、及び結果表示」をパーソナルコンピュータ10で行い、「物理モデル演算」をコンピュータ設計支援装置20で行う場合について説明する。   The software is roughly divided into two types: software that performs “physical model creation, simulation information setting, and result display” and software that performs “physical model calculation”. Here, a case where “physical model creation, simulation information setting, and result display” are performed by the personal computer 10 and “physical model calculation” is performed by the computer design support apparatus 20 will be described.

この例では、ディスク媒体である3枚のCD−ROM1,2,3を用いてパーソナルコンピュータ10にソフトウエアがインストールされる。CD−ROM1には、例えば3D画像の支援を行う3次元のコンピュータ支援設計装置(3D−CAD)のデータを読み込んだり、3Dのアニメーション機能を有する3D用ソフトウエア1Sが記録されている。また、CD−ROM2には、例えば物理モデル作成機能を有する物理モデル作成ソフトウエア2Sが記録されている。更に、CD−ROM3には、例えばシミュレーション情報設定・操作・結果表示・結果解析機能、及び物理モデル演算機能を有するシミュレーションソフトウエア3Sが記録されている。   In this example, software is installed in the personal computer 10 using three CD-ROMs 1, 2, and 3 that are disk media. In the CD-ROM 1, for example, data of a three-dimensional computer-aided design apparatus (3D-CAD) that supports 3D images is read, and 3D software 1S having a 3D animation function is recorded. The CD-ROM 2 stores physical model creation software 2S having a physical model creation function, for example. Further, simulation software 3S having, for example, simulation information setting / operation / result display / result analysis function and physical model calculation function is recorded in the CD-ROM 3.

パーソナルコンピュータ10のディスクドライブ11で読み込まれた各ソフトウエアは、ハードディスクドライブ12上に記憶される。そして、このソフトウエアを実際にCPU14が使用する際は、ハードディスクドライブ12上に記憶されたソフトウエアがメモリ13上に展開され、CPU14が処理を行う。処理の結果は表示器15に表示される。   Each software read by the disk drive 11 of the personal computer 10 is stored on the hard disk drive 12. When the CPU 14 actually uses the software, the software stored on the hard disk drive 12 is expanded on the memory 13 and the CPU 14 performs processing. The processing result is displayed on the display 15.

一方、コンピュータ設計支援装置20側では、パーソナルコンピュータ10のディスクドライブ11からシミュレーションソフトウエア3Sが読み込まれると、これをハードディスクドライブ25に記憶させる。CPU24がこのシミュレーションソフトウエア3Sを実際に使用する際は、ハードディスクドライブ25上に記憶されたソフトウエアをメモリ23上に展開して処理が行われる。即ち、ディスクドライブ11又は通信装置16を介して入力された3D−CADデータは、パーソナルコンピュータ10で物理モデルに変換された後に、コンピュータ設計支援装置20のHDD25に格納され、コンピュータ設計支援装置20でその物理モデルを使用してシミュレーションが行われる。   On the other hand, on the computer design support apparatus 20 side, when the simulation software 3S is read from the disk drive 11 of the personal computer 10, it is stored in the hard disk drive 25. When the CPU 24 actually uses the simulation software 3S, the software stored on the hard disk drive 25 is expanded on the memory 23 and processed. That is, 3D-CAD data input via the disk drive 11 or the communication device 16 is converted into a physical model by the personal computer 10 and then stored in the HDD 25 of the computer design support device 20. A simulation is performed using the physical model.

例えば、実際のエンジンや車両の代わりにこのコンピュータ設計支援装置20を用いて、制御装置の開発、設計を行う場合は、コンピュータ設計支援装置20に制御装置(ECU等)が接続される。そして、エンジンのメカニズムや電気信号の果たす役割がパーソナルコンピュータ10でモデル化され、実際のエンジンシステムと同等の動きをこのコンピュータ設計支援装置20が模擬することにより、技術者は実際のエンジンを使用することなく、机上で制御系の動きを見ながら制御装置の開発、設計ができるようになる。   For example, when developing and designing a control device using the computer design support device 20 instead of an actual engine or vehicle, a control device (ECU or the like) is connected to the computer design support device 20. The role of the engine mechanism and electrical signals is modeled by the personal computer 10, and the engineer uses the actual engine by the computer design support apparatus 20 simulating the movement equivalent to the actual engine system. It is possible to develop and design the control device while watching the movement of the control system on the desk.

以上のように構成されたシミュレーション装置4において、物理モデルとしてロボットアームRAを扱う場合の例を図2を用いて説明する。   An example of handling the robot arm RA as a physical model in the simulation apparatus 4 configured as described above will be described with reference to FIG.

図2は、3つの棒状の部品A,B,Cがそれぞれ1自由度の関節D,Eにより接続されたロボットアームRAを示すものである。各関節D,Eにはそれぞれモータが内蔵され、関節を駆動するようになっている。   FIG. 2 shows a robot arm RA in which three rod-like parts A, B, and C are connected by joints D and E with one degree of freedom, respectively. Each joint D, E has a built-in motor to drive the joint.

3D−CADのデータとしては、部品の形状、部品同士の位置関係、部品の材質等がある。材質と形状とから部品の質量、重心等が算出できる。次に、そのまま3D−CADを用いて、或いは機構シミュレーションソフトウエアを用いて、関節の種類(この場合は1軸)、拘束条件、モータの種類(DCモータ、パルスモータ等)や、位置や加速度等を検出するスペック(トルク特性)センサの種類等が入力される。そして、これらの情報を基にして物理モデルが作成される。   The 3D-CAD data includes the shape of the parts, the positional relationship between the parts, the material of the parts, and the like. The mass, center of gravity, etc. of the part can be calculated from the material and shape. Next, using 3D-CAD as it is or using mechanism simulation software, joint type (in this case, 1 axis), constraint conditions, motor type (DC motor, pulse motor, etc.), position and acceleration The type of a spec (torque characteristic) sensor that detects etc. is input. Based on these pieces of information, a physical model is created.

このような物理モデルを作成する技術としては、例えば、Pre/Postプロセッサと呼ばれるソフトウエアを使用した3次元形状物の有限要素法解析において、3D−CADデータを中間ファイル形式で出力し、この中間ファイルをPre/Postプロセッサで読み込むことにより3次元形状データからなるマスターモデルを形成する技術が特許文献1に開示されている。   As a technique for creating such a physical model, for example, in a finite element method analysis of a three-dimensional shape object using software called a Pre / Post processor, 3D-CAD data is output in an intermediate file format. Patent Document 1 discloses a technique for forming a master model composed of three-dimensional shape data by reading a file with a Pre / Post processor.

この特許文献1に記載の方法は、3次元形状物の有限要素法解析でのモデル作成方法であり、3DーCADのデータから各部品及び部品間の接続情報等からモデルを作成する方法(後述する本発明のモデル作成方法)とは異なるものである。また、特許文献1に記載の中間ファイルに情報を追加してからモデル完成までのモデル作成手順は、本発明におけるモデル作成手順とは異なる。   The method described in Patent Document 1 is a model creation method in a finite element method analysis of a three-dimensional object, and a method of creating a model from 3D-CAD data from each component and connection information between components (described later). This is different from the model creation method of the present invention. Further, the model creation procedure from adding information to the intermediate file described in Patent Document 1 to completing the model is different from the model creation procedure in the present invention.

特開2000−231579号公報JP 2000-231579 A

しかしながら、このような物理モデルを作成する場合、モデル作成の情報として、3D−CADや機構シミュレーションソフトウエアで入力可能なものしか用いることができない。このため、以下のような問題点があった。
(1)関節の摩擦やガタツキ等の任意の要素を追加することが困難であった。
(2)新しい種類のモータ、センサ等の部品を追加することが困難であった。
(3)物理シミュレーションに必要のない要素を削除することが困難であった。
However, when creating such a physical model, only information that can be input by 3D-CAD or mechanism simulation software can be used as model creation information. For this reason, there were the following problems.
(1) It was difficult to add arbitrary elements such as joint friction and rattling.
(2) It was difficult to add new types of parts such as motors and sensors.
(3) It was difficult to delete elements that are not necessary for the physical simulation.

そこで、本発明は、前記従来のシミュレーション装置の有する課題を解消し、物理モデルに任意の要素を追加したり、任意の要素を削除したりでき、一層正確なシミュレーションを実行することができる物理モデル作成装置、該物理モデル作成装置を備えたシミュレーション装置、及び物理モデル作成装置におけるプログラムを提供することを目的としている。 Therefore, the present invention solves the problems of the conventional simulation apparatus, and can add an arbitrary element to the physical model, delete an arbitrary element, and execute a more accurate simulation. An object of the present invention is to provide a creation device, a simulation device including the physical model creation device , and a program in the physical model creation device .

前記目的を達成する本発明の第1の形態は、制御装置と機構部分を含む制御対象とからなるシステムのシミュレーションで使用する制御対象の物理モデルを作成する物理モデル作成装置であって、3次元のコンピュータ設計支援装置である3D−CAD装置を使用して作成された制御対象の3D−CADデータに基づいて、物理モデルを作成するための中間形式データであり、演算式の形式で表される物理モデル要素の情報と、当該物理モデル要素間の接続関係の情報が設定される形で構成される物理モデルデータを作成する物理モデルデータ作成手段と、物理モデルデータの変更を変更操作入力に基づいて可能にする物理モデルデータ変更手段と、物理モデルデータ変更手段により変更された物理モデルデータから、シミュレーションの実行処理が可能な実行体の形式である物理モデルを作成する物理モデル作成手段とを備え、物理モデルデータ変更手段は、物理モデルデータに基づいて、物理モデル要素を表すブロックと当該物理モデル要素間の接続関係を表す接続線の表示を行った状態で、変更操作入力を可能とし、制御対象に含まれる機構部品間の摩擦情報と、制御対象に含まれる機構部品間のガタツキ情報の、少なくとも一方の情報の物理モデルデータへの追加を、摩擦情報もしくはガタツキ情報を表す物理モデル要素のブロックを追加することで可能にすることを特徴としている。 A first aspect of the present invention that achieves the above object is a physical model creation device that creates a physical model of a controlled object used in a simulation of a system that includes a control device and a controlled object including a mechanism portion. Intermediate format data for creating a physical model based on 3D-CAD data to be controlled created using a 3D-CAD device , which is a computer design support device, and is expressed in the form of an arithmetic expression Based on physical model data creation means for creating physical model data configured to set physical model element information and information on the connection relationship between the physical model elements , and change physical model data based on change operation input a physical model data changing means for allowing Te, from the physical model data changed by the physical model data changing unit, simulation fruit And a physical model generating means for generating a physical model of the form that can be processed executable unit, the physical model data changing means, based on the physical model data between blocks and the physical model elements that represent the physical model element In the state where the connection line indicating the connection relation is displayed, it is possible to input a change operation, and at least one of friction information between the mechanical parts included in the control target and backlash information between the mechanical parts included in the control target. It is characterized in that information can be added to physical model data by adding a block of physical model elements representing friction information or backlash information .

本発明の第2の形態は、制御装置と機構部分を含む制御対象とからなるシステムのシミュレーションで使用する制御対象の物理モデルを作成する物理モデル作成装置であって、3次元のコンピュータ設計支援装置である3D−CAD装置を使用して作成された制御対象の3D−CADデータに基づいて、物理モデルを作成するための中間形式データであり、制御対象の機構部分を構成する機構部品をモデル化した機構モデル要素の情報と、当該機構モデル要素間の接続関係の情報が設定される形で構成される第1の中間データを作成する第1の中間データ作成手段と、第1の中間データの変更を変更操作入力に基づいて可能にする第1の中間データ変更手段と、第1の中間データに基づいて、物理モデルを作成するための中間形式データであり、演算式の形式で表される物理モデル要素の情報と、当該物理モデル要素間の接続関係の情報が設定される形で構成される物理モデルデータである第2の中間データを作成する第2の中間データ作成手段と、第2の中間データの変更を変更操作入力に基づいて可能にする第2の中間データ変更手段と、第2の中間データ変更手段により変更された第2の中間データから、シミュレーションの実行処理が可能な実行体の形式である物理モデルを作成する物理モデル作成手段とを備え、第2の中間データ変更手段は、第2の中間データに基づいて、物理モデル要素を表すブロックと当該物理モデル要素間の接続関係を表す接続線の表示を行った状態で、変更操作入力を可能とし、制御対象に含まれる機構部品間の摩擦情報と、制御対象に含まれる機構部品間のガタツキ情報の、少なくとも一方の情報の第2の中間データへの追加を、摩擦情報もしくはガタツキ情報を表す物理モデル要素のブロックを追加することで可能にすることを特徴としている。 According to a second aspect of the present invention , there is provided a physical model creation device for creating a physical model of a control target used in a simulation of a system including a control device and a control target including a mechanism portion, and a three-dimensional computer design support device. This is intermediate format data for creating a physical model based on 3D-CAD data to be controlled created using a 3D-CAD device, and models the mechanical parts that make up the mechanism part to be controlled. First intermediate data creating means for creating first intermediate data configured in such a manner that information on the mechanism model elements and information on connection relations between the mechanism model elements are set; and First intermediate data changing means for enabling a change based on a change operation input, and intermediate format data for creating a physical model based on the first intermediate data Second to create second intermediate data that is physical model data configured in such a manner that information on physical model elements expressed in the form of arithmetic expressions and information on connection relations between the physical model elements are set. Intermediate data creating means, second intermediate data changing means for enabling the change of the second intermediate data based on the change operation input, and the second intermediate data changed by the second intermediate data changing means A physical model creating means for creating a physical model in the form of an executable body capable of executing a simulation, and the second intermediate data changing means represents a physical model element based on the second intermediate data The change operation input is possible with the connection line indicating the connection relation between the block and the physical model element displayed, and the friction information between the mechanical parts included in the control target and the control target are included in the control target. Rattling information between mechanical parts, it is characterized in that possible by adding additional to the second intermediate data of at least one of the information, the block of the physical model elements that represent the friction information or rattling information.

本発明の第3の形態は、制御装置と機構部分を含む制御対象とからなるシステムのシミュレーションを実行するシミュレーション装置であって、第1又は2の形態の物理モデル作成装置を備えることを特徴としている。 According to a third aspect of the present invention , there is provided a simulation apparatus for executing a simulation of a system including a control device and a control target including a mechanism portion, and including the physical model creation device according to the first or second aspect. Yes.

更に、前記目的を達成する本発明の物理モデル作成装置におけるプログラムは、制御装置と機構部分を含む御対象とからなるシステムのシミュレーションで使用する制御対象の物理モデルを作成する物理モデル作成装置におけるプログラムであって、物理モデル作成装置に、3次元のコンピュータ設計支援装置である3D−CAD装置を使用して作成された制御対象の3D−CADデータに基づいて、物理モデルを作成するための中間形式データであり、演算式の形式で表される物理モデル要素の情報と、当該物理モデル要素間の接続関係の情報が設定される形で構成される物理モデルデータを作成する物理モデルデータ作成ステップと、物理モデルデータの変更を変更操作入力に基づいて可能にする物理モデルデータ変更ステップと、物理モデルデータ変更ステップで変更された物理モデルデータから、シミュレーションの実行処理が可能な実行体の形式である制御対象の物理モデルを作成する物理モデル作成ステップとを実行させ、物理モデルデータ変更ステップでは、物理モデル作成装置に、物理モデルデータに基づいて、物理モデル要素を表すブロックと当該物理モデル要素間の接続関係を表す接続線の表示を行った状態で、変更操作入力を可能とさせ、制御対象に含まれる機構部品間の摩擦情報と、制御対象に含まれる機構部品間のガタツキ情報の、少なくとも一方の情報の物理モデルデータへの追加を、摩擦情報もしくはガタツキ情報を表す物理モデル要素のブロックを追加することで可能にさせることを特徴としている。 Furthermore, the program in the physical model creating apparatus of the present invention for achieving the above object, a program in the physical model creating apparatus for creating a control target of the physical model used in the simulation of a system consisting of a control object including a control device and mechanical parts An intermediate format for creating a physical model based on 3D-CAD data of a control target created using a 3D-CAD device , which is a three-dimensional computer design support device, in the physical model creation device A physical model data creation step for creating physical model data configured in a form in which information of physical model elements expressed in the form of arithmetic expressions and information on connection relations between the physical model elements is set ; Physical model data change step that enables physical model data change based on change operation input, and physical From the physical model data changed in the model data change step, a physical model creation step for creating a physical model to be controlled, which is in the form of an executable body capable of executing simulation, is executed . In the physical model data change step, Based on the physical model data, the physical model creation device enables the input of change operation while displaying the block representing the physical model element and the connection line representing the connection relationship between the physical model element, and the control target Add the friction information between the mechanical parts included in the control part and the backlash information between the mechanical parts included in the control target to the physical model data of at least one of the information, add a block of physical model elements representing the friction information or backlash information It is characterized by being made possible by adding .

本発明の物理モデル作成装置、該物理モデル作成装置を備えたシミュレーション装置、及び物理モデル作成装置におけるプログラムによれば、機構部分を含む制御対象と制御装置とからなるシステムをシミュレーションするに際して、機構部分を含む制御対象の物理モデルを作成してシミュレーションを行うので、物理モデルに任意の要素を追加したり、任意の要素を削除したりでき、一層正確なシミュレーションを実行することができるという効果がある。 According to the physical model creation device of the present invention, the simulation device provided with the physical model creation device , and the program in the physical model creation device , when simulating a system composed of a control object including a mechanism portion and a control device, the mechanism portion Since the simulation is performed by creating a physical model of the control target including, arbitrary elements can be added to or deleted from the physical model, and a more accurate simulation can be executed. .

また、任意の要素の削除、即ち、冗長なモデルの具体的モデルへの置き換え、多自由度の関節の1自由度の関節への置き換えにより、シミュレーション速度を向上させることができるという効果もある。   Further, there is an effect that the simulation speed can be improved by deleting an arbitrary element, that is, replacing a redundant model with a specific model, or replacing a multi-degree-of-freedom joint with a one-degree-of-freedom joint.

更に、予め定めた部品間の部品情報モデルや、モデルライブラリから部品の物理モデルを選択/配置することにより、容易に制御対象の物理モデルを作成することができるという効果もある。   Furthermore, there is an effect that a physical model to be controlled can be easily created by selecting / arranging a part information model between predetermined parts and a physical model of the part from a model library.

以下図面を用いて本発明の実施の形態を具体的な実施例に基づいて詳細に説明する。なお、図1で説明した従来のシミュレーション装置と同じ構成部材については、同じ符号を付して説明する。   Hereinafter, embodiments of the present invention will be described in detail based on specific examples with reference to the drawings. The same components as those of the conventional simulation apparatus described with reference to FIG.

図3は、本発明のシミュレーション装置4の一実施例の構成を示すブロック図である。この実施例では、シミュレーション装置4は、パーソナルコンピュータ10とコンピュータ設計支援装置20とから構成されている。コンピュータ設計支援装置20は接続されない場合もあり、この場合はコンピュータ設計支援装置20の機能がパーソナルコンピュータ10側に備えられている。   FIG. 3 is a block diagram showing the configuration of an embodiment of the simulation apparatus 4 of the present invention. In this embodiment, the simulation apparatus 4 includes a personal computer 10 and a computer design support apparatus 20. The computer design support apparatus 20 may not be connected. In this case, the function of the computer design support apparatus 20 is provided on the personal computer 10 side.

パーソナルコンピュータ10には、CD−ROM等のディスク媒体に記録されたソフトウエアを読み込むディスクドライブ11、ソフトウエアやデータを記録する外部記憶装置であるHDD(ハードディスクドライブ)12、HDD12上のソフトウエアやデータを展開するメモリ13、ソフトウエアやデータの処理(演算)を行うCPU14、処理の結果を表示する表示器15、外部装置との通信を行う通信装置16、及び外部からのデータを入力するためのデータ入力装置17があり、バス18によって相互に接続されている。また、データ入力装置17にはキーボード19や図示しないマウスが接続されている。   The personal computer 10 includes a disk drive 11 that reads software recorded on a disk medium such as a CD-ROM, an HDD (hard disk drive) 12 that is an external storage device that records software and data, software on the HDD 12, A memory 13 for developing data, a CPU 14 for processing (calculating) software and data, a display 15 for displaying processing results, a communication device 16 for communicating with an external device, and inputting external data Are connected to each other by a bus 18. The data input device 17 is connected to a keyboard 19 and a mouse (not shown).

通信装置16は、通信ケーブル21を介してコンピュータ設計支援装置20に接続される他に、電話回線や光ケーブルを介してインターネットに接続させることができる。即ち、通信装置16は、インターネットを介してソフトウエアやデータをパーソナルコンピュータ10に取り込むことができる。   In addition to being connected to the computer design support device 20 via the communication cable 21, the communication device 16 can be connected to the Internet via a telephone line or an optical cable. That is, the communication device 16 can import software and data into the personal computer 10 via the Internet.

コンピュータ設計支援装置20の内部には、この通信ケーブル21に接続する通信装置22、メモリ23、CPU24、及びハードディスク25が設けられており、バス28で相互に接続されている。なお、本発明の従来技術として、「物理モデル作成、シミュレーション情報設定、及び結果表示」をパーソナルコンピュータ10で行い、「物理モデル演算」をコンピュータ設計支援装置20で行う場合について説明したが、前述のように、コンピュータ設計支援装置20の機能がパーソナルコンピュータ10側に備えられている場合には、「物理モデル演算」はパーソナルコンピュータ10側でも可能である。   Inside the computer design support device 20, a communication device 22 connected to the communication cable 21, a memory 23, a CPU 24, and a hard disk 25 are provided, and are connected to each other via a bus 28. As a prior art of the present invention, the case where “physical model creation, simulation information setting, and result display” are performed by the personal computer 10 and “physical model calculation” is performed by the computer design support apparatus 20 has been described. As described above, when the function of the computer design support apparatus 20 is provided on the personal computer 10 side, the “physical model calculation” can also be performed on the personal computer 10 side.

そこで、図4に示す本発明を実現するためのシミュレーション装置のシステム構成図では、「物理モデル演算」をパーソナルコンピュータ10とコンピュータ設計支援装置20のどちらで行うかについては分けて説明せず、シミュレーション装置4に、「物理モデル作成、シミュレーション情報設定、及び結果表示」を行う物理モデル作成、シミュレーション情報設定、及び結果表示部分4Aと、「物理モデル演算」を行う物理モデル演算部分4Bとがあるものとして説明する。   Therefore, the system configuration diagram of the simulation apparatus for realizing the present invention shown in FIG. 4 does not separately explain whether the “physical model calculation” is performed by the personal computer 10 or the computer design support apparatus 20; The apparatus 4 has a physical model creation / simulation information setting / result display portion 4A for performing “physical model creation, simulation information setting, and result display”, and a physical model computation portion 4B for performing “physical model computation”. Will be described.

この図に示されるように、ディスク媒体である3枚のCD−ROM1,2,3がディスクドライブ11にセットされ、記録されているソフトウエアがHDD12にインストールされる。HDD12の物理モデル作成、シミュレーション情報設定、及び結果表示部分4Aには、CD−ROM1に記録された3D用ソフトウエアからは、3D−CADデータの読込みと、3Dアニメーション機能を有するソフトウエアSF1が読み込まれる。また、CD−ROM2に記録された物理モデル作成ソフトウエアからは、物理モデル作成機能を有するソフトウエアSF3が、HDD12の物理モデル作成、シミュレーション情報設定、及び結果表示部分4Aに読み込まれる。更に、CD−ROM3に記録されたシミュレーションソフトウエアからは、シミュレーション情報設定・操作・結果表示・結果解析機能を有するソフトウエアSF2が、HDD12の物理モデル作成、シミュレーション情報設定、及び結果表示部分4Aに読み込まれ、物理モデル演算機能を有するソフトウエアSF4が、HDD12の物理モデル演算部分4Bに読み込まれる。ソフトウエアSF2には、3D−CADのデータをモデリングツールで読み込めるように変換し、変換したものを更に実行体にコンパイルする変換ツールを備えたシミュレーションソフトウエアが含まれている。   As shown in this figure, three CD-ROMs 1, 2, and 3 as disk media are set in the disk drive 11 and the recorded software is installed in the HDD 12. In the physical model creation, simulation information setting, and result display portion 4A of the HDD 12, 3D-CAD data reading and software SF1 having a 3D animation function are read from the 3D software recorded on the CD-ROM 1. It is. From the physical model creation software recorded on the CD-ROM 2, software SF3 having a physical model creation function is read into the physical model creation, simulation information setting, and result display portion 4A of the HDD 12. Furthermore, from the simulation software recorded on the CD-ROM 3, software SF2 having simulation information setting / operation / result display / result analysis functions is provided in the physical model creation, simulation information setting, and result display portion 4A of the HDD 12. The software SF4 that has been read and has a physical model calculation function is read into the physical model calculation portion 4B of the HDD 12. The software SF2 includes simulation software including a conversion tool that converts 3D-CAD data so that it can be read by a modeling tool, and further compiles the converted data into an execution body.

物理モデル作成、シミュレーション情報設定、及び結果表示部分4Aでは、HDD12上に記憶されたソフトウエアSF1,SF2、及びSF3は、それぞれメモリ13上に展開され、CPU14によって処理が行われる。CPU14によって処理が行われたソフトウエアSF1は表示器15に3D−CAD、或いはアニメーション画像として立体表示される。また、CPU14によって処理が行われたソフトウエアSF2は表示器15にハードウエアシミュレータの画像として表示される。また、CPU14によって処理が行われたソフトウエアSF3は表示器15にテクニカルコンピューティング環境のデータとして、電気系モデル等の形で表示される。物理モデル演算部4Bでも、HDD12上に記憶されたソフトウエアSF4がメモリ13上に展開され、CPU14で処理が行われる。   In the physical model creation, simulation information setting, and result display portion 4A, the software SF1, SF2, and SF3 stored on the HDD 12 are expanded on the memory 13 and processed by the CPU. The software SF1 processed by the CPU 14 is stereoscopically displayed on the display 15 as 3D-CAD or an animation image. The software SF2 processed by the CPU 14 is displayed on the display 15 as a hardware simulator image. The software SF3 processed by the CPU 14 is displayed on the display unit 15 as technical computing environment data in the form of an electrical system model or the like. Also in the physical model calculation unit 4B, the software SF4 stored on the HDD 12 is expanded on the memory 13 and processed by the CPU.

以上のように構成されたシミュレーション装置において、物理モデルとしてロボットアームを扱う場合の例を図5を用いて説明する。図5は、3つの棒状の部品A,B,Cがそれぞれ1自由度の関節D,Eにより接続されたロボットアームRAを示すものである。各関節D,Eにはそれぞれモータが内蔵され、関節D,Eを駆動するようになっている。   An example in which a robot arm is handled as a physical model in the simulation apparatus configured as described above will be described with reference to FIG. FIG. 5 shows a robot arm RA in which three rod-like parts A, B, and C are connected by joints D and E with one degree of freedom, respectively. Each joint D, E has a built-in motor to drive the joints D, E.

3D−CADのデータとしては、部品の形状、部品同士の位置関係、部品の材質等がある。材質と形状とから部品の質量、重心等が算出できる。従来は、前述のように、このまま3D−CADを用いて、或いは機構シミュレーションソフトウエアを用いて、関節の種類(この場合は1軸)、拘束条件、モータの種類(DCモータ、パルスモータ等)や、位置や加速度等を検出するスペック(トルク特性)センサの種類等が入力され、これらの情報を基にして物理モデルが作成されていた。   The 3D-CAD data includes the shape of the parts, the positional relationship between the parts, the material of the parts, and the like. The mass, center of gravity, etc. of the part can be calculated from the material and shape. Conventionally, as described above, using 3D-CAD as it is or using mechanism simulation software, the joint type (in this case, one axis), constraint conditions, motor type (DC motor, pulse motor, etc.) In addition, the type of spec (torque characteristic) sensor that detects position, acceleration, and the like is input, and a physical model is created based on the information.

一方、この実施例では、3D−CADのデータとして、部品の形状、部品同士の位置関係、部品の材質等が入力され、材質と形状とから部品の質量、重心等を算出した後、ソフトウエアSF2に搭載された変換ツールにより、3D−CADのデータがモデリングツールで読み込めるファイル(HDD12に作られた中間ファイル)に変換される。この結果、3つの棒状の部品A,B,Cと関節(モータ部)D,Eの3D−CADのデータは、図5の下側に示すように、全てソフトウエアSF2形式のデータに変換される。この状態では自由にモデル情報を追加することが可能であるので、例えば、この図に示すように、摩擦力の情報や、部品間のガタの情報を加えることができる。このようにソフトウエアSF2形式のデータに変換されたファイルは、ソフトウエアSF2に搭載された変換ツールにより、モデル実行体にコンパイルされる。   On the other hand, in this embodiment, as the 3D-CAD data, the shape of the part, the positional relationship between the parts, the material of the part, etc. are input, and after calculating the mass, the center of gravity, etc. of the part from the material and the shape, the software The 3D-CAD data is converted into a file (an intermediate file created in the HDD 12) that can be read by the modeling tool by the conversion tool installed in the SF2. As a result, the 3D-CAD data of the three rod-shaped parts A, B, C and joints (motor units) D, E are all converted into software SF2 format data as shown in the lower side of FIG. The Since model information can be freely added in this state, for example, as shown in this figure, information on frictional force and information on backlash between parts can be added. The file converted into data in the software SF2 format in this way is compiled into a model execution body by a conversion tool installed in the software SF2.

このように3D−CADのデータがモデル実行体に変換されるまでのデータの流れを、図6に示すシステム図、及び図7に示すフローチャートを用いて説明する。ここで、図6に示す丸付き数字は、図7の各ステップの丸付き数字に対応している。   The data flow until the 3D-CAD data is converted into the model execution body will be described with reference to the system diagram shown in FIG. 6 and the flowchart shown in FIG. Here, the circled numbers shown in FIG. 6 correspond to the circled numbers in each step of FIG.

図7のフローチャートに示すデータ処理は、物理モデル作成、シミュレーション情報設定、結果表示部分4Aにおいて、3D−CADで機構部分を設計し、3D−CAD形式のデータとして保存した後に実行される。まず、ステップ701ではソフトウエアSF1に3D−CAD形式のデータを読み込ませる。次のステップ702では、ソフトウエアSF1の上で部品同士の接続(リレーション)情報、拘束条件等の3Dアニメーションに必要な情報を入力し、ソフトウエアSF1形式のデータとして保存することが行われる。   The data processing shown in the flowchart of FIG. 7 is executed after the mechanism part is designed with 3D-CAD in the physical model creation, simulation information setting, and result display part 4A and stored as data in 3D-CAD format. First, in step 701, the software SF1 is made to read data in 3D-CAD format. In the next step 702, information necessary for 3D animation such as connection information (relation) information between parts and constraint conditions is input on the software SF1 and stored as data in the software SF1 format.

続くステップ703では、ソフトウエアSF2に備えられたコンバータで、ソフトウエアSF1形式のデータをソフトウエアSF2形式のデータに変換する。そして、ステップ704において、ソフトウエアSF2形式に変換されたデータをソフトウエアSF3で開く。この状態では自由にモデル情報を追加することが可能であるので、ステップ705において、例えば、ソフトウエアSF3上で摩擦力の情報や、部品間のガタの情報を加えたり、モデルの追加、修正を実行する。   In the subsequent step 703, the data provided in the software SF2 is converted into data in the software SF2 format by the converter provided in the software SF2. In step 704, the data converted into the software SF2 format is opened by the software SF3. In this state, it is possible to freely add model information. Therefore, in step 705, for example, information on frictional force or backlash between parts is added on the software SF3, and addition or correction of a model is performed. Execute.

この後、ステップ706において、ソフトウエアSF3上のモデルからCコード(C言語)を作成する。物理モデルは最終的にはC言語で表示された演算式の形で表される。しかしながら、このC言語表記のままでは、CPUで処理できないため、CPUで処理できる形(実行体)にコンパイルする、即ち、ソフトウエアSF2で実行できる形式にコンパイルする。そして、このコンパイルによって本発明の特徴であるモデル実行体が作られて本発明が完了する。このモデル実行体を作るまでが本発明の重要な特徴である。   Thereafter, in step 706, a C code (C language) is created from the model on the software SF3. The physical model is finally expressed in the form of an arithmetic expression displayed in C language. However, since this C language notation cannot be processed by the CPU, it is compiled into a form (executable) that can be processed by the CPU, that is, compiled into a form that can be executed by the software SF2. This compilation completes the model execution body, which is a feature of the present invention, and completes the present invention. Until this model execution body is made, it is an important feature of the present invention.

このようにして作られたモデル実行体は、次のステップ707において、物理モデル演算部分4BのソフトウエアSF4によりこのモデル実行体が演算し、シミュレーションを実行してこのルーチンを終了する。   In the next step 707, the model execution body created in this way is calculated by the software SF4 of the physical model calculation portion 4B, executes a simulation, and ends this routine.

シミュレーションを行うと結果がサンプリングデータという形で出るので、これをもう一度、物理モデル作成、シミュレーション情報設定、結果表示部分4Aに返す。返されたデータはHDD12の共有メモリに入る。この共有メモリに入ったデータを、ソフトウエアSF1のアニメーション画面に渡してアニメーション表示を行う。すると、このシミュレーションの通りにアニメーションが動作するので、リアルなアニメーションの挙動を確認することができる。また、シミュレーションを実機を用いることなく機構モデルを用いて行うことができるので、実機の試作前に機構の設計評価が可能となる。   When the simulation is performed, the result is obtained in the form of sampling data, and this is again returned to the physical model creation, simulation information setting, and result display portion 4A. The returned data enters the shared memory of the HDD 12. The data stored in the shared memory is transferred to the animation screen of the software SF1 for animation display. Then, since the animation operates according to this simulation, it is possible to confirm realistic behavior of the animation. In addition, since the simulation can be performed using the mechanism model without using the actual machine, the design of the mechanism can be evaluated before the actual machine is prototyped.

以上説明したように、本発明による物理モデルの作成装置では、3D−CADで作成された機構部分を含む制御対象のデータを、一旦汎用の物理モデル作成ソフトウエア形式に変換し、これにより、3D−CADで作成された機構部分を含む制御対象のデータに対して、任意の要素の追加、新しい種類の部品の追加、物理シミュレーションに必要のない要素の削除が可能である。また、本発明の物理モデルの作成装置では、制御対象のそれぞれの部品のモデルを作成して部品と同様に扱い、その部品化されたモデルをシステムに応じて選択/配置することで、物理モデルの作成が容易に行えるようになるのである。この例を図8を用いて説明する。   As described above, in the physical model creation apparatus according to the present invention, the data to be controlled including the mechanism part created by 3D-CAD is once converted into a general-purpose physical model creation software format, thereby 3D -Arbitrary elements can be added, new types of parts can be added, and elements that are not necessary for physical simulation can be added to the control target data including the mechanism part created by CAD. Further, in the physical model creation apparatus of the present invention, a model of each part to be controlled is created and handled in the same way as the part, and the model converted into the part is selected / placed in accordance with the system, whereby the physical model is created. Can be easily created. This example will be described with reference to FIG.

図8は、本発明の物理モデル作成装置における物理モデルがロボットアームRAである場合の、ロボットアームRAの機構要素のそれぞれを、汎用のモデル作成ソフトウエアを用いてモデル部品化し、システムに応じて選択、配置を行うことにより、物理モデルを作成する実施例を説明する図である。図8に示されるロボットアームRAは、3つの棒状の部品A,B,Cがそれぞれ1自由度の関節D,Eにより接続されたものである。   FIG. 8 shows a case where each of the mechanical elements of the robot arm RA when the physical model in the physical model creation apparatus of the present invention is the robot arm RA is converted into a model part using general-purpose model creation software. It is a figure explaining the Example which produces a physical model by performing selection and arrangement | positioning. The robot arm RA shown in FIG. 8 has three rod-like parts A, B, and C connected by joints D and E with one degree of freedom, respectively.

汎用のモデル作成ソフトウエア(例えば、MATLAB(商標)と呼ばれる高級プログラミング言語を使用したテクニカルコンピューティング環境のモデル作成ソフトウエアが知られている。)のシミュレーション、システムモデルの検証機能を使用すると、図8の上側の表示画面に示されるロボットアームRAの機構要素のそれぞれは、図8の下側の画面に示されるような部品毎のモデルとして構築することができる。即ち、機構の各要素、部品間の摩擦情報、ガタツキ情報がモデル部品化され、システムに応じて選択、配置を行うことにより、物理モデルの形で表現することができる。   Using simulation and system model verification functions of general-purpose model creation software (for example, model creation software for technical computing environments using a high-level programming language called MATLAB is known) Each of the mechanical elements of the robot arm RA shown on the upper display screen of FIG. 8 can be constructed as a model for each part as shown on the lower screen of FIG. That is, each element of the mechanism, friction information between parts, and backlash information are modeled, and can be expressed in the form of a physical model by selecting and arranging according to the system.

このように、汎用のモデル作成ソフトウエアを使用して3D−CADのデータに基づいた物理モデルを作成すると、この汎用のモデル作成ソフトウエア上で自由にモデル部品、例えば、任意の部品Fや部品Gを追加したり、部品情報、例えば、部品間の摩擦力やガタツキのデータ、を追加することができる。この結果、物理モデルの作成が容易に行えるようになると共に、任意の部品の追加や部品情報の追加により、より精度の高いシミュレーションを行うことができる。   When a physical model based on 3D-CAD data is created using general-purpose model creation software in this way, model parts such as arbitrary parts F and parts can be freely created on the general-purpose model creation software. G can be added, or part information, for example, frictional force between parts or rattle data can be added. As a result, it is possible to easily create a physical model, and it is possible to perform a more accurate simulation by adding arbitrary parts or adding part information.

図9は、本発明の物理モデル作成装置における物理モデルがロボットアームRAである場合の、ロボットアームRAの機構要素のそれぞれを、汎用のモデル作成ソフトウエアに対応したライブラリソフトウエアを用いてライブラリソフトウエア形式のデータに変換し、これを更に汎用のモデル作成ソフトウエアシステムを用いて汎用のモデル作成ソフトウエア形式のデータに変換することにより、物理モデルを作成する実施例を説明する図である。即ち、図9に示す実施例は、汎用の物理モデル作成ソフトウエア用のライブラリソフトウエアを仲介させることにより、物理モデルの作成をより簡単にできるようにしたものである。図9に示されるロボットアームRAも、3つの棒状の部品A,B,Cがそれぞれ1自由度の関節D,Eにより接続されたものである。   FIG. 9 shows the library software using the library software corresponding to the general-purpose model creation software for each of the mechanical elements of the robot arm RA when the physical model in the physical model creation apparatus of the present invention is the robot arm RA. FIG. 2 is a diagram for explaining an embodiment in which a physical model is created by converting data into data in a hardware format and further converting the data into data in a general-purpose model creation software format using a general-purpose model creation software system. That is, in the embodiment shown in FIG. 9, physical model creation can be made easier by mediating library software for general-purpose physical model creation software. The robot arm RA shown in FIG. 9 also has three rod-like parts A, B, and C connected by joints D and E with one degree of freedom, respectively.

汎用の物理モデル作成ソフトウエアに対応したライブラリソフトウエアには、例えば、分かり易いアイコンで表現されたモデル要素が多数記憶されており、モデル要素の内容を参照し、必要なモデル要素をドラッグ・アンド・ドロップして引き出し、それらを組み合わせることにより、複雑なマルチドメインのモデルを作成することができるものである。図9の上の画面の3D−CAD等の持つ構成データを、このライブラリソフトウエアを用いて、ロボットアームRAのそれぞれの部品をライブラリソフトウエア形式のデータ(モデル要素)に変換すると図9の中央に示す画面のようになる。この画面上では、自由にライブラリ部品、例えば部品Fや部品Gを追加することができる。   Library software that supports general-purpose physical model creation software, for example, stores many model elements represented by easy-to-understand icons, and refers to the contents of model elements, and drags and drags necessary model elements. -Drop and pull out and combine them to create a complex multi-domain model. 9 is converted into data (model elements) in the form of library software by converting each component of the robot arm RA into data (model elements) in the library software using the library software. It looks like the screen shown in. On this screen, library parts such as part F and part G can be freely added.

このライブラリソフトウエアは、汎用の物理モデル作成ソフトウエアとの連携が可能であり、ライブラリソフトウエアを用いて選択/配置されたモデル要素は更に汎用の物理モデル作成ソフトウエアの上で動く形式に変換される。この変換されたモデル要素は、図9の下の画面に示すようになる。この図9の下の画面に示されるものは、図8の下の画面に示されるものと同じ概念のものである。よって、この画面に示される構成に、自由にモデル部品とモデル情報を追加することができる。   This library software can be linked with general-purpose physical model creation software, and model elements selected / placed using the library software are further converted into a format that can be run on general-purpose physical model creation software. Is done. The converted model element is as shown in the lower screen of FIG. What is shown in the lower screen of FIG. 9 has the same concept as that shown in the lower screen of FIG. Therefore, model parts and model information can be freely added to the configuration shown on this screen.

そして、図9の下の画面に示されるモデル要素は、最終的にはC言語(Cコード)で表記された演算式の形式で表される。更に、C言語表記のままではCPUで処理できないため、この後に、CPUで処理できる形の実行体に変換(コンパイル)し、この実行体がCPUで処理される。   The model elements shown in the lower screen of FIG. 9 are finally expressed in the form of an arithmetic expression written in C language (C code). Further, since it cannot be processed by the CPU in the C language notation, it is converted (compiled) into an executable that can be processed by the CPU, and this executable is processed by the CPU.

このように、汎用の物理モデル作成ソフトウエア用のライブラリソフトウエアを仲介させることにより、3D−CADのデータからライブラリソフトウエア上でモデル要素を用いてライブラリソフトウエア形式のモデルを構築し、これを更に汎用のモデル作成ソフトウエア上のモデルに変換すれば、物理モデルの作成が容易に行える。   In this way, by interposing the library software for general-purpose physical model creation software, a model of the library software format is constructed from the 3D-CAD data using the model elements on the library software. Furthermore, if it is converted to a model on general-purpose model creation software, a physical model can be created easily.

従来のシミュレーション装置の構成を示すブロック構成図である。It is a block block diagram which shows the structure of the conventional simulation apparatus. 従来のシミュレーション装置における物理モデルがロボットアームである場合の例を説明する図である。It is a figure explaining the example in case the physical model in the conventional simulation apparatus is a robot arm. 本発明の物理モデル作成装置を有するシミュレーション装置の構成の一実施例を示すブロック構成図である。It is a block block diagram which shows one Example of a structure of the simulation apparatus which has a physical model creation apparatus of this invention. 本発明を実現するための物理モデル作成装置を有するシミュレーション装置のシステム構成を示す図である。It is a figure which shows the system configuration | structure of the simulation apparatus which has a physical model creation apparatus for implement | achieving this invention. 本発明の物理モデル作成装置における物理モデルがロボットアームである場合の、物理モデルデータへのデータの追加を説明する図である。It is a figure explaining addition of the data to physical model data when the physical model in the physical model creation apparatus of this invention is a robot arm. 本発明のシステムにおけるデータの流れを示す図である。It is a figure which shows the flow of the data in the system of this invention. 図6のシステムにおける動作手順を説明するフローチャートである。It is a flowchart explaining the operation | movement procedure in the system of FIG. 本発明の物理モデル作成装置における物理モデルがロボットアームである場合の、3D−CAD等のデータを汎用のモデル作成ソフトウエア上のモデルデータに変換して部品モデルを設定する例を説明する図である。The figure explaining the example which converts the data of 3D-CAD etc. into the model data on general-purpose model creation software, and sets a part model when the physical model in the physical model creation apparatus of this invention is a robot arm. is there. 本発明の物理モデル作成装置における物理モデルがロボットアームである場合の、3D−CAD等のデータを、ライブラリソフトウエアを仲介させて汎用のモデル作成ソフトウエア上のモデルデータに変換し、部品モデルを設定する例を説明する図である。When the physical model in the physical model creation apparatus of the present invention is a robot arm, data such as 3D-CAD is converted into model data on general-purpose model creation software via the library software, and a part model is converted It is a figure explaining the example to set.

符号の説明Explanation of symbols

4…シミュレーション装置
10…パーソナルコンピュータ
18…バス
21…通信ケーブル
RA…ロボットアーム
4 ... Simulation device 10 ... Personal computer 18 ... Bus 21 ... Communication cable RA ... Robot arm

Claims (4)

制御装置と機構部分を含む制御対象とからなるシステムのシミュレーションで使用する前記制御対象の物理モデルを作成する物理モデル作成装置であって、
3次元のコンピュータ設計支援装置である3D−CAD装置を使用して作成された前記制御対象の3D−CADデータに基づいて、前記物理モデルを作成するための中間形式データであり、演算式の形式で表される物理モデル要素の情報と、当該物理モデル要素間の接続関係の情報が設定される形で構成される物理モデルデータを作成する物理モデルデータ作成手段と、
前記物理モデルデータの変更を変更操作入力に基づいて可能にする物理モデルデータ変更手段と、
前記物理モデルデータ変更手段により変更された前記物理モデルデータから、シミュレーションの実行処理が可能な実行体の形式である前記物理モデルを作成する物理モデル作成手段とを備え
前記物理モデルデータ変更手段は、前記物理モデルデータに基づいて、前記物理モデル要素を表すブロックと当該物理モデル要素間の接続関係を表す接続線の表示を行った状態で、変更操作入力を可能とし、前記制御対象に含まれる機構部品間の摩擦情報と、前記制御対象に含まれる機構部品間のガタツキ情報の、少なくとも一方の情報の物理モデルデータへの追加を、前記摩擦情報もしくは前記ガタツキ情報を表す物理モデル要素のブロックを追加することで可能にする、ことを特徴とする物理モデル作成装置。
A physical model creation device for creating a physical model of the control object used in a system simulation comprising a control device and a control object including a mechanism part ,
It is intermediate format data for creating the physical model based on 3D-CAD data to be controlled created using a 3D-CAD device , which is a three-dimensional computer design support device, and is in the form of an arithmetic expression Physical model data creation means for creating physical model data configured in a form in which information on physical model elements represented by the above and information on connection relations between the physical model elements are set ;
Physical model data changing means for enabling change of the physical model data based on a change operation input ;
Wherein the physical model the physical model data changed by the data changing means comprises a physical model generating means for generating the physical model in the form of execution of the simulation can run bodies, and
The physical model data changing means enables a change operation input in a state in which a block representing the physical model element and a connection line representing a connection relation between the physical model elements are displayed based on the physical model data. The friction information between the mechanical parts included in the control target and the backlash information between the mechanical parts included in the control target are added to the physical model data of at least one of the friction information or the backlash information. A physical model creation device characterized by being made possible by adding blocks of physical model elements to be represented .
制御装置と機構部分を含む制御対象とからなるシステムのシミュレーションで使用する前記制御対象の物理モデルを作成する物理モデル作成装置であって、
3次元のコンピュータ設計支援装置である3D−CAD装置を使用して作成された前記制御対象の3D−CADデータに基づいて、前記物理モデルを作成するための中間形式データであり、前記制御対象の機構部分を構成する機構部品をモデル化した機構モデル要素の情報と、当該機構モデル要素間の接続関係の情報が設定される形で構成される第1の中間データを作成する第1の中間データ作成手段と、
前記第1の中間データの変更を変更操作入力に基づいて可能にする第1の中間データ変更手段と、
前記第1の中間データに基づいて、前記物理モデルを作成するための中間形式データであり、演算式の形式で表される物理モデル要素の情報と、当該物理モデル要素間の接続関係の情報が設定される形で構成される物理モデルデータである第2の中間データを作成する第2の中間データ作成手段と、
前記第2の中間データの変更を変更操作入力に基づいて可能にする第2の中間データ変更手段と、
前記第2の中間データ変更手段により変更された前記第2の中間データから、シミュレーションの実行処理が可能な実行体の形式である前記物理モデルを作成する物理モデル作成手段と、を備え、
前記第2の中間データ変更手段は、前記第2の中間データに基づいて、前記物理モデル要素を表すブロックと当該物理モデル要素間の接続関係を表す接続線の表示を行った状態で、変更操作入力を可能とし、前記制御対象に含まれる機構部品間の摩擦情報と、前記制御対象に含まれる機構部品間のガタツキ情報の、少なくとも一方の情報の第2の中間データへの追加を、前記摩擦情報もしくは前記ガタツキ情報を表す物理モデル要素のブロックを追加することで可能にする、ことを特徴とする物理モデル作成装置。
A physical model creation device for creating a physical model of the control object used in a system simulation comprising a control device and a control object including a mechanism part,
The intermediate format data for creating the physical model based on the 3D-CAD data of the control object created using the 3D-CAD apparatus which is a three-dimensional computer design support apparatus, First intermediate data for creating first intermediate data configured in such a manner that information on a mechanism model element obtained by modeling a mechanism part constituting the mechanism portion and information on a connection relation between the mechanism model elements are set. Creating means;
First intermediate data changing means for enabling the change of the first intermediate data based on a change operation input;
Intermediate format data for creating the physical model based on the first intermediate data, and information on physical model elements expressed in the form of arithmetic expressions and information on connection relationships between the physical model elements Second intermediate data creating means for creating second intermediate data that is physical model data configured in a set form;
Second intermediate data changing means for enabling change of the second intermediate data based on a change operation input;
Physical model creation means for creating, from the second intermediate data changed by the second intermediate data change means, the physical model that is in the form of an executable body capable of executing a simulation,
The second intermediate data changing means performs a change operation in a state where a block representing the physical model element and a connection line representing a connection relation between the physical model elements are displayed based on the second intermediate data. The friction information between the mechanical parts included in the control target and the backlash information between the mechanical parts included in the control target are added to the second intermediate data of at least one of the information. A physical model creation apparatus , which is made possible by adding a block of physical model elements representing information or the backlash information .
制御装置と機構部分を含む制御対象とからなるシステムのシミュレーションを実行するシミュレーション装置であって、請求項1又は2に記載の物理モデル作成装置を備えることを特徴とするシミュレーション装置。 A simulation apparatus for executing a simulation of a system including a control apparatus and a control target including a mechanism portion, comprising the physical model creation apparatus according to claim 1 . 制御装置と機構部分を含む御対象とからなるシステムのシミュレーションで使用する前記制御対象の物理モデルを作成する物理モデル作成装置におけるプログラムであって、前記物理モデル作成装置に、
3次元のコンピュータ設計支援装置である3D−CAD装置を使用して作成された前記制御対象の3D−CADデータに基づいて、前記物理モデルを作成するための中間形式データであり、演算式の形式で表される物理モデル要素の情報と、当該物理モデル要素間の接続関係の情報が設定される形で構成される物理モデルデータを作成する物理モデルデータ作成ステップと、
前記物理モデルデータの変更を変更操作入力に基づいて可能にする物理モデルデータ変更ステップと、
前記物理モデルデータ変更ステップで変更された前記物理モデルデータから、シミュレーションの実行処理が可能な実行体の形式である前記制御対象の物理モデルを作成する物理モデル作成ステップとを実行させ、
前記物理モデルデータ変更ステップでは、前記物理モデル作成装置に、前記物理モデルデータに基づいて、前記物理モデル要素を表すブロックと当該物理モデル要素間の接続関係を表す接続線の表示を行った状態で、変更操作入力を可能とさせ、前記制御対象に含まれる機構部品間の摩擦情報と、前記制御対象に含まれる機構部品間のガタツキ情報の、少なくとも一方の情報の物理モデルデータへの追加を、前記摩擦情報もしくは前記ガタツキ情報を表す物理モデル要素のブロックを追加することで可能にさせる、ことを特徴とする物理モデル作成装置におけるプログラム
A program in a physical model creation device for creating a physical model of the control target to be used in a simulation of a system including a control device and a target including a mechanism part , the physical model creation device,
It is intermediate format data for creating the physical model based on 3D-CAD data to be controlled created using a 3D-CAD device , which is a three-dimensional computer design support device, and is in the form of an arithmetic expression A physical model data creation step for creating physical model data configured in a form in which information of physical model elements represented by and information on connection relations between the physical model elements is set ;
A physical model data changing step that enables the physical model data to be changed based on a change operation input ;
Executing the physical model creation step of creating the physical model of the controlled object in the form of an executable body capable of executing a simulation from the physical model data changed in the physical model data change step ;
In the physical model data changing step, the physical model creation device displays a block representing the physical model element and a connection line representing a connection relationship between the physical model elements based on the physical model data. , Enabling change operation input, adding friction information between mechanical parts included in the control target and backlash information between mechanical parts included in the control target to at least one of the information to the physical model data, A program in a physical model creation apparatus , which is made possible by adding a block of physical model elements representing the friction information or the backlash information .
JP2004059446A 2004-03-03 2004-03-03 Physical model creation device, simulation device equipped with the physical model creation device, and program in the physical model creation device Expired - Fee Related JP4544881B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004059446A JP4544881B2 (en) 2004-03-03 2004-03-03 Physical model creation device, simulation device equipped with the physical model creation device, and program in the physical model creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004059446A JP4544881B2 (en) 2004-03-03 2004-03-03 Physical model creation device, simulation device equipped with the physical model creation device, and program in the physical model creation device

Publications (2)

Publication Number Publication Date
JP2005250793A JP2005250793A (en) 2005-09-15
JP4544881B2 true JP4544881B2 (en) 2010-09-15

Family

ID=35031224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004059446A Expired - Fee Related JP4544881B2 (en) 2004-03-03 2004-03-03 Physical model creation device, simulation device equipped with the physical model creation device, and program in the physical model creation device

Country Status (1)

Country Link
JP (1) JP4544881B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008077464A (en) * 2006-09-22 2008-04-03 A & D Co Ltd Modeling device
JP5008369B2 (en) * 2006-09-29 2012-08-22 富士通テン株式会社 Model generation apparatus and simulation model generation method
US20100275146A1 (en) * 2009-04-24 2010-10-28 Dell Products, Lp System and method for managing devices in an information handling system
JP5552037B2 (en) * 2010-12-10 2014-07-16 株式会社富士通コンピュータテクノロジーズ Model conversion program, simulation program, simulation apparatus, model conversion method, and simulation method
CN107530879B (en) * 2015-05-20 2020-09-08 三菱电机株式会社 Multi-axis machine simulator, design support device for operation command device, design support device for motor control device, and motor capacity selection device
JP6549654B2 (en) 2017-08-03 2019-07-24 ファナック株式会社 Robot system simulation apparatus and simulation method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08166972A (en) * 1994-12-14 1996-06-25 Hitachi Ltd Method and device for evaluating mechanism system part precision and cad graphic generating system using the them
JPH09190467A (en) * 1995-11-07 1997-07-22 Fujitsu Ltd Linkage mechanism analytic device and linkage mechanism joint data arithmetic device
JPH1091671A (en) * 1996-09-18 1998-04-10 Toshiba Corp Method and device for supporting mechanism design
JPH10254939A (en) * 1997-03-14 1998-09-25 Toshiba Corp Device and method for supporting mechanism design
JPH11120216A (en) * 1997-10-14 1999-04-30 Oki Electric Ind Co Ltd Mechatronics equipment design supporting device
JP2000194733A (en) * 1998-12-25 2000-07-14 Sharp Corp Method and device for designing mechanism and recording medium recording mechanism design program
JP2003186917A (en) * 2001-12-18 2003-07-04 Mitsubishi Heavy Ind Ltd Vehicle virtual performance evaluating device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08166972A (en) * 1994-12-14 1996-06-25 Hitachi Ltd Method and device for evaluating mechanism system part precision and cad graphic generating system using the them
JPH09190467A (en) * 1995-11-07 1997-07-22 Fujitsu Ltd Linkage mechanism analytic device and linkage mechanism joint data arithmetic device
JPH1091671A (en) * 1996-09-18 1998-04-10 Toshiba Corp Method and device for supporting mechanism design
JPH10254939A (en) * 1997-03-14 1998-09-25 Toshiba Corp Device and method for supporting mechanism design
JPH11120216A (en) * 1997-10-14 1999-04-30 Oki Electric Ind Co Ltd Mechatronics equipment design supporting device
JP2000194733A (en) * 1998-12-25 2000-07-14 Sharp Corp Method and device for designing mechanism and recording medium recording mechanism design program
JP2003186917A (en) * 2001-12-18 2003-07-04 Mitsubishi Heavy Ind Ltd Vehicle virtual performance evaluating device

Also Published As

Publication number Publication date
JP2005250793A (en) 2005-09-15

Similar Documents

Publication Publication Date Title
US8271245B1 (en) Method and system for modeling a mechanical system
JP2013536480A (en) Method and system for closed-loop controller programming
KR102027594B1 (en) Method and system for dynamically manipulating an assembly of objects in a three-dimensional scene of a system of computer-aided design
Ricker et al. Desuma: A tool integrating giddes and umdes
Sadjina et al. Distributed co-simulation of maritime systems and operations
US9547746B1 (en) Systems and methods using models to evaluate physical components
JP2009283004A (en) Model-based diagnostic interface
Shen et al. A cooperative virtual prototyping system for mechatronic solution elements based assembly
JP2016503524A (en) Virtual model simulation method and virtual model simulation apparatus
JP2007524156A (en) Block processing of input data in a graphical programming environment
JP4544881B2 (en) Physical model creation device, simulation device equipped with the physical model creation device, and program in the physical model creation device
JP2004220566A (en) Mechanism simulation method and mechanism simulation program
US8630829B1 (en) Computer aided design environment with electrical and electronic features
CN104487973A (en) Method and system for part model simulation
KR101026369B1 (en) Integrated control system for real and virtual robot
Schneider et al. A new approach for force‐displacement co‐simulation using kinematic coupling constraints
US7286975B2 (en) Method for developing embedded code for system simulations and for use in a HMI
Ahmadi et al. Run-time Monitoring of a Rover: MDE Research with Open Source Software and Low-cost Hardware.
Anderl et al. Simulations with NX/Simcenter 3D: Kinematics, FEA, CFD, EM and Data Management
Zaeh et al. Model-driven development of PLC software for machine tools
Joseph et al. Mastering ROS for robotics programming: Best practices and troubleshooting solutions when working with ROS
JP4549077B2 (en) Simulation apparatus and program for the apparatus
JP4564255B2 (en) Simulation device
JP2010117886A (en) Virtual prototyping system, method of processing operation information in virtual prototyping, and recording medium with the processing method recorded
JP2009086842A (en) Harness design support device, method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100119

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100323

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: 20100601

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100629

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130709

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140709

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees