JP2023086676A - Image teaching method in image teaching system and image teaching system - Google Patents

Image teaching method in image teaching system and image teaching system Download PDF

Info

Publication number
JP2023086676A
JP2023086676A JP2022176337A JP2022176337A JP2023086676A JP 2023086676 A JP2023086676 A JP 2023086676A JP 2022176337 A JP2022176337 A JP 2022176337A JP 2022176337 A JP2022176337 A JP 2022176337A JP 2023086676 A JP2023086676 A JP 2023086676A
Authority
JP
Japan
Prior art keywords
contour
grindstone
display
teaching
point
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.)
Pending
Application number
JP2022176337A
Other languages
Japanese (ja)
Inventor
俊太 中提
Shunta Nakatsutsumi
貴史 高原
Takashi Takahara
智弘 清水
Toshihiro Shimizu
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.)
Waida Manufacturing Co Ltd
Original Assignee
Waida Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Waida Manufacturing Co Ltd filed Critical Waida Manufacturing Co Ltd
Publication of JP2023086676A publication Critical patent/JP2023086676A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Grinding And Polishing Of Tertiary Curved Surfaces And Surfaces With Complex Shapes (AREA)
  • Numerical Control (AREA)
  • Constituent Portions Of Griding Lathes, Driving, Sensing And Control (AREA)

Abstract

To provide an image teaching method in an image teaching system whereby teaching can be carried out easily, and to provide the image teaching system.SOLUTION: A workpiece outline B and a grinding stone outline A are displayed in an image operation area 15a of a screen, which is a common screen of displays, by a display control unit. Based on operations of an X-axis operation device and a Y-axis operation device by an operator, the display control unit moves the grinding stone outline A to the workpiece outline B. When the grinding stone outline A is brought into contact with the workpiece outline B, a predetermined range including a contact point is highlighted and displayed. An operator teaches a position of the grinding stone outline A by means of a starting point button, a middle point button, and a terminal point button. When the operator repeats these steps, a locus generation unit generates a locus including the obtained position of the grinding stone outline.SELECTED DRAWING: Figure 6

Description

本発明は、画像ティーチングシステムにおける画像ティーチング方法及び画像ティーチングシステムに関する。 The present invention relates to an image teaching method and an image teaching system in an image teaching system.

従来、光学式倣い研削加工方法は、投影機のスクリーンに加工物の形状を描画したチャート紙を操作者が貼り付ける。次に、前記スクリーン上に砥石車を投影させた状態で、操作者がX軸ハンドル及びY軸ハンドルを操作して、砥石車を前記チャート紙上の加工物の形状に合わせるように移動させて、前記砥石車の位置を教示する。このようなティーチングプレイバック方式を経て、NCプログラムが作成されて、加工物の研削が行われる。上記の方法は、照明が砥石車の下方から形状を映し出している。このため、砥石車の投影像にはぼやけが発生する。このぼやけを介しての砥石車の位置の見極め、すなわち、ティーチングは作業者の技量に依存する。このため、ティーチングでは作業者の技量により、砥石車の位置にはばらつきが生ずる。 Conventionally, in the optical copy grinding method, an operator sticks a chart paper on which the shape of the workpiece is drawn on the screen of the projector. Next, with the grinding wheel projected on the screen, the operator operates the X-axis handle and the Y-axis handle to move the grinding wheel so as to match the shape of the workpiece on the chart paper, Teach the position of the grinding wheel. Through such a teaching playback method, an NC program is created and the workpiece is ground. In the above method, the lighting reflects the shape from below the grinding wheel. For this reason, blurring occurs in the projected image of the grinding wheel. Determining the position of the grinding wheel through this blurring, that is, teaching depends on the skill of the operator. Therefore, during teaching, the position of the grinding wheel varies depending on the skill of the operator.

特許文献1は、この上記方法の問題点を解消するために、下記の方法を採用している。砥石車にてテストピースを研削して砥石車の形状をテストピースに転写する。得られた前記テストピースの砥石車の転写形状を、操作者が投影機のスクリーンの加工物形状に沿って移動させて加工物の形状変化点のワーク座標系の位置を教示していく。得られた形状変化点のワーク座標系の位置は、砥石座標系に変換されるとともに砥石移動経路に変換される。 Patent document 1 employs the following method in order to solve the problem of the above method. A test piece is ground by a grinding wheel to transfer the shape of the grinding wheel to the test piece. The operator moves the transferred shape of the grinding wheel of the test piece thus obtained along the shape of the workpiece on the screen of the projector to teach the positions of the shape change points of the workpiece in the workpiece coordinate system. The obtained position of the shape change point in the work coordinate system is converted into the grindstone coordinate system and into the grindstone movement path.

特開2001-88002号公報Japanese Patent Application Laid-Open No. 2001-88002

ところで、特許文献1のティーチングは、砥石車にてテストピースを研削後、得られたテストピースの砥石車の転写形状を、加工物が描かれているチャート紙が張られた投影機のスクリーン上に投影することにより行われる。従って、チャート紙の準備、チャート紙への加工物の印刷、チャート紙の張り作業等の必要があり、改善の余地がある。 By the way, in the teaching of Patent Document 1, after grinding a test piece with a grinding wheel, the transfer shape of the test piece obtained by the grinding wheel is displayed on the screen of a projector on which a chart paper on which the workpiece is drawn is pasted. This is done by projecting onto Therefore, it is necessary to prepare the chart paper, print the processed product on the chart paper, paste the chart paper, etc., and there is room for improvement.

本発明の目的は、ティーチングを容易に行うことができる画像ティーチングシステムにおける画像ティーチング方法及び画像ティーチングシステムを提供することにある。 SUMMARY OF THE INVENTION It is an object of the present invention to provide an image teaching method and an image teaching system in an image teaching system in which teaching can be easily performed.

上記問題点を解決するために、本発明の画像ティーチングシステムにおける画像ティーチング方法は、ディスプレイと、前記ディスプレイを表示制御する表示制御部と、手動操作部と、ティーチング部、及び軌道生成部を備えた画像ティーチングシステムにおける画像ティーチング方法であって、前記表示制御部により、ワークの形状図面データ及び砥石輪郭画像データに基づいて前記ディスプレイの共通画面に前記ワークの形状輪郭(以下、ワーク輪郭という)及び砥石輪郭を表示するステップと、前記ディスプレイの共通画面において、前記手動操作部の操作に基づく前記表示制御部の制御により前記砥石輪郭を前記ワーク輪郭に移動させる移動ステップと、前記砥石輪郭が前記ワーク輪郭と接触したときの前記砥石輪郭の位置を前記ティーチング部にてティーチングするティーチングステップと、前記移動ステップ、及び前記ティーチングステップを繰り返して、得られた前記砥石輪郭の位置を含む軌跡を前記軌道生成部にて得るステップを含むものである(請求項1)。 In order to solve the above problems, the image teaching method in the image teaching system of the present invention comprises a display, a display control section for controlling display of the display, a manual operation section, a teaching section, and a trajectory generation section. An image teaching method in an image teaching system, wherein the display control unit displays the shape outline of the work (hereinafter referred to as work outline) and the grindstone on the common screen of the display based on the work shape drawing data and the grindstone outline image data. a step of displaying a contour; a moving step of moving the grinding wheel contour to the work contour on the common screen of the display under the control of the display control unit based on the operation of the manual operation unit; The trajectory including the position of the grindstone contour obtained by repeating the teaching step of teaching the position of the grindstone contour when the grinding wheel contour is in contact with the teaching unit, the moving step, and the teaching step is generated by the trajectory generation unit (Claim 1).

上記構成によれば、ディスプレイの共通画面にワーク輪郭及び砥石輪郭を表示する。この後、移動ステップにおいて、操作者による手動操作部の操作に基づいて、表示制御部は砥石輪郭を前記ワーク輪郭へ移動させる。ティーチングステップでは、操作者は砥石輪郭がワーク輪郭と接触したときの砥石輪郭の位置をティーチング部にてティーチングする。これらのステップを操作者が繰り返されることにより、軌道生成部が、得られた砥石輪郭の位置を含む軌跡を生成する。 According to the above configuration, the work contour and the grindstone contour are displayed on the common screen of the display. After that, in the moving step, the display control unit moves the grindstone contour to the work contour based on the operator's operation of the manual operation unit. In the teaching step, the operator teaches the position of the grindstone contour when the grindstone contour comes into contact with the workpiece contour using the teaching section. By repeating these steps by the operator, the trajectory generator generates a trajectory including the position of the obtained grindstone contour.

また、画像ティーチング方法は、前記表示制御部により、ワークの形状図面データ及び砥石輪郭画像データに基づいて前記ディスプレイの共通画面に前記ワークの形状輪郭(以下、ワーク輪郭という)及び砥石輪郭を表示するステップでは、さらに、取得した砥石画像に対して前記表示制御部により、前記砥石輪郭を重ね合わせて表示してもよい(請求項2)。 In the image teaching method, the display control unit displays the shape contour of the work (hereinafter referred to as work contour) and the grindstone contour on the common screen of the display based on the work shape drawing data and the grindstone contour image data. In the step, the display control unit may further superimpose and display the grindstone outline on the acquired grindstone image (claim 2).

上記構成の方法によれば、砥石画像と砥石輪郭との重ね合わせた表示により、現実感が得られた状態で、ティーチングを行うことができる。
また、画像ティーチングシステムは、前記移動ステップにおいて、前記砥石輪郭と前記ワーク輪郭との接触を検出する検出部、及び前記検出部による前記接触の検出があった際に前記砥石輪郭と前記ワーク輪郭との当該接触をティーチング操作者に通知する通知部を備え、前記通知部の通知後に、前記ティーチング部にて前記砥石輪郭の位置をティーチングするようにしてもよい(請求項3)。上記構成では、移動ステップにおいて、検出部が砥石輪郭とワーク輪郭の接触を検出すると、通知部は、前記接触をティーチング操作者に通知する。操作者は、前記通知部の通知があった場合、砥石輪郭とワーク輪郭との接触を、この通知により知ることができる。操作者は、この通知後に、ティーチング部にて前記砥石輪郭の位置をティーチングすることにより、前記軌道生成部が生成する軌跡の正確を維持する。
According to the method having the above configuration, the superimposed display of the grindstone image and the grindstone outline enables teaching to be performed in a state in which a sense of reality is obtained.
In the moving step, the image teaching system further comprises a detection unit for detecting contact between the grindstone contour and the work contour, and when the contact is detected by the detection unit, the grindstone contour and the work contour are detected. may be provided with a notification unit for notifying the teaching operator of the contact, and after the notification by the notification unit, the teaching unit may teach the position of the grinding wheel contour (claim 3). In the above configuration, in the moving step, when the detector detects contact between the grindstone contour and the work contour, the notification section notifies the teaching operator of the contact. When the notification from the notification unit is received, the operator can know the contact between the grinding wheel contour and the workpiece contour from this notification. After this notification, the operator teaches the position of the grindstone contour using the teaching section, thereby maintaining the accuracy of the trajectory generated by the trajectory generation section.

また、前記通知部は、前記ディスプレイであって、前記検出部による前記接触の検出に応じて、前記表示制御部の制御により前記砥石輪郭が前記ワーク輪郭と接触した部位、または、前記接触した部位を含む所定範囲をハイライト表示させることにより、前記砥石輪郭の前記ワーク輪郭に対する前記接触をティーチング操作者に通知するようにしてもよい(請求項4)。上記構成によれば、通知部としてのディスプレイは、砥石輪郭がワーク輪郭と接触した部位、または前記接触した部位を含む所定範囲を前記表示制御部の制御によりハイライト表示する。このハイライト表示により、操作者は、砥石輪郭がワーク輪郭のどの部位に接触したかを知ることができる。 Further, the notification unit is the display, and in response to detection of the contact by the detection unit, a portion where the grinding wheel contour comes into contact with the work contour under the control of the display control unit, or the contacted portion A teaching operator may be notified of the contact of the grindstone contour with the work contour by highlighting a predetermined range including the (claim 4). According to the above configuration, the display serving as the notification section highlights the portion where the contour of the grindstone contacts the contour of the workpiece, or a predetermined range including the contact portion, under the control of the display control section. This highlight display allows the operator to know which part of the work contour the grindstone contour has touched.

本発明の画像ティーチングシステムは、ディスプレイと、前記ディスプレイの共通画面にワークの形状図面データ及び砥石輪郭画像データに基づいて前記ワークの形状輪郭(以下、ワーク輪郭という)及び砥石輪郭を表示させる表示制御部と、前記ディスプレイ上の前記砥石輪郭を移動操作する手動操作部と、前記砥石輪郭が前記ワーク輪郭と接触した際、前記砥石輪郭の位置をティーチングするティーチング部と、前記ティーチング部によりティーチングされた前記砥石輪郭の位置を含む軌跡を生成する軌道生成部を備えるものである(請求項5)。上記画像ティーチングシステムにより、上記画像ティーチング方法を容易に実現できる。 The image teaching system of the present invention comprises a display, and display control for displaying the shape contour of the work (hereinafter referred to as work contour) and the grindstone contour on the common screen of the display based on the work shape drawing data and the grindstone contour image data. a manual operation unit for moving the grinding wheel contour on the display; a teaching unit for teaching the position of the grinding wheel contour when the grinding wheel contour comes into contact with the work contour; A trajectory generator is provided for generating a trajectory including the position of the grinding wheel contour (claim 5). The image teaching system can easily realize the image teaching method.

また、画像ティーチングシステムにおいては、前記表示制御部は、前記ワークの形状図面データ及び前記砥石輪郭画像データに基づいて前記ディスプレイの共通画面に前記ワークの形状輪郭(以下、ワーク輪郭という)及び砥石輪郭を表示する際に、取得した砥石画像と前記砥石輪郭を重ね合わせて表示してもよい(請求項6)。上記構成の画像ティーチングシステムによれば、砥石画像と砥石輪郭との重ね合わせた表示により、現実感が得られた状態で、ティーチングを行うことができる。 Further, in the image teaching system, the display control unit displays the work shape contour (hereinafter referred to as work contour) and the grindstone contour on the common screen of the display based on the work shape drawing data and the grindstone contour image data. When displaying , the acquired grindstone image and the grindstone contour may be superimposed and displayed (claim 6). According to the image teaching system configured as described above, the superimposed display of the grindstone image and the grindstone outline enables teaching to be performed in a state in which a sense of reality is obtained.

また、画像ティーチングシステムにおいては、前記砥石輪郭と前記ワーク輪郭との接触を検出する検出部と、前記検出部による前記接触の検出があった際に、前記砥石輪郭と前記ワーク輪郭の前記接触をティーチング操作者に通知する通知部を備え、前記ティーチング部は、前記砥石輪郭と前記ワーク輪郭との前記接触についての前記通知部による通知後に、前記砥石輪郭の位置をティーチングしてもよい(請求項7、請求項8)。上記構成により、通知部の通知により、砥石輪郭とワーク輪郭との接触を操作者が知ることができ、容易にティーチングすることが可能となる。 Further, in the image teaching system, a detection unit for detecting contact between the grindstone contour and the work contour, and when the contact is detected by the detection unit, the contact between the grindstone contour and the work contour is detected. A notification unit may be provided for notifying a teaching operator, and the teaching unit may teach the position of the grindstone contour after notification by the notification unit of the contact between the grindstone contour and the work contour (claim 7, claim 8). With the above configuration, the notification from the notification unit allows the operator to know the contact between the grinding wheel contour and the workpiece contour, thereby enabling easy teaching.

また、画像ティーチングシステムにおいては、前記通知部は、前記ディスプレイであって、前記検出部による前記接触の検出に応じて、前記表示制御部の制御により前記砥石輪郭が前記ワーク輪郭と接触した部位、または、前記接触した部位を含む所定範囲をハイライト表示させることにより、前記砥石輪郭の前記ワーク輪郭に対する前記接触をティーチング操作者に通知してもよい(請求項9、請求項10)。上記構成により、砥石輪郭がワーク輪郭と接触した部位、または、前記接触した部位を含む所定範囲がハイライト表示されることにより、砥石輪郭とワーク輪郭との接触を操作者が知ることができ、容易にティーチングすることが可能となる。 また、前記ワーク輪郭は、直線と直線の変化点、直線と曲線の変化点、曲線と曲線の変化点のいずれか1つを少なくとも含み、前記変化点の位置を表示指示する変化点位置表示指示部を有し、前記表示制御部は、前記変化点位置表示指示部による前記変化点の位置の表示指示の操作に応じて、変化点位置表示を前記ディスプレイに行わせてもよい(請求項11)。 Further, in the image teaching system, the notification unit is the display, and in response to detection of the contact by the detection unit, a portion where the grinding wheel contour comes into contact with the work contour under the control of the display control unit, Alternatively, a teaching operator may be notified of the contact of the grindstone contour with the workpiece contour by highlighting a predetermined range including the contacted portion (claims 9 and 10). With the above configuration, the portion where the grindstone contour contacts the work contour, or a predetermined range including the contact portion is highlighted, so that the operator can know the contact between the grindstone contour and the work contour. Easy teaching becomes possible. The work contour includes at least one of a straight line-to-straight line change point, a straight line-to-curve change point, and a curve-to-curve change point, and a change point position display instruction for displaying and instructing the position of the change point. The display control unit may cause the display to display the position of the change point in response to an operation of the display instruction of the position of the change point by the display instruction unit for the position of the change point (claim 11). ).

上記画像ティーチングシステムにより、変化点位置表示指示部によるワーク輪郭に含まれる変化点位置の表示指示の操作に応じて、変化点位置がディスプレイの共通画面に表示される。この変化点位置表示により、操作者のワーク輪郭に対する砥石輪郭の移動は、位置表示された変化点を目安にして移動させることが可能となる。特に、直線と曲線の変化点、直線と直線の交わる角度が浅い変化点の場合、または曲率半径が異なる円弧同士の変化点の場合、変化点位置表示がないと変化点の位置が不明となりやすい。変化点位置表示がされていれば、前記変化点自身に対する砥石輪郭の移動を容易に行うことも可能となる。 With the image teaching system, the changing point positions are displayed on the common screen of the display according to the operation of the changing point position display instructing unit to display the changing point positions included in the contour of the workpiece. With this changing point position display, the operator can move the grinding wheel contour with respect to the workpiece contour using the displayed changing point as a guide. In particular, in the case of a point where a straight line and a curve intersect, a point where a straight line intersects at a shallow angle, or a point where arcs have different curvature radii, the position of the point of change is likely to be unknown without the position of the point of change indicated. . If the changing point position is displayed, it becomes possible to easily move the grinding wheel contour with respect to the changing point itself.

