JP6155570B2 - Data display device, method, and program - Google Patents

Data display device, method, and program Download PDF

Info

Publication number
JP6155570B2
JP6155570B2 JP2012177854A JP2012177854A JP6155570B2 JP 6155570 B2 JP6155570 B2 JP 6155570B2 JP 2012177854 A JP2012177854 A JP 2012177854A JP 2012177854 A JP2012177854 A JP 2012177854A JP 6155570 B2 JP6155570 B2 JP 6155570B2
Authority
JP
Japan
Prior art keywords
data
original data
extraction
drawing target
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012177854A
Other languages
Japanese (ja)
Other versions
JP2014035722A (en
Inventor
義也 柴田
義也 柴田
はる奈 島川
はる奈 島川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
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 Omron Corp filed Critical Omron Corp
Priority to JP2012177854A priority Critical patent/JP6155570B2/en
Publication of JP2014035722A publication Critical patent/JP2014035722A/en
Application granted granted Critical
Publication of JP6155570B2 publication Critical patent/JP6155570B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Manipulator (AREA)
  • Digital Computer Display Output (AREA)

Description

本発明は、膨大な件数のレコードを含むデータを、グラフ等の形式で図形描画して表示するためのデータ表示装置に関し、特に、表示を高速化するための技術に関する。   The present invention relates to a data display device for drawing and displaying data including an enormous number of records in the form of a graph or the like, and particularly to a technique for speeding up display.

企業の生産活動や消費者の行動をモニタリング等するため、日々、膨大な件数のデータが蓄積されている。このようなトレンドデータ等の膨大な件数のデータの分析を容易にするため、グラフ描画等による視覚化が行われている。ただし、データの件数が多くなるとともに、グラフ等による図形描画に要する時間も長期化する。そこで、分析者がデータの概要を早期に把握するため、膨大な件数のデータの図形描画を高速化する技術が知られている。   An enormous amount of data is accumulated every day in order to monitor corporate production activities and consumer behavior. In order to facilitate the analysis of such a huge number of data such as trend data, visualization by graph drawing or the like is performed. However, as the number of data increases, the time required for drawing a graphic by a graph or the like also increases. Therefore, in order for an analyst to grasp the outline of data at an early stage, a technique for speeding up drawing of a huge number of data is known.

例えば、特開2000−194416号公報(特許文献1)は、データを間引いてグラフ表示し、膨大なデータであっても高速な表示を可能にする技術を開示する。特許文献1に記載される技術では、表示対象のデータのデータ間の変化量が計算され、その変化量が許容変化量以下であれば、データの間引きが行われる。   For example, Japanese Patent Application Laid-Open No. 2000-194416 (Patent Document 1) discloses a technique that thins out data and displays it in a graph, and enables high-speed display even for a large amount of data. In the technique described in Patent Document 1, a change amount between data of display target data is calculated, and if the change amount is equal to or less than an allowable change amount, data is thinned out.

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

しかし、データとして蓄積される値が、そのまま図形描画の対象とはならない場合がある。例えば、複数軸のロボットアームの動作指令値を原データとして蓄積し、これらロボットアームが搬送する対象物の軌跡を描画する場合などである。この場合、原データに対して所定の演算を施すことで、グラフによる描画対象となる軌跡データを得る。このような場合、上記特許文献1の技術を適用しようとすると、まず原データに基づく演算処理を行って軌跡データを得る必要があり、この演算処理に時間を要する場合、グラフの概要が表示されるまで長時間を要する。   However, there are cases where values accumulated as data are not directly subject to drawing. For example, the operation command values of a plurality of axes of robot arms are stored as original data, and the locus of the object conveyed by these robot arms is drawn. In this case, trajectory data to be drawn by a graph is obtained by performing a predetermined calculation on the original data. In such a case, when applying the technique of the above-mentioned Patent Document 1, it is necessary to first perform an arithmetic process based on the original data to obtain trajectory data. If this arithmetic process takes time, an outline of the graph is displayed. It takes a long time.

このように、原データに対して所定の演算を施すことでグラフ等による図形描画をするための描画対象データを得る場合に、図形の表示を高速化する技術が必要とされている。   As described above, there is a need for a technique for speeding up the graphic display when obtaining drawing target data for performing graphic drawing by a graph or the like by performing a predetermined calculation on the original data.

一実施形態に従うデータ表示装置は、描画対象データ群のグラフ描画を段階的に高精度化して、段階に応じたグラフ画像を表示する。データ表示装置は、複数件の原データを含む原データ群を記憶する記憶部と、所定の抽出条件に従って、グラフ描画の各段階において、原データ群から1件以上の計算対象の原データを抽出する抽出部と、抽出部が抽出する原データに対し、所定の関数演算を施すことにより、グラフ描画の段階に応じて1件以上の描画対象データを生成する計算実行部と、描画対象データに基づいて、グラフ描画の段階に応じたグラフ画像を表示部に表示させる表示制御部とを含む。   A data display device according to an embodiment increases the accuracy of graph drawing of a drawing target data group in a stepwise manner and displays a graph image corresponding to the step. The data display apparatus extracts a source data group including a plurality of source data and one or more calculation target source data from the source data group at each stage of graph drawing according to a predetermined extraction condition. An extraction unit, a calculation execution unit that generates one or more drawing target data according to the stage of graph drawing by performing a predetermined function operation on the original data extracted by the extracting unit, and a drawing target data And a display control unit that displays a graph image corresponding to the stage of graph drawing on the display unit.

好ましくは、抽出部は、グラフ描画の各段階において、前段階までに計算実行部により生成された描画対象データに基づいて、計算対象の原データを抽出することとしてもよい。   Preferably, the extraction unit may extract the original data to be calculated based on the drawing target data generated by the calculation execution unit up to the previous stage at each stage of graph drawing.

好ましくは、データ表示装置は、物体の軌跡のシミュレーション結果をグラフ描画してグラフ画像を表示するものであり、描画対象データ群に含まれる描画対象データ各々は、物体の座標値を示し、描画対象データ群は、物体の各座標値からなる軌跡を示し、所定の抽出条件とは、計算実行部により生成された描画対象データが示す軌跡の、各座標値における曲率に基づくものであり、抽出部は、計算実行部により生成された描画対象データが示す軌跡の、各座標値における曲率を取得し、取得される曲率に基づいて原データを抽出することとしてもよい。   Preferably, the data display device displays a graph image by drawing a simulation result of the trajectory of the object, each drawing target data included in the drawing target data group indicates a coordinate value of the object, and the drawing target The data group indicates a trajectory composed of each coordinate value of the object, and the predetermined extraction condition is based on the curvature at each coordinate value of the trajectory indicated by the drawing target data generated by the calculation execution unit. May acquire the curvature at each coordinate value of the trajectory indicated by the drawing target data generated by the calculation execution unit, and extract the original data based on the acquired curvature.

好ましくは、抽出部は、計算実行部により生成された描画対象データが示す軌跡の、各座標値における曲率が所定値以上の座標値に前後する未計算の座標値に対応する原データを抽出することとしてもよい。   Preferably, the extraction unit extracts original data corresponding to an uncalculated coordinate value in which the curvature of each coordinate value of the locus indicated by the drawing target data generated by the calculation execution unit is around a coordinate value equal to or greater than a predetermined value. It is good as well.

好ましくは、描画対象データ群に含まれる描画対象データ各々は、所定の物体の座標を示し、描画対象データ群は、物体の各座標からなる軌跡を示し、所定の抽出条件とは、計算実行部により生成された描画対象データが示す軌跡の、各座標間の距離に基づくものであり、抽出部は、計算実行部により生成された描画対象データが示す軌跡の、各座標における距離を取得し、取得される距離に基づいて原データを抽出することとしてもよい。   Preferably, each drawing target data included in the drawing target data group indicates coordinates of a predetermined object, the drawing target data group indicates a trajectory including each coordinate of the object, and the predetermined extraction condition is a calculation execution unit Is based on the distance between the coordinates of the trajectory indicated by the drawing target data generated by the above, and the extraction unit acquires the distance at each coordinate of the trajectory indicated by the drawing target data generated by the calculation execution unit, The original data may be extracted based on the acquired distance.

好ましくは、抽出部は、計算実行部により生成された描画対象データが示す軌跡の、各座標間の距離が所定距離以上の座標間の、未計算の座標に対応する原データを抽出することとしてもよい。   Preferably, the extraction unit extracts the original data corresponding to the uncalculated coordinates between the coordinates in which the distance between the coordinates of the locus indicated by the drawing target data generated by the calculation execution unit is a predetermined distance or more. Also good.

好ましくは、描画対象データ群に含まれる描画対象データ各々は、所定の物体の座標を示し、描画対象データ群は、物体の各座標からなる軌跡を示し、物体は、移動可能な座標の範囲を示す稼働範囲が規定されており、所定の抽出条件とは、計算実行部により生成された描画対象データが示す軌跡の各座標と、物体が移動可能な稼働範囲の境界との距離に基づくものであり、抽出部は、計算実行部により生成された描画対象データが示す軌跡の各座標と、稼働範囲の境界との距離に基づいて原データを抽出することとしてもよい。   Preferably, each drawing target data included in the drawing target data group indicates coordinates of a predetermined object, the drawing target data group indicates a trajectory including each coordinate of the object, and the object has a range of movable coordinates. The specified operating condition is based on the distance between the coordinates of the locus indicated by the drawing target data generated by the calculation execution unit and the boundary of the operating range in which the object can move. Yes, the extraction unit may extract the original data based on the distance between each coordinate of the trajectory indicated by the drawing target data generated by the calculation execution unit and the boundary of the operating range.

好ましくは、抽出部は、計算実行部により生成された描画対象データが示す軌跡の各座標のうち、稼働範囲の境界との距離が所定距離以下の座標に前後する未計算の座標に対応する原データを抽出することとしてもよい。   Preferably, the extraction unit corresponds to an uncalculated coordinate corresponding to an uncalculated coordinate whose distance from the boundary of the working range is equal to or less than a predetermined distance among the coordinates of the trajectory indicated by the drawing target data generated by the calculation execution unit. Data may be extracted.

好ましくは、描画対象データ群に含まれる描画対象データ各々は、所定の物体の座標を示し、描画対象データ群は、物体の各座標からなる軌跡を示し、所定の抽出条件とは、計算実行部により生成された描画対象データが示す軌跡の各座標と、所定の物体とは異なる他の物体との距離に基づくものであり、抽出部は、計算実行部により生成された描画対象データが示す軌跡の各座標と、他の物体の座標との距離に基づいて原データを抽出することとしてもよい。   Preferably, each drawing target data included in the drawing target data group indicates coordinates of a predetermined object, the drawing target data group indicates a trajectory including each coordinate of the object, and the predetermined extraction condition is a calculation execution unit Is based on the distance between each coordinate of the trajectory indicated by the drawing target data generated by, and another object different from the predetermined object, and the extraction unit indicates the trajectory indicated by the drawing target data generated by the calculation execution unit The original data may be extracted based on the distance between each of the coordinates and the coordinates of another object.

好ましくは、抽出部は、計算実行部により生成された描画対象データが示す軌跡の各座標と、他の物体の座標との距離が所定距離以下の座標に前後する未計算の座標に対応する原データを抽出することとしてもよい。   Preferably, the extraction unit includes original coordinates corresponding to uncalculated coordinates in which the distance between the coordinates of the trajectory indicated by the drawing target data generated by the calculation execution unit and the coordinates of another object is around a coordinate equal to or less than a predetermined distance. Data may be extracted.

好ましくは、原データ群の原データ、および、描画対象データ群の描画対象データは、時間情報と対応づけられる時系列のデータであり、抽出部は、所定の抽出条件として、原データの時間情報に基づいて、所定件数の原データを抽出することとしてもよい。   Preferably, the original data of the original data group and the drawing target data of the drawing target data group are time-series data associated with time information, and the extraction unit uses the time information of the original data as a predetermined extraction condition. Based on the above, a predetermined number of original data may be extracted.

好ましくは、原データ群は、複数の動作軸を有する物体把持機構の、各動作軸への動作指令値の履歴を示し、描画対象データ群は、物体把持機構により把持される物体の移動の軌跡を示すこととしてもよい。   Preferably, the original data group represents a history of motion command values for each motion axis of an object gripping mechanism having a plurality of motion axes, and the drawing target data group is a trajectory of movement of an object gripped by the object gripping mechanism. May be indicated.

別の実施形態に従うと、描画対象データ群のグラフ描画を段階的に高精度化して、段階に応じたグラフ画像をデータ表示装置が表示する方法が提供される。データ表示装置は、複数件の原データを含む原データ群を記憶する記憶部を含む。この方法は、データ表示装置が、所定の抽出条件に従って、グラフ描画の各段階において、原データ群から1件以上の計算対象の原データを抽出するステップと、データ表示装置が、抽出される原データに対し、所定の関数演算を施すことにより、グラフ描画の段階に応じて1件以上の描画対象データを生成するステップと、データ表示装置が、描画対象データに基づいて、グラフ描画の段階に応じたグラフ画像を表示部に表示させるステップとを含む。   According to another embodiment, there is provided a method in which the graph display of the drawing target data group is improved step by step and the data display device displays a graph image corresponding to the step. The data display device includes a storage unit that stores an original data group including a plurality of pieces of original data. In this method, the data display device extracts one or more calculation target original data from the original data group at each stage of graph drawing according to a predetermined extraction condition, and the data display device extracts the original data to be extracted. By performing a predetermined function operation on the data, a step of generating one or more drawing target data according to the graph drawing stage, and a data display device in the graph drawing stage based on the drawing target data And displaying a corresponding graph image on the display unit.

別の実施形態に従うと、描画対象データ群のグラフ描画を段階的に高精度化して、段階に応じたグラフ画像を表示させる処理を実行するデータ処理装置の動作を制御するためのプログラムが提供される。データ処理装置は、プロセッサと、メモリとを含み、メモリは、複数件の原データを含む原データ群を記憶する。このプログラムは、プロセッサに、所定の抽出条件に従って、グラフ描画の各段階において、原データ群から1件以上の計算対象の原データを抽出させるステップと、抽出される原データに対し、所定の関数演算を施すことにより、グラフ描画の段階に応じて1件以上の描画対象データを生成させるステップと、描画対象データに基づいて、グラフ描画の段階に応じたグラフ画像を表示部に表示させるステップとを実行させる。   According to another embodiment, there is provided a program for controlling the operation of a data processing apparatus that executes a process of displaying a graph image corresponding to a stage by increasing the precision of the graph drawing of the drawing target data group in stages. The The data processing apparatus includes a processor and a memory, and the memory stores an original data group including a plurality of original data. The program causes a processor to extract one or more original data to be calculated from an original data group at each stage of graph drawing according to a predetermined extraction condition, and a predetermined function for the extracted original data. A step of generating one or more drawing target data according to a graph drawing stage by performing an operation; a step of causing a display unit to display a graph image according to the graph drawing stage based on the drawing target data; Is executed.

上記一実施形態によると、図形表示を高速化させることができる。
この発明の上記および他の目的、特徴、局面および利点は、添付の図面と関連して理解されるこの発明に関する次の詳細な説明から明らかとなるであろう。
According to the one embodiment, the graphic display can be speeded up.
The above and other objects, features, aspects and advantages of the present invention will become apparent from the following detailed description of the present invention taken in conjunction with the accompanying drawings.

ロボット制御システム1の構成を示す機能ブロック図である。1 is a functional block diagram showing a configuration of a robot control system 1. FIG. ロボット15を示す図である。2 is a diagram illustrating a robot 15. FIG. データ表示装置30の構成を示す図である。2 is a diagram showing a configuration of a data display device 30. FIG. オフラインでバッグシステム20を構成する各機能を示す図である。It is a figure which shows each function which comprises the bag system 20 offline. 軌跡計算プログラム26の各機能を示すブロック図である。3 is a block diagram showing functions of a trajectory calculation program 26. FIG. 時系列指令データ24を示す図である。It is a figure which shows the time series command data 24. FIG. サーボドライバ・エミュレータ23がコントローラ・エミュレータ22からのサーボモータ回転量の各時刻における指令値を受けて各サーボモータを回転させた結果の一例を示す。The servo driver / emulator 23 receives an instruction value of the servo motor rotation amount from the controller / emulator 22 at each time and shows an example of a result of rotating each servo motor. 時系列描画対象軌跡データ25を示す図である。It is a figure which shows the time series drawing object locus | trajectory data 25. FIG. エンドプレート19の動作軌跡の描画例を示す図である。It is a figure which shows the example of drawing of the movement locus | trajectory of the end plate. 軌跡計算プログラム26の動作を示すフローチャートである。4 is a flowchart showing the operation of a locus calculation program 26. 軌跡計算プログラム26の動作例を示す図である。7 is a diagram illustrating an operation example of a trajectory calculation program 26. FIG. エンドプレート19の軌跡の曲率に基づいて、軌跡計算対象抽出部42が原データの抽出条件を設定した場合の動作例を示す図である。It is a figure which shows the operation example when the locus | trajectory calculation object extraction part sets the extraction conditions of original data based on the curvature of the locus | trajectory of the end plate. エンドプレート19の軌跡における座標間の距離に基づいて、軌跡計算対象抽出部42が原データの抽出条件を設定した場合の動作例を示す図である。It is a figure which shows the operation example when the locus | trajectory calculation object extraction part sets the extraction conditions of original data based on the distance between the coordinates in the locus | trajectory of the end plate. エンドプレート19の移動可能な範囲の境界付近の座標を優先するよう軌跡計算対象抽出部42が原データを抽出する場合の動作例を示す図である。It is a figure which shows the operation example in case the locus | trajectory calculation object extraction part 42 extracts original data so that the coordinate near the boundary of the movable range of the end plate 19 may be prioritized. エンドプレート19の移動可能な範囲に配置されるオブジェクトとの境界付近の座標を優先するよう軌跡計算対象抽出部42が原データを抽出する場合の動作例を示す図である。It is a figure which shows the operation example in case the locus | trajectory calculation object extraction part 42 extracts original data so that the coordinate near the boundary with the object arrange | positioned in the movable range of the end plate 19 may be prioritized.

以下、図面を参照しつつ、本発明の実施の形態について説明する。以下の説明では、同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがって、それらについての詳細な説明は繰り返さない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.

本実施形態のデータ表示装置は、サーボモータ14が駆動するロボット15の動作のシミュレーション結果を処理し、ロボット15の動作軌跡をグラフ等により図形描画するためのものである。まず、データ表示装置が図形描画の対象とするロボット15を含むロボット制御システム1の構成について説明する。   The data display device of this embodiment is for processing the simulation result of the operation of the robot 15 driven by the servo motor 14 and drawing the operation locus of the robot 15 with a graph or the like. First, the configuration of the robot control system 1 including the robot 15 that is a target for drawing a graphic by the data display device will be described.

<1.1 ロボット制御システム1の構成>
図1は、ロボット制御システム1の構成を示す機能ブロック図である。図1に示すように、ロボット制御システム1は、コントローラ10と、プログラミングツール11と、プログラマブルターミナル12と、サーボドライバ群13と、サーボモータ群14と、ロボット15と、を含む。
<1.1 Configuration of Robot Control System 1>
FIG. 1 is a functional block diagram showing the configuration of the robot control system 1. As shown in FIG. 1, the robot control system 1 includes a controller 10, a programming tool 11, a programmable terminal 12, a servo driver group 13, a servo motor group 14, and a robot 15.

コントローラ10は、プロセッサ、メモリ等を備え、ユーザが作成するユーザプログラムに従って予め定められた処理を順に実行することで、サーボドライバ群13に含まれる各サーボドライバ(図1では、サーボドライバ13A、サーボドライバ13B、サーボドライバ13Cの3つのサーボドライバを示している)の動作を制御する。コントローラ10は、各サーボドライバの動作を制御することで、サーボドライバおよびサーボモータが駆動するロボット15の動作を制御する。例えば、ロボット15が物体の運搬用のロボットである場合、コントローラ10は、ユーザプログラムに従ってサーボドライバ13を制御することで、ロボット15による物体の運搬動作を制御する。   The controller 10 includes a processor, a memory, and the like, and sequentially executes predetermined processes in accordance with a user program created by the user, whereby each servo driver included in the servo driver group 13 (servo driver 13A, servo in FIG. 1). The operation of three servo drivers (driver 13B and servo driver 13C) is controlled. The controller 10 controls the operation of the robot 15 driven by the servo driver and the servo motor by controlling the operation of each servo driver. For example, when the robot 15 is a robot for carrying an object, the controller 10 controls the object carrying operation by the robot 15 by controlling the servo driver 13 according to the user program.

プログラミングツール11は、コントローラ10が実行するユーザプログラムを作成するためのデバッガである。   The programming tool 11 is a debugger for creating a user program to be executed by the controller 10.

プログラマブルターミナル12は、コントローラ10が制御するサーボドライバ13、ロボット15等の制御結果を表示するためのディスプレイであり、コントローラ10による処理の状態、ロボット15による実際の動作、サーボドライバ13等の機材の状態などを視覚化して表示する。   The programmable terminal 12 is a display for displaying the control results of the servo driver 13 and the robot 15 controlled by the controller 10, the processing status by the controller 10, the actual operation by the robot 15, and the equipment such as the servo driver 13. Visualize and display status.

サーボドライバ群13は、複数のサーボドライバ(サーボドライバ13A、サーボドライバ13B、サーボドライバ13C)を含み、コントローラ10の制御に従って、サーボモータ群14に含まれる各サーボモータへの回転量を指令する指令信号をサーボモータ14A等へ出力してサーボモータそれぞれを駆動する。   The servo driver group 13 includes a plurality of servo drivers (servo driver 13A, servo driver 13B, servo driver 13C), and commands to instruct the rotation amount to each servo motor included in the servo motor group 14 according to the control of the controller 10. A signal is output to the servo motor 14A or the like to drive each servo motor.

サーボモータ群14は、複数のサーボモータ(サーボモータ14A、サーボモータ14B、サーボモータ14C)を含む。各サーボモータは、ロボット15を駆動するためのモータである。サーボモータ14は、サーボドライバ13からの指令信号に従って回転駆動することで、ロボット15を駆動する。   The servo motor group 14 includes a plurality of servo motors (servo motor 14A, servo motor 14B, servo motor 14C). Each servo motor is a motor for driving the robot 15. The servo motor 14 drives the robot 15 by being driven to rotate according to a command signal from the servo driver 13.

ロボット15は、本実施形態では、複数のアームを備え、サーボモータ14の各サーボモータでこれら複数のアームを駆動して物体運搬用のエンドプレート19を駆動する。エンドプレート19は、ロボット15が運搬対象とする物体を把持するための把持部材である。   In the present embodiment, the robot 15 includes a plurality of arms, and drives each of the plurality of arms by each servo motor of the servo motor 14 to drive an end plate 19 for conveying an object. The end plate 19 is a grip member for gripping an object to be transported by the robot 15.

<1.2 ロボット15の構成>
次に、データ表示装置が図形描画の対象とするロボット15の詳細について、説明する。図2は、ロボット15を示す図である。図2では、ロボット制御システム1を構成するサーボモータ群14(サーボモータ14A、サーボモータ14B、サーボモータ14C)も図示している。
<1.2 Configuration of Robot 15>
Next, the details of the robot 15 which is a target of drawing a graphic by the data display device will be described. FIG. 2 is a diagram showing the robot 15. 2, the servo motor group 14 (servo motor 14A, servo motor 14B, servo motor 14C) that constitutes the robot control system 1 is also illustrated.

図2に示すように、ロボット15は、各サーボモータ(サーボモータ14A、サーボモータ14B、サーボモータ14C)が回転することで駆動される複数のアームを有している。例えば、サーボモータ14Aが駆動する第1のアームは、アーム部16Aと、関節部17Aとで構成される。同様に、サーボモータ14Bが駆動する第2のアームは、アーム部16Bと、関節部17Bとで構成され、サーボモータ14Cが駆動する第3のアームは、アーム部16Cと、関節部17Cとで構成される。各サーボモータ(サーボモータ14A、サーボモータ14B、サーボモータ14C)は、それぞれ回転駆動することで、対応する各アームを駆動する。サーボドライバ群13がサーボモータ群14の各サーボモータの駆動を制御することで、各アームの先端に結合されるエンドプレート19が3次元に駆動される。   As shown in FIG. 2, the robot 15 has a plurality of arms that are driven by the rotation of each servo motor (servo motor 14A, servo motor 14B, servo motor 14C). For example, the first arm driven by the servo motor 14A is composed of an arm portion 16A and a joint portion 17A. Similarly, the second arm driven by the servo motor 14B includes an arm portion 16B and a joint portion 17B, and the third arm driven by the servo motor 14C includes the arm portion 16C and the joint portion 17C. Composed. Each servo motor (servo motor 14A, servo motor 14B, servo motor 14C) drives each corresponding arm by being driven to rotate. The servo driver group 13 controls the driving of each servo motor of the servo motor group 14, whereby the end plate 19 coupled to the tip of each arm is driven three-dimensionally.

サーボドライバ群13は、各サーボモータの回転量を指定して、サーボモータ群14の各サーボモータに対し指令信号を出力する。図2では、サーボモータ14Aの回転量をαA、サーボモータ14Bの回転量をαB、サーボモータ14Cの回転量をαCとして示す。サーボモータ回転量(αA、αB、αC)に対し、順運動学の関数を用いて演算を施すことで、図2に示すxyzの3次元座標に変換することができる。図2では、エンドプレート19の3次元座標をP(x、y、z)として示す。本実施形態のデータ表示装置は、このサーボモータ回転量(αA、αB、αC)に対し、上記のように所定の演算を施して得られるエンドプレート19の3次元座標P(x、y、z)を、グラフ描画の対象としている。   The servo driver group 13 designates the rotation amount of each servo motor and outputs a command signal to each servo motor of the servo motor group 14. In FIG. 2, the rotation amount of the servo motor 14A is represented by αA, the rotation amount of the servo motor 14B is represented by αB, and the rotation amount of the servo motor 14C is represented by αC. The servo motor rotation amount (αA, αB, αC) can be converted into xyz three-dimensional coordinates shown in FIG. 2 by performing a calculation using a forward kinematics function. In FIG. 2, the three-dimensional coordinates of the end plate 19 are indicated as P (x, y, z). The data display device according to the present embodiment is configured such that the three-dimensional coordinates P (x, y, z) of the end plate 19 obtained by performing predetermined calculations on the servo motor rotation amounts (αA, αB, αC) as described above. ) Is the target of graph drawing.

<1.3 データ表示装置30の構成>
次に、図3を用いてデータ表示装置30の構成を説明する。図3は、データ表示装置30の構成を示す図である。データ表示装置30は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等を備えてプログラムに従って動作するコンピュータシステムである。図3に示すように、データ表示装置30は、CPU31と、ROM32と、RAM33と、HDD(Hard Disk Drive)34と、通信インタフェース35と、I/O(Input/Output)インタフェース36とを含む。また、データ表示装置30は、キーボード37と、ディスプレイ38と接続される。データ表示装置30は、後述するオフラインデバッグシステム20として機能することでロボット制御システム1の動作をシミュレーションし、シミュレーション結果であるエンドプレート19の動作軌跡を図形描画してディスプレイ38に表示する。
<1.3 Configuration of Data Display Device 30>
Next, the configuration of the data display device 30 will be described with reference to FIG. FIG. 3 is a diagram illustrating a configuration of the data display device 30. The data display device 30 is a computer system that includes a central processing unit (CPU), a read only memory (ROM), a random access memory (RAM), and the like and operates according to a program. As shown in FIG. 3, the data display device 30 includes a CPU 31, a ROM 32, a RAM 33, an HDD (Hard Disk Drive) 34, a communication interface 35, and an I / O (Input / Output) interface 36. The data display device 30 is connected to a keyboard 37 and a display 38. The data display device 30 simulates the operation of the robot control system 1 by functioning as an off-line debugging system 20 described later, and draws the operation trajectory of the end plate 19 as a simulation result on the display 38.

