JP2013073519A - Data structure, computer program, and data acquisition device - Google Patents

Data structure, computer program, and data acquisition device Download PDF

Info

Publication number
JP2013073519A
JP2013073519A JP2011213513A JP2011213513A JP2013073519A JP 2013073519 A JP2013073519 A JP 2013073519A JP 2011213513 A JP2011213513 A JP 2011213513A JP 2011213513 A JP2011213513 A JP 2011213513A JP 2013073519 A JP2013073519 A JP 2013073519A
Authority
JP
Japan
Prior art keywords
data
dimensional image
code
image
identification
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
Application number
JP2011213513A
Other languages
Japanese (ja)
Other versions
JP5842508B2 (en
Inventor
Sho Iwata
将 岩田
幸重 ▲吉▼田
Yukishige Yoshida
Motoki Kaneda
基希 金田
Hironori Hibino
浩典 日比野
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 Wave Inc
Japan Society For Promotion of Machine Industry
Original Assignee
Denso Wave Inc
Japan Society For Promotion of Machine Industry
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 Wave Inc, Japan Society For Promotion of Machine Industry filed Critical Denso Wave Inc
Priority to JP2011213513A priority Critical patent/JP5842508B2/en
Publication of JP2013073519A publication Critical patent/JP2013073519A/en
Application granted granted Critical
Publication of JP5842508B2 publication Critical patent/JP5842508B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To allow application of identification data of a simulation object to three-dimensional image data, and suppress loss of the identification data in association with conversion of data format even when general three-dimensional data creation software is used.SOLUTION: Component data 20 is used for a simulation of a production line in a simulation device 10. The component data 20 includes component shape data 21 for identifying a three-dimensional image of a component, and component identification data 23 that is data for identifying a component. The component identification data 23 is designated as data of a QR code image drawn for a three-dimensional image of a component.

Description

本発明は、生産ラインのシミュレーションに用いられるデータ、そのデータを使用するコンピュータプログラム及びデータ取得装置に関する。   The present invention relates to data used for production line simulation, a computer program using the data, and a data acquisition apparatus.

CAD(Computer Aided Design)データなどの3次元画像データを用いてシミュレーションを行う場合、3次元画像データは形状や、表面の色彩、模様に関するデータのみを有する。このため、3次元画像で表示されるシミュレーション対象を識別するためには、3次元画像データとは別に識別データが必要となる。   When simulation is performed using three-dimensional image data such as CAD (Computer Aided Design) data, the three-dimensional image data includes only data relating to the shape, the color of the surface, and the pattern. For this reason, in order to identify the simulation target displayed as a three-dimensional image, identification data is required separately from the three-dimensional image data.

そこで、3次元画像データのファイルとは異なる補助ファイルに識別データを保存し、その識別データをシミュレーションに用いる方法がある。   Therefore, there is a method in which identification data is stored in an auxiliary file different from the three-dimensional image data file and the identification data is used for simulation.

また、画像データを含むデータにおいて、ヘッダー領域などの未定義領域に識別データを格納する方法がある(例えば、特許文献1参照)。   In addition, there is a method of storing identification data in an undefined area such as a header area in data including image data (see, for example, Patent Document 1).

特開2002―300372JP2002-300372

しかしながら、補助ファイルを用いる方法では、ファイルの管理が煩雑となる。   However, in the method using the auxiliary file, file management becomes complicated.

また、データの未定義領域に識別データを格納する方法では、未定義領域に識別データを格納することのできる特別なソフトウェアを用いる必要がある。さらに、画像データのファイル形式(データ形式)を変換すると、その変換に伴って識別データが欠損するおそれがある。   Further, in the method of storing identification data in an undefined area of data, it is necessary to use special software that can store identification data in the undefined area. Furthermore, if the file format (data format) of the image data is converted, the identification data may be lost along with the conversion.

本発明は、こうした実情に鑑みてなされたものであり、その主たる目的は、一般的な3次元画像データ作成ソフトウェアを用いた場合であっても、3次元画像データにシミュレーション対象の識別データを付与することを可能としつつ、データ形式の変換に伴う識別データの欠損を抑制することにある。   The present invention has been made in view of such circumstances, and its main object is to provide simulation target identification data to three-dimensional image data even when general three-dimensional image data creation software is used. It is possible to suppress the loss of identification data associated with data format conversion.

本発明は、上記課題を解決するために、以下の手段を採用した。   The present invention employs the following means in order to solve the above problems.

第1の手段は、生産ラインのシミュレーションに用いられるデータの構造であって、シミュレーション対象の3次元画像を特定する3次元画像データと、前記シミュレーション対象を識別するデータである識別データと、を備え、前記識別データは、前記3次元画像に対して描かれる2次元画像のデータとして指定されていることを特徴とする。   A first means is a structure of data used for simulation of a production line, and includes three-dimensional image data for specifying a three-dimensional image to be simulated and identification data for identifying the simulation target. The identification data is specified as data of a two-dimensional image drawn with respect to the three-dimensional image.

上記データ構造を有するデータは、生産ラインのシミュレーションに用いられる。そして、このデータ構造は、シミュレーション対象の3次元画像を特定する3次元画像データを備えているため、生産ラインのシミュレーション実行時に、シミュレーション対象の3次元画像が表示される。   Data having the above data structure is used for production line simulation. Since this data structure includes 3D image data for specifying the 3D image to be simulated, the 3D image to be simulated is displayed when the production line simulation is executed.

ここで、上記データ構造は、シミュレーション対象を識別するデータである識別データを備えており、この識別データは3次元画像に対して描かれる2次元画像のデータとして指定されている。このため、一般的な3次元画像データ作成ソフトウェアを用いた場合であっても、シミュレーションに用いられるデータの一部である2次元画像のデータとして、3次元画像データに識別データを付与することができる。さらに、シミュレーションに用いられるデータのうち識別データに対応する2次元画像のデータを特定し、その2次元画像を解析することにより、シミュレーション対象を識別する識別データを取得することができる。このため、データの形式が変換された場合に、識別データに対応する2次元画像が劣化するおそれはあるものの、2次元画像に基づいて取得される識別データが欠損することを抑制することができる。   Here, the data structure includes identification data that is data for identifying a simulation target, and the identification data is specified as data of a two-dimensional image drawn for a three-dimensional image. For this reason, even when general three-dimensional image data creation software is used, identification data can be given to three-dimensional image data as data of a two-dimensional image that is a part of data used for simulation. it can. Furthermore, identification data for identifying a simulation target can be obtained by specifying data of a two-dimensional image corresponding to identification data among data used for simulation and analyzing the two-dimensional image. For this reason, when the data format is converted, the two-dimensional image corresponding to the identification data may be deteriorated, but the loss of the identification data acquired based on the two-dimensional image can be suppressed. .

第2の手段では、前記シミュレーションの実行時に表示される表示用テクスチャのデータを備え、前記表示用テクスチャのデータは、前記識別データに対応する前記2次元画像の上に重ねて描かれる画像のデータとして指定されている。   The second means includes display texture data displayed when the simulation is executed, and the display texture data is image data drawn on the two-dimensional image corresponding to the identification data. Is specified as

上記構成によれば、シミュレーションの実行時に、3次元画像に対して識別データに対応する2次元画像が描かれ、その2次元画像の上に重ねて表示用テクスチャが描かれる。このため、識別データに対応する2次元画像が外観上表示されることはなく、識別データを有する3次元画像データを用いて、識別データを有しない3次元画像データと同様にシミュレーションを行うことができる。   According to the above configuration, when the simulation is executed, the two-dimensional image corresponding to the identification data is drawn on the three-dimensional image, and the display texture is drawn on the two-dimensional image. Therefore, the two-dimensional image corresponding to the identification data is not displayed in appearance, and the simulation can be performed in the same manner as the three-dimensional image data having no identification data using the three-dimensional image data having the identification data. it can.

具体的には、第3の手段のように、前記識別データに対応する前記2次元画像のデータと前記表示用テクスチャのデータとは、前記3次元画像における同一の面に対して描かれる画像のデータとして指定されているといった構成を採用することができる。こうした構成によれば、シミュレーション対象の3次元画像に新たな面を設ける必要がなく、表示用テクスチャと同様にして、元々の3次元画像に対して識別データに対応する2次元画像を描くことができる。   Specifically, as in the third means, the data of the two-dimensional image corresponding to the identification data and the data of the display texture are images of the image drawn on the same plane in the three-dimensional image. A configuration in which the data is designated as data can be employed. According to such a configuration, it is not necessary to provide a new surface for the 3D image to be simulated, and a 2D image corresponding to the identification data can be drawn on the original 3D image in the same manner as the display texture. it can.

具体的には、第4の手段のように、前記識別データに対応する前記2次元画像のデータは、前記表示用テクスチャよりも先に描かれる画像のデータとして指定されているといった構成を採用することができる。こうした構成によれば、シミュレーションの実行時に3次元画像の同一の面に対して、識別データに対応する2次元画像が描かれた後に表示用テクスチャが描かれる。このため、3次元画像を表示する際に、識別データに対応する2次元画像と表示用テクスチャとがちらつくことを抑制することができる。   Specifically, as in the fourth means, a configuration is adopted in which the data of the two-dimensional image corresponding to the identification data is specified as data of an image drawn before the display texture. be able to. According to such a configuration, the display texture is drawn after the two-dimensional image corresponding to the identification data is drawn on the same surface of the three-dimensional image when the simulation is executed. For this reason, when displaying a three-dimensional image, it can suppress that the two-dimensional image corresponding to identification data and the display texture flicker.

また、具体的には、第5の手段のように、前記識別データに対応する前記2次元画像のデータは、前記表示用テクスチャの下に描かれる画像のデータとして指定されているといった構成を採用することができる。こうした構成によれば、シミュレーションの実行時に3次元画像の同一の面において、識別データに対応する2次元画像の上に重ねて表示用テクスチャが描かれる。このため、3次元画像を表示する際に、識別データに対応する2次元画像と表示用テクスチャとがちらつくことを抑制することができる。   Specifically, as in the fifth means, the configuration is such that the data of the two-dimensional image corresponding to the identification data is specified as data of an image drawn under the display texture. can do. According to such a configuration, the display texture is drawn on the two-dimensional image corresponding to the identification data on the same surface of the three-dimensional image when the simulation is executed. For this reason, when displaying a three-dimensional image, it can suppress that the two-dimensional image corresponding to identification data and the display texture flicker.

第6の手段では、前記識別データに対応する前記2次元画像のデータは、無色で描かれる画像のデータとして指定されている。   In the sixth means, the data of the two-dimensional image corresponding to the identification data is designated as image data drawn in colorless.

上記構成によれば、シミュレーションの実行時に、識別データに対応する2次元画像は無色で描かれるため、シミュレーションに影響を与えることを防止することができる。その結果、識別データを有する3次元画像データを用いて、識別データを有しない3次元画像データと同様にシミュレーションを行うことができる。   According to the above configuration, since the two-dimensional image corresponding to the identification data is drawn colorless when the simulation is executed, it is possible to prevent the simulation from being affected. As a result, it is possible to perform a simulation using 3D image data having identification data in the same manner as 3D image data having no identification data.

第7の手段では、前記識別データに対応する前記2次元画像は、前記識別データを図形コードに変換した2次元画像である。   In a seventh means, the two-dimensional image corresponding to the identification data is a two-dimensional image obtained by converting the identification data into a graphic code.

上記構成によれば、識別データに対応する2次元画像は、識別データを図形コードに変換した2次元画像であるため、データ形式の変換に伴って図形コードの画像が劣化したとしても、図形コードに基づいて取得される識別データの劣化を抑制することができる。すなわち、実物に印刷された図形コードが若干不明瞭であったとしても、図形コードから読み取られるデータは劣化しない。これと同様にして、3次元画像に対して描かれた図形コードが若干不明瞭であったとしても、図形コードから読み取られる識別データは劣化しない。したがって、識別データが劣化することを抑制することができる。なお、図形コードとして、バーコードや、2次元コードを採用することができる。   According to the above configuration, since the two-dimensional image corresponding to the identification data is a two-dimensional image obtained by converting the identification data into a graphic code, even if the graphic code image deteriorates due to the conversion of the data format, the graphic code It is possible to suppress the deterioration of identification data acquired based on the above. That is, even if the graphic code printed on the actual object is slightly unclear, the data read from the graphic code does not deteriorate. Similarly, even if the graphic code drawn on the three-dimensional image is slightly unclear, the identification data read from the graphic code does not deteriorate. Therefore, it can suppress that identification data deteriorates. A bar code or a two-dimensional code can be used as the graphic code.

第8の手段では、前記図形コードは、誤り訂正機能を有する図形コードである。   In an eighth means, the graphic code is a graphic code having an error correction function.

上記構成によれば、図形コードは、誤り訂正機能を有する図形コードであるため、データ形式の変換に伴って図形コードの画像が劣化し、図形コードから読み取られる識別データの一部に誤りが生じたとしても、識別データの誤りを訂正することができる。すなわち、実物に印刷された図形コードの一部が汚れ等により欠損したとしても、誤り訂正機能により読み取りデータの誤りを訂正することができる。これと同様にして、3次元画像に対して描かれた図形コードの一部がデータ形式の変換に伴って欠損したとしても、誤り訂正機能により識別データの誤りを訂正することができる。   According to the above configuration, since the graphic code is a graphic code having an error correction function, an image of the graphic code deteriorates with the conversion of the data format, and an error occurs in a part of the identification data read from the graphic code. Even so, errors in the identification data can be corrected. That is, even if a part of the graphic code printed on the actual object is lost due to dirt or the like, the error of the read data can be corrected by the error correction function. Similarly, even if a part of the graphic code drawn on the three-dimensional image is lost due to the data format conversion, the error of the identification data can be corrected by the error correction function.

要するに、実物に印刷された図形コードが汚れ等に強いという特性を持つのと同様に、3次元画像に対して描かれた図形コードはデータ形式の変換に強いという特性を持つ。したがって、識別データの劣化をより効果的に抑制することができる。なお、誤り訂正機能を有する図形コードとして、QRコード(登録商標)や、データマトリクスコードを採用することができる。   In short, the graphic code drawn on the three-dimensional image has the characteristic that it is resistant to data format conversion, just as the graphic code printed on the real object has the characteristic that it is resistant to dirt. Therefore, it is possible to more effectively suppress the deterioration of the identification data. A QR code (registered trademark) or a data matrix code can be adopted as a graphic code having an error correction function.

第9の手段は、第3〜第5のいずれかの手段のデータ構造から識別データを取得するコンピュータプログラムであって、前記データ構造から、前記3次元画像における前記同一の面に対して描かれる画像のデータとして指定されているデータを検索する機能と、前記検索されたデータを解析して前記識別データを取得する機能と、をコンピュータに実現させることを特徴とする。   A ninth means is a computer program for acquiring identification data from the data structure of any one of the third to fifth means, and is drawn from the data structure with respect to the same surface in the three-dimensional image. A computer is provided with a function of retrieving data designated as image data and a function of analyzing the retrieved data and acquiring the identification data.

第3〜第5のいずれかの手段のデータ構造では、識別データに対応する2次元画像のデータと表示用テクスチャのデータとが、3次元画像における同一の面に描かれる画像のデータとして指定されている。   In the data structure of any one of the third to fifth means, the two-dimensional image data corresponding to the identification data and the display texture data are designated as image data drawn on the same surface in the three-dimensional image. ing.

ここで、第9の手段の上記構成によれば、上記データ構造から、3次元画像における同一の面に描かれる画像のデータとして指定されているデータが検索される。このため、シミュレーションに用いられるデータの中から、識別データに対応する2次元画像のデータを検索することができる。したがって、検索されたデータを解析することにより、シミュレーション対象を識別する識別データを取得することができる。   Here, according to the configuration of the ninth means, data designated as data of an image drawn on the same plane in the three-dimensional image is retrieved from the data structure. For this reason, the data of the two-dimensional image corresponding to the identification data can be searched from the data used for the simulation. Therefore, by analyzing the retrieved data, identification data for identifying the simulation target can be acquired.

第10の手段は、第7又は第8の手段のデータ構造から識別データを取得するコンピュータプログラムであって、前記データ構造のうち、前記3次元画像に対して描かれる2次元画像のデータとして指定されているデータを解析して前記図形コードを特定する機能と、前記特定された図形コードを復号して前記識別データを取得する機能と、をコンピュータに実現させることを特徴とする。   The tenth means is a computer program for acquiring identification data from the data structure of the seventh or eighth means, and is specified as data of a two-dimensional image drawn for the three-dimensional image in the data structure The computer is realized with a function of identifying the graphic code by analyzing the processed data and a function of acquiring the identification data by decoding the specified graphic code.

第7又は第8の手段のデータ構造では、識別データに対応する2次元画像は、識別データを図形コードに変換した2次元画像である。   In the data structure of the seventh or eighth means, the two-dimensional image corresponding to the identification data is a two-dimensional image obtained by converting the identification data into a graphic code.

ここで、第10の手段の上記構成によれば、上記データ構造のうち、3次元画像に対して描かれる2次元画像のデータとして指定されているデータが解析され、図形コードが特定される。すなわち、3次元画像に対して描かれる2次元画像のデータから、識別データを図形コードに変換した2次元画像のデータが特定される。そして、特定された図形コードを復号することにより、シミュレーション対象を識別する識別データを取得することができる。   Here, according to the configuration of the tenth means, the data designated as the data of the two-dimensional image drawn for the three-dimensional image in the data structure is analyzed, and the graphic code is specified. That is, the data of the two-dimensional image obtained by converting the identification data into the graphic code is specified from the data of the two-dimensional image drawn for the three-dimensional image. And the identification data which identifies a simulation object can be acquired by decoding the specified figure code.

第11の手段は、第3〜第5のいずれかの手段のデータ構造から識別データを取得するデータ取得装置であって、前記データ構造から、前記3次元画像における前記同一の面に対して描かれる画像のデータとして指定されているデータを検索する検索部と、前記検索されたデータを解析して前記識別データを取得する取得部と、を備えることを特徴とする。   The eleventh means is a data acquisition device for acquiring identification data from the data structure of any one of the third to fifth means, and is drawn from the data structure on the same surface in the three-dimensional image. A search unit that searches for data designated as image data to be acquired, and an acquisition unit that analyzes the searched data and acquires the identification data.

上記構成によれば、データ取得装置において、第9の手段のコンピュータプログラムと同様の作用効果を奏することができる。   According to the said structure, in a data acquisition apparatus, there can exist an effect similar to the computer program of a 9th means.

第12の手段は、第7又は第8の手段のデータ構造から識別データを取得するデータ取得装置であって、前記データ構造のうち、前記3次元画像に対して描かれる2次元画像のデータとして指定されているデータを解析して前記図形コードを特定する特定部と、前記特定された図形コードを復号して前記識別データを取得する取得部と、を備えることを特徴とする。   The twelfth means is a data acquisition device for acquiring identification data from the data structure of the seventh or eighth means, and as data of a two-dimensional image drawn for the three-dimensional image in the data structure. A specifying unit that analyzes the specified data and specifies the graphic code; and an acquisition unit that decodes the specified graphic code and acquires the identification data.

上記構成によれば、データ取得装置において、第10の手段のコンピュータプログラムと同様の作用効果を奏することができる。   According to the above configuration, the data acquisition apparatus can achieve the same effects as the computer program of the tenth means.

生産ラインのシミュレーション態様を示す図。The figure which shows the simulation aspect of a production line. シミュレーション装置及びデータ構造の概要を示す図。The figure which shows the outline | summary of a simulation apparatus and data structure. 第1実施形態に係る部品データの構造の概要を示す図。The figure which shows the outline | summary of the structure of the component data which concern on 1st Embodiment. QRコードの2次元画像が劣化した状態を示す図。The figure which shows the state which the two-dimensional image of QR Code deteriorated. QRコードの2次元画像及び表示用テクスチャを描く態様を示す図。The figure which shows the aspect which draws the two-dimensional image of QR code, and the texture for a display. 第2実施形態に係る部品データの構造の概要を示す図。The figure which shows the outline | summary of the structure of the component data which concern on 2nd Embodiment. QRコードの2次元画像及び表示用テクスチャを描く態様を示す図。The figure which shows the aspect which draws the two-dimensional image of QR code, and the texture for a display. 第3実施形態に係る部品データの構造の概要を示す図。The figure which shows the outline | summary of the structure of the component data which concern on 3rd Embodiment. QRコードの2次元画像及び表示用テクスチャを描く態様を示す図。The figure which shows the aspect which draws the two-dimensional image of QR code, and the texture for a display. テキストデータ及びその2次元画像を示す図。The figure which shows text data and its two-dimensional image.

(第1実施形態)
以下、第1実施形態について、図面を参照しつつ説明する。本実施形態は、生産ラインの設計段階において、生産ラインでのワークの外観検査をシミュレーションするシミュレーション装置として具体化している。
(First embodiment)
Hereinafter, a first embodiment will be described with reference to the drawings. This embodiment is embodied as a simulation device that simulates the appearance inspection of a workpiece on the production line at the design stage of the production line.

図1は、生産ラインのシミュレーション態様を示す図であり、シミュレーション装置に接続されたモニタの表示する画像を示している。この生産ラインは、ベルトコンベアBC、ロボットRB、カメラC、及び作業台STを備えている。ベルトコンベアBCはワークWを搬送する装置であり、作業台STはワークWを載置する台である。ベルトコンベアBC及び作業台ST(設備)は、設備メーカにより設計される。設備の設計データは、VRML形式のデータとなっており、gif形式のテクスチャデータを含んでいる。ワークWは、製品を構成する部品であり、部品メーカにより設計される。部品の設計データは、DWG形式のデータとなっており、ビットマップ形式のテクスチャデータを含んでいる。ロボットRBは、多関節のアームを備えるロボットであり、アームのハンド部にカメラCが取り付けられている。ロボットRBは、生産ライン設計者により設計される。ロボットRBの設計データは、VRML形式のデータとなっており、ビットマップ形式のテクスチャデータを含んでいる。   FIG. 1 is a diagram showing a simulation mode of a production line, and shows an image displayed on a monitor connected to the simulation apparatus. This production line includes a belt conveyor BC, a robot RB, a camera C, and a work table ST. The belt conveyor BC is a device that conveys the workpiece W, and the work table ST is a table on which the workpiece W is placed. The belt conveyor BC and the work table ST (equipment) are designed by an equipment manufacturer. The design data of the facility is VRML format data, and includes texture data in the gif format. The workpiece W is a component that constitutes a product and is designed by a component manufacturer. The part design data is data in the DWG format and includes texture data in the bitmap format. The robot RB is a robot having an articulated arm, and a camera C is attached to a hand portion of the arm. The robot RB is designed by a production line designer. The design data of the robot RB is VRML format data, and includes bitmap format texture data.

ワークWの外観検査においては、ベルトコンベアBCによりワークWが搬送され、図示しないロボット等によりワークWが作業台STの上に載置される。そして、ロボットRBは、ワークWの撮影位置までカメラCを移動させ、カメラCによりワークWの外観を撮影させる。その後、撮影により取得されたワークWの画像に基づいて、ワークWの外観が検される。   In the appearance inspection of the workpiece W, the workpiece W is conveyed by the belt conveyor BC, and the workpiece W is placed on the work table ST by a robot or the like (not shown). Then, the robot RB moves the camera C to the shooting position of the workpiece W, and causes the camera C to capture the appearance of the workpiece W. Thereafter, the appearance of the workpiece W is inspected based on the image of the workpiece W acquired by photographing.

シミュレーション装置は、設備メーカ、部品メーカ、及び生産ライン設計者から提供されるデータを用いて、これらワークWの外観検査の工程をシミュレーションする。その際に、それぞれから提供される設計データは、シミュレーション装置で使用可能なデータ形式(VRML形式)のデータに変換されて用いられる。具体的には、設備メーカから提供されるデータは、データ形式が変換されずにVRML形式のデータとして用いられる。部品メーカから提供されるデータは、DWG形式のデータからVRML形式のデータに変換される。この変換に伴って、部品データに含まれるビットマップ形式のテクスチャデータは、gif形式のテクスチャデータに変換される。生産ライン設計者から提供されるデータは、データ形式が変換されずにVRML形式のデータとして用いられる。なお、上記データ形式の変換は、設備メーカ、部品メーカ、及び生産ライン設計者のいずれが行ってもよい。   The simulation apparatus simulates the appearance inspection process of the workpiece W using data provided from the equipment manufacturer, the parts manufacturer, and the production line designer. At that time, the design data provided from each is converted into data in a data format (VRML format) that can be used by the simulation apparatus. Specifically, the data provided from the equipment manufacturer is used as data in VRML format without converting the data format. Data provided from the component manufacturer is converted from data in the DWG format to data in the VRML format. Along with this conversion, the texture data in the bitmap format included in the component data is converted into texture data in the gif format. The data provided from the production line designer is used as data in the VRML format without converting the data format. The data format conversion may be performed by any of the equipment manufacturer, the parts manufacturer, and the production line designer.

図2は、シミュレーション装置及びデータ構造の概要を示す図である。   FIG. 2 is a diagram showing an outline of the simulation apparatus and the data structure.

設備メーカは、上記ベルトコンベアBC及び作業台ST(設備)を設計しており、それらの仕様を表すデータである設備データ30を有している。設備データ30は、設備形状データ31、テクスチャデータ32、及び設備識別データ33を含んでいる。設備形状データ31はVRML形式のデータであり、テクスチャデータ32及び設備識別データ33はgif形式のデータである。設備形状データ31は、設備(シミュレーション対象)の形状を特定する3次元画像データである。テクスチャデータ32は、シミュレーションの実行時に、設備の3次元画像の表面に貼り付けられる表示用テクスチャ(2次元画像)のデータとして指定されている。一般に、テクスチャデータ32は複数設けられている。設備識別データ33(識別データ)は、設備を識別するテキストデータを、2次元画像のデータとして表したものである。詳しくは、設備識別データ33は、設備の型式や、番号等を識別するテキストデータを、QRコード(図形コード)に変換した2次元画像のデータとして表したものである。設備識別データ33は、シミュレーションの実行時に、設備の3次元画像の表面に貼り付けられるQRコードの2次元画像(QRコード画像)のデータとして指定されている。ここで、設備識別データ33は、設備の3次元画像における同一の面に対して、表示用テクスチャよりも先に描かれるQRコード画像のデータとして指定されている。すなわち、テクスチャデータ32のうちの1つは、QRコード画像の上に重ねて描かれる表示用テクスチャのデータとして指定されている。   The equipment manufacturer designs the belt conveyor BC and the work table ST (equipment) and has equipment data 30 which is data representing the specifications of the belt conveyor BC and the work table ST (equipment). The equipment data 30 includes equipment shape data 31, texture data 32, and equipment identification data 33. The equipment shape data 31 is data in the VRML format, and the texture data 32 and the equipment identification data 33 are data in the gif format. The equipment shape data 31 is three-dimensional image data that specifies the shape of the equipment (simulation target). The texture data 32 is specified as display texture data (two-dimensional image) that is pasted on the surface of the three-dimensional image of the facility when the simulation is executed. In general, a plurality of texture data 32 are provided. The equipment identification data 33 (identification data) represents text data for identifying equipment as data of a two-dimensional image. Specifically, the facility identification data 33 is expressed as data of a two-dimensional image obtained by converting text data for identifying the type and number of the facility into a QR code (graphic code). The equipment identification data 33 is designated as data of a two-dimensional image (QR code image) of a QR code that is pasted on the surface of the three-dimensional image of the equipment when the simulation is executed. Here, the facility identification data 33 is specified as data of a QR code image drawn before the display texture for the same surface in the three-dimensional image of the facility. That is, one of the texture data 32 is designated as display texture data drawn on the QR code image.

同様にして、部品メーカは、上記ワークW(部品)を設計しており、その仕様を表すデータである部品データ20を有している。部品データ20は、部品形状データ21、テクスチャデータ22、及び部品識別データ23を含んでいる。部品データ20は、ビットマップ形式のテクスチャデータを含むDWG形式のデータから、gif形式のテクスチャデータを含むVRML形式のデータに変換されたデータである。部品形状データ21はVRML形式のデータであり、テクスチャデータ22及び部品識別データ23はgif形式のデータである。部品形状データ21は、部品(シミュレーション対象)の形状を特定する3次元画像データである。テクスチャデータ22は、シミュレーションの実行時に、部品の3次元画像の表面に貼り付けられる表示用テクスチャのデータとして指定されている。一般に、テクスチャデータ22は複数設けられている。部品識別データ23(識別データ)は、部品を識別するテキストデータを、2次元画像のデータとして表したものである。詳しくは、部品識別データ23は、部品の製造番号や、素材、重量等を識別するテキストデータを、QRコードに変換した2次元画像のデータとして表したものである。部品識別データ23は、シミュレーションの実行時に、部品の3次元画像の表面に貼り付けられるQRコードの2次元画像(QRコード画像)のデータとして指定されている。ここで、部品識別データ23は、部品の3次元画像における同一の面に対して、表示用テクスチャよりも先に描かれるQRコード画像のデータとして指定されている。すなわち、テクスチャデータ22のうちの1つは、QRコード画像の上に重ねて描かれる表示用テクスチャのデータとして指定されている。   Similarly, the parts manufacturer designs the workpiece W (parts) and has part data 20 which is data representing the specifications. The component data 20 includes component shape data 21, texture data 22, and component identification data 23. The component data 20 is data converted from DWG format data including bitmap format texture data into VRML format data including gif format texture data. The part shape data 21 is data in the VRML format, and the texture data 22 and the part identification data 23 are data in the gif format. The part shape data 21 is three-dimensional image data that specifies the shape of a part (simulation target). The texture data 22 is specified as display texture data to be pasted on the surface of the three-dimensional image of the part when the simulation is executed. In general, a plurality of texture data 22 are provided. The part identification data 23 (identification data) represents text data for identifying a part as data of a two-dimensional image. Specifically, the part identification data 23 is expressed as two-dimensional image data obtained by converting text data for identifying a part manufacturing number, material, weight, and the like into a QR code. The component identification data 23 is specified as data of a two-dimensional image (QR code image) of a QR code that is pasted on the surface of a three-dimensional image of the component when the simulation is executed. Here, the component identification data 23 is specified as data of a QR code image drawn before the display texture for the same surface in the three-dimensional image of the component. That is, one of the texture data 22 is designated as display texture data drawn on top of the QR code image.

また同様にして、生産ライン設計者は、上記ロボットRBを設計しており、その仕様を表すデータであるロボットデータ40を有している。ロボットデータ40は、ロボット形状データ41、テクスチャデータ42、及びロボット識別データ43を含んでいる。ロボット形状データ41はVRML形式のデータであり、テクスチャデータ32及び設備識別データ33はビットマップ形式のデータである。ロボット形状データ41は、ロボット(シミュレーション対象)の形状を特定する3次元画像データである。テクスチャデータ42は、シミュレーションの実行時に、ロボットの3次元画像の表面に貼り付けられる表示用テクスチャのデータとして指定されている。一般に、テクスチャデータ42は複数設けられている。ロボット識別データ43(識別データ)は、ロボットを識別するテキストデータを、2次元画像のデータとして表したものである。詳しくは、ロボット識別データ43は、ロボットの型式や、番号等を識別するテキストデータを、QRコードに変換した2次元画像のデータとして表したものである。ロボット識別データ43は、シミュレーションの実行時に、ロボットの3次元画像の表面に貼り付けられるQRコードの2次元画像(QRコード画像)のデータとして指定されている。ここで、ロボット識別データ43は、ロボットの3次元画像における同一の面に対して、表示用テクスチャよりも先に描かれるQRコード画像のデータとして指定されている。すなわち、テクスチャデータ42のうちの1つは、QRコード画像の上に重ねて描かれる表示用テクスチャのデータとして指定されている。   Similarly, the production line designer designs the robot RB and has robot data 40 that is data representing the specifications. The robot data 40 includes robot shape data 41, texture data 42, and robot identification data 43. The robot shape data 41 is VRML format data, and the texture data 32 and the facility identification data 33 are bitmap format data. The robot shape data 41 is three-dimensional image data that specifies the shape of the robot (simulation target). The texture data 42 is specified as display texture data to be pasted on the surface of the three-dimensional image of the robot when the simulation is executed. In general, a plurality of texture data 42 are provided. The robot identification data 43 (identification data) represents text data for identifying a robot as two-dimensional image data. Specifically, the robot identification data 43 represents the data of a two-dimensional image obtained by converting text data for identifying a robot type, number, and the like into a QR code. The robot identification data 43 is designated as data of a two-dimensional image (QR code image) of a QR code that is pasted on the surface of the three-dimensional image of the robot when the simulation is executed. Here, the robot identification data 43 is specified as data of a QR code image drawn before the display texture for the same surface in the three-dimensional image of the robot. That is, one of the texture data 42 is designated as display texture data that is drawn over the QR code image.

ここで、シミュレーションに用いられる上記データの具体例について説明する。図3は、上記部品データ20の構造の概要を示す図である。ここでは、部品の形状等を簡略化して説明する。   Here, a specific example of the data used for the simulation will be described. FIG. 3 is a diagram showing an outline of the structure of the component data 20. Here, the shape of the parts and the like will be described in a simplified manner.

同図に示すように、部品の形状は「BOX」(直方体)に指定されており、x,y,z方向における各辺の長さはそれぞれ1,2,3に設定されている。部品の表面に2次元画像をテクスチャとして貼り付けることが指定されており、この2次元画像のデータは“QRcode.gif”という名前のgif形式のデータとなっている。“QRcode.gif”のデータは、上記部品識別データ23に相当し、部品の製造番号や、素材、重量等を識別するテキストデータを、QRコードに変換した2次元画像(QRコード画像)のデータである。このテクスチャを貼り付ける際に、繰り返しは無しに設定され、表示スケールはx方向及びy方向共に2倍(1/0.5)に指定されている。その後、同一の「BOX」の表面(同一の面)に、別の2次元画像をテクスチャとして貼り付けることが指定されており、この2次元画像のデータは“surface.gif”という名前のgif形式のデータとなっている。“surface.gif”のデータは、上記テクスチャデータ22に相当し、部品の外観検査等で用いられる表示用テクスチャのデータである。このテクスチャを貼り付ける際に、繰り返しは無しに設定され、表示スケールはx方向及びy方向共に2倍(1/0.5)に指定されている。   As shown in the figure, the shape of the part is designated as “BOX” (cuboid), and the length of each side in the x, y, and z directions is set to 1, 2, and 3, respectively. It is specified that a two-dimensional image is pasted as a texture on the surface of the component, and the data of the two-dimensional image is data in a gif format named “QRcode.gif”. The data “QRcode.gif” corresponds to the part identification data 23 described above, and is data of a two-dimensional image (QR code image) obtained by converting text data for identifying a part manufacturing number, material, weight, etc. into a QR code. It is. When this texture is pasted, no repetition is set, and the display scale is specified to be double (1 / 0.5) in both the x and y directions. After that, it is specified that another two-dimensional image is pasted as a texture on the same “BOX” surface (same surface), and the data of this two-dimensional image is in a gif format named “surface.gif”. It becomes data of. The data of “surface.gif” corresponds to the texture data 22 and is display texture data used in the appearance inspection of the parts. When this texture is pasted, no repetition is set, and the display scale is specified to be double (1 / 0.5) in both the x and y directions.

また、設備データ30では、上記部品に代えて設備について設定されており、データの基本的な構造は部品データ20と同様である。すなわち、設備の形状が設定されるとともに、設備の表面に2次元画像をテクスチャとして貼り付けることが指定されている。設備データ30は、テクスチャのデータとして、上記設備識別データ33に相当するデータと、上記テクスチャデータ32に相当するデータとを備えている。設備識別データ33に相当するデータは、設備の型式や番号等を識別するテキストデータを、QRコードに変換した2次元画像(QRコード画像)のデータであり、gif形式のデータとなっている。テクスチャデータ32に相当するデータは、設備における同一の面に対して、QRコード画像を貼り付けた後に貼り付ける2次元画像のデータとして指定されており、gif形式のデータとなっている。   In addition, in the equipment data 30, the equipment is set instead of the above parts, and the basic structure of the data is the same as that of the parts data 20. That is, the shape of the facility is set, and it is specified that a two-dimensional image is pasted as a texture on the surface of the facility. The equipment data 30 includes data corresponding to the equipment identification data 33 and data corresponding to the texture data 32 as texture data. The data corresponding to the facility identification data 33 is data of a two-dimensional image (QR code image) obtained by converting text data for identifying the type and number of the facility into a QR code, and is data in the gif format. Data corresponding to the texture data 32 is designated as data of a two-dimensional image to be pasted after a QR code image is pasted on the same surface of the facility, and is data in the gif format.

また、ロボットデータ40では、上記部品に代えてロボットについて設定されており、データの基本的な構造は部品データ20と同様である。すなわち、ロボットの形状が設定されるとともに、ロボットの表面に2次元画像をテクスチャとして貼り付けることが指定されている。ロボットデータ40は、テクスチャのデータとして、上記ロボット識別データ43に相当するデータと、上記テクスチャデータ42に相当するデータとを備えている。ロボット識別データ43に相当するデータは、ロボットの型式や番号等を識別するテキストデータを、QRコードに変換した2次元画像(QRコード画像)のデータであり、ここではビットマップ形式のデータとなっている。テクスチャデータ42に相当するデータは、ロボットにおける同一の面に対して、QRコード画像を貼り付けた後に貼り付ける2次元画像のデータとして指定されており、ここではビットマップ形式のデータとなっている。   In the robot data 40, a robot is set instead of the above parts, and the basic structure of the data is the same as that of the parts data 20. That is, the shape of the robot is set, and it is specified that a two-dimensional image is pasted as a texture on the surface of the robot. The robot data 40 includes data corresponding to the robot identification data 43 and data corresponding to the texture data 42 as texture data. The data corresponding to the robot identification data 43 is data of a two-dimensional image (QR code image) obtained by converting text data for identifying a robot type and number into a QR code, and here is data in a bitmap format. ing. Data corresponding to the texture data 42 is specified as data of a two-dimensional image to be pasted after pasting a QR code image on the same surface of the robot, and here is data in a bitmap format. .

図4は、QRコードの2次元画像(QRコード画像)が劣化した状態を示す図である。生産ライン設計者から設備メーカに提供されたQRコード画像のビットマップ形式のデータが、設備メーカによりgif形式やjpg形式のデータに変換された場合にQRコード画像の劣化が生じる。また、部品メーカの有する部品のDWG形式等の設計データが、生産ライン設計者によりVRM形式等のデータに変換されたことに伴って、部品の設計データに含まれるQRコード画像のビットマップ形式のデータが、gif形式等のデータに変換された場合にQRコード画像の劣化が生じる。   FIG. 4 is a diagram illustrating a state where a two-dimensional image (QR code image) of a QR code is deteriorated. The QR code image is deteriorated when the bitmap data of the QR code image provided from the production line designer to the equipment manufacturer is converted into the data in the gif format or the jpg format by the equipment manufacturer. In addition, the design data in the DWG format etc. of the parts owned by the parts maker is converted into data in the VRM format etc. by the production line designer, so that the bitmap format of the QR code image included in the design data of the parts is changed. When the data is converted into data in the gif format or the like, the QR code image is deteriorated.

同図に示すように、ビットマップ形式のデータで特定されるQRコード画像Q1では、光学的特性の異なる2種類(白及び黒)のセルは、それぞれ正確な正方形として表示されている。これに対して、gif形式等のデータで特定されるQRコード画像Q2では、光学的特性の異なる2種類のセルは、それぞれ一部の形状が崩れた状態で表示されている。黒のセルでは、一部に欠けLが生じており、白のセルでは、一部に汚れDが生じている。   As shown in the figure, in the QR code image Q1 specified by bitmap format data, two types of cells (white and black) having different optical characteristics are displayed as accurate squares. On the other hand, in the QR code image Q2 specified by data such as the gif format, two types of cells having different optical characteristics are displayed in a state where a part of each cell is broken. A black cell has a chipped L in part, and a white cell has a stain D in part.

QRコード画像の読み取りにおいては、QRコード画像Q2の一部に欠けLや汚れDが生じたとしても、画像の解析によりQRコード画像Q2が表すQRコードを特定することができる。そして、QRコードを復号することにより、QRコード画像Q1から取得されるデータと同一のデータを、QRコード画像Q2から取得することができる。すなわち、QRコード画像Q2の一部に欠けLや汚れDがあったとしても、QRコード画像Q2から読み取られるデータは劣化しない。さらに、QRコードは誤り訂正機能を有しているため、取得されたデータの一部に誤りが生じた場合には、その誤りを訂正することができる。   In reading the QR code image, even if a part L of the QR code image Q2 and a stain D are generated, the QR code represented by the QR code image Q2 can be specified by analyzing the image. Then, by decoding the QR code, the same data as the data acquired from the QR code image Q1 can be acquired from the QR code image Q2. That is, even if a part of the QR code image Q2 has a missing L or a stain D, data read from the QR code image Q2 does not deteriorate. Furthermore, since the QR code has an error correction function, if an error occurs in a part of the acquired data, the error can be corrected.

図2に戻り、シミュレーション装置10(データ取得装置)は、データ検索部11、コード特定部12、識別データ取得部13、及び制御部14を備えている。これらは、演算装置や、記憶装置、入出力インターフェース等により構成されている。   Returning to FIG. 2, the simulation apparatus 10 (data acquisition apparatus) includes a data search unit 11, a code identification unit 12, an identification data acquisition unit 13, and a control unit 14. These are constituted by an arithmetic device, a storage device, an input / output interface, and the like.

データ検索部11(検索部)は、部品メーカ、設備メーカ、及び生産ライン設計者から、部品データ20、設備データ30、及びロボットデータ40をそれぞれ入力して、それぞれのデータの中から特定のデータを検索する。詳しくは、データ検索部11は、各データ20,30,40から、それぞれの形状データ21,31,41の特定する3次元画像における同一の面に対して描かれる画像のデータを検索する。図3に示す例に対しては、データ検索部11は、部品の3次元画像の表面に貼り付けられる2次元画像(テクスチャ)のデータとして指定されているデータから、同一の「BOX」の表面(同一の面)に対して描かれる2次元画像のデータとして指定されているデータを検索する。そして、“QRcode.gif”のデータ及び“surface.gif”のデータが検索される。   The data search unit 11 (search unit) inputs part data 20, equipment data 30, and robot data 40 from a part maker, equipment maker, and production line designer, and specifies specific data from the respective data. Search for. Specifically, the data search unit 11 searches the data 20, 30, 40 for image data drawn on the same surface in the three-dimensional image specified by the shape data 21, 31, 41. For the example shown in FIG. 3, the data search unit 11 uses the same “BOX” surface from the data specified as the data of the two-dimensional image (texture) pasted on the surface of the three-dimensional image of the part. Data specified as data of a two-dimensional image drawn on (the same surface) is searched. Then, the data of “QRcode.gif” and the data of “surface.gif” are searched.

コード特定部12(特定部)は、データ検索部11から上記検索されたデータを読み込み、そのデータを解析してQRコードを特定する。詳しくは、データ検索部11により検索されたデータには、それぞれ識別データ23,33,43(QRコード画像のデータ)が含まれている。このため、QRコード画像のデータをそれぞれ解析して、QRコード画像が表すQRコードをそれぞれ特定する。図3に示す例に対しては、“QRcode.gif”のデータ及び“surface.gif”のデータが解析され、“QRcode.gif”のデータからQRコード画像、ひいてはQRコードが特定される。ここで、“QRcode.gif”のデータはgif形式のデータであるため、QRコード画像の一部に欠けLや汚れDが生じることとなるが、画像の解析によりQRコード画像が表すQRコードを特定することができる。また、設備データ30において、設備識別データ33に相当するデータを解析する場合も同様である。なお、ロボットデータ40において、ロボット識別データ43に相当するデータはビットマップ形式のデータであるため、ロボット識別データ43に相当するデータを解析する場合は、QRコード画像に欠けLや汚れDは生じていない。   The code identification unit 12 (identification unit) reads the retrieved data from the data retrieval unit 11, analyzes the data, and identifies the QR code. Specifically, the data retrieved by the data retrieval unit 11 includes identification data 23, 33, and 43 (data of QR code image), respectively. For this reason, each QR code image data is analyzed to identify each QR code represented by the QR code image. For the example shown in FIG. 3, the data of “QRcode.gif” and the data of “surface.gif” are analyzed, and the QR code image and thus the QR code are identified from the data of “QRcode.gif”. Here, since the data of “QRcode.gif” is data in the gif format, a part of the QR code image has a missing L or a stain D, but the QR code represented by the QR code image is analyzed by image analysis. Can be identified. The same applies to the case of analyzing the data corresponding to the equipment identification data 33 in the equipment data 30. In the robot data 40, the data corresponding to the robot identification data 43 is bitmap format data. Therefore, when the data corresponding to the robot identification data 43 is analyzed, a missing L or a dirt D occurs in the QR code image. Not.

識別データ取得部13(取得部)は、コード特定部12から上記特定されたQRコードを読み込み、QRコードを復号してシミュレーション対象を識別するテキストデータを取得する。ここで、コード特定部12により特定されたQRコードに誤りが存在しなかった場合には、識別データ23,33,43から、シミュレーション対象を識別する適切なテキストデータがそれぞれ取得される。また、コード特定部12により特定されたQRコードの一部に誤りが存在した場合であっても、QRコードの誤り訂正機能によりその誤りが訂正される。   The identification data acquisition unit 13 (acquisition unit) reads the QR code specified from the code specification unit 12 and decodes the QR code to acquire text data for identifying a simulation target. Here, when there is no error in the QR code specified by the code specifying unit 12, appropriate text data for identifying the simulation target is acquired from the identification data 23, 33, 43, respectively. Even if an error exists in a part of the QR code specified by the code specifying unit 12, the error is corrected by the error correction function of the QR code.

制御部14は、識別データ取得部13から上記取得されたテキストデータを読み込み、そのテキストデータによりシミュレーション対象を識別した結果を用いて、部品の外観検査の工程をシミュレーションする。そして、制御部14は、シミュレーションの結果をモニタ15(表示装置)に表示させる。ここで、図5に示すように、QRコード画像Qがシミュレーション対象の面S1に貼り付けられた直後に、同一の面S1に表示用テクスチャTTが貼り付けられる。このため、シミュレーションの実行時に、QRコード画像Qは外観上表示されることはなく、QRコード画像Qと表示用テクスチャTTとがちらつくことを抑制することができる。したがって、識別データ23,33,43を有するデータ20,30,40を用いて、識別データ23,33,43を有しないデータと同様にシミュレーションを行うことができる。   The control unit 14 reads the acquired text data from the identification data acquisition unit 13 and uses the result of identifying the simulation target based on the text data to simulate a part appearance inspection process. And the control part 14 displays the result of simulation on the monitor 15 (display apparatus). Here, as shown in FIG. 5, immediately after the QR code image Q is attached to the simulation target surface S1, the display texture TT is attached to the same surface S1. For this reason, when the simulation is executed, the QR code image Q is not displayed in appearance, and flickering between the QR code image Q and the display texture TT can be suppressed. Therefore, the simulation can be performed in the same manner as the data not having the identification data 23, 33, 43 using the data 20, 30, 40 having the identification data 23, 33, 43.

以上詳述した本実施形態は以下の利点を有する。   The embodiment described above has the following advantages.

・データ20,30,40は、シミュレーション対象を識別するデータである識別データ23,33,43をそれぞれ備えている。識別データ23,33,43は、形状データ21,31,41により特定される3次元画像に対してそれぞれ描かれるテクスチャ(2次元画像)のデータとして指定されている。このため、一般的な3次元画像データ作成ソフトウェアを用いた場合であっても、シミュレーションに用いられるデータの一部であるテクスチャのデータとして、3次元画像データに識別データ23,33,43を付与することができる。さらに、データ20,30,40のうち識別データ23,33,43に対応する2次元画像のデータをそれぞれ特定し、その2次元画像を解析することにより、シミュレーション対象を識別するテキストデータを取得することができる。このため、データの形式が変換された場合に、識別データ23,33,43に対応する2次元画像が劣化するおそれはあるものの、2次元画像に基づいて取得される識別データとしてのテキストデータが欠損することを抑制することができる。   The data 20, 30, and 40 include identification data 23, 33, and 43 that are data for identifying the simulation target, respectively. The identification data 23, 33, and 43 are specified as texture (two-dimensional image) data drawn for the three-dimensional image specified by the shape data 21, 31, and 41, respectively. For this reason, even when general three-dimensional image data creation software is used, identification data 23, 33, and 43 are given to the three-dimensional image data as texture data that is part of the data used for the simulation. can do. Furthermore, the data 20, 30 and 40 are respectively identified as two-dimensional image data corresponding to the identification data 23, 33 and 43, and the two-dimensional image is analyzed to obtain text data for identifying the simulation target. be able to. For this reason, when the data format is converted, the two-dimensional image corresponding to the identification data 23, 33, 43 may be deteriorated, but the text data as the identification data acquired based on the two-dimensional image is Loss can be suppressed.

・シミュレーションの実行時に、形状データ21,31,41により特定される3次元画像に対して、識別データ23,33,43に対応するQRコード画像がそれぞれ描かれ、そのQRコード画像の上に重ねて表示用テクスチャが描かれる。このため、識別データ23,33,43に対応するQRコード画像が外観上表示されることはなく、識別データ23,33,43をそれぞれ有するデータ20,30,40を用いて、識別データ23,33,43を有しない3次元画像データと同様にシミュレーションを行うことができる。   When executing the simulation, QR code images corresponding to the identification data 23, 33, and 43 are respectively drawn on the three-dimensional image specified by the shape data 21, 31, and 41, and are superimposed on the QR code image. Display texture. Therefore, the QR code image corresponding to the identification data 23, 33, 43 is not displayed in appearance, and the identification data 23, The simulation can be performed in the same manner as the three-dimensional image data without 33, 43.

・識別データ23,33,43に対応するQRコード画像のデータと表示用テクスチャのデータとは、形状データ21,31,41により特定される3次元画像における同一の面に対してそれぞれ描かれる画像のデータとして指定されている。こうした構成によれば、シミュレーション対象の3次元画像に新たな面を設ける必要がなく、表示用テクスチャと同様にして、元々の3次元画像に対して識別データ23,33,43に対応するQRコード画像を描くことができる。   The QR code image data and display texture data corresponding to the identification data 23, 33, and 43 are images drawn on the same surface in the three-dimensional image specified by the shape data 21, 31, and 41, respectively. Specified as data. According to such a configuration, it is not necessary to provide a new surface for the three-dimensional image to be simulated, and QR codes corresponding to the identification data 23, 33, and 43 for the original three-dimensional image in the same manner as the display texture. You can draw an image.

・識別データ23,33,43に対応するQRコード画像のデータは、表示用テクスチャよりも先に描かれる画像のデータとして指定されている。こうした構成によれば、シミュレーションの実行時に形状データ21,31,41により特定される3次元画像の同一の面に対して、識別データ23,33,43に対応するQRコード画像がそれぞれ描かれた後に表示用テクスチャが描かれる。このため、形状データ21,31,41により特定される3次元画像を表示する際に、識別データ23,33,43に対応するQRコード画像と表示用テクスチャとがちらつくことを抑制することができる。   The QR code image data corresponding to the identification data 23, 33, 43 is designated as image data drawn before the display texture. According to such a configuration, QR code images corresponding to the identification data 23, 33, and 43 are drawn on the same surface of the three-dimensional image specified by the shape data 21, 31, and 41 when the simulation is executed. A display texture is drawn later. For this reason, when displaying the three-dimensional image specified by the shape data 21, 31, 41, it is possible to suppress flickering of the QR code image corresponding to the identification data 23, 33, 43 and the display texture. .

・識別データ23,33,43に対応する2次元画像は、識別データ23,33,43をそれぞれQRコードに変換した2次元画像であるため、データ形式の変換に伴ってQRコードの画像が劣化したとしても、QRコードに基づいて取得される識別データとしてのテキストデータの劣化を抑制することができる。すなわち、実物に印刷されたQRコードが若干不明瞭であったとしても、QRコードから読み取られるデータは劣化しない。これと同様にして、形状データ21,31,41により特定される3次元画像に対して描かれたQRコードが若干不明瞭であったとしても、QRコードから読み取られる識別データとしてのテキストデータは劣化しない。   Since the two-dimensional image corresponding to the identification data 23, 33, 43 is a two-dimensional image obtained by converting the identification data 23, 33, 43 into a QR code, the QR code image deteriorates as the data format is converted. Even if it does, degradation of the text data as identification data acquired based on QR Code can be suppressed. That is, even if the QR code printed on the actual object is slightly unclear, the data read from the QR code does not deteriorate. Similarly, even if the QR code drawn on the three-dimensional image specified by the shape data 21, 31, 41 is slightly unclear, the text data as identification data read from the QR code is Does not deteriorate.

・QRコードは、誤り訂正機能を有する図形コードであるため、データ形式の変換に伴ってQRコードの画像が劣化し、QRコードから読み取られるデータの一部に誤りが生じたとしても、データの誤りを訂正することができる。すなわち、実物に印刷されたQRコードの一部が汚れ等により欠損したとしても、誤り訂正機能により読み取りデータの誤りを訂正することができる。これと同様にして、形状データ21,31,41により特定される3次元画像に対して描かれたQRコードの一部がデータ形式の変換に伴って欠損したとしても、誤り訂正機能により識別データとしてのテキストデータの誤りを訂正することができる。要するに、実物に印刷されたQRコードが汚れ等に強いという特性を持つのと同様に、3次元画像に対して描かれたQRコードはデータ形式の変換に強いという特性を持つ。したがって、識別データとしてのテキストデータの劣化をより効果的に抑制することができる。   Since the QR code is a graphic code having an error correction function, even if the QR code image deteriorates with the conversion of the data format and an error occurs in a part of the data read from the QR code, Errors can be corrected. That is, even if a part of the QR code printed on the actual object is lost due to dirt or the like, the error of the read data can be corrected by the error correction function. Similarly, even if a part of the QR code drawn for the three-dimensional image specified by the shape data 21, 31, 41 is lost due to the conversion of the data format, the identification data is obtained by the error correction function. The error of the text data can be corrected. In short, the QR code drawn on the three-dimensional image has the characteristic that it is resistant to data format conversion, as the QR code printed on the real object has the characteristic that it is resistant to dirt. Therefore, it is possible to more effectively suppress the deterioration of the text data as the identification data.

・データ検索部11により、データ20,30,40から、形状データ21,31,41により特定される3次元画像における同一の面に描かれる画像のデータとして指定されているデータがそれぞれ検索される。このため、データ20,30,40の中から、識別データ23,33,43に対応する2次元画像のデータをそれぞれ検索することができる。   The data retrieval unit 11 retrieves data designated as data of images drawn on the same plane in the three-dimensional image specified by the shape data 21, 31, 41 from the data 20, 30, 40, respectively. . For this reason, the data of the two-dimensional image corresponding to the identification data 23, 33, 43 can be searched from the data 20, 30, 40, respectively.

・コード特定部12により、データ20,30,40のうち、形状データ21,31,41により特定される3次元画像に対して描かれるQRコード画像のデータとして指定されているデータがそれぞれ解析され、QRコードが特定される。すなわち、形状データ21,31,41により特定される3次元画像に対して描かれるQRコード画像のデータから、識別データ23,33,43をQRコードに変換した2次元画像のデータがそれぞれ特定される。そして、識別データ取得部13により、コード特定部12で特定されたQRコードを復号することにより、シミュレーション対象を識別する識別データとしてのテキストデータを取得することができる。   The code specifying unit 12 analyzes data specified as QR code image data drawn for the three-dimensional image specified by the shape data 21, 31, 41 among the data 20, 30, 40, respectively. QR code is specified. That is, two-dimensional image data obtained by converting the identification data 23, 33, and 43 into QR codes is identified from the QR code image data drawn for the three-dimensional image identified by the shape data 21, 31, 41. The Then, the identification data acquisition unit 13 can acquire text data as identification data for identifying the simulation target by decoding the QR code specified by the code specification unit 12.

なお、本実施形態を、以下のように変形して実施することもできる。   In addition, this embodiment can also be implemented as modified as follows.

・シミュレーション装置10において、3次元画像に対して下に描かれるテクスチャと上に描かれるテクスチャとを指定することができる場合には、識別データ23,33,43に対応するQRコード画像を下に描かれるテクスチャとして指定し、表示用テクスチャを上に描かれるテクスチャとして指定してもよい。こうした構成によれば、シミュレーションの実行時に3次元画像の同一の面において、識別データ23,33,43に対応するQRコード画像の上に重ねて表示用テクスチャが描かれる。このため、シミュレーション対象の3次元画像を表示する際に、QRコード元画像と表示用テクスチャとがちらつくことを抑制することができる。   When the simulation apparatus 10 can specify the texture drawn below and the texture drawn above for the three-dimensional image, the QR code image corresponding to the identification data 23, 33, 43 is The texture to be drawn may be specified, and the display texture may be specified as the texture to be drawn above. According to such a configuration, the display texture is drawn on the QR code image corresponding to the identification data 23, 33, 43 on the same surface of the three-dimensional image when the simulation is executed. For this reason, when displaying the 3D image to be simulated, the QR code original image and the display texture can be prevented from flickering.

・上記実施形態では、データ検索部11が、各データ20,30,40から、それぞれの形状データ21,31,41の特定する3次元画像における同一の面に対して描かれる画像のデータを検索した後に、コード特定部12が、検索されたデータを解析してQRコードを特定した。しかしながら、コード特定部12(特定部)が、各データ20,30,40のうち、3次元画像に対して描かれるテクスチャのデータとして指定されているデータを全て解析して、QRコードを特定することもできる。その場合には、シミュレーションに支障がなければ、表示用テクスチャの描かれていない面にQRコード画像を表示してもよい。   In the above embodiment, the data search unit 11 searches the data 20, 30, and 40 for image data drawn on the same surface in the three-dimensional image specified by the shape data 21, 31, and 41. After that, the code specifying unit 12 analyzes the searched data and specifies the QR code. However, the code specifying unit 12 (specifying unit) analyzes all the data designated as the texture data drawn for the three-dimensional image among the data 20, 30, and 40, and specifies the QR code. You can also In that case, if there is no problem in the simulation, the QR code image may be displayed on the surface where the display texture is not drawn.

・シミュレーションに支障がなければ、表示用テクスチャの上に重ねてQRコード画像を描いたり、表示用テクスチャを省略してQRコード画像を描いたりすることもできる。   If there is no problem with the simulation, a QR code image can be drawn on the display texture, or a QR code image can be drawn without the display texture.

(第2実施形態)
第1実施形態では、識別データ23,33,43に対応するQRコード画像が外観上表示されないようにするために、QRコード画像の上に重ねて表示用テクスチャを描くようにした。これに対して、第2実施形態では、形状データ21,31,41により特定される3次元画像の内面に、識別データ23,33,43に対応するQRコード画像をそれぞれ描くようにしている。その他の点は、第1実施形態と同様であるため、以下、第1実施形態との相違点を中心に説明する。
(Second Embodiment)
In the first embodiment, in order to prevent the QR code images corresponding to the identification data 23, 33, and 43 from being displayed on the appearance, the display texture is drawn on the QR code image. In contrast, in the second embodiment, QR code images corresponding to the identification data 23, 33, and 43 are drawn on the inner surfaces of the three-dimensional images specified by the shape data 21, 31, and 41, respectively. Since the other points are the same as those of the first embodiment, the following description will focus on differences from the first embodiment.

図6は、上記部品データ20の構造の概要を示す図である。ここでは、部品の形状等を簡略化して説明する。   FIG. 6 is a diagram showing an outline of the structure of the component data 20. Here, the shape of the parts and the like will be described in a simplified manner.

同図に示すように、部品の形状は「BOX」(直方体)に指定されており、x,y,z方向における各辺の長さはそれぞれ1,2,3に設定されている。   As shown in the figure, the shape of the part is designated as “BOX” (cuboid), and the length of each side in the x, y, and z directions is set to 1, 2, and 3, respectively.

原点を「BOX」の中心としてx方向に垂直な面の位置−0.5(x方向)に対して、その内側で近傍となる位置、すなわちx方向に−0.49、y方向に0、及びz方向に0の位置が、QRコード画像を貼り付ける平面の基準座標として設定されている。その基準座標において、この平面は、z軸回りに90°(1.57rad)回転させられ、x方向に垂直な面と平行になるように設定されている。この面は、x方向のメッシュ数が2、z方向のメッシュ数2、高さが0に設定されている。   With respect to the position −0.5 (x direction) of the surface perpendicular to the x direction with the origin as the center of “BOX”, the position that is close to the inside, that is, −0.49 in the x direction, 0 in the y direction, And the position of 0 in the z direction is set as the reference coordinates of the plane on which the QR code image is pasted. In the reference coordinates, this plane is rotated by 90 ° (1.57 rad) around the z axis and is set to be parallel to a plane perpendicular to the x direction. This surface is set to have 2 meshes in the x direction, 2 meshes in the z direction, and 0 height.

そして、平面の表面(部品の内面)に2次元画像をテクスチャとして貼り付けることが指定されており、この2次元画像のデータは“QRcode.gif”という名前のgif形式のデータとなっている。“QRcode.gif”のデータは、上記部品識別データ23に相当し、部品の製造番号や、素材、重量等を識別するテキストデータを、QRコードに変換した2次元画像(QRコード画像)のデータである。テクスチャとしてのQRコード画像は、繰り返し数、及び表示スケールが省略されている。   Then, it is specified that the two-dimensional image is pasted as a texture on the surface of the plane (the inner surface of the part), and the data of the two-dimensional image is data in the gif format named “QRcode.gif”. The data “QRcode.gif” corresponds to the part identification data 23 described above, and is data of a two-dimensional image (QR code image) obtained by converting text data for identifying a part manufacturing number, material, weight, etc. into a QR code. It is. In the QR code image as the texture, the number of repetitions and the display scale are omitted.

ここでは記載していないが、第1実施形態と同様にして、部品データ20では、同一の「BOX」の表面(部品の外面)に、別の2次元画像をテクスチャとして貼り付けることが指定されている。この2次元画像のデータは“surface.gif”という名前のgif形式のデータとなっている。“surface.gif”のデータは、上記テクスチャデータ22に相当し、部品の外観検査等で用いられる表示用テクスチャのデータである。このテクスチャを貼り付ける際に、繰り返しは無しに設定され、表示スケールはx方向及びy方向共に2倍(1/0.5)に指定されている。   Although not described here, as in the first embodiment, the component data 20 specifies that another two-dimensional image is pasted as a texture on the same “BOX” surface (the outer surface of the component). ing. The data of the two-dimensional image is gif format data named “surface.gif”. The data of “surface.gif” corresponds to the texture data 22 and is display texture data used in the appearance inspection of the parts. When this texture is pasted, no repetition is set, and the display scale is specified to be double (1 / 0.5) in both the x and y directions.

また、設備データ30では、上記部品に代えて設備について設定されており、データの基本的な構造は部品データ20と同様である。すなわち、設備の形状が設定されるとともに、設備の内面と外面とに2次元画像をテクスチャとして貼り付けることが指定されている。設備データ30は、テクスチャのデータとして、上記設備識別データ33に相当するデータ(設備の内面に貼り付ける画像のデータ)と、上記テクスチャデータ32に相当するデータ(設備の外面に貼り付ける画像のデータ)とを備えている。設備識別データ33に相当するデータは、設備の型式や番号等を識別するテキストデータを、QRコードに変換した2次元画像(QRコード画像)のデータであり、gif形式のデータとなっている。テクスチャデータ32に相当するデータは、設備の外面に対して貼り付ける2次元画像のデータとして指定されており、gif形式のデータとなっている。   In addition, in the equipment data 30, the equipment is set instead of the above parts, and the basic structure of the data is the same as that of the parts data 20. That is, the shape of the facility is set, and it is specified that a two-dimensional image is pasted as a texture on the inner surface and the outer surface of the facility. The equipment data 30 includes, as texture data, data corresponding to the equipment identification data 33 (image data pasted on the inner surface of the equipment) and data corresponding to the texture data 32 (data of images pasted on the outer surface of the equipment). ). The data corresponding to the facility identification data 33 is data of a two-dimensional image (QR code image) obtained by converting text data for identifying the type and number of the facility into a QR code, and is data in the gif format. Data corresponding to the texture data 32 is specified as data of a two-dimensional image to be pasted on the outer surface of the equipment, and is data in gif format.

また、ロボットデータ40では、上記部品に代えてロボットについて設定されており、データの基本的な構造は部品データ20と同様である。すなわち、ロボットの形状が設定されるとともに、ロボットの内面と外面とに2次元画像をテクスチャとして貼り付けることが指定されている。ロボットデータ40は、テクスチャのデータとして、上記ロボット識別データ43に相当するデータ(設備の内面に貼り付ける画像のデータ)と、上記テクスチャデータ42に相当するデータ(設備の外面に貼り付ける画像のデータ)とを備えている。ロボット識別データ43に相当するデータは、ロボットの型式や番号等を識別するテキストデータを、QRコードに変換した2次元画像(QRコード画像)のデータであり、ここではビットマップ形式のデータとなっている。テクスチャデータ42に相当するデータは、ロボットの外面に対して貼り付ける2次元画像のデータとして指定されており、ここではビットマップ形式のデータとなっている。   In the robot data 40, a robot is set instead of the above parts, and the basic structure of the data is the same as that of the parts data 20. That is, the shape of the robot is set, and it is specified that a two-dimensional image is pasted as a texture on the inner and outer surfaces of the robot. The robot data 40 includes, as texture data, data corresponding to the robot identification data 43 (image data pasted on the inner surface of the facility) and data corresponding to the texture data 42 (data of image pasted on the outer surface of the facility). ). The data corresponding to the robot identification data 43 is data of a two-dimensional image (QR code image) obtained by converting text data for identifying a robot type and number into a QR code, and here is data in a bitmap format. ing. Data corresponding to the texture data 42 is specified as data of a two-dimensional image to be pasted on the outer surface of the robot, and is data in a bitmap format here.

図2に示したように、シミュレーション装置10(データ取得装置)は、データ検索部11、コード特定部12、識別データ取得部13、及び制御部14を備えている。これらは、演算装置や、記憶装置、入出力インターフェース等により構成されている。   As shown in FIG. 2, the simulation apparatus 10 (data acquisition apparatus) includes a data search unit 11, a code identification unit 12, an identification data acquisition unit 13, and a control unit 14. These are constituted by an arithmetic device, a storage device, an input / output interface, and the like.

データ検索部11(検索部)は、各データ20,30,40から、それぞれの形状データ21,31,41の特定する3次元画像における内部の面(内側の面)に対して描かれる画像のデータを検索する。図6に示す例に対しては、データ検索部11は、部品の3次元画像の表面に貼り付けられる2次元画像(テクスチャ)のデータとして指定されているデータから、「BOX」の内部に作成された平面に対して描かれる2次元画像のデータとして指定されているデータを検索する。そして、“QRcode.gif”のデータが検索される。   The data retrieval unit 11 (retrieval unit) obtains an image drawn from each data 20, 30, and 40 with respect to an inner surface (inner surface) in the three-dimensional image specified by each shape data 21, 31, and 41. Search for data. For the example shown in FIG. 6, the data search unit 11 creates in the “BOX” from the data specified as the data of the two-dimensional image (texture) pasted on the surface of the three-dimensional image of the part. The data designated as the data of the two-dimensional image drawn for the designated plane is searched. Then, the data of “QRcode.gif” is searched.

コード特定部12(特定部)は、第1実施形態と同様に、データ検索部11から上記検索されたデータを読み込み、そのデータを解析してQRコードを特定する。図6に示す例に対しては、“QRcode.gif”のデータが解析され、“QRcode.gif”のデータからQRコード画像、ひいてはQRコードが特定される。   Similar to the first embodiment, the code specifying unit 12 (specifying unit) reads the searched data from the data search unit 11 and analyzes the data to specify the QR code. For the example shown in FIG. 6, the data “QRcode.gif” is analyzed, and the QR code image, and thus the QR code, is identified from the data “QRcode.gif”.

識別データ取得部13(取得部)は、第1実施形態と同様に、コード特定部12から上記特定されたQRコードを読み込み、QRコードを復号してシミュレーション対象を識別するテキストデータを取得する。ここで、コード特定部12により特定されたQRコードの一部に誤りが存在した場合であっても、QRコードの誤り訂正機能によりその誤りが訂正される。   Similar to the first embodiment, the identification data acquisition unit 13 (acquisition unit) reads the QR code specified above from the code specification unit 12, decodes the QR code, and acquires text data for identifying the simulation target. Here, even if an error exists in a part of the QR code specified by the code specifying unit 12, the error is corrected by the error correction function of the QR code.

制御部14は、第1実施形態と同様に、識別データ取得部13から上記取得されたテキストデータを読み込み、そのテキストデータによりシミュレーション対象を識別した結果を用いて、部品の外観検査の工程をシミュレーションする。そして、制御部14は、シミュレーションの結果をモニタ15(表示装置)に表示させる。ここで、図7に示すように、QRコード画像Qは、シミュレーション対象の内部に作成された平面S3に貼り付けられている。表示を一部省略しているが、シミュレーション対象の表面S2等(外面)には、表示用テクスチャTTが貼り付けられている。このため、シミュレーションの実行時に、QRコード画像Qは外観上表示されることはなく、QRコード画像Qと表示用テクスチャTTとがちらつくことを抑制することができる。したがって、識別データ23,33,43をそれぞれ有するデータ20,30,40を用いて、識別データ23,33,43を有しないデータと同様にシミュレーションを行うことができる。   As in the first embodiment, the control unit 14 reads the acquired text data from the identification data acquisition unit 13 and uses the result of identifying the simulation target based on the text data to simulate a part appearance inspection process. To do. And the control part 14 displays the result of simulation on the monitor 15 (display apparatus). Here, as shown in FIG. 7, the QR code image Q is pasted on the plane S <b> 3 created inside the simulation target. Although a part of the display is omitted, a display texture TT is pasted on the surface S2 or the like (outer surface) to be simulated. For this reason, when the simulation is executed, the QR code image Q is not displayed in appearance, and flickering between the QR code image Q and the display texture TT can be suppressed. Therefore, using data 20, 30, and 40 having identification data 23, 33, and 43, respectively, a simulation can be performed in the same manner as data that does not have identification data 23, 33, and 43.

以上詳述した本実施形態は以下の利点を有する。ここでは、第1実施形態と相違する利点のみを述べる。   The embodiment described above has the following advantages. Here, only the advantages different from the first embodiment will be described.

・識別データ23,33,43は、形状データ21,31,41により特定される3次元画像の内部に作成された平面(内側の面)に対してそれぞれ描かれるテクスチャ(2次元画像)のデータとして指定されている。このため、シミュレーションの実行時に、識別データ23,33,43に対応する2次元画像は3次元画像の内側に描かれ、外観上表示されることが抑制される。したがって、識別データ23,33,43をそれぞれ有するデータ20,30,40を用いて、識別データ23,33,43を有しない3次元画像データと同様にシミュレーションを行うことができる。   Identification data 23, 33, and 43 are texture (two-dimensional image) data drawn on a plane (inner surface) created inside the three-dimensional image specified by the shape data 21, 31, and 41, respectively. Is specified as For this reason, at the time of executing the simulation, the two-dimensional image corresponding to the identification data 23, 33, 43 is drawn inside the three-dimensional image and is prevented from being displayed on the appearance. Therefore, using data 20, 30, and 40 having identification data 23, 33, and 43, respectively, a simulation can be performed in the same manner as three-dimensional image data that does not have identification data 23, 33, and 43.