また、前記ワーク輪郭は、直線と直線の変化点、直線と曲線の変化点、曲線と曲線の変化点のいずれか1つを少なくとも含み、前記変化点に関係する直線または曲線の前記変化点からの延長表示を指示する変化点関係線延長表示指示部を有し、前記表示制御部は、前記変化点関係線延長表示指示部による前記変化点からの延長表示を指示の操作に応じて、前記変化点に関係する直線または曲線の延長表示を前記ディスプレイに行わせてもよい(請求項12)。 In addition, the workpiece contour includes at least one of a straight line and a straight line change point, a straight line and a curve change point, and a curve and a curve change point, and from the change point of the straight line or the curve related to the change point and the display control unit, in response to the operation of the change point relation line extension display instruction unit for instructing the extension display from the change point, The display may be caused to display an extended straight line or curved line related to the change point (Claim 12).

上記画像ティーチングシステムにより、変化点関係線延長表示指示部によるワーク輪郭に含まれる変化点に関係する直線または曲線の延長表示の操作に応じて、前記変化点に関係する直線または曲線の延長表示がディスプレイの共通画面に表示される。この変化点に関係する直線または曲線の延長表示により、操作者のワーク輪郭に対する砥石輪郭の移動は、この変化点を基準にして移動させることが可能となる。特に、直線と曲線の変化点、直線と直線の交わる角度が浅い変化点の場合、曲率半径が異なる曲線同士の変化点は、変化点に関係する線の延長表示がない場合は、変化点がどこにあるのかは不明となりやすい。このような場合、変化点に関係する直線または曲線の延長表示がされていれば、前記変化点自身に対する砥石輪郭の移動を容易に行うことも可能である。或いは、変化点間の間に対して砥石輪郭の移動を容易に行うことも可能である。 According to the above image teaching system, the extension display of the straight line or curve related to the change point is performed in response to the operation of the change point relation line extension display instructing unit for the extension display of the straight line or curve related to the change point included in the work contour. Displayed on the common screen of the display. An extended display of a straight line or curve relating to this change point allows the operator to move the wheel contour relative to the workpiece contour with reference to this change point. In particular, in the case of a point where a straight line and a curve intersect, a point where the angle between the straight lines is shallow, and a point where the curves with different curvature radii are different, if there is no extension display of the line related to the point of change, the point of change is Where it is is likely to be unclear. In such a case, if a straight line or curve related to the change point is displayed as an extension, it is possible to easily move the grinding wheel contour with respect to the change point itself. Alternatively, it is also possible to easily move the wheel profile between the change points.

本発明は、光学式投影機及びチャート紙を必要とせず、ティーチングを容易に行うことができる効果を奏する。 The present invention has the effect of facilitating teaching without the need for an optical projector and chart paper.

画像ティーチングシステムの概略全体を示す構成図である。1 is a configuration diagram showing an outline of the entire image teaching system; FIG. 画像ティーチングシステムにおける画像ティーチング方法のステップの説明図である。FIG. 4 is an explanatory diagram of the steps of the image teaching method in the image teaching system; (a)はディスプレイの共通画面上に表示される操作パネル、(b)はディスプレイの共通画面上に特殊ボタンによるタッチ操作によりディスプレイの共通画面上にポップアップ表示される特殊メニューである。(a) is an operation panel displayed on the common screen of the display, and (b) is a special menu popped up on the common screen of the display by a touch operation using a special button on the common screen of the display. (a)は自動変化点ティーチングモードにおける2点ティーチングの説明図、(b)は自動変化点ティーチングモードにおける3点ティーチングの説明図である。(a) is an explanatory diagram of two-point teaching in the automatic changing point teaching mode, and (b) is an explanatory diagram of three-point teaching in the automatic changing point teaching mode. (a)は変化点直接ティーチングモードにおける2点ティーチングの説明図、(b)は変化点直接ティーチングモードにおける3点ティーチングの説明図である。(a) is an explanatory diagram of two-point teaching in the changing point direct teaching mode, and (b) is an explanatory diagram of three-point teaching in the changing point direct teaching mode. ワーク輪郭と、砥石輪郭がディスプレイの共通画面上に表示されたときの説明図である。FIG. 10 is an explanatory diagram when a work contour and a grindstone contour are displayed on a common screen of a display; (a)は砥石輪郭がワーク輪郭に一点で接触したときのハイライト表示の説明図、(b)は砥石輪郭がワーク輪郭に対して二点で接触したときのハイライト表示の説明図である。(a) is an illustration of highlighting when the contour of the grindstone contacts the contour of the work at one point, and (b) is an illustration of highlighting when the contour of the grindstone contacts the contour of the work at two points. . ディスプレイの共通画面上に表示される「目安線・クロス線」の操作ボタンの説明図である。FIG. 10 is an explanatory diagram of operation buttons for “reference line/cross line” displayed on the common screen of the display; (a)はワーク輪郭に目安線が表示されたときの説明図、(b)は(a)と同じワーク輪郭に目安線が表示されないときの説明図である。(a) is an explanatory diagram when the reference line is displayed on the contour of the work, and (b) is an explanatory diagram when the reference line is not displayed on the same contour of the work as in (a). (a)はワーク輪郭にクロス線が表示されたときの説明図、(b)は(a)と同じワーク輪郭にクロス線が表示されないときの説明図である。(a) is an explanatory diagram when a cross line is displayed on the work contour, and (b) is an explanatory diagram when the cross line is not displayed on the same work contour as (a). ワーク輪郭に沿って砥石輪郭が移動したときの、軌跡の一例の説明図である。FIG. 5 is an explanatory diagram of an example of a trajectory when a grindstone contour moves along a work contour; ディスプレイの共通画面上に表示される「編集」の操作ボタンの説明図である。FIG. 4 is an explanatory diagram of an “edit” operation button displayed on a common screen of a display; 編集時において、ポイント移動したときの軌跡が変更される場合の説明図である。FIG. 11 is an explanatory diagram of a case where a trajectory when a point is moved is changed during editing; 編集時において、円弧変更したときの軌跡が変更される場合の説明図である。FIG. 10 is an explanatory diagram of a case where the trajectory is changed when the circular arc is changed during editing; 他の実施形態の画像ティーチングシステムの概略全体を示す構成図である。FIG. 11 is a configuration diagram showing an outline of an entire image teaching system of another embodiment; (a)は砥石輪郭表示ONボタンの説明図、(b)は、砥石輪郭表示ONボタンがオン操作されない場合の砥石画像の説明図、(c)は砥石輪郭表示ONボタンがオン操作された場合の砥石画像の説明図である。(a) is an explanatory diagram of the grinding wheel outline display ON button, (b) is an explanatory diagram of the grinding wheel image when the grinding wheel outline display ON button is not turned on, and (c) is an explanatory diagram of the grinding wheel outline display ON button when the ON operation is performed. is an explanatory diagram of the whetstone image of . (a)は第2実施形態における砥石輪郭がワーク輪郭に一点で接触したときのハイライト表示の説明図、(b)は第2実施形態における砥石輪郭がワーク輪郭に対して二点で接触したときのハイライト表示の説明図である。(a) is an explanatory view of highlight display when the grinding wheel contour in the second embodiment contacts the workpiece contour at one point, and (b) is the grinding wheel contour in the second embodiment that contacts the workpiece contour at two points. FIG. 10 is an explanatory diagram of highlight display when

(第1実施形態)
以下、本発明を具体化した一実施形態の画像ティーチングシステムにおける画像ティーチング方法及び画像ティーチングシステムを図1~図14を参照して説明する。
(First embodiment)
An image teaching method and an image teaching system in an image teaching system according to an embodiment of the present invention will be described below with reference to FIGS. 1 to 14. FIG.

(1.システム概略構成)
図1に示すように画像ティーチングシステム10は、画像ティーチング処理装置12、ディスプレイ14、入力装置としてコンソール16、マウス18、X軸操作装置20、及びY軸操作装置22を備えている。画像ティーチング処理装置12は、NC装置33と通信が可能に接続されている。
(1. System schematic configuration)
As shown in FIG. 1, the image teaching system 10 includes an image teaching processor 12, a display 14, a console 16 as input devices, a mouse 18, an X-axis operation device 20, and a Y-axis operation device 22. FIG. The image teaching processing device 12 is communicably connected to the NC device 33 .

(2.画像ティーチング処理装置12)
画像ティーチング処理装置12は、コンピュータからなり、CPU(中央処理装置)24、及び、ROM、RAM、ハードディスク等を備える記憶部26等を備えている。画像ティーチングシステム10の制御プログラムは、前記記憶部26に格納されていて、システムが実行時に読み込まれる。RAMは作業用メモリである。前記ハードディスクには、複数のワークの形状図面データ、及び砥石輪郭画像データを書き込み及び読み出し可能に格納されている。前記ワークの形状図面データは、NC装置33が備える研削車によって研削がされる形状図面データであって、例えば、CADソフトで読み書き可能なDXFファイル等で保存されている。なお、前記ワークの形状図面データは、DXFファイルに限定するものではなく、他のファイル形式であってもよい。
(2. Image teaching processing device 12)
The image teaching processing device 12 is composed of a computer, and includes a CPU (Central Processing Unit) 24, a storage section 26 including a ROM, a RAM, a hard disk, and the like. A control program for the image teaching system 10 is stored in the storage unit 26 and read when the system is executed. RAM is working memory. The hard disk stores shape drawing data of a plurality of workpieces and grindstone contour image data in a writable and readable manner. The shape drawing data of the workpiece is shape drawing data to be ground by the grinding wheel provided in the NC unit 33, and is stored as, for example, a DXF file that can be read and written by CAD software. The shape drawing data of the workpiece is not limited to the DXF file, and may be in another file format.

また、前記ワークの形状図面データは、テンプレートで形成された形状図面データであってもよい。テンプレートで形成された形状図面データは、予め定型された、線、円形、円弧、四角形、三角形等の形状の組合せの形状データ、或いは単独の形状データを含む。テンプレートで形成される形状図面データは、ディスプレイ14の画面15上で、前記直線、円等を図示しないテンプレート選択ボタン等にて選択されて描画操作されることにより作成されて、前記RAMにて構成される画像メモリに記憶される。表示制御部28は、この画像メモリに格納されたテンプレートで形成される形状図面データに基づいて表示制御部28が描画する。 Further, the shape drawing data of the workpiece may be shape drawing data formed by a template. The shape drawing data formed by the template includes predetermined shape data of combinations of shapes such as lines, circles, arcs, quadrilaterals, triangles, etc., or single shape data. The shape drawing data formed by the template is created on the screen 15 of the display 14 by selecting the straight lines, circles, etc. with the template selection buttons (not shown) and performing a drawing operation, and is stored in the RAM. stored in the image memory The display control unit 28 draws based on the shape drawing data formed by the template stored in the image memory.

前記ワークの形状図面データに基づいてディスプレイ14の画面15に表示されるワークの形状輪郭は、形状の変化点、すなわち、直線と直線の変化点、直線と円弧との変化点、或いは円弧と円弧との変化点を有する。このように、前記変化点を形成する直線、及び円弧は、ワークの形状輪郭を形成する「要素」である。なお、前記円弧は、曲線に相当する。また、ワークの形状輪郭を、説明の便宜上、以下ではワーク輪郭という。画面15は、共通画面に相当する。 The shape contour of the work displayed on the screen 15 of the display 14 based on the shape drawing data of the work has shape change points, that is, change points between a straight line and a straight line, change points between a straight line and an arc, or an arc and an arc. It has a change point with Thus, the straight lines and arcs that form the change points are "elements" that form the contour of the workpiece. Note that the arc corresponds to a curved line. For convenience of explanation, the shape contour of the work is hereinafter referred to as the work contour. Screen 15 corresponds to a common screen.

前記砥石輪郭画像データは、砥石車の形状データである。前記砥石車の形状データは、砥石車で研削されたダミーワークの研削痕を撮像した画像を元に、画像処理により、エッジ検出等によりその輪郭が抽出されたものである。なお、砥石輪郭画像の輪郭を、以下では、単に砥石輪郭という。図1に示すように、CPU24は、画像ティーチングシステム10の制御プログラムを実行すると、表示制御部28、検出部30及び軌道生成部32としての各種処理動作を行う。 The grinding wheel contour image data is grinding wheel shape data. The shape data of the grinding wheel is obtained by extracting the outline by edge detection or the like through image processing based on an image of the grinding marks of the dummy work ground by the grinding wheel. The contour of the grindstone contour image is hereinafter simply referred to as the grindstone contour. As shown in FIG. 1, when the CPU 24 executes the control program of the image teaching system 10, the CPU 24 performs various processing operations as the display control section 28, the detection section 30 and the trajectory generation section 32. FIG.

(3.入力装置)
コンソール16は、CPU24に対する数値、文字等の入力装置である。マウス18は、図1に示す画面15の画像操作領域15aに表示された画像の拡大操作、縮小操作、画面15上の図示しないマウスポインタの移動操作等を行う入力装置である。なお、以下の説明では、各種の操作、或いはティーチングは、タッチ操作で行うことを前提として説明する。しかし、マウス18の操作により各種ボタン等に図示しないマウスポインタを合致させた後、クリック操作でティーチング、或いは各種の入力操作等を行ってもよい。X軸操作装置20は、手動ハンドル20a及びエンコーダ20bを備えている。手動ハンドル20aが操作されると、エンコーダ20bはその操作に応じた操作信号を画像ティーチング処理装置12のCPU24に出力する。CPU24の表示制御部28は、前記操作信号に基づいて、図1に示す機械座標系のX軸方向へ、画面15の画像操作領域15aに表示された砥石輪郭A(図6参照)を移動する。なお、機械座標系は、NC装置33の機械座標系である。
(3. Input device)
The console 16 is a device for inputting numbers, characters, etc. to the CPU 24 . The mouse 18 is an input device for enlarging or reducing an image displayed in the image operation area 15a of the screen 15 shown in FIG. In the following description, it is assumed that various operations or teaching are performed by touch operations. However, after aligning a mouse pointer (not shown) with various buttons or the like by operating the mouse 18, teaching or various input operations may be performed by clicking. The X-axis operating device 20 has a manual handle 20a and an encoder 20b. When the manual handle 20a is operated, the encoder 20b outputs an operation signal corresponding to the operation to the CPU 24 of the image teaching processing device 12. FIG. Based on the operation signal, the display control unit 28 of the CPU 24 moves the grindstone outline A (see FIG. 6) displayed in the image operation area 15a of the screen 15 in the X-axis direction of the machine coordinate system shown in FIG. . Note that the machine coordinate system is the machine coordinate system of the NC device 33 .

Y軸操作装置22は、手動ハンドル22a及びエンコーダ22bを備えている。手動ハンドル22aが操作されると、エンコーダ22bはその操作に応じた操作信号を画像ティーチング処理装置12のCPU24に出力する。CPU24の表示制御部28は、前記操作信号に基づいて、図1に示す機械座標系のY軸方向へ、画面15の画像操作領域15aに表示された砥石輪郭A(図6参照)を移動する。X軸操作装置20及びY軸操作装置22は、手動操作部に相当する。 The Y-axis operating device 22 has a manual handle 22a and an encoder 22b. When the manual handle 22a is operated, the encoder 22b outputs an operation signal corresponding to the operation to the CPU 24 of the image teaching processing device 12. FIG. Based on the operation signal, the display control unit 28 of the CPU 24 moves the grindstone contour A (see FIG. 6) displayed in the image operation area 15a of the screen 15 in the Y-axis direction of the machine coordinate system shown in FIG. . The X-axis operating device 20 and the Y-axis operating device 22 correspond to manual operating units.

(4.ディスプレイ14)
ディスプレイ14は、液晶表示装置、有機EL表示装置、或いはCRT等からなる。ディスプレイ14は、タッチパネルディスプレイである。図1に示すように、画像ティーチング時のディスプレイ14の画面15は、画像操作領域15a、ボタン表示領域15b、15c及び切替タブ表示領域15dを有する。画像ティーチング時の画像操作領域15aは、砥石輪郭等の画像が表示される。
(4. Display 14)
The display 14 is composed of a liquid crystal display device, an organic EL display device, a CRT, or the like. The display 14 is a touch panel display. As shown in FIG. 1, the screen 15 of the display 14 during image teaching has an image operation area 15a, button display areas 15b and 15c, and a switching tab display area 15d. In the image operation area 15a during image teaching, an image such as the outline of the grindstone is displayed.

(5.操作ボタン)
図3(a)に示すように、画像ティーチング時のボタン表示領域15b、15cは、画像ティーチング時に使用される各種の操作ボタンが表示される。ボタン表示領域15b、15cの各種の操作ボタンは、操作者によるタッチ操作が可能となっている。以下では、タッチ操作を単に操作という。ボタン表示領域15bに配置される各種のボタンは、プログラム保存ボタン34、プログラム読込ボタン36、機械転送ボタン38を含む。
(5. Operation button)
As shown in FIG. 3A, in image teaching button display areas 15b and 15c, various operation buttons used during image teaching are displayed. Various operation buttons in the button display areas 15b and 15c can be touch-operated by the operator. Below, the touch operation is simply referred to as operation. Various buttons arranged in the button display area 15 b include a program save button 34 , a program load button 36 and a machine transfer button 38 .

プログラム保存ボタン34が操作されると、ティーチングに基づいて作成された軌跡に沿って砥石車が移動して研削を行う工程プログラムが、記憶部26のハードディスクに保存される。プログラム読込ボタン36が操作されると、記憶部26のハードディスクに格納されている工程プログラムがポップアップ画面で表示される。このポップアップ画面で表示された工程プログラムについて読み出し可能となる。機械転送ボタン38が操作されると、読込まれた前記工程プログラムがNC装置33に転送される。 When the program save button 34 is operated, the hard disk of the storage unit 26 saves a process program for grinding by moving the grinding wheel along the trajectory created based on the teaching. When the program loading button 36 is operated, the process program stored in the hard disk of the storage unit 26 is displayed on a pop-up screen. The process program displayed on this pop-up screen can be read. When the machine transfer button 38 is operated, the read process program is transferred to the NC device 33 .

ボタン表示領域15cの各種のボタンは、リスト上移動ボタン40、リスト下移動ボタン42、ポイント入力法選択ボタン43、始点ボタン44、中点ボタン46、終点ボタン48、編集ボタン50、特殊ボタン52等を含む。始点ボタン44、中点ボタン46、終点ボタン48は、ティーチング部に相当する。また、ボタン表示領域15cの各種のボタンは、設定ボタン56、有効ボタン58、アプローチボタン60、ハンドル倍率用の「×10」ボタン62、「×1」ボタン64、「×1/10」ボタン66を含む。 Various buttons in the button display area 15c include a move up list button 40, a move down list button 42, a point input method selection button 43, a start point button 44, a middle point button 46, an end point button 48, an edit button 50, a special button 52, and the like. including. The start point button 44, the middle point button 46, and the end point button 48 correspond to the teaching section. Various buttons in the button display area 15c include a setting button 56, an effective button 58, an approach button 60, a "x10" button 62 for handle magnification, a "x1" button 64, and a "x1/10" button 66. including.

図3(a)に示すように、切替タブ表示領域15dは、形状データタブ67a、ティーチングタブ67b等の表示切替のタブを備える。図3(a)は、ティーチングタブ67bが操作されることにより切替タブ表示領域15dにはティーチングにより得られる工程リスト68が表示されている。形状データタブ67aが操作されると、切替タブ表示領域15d及びボタン表示領域15cには、図8に示す目安線・クロス線選択メニュー76、図示はしないが形状データ読込ボタン等の各種の操作ボタンが表示される。 As shown in FIG. 3A, the switching tab display area 15d includes display switching tabs such as a shape data tab 67a and a teaching tab 67b. In FIG. 3A, a process list 68 obtained by teaching is displayed in the switching tab display area 15d by operating the teaching tab 67b. When the shape data tab 67a is operated, the reference line/cross line selection menu 76 shown in FIG. 8 and various operation buttons such as a shape data read button (not shown) are displayed in the switching tab display area 15d and the button display area 15c. is displayed.

工程リスト68は、ティーチングの工程行番号欄70、Type欄72、及び軸移動速度欄74を備える。工程行番号欄70の各行には、ティーチングで得られた工程の番号が、0を初期値として行順にCPU24により書き込まれる。Type欄72の各行には、各工程における工程の種類、例えば、Line(直線)、Circle(円弧)が、CPU24により書き込まれる。軸移動速度欄74には、各工程の加工速度が操作者の入力により書き込まれる。工程リスト68は、前記リスト上移動ボタン40、リスト下移動ボタン42の操作により、上方向、または下方向へスクロールすることが可能である。 The process list 68 includes a teaching process line number column 70 , a Type column 72 , and an axis movement speed column 74 . In each row of the process row number column 70, the CPU 24 writes the process number obtained by teaching in row order with 0 as the initial value. In each row of the Type column 72, the CPU 24 writes the type of process in each process, such as Line (straight line) and Circle (arc). The machining speed of each process is written in the axis movement speed column 74 by the operator's input. The process list 68 can be scrolled upward or downward by operating the list upward movement button 40 and the list downward movement button 42 .

(変化点関係線延長表示及び変化点位置表示)
(5.1.変化点関係線延長表示)
図3(a)に示す形状データタブ67aが操作されると、図8に示す目安線・クロス線選択メニュー76が表示される。目安線・クロス線選択メニュー76には、ラジオボタン式の非表示ボタン77、目安線ボタン78及びクロス線ボタン79が設けられている。目安線ボタン78は、変化点関係線延長表示指示部に相当する。クロス線ボタン79は、変化点位置表示指示部に相当する。
(Change point relationship line extension display and change point position display)
(5.1. Change point relationship line extension display)
When the shape data tab 67a shown in FIG. 3A is operated, a reference line/cross line selection menu 76 shown in FIG. 8 is displayed. The reference line/cross line selection menu 76 is provided with a non-display button 77, a reference line button 78, and a cross line button 79 of radio button type. The reference line button 78 corresponds to a changing point relation line extension display instruction section. The cross line button 79 corresponds to a changing point position display instructing section.

図9(b)は、ワーク輪郭Bの一例を示している。このワーク輪郭Bは、形状変化点としての変化点Q1で交わる一対の直線Ba、Bbを有する。目安線ボタン78が操作されると、図9(a)に示すように、変化点Q1を起点として直線Baから直線で延長された所定長を有する目安線Maが表示される。同時に図9(a)に示すように、変化点Q1を起点として直線Bbから直線で延長された所定長を有する目安線Mbが表示される。なお、ワーク輪郭Bが有する変化点Q1の座標はDXFファイルが有している。このため、表示制御部28としてのCPU24は、この変化点の座標、及び当該変化点を形成する線が直線、円弧であるかを判定して、この判定結果に基づいて、直線或いは、後述する円弧の目安線を表示するようにしている。 FIG. 9(b) shows an example of the work contour B. FIG. This work contour B has a pair of straight lines Ba and Bb that intersect at a change point Q1 as a shape change point. When the reference line button 78 is operated, as shown in FIG. 9(a), a reference line Ma having a predetermined length that is linearly extended from the straight line Ba with the change point Q1 as a starting point is displayed. At the same time, as shown in FIG. 9A, a reference line Mb having a predetermined length is displayed as a straight line extending from the straight line Bb starting from the change point Q1. The DXF file has the coordinates of the change point Q1 of the workpiece contour B. FIG. Therefore, the CPU 24 as the display control unit 28 determines whether the coordinates of the change point and the line forming the change point are a straight line or an arc, and based on the determination result, a straight line or a I am trying to display the reference line of the arc.

図示はしないがワーク輪郭Bに直線と円弧の交わりによる変化点を有する場合、目安線ボタン78が操作されると、変化点を起点としてワーク輪郭Bの直線からは直線で延長された所定長を有する目安線が表示される。同時に前記変化点を起点として円弧からワーク輪郭Bの円弧と同じ曲率半径及び同じ曲率中心の円弧で延長された所定長を有する円弧の目安線が表示される。また、ワーク輪郭Bに円弧同士の交わりによる変化点を有する場合、目安線ボタン78が操作されると、変化点を起点として一方の円弧からは当該円弧と同じ曲率半径及び同じ曲率中心の円弧で延長された所定長を有する目安線が表示される。同時に前記変化点を起点として他方の円弧から当該円弧と同じ曲率半径及び同じ曲率中心の円弧で延長された所定長を有する目安線が表示される。上記した各目安線の表示は、変化点関係線延長表示に相当する。 Although not shown, in the case where the work contour B has a change point due to the intersection of a straight line and an arc, when the reference line button 78 is operated, a predetermined length is drawn from the straight line of the work contour B with the change point as the starting point. A reference line is displayed. At the same time, a reference line of an arc having a predetermined length extending from the arc with the same radius of curvature and the same center of curvature as the arc of the work contour B is displayed, starting from the change point. In addition, when the work contour B has a change point due to the intersection of arcs, when the reference line button 78 is operated, the change point is used as a starting point, and from one arc, an arc with the same radius of curvature and the same center of curvature as that arc is drawn. A reference line having an extended predetermined length is displayed. At the same time, a reference line having a predetermined length extending from the other arc with the change point as a starting point by an arc having the same radius of curvature and the same center of curvature as the other arc is displayed. The display of each reference line described above corresponds to the change point relation line extension display.

(5.2.変化点位置表示)
ワーク輪郭Bが有する変化点の座標はDXFファイルが有している。クロス線ボタン79が操作されると、表示制御部28としてのCPU24は、この変化点の座標に基づいて、各変化点にクロス線Cの中心(交差部)が合致するようにしてクロス線Cを表示させる。図10(b)はワーク輪郭Bの一例を示している。このワーク輪郭Bは、形状変化点としての変化点Q2で交わる一対の円弧Bc、直線Bdを有する。この例の場合、直線Bdは円弧Bcの端点において、円弧Bcの接線と略同一上に位置するものとする。従って、この例は、操作者による変化点Q2の位置の視認がし難いものとなっている。クロス線ボタン79が操作されると、図10(a)に示すように、変化点Q2にクロス線C(十字線)の中心点が合致するように表示される。図10(a)に示すように、クロス線Cの中心が変化点Q2と合致して表示されるため、砥石輪郭Aを変化点Q2に接触させる際、このクロス線Cの中心を目標にして接触させることが可能となる。このように、ワーク輪郭Bの変化点にクロス線Cが表示されると、変化点に対する砥石輪郭Aの接触のための目標が明示されるため、砥石輪郭Aの変化点への移動操作がし易くなる。
(5.2. Change point position display)
The DXF file has the coordinates of the change points of the work contour B. FIG. When the cross line button 79 is operated, the CPU 24 as the display control unit 28 draws the cross line C so that the center (intersection) of the cross line C coincides with each change point based on the coordinates of the change points. is displayed. FIG. 10(b) shows an example of the work contour B. FIG. This work contour B has a pair of arcs Bc and a straight line Bd that intersect at a change point Q2 as a shape change point. In the case of this example, the straight line Bd shall be located substantially on the same line as the tangent line of the arc Bc at the end point of the arc Bc. Therefore, in this example, it is difficult for the operator to visually recognize the position of the change point Q2. When the cross line button 79 is operated, as shown in FIG. 10A, the center point of the cross line C (cross line) is displayed so as to coincide with the change point Q2. As shown in FIG. 10(a), the center of the cross line C is displayed so as to coincide with the point of change Q2. contact is possible. Thus, when the cross line C is displayed at the change point of the work contour B, the target for the contact of the grindstone contour A to the change point is clarified. becomes easier.

(5.3.変化点関係線延長表示及び変化点位置表示の非表示)
前記目安線、及びクロス線の表示をしない場合、図8に示す非表示ボタン77が操作されると、その操作に応じて、表示制御部28としてのCPU24は目安線、及びクロス線を非表示する。
(5.3. Hide change point relationship line extension display and change point position display)
When the reference line and the cross line are not displayed, when the non-display button 77 shown in FIG. do.

(5.4.ポイント入力用ボタン)
図3(a)に示すポイント入力法選択ボタン43は、「自動変化点ティーチングモード」と、「変化点直接ティーチングモード」のいずれか1つのモードを選択する際に操作されるモード切替ホタンである。始点ボタン44、中点ボタン46、及び終点ボタン48はポイント入力用ボタンである。これらのボタンは、砥石輪郭Aとワーク輪郭Bとの接触があった際、その接触点を、始点、中点または、終点とすべきと操作者が判断した際に、操作される。ここで、ハイライト表示及び接触の検出について説明する。
(5.4. Point input button)
The point input method selection button 43 shown in FIG. 3A is a mode switching button that is operated when selecting either one of the "automatic changing point teaching mode" and the "changing point direct teaching mode". . A start point button 44, a middle point button 46, and an end point button 48 are buttons for point input. These buttons are operated when the operator determines that the contact point should be the starting point, the middle point, or the end point when the grindstone contour A and the work contour B come into contact with each other. Here, highlight display and contact detection will be described.

(5.5.接触の検出)
砥石輪郭Aがワーク輪郭Bまたは目安線に接触したか否かの検出は、下記の通りである。検出部30としてのCPU24は、X軸操作装置20、Y軸操作装置22の操作に基づいて砥石輪郭Aを画像操作領域15aで移動させている間、ワーク輪郭B、または該目安線と砥石輪郭Aとの離間距離を演算するようにしている。検出部30は前記離間距離が接触判定閾値に達していることを検出すると、前記接触判定閾値に達したワーク輪郭Bの部位または該目安線の部位で砥石輪郭Aが接触したと判定する。
(5.5. Contact detection)
Detection of whether or not the grindstone contour A has come into contact with the work contour B or the reference line is as follows. The CPU 24 as the detection unit 30 detects the work contour B or the reference line and the grindstone contour while moving the grindstone contour A in the image operation area 15a based on the operations of the X-axis operating device 20 and the Y-axis operating device 22. The separation distance from A is calculated. When detecting that the separation distance has reached the contact determination threshold value, the detection unit 30 determines that the grindstone contour A has come into contact with the portion of the work contour B or the portion of the reference line that has reached the contact determination threshold value.

(5.6.ハイライト表示)
次に、図7(a)、図7(b)、図9(a)に示すように表示制御部28としてのCPU24は、前記接触判定閾値に達したワーク輪郭Bの部位または目安線の部位を接触点Jにして接触点Jを含む所定範囲をハイライト表示する。なお、図7(a)、図7(b)、図9(a)では、ワーク輪郭B、または目安線Ma、Mbにおいてハイライト表示部分を、説明の便宜上、細長い四角枠Wで囲っている。図7(a)は、砥石輪郭Aがワーク輪郭Bに対して一箇所で接触した場合を示している。図7(b)は砥石輪郭Aがワーク輪郭Bに対して二箇所で接触した場合を示している。以下の文中で説明する「接触点」に関して、上記接触の検出が行われ、その結果、該接触点を含む所定の範囲でハイライト表示されることについて説明がない場合であっても、上記接触の検出、及びハイライト表示されているものと理解されたい。ディスプレイ14は、通知部に相当する。なお、所定範囲ではなく、接触点のみをハイライト表示してもよい。
(5.6. Highlight display)
Next, as shown in FIGS. 7(a), 7(b), and 9(a), the CPU 24 as the display control unit 28 determines the portion of the work outline B or the portion of the reference line that has reached the contact determination threshold value. is set as the contact point J, and a predetermined range including the contact point J is highlighted. 7(a), 7(b), and 9(a), the highlighted portions of the work outline B or the reference lines Ma and Mb are surrounded by an elongated rectangular frame W for convenience of explanation. . FIG. 7(a) shows a case where the grindstone contour A contacts the workpiece contour B at one point. FIG. 7(b) shows the case where the grindstone contour A contacts the workpiece contour B at two points. With regard to the "contact point" described below, even if there is no explanation that the contact is detected and, as a result, a predetermined range including the contact point is highlighted, the contact is detected and highlighted. The display 14 corresponds to a notification section. Note that only the contact point may be highlighted instead of the predetermined range.

「自動変化点ティーチングモード」と、「変化点直接ティーチングモード」について説明する。
(5.7.始点ボタン44、中点ボタン46、終点ボタン48)
<5.7.1.自動変化点ティーチングモード>
自動変化点ティーチングモードがポイント入力法選択ボタン43によって選択されると、ワーク輪郭Bを形成する「要素」が直線、または円弧であるかの特定が、始点ボタン44、中点ボタン46、及び終点ボタン48の使用により実行される。自動変化点ティーチングモードでは、二点ティーチングで、「要素」が直線であることがティーチングされるとともに、三点ティーチングで、「要素」が円弧であることがティーチングされる。
The "automatic changing point teaching mode" and the "changing point direct teaching mode" will be described.
(5.7. Start point button 44, middle point button 46, end point button 48)
<5.7.1. Automatic changing point teaching mode>
When the automatic changing point teaching mode is selected by the point input method selection button 43, the specification of whether the "elements" forming the work contour B are straight lines or arcs is performed by pressing the start point button 44, the middle point button 46, and the end point button 46. This is done by using button 48 . In the automatic changing point teaching mode, two-point teaching teaches that the "element" is a straight line, and three-point teaching teaches that the "element" is an arc.

<5.7.1-1.直線の軌跡、直線間の変化点座標の算出>
図4(a)のワーク輪郭は、「要素」として直線D1、D2を有していて、変化点Qaで交わっているものとする。
<5.7.1-1. Calculation of trajectories of straight lines and coordinates of points of change between straight lines>
It is assumed that the workpiece contour in FIG. 4(a) has straight lines D1 and D2 as "elements" and intersects at the point of change Qa.

操作者は、直線D1上の任意の二点に図示しない砥石輪郭Aをそれぞれ接触させる。この二点の接触点Ja、Raのうち、接触点Jaでは、始点ボタン44が操作され、接触点Raでは終点ボタン48が操作される。この始点ボタン44と終点ボタン48の操作に基づいて、CPU24は、それぞれの接触点における砥石輪郭の機械座標系の位置、すなわち、図4(a)の砥石輪郭の始点Ka及び終点Eaの機械座標系の座標を算出する。 The operator brings the grindstone contour A (not shown) into contact with two arbitrary points on the straight line D1. Of these two contact points Ja and Ra, the start point button 44 is operated at the contact point Ja, and the end point button 48 is operated at the contact point Ra. Based on the operation of the start point button 44 and the end point button 48, the CPU 24 determines the position of the grindstone contour at each contact point in the machine coordinate system, that is, the machine coordinates of the start point Ka and the end point Ea of the grindstone contour in FIG. 4(a). Calculate the coordinates of the system.

また、この二点ティーチングに基づいて、CPU24は、始点Ka及び終点Eaは直線H1上にあることを認定する。続いて操作者は、直線D2上の任意の二点に図示しない砥石輪郭Aをそれぞれ接触させる。この二点の接触点Jb、Rbのうち、前記接触点Raに近い接触点Jbでは、始点ボタン44が操作され、接触点Rbでは終点ボタン48が操作される。始点ボタン44と終点ボタン48の操作に基づいて、CPU24は、それぞれの接触点における砥石輪郭Aの機械座標系の位置、すなわち、図4(a)の砥石輪郭Aの始点Kb及び終点Ebの機械座標系の座標を算出する。また、この二点ティーチングに基づいて、CPU24は、始点Kb及び終点Ebが直線H2上にあることを認定する。 Also, based on this two-point teaching, the CPU 24 recognizes that the start point Ka and the end point Ea are on the straight line H1. Subsequently, the operator brings the grindstone contour A (not shown) into contact with any two points on the straight line D2. Of the two contact points Jb and Rb, the start point button 44 is operated at the contact point Jb closer to the contact point Ra, and the end point button 48 is operated at the contact point Rb. Based on the operation of the start point button 44 and the end point button 48, the CPU 24 determines the position of the machine coordinate system of the grindstone contour A at each contact point, that is, the machine coordinates of the start point Kb and the end point Eb of the grindstone contour A in FIG. Calculate the coordinates of the coordinate system. Also, based on this two-point teaching, the CPU 24 recognizes that the start point Kb and the end point Eb are on the straight line H2.

