JP2012190413A - Controller for robot - Google Patents
Controller for robot Download PDFInfo
- Publication number
- JP2012190413A JP2012190413A JP2011055614A JP2011055614A JP2012190413A JP 2012190413 A JP2012190413 A JP 2012190413A JP 2011055614 A JP2011055614 A JP 2011055614A JP 2011055614 A JP2011055614 A JP 2011055614A JP 2012190413 A JP2012190413 A JP 2012190413A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- value
- time counter
- signal value
- signal
- 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
Images
Abstract
Description
本発明は、ロボットのコントローラに関する。 The present invention relates to a robot controller.
従来、産業ロボットのコントローラ等、モータのコントローラは、数値演算を行って指令を送信するメインのプロセッサ(CPU)と、その指令を受信してモータを駆動する信号に変換するロジック回路と、その信号に基づいて制御されるパワー回路とにより構成されている。ロジック回路は、ゲートロジックで形成され、一般にFPGA(Field Programmable Gate Array)をはじめとしたゲートアレイ(G/A)が用いられている。 Conventionally, motor controllers, such as industrial robot controllers, have a main processor (CPU) that performs numerical calculations and transmits commands, a logic circuit that receives the commands and converts them into signals that drive the motor, and the signals And a power circuit controlled based on the above. The logic circuit is formed of gate logic and generally uses a gate array (G / A) such as an FPGA (Field Programmable Gate Array).
CPUやG/Aが停止すると、パワー回路へ異常信号が伝達され、モータが異常動作を行うおそれがある。そこで、モータの異常動作を防ぐために、CPUやG/Aで相互に異常の検出を行い、異常であることを検出した場合には、直ちにモータを停止させる処理を実行する必要がある。 When the CPU or G / A stops, an abnormal signal is transmitted to the power circuit, and the motor may perform an abnormal operation. Therefore, in order to prevent abnormal operation of the motor, it is necessary to detect the abnormality mutually with the CPU and the G / A, and when it is detected that there is an abnormality, it is necessary to immediately execute a process of stopping the motor.
相互に異常の検出を行う手段として、一般にウォッチドッグ回路が用いられている。ウォッチドッグ回路では、検出間隔を容易に設定でき、且つ構成が簡単であることから、タイムアップカウンタが用いられている(例えば、特許文献1,2参照)。特許文献1,2に記載のものでは、被検出対象がクリア信号を送信してタイマを設定時間内にクリアした場合に正常と判定し、タイマをカウントアップすることでタイムアップを検出する(単純タイマクリア方式)。そして、タイムアップカウンタが、オーバフローに至った場合に異常であると判定する。
A watchdog circuit is generally used as a means for mutually detecting an abnormality. In the watchdog circuit, a detection interval can be easily set and the configuration is simple, so a time-up counter is used (for example, see
しかしながら、単純タイマクリア方式では、被検出対象に異常が生じた場合であっても、外部ノイズの混入や、スイッチングノイズの混入、クロストーク等により、タイムアップカウンタが定期的にクリアされるおそれがある。この場合、ウォッチドッグ回路は、正常であると判定することとなり、被検出対象が異常であると判定することが困難となる。 However, with the simple timer clear method, even when an abnormality occurs in the detection target, the time-up counter may be periodically cleared due to external noise, switching noise, crosstalk, etc. is there. In this case, the watchdog circuit determines that it is normal, and it is difficult to determine that the detection target is abnormal.
特にロボットでは、こうした状態が継続すると問題を誘発するおそれがあるため、被検出対象が異常であることを確実に検出する必要がある。ただし、被検出対象が異常であることを確実に検出するために、特別なハードウェアを追加することはコストアップを招くこととなる。 In particular, in a robot, if such a state continues, a problem may be induced. Therefore, it is necessary to reliably detect that the detection target is abnormal. However, adding special hardware in order to reliably detect that the detection target is abnormal will increase the cost.
本発明は、こうした実情に鑑みてなされたものであり、ロボットのコントローラにおいて、特別なハードウェアを追加することを抑制しつつ、被検出対象が異常であることをより確実に検出することにある。 The present invention has been made in view of such circumstances, and is to more reliably detect that the detection target is abnormal while suppressing the addition of special hardware in the controller of the robot. .
本発明は、上記課題を解決するために、以下の手段を採用した。 The present invention employs the following means in order to solve the above problems.
第1の発明は、ロボットのコントローラであって、所定速度でカウントを行う第1タイムカウンタを有し、前記第1タイムカウンタの値に基づいて所定規則で1ビットの参照値を算出し、前記第1タイムカウンタの値が所定値になった時に入力された1ビットの信号値と前記参照値とが一致しないことを条件として異常であることを検出する異常検出回路と、前記所定速度でカウントを行う第2タイムカウンタを有し、前記第2タイムカウンタの値に基づいて前記所定規則で1ビットの信号値を算出し、前記第2タイムカウンタの値が前記所定値になった時に、前記算出した1ビットの信号値を前記異常検出回路へ出力する被検出回路と、前記第1タイムカウンタの値及び前記第2タイムカウンタの値を一致させた後に、前記異常検出回路に前記異常の検出を開始させるCPUと、を備えることを特徴とする。 A first invention is a robot controller, comprising a first time counter that counts at a predetermined speed, calculates a 1-bit reference value according to a predetermined rule based on the value of the first time counter, An abnormality detection circuit for detecting an abnormality on condition that the 1-bit signal value inputted when the value of the first time counter reaches a predetermined value and the reference value do not match, and counting at the predetermined speed A 1-bit signal value is calculated according to the predetermined rule based on the value of the second time counter, and when the value of the second time counter reaches the predetermined value, The detected circuit that outputs the calculated 1-bit signal value to the abnormality detection circuit, the value of the first time counter, and the value of the second time counter are matched, and then the abnormality detection circuit A CPU to start the serial anomaly detection, characterized in that it comprises a.
上記構成によれば、異常検出回路の第1タイムカウンタ及び被検出回路の第2タイムカウンタにより、同一の所定速度でカウントが行われる。そして、異常検出回路及び被検出回路により、それぞれのタイムカウンタの値に基づいて、同一の所定規則で1ビットの参照値及び信号値がそれぞれ算出される。また、第1タイムカウンタの値が所定値になった時に、異常検出回路により1ビットの信号値が入力され、第2タイムカウンタの値が同じく所定値になった時に、被検出回路により、算出された1ビットの信号値が異常検出回路へ出力される。 According to the above configuration, counting is performed at the same predetermined speed by the first time counter of the abnormality detection circuit and the second time counter of the detected circuit. Then, a 1-bit reference value and a signal value are calculated by the abnormality detection circuit and the detected circuit based on the values of the respective time counters according to the same predetermined rule. Further, when the value of the first time counter reaches a predetermined value, a 1-bit signal value is input by the abnormality detection circuit, and when the value of the second time counter also reaches the predetermined value, the calculation is performed by the detected circuit. The 1-bit signal value thus output is output to the abnormality detection circuit.
ここで、CPUにより、第1タイムカウンタの値及び第2タイムカウンタの値が一致させられるため、同一の所定速度でカウントを行う第1タイムカウンタ及び第2タイムカウンタでは、カウンタの値が互いに等しくなる。このため、それぞれタイムカウンタの値に基づいて、同一の所定規則で算出される1ビットの参照値及び信号値は互いに等しくなる。その後、第1タイムカウンタの値及び第2タイムカウンタの値が同時に所定値となり、被検出回路により異常検出回路へ1ビットの信号値が出力され、異常検出回路によりその1ビットの信号値が入力される。そして、入力された1ビットの信号値が、算出された1ビットの参照値と一致しない場合に、異常検出回路により異常であることが検出される。このため、被検出回路に異常が生じて、参照値と一致する信号値が算出されない場合や、信号値が適切に出力されない場合には、異常であることが検出される。一方、入力された1ビットの信号値が、算出された1ビットの参照値と一致する場合には、異常であることが検出されない。 Here, since the value of the first time counter is matched with the value of the second time counter by the CPU, in the first time counter and the second time counter that count at the same predetermined speed, the counter values are equal to each other. Become. Therefore, the 1-bit reference value and signal value calculated according to the same predetermined rule are equal to each other based on the value of the time counter. After that, the value of the first time counter and the value of the second time counter simultaneously become a predetermined value, the detected circuit outputs a 1-bit signal value to the abnormality detection circuit, and the abnormality detection circuit inputs the 1-bit signal value. Is done. When the input 1-bit signal value does not coincide with the calculated 1-bit reference value, the abnormality detection circuit detects an abnormality. For this reason, when an abnormality occurs in the detected circuit and a signal value that matches the reference value is not calculated, or when the signal value is not properly output, it is detected that the circuit is abnormal. On the other hand, when the input 1-bit signal value matches the calculated 1-bit reference value, the abnormality is not detected.
すなわち、変化しない一定のクリア信号(1ビット)が、設定時間内に入力されない場合に異常であることが検出される単純タイマクリア方式と異なり、タイムカウンタの値により変化する参照値(1ビット)と同一の信号値(1ビット)が、所定時に入力されない場合に異常であることが検出される。外部ノイズの混入や、スイッチングノイズの混入、クロストーク等が生じたとしても、それらのノイズが参照値と同一の変化をする可能性は極めて低いため、それらのノイズにより、異常であることの検出が阻害されることを抑制することができる。しかも、上記の異常検出では、タイムカウンタの値を用いて1ビットの参照値及び信号値を算出し、それらの値が一致しない場合に異常であることを検出するため、1ビットのクリア信号を処理する場合と同様のハードウェアにより、異常の検出を行うことができる。その結果、ロボットのコントローラにおいて、特別なハードウェアを追加することを抑制しつつ、被検出回路が異常であることをより確実に検出することができる。 That is, unlike the simple timer clear method in which a constant clear signal (1 bit) that does not change is detected when it is not input within the set time, a reference value (1 bit) that changes depending on the value of the time counter. If the same signal value (1 bit) is not input at a predetermined time, it is detected that there is an abnormality. Even if external noise, switching noise, crosstalk, etc. occur, it is very unlikely that the noise will change in the same way as the reference value. Can be inhibited. In addition, in the above-described abnormality detection, a 1-bit reference value and a signal value are calculated using the value of the time counter, and a 1-bit clear signal is used to detect an abnormality when the values do not match. An abnormality can be detected by hardware similar to that used for processing. As a result, the controller of the robot can more reliably detect that the detected circuit is abnormal while suppressing the addition of special hardware.
なお、被検出回路は、第2タイムカウンタの値が上記所定値になった時以外にも、信号値の算出及び出力を行ってもよい。また、異常検出回路は、第2タイムカウンタの値が上記所定値になった時以外にも、参照値の算出と信号値の入力とを行ってもよい。 The detected circuit may calculate and output the signal value other than when the value of the second time counter reaches the predetermined value. The abnormality detection circuit may calculate the reference value and input the signal value other than when the value of the second time counter reaches the predetermined value.
第2の発明では、前記所定値は、前記第1タイムカウンタの値及び前記第2タイムカウンタの値において、一定値間隔の値である。 In the second invention, the predetermined value is a value having a constant value interval between the value of the first time counter and the value of the second time counter.
上記構成によれば、第1タイムカウンタの値及び第2タイムカウンタの値が、一定値間隔で上記所定値になった時に、被検出回路により異常検出回路へ1ビットの信号値が出力され、異常検出回路によりその1ビットの信号値が入力される。そして、入力された1ビットの信号値が、算出された1ビットの参照値と一致しない場合に、異常検出回路により異常であることが検出される。このため、それぞれのタイムカウンタによりカウントが行われる度に、信号値や参照値の算出、信号値の出力や入力、及び異常の検出を行う必要がない。したがって、処理負荷を軽減することができるとともに、異常検出の間隔が短過ぎることに起因して、異常であることが誤検出されることを抑制することができる。 According to the above configuration, when the value of the first time counter and the value of the second time counter reach the predetermined value at a constant value interval, the detected circuit outputs a 1-bit signal value to the abnormality detection circuit, The 1-bit signal value is input by the abnormality detection circuit. When the input 1-bit signal value does not coincide with the calculated 1-bit reference value, the abnormality detection circuit detects an abnormality. For this reason, it is not necessary to calculate a signal value or a reference value, output or input a signal value, or detect an abnormality each time counting is performed by each time counter. Therefore, it is possible to reduce the processing load and to prevent erroneous detection due to an abnormality detection interval being too short.
第3の発明では、前記CPUから指令を受信して第1モータを駆動する信号に変換する第1ロジック回路と、前記第1ロジック回路に接続され、前記CPUから指令を受信して第2モータを駆動する信号に変換する第2ロジック回路とを備え、前記第1ロジック回路は、前記異常検出回路を形成して前記第2ロジック回路から前記信号値を入力するとともに、前記被検出回路を形成して前記第2ロジック回路へ前記信号値を出力するものであり、前記第2ロジック回路は、前記被検出回路を形成して前記第1ロジック回路へ前記信号値を出力するとともに、前記異常検出回路を形成して前記第1ロジック回路から前記信号値を入力するものである。 In a third aspect of the invention, a first logic circuit that receives a command from the CPU and converts it into a signal for driving the first motor, and a second motor that is connected to the first logic circuit and receives the command from the CPU. A second logic circuit that converts the signal value into a signal for driving the first logic circuit, wherein the first logic circuit forms the abnormality detection circuit, inputs the signal value from the second logic circuit, and forms the detected circuit And outputting the signal value to the second logic circuit. The second logic circuit forms the detected circuit and outputs the signal value to the first logic circuit, and also detects the abnormality. A circuit is formed and the signal value is input from the first logic circuit.
上記構成によれば、異常検出回路としての第1ロジック回路により、被検出回路としての第2ロジック回路が異常であることが検出されるとともに、異常検出回路としての第2ロジック回路により、被検出回路としての第1ロジック回路が異常であることが検出される。このため、ロボットのコントローラにおいて、簡易な構成により複数のロジック回路で相互に異常の検出を行うことができる。 According to the above configuration, the first logic circuit as the abnormality detection circuit detects that the second logic circuit as the detected circuit is abnormal, and the second logic circuit as the abnormality detection circuit detects the detected It is detected that the first logic circuit as a circuit is abnormal. For this reason, in the controller of the robot, it is possible to detect an abnormality mutually with a plurality of logic circuits with a simple configuration.
第4の発明では、前記第2ロジック回路に接続され、前記CPUから指令を受信して第3モータを駆動する信号に変換する第3ロジック回路を備え、前記第2ロジック回路は、前記異常検出回路を形成して前記第3ロジック回路から前記信号値を入力するとともに、前記被検出回路を形成して前記第3ロジック回路へ前記信号値を出力するものであり、前記第3ロジック回路は、前記被検出回路を形成して前記第2ロジック回路へ前記信号値を出力するとともに、前記異常検出回路を形成して前記第2ロジック回路から前記信号値を入力するものである。 According to a fourth aspect of the invention, there is provided a third logic circuit that is connected to the second logic circuit, receives a command from the CPU, and converts it into a signal for driving a third motor, and the second logic circuit detects the abnormality. Forming a circuit and inputting the signal value from the third logic circuit, forming the detected circuit and outputting the signal value to the third logic circuit, the third logic circuit comprising: The detected circuit is formed and the signal value is output to the second logic circuit, and the abnormality detection circuit is formed and the signal value is input from the second logic circuit.
上記構成によれば、異常検出回路としての第2ロジック回路により、被検出回路としての第3ロジック回路が異常であることが検出されるとともに、異常検出回路としての第3ロジック回路により、被検出回路としての第2ロジック回路が異常であることが検出される。すなわち、第2ロジック回路に接続された第1,第3ロジック回路の双方により、第2ロジック回路が異常であることが検出される。このため、第1〜第3ロジック回路を1列に配置して隣同士で接続した場合に、両側の第1,第3ロジック回路により、それらの間に配置された第2ロジック回路が異常であることを二重に検出することができる。その結果、第1〜第3ロジック回路を効率的に配置しつつ、被検出回路が異常であることをより確実に検出することができる。 According to the above configuration, the second logic circuit as the abnormality detection circuit detects that the third logic circuit as the detected circuit is abnormal, and the third logic circuit as the abnormality detection circuit detects the detected signal. It is detected that the second logic circuit as a circuit is abnormal. That is, it is detected by both the first and third logic circuits connected to the second logic circuit that the second logic circuit is abnormal. For this reason, when the first to third logic circuits are arranged in one row and connected to each other, the first and third logic circuits on both sides cause an abnormality in the second logic circuit arranged between them. It can be detected twice. As a result, it is possible to more reliably detect that the detected circuit is abnormal while efficiently arranging the first to third logic circuits.
具体的には、第5の発明のように、前記所定規則は、2進数で表したタイムカウンタの値に対して、全てのビットを入力値として排他的論理和(XOR)を求める演算であるといった構成を採用することができる。例えば、2進数で表したタイムカウンタのビット数が4(10進数で0〜15)である場合には、この演算結果は以下のようになる。すなわち、4ビットの2進数に対して、全てのビットを入力値として排他的論理和(“1”の数が奇数個である場合に“1”、偶数個である場合に“0”)を求めると、2進数の“0000”では“0”、2進数の“0001”では“1”、2進数の“0010”では“1”、2進数の“0011”では“0”となる。こうした構成によれば、簡易な処理によって、参照値(信号値)が“0”と“1”との単純な繰り返しになることを避けつつ、参照値に“0”と“1”とをバランスよく設定することができる。 Specifically, as in the fifth invention, the predetermined rule is an operation for obtaining an exclusive OR (XOR) using all bits as input values for the value of the time counter expressed in binary number. Such a configuration can be adopted. For example, when the number of bits of the time counter expressed in binary number is 4 (0 to 15 in decimal number), the calculation result is as follows. That is, an exclusive OR (“1” when the number of “1” is an odd number, “0” when the number of “1” is an odd number, and “0”) with all bits as input values for a 4-bit binary number The binary number “0000” is “0”, the binary number “0001” is “1”, the binary number “0010” is “1”, and the binary number “0011” is “0”. According to such a configuration, the reference value is balanced between “0” and “1” while avoiding the simple repetition of the reference value (signal value) between “0” and “1” by simple processing. Can be set well.
以下、一実施形態について、図面を参照しつつ説明する。本実施形態は、機械組立工場等において、機械等の組み立てを行うロボットシステムとして具体化している。 Hereinafter, an embodiment will be described with reference to the drawings. The present embodiment is embodied as a robot system that assembles machines and the like in a machine assembly factory or the like.
図1は、ロボットのコントローラ20及びその周辺構成を示す模式図である。同図に示すように、ロボットシステム(生産機器システム)は、ロボットの各関節を駆動するモータ11、各モータ11に電力を供給する三相交流電源12(電源)、電源12からの交流電流を直流電流に整流するダイオード13及びコンデンサ14、電源12から全てのモータ11への電力供給をON・OFFするモータリレー15、及びロボットのコントローラ20を備えている。モータリレー15は、正側の接点と負側の接点とを有しており、正側の接点と負側の接点とが同時にON又はOFFへ切り換えられる。
FIG. 1 is a schematic diagram showing a
コントローラ20は、メイン制御基板21、第1サブ制御基板22、第2サブ制御基板23、3つの第1コネクタ25、3つの第2コネクタ26、及び端部コネクタ24を備えている。メイン制御基板21は、第1CPU34、第2CPU35、演算回路36、フォトカプラ37、及びトランジスタ38を備えている。制御基板21,22,23は、それぞれFPGA31とパワー回路32と演算回路33とを備えている。
The
各FPGA31(ロジック回路)は、制御回路41とウォッチドッグ回路43とを備えている。各FPGA31では、制御回路41とウォッチドッグ回路43とが接続され、ウォッチドッグ回路43と演算回路33とが接続されている。また、各制御基板の制御回路41及びウォッチドッグ回路43は、第1CPU34にそれぞれ並列に接続されている。
Each FPGA 31 (logic circuit) includes a
隣り合う制御基板では、FPGA31同士が第1コネクタ25によって接続されている。メイン制御基板21のFPGA31と第1サブ制御基板22のFPGA31とが、第1コネクタ25によって接続され、第1サブ制御基板22のFPGA31と第2サブ制御基板23のFPGA31とが、第1コネクタ25によって接続されている。コントローラ20において終端のサブ基板である第2サブ制御基板23では、終端側の第1コネクタ25に上記端部コネクタ24が接続されている。
In adjacent control boards, the
詳しくは、隣り合う制御基板では、ウォッチドッグ回路43同士が第1コネクタ25によって接続されている。すなわち、メイン制御基板21のウォッチドッグ回路43と第1サブ制御基板22のウォッチドッグ回路43とが接続され、第1サブ制御基板22のウォッチドッグ回路43と第2サブ制御基板23のウォッチドッグ回路43とが接続されている。第2サブ制御基板23では、終端側の第1コネクタ25にウォッチドッグ回路43が接続されている。
Specifically, the
また、隣り合う制御基板では、パワー回路32同士が第2コネクタ26によって接続されている。メイン制御基板21のパワー回路32と第1サブ制御基板22のパワー回路32とが、第2コネクタ26によって接続され、第1サブ制御基板22のパワー回路32と第2サブ制御基板23のパワー回路32とが、第2コネクタ26によって接続されている。第2サブ制御基板23では、終端側の第2コネクタ26に上記モータリレー15が接続されている。各パワー回路32は、第2コネクタ26を介して、モータリレー15に並列に接続されている。そして、各パワー回路32には、上記の各モータ11が接続されている。
In addition, in the adjacent control boards, the
各パワー回路32は、トランジスタやダイオード等を備え、上記電源12から各モータ11へ供給される電流を切り換える。これにより、各モータ11は、正回転及び逆回転に駆動される。各パワー回路32は、各制御回路41からの駆動信号により制御される。
Each
各制御回路41は、送受信回路、位置検出回路、信号変換回路、及びウォッチドッグ制御回路を備えている。各送受信回路は、各モータ11に設けられたエンコーダからの検出信号を受信するとともに、各パワー回路32へ駆動信号を送信する。各送受信回路は、各ウォッチドッグ回路43との間で信号を送受信する。各位置検出回路は、各エンコーダからの検出信号に基づいて、各モータ11の回転角度を検出する。各信号変換回路は、上記第1CPU34からの指令を受信して各モータ11を駆動する駆動信号に変換する。各ウォッチドッグ制御回路は、第1CPU34からの指令に基づいて、各ウォッチドッグ回路43を制御する。
Each
各ウォッチドッグ回路43は、送受信回路、タイムカウンタTC等を備えている。各送受信回路は、各制御回路41からの信号を受信するとともに、各制御回路41へタイムカウンタTCの値を送信する。各送受信回路は、第1CPU34からの指令を受信するとともに、隣り合う制御基板のウォッチドッグ回路43と信号を送受信する。タイムカウンタTCは、0から15まで所定速度でカウンタの値を1ずつ増加させる(インクリメント)。カウンタの値が15になった場合には、次にカウンタの値を0に戻す。
Each
そして、各ウォッチドッグ回路43は、自己を監視する(異常であることを検出する)ウォッチドッグ回路へ信号値POUTを送信する。各ウォッチドッグ回路43は、隣り合う制御基板のウォッチドッグ回路43へ信号値POUTを送信するとともに、隣り合う制御基板のウォッチドッグ回路43から信号値POUTを受信する。
Each
詳しくは、メイン制御基板21のウォッチドッグ回路43は、第1CPU34のウォッチドッグ回路、及び第1サブ制御基板22のウォッチドッグ回路43へ、信号値POUTを送信する。一方、メイン制御基板21のウォッチドッグ回路43は、第1CPU34のウォッチドッグ回路、及び第1サブ制御基板22のウォッチドッグ回路43から、信号値POUTを受信する。第1サブ制御基板22のウォッチドッグ回路43は、メイン制御基板21のウォッチドッグ回路43、及び第2サブ制御基板23のウォッチドッグ回路43へ、信号値POUTを送信する。一方、第1サブ制御基板22のウォッチドッグ回路43は、メイン制御基板21のウォッチドッグ回路43、及び第2サブ制御基板23のウォッチドッグ回路43から、信号値POUTを受信する。第2サブ制御基板23のウォッチドッグ回路43は、第1サブ制御基板22のウォッチドッグ回路43へ、信号値POUTを送信する。一方、第2サブ制御基板23のウォッチドッグ回路43は、第1サブ制御基板22のウォッチドッグ回路43から、信号値POUTを受信する。このとき、信号値POUTの論理レベル(「H」又は「L」)は、各制御回路41により制御される。
Specifically, the
また、各ウォッチドッグ回路43は、各演算回路33の一方の入力端子にそれぞれ接続されており、各入力端子へ信号値TIMEUPを送信する。このとき、信号値TIMEUPの論理レベルは、各制御回路41により制御され、その論理レベルが「H」の場合に異常が発生していることを示す(異常信号)。各演算回路33の他方の入力端子には、下流側の制御基板における演算回路33の出力端子がそれぞれ接続されている。詳しくは、メイン制御基板21における演算回路33の入力端子の1つには、第1サブ制御基板22における演算回路33の出力端子が接続されている。第1サブ制御基板22における演算回路33の入力端子の1つには、第2サブ制御基板23における演算回路33の出力端子が接続されている。第2サブ制御基板23における演算回路33の入力端子の1つは、接地されている。
Each
演算回路33は、負論理で動作する論理積回路であり、2つの入力端子からの入力が共に「L」である場合に「L」を出力し、それ以外の場合に「H」を出力する。ここで、第2サブ制御基板23では、演算回路33の一方の入力端子は接地されているため、その入力は常に「L」である。このため、ウォッチドッグ回路43からの信号値TIMEUPが「L」の場合のみ、演算回路33の出力が「L」となる。そして、第1サブ制御基板22では、第2サブ制御基板23の演算回路33からの出力が「L」であり、ウォッチドッグ回路43からの信号値TIMEUPが「L」の場合のみ、演算回路33の出力が「L」となる。さらに、メイン制御基板21では、第1サブ制御基板22の演算回路33からの出力が「L」であり、ウォッチドッグ回路43からの信号値TIMEUPが「L」の場合のみ、演算回路33における出力端子Aの出力が「L」となる。すなわち、制御基板21,22,23の全てのウォッチドッグ回路43において、信号値TIMEUPが「L」の場合のみ、メイン制御基板21における演算回路33の出力端子Aの出力が「L」となる。なお、上記の各信号を送信する信号線には、適宜プルアップ抵抗が接続されている。
The
CPU34,35は、それぞれ内部メモリを有しており、内部メモリに記憶されたプログラムを実行する。CPU34,35には、ROM、RAM、FPGA31等が接続されている。ROMは、ロボットのシステムプログラムや動作プログラム等を記憶している。RAMは、これらのプログラムを実行する際にパラメータの値等を記憶する。そして、第1CPU34は、動作プログラムを実行することにより、上記各制御回路41の位置検出回路から入力される位置情報に基づいて、各制御回路41へ各モータ11の位置や速度等の指令を送信し、ロボットの各関節の回転角度を目標回転角度にフィードバック制御する。なお、第1CPU34と第2CPU35とは、データバスにより互いに接続されており、それぞれを相互に監視して、一方に異常が生じた場合には他方がそれを補償するように動作する。
Each of the
CPU34,35は、各演算回路36の一方の入力端子にそれぞれ接続されている。各演算回路36の他方の入力端子は、メイン制御基板21における演算回路33の上記出力端子Aに接続されている。各演算回路36は、負論理で動作する論理積回路であり、両入力が「L」である場合に「H」を出力し、それ以外の場合に「L」を出力する。各演算回路36の出力端子は、フォトカプラ37の信号入力端子に接続されている。
The
各フォトカプラ37は、各トランジスタ38のベースにそれぞれ接続されており、各演算回路36から「H」出力を入力した場合に、各トランジスタ38のエミッタとベースとの間に電流を流す。これにより、2つのトランジスタ38のエミッタとコレクタとの間に電流が流れると、上記モータリレー15がONとなる。すなわち、2つの演算回路36の出力が共に「H」である場合にモータリレー15がONとなり、いずれか一方の演算回路36の出力が「L」である場合にはモータリレー15がOFFとなる。CPU34,35は、いずれかのモータ11を駆動する場合に、各演算回路36へそれぞれ「L」を出力し、いずれのモータ11も駆動しない場合には、各演算回路36へそれぞれ「H」を出力する。
Each
次に、制御基板21,22,23において、1つの制御基板のFPGA31が、他の制御基板のFPGA31の異常を検出する異常検出回路を形成し、その異常検出回路により異常の検出される制御基板のFPGA31が、被検出回路を形成する場合の処理を説明する。図2は、異常検出回路の処理及び被検出回路の処理の手順を示すフローチャートである。これらの処理は、各FPGA31において、ウォッチドッグ回路43のタイムカウンタTCがカウンタの値をインクリメントする毎に、繰り返し実行される。また、これらの処理を開始するにあたって、第1CPU34(CPU)は、制御基板21,22,23の各ウォッチドッグ回路43のタイムカウンタTCの値をリセットする。すなわち、全てのウォッチドッグ回路43において、タイムカウンタTCの値を一致させる。
Next, in the
同図に示すように、まず、異常検出回路は、異常の検出を行うタイミングであるか否か判定する(S11)。具体的には、制御回路41は、タイムカウンタTC(第1タイムカウンタ)の値が、0から始まる4(一定値)間隔の値、すなわち0,4,8,12のいずれかの値(所定値)であるか否か判定する。
As shown in the figure, first, the abnormality detection circuit determines whether or not it is time to detect abnormality (S11). Specifically, the
上記判定において、異常の検出を行うタイミングでないと判定した場合には(S11:NO)、異常検出回路は、この一連の処理を一旦終了する(END)。一方、上記判定において、異常の検出を行うタイミングであると判定した場合には(S11:YES)、異常検出回路は、タイムカウンタTCの値に基づいて所定規則で1ビットの参照値を算出する(S12)。 In the above determination, when it is determined that it is not the timing for detecting the abnormality (S11: NO), the abnormality detection circuit once ends this series of processes (END). On the other hand, if it is determined in the above determination that it is time to detect an abnormality (S11: YES), the abnormality detection circuit calculates a 1-bit reference value according to a predetermined rule based on the value of the time counter TC. (S12).
これと並行して、被検出回路は、タイムカウンタTCの値に基づいて、所定規則で1ビットの信号値POUTを算出する(S21)。なお、被検出回路は、タイムカウンタTC(第2タイムカウンタ)の値が、0,4,8,12のいずれかの値(所定値)である場合に限らず、タイムカウンタTCの値がインクリメントされる毎に信号値POUTを算出する。 In parallel with this, the detected circuit calculates a 1-bit signal value POUT according to a predetermined rule based on the value of the time counter TC (S21). The detected circuit is not limited to the case where the value of the time counter TC (second time counter) is any one of 0, 4, 8, and 12 (predetermined value), and the value of the time counter TC is incremented. Each time the signal value POUT is calculated.
上記所定規則として、図3に示すように、制御回路41は、2進数で表したタイムカウンタTCの値(4bit)に対して、全てのビットを入力値として排他的論理和(XOR)を求める。すなわち、制御回路41は、Bit0〜Bit3において、“1”の数が奇数個である場合に参照値(信号値POUT)を“1”とし、偶数個である場合に参照値(信号値POUT)を“0”とする。すなわち、異常検出回路及び被検出回路は、それぞれのタイムカウンタTCの値に基づいて、同一の所定規則でそれぞれ1ビットの参照値及び信号値POUTを算出する。
As the predetermined rule, as shown in FIG. 3, the
図2に戻り、続いて、被検出回路は信号値POUTを異常検出回路へ出力し(S22)、異常検出回路は被検出回路からの信号値POUTを入力する(S13)。具体的には、被検出回路の制御回路41は、ウォッチドッグ回路43に対して、異常検出回路のウォッチドッグ回路43へと信号値POUTを出力させる。また、異常検出回路の制御回路41は、ウォッチドッグ回路43から、被検出回路のウォッチドッグ回路43からの信号値POUTを入力する。ここで、被検出回路は、タイムカウンタTCの値が、0,4,8,12のいずれかの値である場合に限らず、タイムカウンタTCの値がインクリメントされる毎に信号値POUTを出力する。これに対して、異常検出回路は、タイムカウンタTCの値が、0,4,8,12のいずれかの値である場合にのみ、被検出回路からの信号値POUTを入力する。その後、被検出回路は、この一連の処理を一旦終了する(END)。
Returning to FIG. 2, subsequently, the detected circuit outputs the signal value POUT to the abnormality detection circuit (S22), and the abnormality detection circuit inputs the signal value POUT from the detected circuit (S13). Specifically, the
続いて、異常検出回路の制御回路41は、参照値と信号値POUTとが不一致であるか否か判定する(S14)。この判定において、参照値と信号値POUTとが不一致でないと判定した場合には(S14:NO)、異常検出回路は、この一連の処理を一旦終了する(END)。一方、この判定において、参照値と信号値POUTとが不一致であると判定した場合には(S14:YES)、異常検出回路は、信号値TIMEUPを「H」として出力する(異常信号を出力)。具体的には、制御回路41は、信号値TIMEUPの論理レベルを「H」として、ウォッチドッグ回路43から演算回路33へ信号値TIMEUPを出力させる。その後、異常検出回路は、この一連の処理を一旦終了する(END)。
Subsequently, the
コントローラ20では、上記の異常検出回路の処理と被検出回路の処理とが、複数のFPGA31の間で相互に行われている。具体的には、メイン制御基板21(第1モータの制御基板)のFPGA31(第1ロジック回路)が異常検出回路を形成し、第1サブ制御基板22(第2モータの制御基板)のFPGA31(第2ロジック回路)が、それに対応する被検出回路を形成している。第1サブ制御基板22のFPGA31が異常検出回路を形成し、メイン制御基板21のFPGA31が、それに対応する被検出回路を形成している。また、第1サブ制御基板22のFPGA31が異常検出回路を形成し、第2サブ制御基板23(第3モータの制御基板)のFPGA31(第3ロジック回路)が、それに対応する被検出回路を形成している。第2サブ制御基板23のFPGA31が異常検出回路を形成し、第1サブ制御基板22のFPGA31が、それに対応する被検出回路を形成している。なお、第1CPU34が異常検出回路を形成し、メイン制御基板21のFPGA31が、それに対応する被検出回路を形成している。メイン制御基板21のFPGA31が異常検出回路を形成し、第1CPU34がそれに対応する被検出回路を形成している。
In the
次に、異常検出回路及び被検出回路による処理の態様について説明する。図4はむ、タイムカウンタTCの値と信号値POUTと信号値TIMEUPとの関係を示すタイミングチャートである。なお、異常検出回路及び被検出回路による処理は、それぞれのタイムカウンタTCの値が、第1CPU34により一致させられた後に開始される。
Next, a mode of processing by the abnormality detection circuit and the detected circuit will be described. FIG. 4 is a timing chart showing the relationship among the value of the time counter TC, the signal value POUT, and the signal value TIMEUP. The processing by the abnormality detection circuit and the detection target circuit is started after the values of the respective time counters TC are matched by the
同図に示すように、まず、タイミングt1では、異常検出回路及び被検出回路の双方のタイムカウンタTCの値は0になっている。矢印で示すように、タイミングt1は、異常の検出を行うタイミングであるチェックタイミングとなっている。このため、図3に示すように、異常検出回路及び被検出回路は、それぞれ1ビットの参照値及び信号値POUTを“0”として算出する。 As shown in the figure, first, at the timing t1, the values of the time counters TC of both the abnormality detection circuit and the circuit to be detected are zero. As indicated by the arrows, the timing t1 is a check timing that is a timing for detecting an abnormality. For this reason, as shown in FIG. 3, the abnormality detection circuit and the detected circuit calculate the 1-bit reference value and the signal value POUT as “0”, respectively.
図4に戻り、被検出回路は信号値POUTとして“0”を出力し、異常検出回路はこの信号値POUTを入力する。ここで、被検出回路が正常であれば、被検出回路から入力された信号値POUTと、異常検出回路の算出した参照値とが一致し、異常検出回路の出力する信号値TIMEUPは“0”となる。 Returning to FIG. 4, the detected circuit outputs “0” as the signal value POUT, and the abnormality detection circuit inputs this signal value POUT. If the detected circuit is normal, the signal value POUT input from the detected circuit matches the reference value calculated by the abnormality detecting circuit, and the signal value TIMEUP output from the abnormality detecting circuit is “0”. It becomes.
続いて、タイムカウンタTCの値がインクリメントされる毎に、被検出回路は、図3に示す所定規則に従って信号値POUTを算出し、その信号値POUTを異常検出回路へ出力する。しかし、異常検出回路は、矢印で示すチェックタイミング以外では、信号値POUTの入力及び異常の検出を行わない。 Subsequently, each time the value of the time counter TC is incremented, the detected circuit calculates the signal value POUT according to the predetermined rule shown in FIG. 3, and outputs the signal value POUT to the abnormality detection circuit. However, the abnormality detection circuit does not input the signal value POUT and detect abnormality except for the check timing indicated by the arrow.
タイミングt2では、タイムカウンタTCの値が4となり、チェックタイミングに相当する。このため、図3に示すように、異常検出回路及び被検出回路は、それぞれ1ビットの参照値及び信号値POUTを“1”として算出する。そして、上記と同様にして、被検出回路は信号値POUTとして“1”を出力し、異常検出回路はこの信号値POUTを入力する。この場合も、被検出回路が正常であれば、被検出回路から入力された信号値POUTと、異常検出回路の算出した参照値とが一致し、異常検出回路の出力する信号値TIMEUPは“0”となる。 At timing t2, the value of the time counter TC is 4, which corresponds to the check timing. Therefore, as shown in FIG. 3, the abnormality detection circuit and the detected circuit calculate the 1-bit reference value and the signal value POUT as “1”, respectively. In the same manner as described above, the detected circuit outputs “1” as the signal value POUT, and the abnormality detection circuit inputs this signal value POUT. Also in this case, if the detected circuit is normal, the signal value POUT input from the detected circuit matches the reference value calculated by the abnormality detecting circuit, and the signal value TIMEUP output from the abnormality detecting circuit is “0”. "
このようにして、各チェックタイミングにおいて、異常検出回路により被検出回路の異常検出が行われる。そして、タイムカウンタTCの値が15になった後は、タイミングt3においてタイムカウンタTCの値が0に戻される。 In this way, at each check timing, the abnormality detection circuit detects abnormality of the detected circuit. After the value of the time counter TC reaches 15, the value of the time counter TC is returned to 0 at the timing t3.
ここで、タイミングt4において被検出回路に異常が発生すると、被検出回路から入力された信号値POUTが、異常検出回路の算出した参照値と一致しなくなる。例えば、異常検出回路の算出した参照値が“1”であるのに対して、被検出回路から入力された信号値POUTが“0”となる。このため、異常検出回路の出力する信号値TIMEUPが“1”(異常信号)となる。 Here, when an abnormality occurs in the detected circuit at timing t4, the signal value POUT input from the detected circuit does not match the reference value calculated by the abnormality detecting circuit. For example, while the reference value calculated by the abnormality detection circuit is “1”, the signal value POUT input from the detected circuit is “0”. Therefore, the signal value TIMEUP output from the abnormality detection circuit is “1” (abnormal signal).
その結果、メイン制御基板21において、演算回路33の出力端子Aの出力が「H」となり、演算回路36の出力が「L」となる。このため、モータリレー15がOFFになり、電源12から全てのモータ11への電力供給が停止される。なお、第1CPU34又は第2CPU35により、所定の解除処理が実行されるまでこの状態が維持される。
As a result, on the
以上詳述した本実施形態は以下の利点を有する。 The embodiment described above has the following advantages.
・第1CPU34により、異常検出回路のタイムカウンタTCの値及び被検出回路のタイムカウンタTCの値が一致させられるため、同一の所定速度でカウントを行うこれらタイムカウンタTCでは、カウンタの値が互いに等しくなる。このため、それぞれタイムカウンタTCの値に基づいて、同一の所定規則で算出される1ビットの参照値及び信号値POUTは互いに等しくなる。その後、異常検出回路のタイムカウンタTCの値及び被検出回路のタイムカウンタTCの値が同時に所定値となり、被検出回路により異常検出回路へ1ビットの信号値POUTが出力され、異常検出回路によりその1ビットの信号値POUTが入力される。そして、入力された1ビットの信号値POUTが、算出された1ビットの参照値と一致しない場合に、異常検出回路により異常であることが検出される。このため、被検出回路に異常が生じて、参照値と一致する信号値POUTが算出されない場合や、信号値POUTが適切に出力されない場合には、異常であることが検出される。一方、入力された1ビットの信号値POUTが、算出された1ビットの参照値と一致する場合には、異常であることが検出されない。
Since the value of the time counter TC of the abnormality detection circuit and the value of the time counter TC of the detected circuit are matched by the
すなわち、変化しない一定のクリア信号(1ビット)が、設定時間内に入力されない場合に異常であることが検出される単純タイマクリア方式と異なり、タイムカウンタTCの値により変化する参照値(1ビット)と同一の信号値POUT(1ビット)が、所定時に入力されない場合に異常であることが検出される。外部ノイズの混入や、スイッチングノイズの混入、クロストーク等が生じたとしても、それらのノイズが参照値と同一の変化をする可能性は極めて低いため、それらのノイズにより、異常であることの検出が阻害されることを抑制することができる。しかも、上記の異常検出では、タイムカウンタTCの値を用いて1ビットの参照値及び信号値POUTを算出し、それらの値が一致しない場合に異常であることを検出するため、1ビットのクリア信号を処理する場合と同様のハードウェアにより異常の検出を行うことができる。その結果、ロボットのコントローラ20において、特別なハードウェアを追加することを抑制しつつ、被検出回路が異常であることをより確実に検出することができる。
That is, unlike a simple timer clear method in which a constant clear signal (1 bit) that does not change is detected when it is not input within a set time, a reference value (1 bit) that changes according to the value of the time counter TC. ) Is detected as abnormal when the same signal value POUT (1 bit) is not input at a predetermined time. Even if external noise, switching noise, crosstalk, etc. occur, it is very unlikely that the noise will change in the same way as the reference value. Can be inhibited. In addition, in the above-described abnormality detection, the 1-bit reference value and the signal value POUT are calculated using the value of the time counter TC, and if the values do not match, the 1-bit clear is detected. An abnormality can be detected by hardware similar to that used when processing a signal. As a result, the
・異常検出回路のタイムカウンタTCの値及び被検出回路のタイムカウンタTCの値が、0から始まる4(一定値)間隔の値になった時に、被検出回路により異常検出回路へ1ビットの信号値POUTが出力され、異常検出回路によりその1ビットの信号値POUTが入力される。そして、入力された1ビットの信号値POUTが、算出された1ビットの参照値と一致しない場合に、異常検出回路により異常であることが検出される。このため、それぞれのタイムカウンタTCによりカウントが行われる度に、参照値の算出や信号値POUTの入力、及び異常の検出を行う必要がない。したがって、FPGA31の処理負荷を軽減することができるとともに、異常検出の間隔が短過ぎることに起因して、異常であることが誤検出されることを抑制することができる。
When the value of the time counter TC of the abnormality detection circuit and the value of the time counter TC of the detection target circuit become 4 (constant value) intervals starting from 0, a 1-bit signal is sent from the detection target circuit to the abnormality detection circuit. The value POUT is output, and the 1-bit signal value POUT is input by the abnormality detection circuit. When the input 1-bit signal value POUT does not coincide with the calculated 1-bit reference value, the abnormality detection circuit detects an abnormality. For this reason, it is not necessary to calculate a reference value, input a signal value POUT, and detect an abnormality each time counting is performed by each time counter TC. Therefore, it is possible to reduce the processing load of the
・異常検出回路としてのメイン制御基板21のFPGA31により、被検出回路としての第1サブ制御基板22のFPGA31が異常であることが検出されるとともに、異常検出回路としての第1サブ制御基板22のFPGA31により、被検出回路としてのメイン制御基板21のFPGA31が異常であることが検出される。このため、ロボットのコントローラ20において、簡易な構成により複数のFPGA31で相互に異常の検出を行うことができる。
The
・さらに、異常検出回路としての第1サブ制御基板22のFPGA31により、被検出回路としての第2サブ制御基板23のFPGA31が異常であることが検出されるとともに、異常検出回路としての第2サブ制御基板23のFPGA31により、被検出回路としての第1サブ制御基板22のFPGA31が異常であることが検出される。すなわち、第1サブ制御基板22のFPGA31に接続された制御基板21,23のFPGA31の双方により、第1サブ制御基板22のFPGA31が異常であることが検出される。このため、制御基板21,22,23のFPGA31を1列に配置して隣同士で接続した場合に、両側の制御基板21,23のFPGA31により、それらの間に配置された第1サブ制御基板22のFPGA31が異常であることを二重に検出することができる。その結果、制御基板21,22,23のFPGA31を効率的に配置しつつ、被検出回路が異常であることをより確実に検出することができる。
Further, the
・所定規則として、2進数で表したタイムカウンタTCの値に対して、全てのビットを入力値として排他的論理和(XOR)を求めている。こうした構成によれば、簡易な処理によって、参照値が“0”と“1”との単純な繰り返しになることを避けつつ、参照値(信号値POUT)に“0”と“1”とをバランスよく設定することができる。 As a predetermined rule, an exclusive OR (XOR) is obtained for all the bits as input values for the value of the time counter TC expressed in binary. According to such a configuration, the reference value (signal value POUT) is set to “0” and “1” while avoiding the simple repetition of the reference value “0” and “1” by simple processing. Balance can be set.
なお、上記実施形態に限定されず、例えば次のように変形して実施することもできる。 In addition, it is not limited to the said embodiment, For example, it can also deform | transform as follows and can implement.
・上記実施形態では、所定規則として、2進数で表したタイムカウンタTCの値に対して、全てのビットを入力値として排他的論理和を求める演算を採用した。しかしながら、所定の規則として、上記演算を行った後にその論理レベルを反転させる演算や、その他の演算を採用することもできる。 In the above-described embodiment, as a predetermined rule, an operation for obtaining an exclusive OR with respect to the value of the time counter TC expressed in binary numbers using all bits as input values is adopted. However, as a predetermined rule, an operation that inverts the logic level after the above operation is performed, or other operations can be adopted.
・上記実施形態では、制御基板21,22,23を1列に配置したが、4つ以上の制御基板を一列に配置したり、4つ以上の制御基板を二列に配置したりしてもよい。また、第2サブ制御基板23を備えず、メイン制御基板21と第1サブ制御基板22とを備える構成であってもよい。
In the above embodiment, the
・異常検出回路は、タイムカウンタTCの値が、0から始まる4(一定値)間隔の値になった時以外にも、参照値の算出と信号値POUTの入力とを行ってもよい。 The abnormality detection circuit may calculate the reference value and input the signal value POUT other than when the value of the time counter TC reaches a value of 4 (constant value) intervals starting from 0.
・タイムカウンタTCは、カウンタの値をインクリメントするものに限らず、カウンタの値をデクリメントするものであってもよい。 The time counter TC is not limited to incrementing the counter value, but may be a counter decrementing the counter value.
11…モータ、12…三相交流電源、15…モータリレー、20…コントローラ、21…メイン制御基板、22…第1サブ制御基板、23…第2サブ制御基板、31…FPGA(異常検出回路、被検出回路)、32…パワー回路、34…第1CPU(CPU)、33,36…演算回路、41…制御回路、43…ウォッチドッグ回路。
DESCRIPTION OF
Claims (5)
前記所定速度でカウントを行う第2タイムカウンタを有し、前記第2タイムカウンタの値に基づいて前記所定規則で1ビットの信号値を算出し、前記第2タイムカウンタの値が前記所定値になった時に、前記算出した1ビットの信号値を前記異常検出回路へ出力する被検出回路と、
前記第1タイムカウンタの値及び前記第2タイムカウンタの値を一致させた後に、前記異常検出回路に前記異常の検出を開始させるCPUと、
を備えることを特徴とするロボットのコントローラ。 A first time counter that counts at a predetermined speed, calculates a 1-bit reference value according to a predetermined rule based on the value of the first time counter, and when the value of the first time counter reaches a predetermined value An abnormality detection circuit for detecting an abnormality on condition that the input 1-bit signal value does not match the reference value;
A second time counter that counts at the predetermined speed, calculates a 1-bit signal value according to the predetermined rule based on the value of the second time counter, and sets the value of the second time counter to the predetermined value; A detected circuit that outputs the calculated 1-bit signal value to the abnormality detection circuit,
A CPU for causing the abnormality detection circuit to start detecting the abnormality after matching the value of the first time counter and the value of the second time counter;
A robot controller comprising:
前記第1ロジック回路は、前記異常検出回路を形成して前記第2ロジック回路から前記信号値を入力するとともに、前記被検出回路を形成して前記第2ロジック回路へ前記信号値を出力するものであり、
前記第2ロジック回路は、前記被検出回路を形成して前記第1ロジック回路へ前記信号値を出力するとともに、前記異常検出回路を形成して前記第1ロジック回路から前記信号値を入力するものである請求項1又は2に記載のロボットのコントローラ。 A first logic circuit that receives a command from the CPU and converts it into a signal that drives the first motor, and a signal that is connected to the first logic circuit and receives a command from the CPU and converts it into a signal that drives the second motor A second logic circuit that
The first logic circuit forms the abnormality detection circuit and inputs the signal value from the second logic circuit, and forms the detected circuit and outputs the signal value to the second logic circuit. And
The second logic circuit forms the detected circuit and outputs the signal value to the first logic circuit, and forms the abnormality detection circuit and inputs the signal value from the first logic circuit. The robot controller according to claim 1 or 2.
前記第2ロジック回路は、前記異常検出回路を形成して前記第3ロジック回路から前記信号値を入力するとともに、前記被検出回路を形成して前記第3ロジック回路へ前記信号値を出力するものであり、
前記第3ロジック回路は、前記被検出回路を形成して前記第2ロジック回路へ前記信号値を出力するとともに、前記異常検出回路を形成して前記第2ロジック回路から前記信号値を入力するものである請求項3に記載のロボットのコントローラ。 A third logic circuit connected to the second logic circuit for receiving a command from the CPU and converting it into a signal for driving a third motor;
The second logic circuit forms the abnormality detection circuit and inputs the signal value from the third logic circuit, and forms the detected circuit and outputs the signal value to the third logic circuit. And
The third logic circuit forms the detected circuit and outputs the signal value to the second logic circuit, and forms the abnormality detection circuit and inputs the signal value from the second logic circuit. The robot controller according to claim 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011055614A JP5803170B2 (en) | 2011-03-14 | 2011-03-14 | Robot controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011055614A JP5803170B2 (en) | 2011-03-14 | 2011-03-14 | Robot controller |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012190413A true JP2012190413A (en) | 2012-10-04 |
JP5803170B2 JP5803170B2 (en) | 2015-11-04 |
Family
ID=47083457
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011055614A Active JP5803170B2 (en) | 2011-03-14 | 2011-03-14 | Robot controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5803170B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106405396A (en) * | 2015-07-31 | 2017-02-15 | 发那科株式会社 | Controller of rotary switch |
WO2020202428A1 (en) * | 2019-04-01 | 2020-10-08 | ヤマハ発動機株式会社 | Control unit |
WO2021125262A1 (en) * | 2019-12-17 | 2021-06-24 | ヤマハ発動機株式会社 | Automatic control board |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1063371A (en) * | 1996-08-20 | 1998-03-06 | Nec Corp | Timer diagnosing circuit |
JP2001127620A (en) * | 1999-10-27 | 2001-05-11 | Nec Ic Microcomput Syst Ltd | Timer with self-diagnostic function |
JP2001322078A (en) * | 2000-05-15 | 2001-11-20 | Sanyo Electric Co Ltd | Robot control device |
JP2007026028A (en) * | 2005-07-15 | 2007-02-01 | Fujitsu Ten Ltd | Device for detecting abnormality in microcomputer |
JP2007034698A (en) * | 2005-07-27 | 2007-02-08 | Denso Wave Inc | Power supply unit of robot controller |
JP2007301680A (en) * | 2006-05-11 | 2007-11-22 | Nachi Fujikoshi Corp | Robot arm diagnosis device |
JP2009003711A (en) * | 2007-06-21 | 2009-01-08 | Mitsubishi Electric Corp | Stop detection apparatus of microcomputer |
JP2009251700A (en) * | 2008-04-01 | 2009-10-29 | Fujitsu Ten Ltd | Control unit and interrupt signal generation method |
-
2011
- 2011-03-14 JP JP2011055614A patent/JP5803170B2/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1063371A (en) * | 1996-08-20 | 1998-03-06 | Nec Corp | Timer diagnosing circuit |
JP2001127620A (en) * | 1999-10-27 | 2001-05-11 | Nec Ic Microcomput Syst Ltd | Timer with self-diagnostic function |
JP2001322078A (en) * | 2000-05-15 | 2001-11-20 | Sanyo Electric Co Ltd | Robot control device |
JP2007026028A (en) * | 2005-07-15 | 2007-02-01 | Fujitsu Ten Ltd | Device for detecting abnormality in microcomputer |
JP2007034698A (en) * | 2005-07-27 | 2007-02-08 | Denso Wave Inc | Power supply unit of robot controller |
JP2007301680A (en) * | 2006-05-11 | 2007-11-22 | Nachi Fujikoshi Corp | Robot arm diagnosis device |
JP2009003711A (en) * | 2007-06-21 | 2009-01-08 | Mitsubishi Electric Corp | Stop detection apparatus of microcomputer |
JP2009251700A (en) * | 2008-04-01 | 2009-10-29 | Fujitsu Ten Ltd | Control unit and interrupt signal generation method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106405396A (en) * | 2015-07-31 | 2017-02-15 | 发那科株式会社 | Controller of rotary switch |
CN106405396B (en) * | 2015-07-31 | 2020-07-31 | 发那科株式会社 | Control device for rotary switch |
WO2020202428A1 (en) * | 2019-04-01 | 2020-10-08 | ヤマハ発動機株式会社 | Control unit |
WO2021125262A1 (en) * | 2019-12-17 | 2021-06-24 | ヤマハ発動機株式会社 | Automatic control board |
WO2021124432A1 (en) * | 2019-12-17 | 2021-06-24 | ヤマハ発動機株式会社 | Automatic control board |
Also Published As
Publication number | Publication date |
---|---|
JP5803170B2 (en) | 2015-11-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9941823B2 (en) | Motor control device | |
EP2639557B1 (en) | Monitoring device and monitoring method for rotary encoder | |
JP2016099879A5 (en) | ||
JP5803170B2 (en) | Robot controller | |
US9405278B2 (en) | Method for operating a safety control device | |
US9889881B2 (en) | Control apparatus and control method of on-vehicle electronic equipment | |
KR101646210B1 (en) | Motor control system for considering functional safety | |
US20140055273A1 (en) | Method of alarming abnormal state of automated manufacturing system based on plc signal pattern | |
JP2013140587A (en) | Method and system for control system redundancy | |
CN108334013B (en) | Monitoring system | |
JP2012089073A (en) | Electronic control unit and motor-driven power steering device using the same | |
US20200259432A1 (en) | Motor control system and motor control apparatus | |
KR20150145074A (en) | Motor drive control apparatus and control method thereof | |
EP3588210B1 (en) | Motor control device | |
JP2009202612A (en) | Electric power steering device | |
TW201837709A (en) | Monitoring circuit | |
KR20180124340A (en) | Programmable logic controller | |
CN103885848B (en) | The deadlock of a kind of microprocessor, the protection circuit of program fleet fault and implementation method | |
KR101421997B1 (en) | Embedded system and method for detecting fault thereof | |
JP2016004323A (en) | Numerical control system reducing time to take in external input signal | |
JP2015175239A (en) | Monitoring device, monitoring method, and program | |
TWI770725B (en) | Trajectory tracking system and trajectory tracking method | |
KR20150025759A (en) | PLC control system based on sniffing | |
US20240103498A1 (en) | Systems and methods of remotely controlling channel resets for input/output modules of industrial systems | |
JP5511475B2 (en) | Signal processing system and signal source unit and signal processing unit used therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140306 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20141218 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150203 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150306 |
|
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: 20150804 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150817 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5803170 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 |
|
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 |