JPH0365706A - Data correction device - Google Patents

Data correction device

Info

Publication number
JPH0365706A
JPH0365706A JP20126189A JP20126189A JPH0365706A JP H0365706 A JPH0365706 A JP H0365706A JP 20126189 A JP20126189 A JP 20126189A JP 20126189 A JP20126189 A JP 20126189A JP H0365706 A JPH0365706 A JP H0365706A
Authority
JP
Japan
Prior art keywords
position data
axis
target position
cam
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP20126189A
Other languages
Japanese (ja)
Other versions
JP2684782B2 (en
Inventor
Takeshi Enokida
剛 榎田
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP20126189A priority Critical patent/JP2684782B2/en
Publication of JPH0365706A publication Critical patent/JPH0365706A/en
Application granted granted Critical
Publication of JP2684782B2 publication Critical patent/JP2684782B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Control Of Position Or Direction (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To exactly form the shape of a cam by correcting a relative position between the angle of rotation of the cam and a grinding stone by correcting the feed quantity of the grinding stone on the basis of the angle of rotation of the cam. CONSTITUTION:A control part 30 can input each target position data set beforehand in an X-axis data memory 13 and a C-axis data memory 19 according to time outputted by a time counter 12, and calculates the rotation quantities of an X-axis motor 6 and a C-axis motor 2 on the basis of each input target position data, and outputs the rotation quantities to an X-axis servo-amplifier 14 and a C-axis servo-amplifier 20. A data correction device is provided with a correcting part 31 to correct an error between the moving position of a slide 7 and the angle of rotation of the cam 1 to be caused by the execution of feedback control by the control part 30 on the basis of deviation caused by this feedback control. The target position data of the slider 7 is corrected on the basis of the target position data of the cam 1. Thus, the positional relation between the cam 1 and the slider 7 is corrected relatively, and the correct shape of the cam can be formed.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、例えば、マスターカムを研削加工により製作
するNC工作機械等の制御装置にあって、カムの回転角
度を基準として砥石の送り量を補正することにより、そ
の回転角度と送り量との相対的な位置を補正し、正確に
カム形状を形成することができるデータ補正装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a control device for an NC machine tool or the like that manufactures a master cam by grinding. The present invention relates to a data correction device that can correct the relative position between the rotation angle and the feed amount and form a cam shape accurately.

(従来の技術) 一般に、近年の自動化技術の進歩により、各種製造工場
等にあっては、例えば、被研削物を砥石により研削する
研削加工工程をいわゆるNC工作機械により行なってい
る場合があり、従来、このようなNC工作機械は、例え
ば第4図に示すように構成され、そのような研削加工を
行なっているものがある。
(Prior Art) Generally, due to recent advances in automation technology, in various manufacturing factories, for example, the grinding process of grinding the object to be ground with a grindstone may be performed using so-called NC machine tools. Conventionally, such NC machine tools have been constructed as shown in FIG. 4, for example, and have been used to perform such grinding operations.

同図には、マスターカムとなる被研削物としてのカム1
が、カムモータ(以下にC1dlモータという。)2に
より回転し、このカム1の回転方向と同一方向に砥石モ
ータ3によって回転する砥石4が、スライダー移動モー
タ(以下にX軸モータという。)6によりカム1の回転
軸に対して直角方向に移動するスライダー7に取付けら
れ、これらのC軸モータ2及びX軸モータ6を制御装置
8が夫々制御することにより、カム1を砥石4で研削し
、所望のカム形状を形成するNC工作機械が概略的に示
されている。
The figure shows a cam 1 as the object to be ground, which becomes the master cam.
However, a grindstone 4 rotated by a cam motor (hereinafter referred to as C1dl motor) 2 and rotated by a grindstone motor 3 in the same direction as the rotation direction of this cam 1 is rotated by a slider movement motor (hereinafter referred to as X-axis motor) 6. A control device 8 is attached to a slider 7 that moves perpendicularly to the rotation axis of the cam 1, and controls the C-axis motor 2 and the X-axis motor 6, respectively, thereby grinding the cam 1 with a grindstone 4. The NC machine tool forming the desired cam shape is schematically shown.

そして、この制御装置8は、例えば、第5図に示すよう
に構成されているものがある。
The control device 8 may be configured as shown in FIG. 5, for example.

図示するように制御装置8には、研削加工工程の管理等
を行なう外部制御装置10から研削加工を開始、終了す
る等の制御信号を人力し、X軸モータ6及びC軸モータ
2の夫々を制御する制御部11が備えられている。この
制御部11は、スライダー7をカム1に対して移動させ
るための目標位置データが記憶されているX軸データメ
モリ13に接続されており、このX軸データメモリ13
には、予めその目標位置データが、時刻カウンタ12が
出力する時刻に応じて第6図に示すように記憶されてい
る。そして、制御部11は、時刻カウンタ12が出力す
る現在の時刻に基づいて、X軸データメモリ13に記憶
されている目標位置データを読み出し、この目標位置デ
ータに基づいてX軸モータ6の回転量を算出し、この回
転量をX軸サーボアンプ14に出力するようになってい
る。
As shown in the figure, the control device 8 receives control signals such as starting and ending the grinding process from an external control device 10 that manages the grinding process, and controls each of the X-axis motor 6 and the C-axis motor 2. A control section 11 is provided to control the image forming apparatus. This control unit 11 is connected to an X-axis data memory 13 in which target position data for moving the slider 7 relative to the cam 1 is stored.
The target position data is stored in advance in accordance with the time output by the time counter 12 as shown in FIG. Then, the control unit 11 reads the target position data stored in the X-axis data memory 13 based on the current time output by the time counter 12, and based on this target position data, the rotation amount of the X-axis motor 6 is is calculated, and this amount of rotation is output to the X-axis servo amplifier 14.

すると、サーボアンプ14は、入力した回転量に応じた
電力をX軸モータ6に供給し、X軸モータ6を駆動する
ことによって、スライダー7が目標位置データに相当す
る目標位置に移動する。又、同時に、X軸パルスジェネ
レータ(以下にX軸PGという。)15がX軸モータの
回転量を検出し、この回転量がX軸位置カウンタ16に
より目標位置データに対応する現在の位置データに変換
され、制御部11に出力されるようになっている。つま
り、制御部11は、XIdlPG15及びX軸位置カウ
ンタ16によりX軸モータ6をフィードバック制御する
ようになっている。
Then, the servo amplifier 14 supplies power to the X-axis motor 6 according to the input rotation amount, and by driving the X-axis motor 6, the slider 7 moves to the target position corresponding to the target position data. At the same time, the X-axis pulse generator (hereinafter referred to as X-axis PG) 15 detects the rotation amount of the X-axis motor, and the X-axis position counter 16 converts this rotation amount into current position data corresponding to the target position data. The data is converted and output to the control unit 11. That is, the control unit 11 performs feedback control of the X-axis motor 6 using the XIdlPG 15 and the X-axis position counter 16.

又、この制御装置8には、そのようなフィードバック制
御により生じる偏差に伴うスライダー7の移動位置と目
標位置との誤差を少なくするために、その偏差に基づい
て目標位置データを補正するX軸補正部17が備えられ
ている。このX軸補正部17は、X軸位置カウンタ16
が出力する現在の位置データを人力し、この現在の位置
データと目標位置データとの偏差を算出し、第6図に示
すように、この偏差をX軸データメモリ13と同様に時
刻カウンタ12が出力する時刻に対応させてX軸補正デ
ータメモリ18に記憶させるようになっている。そして
、制御部11は、時刻カウンタ12から出力される現在
の時刻に基づいて、対応する偏差をX軸補正データメモ
リ18から読み出すと共に、対応する前記目標位置デー
タをX軸データメモリ13から読み出し、この目標位置
データをその偏差により補正(具体的には、その偏差に
基づいて所定の補正関数により補正値を算出し、この補
正値を目標位置データに加算する。)し、このように補
正された目標位置データに基づいて前述した通りにX軸
サーボアンプ14を介してX軸モータ6を駆動するよう
になっている。
In addition, this control device 8 includes an X-axis correction device that corrects the target position data based on the deviation in order to reduce the error between the moving position of the slider 7 and the target position due to the deviation caused by such feedback control. A section 17 is provided. This X-axis correction section 17 includes an X-axis position counter 16
The deviation between the current position data and the target position data is calculated manually, and as shown in FIG. The data is stored in the X-axis correction data memory 18 in correspondence with the output time. Then, the control unit 11 reads out the corresponding deviation from the X-axis correction data memory 18 based on the current time output from the time counter 12, and reads out the corresponding target position data from the X-axis data memory 13. This target position data is corrected by the deviation (specifically, a correction value is calculated using a predetermined correction function based on the deviation, and this correction value is added to the target position data). Based on the target position data, the X-axis motor 6 is driven via the X-axis servo amplifier 14 as described above.

一方、制御部11は、カム1を回転するC軸モータ2も
同様にC軸データメモリ19、C軸サーボアンプ20、
C軸パルスジェネレータ(以下にC9111P Gとい
う。)21、C軸位置カウンタ22、C軸補正部23及
びC軸補正データメモリ24により駆動、フィードバッ
ク制御するようになっている。これらの部材は、X軸モ
ータ6を制御するための前述した部材と同一であり、同
様に作用するので説明を省略する。
On the other hand, the control unit 11 similarly controls the C-axis motor 2 that rotates the cam 1 with a C-axis data memory 19, a C-axis servo amplifier 20,
It is driven and feedback-controlled by a C-axis pulse generator (hereinafter referred to as C9111PG) 21, a C-axis position counter 22, a C-axis correction section 23, and a C-axis correction data memory 24. These members are the same as the above-mentioned members for controlling the X-axis motor 6 and operate in the same manner, so a description thereof will be omitted.

このように、制御部11は、時刻カウンタ12が出力す
る時刻に対して予め設定されている夫々の目標位置デー
タを、繰り返し学習して得た偏差にもとづいて補正し、
補正した夫々の目標位置データによってX軸モータ6と
C軸モータ2とを個々に制御し、カム1と砥石4の動作
を制御することによって、カム1を所望の形状に研削加
工するようになっている。
In this way, the control unit 11 corrects each target position data set in advance for the time output by the time counter 12 based on the deviation obtained through repeated learning,
By individually controlling the X-axis motor 6 and the C-axis motor 2 using the corrected target position data and controlling the operations of the cam 1 and the grindstone 4, the cam 1 can be ground into a desired shape. ing.

(発明が解決しようとする課題) しかしながら、このような従来の制御装置にあっては、
時刻に対して予め設定されているX軸モ−タ6の目標位
置データと、C他モータ2の目標位置データとを個々に
補正するようになっており、夫々の目標位置データにつ
いては、フィードバック制御により生じる偏差に基づい
て補正することができるが、X他モータ6とC他モータ
2との動作に対して、すなわち、カム1の回転角度と砥
石4の位置との相対的な位置関係に対して、その偏差に
より生じる誤差を補正することができず、カム1の回転
角度と砥石4の位置との間に誤差が生じ、所望のカム形
状を形成することができなくなる虞れがあった。
(Problem to be solved by the invention) However, in such a conventional control device,
The target position data of the X-axis motor 6 and the target position data of the other C motors 2, which are set in advance with respect to time, are individually corrected, and each target position data is corrected by feedback. Although it can be corrected based on the deviation caused by the control, it can be corrected based on the operation of the X other motor 6 and the C other motor 2, that is, the relative positional relationship between the rotation angle of the cam 1 and the position of the grindstone 4. On the other hand, it is not possible to correct the error caused by the deviation, and there is a risk that an error will occur between the rotation angle of the cam 1 and the position of the grindstone 4, making it impossible to form the desired cam shape. .

本発明は、このような従来の問題点を解決するために成
されたものであり、カムの回転角度を基準として砥石の
送り量を補正することにより、その回転角度と送り量と
の相対的な位置を補正し、正確にカム形状を形成するこ
とができるデータ補正装置を提供することを目的する。
The present invention was made to solve these conventional problems, and by correcting the feed amount of the grinding wheel based on the rotation angle of the cam, it is possible to correct the relative relationship between the rotation angle and the feed amount. It is an object of the present invention to provide a data correction device that can correct the position and accurately form a cam shape.

(課題を解決するための手段) 前記目的を達成するために本発明は、関連した動作が必
要な夫々の作動部材を作動する夫々の作動手段と、予め
設定され、前記夫々の作動部材に前記動作を行なわせる
ための夫々の目標位置データを記憶する記憶手段と、当
該記憶手段に記憶された目標位置データに基づいて前記
夫々の作動手段を夫々フィードバック制御するフィード
バック制御手段と、当該フィードバック制御手段により
フィードバックされる前記夫々の作動部材の現在の位置
データのうち、基準となる作動部材の現在の位置データ
に相当する当該作動部材の前記目標位置データを検出す
ると共に、当該目標位置データに対応するその他の作動
部材の夫々の前記目標位置データを、前記フィードバッ
ク制御手段が当該その他の作動部材を作動させる作動手
段をフィードバック制御する際に生じる偏差に基づいて
夫々補正する補正手段とを有することを特徴とする。
(Means for Solving the Problems) In order to achieve the above object, the present invention provides respective actuating means for actuating each actuating member that requires a related operation, and a predetermined actuating means for actuating each actuating member that requires a related operation. A storage means for storing target position data for each of the operation means, a feedback control means for feedback controlling each of the actuation means based on the target position data stored in the storage means, and the feedback control means. Detecting the target position data of the respective actuating members corresponding to the current position data of the reference actuating member from among the current position data of the respective actuating members fed back by and correction means for correcting the target position data of each of the other actuation members based on a deviation that occurs when the feedback control means performs feedback control of the actuation means for actuating the other actuation members. shall be.

(作用) 上記のように構成された本発明は、以下のように作用す
る。
(Function) The present invention configured as described above functions as follows.

フィードバック制御手段は、データ記憶手段に記憶され
た目標位置データに基づいて夫々の作動手段をフィード
バック制御することにより夫々の作動部材を作動させ、
作動部材に夫々関連した動作を行なわせる。同時に、フ
ィードバック制御手段は、夫々の作動部材の現在の位置
に相当する現在の位置データを人力し、この現在の位置
データを補正手段に出力する。すると、補正手段は、基
準となる作動部材のその現在の位置データに相当するそ
の作動部材の目標位置データを検出すると共に、この目
標位置データに対応するその他の作動部材の目標位置デ
ータと前記現在の位置データとの偏差を繰り返し記憶す
る。そして、フィードバック制御手段は、基準となる作
動部材を作動する作動手段以外の作動手段をフィードバ
ック制御する際に、補正手段から対応する偏差を人力し
、目標位置データをこの偏差に基づいて補正しつつフィ
ードバック制御する。
The feedback control means operates each actuating member by feedback controlling each actuating means based on the target position data stored in the data storage means,
The actuating members are caused to perform their associated actions. At the same time, the feedback control means inputs current position data corresponding to the current position of each actuating member and outputs this current position data to the correction means. Then, the correction means detects target position data of the actuating member corresponding to the current position data of the reference actuating member, and also detects target position data of the other actuating members corresponding to this target position data and the current position data of the actuating member. The deviation from the position data is repeatedly memorized. The feedback control means manually inputs a corresponding deviation from the correction means when performing feedback control of the actuation means other than the actuation means that actuates the reference actuation member, and corrects the target position data based on this deviation. Feedback control.

したがって、基準となる作動部材は、予め設定されてい
る目標位置データに基づいて動作し、その他の作動部材
は、その動作に対する偏差が補正されつつ動作するので
、基準となる作動部材とその他の作動部利との動作が相
対的に補正される。
Therefore, the reference actuating member operates based on preset target position data, and the other actuating members operate while correcting deviations from that operation. The movement with the part and profit is relatively corrected.

(実施例) 以下に、本発明に係るデータ補正装置を図面に基づいて
詳細に説明する。
(Example) Below, a data correction device according to the present invention will be explained in detail based on the drawings.

第1図は、本発明に係るデータ補正装置の概略構成図で
あり、同図には、例えば従来の技術で説明したカムを砥
石により形成するNC工作機械の制御装置にあって、C
他モータにより回転するカム動作を基準としてX他モー
タにより移動する砥石の動作を補正するデータ補正装置
が示されている。尚、従来の技術で説明した部材と同一
部材には同一符号が付してあり、これらの詳細な説明は
省略する。
FIG. 1 is a schematic configuration diagram of a data correction device according to the present invention, and the figure shows, for example, a control device for an NC machine tool that forms a cam using a grindstone as described in the related art.
A data correction device is shown that corrects the operation of a grindstone moved by an X other motor based on the operation of a cam rotated by another motor. Incidentally, the same members as those described in the related art are denoted by the same reference numerals, and detailed explanation thereof will be omitted.

図示するように、このデータ補正装置には、従来と同様
に外部制御装置10に接続から加工開始、終了等の制御
信号を人力し、X他モータ6及びC他モータ2の夫々を
制御する制御部30が備えられている。この制御部30
は、X軸データメモリ13及びC軸データメモリ19に
予め設定されている夫々の目標位置データを時刻カウン
タ12が出力する時刻に応じて入力することができ、人
力した夫々の目標位置データに基づいてX軸モータ6及
びC軸モータ2の回転量を算出し、これらの回転量をX
軸サーボアンプ14及びC軸サーボアンプ20に夫々出
力するようになっている。
As shown in the figure, this data correction device is connected to an external control device 10 and manually inputs control signals such as processing start and end, as in the conventional case, and controls the X and other motors 6 and C and other motors 2, respectively. A section 30 is provided. This control section 30
can input the respective target position data preset in the X-axis data memory 13 and the C-axis data memory 19 according to the time output by the time counter 12, and can input the target position data preset in the X-axis data memory 13 and the C-axis data memory 19 according to the time outputted by the time counter 12. calculate the rotation amounts of the X-axis motor 6 and C-axis motor 2, and calculate these rotation amounts by
It is designed to output to the axis servo amplifier 14 and the C-axis servo amplifier 20, respectively.

そして、これらのサーボアンプ14.20は、人力した
回転量に応じた電力をX軸モータ6及びC軸モータ2に
夫々供給し、X軸モータ6及びC軸モータ2を駆動する
ことによって、スライダー7及びカム1は、目標位置デ
ータに相当する目標位置に夫々移動するようになってい
る。
These servo amplifiers 14 and 20 supply electric power corresponding to the amount of rotation manually applied to the X-axis motor 6 and C-axis motor 2, respectively, and drive the X-axis motor 6 and C-axis motor 2 to drive the slider. 7 and the cam 1 are adapted to move to target positions corresponding to the target position data, respectively.

又、同時に、X軸PG15及びCIdlPG21は、X
軸モータ6及びC軸モータ2の回転量を夫々検出し、こ
れらの回転量をX軸位置カウンタ16及びC軸位置カウ
ンタ22に夫々出力する。そして、X軸位置カウンタ1
6及びC軸位置カウンタ22は、これらの回転量を夫々
の目標位置データに対応する現在の位置データに夫々変
換し、制御部30に出力するようになっている。つまり
、制御部30は、XIdtPG15及びX軸位置カウン
タ16によりX軸モータ6を、C41dlPG21及び
C軸位置カウンタ21によりC軸モータ2を夫々フィー
ドバック制御することができるようになっている。
Also, at the same time, the X-axis PG15 and CIdlPG21
The rotation amounts of the axis motor 6 and the C-axis motor 2 are detected, and these rotation amounts are output to the X-axis position counter 16 and the C-axis position counter 22, respectively. And X-axis position counter 1
6 and C-axis position counter 22 convert these rotation amounts into current position data corresponding to the respective target position data, and output the data to the control unit 30. That is, the control unit 30 is capable of feedback controlling the X-axis motor 6 using the XIdtPG 15 and the X-axis position counter 16, and the C-axis motor 2 using the C41dlPG 21 and the C-axis position counter 21, respectively.

さらに、このデータ補正装置には、制御部30がそのよ
うなフィードバック制御を行なうことにより生じるスラ
イダー7の移動位置とカム1の回転角度との誤差を、そ
のフィードバック制御により生じる偏差に基づいて補正
する補正部31が備えられている。この補正部31は、
X軸位置カウンタ16が出力するスライダー7の現在の
位置データと、C軸位置カウンタ22が出力するカム1
の回転角度の現在の位置データとを入力するようになっ
ている。そして、補正部31は、C軸データメモリ19
に記憶された目標位置データのうち、カム1のその現在
の位置データに相当する目標位置データを検索し、該当
する目標位置データに対応する(同一時刻の)スライダ
ー7の目標位置データをX軸データメモリ13から入力
する。すると、補正部31は、この目標位置データとX
軸位置カウンタ16から人力したスライダー7の現在の
位置データとの偏差を算出し、この偏差から所定の補正
関数により補正値を求め、この補正値を時刻カウンタ1
2が出力する時刻に対応させてX軸補正データメモリ1
8に記憶するようになっている。つまり、補正部31は
、カム1の現在の回転角度に相当するカム1の目標位置
データを検索し、この目標位置データと同一時刻でX軸
データメモリ13に記憶されているスライダー7の目標
位置データに対して補正値を設定するようになっている
Furthermore, this data correction device corrects an error between the movement position of the slider 7 and the rotation angle of the cam 1, which is caused by the control section 30 performing such feedback control, based on the deviation caused by the feedback control. A correction section 31 is provided. This correction section 31 is
The current position data of the slider 7 output by the X-axis position counter 16 and the cam 1 output by the C-axis position counter 22
The current position data of the rotation angle is input. Then, the correction unit 31 includes the C-axis data memory 19
Search for target position data corresponding to the current position data of cam 1 from among the target position data stored in Input from data memory 13. Then, the correction unit 31 corrects this target position data and
The deviation from the current position data of the slider 7 manually input from the axis position counter 16 is calculated, a correction value is obtained from this deviation by a predetermined correction function, and this correction value is sent to the time counter 1.
X-axis correction data memory 1 corresponds to the time output by 2.
8 to be memorized. That is, the correction unit 31 searches for target position data of the cam 1 corresponding to the current rotation angle of the cam 1, and searches for the target position data of the slider 7 stored in the X-axis data memory 13 at the same time as this target position data. Correction values are set for the data.

そして、制御部30が前述したようにX軸モータ6を作
動させ、スライダー7を移動する際には、制御部30は
、時刻カウンタ12から出力される現在の時刻に基づい
て、この時刻に対応する補正値をX軸補正データメモリ
18から読み出すと井に、同様にその時刻に対応する目
標位置データをX軸データメモリ13から読み出し、こ
の目標位置データにその補正値を加算して補正し、補正
された目標位置データに基づいて前述した通りにX軸サ
ーボアンプ14を介してX軸モータ6を駆動するように
なっている。
When the control unit 30 operates the X-axis motor 6 and moves the slider 7 as described above, the control unit 30 responds to this time based on the current time output from the time counter 12. When the correction value to be calculated is read from the X-axis correction data memory 18, the target position data corresponding to that time is similarly read from the X-axis data memory 13, and the correction value is added to this target position data to correct it. Based on the corrected target position data, the X-axis motor 6 is driven via the X-axis servo amplifier 14 as described above.

したがって、このようなデータ補正装置にあっては、時
刻カウンタ12が出力する時刻に対して予め設定されて
いるスライダー7の目標位置データを、カム1の動作を
基準として繰り返し補正し、補正した目標位置データj
こよってX軸モータ6を制御することにより、砥石4の
動作がカム1の動作に合うように補正することができ、
カム1と砥石4との位置関係を相対的に補正することが
できる。
Therefore, in such a data correction device, the target position data of the slider 7, which is set in advance for the time output by the time counter 12, is repeatedly corrected based on the operation of the cam 1, and the corrected target position data is location data
Therefore, by controlling the X-axis motor 6, the operation of the grindstone 4 can be corrected to match the operation of the cam 1.
The relative positional relationship between the cam 1 and the grindstone 4 can be corrected.

このように構成されたデータ補正装置は、第2図に示す
フローチャートに基づいて、スライダー7の動作をカム
1の動作に対して補正する。
The data correction device configured as described above corrects the operation of the slider 7 with respect to the operation of the cam 1 based on the flowchart shown in FIG.

制御部30は、外部制御装置10から加工を開始する信
号を入力すると、時刻カウンタ12をONし、この時刻
カウンタ12が出力する時刻に対応するカム1及びスラ
イダー7の夫々目標位置データを夫々のデータメモリ1
3.19から人力すると共に、X軸補正データメモリ1
8から同様にその時刻に対応する補正値を人力する(ス
テップ1)。
When the control unit 30 receives a signal to start machining from the external control device 10, it turns on the time counter 12 and sets the target position data of the cam 1 and the slider 7 corresponding to the time output by the time counter 12, respectively. Data memory 1
From 3.19 onwards, X-axis correction data memory 1
Similarly, from step 8, the correction value corresponding to that time is manually input (step 1).

そして、制御部30は、この補正値をスライダー7の目
標位置データに加算して補正すると共に、補正したこの
目標位置データと、カム1の目標位置データとに基づい
てX軸モータ6及びC軸モータ2の回転量を夫々算出し
、これらの回転量をX軸サーボアンプ14及びC軸サー
ボアンプ20に夫々出力することにより、X軸モータ6
及びC軸モータ2を駆動し、スライダー7及びカム1を
夫々の目標位置データに相当する目標位置に夫々移動さ
せる(ステップ2)。
Then, the control unit 30 adds this correction value to the target position data of the slider 7 to correct it, and also controls the X-axis motor 6 and the C-axis based on the corrected target position data and the target position data of the cam 1. By calculating the rotation amount of the motor 2 and outputting these rotation amounts to the X-axis servo amplifier 14 and the C-axis servo amplifier 20, respectively, the X-axis motor 6
Then, the C-axis motor 2 is driven to move the slider 7 and the cam 1 to the target positions corresponding to the respective target position data (step 2).

すると、補正部31は、X軸PG15、X軸位置カウン
タ16及びCIdlPG21、C軸位置カウンタ22を
介してスライダー7及びカム1の現在の位置データを入
力しくステップ3)、このカム1の現在の位置データに
相当する目標位置データに対応する時刻を検出する(ス
テップ4)。
Then, the correction unit 31 inputs the current position data of the slider 7 and the cam 1 via the X-axis PG 15, the X-axis position counter 16, the CIdlPG 21, and the C-axis position counter 22. A time corresponding to target position data corresponding to position data is detected (step 4).

そして、補正部31は、検出した時刻に対応するスライ
ダー7の目標位置データをX軸データメモリ13から入
力しくステップ5)、この目標位置データとステップ3
において人力したスライダー7の現在の位置データとの
偏差を求め、この偏差に基づいて補正関数により補正値
を算出する(ステップ6)。
Then, the correction unit 31 inputs the target position data of the slider 7 corresponding to the detected time from the X-axis data memory 13 (step 5), and inputs this target position data and step 3).
The deviation from the current position data of the slider 7 manually operated is determined, and a correction value is calculated by a correction function based on this deviation (step 6).

