JPH10285997A - Pulse generator - Google Patents
Pulse generatorInfo
- Publication number
- JPH10285997A JPH10285997A JP9342297A JP9342297A JPH10285997A JP H10285997 A JPH10285997 A JP H10285997A JP 9342297 A JP9342297 A JP 9342297A JP 9342297 A JP9342297 A JP 9342297A JP H10285997 A JPH10285997 A JP H10285997A
- Authority
- JP
- Japan
- Prior art keywords
- pulse
- pulse generator
- control
- network
- processor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Control Of Stepping Motors (AREA)
Abstract
(57)【要約】
【課題】従来の構成では、パルスジェネレータのステー
タスをホストが監視する必要があるためにホストの負荷
が増大する傾向にあり、ホストとパルスジェネレータ間
を一つのネットワークで接続した場合はリアルタイム制
御性が損なわれる。
【解決手段】パルスジェネレータ3の内部に、ホストと
の通信機能をはじめとするインテリジェント機能を持た
せ、ホストとの間を二重化した簡易なネットワーク2
1,22で結び、パルスジェネレータ3単位での分散制
御とリアルタイム制御性の向上を図る。
(57) [Summary] In the conventional configuration, the load on the host tends to increase because the host needs to monitor the status of the pulse generator, and the host and the pulse generator are connected by one network. In this case, real-time controllability is impaired. A simple network (2) in which an intelligent function including a communication function with a host is provided inside a pulse generator (3) and the host is duplicated.
1 and 22 to improve the distributed control and real-time controllability of the pulse generator 3 units.
Description
【0001】[0001]
【発明の属する技術分野】本発明はパルスジェネレータ
に関する。[0001] The present invention relates to a pulse generator.
【0002】[0002]
【従来の技術】以下、図面を参照して従来のステッピン
グモータ制御システムを示す。図2で1は本システムを
統括する中央処理装置、5a〜5nはステッピングモー
タ、3a〜3nはステッピングモータが同期して回転で
きるパルスを出力するパルスジェネレータ、4a〜4n
はステッピングモータ1a〜1nの各相に励磁電流を流
す駆動回路である。2. Description of the Related Art A conventional stepping motor control system will be described below with reference to the drawings. In FIG. 2, 1 is a central processing unit that controls the system, 5a to 5n are stepping motors, 3a to 3n are pulse generators that output pulses that the stepping motors can rotate synchronously, 4a to 4n
Is a drive circuit for supplying an exciting current to each phase of the stepping motors 1a to 1n.
【0003】ステッピングモータ5a〜5nの起動は、
中央処理装置1から制御バス2を通してパルスジェネレ
ータ3a〜3n内にあるコントロール・レジスタをアク
セスすることにより、対応したパルスジェネレータ3a
〜3nが起動される。パルスジェネレータ3a〜3nは
中央処理装置1がコントロール・レジスタに設定した値
をパルスに変換し出力する。駆動回路4a〜4nはパル
スジェネレータ3a〜3nが出力したパルスに従った動
作シーケンスにより、ステッピングモータ5a〜5nの
各相を励磁する。中央処理装置1はパルスジェネレータ
3a〜3nからの割込みとステータスで処理の終了を検
知し、結果をパルスジェネレータ3a〜3n内部のレジ
スタより読み出すことになる。従来の装置構成では、中
央処理装置1の核となるメインCPUの規格により制御
バス2の仕様は決定され、使用するCPUが高機能にな
るほど大規模なものが必要となる。また、CPUの信号
駆動能力に応じ、制御バス2の信号伝達手段はマザーボ
ードで構成され、中央処理装置1とパルスジェネレータ
3a〜3nは1ヶ所にまとめられ、パルスジェネレータ
3a〜3nと駆動回路4a〜4n,駆動回路4a〜4n
とステッピングモータ5a〜5nの間は比較的長い信号
ケーブル等で接続される。The starting of the stepping motors 5a to 5n is
By accessing the control registers in the pulse generators 3a to 3n through the control bus 2 from the central processing unit 1, the corresponding pulse generators 3a
3n are activated. The pulse generators 3a to 3n convert the value set in the control register by the central processing unit 1 into a pulse and output it. The drive circuits 4a to 4n excite the respective phases of the stepping motors 5a to 5n in an operation sequence according to the pulses output from the pulse generators 3a to 3n. The central processing unit 1 detects the end of the process based on the interrupts and statuses from the pulse generators 3a to 3n, and reads the result from a register inside the pulse generators 3a to 3n. In the conventional device configuration, the specifications of the control bus 2 are determined by the standard of the main CPU serving as the core of the central processing unit 1, and the larger the CPU used, the larger the size of the control bus becomes. Further, according to the signal driving capability of the CPU, the signal transmission means of the control bus 2 is constituted by a motherboard, the central processing unit 1 and the pulse generators 3a to 3n are integrated in one place, and the pulse generators 3a to 3n and the driving circuits 4a to 4n are combined. 4n, drive circuits 4a to 4n
And the stepping motors 5a to 5n are connected by a relatively long signal cable or the like.
【0004】図3はパルスジェネレータ3a〜3nの起
動・停止等の制御情報の伝達手段をネットワーク化した
ものである。この方式では、中央処理装置1とパルスジ
ェネレータ3a〜3nを分離して配置することが可能で
あり、装置設計上の自由度の向上を図ることが可能であ
る。しかし、パルスジェネレータ3a〜3nの動作パタ
ーンの変更等、接続するパルスジェネレータ3a〜3n
の制御情報をネットワーク22上に頻繁に送信しなけれ
ばならない場合、接続するパルスジェネレータ3a〜3
nの個数が多いほどネットワーク22の回線使用率が上
昇し、制御情報がネットワーク22上で衝突する確率が
高くなる。その結果、中央処理装置1やパルスジェネレ
ータ3a〜3nが制御情報を再送信する等の動作が必要
になり、再送信等に係る時間の蓄積が制御のリアルタイ
ム性を損なう恐れがある。FIG. 3 shows a network for transmitting control information such as start / stop of the pulse generators 3a to 3n. In this method, the central processing unit 1 and the pulse generators 3a to 3n can be arranged separately, and the degree of freedom in designing the device can be improved. However, the connected pulse generators 3a to 3n, such as changing the operation pattern of the pulse generators 3a to 3n.
Is required to be frequently transmitted over the network 22, the pulse generators 3a to 3
As the number n increases, the line usage rate of the network 22 increases, and the probability that control information collides on the network 22 increases. As a result, the central processing unit 1 and the pulse generators 3a to 3n need to perform operations such as retransmission of control information, and the accumulation of time associated with retransmission may impair the real-time control.
【0005】[0005]
【発明が解決しようとする課題】従来のシステム構成で
はマザーボード等で接続された中央処理装置とパルスジ
ェネレータは一ヶ所にまとめられ、パルスジェネレータ
と駆動回路間あるいは駆動回路とステッピングモータ間
の配線は繁雑になる傾向にある。装置の内部にこれらの
機器を配置する場合、制御対象の位置により物理的な制
限が生じ、配置の自由度が損なわれてしまう。装置をよ
り小形に、機能を向上させることが要求されるが、中央
処理装置とパルスジェネレータ間の信号伝達手段をマザ
ーボード等で構成した場合、システムの拡張性が損なわ
れてしまう。また、従来のシステムではステッピングモ
ータ或いは駆動回路が故障した場合、中央処理装置に知
らせる手段を持たないため、中央処理装置はシステム全
体の動作に異常が発生するまで故障を検知することがで
きない。In the conventional system configuration, the central processing unit and the pulse generator connected by a motherboard or the like are integrated in one place, and wiring between the pulse generator and the drive circuit or between the drive circuit and the stepping motor is complicated. Tends to be. When arranging these devices inside the device, physical restrictions occur depending on the position of the control target, and the degree of freedom of arrangement is impaired. Although it is required that the apparatus be smaller and have improved functions, if the signal transmission means between the central processing unit and the pulse generator is constituted by a motherboard or the like, the expandability of the system will be impaired. Further, in the conventional system, when the stepping motor or the drive circuit fails, there is no means for notifying the central processing unit, so that the central processing unit cannot detect the failure until an abnormality occurs in the operation of the entire system.
【0006】中央処理装置とパルスジェネレータを一つ
のネットワークで接続したシステムでは、上記の課題を
解決することが可能ではあるが、ネットワークの回線使
用率が上昇し、送信データの衝突が発生した場合にはデ
ータの再送信等が必要となり、再送信等の時間の蓄積が
制御のリアルタイム性を損なう恐れがある。In a system in which a central processing unit and a pulse generator are connected by a single network, the above problem can be solved. However, when the line utilization of the network increases and a collision of transmission data occurs, the system can be used. Requires retransmission of data and the like, and accumulation of time for retransmission and the like may impair real-time control.
【0007】[0007]
【課題を解決するための手段】この問題点を解決するた
めに、パルスジェネレータ内部にパルス制御プロセッサ
と、制御情報を送信または受信する機能を有する通信プ
ロセッサ,アプリケーションプログラムを実行するアプ
リケーションプロセッサ,パルス制御プロセッサと通信
プロセッサおよびアプリケーションプロセッサを統括す
るアクセス制御プロセッサを組み込み、制御情報を伝達
するネットワークに接続することで各々のパルスジェネ
レータの制御を通信で行い、パルスジェネレータ単位で
の独立した処理を可能とするだけでなく、複数のパルス
ジェネレータ間で制御情報を授受することで、ホストの
介在なしに複数のパルスジェネレータ間の連係動作を可
能とした。また、モータの緊急停止要求信号等に代表さ
れる緊急制御信号を伝達するネットワークと、緊急制御
信号以外の制御信号を伝達するネットワークを分離する
ことにより、緊急制御信号の伝達が、緊急制御信号以外
の制御信号の伝達により妨害される危険を回避し、リア
ルタイム制御性を向上した。In order to solve this problem, a pulse control processor inside a pulse generator, a communication processor having a function of transmitting or receiving control information, an application processor executing an application program, and a pulse control Incorporates an access control processor that supervises the processor, communication processor, and application processor, controls each pulse generator by communication by connecting to a network that transmits control information, and enables independent processing in pulse generator units Not only that, by transmitting and receiving control information between a plurality of pulse generators, a cooperative operation among the plurality of pulse generators is enabled without the intervention of a host. In addition, by separating the network for transmitting the emergency control signal represented by the motor emergency stop request signal and the network for transmitting the control signal other than the emergency control signal, the transmission of the emergency control signal becomes The danger of being disturbed by the transmission of control signals has been avoided and real-time controllability has been improved.
【0008】[0008]
【発明の実施の形態】以下、図1,図4,図5,図6お
よび図7を参照して本発明の実施例を説明する。図1,
図4で、21は緊急制御信号を伝達するネットワークで
ある。31a〜31nはパルスジェネレータ3a〜3n
をネットワーク21,ネットワーク22を介して中央処
理装置1と接続するためのインタフェースとなるネット
ワーク通信プロセッサである。33a〜33nはアプリ
ケーションプログラムを実行するためのアプリケーショ
ンプロセッサであり、34a〜34nはパルス演算を行
うパルス制御プロセッサである。32a〜32nはネッ
トワーク通信プロセッサ31a〜31n,アプリケーシ
ョンプロセッサ33a〜33n,パルス制御プロセッサ
34a〜34nの処理を効率的に行うためにこれらのプ
ロセッサを制御するアクセス制御プロセッサである。3
6a〜36nはアプリケーションプログラム等を格納す
るフラッシュメモリであり、35a〜35nはネットワ
ーク21,ネットワーク22を経由して受信した制御デ
ータを格納し、フラッシュメモリ36a〜36n内のプ
ログラムを展開させるためのRAMである。37a〜37
bはパルス制御プロセッサ34a〜34nの各種ステー
タスを反映する。38a〜38nは各種パルス設定やモ
ータ駆動方式等を設定するためのパルス設定レジスタで
ある。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. 1, 4, 5, 6, and 7. FIG. Figure 1
In FIG. 4, reference numeral 21 denotes a network for transmitting an emergency control signal. 31a to 31n are pulse generators 3a to 3n
Is a network communication processor serving as an interface for connecting the central processing unit 1 via the network 21 and the network 22. 33a to 33n are application processors for executing application programs, and 34a to 34n are pulse control processors for performing pulse calculation. Reference numerals 32a to 32n denote access control processors for controlling the network communication processors 31a to 31n, the application processors 33a to 33n, and the pulse control processors 34a to 34n in order to perform the processing efficiently. 3
6a to 36n are flash memories for storing application programs and the like, and 35a to 35n are RAMs for storing control data received via the networks 21 and 22, and for developing programs in the flash memories 36a to 36n. It is. 37a-37
b reflects various statuses of the pulse control processors 34a to 34n. Reference numerals 38a to 38n denote pulse setting registers for setting various pulse settings, motor driving methods, and the like.
【0009】これらの回路動作を以下に示す。電源投入
時にアクセス制御プロセッサ32a〜32nはフラッシ
ュメモリ36a〜36n上の自己診断プログラムをRAM3
5a〜35n上に展開し、アプリケーションプロセッサ3
3a〜33nに自己診断データを送信する。アプリケー
ションプロセッサ33a〜33nは自己診断データをパ
ルス設定値に変換し、パルス制御プロセッサ34a〜3
4n内部のパルス設定レジスタ38a〜38nに設定
し、パルス制御プロセッサ34a〜34nを起動すると
パルスが出力される。出力パルスは駆動回路4a〜4n
で電圧変換され、ステッピングモータ5a〜5nのイニ
シャル動作が開始される。ステッピングモータ5a〜5
nのイニシャル動作終了時、パルス制御プロセッサ34
a〜34nはアクセス制御プロセッサ32a〜32nに
イニシャル動作終了報告を行う。イニシャル動作終了報
告を受信したアクセス制御プロセッサ32a〜32nは
アプリケーションプロセッサ33a〜33nに動作確認
データを送信する。アプリケーションプロセッサ33a
〜33nは動作確認データをパルス設定値に変換し、パ
ルス制御プロセッサ34a〜34n内部のステータスレ
ジスタ37a〜37nの内容と比較し、結果をアクセス
制御プロセッサ32a〜32nに送信する。内容が異な
るときはネットワーク通信プロセッサ31a〜31n,
ネットワーク21を経由して中央処理装置1にイニシャ
ル動作異常を報告する。この動作はシステムに電源を投
入する毎に行われるが、この時点でシステムの動作続行
または停止の選択はユーザが選択できる。The operation of these circuits will be described below. When the power is turned on, the access control processors 32a to 32n execute the self-diagnosis program on the flash memories 36a to 36n in the RAM 3
5a to 35n, application processor 3
The self-diagnosis data is transmitted to 3a to 33n. The application processors 33a to 33n convert the self-diagnosis data into pulse set values and output the pulse control processors 34a to 34n.
4n, the pulse is set in the pulse setting registers 38a to 38n and the pulses are output when the pulse control processors 34a to 34n are activated. The output pulses are applied to the drive circuits 4a to 4n.
, And the initial operation of the stepping motors 5a to 5n is started. Stepping motors 5a-5
n, the pulse control processor 34
a to 34n report the end of the initial operation to the access control processors 32a to 32n. Upon receiving the initial operation end report, the access control processors 32a to 32n transmit operation confirmation data to the application processors 33a to 33n. Application processor 33a
33n convert the operation confirmation data into pulse set values, compare them with the contents of the status registers 37a to 37n inside the pulse control processors 34a to 34n, and transmit the results to the access control processors 32a to 32n. If the contents are different, the network communication processors 31a to 31n,
An initial operation error is reported to the central processing unit 1 via the network 21. This operation is performed every time the power is turned on to the system. At this point, the user can select to continue or stop the operation of the system.
【0010】次に、中央処理装置1が各々のパルスジェ
ネレータ3a〜3nに対し、動作パターンデータを送信
する。中央処理装置1はネットワーク21上のプロトコ
ルに変換した動作パターンデータを、ネットワーク通信
プロセッサ31a〜31nに送信する。ネットワーク通
信プロセッサ31a〜31nは受信した動作パターンデ
ータを変換し、アクセス制御プロセッサ32a〜32n
に送信する。アクセス制御プロセッサ32a〜32n
は、受信した動作パターンデータをフラッシュメモリ3
6a〜36nに格納した後、アプリケーションプロセッ
サ33a〜33nに送信する。アプリケーションプロセ
ッサ33a〜33nは動作パターンデータをパルス設定
値に変換し、パルス制御プロセッサ34a〜34n内部
のパルス設定レジスタ38a〜38nに設定する。設定
が終了したとき、設定終了報告をアクセス制御プロセッ
サ32a〜32nに行い、アクセス制御プロセッサ32
a〜32nはネットワーク通信プロセッサ31a〜31
n,ネットワーク21を経由して中央処理装置1に動作
パターンデータ受信終了報告を行う。以下同様にして、
パルスジェネレータ3a〜3nに対し、各々の動作パタ
ーンデータを設定する。一つのパルスジェネレータ3a
〜3nに対して複数の動作パターンがある場合には、一
つのパルスジェネレータ3a〜3nに対し複数回の動作
パターンデータ設定を行う。動作パターンデータ設定は
最初にシステムに電源を投入したときのみ行い、以降、
再度電源を投入した場合にはフラッシュメモリ36a〜
36nに格納した動作パターンデータが有効となる。Next, the central processing unit 1 transmits operation pattern data to each of the pulse generators 3a to 3n. The central processing unit 1 transmits the operation pattern data converted into the protocol on the network 21 to the network communication processors 31a to 31n. The network communication processors 31a to 31n convert the received operation pattern data and perform access control processors 32a to 32n.
Send to Access control processors 32a to 32n
Stores the received operation pattern data in the flash memory 3
After storing in 6a-36n, it transmits to application processor 33a-33n. The application processors 33a to 33n convert the operation pattern data into pulse setting values and set the pulse setting registers 38a to 38n inside the pulse control processors 34a to 34n. When the setting is completed, the setting completion report is sent to the access control processors 32a to 32n.
a to 32n are network communication processors 31a to 31
n, the operation pattern data reception completion report is sent to the central processing unit 1 via the network 21. Similarly,
Each operation pattern data is set for the pulse generators 3a to 3n. One pulse generator 3a
When there are a plurality of operation patterns for .about.3n, a plurality of operation pattern data settings are performed for one pulse generator 3a.about.3n. Set the operation pattern data only when the system is first turned on.
When the power is turned on again, the flash memory 36a
The operation pattern data stored in 36n becomes valid.
【0011】全てのパルスジェネレータ3a〜3nの動
作パターンデータ設定が終了したとき、中央処理装置1
はシステムの中で最初に動作すべきパルスジェネレータ
3aを起動する。アクセス制御プロセッサ32aはフラ
ッシュメモリ36a上の動作パターンデータをRAM35a上
に展開し、アプリケーションプロセッサ33aに動作パ
ターンデータを送信する。アプリケーションプロセッサ
33aは動作パターンデータをパルス設定値に変換し、
パルス制御プロセッサ34a内部のステータスレジスタ
37aを読み出し、ステッピングモータ5aのステータ
スを確認した後、パルス設定値をパルス設定レジスタ3
8aに設定する。アプリケーションプロセッサ33aが
パルス制御プロセッサ34aを起動し、パルスが出力さ
れる。出力パルスは駆動回路4aで電圧変換され、ステ
ッピングモータ5aの動作が開始される。ステッピング
モータ5aの動作に伴うセンサ情報等の位置情報は直接
パルスジェネレータ3aに入力され、パルスジェネレー
タ3aのIDと一緒に他のパルスジェネレータ3b〜3
nに送信する。動作終了時、パルス制御プロセッサ34
a〜34nはアクセス制御プロセッサ32a〜32nに
動作終了報告を行う。動作終了報告を受信したアクセス
制御プロセッサ32aはアプリケーションプロセッサ3
3aに動作確認データを送信する。アプリケーションプ
ロセッサ33aは動作確認データをパルス設定値に変換
し、パルス制御プロセッサ34a内部のステータスレジ
スタ37aの内容と比較し、結果をアクセス制御プロセ
ッサ32aに送信し、ネットワーク通信プロセッサ31
a,ネットワーク21を経由して中央処理装置1と他の
パルスジェネレータ3b〜3nに対し、パルスジェネレ
ータ3aのIDと併せて動作結果を送信する。ステッピ
ングモータ5aの動作に伴うセンサ情報等の位置情報や
動作結果情報により、次に動作すべきステッピングモー
タ5bのパルスジェネレータ3bが同様の手順で次々と
起動される。When the operation pattern data setting for all the pulse generators 3a to 3n is completed, the central processing unit 1
Starts the pulse generator 3a to be operated first in the system. The access control processor 32a expands the operation pattern data on the flash memory 36a on the RAM 35a and transmits the operation pattern data to the application processor 33a. The application processor 33a converts the operation pattern data into a pulse set value,
After reading the status register 37a inside the pulse control processor 34a and confirming the status of the stepping motor 5a, the pulse setting value is stored in the pulse setting register 3
8a. The application processor 33a activates the pulse control processor 34a, and a pulse is output. The output pulse is converted into a voltage by the drive circuit 4a, and the operation of the stepping motor 5a is started. Position information such as sensor information associated with the operation of the stepping motor 5a is directly input to the pulse generator 3a, and together with the ID of the pulse generator 3a, the other pulse generators 3b to 3b.
n. At the end of the operation, the pulse control processor 34
a to 34n report the operation end to the access control processors 32a to 32n. The access control processor 32a that has received the operation completion report is
The operation confirmation data is transmitted to 3a. The application processor 33a converts the operation check data into a pulse set value, compares it with the contents of the status register 37a inside the pulse control processor 34a, sends the result to the access control processor 32a, and
a, The operation result is transmitted to the central processing unit 1 and the other pulse generators 3b to 3n via the network 21 together with the ID of the pulse generator 3a. The pulse generator 3b of the stepping motor 5b to be operated next is started one after another by the same procedure based on position information such as sensor information and operation result information accompanying the operation of the stepping motor 5a.
【0012】システムの動作シーケンス中に異常が発生
した場合、異常を検知したパルスジェネレータ3aはネ
ットワーク22を通じ、中央処理装置1とパルスジェネ
レータ3b〜3nにIDと異常検知情報を送信し、障害
の発生程度に応じステッピングモータ5aをニュートラ
ル位置に戻し、中央処理装置1にIDと異常処理終了報
告を行う。異常検知情報に関連あるパルスジェネレータ
3b〜3nは、障害の発生程度に応じ、ステッピングモ
ータ5b〜5nをニュートラル位置に戻し、中央処理装
置1にIDと異常処理終了報告を行う。一連の動作のフ
ローチャートを図6,図7に示す。When an abnormality occurs during the operation sequence of the system, the pulse generator 3a that has detected the abnormality transmits an ID and abnormality detection information to the central processing unit 1 and the pulse generators 3b to 3n through the network 22 to generate a failure. The stepping motor 5a is returned to the neutral position according to the degree, and an ID and an abnormal processing end report are sent to the central processing unit 1. The pulse generators 3b to 3n related to the abnormality detection information return the stepping motors 5b to 5n to the neutral position according to the degree of occurrence of the failure, and report the ID and the abnormality processing end to the central processing unit 1. 6 and 7 show flowcharts of a series of operations.
【0013】以上の動作により、パルスジェネレータ3
a〜3n単位での独立した処理を可能とするだけでな
く、複数のパルスジェネレータ3a〜3n間で制御情報
を授受することで、ホストの介在なしに複数のパルスジ
ェネレータ3a〜3n間の連係動作を可能とした。ま
た、モータの緊急停止要求信号等に代表される緊急制御
信号を伝達するネットワーク22と、通常のモータ制御
に必要な制御信号を伝達するネットワーク21を分離す
ることにより、緊急制御信号の伝達が、他の通常のモー
タ制御に必要な制御信号の伝達により妨害される危険を
回避することでリアルタイム制御性を向上できる。With the above operation, the pulse generator 3
In addition to enabling independent processing in units of a to 3n, by transmitting and receiving control information among a plurality of pulse generators 3a to 3n, a coordinated operation between the plurality of pulse generators 3a to 3n can be performed without intervention of a host. Was made possible. Further, by separating the network 22 that transmits an emergency control signal represented by an emergency stop request signal of the motor and the network 21 that transmits a control signal necessary for normal motor control, the transmission of the emergency control signal becomes Real-time controllability can be improved by avoiding the danger of being disturbed by transmission of control signals required for other normal motor control.
【0014】図5はシステムの情報伝達手段を無線ある
いは赤外線通信とした例である。FIG. 5 shows an example in which the information transmission means of the system is wireless or infrared communication.
【0015】60a〜60nは無線インタフェース60
a〜60nであり、61a〜61nは無線インタフェー
ス61a〜61nである。この例ではネットワークの接
続ケーブルを省略でき、中央処理装置1とパルスジェネ
レータ3a〜3nを離して設置できるため、設置の自由
度が向上する。また、メンテナンス面,生産面でも効率
向上が期待できる。The wireless interfaces 60a to 60n
a to 60n, and 61a to 61n are wireless interfaces 61a to 61n. In this example, the connection cable for the network can be omitted, and the central processing unit 1 and the pulse generators 3a to 3n can be installed separately from each other, so that the degree of freedom in installation is improved. Also, efficiency can be expected to be improved in terms of maintenance and production.
【0016】[0016]
【発明の効果】本発明によれば複数のパルスジェネレー
タ間で制御情報を授受することで、ホストの介在なしに
ステッピングモータの連係動作が可能となり、ネットワ
ークを二重化することでリアルタイム制御性を向上し
た。また、中央処理装置とステッピングモータ間に物理
的な自由度が増すので装置のレイアウトの自由度が大き
くなり、それに伴い小形化,低コスト化と拡張性の向上
が図ることが可能である。本ネットワーク・インタフェ
ースを持った各種周辺機器を揃えることにより、システ
ムの拡張を図ることが容易となる。According to the present invention, by transmitting and receiving control information between a plurality of pulse generators, the linking operation of the stepping motor becomes possible without the intervention of the host, and real-time controllability is improved by duplicating the network. . Further, since the degree of physical freedom between the central processing unit and the stepping motor is increased, the degree of freedom in the layout of the apparatus is increased, so that downsizing, cost reduction, and expandability can be achieved. By preparing various peripheral devices having the network interface, it is easy to expand the system.
【図1】本発明におけるパルスジェネレータのブロック
図。FIG. 1 is a block diagram of a pulse generator according to the present invention.
【図2】従来方式におけるステッピングモータ制御シス
テムのブロック図。FIG. 2 is a block diagram of a conventional stepping motor control system.
【図3】従来方式におけるステッピングモータ制御シス
テムのブロック図。FIG. 3 is a block diagram of a conventional stepping motor control system.
【図4】本発明の一実施例のブロック図。FIG. 4 is a block diagram of one embodiment of the present invention.
【図5】本発明の第二実施例のブロック図。FIG. 5 is a block diagram of a second embodiment of the present invention.
【図6】本発明の一実施例の動作のフローチャート。FIG. 6 is a flowchart of the operation of one embodiment of the present invention.
【図7】本発明の第二実施例の動作のフローチャート。FIG. 7 is a flowchart of the operation of the second embodiment of the present invention.
1…中央処理装置、3a〜3n…パルスジェネレータ、
4a〜4n…駆動回路、5a〜5n…ステッピングモー
タ、21,22…ネットワーク、31a〜31n…ネット
ワーク通信プロセッサ、32a〜32n…アクセス制御
プロセッサ、33a〜33n…アプリケーションプロセ
ッサ、34a〜34n…パルス制御プロセッサ、35a
〜35n…RAM、36a〜36n…フラッシュメモ
リ、37a〜37n…ステータスレジスタ、38a〜38
n…パルス設定レジスタ。1 central processing unit, 3a to 3n pulse generator,
4a-4n drive circuit, 5a-5n stepper motor, 21,22 network, 31a-31n network communication processor, 32a-32n access control processor, 33a-33n application processor, 34a-34n pulse control processor , 35a
... 35n RAM, 36a-36n flash memory, 37a-37n status register, 38a-38
n: pulse setting register.
Claims (4)
プロセッサと、制御情報を送信または受信する機能を有
する通信プロセッサ,アプリケーションプログラムを実
行するアプリケーションプロセッサ,上記パルス制御プ
ロセッサと上記通信プロセッサおよび上記アプリケーシ
ョンプロセッサを統括するアクセス制御プロセッサを組
み込み、上記制御情報を伝達するネットワークに接続す
ることで上記各々のパルスジェネレータの制御を通信で
行い、上記パルスジェネレータ単位での独立した処理を
可能とし、上記複数のパルスジェネレータ間で上記制御
情報を授受することで、ホストの介在なしに上記複数の
パルスジェネレータ間の連係動作を可能としたことを特
徴とするパルスジェネレータ。A pulse generator includes a pulse control processor, a communication processor having a function of transmitting or receiving control information, an application processor executing an application program, the pulse control processor, the communication processor, and the application processor. Incorporating an integrated access control processor and connecting to a network for transmitting the control information to control each of the pulse generators by communication, enabling independent processing in units of the pulse generators, A pulse generator characterized in that the control information is exchanged between the plurality of pulse generators to enable a cooperative operation among the plurality of pulse generators without intervention of a host.
信号等に代表される緊急制御信号を伝達するネットワー
クと、通常のモータ制御に必要な制御信号を伝達するネ
ットワークを分離することにより、緊急制御信号の伝達
が、他の通常のモータ制御に必要な制御信号の伝達によ
り妨害される危険を回避したことでリアルタイム制御性
を向上したパルスジェネレータ。2. A system according to claim 1, wherein a network for transmitting an emergency control signal typified by an emergency stop request signal for the motor and a network for transmitting a control signal required for normal motor control are separated. A pulse generator that improves real-time controllability by avoiding the risk that the transmission of control signals is obstructed by the transmission of control signals required for other normal motor control.
レータの自己診断と、接続するモータ及びセンサを含め
た周辺回路の診断を行い、診断した結果を他の上記パル
スジェネレータあるいは中央処理装置に送信する機能を
持たせることにより故障箇所の特定と異常発生時の処理
を容易にしたことを特徴とするパルスジェネレータ。3. The pulse generator has a function of performing self-diagnosis of the pulse generator, diagnosing a peripheral circuit including a connected motor and a sensor, and transmitting a result of the diagnosis to another pulse generator or a central processing unit. A pulse generator characterized in that it makes it easy to identify a failure location and perform processing when an abnormality occurs.
タ内蔵の上記通信プロセッサ間を結ぶ上記ネットワーク
を無線通信または赤外線通信にすることにより、モータ
の設置箇所選定の最適化を実現し、上記パルスジェネレ
ータの個数変更に代表されるシステムの拡張性を向上さ
せたパルスジェネレータ。4. The method according to claim 1, wherein the network connecting the communication processors with the built-in pulse generator is connected by wireless communication or infrared communication, thereby optimizing the selection of a motor installation location. A pulse generator with improved expandability of the system represented by changing the number.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9342297A JPH10285997A (en) | 1997-04-11 | 1997-04-11 | Pulse generator |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9342297A JPH10285997A (en) | 1997-04-11 | 1997-04-11 | Pulse generator |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH10285997A true JPH10285997A (en) | 1998-10-23 |
Family
ID=14081874
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9342297A Pending JPH10285997A (en) | 1997-04-11 | 1997-04-11 | Pulse generator |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH10285997A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010515592A (en) * | 2007-01-15 | 2010-05-13 | 大連光洋科技工程有限公司 | Manual and push button manual pulse generator with built-in indicator lamp |
| CN111835246A (en) * | 2019-04-23 | 2020-10-27 | 湖北文理学院 | A short-distance wireless stepper motor driver module based on ZigBee technology |
-
1997
- 1997-04-11 JP JP9342297A patent/JPH10285997A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010515592A (en) * | 2007-01-15 | 2010-05-13 | 大連光洋科技工程有限公司 | Manual and push button manual pulse generator with built-in indicator lamp |
| CN111835246A (en) * | 2019-04-23 | 2020-10-27 | 湖北文理学院 | A short-distance wireless stepper motor driver module based on ZigBee technology |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4627055A (en) | Decentralized processing method and system | |
| GB2184874A (en) | Diagnostic system | |
| JPH07181842A (en) | Copying device management system | |
| JP2020078107A (en) | Motor controller | |
| JP2000049891A (en) | Programmable logic controller, communication condition setting method and communication condition setting device therefor | |
| JPH10285997A (en) | Pulse generator | |
| CN112740121A (en) | Control architecture for a vehicle | |
| JP2019192244A (en) | Safety switch | |
| JPH09274044A (en) | Distributed processing analyzer | |
| CN118377669A (en) | Method and system for testing production of CPU module of multi-core and multi-operating system | |
| JP2962387B2 (en) | Programmable controller and method for resetting specific other station in distributed control system using same, method for detecting cause of reset of other station, method for monitoring abnormal station, method for synchronously starting and method for synchronously stopping | |
| JPH09114507A (en) | Redundant device for programmable logic controller | |
| JPH10233792A (en) | Polling system/method | |
| JP3958836B2 (en) | Multiple engine start control method | |
| JP2001034544A (en) | Device and method for diagnosing common bus fault | |
| US20020144237A1 (en) | Method for controlling a program run of a central data processor | |
| JP2000347706A (en) | Plant control device | |
| JP2002064520A (en) | Elevator control transmission system | |
| JPH0662114A (en) | Interprocessor diagnostic processing method | |
| JP2000020414A (en) | Method and device for diagnosing fault of shared bus | |
| JPH09198334A (en) | Fault management method for data transmission system | |
| JPH10108278A (en) | Communication control system | |
| JP2522038B2 (en) | switch | |
| KR100454185B1 (en) | Card automatic recognition system and method for bus control system | |
| JPH07240770A (en) | Line switching control device |