JP2013197872A - Control device and control method - Google Patents
Control device and control method Download PDFInfo
- Publication number
- JP2013197872A JP2013197872A JP2012062662A JP2012062662A JP2013197872A JP 2013197872 A JP2013197872 A JP 2013197872A JP 2012062662 A JP2012062662 A JP 2012062662A JP 2012062662 A JP2012062662 A JP 2012062662A JP 2013197872 A JP2013197872 A JP 2013197872A
- Authority
- JP
- Japan
- Prior art keywords
- servo
- servo motor
- unit
- interfaces
- control device
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 28
- 238000004891 communication Methods 0.000 claims abstract description 119
- 238000006243 chemical reaction Methods 0.000 claims description 10
- 238000012790 confirmation Methods 0.000 claims description 10
- 238000003672 processing method Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000004913 activation Effects 0.000 description 3
- 239000012636 effector Substances 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Landscapes
- Manipulator (AREA)
- Numerical Control (AREA)
- Communication Control (AREA)
Abstract
【課題】利用可能なサーボアンプやサーボモータの選択の自由度を向上すること。
【解決手段】サーボモータを制御するサーボアンプが通信可能に接続される制御装置において、複数の前記サーボアンプがシリアル接続可能なシリアル通信用のインタフェースであって、通信プロトコルが互いに異なる、複数のインタフェースと、各々の前記インタフェースと、各々の前記インタフェースに前記サーボアンプを介して接続されているサーボモータと、の関係を示す接続情報を記憶する記憶部と、前記サーボモータの制御内容が決定した場合に、前記記憶部に記憶された前記接続情報を参照して各々の前記サーボモータに対応する通信プロトコルをそれぞれ特定する特定部と、前記インタフェースを介して前記サーボアンプに制御指令を出力する出力部と、を備える。
【選択図】 図1An object of the present invention is to improve the degree of freedom in selecting available servo amplifiers and servo motors.
In a control device in which servo amplifiers for controlling a servo motor are communicably connected, a plurality of interfaces, which are serial communication interfaces to which a plurality of the servo amplifiers can be serially connected and have different communication protocols. A storage unit for storing connection information indicating a relationship between each of the interfaces and a servo motor connected to each of the interfaces via the servo amplifier, and the control content of the servo motor is determined A specifying unit for specifying a communication protocol corresponding to each servo motor with reference to the connection information stored in the storage unit, and an output unit for outputting a control command to the servo amplifier via the interface And comprising.
[Selection] Figure 1
Description
本発明は、サーボモータの制御技術に関する。 The present invention relates to a servo motor control technique.
一つのコントローラに複数のサーボアンプを接続し、複数のモータを制御するシステムが知られている。そして、コントローラに対する複数のサーボアンプの接続方式として、並列接続方式と、直列接続方式とが提案されている。特許文献1には並列接続方式を採用したシステムが開示されている。また、特許文献2には直列接続方式を採用したシステムが開示されている。並列接続方式では、サーボアンプ毎に接続ポートが必要とされる。したがって、いわゆる多軸制御の場合のように、より多くのモータを制御する場合には直列接続方式の方が適している。
A system that controls a plurality of motors by connecting a plurality of servo amplifiers to one controller is known. As a connection method of a plurality of servo amplifiers to the controller, a parallel connection method and a serial connection method have been proposed.
直列接続方式におけるコントローラとサーボアンプとの間の通信プロトコルは、複数種類存在する。例えば、SSC-NetやGA1060等がある。各コントローラで採用される通信プロトコルはコントローラのメーカによって定められ、そのコントローラで採用されている通信プロトコルに対応したサーボアンプのみが、利用可能である。この結果、利用可能なサーボアンプやサーボモータの選択に制約が生じていた。 There are a plurality of types of communication protocols between the controller and the servo amplifier in the serial connection method. For example, there are SSC-Net and GA1060. The communication protocol adopted by each controller is determined by the manufacturer of the controller, and only the servo amplifier corresponding to the communication protocol adopted by the controller can be used. As a result, there are restrictions on the selection of available servo amplifiers and servo motors.
本発明の目的は、利用可能なサーボアンプやサーボモータの選択の自由度を向上することにある。 An object of the present invention is to improve the degree of freedom in selecting available servo amplifiers and servomotors.
本発明によれば、サーボモータを制御するサーボアンプが通信可能に接続される制御装置において、複数の前記サーボアンプがシリアル接続可能なシリアル通信用のインタフェースであって、通信プロトコルが互いに異なる、複数のインタフェースと、各々の前記インタフェースと、各々の前記インタフェースに前記サーボアンプを介して接続されているサーボモータと、の関係を示す接続情報を記憶する記憶部と、前記サーボモータの制御内容が決定した場合に、前記記憶部に記憶された前記接続情報を参照して各々の前記サーボモータに対応する通信プロトコルをそれぞれ特定する特定部と、前記インタフェースを介して前記サーボアンプに制御指令を出力する出力部と、を備えた制御装置が提供される。 According to the present invention, in a control device to which a servo amplifier for controlling a servo motor is communicably connected, a plurality of the servo amplifiers are serial communication interfaces that can be serially connected, and communication protocols are different from each other. And a storage section for storing connection information indicating the relationship between each interface and each servo motor connected to each interface via the servo amplifier, and the control contents of the servo motor are determined. In this case, with reference to the connection information stored in the storage unit, the control unit outputs a control command to the servo amplifier via the interface, and a specifying unit that specifies each communication protocol corresponding to each servo motor. And an output unit.
また、本発明によれば、サーボモータを制御するサーボアンプが通信可能に接続される制御装置における処理方法において、前記制御装置は、複数の前記サーボアンプがシリアル接続可能なシリアル通信用のインタフェースであって、通信プロトコルが互いに異なる、複数のインタフェースを備え、前記処理方法は、各々の前記インタフェースと、各々の前記インタフェースに前記サーボアンプを介して接続されているサーボモータと、の関係を示す接続情報を記憶する記憶工程と、前記サーボモータの制御内容が決定した場合に、前記記憶工程で記憶した前記接続情報を参照して各々の前記サーボモータに対応する通信プロトコルをそれぞれ特定する特定工程と、前記インタフェースを介して前記サーボアンプに制御指令を出力する出力工程と、を備えた処理方法が提供される。 According to the present invention, in the processing method in the control device to which the servo amplifier for controlling the servo motor is communicably connected, the control device is a serial communication interface capable of serial connection of the plurality of servo amplifiers. A plurality of interfaces having different communication protocols, and the processing method is a connection indicating a relationship between each of the interfaces and a servo motor connected to each of the interfaces via the servo amplifier. A storing step for storing information, and a specifying step for specifying a communication protocol corresponding to each servo motor with reference to the connection information stored in the storing step when control contents of the servo motor are determined; An output device for outputting a control command to the servo amplifier via the interface. When the processing method having a are provided.
本発明によれば、利用可能なサーボアンプやサーボモータの選択の自由度を向上することができる。 ADVANTAGE OF THE INVENTION According to this invention, the freedom degree of selection of the servo amplifier and servomotor which can be utilized can be improved.
図1は本発明の一実施形態に係る制御装置10及びその周辺の装置のブロック図である。制御装置10はサーボアンプ20、20A、20Bを介してサーボモータ(図1において不図示)を制御するコントローラであり、サーボアンプ20、20A、20Bは制御装置10に通信可能に接続されている。
FIG. 1 is a block diagram of a
<制御装置の構成>
制御装置10は、主回路基板11と、増設回路基板12A、12Bと、を備える。増設回路基板12A、12Bはユーザが必要に応じて選択的に主回路基板11に接続する基板である。以下、増設回路基板12A、12Bを総称する場合には増設回路基板12という。
<Configuration of control device>
The
主回路基板11は、処理部111、記憶部112、通信インタフェース部113、114、アドレスデコーダ部115及びコネクタ部116を備える。
The
処理部111はCPU等のプロセッサであり、記憶部112に記憶されたプログラムを実行する。記憶部112は、例えば、RAM、ROM、ハードディスク等である。通信インタフェース部113は上位コンピュータ1と処理部111との通信を司る通信用ICである。通信インタフェース部114は複数のサーボアンプ20と処理部111との通信を司るシリアル通信用ICである。複数のサーボアンプ20(図1では2つ)は、通信インタフェース部114にシリアル接続されている。
The
通信インタフェース部113、114には、それぞれ、固有のアドレスが割り当てられている。アドレスデコーダ部115は、処理部111がアドレスバス上に出力した信号が通信インタフェース部113を指定している場合には、通信インタフェース部113に選択信号を出力し、通信インタフェース部114を指定している場合には、通信インタフェース部114に選択信号を出力する。これにより処理部111は、通信インタフェース部113や通信インタフェース部114にアクセス可能となる。
A unique address is assigned to each of the
コネクタ部116には増設回路基板12が接続される。増設回路基板12はコネクタ部124を備える。図2はコネクタ部116、124の一例を示す。コネクタ部116は雌型のコネクタである。コネクタ部124は複数のピン電極からなる雄部124aと、雌部124bとを備え、雄部124aは基板を貫通している。
The
そして、例えば、図2に示すように、増設回路基板12Aのコネクタ部124の雄部124aをコネクタ部116に挿入して接続する。これにより、主回路基板11のバスと増設回路基板12Aのバスとを電気的に接続できる。更に増設回路基板12Bの雄部124aを増設回路基板12Aのコネクタ部124の雌部124bに挿入して接続する。これにより、主回路基板11のバスと増設回路基板12A及び12Bの各バスとを電気的に接続できる。
Then, for example, as shown in FIG. 2, the
こうして主回路基板11のバスに対して、複数の増設回路基板12を並列に接続することができる。ここでは2つの増設回路基板12A及び12Bを例示しているが、3以上の増設回路基板12を順次接続することが可能である。そして、主回路基板11のコネクタ部116を一つとしながら、複数の増設回路基板12を着脱可能に実装することができる。尤も、増設回路基板12を個別に着脱可能とするよう、複数のコネクタ部116を主回路基板11に設けてもよい。
Thus, a plurality of
図1に戻り、増設回路基板12Aは、通信インタフェース部121A、アドレスデコーダ部122、ID保持部123及びコネクタ部124を備える。通信インタフェース部121Aは複数のサーボアンプ20Aと処理部111との通信を司るシリアル通信用ICである。複数のサーボアンプ20A(図1では2つ)は、通信インタフェース部121Aにシリアル接続されている。ID保持部123は増設回路基板12Aに固有のIDを記憶している。
Returning to FIG. 1, the
通信インタフェース部121A及びID保持部123には、それぞれ、固有のアドレスが割り当てられている。アドレスデコーダ部122は、処理部111がアドレスバス上に出力した信号が通信インタフェース部121Aを指定している場合には、通信インタフェース部121Aに選択信号を出力する。これにより処理部111は、通信インタフェース部121Aにアクセス可能となる。
A unique address is assigned to each of the
アドレスデコーダ部122は、処理部111がアドレスバス上に出力した信号がID保持部123を指定している場合には、ID保持部123に選択信号を出力する。選択信号を受信したID保持部123は、自分が記憶しているIDをデータバス上に出力する。処理部111はデータバス上に出力されたIDを取得することで、増設回路基板12Aが主回路基板11に接続されていることを確認することができる。
The
増設回路基板12Bは増設回路基板12Aと同様の構成となっている。つまり、増設回路基板12Bは通信インタフェース部121B、アドレスデコーダ部122、ID保持部123及びコネクタ部124を備える。通信インタフェース部121Bは複数のサーボアンプ20Bと処理部111との通信を司るシリアル通信用ICである。複数のサーボアンプ20B(図1では3つ)は、通信インタフェース部121Bにシリアル接続されている。
The
ID保持部123は増設回路基板12Bに固有のIDを記憶している。通信インタフェース部121B及びID保持部123に、それぞれ、固有のアドレスが割り当てられている点や、その機能並びにアドレスデコーダ部122の機能は増設回路基板12Aの場合と同様である。
The
通信インタフェース部114、121A及び121Bは互いに異なる通信プロトコルに基づいている。通信インタフェース部114とサーボアンプ20の組みは通信プロトコルを共通としている。同様に、通信インタフェース部121Aとサーボアンプ20Aの組みや、通信インタフェース部121Bとサーボアンプ20Bとの組みも、それぞれ通信プロトコルを共通としている。
The
通信プロトコルの違いはソフトウエアの違いだけでなく、ハードウエアも違う場合があり得る。ハードウエアの違いには、サーボアンプに対する配線の接続ポートの違いも含まれ得る。図2は、増設回路基板12Aの接続ポート125Aと増設回路基板12Bの接続ポート125Bとの物理的な構成が異なっている場合を例示している。
The difference in the communication protocol is not only the difference in software but also the hardware. Differences in hardware can also include differences in connection ports for wiring to servo amplifiers. FIG. 2 illustrates a case where the physical configuration of the
ここで、例えば、サーボアンプのメーカとして、X社、Y社、Z社が存在し、互いに異なる通信プロトコルを採用している場合を想定する。この場合、例えば、通信インタフェース部114はX社の通信プロトコルに基づくものとし、通信インタフェース部121AはY社の通信プロトコルに基づくものとし、通信インタフェース部121BはZ社の通信プロトコルに基づくものとする。そうすると、制御装置10にはX社、Y社、Z社の各サーボアンプが接続可能となる。
Here, for example, it is assumed that there are X company, Y company, and Z company as manufacturers of servo amplifiers and adopting different communication protocols. In this case, for example, the
通信インタフェース部121A、121Bはそれぞれ増設回路基板12A、12Bに実装したので、X社のサーボアンプのみを利用したいユーザは主回路基板11のみを準備すればよいことになる。また、X社とZ社のサーボアンプを利用したいユーザは主回路基板11と増設回路基板12Bを準備すればよいことになる。
Since the
本実施形態では、サーボアンプとの通信用のインタフェース部として、主回路基板11には一つの通信インタフェース部114のみを実装し、他の通信インタフェース部121A、121Bは増設回路基板12A、12Bにそれぞれ実装した。しかし、増設回路基板12を用いず、主回路基板11に全ての通信インタフェース部を実装する構成も採用可能である。但し、この場合はユーザにとって不要な通信インタフェース部が存在する場合があり得る。逆に、主回路基板11には、サーボアンプとの通信用のインタフェース部を実装せず、増設回路基板12のみに実装する構成も採用可能である。この場合はユーザにとって不要な通信インタフェース部が存在する場合は無くなるが、主回路基板11を準備しただけでは、いずれのサーボアンプも接続できなくなる。
In the present embodiment, only one
また、主回路基板11や増設回路基板12に実装する通信インタフェース部は必ずしも1種類である必要はなく、2種類以上実装してもよい。増設回路基板12の数も2つに限られず、1つであってもよいし3以上であってもよい。
Further, the communication interface unit to be mounted on the
<サーボアンプの構成>
図3はサーボアンプ20のブロック図である。ここではサーボアンプ20を例に挙げるが、サーボアンプ20A、20Bも同様の構成を備えている。
<Configuration of servo amplifier>
FIG. 3 is a block diagram of the
サーボアンプ20は、処理部21、記憶部22、通信インタフェース部23、ドライブ回路24及び信号処理部25を備える。
The
処理部21はCPU等のプロセッサであり、記憶部22に記憶されたプログラムを実行する。記憶部22は、例えば、RAM、ROM、ハードディスク等である。通信インタフェース部23は制御装置10と処理部21との通信を司る通信用ICである。
The
ドライブ回路24は処理部21からの制御指令に基づきサーボモータMに駆動電力を供給する。エンコーダEはサーボモータMの回転量を検出するセンサである。信号処理部25はA/D変換器等を備え、エンコーダEの出力信号に基づく検出結果を処理部21へ出力する。処理部21はエンコーダEの検出結果に基づきサーボモータMを制御する。本実施形態では一つのサーボアンプ20が一つのサーボモータMを制御する場合を想定している。
The
<異なる通信プロトコルへの対応>
本実施形態における、異なる通信プロトコルへの対応について説明する。図4は制御装置10の処理部111の機能ブロック図及び記憶部112に記憶される情報を示す。
<Support for different communication protocols>
The correspondence to different communication protocols in this embodiment will be described. FIG. 4 shows a functional block diagram of the
処理部111は、記憶部112に記憶された演算プログラム112aを実行することで制御内容演算部111aとして機能する。制御内容演算部111aは上位コンピュータ1からの指示にしたがい、各々のサーボモータMの制御内容を決定する。
The
処理部111は、また、記憶部112に記憶された接続情報112bを参照して各々のサーボモータMに対応する通信プロトコルをそれぞれ特定する特定部111bとして機能する。図5は接続情報112bの一例を示す。接続情報112bはユーザが適宜設定、変更することが可能である。
The
接続情報112bは、各々の通信インタフェース部114、121A、121Bと、これらにサーボアンプ20、20A、20Bを介して接続されているサーボモータMと、の関係を示す情報である。換言すれば、各サーボモータMと通信プロトコルの種類との関係を示している。図5の接続情報112bでは、モータIDに、通信インタフェースIDと配置IDとが関連付けられている。
The
モータIDは各サーボモータMを個別に識別するためのIDである。本実施形態の場合、上記の通り、本実施形態では一つのサーボアンプ20が一つのサーボモータMを制御する場合を想定している。したがって、モータIDはサーボアンプ20、20A、20Bを識別するためのIDでもある。
The motor ID is an ID for identifying each servo motor M individually. In the present embodiment, as described above, it is assumed in the present embodiment that one
通信インタフェースIDは、通信インタフェース部114、121A、121Bを識別するためのIDであり、通信プロトコルの種類を識別するID(或いは主回路基板11や増設回路基板12A、12Bを識別するID)でもある。接続情報112bにおいて通信インタフェースIDはサーボモータMのサーボアンプの接続先の通信インタフェース部を示す。例えば、図1において、サーボアンプ20に接続されているサーボモータMであれば、通信インタフェース部114を示すIDが関連付けられる。また、サーボアンプ20Aに接続されているサーボモータMであれば通信インタフェース部121Aを示すIDが関連付けられる。
The communication interface ID is an ID for identifying the
配置IDは、サーボモータMの配設部位を識別するためのIDである。図5は、一例としてサーボモータMがロボット2の駆動用のサーボモータである場合を想定し、ロボット2におけるサーボモータMの配設部位を例示している。例えば、モータIDが”a”のサーボモータはロボット2のエンドエフェクタを駆動するモータである。
The arrangement ID is an ID for identifying the arrangement site of the servo motor M. FIG. 5 exemplifies an arrangement site of the servo motor M in the
図4に戻り、処理部111は、記憶部112に記憶された変換プログラム112cを実行することで変換部111cとして機能する。変換プログラム112cは、通信プロトコルの種類毎に用意される。変換部111cは、特定部111bが特定した通信プロトコルにしたがって、変換プログラム112cを選択して実行し、制御内容演算部111aが決定したサーボモータM毎の制御内容を、対応する通信プロトコルの種類に応じたサーボモータM毎の制御指令に変換する。
Returning to FIG. 4, the
例えば、サーボアンプ20Aに接続されているサーボモータMであれば、通信インタフェース部121Aの通信プロトコルに対応した変換プログラム112cが実行され、制御内容演算部111aで決定した制御内容が制御指令に変換される。同様に、サーボアンプ20Bに接続されているサーボモータMであれば、通信インタフェース部121Bの通信プロトコルに対応した変換プログラム112cが実行され、制御内容演算部111aで決定した制御内容が制御指令に変換される。
For example, in the case of the servo motor M connected to the
処理部111は、また、出力部111dとして機能する。出力部111dは変換部111cで変換した制御指令を、対応する通信インタフェース部114、121A又は121Bを介してサーボアンプ20、20A又は20Bに出力する。例えば、サーボアンプ20Aに接続されているサーボモータMの制御指令を出力する場合には、通信インタフェース部121Aを介して制御指令を出力する。制御指令には、モータIDによって、制御対象となるサーボモータMが指定される。サーボアンプ20Aは自身に接続されたサーボモータMが指定された場合にその制御指令を受信して実行することになる。
The
<処理例>
図6は電源投入時の制御装置10及び各サーボアンプ20、20A、20Bの初期処理例を示すフローチャートである。電源が投入されると制御装置10の処理部111、及び、各サーボアンプ20、20A、20Bの処理部21は、同図の処理を実行する。
<Processing example>
FIG. 6 is a flowchart showing an example of initial processing of the
処理部111はS1で起動処理を行う。また、各処理部21もS11で起動処理を行う。処理部111は、S2で増設基板の接続確認処理を行う。ここでは、接続情報112bを読み出し、接続情報112bの通信インタフェースIDで示される通信インタフェース部を有する増設回路基板(12Aや12B)が主回路基板11に接続されているかを確認する処理を行う。
The
詳細には、各ID保持部123に固有のアドレスを順次指定し、ID保持部123からIDが出力されれば接続されていると判断し、出力されなければ接続されていないと判断する。接続情報112bの通信インタフェースIDで示される全通信インタフェース部について接続が確認されればS3へ進み、確認できなければエラー処理を行う。
Specifically, a unique address is sequentially designated for each
S3〜S5で処理部111は、接続情報112bのモータIDで示される各サーボモータMの接続確認を行う。具体的には、各サーボアンプ20、20A、20Bへ、対応する通信インタフェース部114、121A、121Bを介して順番にモータIDを指定して接続確認信号を送信する(S3)。制御装置10からの接続確認信号を受信した各サーボアンプ20、20A、20Bの処理部21は、折り返し接続確認信号を制御装置10へ送信する(S12)。接続確認信号を受信すると、処理部111はそのサーボアンプとの通信接続を確立する(S4)。接続確認信号を受信しなかった場合、処理部111はエラー処理を行う。S5では接続情報112bで示される全てのモータIDについて、サーボアンプと通信接続が確立したか否かを判定し、全て確立していれば(Yes)一単位の処理を終了し、全て確立していなければ(No)S3へ戻って次のサーボアンプとの通信接続確認を行う。こうして、処理部111はサーボアンプから受信した接続確認信号と、接続情報112bと、に基づいて、各々の通信インタフェース部114、121A、121Bと、各々のサーボモータMと、の関係が接続情報112b通りか否かを確認することができる。
In S3 to S5, the
次に、上位コンピュータ1から制御指令を受信した場合の制御装置10の処理例を図7を参照して説明する。
Next, a processing example of the
図5に例示した、サーボモータMがロボット2の駆動用のサーボモータである場合を想定すると、上位コンピュータ1からは例えばエンドエフェクタを所定の位置へ移動する制御指令が目標動作として制御装置10に与えられる。
Assuming that the servo motor M illustrated in FIG. 5 is a servo motor for driving the
このような場合に、制御装置10の処理部111は図7の処理を実行する。図7の処理のうち、S21〜S23の処理は図4の制御内容演算部111aとしての処理に相当し、S24の処理は特定部111bとしての処理に相当する。また、S25の処理は変換部111cとしての処理に相当し、S26の処理は出力部111dとしての処理に相当する。
In such a case, the
S21では、目標動作を達成するのに必要な各サーボモータMの回転量を演算する。S22では軌道計画を行う。例えば、ロボットのエンドエフェクタを目標位置に移動する場合にはその移動軌道を決定する。S23では各サーボモータMの制御内容を決定する。制御内容は、例えばサーボモータMを単位時間に回転させる位置データである。 In S21, the rotation amount of each servo motor M necessary to achieve the target operation is calculated. In S22, trajectory planning is performed. For example, when the end effector of the robot is moved to the target position, the movement trajectory is determined. In S23, the control content of each servo motor M is determined. The control content is, for example, position data for rotating the servo motor M per unit time.
S24では接続情報112bを参照して各々のサーボモータMに対応する通信プロトコルをそれぞれ特定する。S25では、サーボモータMに対応する通信プロトコルに対応した変換プログラムにより、S23で決定した個々のサーボモータMの制御内容を、対応通信プロトコルに適合した制御指令に変換する。S26ではS25で変換した制御指令を、対応する通信インタフェース部114、121A又は121Bを介してサーボアンプ20、20A又は20Bに出力する。ここでは、例えば、サーボモータMの駆動タイミングと回転量が指定された制御指令が出力される。
In S24, the communication protocol corresponding to each servo motor M is specified with reference to the
以上により一単位の処理が終了する。処理部111は、例えば、一定時間毎に同期用のデータが各サーボアンプに送信され、各サーボアンプは受信した同期用のデータを契機として制御指令を実行することになる。
Thus, one unit of processing is completed. For example, the
以上述べたとおり、本実施形態では互いに通信プロトコルが異なる通信インタフェース部114、121A及び121Bを備えたことで、利用可能なサーボアンプやサーボモータの選択の自由度を向上することが可能となる。言い換えると、サーボアンプやサーボモータを自由に選定することが可能なコントローラ(制御装置)が得られる。通信インタフェース部114、121A及び121Bと、サーボモータMとの対応関係は接続情報112bで管理されるので、通信プロトコルの種類を識別してサーボモータMの制御が可能となる。また、変換部111cにより、制御内容演算部111aが決定した制御内容を、自動的に各通信プロトコルに対応した制御指令に変換できる。これにより、ロボット等のモーション制御にあたって、サーボアンプの通信プロトコルを統一する必要を無くすことを可能とした。
As described above, in this embodiment, the
Claims (7)
複数の前記サーボアンプがシリアル接続可能なシリアル通信用のインタフェースであって、通信プロトコルが互いに異なる、複数のインタフェースと、
各々の前記インタフェースと、各々の前記インタフェースに前記サーボアンプを介して接続されているサーボモータと、の関係を示す接続情報を記憶する記憶部と、
前記サーボモータの制御内容が決定した場合に、前記記憶部に記憶された前記接続情報を参照して各々の前記サーボモータに対応する通信プロトコルをそれぞれ特定する特定部と、
前記インタフェースを介して前記サーボアンプに制御指令を出力する出力部と、
を備えた制御装置。 In a control device in which a servo amplifier that controls a servo motor is connected to be able to communicate,
A plurality of interfaces for serial communication in which a plurality of servo amplifiers can be serially connected, and having different communication protocols, and
A storage unit for storing connection information indicating a relationship between each of the interfaces and a servo motor connected to each of the interfaces via the servo amplifier;
When the control content of the servo motor is determined, a specifying unit that specifies a communication protocol corresponding to each servo motor with reference to the connection information stored in the storage unit,
An output unit for outputting a control command to the servo amplifier via the interface;
A control device comprising:
前記出力部は前記変換部により変換された制御指令を出力する請求項1に記載の制御装置。 According to the communication protocol specified by the specifying unit, comprising a conversion unit that converts the control content into a control command for each servo motor,
The control device according to claim 1, wherein the output unit outputs a control command converted by the conversion unit.
前記記憶部、前記特定部、前記変換部及び前記出力部を含む主回路基板と、
前記主回路基板に対して着脱可能に実装される、少なくとも一つの増設回路基板と、を備え、
前記複数のインタフェースのうちの少なくとも一つが、前記増設回路基板に含まれる請求項2に記載の制御装置。 The control device is
A main circuit board including the storage unit, the specifying unit, the conversion unit, and the output unit;
And at least one additional circuit board, which is detachably mounted on the main circuit board,
The control device according to claim 2, wherein at least one of the plurality of interfaces is included in the extension circuit board.
前記ロボットの目標動作に基づいて、各サーボモータの前記制御内容を決定する請求項1に記載の制御装置。 The servo motor is a servo motor for driving a robot;
The control device according to claim 1, wherein the control content of each servo motor is determined based on a target operation of the robot.
前記制御装置は、
複数の前記サーボアンプがシリアル接続可能なシリアル通信用のインタフェースであって、通信プロトコルが互いに異なる、複数のインタフェースを備え、
前記処理方法は、
各々の前記インタフェースと、各々の前記インタフェースに前記サーボアンプを介して接続されているサーボモータと、の関係を示す接続情報を記憶する記憶工程と、
前記サーボモータの制御内容が決定した場合に、前記記憶工程で記憶した前記接続情報を参照して各々の前記サーボモータに対応する通信プロトコルをそれぞれ特定する特定工程と、
前記インタフェースを介して前記サーボアンプに制御指令を出力する出力工程と、
を備えた処理方法。 In a processing method in a control device in which a servo amplifier for controlling a servo motor is connected to be communicable,
The controller is
A plurality of servo amplifiers are serial communication interfaces that can be serially connected, and have a plurality of interfaces with different communication protocols.
The processing method is as follows:
A storage step of storing connection information indicating a relationship between each of the interfaces and a servo motor connected to each of the interfaces via the servo amplifier;
When the control content of the servo motor is determined, a specifying step of specifying a communication protocol corresponding to each servo motor with reference to the connection information stored in the storage step,
An output step of outputting a control command to the servo amplifier via the interface;
A processing method comprising:
前記出力工程では前記変換工程で変換した制御指令を出力する請求項5に記載の処理方法。 According to the communication protocol specified in the specifying step, comprising a conversion step of converting the control content into a control command for each servo motor,
The processing method according to claim 5, wherein in the output step, the control command converted in the conversion step is output.
前記受信工程で受信した前記接続確認信号と、前記記憶工程で記憶した前記接続情報と、に基づいて、各々の前記インタフェースと、各々の前記サーボモータと、の関係が前記接続情報通りか否かを確認する確認工程と、
を備えた請求項5に記載の処理方法。 A receiving step of receiving a connection confirmation signal from the servo amplifier;
Based on the connection confirmation signal received in the reception step and the connection information stored in the storage step, whether or not the relationship between each interface and each servo motor is in accordance with the connection information. A confirmation process to confirm,
The processing method of Claim 5 provided with these.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012062662A JP5877742B2 (en) | 2012-03-19 | 2012-03-19 | Control apparatus and control method |
CN201210176028.1A CN103324142B (en) | 2012-03-19 | 2012-05-31 | Control device and control method |
CN 201220253074 CN202615186U (en) | 2012-03-19 | 2012-05-31 | Control device and control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012062662A JP5877742B2 (en) | 2012-03-19 | 2012-03-19 | Control apparatus and control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013197872A true JP2013197872A (en) | 2013-09-30 |
JP5877742B2 JP5877742B2 (en) | 2016-03-08 |
Family
ID=47348871
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012062662A Active JP5877742B2 (en) | 2012-03-19 | 2012-03-19 | Control apparatus and control method |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP5877742B2 (en) |
CN (2) | CN202615186U (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015223678A (en) * | 2014-05-29 | 2015-12-14 | ファナック株式会社 | Robot control device with built-in amplifier |
JP2019110727A (en) * | 2017-12-20 | 2019-07-04 | カシオ計算機株式会社 | Motor control device, motor control method, and program |
CN118651737A (en) * | 2024-08-19 | 2024-09-17 | 浙江优迈重工机械有限公司 | Robot elevator call control device and system |
JP7625703B2 (en) | 2020-12-25 | 2025-02-03 | 東莞市李群自動化技術有限公司 | robot |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9728907B2 (en) | 2013-03-19 | 2017-08-08 | Hewlett-Packard Development Company, L.P. | Interconnect assembly |
US10254737B2 (en) * | 2013-12-12 | 2019-04-09 | Panasonic Intellectual Property Management Co., Ltd. | Motor driving apparatus |
CN104850025B (en) * | 2015-05-20 | 2017-12-26 | 南京埃斯顿自动控制技术有限公司 | The automatic identification and uniform protocol device of serial encoder |
JP6424852B2 (en) * | 2016-03-10 | 2018-11-21 | オムロン株式会社 | Motor control device, control method, information processing program, and recording medium |
JP6720958B2 (en) * | 2017-12-22 | 2020-07-08 | カシオ計算機株式会社 | Driving device, driving method, and program |
US11641399B2 (en) * | 2018-05-14 | 2023-05-02 | Robotshop Japan Co., Ltd. | Smart servo motor and actuator assembly using a plurality of smart servo motors |
CN109358570A (en) * | 2018-12-10 | 2019-02-19 | 上海维宏电子科技股份有限公司 | Support the controller and its communicating control method of a variety of bus driver communications protocol |
JP6741924B1 (en) * | 2019-12-23 | 2020-08-19 | 株式会社安川電機 | Distributed motor control system, motor control device, and distributed motor control method |
CN114594713A (en) * | 2022-03-16 | 2022-06-07 | 卧龙电气驱动集团股份有限公司 | Network adapter, control system, and motor control method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0410002A (en) * | 1990-04-27 | 1992-01-14 | Hitachi Ltd | Robot system |
JPH0540507A (en) * | 1991-08-05 | 1993-02-19 | Nippon Telegr & Teleph Corp <Ntt> | Device controlling system in manufacturing line |
JP2008269553A (en) * | 2007-04-20 | 2008-11-06 | All Fine Technology Co Ltd | Servo motor control unit and method thereof |
JP2009223648A (en) * | 2008-03-17 | 2009-10-01 | Toray Eng Co Ltd | Motion system using general-purpose network by hierarchized software |
CN102170430A (en) * | 2011-03-24 | 2011-08-31 | 华中科技大学 | Multi-port multi-network protocol converter |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101226388A (en) * | 2008-02-01 | 2008-07-23 | 哈尔滨工业大学 | Open software CNC system |
CN201364489Y (en) * | 2009-03-03 | 2009-12-16 | 上海工程技术大学 | Data communication system used for servo amplifiers |
WO2010116488A1 (en) * | 2009-04-07 | 2010-10-14 | 三菱電機株式会社 | Communication adapter device |
CN102354191B (en) * | 2011-09-06 | 2013-03-27 | 中联重科股份有限公司 | Method for communicating with PLC and upper computer |
-
2012
- 2012-03-19 JP JP2012062662A patent/JP5877742B2/en active Active
- 2012-05-31 CN CN 201220253074 patent/CN202615186U/en not_active Expired - Fee Related
- 2012-05-31 CN CN201210176028.1A patent/CN103324142B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0410002A (en) * | 1990-04-27 | 1992-01-14 | Hitachi Ltd | Robot system |
JPH0540507A (en) * | 1991-08-05 | 1993-02-19 | Nippon Telegr & Teleph Corp <Ntt> | Device controlling system in manufacturing line |
JP2008269553A (en) * | 2007-04-20 | 2008-11-06 | All Fine Technology Co Ltd | Servo motor control unit and method thereof |
JP2009223648A (en) * | 2008-03-17 | 2009-10-01 | Toray Eng Co Ltd | Motion system using general-purpose network by hierarchized software |
CN102170430A (en) * | 2011-03-24 | 2011-08-31 | 华中科技大学 | Multi-port multi-network protocol converter |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015223678A (en) * | 2014-05-29 | 2015-12-14 | ファナック株式会社 | Robot control device with built-in amplifier |
JP2019110727A (en) * | 2017-12-20 | 2019-07-04 | カシオ計算機株式会社 | Motor control device, motor control method, and program |
JP7047370B2 (en) | 2017-12-20 | 2022-04-05 | カシオ計算機株式会社 | Motor control device, motor control method and program |
JP7625703B2 (en) | 2020-12-25 | 2025-02-03 | 東莞市李群自動化技術有限公司 | robot |
CN118651737A (en) * | 2024-08-19 | 2024-09-17 | 浙江优迈重工机械有限公司 | Robot elevator call control device and system |
Also Published As
Publication number | Publication date |
---|---|
CN202615186U (en) | 2012-12-19 |
CN103324142A (en) | 2013-09-25 |
JP5877742B2 (en) | 2016-03-08 |
CN103324142B (en) | 2015-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5877742B2 (en) | Control apparatus and control method | |
US10850394B2 (en) | Driving device | |
JP5768829B2 (en) | Robot system, robot control method, and workpiece manufacturing method | |
JP6696465B2 (en) | Control system, controller and control method | |
JP2011514507A (en) | Arrangement and method for handling electronic components | |
JP2014128840A (en) | Robot control system | |
CN109746914B (en) | Method of constructing robot, robot control apparatus, system, and storage medium | |
JP2001156872A (en) | Communication protocol conversion system and monitor | |
JP2013066962A (en) | Robot control device, and robot system | |
EP2551735B1 (en) | Fieldbus adapter and method of using fieldbus adapter | |
JP4993208B2 (en) | Industrial controller equipment | |
US11287790B2 (en) | Method for starting up a controller system, and controller system | |
JP2023004194A (en) | Robot system and erroneous wiring detection method thereof | |
US10507579B2 (en) | Control system to which control CPU is addable | |
KR101291660B1 (en) | Distributed control system and reconfiguration method for the same | |
JPH10275006A (en) | Industrial robot | |
CN109917749B (en) | Wiring method and device for automatic control | |
CN102545730B (en) | Motor control system | |
KR20090027302A (en) | Actuator module for robot with independent function | |
CN111347420A (en) | Communication device, communication method, robot device, production device, method for manufacturing article, transmission device, and recording medium | |
US20200122324A1 (en) | Device and method for the electrical testing of an electrical component | |
JP4499233B2 (en) | Distributed control system | |
JP2007130722A (en) | Robot controller | |
JP2000112512A (en) | Robot controller system | |
JP2019088099A (en) | Motor controller, control system and motor control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20141121 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150930 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20151023 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20151216 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20160112 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160126 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5877742 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |