JP2012190413A - Controller for robot - Google Patents

Controller for robot Download PDF

Info

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
Application number
JP2011055614A
Other languages
Japanese (ja)
Other versions
JP5803170B2 (en
Inventor
Takamitsu Inagaki
孝光 稲垣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Wave Inc
Original Assignee
Denso Wave Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Denso Wave Inc filed Critical Denso Wave Inc
Priority to JP2011055614A priority Critical patent/JP5803170B2/en
Publication of JP2012190413A publication Critical patent/JP2012190413A/en
Application granted granted Critical
Publication of JP5803170B2 publication Critical patent/JP5803170B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To more surely detect abnormality of a detection object while inhibiting addition of special hardware, in a controller for a robot.SOLUTION: A controller 20 for a robot comprises a main control substrate 21 and a first sub control substrate 22. Each FPGA 31 of the control substrates 21 and 22 comprises a time counter TC performing counting with a prescribed speed, separately calculates a reference value and a signal value POUT of one bit with a prescribed rule based on a value of the time counter TC and separately performs input of the signal value POUT of one bit and output of the signal value POUT of one bit when a value of the time counter TC becomes a prescribed value. The FPGA 31 of the control substrate 21 detects abnormality on condition that the signal value POUT does not match the reference value. A first CPU 34 makes the FPGA 31 of the control substrate 21 start detection of abnormality after matching the two values of the time counter TC.

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 Patent Documents 1 and 2). In the ones described in Patent Documents 1 and 2, when the detection target transmits a clear signal and clears the timer within a set time, it is determined to be normal, and the time-up is detected by counting up the timer (simple Timer clear method). Then, when the time-up counter reaches an overflow, it is determined that there is an abnormality.

特開2000−237981号公報JP 2000-237981 A 特開2007−265103号公報JP 2007-265103 A

しかしながら、単純タイマクリア方式では、被検出対象に異常が生じた場合であっても、外部ノイズの混入や、スイッチングノイズの混入、クロストーク等により、タイムアップカウンタが定期的にクリアされるおそれがある。この場合、ウォッチドッグ回路は、正常であると判定することとなり、被検出対象が異常であると判定することが困難となる。   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.

ロボットのコントローラ及びその周辺構成を示す模式図。The schematic diagram which shows the controller of a robot, and its periphery structure. 異常検出回路の処理及び被検出回路の処理の手順を示すフローチャート。The flowchart which shows the procedure of the process of an abnormality detection circuit, and the process of a to-be-detected circuit. タイムカウンタの値と信号値との関係を示す図。The figure which shows the relationship between the value of a time counter, and a signal value. タイムカウンタの値と信号値と異常信号との関係を示すタイミングチャート。The timing chart which shows the relationship between the value of a time counter, a signal value, and an abnormal signal.

以下、一実施形態について、図面を参照しつつ説明する。本実施形態は、機械組立工場等において、機械等の組み立てを行うロボットシステムとして具体化している。   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 controller 20 of the robot and its peripheral configuration. As shown in the figure, the robot system (production equipment system) includes a motor 11 that drives each joint of the robot, a three-phase AC power source 12 (power source) that supplies power to each motor 11, and an AC current from the power source 12. A diode 13 and a capacitor 14 for rectifying to a direct current, a motor relay 15 for turning ON / OFF the power supply from the power source 12 to all the motors 11, and a robot controller 20 are provided. The motor relay 15 has a positive contact and a negative contact, and the positive contact and the negative contact are simultaneously switched ON or OFF.

コントローラ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 controller 20 includes a main control board 21, a first sub control board 22, a second sub control board 23, three first connectors 25, three second connectors 26, and an end connector 24. The main control board 21 includes a first CPU 34, a second CPU 35, an arithmetic circuit 36, a photocoupler 37, and a transistor 38. The control boards 21, 22, and 23 each include an FPGA 31, a power circuit 32, and an arithmetic circuit 33.