CPU31は、プログラムに従って動作することでデータ表示装置30の動作を制御する。ROM32は、データ表示装置30のシステムプログラムや、動作設定などを記憶する。RAM33は、CPU31が行う処理に用いられる記憶領域であり、HDD34からCPU31が読みだしたプログラムやデータ等がRAM33に記憶される。HDD34は、データ表示装置30が表示対象とする、膨大な件数のレコードを含むデータ(後述する時系列指令データ24等)を蓄積する。   The CPU 31 controls the operation of the data display device 30 by operating according to a program. The ROM 32 stores a system program for the data display device 30, operation settings, and the like. The RAM 33 is a storage area used for processing performed by the CPU 31, and programs and data read by the CPU 31 from the HDD 34 are stored in the RAM 33. The HDD 34 accumulates data including a huge number of records to be displayed by the data display device 30 (time-series command data 24 and the like described later).

通信インタフェース35は、データ表示装置30が外部の機器と通信するためのインタフェースである。データ表示装置30は、外部の機器との通信を行うことで、外部の機器からも、描画対象となるデータを取得する。   The communication interface 35 is an interface for the data display device 30 to communicate with an external device. The data display device 30 acquires data to be drawn from an external device by communicating with the external device.

I/Oインタフェース36は、データ表示装置30への入力やデータ表示装置30からの出力のインタフェースである。図3に示すように、I/Oインタフェース36は、キーボード37とディスプレイ38とに接続され、ユーザがキーボード37に対して入力した情報を受け付ける。また、データ表示装置30の処理結果を、ディスプレイ38へ出力する。   The I / O interface 36 is an interface for input to the data display device 30 and output from the data display device 30. As shown in FIG. 3, the I / O interface 36 is connected to a keyboard 37 and a display 38 and receives information input by the user to the keyboard 37. In addition, the processing result of the data display device 30 is output to the display 38.

キーボード37は、ユーザの操作を受け付けてデータ表示装置30へ出力するための入力装置である。ディスプレイ38は、LCD(Liquid Crystal Display)、有機EL(Electro Luminescence)等であり、データ表示装置30から出力される映像信号を表示する。   The keyboard 37 is an input device for receiving a user operation and outputting it to the data display device 30. The display 38 is an LCD (Liquid Crystal Display), an organic EL (Electro Luminescence), or the like, and displays a video signal output from the data display device 30.

次に、図4を用いて、データ表示装置30がロボット制御システム1をシミュレーションするために実行するオフラインデバッグシステム20の各機能およびデータについて、説明する。   Next, the functions and data of the offline debug system 20 executed by the data display device 30 for simulating the robot control system 1 will be described with reference to FIG.

<1.4 オフラインデバッグシステム20の構成>
図4は、オフラインデバッグシステム20を構成する各機能を示す図である。図4に示すように、オフラインデバッグシステム20は、シミュレーション制御プログラム21と、コントローラ・エミュレータ22と、サーボモータ・エミュレータ23と、時系列指令データ24と、時系列描画対象軌跡データ25とを含む。シミュレーション制御プログラム21は、軌跡計算プログラム26と、軌跡表示制御プログラム27とを含む。
<1.4 Configuration of offline debug system 20>
FIG. 4 is a diagram showing each function constituting the offline debug system 20. As shown in FIG. 4, the offline debug system 20 includes a simulation control program 21, a controller emulator 22, a servo motor emulator 23, time series command data 24, and time series drawing target locus data 25. The simulation control program 21 includes a locus calculation program 26 and a locus display control program 27.

オフラインデバッグシステム20は、ロボット制御システム1を構成するコントローラ10とサーボドライバ13とサーボモータ14との動作を、コントローラ・エミュレータ22およびサーボモータ・エミュレータ23の各プログラムを用いてシミュレーションする。コントローラ・エミュレータ22は、コントローラ10およびサーボドライバ13の動作を、コンピュータシステムにおいて模擬的に再現するためのエミュレータである。コントローラ・エミュレータ22は、サーボドライバ13がサーボモータ14を駆動するための指令信号の出力をエミュレートするため、サーボモータ・エミュレータ23に対し、複数のサーボモータの各回転量を指定する信号を送信する。また、コントローラ・エミュレータ22は、サーボモータ・エミュレータ23がシミュレーションするサーボモータ14の各サーボモータの駆動結果の予測値を予測フィードバック信号として受信し、受信された予測値に応じて、サーボモータ・エミュレータ23への指令信号に示す各サーボモータの回転量の指定値を決定する。コントローラ・エミュレータ22は、これら各サーボモータへの回転量の指定値の履歴を、時刻情報とともに時系列指令データ24に蓄積する。   The off-line debugging system 20 simulates the operations of the controller 10, the servo driver 13, and the servo motor 14 constituting the robot control system 1 using the programs of the controller / emulator 22 and the servo motor / emulator 23. The controller / emulator 22 is an emulator for simulating the operations of the controller 10 and the servo driver 13 in a computer system. The controller / emulator 22 transmits a signal designating each rotation amount of a plurality of servo motors to the servo motor / emulator 23 in order to emulate the output of a command signal for the servo driver 13 to drive the servo motor 14. To do. In addition, the controller / emulator 22 receives the predicted value of the drive result of each servo motor of the servo motor 14 simulated by the servo motor / emulator 23 as a predicted feedback signal, and the servo motor / emulator according to the received predicted value. The designated value of the rotation amount of each servo motor indicated by the command signal to 23 is determined. The controller / emulator 22 stores the history of the specified value of the rotation amount for each servo motor in the time-series command data 24 together with the time information.

