JPH08147017A - Cam grinding device - Google Patents

Cam grinding device

Info

Publication number
JPH08147017A
JPH08147017A JP28471094A JP28471094A JPH08147017A JP H08147017 A JPH08147017 A JP H08147017A JP 28471094 A JP28471094 A JP 28471094A JP 28471094 A JP28471094 A JP 28471094A JP H08147017 A JPH08147017 A JP H08147017A
Authority
JP
Japan
Prior art keywords
target
work
rotation
value
advancing
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
JP28471094A
Other languages
Japanese (ja)
Other versions
JP3287146B2 (en
Inventor
Tetsuya Iwasaki
鉄也 岩崎
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 JP28471094A priority Critical patent/JP3287146B2/en
Publication of JPH08147017A publication Critical patent/JPH08147017A/en
Application granted granted Critical
Publication of JP3287146B2 publication Critical patent/JP3287146B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Control Of Position Or Direction (AREA)
  • Automatic Control Of Machine Tools (AREA)
  • Grinding And Polishing Of Tertiary Curved Surfaces And Surfaces With Complex Shapes (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE: To suppress an increase in error even when the value of a gain is increased for a request for small-frequency grinding by controlling a forward/ backward movement position between a work and a grinding wheel by using correction value data when the maximum value of an error in every rotation of the work becomes minimum. CONSTITUTION: A one-rotation detection signal from a C-axial single-rotation detection part 37, data on the current position of a slider from an X-axial position counter 20, and target position data of the slider at corresponding time from an X-axial data memory 13 are inputted to a maximum error value detection part 38. Then the detection part 38 compares the data on the current position inputted from the X-axial position counter 20 with the target position data at the corresponding time which is inputted from the X-axial data memory 13 to detect the maximum error value in every rotation. This maximum error value is read by an error increase/decrease judgement part 40 and when it becomes minimum, a target precision setting part 41 outputs a movement position within target precision to memories 34 and 36.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、たとえばカムシャフト
などが有するカム形状を研削加工により正確に形成する
ことができるカム研削装置の改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement of a cam grinding device capable of accurately forming a cam shape of a cam shaft or the like by grinding.

【0002】[0002]

【従来の技術】従来から、カムシャフトなどのカムの研
削加工は、研削時に複雑な制御を行う必要があることか
ら、それ専用の加工装置(カム研削装置)によって行わ
れている。
2. Description of the Related Art Conventionally, grinding of a cam such as a cam shaft has been performed by a processing device (cam grinding device) dedicated to the grinding because it is necessary to perform complicated control during grinding.

【0003】このカム研削装置は、通常、たとえば図5
に示すように構成されている。主軸1に固定して取り付
けられた被研削物であるカム2はカム回転用モータ3
(以下、C軸モータという)によって回転し、このカム
2の回転方向と同一方向に砥石回転用モータ4によって
回転する砥石5が、スライダー移動用モータ6(以下、
X軸モータという)によってカム2の回転軸(C軸)に
対して直角方向(X軸方向)に進退移動するスライダー
7に取り付けられている。そして、C軸モータ3および
X軸モータ6をそれぞれ制御装置8によって制御するこ
とにより、カム2を砥石5で研削し、所望のカム形状を
形成している。なお、同図中、「9」はボールねじであ
る。
This cam grinding device is usually shown in FIG.
It is configured as shown in FIG. The cam 2 which is the object to be ground fixedly attached to the main shaft 1 is a cam rotation motor 3
(Hereinafter, referred to as C-axis motor), the grindstone 5 which is rotated by the grindstone rotating motor 4 in the same direction as the rotating direction of the cam 2 is a slider moving motor 6 (hereinafter
It is attached to a slider 7 that moves back and forth in a direction (X-axis direction) perpendicular to the rotation axis (C-axis) of the cam 2 by an X-axis motor. Then, by controlling the C-axis motor 3 and the X-axis motor 6 by the controller 8, the cam 2 is ground by the grindstone 5 to form a desired cam shape. In the figure, “9” is a ball screw.

【0004】従来のカム研削装置においては、カム(C
軸)の回転角度を基準として砥石の送り量(X軸)を学
習により補正するようにしたものがある(たとえば、特
開平3−65706号公報参照)。
In the conventional cam grinding device, the cam (C
There is a method in which the feed amount (X axis) of the grindstone is corrected by learning based on the rotation angle of the shaft (see, for example, Japanese Patent Laid-Open No. 3-65706).

【0005】図6はそうした従来のカム研削装置の制御
系のブロック図である。制御装置8は、工程管理などを
行う外部制御装置10からの指令に基づいてカムの研削
加工を制御する制御部11を有している。この制御部1
1は、外部制御装置10から研削加工を開始、終了すべ
き等の指令信号を入力して、C軸モータ3およびX軸モ
ータ6を制御する。
FIG. 6 is a block diagram of a control system of such a conventional cam grinding device. The control device 8 has a control unit 11 that controls the grinding process of the cam based on a command from the external control device 10 that manages the process. This control unit 1
1 receives a command signal such as starting and ending the grinding process from the external control device 10 to control the C-axis motor 3 and the X-axis motor 6.

【0006】すなわち、制御部11は、研削開始指令を
入力すると、C軸データメモリ12およびX軸データメ
モリ13にそれぞれあらかじめ設定されている時刻ごと
の目標位置データを時刻カウンタ14が出力する時刻に
応じて入力し、入力したそれぞれの目標位置データに基
づいてC軸モータ3およびX軸モータ6の回転量を算出
し、求めた回転量をC軸サーボアンプ15およびX軸サ
ーボアンプ16にそれぞれ出力する。これらサーボアン
プ15、16は、入力した回転量に応じた電力をC軸モ
ータ3およびX軸モータ6にそれぞれ供給し、それらを
駆動する。これにより、カム2とスライダー7は、それ
ぞれ、時刻に応じて目標位置データに相当する目標位置
に移動する。
That is, when the grinding start command is input, the control unit 11 outputs the target position data for each time preset in the C-axis data memory 12 and the X-axis data memory 13 at the time when the time counter 14 outputs the target position data. The rotation amount of the C-axis motor 3 and the X-axis motor 6 is calculated based on the input target position data, and the obtained rotation amount is output to the C-axis servo amplifier 15 and the X-axis servo amplifier 16, respectively. To do. These servo amplifiers 15 and 16 respectively supply electric power according to the input rotation amount to the C-axis motor 3 and the X-axis motor 6 to drive them. As a result, the cam 2 and the slider 7 respectively move to the target position corresponding to the target position data according to the time.

【0007】また同時に、C軸パルス発生器17および
X軸パルス発生器18は、C軸モータ3およびX軸モー
タ6の回転量をそれぞれ検出し、検出した回転量をC軸
位置カウンタ19およびX軸位置カウンタ20にそれぞ
れ出力する。これらカウンタ19、20は、入力した回
転量を時刻に応じた各目標位置データに対応する現在の
位置データに変換し、制御部11に出力する。制御部1
1は、入力した現在の位置データを目標位置データと比
較し、それらを一致させるようにC軸モータ3およびX
軸モータ6をそれぞれ制御する。つまり、制御部11
は、C軸およびX軸用の各パルス発生器17、18およ
び各位置カウンタ19、20によってC軸モータ3およ
びX軸モータ6をそれぞれフィードバック制御するよう
になっている。
At the same time, the C-axis pulse generator 17 and the X-axis pulse generator 18 detect the rotation amounts of the C-axis motor 3 and the X-axis motor 6, respectively, and the detected rotation amounts are the C-axis position counter 19 and the X-axis position counter 19 respectively. It outputs to the axis position counter 20, respectively. These counters 19 and 20 convert the input rotation amount into the current position data corresponding to each target position data according to time, and output it to the control unit 11. Control unit 1
1 compares the input current position data with the target position data and matches the C-axis motors 3 and X to match them.
The shaft motors 6 are controlled respectively. That is, the control unit 11
The C-axis and X-axis pulse generators 17 and 18 and the position counters 19 and 20 feedback-control the C-axis motor 3 and the X-axis motor 6, respectively.

【0008】補正部21は、上記のフィードバック制御
を行うことによって生じるカム2の回転角度とスライダ
ー7の移動位置との相対的な位置関係を補正するための
補正値を算出する。
The correction unit 21 calculates a correction value for correcting the relative positional relationship between the rotation angle of the cam 2 and the moving position of the slider 7 which is generated by performing the above feedback control.

【0009】すなわち、補正部21は、C軸位置カウン
タ19から出力されるカム2の回転角度の現在の位置デ
ータと、X軸位置カウンタ20から出力されるスライダ
ー7の現在の位置データとを入力し、C軸データメモリ
12に記憶されている時刻ごとの目標位置データの中か
ら、C軸位置カウンタ19から入力したカム2のその現
在の位置データに相当する目標位置データを検索し、検
索した目標位置データに対応する同一時刻のスライダー
7の目標位置データをX軸データメモリ13から入力し
た後、この入力した目標位置データをX軸位置カウンタ
20から入力したスライダー7の現在の位置データと比
較して偏差(誤差)を算出し、この算出した偏差(誤
差)から所定の補正関数によって補正値を求め、求めた
補正値を時刻カウンタ14から出力された上記時刻に対
応させてX軸補正データメモリ22に記憶させる。つま
り、補正部21は、カム2の現在の回転角度に相当する
カム2の目標位置データと同一時刻でX軸データメモリ
13に記憶されているスライダー7の目標位置データに
対して補正値を設定するようになっている。なお、この
補正値については、過去の偏差(誤差)を考慮した学習
が行われるようになっている。この学習については後述
する。
That is, the correction unit 21 inputs the current position data of the rotation angle of the cam 2 output from the C-axis position counter 19 and the current position data of the slider 7 output from the X-axis position counter 20. Then, the target position data corresponding to the current position data of the cam 2 input from the C-axis position counter 19 is searched and searched from the target position data for each time stored in the C-axis data memory 12. After the target position data of the slider 7 corresponding to the target position data at the same time is input from the X-axis data memory 13, the input target position data is compared with the current position data of the slider 7 input from the X-axis position counter 20. Then, the deviation (error) is calculated, the correction value is calculated from the calculated deviation (error) by a predetermined correction function, and the calculated correction value is set to the time count. To correspond to the time output from 14 is stored in the X-axis compensation data memory 22. That is, the correction unit 21 sets a correction value for the target position data of the slider 7 stored in the X-axis data memory 13 at the same time as the target position data of the cam 2 corresponding to the current rotation angle of the cam 2. It is supposed to do. Regarding this correction value, learning is performed in consideration of past deviation (error). This learning will be described later.

【0010】制御部11は、上記のようにX軸モータ6
を作動させてスライダー7を移動させるが、その際、制
御部11は、時刻カウンタ14から出力される現在の時
刻に基づいて、この時刻に対応する補正値をX軸補正デ
ータメモリ22から読み取るとともに、同じくその時刻
に対応する目標位置データをX軸データメモリ13から
読み取り、読み取った目標位置データに上記読み取った
補正値を加算して目標位置データを補正し、この補正し
た目標位置データに基づいて、上記したようにX軸サー
ボアンプ16を介してX軸モータ6を駆動する。
The control unit 11 controls the X-axis motor 6 as described above.
Is operated to move the slider 7. At this time, the control unit 11 reads the correction value corresponding to this time from the X-axis correction data memory 22 based on the current time output from the time counter 14. Similarly, the target position data corresponding to that time is read from the X-axis data memory 13, the read correction value is added to the read target position data to correct the target position data, and based on the corrected target position data, As described above, the X-axis motor 6 is driven via the X-axis servo amplifier 16.

【0011】このように、時刻カウンタ14から出力さ
れる時刻に対してあらかじめ設定されているスライダー
7の目標位置データをカム2の動作(回転角度)を基準
として繰り返し補正(学習)し、補正した目標位置デー
タによりX軸モータ6を制御することによって、砥石5
の動作(送り量)がカム2の動作(回転角度)に合うよ
うに補正されるので、カム2と砥石5との位置関係が相
対的に補正され、正確にカム形状を形成することができ
るようになる。
As described above, the target position data of the slider 7 preset with respect to the time output from the time counter 14 is repeatedly corrected (learned) based on the operation (rotation angle) of the cam 2 and corrected. By controlling the X-axis motor 6 according to the target position data, the grindstone 5
Is corrected so as to match the operation (rotation angle) of the cam 2, the positional relationship between the cam 2 and the grindstone 5 is relatively corrected, and the cam shape can be accurately formed. Like

【0012】なお、補正部21において補正値を求める
補正関数部は、たとえば、図7に示すように、X軸デー
タメモリ13から入力したスライダー7の目標位置デー
タとX軸位置カウンタ20から入力したスライダー7の
現在の位置データとの偏差(誤差)にゲインを掛けるゲ
イン積算部23と、このゲイン積算部23の出力とその
時に補正に用いられている前回算出した補正値とから所
定の補正関数によって補正値を算出する繰返し補正関数
部24とからなっている。繰返し補正関数部24で算出
された補正値は、上記のように、X軸補正データメモリ
22に出力され、該当する時刻と対応させて格納され
る。つまり、カム2の回転角度ごとまたは制御周期ごと
に1回転分の誤差データ(補正値)をX軸補正データメ
モリ22に保存しておき、回転ごとに上記データを更新
して繰り返し補正を行う学習制御を行っている。
The correction function unit for obtaining the correction value in the correction unit 21 receives the target position data of the slider 7 input from the X-axis data memory 13 and the X-axis position counter 20 as shown in FIG. 7, for example. A predetermined correction function is calculated from the gain integration unit 23 that multiplies the deviation (error) from the current position data of the slider 7 by a gain, and the output of this gain integration unit 23 and the previously calculated correction value used for correction at that time. And a repetitive correction function unit 24 for calculating a correction value according to. The correction value calculated by the iterative correction function unit 24 is output to the X-axis correction data memory 22 as described above and stored in association with the corresponding time. That is, learning is performed in which error data (correction value) for one rotation is stored in the X-axis correction data memory 22 for each rotation angle of the cam 2 or for each control cycle, and the above data is updated for each rotation to perform repeated correction. We are in control.

【0013】[0013]

【発明が解決しようとする課題】しかしながら、このよ
うな従来のカム研削装置にあっては、補正部21におい
て学習を行うようになっているが、その学習の効果は、
図8に示すように、ゲイン積算部23で用いるゲインの
値を大きくすると、少ない学習回数で誤差が小さくなる
ものの、学習回数を重ねると逆に誤差が大きくなってし
まう。他方、ゲインの値を小さくした場合には、誤差は
収束するものの、収束するのに時間がかかってしまう。
たとえば、切込みを行わない(切込量ゼロの状態)で研
削を行うスパークアウト時のようにそもそも研削回数が
少ない場合には、少ない学習回数(繰返し補正回数)で
早く誤差が小さくなることが要求されるので、ゲインの
値を大きくする必要があるが、ゲインの値を大きくした
場合には、上記したように、学習を重ねると誤差が増加
してしまうという問題点がある。
However, in such a conventional cam grinding apparatus, learning is performed in the correction section 21, but the learning effect is as follows.
As shown in FIG. 8, when the value of the gain used in the gain integration unit 23 is increased, the error is reduced with a small number of learnings, but the error is increased when the learnings are repeated. On the other hand, when the gain value is reduced, the error converges, but it takes time to converge.
For example, when the number of grinding is small in the first place, such as during spark-out, where grinding is performed without cutting (zero depth of cut), it is required that the error be reduced quickly with a small number of learnings (repetition corrections). Therefore, it is necessary to increase the value of the gain. However, when the value of the gain is increased, there is a problem that the error increases with repeated learning as described above.

【0014】本発明は、このような従来技術の問題点に
鑑みてなされたものであり、とくに少ない回数での研削
が要求されるような場合にゲインの値を大きくしたとき
にも誤差の増加を抑えることができる学習制御機能を備
えたカム研削装置を提供することを目的とする。
The present invention has been made in view of the problems of the prior art as described above, and increases the error even when the gain value is increased, especially when grinding with a small number of times is required. It is an object of the present invention to provide a cam grinding device having a learning control function capable of suppressing the above.

【0015】[0015]

【課題を解決するための手段】上記目的を達成するため
に、本発明に係る請求項1記載のカム研削装置は、フィ
ードバック制御によりワークおよびこれを研削する砥石
を回転させながらワークの回転軸に対し直角方向に相対
的に進退移動させることによって所望のカム形状を形成
する際に、あらかじめ設定されたゲインによりワークの
回転位置を基準としてワークと砥石間の相対的な進退移
動位置を回転ごとに補正するようにしたカム研削装置に
おいて、ワークの回転位置を検出するワーク位置検出手
段と、ワークと砥石間の相対的な進退移動位置を検出す
る進退移動位置検出手段と、ワークの目標位置をあらか
じめ定められた時間の経過ごとに記憶するワーク目標位
置記憶手段と、ワークと砥石間の相対的な目標進退移動
位置をあらかじめ定められた時間の経過ごとに記憶する
目標進退移動位置記憶手段と、前記ワーク位置検出手段
によって検出されたワークの現在位置に相当する目標位
置を前記ワーク目標位置記憶手段に記憶されているデー
タの中から検索し、検索したワークの目標位置に対応す
る同一時点の目標進退移動位置を前記目標進退移動位置
記憶手段から読み取り、読み取った目標進退移動位置を
前記進退移動位置検出手段によって検出された現在の進
退移動位置と比較して誤差を求め、求めた誤差から対応
する時点の目標進退移動位置に対する次回の補正値を算
出する補正値算出手段と、それぞれ前記補正値算出手段
によって算出された補正値を対応する時点ごとに記憶す
る複数の補正値記憶手段と、前記複数の補正値記憶手段
の中から、所定のルールに従って、前記補正値算出手段
によって算出された補正値を格納する補正値記憶手段を
選択する第1選択手段と、前記複数の補正値記憶手段の
中から、所定のルールに従って、内部に記憶されている
補正値を読み取る補正値記憶手段を選択する第2選択手
段と、ワーク1回転ごとのワークと砥石間の進退移動位
置の誤差最大値の大きさが減少から増加に転じたときに
前回の補正値データを選択すべき信号を前記第2選択手
段に出力する設定手段と、前記目標進退移動位置記憶手
段に記憶されている目標進退移動位置を前記第2選択手
段によって選択された補正値記憶手段に記憶されている
同一時点の補正値に基づいて補正し、補正した目標進退
移動位置を目標値としてワークと砥石間の進退移動位置
を制御する制御手段とを有することを特徴とする。
In order to achieve the above object, a cam grinding apparatus according to a first aspect of the present invention provides a rotary shaft of a work while rotating a work and a grindstone for grinding the work by feedback control. When a desired cam shape is formed by moving the workpiece relatively in the direction perpendicular to it, the relative advance / retreat position between the workpiece and the grindstone is set for each rotation with a preset gain as a reference. In the cam grinding device which is adapted to correct, a work position detecting means for detecting a rotation position of the work, a forward / backward moving position detecting means for detecting a relative forward / backward moving position between the work and the grindstone, and a target position of the work in advance. Work target position storage means that stores each time the set time elapses, and the relative target advance / retreat movement position between the work and the grindstone is stored in advance. Of the data stored in the work target position storage means, and the target position corresponding to the current position of the work detected by the work position detection means. The target advancing / retreating movement position at the same time corresponding to the target position of the retrieved work is read from the target advancing / retreating movement position storing means, and the read target advancing / retreating movement position is detected by the advancing / retreating movement position detecting means. Correction value calculating means for calculating an error by comparing with the advancing / retreating moving position, and calculating the next correction value for the target advancing / retreating moving position at the corresponding time point from the calculated error, and the correction value calculated by the correction value calculating means, respectively. A plurality of correction value storage means for storing at each corresponding time point, and from the plurality of correction value storage means, according to a predetermined rule, The first selection means for selecting the correction value storage means for storing the correction value calculated by the correction value calculation means, and the correction stored inside the plurality of correction value storage means according to a predetermined rule. Second selection means for selecting the correction value storage means for reading the value, and the previous correction value data when the magnitude of the maximum error value of the forward / backward movement position between the work and the grindstone for each rotation of the work changes from decrease to increase. Setting means for outputting a signal for selecting to the second selecting means, and the target advancing / retreating movement position stored in the target advancing / retreating movement position storing means is stored in the correction value storage means selected by the second selecting means. The present invention is characterized by further comprising: a control means for performing correction based on the correction value at the same time point, and controlling the forward / backward movement position between the work and the grindstone using the corrected target forward / backward movement position as a target value.

【0016】また、請求項2記載のカム研削装置は、上
記請求項1記載のカム研削装置において、設定手段は、
さらに、ワーク1回転ごとの進退移動位置の誤差最大値
の大きさが減少から増加に転じたときに学習終了信号を
前記第1選択手段に出力することを特徴とする。
According to a second aspect of the present invention, there is provided the cam grinding apparatus according to the first aspect, wherein the setting means is
Further, the learning end signal is output to the first selecting means when the magnitude of the maximum error value of the advancing / retreating movement position for each one rotation of the work changes from decreasing to increasing.

【0017】また、請求項3記載のカム研削装置は、上
記請求項1または2記載のカム研削装置において、設定
手段は、ワーク1回転ごとの進退移動位置の誤差最大値
の大きさが減少から増加に転じたときに、ワーク1回転
ごとの誤差最大値の最小値が任意に設定された目標精度
以内であるときに所定の信号を発生することを特徴とす
る。
According to a third aspect of the present invention, in the cam grinding apparatus according to the first or second aspect, the setting means reduces the maximum error value of the forward / backward movement position for each rotation of the work. It is characterized in that a predetermined signal is generated when the minimum value of the maximum error value per rotation of the work is within the arbitrarily set target accuracy when turning to increase.

【0018】また、請求項4記載のカム研削装置は、上
記請求項1、2、または3記載のカム研削装置におい
て、設定手段は、前記ワーク位置検出手段によって検出
されたワークの現在位置をあらかじめ設定された原点位
置と比較してワーク1回転検出信号を発生する手段(第
1検出手段という)と、ワーク1回転検出信号を入力す
るごとに、前記進退移動位置検出手段によって検出され
た現在の進退移動位置を前記目標進退移動位置記憶手段
に記憶されている同一時点の目標進退移動位置と比較し
て各時点の誤差を求め、求めた各時点の誤差の大きさを
比較してワーク1回転ごとの誤差最大値を検出する手段
(第2検出手段という)と、検出されたワーク1回転ご
との誤差最大値を比較してその増減を判断する手段(判
断手段という)とを有することを特徴とする。
According to a fourth aspect of the present invention, in the cam grinding apparatus according to the first, second or third aspect, the setting means preliminarily sets the present position of the work detected by the work position detecting means. A means for generating a work 1 rotation detection signal in comparison with the set origin position (referred to as a first detection means), and a current position detected by the advancing / retreating movement position detection means each time the work 1 rotation detection signal is input. The advancing / retreating movement position is compared with the target advancing / retreating movement position at the same time point stored in the target advancing / retreating movement position storage means to obtain the error at each time point, and the magnitude of the obtained error at each time point is compared to perform one work revolution Means for detecting the maximum error value for each rotation (referred to as second detection means) and means for comparing the detected maximum error value for each one rotation of the workpiece to determine increase / decrease (referred to as determination means). Characterized in that it.

【0019】[0019]

【作用】上記のように構成された請求項1記載のカム研
削装置にあっては、フィードバック制御によりワークお
よび砥石を回転させながらワークの回転軸に対し直角方
向に相対的に進退移動させる際に、補正値算出手段は、
ワーク位置検出手段によって検出されたワークの現在位
置に相当する目標位置をワーク目標位置記憶手段に記憶
されているデータの中から検索し、検索したワークの目
標位置に対応する同一時点の目標進退移動位置を目標進
退移動位置記憶手段から読み取り、読み取った目標進退
移動位置を進退移動位置検出手段によって検出された現
在の進退移動位置と比較して誤差を求め、求めた誤差か
ら対応する時点の目標進退移動位置に対する次回の補正
値を算出する。この補正値算出手段で算出された補正値
は、所定のルールに従って第1選択手段によって選択さ
れた補正値記憶手段に、対応する時点ごとに格納され
る。制御手段は、目標進退移動位置記憶手段に記憶され
ている目標進退移動位置を所定のルールに従って第2選
択手段によって選択された補正値記憶手段に記憶されて
いる同一時点の補正値に基づいて補正し、補正した目標
進退移動位置を目標値としてワークと砥石間の進退移動
位置を制御する。そして、ワーク1回転ごとのワークと
砥石間の進退移動位置の誤差最大値の大きさが減少から
増加に転じると設定手段は前回の補正値データを選択す
べき信号を第2選択手段に出力し、制御手段は、前回の
補正値データ、つまりワーク1回転ごとの誤差最大値の
大きさが最小となった時の補正値データを用いて以降の
制御を行う。このように、ワーク1回転ごとの誤差最大
値の大きさが最小となった時の補正値データを用いて以
降の制御を行うので、早く誤差を小さくするためゲイン
の値を大きくとった場合でも以降の誤差の増加を防ぐこ
とができ、迅速かつ正確にカム形状を形成することがで
きる。逆に言えば、加工精度を損なうことがないためゲ
インの値を大きくとれるので早く誤差を小さくすること
ができ、カムの研削加工における加工時間と加工精度の
両立が図られる。
In the cam grinding apparatus according to claim 1 configured as described above, when the workpiece and the grindstone are rotated by the feedback control, the workpiece and the grindstone are moved forward and backward relative to the rotation axis of the workpiece. , The correction value calculation means,
The target position corresponding to the current position of the work detected by the work position detection means is searched from the data stored in the work target position storage means, and the target forward / backward movement at the same time corresponding to the searched target position of the work is performed. The position is read from the target advancing / retreating moving position storage means, the read target advancing / retreating moving position is compared with the current advancing / retreating moving position detected by the advancing / retreating moving position detecting means to obtain an error, and the target advancing / retreating at the corresponding time is calculated from the obtained error. The next correction value for the moving position is calculated. The correction value calculated by the correction value calculation means is stored in the correction value storage means selected by the first selection means according to a predetermined rule at each corresponding time point. The control means corrects the target advancing / retreating movement position stored in the target advancing / retreating movement position storage means based on the correction value at the same time point stored in the correction value storage means selected by the second selecting means according to a predetermined rule. Then, the forward / backward movement position between the work and the grindstone is controlled with the corrected target forward / backward movement position as the target value. Then, when the maximum error value of the forward / backward movement position between the work and the grindstone for each rotation of the work changes from decreasing to increasing, the setting means outputs the signal for selecting the previous correction value data to the second selecting means. The control means performs the subsequent control by using the previous correction value data, that is, the correction value data when the magnitude of the maximum error value per one rotation of the work becomes the minimum. As described above, since the subsequent control is performed using the correction value data when the magnitude of the maximum error value per one rotation of the work becomes the minimum, even if the gain value is increased to quickly reduce the error, It is possible to prevent an increase in error thereafter and form the cam shape quickly and accurately. In other words, since the machining accuracy is not impaired and the gain value can be large, the error can be quickly reduced, and both the machining time and the machining accuracy in the grinding process of the cam can be achieved.

【0020】また、請求項2記載のカム研削装置にあっ
ては、設定手段は、さらに、ワーク1回転ごとの進退移
動位置の誤差最大値の大きさが減少から増加に転じたと
きに学習終了信号を第1選択手段に出力する。これによ
り、第1選択手段は、補正手段と複数の補正値記憶手段
とを非接続状態とし、以降は、補正値算出手段で算出さ
れた補正値は、どの補正値記憶手段にも記憶されなくな
る。すなわち、ワーク1回転ごとの誤差最大値の大きさ
が減少から増加に転じた時点で学習を停止し、ワーク1
回転ごとの誤差最大値の大きさが最小となる補正値デー
タを決定するので、無駄な学習をさせずに済むととも
に、学習を続行することによる補正値データ更新のおそ
れもなくなる。
Further, in the cam grinding apparatus according to the second aspect, the setting means further ends the learning when the maximum error value of the forward / backward movement position for each rotation of the work piece starts to decrease and then increases. The signal is output to the first selecting means. As a result, the first selection unit disconnects the correction unit and the plurality of correction value storage units, and thereafter, the correction value calculated by the correction value calculation unit is not stored in any correction value storage unit. . That is, the learning is stopped at the time when the maximum error value per rotation of the work changes from decreasing to increasing.
Since the correction value data that minimizes the maximum error value for each rotation is determined, useless learning can be avoided and there is no fear of updating the correction value data due to continuing learning.

【0021】また、請求項3記載のカム研削装置にあっ
ては、設定手段は、ワーク1回転ごとの進退移動位置の
誤差最大値の大きさが減少から増加に転じたときに、ワ
ーク1回転ごとの誤差最大値の最小値が任意に設定され
た目標精度以内であるときに所定の信号(前回の補正値
データ選択信号、学習終了信号)を発生するので、少な
くとも一定の加工精度は確保することができる。
Further, in the cam grinding apparatus according to the third aspect of the present invention, the setting means makes one rotation of the work when the magnitude of the maximum error value of the forward / backward movement position per one rotation of the work changes from decrease to increase. Since a predetermined signal (previous correction value data selection signal, learning end signal) is generated when the minimum value of the maximum error for each is within the arbitrarily set target accuracy, at least a certain processing accuracy is secured. be able to.

【0022】また、請求項4記載のカム研削装置にあっ
ては、設定手段において、第1検出手段は、ワーク位置
検出手段によって検出されたワークの現在位置をあらか
じめ設定された原点位置と比較してワーク1回転検出信
号を発生し、第2検出手段は、第1検出手段からワーク
1回転検出信号を入力するごとに、進退移動位置検出手
段によって検出された現在の進退移動位置を目標進退移
動位置記憶手段に記憶されている同一時点の目標進退移
動位置と比較して各時点の誤差を求め、求めた各時点の
誤差の大きさを比較してワーク1回転ごとの誤差最大値
を検出する。判断手段は、第2検出手段によって検出さ
れたワーク1回転ごとの誤差最大値を比較してその増減
を判断する。このようにして、設定手段は、ワーク1回
転ごとの進退移動位置の誤差最大値の大きさが減少から
増加に転じたかどうかを判定することができる。
Further, in the cam grinding apparatus according to the fourth aspect, in the setting means, the first detecting means compares the current position of the work detected by the work position detecting means with a preset origin position. To generate a workpiece 1 rotation detection signal, and the second detection means sets the current forward / backward movement position detected by the forward / backward movement position detection means to the target forward / backward movement every time the workpiece 1 rotation detection signal is input from the first detection means. The error at each time point is calculated by comparing with the target advancing / retreating movement position at the same time point stored in the position storage means, and the magnitude of the error at each time point is compared to detect the maximum error value for each rotation of the work. . The judging means compares the maximum error values for each rotation of the work detected by the second detecting means and judges whether the error increases or decreases. In this way, the setting means can determine whether or not the magnitude of the maximum error value of the advancing / retreating movement position for each rotation of the work piece has changed from decreasing to increasing.

【0023】[0023]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。図1は本発明にかかるカム研削装置の制御系のブ
ロック図である。この制御系の基本構成は、C軸および
X軸をそれぞれフィードバック制御する点までは図6お
よび図7に示した従来のものと同一である。なお、図5
〜図7と共通する部分には同一の符号を付してある。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a control system of a cam grinding device according to the present invention. The basic configuration of this control system is the same as that of the conventional one shown in FIGS. 6 and 7 up to the point of feedback controlling the C-axis and the X-axis, respectively. Note that FIG.
The parts common to those in FIG. 7 are designated by the same reference numerals.

【0024】まず、この制御系が適用されるカム研削装
置の全体の概略構成は、図5に示したものと同様であ
る。すなわち、主軸1にはワークとしての被研削物であ
るカム2が固定して取り付けられ、カム回転用モータ
(C軸モータ)3によって回転駆動される。一方、カム
2を研削加工する加工工具としての砥石5は、砥石回転
用モータ4によって、たとえばカム2の回転方向と同一
方向に高速で回転駆動される。これら砥石5および砥石
回転用モータ4はスライダー7に取り付けられている。
このスライダー7はスライダー移動用モータ(X軸モー
タ)6によってカム2の回転軸に対して直角方向に進退
移動自在となっている。つまり、本実施例では、カム2
に対して砥石5をスライダー7により進退移動させるよ
うにしている。主軸1に取り付けられたカム2はその加
工に際して回転駆動されるが、カム2は主軸1に対して
偏心した回転となるので、砥石5がカム2のプロフィー
ルに倣って研削を行うには、主軸1(またはカム2)の
回転角度に対してスライダー7を進退移動させる必要が
ある。このカム2の回転角度とこのカム2の回転角度に
対するスライダー7の進退移動量はあらかじめ設定され
た位置関係となるように正確に制御する必要があるが、
この制御は制御装置8によってC軸モータ2およびX軸
モータ5を制御することによって行われる。もちろん砥
石回転用モータ4もまた制御装置8によって制御され
る。なお、本実施例では、上記のようにカム2と砥石5
を同一方向に回転させているが、両者の回転方向は必ず
しも同一方向である必要はない。
First, the overall schematic structure of the cam grinding apparatus to which this control system is applied is the same as that shown in FIG. That is, a cam 2 which is an object to be ground as a work is fixedly attached to the main shaft 1 and is rotationally driven by a cam rotation motor (C-axis motor) 3. On the other hand, the grindstone 5 as a processing tool for grinding the cam 2 is rotationally driven at a high speed in the same direction as the rotating direction of the cam 2 by the grindstone rotating motor 4, for example. The grindstone 5 and the grindstone rotation motor 4 are attached to a slider 7.
The slider 7 is movable by a slider moving motor (X-axis motor) 6 in a direction perpendicular to the rotation axis of the cam 2. That is, in this embodiment, the cam 2
On the other hand, the grindstone 5 is moved back and forth by the slider 7. The cam 2 attached to the spindle 1 is driven to rotate during machining, but since the cam 2 is eccentrically rotated with respect to the spindle 1, the grindstone 5 follows the profile of the cam 2 to perform grinding. It is necessary to move the slider 7 forward and backward with respect to the rotation angle of 1 (or the cam 2). It is necessary to accurately control the rotation angle of the cam 2 and the amount of advance / retreat movement of the slider 7 with respect to the rotation angle of the cam 2 so as to have a preset positional relationship.
This control is performed by the control device 8 controlling the C-axis motor 2 and the X-axis motor 5. Of course, the grindstone rotating motor 4 is also controlled by the controller 8. In this embodiment, the cam 2 and the grindstone 5 are used as described above.
Although they are rotated in the same direction, the rotation directions of both do not necessarily have to be the same direction.

【0025】次に、図1を参照して制御装置8を中心と
した制御系の構成を説明する。なお、図6および図7に
示す従来のものと共通する部分については簡単に説明す
るにとどめる。
Next, the structure of the control system centering on the control device 8 will be described with reference to FIG. It should be noted that the portions common to the conventional one shown in FIGS. 6 and 7 will be briefly described.

【0026】主軸1に固定して取り付けられたカム2は
C軸モータ3によって回転する。このC軸モータ3の回
転角度はパルス発生器17から出力されたパルス数に基
づいて算出される。パルス発生器17からのパルスはC
軸位置カウンタ19によってカウントされる。したがっ
て、C軸位置カウンタ19でカウントされたパルス数を
参照すれば、主軸1(またはカム2)が原点位置(C軸
位置カウンタ19の値がゼロの時の位置)からどの程度
の角度回転したか、つまりカム2の現在の回転位置を検
知することができる。C軸位置カウンタ19で検知され
たカム2の現在の位置データは制御部11、補正部2
1、および後述するC軸1回転検出部に出力される。な
お、ワーク位置検出手段はパルス発生器17とC軸位置
カウンタ19によって構成されている。
A cam 2 fixedly attached to the main shaft 1 is rotated by a C-axis motor 3. The rotation angle of the C-axis motor 3 is calculated based on the number of pulses output from the pulse generator 17. The pulse from the pulse generator 17 is C
It is counted by the axis position counter 19. Therefore, referring to the number of pulses counted by the C-axis position counter 19, the main shaft 1 (or the cam 2) is rotated by what angle from the origin position (the position when the value of the C-axis position counter 19 is zero). That is, the current rotational position of the cam 2 can be detected. The current position data of the cam 2 detected by the C-axis position counter 19 is the control unit 11 and the correction unit 2.
1 and a C-axis single-rotation detecting unit described later. The work position detecting means is composed of a pulse generator 17 and a C-axis position counter 19.

【0027】カム2は偏心しているので、これを研削加
工する場合には、カム2を研削する砥石5をカム形状に
倣って往復運動させる必要がある。この砥石5を載置し
たスライダー7をカム研削中に往復運動させるのがX軸
モータ6である。このX軸モータ6の回転角度はパルス
発生器18から出力されたパルス数に基づいて算出され
る。パルス発生器18からのパルスはX軸位置カウンタ
20によってカウントされる。したがって、X軸位置カ
ウンタ20でカウントされたパルス数を参照すれば、ス
ライダー7の現在の進退移動位置を検知することができ
る。X軸位置カウンタ20で検知されたスライダー7の
現在の位置データは制御部11、補正部21、および後
述する誤差最大値検出部に出力される。なお、進退移動
位置検出手段はパルス発生器18とX軸位置カウンタ2
0によって構成されている。
Since the cam 2 is eccentric, when grinding the cam 2, it is necessary to reciprocate the grindstone 5 for grinding the cam 2 following the cam shape. The X-axis motor 6 reciprocates the slider 7 on which the grindstone 5 is placed during cam grinding. The rotation angle of the X-axis motor 6 is calculated based on the number of pulses output from the pulse generator 18. The pulses from the pulse generator 18 are counted by the X-axis position counter 20. Therefore, by referring to the number of pulses counted by the X-axis position counter 20, the current moving position of the slider 7 can be detected. The current position data of the slider 7 detected by the X-axis position counter 20 is output to the control unit 11, the correction unit 21, and the maximum error value detection unit described later. The advancing / retreating movement position detecting means includes a pulse generator 18 and an X-axis position counter 2.
It is composed of 0s.

【0028】C軸データメモリ12には、あらかじめ設
定された主軸1(またはカム2)の原点位置からの時刻
ごとの目標回転角度に関するデータが目標位置データと
して記憶されている。このC軸データメモリ12は制御
部11と補正部21にそれぞれ接続されている。また、
X軸データメモリ13には、あらかじめ設定されたスラ
イダー7の原点位置からの時刻ごとの目標進退移動位置
に関するデータが目標位置データとして記憶されてい
る。このX軸データメモリ13は制御部11、補正部2
1、および後述する誤差最大値検出部にそれぞれ接続さ
れている。時刻カウンタ14は時刻のカウントを行うも
のであって、このカウント値は制御部11に入力され、
カム2の原点位置からの回転角度とスライダー7の原点
位置からの送り位置との同期をとるために使用される。
なお、ワーク目標位置記憶手段はC軸データメモリ1
2、目標進退移動位置記憶手段はX軸データメモリ13
によってそれぞれ構成されている。
The C-axis data memory 12 stores, as target position data, data relating to a target rotation angle for each time from the preset origin position of the spindle 1 (or cam 2). The C-axis data memory 12 is connected to the control unit 11 and the correction unit 21, respectively. Also,
The X-axis data memory 13 stores, as target position data, data relating to a target advance / retreat movement position for each time from the preset origin position of the slider 7. The X-axis data memory 13 includes a control unit 11 and a correction unit 2.
1 and a maximum error value detection unit described later, respectively. The time counter 14 counts time, and this count value is input to the control unit 11,
It is used to synchronize the rotation angle of the cam 2 from the origin position and the feed position of the slider 7 from the origin position.
The work target position storage means is the C-axis data memory 1
2. The target advancing / retreating movement position storage means is the X-axis data memory 13
Each is composed of.

【0029】補正部21は、補正値算出手段として機能
するものであって、C軸位置カウンタ19からカム2の
現在の回転角度を入力し、この入力したカム2の現在の
回転角度に相当する目標回転角度をC軸データメモリ1
2に記憶されている時刻ごとの目標位置データの中から
検索し、この検索したカム2の目標位置に対応する同一
時刻のスライダー7の目標進退移動位置をX軸データメ
モリ13から読み取り、この読み取った目標進退移動位
置をX軸位置カウンタ20から出力されたスライダー7
の現在の進退移動位置と比較して誤差(偏差)を求め、
この求めた誤差から所定の補正関数によって補正値を算
出する。この補正部21において補正値を求める補正関
数部は、従来と同様、図7に示すように、X軸データメ
モリ13から入力したスライダー7の目標位置データと
X軸位置カウンタ20から入力したスライダー7の現在
の位置データとの誤差(偏差)にゲインを掛けるゲイン
積算部23と、このゲイン積算部23の出力とその時に
補正に用いられている前回算出した補正値とから所定の
補正関数によって補正値を算出する繰返し補正関数部2
4とからなっている。繰返し補正関数部24で補正値の
算出に使用される前回補正値は、後述するように、補正
用メモリ選択手段によって選択されているX軸補正デー
タメモリA〜Cのいずれか1つから入力される。また、
補正部21で新たに算出された補正値は、後述するよう
に、時刻カウンタ14から出力される時刻に対応させ
て、学習用メモリ選択手段によって選択されているX軸
補正データメモリA〜Cのいずれか1つに格納される。
The correction unit 21 functions as a correction value calculation means, receives the current rotation angle of the cam 2 from the C-axis position counter 19, and corresponds to the input current rotation angle of the cam 2. Target rotation angle is C axis data memory 1
2 is searched from the target position data for each time stored in 2, and the target forward / backward moving position of the slider 7 at the same time corresponding to the searched target position of the cam 2 is read from the X-axis data memory 13 and read. The slider 7 that outputs the target forward / backward movement position from the X-axis position counter 20
The error (deviation) is calculated by comparing with the current moving position of
A correction value is calculated from the obtained error by a predetermined correction function. As in the conventional case, the correction function unit for obtaining the correction value in the correction unit 21 is, as shown in FIG. 7, the target position data of the slider 7 input from the X-axis data memory 13 and the slider 7 input from the X-axis position counter 20. A gain integration unit 23 that multiplies an error (deviation) from the current position data of the gain by a gain, and a predetermined correction function that corrects the output of the gain integration unit 23 and the previously calculated correction value used for correction at that time. Iterative correction function unit 2 for calculating values
It consists of 4. The previous correction value used in the iterative correction function unit 24 to calculate the correction value is input from any one of the X-axis correction data memories A to C selected by the correction memory selecting means, as described later. It Also,
The correction value newly calculated by the correction unit 21 corresponds to the time output from the time counter 14 in the X-axis correction data memories A to C selected by the learning memory selection unit, as described later. It is stored in either one.

【0030】また、制御部11は、制御手段として機能
するものであって、工程管理などを行う外部制御装置1
0から研削開始指令を入力すると、C軸データメモリ1
2およびX軸データメモリ13から時刻カウンタ14が
出力する時刻に対応する目標位置データをそれぞれ入力
し、入力したそれぞれの目標位置データに基づいてC軸
サーボアンプ15およびX軸サーボアンプ16を介して
C軸モータ3およびX軸モータ6をそれぞれフィードバ
ック制御する。すなわち、C軸位置カウンタ19からカ
ム2の現在の回転角度を入力するとともにX軸位置カウ
ンタ20からスライダー7の現在の進退移動位置を入力
し、これら入力した現在の位置データを対応する目標位
置データと比較し、これらを一致させるようにC軸モー
タ3およびX軸モータ6をそれぞれ制御する。このと
き、X軸モータ6を作動させてスライダー7を移動させ
る際には、時刻カウンタ14から出力される現在の時刻
に対応する目標位置データをX軸データメモリ13から
読み取り、この読み取った目標位置データに対応する時
刻の補正値を加算して目標位置データを補正し、この補
正した目標位置データに基づいて、上記したようにX軸
サーボアンプ16を介してX軸モータ6をフィードバッ
ク制御するようになっている。なお、ここで、目標位置
データの補正に使用される補正値は、後述するように、
補正用メモリ選択手段によって選択されているX軸補正
データメモリA〜Cのいずれか1つに記憶されている補
正値が用いられる。こうして、制御部11は、カム2の
回転角度およびスライダー7に取り付けられた砥石5の
送り量を、カム形状に倣いつつ所定の切込量で研削加工
できるように制御するのである。
The control unit 11 also functions as a control means, and is an external control device 1 for performing process management and the like.
When a grinding start command is input from 0, C-axis data memory 1
2 and the target position data corresponding to the time output from the time counter 14 from the X-axis data memory 13, respectively, and based on the respective input target position data, via the C-axis servo amplifier 15 and the X-axis servo amplifier 16. Feedback control is performed on the C-axis motor 3 and the X-axis motor 6, respectively. That is, the current rotation angle of the cam 2 is input from the C-axis position counter 19, the current forward / backward movement position of the slider 7 is input from the X-axis position counter 20, and these input current position data are used as corresponding target position data. Then, the C-axis motor 3 and the X-axis motor 6 are controlled so as to match them. At this time, when operating the X-axis motor 6 to move the slider 7, the target position data corresponding to the current time output from the time counter 14 is read from the X-axis data memory 13, and the read target position is read. The correction value of the time corresponding to the data is added to correct the target position data, and the X-axis motor 6 is feedback-controlled via the X-axis servo amplifier 16 based on the corrected target position data as described above. It has become. Note that, here, the correction value used for correcting the target position data is, as will be described later,
The correction value stored in any one of the X-axis correction data memories A to C selected by the correction memory selecting means is used. In this way, the control unit 11 controls the rotation angle of the cam 2 and the feed amount of the grindstone 5 attached to the slider 7 so that grinding can be performed with a predetermined cut amount while following the cam shape.

【0031】このように、時刻カウンタ14から出力さ
れる時刻に対してあらかじめ設定されているスライダー
7の目標位置データをカム2の動作(回転角度)を基準
として繰り返し補正し、補正した目標位置データにより
X軸モータ6を制御することによって、砥石5の動作
(送り量)がカム2の動作(回転角度)に合うように補
正されるので、カム2と砥石5との位置関係が相対的に
補正され、正確にカム形状を形成することができる。
In this way, the target position data of the slider 7 set in advance for the time output from the time counter 14 is repeatedly corrected with the operation (rotation angle) of the cam 2 as a reference, and the corrected target position data is obtained. By controlling the X-axis motor 6 by means of, the operation (feed amount) of the grindstone 5 is corrected to match the operation (rotation angle) of the cam 2, so that the positional relationship between the cam 2 and the grindstone 5 is relatively large. The cam shape can be corrected and accurately formed.

【0032】本実施例では、補正部21で算出された補
正値は、補正値記憶手段としての3つのX軸補正メモリ
A30、B31、C32のいずれか1つに記憶される。
いずれのX軸補正メモリA〜C30〜32に記憶させる
かは、たとえば切替スイッチからなる学習用メモリ選択
手段33によって選択される。この学習用メモリ選択手
段33には、補正部21とメモリ30〜32を非接続状
態とするためのオフ接点が設けられている。学習用メモ
リ選択手段33内のスイッチ位置は学習用メモリ決定部
34によって機械的に切り替えられる。学習用メモリ決
定部34によるメモリ選択のルールについては後述す
る。なお、第1選択手段は学習用メモリ選択手段33と
学習用メモリ決定部34によって構成されている。
In this embodiment, the correction value calculated by the correction unit 21 is stored in any one of the three X-axis correction memories A30, B31, C32 as the correction value storage means.
Which of the X-axis correction memories A to C30 to 32 is to be stored is selected by the learning memory selection unit 33 including a changeover switch, for example. The learning memory selection unit 33 is provided with an OFF contact for disconnecting the correction unit 21 and the memories 30 to 32. The switch position in the learning memory selection means 33 is mechanically switched by the learning memory determination unit 34. The rule of memory selection by the learning memory determination unit 34 will be described later. The first selecting unit is composed of the learning memory selecting unit 33 and the learning memory determining unit 34.

【0033】また、X軸モータ6を作動させる際に制御
部11で用いられる補正値は、3つのX軸補正メモリA
〜C30〜32のいずれか1つから入力されるが、いず
れのX軸補正メモリA〜C30〜32を選択するかは、
たとえば切替スイッチからなる補正用メモリ選択手段3
5によって選択される。この補正用メモリ選択手段35
内のスイッチ位置は補正用メモリ決定部36によって機
械的に切り替えられる。補正用メモリ決定部36による
メモリ選択のルールについては後述する。なお、第2選
択手段は補正用メモリ選択手段35と補正用メモリ決定
部36によって構成されている。
The correction values used by the control unit 11 when operating the X-axis motor 6 are three X-axis correction memories A.
Is input from any one of C30 to C32, which X-axis correction memory A to C30 to 32 is selected.
For example, the correction memory selection means 3 including a changeover switch
Selected by 5. This correction memory selection means 35
The switch position inside is mechanically switched by the correction memory determination unit 36. The rule of memory selection by the correction memory determination unit 36 will be described later. The second selecting unit is composed of the correcting memory selecting unit 35 and the correcting memory determining unit 36.

【0034】本実施例では、どのX軸補正メモリA〜C
30〜32を選択するかを設定するために、設定手段と
して、C軸1回転検出部37、誤差最大値検出部38、
誤差最大値記憶部39、誤差増減判断部40、および目
標精度設定部41が設けられている。C軸1回転検出部
37は、C軸位置カウンタ19からカム2(C軸)の現
在の位置データを入力し、この入力したデータをあらか
じめ設定されている原点位置のデータと比較してカム2
(C軸)が1回転した旨の信号(1回転検出信号)を発
生する。C軸1回転検出部37で発生した1回転検出信
号は、誤差最大値検出部38のほか学習用メモリ決定部
34および補正用メモリ決定部36に出力される。誤差
最大値検出部38は、C軸1回転検出部37から1回転
検出信号、X軸位置カウンタ20からスライダー7(X
軸)の現在の位置データ、およびX軸データメモリ13
から対応する時刻におけるスライダー7(X軸)の目標
位置データをそれぞれ入力し、1回転検出信号を入力す
るごとに、つまりカム2が1回転する間、X軸位置カウ
ンタ20から入力した現在の位置データをX軸データメ
モリ13から入力した対応する時刻の目標位置データと
比較して各時刻の誤差(偏差)を計算し、求めた各時刻
の誤差(偏差)の大きさ(たとえば、絶対値)を比較し
て1回転ごとの誤差最大値を検出する。誤差最大値記憶
部39は、誤差最大値検出部38から出力された1回転
ごとの誤差最大値の大きさを学習回数(つまり、カム2
の回転回数)に対応させて記憶する。誤差増減判断部4
0は、誤差最大値記憶部39から各学習回数での誤差最
大値の大きさを読み取り、読み取った前後のデータを比
較することによって誤差最大値の増減を判断し、1回転
ごとの誤差最大値の大きさが単調減少から増加に転じ、
かつ、前回(つまり、誤差最大値が最小となったとき)
の1回転の誤差最大値が目標精度設定部41によって任
意に設定された目標精度以内であるときに、その前回の
学習回数データと学習終了信号をそれぞれ補正用メモリ
決定部36および学習用メモリ決定部34に出力する。
なお、本実施例では、1回転ごとの誤差最大値の絶対値
を記憶しそれの増減を判断するようにしているが、これ
に限られるわけではなく、1回転ごとの誤差最大値の大
きさとしては1回転ごとの誤差最大値の二乗を用いるよ
うにしてもよい。
In this embodiment, which X-axis correction memories A to C are used.
In order to set whether to select 30 to 32, as a setting means, a C-axis single rotation detection unit 37, an error maximum value detection unit 38,
An error maximum value storage unit 39, an error increase / decrease determination unit 40, and a target accuracy setting unit 41 are provided. The C-axis 1 rotation detection unit 37 inputs the current position data of the cam 2 (C-axis) from the C-axis position counter 19, compares the input data with the preset origin position data, and outputs the data of the cam 2 to the cam 2.
A signal indicating that the (C-axis) has rotated once (one-rotation detection signal) is generated. The one-rotation detection signal generated by the C-axis one-rotation detecting unit 37 is output to the maximum error detecting unit 38, the learning memory determining unit 34, and the correcting memory determining unit 36. The maximum error value detection unit 38 detects the single rotation detection signal from the C-axis single rotation detection unit 37 and the X-axis position counter 20 to the slider 7 (X
(Axis) current position data and X-axis data memory 13
The target position data of the slider 7 (X-axis) at the corresponding time are input respectively, and the current position input from the X-axis position counter 20 is input each time one rotation detection signal is input, that is, while the cam 2 makes one rotation. The error (deviation) at each time is calculated by comparing the data with the target position data at the corresponding time input from the X-axis data memory 13, and the magnitude of the error (deviation) at each time obtained (for example, absolute value) And the maximum error value for each rotation is detected. The maximum error value storage unit 39 learns the magnitude of the maximum error value for each rotation output from the maximum error value detection unit 38 by the number of times of learning (that is, the cam 2
The number of rotations is stored. Error increase / decrease determination unit 4
The value 0 indicates that the maximum error value at each learning number is read from the maximum error value storage unit 39 and the increase and decrease of the maximum error value is determined by comparing the data before and after the reading, and the maximum error value for each rotation is determined. The magnitude of the change from monotonous decrease to increase,
And last time (that is, when the maximum error value becomes the minimum)
When the error maximum value of one rotation of is within the target accuracy arbitrarily set by the target accuracy setting unit 41, the previous learning count data and the learning end signal are respectively set to the correction memory determination unit 36 and the learning memory determination. It is output to the unit 34.
In the present embodiment, the absolute value of the maximum error value for each rotation is stored and the increase / decrease thereof is determined, but the present invention is not limited to this, and the magnitude of the maximum error value for each rotation is not limited to this. For this, the square of the maximum error value for each rotation may be used.

【0035】学習用メモリ決定部34および補正用メモ
リ決定部36は、誤差増減判断部40の出力信号を入力
するまでは、C軸1回転検出部37からの1回転検出信
号に同期して、各X軸補正メモリ30〜32をA→B→
C→Aの順に循環して選択するようにプログラムされて
いる。ただし、今回学習した補正値データを次回補正用
として用いるため、補正用のメモリは学習用のメモリよ
りも1回遅れになっている(図3参照)。このような各
メモリ決定部34、36の決定によって各メモリ選択手
段33、35はそれぞれX軸補正メモリを選択する。そ
の後、学習用メモリ決定部34は、誤差増減判断部40
から学習終了信号を入力すると、学習用メモリ選択手段
33をオフ位置に切り替え、メモリに非接続とする。ま
た、補正用メモリ決定部36は、誤差増減判断部40か
ら誤差最大値が最小となる学習回数データを入力する
と、その学習回数に相当する補正データメモリを選択す
るように補正用メモリ選択手段35を切り替え、以降、
この状態を維持する。
The learning memory determination unit 34 and the correction memory determination unit 36 are synchronized with the one rotation detection signal from the C-axis one rotation detection unit 37 until the output signal of the error increase / decrease determination unit 40 is input. Change each X-axis correction memory 30-32 from A → B →
The program is programmed so as to cycle through C → A and select. However, since the correction value data learned this time is used for the next correction, the correction memory is one time behind the learning memory (see FIG. 3). The memory selection means 33 and 35 select the X-axis correction memories by the determination of the memory determination units 34 and 36. After that, the learning memory determination unit 34 determines the error increase / decrease determination unit 40.
When the learning end signal is input from, the learning memory selection unit 33 is switched to the off position and is disconnected from the memory. Further, when the correction memory determination unit 36 receives the learning number data having the minimum error maximum value from the error increase / decrease determination unit 40, the correction memory selection unit 35 selects the correction data memory corresponding to the learning number. Switch, and then
Keep this state.

【0036】次に、以上のように構成されたカム研削装
置におけるX軸補正メモリの選択処理を図2のフローチ
ャートを参照して説明する。外部制御装置10から加工
を開始すべき旨の指令信号が入力されると、初期設定と
して、学習用および補正用のX軸補正データメモリを所
定のメモリにそれぞれ選択するとともに、各パラメータ
N(学習回数)とM(目標精度未到達回数)の値をそれ
ぞれゼロにリセットし(ステップS1)、誤差最大値検
出部38で、時刻カウンタ14が出力する各時刻におけ
る誤差を算出する(ステップS2)。この各時刻におけ
る誤差の算出は、上記のように、X軸位置カウンタ20
から入力した現在の位置データをX軸データメモリ13
から入力した対応する時刻の目標位置データと比較し、
偏差を求めることによって得られる。ステップS2の処
理は、カム2(C軸)が1回転する間繰り返される(ス
テップS3)。カム2(C軸)が1回転したかどうか
は、C軸1回転検出部37から1回転検出信号を入力し
たかどうかによって判断される。
Next, the selection processing of the X-axis correction memory in the cam grinding device configured as described above will be described with reference to the flowchart of FIG. When a command signal indicating that machining should be started is input from the external control device 10, X-axis correction data memories for learning and correction are selected as predetermined memories as initial settings, and each parameter N (learning) is selected. The number of times and the number of times M (the number of times target accuracy has not been reached) are reset to zero (step S1), and the error maximum value detection unit 38 calculates the error at each time output by the time counter 14 (step S2). The calculation of the error at each time is performed by the X-axis position counter 20 as described above.
The current position data input from the X-axis data memory 13
Compared with the target position data of the corresponding time input from
It is obtained by finding the deviation. The process of step S2 is repeated while the cam 2 (C axis) makes one rotation (step S3). Whether or not the cam 2 (C-axis) makes one rotation is determined by whether or not a one-rotation detection signal is input from the C-axis / one-rotation detection unit 37.

【0037】ステップS3でカム2(C軸)が1回転し
たと判断されると、誤差最大値検出部38では、ステッ
プS2で求めた1回転の間の各時刻の誤差の大きさ(絶
対値)を比較し、当該1回転における誤差最大値を検出
する(ステップS4)。ステップS4で検出された誤差
最大値は、学習回数Nの値に対応させて誤差最大値記憶
部39に記憶する(ステップS5)。
When it is determined in step S3 that the cam 2 (C-axis) has made one rotation, the maximum error value detection section 38 determines the magnitude of the error (absolute value) at each time during one rotation obtained in step S2. ) Are compared, and the maximum error value in the one rotation is detected (step S4). The maximum error value detected in step S4 is stored in the maximum error value storage unit 39 in association with the value of the learning count N (step S5).

【0038】それから、誤差増減判断部40で、誤差最
大値記憶部39に記憶されている今回の誤差最大値を前
回の誤差最大値と比較し、誤差最大値の大きさが増加し
たかどうかを判断する(ステップS6)。この判断の結
果として誤差最大値の大きさが増加していなければ、学
習回数Nの値を1だけインクリメントし(ステップS
7)、学習用メモリ決定部34の決定によって学習用メ
モリ選択手段33を介して学習用のX軸補正データメモ
リを次の順番のメモリに切り替えるとともに、補正用メ
モリ決定部36の決定によって補正用メモリ選択手段3
5を介して補正用のX軸補正データメモリを次の順番の
メモリに切り替え(ステップS8)、ステップS2に戻
る。
Then, the error increase / decrease judgment unit 40 compares the current error maximum value stored in the error maximum value storage unit 39 with the previous error maximum value, and determines whether or not the size of the error maximum value has increased. It is determined (step S6). If the magnitude of the maximum error value does not increase as a result of this determination, the value of the learning count N is incremented by 1 (step S
7) The learning memory determination unit 34 switches the learning X-axis correction data memory to the next memory through the learning memory selection unit 33, and the correction memory determination unit 36 determines the correction memory. Memory selection means 3
The X-axis correction data memory for correction is switched to the memory of the next order via 5 (step S8), and the process returns to step S2.

【0039】これに対し、ステップS6の判断の結果と
して誤差最大値の大きさが増加していれば、前回の1回
転の誤差最大値は最小であると判断し、さらに、その誤
差最大値の最小値が目標精度設定部41によって設定さ
れている目標精度以内であるかどうかを判断する(ステ
ップS9)。この判断の結果として目標精度以内でなけ
れば、目標精度未到達回数Mの値を1だけインクリメン
トし(ステップS10)、このM値が所定回数(たとえ
ば、2回)以上であるかどうかを判断する(ステップS
11)。この判断の結果としてM値が所定回数(2回)
以上であれば、誤差最大値が増加するのを何回も学習さ
せないために、精度エラーである旨を出力し(ステップ
S12)、さらに研削加工を停止させる信号を出力する
(ステップS13)が、M値が所定回数(2回)未満で
あれば、さらに学習を続けるべく、ステップS7に進
む。
On the other hand, if the magnitude of the error maximum value increases as a result of the determination in step S6, it is determined that the error maximum value of the previous one rotation is the minimum, and the error maximum value It is determined whether the minimum value is within the target accuracy set by the target accuracy setting unit 41 (step S9). If the result of this determination is not within the target precision, the value of the target precision unachieved number M is incremented by 1 (step S10), and it is determined whether this M value is a predetermined number of times (for example, 2 times) or more. (Step S
11). As a result of this judgment, the M value is a predetermined number of times (twice).
If it is above, in order to prevent the increase of the maximum error value from being learned many times, the fact that there is an accuracy error is output (step S12), and a signal for stopping the grinding process is output (step S13). If the M value is less than the predetermined number (twice), the process proceeds to step S7 to continue learning.

【0040】これに対し、ステップS9の判断の結果と
して目標精度以内であれば、誤差増減判断部40は、1
回転の誤差最大値が最小となる前回の学習回数データと
学習終了信号をそれぞれ補正用メモリ決定部36および
学習用メモリ決定部34に出力する(ステップS1
4)。そして、学習終了信号を入力した学習用メモリ決
定部34は、学習用メモリ選択手段33をオフ位置に切
り替え、X軸補正データメモリに非接続とする(ステッ
プS15)。また、学習回数データを入力した補正用メ
モリ決定部36は、その学習回数に相当するX軸補正デ
ータメモリを選択するように補正用メモリ選択手段35
を切り替える(ステップS16)。これにより、1回転
ごとの誤差最大値が最小となる補正値データが決定さ
れ、以降は、ステップS16で選択されたX軸補正デー
タメモリの補正値データを用いて目標位置データの補正
を行い、この補正した目標位置データに基づいてX軸モ
ータ6をフィードバック制御する。
On the other hand, if the result of determination in step S9 is within the target accuracy, the error increase / decrease determination unit 40
The previous learning count data and the learning end signal that minimize the maximum rotation error are output to the correction memory determining unit 36 and the learning memory determining unit 34, respectively (step S1).
4). Then, the learning memory determination unit 34, to which the learning end signal is input, switches the learning memory selection unit 33 to the off position and disconnects it from the X-axis correction data memory (step S15). Further, the correction memory determination unit 36, to which the learning number data is input, selects the X-axis correction data memory corresponding to the learning number so as to select the correction memory selecting unit 35.
Is switched (step S16). As a result, the correction value data that minimizes the error maximum value for each rotation is determined, and thereafter, the target position data is corrected using the correction value data of the X-axis correction data memory selected in step S16. The X-axis motor 6 is feedback-controlled based on the corrected target position data.

【0041】以上の動作を図3と図4を参照してより具
体的に説明する。たとえば、図3および図4に示すよう
に、学習回数が0回、1回、2回と増すにつれて1回転
の誤差最大値が15.1μm、6.9μm、3.2μm
と減少し、学習回数が3回目のときに1回転の誤差最大
値が4.8μmに増加したとする。目標精度設定部41
の目標精度が5μmに設定されているとすると、学習回
数が2回目のときの1回転の誤差最大値3.2μmは目
標精度をクリアしている。この場合、誤差増減判断部4
0は、学習回数が3回目の制御が終了した時点で、1回
転の誤差最大値が最小となる学習回数は2回である(N
=2)と判断し、そのデータを補正用メモリ決定部36
に出力するとともに、学習用メモリ決定部34に学習終
了信号を出力する。これを受けて、学習用メモリ選択手
段33はX軸補正データメモリに非接続となり、また、
補正用メモリ選択手段35は学習回数が2回目の時に補
正に用いたX軸補正データメモリB31を選択し、以
降、学習を行わず、X軸補正データメモリB31の補正
値データを用いて目標位置データの補正を行う。
The above operation will be described more specifically with reference to FIGS. 3 and 4. For example, as shown in FIGS. 3 and 4, as the learning number increases to 0 times, 1 time, and 2 times, the maximum error value per rotation is 15.1 μm, 6.9 μm, and 3.2 μm.
It is assumed that the error maximum value per rotation increases to 4.8 μm when the number of times of learning is the third time. Target accuracy setting unit 41
Assuming that the target accuracy is set to 5 μm, the maximum error of 3.2 μm for one rotation when the number of learning is the second, clears the target accuracy. In this case, the error increase / decrease determination unit 4
0 is the number of learning times when the maximum number of errors per rotation is the minimum when the control of the learning number is completed for the third time is 2 (N
= 2), and the data is corrected by the correction memory determination unit 36.
And a learning end signal to the learning memory determination unit 34. In response to this, the learning memory selection means 33 is disconnected from the X-axis correction data memory, and
The correction memory selection means 35 selects the X-axis correction data memory B31 used for correction when the number of times of learning is the second, and thereafter does not perform learning and uses the correction value data of the X-axis correction data memory B31 to set the target position. Correct the data.

【0042】したがって、本実施例によれば、C軸1回
転ごとの誤差最大値の大きさが最小となった時の補正値
データを用いて以降の補正を行うようにしたので、早く
誤差を小さくするため学習ゲインの値を大きくとったと
しても以降の誤差の増加を防ぐことができ、迅速かつ正
確にカム形状を形成することができる。逆に言えば、加
工精度を損なうことがないためゲインの値を大きくとれ
るので早く誤差を小さくすることができ、カム2の研削
加工における加工時間と加工精度の両立が図られる。
Therefore, according to the present embodiment, the subsequent correction is performed by using the correction value data when the magnitude of the maximum error value for each one rotation of the C-axis becomes the minimum, so that the error can be corrected quickly. Even if the value of the learning gain is increased to make it smaller, it is possible to prevent an increase in error thereafter, and to form the cam shape quickly and accurately. Conversely, since the machining accuracy is not impaired and the gain value can be increased, the error can be quickly reduced, and the machining time and the machining accuracy in the grinding of the cam 2 can be compatible.

【0043】また、本実施例では、C軸1回転ごとの誤
差最大値の大きさが減少から増加に転じた時点で学習を
停止し、C軸1回転ごとの誤差最大値の大きさが最小と
なる補正値データを決定するようにしたので、無駄な学
習をさせずに済むとともに、学習を続行することによる
補正値データ更新のおそれもなくなる。
Further, in this embodiment, the learning is stopped when the magnitude of the maximum error value for each rotation of the C-axis turns from a decrease to an increase, and the maximum magnitude of the error value for each rotation of the C-axis is minimized. Since the correction value data is determined as follows, unnecessary learning can be avoided and there is no fear of updating the correction value data due to continuing learning.

【0044】さらに、本実施例では、C軸1回転ごとの
誤差最大値の大きさが減少から増加に転じたときで、か
つ、1回転ごとの誤差最大値の最小値が任意に設定され
た目標精度以内であるときに所定の信号(前回の学習回
数データ、学習終了信号)を出力するようにしたので、
一定の加工精度を確保することができる。
Further, in the present embodiment, when the magnitude of the maximum error value for each rotation of the C-axis changes from decreasing to increasing, and the minimum value of the maximum error value for each rotation is arbitrarily set. Since a predetermined signal (previous learning count data, learning end signal) is output when it is within the target accuracy,
It is possible to secure a certain processing accuracy.

【0045】なお、本実施例にあっては、3つのX軸補
正データメモリ30〜32を設けているが、これに限定
されるわけではなく、X軸補正データメモリの設置数
は、2個以上であればよい。具体的には、切替スピー
ド、回路基板の小型化、製造コストなどを考慮して決定
されよう。
In this embodiment, three X-axis correction data memories 30 to 32 are provided, but the present invention is not limited to this, and the number of X-axis correction data memories installed is two. The above is sufficient. Specifically, it will be determined in consideration of the switching speed, the miniaturization of the circuit board, the manufacturing cost, and the like.

【0046】また、本実施例にあっては、カム2に対し
て砥石5をスライダー7により進退移動させるものを例
示したが、これに限定されるわけではなく、砥石を固定
しておきこの砥石に対してカムを進退移動させる構成の
ものであってもよいことはもちろんである。
In this embodiment, the grindstone 5 is moved forward and backward by the slider 7 with respect to the cam 2, but the present invention is not limited to this, and the grindstone is fixed and the grindstone is fixed. Needless to say, the cam may be configured to move back and forth.

【0047】[0047]

【発明の効果】以上述べたように、本発明に係る請求項
1記載のカム研削装置によれば、ワーク1回転ごとの誤
差最大値の大きさが最小となった時の補正値データを用
いて以降の制御を行うので、早く誤差を小さくするため
ゲインの値を大きくとった場合でも以降の誤差の増加を
防ぐことができ、迅速かつ正確にカム形状を形成するこ
とができる。逆に言えば、加工精度を損なうことがない
ためゲインの値を大きくとれるので早く誤差を小さくす
ることができ、カムの研削加工における加工時間と加工
精度の両立が図られる。
As described above, according to the cam grinding device of the first aspect of the present invention, the correction value data when the magnitude of the maximum error value for each rotation of the work is minimized is used. Since the subsequent control is performed, even if the value of the gain is increased in order to quickly reduce the error, it is possible to prevent the subsequent error from increasing and to form the cam shape quickly and accurately. In other words, since the machining accuracy is not impaired and the gain value can be large, the error can be quickly reduced, and both the machining time and the machining accuracy in the grinding process of the cam can be achieved.

【0048】また、請求項2記載のカム研削装置によれ
ば、ワーク1回転ごとの誤差最大値の大きさが減少から
増加に転じた時点で学習を停止し、ワーク1回転ごとの
誤差最大値の大きさが最小となる補正値データを決定す
るので、無駄な学習をさせずに済むとともに、学習を続
行することによる補正値データ更新のおそれもなくな
る。
According to the cam grinding apparatus of the second aspect, learning is stopped when the magnitude of the maximum error value per rotation of the work changes from decreasing to increasing, and the maximum error value per rotation of the work is stopped. Since the correction value data that minimizes the size of is determined, unnecessary learning can be avoided, and the risk of updating the correction value data due to continuing learning is eliminated.

【0049】また、請求項3記載のカム研削装置によれ
ば、ワーク1回転ごとの進退移動位置の誤差最大値の大
きさが減少から増加に転じたときに、ワーク1回転ごと
の誤差最大値の最小値が任意に設定された目標精度以内
であるときに所定の信号(前回の補正値データ選択信
号、学習終了信号)を発生するので、一定の加工精度を
確保することができる。
According to the cam grinding device of the third aspect, when the magnitude of the maximum error value of the advancing / retreating movement position per rotation of the work piece changes from decreasing to increasing, the maximum error value per rotation of the work piece is increased. Since a predetermined signal (previous correction value data selection signal, learning end signal) is generated when the minimum value of is within the arbitrarily set target accuracy, it is possible to ensure a certain processing accuracy.

【0050】また、請求項4記載のカム研削装置によれ
ば、設定手段を所掲のように構成したので、ワーク1回
転ごとの誤差最大値の大きさが減少から増加に転じたか
どうかを容易に判定することができる。
Further, according to the cam grinding apparatus of the fourth aspect, since the setting means is configured as described above, it is easy to determine whether or not the maximum error value per rotation of the work has changed from decreasing to increasing. Can be determined.

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

【図1】 本発明によるカム研削装置の制御系のブロッ
ク図
FIG. 1 is a block diagram of a control system of a cam grinding device according to the present invention.

【図2】 X軸補正メモリ選択処理のフローチャートFIG. 2 is a flowchart of an X-axis correction memory selection process.

【図3】 図2の処理を説明するための具体例を示す図
FIG. 3 is a chart showing a specific example for explaining the process of FIG.

【図4】 図3の具体例の結果を示すグラフ図FIG. 4 is a graph showing the results of the specific example of FIG.

【図5】 従来のカム研削装置の概略構成図FIG. 5 is a schematic configuration diagram of a conventional cam grinding device.

【図6】 従来のカム研削装置の制御系のブロック図FIG. 6 is a block diagram of a control system of a conventional cam grinding device.

【図7】 図6の補正部の内部構成を示すブロック図7 is a block diagram showing an internal configuration of a correction unit in FIG.

【図8】 ゲインによる学習回数と誤差最大値との関係
を示すグラフ図
FIG. 8 is a graph showing the relationship between the number of times of learning by gain and the maximum error value.

【符号の説明】[Explanation of symbols]

2…カム(ワーク) 3…C軸モータ 5…砥石 6…X軸モータ 7…スライダー 8…制御装置 11…制御部(制御手段) 12…C軸データメモリ(ワーク目標位置記憶手段) 13…X軸データメモリ(目標進退移動位置記憶手段) 17…パルス発生器(ワーク位置検出手段) 18…パルス発生器(進退移動位置検出手段) 19…C軸位置カウンタ(ワーク位置検出手段) 20…X軸位置カウンタ(進退移動位置検出手段) 21…補正部(補正値算出手段) 30、31、32…X軸補正データメモリ(補正値記憶
手段) 33…学習用メモリ選択手段(第1選択手段) 34…学習用メモリ決定部(第1選択手段) 35…補正用メモリ選択手段(第2選択手段) 36…補正用メモリ決定部(第2選択手段) 37…C軸1回転検出部(設定手段) 38…誤差最大値検出部(設定手段) 39…誤差最大値記憶部(設定手段) 40…誤差増減判断部(設定手段) 41…目標精度設定部(設定手段)
2 ... Cam (work) 3 ... C-axis motor 5 ... Whetstone 6 ... X-axis motor 7 ... Slider 8 ... Control device 11 ... Control unit (control means) 12 ... C-axis data memory (work target position storage means) 13 ... X Axis data memory (target advancing / retreating movement position storage means) 17 ... Pulse generator (work position detecting means) 18 ... Pulse generator (advancing / retreating movement position detecting means) 19 ... C axis position counter (work position detecting means) 20 ... X axis Position counter (advance / retreat movement position detection means) 21 ... Correction unit (correction value calculation means) 30, 31, 32 ... X-axis correction data memory (correction value storage means) 33 ... Learning memory selection means (first selection means) 34 ... learning memory determination unit (first selection unit) 35 ... correction memory selection unit (second selection unit) 36 ... correction memory determination unit (second selection unit) 37 ... C-axis single rotation detection unit (setting hand) 38) ... Maximum error value detection unit (setting unit) 39 ... Maximum error value storage unit (setting unit) 40 ... Error increase / decrease determination unit (setting unit) 41 ... Target accuracy setting unit (setting unit)

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 フィードバック制御によりワークおよび
これを研削する砥石を回転させながらワークの回転軸に
対し直角方向に相対的に進退移動させることによって所
望のカム形状を形成する際に、あらかじめ設定されたゲ
インによりワークの回転位置を基準としてワークと砥石
間の相対的な進退移動位置を回転ごとに補正するように
したカム研削装置において、 ワークの回転位置を検出するワーク位置検出手段と、 ワークと砥石間の相対的な進退移動位置を検出する進退
移動位置検出手段と、ワークの目標位置をあらかじめ定
められた時間の経過ごとに記憶するワーク目標位置記憶
手段と、 ワークと砥石間の相対的な目標進退移動位置をあらかじ
め定められた時間の経過ごとに記憶する目標進退移動位
置記憶手段と、 前記ワーク位置検出手段によって検出されたワークの現
在位置に相当する目標位置を前記ワーク目標位置記憶手
段に記憶されているデータの中から検索し、検索したワ
ークの目標位置に対応する同一時点の目標進退移動位置
を前記目標進退移動位置記憶手段から読み取り、読み取
った目標進退移動位置を前記進退移動位置検出手段によ
って検出された現在の進退移動位置と比較して誤差を求
め、求めた誤差から対応する時点の目標進退移動位置に
対する次回の補正値を算出する補正値算出手段と、 それぞれ前記補正値算出手段によって算出された補正値
を対応する時点ごとに記憶する複数の補正値記憶手段
と、 前記複数の補正値記憶手段の中から、所定のルールに従
って、前記補正値算出手段によって算出された補正値を
格納する補正値記憶手段を選択する第1選択手段と、 前記複数の補正値記憶手段の中から、所定のルールに従
って、内部に記憶されている補正値を読み取る補正値記
憶手段を選択する第2選択手段と、 ワーク1回転ごとのワークと砥石間の進退移動位置の誤
差最大値の大きさが減少から増加に転じたときに前回の
補正値データを選択すべき信号を前記第2選択手段に出
力する設定手段と、 前記目標進退移動位置記憶手段に記憶されている目標進
退移動位置を前記第2選択手段によって選択された補正
値記憶手段に記憶されている同一時点の補正値に基づい
て補正し、補正した目標進退移動位置を目標値としてワ
ークと砥石間の進退移動位置を制御する制御手段と、 を有することを特徴とするカム研削装置。
1. A preset value is set when a desired cam shape is formed by moving a work and a grindstone for grinding the work by feedback control and moving the work in a direction perpendicular to a rotation axis of the work relatively. In a cam grinding device in which the relative forward / backward movement position between the work and the grindstone is corrected for each rotation based on the work rotational position by the gain, a work position detecting means for detecting the work rotational position, and the work and the grindstone. Between the advancing / retreating movement position detecting means for detecting the relative advancing / retreating movement position between the workpiece, the workpiece target position storing means for storing the target position of the workpiece at each elapse of a predetermined time, and the relative target between the workpiece and the grindstone. Target advancing / retreating movement position storage means for storing the advancing / retreating movement position for each elapse of a predetermined time; The target position corresponding to the current position of the work detected by the step is searched from the data stored in the work target position storage means, and the target forward / backward moving position at the same time corresponding to the searched target position of the work is determined. The target advancing / retreating position read out from the target advancing / retreating moving position storage means is compared with the current advancing / retreating moving position detected by the advancing / retreating moving position detecting means to obtain an error, and the target advancing / retreating at the corresponding time point is obtained from the obtained error. Correction value calculation means for calculating the next correction value for the moving position; a plurality of correction value storage means for storing the correction values calculated by the correction value calculation means at each corresponding time point; and the plurality of correction value storages. A first selecting a correction value storage means for storing the correction value calculated by the correction value calculation means according to a predetermined rule from among the means; Selecting means, second selecting means for selecting a correction value storage means for reading the correction value stored therein according to a predetermined rule from the plurality of correction value storage means, and a work for each rotation of the work. Setting means for outputting to the second selecting means a signal for selecting the previous correction value data when the maximum error value of the advance / retreat movement position between the grindstones changes from decrease to increase; The target advancing / retreating movement position stored in the storage means is corrected based on the correction value at the same time point stored in the correction value storage means selected by the second selecting means, and the corrected target advancing / retreating movement position is set to the target value. And a control means for controlling the forward / backward movement position between the workpiece and the grindstone, and a cam grinding device.
【請求項2】 設定手段は、さらに、ワーク1回転ごと
の進退移動位置の誤差最大値の大きさが減少から増加に
転じたときに学習終了信号を前記第1選択手段に出力す
ることを特徴とする請求項1記載のカム研削装置。
2. The setting means further outputs a learning end signal to the first selecting means when the magnitude of the maximum error value of the advancing / retreating movement position for each rotation of the work piece changes from decreasing to increasing. The cam grinding device according to claim 1.
【請求項3】 設定手段は、ワーク1回転ごとの進退移
動位置の誤差最大値の大きさが減少から増加に転じたと
きに、ワーク1回転ごとの誤差最大値の最小値が任意に
設定された目標精度以内であるときに所定の信号を発生
することを特徴とする請求項1または2記載のカム研削
装置。
3. The setting means arbitrarily sets the minimum value of the maximum error value for each rotation of the work when the maximum error value of the forward / backward movement position for each rotation of the work changes from decreasing to increasing. The cam grinding device according to claim 1 or 2, wherein a predetermined signal is generated when the target accuracy is within the target accuracy.
【請求項4】 設定手段は、前記ワーク位置検出手段に
よって検出されたワークの現在位置をあらかじめ設定さ
れた原点位置と比較してワーク1回転検出信号を発生す
る手段と、 ワーク1回転検出信号を入力するごとに、前記進退移動
位置検出手段によって検出された現在の進退移動位置を
前記目標進退移動位置記憶手段に記憶されている同一時
点の目標進退移動位置と比較して各時点の誤差を求め、
求めた各時点の誤差の大きさを比較してワーク1回転ご
との誤差最大値を検出する手段と、 検出されたワーク1回転ごとの誤差最大値を比較してそ
の増減を判断する手段とを有することを特徴とする請求
項1、2、または3記載のカム研削装置。
4. The setting means compares the present position of the workpiece detected by the workpiece position detecting means with a preset origin position to generate a workpiece 1 rotation detection signal, and a workpiece 1 rotation detection signal. For each input, the current advancing / retreating position detected by the advancing / retreating moving position detecting means is compared with the target advancing / retreating moving position at the same time stored in the target advancing / retreating moving position storage means to obtain an error at each time point. ,
A means for detecting the maximum error value for each rotation of the work by comparing the magnitudes of the errors at each time point obtained and a means for comparing the detected maximum error value for each rotation of the work and determining the increase or decrease thereof. The cam grinding device according to claim 1, 2 or 3, wherein the cam grinding device is provided.
JP28471094A 1994-11-18 1994-11-18 Cam grinding equipment Expired - Fee Related JP3287146B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28471094A JP3287146B2 (en) 1994-11-18 1994-11-18 Cam grinding equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28471094A JP3287146B2 (en) 1994-11-18 1994-11-18 Cam grinding equipment

Publications (2)

Publication Number Publication Date
JPH08147017A true JPH08147017A (en) 1996-06-07
JP3287146B2 JP3287146B2 (en) 2002-05-27

Family

ID=17681985

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28471094A Expired - Fee Related JP3287146B2 (en) 1994-11-18 1994-11-18 Cam grinding equipment

Country Status (1)

Country Link
JP (1) JP3287146B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018190068A (en) * 2017-04-28 2018-11-29 ファナック株式会社 Control device and machine learning device
JP2020093317A (en) * 2018-12-10 2020-06-18 トーヨーエイテック株式会社 Grinding device and grinding method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018190068A (en) * 2017-04-28 2018-11-29 ファナック株式会社 Control device and machine learning device
US10444731B2 (en) 2017-04-28 2019-10-15 Fanuc Corporation Controller and machine learning device
JP2020093317A (en) * 2018-12-10 2020-06-18 トーヨーエイテック株式会社 Grinding device and grinding method

Also Published As

Publication number Publication date
JP3287146B2 (en) 2002-05-27

Similar Documents

Publication Publication Date Title
US7215089B2 (en) Threading/tapping control apparatus
US4902951A (en) Numerically controlled machine tool
JPH0569275A (en) Numerical control device
JPH01206406A (en) Numerical controller for non-cylindrical work machining
JPS63120055A (en) Numerically controlled feeding device
JPH03271813A (en) Nc device
US7552002B2 (en) Numerical controller
JP2003181722A (en) Tapping machining device and tapping machining method
JPS6292002A (en) Backlash correcting method
EP1349027B1 (en) Numerical control device for a machine tool
JPH0236047A (en) Numerical value control device for working non-cylindrical work
JP6467208B2 (en) NC machine tool, its circular or spherical machining method and machining program
JP7165041B2 (en) Grinding device and grinding method
JPH08147017A (en) Cam grinding device
JP3257295B2 (en) Cam-shaped processing equipment
JP2684782B2 (en) Data correction device
JPS6377638A (en) Numerically controlled machine tool
JP2692372B2 (en) Cam grinder
WO1981000073A1 (en) Method of constantly controlling peripheral speed
JP3036646B2 (en) Cam grinder
JPH0293706A (en) Positioning device
JP2611123B2 (en) Numerical control cam grinder
JP2692376B2 (en) Cam grinder
JPS6378202A (en) Numerical controller for machining non real circular work
JPH07100281B2 (en) Numerical control machine tool

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees