JPS6042483B2 - numerical control device - Google Patents

numerical control device

Info

Publication number
JPS6042483B2
JPS6042483B2 JP11764775A JP11764775A JPS6042483B2 JP S6042483 B2 JPS6042483 B2 JP S6042483B2 JP 11764775 A JP11764775 A JP 11764775A JP 11764775 A JP11764775 A JP 11764775A JP S6042483 B2 JPS6042483 B2 JP S6042483B2
Authority
JP
Japan
Prior art keywords
computer
servo motor
contents
hold register
digital
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
Application number
JP11764775A
Other languages
Japanese (ja)
Other versions
JPS5243080A (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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP11764775A priority Critical patent/JPS6042483B2/en
Publication of JPS5243080A publication Critical patent/JPS5243080A/en
Publication of JPS6042483B2 publication Critical patent/JPS6042483B2/en
Expired legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 本発明は計算機を塔載とした数値制御(以下NCと称
する)装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a numerical control (hereinafter referred to as NC) device equipped with a computer.

最近のNC装置は計算機を塔載したCNCに移行しつ
つあるが、サーボについても従来のアナログ・サーボに
代つてデジタル・サーボが使用されるようになつて来た
Recent NC devices are shifting to CNCs equipped with computers, and digital servos have also begun to be used instead of conventional analog servos.

このデジタル・サーボはサーボとして必要な処理の多く
を計算機で行なつて、処理した情報をサーボモータに出
力してこれを制御する。このさい計算機の処理時間は指
令データの内容によつて相違してくるため、計算機の処
理した情報を直接サーボモータに出力するとサーボ特性
が線型でなくなる欠点を有する。 本発明は、計算機の
処理情報が一定の時間条件でサーボモータに出力できる
前記欠点のない数値制御装置を提供することを目的とす
る。
This digital servo uses a computer to perform much of the processing necessary for a servo, and outputs the processed information to a servo motor to control it. In this case, the processing time of the computer differs depending on the contents of the command data, so if the information processed by the computer is directly output to the servo motor, there is a drawback that the servo characteristics will not be linear. SUMMARY OF THE INVENTION An object of the present invention is to provide a numerical control device that does not have the above drawbacks and can output computer processing information to a servo motor under certain time conditions.

以下本発明を図面に示す一実施例に基づいて説明する
The present invention will be described below based on an embodiment shown in the drawings.

第1図は本発明の構成を示すブロック図で、11は計算
機を示し、例えば当社製のミニコンピュータT−40N
などが使用される。12はサンプリング信号aに同期し
て出力する計算機12の出力を一時記憶しておくための
バッファ回路で、また13は次の指令がくるまでの間、
指令を保持しておくためのホールドレジスタである。
FIG. 1 is a block diagram showing the configuration of the present invention, and numeral 11 indicates a computer, such as a minicomputer T-40N made by our company.
etc. are used. 12 is a buffer circuit for temporarily storing the output of the computer 12 which is output in synchronization with the sampling signal a, and 13 is a buffer circuit until the next command comes.
This is a hold register for holding commands.

14はこのレジスタ13に保持されたデジタル量の指令
値を所要のパルス幅に変換するデジタル・アナログ変換
器で、このアナログ出力によりサーボモータ15が駆動
される。
14 is a digital-to-analog converter that converts the digital quantity command value held in this register 13 into a required pulse width, and the servo motor 15 is driven by this analog output.

16は上記サーボモータ15の実際の位置を検出する位
置検出器で、パルスエンコーダと可逆カウンタの組み合
せにより構成される。
A position detector 16 detects the actual position of the servo motor 15, and is composed of a combination of a pulse encoder and a reversible counter.

また17、18は、サンプリング信号b、cに同期して
入力データを転送する転送回路を表わしている。 次に
作用を説明する。
Further, 17 and 18 represent transfer circuits that transfer input data in synchronization with the sampling signals b and c. Next, the action will be explained.

第2図は上記構成の動作タイミングを示す図である。同
図においてCはサンプリング信号cのタイミングを示し
、TCのサンプリング周期で位置検出器16からサーボ
モータ15もしくは図にない機械の現在位置が計算機1
1に入力される。計算機11は上記検出された現在位置
を入力すると、第3図に示されるサーボとして必要な処
理を行なう。すなわち位置指令値をE(N)、検出器1
6から出されるフィードバック信号をH(N)とすると
、出力1(N)は次式から求めることができる。ここで
NはN回目のサンプリングを示すサフイクスを表わして
いる。
FIG. 2 is a diagram showing the operation timing of the above configuration. In the same figure, C indicates the timing of the sampling signal c, and the current position of the servo motor 15 or a machine not shown is detected by the position detector 16 from the computer 1 at the sampling period of TC.
1 is input. When the computer 11 receives the detected current position, it performs the necessary processing for the servo shown in FIG. In other words, the position command value is E(N), and the detector 1 is
Letting the feedback signal output from 6 be H(N), the output 1(N) can be obtained from the following equation. Here, N represents a suffix indicating the Nth sampling.

上記計算が終了すると、サーボモータ15への指令値を
直ちにバッファ回路12に出力する。
When the above calculation is completed, the command value for the servo motor 15 is immediately output to the buffer circuit 12.

第2図のdは計算機11の処理時間を示し、この値は指
令値によつて異なるので出力のタイミングは一定でない
。次いで同図bのタイミングでバッファ回路12の内容
がホールドレジスタ13に転送される。このレジスタ1
3から出力するデジタル値はデジタル●アナログ変換器
14によりデジタル値に比例したパルス幅のアナログ量
に変換されてサーボモータを駆動する。前記のように計
算機16の処理時間dは指令値によつて一定でない。
d in FIG. 2 indicates the processing time of the computer 11, and since this value varies depending on the command value, the timing of the output is not constant. Next, the contents of the buffer circuit 12 are transferred to the hold register 13 at the timing shown in FIG. This register 1
The digital value outputted from 3 is converted by the digital-to-analog converter 14 into an analog value with a pulse width proportional to the digital value to drive the servo motor. As mentioned above, the processing time d of the computer 16 is not constant depending on the command value.

したがつて計算機11から−直接ホールドレジスタ13
に出力すると、この内容はサンプリング信号aのタイミ
ングで更新される。このようにサンプリング信号aのタ
イミングは一定でないので、サーボモータ15への出力
が線形性を欠いて制御は不安定となる。そこで本発.明
においては、サンプリング信号bのタイミングを一定に
してバッファ回路12の内容を送り出せば、ホールドレ
ジスタ13の内容の更新は一定となる。この場合サンプ
リング周期和は、TD〉計算機11の処理時間の最大値
+バッファレジスタ512に出力するに必要な時間・・
・・・・(2)でなければならない。TDは制御上むだ
時間となりサーボ特性には悪い影響を与えないように、
極力短くすることが必要である。上記は1軸のサーボに
ついて述べたが、NCは複数の軸を同時に動かすもので
あるから、1軸につき1台以上のサーボモータが必要で
ある。
Therefore from the computer 11 - directly the hold register 13
When output to , this content is updated at the timing of sampling signal a. As described above, since the timing of the sampling signal a is not constant, the output to the servo motor 15 lacks linearity and the control becomes unstable. So here comes the main idea. In the present invention, if the timing of the sampling signal b is kept constant and the contents of the buffer circuit 12 are sent out, the update of the contents of the hold register 13 becomes constant. In this case, the sum of sampling periods is TD>maximum processing time of computer 11+time required to output to buffer register 512.
...It must be (2). TD is a dead time in control, so that it does not have a negative effect on servo characteristics.
It is necessary to keep it as short as possible. Although the above description was about a single-axis servo, since the NC moves multiple axes at the same time, one or more servo motors are required for each axis.

この場合ににも構成は1軸の場合と全く同様で、各サー
ボモータ15のサンプリング信号bのタイミングを一緒
にすることで、各サーボとも同期させることができる。
また前記サンプリング周期TD,TCを和=TCとすれ
ば、バッファ回路12と転送回路17が不要となる。こ
れを実行するには、第4図のようにサンプリング信号A
,cのタイミングおよび計算機11の処理時間dを定め
る。但しサンプリング時刻a(n)で出力するデータは
、計算機11の処理時間d(n−1)で処理された値で
ある。この場合は回路として簡単になるが反面むだ時間
が長くなるので、前記実施例に比べてサーボの特性がや
や長くなる。このようにして本発明によればサーボモー
タに出力するタイミングを一定にして安定に運転するこ
とのできる効果的な数値制御装置を提供できる。
In this case, the configuration is exactly the same as the one-axis case, and by making the timing of the sampling signal b of each servo motor 15 the same, it is possible to synchronize each servo.
Further, if the sum of the sampling periods TD and TC is set to TC, the buffer circuit 12 and the transfer circuit 17 become unnecessary. To do this, the sampling signal A is
, c and the processing time d of the computer 11 are determined. However, the data output at sampling time a(n) is a value processed by the computer 11 in processing time d(n-1). In this case, although the circuit is simpler, the dead time becomes longer, so the servo characteristics become a little longer than in the previous embodiment. In this way, according to the present invention, it is possible to provide an effective numerical control device that can stably operate the servo motor by keeping the timing of output to the servo motor constant.

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

第1図は本発明の一実施例を示すブロック図、第2図は
本発明装置の動作タイミングを示す図、第3図は計算機
の内部処理を示すブロック図、第4図は他の実施例に適
応した動作タイミングを示す図てある。 11・・・・・・計算機、12・・・・・・バッファ回
路、13・・・・ホールドレジスタ、14・・・・・・
デジタル●アナログ変換器、15・・・・・・サーボモ
ータ、16・・・・・・位置検出器、17,18・・・
・・・転送回路、A,b,c・・・・サンプリング信号
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a diagram showing the operation timing of the device of the present invention, FIG. 3 is a block diagram showing internal processing of a computer, and FIG. 4 is another embodiment. This figure shows the operation timing adapted to the following. 11... Computer, 12... Buffer circuit, 13... Hold register, 14...
Digital ●Analog converter, 15... Servo motor, 16... Position detector, 17, 18...
... Transfer circuit, A, b, c... Sampling signal.

Claims (1)

【特許請求の範囲】[Claims] 1 指令値を出力する計算機と、上記指令値をバッファ
回路を介して入力しデジタル量で記憶するホールドレジ
スタと、このホールドレジスタの内容をアナログ量に変
換するデジタル・アナログ変換器と、このデジタル・ア
ナログ変換器の出力を入力しサーボモータを介して機械
を駆動するサーボモータと、このサーボモータもしくは
前記機械の位置を検出する位置検出器と、前記バッファ
回路およびホールドレジスタ間のデータの転送を制御す
る第1の転送回路と、前記位置検出器の内容を前記計算
機に転送する第2の転送回路とから成り、前記計算機に
転送された前記内容を前記計算機により処理し前記指令
値として前記バッファ回路に出力し、前記第1の転送回
路に加えられるサンプリング信号のサンプリング周期を
一定にして前記ホールドレジスタの内容を更新するタイ
ミングを前記計算機の処理時間の最大値より遅い一定値
にしてサーボモータをサンプリング制御することを特徴
とする数値制御装置。
1. A computer that outputs a command value, a hold register that inputs the command value via a buffer circuit and stores it as a digital quantity, a digital-analog converter that converts the contents of this hold register into an analog quantity, and a digital-to-analog converter that converts the contents of this hold register into an analog quantity. Controls data transfer between a servo motor that inputs the output of an analog converter and drives the machine via a servo motor, a position detector that detects the position of this servo motor or the machine, and the buffer circuit and hold register. a first transfer circuit that transfers the contents of the position detector to the computer, and a second transfer circuit that transfers the contents of the position detector to the computer; The servo motor is sampled by keeping the sampling period of the sampling signal output to the first transfer circuit constant and updating the contents of the hold register at a constant value that is slower than the maximum processing time of the computer. A numerical control device characterized by controlling.
JP11764775A 1975-10-01 1975-10-01 numerical control device Expired JPS6042483B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11764775A JPS6042483B2 (en) 1975-10-01 1975-10-01 numerical control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11764775A JPS6042483B2 (en) 1975-10-01 1975-10-01 numerical control device

Publications (2)

Publication Number Publication Date
JPS5243080A JPS5243080A (en) 1977-04-04
JPS6042483B2 true JPS6042483B2 (en) 1985-09-24

Family

ID=14716847

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11764775A Expired JPS6042483B2 (en) 1975-10-01 1975-10-01 numerical control device

Country Status (1)

Country Link
JP (1) JPS6042483B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS584320A (en) * 1981-06-25 1983-01-11 Fanuc Ltd System for controlling electrospark machining machine
JPS591122A (en) * 1982-06-24 1984-01-06 Fanuc Ltd Method for controlling reversing in spark machining machine

Also Published As

Publication number Publication date
JPS5243080A (en) 1977-04-04

Similar Documents

Publication Publication Date Title
US4143310A (en) Apparatus for positioning
JPS63274385A (en) Speed controller for servo-motor
KR920013055A (en) Slip mode control system
GB2086612A (en) Programmable robot
WO1988004445A1 (en) Numerical controller
JPS61163404A (en) Interface system of servocontroller
JPS63148881A (en) Speed control device for servo motor
JPS6042483B2 (en) numerical control device
US4383245A (en) Digital servomotor drive apparatus
US4214192A (en) Path control apparatus for the computer directed control of a numerically controlled machine tool
JPS6029292A (en) Control system of arm for robot
KR870001209B1 (en) Position control apparatus using sine curve
JPH0522989B2 (en)
JPH0764644A (en) Gain switching device for positioning servo mechanism
JP2006018431A (en) Servo control device
JPH03154104A (en) Positioning controller
JP2581192B2 (en) Master / slave / manipulator controller
JPH0199102A (en) Servo controller
JP3164725B2 (en) Position detection device
KR830001722B1 (en) Signal conversion circuit
JP2784785B2 (en) How to change the rotation speed of open loop control pulse motor
JP3269198B2 (en) Position control device
SU1334104A1 (en) Control system
JPS6234202A (en) Digital servo controller
SU1646851A1 (en) Device for control industrial robot