・シミュレーション対象の内部に平面を作成して、その平面に識別データ23,33,43に対応するQRコード画像をそれぞれ貼り付けている。このため、シミュレーション装置10において、形状データ21,31,41により特定される3次元画像における同一の面に対して、内側と外側とにテクスチャを貼り付けることができない場合であっても、QRコード画像を3次元画像の内側に描くことができる。   A plane is created inside the simulation target, and QR code images corresponding to the identification data 23, 33, and 43 are pasted on the plane. For this reason, in the simulation apparatus 10, even if it is a case where a texture cannot be affixed inside and outside with respect to the same surface in the three-dimensional image specified by the shape data 21, 31, 41, the QR code An image can be drawn inside a three-dimensional image.

・データ検索部11により、データ20,30,40から、形状データ21,31,41により特定される3次元画像の内側の面に対して描かれる2次元画像のデータとして指定されているデータがそれぞれ検索される。このため、データ20,30,40の中から、識別データ23,33,43に対応する2次元画像のデータをそれぞれ検索することができる。   Data specified by the data search unit 11 as data of a two-dimensional image drawn from the data 20, 30, 40 on the inner surface of the three-dimensional image specified by the shape data 21, 31, 41 Each is searched. For this reason, the data of the two-dimensional image corresponding to the identification data 23, 33, 43 can be searched from the data 20, 30, 40, respectively.

なお、本実施形態を、以下のように変形して実施することもできる。   In addition, this embodiment can also be implemented as modified as follows.

・シミュレーション装置10において、形状データ21,31,41により特定される3次元画像における同一の面に対して、内側と外側とにテクスチャを貼り付けることができる場合には、以下のように実施することもできる。すなわち、識別データ23,33,43とテクスチャデータ22,32,42とを、3次元画像における同一の面に対して内面と外面とにそれぞれ描かれる画像のデータとして指定する。こうした構成によれば、識別データ23,33,43に対応するQRコード画像が表示用テクスチャにより覆われ、外観上表示されることが抑制される。さらに、シミュレーション対象の3次元画像に新たな面を設ける必要がなく、表示用テクスチャと同様にして、元々の3次元画像に対して識別データ23,33,43に対応するQRコード画像を描くことができる。この場合には、図7に示すように、QRコード画像Qと表示用テクスチャTTとについて、3次元画像に対して画像を描く向きを示す法線ベクトルn1,n2を互いに逆向きに指定するとよい。   In the simulation apparatus 10, when textures can be pasted on the inside and outside of the same surface in the three-dimensional image specified by the shape data 21, 31, 41, the following is performed. You can also That is, the identification data 23, 33, 43 and the texture data 22, 32, 42 are specified as image data drawn on the inner surface and the outer surface, respectively, with respect to the same surface in the three-dimensional image. According to such a configuration, the QR code image corresponding to the identification data 23, 33, 43 is covered with the display texture and is suppressed from being displayed on the appearance. Further, it is not necessary to provide a new surface for the 3D image to be simulated, and a QR code image corresponding to the identification data 23, 33, 43 is drawn on the original 3D image in the same manner as the display texture. Can do. In this case, as shown in FIG. 7, normal vectors n1 and n2 indicating the drawing direction of the three-dimensional image with respect to the QR code image Q and the display texture TT may be designated in opposite directions. .

・シミュレーションに支障がなければ、表示用テクスチャの描かれない面の内側にQRコード画像を描いたり、3次元画像の外面に描かれる表示用テクスチャを省略して、3次元画像の内部に作成された平面又は3次元画像の内面に、QRコード画像を描いたりすることもできる。   If there is no problem with the simulation, the QR code image is drawn inside the surface where the display texture is not drawn, or the display texture drawn on the outer surface of the 3D image is omitted, and it is created inside the 3D image. It is also possible to draw a QR code image on the inner surface of a flat plane or a three-dimensional image.

・上記実施形態では、データ検索部11は、各データ20,30,40から、それぞれの形状データ21,31,41の特定する3次元画像における内部の面(内側の面)に対して描かれる画像のデータを検索した後に、コード特定部12が、検索されたデータを解析してQRコードを特定した。しかしながら、コード特定部12(特定部)が、各データ20,30,40のうち、3次元画像における内部の面に対して描かれるテクスチャのデータとして指定されているデータを全て解析して、QRコードを特定することもできる。   In the above embodiment, the data search unit 11 is drawn from each data 20, 30, 40 with respect to the inner surface (inner surface) in the three-dimensional image specified by the respective shape data 21, 31, 41. After retrieving the image data, the code identifying unit 12 analyzes the retrieved data and identifies the QR code. However, the code specifying unit 12 (specifying unit) analyzes all the data designated as the texture data drawn on the internal surface in the three-dimensional image among the data 20, 30, and 40, and performs the QR. You can also specify the code.

・上記実施形態では、シミュレーション装置10のデータ検索部11が、各データ20,30,40から、3次元画像における内部の面に対して描かれるQRコード画像のデータを検索した。しかしながら、検索された画像のデータを解析するのではなく、作業者がモニタ15において3次元画像を見ながら、識別データ23,33,43に対応するQRコード画像を探すこともできる。この場合には、データ20,30,40の構造を以下のようにするとよい。   In the above embodiment, the data search unit 11 of the simulation apparatus 10 searches the data 20, 30, and 40 for QR code image data drawn on the internal surface in the three-dimensional image. However, instead of analyzing the data of the searched image, the operator can search for a QR code image corresponding to the identification data 23, 33, 43 while looking at the three-dimensional image on the monitor 15. In this case, the structure of the data 20, 30, 40 should be as follows.

すなわち、識別データ23,33,43に対応するQRコード画像のデータを、3次元画像の内面を所定方向から撮影した場合に表示される画像のデータとして指定する。例えば、部品の形状を「BOX」(直方体)に指定し、x,y,z方向における各辺の長さをそれぞれ1,2,3に設定したとする。原点を「BOX」の中心としてz方向に垂直な面の位置1.5(z方向)に対して、その内側で近傍となる位置、すなわちx方向に0、y方向に0、及びz方向に1.49の位置を、QRコード画像を貼り付ける平面の基準座標として設定する。その基準座標において、この平面を、z方向に垂直な面と平行になるように回転させるように設定する。そして、この平面にQRコード画像を貼り付けるように設定する。こうした構成によれば、シミュレーションの実行時に、3次元画像の内面をz方向の負から正側へ撮影することにより、識別データ23,33,43に対応するQRコード画像が表示される。このため、識別データ23,33,43に対応するQRコード画像を容易に探すことができる。   That is, QR code image data corresponding to the identification data 23, 33, and 43 is designated as image data to be displayed when the inner surface of the three-dimensional image is photographed from a predetermined direction. For example, it is assumed that the shape of the part is designated as “BOX” (cuboid), and the length of each side in the x, y, and z directions is set to 1, 2, and 3, respectively. With respect to the position 1.5 (z direction) of the plane perpendicular to the z direction with the origin as the center of the “BOX”, the position is the inner side, that is, 0 in the x direction, 0 in the y direction, and in the z direction. The position of 1.49 is set as the reference coordinate of the plane on which the QR code image is pasted. At the reference coordinates, this plane is set to rotate so as to be parallel to a plane perpendicular to the z direction. Then, a setting is made so that the QR code image is pasted on this plane. According to such a configuration, the QR code image corresponding to the identification data 23, 33, 43 is displayed by photographing the inner surface of the three-dimensional image from the negative side to the positive side in the z direction at the time of executing the simulation. Therefore, a QR code image corresponding to the identification data 23, 33, 43 can be easily searched.

また上記例によれば、識別データ23,33,43は、3次元画像の内面を撮影した場合に、識別データ23,33,43に対応するQRコード画像の描かれる位置(0,0,1.49)と撮影位置(0,0,0)との距離が、1.0(所定距離)よりも長くなる内面に描かれる画像のデータとして指定されている。こうした構成によれば、シミュレーションの実行時に、3次元画像の内面を撮影した場合に、QRコード画像と撮影位置との距離を確保することができ、QRコード画像を適切に表示することができる。したがって、識別データ23,33,43に対応するQRコード画像を容易に探すことができる。   Further, according to the above example, the identification data 23, 33, 43 is the position (0, 0, 1) where the QR code image corresponding to the identification data 23, 33, 43 is drawn when the inner surface of the three-dimensional image is photographed. .49) and the shooting position (0, 0, 0) are designated as data of an image drawn on the inner surface that is longer than 1.0 (predetermined distance). According to such a configuration, when the inner surface of the three-dimensional image is photographed at the time of executing the simulation, the distance between the QR code image and the photographing position can be secured, and the QR code image can be appropriately displayed. Therefore, a QR code image corresponding to the identification data 23, 33, 43 can be easily searched.

(第3実施形態)
第1実施形態では、識別データ23,33,43に対応するQRコード画像が外観上表示されないようにするために、QRコード画像の上に重ねて表示用テクスチャを描くようにした。これに対して、第3実施形態では、形状データ21,31,41により特定される3次元画像に対して、それぞれ識別データ23,33,43に対応するQRコード画像を、外観上無視することのできる大きさで描くようにしている。その他の点は、第1実施形態と同様であるため、以下、第1実施形態との相違点を中心に説明する。
(Third embodiment)
In the first embodiment, in order to prevent the QR code images corresponding to the identification data 23, 33, and 43 from being displayed on the appearance, the display texture is drawn on the QR code image. On the other hand, in the third embodiment, QR code images corresponding to the identification data 23, 33, and 43 are ignored in appearance for the three-dimensional images specified by the shape data 21, 31, and 41, respectively. I am trying to draw in a size that can be. Since the other points are the same as those of the first embodiment, the following description will focus on differences from the first embodiment.

図8は、上記部品データ20の構造の概要を示す図である。ここでは、部品の形状等を簡略化して説明する。   FIG. 8 is a diagram showing an outline of the structure of the component data 20. Here, the shape of the parts and the like will be described in a simplified manner.

同図に示すように、部品の形状は「BOX」(直方体)に指定されており、x,y,z方向における各辺の長さはそれぞれ1,2,3に設定されている。部品の表面に2次元画像をテクスチャとして貼り付けることが指定されており、この2次元画像のデータは“QRcode.gif”という名前のgif形式のデータとなっている。“QRcode.gif”のデータは、上記部品識別データ23に相当し、部品の製造番号や、素材、重量等を識別するテキストデータを、QRコードに変換した2次元画像(QRコード画像)のデータである。このテクスチャを貼り付ける際に、表示スケールはx方向及びy方向共に1/2000倍(第2倍率)に指定されている。これにより、シミュレーションの実行時に、QRコード画像は部品の3次元画像に対して外観上無視することのできる大きさで描かれ、また部品が移動される際の最小移動量と比較して1000分の1未満の大きさで描かれる。なお、テクスチャとしてのQRコード画像は、繰り返し数が省略されている。   As shown in the figure, the shape of the part is designated as “BOX” (cuboid), and the length of each side in the x, y, and z directions is set to 1, 2, and 3, respectively. It is specified that a two-dimensional image is pasted as a texture on the surface of the component, and the data of the two-dimensional image is data in a gif format named “QRcode.gif”. The data “QRcode.gif” corresponds to the part identification data 23 described above, and is data of a two-dimensional image (QR code image) obtained by converting text data for identifying a part manufacturing number, material, weight, etc. into a QR code. It is. When pasting this texture, the display scale is specified to be 1/2000 times (second magnification) in both the x and y directions. Thus, when the simulation is executed, the QR code image is drawn in a size that can be ignored in appearance with respect to the three-dimensional image of the component, and 1000 minutes compared with the minimum movement amount when the component is moved. It is drawn with a size of less than 1. Note that the number of repetitions is omitted from the QR code image as the texture.

ここでは記載していないが、第1実施形態と同様にして、部品データ20では、同一の「BOX」の表面(同一の面)に、別の2次元画像をテクスチャとして貼り付けることが指定されている。この2次元画像のデータは“surface.gif”という名前のgif形式のデータとなっている。“surface.gif”のデータは、上記テクスチャデータ22に相当し、部品の外観検査等で用いられる表示用テクスチャのデータである。この表示用テクスチャは、上記QRコード画像よりも先に、部品の表面に貼り付けられる。このテクスチャを貼り付ける際に、繰り返しは無しに設定され、表示スケールはx方向及びy方向共に2倍(第1倍率)に指定されている。したがって、部品の3次元画像に対して、QRコード画像は表示用テクスチャよりも小さい倍率で描かれる。   Although not described here, in the same manner as in the first embodiment, the component data 20 specifies that another two-dimensional image is pasted as a texture on the same “BOX” surface (the same surface). ing. The data of the two-dimensional image is gif format data named “surface.gif”. The data of “surface.gif” corresponds to the texture data 22 and is display texture data used in the appearance inspection of the parts. This display texture is pasted on the surface of the component prior to the QR code image. When this texture is pasted, no repetition is set, and the display scale is specified to be twice (first magnification) in both the x and y directions. Therefore, the QR code image is drawn with a smaller magnification than the display texture with respect to the three-dimensional image of the part.