各FPGA31(ロジック回路)は、制御回路41とウォッチドッグ回路43とを備えている。各FPGA31では、制御回路41とウォッチドッグ回路43とが接続され、ウォッチドッグ回路43と演算回路33とが接続されている。また、各制御基板の制御回路41及びウォッチドッグ回路43は、第1CPU34にそれぞれ並列に接続されている。   Each FPGA 31 (logic circuit) includes a control circuit 41 and a watchdog circuit 43. In each FPGA 31, a control circuit 41 and a watchdog circuit 43 are connected, and a watchdog circuit 43 and an arithmetic circuit 33 are connected. The control circuit 41 and the watchdog circuit 43 of each control board are connected in parallel to the first CPU 34, respectively.

隣り合う制御基板では、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 FPGAs 31 are connected by the first connector 25. The FPGA 31 of the main control board 21 and the FPGA 31 of the first sub control board 22 are connected by the first connector 25, and the FPGA 31 of the first sub control board 22 and the FPGA 31 of the second sub control board 23 are connected to the first connector 25. Connected by. In the second sub control board 23 which is a terminal sub-board in the controller 20, the end connector 24 is connected to the terminal-side first connector 25.

詳しくは、隣り合う制御基板では、ウォッチドッグ回路43同士が第1コネクタ25によって接続されている。すなわち、メイン制御基板21のウォッチドッグ回路43と第1サブ制御基板22のウォッチドッグ回路43とが接続され、第1サブ制御基板22のウォッチドッグ回路43と第2サブ制御基板23のウォッチドッグ回路43とが接続されている。第2サブ制御基板23では、終端側の第1コネクタ25にウォッチドッグ回路43が接続されている。   Specifically, the watchdog circuits 43 are connected to each other by the first connector 25 in adjacent control boards. That is, the watch dog circuit 43 of the main control board 21 and the watch dog circuit 43 of the first sub control board 22 are connected, and the watch dog circuit 43 of the first sub control board 22 and the watch dog circuit of the second sub control board 23 are connected. 43 is connected. In the second sub-control board 23, a watchdog circuit 43 is connected to the first connector 25 on the end side.

また、隣り合う制御基板では、パワー回路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 power circuits 32 are connected by the second connector 26. The power circuit 32 of the main control board 21 and the power circuit 32 of the first sub control board 22 are connected by the second connector 26, and the power circuit 32 of the first sub control board 22 and the power circuit of the second sub control board 23 are connected. 32 is connected by a second connector 26. In the second sub-control board 23, the motor relay 15 is connected to the second connector 26 on the end side. Each power circuit 32 is connected in parallel to the motor relay 15 via the second connector 26. Each power circuit 32 is connected to each motor 11 described above.

各パワー回路32は、トランジスタやダイオード等を備え、上記電源12から各モータ11へ供給される電流を切り換える。これにより、各モータ11は、正回転及び逆回転に駆動される。各パワー回路32は、各制御回路41からの駆動信号により制御される。   Each power circuit 32 includes a transistor, a diode, and the like, and switches a current supplied from the power supply 12 to each motor 11. Thereby, each motor 11 is driven to forward rotation and reverse rotation. Each power circuit 32 is controlled by a drive signal from each control circuit 41.

各制御回路41は、送受信回路、位置検出回路、信号変換回路、及びウォッチドッグ制御回路を備えている。各送受信回路は、各モータ11に設けられたエンコーダからの検出信号を受信するとともに、各パワー回路32へ駆動信号を送信する。各送受信回路は、各ウォッチドッグ回路43との間で信号を送受信する。各位置検出回路は、各エンコーダからの検出信号に基づいて、各モータ11の回転角度を検出する。各信号変換回路は、上記第1CPU34からの指令を受信して各モータ11を駆動する駆動信号に変換する。各ウォッチドッグ制御回路は、第1CPU34からの指令に基づいて、各ウォッチドッグ回路43を制御する。   Each control circuit 41 includes a transmission / reception circuit, a position detection circuit, a signal conversion circuit, and a watchdog control circuit. Each transmission / reception circuit receives a detection signal from an encoder provided in each motor 11 and transmits a drive signal to each power circuit 32. Each transmission / reception circuit transmits / receives a signal to / from each watchdog circuit 43. Each position detection circuit detects the rotation angle of each motor 11 based on the detection signal from each encoder. Each signal conversion circuit receives a command from the first CPU 34 and converts it into a drive signal for driving each motor 11. Each watchdog control circuit controls each watchdog circuit 43 based on a command from the first CPU 34.

