JP3543459B2 - Numerical control device for machining workpieces - Google Patents

Numerical control device for machining workpieces Download PDF

Info

Publication number
JP3543459B2
JP3543459B2 JP34513495A JP34513495A JP3543459B2 JP 3543459 B2 JP3543459 B2 JP 3543459B2 JP 34513495 A JP34513495 A JP 34513495A JP 34513495 A JP34513495 A JP 34513495A JP 3543459 B2 JP3543459 B2 JP 3543459B2
Authority
JP
Japan
Prior art keywords
data
smoothing
lift
lift data
workpiece
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.)
Expired - Fee Related
Application number
JP34513495A
Other languages
Japanese (ja)
Other versions
JPH09160623A (en
Inventor
友也 加藤
孝夫 米田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toyoda Koki KK
Original Assignee
Toyoda Koki KK
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyoda Koki KK filed Critical Toyoda Koki KK
Priority to JP34513495A priority Critical patent/JP3543459B2/en
Publication of JPH09160623A publication Critical patent/JPH09160623A/en
Application granted granted Critical
Publication of JP3543459B2 publication Critical patent/JP3543459B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、選択された範囲において、リフトデータをスムージングして平滑化した補正リフトデータをプロフィールデータに変換して工作物の加工制御を行う工作物加工用数値制御装置に関する。
【0002】
【従来の技術】
従来の工作物加工用数値制御装置(特開平1−206406)は、フラットタペットによるリフトデータを極座標によるリフトデータに変換した後、工作物の仕上げ形状の許容誤差内に入るようにリフトデータ全体をスムージングして平滑化した補正リフトデータを生成し、プロフィールデータに変換するものであった。
【0003】
【発明が解決しようとする課題】
上記従来の工作物加工用数値制御装置は、図9の(A)に示すリフトデータが工作物の仕上げ形状の許容誤差内に入るようにスムージングして平滑化するものであるため、カム研削において面性状が向上するという利点を有する反面、図9の(B)に示すようにリフト全体に亘り形状誤差が生ずるという問題があるとともに、演算に長時間を要するという問題があった。
【0004】
そこで本発明者らは、形状誤差を減少させるべく選択された範囲のリフトデータをスムージングして平滑化した補正リフトデータをプロフィールデータに変換するという本発明の技術的思想に着眼し、更に研究開発を重ねた結果、形状誤差を減少させてカム研削における面性状を向上するとともに、演算時間を短縮するという目的を達成する本発明に到達した。
【0005】
【課題を解決するための手段】
本発明(請求項1に記載の第1発明)の工作物加工用数値制御装置は、
工作物の形状を特定するリフトデータに基づき変換された主軸の回転角と工具送り軸の位置との関係を示すプロフィールデータに応じて工作物の加工を制御する数値制御装置において、
前記リフトデータの補正を行う範囲を選択する範囲選択手段と、
前記リフトデータの許容誤差を記憶する記憶手段と、
選択された前記範囲において前記リフトデータが前記許容誤差内に入るようにスムージングして平滑化するスムージング演算手段と、
スムージングされた補正リフトデータをプロフィールデータに変換するプロフィールデータ変換手段と、
変換された前記プロフィールデータに基づいて前記主軸の回転角と前記工具送り軸の位置とを数値制御する位置制御手段と
から成るものである。
【0006】
本発明(請求項2に記載の第2発明)の工作物加工用数値制御装置は、
工作物の形状を特定するリフトデータに基づき変換された主軸の回転角と工具送り軸の位置との関係を示すプロフィールデータに応じて工作物の加工を制御する数値制御装置において、
前記リフトデータの補正を行う範囲を選択する範囲選択手段と、
前記リフトデータの許容誤差を記憶する記憶手段と、
前記リフトデータ全体をスムージングして平滑化する第1のスムージング演算手段と、
前記第1のスムージング演算手段によりスムージングされたリフトデータに基づき、選択された前記範囲において前記スムージングされたリフトデータが前記許容誤差内に入るようにスムージングして平滑化する第2のスムージング演算手段と、
前記第2のスムージング演算手段によりスムージングされた補正リフトデータをプロフィールデータに変換するプロフィールデータ変換手段と、
変換された前記プロフィールデータに基づいて前記主軸の回転角と前記工具送り軸の位置とを数値制御する位置制御手段と
から成るものである。
【0007】
(作用)
上記構成より成る第1発明の工作物加工用数値制御装置は、前記範囲選択手段によって選択された前記範囲において、前記記憶手段に記憶されている前記許容誤差に基づき、前記スムージング演算手段により前記許容誤差以内に入るようにリフトデータをスムージングして平滑化し、前記プロフィールデータ変換手段によりスムージングされた補正リフトデータをプロフィールデータに変換し、前記位置制御手段により前記主軸の回転角と前記工具送り軸の位置とを数値制御するものである。
【0008】
上記構成より成る第2発明の工作物加工用数値制御装置は、前記記憶手段に記憶されている前記許容誤差に基づき、前記第1のスムージング演算手段によりリフトデータ全体をスムージングして平滑化し、更に、前記第2のスムージング演算手段により前記スムージングされたリフトデータの中で、選択された範囲のリフトデータをスムージングして平滑化し、前記許容誤差内に入るように補正リフトデータを求める。前記プロフィールデータ変換手段により前記スムージングされた補正リフトデータをプロフィールデータに変換し、前記位置制御手段により前記主軸の回転角と前記工具送り軸の位置とを数値制御するものである。
【0009】
【発明の効果】
上記作用を奏する第1発明の工作物加工用数値制御装置は、選択された前記範囲のみ、前記スムージング演算手段によりリフトデータをスムージングするので、形状誤差を減少して面性状を向上するとともに、演算時間を短縮するという効果を奏する。
【0010】
上記作用を奏する第2発明の工作物加工用数値制御装置は、第1のスムージング演算手段によりリフトデータ全体をスムージングして平滑化し、更に第2のスムージング演算手段により選択された範囲についてスムージングするので、形状誤差を減少して面性状を向上するという効果を奏する。
【0011】
【発明の実施の形態】
以下本発明の実施の形態につき、図面を用いて説明する。
【0012】
(第1実施形態)
第1実施形態の工作物加工用数値制御装置は、図1ないし図2に示すように一例として非真円形工作物Wの形状を特定するリフトデータと砥石径に応じて、主軸の回転角θと工具送り軸の位置Xとの関係を示すプロフィールデータに変換し、前記プロフィールデータに応じて前記非真円形工作物Wの加工を制御する数値制御装置において、前記リフトデータ、前記工作物の仕上げ形状の許容誤差、平滑化および補正用データ他を記憶する記憶手段1と、前記リフトデータの補正を行う範囲を選択する後述する範囲選択手段と、選択された範囲の前記リフトデータを前記許容誤差内に入るようにスムージングして平滑化する後述するスムージング演算手段と、前記スムージングされた補正リフトデータをプロフィールデータに変換する後述するプロフィールデータ変換手段と、前記変換されたプロフィールデータに基づいて前記主軸の回転角θと前記工具送り軸の位置Xとを数値制御する数値制御装置5とから成る。
【0013】
数値制御装置5によって制御される数値制御研削盤7は、図2に示されるようにベッド70上に螺子送り機構を介してサーボモータ71Mにより駆動され、主軸軸線に平行なZ軸方向に摺動可能に配設されているテーブル71と、このテーブル71上に配設された主軸台72Dに軸架されサーボモータ72Mにより回転される主軸72と、前記テーブル71の右端に配設されセンタ73Cと前記主軸72のセンタ72Cとの間にカムシャフトから成る工作物Wを挟持する心押台73と、前記ベッド70の後方において工作物Wに対して進退可能に配設され、送り螺子を介してサーボモータ74Mにより制御される工具台74D上に載置されたモータ74Nにより回転駆動される砥石車74とから成る。
【0014】
ドライブユニット81、82、83は、図1および図2に示すように数値制御装置5から指令パルスを入力して、前記数値制御研削盤7のサーボモータ71M、72M、74Mを駆動する回路である。
【0015】
数値制御装置5は、図1および図2に示すように主として制御軸を数値制御して、工作物Wの研削加工を制御する装置であり、数値制御研削盤7を制御するためのメインCPU50と、制御プログラムを記憶したROM51と、入力データ等を記憶する第1のRAM52と、前記サーボモータ71M、72M、74Mの駆動系を制御するドライブCPU53と、前記メインCPU50により演算された砥石車74、テーブル71、主軸72の位置決めデータをドライブCPU53に受け渡すために各種データを一時的に記憶する第2のRAM54と、パルス分配器55とから成る。
【0016】
ドライブCPU53は、加工に関する制御軸の送りに関し、スローアップ、スローダウン、目標点の補間等の演算を行い、補間点の位置決めデータを定周期に出力する装置であり、この補間点の位置決めデータに基づいてパルス分配器55は各ドライブユニット81、82、83にパルス分配を行う。
【0017】
前記自動プログラミング装置6は、リフトデータと砥石径からプロフィールデータを自動作成する装置で、RAM61には複数の工作物のリフトデータを記憶するリフトデータ領域611と、リフトデータを極座標変換し記憶する極座標リフトデータ領域612と、予め入力され設定された工作物の仕上げ形状の許容誤差を記憶する許容誤差データ領域613と、極座標リフトデータを許容誤差内においてスムージングされ平滑化された補正リフトデータを記憶するスムージングデータ領域614と、前記スムージングされたリフトデータに基づき生成されるプロフィールデータが記憶されるプロフィールデータ領域615と、前記プロフィールデータを生成するときの砥石径を記憶する砥石径データ領域616とが形成されている。
【0018】
フロントCPU60には、入出力インタフェースを介してリフトデータ等を入力するテープリーダ63と、データの表示を行うCRT表示装置64と、データの入力を行うキーボード65とが接続されている。
【0019】
上記構成より成る第1実施形態の工作物加工用数値制御装置は、入力モードに設定されると、フロントCPU60は入出力インタフェース62を介して、テープリーダ63から加工に必要なリフトデータを読み込みRAM61のリフトデータ領域611に記憶される。
【0020】
次にプロフィールデータ作成モードに設定されると、フロントCPU60が図3に示すプログラムを実行する。
ステップ100において、リフトデータ領域611に記憶されているリフトデータは極座標リフトデータに変換され、そのデータは極座標リフトデータ領域612に記憶されると共に、CRT表示装置64に図4に示すように極座標リフトデータがグラフィック表示される。この極座標リフトデータは、カムの外形線上の点列を中心角θと動径の長さr(θ)で特定したデータである。
【0021】
次に前述した範囲選択手段としてのステップ110に移行し、キーボード65によって前記ステップ100で求めた極座標リフトデータの中で形状誤差を減少させるための補正を行う範囲をキーボード65または図略のマウス等を操作して、図3の点線で示すように選択する。このステップ110の処理が終了すると、CRT表示装置64に選択した範囲の極座標リフトデータが図5の点線Aに示すように表示される。
前述したスムージング演算手段としてのステップ120において、前記ステップ110で選択された範囲のみスムージングを行う処理が実行される。はじめに前記ステップ110で選択された範囲の極座標リフトデータを何点でスムージングの処理を行うか、すなわち、スムージングのなめらかさを決定する点数を入力する。この点数の入力が終了すると、許容誤差データ領域613に記憶された許容誤差を読み出し、前記ステップ110で選択された範囲の極座標リフトデータが許容誤差内に入るようにスムージング演算して平滑化する。
このスムージング演算についてさらに詳述すると、残差平方和にウエイト付けを行い、補正量の変化をおさえるもので、角度xi、リフトyi、許容誤差ei、ウエイトをwiとすると残差平方和Qは数1で示される。
【数1】

Figure 0003543459
但しnは前記ステップ120で入力したスムージングのなめらかさを決定する点数、mは補正多項式の次数、ajは補正多項式の係数で、予め設定された値であり、eiは許容誤差で許容誤差データ領域613に記憶された作業者が任意に設定する値である。
数1をakで偏微分すると数2となり、dQ/dak=0を解いて極値を求める。
【数2】
Figure 0003543459
数3、数4を解いてaj・cj=0、1、・・・・・mを求める。
【数3】
Figure 0003543459
【数4】
Figure 0003543459
但しウエイトwiは、例えば下記のようにして決める。なおウエイトは、中心が最大で端点が1の単調な関数である。
数5の補正開始点でs=n、次の点でs=n−1、・・・・・s=1となるまで減少させる。s=1となったら通常のウエイトの無い補正を行う。また終了点では逆の操作を行う。
【数5】
Figure 0003543459
上記残差平方和に基づく極座標リフトデータの補正が終了すると、CRT表示装置64に選択した範囲のみについて、スムージングした極座標リフトデータが図5の実線Bに示すように表示される。この表示の後、この部分的にスムージングした補正極座標リフトデータを前記RAM61のスムージングデータ領域614に記憶される。
前述したプロフィールデータ変換手段としてのステップ140において、RAM61のスムージングデータ領域614の補正極座標リフトデータを読み出し、部分的にスムージングされた補正極座標リフトデータと前記砥石径データ領域617に記憶されている砥石径とから主軸の回転各θと砥石車74の先端研削位置を表すプロフィールデータを演算し、このプロフィールデータをプロフィールデータ領域615に記憶される。このプロフィールデータは、カムの実際の加工時にフロントCPU60を介してRAM52のNCプロフィールデータ領域へ転送される。
【0022】
作業者が操作盤59より加工開始を指示すると、プロフィールデータ領域615に記憶されたプロフィールデータがCPU60を介してRAM52のNCプロフィールデータ領域へ転送される。するとメインCPU50は、NCプロフィールデータ領域521に記憶されているNCプロフィールデータに従って加工指令を出力することにより、カム研削が実行される。
【0023】
上記作用を奏する第1実施形態の工作物加工用数値制御装置は、部分的にスムージング演算を行うことによって、リフトデータの形状誤差を減少させることにより、カム研削における面性状を向上するとともに、カムの動作特性から要求されるカム形状を実現するという効果を奏する。
【0024】
また第1実施形態の工作物加工用数値制御装置は、前記極座標リフトデータ中で補正が必要な範囲のみを選択してスムージングできるので、演算時間を短縮するという効果を奏する。
【0025】
(第2実施形態)
第2実施形態の工作物加工用数値制御装置は、ハードの基本的構成は前記第1実施形態と同様であるが、極座標リフトデータを部分的にスムージングする前に、極座標リフトデータ全体をスムージングする点が相違点であり、以下相違点を中心に説明する。
【0026】
図6に示すようにステップ200において、前記第1実施態様で用いた図1に示されるリフトデータ領域611に記憶されているリフトデータは極座標リフトデータに変換され、そのデータは極座標リフトデータ領域612に記憶される。極座標リフトデータは、カムの外形線上の点列を中心角θと動径の長さr(θ)で特定したデータである。
【0027】
ステップ210において、ステップで求めた極座標リフトデータ全体をスムージングして平滑化するため、回帰多項式を用いて処理を行う。この詳細は図7に示すようにステップ211においてカムの外形線上の点列を特定した極座標リフトデータから、その点列を最も近似した滑らかな曲線の方程式が回帰多項式により求められる。即ち動作特性上の要請から与えられるリフトデータを極座標変換して得られるデコボコの点列を滑らかに近似した曲線が求められたことになる。
【0028】
次にステップ212に移行し、回帰多項式により求められた曲線と前記点列の極座標リフトデータとの各点における偏差が演算され、その偏差が許容誤差データ領域613に記憶されている許容誤差内に在るか否かが判定され、偏差が許容誤差内に存在しない場合には、ステップ213に移行し、回帰多項式がさらに高次化され、ステップ211へ戻り、許容誤差内になるまでより高次の回帰多項式により曲線が繰り返し演算される。このステップ211で許容誤差内と判定されると次に図6に示すステップ220に移行し、求められた回帰多項式から各回転角毎に動径の長さが演算されることにより平滑化された極座標リフトデータが生成され、RAM61内の平滑データ領域617に記憶される。
【0029】
次のステップ230〜260の処理は前述した第1実施形態の図3に示すステップ110〜140と同様であるので、説明は省略する。
【0030】
スムージングによる極座標リフトデータが生成され、上述と同様にRAM61内のスムージング領域614内に記憶される。
次にステップ250に移行し、砥石径データ領域616に記憶されている砥石径と前記ステップ240で求めたスムージングされた極座標リフトデータとからプロフィールデータが演算され、カムの実際の加工時にフロントCPU60を介してRAM52のプロフィールデータ領域615へ転送される。
【0031】
そして、加工指令信号が操作盤59から付与されると、メインCPU50は、NCプロフィールデータ領域521に記憶されているNCプロフィールデータに従って加工指令を出力することにより、カム研削が実行される。
【0032】
上記作用を奏する第2実施形態の工作物加工用数値制御装置は、極座標リフトデータ全体をスムージングし平滑化した後、選択された範囲についてスムージング演算を行い形状誤差を減少させるので、カムの動作特性から要求されるカム形状を実現するという効果を奏する。
【0033】
また第2実施形態の工作物加工用数値制御装置は、残差平方和に基づき形状誤差を減少させるので、形状誤差を有効且つ理想的に減少させることができるという効果を奏する。
【0034】
(第3実施形態)
第3実施形態の工作物加工用数値制御装置は、ハード構成および基本的ソフト構成は第2実施形態と同様であるが、スムージング演算を第2実施形態の残差平方和に基づき行う代わりに図8に示すように入力リフトデータに対し、平滑化されたリフトデータの偏差が大きいときは、数6に示すようにスムージング開始点より徐々に平滑化されたリフトに近づくようにスムージング補正するものである。
【数6】
Figure 0003543459
ここでyiは入力リフトデータ点列、y′iは平滑化されたリフトデータ点列、y″iは本第3実施形態のスムージング補正されたリフトデータ点列であり、tはi/n、iは0(補正開始点)、1、2、3・・・に、nはスムージング点数、である。
【0035】
上記構成より成る第3実施形態の工作物加工用数値制御装置は、入力されたリフトデータ点列yiの線と平滑化されたリフトデータ点列y′iの線との距離を接近区間に含まれる点数nで分割し、開始点から終了点まで分割長さの0倍、1倍、・・・n倍まで徐々に接近させるので、前記第2実施形態と同様に形状誤差を減少させることができるとともに、カムの動作特性から要求されるカム形状を実現することができるという効果を奏する。
なお、この各実施形態においては、極座標リフトデータに補正を行っているが、極座標リフトデータに変換する前のリフトデータに補正を行っても良い。
【0036】
上述の実施形態は、説明のために例示したもので、本発明としてはそれらに限定されるものでは無く、特許請求の範囲、発明の詳細な説明および図面の記載から当業者が認識することができる本発明の技術的思想に反しない限り、変更および付加が可能である。
【図面の簡単な説明】
【図1】本発明の第1実施形態装置の電気的構成を示すブロック図である。
【図2】本第1実施形態装置に係る数値制御研削盤の全体の関係を示す構成図である。
【図3】本第1実施形態の演算処理手順を示すフローチャート図である。
【図4】本第1実施形態装置における極座標リフトデータの補正を行う範囲の選択を説明する図である。
【図5】本第1実施形態装置におけるスムージング演算を説明する図である。
【図6】本発明の第2実施形態の演算処理手順を示すフローチャート図である。
【図7】本第2実施形態の平滑演算手段を示すフローチャート図である。
【図8】本発明の第3実施形態のスムージングの考え方を示す線図である。
【図9】従来装置により平滑化されたリフトデータおよびその形状誤差を示す線図である。
【符号の説明】
1 記憶手段
5 数値制御装置
6 自動プログラミング装置
7 数値制御研削盤
61 RAM
65 CRT表示装置
70 ベッド
71 テーブル
72D 主軸台
73 心押台
74D 工具台
W 工作物[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a numerical controller for machining a workpiece, which converts smoothed and smoothed lift data into profile data in a selected range to control machining of the workpiece.
[0002]
[Prior art]
A conventional numerical controller for machining a workpiece (Japanese Patent Laid-Open No. 1-206406) converts lift data by a flat tappet into lift data by polar coordinates, and then converts the entire lift data so as to fall within a tolerance of a finished shape of the workpiece. Corrected lift data smoothed and smoothed is generated and converted into profile data.
[0003]
[Problems to be solved by the invention]
The conventional numerical control apparatus for processing a workpiece described above smoothes and smoothes the lift data shown in FIG. 9A so as to fall within an allowable error of the finished shape of the workpiece. On the other hand, there is an advantage that the surface properties are improved, but there is a problem that a shape error occurs over the entire lift as shown in FIG. 9B, and a long time is required for the calculation.
[0004]
Therefore, the present inventors have focused on the technical idea of the present invention to convert the lift data in a selected range to smooth the smoothed lift data to reduce the shape error and to convert the corrected lift data into profile data. As a result, the present invention has been achieved which achieves the object of reducing the shape error, improving the surface properties in cam grinding, and shortening the calculation time.
[0005]
[Means for Solving the Problems]
According to a first aspect of the present invention, there is provided a numerical control device for processing a workpiece.
In a numerical control device that controls machining of a workpiece according to profile data indicating a relationship between a rotation angle of a spindle and a position of a tool feed axis converted based on lift data specifying a shape of the workpiece,
Range selection means for selecting a range for correcting the lift data,
Storage means for storing an allowable error of the lift data,
Smoothing operation means for smoothing and smoothing so that the lift data falls within the tolerance in the selected range,
Profile data conversion means for converting the smoothed corrected lift data into profile data,
Position control means for numerically controlling the rotation angle of the spindle and the position of the tool feed shaft based on the converted profile data.
[0006]
According to a second aspect of the present invention, there is provided a numerical control apparatus for processing a workpiece,
In a numerical control device that controls machining of a workpiece according to profile data indicating a relationship between a rotation angle of a spindle and a position of a tool feed axis converted based on lift data specifying a shape of the workpiece,
Range selection means for selecting a range for correcting the lift data,
Storage means for storing an allowable error of the lift data,
First smoothing operation means for smoothing and smoothing the entire lift data;
A second smoothing calculating means for smoothing and smoothing the smoothed lift data in the selected range based on the lift data smoothed by the first smoothing calculating means; ,
Profile data conversion means for converting the corrected lift data smoothed by the second smoothing calculation means into profile data;
Position control means for numerically controlling the rotation angle of the spindle and the position of the tool feed shaft based on the converted profile data.
[0007]
(Action)
The numerical control device for machining a workpiece according to the first aspect of the present invention, wherein the allowable range stored in the storage means is based on the allowable error stored in the storage means in the range selected by the range selection means. The lift data is smoothed and smoothed so as to be within the error, the corrected lift data smoothed by the profile data conversion means is converted into profile data, and the rotation angle of the spindle and the tool feed axis are converted by the position control means. The position is numerically controlled.
[0008]
The numerical control device for machining a workpiece according to the second aspect of the present invention, which is based on the permissible error stored in the storage means, smoothes and smooths the entire lift data by the first smoothing calculation means. The lift data in the selected range is smoothed and smoothed from the lift data smoothed by the second smoothing operation means, and corrected lift data is obtained so as to be within the tolerance. The smoothed corrected lift data is converted into profile data by the profile data conversion means, and the rotation angle of the main spindle and the position of the tool feed shaft are numerically controlled by the position control means.
[0009]
【The invention's effect】
In the numerical control device for processing a workpiece according to the first aspect of the present invention, the lift data is smoothed by the smoothing calculation means only in the selected range, so that the shape error is reduced and the surface property is improved. This has the effect of shortening the time.
[0010]
In the numerical control device for processing a workpiece according to the second aspect of the present invention having the above-described operation, the entire lift data is smoothed and smoothed by the first smoothing operation means, and the smoothing is performed on the range selected by the second smoothing operation means. This has the effect of reducing the shape error and improving the surface properties.
[0011]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0012]
(1st Embodiment)
As shown in FIGS. 1 and 2, for example, the numerical control device for machining a workpiece according to the first embodiment includes a rotation angle θ of a main shaft in accordance with lift data specifying a shape of a non-circular workpiece W and a grindstone diameter. In the numerical control device for converting the non-circular workpiece W in accordance with the profile data, the lift data, the finishing of the workpiece A storage unit 1 for storing a shape tolerance, data for smoothing and correction, etc., a range selector for selecting a range in which the lift data is to be corrected, and the lift error in the selected range as the tolerance. And smoothing operation means for smoothing and smoothing the corrected lift data into profile data, which will be described later. And Rofiru data converter, consisting of the numerical controller 5 for numerically controlling the position X of the tool feed axis and the rotation angle θ of the main shaft based on the converted profile data.
[0013]
The numerical control grinder 7 controlled by the numerical controller 5 is driven by a servomotor 71M on a bed 70 via a screw feed mechanism as shown in FIG. 2, and slides in the Z-axis direction parallel to the main shaft axis. A table 71 which is disposed so as to be able to move, a spindle 72 which is mounted on a headstock 72D which is disposed on the table 71 and which is rotated by a servomotor 72M, and a center 73C which is disposed at the right end of the table 71. A tailstock 73 for holding a workpiece W formed of a camshaft between the center 72C of the main shaft 72 and a tailstock 73 provided behind the bed 70 so as to be able to advance and retreat with respect to the workpiece W, via a feed screw. The grinding wheel 74 is driven by a motor 74N mounted on a tool table 74D controlled by a servomotor 74M.
[0014]
The drive units 81, 82, and 83 are circuits for driving servo motors 71M, 72M, and 74M of the numerically controlled grinding machine 7 by inputting a command pulse from the numerical control device 5 as shown in FIGS.
[0015]
As shown in FIGS. 1 and 2, the numerical control device 5 is a device that mainly performs numerical control on a control axis to control the grinding of the workpiece W, and includes a main CPU 50 for controlling the numerical control grinder 7. , A ROM 51 storing a control program, a first RAM 52 storing input data and the like, a drive CPU 53 controlling a drive system of the servomotors 71M, 72M, 74M, a grinding wheel 74 calculated by the main CPU 50, The table 71 includes a second RAM 54 for temporarily storing various data for transferring positioning data of the spindle 72 to the drive CPU 53, and a pulse distributor 55.
[0016]
The drive CPU 53 is a device that performs calculations such as slow-up, slow-down, interpolation of a target point, and the like with respect to feed of a control axis related to machining, and outputs positioning data of the interpolation point at regular intervals. The pulse distributor 55 distributes the pulses to the drive units 81, 82, and 83 based on the pulse distribution.
[0017]
The automatic programming device 6 is a device for automatically creating profile data from the lift data and the grindstone diameter. The RAM 61 has a lift data area 611 for storing lift data of a plurality of workpieces, and polar coordinates for converting lift data into polar coordinates and storing the data. A lift data area 612, an allowable error data area 613 for storing a previously input and set allowable error of the finished shape of the workpiece, and corrected lift data obtained by smoothing and smoothing the polar coordinate lift data within the allowable error. A smoothing data area 614, a profile data area 615 storing profile data generated based on the smoothed lift data, and a grindstone diameter data area 616 storing a grindstone diameter when generating the profile data are formed. Have been.
[0018]
The front CPU 60 is connected to a tape reader 63 for inputting lift data and the like via an input / output interface, a CRT display device 64 for displaying data, and a keyboard 65 for inputting data.
[0019]
When the numerical control device for processing a workpiece according to the first embodiment having the above configuration is set to the input mode, the front CPU 60 reads lift data necessary for processing from the tape reader 63 via the input / output interface 62 and the RAM 61. Is stored in the lift data area 611.
[0020]
Next, when the mode is set to the profile data creation mode, the front CPU 60 executes the program shown in FIG.
In step 100, the lift data stored in the lift data area 611 is converted into polar lift data, and the data is stored in the polar lift data area 612 and the CRT display device 64 displays the polar lift data as shown in FIG. The data is displayed graphically. The polar coordinate lift data is data in which a sequence of points on the outline of the cam is specified by the central angle θ and the length r (θ) of the moving radius.
[0021]
Next, the process proceeds to step 110 as the above-described range selection means, and the keyboard 65 or a mouse (not shown) determines the range in which correction for reducing a shape error in the polar coordinate lift data obtained in step 100 is performed by the keyboard 65. To select as shown by the dotted line in FIG. When the process of step 110 is completed, the polar coordinate lift data of the selected range is displayed on the CRT display device 64 as shown by a dotted line A in FIG.
In step 120 as the above-described smoothing operation means, a process of performing smoothing only in the range selected in step 110 is performed. First, the number of points at which to perform the smoothing process on the polar coordinate lift data in the range selected in step 110, that is, the number of points for determining the smoothness of the smoothing is input. When the input of the score is completed, the permissible error stored in the permissible error data area 613 is read out, and smoothing is performed by smoothing calculation so that the polar coordinate lift data in the range selected in the step 110 falls within the permissible error.
The smoothing operation will be described in further detail. The sum of squares of the residual is weighted to suppress a change in the correction amount. When the angle xi, the lift yi, the allowable error ei, and the weight are wi, the residual sum of squares Q is Indicated by 1.
(Equation 1)
Figure 0003543459
Here, n is a score that determines the smoothness of the smoothing input in step 120, m is the order of the correction polynomial, aj is a coefficient of the correction polynomial, and is a preset value, ei is an allowable error and an allowable error data area. 613 is a value arbitrarily set by the worker.
Partial differentiation of equation (1) with ak yields equation (2), and solves dQ / dak = 0 to find an extreme value.
(Equation 2)
Figure 0003543459
Solving equations 3 and 4, aj · cj = 0, 1,... M is obtained.
[Equation 3]
Figure 0003543459
(Equation 4)
Figure 0003543459
However, the weight wi is determined as follows, for example. Note that the weight is a monotonic function with the maximum at the center and one at the end point.
S = n at the correction start point of Expression 5, and s = n−1,... S = 1 at the next point. When s = 1, normal weightless correction is performed. At the end point, the reverse operation is performed.
(Equation 5)
Figure 0003543459
When the correction of the polar coordinate lift data based on the residual sum of squares is completed, the smoothed polar coordinate lift data is displayed on the CRT display device 64 only as shown by a solid line B in FIG. After this display, the partially smoothed corrected polar coordinate lift data is stored in the smoothing data area 614 of the RAM 61.
In step 140 as the profile data converting means described above, the corrected polar coordinate lift data in the smoothing data area 614 of the RAM 61 is read out, and the corrected polar coordinate lift data partially smoothed and the grinding wheel diameter stored in the grinding wheel diameter data area 617 are used. The profile data representing the rotation θ of the main shaft and the grinding position of the tip of the grinding wheel 74 is calculated from this, and the profile data is stored in the profile data area 615. This profile data is transferred to the NC profile data area of the RAM 52 via the front CPU 60 when the cam is actually machined.
[0022]
When the operator instructs the start of machining from the operation panel 59, the profile data stored in the profile data area 615 is transferred to the NC profile data area of the RAM 52 via the CPU 60. Then, the main CPU 50 outputs a machining command in accordance with the NC profile data stored in the NC profile data area 521 to execute the cam grinding.
[0023]
The numerical control device for machining a workpiece according to the first embodiment having the above-described operation reduces the shape error of the lift data by partially performing the smoothing operation, thereby improving the surface properties in cam grinding and improving the cam characteristics. This has the effect of realizing the cam shape required from the operation characteristics of the above.
[0024]
Further, the numerical control device for processing a workpiece according to the first embodiment can select and smooth only a range that needs to be corrected in the polar coordinate lift data, and thus has an effect of shortening the calculation time.
[0025]
(2nd Embodiment)
The numerical control device for machining a workpiece according to the second embodiment has the same basic hardware configuration as that of the first embodiment, but smoothes the entire polar coordinate lift data before partially smoothing the polar coordinate lift data. The differences are the differences, and the following description will focus on the differences.
[0026]
As shown in FIG. 6, in step 200, the lift data stored in the lift data area 611 shown in FIG. 1 used in the first embodiment is converted into polar coordinate lift data, and the data is converted into the polar coordinate lift data area 612. Is stored in The polar coordinate lift data is data in which a sequence of points on the outline of the cam is specified by the central angle θ and the length of the moving radius r (θ).
[0027]
In step 210, a process is performed using a regression polynomial to smooth and smooth the entire polar coordinate lift data obtained in step. In detail, as shown in FIG. 7, a smooth curve equation that most closely approximates the point sequence is obtained from the polar coordinate lift data specifying the point sequence on the outline of the cam in step 211 by a regression polynomial. In other words, a curve that smoothly approximates a rough point sequence obtained by performing polar coordinate conversion on lift data given as a request for operating characteristics is obtained.
[0028]
Next, the process proceeds to step 212, in which a deviation at each point between the curve obtained by the regression polynomial and the polar coordinate lift data of the point sequence is calculated, and the deviation is set within the allowable error stored in the allowable error data area 613. It is determined whether or not there is a difference, and if the deviation does not exist within the allowable error, the process proceeds to step 213, where the regression polynomial is further advanced, and the process returns to step 211, where the higher order is obtained until the error is within the allowable error. The curve is repeatedly calculated by the regression polynomial. If it is determined in step 211 that the error is within the allowable error, the process proceeds to step 220 shown in FIG. 6, and the length of the moving radius is calculated for each rotation angle from the obtained regression polynomial, and the smoothing is performed. Polar coordinate lift data is generated and stored in the smoothed data area 617 in the RAM 61.
[0029]
The processing of the following steps 230 to 260 is the same as that of steps 110 to 140 shown in FIG. 3 of the above-described first embodiment, and a description thereof will be omitted.
[0030]
Polar coordinate lift data is generated by smoothing and stored in the smoothing area 614 in the RAM 61 in the same manner as described above.
Next, the routine proceeds to step 250, where profile data is calculated from the grinding wheel diameter stored in the grinding wheel diameter data area 616 and the smoothed polar coordinate lift data obtained in step 240, and the front CPU 60 is operated during the actual machining of the cam. The data is transferred to the profile data area 615 of the RAM 52 through the RAM.
[0031]
Then, when a machining command signal is given from the operation panel 59, the main CPU 50 outputs a machining command according to the NC profile data stored in the NC profile data area 521 to execute the cam grinding.
[0032]
The numerical control device for processing a workpiece according to the second embodiment having the above-described operation smoothes and smoothes the entire polar coordinate lift data and then performs a smoothing operation on a selected range to reduce a shape error. This produces an effect of realizing a cam shape required from the above.
[0033]
In addition, the numerical control device for machining a workpiece according to the second embodiment reduces the shape error based on the residual sum of squares, so that the shape error can be effectively and ideally reduced.
[0034]
(Third embodiment)
The numerical control device for machining a workpiece according to the third embodiment has the same hardware configuration and basic software configuration as the second embodiment, except that the smoothing operation is performed based on the residual sum of squares of the second embodiment. When the deviation of the smoothed lift data is large with respect to the input lift data as shown in FIG. 8, smoothing correction is performed so that the smoothed lift gradually approaches the smoothed lift from the smoothing start point as shown in Expression 6. is there.
(Equation 6)
Figure 0003543459
Here, yi is an input lift data point sequence, y′i is a smoothed lift data point sequence, y ″ i is a smoothed lift data point sequence of the third embodiment, and t is i / n, i is 0 (correction start point), 1, 2, 3,..., and n is the number of smoothing points.
[0035]
The numerical control device for machining a workpiece according to the third embodiment having the above-described configuration includes the distance between the line of the input lift data point sequence yi and the line of the smoothed lift data point sequence y′i in the approach section. , And gradually approach the division length from the start point to the end point by 0 times, 1 time,..., N times, so that the shape error can be reduced as in the second embodiment. In addition to this, there is an effect that the cam shape required from the operation characteristics of the cam can be realized.
In each of the embodiments, the correction is performed on the polar lift data, but the lift data before the conversion into the polar lift data may be corrected.
[0036]
The above-described embodiment has been described by way of example, and the present invention is not limited to the embodiment. It will be recognized by those skilled in the art from the claims, the detailed description of the invention, and the drawings. Modifications and additions can be made without departing from the technical idea of the present invention.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating an electrical configuration of a device according to a first embodiment of the present invention.
FIG. 2 is a configuration diagram showing an overall relationship of the numerically controlled grinding machine according to the first embodiment apparatus.
FIG. 3 is a flowchart illustrating an arithmetic processing procedure according to the first embodiment;
FIG. 4 is a diagram illustrating selection of a range in which polar coordinate lift data is corrected in the first embodiment.
FIG. 5 is a diagram illustrating a smoothing operation in the first embodiment.
FIG. 6 is a flowchart illustrating an arithmetic processing procedure according to a second embodiment of the present invention.
FIG. 7 is a flowchart illustrating a smoothing operation unit according to the second embodiment.
FIG. 8 is a diagram illustrating a concept of smoothing according to a third embodiment of the present invention.
FIG. 9 is a diagram showing lift data smoothed by a conventional device and its shape error.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Storage means 5 Numerical control apparatus 6 Automatic programming apparatus 7 Numerical control grinder 61 RAM
65 CRT display 70 Bed 71 Table 72D Headstock 73 Tailstock 74D Tool table W Workpiece

Claims (2)

工作物の形状を特定するリフトデータに基づき変換された主軸の回転角と工具送り軸の位置との関係を示すプロフィールデータに応じて工作物の加工を制御する数値制御装置において、
前記リフトデータの補正を行う範囲を選択する範囲選択手段と、
前記リフトデータの許容誤差を記憶する記憶手段と、
選択された前記範囲において前記リフトデータが前記許容誤差内に入るようにスムージングして平滑化するスムージング演算手段と、
スムージングされた補正リフトデータをプロフィールデータに変換するプロフィールデータ変換手段と、
変換された前記プロフィールデータに基づいて前記主軸の回転角と前記工具送り軸の位置とを数値制御する位置制御手段と
から成ることを特徴とする工作物加工用数値制御装置。
In a numerical control device that controls machining of a workpiece according to profile data indicating a relationship between a rotation angle of a spindle and a position of a tool feed axis converted based on lift data specifying a shape of the workpiece,
Range selection means for selecting a range for correcting the lift data,
Storage means for storing an allowable error of the lift data,
Smoothing calculation means for smoothing and smoothing so that the lift data falls within the allowable error in the selected range,
Profile data conversion means for converting the smoothed corrected lift data into profile data,
A numerical control device for machining a workpiece, comprising: position control means for numerically controlling the rotation angle of the spindle and the position of the tool feed shaft based on the converted profile data.
工作物の形状を特定するリフトデータに基づき変換された主軸の回転角と工具送り軸の位置との関係を示すプロフィールデータに応じて工作物の加工を制御する数値制御装置において、
前記リフトデータの補正を行う範囲を選択する範囲選択手段と、
前記リフトデータの許容誤差を記憶する記憶手段と、
前記リフトデータ全体をスムージングして平滑化する第1のスムージング演算手段と、
前記第1のスムージング演算手段によりスムージングされたリフトデータに基づき、選択された前記範囲において前記スムージングされたリフトデータが前記許容誤差内に入るようにスムージングして平滑化する第2のスムージング演算手段と、
前記第2のスムージング演算手段によりスムージングされた補正リフトデータをプロフィールデータに変換するプロフィールデータ変換手段と、
変換された前記プロフィールデータに基づいて前記主軸の回転角と前記工具送り軸の位置とを数値制御する位置制御手段と
から成ることを特徴とする工作物加工用数値制御装置。
In a numerical control device that controls machining of a workpiece according to profile data indicating a relationship between a rotation angle of a spindle and a position of a tool feed axis converted based on lift data specifying a shape of the workpiece,
Range selection means for selecting a range for correcting the lift data,
Storage means for storing an allowable error of the lift data,
First smoothing calculation means for smoothing and smoothing the entire lift data;
Second smoothing calculating means for smoothing and smoothing the smoothed lift data within the selected range based on the lift data smoothed by the first smoothing calculating means, and ,
Profile data conversion means for converting the corrected lift data smoothed by the second smoothing calculation means into profile data;
A numerical control device for machining a workpiece, comprising: position control means for numerically controlling the rotation angle of the spindle and the position of the tool feed shaft based on the converted profile data.
JP34513495A 1995-12-06 1995-12-06 Numerical control device for machining workpieces Expired - Fee Related JP3543459B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34513495A JP3543459B2 (en) 1995-12-06 1995-12-06 Numerical control device for machining workpieces

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34513495A JP3543459B2 (en) 1995-12-06 1995-12-06 Numerical control device for machining workpieces

Publications (2)

Publication Number Publication Date
JPH09160623A JPH09160623A (en) 1997-06-20
JP3543459B2 true JP3543459B2 (en) 2004-07-14

Family

ID=18374517

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34513495A Expired - Fee Related JP3543459B2 (en) 1995-12-06 1995-12-06 Numerical control device for machining workpieces

Country Status (1)

Country Link
JP (1) JP3543459B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3640754B2 (en) * 1997-02-21 2005-04-20 三菱電機株式会社 Numerical control apparatus and numerical control method
JP3958112B2 (en) * 2002-05-20 2007-08-15 ファナック株式会社 Speed control method in numerical controller
JP5151686B2 (en) 2008-05-26 2013-02-27 株式会社ジェイテクト Profile data creation method for machining non-circular workpieces
JP5926358B1 (en) * 2014-11-28 2016-05-25 ファナック株式会社 Tool path curving method and curving device for ensuring shape error
JP6823037B2 (en) * 2018-11-09 2021-01-27 ファナック株式会社 Numerical control device, machining route setting method and program
CN118043750A (en) * 2021-10-08 2024-05-14 发那科株式会社 Control device and computer-readable recording medium having program recorded thereon

Also Published As

Publication number Publication date
JPH09160623A (en) 1997-06-20

Similar Documents

Publication Publication Date Title
KR970005561B1 (en) Numerical control apparatus for machining non-circular workpieces
EP0093955B1 (en) Control apparatus for a grinding machine
US4570386A (en) Regulating wheel dressing system in centerless grinder
US5060164A (en) Numerical controller for machining a non-circular workpiece and capable of calculating profile data
US5289660A (en) Method and apparatus for grinding non-circular workpiece
US5031107A (en) Numerical control apparatus for machining non-circular workpieces
JP3490534B2 (en) Non-circular workpiece grinding method and apparatus
JP3543459B2 (en) Numerical control device for machining workpieces
JP2805119B2 (en) Numerical controller for processing non-circular workpieces
JPS5840257A (en) Grinding method for arched corner
JPH10268921A (en) Data preparing device for non-round work machining and numerical controller
JP2604003B2 (en) Numerical controller for machining non-round workpieces
JP2669641B2 (en) Numerical controller for machining non-round workpieces
KR100315211B1 (en) A method for controlling the tool path in machine tool
JP2565789B2 (en) Cam shape input method and device
JP3205827B2 (en) Processing data creation device for non-circular workpieces
JP3009216B2 (en) Automatic grinding wheel correction device for numerically controlled grinding machines
JP3572842B2 (en) NC control type work rest device
JPH0627322Y2 (en) Numerical control grinder
JPS63105864A (en) Method and device for nc machining
JP3185464B2 (en) Grinding equipment
JPH0760338B2 (en) Numerical controller for machining non-round workpieces
JPH07314312A (en) Data compensator
JPH11102213A (en) Method and device for preparing nc program
JPH10283012A (en) Data preparing device for non true circular object working and numerical controller

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040301

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040316

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040329

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090416

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090416

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100416

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100416

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110416

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120416

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130416

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees