JP6111642B2 - Control device, control program, and control method - Google Patents

Control device, control program, and control method Download PDF

Info

Publication number
JP6111642B2
JP6111642B2 JP2012273843A JP2012273843A JP6111642B2 JP 6111642 B2 JP6111642 B2 JP 6111642B2 JP 2012273843 A JP2012273843 A JP 2012273843A JP 2012273843 A JP2012273843 A JP 2012273843A JP 6111642 B2 JP6111642 B2 JP 6111642B2
Authority
JP
Japan
Prior art keywords
control
measurement information
smoothing process
unit
result
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.)
Active
Application number
JP2012273843A
Other languages
Japanese (ja)
Other versions
JP2014119902A (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.)
Omron Corp
Original Assignee
Omron 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 Omron Corp filed Critical Omron Corp
Priority to JP2012273843A priority Critical patent/JP6111642B2/en
Publication of JP2014119902A publication Critical patent/JP2014119902A/en
Application granted granted Critical
Publication of JP6111642B2 publication Critical patent/JP6111642B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Feedback Control In General (AREA)
  • Control Of Position Or Direction (AREA)

Description

本発明は、主軸・従軸連動の制御アプリケーションに係る制御装置、その制御プログラムおよびその制御方法に関する。   The present invention relates to a control device, a control program thereof, and a control method thereof related to a spindle / slave interlocking control application.

機械や設備などの制御には、プログラマブルロジックコントローラ(Programmable Logic Controller:以下「PLC」と称す。)などの制御装置が用いられる。このような制御装置は、予め定められた周期で制御演算を行なうため、制御の遅れ時間(むだ時間)が問題となることがある。   A control device such as a programmable logic controller (hereinafter referred to as “PLC”) is used for controlling machines and equipment. Since such a control device performs a control calculation at a predetermined cycle, a control delay time (dead time) may be a problem.

このような制御の遅れ時間が問題となる一例として、主軸・従軸連動の制御アプリケーションが挙げられる。この主軸・従軸連動の制御アプリケーションの一例としては、対象物の物理的変位(回転速度や変位)などを測定装置(主軸)で測定して得られた測定情報を用いて、対象物に対する処理(従軸)を制御するようなアプリケーションである。このような制御アプリケーションでは、主軸で測定された情報が処理されて従軸へ伝達されるまでの遅れが発生するという課題が存在する。そこで、このような遅れによる影響を低減する方法が以下のように提案されている。   As an example in which such a control delay time becomes a problem, there is a control application interlocking with a main shaft and a slave shaft. As an example of this spindle / slave-linked control application, processing on an object using measurement information obtained by measuring the physical displacement (rotation speed or displacement) of the object with a measuring device (spindle). This is an application that controls (slave shaft). In such a control application, there is a problem that a delay occurs until information measured on the main shaft is processed and transmitted to the slave shaft. Therefore, a method for reducing the influence of such a delay has been proposed as follows.

特開平08−126375号公報(特許文献1)には、主軸モータに従属軸モータが遅れなく追従できる同期制御装置が開示されている。より具体的には、主軸モータと従属軸モータとを同期駆動させる装置において、従属軸モータの動特性モデルより予測したモータの回転位置が未来目標位置指令と一致するように制御される予見制御器を備え、主軸モータの未来位置の予測値を計算する手段と、従属軸モータの未来目標位置指令を主軸モータの未来位置予測値の関数として求め、予見制御器に入力する手段とを備えた構成が開示されている。   Japanese Patent Application Laid-Open No. 08-126375 (Patent Document 1) discloses a synchronous control device in which a sub shaft motor can follow a main shaft motor without delay. More specifically, in a device for synchronously driving the main shaft motor and the sub shaft motor, a foreseeing controller that is controlled so that the rotational position of the motor predicted from the dynamic characteristic model of the sub shaft motor matches the future target position command. And a means for calculating a predicted value of the future position of the spindle motor, and a means for obtaining a future target position command of the dependent axis motor as a function of the predicted future position of the spindle motor and inputting it to the foreseeing controller. Is disclosed.

また、特開平09−289788号公報(特許文献2)には、精度の高い同期制御を実現し、かつ、位置指令の入力や、主軸位置の検出に遅れがある場合でも同期精度の劣化が少ない同期制御装置が開示されている。より具体的には、予測装置1と、主軸装置2と、従属軸装置3とを含む、主軸モータに同期して従属軸モータを駆動する同期制御装置を開示される。予測装置1は、現在に至るまでの過去複数点に入力した主軸位置指令増分値を記憶する手段7と、記憶された値の内でM−1サンプリング前に入力した主軸位置指令増分値を出力する手段7’と、現在に至るまでの過去複数点に入力した主軸位置増分値を記憶する手段8と、dサンプリングの遅れを含めた主軸装置の動特性モデル、記憶された主軸位置指令増分値および主軸位置増分値により、数サンプリング先までの複数個の主軸位置増分値の予測値を求める演算器9と、得られた複数個の主軸位置増分値の予測値から複数個の従属軸未来位置指令を求める変換器10とを含む構成が開示されている。   Japanese Patent Application Laid-Open No. 09-289788 (Patent Document 2) realizes highly accurate synchronization control, and there is little deterioration in synchronization accuracy even when there is a delay in position command input or spindle position detection. A synchronous control device is disclosed. More specifically, a synchronous control device that drives the dependent shaft motor in synchronization with the main shaft motor, including the prediction device 1, the main shaft device 2, and the dependent shaft device 3, is disclosed. The prediction device 1 outputs a spindle position command increment value input to a plurality of past points up to the present, and a spindle position command increment value input before M-1 sampling among the stored values. Means for storing the spindle position increment values inputted to a plurality of past points up to the present, a dynamic characteristic model of the spindle device including d sampling delay, and the stored spindle position command increment value And a calculator 9 for obtaining predicted values of a plurality of spindle position increment values up to several sampling destinations based on the spindle position increment value, and a plurality of dependent axis future positions from the obtained predicted values of the plurality of spindle position increment values. A configuration including a converter 10 for obtaining a command is disclosed.

さらに、特開平10−174478号公報(特許文献3)には、主軸の動特性が正転時と逆転時とで異なる場合にも、同期精度の劣化のない同期制御装置が開示されている。具体的には、主軸モータに同期して従属軸モータを駆動する同期制御装置であって、主軸位置のサンプリング周期間の増分値、あるいはその予測値を乗数K1倍した信号と、主軸位置指令増分値を乗数K2倍した信号とを加算した信号を同期ずれの微調整信号として従属軸モータの制御装置へ入力する微調整装置19を備えた同期制御装置において、乗数K1を2種類記憶し、主軸位置増分値の正負によって切り換える手段を有する構成が開示されている。   Furthermore, Japanese Patent Laid-Open No. 10-174478 (Patent Document 3) discloses a synchronous control device that does not deteriorate the synchronization accuracy even when the dynamic characteristics of the main shaft are different between forward rotation and reverse rotation. Specifically, it is a synchronous control device that drives a subordinate motor in synchronization with a main shaft motor, and includes a signal obtained by multiplying an increment value between sampling periods of the main shaft position or a predicted value thereof by a multiplier K1, and a main shaft position command increment. In a synchronous control device provided with a fine adjustment device 19 for inputting a signal obtained by adding a signal multiplied by a multiplier K2 to a control device for a dependent axis motor as a fine adjustment signal for synchronization deviation, two types of multipliers K1 are stored, and the spindle A configuration having means for switching depending on whether the position increment value is positive or negative is disclosed.

特開平08−126375号公報Japanese Patent Laid-Open No. 08-126375 特開平09−289788号公報JP 09-289788 A 特開平10−174478号公報Japanese Patent Laid-Open No. 10-174478

上述の特許文献1〜3は、対象となる制御システムに応じてモデルやパラメータなどを調整する必要があり、実際に適用する場合には、調整に手間を要するものであった。   In the above-described Patent Documents 1 to 3, it is necessary to adjust a model, a parameter, and the like according to a target control system. When actually applied, adjustment takes time.

本発明は、主軸・従軸連動の制御アプリケーションにおいて生じる制御の遅れ時間による影響を低減できる、新規な制御装置、制御プログラムおよびその制御方法を提供することである。   An object of the present invention is to provide a novel control device, control program, and control method thereof that can reduce the influence due to a control delay time that occurs in a control application interlocked with a main shaft and a slave shaft.

本発明のある局面に従う制御装置は、対象物の物理的変位を示す測定情報を測定装置から取得する入力部と、対象物に対して処理を行なう処理装置を駆動する駆動部と、測定情報に基づいて駆動部を制御する制御部とを含む。制御部は、測定情報に対して平滑化処理を行なう平滑化手段と、先行して算出された平滑化処理の結果と測定情報とを比較することで、平滑化処理の前に測定情報を補正する補正手段とを含む。   A control device according to an aspect of the present invention includes an input unit that acquires measurement information indicating physical displacement of an object from the measurement device, a drive unit that drives a processing device that performs processing on the object, and measurement information. And a control unit for controlling the drive unit based on the control unit. The control unit corrects the measurement information before the smoothing process by comparing the measurement information with the smoothing means for performing the smoothing process on the measurement information and the result of the smoothing process calculated in advance. Correction means.

好ましくは、補正手段は、測定情報と先行して算出された平滑化処理の結果との差を算出する手段を含む。   Preferably, the correcting means includes means for calculating a difference between the measurement information and the result of the smoothing process calculated in advance.

好ましくは、補正手段は、先行して算出された平滑化処理の結果に対して位相を遅れ側にシフトさせる手段と、測定情報と位相がシフトされた平滑化処理の結果との差を算出する手段を含む。   Preferably, the correction means calculates a difference between the means for shifting the phase to the delay side with respect to the result of the smoothing process calculated in advance, and the measurement information and the result of the smoothing process with the phase shifted. Including means.

好ましくは、測定装置は、物理的変位として、対象物の移動に係る各時点での位置を測定し、平滑化手段は、対象物の位置の時間的変化量である移動速度を平滑化する。   Preferably, the measuring device measures the position at each time point related to the movement of the object as a physical displacement, and the smoothing means smoothes the moving speed that is a temporal change amount of the position of the object.

好ましくは、入力部および駆動部の少なくとも一方は、ネットワークを通じて情報を遣り取りする。   Preferably, at least one of the input unit and the drive unit exchanges information through a network.

好ましくは、制御部は、予め定められた周期で演算処理を実行する。
好ましくは、制御部は、前記平滑化処理の結果に基づいて前記駆動部へ与える指令値を算出する算出手段をさらに含み、算出手段は、平滑化処理の結果から対象物の位置を推定する。
Preferably, a control part performs a calculation process with a predetermined period.
Preferably, the control unit further includes a calculation unit that calculates a command value to be given to the drive unit based on the result of the smoothing process, and the calculation unit estimates the position of the object from the result of the smoothing process.

本発明の別の局面に従えば、対象物の物理的変位を示す測定情報を測定装置から取得する入力部と、対象物に対して処理を行なう処理装置を駆動する駆動部と、制御部とを備えたコンピュータで実行される制御プログラムが提供される。制御プログラムは、コンピュータに、測定情報に対して平滑化処理を行なうステップと、先行して算出された平滑化処理の結果と測定情報とを比較することで、平滑化処理の前に測定情報を補正するステップとを実行させる。   According to another aspect of the present invention, an input unit that acquires measurement information indicating physical displacement of an object from a measurement device, a drive unit that drives a processing device that performs processing on the object, and a control unit, There is provided a control program to be executed by a computer comprising: The control program compares the measurement information with the step of performing the smoothing process on the measurement information to the computer by comparing the result of the smoothing process calculated in advance with the measurement information. And a step of correcting.

本発明のさらに別の局面に従えば、対象物の物理的変位を示す測定情報を測定装置から取得する入力部と、対象物に対して処理を行なう処理装置を駆動する駆動部と、制御部とを備えたコンピュータで実行される制御方法が提供される。制御方法は、測定情報に対して平滑化処理を行なうステップと、先行して算出された平滑化処理の結果と測定情報とを比較することで、平滑化処理の前に測定情報を補正するステップとを含む。   According to still another aspect of the present invention, an input unit that acquires measurement information indicating physical displacement of an object from a measurement device, a drive unit that drives a processing device that performs processing on the object, and a control unit And a control method executed by a computer. The control method includes a step of performing the smoothing process on the measurement information and a step of correcting the measurement information before the smoothing process by comparing the measurement result with the result of the smoothing process calculated in advance. Including.

本発明によれば、主軸・従軸連動の制御アプリケーションにおいて生じる制御の遅れ時間による影響を低減できる。   ADVANTAGE OF THE INVENTION According to this invention, the influence by the control delay time which arises in the control application of a spindle / slave interlock can be reduced.

本実施の形態に係る制御システムの構成を示す模式図である。It is a schematic diagram which shows the structure of the control system which concerns on this Embodiment. 本実施の形態に係る制御システムにおける主軸・従軸連動を説明するための模式図である。It is a schematic diagram for demonstrating a spindle / slave interlock in the control system which concerns on this Embodiment. 本実施の形態に係る制御システムにおける遅れ時間の影響を説明するための図である。It is a figure for demonstrating the influence of the delay time in the control system which concerns on this Embodiment. 本実施の形態に係る制御システムにおける遅れ時間の影響を説明するための図である。It is a figure for demonstrating the influence of the delay time in the control system which concerns on this Embodiment. 本実施の形態に係る制御装置に実装される制御構造を示す模式図である。It is a schematic diagram which shows the control structure mounted in the control apparatus which concerns on this Embodiment. 本実施の形態に係る制御システムにおける処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in the control system which concerns on this Embodiment. 本実施の形態に係る制御システムによる改善効果をシミュレーションで検証した一例を示す図である。It is a figure which shows an example which verified the improvement effect by the control system which concerns on this Embodiment by simulation. 第1変形例に係る制御装置に実装される制御構造を示す模式図である。It is a schematic diagram which shows the control structure mounted in the control apparatus which concerns on a 1st modification. 第1変形例に係る制御装置による改善効果をシミュレーションで検証した一例を示す図である。It is a figure which shows an example which verified the improvement effect by the control apparatus which concerns on a 1st modification by simulation. 第1変形例に係る制御装置による改善効果をシミュレーションで検証した一例を示す図である。It is a figure which shows an example which verified the improvement effect by the control apparatus which concerns on a 1st modification by simulation. 第2変形例に係る制御システムの構成を示す模式図である。It is a schematic diagram which shows the structure of the control system which concerns on a 2nd modification. 第2変形例に係る制御システムにおける処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in the control system which concerns on a 2nd modification. 第2変形例に係る制御システムに実装される制御構造の全体を示す模式図である。It is a schematic diagram which shows the whole control structure mounted in the control system which concerns on a 2nd modification. 第2変形例に係る制御システムに関連する目標位置予測の効果の一例を示す図である。It is a figure which shows an example of the effect of the target position prediction relevant to the control system which concerns on a 2nd modification. 第2変形例に係る制御システムに関連する別の目標位置予測の効果の一例を示す図である。It is a figure which shows an example of the effect of another target position prediction relevant to the control system which concerns on a 2nd modification. 第2変形例の別の形態に係る制御システムによる目標位置予測の効果の一例を示す図である。It is a figure which shows an example of the effect of the target position prediction by the control system which concerns on another form of a 2nd modification. 第3変形例に係る制御システムに実装される制御構造の全体を示す模式図である。It is a schematic diagram which shows the whole control structure mounted in the control system which concerns on a 3rd modification. 第3変形例に係る制御装置に入力される入力データに含まれるヒントデータの作成方法を説明するための図である。It is a figure for demonstrating the production method of the hint data contained in the input data input into the control apparatus which concerns on a 3rd modification. 第3変形例に係る制御装置による将来位置予測の効果の一例を示す図である。It is a figure which shows an example of the effect of the future position prediction by the control apparatus which concerns on a 3rd modification. 第4変形例に係る制御装置に実装される制御構造を示す模式図である。It is a schematic diagram which shows the control structure mounted in the control apparatus which concerns on a 4th modification. 図20に示す制御構造における時間的な遅れの補償を行なうための原理を説明するための図である。It is a figure for demonstrating the principle for compensating for the time delay in the control structure shown in FIG.

本発明の実施の形態について、図面を参照しながら詳細に説明する。なお、図中の同一または相当部分については、同一符号を付してその説明は繰り返さない。   Embodiments of the present invention will be described in detail with reference to the drawings. In addition, about the same or equivalent part in a figure, the same code | symbol is attached | subjected and the description is not repeated.

<A.システム構成>
本発明のある実施の形態として、移動する対象物(以下「ワーク」と称す。)を測定するとともに、予め定められた位置で処理を行なう、主軸・従軸連動の制御アプリケーションについて考える。
<A. System configuration>
As an embodiment of the present invention, a spindle / slave-linked control application that measures a moving object (hereinafter referred to as “work”) and performs processing at a predetermined position will be considered.

図1は、本実施の形態に係る制御システム100の構成を示す模式図である。図1を参照して、本実施の形態に係る制御システム100は、鉄板などのワークWを搬送するための搬送モータ112,114と、ワークWを切断するロータリーカッターとを含む。   FIG. 1 is a schematic diagram showing a configuration of a control system 100 according to the present embodiment. Referring to FIG. 1, control system 100 according to the present embodiment includes transport motors 112 and 114 for transporting work W such as an iron plate, and a rotary cutter for cutting work W.

ワークWの移動量(あるいは、搬送速度)は、ワークWの移動に関連付けられたメジャリングロールによって計測される。このメジャリングロールとしては、その回転軸がワークWの裏面と接触するように配置されたエンコーダ140が用いられる。すなわち、エンコーダ140からの検出信号(パルス信号)に基づいてワークWの移動量が算出されるとともに、予め指定された間隔でワークWが切断される。   The movement amount (or conveyance speed) of the workpiece W is measured by a measuring roll associated with the movement of the workpiece W. As this measuring roll, an encoder 140 arranged so that its rotating shaft is in contact with the back surface of the workpiece W is used. That is, the amount of movement of the workpiece W is calculated based on the detection signal (pulse signal) from the encoder 140, and the workpiece W is cut at a predetermined interval.

ワークWの切断は、搬送方向に直交する方向に配置された一対のロータリーカッター102および104で行われる。より具体的には、このロータリーカッター102がサーボモータ110によって駆動されることで、ロータリーカッター102および104が同期回転して、その周の一部に形成されている刃でワークWを切断する。サーボモータ110は、サーボドライバ40からその駆動に係る信号(典型的には、パルス信号)を供給されることで、回転駆動する。   The workpiece W is cut by a pair of rotary cutters 102 and 104 arranged in a direction orthogonal to the conveying direction. More specifically, when the rotary cutter 102 is driven by the servo motor 110, the rotary cutters 102 and 104 rotate synchronously, and the workpiece W is cut with a blade formed on a part of the circumference thereof. The servo motor 110 is driven to rotate by being supplied with a signal (typically a pulse signal) related to the drive from the servo driver 40.

図1に示す例では、エンコーダ140を主軸とも称し、この主軸からの情報を受けて駆動されるサーボモータ110を従軸とも称す。   In the example shown in FIG. 1, the encoder 140 is also referred to as a main shaft, and the servo motor 110 that is driven by receiving information from the main shaft is also referred to as a slave shaft.

このワークWの移動量の測定およびワークWの切断は、制御装置1によって制御される。次に、この制御装置1の詳細について説明する。   The measurement of the movement amount of the workpiece W and the cutting of the workpiece W are controlled by the control device 1. Next, details of the control device 1 will be described.

<B.制御装置の構成>
図1に示す制御装置1は、典型的には、プログラマブルロジックコントローラ(Programmable Logic Controller:以下「PLC」と称す。)などによって実現される。もちろん、PLCではなく、パーソナルコンピューター(PC)や各種の演算処理装置を用いて実装してもよい。
<B. Configuration of control device>
The control device 1 shown in FIG. 1 is typically realized by a programmable logic controller (hereinafter referred to as “PLC”) or the like. Of course, you may mount not using PLC but using a personal computer (PC) and various arithmetic processing units.

制御装置1は、主たる演算処理を実行するCPU(Central Processing Unit)ユニット10と、エンコーダ140が出力するパルス信号を検出およびカウントするためのパルスカウンタユニット20と、サーボドライバ40などのフィールド機器と通信を行なうためのフィールドバスインターフェイス(I/F)ユニット30とを含む。   The control apparatus 1 communicates with a field device such as a CPU (Central Processing Unit) unit 10 that executes main arithmetic processing, a pulse counter unit 20 that detects and counts pulse signals output from the encoder 140, and a servo driver 40. Fieldbus interface (I / F) unit 30 for performing

CPUユニット10は、主たる構成要素として、マイクロプロセッサ、RAM(Random Access Memory)などの揮発性メモリ、および、HDD(Hard Disk Drive)やROM(Read Only Memory)などの不揮発性メモリを含む。典型的には、制御装置1では、CPUユニット10がプログラムを実行することで後述するような処理が実現される。但し、プログラムによって実現される処理の全部または一部を専用のハードウェアで実現してもよい。   The CPU unit 10 includes, as main components, a microprocessor, a volatile memory such as a RAM (Random Access Memory), and a nonvolatile memory such as an HDD (Hard Disk Drive) and a ROM (Read Only Memory). Typically, in the control device 1, processing described later is realized by the CPU unit 10 executing a program. However, all or part of the processing realized by the program may be realized by dedicated hardware.

フィールドネットワークとしては、EtherCAT(登録商標)、Profinet IRT、MECHATROLINK(登録商標)−III、Powerlink、SERCOS(登録商標)−III、CIP Motionといった各種の産業用イーサネット(登録商標)を用いることができる。あるいは、DeviceNet、CompoNet/IP(登録商標)などの独自規格のネットワークを用いてもよい。   As the field network, various industrial Ethernets (registered trademark) such as EtherCAT (registered trademark), Profinet IRT, MECHATRLINK (registered trademark) -III, Powerlink, SERCOS (registered trademark) -III, and CIP Motion can be used. Alternatively, a proprietary network such as DeviceNet or CompoNet / IP (registered trademark) may be used.

制御装置1は、図示しない入出力ユニットや特殊ユニットを含んでいてもよい。これらのユニットは、図示しないPLCシステムバスを介して、データを互いに遣り取りできるように構成される。   The control device 1 may include an input / output unit and a special unit (not shown). These units are configured to exchange data with each other via a PLC system bus (not shown).

図1に示す構成例において、エンコーダ140についてもフィールドバスなどのネットワークを通じてその情報が伝送されてもよい。すなわち、入力部であるパルスカウンタユニット20および駆動部であるサーボドライバ40の少なくとも一方は、ネットワークを通じて情報を遣り取りしてもよい。   In the configuration example shown in FIG. 1, the information may be transmitted to the encoder 140 through a network such as a fieldbus. That is, at least one of the pulse counter unit 20 as an input unit and the servo driver 40 as a drive unit may exchange information through a network.

図1に示すパルスカウンタユニット20は、対象物(ワークW)の物理的変位である移動量(あるいは、搬送速度)を示す測定情報を測定装置であるエンコーダ140から取得する入力部に相当する。フィールドバスインターフェイスユニット30およびサーボドライバ40は、対象物(ワークW)に対して処理を行なう処理装置であるロータリーカッター102,104およびサーボモータ110を駆動する駆動部に相当する。CPUユニット10は、測定情報(すなわち、エンコーダ140からのパルス信号)に基づいて駆動部を制御する制御部に相当する。   The pulse counter unit 20 illustrated in FIG. 1 corresponds to an input unit that acquires measurement information indicating a movement amount (or a conveyance speed) that is a physical displacement of an object (work W) from an encoder 140 that is a measurement device. The fieldbus interface unit 30 and the servo driver 40 correspond to a drive unit that drives the rotary cutters 102 and 104 and the servo motor 110 that are processing devices for processing an object (work W). The CPU unit 10 corresponds to a control unit that controls the drive unit based on measurement information (that is, a pulse signal from the encoder 140).

本実施の形態に係る制御装置1は、後述するような処理ロジックを採用することで、ワークWの切断精度をより高めることができる。以下、この処理ロジックの詳細について説明する。   The control device 1 according to the present embodiment can further improve the cutting accuracy of the workpiece W by employing processing logic as described later. Details of this processing logic will be described below.

<C.主軸・従軸連動について>
まず、主軸であるエンコーダ140による検出値(主軸位置/カウント値)と、従軸であるサーボモータ110の回転運動との関係について説明する。図1に示すロータリーカッターは、ワークWの移動に応じてその刃の位置を適切に制御する必要がある。すなわち、サーボモータ110の回転角度を適切に制御することで、一種のカム運動を実現する。
<C. About main / slave interlocking>
First, the relationship between the detection value (main shaft position / count value) by the encoder 140 that is the main shaft and the rotational motion of the servo motor 110 that is the sub shaft will be described. The rotary cutter shown in FIG. 1 needs to appropriately control the position of the blade according to the movement of the workpiece W. In other words, by appropriately controlling the rotation angle of the servo motor 110, a kind of cam motion is realized.

図2は、本実施の形態に係る制御システム100における主軸・従軸連動を説明するための模式図である。図2に示すように、ワークWの移動量を示す主軸位置の変化に対して、従軸目標角度(ロータリーカッター102,104の角度)は、リニアではなく所定の関係に従って決定される。典型的には、この主軸・従軸の関係は、後述するカムテーブルによって実現される。すなわち、図2に示す主軸・従軸の関係をカムテーブルとして定義しておき、パルスカウンタユニット20によってカウントされたパルス数に応じて、このカムテーブルを参照することで、ロータリーカッター102,104の角度が逐次算出される。   FIG. 2 is a schematic diagram for explaining the interlocking of the main shaft and the slave shaft in the control system 100 according to the present embodiment. As shown in FIG. 2, the slave target angle (the angles of the rotary cutters 102 and 104) is determined according to a predetermined relationship with respect to a change in the spindle position indicating the movement amount of the workpiece W, not linear. Typically, the relationship between the main shaft and the slave shaft is realized by a cam table described later. 2 is defined as a cam table, and the cam table is referred to according to the number of pulses counted by the pulse counter unit 20, so that the rotary cutters 102 and 104 Angles are calculated sequentially.

ワークWに対する切断面をより好ましいものにするために、従軸目標角度[rad]およびその微分値である従軸目標角速度[rad/s]の両方が考慮される。従軸目標角速度について見れば、切断動作の開始位置から距離p1までの間は、その従軸目標角速度が一定値(典型的には、ワークWの搬送速度に相当する値)に制限される。その後、切断動作の開始位置から距離p2の位置でロータリーカッター102,104の角速度が最大化するように増速される。その後、切断動作の開始位置から距離p3の位置において、再度、その従軸目標角速度が一定値(典型的には、ワークWの搬送速度に相当する値)に制限される。そして、切断動作の開始位置から距離p4の位置において、切断動作が完了する。   In order to make the cut surface with respect to the workpiece W more preferable, both the slave shaft target angle [rad] and the slave shaft target angular velocity [rad / s] which is a differential value thereof are considered. In terms of the slave target angular velocity, the slave target angular velocity is limited to a constant value (typically a value corresponding to the conveyance speed of the workpiece W) from the start position of the cutting operation to the distance p1. Thereafter, the angular velocities of the rotary cutters 102 and 104 are increased so as to maximize at a distance p2 from the starting position of the cutting operation. Thereafter, at the position of the distance p3 from the start position of the cutting operation, the slave target angular velocity is again limited to a constant value (typically a value corresponding to the conveyance speed of the workpiece W). Then, the cutting operation is completed at a position of distance p4 from the starting position of the cutting operation.

次に、主軸・従軸連動における制御の遅れ時間の影響について説明する。
図3および図4は、本実施の形態に係る制御システム100における遅れ時間の影響を説明するための図である。
Next, the influence of the control delay time in the main shaft / slave shaft linkage will be described.
3 and 4 are diagrams for explaining the influence of the delay time in the control system 100 according to the present embodiment.

図1に示す制御システム100では、ワークWの搬送に係る物理的変化は、エンコーダ140によって測定される。エンコーダ140は、物理的変位として、対象物であるワークWの移動に係る各時点での位置を測定する。このエンコーダ140による測定情報がフィールドネットワークなどを介して伝送される場合には、その伝送による遅延時間(むだ時間)は不可避である。また、パルスカウンタユニット20がエンコーダ140からの検出信号(パルス信号)をカウントして、CPUユニット10がそのカウント値を参照して、従軸目標角度を算出するための演算時間が必要である。さらに、その算出された従軸目標角度がフィールドバスを介してサーボドライバ40へ伝送されるのに要する遅延時間も必要となる。   In the control system 100 shown in FIG. 1, the physical change related to the conveyance of the workpiece W is measured by the encoder 140. The encoder 140 measures the position at each time point related to the movement of the workpiece W, which is the object, as a physical displacement. When measurement information by the encoder 140 is transmitted via a field network or the like, a delay time (dead time) due to the transmission is inevitable. Further, the pulse counter unit 20 counts the detection signal (pulse signal) from the encoder 140, and the CPU unit 10 refers to the count value to calculate the slave shaft target angle. Furthermore, a delay time required for the calculated slave shaft target angle to be transmitted to the servo driver 40 via the field bus is also required.

これらの遅延時間(むだ時間)によって、従軸であるロータリーカッター102,104が実際に動作を開始するタイミングは遅れる。具体的には、図3に示すように、主軸位置に対して、従軸目標角度が現実に有効になるタイミングが遅くなるので、その遅延分がカット寸法誤差となる。すなわち、本来であれば、切断動作の開始位置から距離p4の位置で切断動作が完了すべきであるところ、現実には、距離p4’の位置で切断動作が完了する。   Due to these delay times (dead time), the timing at which the rotary cutters 102 and 104 as the driven shafts actually start operating is delayed. Specifically, as shown in FIG. 3, since the timing at which the slave target angle is actually effective is delayed with respect to the spindle position, the delay becomes a cut dimension error. That is, originally, the cutting operation should be completed at the position of the distance p4 from the starting position of the cutting operation, but in reality, the cutting operation is completed at the position of the distance p4 '.

ワークWの搬送速度が一定であれば、図3に示す遅れの特性は、図4に示すような特性として表現することもできる。図4に示すように、位置検出遅れやCPU演算遅れによって、カット寸法の誤差が生じ得る。   If the conveyance speed of the workpiece W is constant, the delay characteristic shown in FIG. 3 can also be expressed as a characteristic shown in FIG. As shown in FIG. 4, an error in cut dimensions may occur due to a position detection delay or a CPU calculation delay.

本実施の形態においては、このような遅れを補正することで、カット寸法の誤差発生といった影響を回避して、ロータリーカッターをより高い精度で制御する。特に、本実施の形態においては、ワークWの搬送速度を算出する際に量子化誤差を抑制するために実行されるフィルタ処理(平滑化処理)による位相遅れを考慮した補正ロジックを採用する。より具体的には、フィルタ処理(平滑化処理)による位相遅れを補正するために、オブザーバ制御を導入する。以下、このオブザーバ制御について説明する。   In the present embodiment, by correcting such a delay, the influence of the occurrence of an error in cut dimensions is avoided, and the rotary cutter is controlled with higher accuracy. In particular, in the present embodiment, a correction logic that takes into account a phase delay due to a filter process (smoothing process) executed to suppress a quantization error when calculating the conveyance speed of the workpiece W is employed. More specifically, observer control is introduced in order to correct a phase delay due to filter processing (smoothing processing). Hereinafter, the observer control will be described.

<D.オブザーバ制御>
図5は、本実施の形態に係る制御装置1に実装される制御構造を示す模式図である。図5に示す制御構造は、CPUユニット10がプログラムを実行することによって、実現される。基本的には、CPUユニット10は、予め定められた制御周期(例えば、10msec)で演算処理を実行する。そのため、図5に示す制御構造に係る演算についても、予め定められた制御周期で繰り返し実行される。
<D. Observer control>
FIG. 5 is a schematic diagram showing a control structure implemented in the control device 1 according to the present embodiment. The control structure shown in FIG. 5 is realized by the CPU unit 10 executing a program. Basically, the CPU unit 10 executes arithmetic processing at a predetermined control cycle (for example, 10 msec). Therefore, the calculation related to the control structure shown in FIG. 5 is also repeatedly executed at a predetermined control cycle.

図5を参照して、制御装置1は、その制御構造として、微分要素11と、増幅要素12と、加算要素13と、フィルタ要素14と、減算要素15と、積分要素16,18とを含む。制御装置1において、パルスカウンタユニット20は、エンコーダ140からのパルス信号をカウントする。このカウント値がワークWの主軸位置に相当し、この主軸位置(カウント値)がCPUユニット10によって読み出される。この読み出された主軸位置(カウント値)は、微分要素11によって、時間についての微分(あるいは、差分)されることで、ワークWの搬送速度が算出される。制御装置1においては、ワークWの搬送速度に基づいて制御が行われる。   Referring to FIG. 5, control device 1 includes, as its control structure, differential element 11, amplification element 12, addition element 13, filter element 14, subtraction element 15, and integration elements 16 and 18. . In the control device 1, the pulse counter unit 20 counts pulse signals from the encoder 140. This count value corresponds to the spindle position of the workpiece W, and this spindle position (count value) is read by the CPU unit 10. The read spindle position (count value) is differentiated with respect to time by the differentiation element 11 (or a difference), whereby the conveyance speed of the workpiece W is calculated. In the control device 1, control is performed based on the conveyance speed of the workpiece W.

このワークWの搬送速度は、フィルタ要素14によって平滑化される。このフィルタ要素14は、微分要素11によって生じる量子化誤差やパルス信号に生じるノイズなどの影響を取り除くために用いられる。すなわち、フィルタ要素14は、測定情報であるエンコーダ140からのパルス信号に対して平滑化処理を行なう平滑化手段に相当する。図1に示す構成例においては、フィルタ要素14は、対象物であるワークWの位置の時間的変化量である搬送速度を平滑化する。   The conveying speed of the workpiece W is smoothed by the filter element 14. The filter element 14 is used to remove the influence of the quantization error caused by the differential element 11 and the noise generated in the pulse signal. That is, the filter element 14 corresponds to a smoothing unit that performs a smoothing process on the pulse signal from the encoder 140 that is measurement information. In the configuration example shown in FIG. 1, the filter element 14 smoothes the conveyance speed, which is a temporal change amount of the position of the workpiece W that is the object.

フィルタ要素14から出力される平滑化後の搬送速度は、ワークWの推定搬送速度に相当し、積分要素18に入力されてさらに積分される。積分要素18から出力される結果は、ワークWの位置(移動量)を示す。この積分要素18から出力されるワークWの位置(移動量)は、目標値算出部19へ入力される。目標値算出部19は、図2に示すような特性を定義するカムテーブル19aを参照して、サーボドライバ40へ与える目標値(ロータリーカッター102,104を駆動するサーボモータ110の角速度の指令値あるいは指令角度)が算出される。そして、算出された目標値は、サーボドライバ40へ出力される。すなわち、積分要素18および目標値算出部19は、平滑化処理の結果に基づいて、駆動部であるサーボモータ110へ与える指令値を算出する算出手段に相当する。そして、この算出手段は、平滑化処理の結果から対象物であるワークWの位置を推定する。   The smoothed transport speed output from the filter element 14 corresponds to the estimated transport speed of the workpiece W, and is input to the integrating element 18 and further integrated. The result output from the integration element 18 indicates the position (movement amount) of the workpiece W. The position (movement amount) of the workpiece W output from the integration element 18 is input to the target value calculation unit 19. The target value calculation unit 19 refers to the cam table 19a that defines the characteristics as shown in FIG. 2 and supplies a target value (an angular velocity command value of the servo motor 110 that drives the rotary cutters 102 and 104 or a command value to be given to the servo driver 40). Command angle) is calculated. The calculated target value is output to the servo driver 40. That is, the integration element 18 and the target value calculation unit 19 correspond to calculation means for calculating a command value to be given to the servo motor 110 that is a drive unit based on the result of the smoothing process. And this calculation means estimates the position of the workpiece | work W which is a target object from the result of the smoothing process.

フィルタ要素14は、量子化誤差やノイズなどの影響を除去するのに有効であるが、いくらかの時定数を有しているので、入力と出力との間に遅れ時間が生じる。そこで、このフィルタ要素14による遅れ時間をオブザーバ制御によって補償する。より具体的には、増幅要素12、加算要素13、減算要素15、および、積分要素16がオブザーバ制御を実現する。このオブザーバ制御は、先行して算出された平滑化処理の結果(フィルタ要素14の出力)と測定情報(パルスカウンタユニット20から読み出された値:主軸位置)とを比較することで、平滑化処理の前に測定情報である主軸位置を補正する補正手段に相当する。   The filter element 14 is effective in removing the influence of quantization error, noise, etc., but has a certain time constant, so that a delay time occurs between the input and the output. Therefore, the delay time due to the filter element 14 is compensated by observer control. More specifically, the amplification element 12, the addition element 13, the subtraction element 15, and the integration element 16 realize observer control. This observer control is performed by comparing the result of the smoothing process calculated in advance (output of the filter element 14) with the measurement information (value read from the pulse counter unit 20: spindle position). This corresponds to correction means for correcting the spindle position as measurement information before processing.

すなわち、フィルタ要素14から出力される平滑化後の搬送速度は、積分要素16に入力されて積分される。積分要素16から出力される結果は、ワークWの推定位置(推定の移動量)を示す。制御系としての遅れ時間がなければ、理想状態として、このワークWの推定位置は、パルスカウンタユニット20から読み出された主軸位置と一致する。本実施の形態においては、フィルタ要素14に遅れ時間が存在しているため、両者の間にはいくらかの差が生じる。この主軸位置と推定位置との差に基づいて主軸位置を補正することで、両者の間の時間遅れを補償する。   That is, the smoothed conveyance speed output from the filter element 14 is input to the integration element 16 and integrated. The result output from the integration element 16 indicates the estimated position (estimated movement amount) of the workpiece W. If there is no delay time as the control system, as an ideal state, the estimated position of the workpiece W coincides with the spindle position read from the pulse counter unit 20. In the present embodiment, since there is a delay time in the filter element 14, there is some difference between the two. By correcting the spindle position based on the difference between the spindle position and the estimated position, a time delay between the two is compensated.

より具体的には、減算要素15には、パルスカウンタユニット20から読み出された主軸位置と、積分要素16での積分の結果得られる推定位置とが入力される。そして、減算要素15は、両者の差を算出し、増幅要素12へ入力する。このように、オブザーバ制御は、測定情報(パルスカウンタユニット20から読み出された値:主軸位置)と先行して算出された平滑化処理の結果(フィルタ要素14の出力)との差を算出する手段として、減算要素15を含む。増幅要素12は、入力値に予め定められた補正ゲインを乗じた後、その結果を加算要素13へ出力する。加算要素13は、微分要素11の出力に増幅要素12の出力を加算することで、補正後のワークWの搬送速度を算出する。   More specifically, the spindle position read from the pulse counter unit 20 and the estimated position obtained as a result of integration by the integration element 16 are input to the subtraction element 15. Then, the subtraction element 15 calculates the difference between the two and inputs it to the amplification element 12. In this way, the observer control calculates the difference between the measurement information (value read from the pulse counter unit 20: spindle position) and the smoothing processing result (output of the filter element 14) calculated in advance. As a means, a subtraction element 15 is included. The amplification element 12 multiplies the input value by a predetermined correction gain, and then outputs the result to the addition element 13. The adding element 13 adds the output of the amplifying element 12 to the output of the differentiating element 11 to calculate the corrected conveyance speed of the workpiece W.

以上のようなオブザーバ制御を採用することで、フィルタ要素14による遅れ時間を補償して、より正確な位置制御を行なうことができる。   By adopting the observer control as described above, it is possible to compensate for the delay time caused by the filter element 14 and perform more accurate position control.

<E.処理手順>
次に、図1に示す制御システム100における制御手順について説明する。図6は、本実施の形態に係る制御システム100における処理手順を示すフローチャートである。図6に示す各ステップは、典型的には、CPUユニット10がプログラムを実行することで実現される。
<E. Processing procedure>
Next, a control procedure in the control system 100 shown in FIG. 1 will be described. FIG. 6 is a flowchart showing a processing procedure in the control system 100 according to the present embodiment. Each step shown in FIG. 6 is typically realized by the CPU unit 10 executing a program.

図6を参照して、CPUユニット10は、ワークWがカット位置に到達したか否かを判断する(ステップS102)。ワークWがカット位置に到達したか否かは、ワークWの搬送経路に設けられた位置検出センサ(光学式または機械式など)などを用いて判断してもよいし、メジャリングローラであるエンコーダ140を用いて判断してもよい。   Referring to FIG. 6, CPU unit 10 determines whether or not work W has reached the cutting position (step S102). Whether or not the workpiece W has reached the cutting position may be determined using a position detection sensor (such as an optical type or a mechanical type) provided in the conveyance path of the workpiece W, or an encoder that is a measuring roller. 140 may be used for the determination.

ワークWがカット位置に到達したと判断された場合(ステップS102においてYESの場合)には、CPUユニット10は、メジャリングロールによって計測されるワークWの長さを初期化する(ステップS104)。典型的には、エンコーダ140からの検出信号(パルス信号)のカウント値がゼロリセットされる。   If it is determined that the workpiece W has reached the cutting position (YES in step S102), the CPU unit 10 initializes the length of the workpiece W measured by the measuring roll (step S104). Typically, the count value of the detection signal (pulse signal) from the encoder 140 is reset to zero.

これに対して、ワークWがカット位置に到達したと判断されなかった場合(ステップS102においてNOの場合)には、ステップS104の処理はスキップされる。   On the other hand, when it is not determined that the workpiece W has reached the cutting position (NO in step S102), the process of step S104 is skipped.

続いて、CPUユニット10は、エンコーダ140からの検出信号(パルス信号)のカウント値を取得する(ステップS106)。典型的には、パルスカウンタユニット20は、CPUユニット10の制御周期とは独立して、エンコーダ140からの検出信号(パルス信号)をカウントする。そして、CPUユニット10が所定の演算タイミングにおいて、パルスカウンタユニット20に保持されているカウント値を読み出す。   Subsequently, the CPU unit 10 acquires the count value of the detection signal (pulse signal) from the encoder 140 (step S106). Typically, the pulse counter unit 20 counts the detection signal (pulse signal) from the encoder 140 independently of the control cycle of the CPU unit 10. Then, the CPU unit 10 reads the count value held in the pulse counter unit 20 at a predetermined calculation timing.

CPUユニット10は、ワークWの主軸位置を更新する(ステップS108)とともに、ワークWの搬送速度を算出する(ステップS110)。さらに、CPUユニット10は、前の制御周期において算出されたワークWの推定位置と現制御周期において取得されたワークWの主軸位置との差分を用いて、ワークWの搬送速度を補正する(ステップS112)。そして、CPUユニット10は、補正後のワークWの搬送速度に対してフィルタ処理を実行する(ステップS114)。このフィルタ処理として、移動平均法を採用した場合には、それ以前に算出されたワークWの搬送速度の平均値が用いられる。   The CPU unit 10 updates the spindle position of the workpiece W (step S108) and calculates the conveyance speed of the workpiece W (step S110). Further, the CPU unit 10 corrects the conveyance speed of the workpiece W using the difference between the estimated position of the workpiece W calculated in the previous control cycle and the spindle position of the workpiece W acquired in the current control cycle (step). S112). Then, the CPU unit 10 performs a filtering process on the corrected conveyance speed of the workpiece W (step S114). When the moving average method is adopted as the filtering process, an average value of the conveyance speed of the workpiece W calculated before that is used.

そして、CPUユニット10は、フィルタ処理後のワークWの搬送速度からワークWの推定位置を算出するとともに、サーボドライバ40へ与える目標値を算出する(ステップS116)。最終的に、CPUユニット10は、サーボドライバ40へ与える目標値を出力する(ステップS118)。   Then, the CPU unit 10 calculates the estimated position of the workpiece W from the conveyance speed of the workpiece W after the filtering process, and calculates a target value to be given to the servo driver 40 (step S116). Finally, the CPU unit 10 outputs a target value to be given to the servo driver 40 (step S118).

そして、次の制御周期が到来すると、ステップS102以下の処理が再度実行される。
<F.シミュレーション結果>
次に、図5および図6に示すオブザーバ制御に係る効果を、シミュレーションを用いて検証した結果の一例について示す。
Then, when the next control cycle arrives, the processing after step S102 is executed again.
<F. Simulation results>
Next, an example of the result of verifying the effect related to the observer control shown in FIGS. 5 and 6 using simulation will be described.

図7は、本実施の形態に係る制御システム100による改善効果をシミュレーションで検証した一例を示す図である。図7に示す例は、ロータリーカッターの定格トルクの14%に相当する加速度変動を与えた場合の挙動をシミュレーションしたものである。図7の(1)は、実速度(実搬送速度)を示し、ワークWの推定搬送速度がこの実速度に近い値を示す程、正確な速度推定ができていることになる。   FIG. 7 is a diagram illustrating an example in which the improvement effect by the control system 100 according to the present embodiment is verified by simulation. The example shown in FIG. 7 simulates the behavior when an acceleration variation corresponding to 14% of the rated torque of the rotary cutter is given. (1) in FIG. 7 shows the actual speed (actual transport speed), and the more accurate the speed estimate is made as the estimated transport speed of the workpiece W becomes closer to the actual speed.

図7の(2)は、エンコーダ140からの検出信号(パルス信号)に基づいて算出(差分)された速度を示し、図7の(3)は、上述のオブザーバ制御が無い場合にフィルタ要素14から出力される平滑化後の速度を示す。この図7の(3)に示すように、フィルタ要素14によって遅れ時間が生じていることがわかる。   (2) in FIG. 7 shows the speed calculated (difference) based on the detection signal (pulse signal) from the encoder 140, and (3) in FIG. 7 shows the filter element 14 when there is no observer control described above. The speed after smoothing output from is shown. As shown in FIG. 7 (3), it can be seen that a delay time is caused by the filter element 14.

これに対して、図7の(4)は、上述のオブザーバ制御がある場合にフィルタ要素14から出力される平滑化後の速度を示す。この図7の(4)に示すように、オブザーバ制御によって、フィルタ要素14で生じる遅れ時間が補償されていることがわかる。   On the other hand, (4) of FIG. 7 shows the speed | velocity | rate after smoothing output from the filter element 14 when there exists the above-mentioned observer control. As shown in FIG. 7 (4), it can be seen that the delay time generated in the filter element 14 is compensated by the observer control.

このように、オブザーバ制御を適用することで、フィルタ要素14による遅れ時間を低減することができ、これによって生じる影響を最小限化できる。   Thus, by applying the observer control, the delay time due to the filter element 14 can be reduced, and the effect caused by this can be minimized.

<G.第1変形例>
上述のオブザーバ制御においては、フィルタ要素14による遅れを補償する構成について説明した。一方、制御システム100の全体としては、エンコーダ140で検出されたパルス信号の伝送遅延や、CPUユニット10における制御周期によるむだ時間などにより、出力の演算に影響を与えやすい。このような伝送遅延や制御周期によるむだ時間などは、その大きさを予め知ることができる。そこで、このような予め定められたむだ時間を補償するために、上述したオブザーバ制御に位相シフトフィルタを導入することで、より遅れによる影響を回避することができる。以下、オブザーバ制御を改良した構成について例示する。
<G. First Modification>
In the above-described observer control, the configuration for compensating for the delay due to the filter element 14 has been described. On the other hand, the control system 100 as a whole tends to affect the output calculation due to the transmission delay of the pulse signal detected by the encoder 140, the dead time due to the control period in the CPU unit 10, and the like. The magnitude of such transmission delay and dead time due to the control cycle can be known in advance. Therefore, in order to compensate for such a predetermined dead time, the effect of delay can be avoided by introducing a phase shift filter in the above-described observer control. Hereinafter, a configuration with improved observer control will be exemplified.

図8は、第1変形例に係る制御装置1に実装される制御構造を示す模式図である。図8に示す制御構造は、CPUユニット10がプログラムを実行することによって、実現される。基本的には、CPUユニット10は、予め定められた制御周期(例えば、10msec)で演算処理を実行する。そのため、図8に示す制御構造に係る演算についても、予め定められた制御周期で繰り返し実行される。   FIG. 8 is a schematic diagram illustrating a control structure mounted on the control device 1 according to the first modification. The control structure shown in FIG. 8 is realized by the CPU unit 10 executing a program. Basically, the CPU unit 10 executes arithmetic processing at a predetermined control cycle (for example, 10 msec). Therefore, the calculation related to the control structure shown in FIG. 8 is also repeatedly executed at a predetermined control cycle.

図8に示す制御構造は、図5に示す制御構造に比較して、積分要素16の前段に位相シフトフィルタ17が追加された点が異なっている。この位相シフトフィルタ17は、フィルタ要素14から出力されるワークWの推定搬送速度に対して、指定されたシフト量だけ位相を遅らせた上で、積分要素16へその結果を出力する。この位相シフトフィルタ17は、伝送遅延や制御周期によるむだ時間などを補償するものであり、基本的には、これらの遅れ時間と同程度の時間に基づいて、遅らせる位相が決定される。すなわち、ワークWの推定搬送速度を所定時間分だけ遅らせた上でフィードバックすることで、対応する位相分を進ませる方向にワークWの搬送速度が補正される。   The control structure shown in FIG. 8 differs from the control structure shown in FIG. 5 in that a phase shift filter 17 is added before the integration element 16. The phase shift filter 17 delays the phase by the designated shift amount with respect to the estimated conveyance speed of the workpiece W output from the filter element 14 and outputs the result to the integration element 16. The phase shift filter 17 compensates for a transmission delay, a dead time due to a control cycle, and the like. Basically, a phase to be delayed is determined based on a time comparable to these delay times. That is, the estimated conveyance speed of the workpiece W is delayed by a predetermined time and then fed back, so that the conveyance speed of the workpiece W is corrected in the direction in which the corresponding phase is advanced.

位相シフトフィルタ17は、典型的には、1次遅れフィルタである。位相シフトフィルタ17で搬送速度の位相は所定の時定数(遅れ時間)だけシフトし、その結果、後述するようなオブザーバ補正値を算出する系によって、結果的に、処理反映位置の位相を進ませることができる。   The phase shift filter 17 is typically a first-order lag filter. The phase of the conveyance speed is shifted by a predetermined time constant (delay time) by the phase shift filter 17, and as a result, the phase of the processing reflection position is advanced by a system for calculating an observer correction value as described later. be able to.

位相シフトフィルタ17において、位相をシフトさせる時間は、システムに応じて、任意に設定可能である。典型的には、フィールドネットワークにおける伝搬遅延時間(および、CPUユニット10における指令値生成処理やその出力処理に要する時間)とほぼ同一の時間とすることが好ましい。   The time for shifting the phase in the phase shift filter 17 can be arbitrarily set according to the system. Typically, it is preferable that the time is substantially the same as the propagation delay time in the field network (and the time required for command value generation processing and output processing in the CPU unit 10).

このように、第1変形例に従うオブザーバ制御は、先行して算出された平滑化処理の結果(フィルタ要素14の出力)に対して遅れ側にシフトさせる手段として、位相シフトフィルタ17を含む。そして、第1変形例に従うオブザーバ制御は、測定情報(パルスカウンタユニット20から読み出された値:主軸位置)と位相がシフトされた平滑化処理の結果(位相シフトフィルタ17の出力)との差を算出する手段として、減算要素15を含む。   As described above, the observer control according to the first modification includes the phase shift filter 17 as means for shifting to the delay side with respect to the result of the smoothing process calculated in advance (the output of the filter element 14). The observer control according to the first modification is the difference between the measurement information (value read from the pulse counter unit 20: spindle position) and the result of the smoothing process with the phase shifted (output of the phase shift filter 17). As a means for calculating, a subtraction element 15 is included.

第1変形例によれば、速度オブザーバにおいて、遅れ時間および/またはむだ時間のうち、予測可能なものについて位相をシフトさせることで、将来値を推定することができる。これによって、検出系の遅れや目標速度の変動を補償できる。   According to the first modification, the future value can be estimated by shifting the phase of the delay observer and / or the dead time that can be predicted in the speed observer. As a result, it is possible to compensate for delays in the detection system and fluctuations in the target speed.

このように、第1変形例に従うオブザーバ制御は、先行して算出された平滑化処理の結果(フィルタ要素14の出力)に対して遅れ側にシフトさせる手段として、位相シフトフィルタ17を含む。そして、第1変形例に従うオブザーバ制御は、測定情報(パルスカウンタユニット20から読み出された値:主軸位置)と位相がシフトされた平滑化処理の結果(位相シフトフィルタ17の出力)との差を算出する手段として、減算要素15を含む。   As described above, the observer control according to the first modification includes the phase shift filter 17 as means for shifting to the delay side with respect to the result of the smoothing process calculated in advance (the output of the filter element 14). The observer control according to the first modification is the difference between the measurement information (value read from the pulse counter unit 20: spindle position) and the result of the smoothing process with the phase shifted (output of the phase shift filter 17). As a means for calculating, a subtraction element 15 is included.

第1変形例によれば、速度オブザーバにおいて、遅れ時間および/またはむだ時間のうち、予測可能なものについて位相をシフトさせることで、将来値を推定することができる。これによって、検出系の遅れや目標速度の変動を補償できる。   According to the first modification, the future value can be estimated by shifting the phase of the delay observer and / or the dead time that can be predicted in the speed observer. As a result, it is possible to compensate for delays in the detection system and fluctuations in target speed.

次に、図8に示すオブザーバ制御に係る効果を、シミュレーションを用いて検証した結果の一例について示す。   Next, an example of the result of verifying the effect related to the observer control shown in FIG. 8 using simulation will be described.

図9および図10は、第1変形例に係る制御装置1による改善効果をシミュレーションで検証した一例を示す図である。図9および図10に示す例は、ロータリーカッターの定格トルクの14%に相当する加速度変動を与えた場合の挙動をシミュレーションしたものである。但し、エンコーダ140から制御装置1までの通信ラインに通信遅れ(2ms)があると仮定している。   9 and 10 are diagrams illustrating an example in which the improvement effect by the control device 1 according to the first modification is verified by simulation. The example shown in FIGS. 9 and 10 is a simulation of the behavior when an acceleration variation corresponding to 14% of the rated torque of the rotary cutter is applied. However, it is assumed that there is a communication delay (2 ms) in the communication line from the encoder 140 to the control device 1.

図9および図10の(1)は、制御装置1へ入力されるエンコーダ140の実速度(実搬送速度)を示し、図9および図10の(1)’は、エンコーダ140の実速度(実搬送速度)を示す。すなわち、図9および図10の(1)は、図9および図10の(1)’を通信に係るむだ時間である2msだけシフトさせたものに相当する。ワークWの推定搬送速度が図9および図10の(1)’に近い値を示す程、正確な速度推定ができていることになる。   (1) in FIGS. 9 and 10 shows the actual speed (actual conveyance speed) of the encoder 140 input to the control device 1, and (1) ′ in FIGS. 9 and 10 indicates the actual speed (actual speed) of the encoder 140. Transport speed). That is, (1) in FIG. 9 and FIG. 10 corresponds to (1) ′ in FIG. 9 and FIG. 10 shifted by 2 ms, which is a dead time for communication. As the estimated conveyance speed of the workpiece W shows a value closer to (1) 'in FIGS. 9 and 10, the more accurate speed estimation is performed.

図9および図10の(2)は、エンコーダ140からの検出信号(パルス信号)に基づいて算出(差分)された速度を示し、図9および図10の(3)は、上述のオブザーバ制御が無い場合にフィルタ要素14から出力される平滑化後の速度を示す。   (2) in FIGS. 9 and 10 show the speed calculated (difference) based on the detection signal (pulse signal) from the encoder 140, and (3) in FIGS. 9 and 10 shows the above-described observer control. The speed after smoothing output from the filter element 14 when there is not is shown.

図9および図10の(4)は、実施の形態1に係るオブザーバ制御がある場合にフィルタ要素14から出力される平滑化後の速度を示す。この図9および図10の(4)に示すように、オブザーバ制御によって、フィルタ要素14で生じる遅れ時間が補償されていることがわかる。但し、エンコーダ140の検出信号の通信に係るむだ時間については補償できていない。   (4) of FIG. 9 and FIG. 10 shows the speed | velocity | rate after the smoothing output from the filter element 14 when there is observer control based on Embodiment 1. FIG. As shown in (4) of FIGS. 9 and 10, it can be seen that the delay time generated in the filter element 14 is compensated by the observer control. However, the dead time related to the communication of the detection signal of the encoder 140 cannot be compensated.

これに対して、図9および図10の(5)は、第1変形例に係る、位相シフトフィルタをさらに含むオブザーバ制御がある場合にフィルタ要素14から出力される平滑化後の速度を示す。このように、位相シフトフィルタを含むオブザーバ制御を適用することで、フィルタ要素14による遅れ時間に加えて、通信に係るむだ時間によって生じる影響を最小限化できる。   On the other hand, (5) in FIG. 9 and FIG. 10 shows the speed after smoothing output from the filter element 14 when there is observer control further including a phase shift filter according to the first modification. Thus, by applying the observer control including the phase shift filter, it is possible to minimize the influence caused by the dead time related to communication in addition to the delay time due to the filter element 14.

<H.第2変形例>
主軸・従軸連動の制御アプリケーションとしては、上述した制御システム100の他に、以下のような制御システム200を対象とすることもできる。
<H. Second Modification>
In addition to the above-described control system 100, the following control system 200 can also be targeted as the spindle / slave-linked control application.

図11は、第2変形例に係る制御システム200の構成を示す模式図である。図11を参照して、本実施の別の形態に係る制御システム200は、移動する対象物(ワークW)として、ソーラパネルのガラス基板などを想定する。この制御システム200は、ワークWに対してレーザ光を照射することで、所定の配線パターンなどを形成する。レーザ光の光源とワークWの照射位置との距離は予め定められた値に維持する必要がある。そのため、光学的な手段によりワークWまでの距離を測定するとともに、この測定した距離に基づいて、レーザ光の光源をワークWの垂直方向に逐次移動させる。   FIG. 11 is a schematic diagram illustrating a configuration of a control system 200 according to the second modification. Referring to FIG. 11, control system 200 according to another embodiment of the present invention assumes a glass substrate of a solar panel or the like as a moving object (work W). The control system 200 forms a predetermined wiring pattern or the like by irradiating the workpiece W with laser light. The distance between the light source of the laser beam and the irradiation position of the workpiece W needs to be maintained at a predetermined value. Therefore, the distance to the workpiece W is measured by optical means, and the laser light source is sequentially moved in the vertical direction of the workpiece W based on the measured distance.

