JPH0573121A - Cnc controller mounting motor axial edge position accuracy evaluating function - Google Patents

Cnc controller mounting motor axial edge position accuracy evaluating function

Info

Publication number
JPH0573121A
JPH0573121A JP23157891A JP23157891A JPH0573121A JP H0573121 A JPH0573121 A JP H0573121A JP 23157891 A JP23157891 A JP 23157891A JP 23157891 A JP23157891 A JP 23157891A JP H0573121 A JPH0573121 A JP H0573121A
Authority
JP
Japan
Prior art keywords
block
motors
motor axial
control
axial edge
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
JP23157891A
Other languages
Japanese (ja)
Inventor
Takashi Nakatsuka
隆 中塚
Hisashi Kinoshita
久 木下
Atsusane Hashimoto
敦実 橋本
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP23157891A priority Critical patent/JPH0573121A/en
Publication of JPH0573121A publication Critical patent/JPH0573121A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To easily evaluate a CP control with high accuracy by adding a function for evaluating motor axial edge position accuracy according to an encoder feedback value. CONSTITUTION:This controller is equipped with plural motors 3 for driving the machine of a controlled system, encodes 4, control block 2 for driving the motors 3, CPU 11 for issuing position commands, and accuracy calculation block 12 for calculating a distance between a motor axial edge position and a point on a correspondent position commanding orbit as control error by recognizing the motor axial edge position by integrating the number of pulses from the encoder 4. Based on the position command converted in terms of the motor axial position from the CPU 11, the control block 2 drives motors 31-33, encoders 41-43 calculate the moving amounts of the motors 31-33, and the encode pulse signals are outputted. The encode pulse signals are inputted to an encode pulse storage block 13 as the feedback values, and the accuracy calculation block 12 calculates the control error according to the motor axial edge orbit position and the position command of the CPU 11.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、エンコーダフィードバ
ック値からモータ軸端位置制御精度の評価を行う機能を
搭載したCNC制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CNC control device equipped with a function for evaluating the accuracy of motor shaft end position control from encoder feedback values.

【0002】[0002]

【従来の技術】従来のCP制御のCNC制御装置におい
ては、切断したカットサンプルの寸法を三次元測定器で
測定するか、円の内周あるいは外周を回転させながら真
円度を測定するかなどでCP制御の精度評価が行われて
いた。
2. Description of the Related Art In a conventional CP control CNC control device, the dimensions of cut samples are measured by a three-dimensional measuring instrument, or the circularity is measured while rotating the inner or outer circumference of a circle. The CP control accuracy was evaluated at.

【0003】[0003]

【発明が解決しようとする課題】しかし、上記従来の評
価方法はなかなか面倒であるし、また上記の計測器をも
っていないユーザーでは精度の良い評価が困難であっ
た。
However, the above-mentioned conventional evaluation method is very troublesome, and it is difficult for a user who does not have the above-mentioned measuring device to perform accurate evaluation.

【0004】本発明はこのような問題点を解決するもの
で、CNC制御装置にエンコーダフィードバック値より
モータ軸端位置制御精度を評価する機能を付加して、C
P制御精度を簡単にかつ高精度に評価できるCNC制御
装置を提供することを目的とする。
The present invention solves such a problem, and a function of evaluating the motor shaft end position control accuracy from the encoder feedback value is added to the CNC control unit, so that C
An object of the present invention is to provide a CNC control device capable of easily and accurately evaluating P control accuracy.

【0005】[0005]

【課題を解決するための手段】上記の目的を達成するた
めに本発明のCNC制御装置は、エンコーダフィードバ
ック値を積算して算出されるモータ軸端軌跡座標を、位
置指令の法線がよぎるときの法線と位置指令との交点を
位置指令座標とし、その位置指令座標からモータ軸端軌
跡座標との距離を制御誤差とする処理を行うものであ
る。
In order to achieve the above object, the CNC control device of the present invention is such that when the normal line of the position command crosses the motor shaft end locus coordinates calculated by integrating the encoder feedback values. The intersection point of the normal line and the position command is set as the position command coordinate, and the process from the position command coordinate to the motor axis end locus coordinate as the control error is performed.

【0006】[0006]

【作用】CNC制御装置にエンコーダフィードバック値
よりモータ軸端位置制御精度評価機能を付加することに
より、CP制御評価を簡単にしかも高精度に評価でき
る。
By adding the motor shaft end position control accuracy evaluation function to the CNC controller based on the encoder feedback value, the CP control evaluation can be evaluated easily and with high accuracy.

【0007】[0007]