さらに、補正部31は、算出した補正値をステップ4に
おいて検出した時刻に対応させて、X軸補正データメモ
リ18に格納する(ステップ7)。
Further, the correction unit 31 stores the calculated correction value in the X-axis correction data memory 18 in association with the time detected in step 4 (step 7).

そして、制御部30は、夫々のデータメモリ13.19
に残りのデータがあり、かつ外部制御装置10から加工
を終了する信号が人力されていない場合には、ステップ
1に戻り、時刻カウンタ12が出力する時刻に従って繰
り返しX軸モータ6及びC軸モータ2をフィードバック
制御すると共に、スライダー7の目標位置データに対す
る補正値をX軸補正データメモリ18に記憶する。又、
制御部30は、外部制御装置10から加工を終了する信
号を人力した場合、又はX軸データメモリ13及びC軸
データメモリ19に設定されている夫々の全てのデータ
に基づいてX軸モータ6及びC軸モータ2を駆動した場
合には、カム1の研削加工が終了したと判断し、時刻カ
ウンタ12をリセットして処理を終了する(ステップ8
)。
Then, the control unit 30 controls each data memory 13.19.
If there is remaining data and the external control device 10 does not manually send a signal to end the machining, return to step 1 and repeatedly operate the X-axis motor 6 and C-axis motor 2 according to the time output by the time counter 12. At the same time, the correction value for the target position data of the slider 7 is stored in the X-axis correction data memory 18. or,
The control unit 30 controls the X-axis motor 6 and the X-axis motor 6 when a signal to end machining is manually input from the external control device 10 or based on all the data set in the X-axis data memory 13 and the C-axis data memory 19. When the C-axis motor 2 is driven, it is determined that the grinding of the cam 1 has been completed, and the time counter 12 is reset to end the process (step 8).
).

ここで、本発明のデータ補正装置がカム1動作を基準と
してスライダー7の動作を補正する様子を第3図に示す
表に基づいて具体的に説明する。
Here, how the data correction device of the present invention corrects the movement of the slider 7 based on the movement of the cam 1 will be specifically explained based on the table shown in FIG. 3.

1、=ij IIWに示すように、例えば、時刻カウン
タ12から出力される時刻がBであり、カム1の目標位
置データが200″、スライダー7の目標位置データが
8開に夫々相当する値である場合には、制御部30は、
これらの目標位置データに基づいて、カム1の回転角度
を200’に、スライダー7のカム1に対する位置を8
a111にするようX軸モータ6及びC軸モータ2を駆
動する。そして、これに対して夫々のPCl3.21及
び夫々の泣代カウンタ16.22を介して補正部31に
人力される現在の位置データが、カム1が195’ 、
スライダー7が7.5mo+に相当するデータであった
場合には、補正部31は、カム1が195”に相当する
時刻Aのスライダー7の目標位置データ71111と、
その7.5av+との偏差0.5mmを補正値に変換す
ると共に、この補正値をX軸補正データメモリ18に時
刻Aに対応させて記憶する。
1, =ij IIW, for example, the time output from the time counter 12 is B, the target position data of the cam 1 is 200'', and the target position data of the slider 7 is a value corresponding to 8-open, respectively. In some cases, the control unit 30
Based on these target position data, the rotation angle of cam 1 is set to 200', and the position of slider 7 relative to cam 1 is set to 8'.
The X-axis motor 6 and the C-axis motor 2 are driven so as to set a111. In response to this, the current position data manually input to the correction unit 31 via the respective PCl 3.21 and the respective cryostatic counters 16.22 are as follows: cam 1 is 195';
When the slider 7 has data corresponding to 7.5mo+, the correction unit 31 sets the target position data 71111 of the slider 7 at time A corresponding to cam 1 to 195'',
The deviation of 0.5 mm from 7.5 av+ is converted into a correction value, and this correction value is stored in the X-axis correction data memory 18 in correspondence with time A.