さらに、CPU24は、始点Ka及び終点Ea、並びに始点Kb及び終点Ebが続けて二点ティーチングされていることにより、砥石輪郭の軌跡となる直線H1、H2の直線の式に基づいて2つの直線H1,H2の軌跡変化点Faの座標を算出する。 Further, the CPU 24 continuously teaches the starting point Ka and the end point Ea, and the starting point Kb and the end point Eb. , H2 are calculated.

本実施形態では、砥石輪郭の軌跡は、例えば砥石輪郭の先端形状が真円の円弧の場合は真円の中心の加工経路としている。なお、軌跡は、前記真円の中心に限定するものではなく、それらの近傍の点等の任意点の加工経路としてもよい。 In the present embodiment, the trajectory of the grindstone contour is the machining path at the center of the perfect circle, for example, when the shape of the tip of the grindstone contour is an arc of a perfect circle. The trajectory is not limited to the center of the perfect circle, and may be a machining path of arbitrary points such as points in the vicinity thereof.

軌跡変化点Faは、図示しない砥石輪郭Aが仮にワーク輪郭の変化点Qaに接触したときの、砥石輪郭の位置である。このような二点ティーチングにより、砥石輪郭における、直線H1、H2及び直線H1、H2間の変化点座標を含む軌跡が、CPU24、すなわち、軌道生成部32により算出される。このようにティーチングされた始点、終点、及び算出された軌跡変化点Faに基づいて、CPU24は軌道生成部32として軌跡を作成し、表示制御部28として、ディスプレイ14の画面15に当該軌跡を表示する。 The trajectory change point Fa is the position of the grindstone contour when the grindstone contour A (not shown) contacts the work contour change point Qa. By such two-point teaching, the CPU 24, that is, the trajectory generator 32, calculates the trajectory including the straight lines H1 and H2 and the coordinates of the points of change between the straight lines H1 and H2 on the grindstone contour. Based on the thus taught start point, end point, and calculated trajectory change point Fa, the CPU 24 creates a trajectory as the trajectory generation unit 32, and displays the trajectory on the screen 15 of the display 14 as the display control unit 28. do.

<5.7.1-2.円弧の軌跡、直線と円弧の変化点座標の算出>
図4(b)のワーク輪郭は、「要素」として直線D1と円弧D3を有していて、変化点Qbで交わっているものとする。なお、ワーク輪郭の直線D1に関係する接触点Ja、Ra、始点Ka、終点Ea、直線H1については、前述と同じであるため、説明を省略する。操作者は、円弧D3上の任意の三点に図示しない砥石輪郭をそれぞれ接触させる。この三点の接触点Jc、Lc、Rcのうち、前記接触点Raに近い接触点Jcでは、始点ボタン44が操作され、接触点Lcでは、中点ボタン46が操作され、接触点Rcでは終点ボタン48が操作される。ボタン44、46、48の操作に基づいて、CPU24は、それぞれの接触点における砥石輪郭の機械座標系の位置、すなわち、図4(b)の砥石輪郭の始点Kc、中点Tc及び終点Ecの機械座標系の座標を算出する。また、この三点ティーチングに基づいて、CPU24は、始点Kc、中点Tc及び終点Ecが円弧H3上であることを認定する。
<5.7.1-2. Calculation of trajectories of arcs and coordinates of points of change between straight lines and arcs>
It is assumed that the workpiece contour in FIG. 4(b) has a straight line D1 and an arc D3 as "elements" and intersect at a change point Qb. The contact points Ja and Ra, the start point Ka, the end point Ea, and the straight line H1 related to the straight line D1 of the contour of the workpiece are the same as those described above, so the description thereof is omitted. The operator brings the grindstone contours (not shown) into contact with three arbitrary points on the arc D3. Of the three contact points Jc, Lc, and Rc, the start point button 44 is operated at the contact point Jc closer to the contact point Ra, the middle point button 46 is operated at the contact point Lc, and the end point is at the contact point Rc. Button 48 is operated. Based on the operation of the buttons 44, 46, 48, the CPU 24 determines the positions of the grindstone contours in the machine coordinate system at the respective contact points, that is, the start point Kc, the middle point Tc, and the end point Ec of the grindstone contour in FIG. 4(b). Calculate the coordinates of the machine coordinate system. Also, based on this three-point teaching, the CPU 24 recognizes that the starting point Kc, the middle point Tc and the ending point Ec are on the arc H3.

さらに、CPU24は、二点ティーチング、並びに三点ティーチングが続けられていることにより、砥石輪郭の軌跡となる直線H1の直線の式、及び円弧H3の円の方程式に基づいて直線H1,円弧H3の軌跡変化点Fbの座標を算出する。軌跡変化点Fbは、図示しない砥石輪郭が仮にワーク輪郭Bの変化点Qbに接触したとしたときの、砥石輪郭の位置である。なお、先に三点ティーチングがされて円弧が認定され、続けて二点ティーチングがされた場合に直線が認定された場合、砥石輪郭の軌跡となる円の方程式、及び直線の式を得ることが可能であることは自明である。従って、この場合においても、同様に円の方程式、及び直線の式に基づいてCPU24は両者の変化点の座標を算出する。 Furthermore, by continuing the two-point teaching and the three-point teaching, the CPU 24 determines the shape of the straight line H1 and the arc H3 based on the straight line formula of the straight line H1 and the circle formula of the circular arc H3, which are the trajectory of the grindstone contour. The coordinates of the trajectory change point Fb are calculated. The locus change point Fb is the position of the grindstone contour when the grindstone contour (not shown) is in contact with the change point Qb of the work contour B. FIG. If a straight line is recognized by three-point teaching and then a straight line by two-point teaching, it is possible to obtain a circle equation and a straight line equation, which will be the trajectory of the grinding wheel contour. It is self-evident that it is possible. Therefore, also in this case, the CPU 24 similarly calculates the coordinates of the point of change between the two based on the equation of the circle and the equation of the straight line.

このような二点ティーチングの次に三点ティーチング、または三点ティーチングの次に二点ティーチングが続けられると、砥石輪郭Aにおける、直線と円弧、並びに直線と円弧の変化点を含む軌跡が、軌道生成部32により算出される。このようにティーチングされた始点、終点、中点及び算出された軌跡変化点Fbに基づいて、CPU24は軌道生成部32として軌跡を作成し、表示制御部28として、ディスプレイ14の画面15に当該軌跡を表示する。 Such two-point teaching is followed by three-point teaching, or three-point teaching is followed by two-point teaching. It is calculated by the generator 32 . Based on the thus taught start point, end point, middle point and calculated trajectory change point Fb, the CPU 24 creates a trajectory as the trajectory generator 32, and displays the trajectory on the screen 15 of the display 14 as the display control unit 28. display.

<5.7.1-3.円弧と円弧、及び円弧同士の変化点座標の算出>
図示はしないが、ワーク輪郭に円弧と円弧の変化点を有する場合、操作者は各円弧において、任意の三点に砥石輪郭をそれぞれ接触させて、各接触点において始点ボタン44、中点ボタン46、終点ボタン48により三点ティーチングを行う。これにより、各円弧の接触点で接触した砥石輪郭の始点、中点及び終点の機械座標系の座標に基づいてCPU24は、軌道生成部32として軌跡を作成し、表示制御部28として、ディスプレイ14の画面15に当該軌跡を表示する。
<5.7.1-3. Calculation of changing point coordinates between arcs and between arcs>
Although not shown, in the case where the contour of the workpiece has arcs and points of change between the arcs, the operator brings the grinding wheel contour into contact with any three points on each arc, and presses the start point button 44 and the middle point button 46 at each contact point. , end point button 48 to perform three-point teaching. As a result, the CPU 24 creates a trajectory as the trajectory generator 32 based on the machine coordinate system coordinates of the starting point, the middle point, and the end point of the grinding wheel contour that is in contact with the contact point of each circular arc, and the display 14 as the display control unit 28. , the trajectory is displayed on the screen 15 of .

また、CPU24は、前記円弧における三点ティーチングが続けられていることにより、砥石輪郭の軌跡となる各円の方程式に基づいて円弧と円弧の変化点の座標を算出する。この変化点は、図示しない砥石輪郭が仮にワーク輪郭の変化点に接触したとしたときの、砥石輪郭の軌跡上の位置である。このように三点ティーチングが連続することにより、砥石輪郭における、隣接した円弧、並びに円弧と円弧の変化点座標を含む軌跡は、軌道生成部32により算出されて、表示制御部28によりディスプレイ14の画面15に当該軌跡を表示される。 Further, by continuing the three-point teaching on the arc, the CPU 24 calculates the coordinates of the arc and the point of change of the arc based on the equation of each circle, which is the trajectory of the whetstone contour. This change point is a position on the trajectory of the grindstone contour when the grindstone contour (not shown) is in contact with the change point of the work contour. By continuing the three-point teaching in this way, the trajectory including the adjacent arcs and the coordinates of the points of change between the arcs in the contour of the grindstone is calculated by the trajectory generator 32 and displayed on the display 14 by the display controller 28. The locus is displayed on the screen 15 .

<5.7.2.変化点直接ティーチングモード>
ポイント入力法選択ボタン43により、変化点直接ティーチングモードが選択された場合、ワーク輪郭に含まれる直線の端点、円弧の端点、変化点等に砥石輪郭をそれぞれ接触させた際に、始点ボタン44、中点ボタン46、及び終点ボタン48が使用される。
<5.7.2. Changing point direct teaching mode>
When the change point direct teaching mode is selected by the point input method selection button 43, when the grindstone contour is brought into contact with the end points of straight lines, the end points of arcs, the change points, etc. included in the work contour, the start point button 44, A middle point button 46 and an end point button 48 are used.

<5.7.2-1.直線の軌跡、直線間の変化点座標の算出>
図5(a)のワーク輪郭は、図4(a)と同様に直線D1、D2を有していて、変化点Qaで交わっているものとする。操作者は、直線D1の一方の端点である接触点Jd及び他方の端点である変化点Qaに図示しない砥石輪郭をそれぞれ接触させる。接触点Jdでは、始点ボタン44が操作され、変化点Qaでは終点ボタン48が操作される。この始点ボタン44と終点ボタン48の操作に基づいて、CPU24は、接触点Jd及び変化点Qaに接触した砥石輪郭Aの機械座標系の位置、すなわち、図5(a)の砥石輪郭の始点Kd及び終点Eeの機械座標系の座標を算出する。
<5.7.2-1. Calculation of trajectories of straight lines and coordinates of points of change between straight lines>
It is assumed that the workpiece contour in FIG. 5(a) has straight lines D1 and D2 as in FIG. 4(a) and intersects at the point of change Qa. The operator brings the grinding wheel outline (not shown) into contact with the contact point Jd, which is one end point of the straight line D1, and the change point Qa, which is the other end point of the straight line D1. The start point button 44 is operated at the contact point Jd, and the end point button 48 is operated at the change point Qa. Based on the operation of the start point button 44 and the end point button 48, the CPU 24 determines the position in the machine coordinate system of the grindstone contour A in contact with the contact point Jd and the change point Qa, that is, the start point Kd of the grindstone contour in FIG. 5(a). and the coordinates of the machine coordinate system of the end point Ee.

また、この二点ティーチングに基づいて、CPU24は、始点Kd及び終点Eeは直線H1及びそれの点が直線H1の端点であることを認定する。続いて操作者は、直線D2上の端点Rfに図示しない砥石輪郭を接触させて、終点ボタン48を操作する。接触点である端点Rfでの終点ボタン48の操作に基づいて、CPU24は、端点Rfに接触した砥石輪郭の機械座標系の位置、すなわち、図5(a)の砥石輪郭の終点Efの機械座標系の座標を算出する。砥石輪郭の軌跡となる直線H2上の終点Efでの一点ティーチングに基づいて、CPU24は、先の終点Eeと終点Efが直線H2上にあることを認定する。このように、ワーク輪郭Bに、最初に直線、続いて直線がある場合、最初に二点ティーチング、続いて前記一点ティーチングが行われて、砥石輪郭Aにおける直線H1、H2を含む軌跡が、CPU24、すなわち、軌道生成部32により算出される。さらに、この後、ワーク輪郭に直線が続く場合、前記一点ティーチングが行われることにより、同様に砥石輪郭における直線の軌跡が軌道生成部32としてのCPU24により算出(作成)される。作成された前記軌跡は、表示制御部28としてのCPU24によりディスプレイ14に表示される。 Also, based on this two-point teaching, the CPU 24 recognizes that the start point Kd and the end point Ee are the straight line H1 and the points thereof are endpoints of the straight line H1. Subsequently, the operator touches the edge point Rf on the straight line D2 with the contour of the grindstone (not shown) and operates the end point button 48 . Based on the operation of the end point button 48 at the end point Rf which is the contact point, the CPU 24 determines the position in the machine coordinate system of the grindstone contour that is in contact with the end point Rf, that is, the machine coordinates of the end point Ef of the grindstone contour in FIG. Calculate the coordinates of the system. Based on the one-point teaching at the end point Ef on the straight line H2, which is the trajectory of the grindstone contour, the CPU 24 recognizes that the previous end points Ee and Ef are on the straight line H2. In this way, when there is a straight line first and then a straight line on the workpiece contour B, the two-point teaching is first performed, and then the one-point teaching is performed. , that is, calculated by the trajectory generator 32 . Furthermore, after this, when a straight line follows the workpiece contour, the CPU 24 as the trajectory generator 32 similarly calculates (creates) the locus of the straight line on the grindstone contour by performing the one-point teaching. The created trajectory is displayed on the display 14 by the CPU 24 as the display control unit 28 .

<5.7.2-2.円弧の軌跡、直線と円弧の変化点座標の算出>
図5(b)のワーク輪郭は、図4(b)と同様に直線D1と円弧D3を有していて、変化点Qbで交わっているものとする。なお、ワーク輪郭の直線D1に関係する接触点Jd、始点Kd、終点Ee、直線H1は、前述と同じであるため、説明を省略する。
<5.7.2-2. Calculation of trajectories of arcs and coordinates of points of change between straight lines and arcs>
It is assumed that the workpiece contour in FIG. 5(b) has a straight line D1 and an arc D3, as in FIG. 4(b), and intersects at the point of change Qb. Note that the contact point Jd, start point Kd, end point Ee, and straight line H1 related to the straight line D1 of the work contour are the same as described above, and thus description thereof is omitted.

操作者は、円弧D3上において、変化点Qbを一方の端点としたとき、他方の端点Rg、及び変化点Qbと前記他方の端点Rgの間の点Ldを含む二点を接触点として図示しない砥石輪郭をそれぞれ接触させる。そして、点Ldでは、中点ボタン46が操作され、端点Rgでは、終点ボタン48が操作される。ボタン46、48の操作に基づいて、CPU24は、それぞれの接触点における砥石輪郭Aの機械座標系の位置、すなわち、図5(b)の砥石輪郭の中点Tg及び終点Egの機械座標系の座標を算出する。また、点Ld、及び端点Rgにおける二点ティーチング、及び変化点Qbに基づいて、CPU24は、終点Ee、中点Tg及び終点Egが円弧H3上であることを認定する。 When the change point Qb is one end point on the arc D3, the operator touches the other end point Rg and the point Ld between the change point Qb and the other end point Rg as contact points (not shown). The grinding wheel contours are brought into contact with each other. Then, at the point Ld, the middle point button 46 is operated, and at the end point Rg, the end point button 48 is operated. Based on the operation of the buttons 46 and 48, the CPU 24 determines the position of the grindstone contour A at each contact point in the machine coordinate system, that is, the position of the machine coordinate system of the midpoint Tg and end point Eg of the grindstone contour in FIG. Calculate the coordinates. Also, based on two-point teaching at the point Ld and the end point Rg and the change point Qb, the CPU 24 recognizes that the end point Ee, the middle point Tg and the end point Eg are on the arc H3.

さらに、CPU24は、直線H1の直線の式、及び円弧H3の円の方程式に基づいて砥石輪郭Aにおける、直線、及び円弧を含む軌跡が、CPU24、すなわち、軌道生成部32により算出(作成)される。作成された前記軌跡は、表示制御部28としてのCPU24によりディスプレイ14に表示される。なお、先に三点ティーチングがされて円弧が認定され、続けて図5(a)と同様の一点ティーチングがされて直線が認定された場合、円の方程式、及び直線の式を得ることが可能であることは自明である。従って、この場合においても、同様に円の方程式、及び直線の式に基づいて、軌道生成部32のCPU24により、前記直線、及び前記円弧を含む軌跡が算出される。 Further, the CPU 24 calculates (creates) a trajectory including the straight line and the circular arc on the grindstone contour A based on the straight line equation of the straight line H1 and the circular equation of the circular arc H3. be. The created trajectory is displayed on the display 14 by the CPU 24 as the display control unit 28 . If three-point teaching is performed first and an arc is recognized, and then a straight line is recognized by one-point teaching similar to Fig. 5(a), it is possible to obtain a circle equation and a straight line equation. It is self-evident that Therefore, also in this case, the trajectory including the straight line and the circular arc is calculated by the CPU 24 of the trajectory generation unit 32 based on the equation of the circle and the equation of the straight line.

<5.7.2-3.円弧と円弧が連続する場合>
図示はしないが、ワーク輪郭に円弧と円弧の変化点を有する場合、操作者は各円弧において、各円弧の端点、並びに各円弧における端点の間の中間点の三点に砥石輪郭をそれぞれ接触させて、三点ティーチングを行う。具体的には、先に位置する第1円弧について一方の端点、中間点、他方の端点(変化点)を接触点とし、これらの接触点ではボタン44、46、48を操作する。次の第2円弧は、一方の端点が第1円弧との変化点であるため、ここでのボタン操作が省略される。そして、第2円弧の中間点、及び他方の端点を砥石輪郭Aが接触した際、ボタン46、48を操作して、二点ティーチングを行う。以後、円弧が続く場合は、同様に二点ティーチングが行われる。これにより、ワーク輪郭のそれぞれの円弧に沿った砥石輪郭における円弧の軌跡が軌道生成部32としてのCPU24により算出(作成)される。作成された前記軌跡は、表示制御部28としてのCPU24によりディスプレイ14に表示される。
<5.7.2-3. When arcs are continuous>
Although not shown, in the case where the work contour has arcs and arc turning points, the operator brings the grinding wheel contour into contact with three points on each arc: the endpoint of each arc and the midpoint between the endpoints of each arc. and perform three-point teaching. Specifically, one end point, an intermediate point, and the other end point (change point) of the preceding first arc are set as contact points, and buttons 44, 46, and 48 are operated at these contact points. Since one end point of the second arc is the change point from the first arc, the button operation is omitted here. Then, when the grindstone outline A contacts the middle point and the other end point of the second arc, the buttons 46 and 48 are operated to perform two-point teaching. After that, when the circular arc continues, the two-point teaching is similarly performed. As a result, the CPU 24 as the trajectory generating unit 32 calculates (creates) the locus of the circular arc in the grindstone contour along each circular arc of the work contour. The created trajectory is displayed on the display 14 by the CPU 24 as the display control unit 28 .