また、設備データ30では、上記部品に代えて設備について設定されており、データの基本的な構造は部品データ20と同様である。すなわち、設備の形状が設定されるとともに、設備の表面に2次元画像をテクスチャとして貼り付けることが指定されている。設備データ30は、テクスチャのデータとして、上記設備識別データ33に相当するデータと、上記テクスチャデータ32に相当するデータとを備えている。設備識別データ33に相当するデータは、設備の型式や番号等を識別するテキストデータを、QRコードに変換した2次元画像(QRコード画像)のデータであり、gif形式のデータとなっている。テクスチャデータ32に相当するデータは、設備における同一の面に対してQRコード画像よりも先に貼り付ける2次元画像のデータとして指定されており、gif形式のデータとなっている。   In addition, in the equipment data 30, the equipment is set instead of the above parts, and the basic structure of the data is the same as that of the parts data 20. That is, the shape of the facility is set, and it is specified that a two-dimensional image is pasted as a texture on the surface of the facility. The equipment data 30 includes data corresponding to the equipment identification data 33 and data corresponding to the texture data 32 as texture data. The data corresponding to the facility identification data 33 is data of a two-dimensional image (QR code image) obtained by converting text data for identifying the type and number of the facility into a QR code, and is data in the gif format. Data corresponding to the texture data 32 is specified as data of a two-dimensional image to be pasted on the same surface of the equipment before the QR code image, and is data in the gif format.

また、ロボットデータ40では、上記部品に代えてロボットについて設定されており、データの基本的な構造は部品データ20と同様である。すなわち、ロボットの形状が設定されるとともに、ロボットの表面に2次元画像をテクスチャとして貼り付けることが指定されている。ロボットデータ40は、テクスチャのデータとして、上記ロボット識別データ43に相当するデータと、上記テクスチャデータ42に相当するデータとを備えている。ロボット識別データ43に相当するデータは、ロボットの型式や番号等を識別するテキストデータを、QRコードに変換した2次元画像(QRコード画像)のデータであり、ここではビットマップ形式のデータとなっている。テクスチャデータ42に相当するデータは、ロボットにおける同一の面に対してQRコード画像よりも先に貼り付ける2次元画像のデータとして指定されており、ここではビットマップ形式のデータとなっている。   In the robot data 40, a robot is set instead of the above parts, and the basic structure of the data is the same as that of the parts data 20. That is, the shape of the robot is set, and it is specified that a two-dimensional image is pasted as a texture on the surface of the robot. The robot data 40 includes data corresponding to the robot identification data 43 and data corresponding to the texture data 42 as texture data. The data corresponding to the robot identification data 43 is data of a two-dimensional image (QR code image) obtained by converting text data for identifying a robot type and number into a QR code, and here is data in a bitmap format. ing. Data corresponding to the texture data 42 is specified as data of a two-dimensional image to be pasted on the same surface of the robot prior to the QR code image, and is data in a bitmap format here.

図2に示したように、シミュレーション装置10(データ取得装置)は、データ検索部11、コード特定部12、識別データ取得部13、及び制御部14を備えている。これらは、演算装置や、記憶装置、入出力インターフェース等により構成されている。   As shown in FIG. 2, the simulation apparatus 10 (data acquisition apparatus) includes a data search unit 11, a code identification unit 12, an identification data acquisition unit 13, and a control unit 14. These are constituted by an arithmetic device, a storage device, an input / output interface, and the like.

データ検索部11(検索部)は、各データ20,30,40から、それぞれの形状データ21,31,41の特定する3次元画像に対して、最も小さい倍率で描かれる画像のデータとして指定されているデータを検索する。図8に示す例に対しては、データ検索部11は、部品の3次元画像の表面に貼り付けられる2次元画像(テクスチャ)のデータとして指定されているデータから、最も小さい倍率で描かれる2次元画像のデータとして指定されているデータを検索する。そして、“QRcode.gif”のデータが検索される。なお、データ検索部11が、部品の3次元画像の表面に貼り付けられる2次元画像のデータとして指定されているデータから、所定倍率(例えば1/100倍率)よりも小さい倍率で描かれる2次元画像のデータとして指定されているデータを検索するようにしてもよい。   The data retrieval unit 11 (retrieval unit) is designated as data of an image drawn with the smallest magnification with respect to the three-dimensional image specified by each shape data 21, 31, 41 from each data 20, 30, 40. Search for data. For the example shown in FIG. 8, the data search unit 11 is drawn with the smallest magnification from the data specified as the data of the two-dimensional image (texture) pasted on the surface of the three-dimensional image of the part. The data specified as the data of the dimensional image is searched. Then, the data of “QRcode.gif” is searched. Note that the data search unit 11 is drawn two-dimensionally at a magnification smaller than a predetermined magnification (for example, 1/100 magnification) from data designated as data of a two-dimensional image to be pasted on the surface of the three-dimensional image of the component. Data designated as image data may be searched.

コード特定部12(特定部)は、第1実施形態と同様に、データ検索部11から上記検索されたデータを読み込み、そのデータを解析してQRコードを特定する。図8に示す例に対しては、“QRcode.gif”のデータが解析され、“QRcode.gif”のデータからQRコード画像、ひいてはQRコードが特定される。   Similar to the first embodiment, the code specifying unit 12 (specifying unit) reads the searched data from the data search unit 11 and analyzes the data to specify the QR code. For the example shown in FIG. 8, the data of “QRcode.gif” is analyzed, and the QR code image, and thus the QR code, is identified from the data of “QRcode.gif”.

識別データ取得部13(取得部)は、第1実施形態と同様に、コード特定部12から上記特定されたQRコードを読み込み、QRコードを復号してシミュレーション対象を識別するテキストデータを取得する。ここで、コード特定部12により特定されたQRコードの一部に誤りが存在した場合であっても、QRコードの誤り訂正機能によりその誤りが訂正される。   Similar to the first embodiment, the identification data acquisition unit 13 (acquisition unit) reads the QR code specified above from the code specification unit 12, decodes the QR code, and acquires text data for identifying the simulation target. Here, even if an error exists in a part of the QR code specified by the code specifying unit 12, the error is corrected by the error correction function of the QR code.

制御部14は、第1実施形態と同様に、識別データ取得部13から上記取得されたテキストデータを読み込み、そのテキストデータによりシミュレーション対象を識別した結果を用いて、部品の外観検査の工程をシミュレーションする。そして、制御部14は、シミュレーションの結果をモニタ15(表示装置)に表示させる。ここで、図9に示すように、QRコード画像Qは、シミュレーション対象の面S4に対して、表示用テクスチャTTの上に重ねて外観上無視することのできる大きさで描かれている。このため、シミュレーションの実行時に、QRコード画像Qは極小の点として表示される。したがって、識別データ23,33,43をそれぞれ有するデータ20,30,40を用いて、識別データ23,33,43を有しないデータと同様にシミュレーションを行うことができる。   As in the first embodiment, the control unit 14 reads the acquired text data from the identification data acquisition unit 13 and uses the result of identifying the simulation target based on the text data to simulate a part appearance inspection process. To do. And the control part 14 displays the result of simulation on the monitor 15 (display apparatus). Here, as shown in FIG. 9, the QR code image Q is drawn in a size that can be ignored on the appearance by being superimposed on the display texture TT with respect to the simulation target surface S4. For this reason, the QR code image Q is displayed as a minimum point when the simulation is executed. Therefore, using data 20, 30, and 40 having identification data 23, 33, and 43, respectively, a simulation can be performed in the same manner as data that does not have identification data 23, 33, and 43.

以上詳述した本実施形態は以下の利点を有する。ここでは、第1実施形態と相違する利点のみを述べる。   The embodiment described above has the following advantages. Here, only the advantages different from the first embodiment will be described.

・シミュレーションの実行時に、識別データ23,33,43に対応するQRコード画像は、それぞれ形状データ21,31,41により特定される3次元画像に対して、表示用テクスチャを描く倍率である第1倍率(2倍)よりも小さい第2倍率(1/2000倍)で描かれる。すなわち、QRコード画像は、シミュレーション対象の3次元画像に対して、外観上無視することのできる大きさで描かれ、極小の点として表示される。このため、QRコード元画像が、シミュレーション対象の外観に影響を与えることを微小にすることができる。したがって、識別データ23,33,43をそれぞれ有するデータ20,30,40を用いて、識別データ23,33,43を有しない3次元画像データと同様にシミュレーションを行うことが可能となる。   The QR code image corresponding to the identification data 23, 33, and 43 at the time of executing the simulation is a first magnification that draws the display texture with respect to the three-dimensional image specified by the shape data 21, 31, and 41, respectively. It is drawn at a second magnification (1/2000 times) smaller than the magnification (2 times). That is, the QR code image is drawn in a size that can be ignored in appearance from the three-dimensional image to be simulated, and is displayed as a minimal point. For this reason, it can be made minute that the QR code original image affects the appearance of the simulation target. Therefore, it is possible to perform a simulation in the same manner as the three-dimensional image data not having the identification data 23, 33, 43 using the data 20, 30, 40 having the identification data 23, 33, 43, respectively.

・QRコード画像は、シミュレーション対象の3次元画像に対して、外観上無視することのできる大きさで描かれるため、表示用テクスチャの上に重ねてQRコード画像を描くことができる。   Since the QR code image is drawn in a size that can be ignored in appearance with respect to the three-dimensional image to be simulated, the QR code image can be drawn over the display texture.

・データ検索部11により、データ20,30,40から、形状データ21,31,41により特定される3次元画像に対して最も小さい倍率で描かれる画像のデータとして指定されているデータがそれぞれ検索される。このため、データ20,30,40の中から、識別データ23,33,43に対応する2次元画像のデータをそれぞれ検索することができる。なお、データ検索部11により、データ20,30,40から、3次元画像に対して所定倍率(例えば1/100倍率)よりも小さい倍率で描かれる画像のデータとして指定されているデータを検索するようにしても同様である。   The data retrieval unit 11 retrieves data designated as data of an image drawn at the smallest magnification with respect to the three-dimensional image specified by the shape data 21, 31, 41 from the data 20, 30, 40. Is done. For this reason, the data of the two-dimensional image corresponding to the identification data 23, 33, 43 can be searched from the data 20, 30, 40, respectively. The data retrieval unit 11 retrieves data designated as data of an image drawn at a magnification smaller than a predetermined magnification (for example, 1/100 magnification) from the data 20, 30, and 40 with respect to the three-dimensional image. Even if it does, it is the same.

なお、本実施形態を、以下のように変形して実施することもできる。   In addition, this embodiment can also be implemented as modified as follows.

・上記実施形態では、データ検索部11は、各データ20,30,40から、それぞれの形状データ21,31,41の特定する3次元画像に対して、最も小さい倍率で描かれる画像のデータとして指定されているデータを検索した後に、コード特定部12が、検索されたデータを解析してQRコードを特定した。しかしながら、コード特定部12(特定部)が、各データ20,30,40のうち、3次元画像に対して描かれるテクスチャのデータとして指定されているデータを全て解析して、QRコードを特定することもできる。   In the above embodiment, the data search unit 11 uses the data 20, 30, and 40 as data of an image drawn at the smallest magnification with respect to the three-dimensional images specified by the shape data 21, 31, and 41, respectively. After searching the designated data, the code specifying unit 12 analyzed the searched data and specified the QR code. However, the code specifying unit 12 (specifying unit) analyzes all the data designated as the texture data drawn for the three-dimensional image among the data 20, 30, and 40, and specifies the QR code. You can also

・上記実施形態では、シミュレーション装置10のデータ検索部11が、各データ20,30,40から、3次元画像に対して、最も小さい倍率で描かれる画像のデータとして指定されているデータを検索した。しかしながら、検索された画像のデータを解析するのではなく、作業者がモニタ15において3次元画像を見ながら、識別データ23,33,43に対応するQRコード画像を探すこともできる。この場合には、データ20,30,40の構造を以下のようにするとよい。   In the above-described embodiment, the data search unit 11 of the simulation apparatus 10 searches the data 20, 30, and 40 for data designated as data of an image drawn at the smallest magnification with respect to the three-dimensional image. . However, instead of analyzing the data of the searched image, the operator can search for a QR code image corresponding to the identification data 23, 33, 43 while looking at the three-dimensional image on the monitor 15. In this case, the structure of the data 20, 30, 40 should be as follows.

すなわち、識別データ23,33,43に対応するQRコード画像のデータを、基準位置において3次元画像を所定方向から撮影した場合に表示される画像のデータとして指定する。例えば、部品の形状を「BOX」(直方体)に指定し、x,y,z方向における各辺の長さをそれぞれ1,2,3に設定したとする。この場合には、部品のz方向に垂直な面の表面にQRコード画像を貼り付けるように指定する。こうした構成によれば、シミュレーションの実行時に、例えば基準位置(0,0,4)において3次元画像をz方向の正から負側へ撮影することにより、識別データ23,33,43に対応するQRコード画像が表示される。そして、QRコード画像を、例えば表示スケールの逆数倍して表示させることにより、QRコード画像を適切な大きさで表示させることができる。このため、識別データ23,33,43に対応するQRコード画像を容易に探すことができる。   That is, QR code image data corresponding to the identification data 23, 33, and 43 is designated as image data to be displayed when a three-dimensional image is taken from a predetermined direction at the reference position. For example, it is assumed that the shape of the part is designated as “BOX” (cuboid), and the length of each side in the x, y, and z directions is set to 1, 2, and 3, respectively. In this case, it is specified that the QR code image is pasted on the surface of the surface perpendicular to the z direction of the component. According to such a configuration, a QR corresponding to the identification data 23, 33, and 43 is captured by capturing a three-dimensional image from the positive side to the negative side in the z direction, for example, at the reference position (0, 0, 4) when executing the simulation. A code image is displayed. Then, the QR code image can be displayed in an appropriate size by displaying the QR code image by, for example, reciprocal times the display scale. Therefore, a QR code image corresponding to the identification data 23, 33, 43 can be easily searched.

なお、上記の各実施形態を、以下のように変形して実施することもできる。   In addition, each said embodiment can also be deform | transformed and implemented as follows.

・作業台STの設計を生産ライン設計者が行ったり、ロボットRBの設計をロボットメーカが行ったりしてもよい。要するに、それら作業台ST及びロボットRBのデータが、シミュレーション装置10に提供されればよい。   -The production line designer may design the work table ST, or the robot manufacturer may design the robot RB. In short, the data on the work table ST and the robot RB may be provided to the simulation apparatus 10.

・誤り訂正機能を有する図形コードとして、QRコードに代えてデータマトリクスコードを採用することもできる。また、QRコードに代えて、誤り訂正機能を有しない図形コードを採用することもでき、その他の2次元コードや、バーコードを採用することもできる。これらの場合であっても、データ形式の変換に伴って図形コードの画像が劣化したとしても、図形コードに基づいて取得される識別データとしてのテキストデータの劣化を抑制することができる。   A data matrix code can be used instead of the QR code as a graphic code having an error correction function. Further, a graphic code having no error correction function can be employed instead of the QR code, and other two-dimensional codes and bar codes can also be employed. Even in these cases, even if the image of the graphic code is deteriorated due to the conversion of the data format, it is possible to suppress the deterioration of the text data as identification data acquired based on the graphic code.