【実施例】以下本発明の実施例を図面を参照しながら説
明する。図1は本発明のCNC制御装置の実施例を示す
ブロック図で、1はCPUブロック、2は制御ブロッ
ク、3はモータブロック、4はエンコーダブロック、5
はCRT、6はプリンタ,フロッピーディスク等の記録
または記憶機器、11はCPU、12は精度算出ブロッ
ク、13はエンコーダパルス記憶ブロック、31,3
2,33は複数個のモータ、41,42,43は複数個
のエンコーダである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a CNC control device of the present invention. 1 is a CPU block, 2 is a control block, 3 is a motor block, 4 is an encoder block, 5
Is a CRT, 6 is a recording or storage device such as a printer or a floppy disk, 11 is a CPU, 12 is an accuracy calculation block, 13 is an encoder pulse storage block, 31 and 3
2, 33 are a plurality of motors, and 41, 42, 43 are a plurality of encoders.

【0008】まず、CPU11よりモータ軸端位置に換
算した位置指令を出力し、その位置指令に基づき制御ブ
ロック2は複数個のモータ31,32,33を駆動す
る。複数個のエンコーダ41,42,43はモータ3
1,32,33の移動量を検出し、エンコーダパルス信
号を出力する。このエンコーダパルス信号はフィードバ
ック値としてエンコーダパルス記憶ブロック13に入力
される。精度算出ブロック12はモータ軸端軌跡位置座
標とCPU11の位置指令とから制御誤差を算出する。
この精度算出ブロック12での処理の概略を図2に示
す。まず、時間T0のモータ軸端軌跡位置座標(x0,
y0)は、エンコーダパルス記憶ブロック13で記憶さ
れているフィードーバック値を時間T0まで積算するこ
とにより算出される。次に、時間T0のモータ軸端軌跡
位置座標(x0,y0)に対応するCPU11の位置指
令上の点は、モータ軸端軌跡位置座標(x0,y0)を
通る位置指令軌跡の法線が決定する位置指令軌跡上の点
(xa0,ya0)であり、モータ軸端軌跡位置座標と
位置指令座標(xa0,ya0)との距離が最小にな
る。この距離ε0を位置指令とモータ軸端軌跡の時間T
0における制御誤差として算出し、その誤差に必要な倍
率を掛け位置指令座標の法線上にプロットし図1のCR
T5で描画・出力する。また、この描画した図形,デー
タを記録または記憶機器6に記録または記憶させる。
First, the CPU 11 outputs a position command converted into a motor shaft end position, and the control block 2 drives a plurality of motors 31, 32, 33 based on the position command. The plurality of encoders 41, 42, 43 are the motor 3
The moving amount of 1, 32, 33 is detected and the encoder pulse signal is output. This encoder pulse signal is input to the encoder pulse storage block 13 as a feedback value. The accuracy calculation block 12 calculates a control error from the motor shaft end locus position coordinates and the position command of the CPU 11.
The outline of the processing in the accuracy calculation block 12 is shown in FIG. First, the motor shaft end locus position coordinates (x0,
y0) is calculated by integrating the feedback values stored in the encoder pulse storage block 13 until time T0. Next, for the point on the position command of the CPU 11 corresponding to the motor shaft end locus position coordinate (x0, y0) at time T0, the normal line of the position command locus passing through the motor shaft end locus position coordinate (x0, y0) is determined. Point (xa0, ya0) on the position command locus, and the distance between the motor shaft end locus position coordinate and the position command coordinate (xa0, ya0) becomes the minimum. This distance ε0 is used as the position command and the time T of the motor shaft end locus.
It is calculated as a control error at 0, and the error is multiplied by the required magnification and plotted on the normal line of the position command coordinates, and the CR in FIG.
Draw and output at T5. Further, the drawn figure and data are recorded or stored in the recording or storage device 6.

【0009】[0009]

【発明の効果】以上の説明から明らかなように本発明の
CNC制御装置は、エンコーダフィードバック値よりモ
ータ軸端位置制御精度の評価を行う機能を付加すること
で、CP制御評価を簡単にしかも高精度に評価すること
ができる。
As is apparent from the above description, the CNC control device of the present invention adds the function of evaluating the accuracy of motor shaft end position control from the encoder feedback value to make the CP control evaluation simple and high. It can be evaluated with accuracy.

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

【図1】本発明のCNC制御装置の構成を示すブロック
FIG. 1 is a block diagram showing a configuration of a CNC control device of the present invention.

【図2】本発明の実施例における位置指令とモータ軸端
軌跡と制御誤差との関係を示す図
FIG. 2 is a diagram showing a relationship between a position command, a motor shaft end locus, and a control error in the embodiment of the present invention.

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

1 CPUブロック 2 制御ブロック 3 モータブロック(複数個のモータ) 4 エンコーダブロック(複数個のエンコーダ) 5 CRT(表示器) 6 記録または記憶機器(外部機器) 11 CPU 12 精度算出ブロック 13 エンコーダパルス記憶ブロック 1 CPU Block 2 Control Block 3 Motor Block (Multiple Motors) 4 Encoder Block (Multiple Encoders) 5 CRT (Display) 6 Recording or Storage Device (External Device) 11 CPU 12 Accuracy Calculation Block 13 Encoder Pulse Storage Block

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】制御対象の機械を駆動する複数個のモータ
と、その複数個のモータを指令により駆動する制御ブロ
ックと、複数個のモータの移動量をパルス信号として出
力する複数個のエンコーダと、制御ブロックへ位置指令
を出力するCPUと、複数個のエンコーダより出力され
るフィードバック値を記憶するエンコーダパルス記憶ブ
ロックと、エンコーダのフィードバック値を積算して算
出される時間T0でのモータ軸端軌跡位置座標とそれに
対応する位置指令軌跡上の点との間の距離を時間T0の
制御誤差として算出する精度算出ブロックと、その精度
算出ブロックの算出結果を出力する表示器とプリンタ,
フロッピーディスク等の外部機器とを備えたモータ軸端
位置精度評価機能を搭載したCNC制御装置。
1. A plurality of motors for driving a machine to be controlled, a control block for driving the plurality of motors according to a command, and a plurality of encoders for outputting movement amounts of the plurality of motors as pulse signals. , A CPU that outputs a position command to a control block, an encoder pulse storage block that stores feedback values output from a plurality of encoders, and a motor shaft end locus at time T0 calculated by integrating feedback values of encoders An accuracy calculation block for calculating the distance between the position coordinates and a point on the position command locus corresponding thereto as a control error at time T0, a display device and a printer for outputting the calculation result of the accuracy calculation block,
CNC controller equipped with a motor shaft end position accuracy evaluation function equipped with an external device such as a floppy disk.
JP23157891A 1991-09-11 1991-09-11 Cnc controller mounting motor axial edge position accuracy evaluating function Pending JPH0573121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23157891A JPH0573121A (en) 1991-09-11 1991-09-11 Cnc controller mounting motor axial edge position accuracy evaluating function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23157891A JPH0573121A (en) 1991-09-11 1991-09-11 Cnc controller mounting motor axial edge position accuracy evaluating function

Publications (1)

Publication Number Publication Date
JPH0573121A true JPH0573121A (en) 1993-03-26

Family

ID=16925720

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23157891A Pending JPH0573121A (en) 1991-09-11 1991-09-11 Cnc controller mounting motor axial edge position accuracy evaluating function

Country Status (1)

Country Link
JP (1) JPH0573121A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011060016A (en) * 2009-09-10 2011-03-24 Fanuc Ltd Trajectory display device, and machine tool with the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011060016A (en) * 2009-09-10 2011-03-24 Fanuc Ltd Trajectory display device, and machine tool with the same
CN102019564A (en) * 2009-09-10 2011-04-20 发那科株式会社 3d-trajectory display device for machine tool
US8018192B2 (en) 2009-09-10 2011-09-13 Fanuc Ltd 3D-trajectory display device for machine tool

Similar Documents

Publication Publication Date Title
WO1982001601A1 (en) Position error correcting device
US4873793A (en) Numerically controlled machine tool
US5477118A (en) Numerical controller
US6052628A (en) Method and system for continuous motion digital probe routing
JPS5929384B2 (en) Copying control device
JPH0573121A (en) Cnc controller mounting motor axial edge position accuracy evaluating function
JP2776650B2 (en) Non-circular shape data creation method
JPH0237524B2 (en)
JP2902005B2 (en) Digitizing method of scanning locus
JPH05260782A (en) Evaluating device for accuracy of locus of motor shaft end
JPH07174547A (en) Measuring system with function to automatically form measuring program
JPS6014110A (en) Detection for absolute position of servo control system
JPH01147608A (en) Correction system for positioning error
JPS63191552A (en) Numerically controlled (nc) machine tool equipped with measurement probe error compensation function
JPH07120216A (en) Data compensation system for optical displacement sensor
JPH0728513A (en) Error correction system for machine tool
JPH0233123Y2 (en)
JPH04360754A (en) Tool life control method
JP2818424B2 (en) Bending angle detector for bending machine
JP2883671B2 (en) Numerical controller with sizing function
JPH083733B2 (en) Return to origin method of numerical controller
JPH0233125Y2 (en)
JPH07159147A (en) Three-dimensional measuring system
JPH05127729A (en) Cnc controller
JPH0588751A (en) Positioning device