そして、制御部30は、次回に時刻カウンタ12から出
力される時刻がAとなった場合には、スライダー7の目
標位置データを7mm + 0.5mm= 7.5au
aに相当する目標位置データに補正し、この目標位置デ
ータに基づいてX軸モータ6を駆動し、スライダー7を
カム1に対して7.5augの位置に移動させるように
補正する。
Then, when the next time output from the time counter 12 is A, the control unit 30 sets the target position data of the slider 7 to 7mm + 0.5mm = 7.5au.
The target position data is corrected to correspond to a, and the X-axis motor 6 is driven based on this target position data, and the slider 7 is corrected to move to a position of 7.5 aug with respect to the cam 1.

このようにカム1の目標位置データを基準としてスライ
ダー7の目標位置データを補正することによりカム1と
スライダー7との位置関係は、相対的に補正され、正確
にカム形状を形成することができるようになる。
In this way, by correcting the target position data of the slider 7 based on the target position data of the cam 1, the positional relationship between the cam 1 and the slider 7 is relatively corrected, and the cam shape can be formed accurately. It becomes like this.

尚、本実施例にあっては、カムを砥石により研削するN
C工作機械の制御装置において、砥石をカムに対して移
動するスライダーとカムとの位置関係を相対的に補正す
るものを例示したが、これに限ることなく、関連して動
作する複数の作動部材間の位置関係の補正を必要とする
ものに適用できるのはもちろんである。
In this embodiment, the cam is ground by a grindstone.
C. In the control device of a machine tool, a device that relatively corrects the positional relationship between a slider that moves a grindstone with respect to a cam and a cam is illustrated, but the present invention is not limited to this, and a plurality of operating members that operate in conjunction with each other are illustrated. Of course, it can be applied to anything that requires correction of the positional relationship between them.

