JP2009153311A - Synchronous control system, controller, and synchronous control method - Google Patents
Synchronous control system, controller, and synchronous control method Download PDFInfo
- Publication number
- JP2009153311A JP2009153311A JP2007329739A JP2007329739A JP2009153311A JP 2009153311 A JP2009153311 A JP 2009153311A JP 2007329739 A JP2007329739 A JP 2007329739A JP 2007329739 A JP2007329739 A JP 2007329739A JP 2009153311 A JP2009153311 A JP 2009153311A
- Authority
- JP
- Japan
- Prior art keywords
- counter value
- counter
- master
- control device
- slave
- 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
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 136
- 238000000034 method Methods 0.000 title claims description 32
- 238000004891 communication Methods 0.000 claims description 54
- 230000005540 biological transmission Effects 0.000 claims description 6
- 230000008569 process Effects 0.000 description 21
- 238000006243 chemical reaction Methods 0.000 description 13
- 238000012545 processing Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 9
- 238000012937 correction Methods 0.000 description 7
- 230000007257 malfunction Effects 0.000 description 4
- 230000010355 oscillation Effects 0.000 description 4
- 238000005070 sampling Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000012806 monitoring device Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000009413 insulation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Images
Landscapes
- Control Of Multiple Motors (AREA)
Abstract
Description
本発明は、複数の制御装置が通信により接続されるシステムに関し、特に、複数の制御装置が互いに同期を維持した状態で動作する同期制御システム、制御装置及び同期制御方法に関する。 The present invention relates to a system in which a plurality of control devices are connected by communication, and more particularly, to a synchronization control system, a control device, and a synchronization control method that operate in a state where the plurality of control devices maintain synchronization with each other.
従来、複数の制御装置が通信により接続され、互いに同期を維持した状態で動作する同期制御システムとして、特許文献1に記載のものが知られている。この同期制御システムは、モータを速度制御する電力変換システムであり、2台のユニットA,Bが、互いに同期したPWMキャリア信号を生成し、そのPWMキャリア信号をそれぞれインバータへ供給してモータを同期駆動させるものである。
2. Description of the Related Art Conventionally, a synchronization control system described in
図8は、従来の同期制御システムの構成を示す図である。図8を参照して、この同期制御システムは、モータ(図示せず)へ駆動電流をそれぞれ供給するユニットA,Bを備え、これらは通信線1022により接続されている。 FIG. 8 is a diagram showing a configuration of a conventional synchronous control system. Referring to FIG. 8, this synchronous control system includes units A and B that respectively supply drive currents to a motor (not shown), which are connected by a communication line 1022.
ユニットAは、電流指令演算部1010及びシリアル送信回路1014を有する速度制御部1001と、ACR制御(電流制御)部1011、PWMキャリア発生回路1016、PWMパターン発生回路1017、デッドタイム回路1018、ゲート駆動回路1019、インバータ1013及び電流検出器1012を有する電力変換ユニット1002Aとを備えている。また、ユニットBは、シリアル受信回路1015、PLL発振回路1020、位相補正回路1021、PWMキャリア発生回路1016、ACR制御部1011、PWMパターン発生回路1017、デッドタイム回路1018、ゲート駆動回路1019、インバータ1013及び電流検出器1012を有する電力変換ユニット1002Bを備えている。
The unit A includes a
ユニットAの速度制御部1001において、電流指令演算部1010は、速度指令と、モータ(図示せず)の回転角を計測するエンコーダ(図示せず)からの速度検出との間の偏差を入力し、速度制御を行い、電流指令を生成する。この電流指令は、シリアル送信回路1014及び電力変換ユニット1002AのACR制御部1011に出力される。シリアル送信回路1014は、電流指令演算部1010から電流指令を入力し、その電流指令をシリアル通信用のデータに変換し、通信線を介してユニットBの電力変換ユニット1002Bにおけるシリアル受信回路1015へ送信する。
In the
ここで、ユニットAは、当該ユニットA及びユニットBを代表して速度制御を行うマスタユニットであり、ユニットBは、マスタユニットであるユニットAによる速度制御に従って動作するスレーブユニットである。 Here, the unit A is a master unit that performs speed control on behalf of the unit A and the unit B, and the unit B is a slave unit that operates according to speed control by the unit A that is a master unit.
ユニットAの電力変換ユニット1002Aにおいて、ACR制御部1011は、電流指令演算部1010から電流指令を入力し、電流検出器1012により検出した電流を入力し、電流制御を行い、電圧指令を生成する。ユニットBの電力変換ユニット1002Bにおいて、ACR制御部1011は、シリアル受信回路1015から電流指令を入力し、同様にして電圧指令を生成する。
In the
電力変換ユニット1002Aにおいて、PWMキャリア発生回路1016は、三角波発生機能によるキャリア信号と、そのカウントアップ/ダウンの状態を示す2値信号のPWMキャリア同期基準信号とを発生する。PWMパターン発生回路1017は、ACR制御部1011から電圧指令を入力し、PWMキャリア発生回路1016からキャリア信号及びPWMキャリア同期基準信号を入力し、電圧指令に応じたPWMパターンを発生する。デッドタイム回路1018は、PWMパターン発生回路1017により発生したPWMパターンに対しデッドタイム補正を行う。ゲート駆動回路1019は、デッドタイム回路1018からデッドタイム補正されたPWMパターンを入力し、ゲート信号を生成する。そして、インバータ1013は、ゲート駆動回路1019からゲート信号を入力し、モータ(図示せず)へ駆動電流を供給する。ユニットBの電力変換ユニット1002Bにおいても同様である。ここで、PWMキャリア発生回路1016は、発生したPWMキャリア同期基準信号を、通信線を介してユニットBの電力変換ユニット1002BにおけるPWMキャリア発生回路1016へ出力する。
In
ユニットBの電力変換ユニット1002Bにおいて、位相補正回路1021には、通信線等の遅れ時間や、信号絶縁用のフォトカプラ(図示せず)等の遅れ時間等により予め補正用の位相が設定されている。PLL発振回路1020及びPWMキャリア発生回路1016は、ユニットAの電力変換ユニット1002Aから通信線及びシリアル受信回路1015を介して送信されたPWMキャリア同期基準信号と、自らのPWMキャリア同期基準信号とを比較し、これらが同期するように、位相補正回路1021に設定された補正用の位相を用いてPLL制御を行い、キャリア信号の発振周波数を微調整する。
In the
これにより、ユニットA,Bは、同期したキャリア信号をそれぞれ用いてインバータ1013を動作させ、同期した駆動電流をモータへそれぞれ供給することができるので、ユニットA,Bによる同期制御を実現することができる。このような同期制御を実現する理由の一つは、安全性を確保することにあり、同期が維持されない場合にはモータが誤作動し、モータに接続されている負荷を破損させてしまう可能性があるからである。
Thereby, the units A and B can operate the
ところで、図8に示した同期制御システムにおいて、ユニットBが電流指令またはPWMキャリア同期基準信号をユニットAから正しく受信できない場合には、ユニットA,B間で同期ズレが発生し、前述した同期が維持されない場合の不具合が生じることになる。このような不具合を回避するためには、冗長化した同期制御システムを構築することが考えられる。具体的には、図8に示したユニットA,Bを2組用意し、さらに、運転状態を監視する監視装置を用意し、通常は第1のユニットA,Bにより運転を行う。そして、監視装置が第1のユニットA,Bの異常を検出すると、第1のユニットA,Bから第2のユニットA,Bに切り替え、第2のユニットA,Bによる運転を行う。 By the way, in the synchronization control system shown in FIG. 8, when the unit B cannot correctly receive the current command or the PWM carrier synchronization reference signal from the unit A, a synchronization shift occurs between the units A and B, and the above-described synchronization occurs. If it is not maintained, problems will occur. In order to avoid such a problem, it is conceivable to construct a redundant synchronous control system. Specifically, two sets of units A and B shown in FIG. 8 are prepared, and a monitoring device for monitoring the operation state is prepared. Usually, the operation is performed by the first units A and B. When the monitoring device detects an abnormality in the first units A and B, the first units A and B are switched to the second units A and B, and the operation by the second units A and B is performed.
しかしながら、前述した冗長化した同期制御システムでは、ユニットA,Bを2組用意する必要があることから、システム全体として煩雑になり、コストがかかるという問題があった。 However, in the above-described redundant synchronous control system, since it is necessary to prepare two units A and B, there is a problem that the entire system becomes complicated and expensive.
そこで、本発明の目的は、複数の制御装置により構成される同期制御システムにおいて、同期運転を実現する際に、安全性を確保すると共に、システム全体として煩雑さを解消し、コストを低減することが可能な同期制御システム、制御装置及び同期制御方法を提供することにある。 Therefore, an object of the present invention is to ensure safety and achieve cost reduction in the system as a whole while ensuring safety when a synchronous operation is realized in a synchronous control system including a plurality of control devices. A synchronization control system, a control device, and a synchronization control method are provided.
上記目的を達成するため、本発明の同期制御システムは、複数の制御装置により構成され、各制御装置が同期運転を行う同期制御システムにおいて、前記複数の制御装置のうちの1台をマスタの制御装置とし、他の1台をサブマスタとし、前記マスタ及びサブマスタ以外をスレーブの制御装置とし、前記マスタの制御装置が、自らが保持するマスタカウンタからカウンタ値を同期カウンタ値として読み出し、前記同期カウンタ値を他の制御装置へ送信する送信部を備え、前記サブマスタ及びスレーブの制御装置が、前記マスタの制御装置の送信部から同期カウンタ値を受信する受信部、及び、自らが保持するスレーブカウンタからカウンタ値を基準カウンタ値として読み出し、前記受信部により受信した同期カウンタ値と、前記読み出した基準カウンタ値とに基づいて、スレーブカウンタがマスタカウンタに同期するように、スレーブカウンタのカウンタ値を調整する制御部をそれぞれ備え、前記サブマスタの制御装置が、同期カウンタ値を所定時間内に受信しない場合に、前記マスタの制御装置として動作する、ことを特徴とする。 In order to achieve the above object, a synchronous control system of the present invention includes a plurality of control devices, and each control device performs synchronous operation, and one of the plurality of control devices is controlled by a master. And the other one is a sub-master, the master and other than the sub-master are slave control devices, and the master control device reads a counter value from a master counter held by itself as a synchronous counter value, and the synchronous counter value The sub-master and slave control devices receive a synchronization counter value from the master control device transmission unit, and a slave counter held by the sub-master and slave control devices. The value is read as a reference counter value, and the synchronization counter value received by the receiving unit and the read base A control unit that adjusts the counter value of the slave counter so that the slave counter is synchronized with the master counter based on the counter value, and the control device of the sub-master does not receive the synchronization counter value within a predetermined time Further, it operates as a control device for the master.
また、本発明の同期制御システムは、前記サブマスタ及びスレーブの制御装置に備えたスレーブ制御部が、前記受信した同期カウンタ値と、前記読み出した基準カウンタ値と、前記スレーブカウンタのカウント開始時点から基準カウンタ値を読み出した時点までの間の時間とに基づいて、前記マスタカウンタのカウンタ値とスレーブカウンタのカウンタ値との間のズレ時間を算出し、前記ズレ時間がゼロになるように、スレーブカウンタのカウンタ値を調整する、ことを特徴とする。 Further, in the synchronization control system of the present invention, the slave control unit provided in the control device of the sub-master and the slave has the reference from the received synchronization counter value, the read reference counter value, and the count start time of the slave counter. Based on the time until the counter value is read out, the deviation time between the counter value of the master counter and the counter value of the slave counter is calculated, and the slave counter is set so that the deviation time becomes zero. The counter value is adjusted.
また、本発明の制御装置は、複数の制御装置により構成され、各制御装置が同期運転を行う同期制御システムにおける前記制御装置において、マスタモード、サブマスタモード及びスレーブモードのうちのいずれかのモードに設定するモード設定部、所定の下限値及び上限値の間をカウントしてカウンタ値を生成するカウンタ、前記モード設定部によりマスタモードに設定されている場合、前記カウンタからカウンタ値を同期カウンタ値として読み出し、前記同期カウンタ値を他の制御装置へ送信し、前記モード設定部によりサブマスタモードまたはスレーブモードに設定されている場合、マスタモードに設定されている制御装置から同期カウンタ値を受信する通信部、及び、前記モード設定部によりサブマスタモードまたはスレーブモードに設定されている場合、前記カウンタからカウンタ値を基準カウンタ値として読み出し、前記通信部により受信した同期カウンタ値と、前記読み出した基準カウンタ値とに基づいて、前記カウンタがマスタモードに設定されている制御装置のカウンタに同期するように、前記カウンタのカウンタ値を調整する制御部を備え、前記モード設定部によりサブマスタモードに設定されている場合、前記通信部が、マスタモードに設定されている制御装置から同期カウンタ値を所定時間内に受信しないとき、前記モード設定部が、サブマスタモードからマスタモードの設定に切り替える、ことを特徴とする。 Further, the control device of the present invention includes a plurality of control devices, and in the control device in the synchronous control system in which each control device performs synchronous operation, any one mode of a master mode, a sub master mode, and a slave mode A mode setting unit for setting to, a counter for generating a counter value by counting between a predetermined lower limit value and an upper limit value, and when the mode setting unit is set to the master mode, the counter value from the counter is set as a synchronous counter value And the synchronization counter value is transmitted to another control device, and when the sub-master mode or slave mode is set by the mode setting unit, the synchronization counter value is received from the control device set to the master mode. Sub master mode or slave mode by communication unit and mode setting unit If set, the counter value is read from the counter as a reference counter value, and the counter is set to the master mode based on the synchronous counter value received by the communication unit and the read reference counter value A control unit that adjusts the counter value of the counter so as to synchronize with the counter of the control device, and when the sub-master mode is set by the mode setting unit, the communication unit is set to the master mode When the synchronous counter value is not received from the control device within a predetermined time, the mode setting unit switches from the sub master mode to the master mode setting.
また、本発明の制御装置は、前記モード設定部によりサブマスタモードまたはスレーブモードに設定されている場合、前記制御部が、前記受信した同期カウンタ値と、前記読み出した基準カウンタ値と、前記カウンタのカウント開始時点から基準カウンタ値を読み出した時点までの間の時間とに基づいて、マスタモードに設定されている制御装置のカウンタのカウンタ値と前記カウンタのカウンタ値との間のズレ時間を算出し、前記ズレ時間がゼロになるように、前記カウンタのカウンタ値を調整する、ことを特徴とする。 In the control device of the present invention, when the mode setting unit sets the sub master mode or the slave mode, the control unit receives the received synchronization counter value, the read reference counter value, and the counter Based on the time between the start of counting and the time from when the reference counter value is read, the time difference between the counter value of the control device set in the master mode and the counter value of the counter is calculated. The counter value of the counter is adjusted so that the deviation time becomes zero.
また、本発明の同期制御方法は、複数の制御装置により構成され、各制御装置が同期運転を行う同期制御システムにおける同期制御方法において、前記複数の制御装置のうちの1台をマスタの制御装置とし、他の1台をサブマスタとし、前記マスタ及びサブマスタ以外をスレーブの制御装置とし、前記マスタの制御装置が、自らが保持するマスタカウンタからカウンタ値を同期カウンタ値として読み出し、前記同期カウンタ値を他の制御装置へ送信する第1のステップと、前記サブマスタ及びスレーブの制御装置が、マスタの制御装置から同期カウンタ値を受信する第2のステップと、前記サブマスタ及びスレーブの制御装置が、自らが保持するスレーブカウンタからカウンタ値を基準カウンタ値として読み出し、前記受信した同期カウンタ値と、前記読み出した基準カウンタ値とに基づいて、前記スレーブカウンタがマスタカウンタに同期するように、前記スレーブカウンタのカウンタ値を調整する第3のステップと、前記サブマスタの制御装置が、同期カウンタ値を所定時間内に受信しない場合に、自らが保持するスレーブカウンタをマスタカウンタとして、当該マスタカウンタからカウンタ値を同期カウンタ値として読み出し、前記同期カウンタ値を他の制御装置へ送信する第4のステップと、を有することを特徴とする。 The synchronous control method of the present invention is a synchronous control method in a synchronous control system that includes a plurality of control devices, and each control device performs a synchronous operation, and one of the plurality of control devices is a master control device. The other one is a sub-master, the other than the master and the sub-master is a slave control device, and the master control device reads the counter value from the master counter held by itself as a synchronous counter value, and the synchronous counter value is A first step of transmitting to another control device; a second step in which the sub-master and slave control devices receive synchronization counter values from the master control device; and the sub-master and slave control devices by themselves Read the counter value as a reference counter value from the slave counter to hold, the received synchronous counter And a third step of adjusting the counter value of the slave counter so that the slave counter is synchronized with the master counter based on the read reference counter value, and the sub-master control device Is received within a predetermined time, the slave counter held by itself is used as a master counter, the counter value is read from the master counter as a synchronous counter value, and the synchronous counter value is transmitted to another control device. It is characterized by having.
また、本発明の同期制御方法は、前記第3のステップが、前記受信した同期カウンタ値と、前記読み出した基準カウンタ値と、前記スレーブカウンタのカウント開始時点から基準カウンタ値を読み出した時点までの間の時間とに基づいて、前記マスタカウンタのカウンタ値とスレーブカウンタのカウンタ値との間のズレ時間を算出し、前記ズレ時間がゼロになるように、スレーブカウンタのカウンタ値を調整する、ことを特徴とする。 Further, in the synchronization control method of the present invention, the third step includes the received synchronization counter value, the read reference counter value, and the slave counter from the count start time to the time when the reference counter value is read. Calculating a deviation time between the counter value of the master counter and the counter value of the slave counter based on the time between them, and adjusting the counter value of the slave counter so that the deviation time becomes zero. It is characterized by.
以上説明したように、本発明によれば、冗長化システム等の煩雑なシステムを構築することなく、マスタの制御装置の故障等が発生したときに、マスタ以外の制御装置において、同期を維持することができる。そして、速やかに同期制御システムを停止することにより、誤動作等による不具合の発生を回避することができる。したがって、安全性を確保すると共に、システム全体として煩雑さを解消し、コストを低減することが可能な同期制御システム、制御装置及び同期制御方法を実現することが可能となる。 As described above, according to the present invention, synchronization is maintained in control devices other than the master when a failure of the master control device occurs without constructing a complicated system such as a redundant system. be able to. Then, by promptly stopping the synchronous control system, it is possible to avoid the occurrence of a malfunction due to a malfunction or the like. Therefore, it is possible to realize a synchronous control system, a control device, and a synchronous control method that can ensure safety, eliminate complexity of the entire system, and reduce costs.
以下、本発明を実施するための最良の形態について、図面を参照して詳細に説明する。
本発明の実施形態による同期制御システムは、マスタモードで動作する1台の制御装置(以下、「マスタの制御装置」という。)と、サブマスタモードで動作する1台の制御装置(以下、「サブマスタの制御装置」という。)と、スレーブモードで動作する1台以上の制御装置(以下、「スレーブの制御装置」という。)とにより構成される。各制御装置は同期運転を行うための信号を有している。マスタの制御装置は、同期運転のための同期信号を有しており、定期的にその同期信号をサブマスタ及びスレーブの制御装置へ送信する。サブマスタ及びスレーブの制御装置は、同期運転のための基準信号を有しており、マスタの制御装置から送信された同期信号に基づいて、同期信号と基準信号との位相及び周波数が一致するように、基準信号を調整する。
Hereinafter, the best mode for carrying out the present invention will be described in detail with reference to the drawings.
The synchronous control system according to the embodiment of the present invention includes one control device (hereinafter referred to as “master control device”) operating in the master mode and one control device (hereinafter referred to as “master control device”) operating in the sub-master mode. Sub-master control device ") and one or more control devices (hereinafter referred to as" slave control devices ") operating in the slave mode. Each control device has a signal for performing synchronous operation. The master control device has a synchronization signal for synchronous operation, and periodically transmits the synchronization signal to the sub-master and slave control devices. The sub-master and slave control devices have a reference signal for synchronous operation, and based on the synchronization signal transmitted from the master control device, the phase and frequency of the synchronization signal and the reference signal match. , Adjust the reference signal.
そして、サブマスタの制御装置は、マスタの制御装置が故障する等して、マスタの制御装置からの同期信号を受信できない場合に、モードをサブマスタからマスタに切り替え、その後、同期運転のための基準信号を同期信号として、スレーブの制御装置へ送信する。スレーブの制御装置は、新たなマスタの制御装置から送信された同期信号に基づいて、基準信号を調整する。このように、サブマスタの制御装置は、マスタの制御装置から同期信号を受信できなかった場合に、新たなマスタの制御装置として動作することにより、サブマスタ(新たなマスタ)の制御装置及びスレーブの制御装置において、同期運転を維持することができる。そして、全体の同期制御システムを停止させる。以下、本発明の実施形態による同期制御システム及び制御装置の構成、並びにそれらの動作について詳細に説明する。 Then, the sub-master control device switches the mode from the sub-master to the master when the master control device fails to receive the synchronization signal from the master control device, and then the reference signal for synchronous operation. As a synchronization signal to the slave control device. The slave control device adjusts the reference signal based on the synchronization signal transmitted from the new master control device. In this way, the sub-master control device operates as a new master control device when the synchronization signal cannot be received from the master control device, thereby controlling the sub-master (new master) control device and the slave. Synchronous operation can be maintained in the apparatus. Then, the entire synchronous control system is stopped. Hereinafter, the configuration of the synchronous control system and the control device according to the embodiment of the present invention and the operation thereof will be described in detail.
〔1.同期制御システムの構成及び動作〕
まず、本発明の実施形態による同期制御システムの構成について説明する。図1は、本発明の実施形態による同期制御システムの構成を示す図である。この同期制御システム1は、個々のモータにより多軸を同期させる必要のあるシステムであり、マスタの制御装置10−1と、サブマスタの制御装置10−2と、スレーブの制御装置10−3〜10−n等とにより構成される。例えば、トランスファーマシンの同期制御のために用いられる。制御装置10−1〜10−n間は、通信線2により接続される。尚、同期制御システム1を構成する複数の制御装置10−1〜10−nのうち、マスタの制御装置10−1は1台、サブマスタの制御装置10−2も1台、スレーブの制御装置10−3〜10−nは1台以上とする。以下、個々の制御装置10−1〜10−nを指す場合、または、制御装置10−1〜10−nを総称する場合は、単に制御装置10という。ここで、制御装置10には、マスタ、スレーブ及びサブマスタのうちのいずれかのモードが予め設定される。
[1. Configuration and operation of synchronous control system]
First, the configuration of the synchronous control system according to the embodiment of the present invention will be described. FIG. 1 is a diagram showing a configuration of a synchronous control system according to an embodiment of the present invention. The
マスタに設定された制御装置10−1は、自らが保持している同期運転用カウンタのカウンタ値(同期カウンタ値V)を、通信線2を介して他の制御装置10−2〜10−nへ送信する。サブマスタに設定された制御装置10−2及びスレーブに設定された制御装置10−3〜10−nは、制御装置10−1からの同期カウンタ値Vを受信し、自らが保持している同期運転用カウンタのカウンタ値(基準カウンタ値U)の位相及び周波数を、受信した同期カウンタ値Vの位相及び周波数に一致させる。このようにして、制御装置10−1は、同期カウンタ値Vに基づいて運転を行い、制御装置10−2〜10−nは、基準カウンタ値Uに基づいて運転を行う。同期カウンタ値V及び基準カウンタ値Uは、同じ位相及び周波数になっているから、同期制御システム1全体として、同期運転を実現することができる。
The control device 10-1 set as the master transmits the counter value (synchronous counter value V) of the counter for synchronous operation held by itself to the other control devices 10-2 to 10-n via the
サブマスタの制御装置10−2は、マスタの制御装置10−1が故障等して、マスタの制御装置10−1からの同期カウンタ値Vを受信できなかった場合、サブマスタモードからマスタモードに切り替え、自らが保持している同期運転用カウンタのカウンタ値を同期カウンタ値Vとして、スレーブの制御装置10−3〜10−nへ送信する。制御装置10−3〜10−nは、新たなマスタの制御装置10−2からの同期カウンタ値Vを受信し、自らが保持している同期運転用カウンタの基準カウンタ値Uの位相及び周波数を、受信した同期カウンタ値Vの位相及び周波数に一致させる。このようにして、サブマスタの制御装置10−2は、マスタモードに切り替わった後、自らが保持しているカウンタの同期カウンタ値Vに基づいて運転を行い、スレーブの制御装置10−3〜10−nも、自らが保持しているカウンタの基準カウンタ値Uに基づいて運転を行う。したがって、マスタの制御装置10−1が故障等した場合であっても、サブマスタがマスタとして動作するようにしたから、引き続き、新たなマスタの制御装置10−2及びスレーブの制御装置10−3〜10−nは同期運転を維持することができる。そして、オペレータによる手動により、または自動的に同期制御システム1を停止させる。
The sub-master control device 10-2 switches from the sub-master mode to the master mode when the master control device 10-1 fails to receive the synchronization counter value V from the master control device 10-1. The counter value of the counter for synchronous operation held by itself is transmitted as a synchronous counter value V to the slave control devices 10-3 to 10-n. The control devices 10-3 to 10-n receive the synchronous counter value V from the new master control device 10-2, and determine the phase and frequency of the reference counter value U of the counter for synchronous operation held by itself. The phase and frequency of the received synchronization counter value V are matched. In this way, after switching to the master mode, the sub-master control device 10-2 operates based on the synchronous counter value V of the counter held by itself, and the slave control devices 10-3 to 10- n also operates based on the reference counter value U of the counter held by itself. Therefore, even if the master control device 10-1 is out of order, the sub-master operates as the master, so that the new master control device 10-2 and slave control devices 10-3 to 10-3 continue. 10-n can maintain synchronous operation. Then, the
〔2.制御装置の構成〕
次に、図1に示した同期制御システム1における制御装置10の構成について説明する。図2は、制御装置10の構成を示す図である。この制御装置10は、通信部11、同期制御部12、速度指令設定部13、速度制御部14、電流制御部15、PWM回路16、インバータ17及び電流検出器18を備えている。
[2. Configuration of control device]
Next, the configuration of the
通信部11は、他の制御装置10との間で通信を行う。具体的には、マスタモードに設定されている場合は、同期制御部12の後述するカウンタ122からカウンタ値を読み出し、同期カウンタ値Vとして送信する。また、スレーブモードに設定されている場合は、マスタの制御装置10から同期カウンタ値Vを受信し、同期制御部12の後述する制御部123に出力する。また、サブマスタに設定されている場合は、スレーブと同様の処理を行うことに加え、さらに、マスタの制御装置10から同期カウンタ値Vを正しく受信できたか否かを判断する。すなわち、同期カウンタ値Vを受信してから次に同期カウンタ値Vを受信するまでの時間をカウントし、その時間が予め設定されたタイムアウト時間を越えるか否かを判断する。タイムアウトを判断した場合、自らの制御装置10をサブマスタからマスタに切り替えるために、通信NGの信号を、同期制御部12の後述するモード設定部121に出力する。
The
同期制御部12は、同期制御システム1を同期運転させるために機能し、後述するカウンタ値に基づいて、自らの制御装置10の速度指令設定部13及びPWM回路16で用いる同期信号をそれぞれ生成し、速度指令設定部13及びPWM回路16にそれぞれ出力する。
The
速度指令設定部13は、モータ19を所定の速度で運転させるための速度指令が予め設定されており、同期制御部12から同期信号を入力し、この同期信号に基づいて速度指令を出力するタイミングを調整する。ここで、入力する同期信号は、各制御装置10間で同期しているから、出力する速度指令も各制御装置10間で同期することになる。
The speed
速度制御部14は、図8に示した電流指令演算部1010に相当し、速度指令設定部13から入力する速度指令と、モータ19の回転角を計測するエンコーダ20から入力する速度検出との間の偏差を算出し、速度制御を行い、電流指令を生成する。電流制御部15は、図8に示したACR制御部1011に相当し、速度制御部14から電流指令を入力し、電流検出器18により検出した電流を入力し、電流制御を行い、電圧指令を生成する。
The
PWM回路16は、図8に示したPWMキャリア発生回路1016、PWMパターン発生回路1017、デッドタイム回路1018及びゲート駆動回路1019に相当し、電流制御部15から電圧指令を入力し、同期制御部12から同期信号を入力し、同期信号を用いて三角波発生機能によるキャリア信号の位相及び周波数を調整し、ゲート信号を生成する。ここで、入力する同期信号は、各制御装置10間で同期しているから、出力するゲート信号も各制御装置10間で同期することになる。
The
インバータ17は、PWM回路16からゲート信号を入力し、モータ19へ駆動電流を供給する。ここで、入力するゲート信号は、制御装置10間で同期しているから、供給する駆動電流も各制御装置10間で同期することになる。
The
このような同期制御システム1では、各制御装置10からモータ19へ供給する駆動電流が同期しているから、例えばトランスファーマシンの多軸を同期運転させることができる。
In such a
〔3.同期制御部〕
次に、図2に示した制御装置10の同期制御部12の構成について説明する。図3は、マスタの制御装置10−1における同期制御部12の構成を示す図であり、図4は、スレーブの制御装置10−3等における同期制御部12の構成を示す図であり、図5は、サブマスタの制御装置10−2における同期制御部12の構成を示す図である。図3、図4及び図5を参照して、この同期制御部12は、モード設定部121、カウンタ122、制御部123及び同期信号生成部124を備えている。
[3. (Synchronous control unit)
Next, the configuration of the
同期制御部12のモード設定部121は、自らの制御装置10のモードを、図示しない入力部を介してオペレータの入力により予め設定し、そのモード情報を通信部11及び制御部123に出力する。前述したように、モードにはマスタ、スレーブ及びサブマスタの3つがある。また、モード設定部121は、サブマスタモードに設定している場合、後述する所定の条件を満たす場合、モードを切り替えてマスタモードに設定し、そのモード情報を通信部11及び制御部123に新たに出力する。
The
カウンタ122は、予め設定された時間で、0から予め設定された上限値まで徐々に増加し、上限値に達すると0にリセットするカウンタ値を生成する。すなわち、カウンタ122は、右肩上がりの、のこぎり波のカウンタ値を生成する。尚、各制御装置10における同期制御部12のカウンタ122には、同じ上限値が予め設定されているものとする。
The
制御部123は、モード設定部121からモード情報を入力し、そのモードに従った処理を行う。詳細については後述する。同期信号生成部124は、カウンタ122からカウンタ値(マスタの場合は同期カウンタ値V、スレーブ及びサブマスタの場合は基準カウンタ値U)を入力し、PWM回路16にて用いる同期信号及び速度指令設定部13にて用いる同期信号を生成し、生成した同期信号をPWM回路16及び速度指令設定部13にそれぞれ出力する。
The
(3.1 マスタの制御装置)
まず、図3を参照して、マスタの制御装置10−1における同期制御部12について説明する。モード設定部121は、オペレータの入力により予め設定されたマスタモードの情報を通信部11及び制御部123に出力する。これにより、通信部11は、カウンタ122から定期的にカウンタ値を読み出し、同期カウンタ値Vとして送信する。また、制御部123は、マスタモードとしての処理を行う。尚、本発明の実施形態において説明する範囲内では、制御部123は、特に処理は行わない。
(3.1 Master control device)
First, the
カウンタ122は、前述したように、0から予め設定された上限値までの、のこぎり波のカウンタ値を生成し、このカウンタ値は、通信部11及び同期信号生成部124により読み出される。制御部123及び同期信号生成部124については前述したので説明を省略する。
As described above, the
(3.2 スレーブの制御装置)
次に、図4を参照して、スレーブの制御装置10−3〜10−nにおける同期制御部12について説明する。モード設定部121は、オペレータの入力により予め設定されたスレーブモードの情報を通信部11及び制御部123に出力する。これにより、通信部11は、マスタの制御装置10−1から同期カウンタ値Vを受信し、受信した同期カウンタ値Vを制御部123へ出力する。また、制御部123は、スレーブモードとしての処理を行う。詳細については後述する。
(3.2 Slave control device)
Next, the
カウンタ122は、前述したように、0から予め設定された上限値までの、のこぎり波のカウンタ値を生成し、このカウンタ値は、制御部123及び同期信号生成部124により読み出される。制御部123は、通信部11から同期カウンタ値Vを入力し、カウンタ122からカウンタ値(基準カウンタ値U)を読み出し、これらのカウンタ値V,Uに基づいて、同期ズレに相当する位相及び周波数を算出し、同期ズレをゼロにしたカウンタ設定値Vsetをカウンタ122に設定する。詳細については後述する。同期信号生成部124については前述したので説明を省略する。
As described above, the
(3.3 サブマスタの制御装置)
次に、サブマスタの制御装置10−2における同期制御部12について説明する。モード設定部121は、オペレータの入力により予め設定されたサブマスタモードの情報を通信部11及び制御部123に出力する。これにより、通信部11は、マスタの制御装置10−1から同期カウンタ値Vを受信し、受信した同期カウンタ値Vを制御部123へ出力する。また、通信部11は、前述したように、マスタの制御装置10から同期カウンタ値Vを定期的に受信できたか否かを判断し、予め設定されたタイムアウト時間を越えた場合に、通信NGの信号をモード設定部121に出力する。モード設定部121は、通信部11から通信NGを入力すると、設定しているモードをサブマスタからマスタに変更し、マスタの情報を通信部11及び制御部123に出力する。これにより、通信部11及び制御部123は、前述したようなマスタモードとしての処理を行う。一方、モード設定部121からサブマスタモードの情報を入力した制御部123は、サブマスタモードとしての処理を行う。このサブマスタモードとしての処理はスレーブとしての処理と同様である。詳細については後述する。
(3.3 Sub-master control device)
Next, the
カウンタ122は、前述したように、0から予め設定された上限値までの、のこぎり波のカウンタ値を生成し、このカウンタ値は、制御部123及び同期信号生成部124により読み出される。制御部123は、通信部11から同期カウンタ値Vを入力し、カウンタ122からカウンタ値(基準カウンタ値U)を読み出し、これらのカウンタ値V,Uに基づいて、同期ズレに相当する位相及び周波数を算出し、同期ズレをゼロにしたカウンタ設定値Vsetをカウンタ122に設定する。詳細については後述する。同期信号生成部124については前述したので説明を省略する。
As described above, the
〔4.同期制御処理〕
次に、同期制御処理について説明する。図6は、同期制御メイン処理を示すフロー図である。この処理は、図2に示した通信部11及び同期制御部12により行われる。図6を参照して、通信部11及び同期制御部12の制御部123は、モード設定部121から入力した情報に基づいてモードを判断し(ステップS601)、マスタモードの場合はステップS602へ処理を移行し、スレーブモードの場合はステップS605へ処理を移行し、サブマスタモードの場合はステップS607へ処理を移行する。各制御装置10は、モードが予め設定されているから、ステップS602、ステップS605及びステップS607のいずれかの処理へ移行する。
[4. (Synchronous control processing)
Next, the synchronization control process will be described. FIG. 6 is a flowchart showing the synchronization control main process. This process is performed by the
ステップS601によりマスタモードに設定されていると判断した場合、通信部11は、カウンタ122からカウンタ値を読み出し(ステップS602)、そのカウンタ値を同期カウンタ値Vとしてサブマスタ及びスレーブの制御装置10へ送信する(ステップS603)。そして、オペレータによる操作入力や制御装置10の電源がOFFする等により、マスタモードとして機能しなくなるまで、ステップS602及びステップS603を定期的に繰り返す(ステップS604)。
If it is determined in step S601 that the master mode is set, the
一方、ステップS601によりスレーブモードに設定されていると判断した場合、制御部123は、同期処理を行い(ステップS605)、オペレータによる操作入力や制御装置10の電源がOFFする等により、スレーブモードとして機能しなくなるまで、ステップS605を繰り返す(ステップS606)。ステップS605の同期処理については後述する。
On the other hand, if it is determined in step S601 that the slave mode is set, the
さらに、ステップS601によりサブマスタモードに設定されていると判断した場合、通信部11は、前述したように、マスタの制御装置10から同期カウンタ値Vを定期的に受信できたか否かを判断する(ステップS607)。そして、通信部11は、予め設定されたタイムアウト時間を越えたと判断し、受信がOKでない場合(ステップS608:N)、通信NGの信号をモード設定部121に出力する。モード設定部121は、通信部11から通信NGを入力すると、サブマスタからマスタにモードを変更し、マスタの情報を通信部11及び制御部123に出力する(ステップS610)。これにより、通信部11は、前述したようなマスタモードとしてステップS602及びステップS603の処理を行う。これに対し、通信部11が、予め設定されたタイムアウト時間を越えていないと判断し、受信がOKである場合(ステップS608:Y)、制御部123は、同期処理を行い(ステップS609)、オペレータによる操作入力や制御装置10の電源がOFFする等により、スレーブモードとして機能しなくなるまで、ステップS607、ステップS608及びステップS609を繰り返す(ステップS606)。ステップS609の同期処理については後述する。
Further, when it is determined in step S601 that the sub master mode is set, the
次に、図6のステップS605及びステップS609に示した同期処理について説明する。図7(1)は同期処理を示すフロー図であり、図7(2)は同期処理のタイムチャート図である。この処理は、図2に示した同期制御部12の制御部123により行われる。図7(1)及び図7(2)を参照して、同期制御部12の制御部123は、カウンタ122からカウンタ値(基準カウンタ値U)を読み出し(ステップS701)、通信部11から受信した同期カウンタ値Vを入力し(ステップS702)、時刻T1における基準カウンタ値U1及び同期カウンタ値V1をそれぞれ特定する。
Next, the synchronization process shown in steps S605 and S609 in FIG. 6 will be described. FIG. 7A is a flowchart showing the synchronization process, and FIG. 7B is a time chart of the synchronization process. This process is performed by the
ここで、図7(2)において、S1は、同期カウンタ値Vの波形であるのこぎり波のスタート時点、S2は、基準カウンタ値Uの波形であるのこぎり波のスタート時点、t0は、同期カウンタ値Vのスタート時点S1から基準カウンタ値Uのスタート時点S2までの間の時間、すなわち同期ズレの位相である。また、t1は、基準カウンタ値Uのスタート時点S2から時刻T1までの時間(サンプリング時間)、V1は、時刻T1における同期カウンタ値、U1は、時刻T1における基準カウンタ値、すなわち、サンプリング時間t0における基準カウンタ値である。また、同期カウンタ値V及び基準カウンタ値Uの下限値(最小カウンタ値:本例の場合は0)及び上限値(最大カウンタ値)は同じ値であり、単位時間あたりのカウンタ値の変化量(傾き)も同じであるとする。つまり、周波数は同じであるとする。図7(2)から、基準カウンタ値Uの位相を時間t1だけ左へずらすことにより、基準カウンタ値Uの位相及び周波数が同期カウンタ値Vの位相及び周波数に一致することがわかる。 Here, in FIG. 7B, S1 is the start time of the sawtooth wave that is the waveform of the synchronous counter value V, S2 is the start time of the sawtooth wave that is the waveform of the reference counter value U, and t0 is the sync counter value. This is the time between the start time S1 of V and the start time S2 of the reference counter value U, that is, the phase of the synchronization shift. Also, t1 is the time (sampling time) from the start time S2 of the reference counter value U to time T1, V1 is the synchronous counter value at time T1, and U1 is the reference counter value at time T1, that is, at the sampling time t0. Reference counter value. Further, the lower limit value (minimum counter value: 0 in this example) and the upper limit value (maximum counter value) of the synchronous counter value V and the reference counter value U are the same value, and the amount of change in the counter value per unit time ( It is assumed that the inclination is the same. That is, the frequency is the same. From FIG. 7B, it can be seen that the phase and frequency of the reference counter value U match the phase and frequency of the synchronous counter value V by shifting the phase of the reference counter value U to the left by the time t1.
図7(1)を参照して、制御部123は、時刻T1における基準カウンタ値U1と同期カウンタ値V1とを比較し、同じ値の場合(ステップS703:Y)、同期が完了したものとして(ステップS704)処理を終了する。一方、同じ値でない場合(ステップS703:N)、時間t0を算出する。具体的には、制御部123は、基準カウンタ値U=0のスタート時点S2を開始時刻として時刻T1までの間の時間t1を算出し、このサンプリング時間t1、基準カウンタ値U1及び同期カウンタ値V1に基づいて、時間t0を以下のように算出する。
t0={(V1−U1)/U1}×t1
Referring to FIG. 7 (1), the
t0 = {(V1-U1) / U1} * t1
そして、制御部123は、基準カウンタ値Uの位相が時間t0だけずれるように(時間軸のマイナス方向にシフトするように)、カウンタ122にカウンタ設定値Vsetを設定し、処理をステップS701に移行する。これにより、制御部123は、基準カウンタ値Uの位相及び周波数を同期カウンタVの位相及び周波数に一致させることができるから、同期制御システム1全体として、同期運転を実現することができる。
Then, the
以上のように、本発明の実施形態によれば、マスタの制御装置10−1、サブマスタの制御装置10−2、及びスレーブの制御装置10−3〜10−nにより構成され、マスタの制御装置10−1が、同期カウンタ値Vをサブマスタ及びスレーブの制御装置10−2〜10−nへ送信し、サブマスタ及びスレーブの制御装置10−2〜10−nが、受信した同期カウンタ値Vに基づいて自らの基準カウンタ値Uを調整することにより、同期制御システム1全体として同期運転を行う。そして、サブマスタの制御装置10−2は、マスタの制御装置10−1が故障する等して同期カウンタ値Vを受信することができない場合、サブマスタからマスタにモードを切り替え、カウンタ122からカウンタ値を読み出し、同期カウンタ値Vとしてスレーブの制御装置10−3〜10−nへ送信する。スレーブの制御装置10−3〜10−nは、新たなマスタの制御装置10−2から受信した同期カウンタ値Vに基づいて自らのカウンタ値Uを調整することにより、制御装置10−2〜10−nの同期運転を行う。これにより、マスタの制御装置10−1が故障する等した場合であっても、制御装置10−2〜10−nの同期運転を維持することができる。そして、同期制御システム1を速やかに停止させることにより、モータの誤作動を最小限に抑えることができ、モータに接続されている負荷の破損を最小限に抑えることができる。また、マスタの制御装置10−1の故障等に対応するために冗長化の同期制御システム1を構成する必要がないから、システム全体として簡易な構成で安全性を確保することができると共に、煩雑さを解消し、コストを低減することが可能となる。
As described above, according to the embodiment of the present invention, the master control device 10-1, the sub-master control device 10-2, and the slave control devices 10-3 to 10-n are configured as the master control device. 10-1 transmits the synchronization counter value V to the sub-master and slave control devices 10-2 to 10-n, and the sub-master and slave control devices 10-2 to 10-n based on the received synchronization counter value V. By adjusting its own reference counter value U, the
また、本発明の実施形態によれば、同期制御システム1を構成する複数の制御装置10のうちの1台をサブマスタモードに設定し、そのサブマスタの制御装置10−2における通信部11が、マスタの制御装置10−1が故障する等して同期カウンタ値Vを受信することができない場合、通信NGをモード設定部121に出力し、モード設定部121が、通信NGを受信することにより、制御装置10−2のモードをサブマスタからマスタに切り替えるようにした。これにより、制御装置10−2はマスタとして動作するから、制御装置10−2〜10−nの同期運転を維持させることができる。したがって、簡単な構成により、マスタの制御装置10−1の故障等に対応することができる。
In addition, according to the embodiment of the present invention, one of the plurality of
以上、実施形態を挙げて本発明を説明したが、本発明は前記実施形態に限定されるものではなく、その技術思想を逸脱しない範囲で種々変形可能である。前記実施形態の同期制御システム1は、個々のモータにより多軸を同期させる必要のあるシステムを例にして説明したが、その他のシステムにも適用がある。要するに、複数の制御装置10が同期運転を行う必要のある同期制御システム1であれば、本発明を適用することができる。
The present invention has been described with reference to the embodiment. However, the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the technical idea thereof. The
また、前記実施形態の同期制御システム1では、図7に示したように、サブマスタ及びスレーブの制御装置10−2〜10−nの同期制御部12における制御部123が、基準カウンタ値Uの位相を同期カウンタVの位相に合わせることにより、同期ズレをなくすようにしたが、周波数が一致していない場合には、基準カウンタ値Uの基点(最小のカウンタ値となる時点)及び同期カウンタ値Vの基点をそれぞれ検出し、基準カウンタ値Uの基点間の時間から周波数を算出し、同様に、同期カウンタ値Vの基点間の時間から周波数を算出する。そして、周波数が異なる場合は、基準カウンタ値Uの周波数を同期カウンタ値Vの周波数に合わせることにより、同期ズレをなくすようにしてもよい。例えば、サブマスタ及びスレーブの制御装置10−2〜10−nの同期制御部12における制御部123は、カウンタ122に対し、基準カウンタ値Uを生成するためのクロックの周期を変更する等して、基準カウンタ値Uの周波数を同期カウンタ値Vの周波数に合わせることにより、同期ズレをなくす。
Further, in the
また、サブマスタ及びスレーブの制御装置10−2〜10−nの同期制御部12における制御部123は、前述した計算により、基準カウンタ値Uの位相がずれている時間t0を複数回求めて平均値を算出し、その平均値の時間がゼロになるように、カウンタ122を設定するようにしてもよい。同様に、周波数が一致しない場合には、基準カウンタ値Uの周波数及び同期カウンタ値Vの周波数を複数回求めてそれぞれ平均値を算出し、その平均値の周波数の差がゼロになるように、カウンタ122を設定するようにしてもよい。
Further, the
1 同期制御システム
2 通信線
10 制御装置
11 通信部
12 同期制御部
13 速度指令設定部
14 速度制御部
15 電流制御部
16 PWM回路
17 インバータ
18 電流検出器
19 モータ
20 エンコーダ
121 モード設定部
122 カウンタ
123 制御部
124 同期信号生成部
1001 速度制御部
1002 電力変換ユニット
1010 電流指令演算部
1011 ACR制御部
1012 電流検出器
1013 インバータ
1014 シリアル送信回路
1015 シリアル受信回路
1016 PWMキャリア発生回路
1017 PWMパターン発生回路
1018 デッドタイム回路
1019 ゲート駆動回路
1020 PLL発振回路
1021 位相補正回路
1022 通信線
DESCRIPTION OF
Claims (6)
前記複数の制御装置のうちの1台をマスタの制御装置とし、他の1台をサブマスタとし、前記マスタ及びサブマスタ以外をスレーブの制御装置とし、
前記マスタの制御装置は、
自らが保持するマスタカウンタからカウンタ値を同期カウンタ値として読み出し、前記同期カウンタ値を他の制御装置へ送信する送信部を備え、
前記サブマスタ及びスレーブの制御装置は、
前記マスタの制御装置の送信部から同期カウンタ値を受信する受信部、及び、
自らが保持するスレーブカウンタからカウンタ値を基準カウンタ値として読み出し、前記受信部により受信した同期カウンタ値と、前記読み出した基準カウンタ値とに基づいて、スレーブカウンタがマスタカウンタに同期するように、スレーブカウンタのカウンタ値を調整する制御部をそれぞれ備え、
前記サブマスタの制御装置は、同期カウンタ値を所定時間内に受信しない場合に、前記マスタの制御装置として動作する、
ことを特徴とする同期制御システム。 In a synchronous control system that is configured by a plurality of control devices and each control device performs synchronous operation,
One of the plurality of control devices is a master control device, the other one is a sub-master, and the other than the master and sub-master is a slave control device,
The master controller is
The counter value is read out from the master counter held by itself as a synchronous counter value, and includes a transmission unit that transmits the synchronous counter value to another control device,
The sub-master and slave control devices are:
A receiving unit that receives a synchronization counter value from a transmitting unit of the master control device; and
The slave counter reads the counter value from the slave counter held by itself as a reference counter value, and the slave counter is synchronized with the master counter based on the synchronous counter value received by the receiving unit and the read reference counter value. Each has a control unit to adjust the counter value of the counter,
The sub-master control device operates as the master control device when the synchronization counter value is not received within a predetermined time.
A synchronous control system characterized by that.
前記サブマスタ及びスレーブの制御装置に備えた制御部は、前記受信した同期カウンタ値と、前記読み出した基準カウンタ値と、前記スレーブカウンタのカウント開始時点から基準カウンタ値を読み出した時点までの間の時間とに基づいて、前記マスタカウンタのカウンタ値とスレーブカウンタのカウンタ値との間のズレ時間を算出し、前記ズレ時間がゼロになるように、スレーブカウンタのカウンタ値を調整する、
ことを特徴とする同期制御システム。 The synchronous control system according to claim 1, wherein
The control unit included in the sub-master and slave control devices includes the received synchronization counter value, the read reference counter value, and the time from the count start time of the slave counter to the time when the reference counter value is read. Based on the above, the time difference between the counter value of the master counter and the counter value of the slave counter is calculated, and the counter value of the slave counter is adjusted so that the time difference is zero.
A synchronous control system characterized by that.
マスタモード、サブマスタモード及びスレーブモードのうちのいずれかのモードに設定するモード設定部、
所定の下限値及び上限値の間をカウントしてカウンタ値を生成するカウンタ、
前記モード設定部によりマスタモードに設定されている場合、前記カウンタからカウンタ値を同期カウンタ値として読み出し、前記同期カウンタ値を他の制御装置へ送信し、前記モード設定部によりサブマスタモードまたはスレーブモードに設定されている場合、マスタモードに設定されている制御装置から同期カウンタ値を受信する通信部、及び、
前記モード設定部によりサブマスタモードまたはスレーブモードに設定されている場合、前記カウンタからカウンタ値を基準カウンタ値として読み出し、前記通信部により受信した同期カウンタ値と、前記読み出した基準カウンタ値とに基づいて、前記カウンタがマスタモードに設定されている制御装置のカウンタに同期するように、前記カウンタのカウンタ値を調整する制御部を備え、
前記モード設定部によりサブマスタモードに設定されている場合、前記通信部が、マスタモードに設定されている制御装置から同期カウンタ値を所定時間内に受信しないとき、前記モード設定部が、サブマスタモードからマスタモードの設定に切り替える、
ことを特徴とする制御装置。 In the control device in the synchronous control system configured by a plurality of control devices, each control device performs synchronous operation,
A mode setting unit for setting any one of the master mode, the sub master mode, and the slave mode;
A counter that generates a counter value by counting between a predetermined lower limit value and an upper limit value;
When the master mode is set by the mode setting unit, the counter value is read from the counter as a synchronous counter value, the synchronous counter value is transmitted to another control device, and the master mode or the slave mode is transmitted by the mode setting unit. Communication unit that receives the synchronization counter value from the control device set to the master mode, and
When the sub-master mode or the slave mode is set by the mode setting unit, the counter value is read from the counter as a reference counter value, and based on the synchronous counter value received by the communication unit and the read reference counter value A control unit that adjusts the counter value of the counter so that the counter is synchronized with the counter of the control device set to the master mode,
When the sub-master mode is set by the mode setting unit, when the communication unit does not receive a synchronization counter value from the control device set to the master mode within a predetermined time, the mode setting unit Switch from mode to master mode setting,
A control device characterized by that.
前記モード設定部によりサブマスタモードまたはスレーブモードに設定されている場合、前記制御部は、前記受信した同期カウンタ値と、前記読み出した基準カウンタ値と、前記カウンタのカウント開始時点から基準カウンタ値を読み出した時点までの間の時間とに基づいて、マスタモードに設定されている制御装置のカウンタのカウンタ値と前記カウンタのカウンタ値との間のズレ時間を算出し、前記ズレ時間がゼロになるように、前記カウンタのカウンタ値を調整する、
ことを特徴とする制御装置。 The control device according to claim 3,
When the sub-master mode or the slave mode is set by the mode setting unit, the control unit sets the reference counter value from the received synchronization counter value, the read reference counter value, and the counter start time of the counter. The deviation time between the counter value of the counter of the control device set to the master mode and the counter value of the counter is calculated based on the time until the time of reading, and the deviation time becomes zero So as to adjust the counter value of the counter,
A control device characterized by that.
前記複数の制御装置のうちの1台をマスタの制御装置とし、他の1台をサブマスタとし、前記マスタ及びサブマスタ以外をスレーブの制御装置とし、
前記マスタの制御装置が、自らが保持するマスタカウンタからカウンタ値を同期カウンタ値として読み出し、前記同期カウンタ値を他の制御装置へ送信する第1のステップと、
前記サブマスタ及びスレーブの制御装置が、マスタの制御装置から同期カウンタ値を受信する第2のステップと、
前記サブマスタ及びスレーブの制御装置が、自らが保持するスレーブカウンタからカウンタ値を基準カウンタ値として読み出し、前記受信した同期カウンタ値と、前記読み出した基準カウンタ値とに基づいて、前記スレーブカウンタがマスタカウンタに同期するように、前記スレーブカウンタのカウンタ値を調整する第3のステップと、
前記サブマスタの制御装置が、同期カウンタ値を所定時間内に受信しない場合に、自らが保持するスレーブカウンタをマスタカウンタとして、当該マスタカウンタからカウンタ値を同期カウンタ値として読み出し、前記同期カウンタ値を他の制御装置へ送信する第4のステップと、
を有することを特徴とする同期制御方法。 In the synchronous control method in the synchronous control system, which is configured by a plurality of control devices and each control device performs synchronous operation,
One of the plurality of control devices is a master control device, the other one is a sub-master, and the other than the master and sub-master is a slave control device,
A first step in which the master control device reads a counter value from a master counter held by itself as a synchronous counter value, and transmits the synchronous counter value to another control device;
A second step in which the sub-master and slave control devices receive a synchronization counter value from the master control device;
The control device of the sub-master and slave reads a counter value from a slave counter held by itself as a reference counter value, and based on the received synchronous counter value and the read reference counter value, the slave counter A third step of adjusting the counter value of the slave counter to be synchronized with
When the sub-master control device does not receive the synchronization counter value within a predetermined time, the slave counter held by itself is read as the master counter, and the counter value is read from the master counter as the synchronization counter value. A fourth step of transmitting to the control device;
A synchronization control method characterized by comprising:
前記第3のステップは、前記受信した同期カウンタ値と、前記読み出した基準カウンタ値と、前記スレーブカウンタのカウント開始時点から基準カウンタ値を読み出した時点までの間の時間とに基づいて、前記マスタカウンタのカウンタ値とスレーブカウンタのカウンタ値との間のズレ時間を算出し、前記ズレ時間がゼロになるように、スレーブカウンタのカウンタ値を調整する、
ことを特徴とする同期制御方法。 In the synchronous control method according to claim 5,
The third step is based on the received synchronization counter value, the read reference counter value, and the time from the slave counter counter start time to the reference counter value read time. Calculating the deviation time between the counter value of the counter and the counter value of the slave counter, and adjusting the counter value of the slave counter so that the deviation time becomes zero,
A synchronization control method characterized by the above.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007329739A JP2009153311A (en) | 2007-12-21 | 2007-12-21 | Synchronous control system, controller, and synchronous control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007329739A JP2009153311A (en) | 2007-12-21 | 2007-12-21 | Synchronous control system, controller, and synchronous control method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2009153311A true JP2009153311A (en) | 2009-07-09 |
Family
ID=40921752
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007329739A Withdrawn JP2009153311A (en) | 2007-12-21 | 2007-12-21 | Synchronous control system, controller, and synchronous control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2009153311A (en) |
Cited By (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2012111406A1 (en) * | 2011-02-16 | 2012-08-23 | 富士電機株式会社 | Alternating-current rotating machine controller |
| CN102820802A (en) * | 2012-08-17 | 2012-12-12 | 深圳市英威腾电气股份有限公司 | Inverter power supply system and signal transmission method thereof |
| JP2013138344A (en) * | 2011-12-28 | 2013-07-11 | Panasonic Corp | Master-slave synchronous communication system |
| CN103257642A (en) * | 2013-04-28 | 2013-08-21 | 深圳市英威腾电气股份有限公司 | Multiple-converter master-slave control system |
| JP2014075829A (en) * | 2013-12-05 | 2014-04-24 | Lapis Semiconductor Co Ltd | Synchronous processing system and semiconductor integrated circuit |
| JP2014241728A (en) * | 2014-10-03 | 2014-12-25 | 富士電機株式会社 | Controller of ac rotary machine |
| US9058789B2 (en) | 2009-12-18 | 2015-06-16 | Lapis Semiconductor Co., Ltd. | Synchronous processing system and semiconductor integrated circuit |
| EP3443658A1 (en) * | 2016-04-11 | 2019-02-20 | Robert Bosch GmbH | Switch device for an electric motor, control device and steering system |
| JP2020141491A (en) * | 2019-02-28 | 2020-09-03 | 株式会社安川電機 | Power converter, power conversion system and power conversion method |
| CN112532241A (en) * | 2020-11-27 | 2021-03-19 | 温州大学 | Synchronous signal generating circuit based on time competition |
| JP2021072056A (en) * | 2019-11-01 | 2021-05-06 | オムロン株式会社 | Control system, control system communication control method, and controller |
| JP2021191027A (en) * | 2020-05-26 | 2021-12-13 | 株式会社明電舎 | Phase synchronization control device and phase synchronization control method for multiple power conversion devices |
| KR20220063320A (en) * | 2020-11-10 | 2022-05-17 | 김승종 | Synchronous signal generator of PWM carrier waveform and method of removing circulating current using the same |
-
2007
- 2007-12-21 JP JP2007329739A patent/JP2009153311A/en not_active Withdrawn
Cited By (26)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9058789B2 (en) | 2009-12-18 | 2015-06-16 | Lapis Semiconductor Co., Ltd. | Synchronous processing system and semiconductor integrated circuit |
| US9882569B2 (en) | 2009-12-18 | 2018-01-30 | Lapis Semiconductor Co., Ltd. | Synchronous processing system and semiconductor integrated circuit |
| WO2012111406A1 (en) * | 2011-02-16 | 2012-08-23 | 富士電機株式会社 | Alternating-current rotating machine controller |
| JP2012170297A (en) * | 2011-02-16 | 2012-09-06 | Fuji Electric Co Ltd | Controller of ac rotary machine |
| CN102959853A (en) * | 2011-02-16 | 2013-03-06 | 富士电机株式会社 | Alternating-current rotating machine controller |
| US9018862B2 (en) | 2011-02-16 | 2015-04-28 | Fuji Electric Co., Ltd. | Alternating current rotating machine control device |
| CN102959853B (en) * | 2011-02-16 | 2016-09-28 | 富士电机株式会社 | AC rotary machine controls equipment |
| JP2013138344A (en) * | 2011-12-28 | 2013-07-11 | Panasonic Corp | Master-slave synchronous communication system |
| CN102820802A (en) * | 2012-08-17 | 2012-12-12 | 深圳市英威腾电气股份有限公司 | Inverter power supply system and signal transmission method thereof |
| CN103257642A (en) * | 2013-04-28 | 2013-08-21 | 深圳市英威腾电气股份有限公司 | Multiple-converter master-slave control system |
| JP2014075829A (en) * | 2013-12-05 | 2014-04-24 | Lapis Semiconductor Co Ltd | Synchronous processing system and semiconductor integrated circuit |
| JP2014241728A (en) * | 2014-10-03 | 2014-12-25 | 富士電機株式会社 | Controller of ac rotary machine |
| EP3443658A1 (en) * | 2016-04-11 | 2019-02-20 | Robert Bosch GmbH | Switch device for an electric motor, control device and steering system |
| JP2019514341A (en) * | 2016-04-11 | 2019-05-30 | ロベルト・ボッシュ・ゲゼルシャフト・ミト・ベシュレンクテル・ハフツングRobert Bosch Gmbh | Switch device for motor, control device, steering system |
| JP2020141491A (en) * | 2019-02-28 | 2020-09-03 | 株式会社安川電機 | Power converter, power conversion system and power conversion method |
| CN111628629A (en) * | 2019-02-28 | 2020-09-04 | 株式会社安川电机 | Power conversion device, power conversion system, and power conversion method |
| US11146179B2 (en) | 2019-02-28 | 2021-10-12 | Kabushiki Kaisha Yaskawa Denki | Power conversion device, power conversion system, and power conversion method |
| CN111628629B (en) * | 2019-02-28 | 2023-11-21 | 株式会社安川电机 | Power conversion device, power conversion system and power conversion method |
| US12009914B2 (en) | 2019-11-01 | 2024-06-11 | Omron Corporation | Control system, communication control method of control system, and control device |
| JP2021072056A (en) * | 2019-11-01 | 2021-05-06 | オムロン株式会社 | Control system, control system communication control method, and controller |
| JP7404789B2 (en) | 2019-11-01 | 2023-12-26 | オムロン株式会社 | Control system, communication control method for control system, and control device |
| JP7338558B2 (en) | 2020-05-26 | 2023-09-05 | 株式会社明電舎 | PHASE SYNCHRONIZATION CONTROL DEVICE AND PHASE SYNCHRONIZATION CONTROL METHOD FOR PLURAL POWER CONVERTERS |
| JP2021191027A (en) * | 2020-05-26 | 2021-12-13 | 株式会社明電舎 | Phase synchronization control device and phase synchronization control method for multiple power conversion devices |
| KR102524185B1 (en) * | 2020-11-10 | 2023-04-21 | 김승종 | Synchronous signal generator of PWM carrier waveform |
| KR20220063320A (en) * | 2020-11-10 | 2022-05-17 | 김승종 | Synchronous signal generator of PWM carrier waveform and method of removing circulating current using the same |
| CN112532241A (en) * | 2020-11-27 | 2021-03-19 | 温州大学 | Synchronous signal generating circuit based on time competition |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2009153311A (en) | Synchronous control system, controller, and synchronous control method | |
| US8400791B2 (en) | Power layer generation of inverter gate drive signals | |
| US11539313B2 (en) | System and method of synchronizing a switching signal | |
| US9806631B2 (en) | Apparatus for controlling paralleled inverter | |
| US9225263B2 (en) | Power layer generation of inverter gate drive signals | |
| JP5314110B2 (en) | Motor controller for synchronous control of master axis and slave axis | |
| CN103138621A (en) | Parallel inverter device | |
| CN105391089B (en) | The control method for parallel and circuit of a kind of inverter | |
| US20140292232A1 (en) | Motor controller for synchronously controlling multiple motors | |
| CN111030514B (en) | Frequency converter parallel operation control system | |
| CN102340280A (en) | Parallel power inverter motor drive system | |
| KR20230027291A (en) | Methods for Controlling Electric Machines | |
| KR101792040B1 (en) | Parallel inverter system | |
| EP3388280B1 (en) | Vehicle control system comprising synchronized control circuits | |
| CN105264760B (en) | The progress control method and multimachine frequency converter of multimachine frequency converter | |
| WO2017033069A1 (en) | Distributed modulation system and method for power electronic applications | |
| EP3518050A1 (en) | A method and a control system for controlling parallel operating devices | |
| CN101650551B (en) | Method for synchronising a number of drives and drive operated according to this method | |
| JP2005020947A (en) | PWM carrier synchronization method and power conversion system | |
| JP2017184388A (en) | Motor control device | |
| JP2008219235A (en) | System synchronization method, PWM signal generator for performing the method, and motor control system including the same | |
| JP2024082853A (en) | Multi-axis drive control device | |
| KR20250172491A (en) | Parallel-connected inverter capable of reducing circulating current | |
| JP2000151568A (en) | No-hit changeover device | |
| JPH1075534A (en) | Parallel commercial synchronous type CVCF power supply abnormality detection 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: 20110301 |