<5.7.2-4.ワーク輪郭Bの変化点に対して砥石輪郭Aが直接接触できない場合>
上記では、ワーク輪郭Bの変化点に対して砥石輪郭Aが直接接触する場合について説明した。しかし、図9(b)の例に示すように、ワーク輪郭Bが直線Ba、Bbにより尖ったところに形状変化点としての変化点Q1を有する場合、砥石輪郭Aが描くべき軌跡となるところも軌跡変化点となる必要がある。このため、このような例の場合、操作者は、目安線Ma、Mbを表示させた状態で、両目安線Ma、Mbに砥石輪郭Aが同時に接触させるようにX軸操作装置20、及びY軸操作装置22を操作する。この状態で、始点ボタン44、または終点ボタン48を操作する。この操作により、目安線Ma、Mbに同時に接触した砥石輪郭Aの位置が始点または終点であることがティーチングされる。なお、ワーク輪郭Bに尖ったところに変化点を有する例は、前記直線同士の変化点以外に、直線と円弧による変化点、或いは円弧同士による変化点等がある。このような場合においても、一対の目安線を表示させた状態で、両目安線に同時に砥石輪郭Aが接触した位置で前述と同様にティーチングされる。
<5.7.2-4. When the grindstone contour A cannot directly contact the change point of the work contour B>
In the above description, the case where the grindstone contour A is in direct contact with the changing point of the workpiece contour B has been described. However, as shown in the example of FIG. 9(b), when the work contour B has a change point Q1 as a shape change point at a point where the contour B is sharpened by the straight lines Ba and Bb, there are places where the grindstone contour A should be drawn. It must be a trajectory change point. Therefore, in the case of such an example, the operator moves the X-axis operating device 20 and the Y axis so that the grindstone outline A contacts both the reference lines Ma and Mb at the same time while the reference lines Ma and Mb are displayed. The shaft operating device 22 is operated. In this state, the start point button 44 or the end point button 48 is operated. By this operation, it is taught that the position of the grinding wheel contour A that is in contact with the reference lines Ma and Mb at the same time is the starting point or the ending point. In addition to the points of change between straight lines, there are points of change between straight lines and arcs, points of change between arcs, and the like. In such a case as well, with a pair of reference lines displayed, teaching is performed in the same manner as described above at the position where the grindstone outline A contacts both reference lines at the same time.

また、図7(b)では、砥石輪郭Aが接触できない変化点Q3がある場合の他の例が示されている。直線Be、Bfの変化点Q3は、ワーク輪郭Bにおいて、凹んだところに位置する。この場合においても、砥石輪郭Aが描くべき軌跡となるところの軌跡変化点は変化点Q3に対応する必要がある。このため、このような例の場合、操作者は、直線Be、Bfに砥石輪郭Aが同時に接触させるようにX軸操作装置20、及びY軸操作装置22を操作する。そして、操作者は、始点ボタン44、または終点ボタン48を操作する。この操作により、直線Be、Bfに同時に接触した砥石輪郭Aの位置が始点または終点であることがティーチングされる。なお、ワーク輪郭Bに凹んだところに変化点を有する例は、前記直線同士の変化点以外に、直線と円弧による変化点、或いは円弧同士による変化点等がある。このような場合においても、直線と円弧、または、両円弧に同時に砥石輪郭Aが接触した位置で前述と同様にティーチングされる。次に、図3(a)に戻って、他の操作ボタンについて説明する。 Further, FIG. 7(b) shows another example in which there is a change point Q3 at which the grindstone contour A cannot contact. A point of change Q3 between the straight lines Be and Bf is located at a recessed portion of the contour B of the workpiece. Also in this case, the locus change point where the locus to be drawn by the grindstone contour A must correspond to the change point Q3. Therefore, in such an example, the operator operates the X-axis operating device 20 and the Y-axis operating device 22 so that the grindstone outline A contacts the straight lines Be and Bf at the same time. The operator then operates the start point button 44 or the end point button 48 . By this operation, it is taught that the position of the grindstone contour A that is in contact with the straight lines Be and Bf at the same time is the starting point or the ending point. In addition to the points of change between straight lines, there are points of change between straight lines and arcs, points of change between arcs, and the like. Even in such a case, teaching is performed in the same manner as described above at the position where the grindstone profile A contacts the straight line and the circular arc, or both of the circular arcs at the same time. Next, referring back to FIG. 3A, another operation button will be described.

(5.8.編集ボタン50、特殊ボタン52)
(5.8.1.ポイント移動)
表示された軌跡におけるポイント移動、すなわち、当該軌跡の軌跡変化点の位置変更を行う場合、或いは円弧の軌跡を変更する場合、操作者は変更対象の軌跡変化点を含む軌跡範囲、或いは、変更対象の円弧を含む軌跡範囲を操作する。この後、操作者は、編集ボタン50を操作する。表示制御部28は、両操作に基づいて図12に示す編集メニュー80をポップアップ表示する。編集メニュー80には、ポイント移動ボタン82、円弧変更ボタン84及び閉じるボタン86が設けられている。ポイント移動ボタン82は、ティーチングにより軌跡変化点の位置の再教示を行うためのものである。以下では、図13に示す軌跡Nの始点P1、中点P2、終点P3を含む円弧軌跡Na1、及び終点P3にて円弧軌跡Na1に隣接する円弧軌跡Nb1を有する軌跡Nにおいて、軌跡変化点である終点P3の位置をポイント移動する例を挙げて説明する。なお、図13において、P0は、アプローチ点である。
(5.8. Edit Button 50, Special Button 52)
(5.8.1. Point movement)
When moving a point on the displayed trajectory, that is, when changing the position of a trajectory changing point of the trajectory, or when changing the trajectory of a circular arc, the operator selects a trajectory range including the trajectory changing point to be changed, or a trajectory range to be changed. Manipulate a trajectory range containing an arc of . After that, the operator operates the edit button 50 . The display control unit 28 pops up an edit menu 80 shown in FIG. 12 based on the two operations. The edit menu 80 is provided with a point move button 82 , an arc change button 84 and a close button 86 . The point movement button 82 is for re-teaching the position of the trajectory change point by teaching. Below, in the trajectory N shown in FIG. An example of moving the position of the end point P3 will be described. In addition, in FIG. 13, P0 is an approach point.

ポイント移動ボタン82が操作されると、表示制御部28は、前述している砥石輪郭Aではなく、図13に示すように予め作成されている仮想の砥石輪郭A1を、変更前の軌跡N上において、変更対象の終点P3に重ね表示する。なお、図13では、変更対象の終点P3に重ね表示された砥石輪郭A1は、二点鎖線で示されている。仮想の砥石輪郭A1は、例えば、研削が未だされていない偏摩耗等がない理想的な砥石画像の輪郭を有するが、これに限定するものではない。前記変更対象の終点P3は、変更対象の軌跡変化点を含む軌跡範囲が操作されていることに基づいて、表示制御部28により特定される。この後、操作者は、図1に示すX軸操作装置20、及びY軸操作装置22を操作する。前記制御プログラムは、ポイント移動ボタン82が操作された場合、X軸操作装置20、及びY軸操作装置22の操作量に基づいて前記仮想の砥石輪郭A1を介して変更対象の軌跡変化点を移動可能としている。 When the point movement button 82 is operated, the display control unit 28 displays a pre-created virtual grindstone contour A1 as shown in FIG. , superimposed on the end point P3 to be changed. In addition, in FIG. 13, the grindstone outline A1 superimposed on the end point P3 to be changed is indicated by a chain double-dashed line. The virtual whetstone contour A1 has, for example, the contour of an ideal whetstone image that has not yet been ground and is free from uneven wear and the like, but is not limited to this. The end point P3 to be changed is specified by the display control unit 28 based on the fact that the trajectory range including the trajectory change point to be changed is operated. After that, the operator operates the X-axis operating device 20 and the Y-axis operating device 22 shown in FIG. When the point movement button 82 is operated, the control program moves the trajectory change point to be changed via the virtual grindstone contour A1 based on the operation amounts of the X-axis operation device 20 and the Y-axis operation device 22. It is possible.

従って、X軸操作装置20、及びY軸操作装置22の操作に基づいて、表示制御部28は、図13に示すように、砥石輪郭A1を移動操作することにより、変更対象の終点P3を移動させる。軌道生成部32は、移動後の変更対象の終点P3aの座標を算出し、さらに始点P1、中点P2、終点P3aの座標に基づく円の方程式により、円弧軌跡Na2を算出する。合わせて、軌道生成部32は、円弧軌跡Nb1についても、同様に終点P3aの座標、円弧軌跡Nb1の中点、終点(共に図示しない)に基づく円の方程式により、円弧軌跡Nb2を算出する。そして、図13に示すように、表示制御部28は、算出された円弧軌跡Na2、Nb2を二点鎖線で示すように画像操作領域15aに表示する。 Therefore, based on the operations of the X-axis operating device 20 and the Y-axis operating device 22, the display control unit 28 moves the end point P3 to be changed by moving the grindstone contour A1, as shown in FIG. Let The trajectory generator 32 calculates the coordinates of the end point P3a to be changed after the movement, and further calculates the circular arc trajectory Na2 by a circle equation based on the coordinates of the start point P1, the middle point P2, and the end point P3a. At the same time, the trajectory generator 32 similarly calculates the arc trajectory Nb2 for the arc trajectory Nb1 by a circle equation based on the coordinates of the end point P3a, the midpoint of the arc trajectory Nb1, and the end point (both not shown). Then, as shown in FIG. 13, the display control unit 28 displays the calculated arcuate trajectories Na2 and Nb2 in the image operation area 15a as indicated by two-dot chain lines.

なお、円弧軌跡Na1に隣接する軌跡が円弧軌跡Nb1ではなく直線軌跡の場合は、隣接する直線軌跡の算出は、直線の式に基づいて算出すればよい。また、円弧軌跡Na1の代わりに始点P1、終点P3を含む直線軌跡、かつ、隣接する軌跡も直線軌跡であって、前記終点P3をポイント移動する場合、下記の通りに行えば良い。すなわち、移動後のポイントの座標と、このポイントに隣接する始点、または終点を通る直線の式に基づいてポイント移動後の直線軌跡を算出する。この算出された直線軌跡が表示制御部28により画像操作領域15aに表示される。 If the trajectory adjacent to the circular arc trajectory Na1 is not the circular trajectory Nb1 but is a straight trajectory, the calculation of the adjacent straight trajectory may be performed based on the straight line formula. Further, in the case where the linear trajectory including the start point P1 and the end point P3 instead of the circular arc trajectory Na1, and the adjacent trajectory is also a linear trajectory, and the end point P3 is to be point-moved, it is possible to proceed as follows. That is, the straight line trajectory after point movement is calculated based on the coordinates of the point after movement and the equation of a straight line passing through the start point or end point adjacent to this point. The display control unit 28 displays the calculated linear trajectory in the image operation area 15a.

(5.8.2.円弧変更)
次に、円弧変更の場合を図14に示す例を参照して説明する。なお、図14は、図13と同様の軌跡Nが示されている。この例は、前記軌跡Nにおいて、円弧軌跡Na1を変更する例であって、編集ボタン50を操作する前に、変更対象の円弧軌跡Na1がタッチ操作されて指定されているものとする。円弧変更ボタン84が操作されると、表示制御部28は、仮想の砥石輪郭A1を、変更前の軌跡N上において、編集ボタン50を操作する前に操作されていることに基づいて二点鎖線で示す変更対象の円弧軌跡Na1に重ね表示する。なお、仮想の砥石輪郭A1が円弧軌跡Na1において、重ね表示する位置は、例えば、円弧軌跡Na1の略半分の長さの位置であるが、この位置に限定するものではなく、他の位置であってもよい。
(5.8.2. Arc change)
Next, the case of changing the arc will be described with reference to the example shown in FIG. Note that FIG. 14 shows the locus N similar to that in FIG. 13 . This example is an example of changing the circular arc locus Na1 in the locus N. It is assumed that before the edit button 50 is operated, the arc locus Na1 to be changed is specified by a touch operation. When the arc change button 84 is operated, the display control unit 28 changes the virtual grindstone contour A1 to a two-dot chain line on the trajectory N before the change based on the fact that the edit button 50 was operated before the edit button 50 was operated. is superimposed on the circular locus Na1 to be changed indicated by . The position where the virtual grinding wheel contour A1 is superimposed on the circular arc locus Na1 is, for example, a position approximately half the length of the circular arc locus Na1, but is not limited to this position, and may be other positions. may

この後、操作者は、図1に示すX軸操作装置20、及びY軸操作装置22を操作する。前記制御プログラムは、円弧変更ボタン84が操作された場合、X軸操作装置20、及びY軸操作装置22の操作量に基づいて前記仮想の砥石輪郭A1を介して変更対象の軌跡変化点を移動可能としている。従って、X軸操作装置20、及びY軸操作装置22の操作に基づいて、表示制御部28は、図14に示すように、砥石輪郭A1を移動操作することにより、変更対象の円弧軌跡Na1を移動させる。軌道生成部32は、移動後の変更対象の円弧軌跡Na1が移動すると、移動後の中点P2aの座標を算出し、さらに始点P1、中点P2a、終点P3の座標に基づく円の方程式により、円弧軌跡Na3を算出する。そして、図14に示すように、表示制御部28は、算出された円弧軌跡Na3を二点鎖線で示すように画像操作領域15aに表示する。図14に示すようにこの円弧変更により、円弧軌跡の半径(サイズ)の任意の変更が可能となる。編集メニュー80の閉じるボタン86が操作されると、表示制御部28は、編集メニュー80を非表示する。 After that, the operator operates the X-axis operating device 20 and the Y-axis operating device 22 shown in FIG. When the arc change button 84 is operated, the control program moves the trajectory change point to be changed via the virtual grindstone contour A1 based on the operation amounts of the X-axis operation device 20 and the Y-axis operation device 22. It is possible. Therefore, based on the operations of the X-axis operating device 20 and the Y-axis operating device 22, the display control unit 28 moves the grinding wheel outline A1, as shown in FIG. move. When the circular arc locus Na1 to be changed after the movement moves, the trajectory generator 32 calculates the coordinates of the midpoint P2a after the movement, and furthermore, by the equation of the circle based on the coordinates of the start point P1, the midpoint P2a, and the end point P3, A circular locus Na3 is calculated. Then, as shown in FIG. 14, the display control unit 28 displays the calculated arc locus Na3 in the image operation area 15a as indicated by a two-dot chain line. As shown in FIG. 14, this arc modification allows arbitrary modification of the radius (size) of the arc locus. When the close button 86 of the edit menu 80 is operated, the display control section 28 hides the edit menu 80 .

(5.8.3.特殊ボタン52)
図3(a)に示す特殊ボタン52が操作されると、表示制御部28は図3(b)に示す特殊メニュー88をディスプレイ14の画面15にポップアップ表示する。特殊メニュー88には、ドゥエルボタン90、OPストップボタン92及び閉じるボタン94が設けられている。ドゥエルボタン90は、始点、中点、終点の各ポイントをティーチングする際、そのポイント位置において、NC動作を所定秒間、停止させるコマンドを図3(a)に示す軸移動速度欄74に挿入する場合に操作される。OPストップボタン92は、始点、中点、終点の各ポイントをティーチングする際、そのポイント位置において、NC動作を停止させるコマンドを図3(a)に示す軸移動速度欄74に挿入する場合に操作される。特殊メニュー88の閉じるボタン94が操作されると、表示制御部28は、特殊メニュー88を非表示する。
(5.8.3. Special button 52)
When the special button 52 shown in FIG. 3A is operated, the display control unit 28 pops up a special menu 88 shown in FIG. 3B on the screen 15 of the display 14 . The special menu 88 is provided with a dwell button 90 , an OP stop button 92 and a close button 94 . The dwell button 90 inserts a command to stop the NC operation for a predetermined second at each point of the start point, middle point, and end point into the axis movement speed field 74 shown in FIG. operated by The OP stop button 92 is operated to insert a command to stop the NC operation at the point position in the axis movement speed column 74 shown in FIG. be done. When the close button 94 of the special menu 88 is operated, the display control section 28 hides the special menu 88 .

(5.9.設定ボタン56、有効ボタン58、アプローチボタン60)
操作者が、いずれかの工程で砥石輪郭Aを直線移動させたい場合、図3(a)に示す設定ボタン56を操作すると、表示制御部28はその工程に砥石輪郭Aを移動させる際の角度を入力可能な入力欄(図示しない)を表示する。前記入力欄に角度入力がコンソール16により入力されて、有効ボタン58が操作されると、その工程では、設定された角度θで、設定された工程の直線軌跡を直線補間で移動させることが可能である。角度θは、X軸と平行な直線に対する角度である。図11は、直線軌跡Nc、Ndを有する軌跡Nのうち、直線軌跡Ndが、設定された角度θで、直線補間で移動するように設定された場合を示している。なお、有効ボタン58が操作されない場合は、直線補間での移動は無効となる。
(5.9. Setting button 56, Valid button 58, Approach button 60)
When the operator desires to linearly move the grindstone contour A in any process, when the setting button 56 shown in FIG. , an input field (not shown) is displayed. When an angle input is input to the input field by the console 16 and the valid button 58 is operated, the linear locus of the set process can be moved by linear interpolation at the set angle θ in that process. is. The angle θ is the angle with respect to a straight line parallel to the X-axis. FIG. 11 shows a case where the linear locus Nd of the locus N having the linear loci Nc and Nd is set to move at the set angle θ by linear interpolation. If the valid button 58 is not operated, movement by linear interpolation becomes invalid.

図3(a)に示すアプローチボタン60は、アプローチ方法を設定する際に操作される。なお、アプローチ操作は、Y軸操作装置22のみにより行われる。アプローチボタン60が操作されると、表示制御部28はアプローチ点からワーク輪郭Bに向けての砥石輪郭Aの動作方向の設定欄、及び設定角度の入力欄(ともに図示しない)を、ディスプレイ14に表示する。前記動作方向の設定では、「設定角度に対して法線直交方向」と「Y軸方向」のいずれか一方が設定される。前記入力欄に設定角度がコンソール16により入力されて、「設定角度に対して法線直交方向」が選択された場合、有効ボタン58が操作されると、砥石輪郭Aのアプローチは、設定角度に対して法線直交方向の移動で行われる。また、「Y軸方向」が設定されて、有効ボタン58が操作されると、砥石輪郭Aのアプローチは、「Y軸方向」の移動で行われる。 The approach button 60 shown in FIG. 3A is operated when setting the approach method. Note that the approach operation is performed only by the Y-axis operation device 22 . When the approach button 60 is operated, the display control unit 28 displays on the display 14 a field for setting the direction of movement of the grinding wheel contour A from the approach point toward the contour B of the workpiece and a field for inputting the set angle (both not shown). indicate. In the setting of the operation direction, either one of the "perpendicular direction normal to the set angle" and the "Y-axis direction" is set. When the set angle is input to the input field by the console 16 and the "perpendicular direction to the set angle" is selected, when the valid button 58 is operated, the approach of the grindstone contour A is changed to the set angle. In contrast, movement is performed in the direction perpendicular to the normal line. Further, when the "Y-axis direction" is set and the effective button 58 is operated, the approach of the grindstone contour A is performed by movement in the "Y-axis direction".

(5.10.「×10」ボタン62、「×1」ボタン64、「×1/10」ボタン66)
ハンドル倍率用の「×10」ボタン62、「×1」ボタン64、「×1/10」ボタン66は、X軸操作装置20及びY軸操作装置22が操作された際の砥石輪郭A、A1の移動速度の選択ボタンである。「×1」ボタン64が操作された際の砥石輪郭A、A1の移動速度を基準して、「×10」ボタン62及び「×1/10」ボタン66が操作されると、それぞれ10倍速及び1/10倍速で、砥石輪郭A、A1を移動させる。
(5.10. "x10" button 62, "x1" button 64, "x1/10" button 66)
The "x10" button 62, the "x1" button 64, and the "x1/10" button 66 for handle magnification are used to adjust the grindstone contours A and A1 when the X-axis operating device 20 and the Y-axis operating device 22 are operated. It is a selection button for the movement speed of . When the "x10" button 62 and the "x1/10" button 66 are operated, 10 times speed and The grindstone contours A and A1 are moved at 1/10 times speed.

(第1実施形態の作用)
上記のように構成された画像ティーチングシステム10における画像ティーチング方法を図2及び図6を参照して説明する。
(Action of the first embodiment)
An image teaching method in the image teaching system 10 configured as described above will be described with reference to FIGS. 2 and 6. FIG.

図2に示すS10では、操作者は、図3(a)に示す形状データタブ67aを操作して、切替タブ表示領域15d及びボタン表示領域15cに図示しないが形状データ読込ボタン等の各種の操作ボタンを表示させる。操作者は、図示しない形状データ読込ボタンを操作して、CPU24に記憶部26のハードディスクから、ワークの形状図面データを読み込ませる。表示制御部28としてのCPU24は、読込みしたワークの形状図面データに基づいて、図6に示すようにワーク輪郭をディスプレイ14の画像操作領域15aに表示する。図2のS20では、操作者は、図示しない形状データ読込ボタンを操作して、CPU24に記憶部26のハードディスクから、砥石輪郭画像データを読み込ませる。表示制御部28としてのCPU24は、読込みした砥石輪郭画像データに基づいて、図6に示すように砥石輪郭Aをディスプレイ14の画像操作領域15aに表示する。このようにして、ディスプレイ14の画面15は、ワーク輪郭及び砥石輪郭を共に表示する共通画面である。 In S10 shown in FIG. 2, the operator operates the shape data tab 67a shown in FIG. 3A to perform various operations such as a shape data read button (not shown) in the switching tab display area 15d and the button display area 15c. make the button visible. The operator operates a shape data read button (not shown) to cause the CPU 24 to read the work shape drawing data from the hard disk of the storage unit 26 . The CPU 24 as the display control unit 28 displays the contour of the work in the image operation area 15a of the display 14 as shown in FIG. 6 based on the read work shape drawing data. In S20 of FIG. 2, the operator operates a shape data read button (not shown) to cause the CPU 24 to read the grindstone contour image data from the hard disk of the storage unit 26. FIG. The CPU 24 as the display control unit 28 displays the whetstone contour A in the image operation area 15a of the display 14 as shown in FIG. 6 based on the read whetstone contour image data. Thus, screen 15 of display 14 is a common screen that displays both the workpiece contour and the grinding wheel contour.

図2のS30では、操作者は図3(a)に示すティーチングタブ67bを操作して、表示制御部28により切替タブ表示領域15d、ボタン表示領域15cに図3(a)に示すように各種操作ボタンを表示させる。この後、操作者は、X軸操作装置20及びY軸操作装置22の操作により砥石輪郭Aを移動させる。そして、検出部30が砥石輪郭Aとワーク輪郭Bの離間距離を算出し、前記離間距離が接触判定閾値に達していることを検出すると、この検出に基づいて、表示制御部28は、図7(a)に示すように、ワーク輪郭Bの接触箇所をハイライト表示させる。このハイライト表示された部位に対して、操作者は、始点ボタン44、中点ボタン46、または、終点ボタン48を操作してティーチングを行う。以後、同様に砥石輪郭Aを移動させて、ワーク輪郭Bとの接触した部位に対してティーチングが繰り返される。軌道生成部32は、上記のように繰り返してティーチングされる毎に、砥石輪郭Aの軌跡を生成する。この軌跡には、ティーチングの工程行番号毎に、Type、及び軸移動速度等の情報が入力されている。 In S30 of FIG. 2, the operator operates the teaching tab 67b shown in FIG. 3(a), and the display control unit 28 causes the switching tab display area 15d and the button display area 15c to display various items as shown in FIG. 3(a). Display operation buttons. After that, the operator moves the grindstone contour A by operating the X-axis operating device 20 and the Y-axis operating device 22 . Then, when the detection unit 30 calculates the separation distance between the grindstone contour A and the work contour B and detects that the separation distance has reached the contact determination threshold value, the display control unit 28 performs the following operations based on this detection. As shown in (a), the contact point of the work contour B is highlighted. The operator operates the start point button 44, the middle point button 46, or the end point button 48 to teach the highlighted region. After that, the grindstone contour A is moved in the same manner, and teaching is repeated with respect to the portion in contact with the work contour B. As shown in FIG. The trajectory generator 32 generates the trajectory of the grindstone contour A each time teaching is repeated as described above. In this trajectory, information such as Type and axis movement speed is input for each process line number of teaching.

図6は、変化点直接ティーチングモードにより、アプローチ点P0~退避点P10がティーチングにより得られたポイントが示されている。これらのポイントを通る一点鎖線が砥石輪郭Aの軌跡である。図6において、ワーク輪郭B上の「K」、「E」、及び「T」は、砥石輪郭Aがワーク輪郭Bに接触したところであって、それぞれ始点ボタン44、終点ボタン48、中点ボタン46が操作されたところである。このようにS30は、表示制御部28の制御により砥石輪郭をワーク輪郭へ移動させる移動ステップ、及びティーチング部にてティーチングするティーチングステップに相当する。また、S30は、移動ステップ、及びティーチングステップを繰り返して、得られた前記砥石輪郭の位置を含む軌跡を前記軌道生成部にて得るステップを含む。 FIG. 6 shows the points obtained by teaching the approach point P0 to the retreat point P10 in the changing point direct teaching mode. A dashed-dotted line passing through these points is the trajectory of the grindstone contour A. FIG. In FIG. 6, "K", "E", and "T" on the work contour B are the points where the grindstone contour A contacts the work contour B, and the start point button 44, end point button 48, and middle point button 46, respectively. is operated. Thus, S30 corresponds to a moving step of moving the grindstone contour to the workpiece contour under the control of the display control section 28 and a teaching step of teaching by the teaching section. Further, S30 includes a step of obtaining a trajectory including the obtained position of the grindstone contour by the trajectory generating section by repeating the moving step and the teaching step.

S40でプログラム保存ボタン34が操作されると、ティーチングの工程行番号、Type、及び軸移動速度等の情報及び軌跡を含む工程プログラムが記憶部26のハードディスクに保存される。そして、S40では、図3(a)のプログラム読込ボタン36が操作されると、記憶部26のハードディスクに格納されている工程プログラムがポップアップ画面で表示される。このポップアップ画面で表示された工程プログラムについて読み出し可能となる。機械転送ボタン38が操作されると、読込まれた前記工程プログラムをNC装置33に転送される。NC装置33は、転送された工程プログラムを実行することにより、ワークの研削加工を行う。本実施形態では、共通画面上で、砥石輪郭A及びワーク輪郭Bを表示できる。このため、砥石輪郭Aの位置を含む軌跡を機械座標系で生成できる。従って、NC装置33に転送された工程プログラムは、座標変換することなく使用することができる。 When the program save button 34 is operated in S40, the process program including information such as the teaching process line number, Type, and axis movement speed, and the locus is saved in the hard disk of the storage unit 26. FIG. Then, in S40, when the program loading button 36 in FIG. 3A is operated, the process program stored in the hard disk of the storage unit 26 is displayed on a pop-up screen. The process program displayed on this pop-up screen can be read. When the machine transfer button 38 is operated, the read process program is transferred to the NC device 33 . The NC device 33 grinds the workpiece by executing the transferred process program. In this embodiment, the grindstone contour A and the workpiece contour B can be displayed on the common screen. Therefore, a trajectory including the position of the grindstone contour A can be generated in the machine coordinate system. Therefore, the process program transferred to the NC device 33 can be used without coordinate conversion.

本実施形態では、下記の特徴を有する。
(1)画像ティーチング方法及びシステム10は、ディスプレイ14の画面15(共通画面)に対し表示制御部28により、ワーク輪郭及び砥石輪郭を表示するステップを有する。この後、移動ステップでは、操作者による手動操作部の操作に基づいて、表示制御部は砥石輪郭を前記ワーク輪郭へ移動させる。ティーチングステップでは、砥石輪郭がワーク輪郭と接触したときの砥石輪郭の位置を、操作者が始点ボタン44、中点ボタン46、及び終点ボタン48(ティーチング部)にてティーチングする。これらのステップを操作者が繰り返すことにより、軌道生成部は、得られた砥石輪郭の位置を含む軌跡を生成する。この結果、本実施形態は、光学式投影機及びチャート紙を必要とせず、ティーチングを容易に行うことができる。
This embodiment has the following features.
(1) The image teaching method and system 10 has a step of displaying the work contour and the grindstone contour on the screen 15 (common screen) of the display 14 by the display control section 28 . Thereafter, in the moving step, the display control unit moves the grindstone contour to the work contour based on the operator's operation of the manual operation unit. In the teaching step, the operator teaches the position of the grindstone contour when the grindstone contour comes into contact with the workpiece contour using the start point button 44, middle point button 46, and end point button 48 (teaching section). By repeating these steps by the operator, the trajectory generator generates a trajectory including the position of the obtained grindstone contour. As a result, this embodiment does not require an optical projector and chart paper, and can be easily taught.

(2)本実施形態の画像ティーチング方法及びシステム10は、画像ティーチングシステム10が、移動ステップにおける砥石輪郭Aとワーク輪郭Bとの接触を検出する検出部30を有する。画像ティーチングシステム10は、移動ステップにおける検出部30による前記接触の検出があった際に砥石輪郭Aとワーク輪郭Bとの接触をティーチング操作者に通知するディスプレイ14(通知部)を有する。操作者は、ディスプレイ14(通知部)の通知後に、始点ボタン44、中点ボタン46、及び終点ボタン48(ティーチング部)にて前記砥石輪郭の位置をティーチングする。この結果、軌道生成部32が生成する軌跡の精確を維持できる。 (2) In the image teaching method and system 10 of the present embodiment, the image teaching system 10 has a detection section 30 that detects contact between the grindstone contour A and the workpiece contour B in the moving step. The image teaching system 10 has a display 14 (notification section) that notifies the teaching operator of the contact between the grindstone contour A and the work contour B when the contact is detected by the detection section 30 in the movement step. After the notification on the display 14 (notification section), the operator teaches the position of the grindstone contour using the start point button 44, middle point button 46, and end point button 48 (teaching section). As a result, the accuracy of the trajectory generated by the trajectory generator 32 can be maintained.

(3)本実施形態の画像ティーチング方法及びシステム10は、検出部30による前記接触の検出に応じて、ディスプレイ14(通知部)が、表示制御部28の制御により砥石輪郭Aがワーク輪郭Bと接触した部位を含む所定範囲をハイライト表示する。上記構成によれば、砥石輪郭Aがワーク輪郭Bと接触した部位のみならず所定範囲をハイライト表示するため、操作者は、砥石輪郭がワーク輪郭のどの部位に接触したかを、容易に知ることができる。 (3) In the image teaching method and system 10 of the present embodiment, the display 14 (notification unit) changes the grindstone contour A to the work contour B under the control of the display control unit 28 in response to the detection of the contact by the detection unit 30. A predetermined range including the contact site is highlighted. According to the above configuration, since not only the portion where the grinding wheel contour A contacts the work contour B but also the predetermined range is highlighted, the operator can easily know which part of the work contour the grinding wheel contour has contacted. be able to.

(4)画像ティーチングシステム10の軌道生成部32は、始点のティーチングの次に終点のティーチングがあった際は、前記始点のティーチングのとき及び前記終点のティーチングのときの砥石輪郭の直線軌跡を形成するようにしている。この結果、画像ティーチングシステム10により、砥石輪郭の直線軌跡を容易に形成できる。 (4) The trajectory generation unit 32 of the image teaching system 10 forms the linear trajectory of the grindstone contour at the time of the start point teaching and at the time of the end point teaching when there is the end point teaching after the start point teaching. I am trying to As a result, the image teaching system 10 can easily form the straight trajectory of the grindstone contour.

(5)軌道生成部32は、始点のティーチング、中点のティーチング及び終点のティーチングが連続した際は、始点のティーチングのとき、中点のティーチングのとき及び終点のティーチングのときの砥石輪郭の円弧軌跡を形成する。この結果、軌道生成部は、始点ティーチングのとき、中点ティーチングのとき及び終点ティーチングすれば砥石輪郭の円弧軌跡を得ることができる。 (5) When the teaching of the starting point, the teaching of the middle point, and the teaching of the end point are continued, the trajectory generating unit 32 generates the circular arc of the grindstone contour when teaching the starting point, when teaching the middle point, and when teaching the end point. Form a trajectory. As a result, the trajectory generator can obtain the arc trajectory of the grindstone contour when teaching the starting point, teaching the middle point, and teaching the end point.

(6)画像ティーチングシステム10は、ワーク輪郭が含む、直線と直線の変化点、直線と円弧の変化点、円弧と円弧の変化点の位置を表示指示するクロス線ボタン79(変化点位置表示指示部)を有する。画像ティーチングシステム10の表示制御部28は、クロス線ボタン79による前記変化点の位置の表示指示の操作に応じて、ディスプレイ14に変化点位置の表示をさせる。この結果、操作者のワーク輪郭に対する砥石輪郭の移動は、位置表示された変化点を目安にして移動させることが可能となる。特に、直線と円弧の変化点、直線と直線の交わる角度が浅い変化点の場合、または曲率半径が異なる円弧同士の変化点は、変化点位置表示がない場合は、変化点位置が不明となりやすい。このような場合、変化点位置表示がされていれば、前記変化点自身に対する砥石輪郭の移動を容易に行うことも可能となる。或いは、相互に異なる変化点の間に対して砥石輪郭の移動を容易に行うことも可能となる。 (6) The image teaching system 10 uses the cross line button 79 (change point position display instruction) for displaying and instructing the positions of the points of change between straight lines, the points of change between straight lines and arcs, and the points of change between arcs, which are included in the workpiece contour. part). The display control unit 28 of the image teaching system 10 causes the display 14 to display the position of the change point in response to the operation of the cross line button 79 to display the position of the change point. As a result, the operator can move the contour of the grindstone with respect to the contour of the workpiece with reference to the displayed change point. In particular, if there is no indication of the position of the turning point, the position of the turning point is likely to be unknown for the turning point between a straight line and an arc, the turning point where the angle between the straight lines and the straight line is shallow, or the turning point between the arcs with different curvature radii. . In such a case, if the changing point position is displayed, the grinding wheel contour can be easily moved with respect to the changing point itself. Alternatively, it is also possible to easily move the grinding wheel profile between mutually different changing points.

(7)画像ティーチングシステム10は、前記変化点に関係する直線または円弧の前記変化点からの延長表示を指示する目安線ボタン78(変化点関係線延長表示指示部)を有する。表示制御部28は、目安線ボタン78による変化点からの延長表示を指示の操作に応じて、前記変化点に関係する直線または曲線の延長表示を前記ディスプレイに行わせる。この結果、この変化点に関係する直線または円弧の延長表示により、操作者のワーク輪郭に対する砥石輪郭の移動は、この変化点を基準にして移動させることが可能となる。特に、直線と円弧の変化点、直線と直線の交わる角度が浅い変化点の場合、曲率半径が異なる円弧同士の変化点は、変化点に関係する線の延長表示がない場合は、変化点がどこにあるのかは不明となりやすい。このような場合、変化点に関係する直線または円弧の延長表示がされていれば、前記変化点自身に対する砥石輪郭の移動を容易に行うことも可能である。或いは、変化点間の間に対して砥石輪郭の移動を容易に行うことも可能である。 (7) The image teaching system 10 has a reference line button 78 (variation point related line extension display instruction unit) for instructing the extension display from the variation point of the straight line or arc related to the variation point. The display control unit 28 causes the display to display an extension of a straight line or curve related to the change point in response to an instruction to display the extension from the change point by the reference line button 78 . As a result, the operator can move the grinding wheel contour relative to the work contour by using the change point as a reference by displaying the extension of the straight line or arc related to this change point. In particular, in the case of a turning point between a straight line and an arc, or a turning point where the straight line intersects with a shallow angle, or a turning point between arcs with different curvature radii, if there is no extension display of the line related to the turning point, the turning point will be Where it is is likely to be unclear. In such a case, if the extension of the straight line or arc related to the change point is displayed, it is possible to easily move the grinding wheel contour with respect to the change point itself. Alternatively, it is also possible to easily move the wheel profile between the change points.