(発明の効果) 以上の説四により川らかように、本発明にあっては以下
のような効果を奏す。
(Effects of the Invention) According to the above theory 4, the present invention has the following effects.

補正手段が基準となる作動部材の現在の位置データに相
当する目標位置データを検出し、この目標位置データに
対応するその他の作動部材の目標位置データと、その他
の作動部材の現在の位置データとの偏差を繰り返し記憶
し、フィードバック制御手段が、基準となる作動部材を
作動する作動手段以外の作動手段をフィードバック制御
する際に、補正手段から対応する偏差を人力し、目標位
置データをこの偏差に基づいて補正しつつフィードバッ
ク制御するので、基準となる作動部材は、予め設定され
ている目標位置データに基づいて動作し、その他の作動
部材は、その動作に対する偏差が補正されつつ動作する
ことになり、基準となる作動部材とその他の作動部材と
の動作が相対的に補正され、所望の動作を確実に行なわ
せることができる。
The correction means detects target position data corresponding to the current position data of the reference actuating member, and detects target position data of other actuating members corresponding to this target position data and current position data of the other actuating members. When the feedback control means performs feedback control of actuating means other than the actuating means that actuates the reference actuating member, it manually inputs the corresponding deviation from the correcting means and changes the target position data to this deviation. Since feedback control is performed while correcting based on the reference, the reference actuating member operates based on the preset target position data, and the other actuating members operate while correcting deviations from that operation. The motions of the reference actuating member and the other actuating members are relatively corrected, and desired operations can be reliably performed.