より具体的には、レーザ光源240および測定用カメラ250は、同一の基板220上に配置されており、この基板220は、サーボモータ230によって紙面上下方向、すなわちワークWの面に対して垂直方向に移動される。この移動によって、基板220とレーザ光源240との距離は予め定められた値に維持される。なお、ワークWの表面は、無視できない程度の凸凹が存在しているものとする。   More specifically, the laser light source 240 and the measurement camera 250 are disposed on the same substrate 220, and this substrate 220 is moved vertically by the servo motor 230, that is, perpendicular to the surface of the workpiece W. Moved to. By this movement, the distance between the substrate 220 and the laser light source 240 is maintained at a predetermined value. It is assumed that the surface of the workpiece W has irregularities that cannot be ignored.

測定用カメラ250によってワークWの表面が撮像され、この撮像によって得られた画像およびそのときの光学定数(焦点位置など)から、ガラス基板の表面までの距離がガラス面距離計算ロジック260によって算出される。この距離は、所定周期毎に更新されることになる。すなわち、測定用カメラ250およびガラス面距離計算ロジック260による距離測定は、予測可能なむだ時間が存在することになる。   The surface of the workpiece W is imaged by the measurement camera 250, and the distance to the surface of the glass substrate is calculated by the glass surface distance calculation logic 260 from the image obtained by this imaging and the optical constant (focus position, etc.) at that time. The This distance is updated every predetermined period. That is, the distance measurement by the measurement camera 250 and the glass surface distance calculation logic 260 has a predictable dead time.

また、サーボモータ230は、サーボドライバ40からその駆動に係る信号(典型的には、パルス信号)を供給されることで、回転駆動する。図11に示す例では、測定用カメラ250およびガラス面距離計算ロジック260を主軸とも称し、この主軸からの情報を受けて駆動されるサーボモータ230を従軸とも称す。   The servo motor 230 is rotationally driven by being supplied with a signal (typically a pulse signal) related to the driving from the servo driver 40. In the example shown in FIG. 11, the measurement camera 250 and the glass surface distance calculation logic 260 are also referred to as a main axis, and the servo motor 230 that is driven by receiving information from the main axis is also referred to as a slave axis.

制御装置1Aは、主たる演算処理を実行するCPU(Central Processing Unit)ユニット10と、測定用カメラ250およびガラス面距離計算ロジック260が出力する距離を取得するためのAD(Analog to Digital)ユニット50と、サーボドライバ40などのフィールド機器と通信を行なうためのフィールドバスインターフェイスユニット30とを含む。   The control device 1A includes a CPU (Central Processing Unit) unit 10 that executes main arithmetic processing, an AD (Analog to Digital) unit 50 that acquires distances output from the measurement camera 250 and the glass surface distance calculation logic 260, And a fieldbus interface unit 30 for communicating with field devices such as the servo driver 40.

その他の基本的な構成については、図1に示す制御システム100と同様であるので、詳細な説明は繰り返さない。   Since other basic configurations are the same as those of control system 100 shown in FIG. 1, detailed description will not be repeated.

図11に示す制御システム200においては、ガラス基板の表面までの距離の情報更新周期がサーボモータ230の制御周期に比較して遅く、かつ、その距離情報がアナログ信号によって規定されるのでノイズを含み得るという課題がある。したがって、測定用カメラ250からの出力信号をそのままサーボモータ230に対する指令値として与えると、サンプリングの遅れに起因する追従遅れとセンシングノイズに起因する振動とが発生し得る。前者に関しては、位相シフトフィルタの導入による位相進み時間の補償によって対応し、後者に関しては、オブザーバ制御に含まれるローパスフィルタ(フィルタ)処理によって対応する。   In the control system 200 shown in FIG. 11, since the information update cycle of the distance to the surface of the glass substrate is slower than the control cycle of the servo motor 230, and the distance information is defined by the analog signal, noise is included. There is a problem of getting. Therefore, if the output signal from the measurement camera 250 is directly used as a command value for the servo motor 230, a follow-up delay due to sampling delay and vibration due to sensing noise may occur. The former is dealt with by compensation of the phase advance time by introducing a phase shift filter, and the latter is dealt with by a low-pass filter (filter) process included in the observer control.

図12は、第2変形例に係る制御システム200における処理手順を示すフローチャートである。図12に示す各ステップは、典型的には、CPUユニット10がプログラムを実行することで実現される。   FIG. 12 is a flowchart showing a processing procedure in the control system 200 according to the second modification. Each step shown in FIG. 12 is typically realized by the CPU unit 10 executing a program.

図12を参照して、CPUユニット10は、ワークWの加工面までの目標距離設定値を受け付ける(ステップS200)。続いて、CPUユニット10は、測定用カメラ250による画像の撮像タイミングであるか否かを判断する(ステップS202)。測定用カメラ250による画像の撮像タイミングではない場合(ステップS202においてNOの場合)には、ステップS216の処理が実行される。   Referring to FIG. 12, CPU unit 10 accepts a target distance setting value to the machining surface of workpiece W (step S <b> 200). Subsequently, the CPU unit 10 determines whether or not it is the image capturing timing of the measurement camera 250 (step S202). If it is not the timing of image capture by the measurement camera 250 (NO in step S202), the process of step S216 is executed.

測定用カメラ250による画像の撮像タイミングである場合(ステップS202においてYESの場合)には、CPUユニット10は、測定用カメラ250によりワークWを撮像するとともに、その撮像された画像に基づいてワークWまでの距離を取得する(ステップS204)。そして、CPUユニット10は、目標距離と取得したワークWまでの距離との偏差を算出する(ステップS206)。   If it is the timing for capturing an image by the measurement camera 250 (YES in step S202), the CPU unit 10 captures the workpiece W by the measurement camera 250, and the workpiece W based on the captured image. Is obtained (step S204). Then, the CPU unit 10 calculates a deviation between the target distance and the acquired distance to the workpiece W (step S206).

続いて、CPUユニット10は、目標距離との偏差について時間変化量を算出する(ステップS208)。そして、CPUユニット10は、前の制御周期において算出された推定の偏差と現制御周期において取得された偏差との差分を用いて、偏差について時間変化量を補正する(ステップS210)。そして、CPUユニット10は、補正後の偏差について時間変化量に対してフィルタ処理を実行する(ステップS212)。   Subsequently, the CPU unit 10 calculates a time change amount with respect to the deviation from the target distance (step S208). Then, the CPU unit 10 corrects the time change amount for the deviation using the difference between the estimated deviation calculated in the previous control cycle and the deviation acquired in the current control cycle (step S210). Then, the CPU unit 10 performs a filtering process on the time variation with respect to the corrected deviation (step S212).

続いて、CPUユニット10は、フィルタ処理後の偏差を用いて時間変化量から推定の偏差を算出するとともに、サーボドライバ40へ与える目標値を算出する(ステップS214)。具体的には、目標距離設定値に対して推定の偏差を加算することで、サーボドライバ40へ与える目標位置が決定される。最終的に、CPUユニット10は、サーボドライバ40へ与える目標値を出力する(ステップS216)。   Subsequently, the CPU unit 10 calculates an estimated deviation from the amount of time change using the deviation after filtering, and calculates a target value to be given to the servo driver 40 (step S214). Specifically, the target position to be given to the servo driver 40 is determined by adding an estimated deviation to the target distance setting value. Finally, the CPU unit 10 outputs a target value to be given to the servo driver 40 (step S216).

そして、次の制御周期が到来すると、ステップS202以下の処理が再度実行される。
ここで、オブザーバ制御を用いた将来値を推定、すなわち将来目標位置を予測する処理についてより詳細に説明する。
Then, when the next control cycle arrives, the processing after step S202 is executed again.
Here, the process of estimating the future value using the observer control, that is, predicting the future target position will be described in more detail.

図13は、第2変形例に係る制御システムに実装される制御構造の全体を示す模式図である。図13を参照して、制御装置1Aは、その制御構造として、将来位置予測部270を含む。将来位置予測部270の内部の制御構造は、図8に示す制御構造と実質的に同一である。将来位置予測部270は、入力データおよび位相シフト量を受け付け、目標位置情報の未来の値を出力する。将来位置予測部270は、基板偏差e(k,0)を受け付ける。この基板偏差e(k,0)は、図11の主軸位置として入力される。ここで、カッコ内の1番目の変数(k)は制御タイミング(制御周期の番号)を示し、カッコ内の2番目の変数は制御タイミング(位相)を示す。   FIG. 13 is a schematic diagram illustrating the entire control structure implemented in the control system according to the second modification. Referring to FIG. 13, control device 1A includes a future position prediction unit 270 as its control structure. The control structure inside the future position prediction unit 270 is substantially the same as the control structure shown in FIG. The future position prediction unit 270 receives the input data and the phase shift amount, and outputs a future value of the target position information. The future position prediction unit 270 receives the board deviation e (k, 0). This substrate deviation e (k, 0) is input as the spindle position in FIG. Here, the first variable (k) in parentheses indicates control timing (control cycle number), and the second variable in parentheses indicates control timing (phase).

位相シフト量S(1,m)に含まれる、カッコ内の1番目の変数は、測定用カメラ250による撮像間隔を示し、カッコ内の2番目の変数は、ネットワーク上の伝送による遅延時間およびCPUユニット10での処理時間の合計時間(むだ時間)を示す。   The first variable in parentheses included in the phase shift amount S (1, m) indicates an imaging interval by the measurement camera 250, and the second variable in parentheses is a delay time due to transmission on the network and a CPU. The total time (dead time) of the processing time in the unit 10 is shown.

将来位置予測部270は、予測した基板偏差予測値e(k+1,m)を出力する。ここで、カッコ内の1番目の変数は、制御タイミング(制御周期の番号)を示し、カッコ内の2番目の変数は、ネットワーク上の伝送による遅延時間およびCPUユニット10での処理時間の合計時間(むだ時間)を示す。 The future position predicting unit 270 outputs the predicted substrate deviation predicted value e (k + 1, m) * . Here, the first variable in parentheses indicates control timing (control cycle number), and the second variable in parentheses is the total time of delay time due to transmission on the network and processing time in the CPU unit 10. (Dead time).

以下、第2変形例に係る効果について、関連技術と比較しつつ説明する。
図14は、第2変形例に係る制御システムに関連する目標位置予測の効果の一例を示す図である。図15は、第2変形例に係る制御システムに関連する別の目標位置予測の効果の一例を示す図である。図16は、第2変形例の別の形態に係る制御システムによる目標位置予測の効果の一例を示す図である。
Hereinafter, the effects according to the second modification will be described in comparison with related technologies.
FIG. 14 is a diagram illustrating an example of the effect of target position prediction related to the control system according to the second modification. FIG. 15 is a diagram illustrating an example of another target position prediction effect related to the control system according to the second modification. FIG. 16 is a diagram illustrating an example of the effect of target position prediction by the control system according to another form of the second modified example.

まず、図14を参照して、偏差情報取得タイミング(測定用カメラ250による距離情報の取得タイミング)およびサーボ制御タイミング(サーボドライバ40へ実際に指令値が与えられるタイミング)は、同期しているとは限らない。そのため、t(k,0)の情報を何ら考慮せずに、目標位置として設定されると、この設定は、t(k,m)において反映される。すなわち、目標位置は、図14の太線のようなタイミングで切り替わる。この結果、目標位置は、偏差情報取得タイミングの間一定となり、目標位置の切り替えタイミングにいおいて振動(変位)が大きくなる。   First, referring to FIG. 14, the deviation information acquisition timing (distance information acquisition timing by the measurement camera 250) and the servo control timing (timing at which the command value is actually given to the servo driver 40) are synchronized. Is not limited. Therefore, if the target position is set without considering any information on t (k, 0), this setting is reflected at t (k, m). That is, the target position is switched at the timing shown by the thick line in FIG. As a result, the target position becomes constant during the deviation information acquisition timing, and vibration (displacement) increases at the target position switching timing.