(第2実施形態)
第2実施形態の画像ティーチングシステム10及び画像ティーチング方法を図14~図17(a)、図17(b)を参照して説明する。
(Second embodiment)
The image teaching system 10 and image teaching method of the second embodiment will be described with reference to FIGS. 14 to 17(a) and 17(b).

本実施形態の画像ティーチングシステム10は、第1実施形態の画像ティーチングシステム10と同じである。ただし、本実施形態では、NC装置33が関係するため、NC装置33の構成についてさらに説明する。 The image teaching system 10 of this embodiment is the same as the image teaching system 10 of the first embodiment. However, in this embodiment, since the NC device 33 is involved, the configuration of the NC device 33 will be further described.

(NC装置33)
図15に示すように、NC装置33は、研削機構部131、ワーク保持機構部132、移動機構部133、及び撮像部139を備える。
(NC device 33)
As shown in FIG. 15 , the NC device 33 includes a grinding mechanism section 131 , a workpiece holding mechanism section 132 , a moving mechanism section 133 and an imaging section 139 .

研削機構部131は、円盤状の砥石135を備えていて、研削加工時には、ワーク保持機構部132に保持されたワーク120の研削加工を行う。砥石135は、第1実施形態のダミーワークの研削痕を形成したものである。研削機構部131は、研削加工時において、砥石135を回転させる。ワーク保持機構部132は、前記ワーク120を着脱可能に保持する。ワーク保持機構部132は、ワーク120に代えて図示しないダミーワークも着脱自在に保持可能となっている。 The grinding mechanism section 131 includes a disk-shaped grindstone 135, and grinds the workpiece 120 held by the workpiece holding mechanism section 132 during grinding. The grindstone 135 is formed with grinding marks of the dummy work of the first embodiment. The grinding mechanism section 131 rotates the whetstone 135 during grinding. The work holding mechanism 132 holds the work 120 detachably. The work holding mechanism 132 can detachably hold a dummy work (not shown) in place of the work 120 .

研削機構部131は、移動機構部133に設けられていて、ワーク120に対して砥石135を相対運動させる。移動機構部133は、X軸用モータ137、Y軸用モータ138及びZ軸用モータ136を備えている。後述するNC制御部29によりX軸用モータ137及びY軸用モータ138が回転制御されることにより、移動機構部133により、砥石135はX方向及びY方向への移動が可能である。また、Z軸用モータ136の駆動により、砥石135は、上下方向(Z方向)に所定の範囲で揺動可能となっている。 The grinding mechanism section 131 is provided in the moving mechanism section 133 and causes the grindstone 135 to move relative to the workpiece 120 . The moving mechanism section 133 includes an X-axis motor 137 , a Y-axis motor 138 and a Z-axis motor 136 . The rotation of the X-axis motor 137 and the Y-axis motor 138 is controlled by the NC control unit 29, which will be described later. Further, by driving the Z-axis motor 136, the grindstone 135 can swing in the vertical direction (Z direction) within a predetermined range.

撮像部139は、ワーク保持機構部132に保持されたワーク120、或いはダミーワークの上方に配置されている。撮像部139は、CMOSカメラ、或いは、CCDカメラによって構成されていて、ワーク120またはダミーワークの上端面の高さ位置を焦点位置としている。ワーク120またはダミーワークの下方には、照明装置134が配置されていて、ワーク120またはダミーワークの下方から、撮像部139に向けて照明光が照射される。 The imaging section 139 is arranged above the work 120 held by the work holding mechanism section 132 or the dummy work. The imaging unit 139 is composed of a CMOS camera or a CCD camera, and has the height position of the upper end surface of the work 120 or dummy work as a focus position. An illumination device 134 is arranged below the workpiece 120 or the dummy workpiece, and illumination light is emitted toward the imaging unit 139 from below the workpiece 120 or the dummy workpiece.

撮像部139は、ティーチング時における砥石135の動画の撮像信号、切削加工時の砥石135の移動とワーク120の動画の撮像信号、或いは砥石135で切削されたダミーワークの研削痕の静止画の撮像信号を表示制御部28に送信する。 The imaging unit 139 captures an image signal of a moving image of the grindstone 135 during teaching, an image signal of a moving image of the grindstone 135 and a moving image of the workpiece 120 during cutting, or a still image of the grinding marks of the dummy work cut by the grindstone 135. A signal is sent to the display control unit 28 .

表示制御部28は、ティーチング時における砥石135の動画の撮像信号に基づいて、砥石135の砥石画像Ggをディスプレイ14の画像操作領域15aに表示する。また、表示制御部28は、切削加工時の砥石135とワーク120の動画の撮像信号に基づいて、砥石135の砥石画像Gg、及びワーク120のワーク実画像(図示しない)をディスプレイ14の画像操作領域15aに表示する。また、表示制御部28は、砥石135で切削されたダミーワークの研削痕の静止画の撮像信号に基づいて、ダミーワークの研削痕の実画像をディスプレイ14の画像操作領域15aに表示する。 The display control unit 28 displays the whetstone image Gg of the whetstone 135 in the image operation area 15a of the display 14 based on the imaging signal of the moving image of the whetstone 135 during teaching. Further, the display control unit 28 operates the display 14 to display the grindstone image Gg of the grindstone 135 and the actual workpiece image (not shown) of the workpiece 120 based on the imaging signal of the moving image of the grindstone 135 and the workpiece 120 during cutting. It is displayed in the area 15a. Further, the display control unit 28 displays the actual image of the grinding marks of the dummy work in the image operation area 15 a of the display 14 based on the imaging signal of the still image of the grinding marks of the dummy work cut by the grindstone 135 .

(画像ティーチング処理装置12)
本実施形態の画像ティーチング処理装置12のCPU24は、NC制御部29としても作動する。
(Image teaching processing device 12)
The CPU 24 of the image teaching processing device 12 of this embodiment also operates as the NC control section 29 .

X軸操作装置20の手動ハンドル20aが操作されると、エンコーダ20bはその操作に応じた操作信号を画像ティーチング処理装置12のCPU24に出力する。NC制御部29は、前記操作信号に基づいて、後述するX軸用モータ137を駆動制御することにより、砥石135をX方向へ移動する。 When the manual handle 20 a of the X-axis operation device 20 is operated, the encoder 20 b outputs an operation signal corresponding to the operation to the CPU 24 of the image teaching processing device 12 . Based on the operation signal, the NC control unit 29 drives and controls an X-axis motor 137, which will be described later, to move the grindstone 135 in the X direction.

CPU24の表示制御部28は、前記操作信号に基づいて、図1に示す機械座標系のX軸方向へ、画面15の画像操作領域15aに表示された第1実施形態で説明した砥石輪郭Aを移動する。 Based on the operation signal, the display control unit 28 of the CPU 24 displays the grindstone outline A described in the first embodiment displayed in the image operation area 15a of the screen 15 in the X-axis direction of the machine coordinate system shown in FIG. Moving.

Y軸操作装置22の手動ハンドル22aが操作されると、エンコーダ22bはその操作に応じた操作信号をCPU24に出力する。NC制御部29は、前記操作信号に基づいて、後述するY軸用モータ138を駆動制御することにより、砥石135をY方向へ移動する。 When the manual handle 22a of the Y-axis operation device 22 is operated, the encoder 22b outputs an operation signal to the CPU 24 according to the operation. Based on the operation signal, the NC control unit 29 drives and controls a Y-axis motor 138, which will be described later, to move the grindstone 135 in the Y direction.

また、CPU24の表示制御部28は、前記操作信号に基づいて、図1に示す機械座標系のY軸方向へ、画面15の画像操作領域15aに表示された第1実施形態で説明した砥石輪郭Aを移動する。 Further, based on the operation signal, the display control unit 28 of the CPU 24 displays the grindstone contour described in the first embodiment in the Y-axis direction of the machine coordinate system shown in FIG. Move A.

ここで、砥石輪郭AのXY座標は、手動ハンドル20a、22aの操作に応じて、X方向、及びY方向に移動する毎に更新される砥石135のXY座標と、同値となるように同様に手動ハンドル20a、22aの操作に応じて、更新されるようにされている。 Here, the XY coordinates of the grindstone contour A are the same as the XY coordinates of the grindstone 135, which are updated each time it moves in the X and Y directions according to the operation of the manual handles 20a and 22a. It is updated according to the operation of the manual handles 20a and 22a.

(第2実施形態の作用)
次に、図2、図16及び図17(a)、図17(b)を参照して、第2実施形態の作用を説明する。
(Action of Second Embodiment)
Next, the operation of the second embodiment will be described with reference to FIGS. 2, 16, 17(a) and 17(b).

本実施形態では、研削機構部131に装着された砥石135が撮像部139により撮像されていて、砥石画像Gg(図16(b)参照)がディスプレイ14の画像操作領域15aに表示されているものとする。なお、ワーク120は、ワーク保持機構部132には保持されていない。 In this embodiment, the grindstone 135 attached to the grinding mechanism section 131 is imaged by the imaging section 139, and the grindstone image Gg (see FIG. 16B) is displayed in the image operation area 15a of the display 14. and Note that the work 120 is not held by the work holding mechanism section 132 .

この場合、図2に示す画像ティーチングシステムにおける画像ティーチング方法の一部のステップにおいて、第1実施形態とは一部が異なるだけであるため、以下、異なる事項について説明する。 In this case, only some steps of the image teaching method in the image teaching system shown in FIG. 2 are different from the first embodiment, so the different items will be described below.

本実施形態では、ティーチングを行う場合、作業者が砥石輪郭Aと、砥石画像Ggを重ね合わせて表示するものである。
S10は、第1実施形態と同じであるため、説明を省略する。
In this embodiment, when performing teaching, the operator superimposes and displays the grindstone outline A and the grindstone image Gg.
Since S10 is the same as in the first embodiment, the description is omitted.

S20では、作業者が、図16(a)に示すボタン表示領域15cにある形状データ読込ボタンとしての砥石輪郭表示ONボタン54をタッチ操作する。これにより、表示制御部28としてのCPU24は記憶部26のハードディスクから、砥石輪郭画像データを読み込む。 In S20, the operator touches the grindstone outline display ON button 54 as the shape data read button in the button display area 15c shown in FIG. 16(a). Thereby, the CPU 24 as the display control section 28 reads the grindstone contour image data from the hard disk of the storage section 26 .

表示制御部28は、読込みした砥石輪郭画像データに基づいて、図16(c)に示すように砥石輪郭Aを砥石画像Ggに対して重ね合わせてディスプレイ14の画像操作領域15aに表示する。この場合、表示制御部28は、砥石輪郭Aを、動画の1フレーム毎に砥石画像Ggの輪郭となる部分に重ね合わせる。なお、表示制御部28は、ディスプレイ14の画面上で、砥石画像Ggを拡大または縮小表示する場合、同じ倍率で、砥石輪郭Aも拡大または縮小表示する。 The display control unit 28 superimposes the grindstone outline A on the grindstone image Gg and displays it in the image operation area 15a of the display 14, as shown in FIG. 16(c), based on the read grindstone outline image data. In this case, the display control unit 28 superimposes the grindstone outline A on the outline of the grindstone image Gg for each frame of the moving image. When displaying the grindstone image Gg in an enlarged or reduced size on the screen of the display 14, the display control unit 28 also enlarges or reduces the grindstone contour A at the same magnification.

なお、図16(b)、図16(c)では、砥石画像Ggは、撮像部139の焦点位置に砥石135が位置している場合の画像としている。ここでは、説明の便宜上、焦点位置に位置していることを明示するために、砥石135の砥石画像Ggの全体を、ハッチング線で描く。なお、このハッチング線は、断面図を意味していない。 16B and 16C, the whetstone image Gg is an image when the whetstone 135 is positioned at the focal position of the imaging unit 139. FIG. Here, for convenience of explanation, the entire grindstone image Gg of the grindstone 135 is drawn with hatched lines to clearly indicate that it is positioned at the focal position. In addition, this hatching line does not mean a cross-sectional view.

また、焦点位置に位置していない砥石135の砥石画像Ggにおいて、明確になってない輪郭のボケ領域Gbを点群で示して描いている。
なお、上記のように砥石輪郭Aを、砥石画像Ggに重ね合わせ表示している状態で、重ね合わせ表示を解消する場合、作業者は、砥石輪郭表示ONボタン54をタッチ操作する。このタッチ操作により、表示制御部28は、砥石輪郭Aの表示を停止する。
In addition, in the grindstone image Gg of the grindstone 135 that is not positioned at the focal position, a blurred outline region Gb that is not clearly defined is drawn as a point group.
In the state where the grindstone outline A is superimposed on the grindstone image Gg as described above, the operator touches the grindstone outline display ON button 54 to cancel the superimposed display. This touch operation causes the display control unit 28 to stop displaying the whetstone outline A. FIG.

このように、砥石輪郭表示ONボタン54の操作により、砥石輪郭Aの表示及び非表示がワンタッチで行われる。
S30は、第1実施形態と同様であるため、説明を省略する。
Thus, by operating the whetstone contour display ON button 54, the whetstone contour A can be displayed or hidden with one touch.
Since S30 is the same as in the first embodiment, the description is omitted.

本実施形態では、ティーチングを行う場合、砥石輪郭Aと砥石画像Ggを重ね合わせて表示する。このことから、例えば、第1実施形態の(5.6.ハイライト表示)の欄で説明した図7(a)、図7(b)は、それぞれ図17(a)及び図17(b)のようになる。図17(a)及び図17(b)に示すように、砥石画像Ggでは、ボケ領域Gbがワーク輪郭Bよりもワーク内に入る場合がある。この場合、作業者の視覚では、接触していないものと誤認する虞がある。 In this embodiment, when teaching is performed, the grindstone outline A and the grindstone image Gg are superimposed and displayed. For this reason, for example, FIGS. 7A and 7B described in the section (5.6. Highlight display) of the first embodiment are changed from FIGS. 17A and 17B, respectively. become that way. As shown in FIGS. 17(a) and 17(b), in the grindstone image Gg, the blurred area Gb may be included in the work more than the work outline B. In FIG. In this case, the operator's visual sense may mistakenly recognize that there is no contact.

本実施形態では砥石輪郭Aと砥石画像Ggを重ね合わせているため、作業者も誤認する虞がない。また、砥石輪郭Aと、ワーク輪郭Bとの接触があった場合には、ハイライト表示されるため、操作者は、砥石輪郭がワーク輪郭のどの部位に接触したかを、容易に知ることができる。また、砥石画像Ggもディスプレイ14で表示されるため、現実感が得られた状態で、ティーチングを行うことができる。 In this embodiment, since the grindstone outline A and the grindstone image Gg are superimposed, there is no risk of misidentification by the operator. Further, when there is contact between the grinding wheel contour A and the work contour B, it is highlighted, so that the operator can easily know which part of the work contour the grinding wheel contour has come into contact with. can. Further, since the grindstone image Gg is also displayed on the display 14, teaching can be performed in a realistic state.

本実施形態では、下記の特徴を有する。
(1)本実施形態の画像ティーチング方法及び画像ティーチングシステム10では、表示制御部28により、ディスプレイ14の共通画面にワーク輪郭及び砥石輪郭を表示するステップでは、砥石画像Ggに対して砥石輪郭を重ね合わせて表示する。
This embodiment has the following features.
(1) In the image teaching method and image teaching system 10 of the present embodiment, in the step of displaying the work contour and the grindstone contour on the common screen of the display 14 by the display control unit 28, the grindstone contour is superimposed on the grindstone image Gg. display together.

上記構成により、砥石画像と砥石輪郭との重ね合わせた表示により、現実感が得られた状態で、ティーチングを行うことができる。また、砥石輪郭Aと砥石画像Ggを重ね合わせているため、作業者も誤認する虞がない。 With the above configuration, the superimposed display of the whetstone image and the whetstone outline enables teaching to be performed in a state in which a sense of reality is obtained. In addition, since the grindstone outline A and the grindstone image Gg are superimposed, there is no risk of misidentification by the operator.

上記の構成により、従来の投影機で行っていた作業の延長上で行うことができる。すなわち、本実施形態の構成によれば、投影機で砥石を見る代わりにディスプレイの砥石画像を見て、機械側のX軸操作装置、及びY軸操作装置を操作して
従来のティーチング方法で軌跡を作成する。
With the above configuration, it is possible to perform the work that has been performed by the conventional projector. That is, according to the configuration of this embodiment, instead of looking at the grindstone on the projector, the grindstone image is viewed on the display, and the X-axis operation device and the Y-axis operation device on the machine side are operated to create a trajectory according to the conventional teaching method. to create

その時に砥石画像に砥石輪郭を重ねることで 従来より正確により簡単にティーチングを行うことができる。この結果、作業者は今まで投影機で行ってきたティーチングの作業を変える必要がないため新たな操作を覚える必要もない。 At that time, by superimposing the whetstone outline on the whetstone image, teaching can be performed more accurately and easily than before. As a result, the operator does not need to change the teaching work that has been performed with the projector so far, and does not need to learn new operations.

(2)また、砥石画像に砥石輪郭を重ねた状態で、砥石輪郭と、ワーク輪郭との接触があった場合、接触した部位を含む所定範囲がハイライト表示される。このため、砥石画像に砥石輪郭を重ねた状態であっても、操作者は、砥石輪郭がワーク輪郭のどの部位に接触したかを、容易に知ることができるとともに従来より正確により簡単にティーチングを行うことができる。 (2) Further, when the grindstone outline and the work outline are in contact with each other while the grindstone outline is superimposed on the grindstone image, a predetermined range including the contacting portion is highlighted. Therefore, even when the grinding wheel contour is superimposed on the grinding wheel image, the operator can easily know which part of the work contour the grinding wheel contour has touched, and teaching can be performed more accurately and easily than before. It can be carried out.

本実施形態は、以下のように変更して実施することができる。本実施形態及び以下の変更例は、技術的に矛盾しない範囲で互いに組み合わせて実施することができる。
・前記実施形態では、ディスプレイが、砥石輪郭Aとワーク輪郭Bとの接触があった際、前記砥石輪郭Aとの接触点を含めた所定範囲のワーク輪郭Bをハイライト表示するようにしたが、両者の接触の通知を下記のように変更してもよい。
This embodiment can be implemented with the following modifications. This embodiment and the following modified examples can be implemented in combination with each other within a technically consistent range.
In the above-described embodiment, when the grindstone contour A and the work contour B come into contact with each other, the display highlights the work contour B in a predetermined range including the contact point with the grindstone contour A. , the notification of contact between the two may be changed as follows.

ワーク輪郭B全体をハイライト表示すること。砥石輪郭A、または、ワーク輪郭Bの色表示の変更、或いは、点滅表示すること。
ディスプレイ以外を通知部とする場合は、下記のようにしてもよい。
To highlight the entire work contour B. To change the color display of the grinding wheel contour A or the workpiece contour B, or to display it blinking.
If a notification unit other than the display is used, the following may be used.

ディスプレイの画面に、当該接触を通知するランプの点灯表示をすること。ディスプレイとは別体の表示灯を通知部にして接触のときに点灯すること。ブザー等の音響作成部を通知部として前記接触があった旨を音で通知すること。 To display a lamp that notifies the contact on the screen of the display. An indicator lamp separate from the display shall be used as the notification part and light up when the contact is made. A sound generating unit such as a buzzer is used as a notification unit to notify by sound that the contact has been made.

・前記実施形態では、変化点位置表示は、クロス線で行うようにしたが、変化点位置表示はクロス線に限定されない。変化点位置表示は、変化点の位置を明示するもので有ればよいため、他の形状等で変化点位置を示してもよい。 - In the above-described embodiment, the change point position is indicated by the cross line, but the change point position display is not limited to the cross line. Since it is sufficient for the change point position display to clearly indicate the position of the change point, the change point position may be indicated by another shape or the like.

・前記実施形態では、前記ワーク輪郭の要素に円弧を含めるようにしたが、要素としての曲線は円弧に限定されない。円弧の以外に、例えば、スプライン曲線、サイクロイド曲線、楕円等に含まれる部分曲線を含んでいてもよい。要素がこれらの曲線の部分曲線であって、変化点から目安線として延長する場合、前記目安線は前述した曲線の一部として延長すればよい。 - In the above embodiment, arcs are included in the elements of the work contour, but the curves as elements are not limited to arcs. In addition to circular arcs, for example, partial curves included in spline curves, cycloid curves, ellipses, and the like may be included. If the elements are sub-curves of these curves and extend as reference lines from the points of change, the reference lines may be extended as part of the aforementioned curves.

10…画像ティーチングシステム
12…画像ティーチング処理装置
14…ディスプレイ(通知部)
15…画面(共通画面)
20…X軸操作装置
22…Y軸操作装置
24…CPU
26…記憶部
28…表示制御部
30…検出部
32…軌道生成部
33…NC装置
34…プログラム保存ボタン
36…プログラム読込ボタン
38…機械転送ボタン
44…始点ボタン(ティーチング部)
46…中点ボタン(ティーチング部)
48…終点ボタン(ティーチング部)
54…砥石輪郭表示ONボタン
78…目安線ボタン(変化点関係線延長表示指示部)
79…クロス線ボタン(変化点位置表示指示部)
A…砥石輪郭
B…ワーク輪郭
Ba、Bb…直線
Bc…円弧
Be、Bf…直線
C…クロス線
D1、D2…直線
D3…円弧
Ea、Eb、Ec、Ee、Ef、Eg、…終点
Fa、Fb…軌跡変化点
Gg…砥石画像
Gb…ボケ領域
H1、H2…直線
H3…円弧
J…接触点
Ja、Jb、Jc…接触点
Ka、Kb、Kc、Kd…始点
Lc…接触点
Ma、Mb…目安線
N…軌跡
Qa、Qb、Q1、Q2、Q3…変化点
Ra、Rb、Rc…接触点
Rf、Rg…端点
Tc、Tg…中点
DESCRIPTION OF SYMBOLS 10... Image teaching system 12... Image teaching processing apparatus 14... Display (notification part)
15... Screen (common screen)
20... X-axis operation device 22... Y-axis operation device 24... CPU
26... Storage part 28... Display control part 30... Detection part 32... Trajectory generation part 33... NC device 34... Program save button 36... Program read button 38... Machine transfer button 44... Start point button (teaching part)
46... Middle point button (teaching part)
48 ... End point button (teaching part)
54... Grindstone outline display ON button 78... Reference line button (variation point relation line extension display instruction section)
79 … Cross line button (change point position display instruction unit)
A... Grindstone profile B... Work profile Ba, Bb... Straight line Bc... Arc Be, Bf... Straight line C... Cross line D1, D2... Straight line D3... Arc Ea, Eb, Ec, Ee, Ef, Eg,... End point Fa, Fb ... Trajectory change point Gg ... Grindstone image Gb ... Blur area H1, H2 ... Straight line H3 ... Arc J ... Contact point Ja, Jb, Jc ... Contact point Ka, Kb, Kc, Kd ... Starting point Lc ... Contact point Ma, Mb ... Reference Line N... Trajectory Qa, Qb, Q1, Q2, Q3... Change point Ra, Rb, Rc... Contact point Rf, Rg... End point Tc, Tg... Middle point

Claims (12)

ディスプレイと、前記ディスプレイを表示制御する表示制御部と、手動操作部と、ティーチング部、及び軌道生成部を備えた画像ティーチングシステムにおける画像ティーチング方法であって、
前記表示制御部により、ワークの形状図面データ及び砥石輪郭画像データに基づいて前記ディスプレイの共通画面に前記ワークの形状輪郭(以下、ワーク輪郭という)及び砥石輪郭を表示するステップと、
前記ディスプレイの共通画面において、前記手動操作部の操作に基づく前記表示制御部の制御により前記砥石輪郭を前記ワーク輪郭へ移動させる移動ステップと、
前記砥石輪郭が前記ワーク輪郭と接触したときの前記砥石輪郭の位置を前記ティーチング部にてティーチングするティーチングステップと、
前記移動ステップ、及び前記ティーチングステップを繰り返して、得られた前記砥石輪郭の位置を含む軌跡を前記軌道生成部にて得るステップを含む画像ティーチング方法。
An image teaching method in an image teaching system comprising a display, a display control unit for controlling display of the display, a manual operation unit, a teaching unit, and a trajectory generation unit,
a step of displaying the shape contour of the work (hereinafter referred to as work contour) and the grindstone contour on the common screen of the display by the display control unit based on the work shape drawing data and the grindstone contour image data;
a moving step of moving the grindstone contour to the workpiece contour on the common screen of the display under the control of the display control unit based on the operation of the manual operation unit;
a teaching step of teaching the position of the grindstone contour when the grindstone contour comes into contact with the work contour by the teaching unit;
An image teaching method comprising the step of repeating the moving step and the teaching step to obtain a trajectory including the position of the obtained grindstone contour in the trajectory generating section.
前記表示制御部により、ワークの形状図面データ及び砥石輪郭画像データに基づいて前記ディスプレイの共通画面に前記ワークの形状輪郭(以下、ワーク輪郭という)及び砥石輪郭を表示するステップでは、さらに、取得した砥石画像に対して前記表示制御部により、前記砥石輪郭を重ね合わせて表示する請求項1に記載の画像ティーチング方法。 In the step of displaying the work shape contour (hereinafter referred to as work contour) and the grindstone contour on the common screen of the display by the display control unit based on the work shape drawing data and the grindstone contour image data, the acquired 2. The image teaching method according to claim 1, wherein the display control unit superimposes and displays the grindstone outline on the grindstone image. 画像ティーチングシステムは、前記移動ステップにおいて、前記砥石輪郭と前記ワーク輪郭との接触を検出する検出部、及び前記検出部による前記接触の検出があった際に前記砥石輪郭と前記ワーク輪郭との当該接触をティーチング操作者に通知する通知部を備え、
前記通知部の通知後に、前記ティーチング部にて前記砥石輪郭の位置をティーチングする請求項1または請求項2に記載の画像ティーチング方法。
The image teaching system includes, in the moving step, a detection unit that detects contact between the grindstone contour and the work contour, and when the contact is detected by the detection unit, the contact between the grindstone contour and the work contour is detected. A notification unit that notifies the teaching operator of the contact,
3. The image teaching method according to claim 1, wherein the position of the grinding wheel outline is taught by the teaching section after the notification by the notification section.
前記通知部は、前記ディスプレイであって、
前記検出部による前記接触の検出に応じて、前記表示制御部の制御により前記砥石輪郭が前記ワーク輪郭と接触した部位、または、前記接触した部位を含む所定範囲をハイライト表示させることにより、前記砥石輪郭の前記ワーク輪郭に対する前記接触をティーチング操作者に通知するものである請求項3に記載の画像ティーチング方法。
The notification unit is the display,
In response to detection of the contact by the detection unit, the display control unit controls to highlight a portion where the grinding wheel contour contacts the work contour, or a predetermined range including the contact portion, thereby 4. The image teaching method according to claim 3, wherein the contact of the grinding wheel contour with the workpiece contour is notified to a teaching operator.
ディスプレイと、
前記ディスプレイの共通画面にワークの形状図面データ及び砥石輪郭画像データに基づいて前記ワークの形状輪郭(以下、ワーク輪郭という)及び砥石輪郭を表示させる表示制御部と、
前記ディスプレイ上の前記砥石輪郭を移動操作する手動操作部と、
前記砥石輪郭が前記ワーク輪郭と接触した際、前記砥石輪郭の位置をティーチングするティーチング部と、
前記ティーチング部によりティーチングされた前記砥石輪郭の位置を含む軌跡を生成する軌道生成部を備える画像ティーチングシステム。
a display;
a display control unit for displaying the shape contour of the work (hereinafter referred to as work contour) and the grindstone contour on the common screen of the display based on the work shape drawing data and the grindstone contour image data;
a manual operation unit that operates to move the whetstone outline on the display;
a teaching unit that teaches the position of the grindstone contour when the grindstone contour comes into contact with the work contour;
An image teaching system comprising a trajectory generating section that generates a trajectory including the position of the grinding wheel contour taught by the teaching section.
前記表示制御部は、前記ワークの形状図面データ及び前記砥石輪郭画像データに基づいて前記ディスプレイの共通画面に前記ワークの形状輪郭(以下、ワーク輪郭という)及び砥石輪郭を表示する際に、取得した砥石画像と前記砥石輪郭を重ね合わせて表示する請求項5に記載の画像ティーチングシステム。 The display control unit displays the shape contour of the work (hereinafter referred to as work contour) and the grindstone contour on the common screen of the display based on the work shape drawing data and the grindstone contour image data. 6. The image teaching system according to claim 5, wherein the grindstone image and the grindstone outline are displayed in an overlapping manner. 前記砥石輪郭と前記ワーク輪郭との接触を検出する検出部と、
前記検出部による前記接触の検出があった際に、前記砥石輪郭と前記ワーク輪郭の前記接触をティーチング操作者に通知する通知部を備え、
前記ティーチング部は、前記砥石輪郭と前記ワーク輪郭との前記接触についての前記通知部による通知後に、前記砥石輪郭の位置をティーチングする請求項5に記載の画像ティーチングシステム。
a detection unit that detects contact between the grindstone contour and the workpiece contour;
a notification unit that notifies a teaching operator of the contact between the grindstone contour and the work contour when the contact is detected by the detection unit;
6. The image teaching system according to claim 5, wherein the teaching unit teaches the position of the grindstone contour after the notification by the notification unit of the contact between the grindstone contour and the workpiece contour.
前記砥石輪郭と前記ワーク輪郭との接触を検出する検出部と、
前記検出部による前記接触の検出があった際に、前記砥石輪郭と前記ワーク輪郭の前記接触をティーチング操作者に通知する通知部を備え、
前記ティーチング部は、前記砥石輪郭と前記ワーク輪郭との前記接触についての前記通知部による通知後に、前記砥石輪郭の位置をティーチングする請求項6に記載の画像ティーチングシステム。
a detection unit that detects contact between the grindstone contour and the workpiece contour;
a notification unit that notifies a teaching operator of the contact between the grindstone contour and the work contour when the contact is detected by the detection unit;
7. The image teaching system according to claim 6, wherein the teaching unit teaches the position of the grindstone contour after the notification by the notification unit of the contact between the grindstone contour and the workpiece contour.
前記通知部は、前記ディスプレイであって、
前記検出部による前記接触の検出に応じて、前記表示制御部の制御により前記砥石輪郭が前記ワーク輪郭と接触した部位、または、前記接触した部位を含む所定範囲をハイライト表示させることにより、前記砥石輪郭の前記ワーク輪郭に対する前記接触をティーチング操作者に通知するものである請求項7に記載の画像ティーチングシステム。
The notification unit is the display,
In response to detection of the contact by the detection unit, the display control unit controls to highlight a portion where the grinding wheel contour contacts the work contour, or a predetermined range including the contact portion, thereby 8. The image teaching system of claim 7, wherein the contact of the grinding wheel contour with the work contour is communicated to a teaching operator.
前記通知部は、前記ディスプレイであって、
前記検出部による前記接触の検出に応じて、前記表示制御部の制御により前記砥石輪郭が前記ワーク輪郭と接触した部位、または、前記接触した部位を含む所定範囲をハイライト表示させることにより、前記砥石輪郭の前記ワーク輪郭に対する前記接触をティーチング操作者に通知するものである請求項8に記載の画像ティーチングシステム。
The notification unit is the display,
In response to detection of the contact by the detection unit, the display control unit controls to highlight a portion where the grinding wheel contour contacts the work contour, or a predetermined range including the contact portion, thereby 9. The image teaching system of claim 8, wherein the contact of the wheel contour with the workpiece contour is communicated to a teaching operator.
前記ワーク輪郭は、直線と直線の変化点、直線と曲線の変化点、曲線と曲線の変化点のいずれか1つを少なくとも含み、
前記変化点の位置を表示指示する変化点位置表示指示部を有し、
前記表示制御部は、前記変化点位置表示指示部による前記変化点の位置の表示指示の操作に応じて、変化点位置表示を前記ディスプレイに行わせる請求項5乃至請求項10のうちいずれか1項に記載の画像ティーチングシステム。
The workpiece contour includes at least one of a straight line and a straight line change point, a straight line and a curve change point, and a curve and a curve change point,
a change point position display instruction unit that displays and instructs the position of the change point;
11. Any one of claims 5 to 10, wherein the display control unit causes the display to display the position of the changing point in response to an operation for instructing display of the position of the changing point by the changing point position display instructing unit. The image teaching system according to the paragraph.
前記ワーク輪郭は、直線と直線の変化点、直線と曲線の変化点、曲線と曲線の変化点のいずれか1つを少なくとも含み、
前記変化点に関係する直線または円弧の前記変化点からの延長表示を指示する変化点関係線延長表示指示部を有し、前記表示制御部は、前記変化点関係線延長表示指示部による前記変化点からの延長表示を指示の操作に応じて、前記変化点に関係する直線または曲線の延長表示を前記ディスプレイに行わせる請求項5乃至請求項10のうちいずれか1項に記載の画像ティーチングシステム。
The workpiece contour includes at least one of a straight line and a straight line change point, a straight line and a curve change point, and a curve and a curve change point,
a change point relationship line extension display instructing unit for instructing display of a straight line or arc related to the change point, the display control unit controlling the change by the change point relationship line extension display instruction unit; 11. The image teaching system according to any one of claims 5 to 10, wherein the display is caused to display an extension of a straight line or curve related to the change point in response to an instruction to display the extension from the point. .
JP2022176337A 2021-12-10 2022-11-02 Image teaching method in image teaching system and image teaching system Pending JP2023086676A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021200932 2021-12-10
JP2021200932 2021-12-10

Publications (1)

Publication Number Publication Date
JP2023086676A true JP2023086676A (en) 2023-06-22

Family

ID=86850296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022176337A Pending JP2023086676A (en) 2021-12-10 2022-11-02 Image teaching method in image teaching system and image teaching system

Country Status (1)

Country Link
JP (1) JP2023086676A (en)

Similar Documents

Publication Publication Date Title
TWI575345B (en) Control method of working machine and control device of working machine
JP5925976B1 (en) Machining program editing support device
US6968080B2 (en) Method and apparatus for generating part programs for use in image-measuring instruments, and image-measuring instrument and method of displaying measured results therefrom
US8332067B2 (en) Device and method for processing a robot control program
US20180361575A1 (en) Robot teaching device for correcting robot trajectory
JP5990662B2 (en) Machining program editing support device
JP2011154436A (en) Working situation monitoring device
JPH10283115A (en) Display input device
JP2003065713A (en) Program and part program creating device for image measuring apparatus
JP5610883B2 (en) Processing simulation apparatus and method
JP2023086676A (en) Image teaching method in image teaching system and image teaching system
JPH07103735A (en) Contactless measuring system for image
JP2005288563A (en) Method and device for creating working program
JP3803428B2 (en) Position setting device for movable member in plate processing machine
JP6746894B2 (en) Centering device and centering position setting program
JP6077814B2 (en) NC data creation device and NC grinder
JP2024067456A (en) Display method in display control device and display control device
JP3595014B2 (en) Edge detection method and non-contact image measurement system using the same
JP3808125B2 (en) Numerical controller
JP2937918B2 (en) Image measuring device
JP2023120784A (en) Grind stone trajectory automatically creating method and grind stone trajectory automatically creating device
JP2024064650A (en) Removal processing method and removal processing device
US20070182759A1 (en) Graphics processing apparatus, method and program storage medium thereof
JP2004239761A (en) Image measuring instrument, and program for generating edge tracking measuring program
JP4053642B2 (en) Coordinate system setting method and image measuring apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230720

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240529

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240604

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240624

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240820