又、基準となる作動部材の動作は、補正する必要がなく
、制御を簡略化することができるばかりか、補正する値
を記憶する記憶手段等が不要となり経済的である。
Further, there is no need to correct the operation of the reference actuating member, which not only simplifies control, but also eliminates the need for storage means for storing values to be corrected, which is economical.

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

第1図は、本発明に係るデータ補正装置の概略構成図、 第2図は、本発明に係るデータ補正装置の動作フローチ
ャート、 第3図は、本発明に係るデータ補正装置の動作の具体例
を示す説明図、 第4図、第5図、第6図は、従来のNC工作機楓の制御
装置の説明図である。 1・・・カム(作動部材)、 2・・・C軸モータ(作動手段)、 4・・・砥石、 6・・・X軸モータ(作動手段)、 7・・・スライダー(作動部材)、 12・・・時刻カウンタ(フィードバック制御手段)、
13・・・X軸データメモリ(記憶手段)、14・・・
X軸サーボアンプ(フィードバック制御手段)、 15・・・XIdlPG(フィードバック制御手段)、
16・・・X軸位置カウンタ(フィードバック制御手段
)、 18・・・X軸補正データメモリ(補正手段)、19・
・・C軸データメモリ(記憶手段)、20・・・C軸サ
ーボアンプ(フィードバック制御手段)、 21・・・C?dlPG(フィードバック制御手段)、
22・・・C軸位置カウンタ(フィードバック制御手段
)、 30・・・制御部(フィードバック制御手段)、31・
・・補正部(補正手段)。 第2図
FIG. 1 is a schematic configuration diagram of a data correction device according to the present invention, FIG. 2 is an operation flowchart of the data correction device according to the present invention, and FIG. 3 is a specific example of the operation of the data correction device according to the present invention. FIG. 4, FIG. 5, and FIG. 6 are explanatory diagrams of a conventional control device for an NC machine tool Kaede. 1... Cam (operating member), 2... C-axis motor (operating means), 4... Grindstone, 6... X-axis motor (operating means), 7... Slider (operating member), 12... Time counter (feedback control means),
13...X-axis data memory (storage means), 14...
X-axis servo amplifier (feedback control means), 15...XIdlPG (feedback control means),
16...X-axis position counter (feedback control means), 18...X-axis correction data memory (correction means), 19.
...C-axis data memory (storage means), 20...C-axis servo amplifier (feedback control means), 21...C? dlPG (feedback control means),
22... C-axis position counter (feedback control means), 30... control section (feedback control means), 31.
...Correction unit (correction means). Figure 2

Claims (1)

【特許請求の範囲】[Claims] 関連した動作が必要な夫々の作動部材を作動する夫々の
作動手段と、予め設定され、前記夫々の作動部材に前記
動作を行なわせるための夫々の目標位置データを記憶す
る記憶手段と、当該記憶手段に記憶された目標位置デー
タに基づいて前記夫々の作動手段を夫々フィードバック
制御するフィードバック制御手段と、当該フィードバッ
ク制御手段によりフィードバックされる前記夫々の作動
部材の現在の位置データのうち、基準となる作動部材の
現在の位置データに相当する当該作動部材の前記目標位
置データを検出すると共に、当該目標位置データに対応
するその他の作動部材の夫々の前記目標位置データを、
前記フィードバック制御手段が当該その他の作動部材を
作動させる作動手段をフィードバック制御する際に生じ
る偏差に基づいて夫々補正する補正手段とを有すること
を特徴とするデータ補正装置。
Respective actuating means for actuating each actuating member that requires a related action; storage means for storing target position data set in advance for causing each actuating member to perform the action; and said memory. Feedback control means for feedback controlling each of the actuation means based on target position data stored in the means, and current position data of the respective actuation members fed back by the feedback control means, which serves as a reference. detecting the target position data of the actuating member corresponding to the current position data of the actuating member, and detecting the target position data of each of the other actuating members corresponding to the target position data;
A data correction device characterized in that the data correction device comprises a correction device that corrects each deviation based on a deviation that occurs when the feedback control device feedback-controls the actuation device that actuates the other actuation member.
JP20126189A 1989-08-04 1989-08-04 Data correction device Expired - Lifetime JP2684782B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20126189A JP2684782B2 (en) 1989-08-04 1989-08-04 Data correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20126189A JP2684782B2 (en) 1989-08-04 1989-08-04 Data correction device

Publications (2)

Publication Number Publication Date
JPH0365706A true JPH0365706A (en) 1991-03-20
JP2684782B2 JP2684782B2 (en) 1997-12-03

Family

ID=16438015

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20126189A Expired - Lifetime JP2684782B2 (en) 1989-08-04 1989-08-04 Data correction device

Country Status (1)

Country Link
JP (1) JP2684782B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003005141A1 (en) * 2001-07-04 2003-01-16 Mitsubishi Denki Kabushiki Kaisha Servocontrol system and method of setting
KR100435780B1 (en) * 2004-02-12 2004-06-10 권두영 A blind person guide block
KR100471019B1 (en) * 2002-10-01 2005-03-10 (주) 종합건축사사무소 동일건축 Rubber mat
JP2008211869A (en) * 2007-02-23 2008-09-11 Brother Ind Ltd Motor driver and image forming apparatus

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003005141A1 (en) * 2001-07-04 2003-01-16 Mitsubishi Denki Kabushiki Kaisha Servocontrol system and method of setting
JPWO2003005141A1 (en) * 2001-07-04 2004-10-28 三菱電機株式会社 Servo control system and setting method thereof
US6949905B2 (en) 2001-07-04 2005-09-27 Mitsubishi Denki Kabushiki Kaisha Servo control system and method of setting
JP4678129B2 (en) * 2001-07-04 2011-04-27 三菱電機株式会社 Servo control system and setting method thereof
KR100471019B1 (en) * 2002-10-01 2005-03-10 (주) 종합건축사사무소 동일건축 Rubber mat
KR100435780B1 (en) * 2004-02-12 2004-06-10 권두영 A blind person guide block
JP2008211869A (en) * 2007-02-23 2008-09-11 Brother Ind Ltd Motor driver and image forming apparatus

Also Published As

Publication number Publication date
JP2684782B2 (en) 1997-12-03

Similar Documents

Publication Publication Date Title
JP3671020B2 (en) Numerical controller
JP4293132B2 (en) Numerical controller
EP1629933A2 (en) Laser processing apparatus
EP0397887B1 (en) Method of correcting machining program
EP1720083B1 (en) Numerical controller
JPH03271813A (en) Nc device
KR0139526B1 (en) Numerical Control Unit for Grinding Machine
WO1990006836A1 (en) Robot operation method that can be manually corrected
US20070185609A1 (en) Numerical control method
JPS6292002A (en) Backlash correcting method
JPH04237306A (en) Method for restarting punch press machine and neumerical control device
US6999844B2 (en) Numerical controller
JPH0365706A (en) Data correction device
WO1988006752A1 (en) Numerical control method capable of variably setting positioning precision
CN108121300B (en) Numerical controller
JP2577003B2 (en) Robot control method
JPS63272447A (en) Feed controller equipped with correction for deflection quantity
WO1990000765A1 (en) Numerical controller
JP2008130013A (en) Numerical control device
JPS6378202A (en) Numerical controller for machining non real circular work
JPH02302803A (en) Rewriting system for pitch error correcting data
JPH08147017A (en) Cam grinding device
JP2587094B2 (en) Grinding method
JPH07186001A (en) Product working accuracy correction method in servo positioning control type working system
JPH01274218A (en) System for correcting locus of industrial robot

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080815

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20080815

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090815

Year of fee payment: 12

EXPY Cancellation because of completion of term