図15には、図14に示す制御構成において、目標位置で生じる振動を緩和できる手法を示す。より具体的には、例えば、後退差分近似などの補間ロジックを用いることで、目標位置の時間的変化(軌道)が滑らかになる。但し、図15の方法では、基板偏差と目標位置eとの間の乖離(追従誤差)が大きくなるという課題がある。   FIG. 15 shows a technique capable of mitigating the vibration generated at the target position in the control configuration shown in FIG. More specifically, for example, by using an interpolation logic such as backward difference approximation, the temporal change (trajectory) of the target position becomes smooth. However, the method of FIG. 15 has a problem that the deviation (following error) between the substrate deviation and the target position e is increased.

これに対して、本形態においては、図16に示すように、まず、位相シフト量S(1,m)が与えられることで、将来偏差が予測される。より具体的には、将来偏差予測部170は、予測時間に相当する位相シフト量S(1,m)を受け付け、基板偏差予測値e(k+1,m)を出力する。さらに、補間部172は、この基板偏差予測値e(k+1,m)に基づいて、制御周期毎に後退差分近似などの補間ロジックを実行する。これによって、基板偏差eに含まれるノイズを除去できる。また、将来値を予測することで、時間的に滑らかな目標軌道を生成できる。 On the other hand, in this embodiment, as shown in FIG. 16, first, a phase deviation S (1, m) is given, so that a future deviation is predicted. More specifically, the future deviation prediction unit 170 receives the phase shift amount S (1, m) corresponding to the prediction time, and outputs a substrate deviation predicted value e (k + 1, m) * . Further, the interpolation unit 172 executes interpolation logic such as backward difference approximation for each control cycle based on the substrate deviation predicted value e (k + 1, m) * . Thereby, noise included in the substrate deviation e can be removed. In addition, by predicting future values, it is possible to generate a target trajectory that is smooth in time.

このように、将来位置予測部270は、測定情報の取得された時間的変化に基づいて測定情報を予測する。   As described above, the future position predicting unit 270 predicts the measurement information based on the acquired temporal change of the measurement information.

<I.第3変形例>
上述の実施の形態においては、対象物の物理的変位(主軸:回転速度や変位)と取得される測定情報との間の時間的な遅れを補償する補償手段の一例として、オブザーバ制御について説明した。これに対して、第3変形例においては、過去の実績に基づいて、対象物の物理的変位を予測することで、取得される測定情報に生じる遅れを補償する方法について説明する。より具体的には、予め予測可能な遅れの情報(ヒントデータ)を作成し、この作成したヒントデータを用いて、ある時点から所定時間だけ先の位置(将来位置)を決定する。
<I. Third Modification>
In the above-described embodiment, the observer control has been described as an example of compensation means for compensating for a time delay between the physical displacement of the object (main axis: rotational speed and displacement) and the acquired measurement information. . On the other hand, in the third modification, a method for compensating for a delay that occurs in acquired measurement information by predicting a physical displacement of an object based on past results will be described. More specifically, delay information (hint data) that can be predicted in advance is generated, and a position (future position) ahead by a predetermined time from a certain point in time is determined using the generated hint data.

第3変形例として、図11に示す制御システム200の制御装置1Aに実装される制御構造について説明する。   As a third modification, a control structure mounted on the control device 1A of the control system 200 shown in FIG. 11 will be described.

図17は、第3変形例に係る制御システムに実装される制御構造の全体を示す模式図である。図17に示す制御構造は、CPUユニット10がプログラムを実行することによって、実現される。基本的には、CPUユニット10は、予め定められた制御周期(例えば、10msec)で演算処理を実行する。そのため、図17に示す制御構造に係る演算についても、予め定められた制御周期で繰り返し実行される。   FIG. 17 is a schematic diagram illustrating the entire control structure implemented in the control system according to the third modification. The control structure shown in FIG. 17 is realized by the CPU unit 10 executing a program. Basically, the CPU unit 10 executes arithmetic processing at a predetermined control cycle (for example, 10 msec). Therefore, the calculation according to the control structure shown in FIG. 17 is also repeatedly executed at a predetermined control cycle.

図17を参照して、制御装置1Aは、その制御構造として、将来位置予測部150を含む。将来位置予測部150の内部の制御構造は、図8に示す制御構造と実質的に同一である。将来位置予測部150は、今回計測結果(現在の制御周期において取得された計測結果)にヒントデータを加えた値を入力データとして受け付けるとともに、位相シフトフィルタ17に設定される位相シフト時間を設定値として受け付ける。なお、入力データは、図8の主軸位置として入力される。そして、将来位置予測部150は、入力データおよび将来位置を出力する。   Referring to FIG. 17, control device 1A includes a future position prediction unit 150 as its control structure. The control structure inside the future position prediction unit 150 is substantially the same as the control structure shown in FIG. The future position prediction unit 150 accepts, as input data, a value obtained by adding hint data to the current measurement result (measurement result acquired in the current control cycle), and sets the phase shift time set in the phase shift filter 17 as a set value Accept as. The input data is input as the spindle position in FIG. Then, the future position prediction unit 150 outputs the input data and the future position.

位相シフト時間としては、検出器の検出遅れやネットワーク上の遅延時間といった予測可能な値が設定される。   As the phase shift time, a predictable value such as a detection delay of the detector or a delay time on the network is set.

図18は、第3変形例に係る制御装置1Aに入力される入力データに含まれるヒントデータの作成方法を説明するための図である。図19は、第3変形例に係る制御装置1Aによる将来位置予測の効果の一例を示す図である。図19には、図11に示す制御システム200において、測定用カメラ250のサンプリング周期が2msecである場合に、16msec後のワークWの位置を予測した結果を示す。   FIG. 18 is a diagram for explaining a method of creating hint data included in input data input to the control device 1A according to the third modification. FIG. 19 is a diagram illustrating an example of the effect of future position prediction by the control device 1A according to the third modification. FIG. 19 shows a result of predicting the position of the workpiece W after 16 msec in the control system 200 shown in FIG. 11 when the sampling cycle of the measurement camera 250 is 2 msec.

図19を参照して、ヒントデータは、前回計測結果(1つ前の制御周期において取得された計測結果)をむだ時間分だけ時間的にシフトさせたデータを正解データとし、この正解データから前回計測結果を減算したものをヒントデータとする。ここで、前回計測結果は、ある遅れ時間をもって計測されることになる。この両者の差分をヒントデータとすることで、追従誤差を低減できる。すなわち、補償手段としての将来位置予測部150は、制御系で生じるむだ時間だけ測定情報を時間的にシフトさせて得られる測定情報と今回の測定情報との差分からヒントデータを生成する。   Referring to FIG. 19, the hint data is data obtained by shifting the previous measurement result (measurement result acquired in the previous control cycle) by the dead time as the correct data, and the correct data is used as the previous data. The subtraction of the measurement result is used as hint data. Here, the previous measurement result is measured with a certain delay time. By using the difference between the two as hint data, the tracking error can be reduced. That is, the future position prediction unit 150 as a compensation unit generates hint data from the difference between the measurement information obtained by shifting the measurement information in time by the time delay generated in the control system and the current measurement information.

図19には、正解値(実線)と測定用カメラ250によって測定される今回計測結果とを示す。さらに、ヒントデータおよびヒントデータをフィルタ処理した結果を示す。このヒントデータまたはフィルタ処理したヒントデータを用いて、計測値を補正することで、より正解値に近い位置を予測できる(本手法)。図19には、本実施の形態に関連する手法により予測される位置を併せてします。特に、変動の大きな範囲では、本実施の形態によれば、より正確に位置を予測できていることがわかる。   FIG. 19 shows the correct answer value (solid line) and the current measurement result measured by the measurement camera 250. Furthermore, hint data and the result of filtering hint data are shown. A position closer to the correct value can be predicted by correcting the measured value using the hint data or the filtered hint data (this method). FIG. 19 also shows the positions predicted by the method related to this embodiment. In particular, it can be seen that the position can be predicted more accurately according to the present embodiment in the range of large fluctuations.

図19には、正解値に対する予測値の誤差を示す。図19には、第3変形例に従うヒントデータを用いた予測手法を用いた場合とそうでない場合とを比較して示す。図19に示すように、本実施の形態に従うヒントデータを用いて遅れを補償することで、より誤差の少ない位置予測を行なうことができる。   FIG. 19 shows the error of the predicted value with respect to the correct value. FIG. 19 shows a comparison between the case where the prediction method using hint data according to the third modification is used and the case where it is not. As shown in FIG. 19, position prediction with less error can be performed by compensating the delay using the hint data according to the present embodiment.

このように、第3変形例においては、ヒントデータを用いて指令値を生成する。
<J.第4変形例>
上述の実施の形態においては、過去の実績に基づいて、対象物の物理的変位を予測することで、取得される測定情報に生じる遅れを補償する方法について説明した。これに対して、実施の形態3においては、同一のワークについて取得済の情報を利用して、将来のデータを外挿によって決定する方法について説明する。
Thus, in the third modified example, the command value is generated using the hint data.
<J. Fourth Modification>
In the above-described embodiment, the method of compensating for the delay that occurs in the acquired measurement information by predicting the physical displacement of the object based on the past performance has been described. On the other hand, in the third embodiment, a method for determining future data by extrapolation using information acquired for the same workpiece will be described.

第4変形例として、図1に示す制御システム100の制御装置1に実装される制御構造について説明する。   As a fourth modification, a control structure mounted on the control device 1 of the control system 100 shown in FIG. 1 will be described.

図20は、第4変形例に係る制御装置1に実装される制御構造を示す模式図である。図21は、図20に示す制御構造における時間的な遅れの補償を行なうための原理を説明するための図である。   FIG. 20 is a schematic diagram illustrating a control structure mounted on the control device 1 according to the fourth modification. FIG. 21 is a diagram for explaining a principle for performing time delay compensation in the control structure shown in FIG.

図20を参照して、制御装置1は、その制御構造として、バッファ160と、補間部162と、予測部164と、制御部166とを含む。   Referring to FIG. 20, control device 1 includes a buffer 160, an interpolation unit 162, a prediction unit 164, and a control unit 166 as its control structure.

バッファ160は、メジャリングロール(エンコーダ140)によって測定される主軸位置を一時的に格納する。補間部162は、バッファ160に格納された主軸位置などを参照するとともに、これらを補間(外挿)することで、所定期間だけ先の位置を算出する。典型的には、線形補間(一次補間)や各種の多次元補間などを用いることができる。   The buffer 160 temporarily stores the spindle position measured by the measuring roll (encoder 140). The interpolation unit 162 refers to the spindle position and the like stored in the buffer 160 and interpolates (extrapolates) these to calculate the previous position for a predetermined period. Typically, linear interpolation (primary interpolation), various multidimensional interpolations, and the like can be used.

予測部164は、測定された主軸位置と、補間部162によって算出される所定期間だけ先の位置とを組み合わせて、予測位置を算出する。この算出された予測位置は、制御部166へ入力される。制御部166は、入力された予測位置に基づいて制御を行ない、サーボモータ110へ与えられる指令値を算出する。この制御部166としては、一般的なPID制御を採用してもよい。   The prediction unit 164 calculates the predicted position by combining the measured spindle position and the previous position for a predetermined period calculated by the interpolation unit 162. The calculated predicted position is input to the control unit 166. The control unit 166 performs control based on the input predicted position, and calculates a command value given to the servo motor 110. As the control unit 166, general PID control may be employed.

次に、図21を参照して、予測位置の算出方法について説明する。図21に示す矢印のように、先に取得された位置の数点を用いて、所定期間だけ先の変化を予測する。このように、ある期間にわたる位置の変化を取得できれば、先の変化を予測できる。このように対象物の物理的変位を予測できるので、取得される情報に時間遅れがあったとしても、その影響を受けることなく、適切な指令値を生成および出力できる。   Next, a method for calculating a predicted position will be described with reference to FIG. Like the arrow shown in FIG. 21, the change of the future is estimated only for a predetermined period using several points of the position acquired previously. Thus, if the change of the position over a certain period can be acquired, the previous change can be predicted. Since the physical displacement of the object can be predicted in this way, even if there is a time delay in the acquired information, an appropriate command value can be generated and output without being affected by the time delay.

