JPH1165632A - Control device - Google Patents
Control deviceInfo
- Publication number
- JPH1165632A JPH1165632A JP9227002A JP22700297A JPH1165632A JP H1165632 A JPH1165632 A JP H1165632A JP 9227002 A JP9227002 A JP 9227002A JP 22700297 A JP22700297 A JP 22700297A JP H1165632 A JPH1165632 A JP H1165632A
- Authority
- JP
- Japan
- Prior art keywords
- axis
- command
- analog voltage
- pulse train
- driver
- 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.)
- Withdrawn
Links
Landscapes
- Numerical Control (AREA)
Abstract
(57)【要約】
【課題】 1台の制御装置によりアナログ電圧信号ドラ
イバとパルス列信号ドライバの双方に対応でき、さら
に、使用するドライバの種類によらず同じ動作プログラ
ムによって機械を動作させることが可能な制御装置を提
供する。
【解決手段】 複数個の駆動軸を制御するようにされた
制御装置1において、制御装置1に対する動作指令を受
け付ける指令取得部2と、動作指令に基づき各駆動軸の
指令位置を算出する位置補間部3と、指令位置に基づき
速度指令電圧及び移動量パルス数を算出する位置決め部
4a、4b、4cと、速度指令電圧に基づきアナログ電圧信号
を算出するアナログ電圧信号出力器5a、5b、5cと、移動
量パルス数に基づきパルス列信号を算出するパルス列信
号出力器6a、6b、6cと、駆動軸を駆動するアクチュエー
タ9a、9b、9cのドライバ8a、8b、8cの種類に対応して、
アナログ電圧信号またはパルス列信号のいずれかを選択
的に出力する出力切替え器7a、7b、7cと、を有するよう
にした。
(57) [Summary] [Problem] A single control device can support both an analog voltage signal driver and a pulse train signal driver, and can operate a machine by the same operation program regardless of the type of driver used. Control device is provided. In a control device configured to control a plurality of drive axes, a command acquisition unit that receives an operation command to the control device, and a position interpolation unit that calculates a command position of each drive shaft based on the operation command. Unit 3 and a positioning unit that calculates a speed command voltage and a moving amount pulse number based on the command position
4a, 4b, 4c, an analog voltage signal output device 5a, 5b, 5c for calculating an analog voltage signal based on a speed command voltage, and a pulse train signal output device 6a, 6b, 6c for calculating a pulse train signal based on the number of movement amount pulses According to the type of the drivers 8a, 8b, 8c of the actuators 9a, 9b, 9c for driving the drive shaft,
Output switches 7a, 7b, 7c for selectively outputting either an analog voltage signal or a pulse train signal.
Description
【0001】[0001]
【発明の属する技術分野】工作機械等に使用される制御
装置に関し、特に、アナログ電圧信号ドライバとパルス
列信号ドライバが混在するシステムにおいても、動作指
令プログラムがドライバの種類に依存しないような制御
装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device used for a machine tool or the like, and more particularly to a control device in which an operation command program does not depend on the type of a driver even in a system in which an analog voltage signal driver and a pulse train signal driver are mixed. .
【0002】[0002]
【従来の技術】工作機械等の動作を制御する場合、その
制御装置として汎用CNC装置が従来より広く使用され
ており、また最近では市販のパソコンに位置決め/補間
機能を有する機能拡張用の制御基板を装着した所謂パソ
コンNCが使用されるようになってきている。これらN
C装置により制御されるアクチュエータとしては、一般
にサーボモータやパルスモータ(ステッピングモータを
含む)が使用されている。サーボモータやパルスモータ
は、一般にこれらのモータを回転させるための専用のド
ライバ(アンプ)とセットで使用されている。2. Description of the Related Art When controlling the operation of a machine tool or the like, a general-purpose CNC device has been widely used as a control device, and recently, a control board for function extension having a positioning / interpolation function in a commercially available personal computer has been used. A so-called personal computer NC equipped with a computer has been used. These N
Servo motors and pulse motors (including stepping motors) are generally used as actuators controlled by the C device. Servo motors and pulse motors are generally used in combination with dedicated drivers (amplifiers) for rotating these motors.
【0003】このドライバに対する回転指令信号は大別
すると2種類あり、一方はアナログ電圧信号であり、他
方はパルス列信号である。サーボモータ用のドライバ
は、アナログ電圧信号かパルス列信号のいずれかに対応
したものであればよいが、中には双方の信号処理回路を
有し、スイッチ回路にて適宜切り換えることが可能なも
のもある。しかし、サーボモータ用のドライバとして、
アナログ電圧信号ドライバを使用した場合は制御装置側
で直接位置を制御できるが、パルス列信号ドライバを使
用した場合には制御装置側で直接の位置制御はできず、
この場合ドライバ内に位置制御回路を設けなければなら
ないので、一般にはサーボモータ用のドライバとしては
制御装置側で位置制御が可能なアナログ電圧信号ドライ
バが使用されている。また、パルスモータやステッピン
グモータ用のドライバは、パルス列信号のみに対応して
いる。[0003] There are roughly two types of rotation command signals for the driver, one is an analog voltage signal, and the other is a pulse train signal. The driver for the servo motor only needs to correspond to either an analog voltage signal or a pulse train signal, but some of them have both signal processing circuits and can be appropriately switched by a switch circuit. is there. However, as a driver for a servo motor,
When an analog voltage signal driver is used, the position can be directly controlled by the controller, but when a pulse train signal driver is used, the position cannot be directly controlled by the controller.
In this case, since a position control circuit must be provided in the driver, an analog voltage signal driver whose position can be controlled by the control device is generally used as a driver for the servo motor. Further, a driver for a pulse motor or a stepping motor supports only a pulse train signal.
【0004】ところで、サーボモータの場合はドライバ
に対して位置フィードバックを行わせているが、パルス
モータやステッピングモータの場合はドライバからの動
作指令を受けるのみでドライバに対して位置フィードバ
ックを行わせていない。よって、複数の軸を同期制御さ
せる必要がある場合は位置フィードバックを有するサー
ボモータの使用が好ましく、パルスモータやステッピン
グモータの使用は他の軸と同期させる必要のない軸に限
定して使用される形態とするのが一般的である。In the case of a servo motor, position feedback is provided to a driver. In the case of a pulse motor or a stepping motor, position feedback is provided to a driver only by receiving an operation command from the driver. Absent. Therefore, when it is necessary to control a plurality of axes synchronously, it is preferable to use a servo motor having position feedback, and to use a pulse motor or a stepping motor limited to an axis that does not need to be synchronized with another axis. It is generally in the form.
【0005】したがって、上記の観点から、一般にパル
スモータやステッピングモータをアクチュエータの一つ
として有する多軸制御の制御装置においては、サーボモ
ータを駆動するアナログ電圧信号ドライバとパルスモー
タやステッピングモータを駆動するパルス列信号ドライ
バとが混在することになる。このアナログ電圧信号ドラ
イバとパルス列信号ドライバとが混在したシステムにお
ける問題点を以下に列挙する。Therefore, in view of the above, in general, in a multi-axis control controller having a pulse motor or a stepping motor as one of actuators, an analog voltage signal driver for driving a servo motor and a pulse motor or a stepping motor are driven. The pulse train signal driver is mixed. Problems in a system in which the analog voltage signal driver and the pulse train signal driver coexist are listed below.
【0006】.アナログ電圧信号ドライバは制御装置
側で位置制御を行わせているが、パルス列信号ドライバ
はドライバ内にある回路で位置制御を行わせているの
で、制御装置側もアナログ電圧信号ドライバに対応した
制御装置とパルス列信号ドライバに対応した制御装置の
双方を備える必要がある。例えば、前述のパソコンNC
の場合は、アナログ電圧信号ドライバに対応した機能拡
張用の制御基板とパルス列信号ドライバに対応した機能
拡張用の制御基板の双方を用意しなければならないの
で、制御基板を装着するためのパソコン本体の拡張スロ
ットの数の制限を受けることになる。[0006] The analog voltage signal driver performs position control on the control device side, but the pulse train signal driver performs position control on the circuit in the driver, so the control device also supports the analog voltage signal driver. And a control device corresponding to the pulse train signal driver. For example, the aforementioned personal computer NC
In the case of, it is necessary to prepare both a control board for function expansion corresponding to the analog voltage signal driver and a control board for function expansion corresponding to the pulse train signal driver. You will be limited by the number of expansion slots.
【0007】.項に記載の制御装置が異なることに
起因して、動作プログラムも制御装置毎に別個に設けな
ければならなない。 .項に記載の制御装置が異なることに起因して、制
御装置が異なる軸同士すなわちパルスモータやステッピ
ングモータにより駆動される軸とサーボモータにより駆
動される軸との間で、補間制御などの同期制御を行わせ
ることができない。 .機械の製作にかかった段階、あるいは完成後に、使
用するモータをサーボモータからパルスモータやステッ
ピングモータに変更した場合あるいはその逆に変更した
場合、項及び項と同様の理由により、制御装置及び
動作プログラムも変更しなければならない。[0007] Due to the difference in the control devices described in the section, an operation program must also be separately provided for each control device. . Synchronous control such as interpolation control between different axes, that is, between an axis driven by a pulse motor or a stepping motor and an axis driven by a servomotor, due to the difference in the control device described in the section. Cannot be performed. . If the motor to be used is changed from a servo motor to a pulse motor or a stepping motor, or vice versa, at the stage of production or after completion of the machine, the control unit and the operation program Must also be changed.
【0008】[0008]
【発明が解決しようとする課題】本発明は上記乃至
項の従来技術の課題を解決するためになされたものであ
り、1台の制御装置(パソコンNCの場合は機能拡張用
の制御基板)により、アナログ電圧信号ドライバとパル
ス列信号ドライバの双方に対応でき、さらに、使用する
ドライバの種類によらず同じ動作プログラムによって機
械を動作させることが可能な制御装置を提供することを
目的とする。SUMMARY OF THE INVENTION The present invention has been made in order to solve the above-mentioned problems of the prior art, and uses a single control device (a control board for function expansion in the case of a personal computer NC). It is another object of the present invention to provide a control device that can support both an analog voltage signal driver and a pulse train signal driver, and that can operate a machine with the same operation program regardless of the type of driver used.
【0009】[0009]
【課題を解決するための手段】上記の目的を達成するた
めに、本発明では、複数個の駆動軸を制御するようにさ
れた制御装置において、制御装置に対する動作指令を受
け付ける指令取得部と、指令取得部が受け付けた動作指
令に基づき、各駆動軸のサンプリング間隔毎の指令位置
を算出する位置補間部と、位置補間部において算出され
た指令位置に基づき、速度指令電圧及び移動量パルス数
をサンプリング間隔毎に算出するようにされた、複数個
の駆動軸のそれぞれに対応した位置決め部と、位置決め
部において算出された速度指令電圧に基づき、アナログ
電圧信号を算出するようにされた、複数個の駆動軸のそ
れぞれに対応したアナログ電圧信号出力器と、位置決め
部において算出された移動量パルス数に基づき、パルス
列信号を算出するようにされた、複数個の駆動軸のそれ
ぞれに対応したパルス列信号出力器と、駆動軸を駆動す
るアクチュエータのドライバの種類に対応して、アナロ
グ電圧信号またはパルス列信号のいずれかを選択的に出
力するようにされた、複数個の駆動軸のそれぞれに対応
した出力切替え器と、を有することを特徴とする制御装
置を提供した。In order to achieve the above object, according to the present invention, in a control device for controlling a plurality of drive shafts, a command acquisition unit for receiving an operation command to the control device; Based on the operation command received by the command acquisition unit, a position interpolation unit that calculates a command position for each sampling interval of each drive axis, and a speed command voltage and the number of movement amount pulses based on the command position calculated by the position interpolation unit. A plurality of positioning units corresponding to each of the plurality of drive shafts, which are calculated at each sampling interval, and a plurality of analog voltage signals calculated based on the speed command voltage calculated by the positioning unit. A pulse train signal is calculated based on an analog voltage signal output device corresponding to each of the drive axes and the number of movement amount pulses calculated in the positioning unit. A pulse train signal output device corresponding to each of the plurality of drive shafts, and selectively outputting either an analog voltage signal or a pulse train signal according to the type of the driver of the actuator that drives the drive shaft. An output switch corresponding to each of the plurality of drive shafts is provided.
【0010】上記の構成としたことにより、制御装置に
入力された動作指令(動作プログラムや手動入力)は、
駆動軸間の補間処理を施されたうえで、最終的に駆動軸
を駆動するアクチュエータの種類に対応した駆動信号と
して各ドライバに対して出力されるようになる。具体的
には、アクチュエータがサーボモータの場合はアナログ
電圧信号が出力され、一方、アクチュエータがパルスモ
ータまたはステッピングモータのいずれかの場合はパル
ス列信号が出力される。With the above configuration, the operation command (operation program or manual input) input to the control device is
After the interpolation processing between the drive axes is performed, the drive signal is finally output to each driver as a drive signal corresponding to the type of the actuator that drives the drive axis. Specifically, when the actuator is a servo motor, an analog voltage signal is output. On the other hand, when the actuator is either a pulse motor or a stepping motor, a pulse train signal is output.
【0011】[0011]
【発明の実施の形態】以下、本発明の一実施形態とし
て、本発明の技術を3次元画像処理装置に適用した場合
について説明する。図示しない3次元画像処理装置は一
般的な3次元構成を有する機械であり、水平面内を移動
可動にされたX−Yテーブルと、垂直方向に移動可動に
されたZ軸から構成されている。Z軸には画像取り込み
用のカメラが取り付けられており、Z軸駆動モータを動
作させZ軸を上下させることによりカメラの焦点合わせ
が行われる。このカメラを動作させるZ軸駆動モータと
してはパルスモータを使用している。これは、特にカメ
ラの拡大倍率が大きい場合にはZ軸の停止中の微振動が
大きな焦点ずれを引き起こすため、Z軸駆動モータとし
ては停止中に振動することのないパルスモータの使用が
好ましいからである。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a case where the technique of the present invention is applied to a three-dimensional image processing apparatus will be described as one embodiment of the present invention. A three-dimensional image processing apparatus (not shown) is a machine having a general three-dimensional configuration, and includes an XY table movable in a horizontal plane and a Z-axis movable in a vertical direction. A camera for capturing an image is attached to the Z axis, and the camera is focused by operating a Z axis drive motor to move the Z axis up and down. A pulse motor is used as a Z-axis drive motor for operating this camera. This is because, especially when the magnification of the camera is large, the micro-vibration during the stop of the Z-axis causes a large defocus, so it is preferable to use a pulse motor that does not vibrate during the stop as the Z-axis drive motor. It is.
【0012】一方、X−Yテーブルを駆動させるX軸駆
動モータ及びY軸駆動モータは、X軸とY軸との間の同
期性を確保するとともに応答性を高めるためにサーボモ
ータを使用している。なお、ここで言うX軸とY軸との
間の同期性とは、例えば、X−Yテーブルを実際に動作
させる際、位置決め時間を短縮させるためにX軸駆動モ
ータとY軸駆動モータを同時に動作させることになり、
この場合X軸とY軸との間で補間制御を行わせる必要性
が生じることを指す。そして、X軸とY軸との間で同期
性を確保するためには、X軸駆動モータ及びY軸駆動モ
ータとしては位置フィードバックを行わせているサーボ
モータの使用が好ましいことになる。このように、カメ
ラの焦点合わせを行わせている本実施形態の3次元画像
処理装置は、サーボモータとパルスモータという異なる
種類のモータが混在していることになる。On the other hand, the X-axis drive motor and the Y-axis drive motor for driving the XY table use a servomotor to secure the synchronization between the X-axis and the Y-axis and to improve the response. I have. Here, the synchronism between the X axis and the Y axis means, for example, that when the XY table is actually operated, the X axis drive motor and the Y axis drive motor are simultaneously used to reduce the positioning time. To work,
In this case, it is necessary to perform the interpolation control between the X axis and the Y axis. In order to ensure synchronism between the X axis and the Y axis, it is preferable to use a servo motor that performs position feedback as the X axis drive motor and the Y axis drive motor. As described above, in the three-dimensional image processing apparatus of the present embodiment in which the camera is focused, different types of motors such as a servo motor and a pulse motor are mixed.
【0013】次に、本実施形態における制御装置の構成
を図1に示す。制御装置1は、指令取得部2、位置補間
部3、及び各駆動軸用の位置決め部4a、4b、4c、
アナログ電圧信号出力器5a、5b、5c、パルス列信
号出力器6a、6b、6c、出力切替え器7a、7b、
7cから構成されている。指令取得部2は、各駆動軸に
対する動作指令を解釈し、現在位置(始点位置)から終
点位置までの区間を、速度や移動形態を規定して、これ
を位置補間部3に対して出力する。ここで、動作指令の
形態としては予めプログラミングされた動作プログラム
や手動入力が含まれ、また、速度は目標速度や加速度を
含み、さらに、移動形態では各駆動軸間の直線補間や円
弧補間あるいは各軸移動を規定する。位置補間部3は、
現在位置(始点位置)から終点位置までの移動曲線を算
出し、この移動曲線上を目標速度にて移動する場合のサ
ンプリング間隔毎の指令位置を算出し、この指令位置を
サンプリング間隔毎に各駆動軸の位置決め部4a、4
b、4cに対してそれぞれ出力する。Next, FIG. 1 shows the configuration of a control device according to the present embodiment. The control device 1 includes a command acquisition unit 2, a position interpolation unit 3, and positioning units 4a, 4b, 4c for each drive axis.
Analog voltage signal output devices 5a, 5b, 5c, pulse train signal output devices 6a, 6b, 6c, output switching devices 7a, 7b,
7c. The command acquisition unit 2 interprets an operation command for each drive axis, defines a speed and a movement form in a section from the current position (start point position) to the end point position, and outputs this to the position interpolation unit 3. . Here, the form of the operation command includes a pre-programmed operation program and manual input, the speed includes a target speed and an acceleration, and further, in the movement form, linear interpolation, circular interpolation or each interpolation between the drive axes. Specify the axis movement. The position interpolation unit 3
Calculate the movement curve from the current position (start point position) to the end point position, calculate the command position at each sampling interval when moving on this movement curve at the target speed, and drive this command position at each sampling interval. Shaft positioning parts 4a, 4
b, 4c.
【0014】各駆動軸の位置決め部、すなわちX軸用位
置決め部4a、Y軸用位置決め部4b、及びZ軸用位置
決め部4cのそれぞれは、位置補間部3からサンプリン
グ間隔毎に出力される指令位置に対して駆動モータの位
置が追従するように、指令位置と、駆動モータに併設さ
れた位置検出器から得られた駆動モータの現在位置との
情報を基に、速度制御ドライバに対応した速度指令電圧
を算出し、これをそれぞれのアナログ電圧信号出力器5
a、5b、5cに対して出力し、また、位置補間部3か
らサンプリング間隔毎に出力される指令位置に関して、
前サンプリング時の指令位置と現在のサンプリング時の
指令位置との差分をとることにより、位置制御ドライバ
やパルスモータドライバに対応した移動量パルス数を算
出し、これをそれぞれのパルス列信号出力器6a、6
b、6cに対して出力する。Each of the positioning units of each drive shaft, that is, the X-axis positioning unit 4a, the Y-axis positioning unit 4b, and the Z-axis positioning unit 4c are commanded positions output from the position interpolation unit 3 at each sampling interval. A speed command corresponding to a speed control driver based on information of a command position and a current position of the drive motor obtained from a position detector attached to the drive motor so that the position of the drive motor follows the speed command. Calculate the voltage and output it to each analog voltage signal output device 5
a, 5b, and 5c, and the command position output from the position interpolation unit 3 at each sampling interval.
By calculating the difference between the command position at the time of the previous sampling and the command position at the time of the current sampling, the number of movement amount pulses corresponding to the position control driver or the pulse motor driver is calculated. 6
b, 6c.
【0015】各駆動軸のアナログ電圧信号出力器、すな
わちX軸用アナログ電圧信号出力器5a、Y軸用アナロ
グ電圧信号出力器5b、及びZ軸用アナログ電圧信号出
力器5cのそれぞれは、それぞれの位置決め部4a、4
b、4cから出力されたサンプリング間隔毎すなわちデ
ジタルの速度指令電圧を入力し、これをアナログ電圧信
号として出力するD/A変換器である。また、各駆動軸
のパルス列信号出力器、すなわちX軸用パルス列信号出
力器6a、Y軸用パルス列信号出力器6b、及びZ軸用
パルス列信号出力器6cのそれぞれは、それぞれの位置
決め部4a、4b、4cから出力された各サンプリング
時の移動量パルス数を入力し、これをサンプリングタイ
ム内にパルス列信号として出力するパルス発振器であ
る。An analog voltage signal output device for each drive axis, that is, an X-axis analog voltage signal output device 5a, a Y-axis analog voltage signal output device 5b, and a Z-axis analog voltage signal output device 5c are respectively Positioning parts 4a, 4
This is a D / A converter that inputs a digital speed command voltage at each sampling interval output from b and 4c, and outputs this as an analog voltage signal. Further, the pulse train signal output devices of the respective drive axes, that is, the X-axis pulse train signal output device 6a, the Y-axis pulse train signal output device 6b, and the Z-axis pulse train signal output device 6c are respectively provided with respective positioning portions 4a, 4b. , 4c is a pulse oscillator that inputs the number of movement amount pulses at the time of each sampling and outputs this as a pulse train signal within a sampling time.
【0016】各駆動軸の出力切替え器、すなわちX軸用
出力切替え器7a、Y軸用出力切替え器7b、及びZ軸
用出力切替え器7cのそれぞれは、それぞれのアナログ
電圧信号出力器5a、5b、5c、及びパルス列信号出
力器6a、6b、6cからの出力信号を入力し、ドライ
バの種類に応じて出力信号を選択する。具体的には、X
軸駆動モータ及びY軸駆動モータはサーボモータを使用
しているので、X軸用出力切替え器7a及びY軸用出力
切替え器7bのそれぞれは、X軸用アナログ電圧信号出
力器5a及びY軸用アナログ電圧信号出力器5bのそれ
ぞれの出力信号を、X軸用アナログ電圧信号ドライバ8
a及びY軸用アナログ電圧信号ドライバ8bに対してそ
れぞれ出力するように設定され、一方、Z軸駆動モータ
はパルスモータを使用しているので、Z軸用出力切替え
器7cはZ軸用パルス列信号出力器6cの出力信号を、
Z軸用パルス列信号ドライバ8cに対して出力するよう
に設定されている。The output switch of each drive axis, that is, the X-axis output switch 7a, the Y-axis output switch 7b, and the Z-axis output switch 7c are respectively provided with analog voltage signal outputs 5a, 5b. , 5c, and output signals from the pulse train signal output units 6a, 6b, 6c, and selects an output signal according to the type of driver. Specifically, X
Since the axis drive motor and the Y axis drive motor use servo motors, the X-axis output switch 7a and the Y-axis output switch 7b are respectively provided with the X-axis analog voltage signal output unit 5a and the Y-axis output switch 5a. The respective output signals of the analog voltage signal output unit 5b are converted to an analog voltage signal driver
a and the Y-axis analog voltage signal driver 8b are respectively set to output. On the other hand, since the Z-axis drive motor uses a pulse motor, the Z-axis output switch 7c outputs the Z-axis pulse train signal. The output signal of the output device 6c is
It is set to output to the Z-axis pulse train signal driver 8c.
【0017】X軸用アナログ電圧信号ドライバ8a及び
Y軸用アナログ電圧信号ドライバ8bのそれぞれは、X
軸用出力切替え器7a及びY軸用出力切替え器7bのそ
れぞれを介して入力されたアナログ電圧信号に基づき、
X軸駆動モータであるX軸用サーボモータ9a及びY軸
駆動モータであるY軸用サーボモータ9bに対してそれ
ぞれ駆動指令を出力する。一方、Z軸用パルス列信号ド
ライバ8cはZ軸用出力切替え器7cを介して入力され
たパルス列信号に基づき、Z軸駆動モータであるZ軸用
パルスモータ9cに対して駆動指令を出力する。Each of the X-axis analog voltage signal driver 8a and the Y-axis analog voltage signal driver 8b
Based on the analog voltage signal input through each of the axis output switch 7a and the Y-axis output switch 7b,
A drive command is output to each of the X-axis servo motor 9a as the X-axis drive motor and the Y-axis servo motor 9b as the Y-axis drive motor. On the other hand, the Z-axis pulse train signal driver 8c outputs a drive command to the Z-axis pulse motor 9c, which is a Z-axis drive motor, based on the pulse train signal input via the Z-axis output switch 7c.
【0018】X軸用サーボモータ9a及びY軸用サーボ
モータ9bのそれぞれは、X軸用アナログ電圧信号ドラ
イバ8a及びY軸用アナログ電圧信号ドライバ8bのそ
れぞれから出力された駆動指令に基づき、X−Yテーブ
ルを動作させる。一方、Z軸用パルスモータ9cはZ軸
用パルス列信号ドライバ8cから出力された駆動指令に
基づき、カメラが搭載されたZ軸を動作させる。X軸用
サーボモータ9a及びY軸用サーボモータ9bのそれぞ
れには現在位置を検出するエンコーダ(位置検出器)が
付属されており、X軸用アナログ電圧信号ドライバ8a
及びY軸用アナログ電圧信号ドライバ8bのそれぞれに
対して現在位置がフィードバックされるとともに、X軸
用位置決め部4a及びY軸用位置決め部4bに対しても
それぞれフィードバックされる。一方、Z軸用パルスモ
ータ9cには外付けの位置検出器10が併設されてお
り、Z軸用位置決め部4cに対して現在位置がフィード
バックされる。Each of the X-axis servo motor 9a and the Y-axis servo motor 9b is driven by the X-axis analog voltage signal driver 8a and the Y-axis analog voltage signal driver 8b based on the drive command output from the X-axis analog voltage signal driver 8b. Operate the Y table. On the other hand, the Z-axis pulse motor 9c operates the Z-axis on which the camera is mounted, based on the drive command output from the Z-axis pulse train signal driver 8c. Each of the X-axis servo motor 9a and the Y-axis servo motor 9b is provided with an encoder (position detector) for detecting the current position, and the X-axis analog voltage signal driver 8a
The current position is fed back to each of the analog voltage signal drivers 8b for Y-axis and the analog voltage signal driver 8b for Y-axis, and is also fed back to the positioning unit 4a for X-axis and the positioning unit 4b for Y-axis. On the other hand, an external position detector 10 is provided in addition to the Z-axis pulse motor 9c, and the current position is fed back to the Z-axis positioning unit 4c.
【0019】以上述べた本実施形態の構成では、指令取
得部2は全駆動軸において共通であるので、制御装置1
に対する動作プログラムや手動入力による動作指令はド
ライバの種類によらず同一になる。また、位置補間部3
についても全駆動軸において共通であるので、サーボモ
ータにより駆動されるX軸及びY軸とパルスモータによ
り駆動されるZ軸との間での補間制御も可能となる。こ
のように本実施形態によれば、アナログ電圧信号ドライ
バとパルス列信号ドライバといった異なる種類のドライ
バ毎に別個に制御装置を設けることなく、1台の制御装
置においてシステムを構成することが可能である。In the configuration of the present embodiment described above, since the command acquisition unit 2 is common to all drive axes, the control unit 1
Are the same regardless of the type of driver. Further, the position interpolation unit 3
Is common to all the drive axes, so that interpolation control between the X and Y axes driven by the servomotor and the Z axis driven by the pulse motor is also possible. As described above, according to the present embodiment, it is possible to configure a system with a single control device without separately providing a control device for different types of drivers such as an analog voltage signal driver and a pulse train signal driver.
【0020】また、駆動軸モータ及びドライバが変更に
なった場合、例えば、Z軸におけるパルスモータ及びパ
ルス列信号ドライバをサーボモータ及びアナログ電圧信
号ドライバにそれぞれ変更する場合でも、制御装置1に
おいてはZ軸用出力切替え器7cをパルス列信号出力器
6c側からアナログ電圧信号出力器5c側へ切り替える
のみで対処でき、制御装置自体や動作プログラム(動作
指令)を変更する必要はない。また、制御装置1の構成
は1枚の基板上に配置することができる規模なので、市
販されている汎用パソコンの機能拡張用の制御基板とし
て容易に実装できる。Further, when the drive shaft motor and the driver are changed, for example, when the pulse motor and the pulse train signal driver on the Z axis are changed to a servo motor and an analog voltage signal driver, respectively, This can be dealt with simply by switching the output switch 7c from the pulse train signal output unit 6c side to the analog voltage signal output unit 5c side, and there is no need to change the control unit itself or the operation program (operation command). Further, since the configuration of the control device 1 can be arranged on one board, it can be easily mounted as a control board for expanding the functions of a commercially available general-purpose personal computer.
【0021】なお、上記の実施形態においては、出力切
替え器7a、7b、7cは、アナログ電圧信号出力器5
a、5b、5c、及びパルス列信号出力器6a、6b、
6cの次工程として配置されているが、これを入替え、
出力切替え器7a、7b、7cの次工程として、アナロ
グ電圧信号出力器5a、5b、5c、及びパルス列信号
出力器6a、6b、6cを配置するようにしてもよい。
また、上記の実施形態では駆動軸は3軸であったが、駆
動軸が2軸や4軸以上のものにおいても本発明の技術範
囲において容易に適用可能である。例えば、上記の実施
形態のX−Yテーブル上に回転テーブル(C軸)を設
け、X軸、Y軸、C軸、及びZ軸の計4軸の駆動軸を有
する機械についても容易に適用できる。また、上記の実
施形態ではパルス列信号ドライバにより駆動されるアク
チュエータとしてパルスモータを適用した場合を示した
が、アクチュエータとしてステッピングモータを適用し
た場合も同様である。In the above embodiment, the output switches 7a, 7b, 7c are connected to the analog voltage signal output
a, 5b, 5c, and pulse train signal output devices 6a, 6b,
Although it is arranged as the next process of 6c, this is replaced,
As next steps of the output switches 7a, 7b, 7c, the analog voltage signal output units 5a, 5b, 5c and the pulse train signal output units 6a, 6b, 6c may be arranged.
Further, in the above embodiment, the number of drive shafts is three, but the number of drive shafts may be two or four or more, and the invention is easily applicable within the technical scope of the present invention. For example, a rotary table (C axis) is provided on the XY table of the above-described embodiment, and the present invention can be easily applied to a machine having a total of four drive axes of X, Y, C, and Z axes. . Further, in the above embodiment, the case where the pulse motor is applied as the actuator driven by the pulse train signal driver has been described, but the same applies to the case where the stepping motor is applied as the actuator.
【0022】[0022]
【発明の効果】本発明によれば、複数個の駆動軸を制御
するようにされた制御装置において、制御装置に対する
動作指令を受け付ける指令取得部と、動作指令に基づき
各駆動軸の指令位置を算出する位置補間部と、指令位置
に基づき速度指令電圧及び移動量パルス数を算出する位
置決め部と、速度指令電圧に基づきアナログ電圧信号を
算出するアナログ電圧信号出力器と、移動量パルス数に
基づきパルス列信号を算出するパルス列信号出力器と、
駆動軸を駆動するアクチュエータのドライバの種類に対
応して、アナログ電圧信号またはパルス列信号のいずれ
かを選択的に出力する出力切替え器と、を有するように
したので、制御装置に入力された動作指令は、補間処理
されたうえで、最終的に駆動軸を駆動するアクチュエー
タのドライバの種類に対応した駆動信号として各ドライ
バに対して出力されるようになった。According to the present invention, in a control device for controlling a plurality of drive shafts, a command acquisition section for receiving an operation command for the control device, and a command position of each drive shaft based on the operation command. A position interpolating unit to calculate, a positioning unit to calculate the speed command voltage and the number of movement pulses based on the command position; an analog voltage signal output unit to calculate an analog voltage signal based on the speed command voltage; A pulse train signal output device for calculating a pulse train signal;
An output switch that selectively outputs either an analog voltage signal or a pulse train signal in accordance with the type of the driver of the actuator that drives the drive shaft, so that the operation command input to the control device is provided. Is interpolated and finally output to each driver as a drive signal corresponding to the type of driver of the actuator that drives the drive shaft.
【0023】そのため、本発明は従来技術に対して以下
の固有の効果を奏する。 .制御装置に入力された動作指令は、補間処理された
うえで、最終的に駆動軸を駆動するアクチュエータのド
ライバの種類に対応した信号として各ドライバに対して
出力されるようになったので、モータやドライバの種類
に応じて別個の制御装置を備える必要はなくなった。こ
れにより、パソコンNCの場合は、モータやドライバの
種類に応じて複数の機能拡張用の制御基板を設ける必要
はなくなり、1枚の制御基板にて制御装置を構成できる
ものとなった。Therefore, the present invention has the following unique effects over the prior art. . The operation command input to the control device is interpolated and finally output to each driver as a signal corresponding to the type of the driver of the actuator that drives the drive shaft. It is no longer necessary to provide a separate control device according to the type of driver and the type of driver. As a result, in the case of the personal computer NC, it is not necessary to provide a plurality of function expansion control boards according to the types of the motor and the driver, and the control device can be constituted by one control board.
【0024】.制御装置はモータやドライバの種類に
よらず1台であるので、動作プログラムを制御装置毎に
別個に設ける必要がなくなるとともに、使用するモータ
やドライバの種類を考慮することなく、動作プログラム
の作成を行えるものとなった。.制御装置内にある位
置補間部は全駆動軸共用となっているので、駆動軸間の
補間制御などの同期制御を容易に行わせることができる
ものとなった。 .制御装置はモータやドライバの種類に影響されなく
なったので、機械の製作にかかった段階、あるいは完成
後に、使用するモータをサーボモータからパルスモータ
やステッピングモータに変更した場合あるいはその逆に
変更した場合でも、動作プログラムを変更する必要性は
なくなった。[0024] Since there is one control device irrespective of the type of motor and driver, it is not necessary to provide an operation program separately for each control device, and the operation program can be created without considering the type of motor or driver to be used. It can be done. . Since the position interpolation unit in the control device is shared by all the drive axes, synchronous control such as interpolation control between the drive axes can be easily performed. . Since the control device is no longer affected by the type of motor or driver, if the motor used is changed from a servo motor to a pulse motor or stepping motor, or vice versa, at the stage of machine production or after completion But there is no need to change the operating program.
【図1】本発明の一実施形態における制御装置の構成を
示す図である。FIG. 1 is a diagram illustrating a configuration of a control device according to an embodiment of the present invention.
1 制御装置 2 指令取得部 3 位置補間部 4a 位置決め部(X軸用位置決め部) 4b 位置決め部(Y軸用位置決め部) 4c 位置決め部(Z軸用位置決め部) 5a アナログ電圧信号出力器(X軸用アナログ電圧信
号出力器) 5b アナログ電圧信号出力器(Y軸用アナログ電圧信
号出力器) 5c アナログ電圧信号出力器(Z軸用アナログ電圧信
号出力器) 6a パルス列信号出力器(X軸用パルス列信号出力
器) 6b パルス列信号出力器(Y軸用パルス列信号出力
器) 6c パルス列信号出力器(Z軸用パルス列信号出力
器) 7a 出力切替え器(X軸用出力切替え器) 7b 出力切替え器(Y軸用出力切替え器) 7c 出力切替え器(Z軸用出力切替え器) 8a ドライバ(X軸用アナログ電圧信号ドライバ) 8b ドライバ(Y軸用アナログ電圧信号ドライバ) 8c ドライバ(Z軸用パルス列信号ドライバ) 9a アクチュエータ(X軸用サーボモータ) 9b アクチュエータ(Y軸用サーボモータ) 9c アクチュエータ(Z軸用パルスモータ) 10 位置検出器Reference Signs List 1 control device 2 command acquisition unit 3 position interpolation unit 4a positioning unit (X-axis positioning unit) 4b positioning unit (Y-axis positioning unit) 4c positioning unit (Z-axis positioning unit) 5a analog voltage signal output unit (X-axis) 5b Analog voltage signal output device (Y-axis analog voltage signal output device) 5c Analog voltage signal output device (Z-axis analog voltage signal output device) 6a Pulse train signal output device (X-axis pulse train signal) Output device 6b Pulse train signal output device (Y-axis pulse train signal output device) 6c Pulse train signal output device (Z-axis pulse train signal output device) 7a Output switching device (X-axis output switching device) 7b Output switching device (Y-axis) 7c Output switcher (Z-axis output switcher) 8a Driver (X-axis analog voltage signal driver) 8b Driver (Y-axis analog switch) Grayed voltage signal driver) 8c driver (Z-axis pulse train signal driver) 9a actuator (servomotor X-axis) 9b servomotor actuator (Y-axis) 9c actuators (pulse motor for Z-axis) 10 Position detector
Claims (2)
御装置において、 該制御装置に対する動作指令を受け付ける指令取得部
と、 該指令取得部が受け付けた動作指令に基づき、各駆動軸
のサンプリング間隔毎の指令位置を算出する位置補間部
と、 該位置補間部において算出された指令位置に基づき、速
度指令電圧及び移動量パルス数を前記サンプリング間隔
毎に算出するようにされた、前記複数個の駆動軸のそれ
ぞれに対応した位置決め部と、 該位置決め部において算出された速度指令電圧に基づ
き、アナログ電圧信号を算出するようにされた、前記複
数個の駆動軸のそれぞれに対応したアナログ電圧信号出
力器と、 前記位置決め部において算出された移動量パルス数に基
づき、パルス列信号を算出するようにされた、前記複数
個の駆動軸のそれぞれに対応したパルス列信号出力器
と、 前記駆動軸を駆動するアクチュエータのドライバの種類
に対応して、前記アナログ電圧信号またはパルス列信号
のいずれかを選択的に出力するようにされた、前記複数
個の駆動軸のそれぞれに対応した出力切替え器と、 を有することを特徴とする制御装置。1. A control device configured to control a plurality of drive axes, a command acquisition unit for receiving an operation command for the control device, and a command acquisition unit that receives the operation command for each drive shaft based on the operation command received by the command acquisition unit. A position interpolator for calculating a command position for each sampling interval; and a plurality of speed command voltages and the number of movement pulses based on the command position calculated by the position interpolator for each sampling interval. A positioning section corresponding to each of the plurality of drive axes; and an analog voltage corresponding to each of the plurality of drive axes, wherein an analog voltage signal is calculated based on the speed command voltage calculated in the positioning section. A signal output unit; and the plurality of drive units configured to calculate a pulse train signal based on the number of movement amount pulses calculated by the positioning unit. A pulse train signal output device corresponding to each of the axes, and corresponding to a type of a driver of an actuator that drives the drive shaft, wherein the analog voltage signal or the pulse train signal is selectively output. An output switching device corresponding to each of the plurality of drive shafts.
がサーボモータの場合は前記アナログ電圧信号を出力
し、一方、前記アクチュエータがパルスモータまたはス
テッピングモータのいずれかの場合は前記パルス列信号
を出力するようにしたことを特徴とする請求項1に記載
の制御装置。2. The output switching device outputs the analog voltage signal when the actuator is a servo motor, and outputs the pulse train signal when the actuator is a pulse motor or a stepping motor. The control device according to claim 1, wherein:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9227002A JPH1165632A (en) | 1997-08-11 | 1997-08-11 | Control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9227002A JPH1165632A (en) | 1997-08-11 | 1997-08-11 | Control device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH1165632A true JPH1165632A (en) | 1999-03-09 |
Family
ID=16853978
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9227002A Withdrawn JPH1165632A (en) | 1997-08-11 | 1997-08-11 | Control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH1165632A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090141136A1 (en) * | 2007-11-28 | 2009-06-04 | Sanyo Electric Co., Ltd. | Semiconductor device and imaging capturing apparatus |
| JP2009153100A (en) * | 2007-11-28 | 2009-07-09 | Sanyo Electric Co Ltd | Semiconductor device and imaging device |
| JP2009152541A (en) * | 2007-11-28 | 2009-07-09 | Sanyo Electric Co Ltd | Semiconductor device and imaging device |
| JP2009153101A (en) * | 2007-11-28 | 2009-07-09 | Sanyo Electric Co Ltd | Semiconductor device and imaging device |
-
1997
- 1997-08-11 JP JP9227002A patent/JPH1165632A/en not_active Withdrawn
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090141136A1 (en) * | 2007-11-28 | 2009-06-04 | Sanyo Electric Co., Ltd. | Semiconductor device and imaging capturing apparatus |
| JP2009153100A (en) * | 2007-11-28 | 2009-07-09 | Sanyo Electric Co Ltd | Semiconductor device and imaging device |
| JP2009152541A (en) * | 2007-11-28 | 2009-07-09 | Sanyo Electric Co Ltd | Semiconductor device and imaging device |
| JP2009153101A (en) * | 2007-11-28 | 2009-07-09 | Sanyo Electric Co Ltd | Semiconductor device and imaging device |
| US8553098B2 (en) | 2007-11-28 | 2013-10-08 | Sanyo Semiconductor Co., Ltd. | Semiconductor device and imaging capturing apparatus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3665008B2 (en) | Synchronization control method and synchronization control apparatus | |
| EP1508843B1 (en) | Numerical control apparatus | |
| JP2005066819A (en) | Articulated robot | |
| JP3452899B2 (en) | Synchronous control method and device | |
| JP6250887B2 (en) | Numerical control device for left-handed coordinate system | |
| WO1991010179A1 (en) | Display system of numerical controller | |
| JP2726735B2 (en) | Cylindrical interpolation method | |
| WO1990013075A1 (en) | Returning method to reference point | |
| JP2004114176A (en) | Numerical controller | |
| JP5669993B1 (en) | Numerical controller | |
| JP3337037B2 (en) | Synchronous operation of machine tool attachment | |
| WO2007049345A1 (en) | Table-positioning controller | |
| JPH08155695A (en) | Powder molding device | |
| JPS59229618A (en) | Movement control device | |
| JP2002049413A (en) | Machine operation panel | |
| JPS6274533A (en) | Parts mounting method in automatic assembly device | |
| JP2712881B2 (en) | Numerical control unit | |
| JP2003202909A (en) | Origin return device | |
| JPH10143215A (en) | Control method for synchronous shaft of track control machine | |
| WO1990015374A1 (en) | Numeric control unit | |
| JP5322986B2 (en) | Control device | |
| JPH0433109A (en) | Main shaft driving device for machine tool | |
| JP2524554Y2 (en) | Joystick adapter | |
| JPH03166609A (en) | Working path plotting system | |
| JPH06304845A (en) | Numerical control device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20041102 |