・識別データ23,33,43をQRコード画像のデータとし、シミュレーションの実行時に、3次元画像の表面に無色で貼り付けられる表示用テクスチャのデータとして指定してもよい。こうした構成によれば、シミュレーションの実行時に、識別データ23,33,43に対応するQRコード画像は無色で描かれるため、シミュレーションに影響を与えることを防止することができる。その結果、識別データ23,33,43をそれぞれ有するデータ20,30,40を用いて、識別データ23,33,43を有しない3次元画像データと同様にシミュレーションを行うことができる。   The identification data 23, 33, and 43 may be QR code image data, and may be specified as display texture data that is pasted colorless on the surface of the three-dimensional image when the simulation is executed. According to such a configuration, when the simulation is executed, the QR code image corresponding to the identification data 23, 33, and 43 is drawn in colorless, so that it is possible to prevent the simulation from being affected. As a result, using data 20, 30, and 40 having identification data 23, 33, and 43, respectively, a simulation can be performed in the same manner as three-dimensional image data that does not have identification data 23, 33, and 43.

・シミュレーション装置10において、データ検索部11、コード特定部12、識別データ取得部13、及び制御部14を、コンピュータプログラムの機能としてそれぞれ実現することもできる。その場合には、コンピュータプログラムの記録された媒体を、シミュレーション装置10(コンピュータ)により読み込み、そのコンピュータプログラム(方法)を実行するとよい。   -In the simulation apparatus 10, the data search part 11, the code specific | specification part 12, the identification data acquisition part 13, and the control part 14 can also each be implement | achieved as a function of a computer program. In that case, it is preferable to read a medium on which the computer program is recorded by the simulation apparatus 10 (computer) and execute the computer program (method).

・図10に示すように、テクスチャとしての識別データ23,33,43が、シミュレーション対象を識別するテキストデータTXを、テキスト(文字)の2次元画像IMとして表すようにすることもできる。そして、2次元画像IMをOCR(Optical Character Recognition)等で解析することにより、テキストデータTXを取得することができる。この場合であっても、シミュレーションに用いられるデータ20,30,40の一部である2次元画像のデータとして、データ20,30,40にそれぞれ識別データ23,33,43を付与することができる。さらに、データの形式が変換された場合に、識別データ23,33,43に対応する2次元画像IMが劣化するおそれはあるものの、2次元画像IMに基づいて取得される識別データとしてのテキストデータTXが欠損することを抑制することができる。   As shown in FIG. 10, the identification data 23, 33, and 43 as the texture may represent the text data TX that identifies the simulation target as a two-dimensional image IM of text (characters). The text data TX can be obtained by analyzing the two-dimensional image IM by OCR (Optical Character Recognition) or the like. Even in this case, identification data 23, 33, and 43 can be assigned to the data 20, 30, and 40, respectively, as data of a two-dimensional image that is a part of the data 20, 30, and 40 used in the simulation. . Furthermore, although the two-dimensional image IM corresponding to the identification data 23, 33, 43 may be deteriorated when the data format is converted, the text data as identification data acquired based on the two-dimensional image IM It is possible to suppress the loss of TX.

10…シミュレーション装置(データ取得装置、コンピュータ)、15…モニタ、20…部品データ、21…部品形状データ(3次元画像データ)、22…テクスチャデータ、23…部品識別データ(識別データ)、30…設備データ、31…設備形状データ(3次元画像データ)、32…テクスチャデータ、33…設備識別データ(識別データ)、40…ロボットデータ、41…ロボット形状データ(3次元画像データ)、42…テクスチャデータ、43…ロボット識別データ(識別データ)。   DESCRIPTION OF SYMBOLS 10 ... Simulation apparatus (data acquisition apparatus, computer), 15 ... Monitor, 20 ... Component data, 21 ... Component shape data (3D image data), 22 ... Texture data, 23 ... Component identification data (identification data), 30 ... Equipment data 31 ... Equipment shape data (3D image data), 32 ... Texture data, 33 ... Equipment identification data (identification data), 40 ... Robot data, 41 ... Robot shape data (3D image data), 42 ... Texture Data, 43... Robot identification data (identification data).

Claims (12)

生産ラインのシミュレーションに用いられるデータの構造であって、
シミュレーション対象の3次元画像を特定する3次元画像データと、
前記シミュレーション対象を識別するデータである識別データと、を備え、
前記識別データは、前記3次元画像に対して描かれる2次元画像のデータとして指定されていることを特徴とするデータ構造。
A data structure used for production line simulation,
3D image data for specifying a 3D image to be simulated;
Identification data that is data for identifying the simulation target,
The identification data is specified as data of a two-dimensional image drawn for the three-dimensional image.
前記シミュレーションの実行時に表示される表示用テクスチャのデータを備え、
前記表示用テクスチャのデータは、前記識別データに対応する前記2次元画像の上に重ねて描かれる画像のデータとして指定されている請求項1に記載のデータ構造。
The display texture data displayed when the simulation is executed,
The data structure according to claim 1, wherein the display texture data is specified as data of an image drawn on the two-dimensional image corresponding to the identification data.
前記識別データに対応する前記2次元画像のデータと前記表示用テクスチャのデータとは、前記3次元画像における同一の面に対して描かれる画像のデータとして指定されている請求項2に記載のデータ構造。   The data according to claim 2, wherein the data of the two-dimensional image and the data of the display texture corresponding to the identification data are specified as image data drawn on the same surface in the three-dimensional image. Construction. 前記識別データに対応する前記2次元画像のデータは、前記表示用テクスチャよりも先に描かれる画像のデータとして指定されている請求項3に記載のデータ構造。   4. The data structure according to claim 3, wherein the data of the two-dimensional image corresponding to the identification data is specified as data of an image drawn before the display texture. 前記識別データに対応する前記2次元画像のデータは、前記表示用テクスチャの下に描かれる画像のデータとして指定されている請求項3に記載のデータ構造。   The data structure according to claim 3, wherein the data of the two-dimensional image corresponding to the identification data is specified as data of an image drawn under the display texture. 前記識別データに対応する前記2次元画像のデータは、無色で描かれる画像のデータとして指定されている請求項1〜5のいずれか1項に記載のデータ構造。   The data structure according to any one of claims 1 to 5, wherein the data of the two-dimensional image corresponding to the identification data is specified as data of an image drawn in colorless. 前記識別データに対応する前記2次元画像は、前記識別データを図形コードに変換した2次元画像である請求項1〜6のいずれか1項に記載のデータ構造。   The data structure according to claim 1, wherein the two-dimensional image corresponding to the identification data is a two-dimensional image obtained by converting the identification data into a graphic code. 前記図形コードは、誤り訂正機能を有する図形コードである請求項7に記載のデータ構造。   The data structure according to claim 7, wherein the graphic code is a graphic code having an error correction function. 請求項3〜5のいずれか1項に記載のデータ構造から識別データを取得するコンピュータプログラムであって、
前記データ構造から、前記3次元画像における前記同一の面に対して描かれる画像のデータとして指定されているデータを検索する機能と、
前記検索されたデータを解析して前記識別データを取得する機能と、
をコンピュータに実現させることを特徴とするコンピュータプログラム。
A computer program for obtaining identification data from the data structure according to any one of claims 3 to 5,
A function of retrieving data designated as data of an image drawn on the same surface in the three-dimensional image from the data structure;
A function of analyzing the retrieved data to obtain the identification data;
A computer program for causing a computer to realize the above.
請求項7又は8に記載のデータ構造から識別データを取得するコンピュータプログラムであって、
前記データ構造のうち、前記3次元画像に対して描かれる2次元画像のデータとして指定されているデータを解析して前記図形コードを特定する機能と、
前記特定された図形コードを復号して前記識別データを取得する機能と、
をコンピュータに実現させることを特徴とするコンピュータプログラム。
A computer program for obtaining identification data from the data structure according to claim 7 or 8,
A function of analyzing the data specified as the data of the two-dimensional image drawn for the three-dimensional image in the data structure to identify the graphic code;
A function of acquiring the identification data by decoding the specified graphic code;
A computer program for causing a computer to realize the above.
請求項3〜5のいずれか1項に記載のデータ構造から識別データを取得するデータ取得装置であって、
前記データ構造から、前記3次元画像における前記同一の面に対して描かれる画像のデータとして指定されているデータを検索する検索部と、
前記検索されたデータを解析して前記識別データを取得する取得部と、
を備えることを特徴とするデータ取得装置。
A data acquisition device for acquiring identification data from the data structure according to any one of claims 3 to 5,
A retrieval unit for retrieving data specified as data of an image drawn on the same surface in the three-dimensional image from the data structure;
An obtaining unit that analyzes the retrieved data and obtains the identification data;
A data acquisition device comprising:
請求項7又は8に記載のデータ構造から識別データを取得するデータ取得装置であって、
前記データ構造のうち、前記3次元画像に対して描かれる2次元画像のデータとして指定されているデータを解析して前記図形コードを特定する特定部と、
前記特定された図形コードを復号して前記識別データを取得する取得部と、
を備えることを特徴とするデータ取得装置。
A data acquisition device for acquiring identification data from the data structure according to claim 7 or 8,
A specifying unit for analyzing the data specified as data of a two-dimensional image drawn for the three-dimensional image and specifying the graphic code in the data structure;
An acquisition unit that decodes the identified graphic code to acquire the identification data;
A data acquisition device comprising:
JP2011213513A 2011-09-28 2011-09-28 Data structure, computer program, and data acquisition apparatus Active JP5842508B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011213513A JP5842508B2 (en) 2011-09-28 2011-09-28 Data structure, computer program, and data acquisition apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011213513A JP5842508B2 (en) 2011-09-28 2011-09-28 Data structure, computer program, and data acquisition apparatus

Publications (2)

Publication Number Publication Date
JP2013073519A true JP2013073519A (en) 2013-04-22
JP5842508B2 JP5842508B2 (en) 2016-01-13

Family

ID=48477948

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011213513A Active JP5842508B2 (en) 2011-09-28 2011-09-28 Data structure, computer program, and data acquisition apparatus

Country Status (1)

Country Link
JP (1) JP5842508B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103994762B (en) * 2014-04-21 2017-01-04 刘冰冰 Method for positioning mobile robot based on data matrix code
WO2022091421A1 (en) * 2020-11-02 2022-05-05 株式会社日立製作所 Industrial system, abnormality detection system, and abnormality detection method
WO2023243001A1 (en) * 2022-06-15 2023-12-21 ファナック株式会社 Robot programming device and robot programming system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111681160B (en) * 2020-05-28 2021-07-06 深圳市无虚科技有限公司 Curved image restoration method, device and equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002328951A (en) * 2001-04-27 2002-11-15 Komatsu Ltd Data distribution device of three dimensions model and data distribution system
JP2006302124A (en) * 2005-04-22 2006-11-02 Mitsubishi Electric Corp System and method for preparing three-dimensional cad model
JP2010049322A (en) * 2008-08-19 2010-03-04 Denso Wave Inc Image data generation device of simulation device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002328951A (en) * 2001-04-27 2002-11-15 Komatsu Ltd Data distribution device of three dimensions model and data distribution system
JP2006302124A (en) * 2005-04-22 2006-11-02 Mitsubishi Electric Corp System and method for preparing three-dimensional cad model
JP2010049322A (en) * 2008-08-19 2010-03-04 Denso Wave Inc Image data generation device of simulation device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103994762B (en) * 2014-04-21 2017-01-04 刘冰冰 Method for positioning mobile robot based on data matrix code
WO2022091421A1 (en) * 2020-11-02 2022-05-05 株式会社日立製作所 Industrial system, abnormality detection system, and abnormality detection method
WO2023243001A1 (en) * 2022-06-15 2023-12-21 ファナック株式会社 Robot programming device and robot programming system

Also Published As

Publication number Publication date
JP5842508B2 (en) 2016-01-13

Similar Documents

Publication Publication Date Title
Calli et al. Yale-CMU-Berkeley dataset for robotic manipulation research
EP2836987B1 (en) Determining three-dimensional (3d) object data models based on object movement
Ben Abdallah et al. Automatic inspection of aeronautical mechanical assemblies by matching the 3D CAD model and real 2D images
JP5075182B2 (en) Image processing apparatus, image processing method, and image processing program
CN111127422A (en) Image annotation method, device, system and host
JP2011179907A (en) Device and method for measuring position and attitude, and program
JP5842508B2 (en) Data structure, computer program, and data acquisition apparatus
JP2010179403A (en) Robot simulation image display system
CN103208112B (en) Many parts correspondence device of multiple cameras
JP6017343B2 (en) Database generation device, camera posture estimation device, database generation method, camera posture estimation method, and program
CN116257930A (en) Three-dimensional detecting twins for remote visual detection of vehicles
Chalhoub et al. Leveraging site survey points for mixed reality BIM visualization
JP5849575B2 (en) Data structure, computer program, and data acquisition apparatus
JP5842509B2 (en) Data structure, computer program, and data acquisition apparatus
JP5842510B2 (en) Data structure, computer program, and data acquisition apparatus
Santos et al. Acceleration of 3D mass digitization processes: recent advances and Challenges
CN113706689A (en) Assembly guidance method and system based on Hololens depth data
JP5842511B2 (en) Computer program and data acquisition apparatus
Chen et al. A quick development toolkit for augmented reality visualization (QDARV) of a Factory
US9870435B1 (en) Use of physical deformation during scanning of an object to generate views of the object
JP5843359B2 (en) Information processing system, server device, terminal device, information processing device, information processing method, and program
Potabatti Photogrammetry for 3D Reconstruction in SOLIDWORKS and its Applications in Industry
CN116958220B (en) Camera visual field range generation method and device, storage medium and electronic equipment
Alves et al. Automatic 3D shape recovery for rapid prototyping
CN113626899B (en) Navisthrocks-based model and drawing synchronous display method, device, equipment and medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140902

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150423

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150519

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150715

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20150715

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20150715

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151102

R150 Certificate of patent or registration of utility model

Ref document number: 5842508

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250