各ウォッチドッグ回路43は、送受信回路、タイムカウンタTC等を備えている。各送受信回路は、各制御回路41からの信号を受信するとともに、各制御回路41へタイムカウンタTCの値を送信する。各送受信回路は、第1CPU34からの指令を受信するとともに、隣り合う制御基板のウォッチドッグ回路43と信号を送受信する。タイムカウンタTCは、0から15まで所定速度でカウンタの値を1ずつ増加させる(インクリメント)。カウンタの値が15になった場合には、次にカウンタの値を0に戻す。   Each watchdog circuit 43 includes a transmission / reception circuit, a time counter TC, and the like. Each transmission / reception circuit receives a signal from each control circuit 41 and transmits the value of the time counter TC to each control circuit 41. Each transmission / reception circuit receives a command from the first CPU 34 and transmits / receives a signal to / from the watchdog circuit 43 of the adjacent control board. The time counter TC increments the counter value by 1 at a predetermined speed from 0 to 15 (increment). When the counter value reaches 15, the counter value is reset to 0 next.

そして、各ウォッチドッグ回路43は、自己を監視する(異常であることを検出する)ウォッチドッグ回路へ信号値POUTを送信する。各ウォッチドッグ回路43は、隣り合う制御基板のウォッチドッグ回路43へ信号値POUTを送信するとともに、隣り合う制御基板のウォッチドッグ回路43から信号値POUTを受信する。   Each watchdog circuit 43 transmits a signal value POUT to a watchdog circuit that monitors itself (detects an abnormality). Each watchdog circuit 43 transmits the signal value POUT to the watchdog circuit 43 of the adjacent control board and receives the signal value POUT from the watchdog circuit 43 of the adjacent control board.

詳しくは、メイン制御基板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 watch dog circuit 43 of the main control board 21 transmits the signal value POUT to the watch dog circuit of the first CPU 34 and the watch dog circuit 43 of the first sub control board 22. On the other hand, the watch dog circuit 43 of the main control board 21 receives the signal value POUT from the watch dog circuit of the first CPU 34 and the watch dog circuit 43 of the first sub control board 22. The watchdog circuit 43 of the first sub control board 22 transmits the signal value POUT to the watchdog circuit 43 of the main control board 21 and the watchdog circuit 43 of the second sub control board 23. On the other hand, the watchdog circuit 43 of the first sub control board 22 receives the signal value POUT from the watchdog circuit 43 of the main control board 21 and the watchdog circuit 43 of the second sub control board 23. The watchdog circuit 43 of the second sub control board 23 transmits the signal value POUT to the watchdog circuit 43 of the first sub control board 22. On the other hand, the watchdog circuit 43 of the second sub control board 23 receives the signal value POUT from the watchdog circuit 43 of the first sub control board 22. At this time, the logic level (“H” or “L”) of the signal value POUT is controlled by each control circuit 41.

また、各ウォッチドッグ回路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 watchdog circuit 43 is connected to one input terminal of each arithmetic circuit 33, and transmits a signal value TIMEUP to each input terminal. At this time, the logic level of the signal value TIMEUP is controlled by each control circuit 41 and indicates that an abnormality has occurred when the logic level is “H” (abnormal signal). The other input terminal of each arithmetic circuit 33 is connected to the output terminal of the arithmetic circuit 33 on the downstream control board. Specifically, the output terminal of the arithmetic circuit 33 on the first sub control board 22 is connected to one of the input terminals of the arithmetic circuit 33 on the main control board 21. The output terminal of the arithmetic circuit 33 on the second sub control board 23 is connected to one of the input terminals of the arithmetic circuit 33 on the first sub control board 22. One input terminal of the arithmetic circuit 33 in the second sub-control board 23 is grounded.