サーボモータ・エミュレータ23は、サーボモータ14の動作を、コンピュータシステムにおいて模擬的に再現するためのエミュレータである。サーボモータ・エミュレータ23は、コントローラ・エミュレータ22から送信される、複数のサーボモータの各回転量を指定する信号を受信する。サーボモータ・エミュレータ23は、受信した信号に基づいて各サーボモータを駆動した場合の、サーボモータ14が駆動するロボット15のアームの各軸の位置および移動速度の予測値を計算し、計算された予測値を示す予測フィードバック信号をコントローラ・エミュレータ22へ送信する。   The servo motor / emulator 23 is an emulator for reproducing the operation of the servo motor 14 in a simulated manner in a computer system. The servo motor / emulator 23 receives a signal specifying the amount of rotation of each of the plurality of servo motors transmitted from the controller / emulator 22. The servo motor / emulator 23 calculates the predicted position and moving speed of each axis of the arm of the robot 15 driven by the servo motor 14 when each servo motor is driven based on the received signal. A predicted feedback signal indicating the predicted value is transmitted to the controller / emulator 22.

シミュレーション制御プログラム21は、コントローラ・エミュレータ22の動作を制御するための制御プログラムであり、コントローラ・エミュレータ22へ処理開始を指示することでコントローラ・エミュレータ22のシミュレーションを制御する。また、シミュレーション制御プログラム21は、コントローラ・エミュレータ22が蓄積する時系列指令データ24に基づいて、エンドプレート19の動作の軌跡を段階的に高精度化して図形描画する。   The simulation control program 21 is a control program for controlling the operation of the controller / emulator 22, and controls the simulation of the controller / emulator 22 by instructing the controller / emulator 22 to start processing. Further, the simulation control program 21 draws a figure with a step-by-step improvement in the trajectory of the end plate 19 based on the time-series command data 24 accumulated by the controller / emulator 22.

時系列指令データ24に蓄積されるデータ量が膨大になるにつれて、エンドプレート19の動作の軌跡を図形描画するために膨大なデータを扱う必要があり、図形描画が長期間化する。そこで、シミュレーション制御プログラム21は、時系列指令データ24に蓄積されるデータを所定の抽出条件に従って間引き、間引かれたデータを用いてエンドプレート19の動作軌跡の概形をまず表示する。その後、シミュレーション制御プログラム21は、エンドプレート19の動作軌跡の描画対象に用いる時系列指令データ24のデータ量を徐々に増加させることで、動作軌跡を段階的に高精度化して図形描画する。   As the amount of data stored in the time-series command data 24 becomes enormous, it is necessary to handle enormous data in order to draw the trace of the movement of the end plate 19, and the figure drawing takes a long time. Therefore, the simulation control program 21 thins out the data accumulated in the time-series command data 24 according to a predetermined extraction condition, and first displays the outline of the operation locus of the end plate 19 using the thinned data. Thereafter, the simulation control program 21 gradually increases the data amount of the time-series command data 24 used for drawing the motion trajectory of the end plate 19, thereby drawing the motion trajectory with higher accuracy step by step.

シミュレーション制御プログラム21の軌跡計算プログラム26は、詳細は後述するが、時系列指令データ24と、所定の抽出条件とに基づいて時系列指令データ24のデータを段階的に抽出する。軌跡計算プログラム26は、この抽出結果に対して順運動学の関数を用いて演算を施すことで、エンドプレート19の3次元座標における動作軌跡のシミュレーション結果を示す時系列描画対象軌跡データ25を生成する。時系列描画対象軌跡データ25は、時刻とともにエンドプレート19の3次元座標が蓄積される。このように、図形描画の対象となる描画対象データ(本実施形態では時系列描画対象軌跡データ25)は、原データ(本実施形態では時系列指令データ24)に対し、所定の演算を施すことにより得られる。   As will be described in detail later, the trajectory calculation program 26 of the simulation control program 21 extracts the data of the time series command data 24 step by step based on the time series command data 24 and a predetermined extraction condition. The trajectory calculation program 26 calculates time-series drawing target trajectory data 25 indicating the simulation result of the motion trajectory in the three-dimensional coordinates of the end plate 19 by performing an operation on the extraction result using a forward kinematics function. To do. The time-series drawing target locus data 25 stores the three-dimensional coordinates of the end plate 19 with time. As described above, the drawing target data (the time-series drawing target locus data 25 in the present embodiment) that is the target of the graphic drawing is subjected to a predetermined calculation on the original data (the time-series command data 24 in the present embodiment). Is obtained.

シミュレーション制御プログラム21の軌跡表示制御プログラム27は、時系列描画対象軌跡データ25に基づいて、エンドプレート19の動作軌跡のシミュレーション結果を図形描画し、描画された画像データを、ディスプレイ38へ出力する。軌跡表示制御プログラム27は、時系列描画対象軌跡データ25が更新される都度、エンドプレート19の動作軌跡を描画し、描画によって得られる画像データをディスプレイ38へ出力する。こうすることで、エンドプレート19の動作軌跡の図形描画が段階的に高精度化してディスプレイ38に表示される。ユーザは、まずエンドプレート19の動作軌跡の概形を早期に把握でき、徐々にエンドプレート19の詳細な動作軌跡を知ることができる。   The trajectory display control program 27 of the simulation control program 21 draws the simulation result of the motion trajectory of the end plate 19 based on the time-series drawing target trajectory data 25 and outputs the drawn image data to the display 38. The trajectory display control program 27 draws an operation trajectory of the end plate 19 each time the time-series drawing target trajectory data 25 is updated, and outputs image data obtained by the drawing to the display 38. By doing so, the graphic drawing of the motion trajectory of the end plate 19 is displayed on the display 38 with higher accuracy step by step. The user can first grasp the outline of the movement locus of the end plate 19 at an early stage, and can gradually learn the detailed movement locus of the end plate 19.

ここで、図5を用いて軌跡計算プログラム26の機能の詳細を説明する。図5は、軌跡計算プログラム26の各機能を示すブロック図である。軌跡計算プログラム26は、原データ取得部41と、軌跡計算対象抽出部42と、軌跡計算実行部43と、軌跡データ保持部44と、軌跡計算完了状態保持部45とを含む。   Here, details of the function of the trajectory calculation program 26 will be described with reference to FIG. FIG. 5 is a block diagram showing each function of the trajectory calculation program 26. The trajectory calculation program 26 includes an original data acquisition unit 41, a trajectory calculation target extraction unit 42, a trajectory calculation execution unit 43, a trajectory data holding unit 44, and a trajectory calculation completion state holding unit 45.

原データ取得部41は、複数件の原データを含む原データ群を取得する。本実施形態では、原データ取得部41は、時系列指令データ24を読みこむ。上述のように、時系列指令データ24は、時刻とともに各サーボモータへの回転量の指令値が対応づけられて記憶されている。   The original data acquisition unit 41 acquires an original data group including a plurality of pieces of original data. In the present embodiment, the original data acquisition unit 41 reads the time series command data 24. As described above, the time-series command data 24 is stored in association with the command value of the rotation amount to each servo motor with time.

軌跡計算対象抽出部42は、時系列指令データ24に記憶される複数件のデータのうち、エンドプレート19の軌跡を計算するために用いるデータを、所定の抽出条件に従って抽出する。本実施形態では、抽出条件として時刻を用いる。軌跡計算対象抽出部42は、時系列指令データ24の時刻の情報をもとに、一定の時間間隔で時系列指令データ24の各データを抽出する。軌跡計算対象抽出部42は、時系列指令データ24のうち抽出対象となったデータの各時刻を出力する。   The trajectory calculation target extraction unit 42 extracts data used for calculating the trajectory of the end plate 19 from a plurality of data stored in the time-series command data 24 according to a predetermined extraction condition. In this embodiment, time is used as the extraction condition. The trajectory calculation object extraction unit 42 extracts each data of the time-series command data 24 at regular time intervals based on the time information of the time-series command data 24. The trajectory calculation target extraction unit 42 outputs each time of data that is the extraction target in the time series command data 24.

軌跡計算実行部43は、時系列指令データ24のデータのうち、軌跡計算対象抽出部42が抽出した各時刻に対応するデータを用いて順運動学の関数演算を施すことにより、エンドプレート19の3次元座標の動作軌跡を計算する。   The trajectory calculation execution unit 43 performs forward kinematics function calculation using data corresponding to each time extracted by the trajectory calculation target extraction unit 42 among the data of the time series command data 24, thereby The motion trajectory of 3D coordinates is calculated.

軌跡データ保持部44は、軌跡計算実行部43の計算によって得られるエンドプレート19の3次元座標を、軌跡計算対象抽出部42で抽出される各時刻と対応づけて時系列描画対象軌跡データ25としてメモリに蓄積する。軌跡データ保持部44は、時系列描画対象軌跡データ25が更新されたことを軌跡表示制御プログラム27へ通知する。   The trajectory data holding unit 44 associates the three-dimensional coordinates of the end plate 19 obtained by the calculation of the trajectory calculation execution unit 43 with each time extracted by the trajectory calculation target extraction unit 42 as time series drawing target trajectory data 25. Accumulate in memory. The trajectory data holding unit 44 notifies the trajectory display control program 27 that the time-series drawing target trajectory data 25 has been updated.

軌跡計算完了状態保持部45は、原データ取得部41が取得する原データのうち、軌跡計算実行部43が計算対象とした原データを管理する。例えば、原データ取得部41が取得する原データ群の各原データについて、軌跡計算の対象となったか否かを対応づけて記憶する。   The trajectory calculation completion state holding unit 45 manages the original data that is calculated by the trajectory calculation executing unit 43 among the original data acquired by the original data acquiring unit 41. For example, each original data of the original data group acquired by the original data acquisition unit 41 is stored in association with whether or not it has been subject to trajectory calculation.

<データ>
図6〜8を用いて、オフラインデバッグシステム20が用いるデータ(時系列指令データ24、時系列描画対象軌跡データ25)について説明する。図6は、時系列指令データ24を示す図である。時系列指令データ24は、上述のようにコントローラ・エミュレータ22がサーボモータ・エミュレータ23に対して出力する各サーボモータの回転量の指令値の履歴を示す。
<Data>
Data used by the offline debugging system 20 (time-series command data 24, time-series drawing target locus data 25) will be described with reference to FIGS. FIG. 6 is a diagram showing the time series command data 24. The time-series command data 24 indicates a history of command values for the rotation amounts of the servo motors output from the controller / emulator 22 to the servo motor / emulator 23 as described above.

時系列指令データ24は、複数件のデータを含み、1件のデータは、時刻24Tと、回転量(αA)24Aと、回転量(αB)24Bと、回転量(αC)24Cとを含む。この1件のデータは、時刻24Tに示される時刻における、コントローラ・エミュレータ22からサーボモータ・エミュレータ23に対して出力されるサーボモータ回転量(αA、αB、αC)の指令値を示す。   The time-series command data 24 includes a plurality of pieces of data, and one piece of data includes a time 24T, a rotation amount (αA) 24A, a rotation amount (αB) 24B, and a rotation amount (αC) 24C. This one piece of data indicates a command value of the servo motor rotation amount (αA, αB, αC) output from the controller / emulator 22 to the servomotor / emulator 23 at the time indicated by time 24T.

図7は、サーボモータ・エミュレータ23がコントローラ・エミュレータ22からのサーボモータ回転量の各時刻における指令値を受けて各サーボモータを回転させた結果の一例を示す。図7は、横軸に時刻を示し、縦軸にサーボモータの各軸の回転量を示す。なお、図7は、縦軸に示すサーボモータの回転量を、角度(°)で示している。図7における3本の折れ線は、それぞれ、ロボット制御システム1の各サーボモータ(サーボドライバ13A、サーボドライバ13B、サーボドライバ13C)のシミュレーション結果に対応する。   FIG. 7 shows an example of a result of the servo motor emulator 23 rotating each servo motor in response to a command value of the servo motor rotation amount from the controller emulator 22 at each time. In FIG. 7, the horizontal axis indicates time, and the vertical axis indicates the rotation amount of each axis of the servo motor. In FIG. 7, the rotation amount of the servo motor shown on the vertical axis is indicated by an angle (°). Each of the three broken lines in FIG. 7 corresponds to a simulation result of each servo motor (servo driver 13A, servo driver 13B, servo driver 13C) of the robot control system 1.

図8は、時系列描画対象軌跡データ25を示す図である。時系列描画対象軌跡データ25は、上述のように軌跡計算プログラム26が時系列指令データ24に対し所定の演算を施した結果得られる、エンドプレート19の3次元座標における動作軌跡を示す。   FIG. 8 is a diagram showing the time-series drawing target locus data 25. The time-series drawing target trajectory data 25 indicates the motion trajectory in the three-dimensional coordinates of the end plate 19 obtained as a result of the trajectory calculation program 26 performing a predetermined calculation on the time-series command data 24 as described above.

時系列描画対象軌跡データ25は、複数件のデータを含み、1件のデータは、時刻25Tと、X座標25Xと、Y座標25Yと、Z座標25Zとを含む。この1件のデータは、時刻25Tに示される時刻における、エンドプレート19の3次元座標における位置を示す。   The time-series drawing target locus data 25 includes a plurality of pieces of data, and one piece of data includes a time 25T, an X coordinate 25X, a Y coordinate 25Y, and a Z coordinate 25Z. This one piece of data indicates the position of the end plate 19 in the three-dimensional coordinates at the time indicated by time 25T.

図9は、エンドプレート19の動作軌跡の描画例を示す図である。このように、軌跡計算プログラム26は、各サーボモータへの指令値をもとに所定の演算を施すことで、エンドプレート19の動作軌跡を算出する。   FIG. 9 is a diagram illustrating a drawing example of the motion trajectory of the end plate 19. In this way, the trajectory calculation program 26 calculates the operation trajectory of the end plate 19 by performing a predetermined calculation based on the command value to each servo motor.

<動作>
次に、図10を用いて軌跡計算プログラム26の動作を説明する。図10は、軌跡計算プログラム26の動作を示すフローチャートである。
<Operation>
Next, the operation of the trajectory calculation program 26 will be described with reference to FIG. FIG. 10 is a flowchart showing the operation of the trajectory calculation program 26.

ステップS11において、原データ取得部41は、描画対象のデータを計算するための複数件の原データからなる原データ群(本実施形態では、時系列指令データ24)をメモリから取得する。   In step S11, the original data acquisition unit 41 acquires, from the memory, an original data group (in this embodiment, time-series command data 24) including a plurality of pieces of original data for calculating drawing target data.

ステップS13において、軌跡計算プログラム26は、軌跡計算完了状態保持部45に保持される軌跡計算完了状態を初期化する。   In step S13, the trajectory calculation program 26 initializes the trajectory calculation completion state held in the trajectory calculation completion state holding unit 45.

ステップS15において、軌跡計算対象抽出部42は、所定の抽出条件に従って、原データ取得部41が取得した複数件のデータからなる原データ群から、軌跡計算実行部43が軌跡計算を実行する対象となる原データを抽出する。軌跡計算対象抽出部42は、軌跡計算完了状態に基づいて、未抽出の原データから抽出対象を選択する。本実施形態では、軌跡計算対象抽出部42は、原データ群からのデータ抽出回数を決定し、原データに対応づけられる時刻情報に基づいて、時刻が等間隔となるよう、また、決定された抽出回数で抽出が完了するよう原データを抽出する。   In step S15, the trajectory calculation target extraction unit 42 determines that the trajectory calculation execution unit 43 executes the trajectory calculation from the original data group including a plurality of pieces of data acquired by the original data acquisition unit 41 according to a predetermined extraction condition. To extract the original data. The trajectory calculation target extraction unit 42 selects an extraction target from the unextracted original data based on the trajectory calculation completion state. In the present embodiment, the trajectory calculation target extraction unit 42 determines the number of times of data extraction from the original data group, and based on the time information associated with the original data, the time is determined to be equal. Extract the original data so that the extraction is completed by the number of extractions.

ステップS17において、軌跡計算実行部43は、軌跡計算対象抽出部42の抽出結果に従って、所定の関数演算(本実施形態では、順運動学に基づく演算)を施すことで、グラフ描画の対象となる描画対象データ群を得る。本実施形態では、描画対象データは、エンドプレート19の動作軌跡を示す軌跡データであり、軌跡計算実行部43は、軌跡計算対象抽出部42の抽出結果に従って、エンドプレート19の軌跡データの計算を実行する。   In step S <b> 17, the trajectory calculation execution unit 43 performs a predetermined function calculation (in this embodiment, a calculation based on forward kinematics) according to the extraction result of the trajectory calculation target extraction unit 42, thereby becoming a graph drawing target. A drawing target data group is obtained. In this embodiment, the drawing target data is trajectory data indicating the motion trajectory of the end plate 19, and the trajectory calculation execution unit 43 calculates the trajectory data of the end plate 19 according to the extraction result of the trajectory calculation target extraction unit 42. Run.

ステップS19において、軌跡データ保持部44は、軌跡計算実行部43が計算することで得られる描画対象データ(軌跡データ)を時系列描画対象軌跡データ25として保存する。軌跡計算実行部43は、計算対象とした原データについて、軌跡計算完了状態保持部45に保持される軌跡計算完了状態を更新する。   In step S <b> 19, the trajectory data holding unit 44 stores the drawing target data (trajectory data) obtained by the trajectory calculation executing unit 43 as time series drawing target trajectory data 25. The trajectory calculation execution unit 43 updates the trajectory calculation completion state held in the trajectory calculation completion state holding unit 45 for the original data to be calculated.

ステップS21において、軌跡データ保持部44は、軌跡表示制御プログラム27に対し、描画対象データの更新を通知することで、描画対象データの描画を指示する。本実施形態では、軌跡データ保持部44は、軌跡表示制御プログラム27に対し、エンドプレート19の軌跡データの描画を指示する。   In step S21, the trajectory data holding unit 44 instructs the trajectory display control program 27 to draw the drawing target data by notifying the updating of the drawing target data. In the present embodiment, the trajectory data holding unit 44 instructs the trajectory display control program 27 to draw trajectory data of the end plate 19.

ステップS23において、軌跡計算対象抽出部42は、軌跡計算完了状態保持部45が保持する軌跡計算完了状態を参照し、原データ取得部41が取得した原データの全てを抽出したか判断する。軌跡計算対象抽出部42は、原データの全てを抽出した場合は(ステップS23:YES)処理を終了する。軌跡計算対象抽出部42は、、原データのうち、描画対象として未抽出の原データがある場合(ステップS23:NO)は、ステップS15の処理を繰り返す。   In step S23, the trajectory calculation object extraction unit 42 refers to the trajectory calculation completion state held by the trajectory calculation completion state holding unit 45, and determines whether all of the original data acquired by the original data acquisition unit 41 has been extracted. If all of the original data is extracted (step S23: YES), the locus calculation target extraction unit 42 ends the process. The trajectory calculation target extraction unit 42 repeats the process of step S15 when there is unextracted original data as a drawing target among the original data (step S23: NO).

ここで、図11を用いて、本実施形態における動作例を説明する。図11は、軌跡計算プログラム26の動作例を示す図である。ステップS13において、軌跡計算プログラム26は、軌跡計算完了状態を初期化し、原データ取得部41が取得する原データ群(時系列指令データ24)の全ての原データについて、軌跡計算実行部43において計算が完了していない状態とする。軌跡計算対象抽出部42は、例えば抽出回数を3回と決定し、時系列に等間隔に原データを抽出する。   Here, an operation example in the present embodiment will be described with reference to FIG. FIG. 11 is a diagram illustrating an operation example of the trajectory calculation program 26. In step S13, the trajectory calculation program 26 initializes the trajectory calculation completion state, and the trajectory calculation execution unit 43 calculates all the original data of the original data group (time-series command data 24) acquired by the original data acquisition unit 41. Is not completed. The trajectory calculation object extraction unit 42 determines, for example, that the number of extractions is 3, and extracts the original data at regular intervals in time series.

(1回目の抽出)軌跡計算対象抽出部42が時系列指令データ24から原データを抽出する1回目において、軌跡計算対象抽出部42は、時系列指令データ24の時刻24Tを参照し、時刻が等間隔となるよう3件の間隔を開けて原データを抽出する。図11に示すように、軌跡計算実行部43が1回目の抽出結果に対する軌跡計算を完了すると、軌跡計算完了状態保持部45は、軌跡計算完了状態として、原データ群の時刻「0」、「4」、「8」、・・と対応づけて、軌跡計算の対象として抽出されたことを示す値を保持する(図11では、軌跡計算の対象として抽出されたことを「1」、未抽出であることを「-」と示す)。   (First Extraction) In the first time when the trajectory calculation object extraction unit 42 extracts the original data from the time series command data 24, the trajectory calculation object extraction unit 42 refers to the time 24T of the time series command data 24 and the time is The original data is extracted at three intervals so as to be equally spaced. As shown in FIG. 11, when the trajectory calculation execution unit 43 completes the trajectory calculation for the first extraction result, the trajectory calculation completion state holding unit 45 sets the time “0”, “ 4 ”,“ 8 ”,... Are associated with values indicating that they have been extracted as trajectory calculation targets (in FIG. 11,“ 1 ”indicates that they have been extracted as trajectory calculation targets, unextracted "-").

