Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0113992B2 - - Google Patents
[go: Go Back, main page]

JPH0113992B2 - - Google Patents

Info

Publication number
JPH0113992B2
JPH0113992B2 JP58096290A JP9629083A JPH0113992B2 JP H0113992 B2 JPH0113992 B2 JP H0113992B2 JP 58096290 A JP58096290 A JP 58096290A JP 9629083 A JP9629083 A JP 9629083A JP H0113992 B2 JPH0113992 B2 JP H0113992B2
Authority
JP
Japan
Prior art keywords
tracing
profiling
movement
command
pulse
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
JP58096290A
Other languages
Japanese (ja)
Other versions
JPS59224241A (en
Inventor
Hajime Kishi
Mitsuo Matsui
Hitoshi Matsura
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 JP9629083A priority Critical patent/JPS59224241A/en
Publication of JPS59224241A publication Critical patent/JPS59224241A/en
Publication of JPH0113992B2 publication Critical patent/JPH0113992B2/ja
Granted legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q35/00Control systems or devices for copying directly from a pattern or a master model; Devices for use in copying manually
    • B23Q35/04Control systems or devices for copying directly from a pattern or a master model; Devices for use in copying manually using a feeler or the like travelling along the outline of the pattern, model or drawing; Feelers, patterns, or models therefor
    • B23Q35/08Means for transforming movement of the feeler or the like into feed movement of tool or work
    • B23Q35/12Means for transforming movement of the feeler or the like into feed movement of tool or work involving electrical means
    • B23Q35/121Means for transforming movement of the feeler or the like into feed movement of tool or work involving electrical means using mechanical sensing
    • B23Q35/123Means for transforming movement of the feeler or the like into feed movement of tool or work involving electrical means using mechanical sensing the feeler varying the impedance in a circuit

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Machine Tool Copy Controls (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

<産業上の利用分野> 本発明は、2台のならい装置を設けて第1のな
らい装置側でのモデルならいを行なわせ、該なら
いに基づいて第1のならい装置より第2のならい
装置側の移動指令を発生し、該移動指令に基づい
て第2のならい装置側でも同時にならい加工を行
なうマスタースレーブ方式のならい制御装置に関
する。 <従来技術> マスタースレーブ方式のならいシステムは少な
くとも2台のならい装置を有し、第1のならい装
置側(マスター側)でモデルをならい、該ならい
に基いて第1のならい装置より第2のならい装置
側(スレーブ側)の移動指令を発生し、該移動指
令に基いてスレーブ側で加工を行なうものであ
る。かゝるマスタースレーブ方式のならいシステ
ムを構成する個々のならい装置はトレーサヘツド
にモデルをならわせ、該トレーサヘツドにより検
出された変位量を用いてならい制御回路において
各軸の速度指令を演算し、これによりアナログの
速度指令を発生し該アナログの速度指令により対
応する各軸のモータを駆動して工具をワークに対
し相対的に移動させると共に、トレーサヘツドを
してモデル表面をならわせ、これら動作を繰返え
してワークにモデル形状と同形の加工を行なう機
能を有している。又、マスタスレーブのならい制
御が行なえるようにならい装置(マスタ側)のな
らい制御回路から出力されたアナログの速度指令
電圧は、アナログゲートを介して適宜他方のなら
い装置(スレーブ側)の速度制御ユニツトに印加
される構成になつている。 <従来技術の欠点> このように従来のマスタスレーブシステムにお
いては、速度制御信号は速度制御ユニツトへのア
ナログ電圧入力として指令されていたので、マス
タ側からスレーブ側に送出される移動指令もその
ままアナログ値で出力されており、その結果、電
源電圧変動やノイズなどの外乱に弱く、正確な指
令を発生できず、結果的に高精度のならい加工が
できない欠点があつた。また、特公昭44−23273
号公報には、倣い機械と加工機械のテーブルを分
離して各々に送り用のパルスモータを設け、切削
による振動がスタイラス側に伝達されることによ
る加工精度の低下を防止した発明の記載がある。
ここでは、1台の倣い機械に複数の被制御機械が
並列に接続され、全ての被制御機械に同一のモー
タ駆動指令、つまり1台目の機械に対応したバツ
クラツシ、ピツチ誤差信号を加算した送りパルス
信号が転送されているため、外乱の影響の排除は
可能であるが、2台目以降の被制御機械毎のピツ
チ誤差の修正やバツクラツシ補正を精度良く行な
うことができないという問題があつた。 <発明の目的> 本発明の目的は、1つのモデルから複数のワー
クを同時にならい加工するためのマスタースレー
ブ方式のならい制御装置おいて、速度指令をデイ
ジタル信号により形成し、マスタ側からスレーブ
側に送出される移動指令もデイジタル値の制御デ
ータとしたならい制御装置を提供することであ
る。 <発明の概要> 本発明は、トレーサヘツドから発生した検出信
号を用いてならい工作機械の各軸モータをならい
制御するならい制御装置において、前記検出信号
に基づいて各軸モータを制御する速度指令機能と
ならいによらない位置決め機能とを有しそれぞれ
独立したならい加工を行なう第1及び第2のなら
い装置と、第1のならい装置側でならい加工を行
なう可動部の現在位置或いは移動量を監視する監
視手段と、この第1のならい装置側での監視結果
に基づいて検出されるトレーサヘツドの現在位置
或いは所定時間内の移動量を前記第2のならい装
置に対する可動部の移動指令としてデイジタル伝
送する信号伝送手段とを具備し、第1のならい装
置側のトレーサヘツドによりモデルをならわせ、
該ならいによる移動指令に基づいて第2のならい
装置で該モデル形状通りのならい加工を行なわせ
るようにしたことを特徴とするならい制御装置で
ある。 <実施例> 第1図は本発明に係るマスタスレーブのならい
システムに適用できるならい装置のブロツク図で
Z軸の制御系のみ示している。ならい工作機械側
TCMにはテーブルTBLをX軸方向に駆動するX
軸のモータXMと、トレーサヘツドTC及びカツ
タヘツドCTが装着されたコラムCLMをZ軸方向
に駆動するZ軸のモータZMと、テーブルTBLを
Y軸方向に動かすY軸のモータYMが設けられて
いる。テーブルTBLにはモデルMDLとワーク
WKとが固定され、トレーサヘツドTCはモデル
MDLの表面に当接してならい、カツタヘツドCT
はワークWKにモデル形状通りの加工を施す。ト
レーサヘツドTCは周知の如く、モデルMDLの表
面のX、Y、Z各軸の変位εx、εy、εzを検出する
構成のものであり、トレーサヘツドTCにより検
出された各軸方向変位はマイクロコンピユータ構
成のならい制御部TCCに入力され、こゝで周知
のならい演算が行われて各軸方向の速度指令がデ
イジタルで発生する。さて、ならい方法としてX
−Z面における表面ならいを考えるとデイジタル
の速度指令Vx、Vzが発生する。そして、このデ
イジタルの速度指令のうちVzはマルチプレクサ
MPXを介して、デイジタルアナログ変換器
(DA変換器という)DACに入力され、アナログ
の速度指令電圧Vcとなつて速度制御ユニツト
VCCに印加される。尚、ならい制御時にはなら
いモード信号TCMが発生し、マルチプレクサ
MPXはVzのみ通過するようになつている。速度
制御ユニツトVCCはタコジエネレータTGより発
生する実速度電圧Vaと速度指令電圧Vcとの差分
に基いてZ軸のモータZMを駆動する。これと同
時にX軸モータXMも同様に駆動されカツタヘツ
ドCTがワークWKに対して相対的に移動して、
該ワークにモデル形状通りの加工が施され、又ト
レーサヘツドTCはモデルMDLの表面をならうこ
とになる。以後、トレーサヘツドTCはモデル形
状に従つて変位量εx、εy、εzを発生し、該変位量
をならい制御部TCCに入力する。ならい制御部
TCCは変位量εx、εy、εzが入力されゝば、該変位
量に基いて周知のならい演算を実行して送り速度
Vx、Vzを演算する。例えば送り速度Vxは|ε−
ε0|(但し、εは合成変位量、ε0は基準偏位)の
値に対し反比例する様制御し、送り速度はVz
|ε−ε0|の値に比例して変化し、かつ(ε−
ε0)が零になる様に制御する。以後、新たに演算
されたデイジタルの速度指令Vx、VzによりX軸
及びZ軸モータが駆動され、トレーサヘツドTC
はモデル表面に沿つて移動すると共に、カツタヘ
ツドCTはトレーサヘツドと同一の動きを行ない
ワークWKにモデルMDLの形状と同一の加工を
施す。 一方、Z軸モータZMが所定角度回転すると位
置検出器(たとえばパルスコーダ、ポジシヨンコ
ーダなど)PSDから互いに90゜位置のずれた1組
のフイードバツクパルスPa,Pbが発生する。フ
イードバツクパルスPa,Pbは移動方向判別回路
MDDに印加され、こゝで移動方向を判別され
る。すなわち、パルスPaの位相がパルスPbの位
相より進んでいるかいなかにより移動方向を判別
できるから、方向判別回路MDDは位相の進み或
いは遅れに応じて移動方向信号MDSをゲート回
路GTCに出力する。ゲート回路GTCはZ軸モー
タZMが正回転している場合には、フイードバツ
クパルスPaを可逆カウンタRCNの減算端子に、
又後述する分配パルスPsを加算端子にそれぞれ入
力し、逆回転している場合にはフイードバツクパ
ルスPaを加算端子に、分配パルスPsを減算端子
にそれぞれ入力する。 以下、Z軸モータが正回転している場合におけ
る現在位置の監視手法(フオローアツプという)
について説明する。 m1個のフイードバツクパルスPaの発生により
可逆カウンタRCNの内容は−m1となる。この可
逆カウンタRCNの内容はならい制御部TCCによ
り所定周期毎に読取られ、 M+m1→M(Mの初期値は零) ………(1) の演算を施される。又、ならい制御部TCCはm1
をパルス分配器PDCに入力する。パルス分配器
PDCはm1が指令されゝば直ちにパルス分配演算
を行ないm1個の分配パルスPsを出力する。この
分配パルスPsはオアゲートORG及びゲート回路
GTCを介して可逆カウンタRCNの加算端子に入
力され、その内容を正方向に1づつ更新する。従
つて、モータZMがm1個のパルス発生後停止すれ
ばパルス分配器PDCからm1個のパルス発生によ
り可逆カウンタRCNの計数値は零となる。しか
しながら、Z軸モータが回転していれば上記パル
ス分配演算と並行して可逆カウンタRCNの減算
端子にフイードバツクパルスPaが依然として入
力され、その内容を負方向に1づつ更新し、パル
ス分配器からm1個の分配パルスが発生しても零
にはならない。従つて、可逆カウンタRCNから
その内容−m1が読みとられた時刻を、t1、m1
の分配パルスPsが発生する時刻をt2とし、時刻t1
とt2の間にフイードバツクパルスPaがm2個発生
するものとすれば、時刻t2において可逆カウンタ
RCNの内容は−m2となる。 ところで、m1に等しい数の分配パルスが発生
した後(所定周期のサンプリングパルスが発生し
たとき)、ならい制御部TCCは可逆カウンタRCN
の内容(−m2)を再び読取り、 M+m2→M ………(1)′ の加算演算を行なうと共にm2をパルス分配器
PDCに指令する。尚、この(1)′の演算によりMは
(m1+m2)となつている。以後、サンプリング
パルスが発生する毎にならい制御部TCCは可逆
カウンタRCNの内容−mi(i=1、2、3)を
読取り、 M+mi→Ni(=Σmi) ………(1)″ の加算演算を行なうと共に、数値miをパルス分
配器PDCに入力する。以後、上記動作を繰返え
す。 以上をまとめると下表の如くなる。尚、時刻t1
は最初にならい制御部TCCが可逆カウンタRCN
の内容を読込んだ時刻であり、ti(i=2、3、
…)は周期Tのサンプリングパルスが発生した時
刻、miは時刻ti−1からtiの間に発生したフイー
ドバツクパルスPaの数である。この表から明ら
かなように時刻tj+1迄に発生したフイードバツ
<Industrial Application Field> The present invention provides two tracing devices, causes the first tracing device to perform model tracing, and based on the modeling, the second tracing device side is compared to the first tracing device. The present invention relates to a master-slave type profiling control device which generates a movement command and simultaneously performs profiling on the second profiling device side based on the movement command. <Prior art> A master-slave type tracing system has at least two tracing devices, the first tracing device side (master side) traces a model, and the second tracing device uses the second tracing device based on the tracing. A movement command is generated on the profiling device side (slave side), and processing is performed on the slave side based on the movement command. Each tracing device constituting such a master-slave type tracing system traces a model to a tracer head, calculates a speed command for each axis in a tracing control circuit using the amount of displacement detected by the tracer head, This generates analog speed commands, which drive the motors of the corresponding axes to move the tool relative to the workpiece, and also use the tracer head to align the model surface, and perform these operations. It has the function of repeatedly machining the workpiece into the same shape as the model. In addition, the analog speed command voltage output from the tracing control circuit of the tracing device (master side) can be used to control the speed of the other tracing device (slave side) as appropriate via the analog gate. The configuration is such that the voltage is applied to the unit. <Disadvantages of the prior art> As described above, in the conventional master-slave system, the speed control signal was commanded as an analog voltage input to the speed control unit, so the movement command sent from the master side to the slave side is also analog. It is output as a value, and as a result, it is vulnerable to disturbances such as power supply voltage fluctuations and noise, and cannot generate accurate commands, resulting in the disadvantage that high-precision tracing machining cannot be performed. In addition, special public service No. 44-23273
The publication describes an invention in which the tables of the copying machine and the processing machine are separated and each is provided with a feeding pulse motor to prevent a decrease in processing accuracy due to vibrations caused by cutting being transmitted to the stylus side. .
Here, multiple controlled machines are connected in parallel to one copying machine, and all the controlled machines receive the same motor drive command, that is, the feed is the sum of the batch and pitch error signals corresponding to the first machine. Since the pulse signal is transferred, it is possible to eliminate the influence of disturbances, but there is a problem in that it is not possible to accurately correct the pitch error or correct the consistency for each controlled machine after the second machine. <Object of the invention> The object of the present invention is to form a speed command using a digital signal in a master-slave type profiling control device for simultaneously profiling multiple workpieces from one model, and to transfer the speed command from the master side to the slave side. It is an object of the present invention to provide a tracing control device in which the movement command sent out is also digital value control data. <Summary of the Invention> The present invention provides a tracing control device for tracing and controlling each axis motor of a tracing machine tool using a detection signal generated from a tracer head, and a speed command function for controlling each axis motor based on the detection signal. The first and second profiling devices each have a positioning function that does not rely on tracing and perform independent profiling, and the first profiling device side monitors the current position or amount of movement of the movable part that performs profiling. A monitoring means and digitally transmitting the current position of the tracer head or the amount of movement within a predetermined time detected based on the monitoring result on the side of the first tracing device as a movement command for the movable part to the second tracing device. a signal transmission means, the model is traced by a tracer head on the first tracing device side;
This profiling control device is characterized in that it causes a second profiling device to perform profiling according to the shape of the model based on a movement command based on the profiling. <Embodiment> FIG. 1 is a block diagram of a tracing device applicable to a master-slave tracing system according to the present invention, showing only the Z-axis control system. Tracing machine tool side
TCM has an X that drives table TBL in the X-axis direction.
A Z-axis motor XM that drives the column CLM to which the tracer head TC and cutter head CT are attached in the Z-axis direction, and a Y-axis motor YM that moves the table TBL in the Y-axis direction are provided. . Model MDL and workpiece on table TBL
WK is fixed, tracer head TC is model
Cutting head CT in contact with the surface of MDL
Processes the workpiece WK according to the model shape. As is well known, the tracer head TC is configured to detect the displacements ε x , ε y , and ε z of the surface of the model MDL in the X, Y, and Z axes, and the displacements in each axial direction detected by the tracer head TC is input to a tracing control section TCC composed of a microcomputer, where well-known tracing calculations are performed and speed commands in each axis direction are digitally generated. Now, as a training method,
Considering the surface profile on the −Z plane, digital velocity commands V x and V z are generated. Of this digital speed command, V z is sent to the multiplexer.
Via MPX, it is input to the digital-to-analog converter (DA converter) DAC, which converts it into an analog speed command voltage Vc , which is then output to the speed control unit.
Applied to VCC. Note that during tracing control, the tracing mode signal TCM is generated and the multiplexer
MPX is designed to only pass V z . The speed control unit VCC drives the Z-axis motor ZM based on the difference between the actual speed voltage V a generated by the tachogenerator TG and the speed command voltage V c . At the same time, the X-axis motor XM is driven in the same way, and the cutter head CT moves relative to the workpiece WK.
The workpiece is processed according to the model shape, and the tracer head TC follows the surface of the model MDL. Thereafter, the tracer head TC generates displacement amounts ε x , ε y , and ε z according to the model shape, and inputs the displacement amounts to the tracing control unit TCC. Tracing control section
If the displacement amounts ε x , ε y , and ε z are input, TCC performs a well-known tracing calculation based on the displacement amounts to determine the feed rate.
Calculate V x and V z . For example, the feed rate V x is |ε−
The feed rate is controlled to be inversely proportional to the value of ε 0 | (where ε is the combined displacement amount and ε 0 is the reference deviation), and the feed rate V z changes in proportion to the value of |ε−ε 0 |. And (ε−
control so that ε 0 ) becomes zero. Thereafter, the X-axis and Z-axis motors are driven by the newly calculated digital speed commands V x and V z , and the tracer head TC
moves along the model surface, and the cutter head CT moves in the same way as the tracer head, processing the workpiece WK in the same shape as the model MDL. On the other hand, when the Z-axis motor ZM rotates by a predetermined angle, a pair of feedback pulses P a and P b are generated from a position detector (for example, a pulse coder, a position coder, etc.) PSD that are shifted by 90 degrees from each other. Feedback pulses P a and P b are movement direction discrimination circuits
The voltage is applied to MDD, and the direction of movement is determined here. That is, since the direction of movement can be determined depending on whether the phase of pulse P a is ahead of the phase of pulse P b , the direction discrimination circuit MDD outputs the movement direction signal MDS to the gate circuit GTC depending on whether the phase is ahead or behind. . When the Z-axis motor ZM is rotating forward, the gate circuit GTC sends the feedback pulse P a to the subtraction terminal of the reversible counter RCN.
Furthermore, distribution pulses P s , which will be described later, are input to the addition terminals, and when the rotation is reversed, a feedback pulse P a is input to the addition terminal, and a distribution pulse P s is input to the subtraction terminal. Below, the method for monitoring the current position when the Z-axis motor is rotating forward (referred to as follow-up)
I will explain about it. With the generation of m1 feedback pulses P a , the content of the reversible counter RCN becomes -m1 . The contents of this reversible counter RCN are read at predetermined intervals by the tracing control unit TCC and subjected to the calculation M+m 1 →M (initial value of M is zero) (1). Also, the tracing control section TCC is m 1
is input to the pulse distributor PDC. pulse distributor
When m 1 is commanded, the PDC immediately performs pulse distribution calculation and outputs m 1 distribution pulses P s . This distribution pulse P s is the OR gate ORG and the gate circuit
It is input to the addition terminal of the reversible counter RCN via the GTC, and its contents are updated one by one in the positive direction. Therefore, if the motor ZM stops after generating m 1 pulses, the count value of the reversible counter RCN becomes zero due to the generation of m 1 pulses from the pulse distributor PDC. However, if the Z-axis motor is rotating, the feedback pulse P a is still input to the subtraction terminal of the reversible counter RCN in parallel with the above pulse distribution calculation, and its content is updated by 1 in the negative direction, and the pulse distribution Even if m 1 distribution pulses are generated from the device, it will not become zero. Therefore, the time when the content -m 1 is read from the reversible counter RCN is t 1 , the time when m 1 distribution pulses P s is generated is t 2 , and the time t 1
If m 2 feedback pulses P a are generated between
The content of RCN is −m 2 . By the way, after a number of distribution pulses equal to m 1 are generated (when sampling pulses of a predetermined period are generated), the tracing control unit TCC starts the reversible counter RCN.
Read the contents (−m 2 ) again, perform the addition operation M+m 2 →M ………(1)′, and add m 2 to the pulse distributor.
Command the PDC. Note that M is (m 1 +m 2 ) due to the operation (1)'. From then on, every time a sampling pulse occurs, the tracing control unit TCC reads the contents of the reversible counter RCN -mi (i=1, 2, 3), and performs the addition operation of M+mi→Ni (=Σmi)......(1)'' At the same time, input the numerical value mi to the pulse distributor PDC.Then, repeat the above operation.The above is summarized as shown in the table below.It should be noted that at time t 1
First, the control unit TCC converts the reversible counter RCN
It is the time when the contents of were read, and ti(i=2, 3,
) is the time at which the sampling pulse of period T is generated, and mi is the number of feedback pulses P a generated between time ti-1 and ti. As is clear from this table, the feedback that occurred up to time tj+1

【表】 パルスPaの総数Mは M=j+1i=1 mi で表現でき、Z軸方向の現在位置を示し、ならい
制御部TCC内の現在位置レジスタに記憶される。
尚サンプリングパルスTの1周期内にmi個の分
配パルスが確実に発生するものとする。 以上、ならい制御動作とならい制御時における
現在位置を監止する方法を説明したが、第1図に
示すならい装置TCUはNC装置と同様にならいに
よらない位置決め機能を有している。たとえば、
ならい制御部TCCよりパルス分配器PDCに移動
量ΔZを、ゲート回路GTCに指令移動方向信号
CMDを、マルチプレクサMPXにNCモード信号
NCMを入力すれば、パルス分配器PDCから分配
パルスPsが発生し、この分配パルスPsはオアゲー
トORGを介してゲート回路GTCに入力される。
ゲート回路GTCは、指令方向が正であれば該分
配パルスPsを可逆カウンタRCNの加算端子に、
負であれば減算端子に入力する。今、指令方向が
正方向であるとすれば分配パルスPsは可逆カウン
タRCNにカウントアツプされ、該可逆カウンタ
の計数値はマルチプレクサMPXを介してDA変
換器DACに入力され、こゝでアナログの指令速
度電圧Vcに変換されて速度制御ユニツトVCCに
印加される。速度制御ユニツトVCCは実速度電
圧Vaと速度指令電圧Vcとの差分に基いてZ軸の
モータZMを駆動し、コラムCLMをZ軸方向に移
動させる。Z軸モータZMが回転すればフイード
バツクパルスPa,Pbが発生し、可逆カウンタ
RCNの計数値を零方向に減少させる。可逆カウ
ンタRCNの計数値は漸増し、定常時にはほぼ一
定になりこれによりZ軸モータZMは一定速度で
回転し、分配パルスPsの発生が停止すると計数値
は漸減し、Z軸モータは減速し指令された量回転
して停止する。又、手動でならい工作機械を移動
させたい場合にはまず操作パネルOPPより手動
モードを選択する。これによりならい制御部
TCCはマルチプレクサMPXにNCモード信号
NCMを出力する。しかる後、操作パネルに設け
られた手動送りスイツチ或いは手動パルス発生器
を操作すればならい制御部TCCは手動送り方向
に応じて指令移動向信号CMDをゲート回路GTC
に出力し、又パルス発生器POSはパルスPbを発
生し、以後前述の分配パルスPsによる場合と同様
にならい工作機械を移動させる。 第2図は本発明に係るマスタースレーブ方式の
ならいシステムのブロツク図であり、同図中第1
図と同一部分には同一アルフアベツト符号を付
し、マスタ側をサフイツクス1で、スレーブ側を
サフイツクス2で示している。尚、マスタ側のな
らい装置とスレーブ側のならい装置間は、ならい
制御部TCC1から工作機械の現在位置或いは所定
時間内に移動した移動量をならい制御部TCC2
デイジタル伝送する信号伝送線LNにより接続さ
れている。 次に、マスタースレーブ方式によるならい制御
を説明する。 操作パネルOPP1,OPP2上のモード選択スイツ
チをマスタースレーブモードにし、且つマスター
かスレーブかの区別を入力する。マスターが指示
されたならい装置側(マスタ側)のならい制御部
TCC1はマルチプレクサMPX1にならいモード信
号TCMを出力し、又スレーブが指示されたなら
い装置側(スレーブ側)のならい制御部TCC2
マルチプレクサMPX2にNCモード信号NCMを出
力する。 この状態で、ならい起動をかけるとマスタ側の
ならい装置は前述のならい動作を実行すると共に
フオローアツプ制御により現在位置を監視する。 さて、フオローアツプ制御においては、ならい
制御部TCC1は所定周期T毎に可逆カウンタ
RCN1の計数値−miを読取る。尚、この計数値
miは周期Tの間にならい工作機械がZ軸方向に
動いた距離である。ならい制御部TCC1はこの計
数値(移動量)を用いて前述の(1)″式により現在
位置を更新すると共に、該移動量及び移動方向を
スレーブ側の移動指令としてならい制御部TCC2
に出力する。 スレーブ側のならい制御部TCC2はマスタ側か
ら送出されてきた移動量データmiをパルス分配
器PDC2に出力すると共に、移動方向信号CMD2
をゲート回路GTC2に出力する。パルス分配器
PDC2はこの移動量データmiに基いてパルス分配
演算を実行し、分配パルスPs2を発生する。分配
パルスPs2はオアゲートORG2、ゲート回路GTC2
を介して可逆カウンタRCN2に入力され、以後前
述の位置決め制御と全く同様にスレーブ側のなら
い工作機械を移動させワークWK2にモデル
MDL1通りの加工を施す。 尚、以上はマスタ側で、モデルをならわせた場
合であるが、スレーブ側のならい制御装置を単独
でモデルをならつて、独自のならい加工を行なう
こともできる。又、マスタ側からスレーブ側への
移動指令データとして所定周期毎のマスタ側移動
量miを出力した場合について説明したが、マス
タ側の周期T毎の現在位置を移動指令データとし
てスレーブ側に出力し、スレーブ側にて Mi−Mi-1→mi の演算を行なつて、miをパルス分配器PDC2に出
力するようにしてもよい。 <発明の効果> 以上説明したように、本発明のならい制御装置
によれば第1のならい装置側のトレーサヘツドに
よりモデルをならわせ、第2のならい装置で該モ
デル形状通りのならい加工を行なわせる際に、ト
レーサヘツドの現在位置或いは所定時間内の移動
量を第2のならい装置に対する可動部の移動指令
としてデイジタル伝送されているので、被制御機
械毎のピツチ誤差やバツクラツシ補正の調整をそ
れぞれの被制御機械毎に独立して容易に行なえる
ばかりか、電源電圧変動やノイズなどの外乱の影
響をなくせ高精度のならい加工を行なうことがで
きる。又、スレーブ側のならい工作機械での位置
決め動作をデイジタル制御することができるの
で、アナログ電圧指令によりスレーブ側の工作機
械の制御を行なつていた従来方式のものに比較し
て構成が容易になり、信頼性も向上する。
[Table] The total number M of pulses P a can be expressed as M= j+1i=1 mi, which indicates the current position in the Z-axis direction, and is stored in the current position register in the tracing control unit TCC.
It is assumed that mi distribution pulses are reliably generated within one cycle of the sampling pulse T. The profiling control operation and the method of monitoring the current position during profiling control have been described above, but the profiling device TCU shown in FIG. 1 has a positioning function that does not rely on profiling, similar to the NC device. for example,
The tracing control unit TCC sends the movement amount ΔZ to the pulse distributor PDC, and the command movement direction signal to the gate circuit GTC.
CMD, NC mode signal to multiplexer MPX
When NCM is input, a distribution pulse P s is generated from the pulse distributor PDC, and this distribution pulse P s is input to the gate circuit GTC via the OR gate ORG.
If the command direction is positive, the gate circuit GTC sends the distribution pulse P s to the addition terminal of the reversible counter RCN.
If it is negative, input it to the subtraction terminal. Now, if the command direction is the positive direction, the distribution pulse P s is counted up in the reversible counter RCN, and the count value of the reversible counter is input to the DA converter DAC via the multiplexer MPX, where the analog It is converted into a command speed voltage Vc and applied to the speed control unit VCC. The speed control unit VCC drives the Z-axis motor ZM based on the difference between the actual speed voltage V a and the speed command voltage V c to move the column CLM in the Z-axis direction. When the Z-axis motor ZM rotates, feedback pulses P a and P b are generated, and the reversible counter
Decrease the RCN count value toward zero. The count value of the reversible counter RCN gradually increases and becomes almost constant during steady state, causing the Z-axis motor ZM to rotate at a constant speed. When the distribution pulse P s stops generating, the count value gradually decreases and the Z-axis motor decelerates. It rotates by the commanded amount and stops. If you want to move the machine tool manually, first select manual mode from the operation panel OPP. This allows the tracing control section to
TCC sends NC mode signal to multiplexer MPX
Output NCM. After that, by operating the manual feed switch or manual pulse generator provided on the operation panel, the control unit TCC sends the command movement direction signal CMD according to the manual feed direction to the gate circuit GTC.
The pulse generator POS also generates a pulse P b , and thereafter the machine tool is moved in the same manner as with the distribution pulse P s described above. FIG. 2 is a block diagram of a master-slave type tracing system according to the present invention.
The same parts as in the figure are given the same alphanumeric characters, and the master side is shown with a suffix 1 and the slave side is shown with a suffix 2. A signal transmission line LN is connected between the profiling device on the master side and the profiling device on the slave side, which digitally transmits the current position of the machine tool or the amount of movement within a predetermined time from the profiling control unit TCC 1 to the profiling control unit TCC 2 . connected by. Next, tracing control using the master-slave system will be explained. Set the mode selection switches on the operation panels OPP 1 and OPP 2 to master/slave mode, and input the distinction between master and slave. Tracing control section on the tracing device side (master side) where the master is instructed
The TCC 1 outputs a tracing mode signal TCM to the multiplexer MPX 1 , and the tracing control unit TCC 2 on the tracing device side (slave side) to which the slave is instructed outputs the NC mode signal NCM to the multiplexer MPX 2 . In this state, when tracing is activated, the master-side tracing device executes the aforementioned tracing operation and monitors the current position by follow-up control. Now, in follow-up control, the tracing control section TCC 1 uses a reversible counter at every predetermined period T.
Read the count value of RCN 1 - mi. Furthermore, this count value
mi is the distance that the machine tool moved in the Z-axis direction during the period T. The tracing control unit TCC 1 uses this count value (travel amount) to update the current position according to the above-mentioned formula (1), and the tracing control unit TCC 2 uses the movement amount and movement direction as a movement command on the slave side.
Output to. The tracing control unit TCC 2 on the slave side outputs the movement amount data mi sent from the master side to the pulse distributor PDC 2 , and also outputs the movement direction signal CMD 2 .
is output to gate circuit GTC 2 . pulse distributor
The PDC 2 executes a pulse distribution calculation based on this movement amount data mi and generates a distribution pulse P s2 . Distribution pulse P s2 is OR gate ORG 2 , gate circuit GTC 2
is input to reversible counter RCN 2 via
MDL 1 type of processing is applied. Although the above is a case in which the model is traced on the master side, it is also possible to trace the model independently using the slave side profiling control device and perform unique profiling processing. In addition, although we have explained the case where the master side movement amount mi is outputted every predetermined period as movement command data from the master side to the slave side, the current position of the master side every period T is outputted to the slave side as movement command data. , M i −M i-1 →mi may be calculated on the slave side, and mi may be output to the pulse distributor PDC 2 . <Effects of the Invention> As explained above, according to the profiling control device of the present invention, the tracer head on the first profiling device side is used to trace a model, and the second profiling device is used to perform profiling processing according to the shape of the model. Since the current position of the tracer head or the amount of movement within a predetermined time is digitally transmitted as a movement command for the movable part to the second tracing device, pitch error and backlash correction adjustments can be made for each machine to be controlled. Not only can this process be easily performed independently for each controlled machine, but it can also eliminate the effects of external disturbances such as power supply voltage fluctuations and noise, allowing highly accurate tracing machining to be performed. In addition, since the positioning operation of the slave-side profiling machine tool can be digitally controlled, the configuration is easier compared to the conventional method in which the slave-side machine tool was controlled by analog voltage commands. , reliability is also improved.

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

第1図は本発明のマスタースレーブ方式のなら
いシステムに適用できるならい装置の説明図、第
2図は本発明のマスタースレーブ方式のならいシ
ステムの構成図である。 TCC,TCC1,TCC2……ならい制御部、
MPX,MPX1,MPX2……マルチプレクサ、
DAC,DAC1,DAC2……DA変換器、PDC,
PDC1,PDC2……パルス分配器、GTC,GTC1
GTC2……ゲート回路、RCN,RCN1,RCN2
…可逆カウンタ、OPP,OPP1,OPP2……操作
パネル、POS,POS1,POS2……パルス発生器、
MDD,MDD1,MDD2……移動方向判別回路、
MDL,MDL1……モデル。
FIG. 1 is an explanatory diagram of a tracing device applicable to the master-slave type tracing system of the present invention, and FIG. 2 is a block diagram of the master-slave type tracing system of the present invention. TCC, TCC 1 , TCC 2 ...Trailing control section,
MPX, MPX 1 , MPX 2 ...Multiplexer,
DAC, DAC 1 , DAC 2 ...DA converter, PDC,
PDC 1 , PDC 2 ...Pulse distributor, GTC, GTC 1 ,
GTC 2 ...Gate circuit, RCN, RCN 1 , RCN 2 ...
...Reversible counter, OPP, OPP 1 , OPP 2 ...Operation panel, POS, POS 1 , POS 2 ...Pulse generator,
MDD, MDD 1 , MDD 2 ...Movement direction determination circuit,
MDL, MDL 1 ...Model.

Claims (1)

【特許請求の範囲】 1 トレーサヘツドから発生した検出信号を用い
てならい工作機械の各軸モータをならい制御する
ならい制御装置において、前記検出信号に基づい
て各軸モータを制御する速度指令機能とならいに
よらない位置決め機能とを有しそれぞれ独立した
ならい加工を行なう第1及び第2のならい装置
と、第1のならい装置側でならい加工を行なう可
動部の現在位置或いは移動量を監視する監視手段
と、この第1のならい装置側での監視結果に基づ
いて検出されるトレーサヘツドの現在位置或いは
所定時間内の移動量を前記第2のならい装置に対
する可動部の移動指令としてデイジタル伝送する
信号伝送手段とを具備し、第1のならい装置側の
トレーサヘツドによりモデルをならわせ、該なら
いによる移動指令に基づいて第2のならい装置で
も該モデル形状通りのならい加工を行なわせるよ
うにしたことを特徴とするならい制御装置。 2 前記第2のならい装置は、デイジタル伝送さ
れた移動指令に基づいてならい工作機械の各軸モ
ータ毎の移動指令を形成して該指令により可動部
を移動させ、該可動部が所定量移動する毎にパル
スを発生して該パルス数と前記指令数との差を零
とするように第2のならい工作機械を位置決め制
御することを特徴とする特許請求の範囲第1項記
載のならい制御装置。
[Scope of Claims] 1. In a tracing control device for tracing and controlling each axis motor of a tracing machine tool using a detection signal generated from a tracer head, there is provided a speed command function for controlling each axis motor based on the detection signal. first and second profiling devices each having a positioning function independent of the profiling process and performing profiling processing independently; and a monitoring means for monitoring the current position or amount of movement of a movable part that performs profiling processing on the side of the first profiling device. and signal transmission for digitally transmitting the current position of the tracer head or the amount of movement within a predetermined time detected based on the monitoring result on the first tracing device side as a movement command for the movable part to the second tracing device. and a means for tracing the model using a tracer head on the first tracing device side, and causing the second tracing device to also perform tracing processing according to the model shape based on a movement command based on the tracing. Features a profiling control device. 2 The second profiling device forms a movement command for each axis motor of the profiling machine tool based on the digitally transmitted movement command, moves the movable part according to the command, and the movable part moves by a predetermined amount. The profiling control device according to claim 1, wherein the profiling control device controls the positioning of the second profiling machine tool so that the difference between the number of pulses and the number of commands is zero by generating pulses at each time. .
JP9629083A 1983-05-31 1983-05-31 Profile control system Granted JPS59224241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9629083A JPS59224241A (en) 1983-05-31 1983-05-31 Profile control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9629083A JPS59224241A (en) 1983-05-31 1983-05-31 Profile control system

Publications (2)

Publication Number Publication Date
JPS59224241A JPS59224241A (en) 1984-12-17
JPH0113992B2 true JPH0113992B2 (en) 1989-03-09

Family

ID=14160938

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9629083A Granted JPS59224241A (en) 1983-05-31 1983-05-31 Profile control system

Country Status (1)

Country Link
JP (1) JPS59224241A (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5645343A (en) * 1979-09-11 1981-04-25 Osaka Kiko Co Ltd Multifunction complex machine tool

Also Published As

Publication number Publication date
JPS59224241A (en) 1984-12-17

Similar Documents

Publication Publication Date Title
US6252368B1 (en) Numerically controlled system and backlash compensation device for use with the system
JPH0123269B2 (en)
US5194790A (en) Control device for controlling a servo motor
US3781629A (en) Synchronous control system adapted for a numerically controlled machine
JPH0833763B2 (en) Numerical control unit
JPS6315604B2 (en)
EP0364593B1 (en) Machine tool having two main spindles
EP0095924B1 (en) Measurement method, and apparatus therefor
US4575665A (en) Tracer control method
JPH0113992B2 (en)
KR950013510B1 (en) Shape tracking control device
JPS61131007A (en) Numerical control for machine tool
EP0386251A1 (en) Profile control method
EP0081589A1 (en) Numerical control device
EP0420990B1 (en) Profile control device
JPH032624B2 (en)
WO1995028253A1 (en) Profile control system
JP3449237B2 (en) Multi-axis controller
SU772818A1 (en) Copying control system
JPH01230108A (en) Position control system for feed shaft
JPS63237104A (en) Thermal displacement correction numerical control machine tool
SU366934A1 (en) LINE OF SINGLE MACHINES
JPH0313021B2 (en)
WO1989004237A1 (en) Profile controller
JPH07186001A (en) Product working accuracy correction method in servo positioning control type working system