演算回路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 arithmetic circuit 33 is an AND circuit that operates with negative logic, and outputs “L” when both inputs from the two input terminals are “L”, and outputs “H” otherwise. . Here, in the second sub-control board 23, since one input terminal of the arithmetic circuit 33 is grounded, its input is always “L”. For this reason, the output of the arithmetic circuit 33 becomes “L” only when the signal value TIMEUP from the watchdog circuit 43 is “L”. In the first sub-control board 22, the output from the arithmetic circuit 33 of the second sub-control board 23 is “L”, and the arithmetic circuit 33 is only when the signal value TIMEUP from the watchdog circuit 43 is “L”. Becomes “L”. Further, in the main control board 21, the output from the arithmetic circuit 33 of the first sub control board 22 is “L” and the output from the arithmetic circuit 33 is only when the signal value TIMEUP from the watchdog circuit 43 is “L”. The output of the terminal A becomes “L”. That is, in all the watchdog circuits 43 on the control boards 21, 22, and 23, the output of the output terminal A of the arithmetic circuit 33 on the main control board 21 is "L" only when the signal value TIMEUP is "L". Note that a pull-up resistor is appropriately connected to the signal line for transmitting each signal.

CPU34,35は、それぞれ内部メモリを有しており、内部メモリに記憶されたプログラムを実行する。CPU34,35には、ROM、RAM、FPGA31等が接続されている。ROMは、ロボットのシステムプログラムや動作プログラム等を記憶している。RAMは、これらのプログラムを実行する際にパラメータの値等を記憶する。そして、第1CPU34は、動作プログラムを実行することにより、上記各制御回路41の位置検出回路から入力される位置情報に基づいて、各制御回路41へ各モータ11の位置や速度等の指令を送信し、ロボットの各関節の回転角度を目標回転角度にフィードバック制御する。なお、第1CPU34と第2CPU35とは、データバスにより互いに接続されており、それぞれを相互に監視して、一方に異常が生じた場合には他方がそれを補償するように動作する。   Each of the CPUs 34 and 35 has an internal memory, and executes a program stored in the internal memory. The CPUs 34 and 35 are connected to ROM, RAM, FPGA 31 and the like. The ROM stores a robot system program, an operation program, and the like. The RAM stores parameter values and the like when executing these programs. Then, the first CPU 34 transmits a command such as the position and speed of each motor 11 to each control circuit 41 based on the position information input from the position detection circuit of each control circuit 41 by executing the operation program. Then, the rotation angle of each joint of the robot is feedback controlled to the target rotation angle. Note that the first CPU 34 and the second CPU 35 are connected to each other via a data bus, and monitor each other so that if an abnormality occurs in one, the other compensates for it.

CPU34,35は、各演算回路36の一方の入力端子にそれぞれ接続されている。各演算回路36の他方の入力端子は、メイン制御基板21における演算回路33の上記出力端子Aに接続されている。各演算回路36は、負論理で動作する論理積回路であり、両入力が「L」である場合に「H」を出力し、それ以外の場合に「L」を出力する。各演算回路36の出力端子は、フォトカプラ37の信号入力端子に接続されている。   The CPUs 34 and 35 are respectively connected to one input terminal of each arithmetic circuit 36. The other input terminal of each arithmetic circuit 36 is connected to the output terminal A of the arithmetic circuit 33 in the main control board 21. Each arithmetic circuit 36 is a logical product circuit that operates in negative logic, and outputs “H” when both inputs are “L”, and outputs “L” otherwise. The output terminal of each arithmetic circuit 36 is connected to the signal input terminal of the photocoupler 37.

各フォトカプラ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 photocoupler 37 is connected to the base of each transistor 38, and when an “H” output is input from each arithmetic circuit 36, current flows between the emitter and base of each transistor 38. Thus, when a current flows between the emitter and collector of the two transistors 38, the motor relay 15 is turned on. That is, the motor relay 15 is turned on when the outputs of the two arithmetic circuits 36 are both “H”, and the motor relay 15 is turned off when the output of either one of the arithmetic circuits 36 is “L”. . When driving any one of the motors 11, the CPUs 34 and 35 output “L” to the respective arithmetic circuits 36. When not driving any of the motors 11, the CPUs 34 and 35 respectively output “H” to the respective arithmetic circuits 36. Output.

次に、制御基板21,22,23において、1つの制御基板のFPGA31が、他の制御基板のFPGA31の異常を検出する異常検出回路を形成し、その異常検出回路により異常の検出される制御基板のFPGA31が、被検出回路を形成する場合の処理を説明する。図2は、異常検出回路の処理及び被検出回路の処理の手順を示すフローチャートである。これらの処理は、各FPGA31において、ウォッチドッグ回路43のタイムカウンタTCがカウンタの値をインクリメントする毎に、繰り返し実行される。また、これらの処理を開始するにあたって、第1CPU34(CPU)は、制御基板21,22,23の各ウォッチドッグ回路43のタイムカウンタTCの値をリセットする。すなわち、全てのウォッチドッグ回路43において、タイムカウンタTCの値を一致させる。   Next, in the control boards 21, 22, and 23, the FPGA 31 of one control board forms an abnormality detection circuit that detects the abnormality of the FPGA 31 of the other control board, and the abnormality detection circuit detects the abnormality. A process when the FPGA 31 forms a circuit to be detected will be described. FIG. 2 is a flowchart showing a procedure of processing of the abnormality detection circuit and processing of the detected circuit. These processes are repeatedly executed in each FPGA 31 every time the time counter TC of the watchdog circuit 43 increments the counter value. In starting these processes, the first CPU 34 (CPU) resets the value of the time counter TC of each watchdog circuit 43 of the control boards 21, 22 and 23. That is, the values of the time counters TC are matched in all the watchdog circuits 43.

同図に示すように、まず、異常検出回路は、異常の検出を行うタイミングであるか否か判定する(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 control circuit 41 sets the value of the time counter TC (first time counter) to 4 (constant value) intervals starting from 0, that is, any value of 0, 4, 8, 12 (predetermined Value).

上記判定において、異常の検出を行うタイミングでないと判定した場合には(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 control circuit 41 obtains an exclusive OR (XOR) using all bits as input values for the value (4 bits) of the time counter TC expressed in binary numbers. . That is, the control circuit 41 sets the reference value (signal value POUT) to “1” when the number of “1” is an odd number in Bit0 to Bit3, and the reference value (signal value POUT) when the number is even. Is set to “0”. That is, the abnormality detection circuit and the detected circuit calculate the 1-bit reference value and the signal value POUT, respectively, according to the same predetermined rule based on the value of each time counter TC.

図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 control circuit 41 of the detected circuit causes the watchdog circuit 43 to output the signal value POUT to the watchdog circuit 43 of the abnormality detection circuit. Further, the control circuit 41 of the abnormality detection circuit receives the signal value POUT from the watchdog circuit 43 of the detected circuit from the watchdog circuit 43. Here, the detected circuit outputs the signal value POUT every time the value of the time counter TC is incremented, not only when the value of the time counter TC is any of 0, 4, 8, and 12. To do. In contrast, the abnormality detection circuit inputs the signal value POUT from the detected circuit only when the value of the time counter TC is any one of 0, 4, 8, and 12. Thereafter, the detected circuit temporarily ends this series of processing (END).

続いて、異常検出回路の制御回路41は、参照値と信号値POUTとが不一致であるか否か判定する(S14)。この判定において、参照値と信号値POUTとが不一致でないと判定した場合には(S14:NO)、異常検出回路は、この一連の処理を一旦終了する(END)。一方、この判定において、参照値と信号値POUTとが不一致であると判定した場合には(S14:YES)、異常検出回路は、信号値TIMEUPを「H」として出力する(異常信号を出力)。具体的には、制御回路41は、信号値TIMEUPの論理レベルを「H」として、ウォッチドッグ回路43から演算回路33へ信号値TIMEUPを出力させる。その後、異常検出回路は、この一連の処理を一旦終了する(END)。   Subsequently, the control circuit 41 of the abnormality detection circuit determines whether or not the reference value and the signal value POUT are inconsistent (S14). In this determination, when it is determined that the reference value and the signal value POUT do not coincide with each other (S14: NO), the abnormality detection circuit once ends this series of processing (END). On the other hand, in this determination, when it is determined that the reference value and the signal value POUT do not match (S14: YES), the abnormality detection circuit outputs the signal value TIMEUP as “H” (outputs an abnormality signal). . Specifically, the control circuit 41 sets the logic level of the signal value TIMEUP to “H” and causes the watchdog circuit 43 to output the signal value TIMEUP to the arithmetic circuit 33. Thereafter, the abnormality detection circuit once ends this series of processing (END).

コントローラ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 controller 20, the processing of the abnormality detecting circuit and the processing of the detected circuit are performed between the plurality of FPGAs 31. Specifically, the FPGA 31 (first logic circuit) of the main control board 21 (control board of the first motor) forms an abnormality detection circuit, and the FPGA 31 (control board of the second motor) of the first sub control board 22 (control board of the second motor). The second logic circuit) forms a corresponding circuit to be detected. The FPGA 31 of the first sub control board 22 forms an abnormality detection circuit, and the FPGA 31 of the main control board 21 forms a detected circuit corresponding thereto. Further, the FPGA 31 of the first sub control board 22 forms an abnormality detection circuit, and the FPGA 31 (third logic circuit) of the second sub control board 23 (control board of the third motor) forms a detected circuit corresponding thereto. is doing. The FPGA 31 of the second sub-control board 23 forms an abnormality detection circuit, and the FPGA 31 of the first sub-control board 22 forms a corresponding circuit to be detected. Note that the first CPU 34 forms an abnormality detection circuit, and the FPGA 31 of the main control board 21 forms a detected circuit corresponding thereto. The FPGA 31 of the main control board 21 forms an abnormality detection circuit, and the first CPU 34 forms a corresponding circuit to be detected.

次に、異常検出回路及び被検出回路による処理の態様について説明する。図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 first CPU 34.

同図に示すように、まず、タイミング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 main control board 21, the output of the output terminal A of the arithmetic circuit 33 becomes “H”, and the output of the arithmetic circuit 36 becomes “L”. For this reason, the motor relay 15 is turned off, and the power supply from the power source 12 to all the motors 11 is stopped. This state is maintained until a predetermined release process is executed by the first CPU 34 or the second CPU 35.

以上詳述した本実施形態は以下の利点を有する。   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 first CPU 34, in these time counters TC that count at the same predetermined speed, the counter values are equal to each other Become. Therefore, the 1-bit reference value and the signal value POUT calculated according to the same predetermined rule are equal to each other based on the value of the time counter TC. Thereafter, the value of the time counter TC of the abnormality detection circuit and the value of the time counter TC of the detected circuit simultaneously become a predetermined value, and the detected circuit outputs a 1-bit signal value POUT to the abnormality detection circuit. A 1-bit signal value POUT is input. 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, when an abnormality occurs in the detected circuit and the signal value POUT that matches the reference value is not calculated, or when the signal value POUT is not properly output, the abnormality is detected. On the other hand, if the input 1-bit signal value POUT matches the calculated 1-bit reference value, it is not detected that there is an abnormality.

すなわち、変化しない一定のクリア信号(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 robot controller 20 can more reliably detect that the detected circuit is abnormal while suppressing the addition of special hardware.

・異常検出回路のタイムカウンタ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 FPGA 31, and it is possible to suppress erroneous detection of abnormality due to an abnormality detection interval being too short.

・異常検出回路としてのメイン制御基板21のFPGA31により、被検出回路としての第1サブ制御基板22のFPGA31が異常であることが検出されるとともに、異常検出回路としての第1サブ制御基板22のFPGA31により、被検出回路としてのメイン制御基板21のFPGA31が異常であることが検出される。このため、ロボットのコントローラ20において、簡易な構成により複数のFPGA31で相互に異常の検出を行うことができる。   The FPGA 31 of the main control board 21 as the abnormality detection circuit detects that the FPGA 31 of the first sub control board 22 as the detected circuit is abnormal, and the first sub control board 22 as the abnormality detection circuit It is detected by the FPGA 31 that the FPGA 31 of the main control board 21 as the detected circuit is abnormal. For this reason, in the controller 20 of the robot, the abnormality can be detected mutually by the plurality of FPGAs 31 with a simple configuration.

・さらに、異常検出回路としての第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 FPGA 31 of the first sub control board 22 as the abnormality detection circuit detects that the FPGA 31 of the second sub control board 23 as the detected circuit is abnormal, and the second sub as the abnormality detection circuit. It is detected by the FPGA 31 of the control board 23 that the FPGA 31 of the first sub-control board 22 as the detected circuit is abnormal. That is, it is detected that the FPGA 31 of the first sub control board 22 is abnormal by both the FPGA 31 of the control boards 21 and 23 connected to the FPGA 31 of the first sub control board 22. For this reason, when the FPGAs 31 of the control boards 21, 22, and 23 are arranged in a row and connected adjacent to each other, the first sub-control board arranged between them by the FPGAs 31 of the control boards 21 and 23 on both sides. It is possible to detect twice that 22 FPGAs 31 are abnormal. As a result, it is possible to more reliably detect that the detected circuit is abnormal while efficiently arranging the FPGAs 31 of the control boards 21, 22, and 23.

・所定規則として、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 control boards 21, 22, and 23 are arranged in one row. However, four or more control boards may be arranged in one row, or four or more control boards may be arranged in two rows. Good. Further, the second sub control board 23 may be omitted, and the main control board 21 and the first sub control board 22 may be provided.

・異常検出回路は、タイムカウンタ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 SYMBOLS 11 ... Motor, 12 ... Three-phase alternating current power supply, 15 ... Motor relay, 20 ... Controller, 21 ... Main control board, 22 ... 1st sub control board, 23 ... 2nd sub control board, 31 ... FPGA (abnormality detection circuit, Detected circuit), 32 ... power circuit, 34 ... first CPU (CPU), 33, 36 ... arithmetic circuit, 41 ... control circuit, 43 ... watchdog circuit.

Claims (5)

所定速度でカウントを行う第1タイムカウンタを有し、前記第1タイムカウンタの値に基づいて所定規則で1ビットの参照値を算出し、前記第1タイムカウンタの値が所定値になった時に入力された1ビットの信号値と前記参照値とが一致しないことを条件として異常であることを検出する異常検出回路と、
前記所定速度でカウントを行う第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タイムカウンタの値において、一定値間隔の値である請求項1に記載のロボットのコントローラ。   2. The robot controller according to claim 1, wherein 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. 前記CPUから指令を受信して第1モータを駆動する信号に変換する第1ロジック回路と、前記第1ロジック回路に接続され、前記CPUから指令を受信して第2モータを駆動する信号に変換する第2ロジック回路とを備え、
前記第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ロジック回路に接続され、前記CPUから指令を受信して第3モータを駆動する信号に変換する第3ロジック回路を備え、
前記第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.
前記所定規則は、2進数で表したタイムカウンタの値に対して、全てのビットを入力値として排他的論理和を求める演算である請求項1〜4のいずれか1項に記載のロボットのコントローラ。   5. The robot controller according to claim 1, wherein the predetermined rule is an operation for obtaining an exclusive OR with respect to a value of a time counter expressed in a binary number using all bits as input values. 6. .
JP2011055614A 2011-03-14 2011-03-14 Robot controller Active JP5803170B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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