(2回目の抽出)軌跡計算対象抽出部42が原データを抽出する2回目において、軌跡計算対象抽出部42は、軌跡計算完了状態保持部45の軌跡計算完了状態を参照し、既に抽出済みの時刻の中間に位置する未抽出の原データを、抽出対象とする。図11の例では、軌跡計算対象抽出部42は、既に抽出済みの時刻「0」、「4」、「8」、・・の中間に位置する未抽出の原データである時刻「2」、「6」、「10」、・・の原データを抽出する。   (Second Extraction) In the second time when the trajectory calculation object extraction unit 42 extracts the original data, the trajectory calculation object extraction unit 42 refers to the trajectory calculation completion state of the trajectory calculation completion state holding unit 45 and has already been extracted. The unextracted original data located in the middle of the time is set as the extraction target. In the example of FIG. 11, the trajectory calculation target extraction unit 42 is time “2”, which is unextracted original data located in the middle of already extracted times “0”, “4”, “8”,. Extract the original data of “6”, “10”,.

(3回目の抽出)軌跡計算対象抽出部42が原データを抽出する3回目において、軌跡計算対象抽出部42は、軌跡計算完了状態保持部45の軌跡計算完了状態を参照し、既に抽出済みの時刻の中間に位置する未抽出の原データを、抽出対象とする。図11の例では、軌跡計算対象抽出部42は、既に抽出済みの時刻「0」、「2」、「4」、「6」、「8」、・・の中間に位置する未抽出の原データである時刻「1」、「3」、「5」、「7」、・・の原データを抽出する。軌跡計算対象抽出部42は、ステップS23において、軌跡計算完了状態保持部45が保持する軌跡計算完了状態を参照し、未抽出の原データがなければ(ステップS23:YES)、処理を終了する。   (Third Extraction) In the third time when the trajectory calculation target extraction unit 42 extracts the original data, the trajectory calculation target extraction unit 42 refers to the trajectory calculation completion state of the trajectory calculation completion state holding unit 45 and has already been extracted. The unextracted original data located in the middle of the time is set as the extraction target. In the example of FIG. 11, the trajectory calculation target extraction unit 42 is an unextracted original position located between the already extracted times “0”, “2”, “4”, “6”, “8”,. The original data of time “1”, “3”, “5”, “7”,. In step S23, the trajectory calculation object extraction unit 42 refers to the trajectory calculation completion state held by the trajectory calculation completion state holding unit 45. If there is no unextracted original data (step S23: YES), the trajectory calculation target extraction unit 42 ends the process.

<変形例>
図12〜15を用いて、データ表示装置の変形例について説明する。
<Modification>
A modification of the data display device will be described with reference to FIGS.

上記実施形態では、軌跡計算プログラム26の軌跡計算対象抽出部42は、時系列指令データ24からデータを抽出するための抽出条件として、時刻が等間隔となるよう原データを抽出し、この時刻に基づく抽出方法を繰り返している。これにより、時系列描画対象軌跡データ25に示されるエンドプレート19の各座標が、軌跡計算対象抽出部42の抽出の都度、時系列に等間隔に計算される。そのため、軌跡表示制御プログラム27は、エンドプレート19の動作の軌跡の全体像をまず概形として図形描画した後、エンドプレート19の座標を、時系列に沿って段階的に詳細に図形描画する。   In the above embodiment, the trajectory calculation object extraction unit 42 of the trajectory calculation program 26 extracts the original data so that the times are equally spaced as the extraction conditions for extracting data from the time-series command data 24, and at this time The extraction method based is repeated. Thereby, each coordinate of the end plate 19 shown in the time-series drawing target trajectory data 25 is calculated at regular intervals in time series every time the trajectory calculation target extraction unit 42 extracts. For this reason, the trajectory display control program 27 first draws a figure as an outline of the entire image of the movement trajectory of the end plate 19 and then draws the coordinates of the end plate 19 in detail step by step along a time series.

この他にも、軌跡計算対象抽出部42が原データ群から原データを抽出するための抽出条件は、既に時系列指令データ24の一部について計算済みの時系列描画対象軌跡データ25に基づいて設定してもよい。例えば、軌跡計算対象抽出部42は、まず時系列に沿って等間隔に原データを抽出する。軌跡計算対象抽出部42は、次に原データを抽出する段階において、既に時系列描画対象軌跡データ25に蓄積されているエンドプレート19の座標の軌跡をもとに、別の抽出条件を設定してもよい。例えば、別の抽出条件として、軌跡計算対象抽出部42は、軌跡の曲率が比較的大きい座標の周辺を詳細に図形描画するよう軌跡計算対象抽出部42の抽出条件を設定してもよい。このように構成すると、1回目の軌跡計算は、原データ群からデータを間引いて計算するため、計算が短時間で完了する。これによって、ユーザは、軌跡の概形を即座に知ることができる。2回目以降の軌跡計算と軌跡描画の繰り返しによって段階的に軌跡描画の精度が上がり、最終的には全データの軌跡が表示されるため、ユーザは、詳細な軌跡を確認することができる。   In addition, the extraction condition for the trajectory calculation target extraction unit 42 to extract the original data from the original data group is based on the time-series drawing target trajectory data 25 already calculated for a part of the time-series command data 24. It may be set. For example, the trajectory calculation target extraction unit 42 first extracts original data at equal intervals along a time series. The trajectory calculation target extraction unit 42 sets another extraction condition based on the trajectory of the coordinates of the end plate 19 already accumulated in the time-series drawing target trajectory data 25 in the next stage of extracting the original data. May be. For example, as another extraction condition, the trajectory calculation target extraction unit 42 may set the extraction condition of the trajectory calculation target extraction unit 42 so as to draw a detailed figure around a coordinate having a relatively large curvature of the trajectory. With this configuration, the first trajectory calculation is performed by thinning out data from the original data group, and thus the calculation is completed in a short time. As a result, the user can immediately know the outline of the trajectory. By repeating the calculation of the locus and the drawing of the locus after the second time, the accuracy of the locus drawing is increased step by step, and the locus of all data is finally displayed, so that the user can confirm the detailed locus.

<変形例1:曲率優先>
図12は、エンドプレート19の軌跡の曲率に基づいて、軌跡計算対象抽出部42が原データの抽出条件を設定した場合の動作例を示す図である。エンドプレート19の軌跡において、曲率が比較的大きい座標の周辺は、曲率が比較的小さい座標の周辺と比べると、エンドプレート19が曲線的な動きをしていることを示す。
<Modification 1: Curvature priority>
FIG. 12 is a diagram illustrating an operation example when the trajectory calculation target extraction unit 42 sets the extraction condition of the original data based on the curvature of the trajectory of the end plate 19. In the trajectory of the end plate 19, the periphery of the coordinate having a relatively large curvature indicates that the end plate 19 moves in a curvilinear manner as compared with the periphery of the coordinate having a relatively small curvature.

そこで、軌跡計算対象抽出部42は、既に軌跡計算実行部43が一部の原データについて計算済みの時系列描画対象軌跡データ25を参照し、時系列描画対象軌跡データ25に示される各座標において、各座標に前後する座標値を用いて、各座標の曲率を算出する。軌跡計算対象抽出部42は、軌跡計算完了状態保持部45に保持される軌跡計算完了状態を参照し、エンドプレート19の軌跡において曲率が所定値以上の座標の周辺座標であって、軌跡計算対象抽出部42が未抽出の座標を優先して抽出する。これにより、エンドプレート19の軌跡の図形描画において、曲率が比較的大きい座標の周辺が、早期に詳細に描かれる。曲率が比較的小さい座標の周辺は、エンドプレート19の移動が直線的である。そのため、ユーザにとってエンドプレート19の移動の軌跡を比較的予想しやすい。そこで、曲率が比較的大きい座標の周辺を優先することで、ユーザが早期にエンドプレート19の移動の詳細を把握することを容易にする。   Therefore, the trajectory calculation target extraction unit 42 refers to the time series drawing target trajectory data 25 that has already been calculated by the trajectory calculation execution unit 43 for some original data, and at each coordinate indicated in the time series drawing target trajectory data 25. The curvature of each coordinate is calculated using the coordinate values before and after each coordinate. The trajectory calculation object extraction unit 42 refers to the trajectory calculation completion state held in the trajectory calculation completion state holding unit 45, and is a peripheral coordinate of coordinates whose curvature is equal to or greater than a predetermined value in the trajectory of the end plate 19. The extraction unit 42 preferentially extracts the unextracted coordinates. Thereby, in the graphic drawing of the locus of the end plate 19, the periphery of the coordinate having a relatively large curvature is drawn in detail at an early stage. The movement of the end plate 19 is linear around the coordinates where the curvature is relatively small. Therefore, it is relatively easy for the user to predict the movement trajectory of the end plate 19. Therefore, by giving priority to the periphery of the coordinate having a relatively large curvature, the user can easily grasp the details of the movement of the end plate 19 at an early stage.

<変形例2:座標間の距離優先>
この他に、エンドプレート19の軌跡の、座標間の距離を、軌跡計算対象抽出部42が原データを抽出するための抽出条件としてもよい。図13は、エンドプレート19の軌跡における座標間の距離に基づいて、軌跡計算対象抽出部42が原データの抽出条件を設定した場合の動作例を示す図である。
<Modification 2: Distance priority between coordinates>
In addition, the distance between coordinates of the trajectory of the end plate 19 may be used as an extraction condition for the trajectory calculation target extraction unit 42 to extract the original data. FIG. 13 is a diagram illustrating an operation example when the trajectory calculation target extraction unit 42 sets the extraction condition of the original data based on the distance between coordinates in the trajectory of the end plate 19.

図13の例では、軌跡計算対象抽出部42は、エンドプレート19の軌跡において、座標間の距離が所定距離以上の各座標に挟まれる座標を優先するよう原データを抽出する。軌跡計算対象抽出部42は、既に軌跡計算実行部43が一部の原データについて計算済みの時系列描画対象軌跡データ25を参照し、時系列描画対象軌跡データ25に示される各座標において、各座標に前後する座標値を用いて、各座標間の距離を算出する。軌跡計算対象抽出部42は、軌跡計算完了状態保持部45に保持される軌跡計算完了状態を参照し、軌跡計算対象抽出部42が未抽出の座標であって、エンドプレート19の軌跡において座標間の距離が所定値以上の座標を優先するよう原データを抽出する。または、時系列描画対象軌跡データ25に示される各座標において、座標間の距離が大きいものから順に、座標間において未抽出の座標を優先するよう抽出してもよい。   In the example of FIG. 13, the trajectory calculation target extraction unit 42 extracts the original data so as to prioritize the coordinates between the coordinates where the distance between the coordinates is equal to or greater than a predetermined distance in the trajectory of the end plate 19. The trajectory calculation target extraction unit 42 refers to the time-series drawing target trajectory data 25 that has already been calculated by the trajectory calculation execution unit 43 for some original data. The distance between each coordinate is calculated using the coordinate values before and after the coordinates. The trajectory calculation target extraction unit 42 refers to the trajectory calculation completion state held in the trajectory calculation completion state holding unit 45, and the trajectory calculation target extraction unit 42 has unextracted coordinates. The original data is extracted so as to give priority to coordinates whose distance is equal to or greater than a predetermined value. Alternatively, in each coordinate indicated in the time-series drawing target trajectory data 25, it may be extracted so that the unextracted coordinate is given priority in the order from the largest distance between the coordinates.

こうすることで、エンドプレート19の軌跡において、エンドプレート19の移動距離が長い部分を優先して軌跡計算実行部43が軌跡を計算する。これにより、エンドプレート19の軌跡の図形描画において、既に計算済みの座標間の距離が比較的大きい部分が優先して描画される。そのため、ユーザは、早期にエンドプレート19の軌跡の全体像を把握できる。   By doing so, the trajectory calculation execution unit 43 calculates the trajectory by giving priority to the portion of the trajectory of the end plate 19 where the moving distance of the end plate 19 is long. As a result, in the graphic drawing of the trajectory of the end plate 19, a portion having a relatively large distance between already calculated coordinates is preferentially drawn. Therefore, the user can grasp the entire image of the trajectory of the end plate 19 at an early stage.

<変形例3:稼働可能範囲の境界付近を優先>
この他に、エンドプレート19が動作可能な範囲(ワークスペース)が定義されている場合、軌跡計算対象抽出部42は、エンドプレート19の移動可能な範囲の境界付近の座標を優先するよう原データを抽出することとしてもよい。図14は、エンドプレート19の移動可能な範囲の境界付近の座標を優先するよう軌跡計算対象抽出部42が原データを抽出する場合の動作例を示す図である。
<Modification 3: Priority is given to the boundary of the operable range>
In addition to this, when a range (work space) in which the end plate 19 can operate is defined, the trajectory calculation target extraction unit 42 prioritizes coordinates near the boundary of the movable range of the end plate 19. It is good also as extracting. FIG. 14 is a diagram illustrating an operation example when the locus calculation target extraction unit 42 extracts the original data so that the coordinates near the boundary of the movable range of the end plate 19 are prioritized.

エンドプレート19の移動可能な範囲が3次元座標空間(xyz)で定義されている場合、軌跡計算対象抽出部42は、既に軌跡計算実行部43が一部の原データについて計算済みの時系列描画対象軌跡データ25を参照し、時系列描画対象軌跡データ25に示される各座標と、エンドプレート19の移動可能な範囲との距離(ワークスペースの境界との距離)を各座標について算出する。軌跡計算対象抽出部42は、軌跡計算完了状態保持部45に保持される軌跡計算完了状態を参照し、時系列描画対象軌跡データ25に示される各座標とエンドプレート19の移動可能な範囲との距離が所定距離以下の座標の周辺座標であって、軌跡計算対象抽出部42が未抽出の座標を優先するよう原データを抽出する。   When the movable range of the end plate 19 is defined in the three-dimensional coordinate space (xyz), the trajectory calculation target extraction unit 42 has already calculated the time series drawing that the trajectory calculation execution unit 43 has already calculated for some original data. With reference to the target locus data 25, the distance between each coordinate indicated in the time-series drawing target locus data 25 and the movable range of the end plate 19 (distance from the boundary of the workspace) is calculated for each coordinate. The trajectory calculation object extraction unit 42 refers to the trajectory calculation completion state held in the trajectory calculation completion state holding unit 45, and determines each coordinate indicated in the time-series drawing target trajectory data 25 and the movable range of the end plate 19. The trajectory calculation object extraction unit 42 extracts the original data so as to give priority to the unextracted coordinates that are the peripheral coordinates of the coordinates whose distance is equal to or less than the predetermined distance.

こうすることで、軌跡表示制御プログラム27は、エンドプレート19のワークスペースの境界付近の座標を優先して詳細に図形描画する。そのため、ユーザは、エンドプレート19がワークスペースをはみ出した座標を早期に検知することができる。   By doing so, the trajectory display control program 27 preferentially draws the graphic in the vicinity of the boundary of the workspace of the end plate 19. Therefore, the user can detect the coordinates at which the end plate 19 protrudes from the work space at an early stage.

<変形例4:既知のオブジェクトとの境界付近を優先>
この他に、エンドプレート19が動作可能な範囲(ワークスペース)において、既知の物体(オブジェクト)が配置されている場合、軌跡計算対象抽出部42は、既知のオブジェクトとの距離が近い座標を優先するよう原データを抽出することとしてもよい。図15は、エンドプレート19の移動可能な範囲に配置されるオブジェクトとの境界付近の座標を優先するよう軌跡計算対象抽出部42が原データを抽出する場合の動作例を示す図である。
<Modification 4: Priority is given to the vicinity of a boundary with a known object>
In addition to this, when a known object (object) is arranged in a range (work space) in which the end plate 19 can operate, the locus calculation target extraction unit 42 prioritizes coordinates that are close to the known object. It is good also as extracting original data so that. FIG. 15 is a diagram illustrating an operation example when the trajectory calculation target extraction unit 42 extracts the original data so as to give priority to the coordinates near the boundary with the object arranged in the movable range of the end plate 19.

エンドプレート19の移動可能な範囲において、既知のオブジェクトの3次元座標空間(xyz)での座標が定義されている場合、軌跡計算対象抽出部42は、既に軌跡計算実行部43が一部の原データについて計算済みの時系列描画対象軌跡データ25を参照し、時系列描画対象軌跡データ25に示される各座標と、既知のオブジェクトとの距離を各座標について算出する。軌跡計算対象抽出部42は、軌跡計算完了状態保持部45に保持される軌跡計算完了状態を参照し、時系列描画対象軌跡データ25に示される各座標と既知のオブジェクトとの距離が所定距離以下の座標の周辺座標であって、軌跡計算対象抽出部42が未抽出の座標を優先するよう原データを抽出する。   When the coordinates of a known object in the three-dimensional coordinate space (xyz) are defined within the movable range of the end plate 19, the trajectory calculation target extraction unit 42 has already acquired the trajectory calculation execution unit 43 as a part of the original. The calculated time series drawing target locus data 25 is referred to for data, and the distance between each coordinate indicated in the time series drawing target locus data 25 and a known object is calculated for each coordinate. The trajectory calculation target extraction unit 42 refers to the trajectory calculation completion state held in the trajectory calculation completion state holding unit 45, and the distance between each coordinate indicated in the time-series drawing target trajectory data 25 and the known object is equal to or less than a predetermined distance. The trajectory calculation target extraction unit 42 extracts the original data so as to give priority to the unextracted coordinates.

こうすることで、軌跡表示制御プログラム27は、エンドプレート19と既知のオブジェクトとの境界付近の座標を優先して詳細に図形描画する。そのため、ユーザは、エンドプレート19と既知のオブジェクトとの干渉チェックを早期に実施することができる。   By doing so, the trajectory display control program 27 preferentially draws the graphics in the vicinity of the boundary between the end plate 19 and the known object. Therefore, the user can perform an interference check between the end plate 19 and a known object at an early stage.

以上、本発明者によってなされた発明を実施の形態に基づき具体的に説明したが、本発明は前記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。今回開示された実施の形態はすべての点で例示であって制限的なものでないと考えられるべきである。この発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   As mentioned above, the invention made by the present inventor has been specifically described based on the embodiment. However, the present invention is not limited to the embodiment, and various modifications can be made without departing from the scope of the invention. Needless to say. The embodiment disclosed this time must be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

1 ロボット制御システム、10 コントローラ、11 プログラミングツール、12 プログラマブルターミナル、13 サーボドライバ、14 サーボモータ、15 ロボット、16 アーム部、17 関節部、19 エンドプレート、20 オフラインデバッグシステム、21 シミュレーション制御プログラム、22 コントローラ・エミュレータ、23 サーボモータ・エミュレータ、24 時系列指令データ、25 時系列描画対象軌跡データ、26 軌跡計算プログラム、27 軌跡表示制御プログラム、30 データ表示装置、31 CPU、32 ROM、33 RAM、34 HDD、35 通信インタフェース、36 I/Oインタフェース、37 キーボード、38 ディスプレイ、41 原データ取得部、42 軌跡計算対象抽出部、43 軌跡計算実行部、44 軌跡データ保持部、45 軌跡計算完了状態保持部。   DESCRIPTION OF SYMBOLS 1 Robot control system, 10 Controller, 11 Programming tool, 12 Programmable terminal, 13 Servo driver, 14 Servo motor, 15 Robot, 16 Arm part, 17 Joint part, 19 End plate, 20 Offline debug system, 21 Simulation control program, 22 Controller / emulator, 23 Servo motor / emulator, 24 Time series command data, 25 Time series drawing target trajectory data, 26 Trajectory calculation program, 27 Trajectory display control program, 30 Data display device, 31 CPU, 32 ROM, 33 RAM, 34 HDD, 35 communication interface, 36 I / O interface, 37 keyboard, 38 display, 41 original data acquisition unit, 42 locus calculation object extraction unit, 43 locus calculation execution unit, 44 locus data holding unit, 45 locus calculation completion state holding unit.

Claims (3)

描画対象データ群のグラフ描画を段階的に高精度化して、段階に応じたグラフ画像を表示するためのデータ表示装置であって、
複数件の原データを含む原データ群を記憶する記憶部と、
所定の抽出条件に従って、前記原データ群から1件以上の計算対象の原データを抽出する抽出部と、
前記抽出部によって抽出された原データに対して所定の関数演算を施すことにより、1件以上の描画対象データを生成する計算実行部と、
前記描画対象データに基づいて、グラフ画像を表示部に表示させる表示制御部とを含み、
前記抽出部は、前記原データ群から前記1件以上の計算対象の原データを抽出すると、抽出されていない1件以上の計算対象の原データを前記原データ群から抽出する抽出処理を繰り返し、
前記計算実行部は、前記抽出処理が行われる度に、当該抽出された原データに対して前記所定の関数演算を施すことによって1件以上の描画対象データを生成する生成処理を繰り返し、
前記表示制御部は、前記生成処理が行われる度に、生成された全ての前記描画対象データに基づいて、前記グラフ画像の表示を更新し、
前記原データ群の原データ、および、前記描画対象データ群の描画対象データは、時刻情報と対応づけられる時系列のデータであり、
前記抽出部は、
前記原データ群からの原データの抽出回数を決定し、
前記所定の抽出条件として、前記原データの時刻情報に基づいて時刻が等間隔となるよう、かつ、決定された前記抽出回数で抽出が完了するよう、所定件数の原データを抽出する、データ表示装置。
A data display device for displaying a graph image corresponding to a stage by increasing the accuracy of the graph drawing of the drawing target data group in stages,
A storage unit for storing a group of original data including a plurality of pieces of original data;
An extraction unit for extracting one or more calculation target original data from the original data group according to a predetermined extraction condition;
A calculation execution unit that generates one or more drawing target data by performing a predetermined function operation on the original data extracted by the extraction unit;
A display control unit that displays a graph image on a display unit based on the drawing target data;
When the extraction unit extracts the one or more calculation target original data from the original data group, the extraction unit repeats an extraction process of extracting one or more calculation target original data that has not been extracted from the original data group,
The calculation execution unit repeats a generation process for generating one or more drawing target data by performing the predetermined function operation on the extracted original data each time the extraction process is performed,
The display control unit updates the display of the graph image based on all the generated drawing target data every time the generation process is performed ,
The original data of the original data group and the drawing target data of the drawing target data group are time series data associated with time information,
The extraction unit includes:
Determine the number of extractions of the original data from the original data group,
As the predetermined extraction condition , a data display for extracting a predetermined number of original data so that the time is equidistant based on the time information of the original data and the extraction is completed with the determined number of extractions apparatus.
描画対象データ群のグラフ描画を段階的に高精度化して、段階に応じたグラフ画像をデータ表示装置が表示する方法であって、
前記データ表示装置は、複数件の原データを含む原データ群を記憶する記憶部を含み、
前記方法は、
前記データ表示装置が、所定の抽出条件に従って、前記原データ群から1件以上の計算対象の原データを抽出するステップと、
前記データ表示装置が、前記抽出された原データに対して所定の関数演算を施すことにより、1件以上の描画対象データを生成するステップと、
前記データ表示装置が、前記描画対象データに基づいて、グラフ画像を表示部に表示させるステップと、
前記原データ群から前記1件以上の計算対象の原データが抽出されると、前記所定の抽出条件に従って、前記データ表示装置が、抽出されていない1件以上の計算対象の原データを前記原データ群から抽出する抽出処理を繰り返すステップと、
前記抽出処理が行われる度に、前記データ表示装置が、当該抽出された原データに対して前記所定の関数演算を施すことによって1件以上の描画対象データを生成する生成処理を繰り返すステップと、
前記生成処理が行われる度に、前記データ表示装置が、生成された全ての前記描画対象データに基づいて、前記グラフ画像の表示を更新するステップとを含
前記原データ群の原データ、および、前記描画対象データ群の描画対象データは、時刻情報と対応づけられる時系列のデータであり、
前記原データの抽出においては、前記原データ群からの原データの抽出回数が決定された後、前記所定の抽出条件として、前記原データの時刻情報に基づいて時刻が等間隔となるよう、かつ、決定された前記抽出回数で抽出が完了するよう、所定件数の原データが抽出される、
方法。
A method of increasing the accuracy of graph drawing of the drawing target data group step by step, and displaying a graph image corresponding to the step by the data display device,
The data display device includes a storage unit that stores an original data group including a plurality of original data,
The method
The data display device, according to a predetermined extraction condition, extracting one or more calculation target original data from the original data group;
The data display device generates one or more drawing target data by performing a predetermined function operation on the extracted original data;
The data display device displaying a graph image on a display unit based on the drawing target data; and
When the one or more calculation target original data is extracted from the original data group, the data display device converts the one or more calculation target original data not extracted according to the predetermined extraction condition. Repeating the extraction process of extracting from the data group;
Each time the extraction process is performed, the data display device repeats a generation process for generating one or more drawing target data by performing the predetermined function operation on the extracted original data; and
Every time the generation process is performed, the data display device, based on all of the drawing object data generated, look including the step of updating the display of the graph image,
The original data of the original data group and the drawing target data of the drawing target data group are time series data associated with time information,
In the extraction of the original data, after the number of extractions of the original data from the original data group is determined, as the predetermined extraction condition, the time is set at regular intervals based on the time information of the original data, and , A predetermined number of original data is extracted so that extraction is completed with the determined number of extractions,
Method.
描画対象データ群のグラフ描画を段階的に高精度化して、段階に応じたグラフ画像を表示させる処理を実行するデータ処理装置の動作を制御するためのプログラムであって、
前記データ処理装置は、プロセッサと、メモリとを含み、前記メモリは、複数件の原データを含む原データ群を記憶し、
前記プログラムは、前記プロセッサに、
所定の抽出条件に従って、前記原データ群から1件以上の計算対象の原データを抽出させるステップと、
前記抽出された原データに対して所定の関数演算を施すことにより、1件以上の描画対象データを生成させるステップと、
前記描画対象データに基づいて、グラフ画像を表示部に表示させるステップと、
前記原データ群から前記1件以上の計算対象の原データが抽出されると、前記所定の抽出条件に従って、抽出されていない1件以上の計算対象の原データを前記原データ群から抽出する抽出処理を繰り返すステップと、
前記抽出処理が行われる度に、当該抽出された原データに対して前記所定の関数演算を施すことによって1件以上の描画対象データを生成する生成処理を繰り返すステップと、
前記生成処理が行われる度に、生成された全ての前記描画対象データに基づいて、前記グラフ画像の表示を更新するステップとを実行させ、
前記原データ群の原データ、および、前記描画対象データ群の描画対象データは、時刻情報と対応づけられる時系列のデータであり、
前記原データの抽出においては、前記原データ群からの原データの抽出回数が決定された後、前記所定の抽出条件として、前記原データの時刻情報に基づいて時刻が等間隔となるよう、かつ、決定された前記抽出回数で抽出が完了するよう、所定件数の原データが抽出される、
プログラム。
A program for controlling the operation of a data processing apparatus that executes a process of displaying a graph image corresponding to a stage by increasing the precision of the graph drawing of the drawing target data group in stages,
The data processing apparatus includes a processor and a memory, and the memory stores an original data group including a plurality of original data,
The program is stored in the processor.
Extracting one or more original data to be calculated from the original data group according to a predetermined extraction condition;
Generating one or more drawing target data by performing a predetermined function operation on the extracted original data;
Displaying a graph image on a display unit based on the drawing target data;
When the one or more calculation target original data is extracted from the original data group, extraction is performed to extract one or more calculation target original data not extracted from the original data group according to the predetermined extraction condition. Repeating the process;
Repeating the generation process for generating one or more drawing target data by performing the predetermined function operation on the extracted original data each time the extraction process is performed;
Each time the generation process is performed, based on all the generated drawing target data, the display of the graph image is updated , and
The original data of the original data group and the drawing target data of the drawing target data group are time series data associated with time information,
In the extraction of the original data, after the number of extractions of the original data from the original data group is determined, as the predetermined extraction condition, the time is set at regular intervals based on the time information of the original data, and , A predetermined number of original data is extracted so that extraction is completed with the determined number of extractions,
program.
JP2012177854A 2012-08-10 2012-08-10 Data display device, method, and program Active JP6155570B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012177854A JP6155570B2 (en) 2012-08-10 2012-08-10 Data display device, method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012177854A JP6155570B2 (en) 2012-08-10 2012-08-10 Data display device, method, and program

Publications (2)

Publication Number Publication Date
JP2014035722A JP2014035722A (en) 2014-02-24
JP6155570B2 true JP6155570B2 (en) 2017-07-05

Family

ID=50284666

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012177854A Active JP6155570B2 (en) 2012-08-10 2012-08-10 Data display device, method, and program

Country Status (1)

Country Link
JP (1) JP6155570B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101876845B1 (en) * 2015-08-26 2018-07-11 주식회사 뉴로메카 Robot control apparatus

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58195884A (en) * 1982-05-12 1983-11-15 株式会社日立製作所 Indication of display
JPH0738129B2 (en) * 1989-05-27 1995-04-26 オークマ株式会社 NC data display method
JP3364821B2 (en) * 1995-07-05 2003-01-08 三菱電機株式会社 Plant monitoring and control equipment
JP2000048047A (en) * 1998-01-19 2000-02-18 Asahi Glass Co Ltd Time series data storing method, time series database system, time series data processing method, time series data processing system, time series data display system, and recording medium
JPH11207669A (en) * 1998-01-23 1999-08-03 Nissan Motor Co Ltd Simulation method for assembling locus of parts
JP2003103491A (en) * 2001-09-28 2003-04-08 Honda Motor Co Ltd Mutual interference verification method and mutual interference verification display pattern for robot
JP2004082313A (en) * 2002-08-29 2004-03-18 Nachi Fujikoshi Corp Device for making simulation model of robot's movement
US20040196286A1 (en) * 2003-04-01 2004-10-07 Microsoft Corporation Progressive scale graph
JP2005190107A (en) * 2003-12-25 2005-07-14 Yamatake Corp Trend graph display method and device
JP2005262368A (en) * 2004-03-18 2005-09-29 Rikogaku Shinkokai Walking device
JP4400325B2 (en) * 2004-06-14 2010-01-20 横河電機株式会社 Trend graph display method and apparatus
JP2007011978A (en) * 2005-07-04 2007-01-18 Toyota Motor Corp Motion controller for robot
JP5419044B2 (en) * 2008-12-20 2014-02-19 国立大学法人 東京大学 Method and apparatus for real-time rendering of volume data
JP5428965B2 (en) * 2010-03-15 2014-02-26 オムロン株式会社 Display device, display control method, program, and computer-readable recording medium
JP5474739B2 (en) * 2010-11-18 2014-04-16 本田技研工業株式会社 Interference detection method and interference detection apparatus
JP2013136109A (en) * 2011-12-28 2013-07-11 Nitto Seiko Co Ltd Interference determination device and interference determination method

Also Published As

Publication number Publication date
JP2014035722A (en) 2014-02-24

Similar Documents

Publication Publication Date Title
CN110573308B (en) Computer-based method and system for spatial programming of robotic devices
EP1310844B1 (en) Simulation device
EP1842631B1 (en) Apparatus and method for automatic path generation for an industrial robot
US20150151431A1 (en) Robot simulator, robot teaching device, and robot teaching method
US20190051049A1 (en) Information processing apparatus, information processing method, and non-transitory storage medium
US10603788B2 (en) Robot simulation apparatus
CN108000523B (en) Simulation device, simulation method, and recording medium for simulating operation of robot system
JP2003117863A (en) Robot simulation device
JP7087316B2 (en) Information processing equipment, information processing methods and programs
CN104002297A (en) Teaching system, teaching method and robot system
EP3175957B1 (en) Robot control program generation method and apparatus
CN109129413B (en) Robot system capable of displaying speed
US20210154831A1 (en) Information processing method, robot system, article manufacturing method and information processing apparatus
JP6155570B2 (en) Data display device, method, and program
JP5272447B2 (en) Numerical control machine operation simulator
JP6560841B1 (en) Control device, work robot, program, and control method
US11975454B2 (en) Program generation device and non-transitory computer-readable storage medium storing program
Tanzini et al. A novel human-machine interface for working machines operation
US20220395985A1 (en) Information processing apparatus, information processing method, display apparatus, display method, robot system, article production method, program, and storage medium
EP4052865A1 (en) Information processing apparatus, robot system, information processing method, program, and recording medium
JP6577686B1 (en) Control device, work robot, program, and control method
JP7276359B2 (en) Motion command generation device, mechanism control system, computer program, motion command generation method, and mechanism control method
CN112192567B (en) Method and device for acquiring working range of robot
JP6958294B2 (en) Teaching data display device, teaching data display method
CN117032658A (en) Method and engineering station for diagnosing a user program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150810

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160531

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160705

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160902

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170131

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170303

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170522

R150 Certificate of patent or registration of utility model

Ref document number: 6155570

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