このように、第4変形例において、予測部164は、測定情報の取得された時間的変化に基づいて測定情報を予測する。   Thus, in the fourth modified example, the prediction unit 164 predicts the measurement information based on the temporal change in which the measurement information is acquired.

<K.利点>
本実施の形態に係る制御装置によれば、ワークWの物理的変位などに含まれる量子化誤差やノイズなどによる影響をフィルタ処理(平滑化処理)を用いて低減することができる。同時に、フィルタ処理によって生じる遅れ時間による影響については、オブザーバ制御を用いて補正する。これによって、量子化誤差やノイズによる影響を抑制しつつ、精度の高い制御を実現することができる。
<K. Advantage>
According to the control device according to the present embodiment, it is possible to reduce the influence of quantization error, noise, and the like included in the physical displacement of the workpiece W by using filter processing (smoothing processing). At the same time, the influence of the delay time caused by the filter processing is corrected using observer control. As a result, highly accurate control can be realized while suppressing the influence of quantization error and noise.

より具体的には、オブザーバ制御をサーボモータ110に対する指令値に適用することで、サンプリングの遅れ分だけ指令値の時間を進めることができるので、安定性を損なうことなく、応答性を高めることができる。   More specifically, by applying the observer control to the command value for the servo motor 110, the time of the command value can be advanced by the sampling delay, so that the responsiveness can be improved without impairing the stability. it can.

さらに、オブザーバ制御に位相シフトフィルタを導入することにより、伝送遅れや計測系のむだ時間による影響を低減することができる。これによって、予測可能なむだ時間については、その影響を排除できる。   Furthermore, by introducing a phase shift filter to the observer control, it is possible to reduce the influence of transmission delay and measurement system dead time. This eliminates the effect of a predictable dead time.

より具体的には、位相シフトフィルタにおける位相進み時間を明示的に指定できるので、フィールドネットワークなどのむだ時間が明確に判断できるシステムにおいて、フィードフォワード制御および/またはフィードバック制御における位相調整を容易に行なうことができる。   More specifically, since the phase advance time in the phase shift filter can be explicitly specified, phase adjustment in feedforward control and / or feedback control is easily performed in a system in which dead time such as a field network can be clearly determined. be able to.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した説明ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

1 制御装置、2 主軸装置、3 従属軸装置、10 CPUユニット、11 微分要素、12 増幅要素、13 加算要素、14 フィルタ要素、15 減算要素、16,18 積分要素、17 位相シフトフィルタ、19 目標値算出部、19a カムテーブル、20 パルスカウンタユニット、30 フィールドバスインターフェイスユニット、40 サーボドライバ、100,200 制御システム、102,104 ロータリーカッター、110,230 サーボモータ、112,114 搬送モータ、140 エンコーダ、220 基板、240 レーザ光源、250 測定用カメラ、260 ガラス面距離計算ロジック、W ワーク。   DESCRIPTION OF SYMBOLS 1 Control apparatus, 2 spindle apparatus, 3 slave axis apparatus, 10 CPU unit, 11 differentiation element, 12 amplification element, 13 addition element, 14 filter element, 15 subtraction element, 16, 18 integration element, 17 phase shift filter, 19 target Value calculation unit, 19a cam table, 20 pulse counter unit, 30 fieldbus interface unit, 40 servo driver, 100, 200 control system, 102, 104 rotary cutter, 110, 230 servo motor, 112, 114 transport motor, 140 encoder, 220 substrate, 240 laser light source, 250 measurement camera, 260 glass surface distance calculation logic, W work.

Claims (7)

対象物の物理的変位を示す測定情報を測定装置から取得する入力部と、
前記対象物に対して処理を行なう処理装置を駆動するための駆動部と通信するインターフェイスと、
前記測定情報に基づいて前記駆動部を制御する制御部とを備え、
前記制御部は、
前記測定情報に対して平滑化処理を行なう平滑化手段と、
先行して算出された平滑化処理の結果と前記測定情報とを比較することで、前記平滑化処理の前に前記測定情報を補正する補正手段とを含み、前記補正手段は、
前記先行して算出された平滑化処理の結果に対して位相を遅れ側にシフトさせる手段と、
前記測定情報と前記位相がシフトされた平滑化処理の結果との差を算出する手段を含む、制御装置。
An input unit for acquiring measurement information indicating physical displacement of the object from the measurement device;
An interface that communicates with a drive unit for driving a processing device that performs processing on the object;
A control unit for controlling the drive unit based on the measurement information,
The controller is
Smoothing means for smoothing the measurement information;
A correction unit that corrects the measurement information before the smoothing process by comparing a result of the smoothing process calculated in advance with the measurement information, and the correction unit includes:
Means for shifting the phase to the delay side with respect to the result of the smoothing process calculated in advance;
A control device including means for calculating a difference between the measurement information and a result of the smoothing process in which the phase is shifted.
前記測定装置は、前記物理的変位として、前記対象物の移動に係る各時点での位置を測定し、
前記平滑化手段は、前記対象物の位置の時間的変化量である移動速度を平滑化する、請求項に記載の制御装置。
The measuring device measures the position at each time point related to the movement of the object as the physical displacement,
The control device according to claim 1 , wherein the smoothing unit smoothes a moving speed that is a temporal change amount of the position of the object.
前記入力部および前記駆動部の少なくとも一方は、ネットワークを通じて情報を遣り取りする、請求項1または2に記載の制御装置。 At least one input unit and the drive unit, exchanging information through the network control device according to claim 1 or 2. 前記制御部は、予め定められた周期で演算処理を実行する、請求項1〜のいずれか1項に記載の制御装置。 The said control part is a control apparatus of any one of Claims 1-3 which performs a calculation process with a predetermined period. 前記制御部は、前記平滑化処理の結果に基づいて前記駆動部へ与える指令値を算出する算出手段をさらに備え、
前記算出手段は、前記平滑化処理の結果から前記対象物の位置を推定する、請求項1〜のいずれか1項に記載の制御装置。
The control unit further includes calculation means for calculating a command value to be given to the drive unit based on the result of the smoothing process,
Said calculation means, said estimates the position of the object from the results of the smoothing process, the control device according to any one of claims 1-4.
対象物の物理的変位を示す測定情報を測定装置から取得する入力部と、前記対象物に対して処理を行なう処理装置を駆動するための駆動部と通信するインターフェイスと、制御部とを備えたコンピュータで実行される制御プログラムであって、前記制御プログラムは、コンピュータに、
前記測定情報に対して平滑化処理を行なうステップと、
先行して算出された平滑化処理の結果と前記測定情報とを比較することで、前記平滑化処理の前に前記測定情報を補正するステップとを実行させ、
前記補正するステップは、
前記先行して算出された平滑化処理の結果に対して位相を遅れ側にシフトさせるステップと、
前記測定情報と前記位相がシフトされた平滑化処理の結果との差を算出するステップとを含む、制御プログラム。
An input unit that acquires measurement information indicating physical displacement of an object from a measurement device, an interface that communicates with a drive unit for driving a processing device that performs processing on the object, and a control unit A control program executed on a computer, the control program being
Performing a smoothing process on the measurement information;
By comparing the measurement information with the result of the smoothing process calculated in advance, the step of correcting the measurement information before the smoothing process,
The correcting step includes
Shifting the phase to the lag side with respect to the result of the smoothing process calculated in advance;
Calculating a difference between the measurement information and a result of the smoothing process in which the phase is shifted.
対象物の物理的変位を示す測定情報を測定装置から取得する入力部と、前記対象物に対して処理を行なう処理装置を駆動するための駆動部と通信するインターフェイスと、制御部とを備えたコンピュータで実行される制御方法であって、
前記測定情報に対して平滑化処理を行なうステップと、
先行して算出された平滑化処理の結果と前記測定情報とを比較することで、前記平滑化処理の前に前記測定情報を補正するステップとを含み、
前記補正するステップは、
前記先行して算出された平滑化処理の結果に対して位相を遅れ側にシフトさせるステップと、
前記測定情報と前記位相がシフトされた平滑化処理の結果との差を算出するステップとを含む、制御方法。
An input unit that acquires measurement information indicating physical displacement of an object from a measurement device, an interface that communicates with a drive unit for driving a processing device that performs processing on the object, and a control unit A control method executed by a computer,
Performing a smoothing process on the measurement information;
A step of correcting the measurement information before the smoothing process by comparing the measurement information with the result of the smoothing process calculated in advance.
The correcting step includes
Shifting the phase to the lag side with respect to the result of the smoothing process calculated in advance;
Calculating a difference between the measurement information and a result of the smoothing process in which the phase is shifted.
JP2012273843A 2012-12-14 2012-12-14 Control device, control program, and control method Active JP6111642B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012273843A JP6111642B2 (en) 2012-12-14 2012-12-14 Control device, control program, and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012273843A JP6111642B2 (en) 2012-12-14 2012-12-14 Control device, control program, and control method

Publications (2)

Publication Number Publication Date
JP2014119902A JP2014119902A (en) 2014-06-30
JP6111642B2 true JP6111642B2 (en) 2017-04-12

Family

ID=51174699

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012273843A Active JP6111642B2 (en) 2012-12-14 2012-12-14 Control device, control program, and control method

Country Status (1)

Country Link
JP (1) JP6111642B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105938324B (en) * 2015-03-04 2019-07-16 欧姆龙株式会社 Control device and synchronisation control means
US10268183B2 (en) 2015-03-04 2019-04-23 Omron Corporation Control device and method of synchronizing control
JP6829982B2 (en) * 2016-10-28 2021-02-17 Dmg森精機株式会社 Machine position measuring device and machine position measuring system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4330896B2 (en) * 2003-02-03 2009-09-16 三菱電機株式会社 Servo control system
JP4304452B2 (en) * 2003-09-24 2009-07-29 富士電機システムズ株式会社 Control device and traveling cutting machine
JP4468216B2 (en) * 2005-03-14 2010-05-26 三菱電機株式会社 Synchronous control device
JP4350063B2 (en) * 2005-05-16 2009-10-21 日本リライアンス株式会社 Electric motor control device
JP5098863B2 (en) * 2008-07-11 2012-12-12 株式会社安川電機 Synchronous control device

Also Published As

Publication number Publication date
JP2014119902A (en) 2014-06-30

Similar Documents

Publication Publication Date Title
JP6325504B2 (en) Servo control device having a function of automatically adjusting a learning controller
JP3805309B2 (en) Servo motor drive control device
EP1439440A2 (en) Servo motor drive control device
JP4575508B1 (en) Servo control device for dual position feedback control
TWI514099B (en) Servo control device
JP5098863B2 (en) Synchronous control device
JP2004288164A (en) Synchronous control device
JP5269158B2 (en) Control method and control apparatus
US9459598B2 (en) Motor control device
JP5366840B2 (en) Trajectory control device
US20090251093A1 (en) Motor control apparatus
JP2015156194A (en) Mechanical device control device and friction compensation gain determination method
TWI520807B (en) Laser processing device
JP6111642B2 (en) Control device, control program, and control method
JP6464226B2 (en) Electric motor control device
JP6244622B2 (en) Control device, control program, and control method
JP2018151889A (en) Processing apparatus, parameter adjustment method, and parameter adjustment program
JP5648863B2 (en) Motor control device
JP2007140950A (en) Digital servo control device
JP2008097334A (en) Servo controller and control method therefor
JP4483314B2 (en) Servo control device
JP6423904B2 (en) Numerical control device for machine tools
CN109143968B (en) Control device, position control system, position control method, and recording medium
JP5460371B2 (en) Numerical controller
JP5199682B2 (en) Motor control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151106

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160929

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161004

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170104

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170124

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: 20170214

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170227

R150 Certificate of patent or registration of utility model

Ref document number: 6111642

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150