JPH01133114A - Speed control system for polar coordinate interpolation - Google Patents

Speed control system for polar coordinate interpolation

Info

Publication number
JPH01133114A
JPH01133114A JP29125187A JP29125187A JPH01133114A JP H01133114 A JPH01133114 A JP H01133114A JP 29125187 A JP29125187 A JP 29125187A JP 29125187 A JP29125187 A JP 29125187A JP H01133114 A JPH01133114 A JP H01133114A
Authority
JP
Japan
Prior art keywords
speed
moving
polar coordinate
distance
axis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP29125187A
Other languages
Japanese (ja)
Inventor
Hideaki Kawamura
川村 英昭
Kunihiko Murakami
邦彦 村上
Shuji Matsuura
松浦 周二
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.)
Fanuc Corp
Original Assignee
Fanuc Corp
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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP29125187A priority Critical patent/JPH01133114A/en
Publication of JPH01133114A publication Critical patent/JPH01133114A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To execute cutting at a speed less than a max. speed by comparing a distance obtained by rotating a work from a current position in the C axis direction by DELTAthetaMAX and a distance obtained by moving the work in the R axis direction by RMAX with a moving distance of a program command, executing prescribed interpolating arithmetic the converting obtained data into polar coordinates. CONSTITUTION:Data for specifying the max. rotational variable DELTAthetaMAX per prescribed time in the rotational axis direction and the max. moving distance DELTARMAX in the straight axis direction are set up and a distance DC obtained by moving the work from a position Po on a program command passage and rotating the work by DELTAthetaMAX up to a position Pn is found out. A distance DR obtained by moving the work from the position Po in the straight axis direction by DELTARMAX up to a position Pm is found out. The moving distance DP per prescribed time based upon the program command is compared with the distances DC, DR, applying interpolating arithmetic to the rectangular coordinate system at a moving speed corresponding to the min. moving distance, and the obtained data are converted into polar coordinates, so that cutting work can be executed at a speed lens than the max. cutting speed.

Description

【発明の詳細な説明】 〈産業上の利用分舒〉 本発明はカム研削加工等に有効な極座標補間の速度制御
方式に係り、特に極座標回転軸方向や極座標直線軸方向
の速度が過大とならないように改良した極座標補間の速
度制御方式に関する。
[Detailed Description of the Invention] <Industrial Application> The present invention relates to a speed control method for polar coordinate interpolation that is effective for cam grinding, etc., and in particular, the speed in the polar coordinate rotation axis direction and the polar coordinate linear axis direction does not become excessive. This paper relates to an improved speed control method for polar coordinate interpolation.

〈従来技術〉 カム研削盤においては、第3図に示すようにワークWK
を所定のポイントP8を中心に回転させると共に工具(
砥石)TLを回転中心であるポイン1−P、方向にワー
クの回転及びカム形状に応じて前後させて該ワークを所
望カム形状に加工する。すなわち、ワークWKの回転に
応じて工具TLが指令カム形状の輪郭をたどるように工
具の中心方向位置を制御して指令カム形状通りに加工す
る。
<Prior art> In a cam grinding machine, the workpiece WK is
is rotated around a predetermined point P8, and the tool (
The workpiece is machined into a desired cam shape by moving the grindstone TL back and forth in the direction of point 1-P, which is the center of rotation, according to the rotation of the workpiece and the cam shape. That is, according to the rotation of the workpiece WK, the tool TL is machined according to the commanded cam shape by controlling the central position of the tool so that it follows the contour of the commanded cam shape.

尚、第3図(alは初期状態、第3図(blはワークが
90°回転した状態を示しており、又、以後は回転方向
を極座標回転軸(C軸)方向と、回転中心方向を極座標
直線軸(R軸)方向と称することにする。
In addition, Figure 3 (al shows the initial state, Figure 3 (bl) shows the state where the workpiece has been rotated 90 degrees, and from now on, the direction of rotation is the direction of the polar coordinate rotation axis (C axis), and the direction of the rotation center is the direction of rotation. This will be referred to as the polar coordinate linear axis (R-axis) direction.

かかるカム研削の極座標軸(C,R軸)制御においては
、カム形状が設計図面に直交座標系で表現されているこ
とからNG加工プログラムは直交座標系で作成され、該
直交座標系で作成された指令(NC加工プログラム)に
基づいて補間演算を行い、補間結果を極座標系に変換し
て各極座標軸を制御する。
In such polar coordinate axes (C, R axis) control for cam grinding, since the cam shape is expressed in the design drawing using an orthogonal coordinate system, the NG machining program is created using the orthogonal coordinate system. Interpolation calculations are performed based on the received commands (NC machining program), and the interpolation results are converted into a polar coordinate system to control each polar coordinate axis.

すなわち、第4図を参照すると、送り速度指令(F指令
)から求めた直交座標系における単位時間当りの移動量
をΔfとすると、単位時間当りΔfづつ工具が移動する
ように直交座標系における補間(直線補間または円弧補
間)が行われて現在位置P、 (X、、、 Y、、)が
更新される。そして、この現在位置の直交座標値は極座
標値(θ。、R,)に変換され、単位時間前の現在位置
Pn −1の極座標値(θr+−1’ Rr+−1)と
比べて半径の増減分ΔR,,が実際の工具の単位時間毎
のR軸方向移動量となり、角度の増減分Δθ。がC軸方
向回転量となる。ΔR0,Δθ、が求まれば以後極座標
各軸におけるパルス補間演算を行って各軸サーボモータ
を回転してワークの回転(C軸)と工具の移動(R軸)
を制御する。
That is, referring to FIG. 4, if the amount of movement per unit time in the orthogonal coordinate system determined from the feed rate command (F command) is Δf, interpolation in the orthogonal coordinate system is performed so that the tool moves by Δf per unit time. (linear interpolation or circular interpolation) is performed and the current position P, (X, , Y, ,) is updated. Then, the orthogonal coordinate value of this current position is converted to a polar coordinate value (θ., R,), and the increase or decrease in radius is calculated compared to the polar coordinate value (θr+-1' Rr+-1) of the current position Pn-1 a unit time ago. The minute ΔR,, is the amount of actual tool movement in the R-axis direction per unit time, and the angle increase/decrease Δθ. is the amount of rotation in the C-axis direction. Once ΔR0 and Δθ are determined, pulse interpolation calculations are performed on each axis of the polar coordinates to rotate each axis servo motor to rotate the workpiece (C axis) and move the tool (R axis).
control.

〈発明が解決しようとしている問題点〉しかし、従来の
極座標補間のの速度制御方式においては極座標の原点P
1.l近くを通過する直線や円弧等(これらカム輪郭を
構成する)が指令されると、原点からの距離(半径)が
短くなるため、直交座標系での速度は早くなくても、極
座標に変換すると極座標回転軸(C軸)の回転速度が非
常に甲くなり、最大切削速度を越えろ場合がある。
<Problem to be solved by the invention> However, in the conventional speed control method of polar coordinate interpolation, the origin P of polar coordinates
1. When a straight line, arc, etc. (which make up the cam contour) that passes near l is commanded, the distance (radius) from the origin becomes shorter, so even if the speed in the orthogonal coordinate system is not fast, it is converted to polar coordinates. As a result, the rotational speed of the polar coordinate rotation axis (C-axis) becomes extremely high, and may exceed the maximum cutting speed.

この直交座標系と極座標系の関係を第5図を参照して説
明する。尚、直交座標系原点とtli座標系原点を一致
させ、また直交座標系におけるX軸と極座標系における
R軸を一致させている。さて、直交座標系での指令4.
と12が同一距離でも、半径の小さい12の回転角度θ
2の方がθ、に比べて相当大きくな9、単位時間内にパ
ルス分配しようとすると、回転速度も早くなる。
The relationship between the orthogonal coordinate system and the polar coordinate system will be explained with reference to FIG. Note that the origin of the orthogonal coordinate system and the origin of the tli coordinate system are made to coincide, and the X axis in the orthogonal coordinate system and the R axis in the polar coordinate system are made to coincide. Now, command 4 in the orthogonal coordinate system.
Even if and 12 are the same distance, the rotation angle θ of 12 with the smaller radius
2 is considerably larger than θ, 9. When trying to distribute pulses within a unit time, the rotation speed also becomes faster.

このような場合、加工が正常にできなくなったり、サー
ボアラームになる。これらの現象を防止するためには、
プログラム作成時にカム輪郭の各ブロック毎に極座標の
中心に最も近くなる箇所を見出だして、その点での極座
標に変換した後の速度がC軸及びR軸方向の最大切削速
度を越えない直交座標系での送り速度を算出して指令す
ることが考えられるがプログラミングが面倒となる問題
がある。
In such a case, machining cannot be performed normally or a servo alarm occurs. To prevent these phenomena,
When creating a program, find the point closest to the center of the polar coordinates for each block of the cam contour, and use Cartesian coordinates where the speed after converting to polar coordinates at that point does not exceed the maximum cutting speed in the C-axis and R-axis directions. It is conceivable to calculate the feed rate in the system and issue the command, but there is a problem in that programming is troublesome.

以上から本発明の目的は、極座標各軸方向の最大切削速
度を越文ないように速度制御できると共に、該最大切削
速度を考慮せずにプログラミングができ、更には最大切
削速度を越えない限り指令された速度で切削ができる極
座標補間の速度制御方式を提供することである。
From the above, it is an object of the present invention to be able to control the maximum cutting speed in each axis direction of polar coordinates so as not to exceed it, to be able to program without considering the maximum cutting speed, and to be able to command the maximum cutting speed as long as the maximum cutting speed is not exceeded. An object of the present invention is to provide a speed control method for polar coordinate interpolation that allows cutting at a specified speed.

く問題点を解決するための手段〉 第1図は本発明の概略説明図である。Means to solve problems〉 FIG. 1 is a schematic explanatory diagram of the present invention.

11はプログラム指令通路、X、Yは直交座標軸、C,
Rは極座標軸、ΔθMAX’lよ所定時間当りにおける
C軸方向の最大回転量、ΔRr、A8は所定時間当りの
R軸方向の最大移動量、Poはプログラム指令通路上の
現在位置である。
11 is a program command path, X, Y are orthogonal coordinate axes, C,
R is a polar coordinate axis, ΔθMAX'l is the maximum amount of rotation in the C-axis direction per predetermined time, ΔRr, A8 is the maximum amount of movement in the R-axis direction per predetermined time, and Po is the current position on the program command path.

く作用〉 所定時間当りにおける極座標回転軸方向の最大回転量Δ
θMAXと極座標直線軸方向の最大移動量ΔRMoを特
定するデータを予め設定しておき、現在位置P0からプ
ログラム指令通路11上を移動して極座標回転軸(C軸
)方向にΔθ1.lAx回転した時のポイントP、、(
第1図(a))までの移動距離D。を求めると共に、現
在位置P0からプログラム指令通路11上を移動して極
座標直線軸(R軸)方向にΔR1,,Ax移動した時の
ポイントP□(第1図(b))までの移動距離DFIを
求め、NC加工プログラムで指令された所定時間当りの
移動量1IIDPと前記各移動距離D0. D、との大
小を比較し、最小の移動距離に応じた移動速度で直交座
標系における補間演算を行い、該補間演算結果を極座標
に変換する。
Effect〉 Maximum rotation amount Δ in the direction of the polar coordinate rotation axis per predetermined time
Data specifying θMAX and the maximum movement amount ΔRMo in the polar coordinate linear axis direction are set in advance, and the data is set in advance to move from the current position P0 on the program command path 11 and move Δθ1. Point P when rotated by lAx, (
Travel distance D to FIG. 1(a). At the same time, calculate the moving distance DFI to the point P□ (Fig. 1 (b)) when moving from the current position P0 on the program command path 11 in the direction of the polar coordinate linear axis (R axis) by ΔR1,,Ax. , and calculate the movement amount 1IIDP per predetermined time instructed by the NC machining program and each movement distance D0. Compare the magnitude with D, perform interpolation calculation in the orthogonal coordinate system at a moving speed according to the minimum moving distance, and convert the interpolation calculation result into polar coordinates.

〈実施例〉 第2図は本発明方式にかかる数値制御装置のブロック図
である。
<Embodiment> FIG. 2 is a block diagram of a numerical control device according to the method of the present invention.

1はカム輪郭形状に沿って工具を移動させろように直交
座標系でプログラムされたNG加工プログラムであり、
テープリーグ(図示せず)で読み込まれてNC装置内蔵
のメモリに格納され、加工に際して該メモリから1ブロ
ツクづつ読み出されろ。
1 is an NG machining program programmed in a Cartesian coordinate system to move the tool along the cam contour shape,
The data is read by a tape league (not shown) and stored in the memory built into the NC device, and read one block at a time from the memory during processing.

2は前処理手段であり、指令されたNG加工プログラム
から補間演算に必要な情報を抽出し、オフセット処理等
を行って補間演算可能な形式に変換する。3は指令速度
決定手段であり、加工プログラムから指令された速度F
。に操作パネル4上のオーバライドスイッチで設定され
た割合りを掛は合わせて指令速度ΔF (=ワ・FC)
を決定する。
A preprocessing means 2 extracts information necessary for interpolation calculations from the instructed NG machining program, performs offset processing, etc., and converts the information into a format that allows interpolation calculations. 3 is a command speed determining means, which determines the speed F commanded from the machining program.
. Multiply the ratio set by the override switch on the operation panel 4 to the command speed ΔF (=wa・FC).
Determine.

5は速度ウランゴ処理部であり、極座標回転軸方向の最
大回転速度ΔFC1,lAxと極座標直線軸方向の最大
移動速度ΔFIMAXと指令速度ΔFを入力され、これ
らより後述の処理を行って実際の移動速度Fを決定して
出力する。
5 is a speed processing unit which inputs the maximum rotational speed ΔFC1, lAx in the polar coordinate rotation axis direction, the maximum movement speed ΔFIMAX in the polar coordinate linear axis direction, and the command speed ΔF, and performs the processing described later from these to obtain the actual movement speed. Determine and output F.

6は補間演算部であり、速度クランプ部5で決定された
送り速度Fでプログラム通路上を工具が移動するように
直交座標系における補間(直線補間または円弧補間)を
行うと共に、現在位置P0(xo、Yo)の更新を行う
6 is an interpolation calculation unit that performs interpolation (linear interpolation or circular interpolation) in the orthogonal coordinate system so that the tool moves on the program path at the feed rate F determined by the speed clamp unit 5, and also calculates the current position P0 ( xo, Yo) are updated.

7は極座標変換処理部であり、現在位置P。の直交座標
値(xo、Yo)を極座標値(θo、R0)に変換し、
単位時間前の現在位置 と比べて半径の増減分ΔRを実
際の工具の単位時間毎のR軸方向移動量、角度の増減分
ΔθをC軸方向回転量とする。
7 is a polar coordinate conversion processing unit, and the current position P. Convert the orthogonal coordinate values (xo, Yo) to polar coordinate values (θo, R0),
Compared to the current position a unit time ago, the increase/decrease in radius ΔR is the amount of movement of the actual tool in the R-axis direction per unit time, and the increase/decrease in angle Δθ is the amount of rotation in the C-axis direction.

8はサーボ制御部であり、ΔR2Δθを用いて極座標各
軸(C,R軸)における同時2軸のパルス補間演算を行
い、得られた分配パルスを用いて各軸サーボモータ9C
,9Rを回転してワークの回転(C軸)と工具の移動(
R軸)を制御する。
8 is a servo control unit, which performs simultaneous two-axis pulse interpolation calculation on each axis (C, R axis) of polar coordinates using ΔR2Δθ, and uses the obtained distributed pulses to control the servo motor 9C for each axis.
, 9R to rotate the workpiece (C axis) and move the tool (
R axis).

第1図は速度クランプ処理部5における速度決定処理の
説明図である。第1図(al、(blにおいて、11は
プログラム指令通路(たとえばカム輪郭)における1つ
のブロック形状(直線)、x、Yは直交座標軸、C,R
i、を極座標軸、P6は各座標系原点、Peはブロック
始点 p、はブロック終点、ΔθMAX (第1図(a
))は所定時間当りにおける極座標回転軸(C軸)方向
の最大回転量、ΔRMAX ’第1図(b))は極座標
直線軸(R軸)方向の最大移動量、Poはプログラム指
令通路上の現在位置、P、、(第1図(a))は現在位
置P0からプログラム指令通路11上を移動して極座標
回転軸方向にΔθMAX回転した時のポイント、P、(
第1図(b))は現在位置P0からプログラム指令通路
11上を移動して極座標直線軸方向(半径方向)にΔR
MAX移動した時のポイントである。
FIG. 1 is an explanatory diagram of the speed determination process in the speed clamp processing section 5. In Figure 1 (al, (bl), 11 is one block shape (straight line) in the program command path (for example, cam contour), x, Y are Cartesian coordinate axes, C, R
i, is the polar coordinate axis, P6 is the origin of each coordinate system, Pe is the block start point, p is the block end point, ΔθMAX (Fig. 1 (a)
)) is the maximum rotation amount in the direction of the polar coordinate rotation axis (C axis) per predetermined time, ΔRMAX 'Figure 1 (b)) is the maximum amount of movement in the direction of the polar coordinate linear axis (R axis), and Po is the maximum amount of rotation in the direction of the polar coordinate rotation axis (R axis) per predetermined time. The current position, P, (Fig. 1(a)) is the point when moving from the current position P0 on the program command path 11 and rotating by ΔθMAX in the direction of the polar coordinate rotation axis, P, (
Fig. 1(b)) shows movement from the current position P0 on the program command path 11 to the direction of the polar coordinate linear axis (radial direction) ΔR.
This is the point when moving to MAX.

さて、速度クランプ処理部5は、補間演算部6において
現在位置P0(第1図参照)が更新される毎に、該現在
位置座標値と、予め入力されている極座標回転軸方向の
最大回転速度ΔFoMAX並びに極座標直線軸方向の最
大移動速度ΔFR,1IAXと、指令速度決定部3にお
いて決定された指令速度ΔFを用いて、実際の移動速度
を決定する。すなわち、まず、最大回転速度ΔFCM□
、ΔFl’1. MAXを用いて所定時間当りにおける
極座標回転軸方向の最大回転量ΔθMAX (第1図f
at参照)と極座標直線軸方向の最大移動量ΔRMAy
(第1図(bl参照)を計算する。
Now, every time the current position P0 (see FIG. 1) is updated in the interpolation calculation unit 6, the speed clamp processing unit 5 calculates the current position coordinate value and the maximum rotation speed in the direction of the polar coordinate rotation axis that has been input in advance. The actual moving speed is determined using ΔFoMAX, the maximum moving speed ΔFR, 1IAX in the direction of the polar coordinate linear axis, and the command speed ΔF determined by the command speed determination unit 3. That is, first, the maximum rotational speed ΔFCM□
, ΔFl'1. The maximum rotation amount ΔθMAX in the direction of the polar coordinate rotation axis per predetermined time using MAX (Fig. 1 f
(see at) and the maximum movement amount ΔRMAy in the polar coordinate linear axis direction
(Calculate Figure 1 (see bl).

ついで、現在位置P。からプログラム指令通路11上を
移動して極座標回転軸方向にΔθ。□回転した時のポイ
ントP、、までの移動距離DCを演算する(第1図[a
l参照)。尚、この移動距離り。は以下のように求めら
れる。すなわち 第1図(alにおける原点P。と現在位置P。を結ぶ直
線は次式 %式%(1) で表現でき、また原点P、とポイントP、を結ぶ直線は
次式 %式%(2) で表現できるから、ポイントP、、の座標値(X、、。
Next, the current position P. Δθ in the direction of the polar coordinate rotation axis by moving on the program command path 11. □Calculate the moving distance DC to the point P when rotated (Figure 1 [a
(see l). In addition, this moving distance. is calculated as follows. In other words, the straight line connecting the origin P in Figure 1 (al) and the current position P can be expressed by the following formula (% formula % (1)), and the straight line connecting the origin P and point P can be expressed by the following formula (% formula % (2)). ), so the coordinate value of point P, (X,,.

Y、、)はこれら2直線の交点座標値として求めること
ができ、従って距#Doは次式 より演算できる。
Y, , ) can be obtained as the coordinate value of the intersection of these two straight lines, and therefore the distance #Do can be calculated from the following equation.

距離D0が求まれば次に現在位置P。からプログラム指
令通路11上を移動して極座標直線軸方向(半径方向)
にΔR18移動した時のポイントP1までの移動距離D
Rを求める(第1図(b)参照)。尚、この移動距離D
Rは以下のように求められる。すなわち 第1図(b)における原点P8と現在位置P0を結ぶ直
線は次式 %式%) で表現でき、また原点PPlを中心とする半径Rの円は
次式 %式% で表現できるから、ポイントP、の座標値(xl。
Once the distance D0 is determined, the current position P is determined. from the program command path 11 to the polar coordinate linear axis direction (radial direction)
Movement distance D to point P1 when moving by ΔR18 to
Find R (see Figure 1(b)). Furthermore, this moving distance D
R is determined as follows. In other words, the straight line connecting the origin P8 and the current position P0 in Fig. 1(b) can be expressed by the following formula (%); and the circle with radius R centered at the origin PPl can be expressed by the following formula (%). Coordinate values of point P (xl.

Y、)はこれら直線と円の交点座標値として求めること
ができ、従って距MDoは次式 より演算できる。
Y, ) can be obtained as the coordinate values of the intersections of these straight lines and circles, and therefore the distance MDo can be calculated from the following equation.

しかる後、速度クランプ処理部5は指令速度決定部3よ
り入力された指令速度ΔFによる所定時間当りの移動距
離DPを求め、各移動距111Dp、 Do。
Thereafter, the speed clamp processing unit 5 calculates the moving distance DP per predetermined time based on the command speed ΔF input from the command speed determining unit 3, and calculates each moving distance 111Dp, Do.

DFIとの大小を比較し、最小の移動距離に応じた移動
速度を直交座標系における実際の移動速度Fとして次段
の補間演算部6に出力する。
It compares the magnitude with DFI, and outputs the moving speed corresponding to the minimum moving distance to the interpolation calculation unit 6 at the next stage as the actual moving speed F in the orthogonal coordinate system.

尚、以上により、速度クランプ処理部5において速度F
が決定され\ば補間演算部6は該速度を用いて補間演算
を行って所定時間当りの各軸移動距離ΔX、ΔYを求め
、次式 %式% により現在位置P0(xo、Yo)を更新する。そして
、速度クランプ処理部5は該新たな現在位置P0(xo
、Yo)に基づいて上記処理を行って次の新たな速度を
決定する。
In addition, as described above, the speed F in the speed clamp processing section 5
is determined, the interpolation calculation unit 6 performs interpolation calculation using the speed to obtain the moving distances ΔX and ΔY of each axis per predetermined time, and updates the current position P0 (xo, Yo) using the following formula % formula % do. Then, the speed clamp processing unit 5 updates the new current position P0(xo
, Yo) to determine the next new speed.

一方、極座標変換処理部7は現在位置P0の極座標値(
RO,θ。)を次式 %式% より求め、直前の現在位置の極座標値と比較しその差Δ
R2Δθを極座標各軸のインクリメンタル量としてサー
ボ制御部8に入力して極座標各軸を制御する。
On the other hand, the polar coordinate conversion processing unit 7 converts the polar coordinate value (
RO, θ. ) is calculated using the following formula % formula %, and compared with the polar coordinate value of the previous current position, the difference Δ
R2Δθ is input to the servo control unit 8 as an incremental amount for each axis of the polar coordinate system to control each axis of the polar coordinate system.

尚、以上ではカム研削盤に本発明を適用した場合につい
て説明したが、本発明はカム研削盤に限らずX、Z、C
軸で構成される3軸旋盤等にも適用できるものである。
In addition, although the case where the present invention is applied to a cam grinder has been described above, the present invention is not limited to a cam grinder but can also be applied to X, Z, C
It can also be applied to a three-axis lathe or the like composed of axes.

又、速度クランプ処理部には極座標各軸方向の最大速度
を入力した場合について説明したが、所定時間当りの移
動距1m(速度に等価)を入力してもよい。
Furthermore, although the case has been described in which the maximum speed in each axis direction of the polar coordinates is input to the speed clamp processing section, a moving distance of 1 m (equivalent to speed) per predetermined time may also be input.

〈発明の効果〉 以上本発明によれば、所定時間当りにおける極座標回転
軸方向の最大回転量Δθ0、と極座標直線軸方向の最大
移動量ΔRMAxを特定するデータを予め設定しておき
、現在位置P。からプログラム指令通路上を移動して極
座標回転軸方向にΔθrlAx回転した時のポイントP
。までの移動距離D0を求めると共に、現在位wP0か
らプログラム指令通路を移動して極座標直線軸方向(半
径方向)にΔR,,Ax移動した時のポイントP、まで
の移動距IaiD1.lを求め、NC加工プログラムで
指令された所定時間当りの移動距glDPと前記各移動
距離DC2D1.lとの大小を比較し、最小の移動距離
に応じた移動速度で直交座標系における補間演算を行い
、該補間演算結果を極座標に変換するように構成したか
ら、極座標各軸方向の最大切削速度を越えないように速
度制御できると共に、該最大切削速度を考慮せずにプロ
グラミングができ、更には最大切削速度を越えない限り
指令された速度で切削ができろ。
<Effects of the Invention> According to the present invention, data specifying the maximum rotation amount Δθ0 in the polar coordinate rotation axis direction and the maximum movement amount ΔRMAx in the polar coordinate linear axis direction per predetermined time are set in advance, and the current position P . Point P when moving on the program command path and rotating ΔθrlAx in the direction of the polar coordinate rotation axis from
. In addition to finding the moving distance D0 from the current position wP0, the moving distance IaiD1. l is calculated, and the moving distance glDP per predetermined time instructed by the NC machining program and each of the moving distances DC2D1 . Since the configuration is configured to compare the magnitude with l, perform interpolation calculation in the orthogonal coordinate system at a movement speed according to the minimum movement distance, and convert the interpolation calculation result to polar coordinates, the maximum cutting speed in each axis direction of polar coordinates can be calculated. It is possible to control the speed so that it does not exceed the maximum cutting speed, and also to program without considering the maximum cutting speed, and furthermore, it is possible to cut at the commanded speed as long as the maximum cutting speed is not exceeded.

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

第1図は本発明の概略説明図、 第2図は本発明にかかる数値制御装置のブロック図、 第3図及び第4図はカム研削加工の説明図、第5図は従
来の問題点説明図である。 11・・プログラム指令通路、 ΔθM□・・所定時間当りのC軸方向の最大回転量、Δ
RM。・・所定時間当りのR軸方向の最大移動量、Po
・・プログラム指令通路上の現在位置特許出願人   
     ファナック株式会社代理人        
  弁理士  齋藤千幹第1図 (a) (b) 第3図 第4図
Fig. 1 is a schematic diagram of the present invention, Fig. 2 is a block diagram of a numerical control device according to the present invention, Figs. 3 and 4 are explanatory diagrams of cam grinding, and Fig. 5 is an explanation of conventional problems. It is a diagram. 11...Program command path, ΔθM□...Maximum rotation amount in the C-axis direction per predetermined time, Δ
R.M. ...Maximum movement amount in the R-axis direction per predetermined time, Po
...Current position patent applicant on program command path
Agent for FANUC Co., Ltd.
Patent Attorney Chiki Saito Figure 1 (a) (b) Figure 3 Figure 4

Claims (1)

【特許請求の範囲】 直交座標系で指令された加工プログラムに基づいて補間
演算を行い、補間結果を極座標系に変換して極座標軸を
制御する極座標補間の速度制御方式において、 所定時間当りにおける極座標回転軸方向の最大回転量Δ
θ_M_A_Xと極座標直線軸方向の最大移動量ΔR_
M_A_Xを特定するデータを予め設定しておき、現在
位置からプログラム指令通路上を移動して極座標回転軸
方向にΔθ_M_A_X回転した時の移動距離D_Cを
求めると共に、現在位置からプログラム指令通路上を移
動して極座標直線軸方向にΔR_M_A_X移動した時
の移動距離D_Rを求め、 前記加工プログラムで指令された所定時間当りの移動距
離D_Pと前記各移動距離D_C、D_Rとの大小を比
較し、 最小の移動距離に応じた移動速度で直交座標系における
補間演算を行うことを特徴とする極座標補間の速度制御
方式。
[Claims] In a speed control method for polar coordinate interpolation in which interpolation calculations are performed based on a machining program instructed in a Cartesian coordinate system, and the interpolation results are converted to a polar coordinate system to control polar coordinate axes, Maximum rotation amount Δ in the direction of the rotation axis
θ_M_A_X and maximum movement amount ΔR_ in polar coordinate linear axis direction
Data specifying M_A_X is set in advance, and the moving distance D_C when moving on the program command path from the current position and rotating Δθ_M_A_X in the direction of the polar coordinate rotation axis is calculated, and the movement distance D_C is calculated when moving on the program command path from the current position. Find the moving distance D_R when moving ΔR_M_A_X in the direction of the polar coordinate linear axis using A speed control method for polar coordinate interpolation characterized by performing interpolation calculations in a rectangular coordinate system at a moving speed according to the speed.
JP29125187A 1987-11-18 1987-11-18 Speed control system for polar coordinate interpolation Pending JPH01133114A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29125187A JPH01133114A (en) 1987-11-18 1987-11-18 Speed control system for polar coordinate interpolation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29125187A JPH01133114A (en) 1987-11-18 1987-11-18 Speed control system for polar coordinate interpolation

Publications (1)

Publication Number Publication Date
JPH01133114A true JPH01133114A (en) 1989-05-25

Family

ID=17766443

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29125187A Pending JPH01133114A (en) 1987-11-18 1987-11-18 Speed control system for polar coordinate interpolation

Country Status (1)

Country Link
JP (1) JPH01133114A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56114660A (en) * 1980-02-12 1981-09-09 Toyoda Mach Works Ltd Numerical controller which controls cam machining
JPS62163109A (en) * 1986-01-14 1987-07-18 Mitsubishi Electric Corp Numerical controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56114660A (en) * 1980-02-12 1981-09-09 Toyoda Mach Works Ltd Numerical controller which controls cam machining
JPS62163109A (en) * 1986-01-14 1987-07-18 Mitsubishi Electric Corp Numerical controller

Similar Documents

Publication Publication Date Title
US4570386A (en) Regulating wheel dressing system in centerless grinder
JPH01252340A (en) Machining control device employing force sensor
KR0180953B1 (en) Method of controlling the normal direction of the main shaft of the numerical machine tool
US20020071732A1 (en) Corner cutting method and NC controller
JP3093935B2 (en) Spindle rotation angle controlled cutting method using a bite tool
JPS62163109A (en) Numerical controller
CN113399751B (en) Profile control and programming method for 2-axis gear face tooth chamfer
JPH01133114A (en) Speed control system for polar coordinate interpolation
JPH0651241B2 (en) Y-axis processing method
JPH1128641A (en) Plate machining device
JPH01177617A (en) Involute interpolation system
JPH03184749A (en) Profile controller for rotator
JP2845711B2 (en) Machining method of work with character line
JP2686293B2 (en) Three-dimensional laser processing method
JPH1190773A (en) Processing of scroll plate and processing device
JPH0751989A (en) Free-form surface machining device
JPH08187643A (en) Cutting work method using rotary cutting tool
WO2022075223A1 (en) Control device
JPS64182B2 (en)
JP4059734B2 (en) Numerical controller
JP2898162B2 (en) Character line processing method
JPH06262484A (en) Feed control device for numerically controlled machine tool
JPH04322301A (en) Method for interpolating linear axis and rotation axis of numerical controller
JPH0474205A (en) Correction system for tool diameter
JPS6168606A (en) Numerical controller