JPH07314312A - Data compensator - Google Patents

Data compensator

Info

Publication number
JPH07314312A
JPH07314312A JP10564494A JP10564494A JPH07314312A JP H07314312 A JPH07314312 A JP H07314312A JP 10564494 A JP10564494 A JP 10564494A JP 10564494 A JP10564494 A JP 10564494A JP H07314312 A JPH07314312 A JP H07314312A
Authority
JP
Japan
Prior art keywords
data
lift
point
graph
key
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
JP10564494A
Other languages
Japanese (ja)
Inventor
Takao Yoneda
孝夫 米田
Tomoya Kato
友也 加藤
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.)
Toyoda Koki KK
Original Assignee
Toyoda Koki KK
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 Toyoda Koki KK filed Critical Toyoda Koki KK
Priority to JP10564494A priority Critical patent/JPH07314312A/en
Publication of JPH07314312A publication Critical patent/JPH07314312A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make data correctable as checking a minute correction on a picture plane. CONSTITUTION:A graph display is performed on the basis of a plot point conformed to data of lift value, speed and acceleration based on the lift data by a graph display means 1. In addition, a moving means 2 performs its movement to the graph's plot point displayed, and a travel calculating means 3 calculates an amount of travel in this plot point at that time, and thus this travel value is graphicly displayed by a travel graphic display means 4.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、カムの輪郭形状を特定
するリフトデータに基づいてリフト量と速度と加速度の
少なくとも1つのデータを補正するデータ補正装置に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data correction device for correcting at least one of lift amount, speed and acceleration data based on lift data for specifying a contour shape of a cam.

【0002】[0002]

【従来の技術】一般にエンジンに使用されるカムシャフ
トのカムの形状は、図12に示すようにタペットTにカ
ムCが当接するときのタペットTの移動量HをカムCの
所定の基準位置からの回転角と対応させたリフトデータ
として表されている。このカムを研削する数値制御研削
盤においては、研削盤の心押台と主軸台間に回転可能に
挟持支持された工作物を主軸の回転に同期させ、砥石車
を主軸軸線に垂直な方向に進退制御して研削加工する。
この際の砥石車の位置と主軸の回転角を制御するのに上
述のリフトデータを図13に示すようにカムCを等間隔
の角度θに分割し、この角度θ毎の回転中心からの距離
(極座標)r(θ)に変換し、さらにこれを主軸軸線と
砥石車の中心位置までの距離(心間距離)に変換した
後、この心間距離に主軸の回転速度や砥石車の径等の研
削時の諸元データを加味してプロフィルデータを演算し
ている。
2. Description of the Related Art Generally, the shape of a cam of a camshaft used in an engine is such that a moving amount H of the tappet T when the cam C contacts the tappet T is determined from a predetermined reference position of the cam C as shown in FIG. It is represented as lift data corresponding to the rotation angle of. In a numerically controlled grinding machine that grinds this cam, the work that is rotatably clamped between the tailstock and the headstock of the grinding machine is synchronized with the rotation of the spindle, and the grinding wheel is moved in the direction perpendicular to the spindle axis. Grinding is performed with advance / retreat control.
In order to control the position of the grinding wheel and the rotation angle of the spindle at this time, the above-mentioned lift data is divided into angles θ at equal intervals as shown in FIG. 13, and the distance from the rotation center for each angle θ is divided. (Polar coordinates) r (θ) and then the distance between the spindle axis and the center position of the grinding wheel (center-to-center distance), and then the center-to-center distance, the rotation speed of the spindle, the diameter of the grinding wheel, etc. The profile data is calculated by taking into account the specification data during grinding.

【0003】[0003]

【発明が解決しようとする課題】従来、この種の数値制
御研削盤においては、上述のようなリフトデータからプ
ロフィルデータへの変換は自動的に行われており、その
データの確認は、入力したリフトデータもしくはプロフ
ィルデータをCRT画面上や印刷したもので確認してい
た。
Conventionally, in this type of numerically controlled grinding machine, the above-mentioned lift data is automatically converted into profile data, and the data is confirmed by inputting. The lift data or profile data was checked on the CRT screen or printed.

【0004】ところが、上述のようにデータを1個ずつ
確認したのでは、非常に労力を使うことになる。また、
プロフィルデータは最終出力データであり、このプロフ
ィルデータに異常があったとしても、その過程で使用さ
れる諸元データに誤りがあるのかリフトデータ自体に誤
りがあるのかは、全てのデータをチェックしなければ分
からない。さらに、リフトデータは実験で求められた値
で求められることが多く、そのために、プロフィルデー
タを作成するうえでは不必要な誤差データを含んでいる
場合もあり、このような誤差が作成されるカムの形状に
どのような影響を与えるかは加工してみなければ分から
なかった。
However, checking the data one by one as described above requires a great deal of labor. Also,
The profile data is the final output data.Even if there is an abnormality in this profile data, check all the data to see if there is an error in the specification data used in the process or in the lift data itself. I don't know without it. In addition, lift data is often obtained using experimentally determined values, and as a result, error data that is unnecessary for creating profile data may be included. It was not possible to understand what kind of influence it would have on the shape of the above unless it was processed.

【0005】発明は上述した問題に対し、リフトデータ
の誤入力等の誤りを簡単に見つけられるようにすること
を第1の目的とし、このデータを簡単に修正できるよう
にすることを第2の目的とするものである。
In order to solve the above-mentioned problems, the first object of the present invention is to make it possible to easily find an error such as erroneous input of lift data, and to make it possible to easily correct this data. It is intended.

【0006】[0006]

【課題を解決するための手段】本発明は、上述した問題
点を解決するためになされたもので、請求項1に記載の
発明は、図1に示すように、カムの輪郭形状を特定する
リフトデータに基づいてリフト量と速度と加速度の少な
くとも1つのデータに対応したプロット点に基づいてグ
ラフ表示をするグラフ表示手段1と、前記グラフ表示さ
れたデータのプロット点を移動させる移動手段2と、前
記移動手段2で移動されたプロット点の移動量を演算す
る移動量算出手段3と、記移動量算出手段3にて算出さ
れた移動量に基づいて移動量グラフを表示する移動量グ
ラフ表示手段4とを備えたことをものである。
The present invention has been made to solve the above-mentioned problems, and the invention described in claim 1 specifies the contour shape of the cam as shown in FIG. Graph display means 1 for displaying a graph on the basis of the lift data, and a plot point corresponding to at least one data of velocity and acceleration, and moving means 2 for moving the plot point of the data displayed in the graph. , A movement amount calculation means 3 for calculating the movement amount of the plot point moved by the movement means 2, and a movement amount graph display for displaying a movement amount graph based on the movement amount calculated by the movement amount calculation means 3. And means 4 are provided.

【0007】また、請求項2に記載の発明は、前記移動
量算出演算手段は前記移動手段で移動されるデータのプ
ロット点を含む複数のデータを指定するデータ指定手段
と、このデータ指定手段にて指定された複数のデータの
中で始点と終点のデータを求める終始点指定手段と、前
記終始点指定手段にて指定された始点と終点のデータと
前記移動手段で移動されたデータの間を補間するデータ
補間手段とで構成したものである。
According to the second aspect of the present invention, the movement amount calculating / calculating means includes a data designating means for designating a plurality of data including plot points of data to be moved by the moving means, and the data designating means. Between the data moved by the moving means, and the end-point specifying means for obtaining the start-point and end-point data among the plurality of data specified by It is composed of a data interpolating means for interpolating.

【0008】[0008]

【作用】請求項1の発明によれば、グラフ表示手段1に
よってリフトデータに基づいたリフト量と速度と加速度
の少なくとも1つのデータに対応するプロット点に基づ
いてグラフ表示をする。そして、この表示されたグラフ
のプロット点に対して移動手段2は移動を行い、このと
きのプロット点の移動量を移動量算出手段3は算出し、
移動量グラフ表示手段4で移動量をグラフ表示するま
た、請求項2の発明によれば、移動手段2で移動される
データのプロット点を含む複数のデータをデータ指定手
段で指定し、このデータ指定手段にて指定された複数の
データの中から終始点指定手段は始点と終点のデータを
求め、データ補間手段は終始点指定手段にて指定された
始点と終点のデータと前記移動手段で移動されたデータ
の間を補間することでデータ補正を行う。
According to the first aspect of the present invention, the graph display means 1 displays the graph based on the plot points corresponding to at least one of the lift amount, the velocity and the acceleration based on the lift data. Then, the moving means 2 moves with respect to the plotted points of the displayed graph, and the moving amount calculating means 3 calculates the moving amount of the plotted points at this time,
According to the invention of claim 2, a plurality of data including plot points of the data moved by the moving means 2 is designated by the data designating means, and the data is displayed by the data designating means. From the plurality of data designated by the designating means, the end-point designating means obtains start-point and end-point data, and the data interpolating means moves by the moving means and the start-point and end-point data designated by the end-point designating means. Data correction is performed by interpolating between the generated data.

【0009】[0009]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。図2において10は数値制御研削盤を示してお
り、この数値制御研削盤10は大別すると、研削盤本体
20、数値制御装置30および自動プログラミング装置
40で構成される。
Embodiments of the present invention will be described below with reference to the drawings. In FIG. 2, reference numeral 10 denotes a numerical control grinding machine. The numerical control grinding machine 10 is roughly divided into a grinding machine main body 20, a numerical control device 30, and an automatic programming device 40.

【0010】研削盤本体20は図2に示すような構成と
なっており、21は数値制御研削盤のベッドで、このベ
ッド21上には送りネジ機構を介してサーボモータ27
により駆動されるテーブル22が主軸軸線に平行な方向
に摺動可能に配設されている。テーブル22上には主軸
24を軸架した主軸台23が配設され、その主軸24は
サーボモータ25により回転される。また、テーブル2
2上の右端には心押台26が載置され、心押台26のセ
ンタ30と主軸24のセンタ28とによってカムシャフ
トからなる工作物Wが挟持される。工作物Wは主軸24
に突設された位置決めピン29に係合し、工作物Wの回
転位相は主軸24の回転位相に一致している。
The grinder main body 20 is constructed as shown in FIG. 2. Reference numeral 21 is a bed of a numerical control grinder, and a servo motor 27 is provided on the bed 21 via a feed screw mechanism.
A table 22 driven by is arranged slidably in a direction parallel to the axis of the spindle. A headstock 23 having a main shaft 24 mounted thereon is arranged on the table 22, and the main shaft 24 is rotated by a servomotor 25. Also, table 2
A tailstock 26 is placed on the right end of the upper part of the upper part 2 and a workpiece W composed of a camshaft is clamped by a center 30 of the tailstock 26 and a center 28 of the spindle 24. Workpiece W has spindle 24
The rotation phase of the work W coincides with the rotation phase of the main shaft 24 by engaging with the positioning pin 29 projecting from the.

【0011】ベッド21の後方には工作物W側に向かっ
て進退可能な工具台(砥石台)31が案内され、工具台
31にはモータ32によって回転駆動される砥石車Gが
支承されている。この工具台31は、図略の送りネジを
介してサーボモータ34に連結され、このサーボモータ
34の正逆転により進退される。ドライブユニット5
0,51,52は数値制御装置30から指令パルスを入
力して、それぞれサーボモータ34,25,27を駆動
する回路である。
Behind the bed 21, a tool base (grinding stone base) 31 capable of moving forward and backward toward the workpiece W is guided, and a grindstone wheel G rotatably driven by a motor 32 is supported on the tool base 31. . The tool base 31 is connected to a servo motor 34 via a feed screw (not shown), and is moved forward / backward by the forward / reverse rotation of the servo motor 34. Drive unit 5
Reference numerals 0, 51 and 52 are circuits for inputting command pulses from the numerical control device 30 and driving the servo motors 34, 25 and 27, respectively.

【0012】数値制御装置30は主として制御軸の回転
を数値制御して、工作物Wの研削加工と砥石車Gの修正
を制御する装置である。数値制御装置30は図3に示す
ように、研削盤を制御するためのメインCPU31と制
御プログラムを記憶したROM33と入力データ等を記
憶するRAM32とで主として構成されている。RAM
32には加工用NCプロフィルデータを記憶するNCプ
ロフィルデータ領域321が形成されている。
The numerical control device 30 is a device that mainly controls the rotation of the control shaft to control the grinding of the workpiece W and the correction of the grinding wheel G. As shown in FIG. 3, the numerical controller 30 is mainly composed of a main CPU 31 for controlling the grinder, a ROM 33 storing a control program, and a RAM 32 storing input data and the like. RAM
An NC profile data area 321 for storing machining NC profile data is formed at 32.

【0013】数値制御装置30には、その他サーボモー
タ34,25,27の駆動系として、ドライブCPU3
6とRAM35とパルス分配回路37が設けられてい
る。RAM35はメインCPU31から砥石車G、テー
ブル11、主軸13の位置決めデータを入力する記憶装
置である。ドライブCPU36は加工に関する制御軸の
送りにスローアップ、スローダウン、目標点の補間等の
演算を行い補間点の位置決めデータを定周期で出力する
装置であり、パルス分配回路37はドライブCPU36
から出力された位置決めデータをパルス分配したのち、
移動指令パルスを各ドライブユニット50,51,52
に出力する回路である。
The numerical controller 30 includes a drive CPU 3 as a drive system for the other servomotors 34, 25 and 27.
6, a RAM 35, and a pulse distribution circuit 37 are provided. The RAM 35 is a storage device for inputting positioning data for the grinding wheel G, the table 11, and the spindle 13 from the main CPU 31. The drive CPU 36 is a device that performs operations such as slow-up, slow-down, and interpolation of a target point for feeding the control axis relating to machining, and outputs the positioning data of the interpolation point at a fixed cycle. The pulse distribution circuit 37 is a drive CPU 36.
After distributing the positioning data output from the
The movement command pulse is sent to each drive unit 50, 51, 52.
It is a circuit that outputs to.

【0014】40は前記数値制御装置30に接続された
自動プログラミング装置で、リフトデータと砥石径から
プロフィルデータを自動作成するものである。この自動
プログラミング装置40は、フロントCPU70とRO
M71とRAM72と画像処理装置74と入出力インタ
フェース73を主な構成要素とし、さらにフロントCP
U71には画像表示装置(CRT)75とキーボード7
6および画面指示装置77等の外部入出力機器が接続さ
れている。
An automatic programming device 40 is connected to the numerical control device 30 and automatically creates profile data from the lift data and the grindstone diameter. The automatic programming device 40 includes a front CPU 70 and an RO.
The M71, the RAM 72, the image processing device 74, and the input / output interface 73 are the main constituent elements, and the front CP
U71 has an image display device (CRT) 75 and a keyboard 7.
6, and external input / output devices such as the screen indicating device 77 are connected.

【0015】RAM72には複数の工作物のリフトデー
タLiを記憶するリフトデータ領域721と、リフトデ
ータLiを極座標変換し記憶する極座標リフトデータ領
域722と、極座標データPをプロフィルデータCXに
変換したデータを記憶するプロフィルデータ領域723
と、リフトデータLiの形状から求められる速度データ
SLiを記憶する速度データ領域725と、リフトデー
タLiの形状から求められる加速度を記憶する加速度デ
ータ領域726と、砥石車Gの砥石径Rを記憶する砥石
径記憶領域727と、主軸13の回転数を記憶する主軸
回転数領域728と、工作物のベース円のデータを記憶
するベース円データ領域729およびカーソル位置記憶
領域730が形成されている。
The RAM 72 has a lift data area 721 for storing lift data Li of a plurality of workpieces, a polar coordinate lift data area 722 for polar coordinate conversion and storage of the lift data Li, and data obtained by converting polar coordinate data P into profile data CX. Profile data area 723 storing
And a speed data area 725 for storing speed data SLi obtained from the shape of the lift data Li, an acceleration data area 726 for storing acceleration obtained from the shape of the lift data Li, and a grinding wheel diameter R of the grinding wheel G. A grindstone diameter storage area 727, a spindle rotation speed area 728 that stores the rotation speed of the spindle 13, a base circle data area 729 that stores data of the base circle of the workpiece, and a cursor position storage area 730 are formed.

【0016】また、ROM71には各種のデータを演算
する演算プログラムやCRT75に表示させる表示画面
データが記憶されている。一方、キーボード76には数
値を入力するキー、終了キー76aおよび、画面上に表
示される指示項目を選択するためのキー等が設けられ、
画面指示装置77は画面上の特定位置を矢印等によって
指示、選択する公知のマウス装置であり、決定キー77
aを有している。
The ROM 71 also stores a calculation program for calculating various data and display screen data to be displayed on the CRT 75. On the other hand, the keyboard 76 is provided with a key for inputting a numerical value, an end key 76a, a key for selecting an instruction item displayed on the screen, and the like.
The screen instruction device 77 is a known mouse device for instructing and selecting a specific position on the screen with an arrow or the like.
a.

【0017】以上の構成において、自動プログラミング
装置40の電源が投入されたとき、およびキーボード7
6の終了キー76aが押されたとき、図4に示されるメ
インフローチャートが実行される。メインフローチャー
トが実行されと、ステップ100では、リフトデータが
既に入力されているかを判定し、既にリフトデータが入
力されているのであればステップ102に進み、まだリ
フトデータの入力が済んでいなければステップ104に
進んで、キーボード76から図13に示すような回転角
度θとリフト量rからなるリフトデータが入力されリフ
トデータ記憶領域721に記憶する。
In the above configuration, when the automatic programming device 40 is powered on and when the keyboard 7 is used.
When the end key 76a of No. 6 is pressed, the main flowchart shown in FIG. 4 is executed. When the main flow chart is executed, it is determined in step 100 whether lift data has already been input. If lift data has already been input, the process proceeds to step 102, and if lift data has not been input yet. In step 104, lift data including the rotation angle θ and the lift amount r as shown in FIG. 13 is input from the keyboard 76 and stored in the lift data storage area 721.

【0018】前記ステップ102に進むと、リフトデー
タLiを回転角度θで微分して速度データSLiを求め
て速度データ領域725に記憶し、次にステップ105
でリフトデータLiを回転角度θで2回微分して加速度
データALiを求めて加速度データ領域726に記憶し
てステップ106に進む。ステップ106では、上記ス
テップ102から106で求められたデータをCRT7
5に表示する表示処理を実行するもので、次にこのステ
ップ106に示した表示処理を図5のフローチャートで
説明する。
At step 102, the lift data Li is differentiated by the rotation angle θ to obtain speed data SLi, which is stored in the speed data area 725, and then step 105.
Then, the lift data Li is differentiated twice by the rotation angle θ to obtain the acceleration data ALi, which is stored in the acceleration data area 726, and the routine proceeds to step 106. In step 106, the data obtained in steps 102 to 106 above is sent to the CRT 7
The display process shown in FIG. 5 is executed. Next, the display process shown in step 106 will be described with reference to the flowchart of FIG.

【0019】図5のステップ300において表示するデ
ータがリフトデータLiか、速度データSLiか、加速
度データALiかを決定するために図6に示す初期メニ
ュー画面を表示し、この初期メニュー画面でリフトデー
タLi、速度データSLi、加速度データALiのいず
れの表示かを、画面指示装置77の決定キー77aを押
すことで決定する。その後ステップ301に進む。
The initial menu screen shown in FIG. 6 is displayed to determine whether the data displayed in step 300 of FIG. 5 is lift data Li, speed data SLi, or acceleration data ALi. Which of the Li, the speed data SLi, and the acceleration data ALi is displayed is determined by pressing the determination key 77a of the screen instructing device 77. After that, the process proceeds to step 301.

【0020】ステップ301では、ステップ300で決
定されたデータ(リフトデータLi,速度データSLi
もしくは加速度データALi)がリフトデータ領域72
1,、速度データ領域725,加速度データ領域726
から読み出される。次にステップ302において、表示
を行うデータの最大数値が設定され、ステップ306に
進む。ステップ306では設定された目盛りの最大数値
に基づいて、目盛りの最小きざみ値を演算する。そして
ステップ308ではこの最小きざみ値からCRT75の
画面上におけるデータ点位置を演算し、ステップ310
においてCRT75の画面上に各データ点をプロットす
るともに、この点間を接続する。この処理を実行すると
例えば図7に示すようなリフトデータLiの画面がCR
T75上に表示されることになる。
In step 301, the data determined in step 300 (lift data Li, speed data SLi
Alternatively, the acceleration data ALi) is the lift data area 72.
1, speed data area 725, acceleration data area 726
Read from. Next, at step 302, the maximum numerical value of the data to be displayed is set, and the routine proceeds to step 306. In step 306, the minimum step value of the scale is calculated based on the set maximum value of the scale. Then, in step 308, the data point position on the screen of the CRT 75 is calculated from this minimum step value, and step 310
At, each data point is plotted on the screen of the CRT 75, and the points are connected. When this process is executed, the screen of lift data Li as shown in FIG.
It will be displayed on T75.

【0021】ここで、図7に示された画面の表示内容に
ついて説明すると、グラフ表示画面90と、データ表示
画面91および修正量表示画面92に分けられ、グラフ
表示画面90はリフトデータLiをグラフ化した画面で
ある。このグラフ表示画面90内には横軸にカム1回転
にあたる回転角度、縦軸にはリフト量の目盛りが表示さ
れている。そして、このリフト量の目盛りは上述の図5
のステップ306にて決定された最小きざみ値を最小単
位として表示されることになる。また、グラフ表示画面
90には、矢印93とグラフの修正位置を選択するカー
ソル96aが表示される。
The display contents of the screen shown in FIG. 7 will now be described. It is divided into a graph display screen 90, a data display screen 91 and a correction amount display screen 92. The graph display screen 90 displays the lift data Li as a graph. It is a converted screen. In this graph display screen 90, the horizontal axis shows the rotation angle corresponding to one rotation of the cam, and the vertical axis shows the scale of the lift amount. The scale of this lift amount is shown in FIG.
The minimum increment value determined in step 306 is displayed as the minimum unit. Further, on the graph display screen 90, an arrow 93 and a cursor 96a for selecting the correction position of the graph are displayed.

【0022】矢印93は画面上を画面指示装置77の操
作により移動するもので、画面指示装置77に設けられ
らた決定キー77aによって画面上の表示に基づいた処
理を実行させる。また、グラフ画面90のグラフ上で決
定キー77aが押された場合にはカーソル96aを矢印
93の位置まで移動させるとともに、決定キー77aが
押され続けた状態で、矢印93が移動されると、決定キ
ー77aが押された開始位置Aから決定キー77aが離
された終了位置Bまでを図7に示すC部を拡大した図8
(a)に示すように修正範囲が決定され、この修正範囲
内に表示されているグラフのデータを取り込むようにな
っている。
An arrow 93 moves on the screen by operating the screen instructing device 77, and causes the enter key 77a provided in the screen instructing device 77 to execute a process based on the display on the screen. When the enter key 77a is pressed on the graph on the graph screen 90, the cursor 96a is moved to the position of the arrow 93, and when the enter key 77a is continuously pressed, the arrow 93 is moved. 8 is an enlarged view of portion C shown in FIG. 7 from a start position A where the enter key 77a is pressed to an end position B where the enter key 77a is released.
The correction range is determined as shown in (a), and the data of the graph displayed in this correction range is taken in.

【0023】カーソル96aは後述するデータ補正処理
にて使用されるもので、RAM72のカーソル位置記憶
領域730に記憶されたX,Yの位置データに基づい
て、画面上に表示される。なお、カーソル位置記憶領域
730に記憶されたX,Yの位置データは図8において
左下を基準位置0とし、右方向をX方向とし、上方向を
Y方向としている。
The cursor 96a is used in a data correction process described later and is displayed on the screen based on the X and Y position data stored in the cursor position storage area 730 of the RAM 72. In the X and Y position data stored in the cursor position storage area 730, the lower left in FIG. 8 is the reference position 0, the right direction is the X direction, and the upper direction is the Y direction.

【0024】データ修正量表示画面92はデータ修正し
た量を表示するものであり、縦軸は修正量であり横軸は
回転角度となっている。なお、縦軸の修正量の目盛りは
図7のフローチャートのステップ306にて決定された
最小きざみ値の例えば1/100倍(最小刻み値が1m
mであれば10μm)の目盛りで表示される。また、デ
ータ修正量表示画面91にはカーソル96aの回転角度
方向位置と対応して移動するカーソル96bが設けられ
ている。
The data correction amount display screen 92 displays the amount of data correction, where the vertical axis is the correction amount and the horizontal axis is the rotation angle. Note that the scale of the correction amount on the vertical axis is, for example, 1/100 times the minimum step value determined in step 306 of the flowchart of FIG. 7 (the minimum step value is 1 m.
If m, it is displayed on a scale of 10 μm). Further, the data correction amount display screen 91 is provided with a cursor 96b that moves in correspondence with the position of the cursor 96a in the rotation angle direction.

【0025】一方、このデータ表示画面91上には加速
度データと、リフトデータの一部がこれに対応する角度
を基準として表示され、この表示するリフトデータは、
カーソル位置記憶領域730に記憶されたX方向の位置
データに基づいてグラフ上の角度に変換し、この変換さ
れた角度に最も近い角度の加速度データALiおよびリ
フトデータLiを中心に前後2つ、計5つのデータを常
に表示する。
On the other hand, the acceleration data and a part of the lift data are displayed on the data display screen 91 with reference to an angle corresponding to the acceleration data.
Based on the position data in the X direction stored in the cursor position storage area 730, it is converted into an angle on the graph, and acceleration data ALi and lift data Li having an angle closest to the converted angle are used as the front and rear two, respectively. Always display 5 data.

【0026】またデータ表示画面91には、カーソル9
6aを移動させるためのカーソル移動キー95とグラフ
表示画面90の目盛りを変更させるグラフ移動キー94
が設けられている。このカーソル移動キー95は図9,
図10および図11に示すフローチャートの実行スイッ
チとなっており、以下、この図9,図10および図11
のフローチャートについて説明する。
On the data display screen 91, the cursor 9
6a for moving the cursor and a graph moving key 94 for changing the scale of the graph display screen 90.
Is provided. This cursor movement key 95 is shown in FIG.
This is an execution switch of the flowcharts shown in FIGS. 10 and 11, and will be described below with reference to FIGS. 9, 10 and 11.
The flowchart will be described.

【0027】図9のフローチャートは上述したようにカ
ーソル96aを移動させるとともに加速度データALi
を修正するためのものであり、カーソル移動キー95の
内側の微少移動キー95aの上下左右の移動キーと外側
の小移動キー95bの上下左右の移動キーを矢印93に
よって指示して画面指示装置77の決定キー77aを押
したときに実行される。
In the flow chart of FIG. 9, the cursor 96a is moved as described above and the acceleration data ALi
And the up / down / left / right movement keys of the minute movement key 95a inside the cursor movement key 95 and the up / down / left / right movement keys of the outer small movement key 95b are indicated by the arrow 93. This is executed when the enter key 77a of is pressed.

【0028】まずステップ500にて上述した矢印74
による修正領域の指定がされているか否かが判定され、
修正領域の指定がされていなければ処理を終了し、修正
領域が指定されていればステップ501進む。ステップ
501に進むと微少移動キー95aであるか否かを判定
し、微少移動キー95aであればステップ504に進
み、微少移動キー95aでなければステップ502に進
む。ステップ504では、さらに押された微少移動キー
95aが上下移動キーであるか否かを判定し、上下移動
キーであればステップ506に進んで、さらに上移動キ
ーであるか否かを判定して上移動キーであればステップ
508でRAM72のカーソル位置記憶領域730の位
置データのYデータに最小単位移動量を加算してカーソ
ル位置を更新するとともに、ステップ509の加速度デ
ータ修正処理を行い、ステップ524に進む。
First, in step 500, the arrow 74 described above is used.
It is determined whether or not the correction area is specified by
If the correction area is not specified, the process is terminated, and if the correction area is specified, the process proceeds to step 501. When it proceeds to step 501, it is determined whether or not it is the minute movement key 95a. If it is the minute movement key 95a, the routine proceeds to step 504, and if it is not the minute movement key 95a, the routine proceeds to step 502. In step 504, it is determined whether or not the minute movement key 95a that has been pressed is the up / down movement key, and if it is the up / down movement key, the process proceeds to step 506 to determine whether or not it is the up movement key. If it is the up move key, the minimum unit move amount is added to the Y data of the position data of the cursor position storage area 730 of the RAM 72 to update the cursor position in step 508, and the acceleration data correction process of step 509 is performed, and step 524 Proceed to.

【0029】上移動キーでなく下移動キーであればステ
ップ510でYデータから最小単位移動量を減算してカ
ーソル位置を更新し、ステップ509に進む。ステップ
504で上下移動キーでなく左右移動キーであると判定
された場合にはステップ512で右移動キーであるか否
かを判定して右移動キーであればステップ514でRA
M72のカーソル位置記憶領域730の位置データのX
データに最小単位移動量を加算してカーソル位置を更新
し、ステップ521に進む。右移動キーでなく、左移動
キーであればステップ516でXデータから最小単位移
動量を減算してカーソル位置を更新し、ステップ521
に進む。そして、ステップ521では画面指示装置77
の決定キー77aが押されたか否かが判定され、決定キ
ー77aが押されていれば、ステップ509に進み、押
されていなければステップ524に進み、カーソル位置
記憶領域730の位置データX,Yに基づいてカーソル
96aを表示するとともに、ステップ526においてカ
ーソル位置記憶領域730の位置データX,Yのうち回
転角度方向の位置を示すXのデータと、後述する修正量
Δaiに基づいてカーソル96bの位置を表示する。
If the key is the down key instead of the up key, the minimum unit movement amount is subtracted from the Y data in step 510 to update the cursor position, and the flow advances to step 509. If it is determined in step 504 that the key is not the up / down movement key but the left / right movement key, it is determined in step 512 whether it is the right movement key.
X of the position data in the cursor position storage area 730 of M72
The minimum unit movement amount is added to the data to update the cursor position, and the process proceeds to step 521. If it is not the right movement key but the left movement key, the minimum unit movement amount is subtracted from the X data in step 516 to update the cursor position, and step 521
Proceed to. Then, in step 521, the screen indicating device 77
It is determined whether or not the decision key 77a has been pressed. If the decision key 77a has been pressed, the process proceeds to step 509, and if not, the process proceeds to step 524, where the position data X, Y of the cursor position storage area 730 is stored. The cursor 96a is displayed on the basis of the position of the cursor 96b based on the correction amount Δai, which will be described later, as well as the data of X indicating the position in the rotation angle direction of the position data X and Y of the cursor position storage area 730 in step 526. Is displayed.

【0030】一方、小移動キーを操作したと判定されス
テップ502以降に進むと、上述の微少移動の処理ステ
ップ504と同様に押された微少移動キー95aが上下
移動キーであるか否かを判定し、上下移動キーであれば
ステップ515に進み上移動キーであるか否かを判定し
て上移動キーであればステップ519でRAM72のカ
ーソル位置記憶領域730の位置データのYデータに所
定位移動量(但し最低移動量より大)を加算してカーソ
ル位置を更新し、ステップ509に進む。上移動キーで
なく下移動キーであればステップ518でYデータから
所定位移動量を減算してカーソル位置を更新し、ステッ
プ509に進む。
On the other hand, if it is determined that the small movement key has been operated and the processing proceeds to step 502 and thereafter, then it is determined whether or not the minute movement key 95a pressed is the up / down movement key as in step 504 of the minute movement described above. If it is the up / down movement key, the process proceeds to step 515 to determine whether it is the up movement key. If it is the up movement key, in step 519, it is moved to the Y data of the position data in the cursor position storage area 730 of the RAM 72 by a predetermined amount. The amount (however, larger than the minimum movement amount) is added to update the cursor position, and the process proceeds to step 509. If it is not the up move key but the down move key, the predetermined amount of move amount is subtracted from the Y data in step 518 to update the cursor position, and the process proceeds to step 509.

【0031】ステップ502で上下移動キーでなく左右
移動キーであると判定された場合にはステップ517で
右移動キーであるか否かを判定し、右移動キーであれば
ステップ520でRAM72のカーソル位置記憶領域7
30の位置データのXデータに所定移動量を加算してカ
ーソル位置を更新し、ステップ521に進む。右移動キ
ーでなく、左移動キーであればステップ522でXデー
タから所定位移動量を減算してカーソル位置を更新し、
ステップ521に進む。そして、ステップ521では画
面指示装置77の決定キー77aが押されたか否かが判
定され、決定キー77aが押されていれば、ステップ5
09に進み、押されていなければステップ524に進ん
で、カーソル位置記憶領域730の位置データに基づい
てカーソル96aの位置を表示するとともに、ステップ
526においてカーソル位置記憶領域730の位置デー
タX,Yのうち回転角度方向の位置を示すXのデータ
と、後述する修正量Δaiに基づいてカーソル96bの
位置を表示する。
If it is determined in step 502 that the key is the left / right key instead of the up / down key, it is determined in step 517 whether the key is the right key, and if it is the right key, the cursor of the RAM 72 is determined in step 520. Position storage area 7
The predetermined movement amount is added to the X data of the position data of 30 to update the cursor position, and the process proceeds to step 521. If it is not the right move key but the left move key, the predetermined amount of move amount is subtracted from the X data in step 522 to update the cursor position,
Go to step 521. Then, in step 521, it is determined whether or not the enter key 77a of the screen indicating device 77 has been pressed. If the enter key 77a has been pressed, step 5
09, if not pressed, the process proceeds to step 524, where the position of the cursor 96a is displayed based on the position data in the cursor position storage area 730, and in step 526, the position data X and Y in the cursor position storage area 730 are displayed. Of these, the position of the cursor 96b is displayed based on X data indicating the position in the rotation angle direction and a correction amount Δai described later.

【0032】ここで、ステップ509のデータ修正処理
について図11のフローチャートで詳しく説明すると、
ステップ550にてカーソル位置記憶領域730に記憶
されたカーソル位置のうちXデータ(角度データに換
算)を取出し、ステップ552でリフトLiの中から最
も近い角度を有するリフトデータLを検索する。続い
て、ステップ554で、この検索されたリフトデータL
とカーソル位置記憶領域730に記憶されたカーソル位
置とを比較して角度θとリフト量aの修正量ΔθとΔa
を次式より算出する。
Here, the data correction processing of step 509 will be described in detail with reference to the flowchart of FIG.
In step 550, X data (converted into angle data) is extracted from the cursor position stored in the cursor position storage area 730, and in step 552, the lift data L having the closest angle is searched from among the lifts Li. Subsequently, in step 554, the retrieved lift data L
And the cursor position stored in the cursor position storage area 730 are compared, and the correction amount Δθ and Δa of the angle θ and the lift amount a are compared.
Is calculated from the following formula.

【0033】Δa=a−Y Δθ=θ−X (但しYとXは画面上の加速度および角
度に変換) これとともにリフトデータLをカーソル位置記憶領域7
30に記憶されたカーソル位置のデータに置き換える。
そして、ステップ556では図8(a)に示すように修
正領域に囲まれた中での回転角度が、最初の点Sと最後
の点EにおけるリフトデータLiとカーソルにて修正さ
れたリフトデータの点Pに基づいて点間の補間をする。
(図8(b)参照) なお、このステップ556で行う補間処理は例えば、公
知の3次元スプライン補間や予め定められた曲線の方程
式によって行われるものである。
Δa = a−Y Δθ = θ−X (where Y and X are converted into acceleration and angle on the screen). At the same time, the lift data L is stored in the cursor position storage area 7.
The data at the cursor position stored in 30 is replaced.
Then, in step 556, as shown in FIG. 8A, the rotation angles in the surrounded by the correction area are the lift data Li at the first point S and the last point E and the lift data corrected by the cursor. Interpolation between points is performed based on the point P.
(See FIG. 8B.) The interpolation processing performed in step 556 is performed by, for example, a known three-dimensional spline interpolation or a predetermined curve equation.

【0034】さらにステップ558で、この補間した補
間曲線と領域内に指定あるリフトデータと比較し、対応
する回転角度のリフトデータの修正リフトデータを求め
て、リフトデータ領域に記憶するともに、ステップ56
0にて各点の修正量Δaiを求め、ステップ561にて
この修正量Δaiに基づいてデータ修正量表示画面92
にグラフ表示する。そして、図7の表示処理のステップ
308とステップ310を実行し、ステップ524に進
む。
Further, in step 558, the interpolated interpolation curve is compared with the lift data designated in the area to obtain the corrected lift data of the lift data of the corresponding rotation angle, and the corrected lift data is stored in the lift data area.
At 0, the correction amount Δai at each point is obtained, and at step 561, the data correction amount display screen 92 is displayed based on the correction amount Δai.
Display a graph on. Then, step 308 and step 310 of the display process of FIG. 7 are executed, and the process proceeds to step 524.

【0035】このようにして修正されたリフトデータL
Aiは上述した心間距離に変換されたのち、主軸回転速
度領域の主軸回転数および砥石径記憶領域の砥石径に基
づいてプロフィルデータが作成され、このプロフィルデ
ータが数値制御装置30のRAM32のNCプロフィル
データ領域321に転送される。また、修正したデータ
が速度データであれば回転角度で積分し、加速度データ
であれば回転角度で2回積分することで補正リフトデー
タを求め、この補正した補正リフトデータから主軸回転
数領域の主軸回転数および砥石径記憶領域の砥石径に基
づいてプロフィルデータが作成され、このプロフィルデ
ータを数値制御装置30のRAM32のNCプロフィル
データ領域321に転送する。
Lift data L corrected in this way
After Ai is converted into the above-mentioned center-to-center distance, profile data is created based on the spindle rotational speed in the spindle rotational speed region and the grindstone diameter in the grindstone diameter storage area, and this profile data is NC in the RAM 32 of the numerical controller 30. It is transferred to the profile data area 321. Further, if the corrected data is speed data, it is integrated by the rotation angle, and if it is acceleration data, it is integrated twice by the rotation angle to obtain corrected lift data, and from this corrected lift data, the spindle in the spindle speed region is corrected. Profile data is created based on the number of revolutions and the grindstone diameter in the grindstone diameter storage area, and this profile data is transferred to the NC profile data area 321 of the RAM 32 of the numerical controller 30.

【0036】以上のようにデータ修正量表示画面92に
リフトデータの修正量を拡大表示したことにより、グラ
フ表示画面90のグラフでは表示ができない微少な修正
をした場合にも修正量を画面上で確認でき、精度のよい
データ修正が行える利点がある。 また、範囲を指定し
て修正を行うので、複数のプロット点をまとめて修正で
き、修正時間を大幅に短縮できる。
By enlarging and displaying the correction amount of the lift data on the data correction amount display screen 92 as described above, the correction amount can be displayed on the screen even when a minute correction that cannot be displayed on the graph of the graph display screen 90 is made. There is an advantage that the data can be confirmed and the data can be corrected with high accuracy. Further, since the correction is performed by designating the range, a plurality of plot points can be collectively corrected, and the correction time can be greatly shortened.

【0037】[0037]

【発明の効果】以上述べたように本願発明においては、
リフトデータに基づいてリフト量と速度と加速度の少な
くとも1つのデータに対応するするプロット点に基づい
てグラフ表示し、この表示されたグラフのプロット点の
移動を行うとともに、移動量を算出し、この移動量をグ
ラフ表示するようにしたので、微少な修正をした場合に
も修正量を画面上で確認でき、精度のよいデータ修正が
行える。
As described above, in the present invention,
A graph is displayed based on the lift data, and a plot point corresponding to at least one of the data of the lift amount, the velocity, and the acceleration, the plot point of the displayed graph is moved, and the movement amount is calculated. Since the movement amount is displayed as a graph, the correction amount can be confirmed on the screen even when a slight correction is made, and accurate data correction can be performed.

【0038】また、複数のプロット点を含む範囲を指定
し、その範囲内でプロット点の間を補間してデータ修正
を行えるようにすれば、複数のプロット点に対応するデ
ータをまとめて修正ができ、修正時間を大幅に短縮でき
る利点がある。
If a range including a plurality of plot points is designated and the data can be corrected by interpolating between the plot points within the range, the data corresponding to the plurality of plot points can be collectively corrected. This has the advantage that the correction time can be greatly shortened.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の概念を示すブロック図である。FIG. 1 is a block diagram showing the concept of the present invention.

【図2】本発明の実施例の数値制御研削盤を示す図であ
る。
FIG. 2 is a diagram showing a numerically controlled grinding machine according to an embodiment of the present invention.

【図3】本発明の実施例の数値制御装置および自動プロ
グラミング装置を示す図である。
FIG. 3 is a diagram showing a numerical controller and an automatic programming device according to an embodiment of the present invention.

【図4】本発明の実施例におけるリフトデータの修正処
理を行うフローチャートである。
FIG. 4 is a flowchart for performing lift data correction processing according to the embodiment of the present invention.

【図5】本発明の実施例におけるリフトデータの修正処
理を行うフローチャートである。
FIG. 5 is a flow chart for performing lift data correction processing according to the embodiment of the present invention.

【図6】初期メニュー画面を示す図である。FIG. 6 is a diagram showing an initial menu screen.

【図7】グラフ表示状態を示す図である。FIG. 7 is a diagram showing a graph display state.

【図8】図7のC部を拡大した説明図である。FIG. 8 is an enlarged view of portion C of FIG. 7.

【図9】本発明の実施例におけるリフトデータの修正処
理を行うフローチャートである。
FIG. 9 is a flowchart for performing lift data correction processing according to the embodiment of the present invention.

【図10】本発明の実施例におけるリフトデータの修正
処理を行うフローチャートである。
FIG. 10 is a flow chart for performing lift data correction processing according to the embodiment of the present invention.

【図11】本発明の実施例におけるリフトデータの修正
処理を行うフローチャートである。
FIG. 11 is a flowchart for performing lift data correction processing according to the embodiment of the present invention.

【図12】カムの形状データを示す図である。FIG. 12 is a diagram showing shape data of a cam.

【図13】カムの形状データを示す図である。 10・・・数値制御研削盤 20・・・研削盤本体 30・・・数値制御装置 40・・・自動プログラミング装置 70・・・フロントCPU 72・・・RAM 75・・・画像表示装置(CRT) 76・・・キーボード 77・・・画面指示装置(マウス)FIG. 13 is a diagram showing shape data of a cam. 10 ... Numerical control grinding machine 20 ... Grinding machine main body 30 ... Numerical control device 40 ... Automatic programming device 70 ... Front CPU 72 ... RAM 75 ... Image display device (CRT) 76 ... Keyboard 77 ... Screen indication device (mouse)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 カムの輪郭形状を特定するリフトデータ
に基づいてリフト量と速度と加速度の少なくとも1つの
データに対応したプロット点に基づいてグラフ表示をす
るグラフ表示手段と、 前記グラフ表示されたデータのプロット点を移動させる
移動手段と、前記移動手段で移動されたプロット点の移
動量を演算する移動量算出手段と、記移動量算出手段に
て算出された移動量に基づいて移動量グラフを表示する
移動量グラフ表示手段とを備えたことを特徴とするデー
タ補正装置
1. A graph display means for displaying a graph based on a lift point, a lift point, and at least one plot of data corresponding to at least one of speed and acceleration based on lift data for specifying a contour shape of the cam, and the graph display means. Moving means for moving the plot points of the data, moving amount calculating means for calculating the moving amount of the plot points moved by the moving means, and moving amount graph based on the moving amount calculated by the moving amount calculating means And a graph for displaying a moving amount for displaying
【請求項2】 前記移動量演算手段は前記移動手段で移
動されるデータのプロット点を含む複数のデータを指定
するデータ指定手段と、このデータ指定手段にて指定さ
れた複数のデータの中で始点と終点のデータを求める終
始点指定手段と、前記終始点指定手段にて指定された始
点と終点のデータと前記移動手段で移動されたデータの
間を補間するデータ補間手段とで構成したことを特徴と
する請求項1に記載のデータ補正装置。
2. The moving amount calculating means specifies data of a plurality of data including plot points of data moved by the moving means, and a plurality of data specified by the data specifying means. It is composed of end-point designating means for obtaining start-point and end-point data, and data interpolating means for interpolating between the start-point and end-point data designated by the end-point designating means and the data moved by the moving means. The data correction device according to claim 1, wherein:
JP10564494A 1994-05-19 1994-05-19 Data compensator Pending JPH07314312A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10564494A JPH07314312A (en) 1994-05-19 1994-05-19 Data compensator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10564494A JPH07314312A (en) 1994-05-19 1994-05-19 Data compensator

Publications (1)

Publication Number Publication Date
JPH07314312A true JPH07314312A (en) 1995-12-05

Family

ID=14413169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10564494A Pending JPH07314312A (en) 1994-05-19 1994-05-19 Data compensator

Country Status (1)

Country Link
JP (1) JPH07314312A (en)

Similar Documents

Publication Publication Date Title
EP0329080B1 (en) Numerical control apparatus for machining non-circular workpieces
JP2002172543A (en) Control parameter setting system and control parameter setting method for machining device
KR20050019803A (en) Numerical control apparatus
JPH0236047A (en) Numerical value control device for working non-cylindrical work
JP4531297B2 (en) 6-axis control NC program generation method and generation apparatus, 6-axis control NC program generation program, and computer-readable recording medium storing the program
JP3543459B2 (en) Numerical control device for machining workpieces
JPH07314312A (en) Data compensator
JP2750739B2 (en) Industrial robot controller
JPH07276186A (en) Lift data correcting device
JP5030558B2 (en) Overhead dressing method and overhead dressing apparatus for grinding wheel
JP2669641B2 (en) Numerical controller for machining non-round workpieces
JP2640653B2 (en) Manual synchronous feed mechanism for numerically controlled machine tools
JP6915182B1 (en) Machine tools, machine tool control methods, and machine tool control programs
JP7175340B2 (en) Machine tools, information processing devices and information processing programs
JP2604003B2 (en) Numerical controller for machining non-round workpieces
JP2003005814A (en) Method for processing non-true circular workpiece
EP0488290A1 (en) Method and apparatus for preparing numerical control data for a numerically controlled machine tool
JP2685832B2 (en) Numerically controlled grinding machine
JP2764012B2 (en) Grinding equipment
JPH10268921A (en) Data preparing device for non-round work machining and numerical controller
JPH0436829B2 (en)
JPH0744215A (en) Method and device for controlling feeding shaft of machine tool
JPH0627322Y2 (en) Numerical control grinder
JP2539620Y2 (en) Numerically controlled grinding machine
JP2527274Y2 (en) Numerically controlled grinding machine