Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7230538B2 - Industrial equipment controller - Google Patents
[go: Go Back, main page]

JP7230538B2 - Industrial equipment controller - Google Patents

Industrial equipment controller Download PDF

Info

Publication number
JP7230538B2
JP7230538B2 JP2019013558A JP2019013558A JP7230538B2 JP 7230538 B2 JP7230538 B2 JP 7230538B2 JP 2019013558 A JP2019013558 A JP 2019013558A JP 2019013558 A JP2019013558 A JP 2019013558A JP 7230538 B2 JP7230538 B2 JP 7230538B2
Authority
JP
Japan
Prior art keywords
voltage
switch
detection unit
connection terminal
detected
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.)
Active
Application number
JP2019013558A
Other languages
Japanese (ja)
Other versions
JP2020123066A (en
Inventor
健治 倉谷
秀幸 西野
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 JP2019013558A priority Critical patent/JP7230538B2/en
Publication of JP2020123066A publication Critical patent/JP2020123066A/en
Application granted granted Critical
Publication of JP7230538B2 publication Critical patent/JP7230538B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Manipulator (AREA)
  • Safety Devices In Control Systems (AREA)
  • Programmable Controllers (AREA)

Description

本発明は、産業機器をコントロールするコントローラに関する。 The present invention relates to a controller for controlling industrial equipment.

従来、ロボット(産業機器)のサーボモータの駆動電流を遮断する電源遮断用リレーの溶着を検知し、溶着検知信号を安全PLC(外部機器)へ出力するコントローラがある(特許文献1参照)。 Conventionally, there is a controller that detects welding of a power cutoff relay that cuts off the drive current of a servomotor of a robot (industrial equipment) and outputs a welding detection signal to a safety PLC (external equipment) (see Patent Document 1).

特許第5830755号公報Japanese Patent No. 5830755

ところで、特許文献1に記載のコントローラは、内部のスイッチ(例えば電源遮断用リレー)の異常を検知することができるものの、コントローラに接続された外部機器の異常を検知することができない。 By the way, the controller described in Patent Document 1 can detect an abnormality in an internal switch (for example, a power cutoff relay), but cannot detect an abnormality in an external device connected to the controller.

本発明は、上記課題を解決するためになされたものであり、その主たる目的は、産業機器のコントローラにおいて、内部のスイッチの異常を検知する回路を利用して、接続された外部機器の異常を検知することにある。 SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and its main object is to use a circuit for detecting an abnormality in an internal switch in a controller for industrial equipment to detect an abnormality in an external device connected to the controller. to detect.

上記課題を解決するための第1の手段は、産業機器のコントローラであって、
スイッチと、
前記スイッチを介して電源に接続された外部接続端子と、
前記スイッチをオンパルス信号により駆動する駆動部と、
前記スイッチと前記外部接続端子との間の検出点の電圧を検出する電圧検出部と、
前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧に基づいて、前記スイッチの異常及び前記外部接続端子に接続された外部機器の異常を検知する検知部と、
を備える。
A first means for solving the above problems is a controller for industrial equipment,
a switch;
an external connection terminal connected to a power supply via the switch;
a driving unit that drives the switch with an on-pulse signal;
a voltage detection unit that detects a voltage at a detection point between the switch and the external connection terminal;
a detection unit that detects an abnormality in the switch and an abnormality in an external device connected to the external connection terminal based on the voltage detected by the voltage detection unit when the switch is driven by the drive unit;
Prepare.

上記構成によれば、外部接続端子は、スイッチを介して電源に接続されている。このため、駆動部がスイッチをオンパルス信号により駆動すると、外部接続端子には電源からの電圧がパルス状に印加される。そして、電圧検出部により、スイッチと外部接続端子との間の検出点の電圧が検出される。 According to the above configuration, the external connection terminal is connected to the power supply via the switch. Therefore, when the drive unit drives the switch with the on-pulse signal, the voltage from the power supply is applied to the external connection terminal in a pulse form. Then, the voltage detector detects the voltage at the detection point between the switch and the external connection terminal.

駆動部がオンパルス信号によりスイッチを駆動した際に、スイッチが正常である場合は、電圧検出部により検出される電圧はパルス状となる。一方、スイッチがオン固着(オン状態で固定されて動かない異常発生)している場合は、電圧検出部により検出される電圧は一定の所定電圧(>0)となる。また、スイッチがオフ固着(オフ状態で固定されて動かない異常発生)している場合は、電圧検出部により検出される電圧は0で一定となる。したがって、検知部は、駆動部によりスイッチが駆動された際に電圧検出部により検出された電圧に基づいて、スイッチの異常を検知することができる。 If the switch is normal when the drive section drives the switch with the on-pulse signal, the voltage detected by the voltage detection section becomes pulse-shaped. On the other hand, when the switch is stuck in the ON state (an abnormality occurs in which the switch is fixed in the ON state and does not move), the voltage detected by the voltage detection unit is a constant predetermined voltage (>0). Further, when the switch is stuck in the off state (abnormality occurs where the switch is fixed in the off state and does not move), the voltage detected by the voltage detection unit is 0 and constant. Therefore, the detection section can detect an abnormality of the switch based on the voltage detected by the voltage detection section when the switch is driven by the drive section.

さらに、駆動部がオンパルス信号によりスイッチを駆動した際に、外部接続端子に外部機器が接続されている場合は、外部接続端子に印加された電圧が、外部機器の抵抗で反射される。このため、電圧検出部により検出される電圧は、外部接続端子に印加される電圧に、外部機器の抵抗で反射された電圧が重ね合わされた電圧となる。また、外部機器が短絡している場合は、外部接続端子に印加された電圧が反射されない。このため、電圧検出部により検出される電圧は、外部接続端子に印加される電圧となる。したがって、検知部は、内部のスイッチの異常を検知する回路を利用して、駆動部によりスイッチが駆動された際に電圧検出部により検出された電圧に基づいて、外部接続端子に接続された外部機器の異常を検知することができる。しかも、スイッチと外部接続端子との間の検出点の電圧を電圧検出部により検出しているため、1つの検出点の電圧に基づいて、スイッチ及び外部機器の双方の異常を検知することができる。 Furthermore, when an external device is connected to the external connection terminal when the driving unit drives the switch with the on-pulse signal, the voltage applied to the external connection terminal is reflected by the resistance of the external device. Therefore, the voltage detected by the voltage detection unit is a voltage obtained by superimposing the voltage applied to the external connection terminal and the voltage reflected by the resistance of the external device. Also, when the external device is short-circuited, the voltage applied to the external connection terminal is not reflected. Therefore, the voltage detected by the voltage detection unit is the voltage applied to the external connection terminal. Therefore, the detection unit utilizes a circuit for detecting an abnormality in an internal switch to detect an external signal connected to the external connection terminal based on the voltage detected by the voltage detection unit when the switch is driven by the drive unit. Abnormality of equipment can be detected. Moreover, since the voltage at the detection point between the switch and the external connection terminal is detected by the voltage detection unit, it is possible to detect an abnormality in both the switch and the external device based on the voltage at one detection point. .

第2の手段では、前記検知部は、前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧が、前記外部接続端子に印加される電圧に等しいとみなせることを判定する第1電圧未満である場合に、前記外部機器が短絡していると検知する。 In the second means, the detection unit detects that the voltage detected by the voltage detection unit when the switch is driven by the drive unit can be regarded as equal to the voltage applied to the external connection terminal. If the voltage is less than the first voltage to be determined, it is detected that the external device is short-circuited.

駆動部がオンパルス信号によりスイッチを駆動した際に、外部接続端子に接続された外部機器が短絡している場合は、外部接続端子に印加された電圧が反射されない。このため、電圧検出部により検出される電圧は、外部接続端子に印加される電圧に略等しい電圧となる。したがって、検知部は、駆動部によりスイッチが駆動された際に電圧検出部により検出された電圧が、外部接続端子に印加される電圧に等しいとみなせることを判定する第1電圧未満である場合に、外部機器が短絡していると検知することができる。 If the external device connected to the external connection terminal is short-circuited when the driving unit drives the switch with the on-pulse signal, the voltage applied to the external connection terminal is not reflected. Therefore, the voltage detected by the voltage detection unit is approximately equal to the voltage applied to the external connection terminal. Therefore, when the voltage detected by the voltage detection unit when the switch is driven by the drive unit is less than the first voltage for determining that the voltage is equal to the voltage applied to the external connection terminal, the detection unit , it can detect that an external device is short-circuited.

第3の手段では、前記検知部は、前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧が、前記外部接続端子に印加される電圧よりも高く設定された第2電圧を、前記電圧検出部により検出された前記電圧の立ち上がりよりも遅れて超えた場合に、前記外部機器が断線していると検知する。 In the third means, the voltage detected by the voltage detection unit when the switch is driven by the drive unit is set higher than the voltage applied to the external connection terminal. When the second voltage is exceeded with a delay from the rise of the voltage detected by the voltage detection section, it is detected that the external device is disconnected.

駆動部がオンパルス信号によりスイッチを駆動した際に、外部接続端子に外部機器が接続されていない場合は、外部接続端子に印加された電圧が外部接続端子で反射される。このため、電圧検出部により検出される電圧は、外部接続端子に印加される電圧にその立ち上がりと同時に、外部接続端子で反射された電圧が重ね合わされた電圧となる。一方、外部接続端子に接続された外部機器が断線している場合は、外部接続端子に印加された電圧が、外部接続端子よりも離れた外部機器の断線部で反射される。このため、電圧検出部により検出される電圧は、外部接続端子に印加される電圧にその立ち上がりよりも遅れて、外部機器の断線部で反射された電圧が重ね合わされた電圧となる。したがって、検知部は、駆動部によりスイッチが駆動された際に電圧検出部により検出された電圧が、外部接続端子に印加される電圧よりも高く設定された第2電圧を、電圧検出部により検出された電圧の立ち上がりよりも遅れて超えた場合に、外部機器が断線していると検知することができる。 When the driving unit drives the switch with the on-pulse signal, if the external device is not connected to the external connection terminal, the voltage applied to the external connection terminal is reflected by the external connection terminal. Therefore, the voltage detected by the voltage detection unit is a voltage in which the voltage applied to the external connection terminal is superimposed with the voltage reflected by the external connection terminal at the same time as the voltage rises. On the other hand, when the external device connected to the external connection terminal is broken, the voltage applied to the external connection terminal is reflected at the broken portion of the external device that is farther from the external connection terminal. Therefore, the voltage detected by the voltage detection unit is a voltage in which the voltage applied to the external connection terminal is superimposed with the voltage reflected by the disconnection portion of the external device with a delay from the rise of the voltage applied to the external connection terminal. Therefore, when the switch is driven by the driving unit, the voltage detected by the voltage detecting unit detects the second voltage set higher than the voltage applied to the external connection terminal by the voltage detecting unit. It can be detected that the external device is broken if it exceeds the voltage with a delay from the rise of the applied voltage.

第4の手段では、前記検知部は、前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧が、前記外部接続端子に印加される電圧よりも高く設定された第3電圧を、前記電圧検出部により検出された前記電圧の立ち上がりと同時に超えた場合に、前記外部接続端子に外部機器が接続されていないと検知する。 In the fourth means, the voltage detected by the voltage detection unit when the switch is driven by the drive unit is set higher than the voltage applied to the external connection terminal. When the third voltage is exceeded at the same time as the voltage detected by the voltage detection section rises, it is detected that the external device is not connected to the external connection terminal.

駆動部がオンパルス信号によりスイッチを駆動した際に、外部接続端子に外部機器が接続されていない場合は、外部接続端子に印加された電圧が外部接続端子で反射される。このため、電圧検出部により検出される電圧は、外部接続端子に印加される電圧にその立ち上がりと同時に、外部接続端子で反射された電圧が重ね合わされた電圧となる。したがって、検知部は、駆動部によりスイッチが駆動された際に圧検出部により検出された電圧が、外部接続端子に印加される電圧よりも高く設定された第3電圧を、電圧検出部により検出された電圧の立ち上がりと同時に超えた場合に、外部接続端子に外部機器が接続されていないと検知することができる。 When the driving unit drives the switch with the on-pulse signal, if the external device is not connected to the external connection terminal, the voltage applied to the external connection terminal is reflected by the external connection terminal. Therefore, the voltage detected by the voltage detection unit is a voltage in which the voltage applied to the external connection terminal is superimposed with the voltage reflected by the external connection terminal at the same time as the voltage rises. Therefore, the voltage detection unit detects the third voltage, which is set higher than the voltage applied to the external connection terminal, by the voltage detection unit when the switch is driven by the drive unit. It can be detected that an external device is not connected to the external connection terminal if the voltage exceeds the voltage at the same time as the voltage rises.

第5の手段は、産業機器のコントローラであって、
スイッチと、
前記スイッチを介して電源に接続された外部接続端子と、
前記スイッチをオンパルス信号により駆動する駆動部と、
前記スイッチと前記外部接続端子との間の検出点の電圧を検出する電圧検出部と、
前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧が、前記外部接続端子に印加される電圧よりも高く設定された第3電圧を、前記電圧検出部により検出された前記電圧の立ち上がりと同時に超えた場合に、前記外部接続端子に外部機器が接続されていないと検知する検知部と、
を備える。
A fifth means is a controller for industrial equipment,
a switch;
an external connection terminal connected to a power supply via the switch;
a driving unit that drives the switch with an on-pulse signal;
a voltage detection unit that detects a voltage at a detection point between the switch and the external connection terminal;
The voltage detected by the voltage detection unit when the switch is driven by the drive unit detects a third voltage set higher than the voltage applied to the external connection terminal by the voltage detection unit. a detection unit that detects that an external device is not connected to the external connection terminal when the voltage exceeds the applied voltage at the same time as the voltage rises;
Prepare.

上記構成によれば、第4の手段と同様の作用効果を奏することができる。 According to the above configuration, it is possible to obtain the same effects as those of the fourth means.

第6の手段では、前記スイッチと前記検出点との間に可変抵抗が接続されており、前記検知部は、前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧が、前記外部接続端子に印加される電圧よりも高く設定された第4電圧を、前記電圧検出部により検出された前記電圧の立ち上がりよりも遅れて超えた場合に、前記可変抵抗の抵抗値を初期値よりも増大させて、前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧の最大値を基準値として設定し、前記基準値の設定後に、前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧の最大値が、前記基準値を下回った量が第1所定値よりも大きい場合に、前記外部機器が短絡したと検知する。 In the sixth means, a variable resistor is connected between the switch and the detection point, and the detection section detects the voltage detected by the voltage detection section when the switch is driven by the drive section. When the voltage exceeds a fourth voltage set higher than the voltage applied to the external connection terminal with a delay from the rise of the voltage detected by the voltage detection unit, the resistance value of the variable resistor is increased from the initial value, the maximum value of the voltage detected by the voltage detection unit when the switch is driven by the driving unit is set as a reference value, and after setting the reference value, the driving When the maximum value of the voltage detected by the voltage detection unit when the switch is driven by the unit is smaller than the reference value by an amount greater than a first predetermined value, it is determined that the external device is short-circuited. detect.

駆動部がオンパルス信号によりスイッチを駆動した際に、外部接続端子に外部機器が接続されている場合は、電圧検出部により検出される電圧は、外部接続端子に印加される電圧にその立ち上がりよりも遅れて、外部機器の抵抗で反射された電圧が重ね合わされた電圧となる。外部機器の抵抗で反射される電圧の大きさは、外部機器の抵抗が、スイッチと電圧検出部の検出点との間の抵抗に対して、相対的に小さいほど小さくなり、相対的に大きいほど大きくなる。 If an external device is connected to the external connection terminal when the drive unit drives the switch with the on-pulse signal, the voltage detected by the voltage detection unit will be higher than the voltage applied to the external connection terminal. After a delay, the voltage reflected by the resistance of the external device becomes the superimposed voltage. The magnitude of the voltage reflected by the resistance of the external device decreases when the resistance of the external device is relatively small with respect to the resistance between the switch and the detection point of the voltage detection section, and when it is relatively large growing.

上記構成によれば、外部接続端子に外部機器が接続されていると推定できる場合に、可変抵抗の抵抗値が初期値よりも増大されて、駆動部によりスイッチが駆動された際に電圧検出部により検出された電圧の最大値が基準値として設定される。その後に外部機器が短絡した場合は、駆動部によりスイッチが駆動された際に電圧検出部により検出される電圧の最大値が基準値よりも小さくなる。したがって、検知部は、基準値の設定後に、駆動部によりスイッチが駆動された際に電圧検出部により検出された電圧の最大値が、基準値を下回った量が第1所定値よりも大きい場合に、外部機器が短絡したと検知することができる。 According to the above configuration, when it can be estimated that an external device is connected to the external connection terminal, the resistance value of the variable resistor is increased from the initial value, and when the switch is driven by the drive unit, the voltage detection unit The maximum value of the voltage detected by is set as the reference value. When the external device is short-circuited after that, the maximum value of the voltage detected by the voltage detection section when the switch is driven by the drive section becomes smaller than the reference value. Therefore, after the setting of the reference value, the detection unit detects that the maximum value of the voltage detected by the voltage detection unit when the switch is driven by the drive unit is less than the reference value by an amount greater than the first predetermined value. In addition, it can detect that an external device is short-circuited.

第7の手段では、前記検知部は、前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧が、前記外部接続端子に印加される電圧よりも高く設定された第4電圧を、前記電圧検出部により検出された前記電圧の立ち上がりよりも遅れて超えた場合に、前記外部接続端子に外部機器が接続されていると検知する。こうした構成によれば、外部接続端子に外部機器が接続されていることを検出することができる。 In the seventh means, the voltage detected by the voltage detection unit when the switch is driven by the drive unit is set higher than the voltage applied to the external connection terminal. When the fourth voltage is exceeded with a delay from the rise of the voltage detected by the voltage detection section, it is detected that an external device is connected to the external connection terminal. According to such a configuration, it is possible to detect that an external device is connected to the external connection terminal.

第8の手段では、前記検知部は、前記基準値の設定後に、前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧の最大値が前記基準値を、前記電圧検出部により検出された前記電圧の立ち上がりよりも遅れて上回った量が第2所定値よりも大きい場合に、前記外部機器が断線したと検知する。 In the eighth means, after setting the reference value, the detection unit detects the reference value as the maximum value of the voltage detected by the voltage detection unit when the switch is driven by the drive unit. If the amount of the voltage detected by the voltage detection unit that exceeds the rise of the voltage with a delay is greater than a second predetermined value, it is detected that the external device is disconnected.

基準値の設定後に、外部機器が断線した場合は、駆動部によりスイッチが駆動された際に電圧検出部により検出される電圧の最大値が基準値よりも大きくなる。したがって、検知部は、基準値の設定後に、駆動部によりスイッチが駆動された際に電圧検出部により検出された電圧の最大値が基準値を、電圧検出部により検出された電圧の立ち上がりよりも遅れて上回った量が第2所定値よりも大きい場合に、外部機器が断線したと検知することができる。 If the external device is disconnected after setting the reference value, the maximum value of the voltage detected by the voltage detection unit when the switch is driven by the drive unit becomes larger than the reference value. Therefore, after setting the reference value, the detection unit determines that the maximum value of the voltage detected by the voltage detection unit when the switch is driven by the drive unit is higher than the rise of the voltage detected by the voltage detection unit. It can be detected that the external device is disconnected when the amount of exceeding with a delay is larger than the second predetermined value.

第9の手段では、前記検知部は、前記基準値の設定後に、前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧の最大値が前記基準値を、前記電圧検出部により検出された前記電圧の立ち上がりと同時に上回った量が第3所定値よりも大きい場合に、前記外部接続端子から前記外部機器が外れたと検知する。 In the ninth means, after setting the reference value, the detection unit detects the reference value as the maximum value of the voltage detected by the voltage detection unit when the switch is driven by the drive unit. It is detected that the external device is disconnected from the external connection terminal when the amount of the voltage detected by the voltage detection unit that exceeds the voltage at the same time as the rise is larger than a third predetermined value.

基準値の設定後に、外部接続端子から外部機器が外れた場合は、駆動部によりスイッチが駆動された際に電圧検出部により検出される電圧の最大値が基準値よりも大きくなる。さらに、電圧検出部により検出される電圧は、外部接続端子に印加される電圧にその立ち上がりと同時に、外部接続端子で反射された電圧が重ね合わされた電圧となる。したがって、検知部は、基準値の設定後に、駆動部によりスイッチが駆動された際に電圧検出部により検出された電圧の最大値が基準値を、電圧検出部により検出された電圧の立ち上がりと同時に上回った量が第3所定値よりも大きい場合に、外部接続端子から外部機器が外れたと検知することができる。 When the external device is disconnected from the external connection terminal after setting the reference value, the maximum value of the voltage detected by the voltage detection unit when the switch is driven by the drive unit becomes larger than the reference value. Furthermore, the voltage detected by the voltage detection unit is a voltage in which the voltage applied to the external connection terminal is superimposed with the voltage reflected by the external connection terminal at the same time as the voltage rises. Therefore, after setting the reference value, the detection section detects the maximum value of the voltage detected by the voltage detection section when the switch is driven by the drive section. When the exceeded amount is larger than the third predetermined value, it can be detected that the external device is disconnected from the external connection terminal.

ロボット、コントローラ、及びPLCを示す模式図。The schematic diagram which shows a robot, a controller, and PLC. 外部接続端子の正極端子に印加される電圧を示すタイムチャート。4 is a time chart showing the voltage applied to the positive terminal of the external connection terminal; 外部接続端子への接続なしの場合の検出電圧を示すタイムチャート。The time chart which shows the detection voltage in the case of no connection to an external connection terminal. 外部接続端子への接続ありの場合の検出電圧を示すタイムチャート。The time chart which shows the detection voltage when there is a connection to the external connection terminal. 異常検知の手順を示すフローチャート。4 is a flowchart showing a procedure of abnormality detection; 基準値の設定後にPLCが短絡した場合の検出電圧を示すタイムチャート。4 is a time chart showing the detected voltage when the PLC is short-circuited after setting the reference value; 基準値の設定後に外部接続端子からPLCが外れた場合の検出電圧を示すタイムチャート。6 is a time chart showing the detected voltage when the PLC is disconnected from the external connection terminal after setting the reference value; 基準値の設定後にPLCが断線した場合の検出電圧を示すタイムチャート。4 is a time chart showing the detected voltage when the PLC is disconnected after setting the reference value;

以下、ロボットのコントローラに具現化した一実施形態について、図面を参照して説明する。 An embodiment embodied in a robot controller will be described below with reference to the drawings.

図1に示すように、コントローラ20はロボット10に接続されている。ロボット10(産業機器)は、例えば多関節型のロボットであり、ワーク等に対して作業を行う。ロボット10の動作は、コントローラ20によりコントロール(制御)される。 As shown in FIG. 1, controller 20 is connected to robot 10 . The robot 10 (industrial equipment) is, for example, an articulated robot, and performs work on a workpiece or the like. The motion of the robot 10 is controlled by the controller 20 .

コントローラ20は、CPU、ROM、RAM、駆動回路、及び検出回路等を備えるコンピュータとして構成されている。コントローラ20は、ロボット10の状態を検出し、検出した状態に基づいてロボット10をコントロールする。コントローラ20により、駆動部21、電圧検出部22、及び検知部23の機能が実現される。 The controller 20 is configured as a computer including a CPU, ROM, RAM, drive circuit, detection circuit, and the like. The controller 20 detects the state of the robot 10 and controls the robot 10 based on the detected state. The controller 20 realizes the functions of the driving section 21 , the voltage detecting section 22 and the detecting section 23 .

コントローラ20は、電源24、スイッチ25、可変抵抗26、外部接続端子27等を備えている。電源24は、商用電源から供給される電圧を変圧する電源回路であってもよいし、電池等であってもよい。電源24は所定電圧(例えば24V)を供給する。スイッチ25は、半導体スイッチング素子であってもよいし、リレー等であってもよい。可変抵抗26(抵抗)は、検知部23の指令により抵抗値の大きさを変更可能である。外部接続端子27は、外部機器を接続可能なコネクタにより構成されている。 The controller 20 includes a power source 24, a switch 25, a variable resistor 26, external connection terminals 27, and the like. The power supply 24 may be a power supply circuit that transforms the voltage supplied from a commercial power supply, or may be a battery or the like. A power supply 24 supplies a predetermined voltage (for example, 24V). The switch 25 may be a semiconductor switching element, a relay, or the like. The variable resistor 26 (resistor) can change the magnitude of the resistance value according to a command from the detection unit 23 . The external connection terminal 27 is configured by a connector to which an external device can be connected.

可変抵抗26は、スイッチ25を介して電源24に接続されている。外部接続端子27の正極端子は、可変抵抗26を介してスイッチ25に接続されている。すなわち、外部接続端子27の正極端子は、スイッチ25を介して電源24に接続されている。外部接続端子27の負極端子は、アースに接続されている。スイッチ25は、電源24と、可変抵抗26及び外部接続端子27の正極端子とを、接続及び遮断する。スイッチ25は、駆動部21により駆動される。 Variable resistor 26 is connected to power supply 24 via switch 25 . A positive terminal of the external connection terminal 27 is connected to the switch 25 via the variable resistor 26 . That is, the positive terminal of the external connection terminal 27 is connected to the power supply 24 via the switch 25 . A negative terminal of the external connection terminal 27 is grounded. The switch 25 connects and disconnects the power source 24 and the variable resistor 26 and the positive terminal of the external connection terminal 27 . The switch 25 is driven by the driving section 21 .

駆動部21は、スイッチ25をオンパルス信号により駆動する。これにより、外部接続端子27の正極端子には、図2に示すように、電源24からの電圧V1がパルス状に印加される。駆動部21は、スイッチ25をオンパルス信号により周期的に、詳しくは一定周期で駆動する。 The drive unit 21 drives the switch 25 with an on-pulse signal. As a result, the voltage V1 from the power supply 24 is applied to the positive terminal of the external connection terminal 27 in a pulse form, as shown in FIG. The drive unit 21 drives the switch 25 periodically, more specifically, in a constant cycle, by the on-pulse signal.

電圧検出部22は、スイッチ25と外部接続端子27の正極端子との間、詳しくは可変抵抗26と外部接続端子27の正極端子との間の検出点Pの電圧を検出する。電圧検出部22は、検出点Pの電圧を逐次検出して、検出電圧を検知部23へ出力する。 The voltage detection unit 22 detects the voltage at the detection point P between the switch 25 and the positive terminal of the external connection terminal 27 , more specifically, between the variable resistor 26 and the positive terminal of the external connection terminal 27 . The voltage detection section 22 sequentially detects the voltage at the detection point P and outputs the detected voltage to the detection section 23 .

検知部23は、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧に基づいて、スイッチ25の異常を検知する。 The detection unit 23 detects an abnormality of the switch 25 based on the voltage detected by the voltage detection unit 22 when the switch 25 is driven by the drive unit 21 .

駆動部21がオンパルス信号によりスイッチ25を駆動した際に、スイッチ25が正常である場合は、電圧検出部22により検出される電圧はパルス状となる。一方、スイッチ25がオン固着(オン状態で固定されて動かない異常発生)している場合は、電圧検出部22により検出される電圧は上記電圧V1(一定の所定電圧)となる。このため、検知部23は、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧が電圧V1で一定である場合に、スイッチ25がオン固着していると検知する。 When the switch 25 is normal when the drive unit 21 drives the switch 25 with the on-pulse signal, the voltage detected by the voltage detection unit 22 is pulse-shaped. On the other hand, when the switch 25 is stuck in the ON state (an abnormality occurs in which the switch 25 is fixed in the ON state and does not move), the voltage detected by the voltage detection unit 22 is the voltage V1 (a constant predetermined voltage). Therefore, the detection unit 23 detects that the switch 25 is stuck on when the voltage detected by the voltage detection unit 22 is constant at the voltage V1 when the switch 25 is driven by the drive unit 21. .

また、スイッチ25がオフ固着(オフ状態で固定されて動かない異常発生)している場合は、電圧検出部22により検出される電圧は0で一定となる。このため、検知部23は、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧が0で一定である場合に、スイッチ25がオフ固着していると検知する。 Further, when the switch 25 is stuck in the off state (abnormal occurrence of the switch 25 being fixed in the off state and not moving), the voltage detected by the voltage detection unit 22 is 0 and constant. Therefore, when the voltage detected by the voltage detection unit 22 is constant at 0 when the switch 25 is driven by the driving unit 21, the detection unit 23 detects that the switch 25 is stuck off.

一般にインピーダンスの異なる境界では、電圧の反射が起きる。このため、外部接続端子27に外部機器が接続されていない場合は、外部接続端子27の正極端子に印加された電圧が外部接続端子27の正極端子で反射される。このとき、電圧検出部22により検出される電圧は、図3に示すように、外部接続端子27の正極端子に印加される電圧V1に、外部接続端子27の正極端子で反射された電圧V2が重ね合わされた電圧となる。ここで、インピーダンスZ1からインピーダンスZ2に変化する場合に、電圧が反射される際の反射係数Γは以下の式で表される。すなわち、インピーダンスZ2で反射される電圧の大きさは、インピーダンスZ2が、インピーダンスZ1に対して、相対的に小さいほど小さくなり、相対的に大きいほど大きくなる。 In general, voltage reflection occurs at boundaries of different impedances. Therefore, when an external device is not connected to the external connection terminal 27 , the voltage applied to the positive terminal of the external connection terminal 27 is reflected by the positive terminal of the external connection terminal 27 . At this time, the voltage detected by the voltage detection unit 22 is, as shown in FIG. resulting in a superimposed voltage. Here, when the impedance changes from Z1 to Z2, the reflection coefficient .GAMMA. when the voltage is reflected is expressed by the following equation. That is, the magnitude of the voltage reflected by the impedance Z2 decreases as the impedance Z2 is relatively smaller than the impedance Z1, and increases as the impedance Z2 is relatively greater.

Γ=(Z2-Z1)/(Z2+Z1)
外部接続端子27に外部機器が接続されていない場合は、外部接続端子27の正極端子においてインピーダンスZ2が無限大(極めて大きな値)となる。インピーダンスZ1は可変抵抗26の抵抗値である。このため、反射係数Γ=1となり、図3に示すように、外部接続端子27の正極端子に印加される電圧V1に、外部接続端子27の正極端子で反射された電圧V2が重ね合わされた電圧は2V1となる。また、検出点Pと外部接続端子27の正極端子との距離が短い(0とみなせる)ため、外部接続端子27の正極端子に印加される電圧V1にその立ち上がりと同時に、外部接続端子27の正極端子で反射された電圧V2が重ね合わされる。
Γ=(Z2−Z1)/(Z2+Z1)
When no external device is connected to the external connection terminal 27, the impedance Z2 at the positive terminal of the external connection terminal 27 becomes infinite (extremely large value). Impedance Z1 is the resistance value of variable resistor 26 . Therefore, the reflection coefficient Γ=1, and as shown in FIG. becomes 2V1. In addition, since the distance between the detection point P and the positive terminal of the external connection terminal 27 is short (can be regarded as 0), the voltage V1 applied to the positive terminal of the external connection terminal 27 rises to the positive terminal of the external connection terminal 27 at the same time. The voltage V2 reflected at the terminals is superimposed.

したがって、検知部23は、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧が、外部接続端子27の正極端子に印加される電圧V1よりも高く設定された電圧Vr3(第3電圧)を、電圧検出部22により検出された電圧の立ち上がりと同時に超えた場合に、外部接続端子27の正極端子に外部機器が接続されていないと検知する。電圧Vr3は、可変抵抗26の抵抗値に基づいて設定されており、例えば1.5V1である。 Therefore, the detection unit 23 detects that the voltage detected by the voltage detection unit 22 when the switch 25 is driven by the drive unit 21 is set higher than the voltage V1 applied to the positive terminal of the external connection terminal 27. When Vr3 (third voltage) is exceeded at the same time as the voltage detected by the voltage detection unit 22 rises, it is detected that the positive terminal of the external connection terminal 27 is not connected to an external device. The voltage Vr3 is set based on the resistance value of the variable resistor 26, and is 1.5V1, for example.

PLC(Programmable Logic Controller)30は、ロボット10の動作及び停止をコントローラ20へ指令する。PLC30(外部機器)には、図示しない上位のコントローラ等が接続されている。PLC30は、フォトカプラ31、抵抗32、正極ケーブル33A、負極ケーブル33B、及びコネクタ34等を備えている。 A PLC (Programmable Logic Controller) 30 commands the controller 20 to operate and stop the robot 10 . The PLC 30 (external device) is connected to a host controller and the like (not shown). The PLC 30 includes a photocoupler 31, a resistor 32, a positive cable 33A, a negative cable 33B, a connector 34, and the like.

フォトカプラ31は、発光ダイオード31aとフォトトランジスタ31bとを備えている。発光ダイオード31aのアノードは、抵抗32を介して正極ケーブル33Aに接続されている。発光ダイオード31aのカソードは、負極ケーブル33Bに接続されている。正極ケーブル33A及び負極ケーブル33Bの先端には、コネクタ34が取り付けられている。 The photocoupler 31 includes a light emitting diode 31a and a phototransistor 31b. The anode of the light emitting diode 31a is connected via a resistor 32 to the positive electrode cable 33A. The cathode of the light emitting diode 31a is connected to the negative electrode cable 33B. Connectors 34 are attached to the ends of the positive electrode cable 33A and the negative electrode cable 33B.

コントローラ20の外部接続端子27にコネクタ34が接続されている。これにより、外部接続端子27の正極端子に正極ケーブル33Aが接続され、負極端子に負極ケーブル33Bが接続されている。 A connector 34 is connected to the external connection terminal 27 of the controller 20 . Thus, the positive cable 33A is connected to the positive terminal of the external connection terminal 27, and the negative cable 33B is connected to the negative terminal.

ここで、正極ケーブル33Aが短絡したり、ケーブル33A,33Bが断線したりするおそれがある。また、見かけ上は外部接続端子27にコネクタ34が接続されていても、正極端子に正極ケーブル33Aが接続されていなかったり、負極端子に負極ケーブル33Bが接続されていなかったりするおそれがある。 Here, the positive electrode cable 33A may be short-circuited, or the cables 33A and 33B may be disconnected. Also, even if the connector 34 is apparently connected to the external connection terminal 27, the positive cable 33A may not be connected to the positive terminal, or the negative cable 33B may not be connected to the negative terminal.

本実施形態では、検知部23は、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧に基づいて、PLC30の異常を検知する。 In this embodiment, the detection unit 23 detects an abnormality of the PLC 30 based on the voltage detected by the voltage detection unit 22 when the switch 25 is driven by the drive unit 21 .

駆動部21がオンパルス信号によりスイッチ25を駆動した際に、外部接続端子27にPLC30が接続されている場合は、外部接続端子27の正極端子に印加された電圧V1が、PLC30の抵抗32で反射される。このため、電圧検出部22により検出される電圧は、図4に示すように、外部接続端子27の正極端子に印加される電圧V1に、PLC30の抵抗32で反射された電圧V3が重ね合わされた電圧となる。そして、外部接続端子27の正極端子に印加された電圧は、外部接続端子27よりも離れたPLC30の抵抗32で反射される。このため、電圧検出部22により検出される電圧は、外部接続端子27の正極端子に印加される電圧V1にその立ち上がりよりも遅れて、PLC30の抵抗32で反射された電圧V3が重ね合わされた電圧となる。したがって、検知部23は、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧が、外部接続端子27の正極端子に印加される電圧よりも高く設定された電圧Vr4(第4電圧)を、電圧検出部22により検出された電圧の立ち上がりよりも遅れて超えた場合に、外部接続端子27にPLC30が接続されていると検知する。電圧Vr4は、可変抵抗26及び抵抗32の抵抗値に基づいて設定されており、例えば1.2V1である。 If the PLC 30 is connected to the external connection terminal 27 when the drive unit 21 drives the switch 25 with the on-pulse signal, the voltage V1 applied to the positive terminal of the external connection terminal 27 is reflected by the resistor 32 of the PLC 30. be done. Therefore, as shown in FIG. 4, the voltage detected by the voltage detection unit 22 is obtained by superimposing the voltage V1 applied to the positive terminal of the external connection terminal 27 and the voltage V3 reflected by the resistor 32 of the PLC 30. voltage. Then, the voltage applied to the positive terminal of the external connection terminal 27 is reflected by the resistor 32 of the PLC 30 that is farther from the external connection terminal 27 . Therefore, the voltage detected by the voltage detection unit 22 is a voltage obtained by superimposing the voltage V1 applied to the positive terminal of the external connection terminal 27 and the voltage V3 reflected by the resistor 32 of the PLC 30 with a delay from the rise of the voltage V1. becomes. Therefore, the detection unit 23 determines that the voltage detected by the voltage detection unit 22 when the switch 25 is driven by the drive unit 21 is a voltage Vr4 set higher than the voltage applied to the positive terminal of the external connection terminal 27 . When the (fourth voltage) is exceeded with a delay from the rise of the voltage detected by the voltage detection unit 22 , it is detected that the PLC 30 is connected to the external connection terminal 27 . The voltage Vr4 is set based on the resistance values of the variable resistor 26 and the resistor 32, and is 1.2V1, for example.

駆動部21がオンパルス信号によりスイッチ25を駆動した際に、PLC30の正極ケーブル33Aが短絡している場合は、外部接続端子27の正極端子に印加された電圧V1が反射されない。このため、電圧検出部22により検出される電圧は、外部接続端子27の正極端子に印加される電圧V1となる。したがって、検知部23は、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧が、外部接続端子27の正極端子に印加される電圧V1に等しいとみなせることを判定する電圧Vr1(第1電圧)未満である場合に、PLC30の正極ケーブル33Aが短絡していると検知する。電圧Vr1は、可変抵抗26の抵抗値に基づいて設定されており、例えば1.2V1である。 If the positive cable 33A of the PLC 30 is short-circuited when the drive unit 21 drives the switch 25 with the on-pulse signal, the voltage V1 applied to the positive terminal of the external connection terminal 27 is not reflected. Therefore, the voltage detected by the voltage detector 22 is the voltage V1 applied to the positive terminal of the external connection terminal 27 . Therefore, the detection unit 23 determines that the voltage detected by the voltage detection unit 22 when the switch 25 is driven by the drive unit 21 can be considered to be equal to the voltage V1 applied to the positive terminal of the external connection terminal 27. If the voltage is less than the voltage Vr1 (first voltage) to be applied, it is detected that the positive electrode cable 33A of the PLC 30 is short-circuited. The voltage Vr1 is set based on the resistance value of the variable resistor 26, and is 1.2 V1, for example.

外部接続端子27に接続されたPLC30の正極ケーブル33A及び負極ケーブル33Bの少なくとも一方が断線している場合は、外部接続端子27の正極端子に印加された電圧V1が、外部接続端子27の正極端子よりも離れたPLC30の断線部で反射される。このため、電圧検出部22により検出される電圧は、外部接続端子27の正極端子に印加される電圧にその立ち上がりよりも遅れて、PLC30の断線部で反射された電圧が重ね合わされた電圧となる。したがって、検知部23は、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧が、外部接続端子27の正極端子に印加される電圧V1よりも高く設定された電圧Vr2(第2電圧)を、電圧検出部22により検出された電圧の立ち上がりよりも遅れて超えた場合に、PLC30が断線していると検知することができる。電圧Vr2は、可変抵抗26及び抵抗32の抵抗値に基づいて設定されており、例えば1.5V1である。 When at least one of the positive cable 33A and the negative cable 33B of the PLC 30 connected to the external connection terminal 27 is disconnected, the voltage V1 applied to the positive terminal of the external connection terminal 27 is applied to the positive terminal of the external connection terminal 27. is reflected at the disconnected portion of the PLC 30 that is more distant than the . Therefore, the voltage detected by the voltage detection unit 22 is a voltage in which the voltage applied to the positive electrode terminal of the external connection terminal 27 is superimposed with the voltage reflected at the disconnection portion of the PLC 30 with a delay from the rise of the voltage. . Therefore, the detection unit 23 detects that the voltage detected by the voltage detection unit 22 when the switch 25 is driven by the drive unit 21 is set higher than the voltage V1 applied to the positive terminal of the external connection terminal 27. When Vr2 (second voltage) is exceeded with a delay from the rise of the voltage detected by the voltage detection unit 22, it can be detected that the PLC 30 is disconnected. The voltage Vr2 is set based on the resistance values of the variable resistor 26 and the resistor 32, and is 1.5V1, for example.

図5は、異常検知の詳細な手順を示すフローチャートである。この一連の処理は、駆動部21によるスイッチ25の周期的な駆動に同期して、検知部23によって実行される。 FIG. 5 is a flow chart showing detailed procedures of abnormality detection. This series of processes is executed by the detection unit 23 in synchronization with the periodical driving of the switch 25 by the drive unit 21 .

まず、駆動部21によりスイッチ25が駆動される(S10)。駆動部21は、スイッチ25をオンパルス信号により一定周期で駆動している。電圧検出部22により検出点Pの電圧を検出させる(S11)。電圧検出部22は、検出電圧を検知部23へ出力する。 First, the switch 25 is driven by the drive unit 21 (S10). The drive unit 21 drives the switch 25 with an on-pulse signal at a constant cycle. The voltage at the detection point P is detected by the voltage detector 22 (S11). Voltage detector 22 outputs the detected voltage to detector 23 .

検出電圧に基づいて、反射電圧が検出電圧の立ち上がりよりも遅れているか否か判定する(S12)。具体的には、図4に示すように、検出電圧が上記電圧Vr4を、検出電圧の立ち上がりよりも遅れて超えた場合に、反射電圧V3が検出電圧の立ち上がりよりも遅れていると判定する。一方、図3に示すように、検出電圧が電圧Vr3(>Vr4)を、検出電圧の立ち上がりと同時に超えた場合に、反射電圧V2が検出電圧の立ち上がりよりも遅れていないと判定する。なお、図2に示すように、検出電圧が電圧Vr4を超えない場合は、PLC30の正極ケーブル33Aが短絡していると検知し、この一連の処理を終了してもよい。 Based on the detected voltage, it is determined whether or not the reflected voltage lags behind the rise of the detected voltage (S12). Specifically, as shown in FIG. 4, when the detected voltage exceeds the voltage Vr4 with a delay from the rise of the detected voltage, it is determined that the reflected voltage V3 is delayed from the rise of the detected voltage. On the other hand, as shown in FIG. 3, when the detected voltage exceeds the voltage Vr3 (>Vr4) at the same time as the detected voltage rises, it is determined that the reflected voltage V2 does not lag behind the rise of the detected voltage. As shown in FIG. 2, when the detected voltage does not exceed the voltage Vr4, it may be detected that the positive electrode cable 33A of the PLC 30 is short-circuited, and this series of processing may be terminated.

S12の判定において、反射電圧が検出電圧の立ち上がりよりも遅れていないと判定した場合(S12:NO)、外部接続端子27に外部機器(PLC30)が接続されていないと検知する(S13)。そして、この一連の処理を終了する(END)。 If it is determined in S12 that the reflected voltage does not lag behind the rise of the detected voltage (S12: NO), it is detected that the external device (PLC 30) is not connected to the external connection terminal 27 (S13). Then, this series of processing ends (END).

一方、S12の判定において、反射電圧が検出電圧の立ち上がりよりも遅れていると判定した場合(S12:YES)、可変抵抗26の抵抗値を所定抵抗値だけ増大させる(S14)。可変抵抗26の抵抗値の初期値は、可変抵抗26が取り得る抵抗値の最小値に設定されている。上記所定抵抗値は、可変抵抗26の抵抗値の初期値及び抵抗32の抵抗値に基づいて、予め設定されている。駆動部21によりスイッチ25が駆動され(S15)、電圧検出部22により検出点Pの電圧を検出させる(S16)。 On the other hand, if it is determined in S12 that the reflected voltage lags behind the rise of the detected voltage (S12: YES), the resistance value of the variable resistor 26 is increased by a predetermined resistance value (S14). The initial resistance value of the variable resistor 26 is set to the minimum possible resistance value of the variable resistor 26 . The predetermined resistance value is preset based on the initial resistance value of the variable resistor 26 and the resistance value of the resistor 32 . The switch 25 is driven by the driving section 21 (S15), and the voltage at the detection point P is detected by the voltage detecting section 22 (S16).

続いて、検出電圧から算出される反射電圧が、S11の処理で検出された初期反射電圧から半減したか否か判定する(S17)。反射電圧は、検出電圧の最大値から、外部接続端子27の正極端子に印加される電圧V1を引くことにより算出する。この判定において、反射電圧が初期反射電圧から半減していないと判定した場合(S17:NO)、S14の処理から再度実行する。 Subsequently, it is determined whether or not the reflected voltage calculated from the detected voltage has decreased by half from the initial reflected voltage detected in the process of S11 (S17). The reflected voltage is calculated by subtracting the voltage V1 applied to the positive terminal of the external connection terminal 27 from the maximum detected voltage. In this determination, if it is determined that the reflected voltage is not halved from the initial reflected voltage (S17: NO), the process is executed again from S14.

一方、S17の判定において、反射電圧が初期反射電圧から半減したと判定した場合(S17:YES)、その時の検出電圧の最大値を基準値に設定する(S18)。駆動部21によりスイッチ25が駆動され(S19)、電圧検出部22により検出点Pの電圧を検出させる(S20)。 On the other hand, if it is determined in S17 that the reflected voltage has halved from the initial reflected voltage (S17: YES), the maximum value of the detected voltage at that time is set as the reference value (S18). The switch 25 is driven by the drive section 21 (S19), and the voltage at the detection point P is detected by the voltage detection section 22 (S20).

続いて、検出電圧の最大値の変化量が所定値を上回るか否か判定する(S21)。具体的には、検出電圧の最大値が基準値を下回った量が第1所定値よりも大きい場合、又は検出電圧の最大値が基準値を上回った量が第2所定値よりも大きい場合に、検出電圧の最大値の変化量が所定値を上回ると判定する。第1所定値,第2所定値は、初期反射電圧に基づいて予め設定されており、例えば初期反射電圧の1/4に設定されている。第1所定値,第2所定値は初期反射電圧の1/4に限らず、また第1所定値と第2所定値とが異なっていてもよい。この判定において、検出電圧の最大値の変化量が所定値を上回らないと判定した場合(S21:NO)、S19の処理から再度実行する。 Next, it is determined whether or not the amount of change in the maximum value of the detected voltage exceeds a predetermined value (S21). Specifically, when the amount by which the maximum value of the detected voltage is less than the reference value is greater than a first predetermined value, or when the amount by which the maximum value of the detected voltage is greater than the reference value is greater than a second predetermined value , determines that the amount of change in the maximum value of the detected voltage exceeds a predetermined value. The first predetermined value and the second predetermined value are set in advance based on the initial reflected voltage, and are set to 1/4 of the initial reflected voltage, for example. The first predetermined value and the second predetermined value are not limited to 1/4 of the initial reflected voltage, and the first predetermined value and the second predetermined value may be different. In this determination, if it is determined that the amount of change in the maximum value of the detected voltage does not exceed the predetermined value (S21: NO), the process from S19 is executed again.

一方、S21の判定において、検出電圧の最大値の変化量が所定値を上回ると判定した場合(S21:YES)、検出電圧の最大値が増加したか否か判定する(S22)。この判定において、検出電圧の最大値が増加していないと判定した場合(S22:NO)、外部機器が短絡したと検知し、その旨を報知する(S23)。すなわち、図6に示すように、検出電圧の最大値が基準値を下回った量が第1所定値よりも大きい場合、PLC30の正極ケーブル33Aが基準値の設定後に短絡したと検知する。その後、この一連の処理を終了する(END)。 On the other hand, if it is determined in S21 that the amount of change in the maximum value of the detected voltage exceeds the predetermined value (S21: YES), it is determined whether the maximum value of the detected voltage has increased (S22). In this determination, if it is determined that the maximum value of the detected voltage has not increased (S22: NO), it is detected that the external device has short-circuited, and that effect is reported (S23). That is, as shown in FIG. 6, when the amount by which the maximum value of the detected voltage falls below the reference value is greater than the first predetermined value, it is detected that the positive electrode cable 33A of the PLC 30 is short-circuited after setting the reference value. After that, this series of processing ends (END).

また、S22の判定において、検出電圧の最大値が増加したと判定した場合(S22:YES)、検出電圧に基づいて、反射電圧が検出電圧の立ち上がりよりも遅れているか否か判定する(S24)。この判定において、反射電圧が検出電圧の立ち上がりよりも遅れていないと判定した場合(S24:NO)、外部機器が外部接続端子27から外れたと検知し、その旨を報知する(S25)。すなわち、図7に示すように、検出電圧の最大値が基準値を上回った量が第2所定値よりも大きく、且つ反射電圧が検出電圧の立ち上がりよりも遅れていない場合、PLC30が外部接続端子27から外れたと検知する。換言すれば、基準値の設定後に、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧の最大値が基準値を、電圧検出部22により検出された電圧の立ち上がりと同時に上回った量が第2所定値(=第3所定値)よりも大きい場合に、外部接続端子27からPLC30が外れたと検知する。その後、この一連の処理を終了する(END)。 If it is determined in S22 that the maximum value of the detected voltage has increased (S22: YES), it is determined based on the detected voltage whether or not the reflected voltage lags behind the rise of the detected voltage (S24). . In this determination, if it is determined that the reflected voltage does not lag behind the rising edge of the detected voltage (S24: NO), it is detected that the external device is disconnected from the external connection terminal 27, and that fact is notified (S25). That is, as shown in FIG. 7, when the amount by which the maximum value of the detected voltage exceeds the reference value is greater than the second predetermined value and the reflected voltage does not lag behind the rise of the detected voltage, the PLC 30 is connected to the external connection terminal. 27 is detected. In other words, after setting the reference value, the maximum value of the voltage detected by the voltage detection unit 22 when the drive unit 21 drives the switch 25 is the reference value, and the rise of the voltage detected by the voltage detection unit 22 is the reference value. At the same time, when the exceeded amount is larger than the second predetermined value (=third predetermined value), it is detected that the PLC 30 is disconnected from the external connection terminal 27 . After that, this series of processing ends (END).

一方、S24の判定において、反射電圧が検出電圧の立ち上がりよりも遅れていると判定した場合(S24:YES)、外部機器が断線したと検知し、その旨を報知する(S26)。すなわち、図8に示すように、検出電圧の最大値が基準値を上回った量が第2所定値よりも大きく、且つ反射電圧が検出電圧の立ち上がりよりも遅れている場合、PLC30の正極ケーブル33A及び負極ケーブル33Bの少なくとも一方が断線したと検知する。換言すれば、基準値の設定後に、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧の最大値が基準値を、電圧検出部22により検出された電圧の立ち上がりよりも遅れて上回った量が第2所定値よりも大きい場合に、PLC30の正極ケーブル33A及び負極ケーブル33Bの少なくとも一方が断線したと検知する。その後、この一連の処理を終了する(END)。 On the other hand, if it is determined in S24 that the reflected voltage lags behind the rise of the detected voltage (S24: YES), it is detected that the external device has disconnected, and that effect is reported (S26). That is, as shown in FIG. 8, when the amount by which the maximum value of the detected voltage exceeds the reference value is greater than the second predetermined value and the reflected voltage lags behind the rise of the detected voltage, the positive electrode cable 33A of the PLC 30 and at least one of the negative cable 33B is disconnected. In other words, after setting the reference value, the maximum value of the voltage detected by the voltage detection unit 22 when the drive unit 21 drives the switch 25 is the reference value, and the rise of the voltage detected by the voltage detection unit 22 is the reference value. When the amount exceeding the second predetermined value is larger than the second predetermined value, it is detected that at least one of the positive electrode cable 33A and the negative electrode cable 33B of the PLC 30 is disconnected. After that, this series of processing ends (END).

以上詳述した本実施形態は、以下の利点を有する。 The embodiment detailed above has the following advantages.

・検知部23は、内部のスイッチ25の異常を検知する回路(電源24、駆動部21、及び電圧検出部22)を利用して、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧に基づいて、スイッチ25の異常を検知することができる。具体的には、検知部23は、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧が電圧V1で一定である場合に、スイッチ25がオン固着していると検知することができる。また、検知部23は、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧が0で一定である場合に、スイッチ25がオフ固着していると検知することができる。 The detection unit 23 uses a circuit (power source 24, drive unit 21, and voltage detection unit 22) that detects an abnormality in the internal switch 25 to detect the voltage detection unit when the switch 25 is driven by the drive unit 21. Abnormality of switch 25 can be detected based on the voltage detected by 22 . Specifically, when the voltage detected by the voltage detection unit 22 is constant at the voltage V1 when the switch 25 is driven by the drive unit 21, the detection unit 23 determines that the switch 25 is stuck on. can be detected. Further, when the voltage detected by the voltage detection unit 22 is constant at 0 when the switch 25 is driven by the drive unit 21, the detection unit 23 can detect that the switch 25 is stuck off. can.

・駆動部21がオンパルス信号によりスイッチ25を駆動した際に、外部接続端子27にPLC30が接続されている場合は、外部接続端子27に印加された電圧が、PLC30の抵抗32で反射される。このため、電圧検出部22により検出される電圧は、外部接続端子27に印加される電圧V1に、PLC30の抵抗32で反射された電圧が重ね合わされた電圧となる。また、PLC30が短絡している場合は、外部接続端子27に印加された電圧が反射されない。このため、電圧検出部22により検出される電圧は、外部接続端子27に印加される電圧V1となる。したがって、検知部23は、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧に基づいて、外部接続端子27に接続されたPLC30の異常を検知することができる。しかも、スイッチ25と外部接続端子27との間の検出点Pの電圧を電圧検出部22により検出しているため、1つの検出点Pの電圧に基づいて、スイッチ25及びPLC30の双方の異常を検知することができる。 If the PLC 30 is connected to the external connection terminal 27 when the drive unit 21 drives the switch 25 with the on-pulse signal, the voltage applied to the external connection terminal 27 is reflected by the resistor 32 of the PLC 30 . Therefore, the voltage detected by the voltage detection unit 22 is a voltage obtained by superimposing the voltage V<b>1 applied to the external connection terminal 27 and the voltage reflected by the resistor 32 of the PLC 30 . Also, when the PLC 30 is short-circuited, the voltage applied to the external connection terminal 27 is not reflected. Therefore, the voltage detected by the voltage detection section 22 is the voltage V1 applied to the external connection terminal 27 . Therefore, the detection unit 23 can detect an abnormality in the PLC 30 connected to the external connection terminal 27 based on the voltage detected by the voltage detection unit 22 when the switch 25 is driven by the drive unit 21 . Moreover, since the voltage at the detection point P between the switch 25 and the external connection terminal 27 is detected by the voltage detection unit 22, based on the voltage at one detection point P, an abnormality in both the switch 25 and the PLC 30 can be detected. can be detected.

・検知部23は、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧が、外部接続端子27に印加される電圧V1に等しいとみなせることを判定する第1電圧(基準値-第1所定値)未満である場合に、PLC30が短絡していると検知することができる。 The detection unit 23 determines that the voltage detected by the voltage detection unit 22 when the switch 25 is driven by the drive unit 21 can be considered to be equal to the voltage V1 applied to the external connection terminal 27. A first voltage If it is less than (reference value-first predetermined value), it can be detected that the PLC 30 is short-circuited.

・検知部23は、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧が、外部接続端子27に印加される電圧V1よりも高く設定された第2電圧(基準値+第2所定値)を、電圧検出部22により検出された電圧の立ち上がりよりも遅れて超えた場合に、PLC30が断線していると検知することができる。 The detection unit 23 detects a second voltage (reference voltage) in which the voltage detected by the voltage detection unit 22 when the switch 25 is driven by the drive unit 21 is set higher than the voltage V1 applied to the external connection terminal 27. value+second predetermined value) with a delay from the rise of the voltage detected by the voltage detection unit 22, it can be detected that the PLC 30 is disconnected.

・検知部23は、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧が、外部接続端子27に印加される電圧V1よりも高く設定された第3電圧(基準値+第2所定値)を、電圧検出部22により検出された電圧の立ち上がりと同時に超えた場合に、外部接続端子27にPLC30が接続されていない(外部接続端子27からPLC30が外れている)と検知することができる。 The detection unit 23 detects a third voltage (reference voltage) in which the voltage detected by the voltage detection unit 22 when the switch 25 is driven by the drive unit 21 is set higher than the voltage V1 applied to the external connection terminal 27 . value + second predetermined value) at the same time as the voltage detected by the voltage detection unit 22 rises, the PLC 30 is not connected to the external connection terminal 27 (the PLC 30 is disconnected from the external connection terminal 27). can be detected.

・外部接続端子27にPLC30が接続されていると推定できる場合に、可変抵抗26の抵抗値が初期値よりも増大されて、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧の最大値が基準値として設定される。その後にPLC30が短絡した場合は、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出される電圧の最大値が基準値よりも小さくなる。したがって、検知部23は、基準値の設定後に、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧の最大値が、基準値を下回った量が第1所定値よりも大きい場合に、PLC30が短絡したと検知することができる。 ・When it can be estimated that the PLC 30 is connected to the external connection terminal 27, the resistance value of the variable resistor 26 is increased from the initial value, and the voltage detection unit 22 detects the The maximum value of the detected voltage is set as the reference value. When the PLC 30 is short-circuited after that, the maximum value of the voltage detected by the voltage detection section 22 when the switch 25 is driven by the drive section 21 becomes smaller than the reference value. Therefore, after the reference value is set, the detection unit 23 determines that the maximum value of the voltage detected by the voltage detection unit 22 when the switch 25 is driven by the drive unit 21 falls below the reference value by the first predetermined value. , it can be detected that the PLC 30 has shorted.

・基準値の設定後に、PLC30が断線した場合は、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出される電圧の最大値が基準値よりも大きくなる。したがって、検知部23は、基準値の設定後に、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧の最大値が基準値を、電圧検出部22により検出された電圧の立ち上がりよりも遅れて上回った量が第2所定値よりも大きい場合に、PLC30が断線したと検知することができる。 - If the PLC 30 is disconnected after setting the reference value, the maximum value of the voltage detected by the voltage detection unit 22 when the switch 25 is driven by the drive unit 21 becomes larger than the reference value. Therefore, after setting the reference value, the detection unit 23 determines that the maximum value of the voltage detected by the voltage detection unit 22 when the switch 25 is driven by the drive unit 21 is the reference value. It can be detected that the PLC 30 is disconnected when the amount that exceeds the voltage with a delay from the rise of the voltage is larger than the second predetermined value.

・基準値の設定後に、外部接続端子27からPLC30が外れた場合は、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出される電圧の最大値が基準値よりも大きくなる。さらに、電圧検出部22により検出される電圧は、外部接続端子27に印加される電圧にその立ち上がりと同時に、外部接続端子27で反射された電圧が重ね合わされた電圧となる。したがって、検知部23は、基準値の設定後に、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧の最大値が基準値を、電圧検出部22により検出された電圧の立ち上がりと同時に上回った量が第3所定値(=第2所定値)よりも大きい場合に、外部接続端子27からPLC30が外れたと検知することができる。 ・If the PLC 30 is disconnected from the external connection terminal 27 after setting the reference value, the maximum value of the voltage detected by the voltage detection unit 22 when the switch 25 is driven by the drive unit 21 becomes larger than the reference value. . Furthermore, the voltage detected by the voltage detection unit 22 is a voltage in which the voltage applied to the external connection terminal 27 and the voltage reflected by the external connection terminal 27 are superimposed at the same time as the voltage rises. Therefore, after setting the reference value, the detection unit 23 determines that the maximum value of the voltage detected by the voltage detection unit 22 when the switch 25 is driven by the drive unit 21 is the reference value. It can be detected that the PLC 30 is disconnected from the external connection terminal 27 when the amount that the voltage rises and exceeds is greater than the third predetermined value (=second predetermined value).

なお、上記実施形態を、以下のように変更して実施することもできる。上記実施形態と同一の部分については、同一の符号を付すことにより説明を省略する。 It should be noted that the above embodiment can be modified as follows. Parts that are the same as those in the above embodiment are denoted by the same reference numerals, and descriptions thereof are omitted.

・検知部23は、PLC30が短絡している(基準値の設定後に短絡した)との検知、及びPLC30が断線している(基準値の設定後に断線した)との検知の少なくとも1つを行うものであってもよい。また、検知部23は、基準値の設定後に、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧の最大値が、基準値を下回った量が第4所定値(<第1所定値)よりも大きい場合に、PLC30が短絡しかけていると検知してもよい。また、検知部23は、基準値の設定後に、駆動部21によりスイッチ25が駆動された際に電圧検出部22により検出された電圧の最大値が基準値を、電圧検出部22により検出された電圧の立ち上がりよりも遅れて上回った量が第5所定値(<第2所定値)よりも大きい場合に、PLC30が断線しかけていると検知してもよい。 The detection unit 23 performs at least one of detecting that the PLC 30 is short-circuited (short-circuited after setting the reference value) and that the PLC 30 is disconnected (disconnected after setting the reference value). can be anything. Further, after setting the reference value, the detection unit 23 determines that the maximum value of the voltage detected by the voltage detection unit 22 when the switch 25 is driven by the driving unit 21 falls below the reference value by a fourth predetermined value. If it is larger than (<first predetermined value), it may be detected that the PLC 30 is about to short circuit. After setting the reference value, the detection unit 23 determines that the maximum value of the voltage detected by the voltage detection unit 22 when the switch 25 is driven by the drive unit 21 is the reference value. It may be detected that the PLC 30 is on the verge of disconnection when the amount that exceeds the rise of the voltage is greater than a fifth predetermined value (<second predetermined value).

・可変抵抗26に換えて固定抵抗を用いてもよい。その場合は、図5のS14~S18の処理を省略して、固定抵抗の抵抗値及び抵抗32の抵抗値に基づいて、基準値を予め設定しておけばよい。また、可変抵抗26を省略することもできる。その場合であっても、検知部23はPLC30が短絡しているとの検知を行うことができる。 - A fixed resistor may be used in place of the variable resistor 26 . In that case, the processing of S14 to S18 in FIG. Also, the variable resistor 26 can be omitted. Even in that case, the detection unit 23 can detect that the PLC 30 is short-circuited.

・外部接続端子27は、正極端子のみを備えていてもよい。そして、正極端子に発光ダイオード31aのアノードか接続され、PLC30において発光ダイオード31aのカソードがアースに接続されていてもよい。外部接続端子27は、外部出力端子に限らず、外部入力端子であってもよい。その場合、検知部23は、外部入力端子から信号が入力されない時期(期間)に、PLC30(外部機器)の異常を検知すればよい。 - The external connection terminal 27 may include only a positive terminal. The anode of the light emitting diode 31a may be connected to the positive terminal, and the cathode of the light emitting diode 31a in the PLC 30 may be grounded. The external connection terminal 27 is not limited to an external output terminal, and may be an external input terminal. In that case, the detection unit 23 may detect an abnormality in the PLC 30 (external device) during a period (period) in which no signal is input from the external input terminal.

・外部接続端子27に接続される外部機器は、PLC30に限らず、ティーチングペンダント(教示操作器)や、計測器(センサ)等であってもよい。 - The external device connected to the external connection terminal 27 is not limited to the PLC 30, and may be a teaching pendant (teaching operator), a measuring instrument (sensor), or the like.

・コントローラ20がコントロールする産業機器は、ロボット10に限らず、工作機械や、種々の製造装置等であってもよい。 - The industrial equipment controlled by the controller 20 is not limited to the robot 10, but may be a machine tool, various manufacturing equipment, or the like.

10…ロボット(産業機器)、20…コントローラ、21…駆動部、22…電圧検出部、23…検知部、24…電源、25…スイッチ、26…可変抵抗、27…外部接続端子、30…PLC(外部機器)、31…フォトカプラ、32…抵抗、33A…正極ケーブル、33B…負極ケーブル、34…コネクタ。 DESCRIPTION OF SYMBOLS 10... Robot (industrial equipment), 20... Controller, 21... Drive part, 22... Voltage detection part, 23... Detection part, 24... Power supply, 25... Switch, 26... Variable resistor, 27... External connection terminal, 30... PLC (External equipment), 31... Photocoupler, 32... Resistor, 33A... Positive cable, 33B... Negative cable, 34... Connector.

Claims (10)

スイッチと、
前記スイッチを介して電源に接続された外部接続端子と、
前記スイッチをオンパルス信号により駆動する駆動部と、
前記スイッチと前記外部接続端子との間の検出点の電圧を検出する電圧検出部と、
前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧に基づいて、前記スイッチの異常及び前記外部接続端子に接続された外部機器の異常を検知する検知部と、
を備え
前記検知部は、前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧が、前記外部接続端子に印加される電圧に等しいとみなせることを判定する第1電圧未満である場合に、前記外部機器が短絡していると検知する、産業機器のコントローラ。
a switch;
an external connection terminal connected to a power supply via the switch;
a driving unit that drives the switch with an on-pulse signal;
a voltage detection unit that detects a voltage at a detection point between the switch and the external connection terminal;
a detection unit that detects an abnormality in the switch and an abnormality in an external device connected to the external connection terminal based on the voltage detected by the voltage detection unit when the switch is driven by the drive unit;
with
The detection unit determines that the voltage detected by the voltage detection unit when the switch is driven by the drive unit is equal to the voltage applied to the external connection terminal. A controller for industrial equipment , which detects that the external equipment is short-circuited when .
前記検知部は、前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧が、前記外部接続端子に印加される電圧よりも高く設定された第3電圧を、前記電圧検出部により検出された前記電圧の立ち上がりと同時に超えた場合に、前記外部接続端子に外部機器が接続されていないと検知する、請求項1に記載の産業機器のコントローラ。 The detection unit detects a third voltage, which is set higher than the voltage applied to the external connection terminal, detected by the voltage detection unit when the switch is driven by the drive unit. 2. The controller for industrial equipment according to claim 1 , which detects that an external device is not connected to said external connection terminal when said voltage detected by said voltage detection unit exceeds said voltage at the same time said voltage rises. スイッチと、a switch;
前記スイッチを介して電源に接続された外部接続端子と、an external connection terminal connected to a power supply via the switch;
前記スイッチをオンパルス信号により駆動する駆動部と、a driving unit that drives the switch with an on-pulse signal;
前記スイッチと前記外部接続端子との間の検出点の電圧を検出する電圧検出部と、a voltage detection unit that detects a voltage at a detection point between the switch and the external connection terminal;
前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧に基づいて、前記スイッチの異常及び前記外部接続端子に接続された外部機器の異常を検知する検知部と、a detection unit that detects an abnormality in the switch and an abnormality in an external device connected to the external connection terminal based on the voltage detected by the voltage detection unit when the switch is driven by the drive unit;
を備え、with
前記検知部は、前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧が、前記外部接続端子に印加される電圧よりも高く設定された第3電圧を、前記電圧検出部により検出された前記電圧の立ち上がりと同時に超えた場合に、前記外部接続端子に外部機器が接続されていないと検知する、産業機器のコントローラ。The detection unit detects a third voltage, which is set higher than the voltage applied to the external connection terminal, detected by the voltage detection unit when the switch is driven by the drive unit. A controller for industrial equipment that detects that an external device is not connected to the external connection terminal when the voltage detected by the voltage detection unit exceeds the voltage at the same time as it rises.
前記検知部は、前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧が、前記外部接続端子に印加される電圧よりも高く設定された第2電圧を、前記電圧検出部により検出された前記電圧の立ち上がりよりも遅れて超えた場合に、前記外部機器が断線していると検知する、請求項1~3のいずれか1項に記載の産業機器のコントローラ。 The detection unit detects a second voltage, which is set higher than the voltage applied to the external connection terminal, detected by the voltage detection unit when the switch is driven by the drive unit. The controller for industrial equipment according to any one of claims 1 to 3, wherein the controller detects that the external equipment is disconnected when the voltage detected by the voltage detection unit exceeds the rise with a delay. スイッチと、
前記スイッチを介して電源に接続された外部接続端子と、
前記スイッチをオンパルス信号により駆動する駆動部と、
前記スイッチと前記外部接続端子との間の検出点の電圧を検出する電圧検出部と、
前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧が、前記外部接続端子に印加される電圧よりも高く設定された第3電圧を、前記電圧検出部により検出された前記電圧の立ち上がりと同時に超えた場合に、前記外部接続端子に外部機器が接続されていないと検知する検知部と、
を備える、産業機器のコントローラ。
a switch;
an external connection terminal connected to a power supply via the switch;
a driving unit that drives the switch with an on-pulse signal;
a voltage detection unit that detects a voltage at a detection point between the switch and the external connection terminal;
The voltage detected by the voltage detection unit when the switch is driven by the drive unit detects a third voltage set higher than the voltage applied to the external connection terminal by the voltage detection unit. a detection unit that detects that an external device is not connected to the external connection terminal when the voltage exceeds the applied voltage at the same time as the voltage rises;
A controller for industrial equipment, comprising:
スイッチと、
前記スイッチを介して電源に接続された外部接続端子と、
前記スイッチをオンパルス信号により駆動する駆動部と、
前記スイッチと前記外部接続端子との間の検出点の電圧を検出する電圧検出部と、
前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧に基づいて、前記スイッチの異常及び前記外部接続端子に接続された外部機器の異常を検知する検知部と、
を備え、
前記スイッチと前記検出点との間に可変抵抗が接続されており、
前記検知部は、
前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧が、前記外部接続端子に印加される電圧よりも高く設定された第4電圧を、前記電圧検出部により検出された前記電圧の立ち上がりよりも遅れて超えた場合に、前記可変抵抗の抵抗値を初期値よりも増大させて、前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧の最大値を基準値として設定し、
前記基準値の設定後に、前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧の最大値が、前記基準値を下回った量が第1所定値よりも大きい場合に、前記外部機器が短絡したと検知する、産業機器のコントローラ。
a switch;
an external connection terminal connected to a power supply via the switch;
a driving unit that drives the switch with an on-pulse signal;
a voltage detection unit that detects a voltage at a detection point between the switch and the external connection terminal;
a detection unit that detects an abnormality in the switch and an abnormality in an external device connected to the external connection terminal based on the voltage detected by the voltage detection unit when the switch is driven by the drive unit;
with
A variable resistor is connected between the switch and the detection point,
The detection unit is
The voltage detected by the voltage detection unit when the switch is driven by the drive unit detects a fourth voltage set higher than the voltage applied to the external connection terminal by the voltage detection unit. is detected by the voltage detection unit when the switch is driven by the drive unit by increasing the resistance value of the variable resistor from the initial value when the voltage exceeds the initial value after the rise of the voltage detected by the voltage detection unit. setting the maximum value of the voltage as a reference value,
After setting the reference value, the amount by which the maximum value of the voltage detected by the voltage detection unit when the switch is driven by the drive unit is less than the reference value is greater than a first predetermined value. and a controller for industrial equipment that detects that the external equipment is short-circuited.
前記検知部は、前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧が、前記外部接続端子に印加される電圧よりも高く設定された第4電圧を、前記電圧検出部により検出された前記電圧の立ち上がりよりも遅れて超えた場合に、前記外部接続端子に外部機器が接続されていると検知する、請求項1~5のいずれか1項に記載の産業機器のコントローラ。 The detection unit detects a fourth voltage, which is set higher than the voltage applied to the external connection terminal, detected by the voltage detection unit when the switch is driven by the drive unit. The industry according to any one of claims 1 to 5, wherein it detects that an external device is connected to the external connection terminal when the voltage detected by the voltage detection unit exceeds the rise with a delay. equipment controller. スイッチと、a switch;
前記スイッチを介して電源に接続された外部接続端子と、an external connection terminal connected to a power supply via the switch;
前記スイッチをオンパルス信号により駆動する駆動部と、a driving unit that drives the switch with an on-pulse signal;
前記スイッチと前記外部接続端子との間の検出点の電圧を検出する電圧検出部と、a voltage detection unit that detects a voltage at a detection point between the switch and the external connection terminal;
前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧に基づいて、前記スイッチの異常及び前記外部接続端子に接続された外部機器の異常を検知する検知部と、a detection unit that detects an abnormality in the switch and an abnormality in an external device connected to the external connection terminal based on the voltage detected by the voltage detection unit when the switch is driven by the drive unit;
を備え、with
前記検知部は、前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧が、前記外部接続端子に印加される電圧よりも高く設定された第4電圧を、前記電圧検出部により検出された前記電圧の立ち上がりよりも遅れて超えた場合に、前記外部接続端子に外部機器が接続されていると検知する、産業機器のコントローラ。The detection unit detects a fourth voltage, which is set higher than the voltage applied to the external connection terminal, detected by the voltage detection unit when the switch is driven by the drive unit. A controller for industrial equipment, which detects that an external device is connected to the external connection terminal when the voltage detected by the voltage detection unit exceeds the voltage with a delay from rising.
前記検知部は、前記基準値の設定後に、前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧の最大値が前記基準値を、前記電圧検出部により検出された前記電圧の立ち上がりよりも遅れて上回った量が第2所定値よりも大きい場合に、前記外部機器が断線したと検知する、請求項6に記載の産業機器のコントローラ。 After setting the reference value, the detection unit detects the maximum value of the voltage detected by the voltage detection unit when the switch is driven by the drive unit. 7. The controller for industrial equipment according to claim 6, wherein disconnection of said external equipment is detected when the amount exceeding said voltage with a delay from the rise of said voltage is greater than a second predetermined value. 前記検知部は、前記基準値の設定後に、前記駆動部により前記スイッチが駆動された際に前記電圧検出部により検出された前記電圧の最大値が前記基準値を、前記電圧検出部により検出された前記電圧の立ち上がりと同時に上回った量が第3所定値よりも大きい場合に、前記外部接続端子から前記外部機器が外れたと検知する、請求項6又はに記載の産業機器のコントローラ。 After setting the reference value, the detection unit detects the maximum value of the voltage detected by the voltage detection unit when the switch is driven by the drive unit. 10. The controller for industrial equipment according to claim 6, wherein said controller detects that said external equipment is disconnected from said external connection terminal when the amount of said voltage exceeded at the same time said voltage rises is larger than a third predetermined value.
JP2019013558A 2019-01-29 2019-01-29 Industrial equipment controller Active JP7230538B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019013558A JP7230538B2 (en) 2019-01-29 2019-01-29 Industrial equipment controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019013558A JP7230538B2 (en) 2019-01-29 2019-01-29 Industrial equipment controller

Publications (2)

Publication Number Publication Date
JP2020123066A JP2020123066A (en) 2020-08-13
JP7230538B2 true JP7230538B2 (en) 2023-03-01

Family

ID=71992692

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019013558A Active JP7230538B2 (en) 2019-01-29 2019-01-29 Industrial equipment controller

Country Status (1)

Country Link
JP (1) JP7230538B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005157665A (en) 2003-11-25 2005-06-16 Omron Corp Safety controller, system and extension unit using it
JP2008298426A (en) 2007-05-29 2008-12-11 Nec Electronics Corp Semiconductor device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3368771B2 (en) * 1996-10-24 2003-01-20 日産自動車株式会社 Signal processing device with disconnection detection function
JP5368926B2 (en) * 2009-09-25 2013-12-18 株式会社日立製作所 Programmable logic controller and fault diagnosis method in programmable logic controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005157665A (en) 2003-11-25 2005-06-16 Omron Corp Safety controller, system and extension unit using it
JP2008298426A (en) 2007-05-29 2008-12-11 Nec Electronics Corp Semiconductor device

Also Published As

Publication number Publication date
JP2020123066A (en) 2020-08-13

Similar Documents

Publication Publication Date Title
US11241792B2 (en) Method and device for detecting abnormality of encoder, and robot control system
US11446823B2 (en) Method for transmitting information in controller and method for detecting abnormality in encoder
CN107300852B (en) Digitally controlled power supply unit and production management system
US10618164B2 (en) Robot system having learning control function and learning control method
US9599748B2 (en) Multi-optical axis photoelectric sensor
US9492921B2 (en) Robot controller having detachable teaching pendant
US9352465B2 (en) Control method for robot apparatus and robot apparatus
US20180294762A1 (en) Motor control system, motor controller, and method for setting safety function
US20160121484A1 (en) Control device with function to check load information settings
US11169527B2 (en) Automatic working system, self-moving device and control method therefor
JP6759852B2 (en) I/O Module
US10699929B2 (en) Controller of transfer device
KR102202535B1 (en) Welding condition judgment system and welding condition judgment method
KR20160133427A (en) Quick-charging control method and system
CN110997207B (en) System and method for regulating the output of a welding-type power supply
EP3038254B1 (en) Protection device
JP7230538B2 (en) Industrial equipment controller
US20140225549A1 (en) Method and apparatus for limiting a power consumption of an electric motor in the event of overload in a handheld power tool
JP6834798B2 (en) I/O Module
JP2017170471A (en) Welding robot mechanism
CN113165161A (en) Robot system and control method for robot system
EP2993680B1 (en) Contactor driving circuit
JP5803170B2 (en) Robot controller
KR20180039796A (en) Power Tool Providing Automatic Stop Function Under Over Loading Conditions
CN212421306U (en) Safety control&#39;s industrial robot

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211004

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220729

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220802

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20220830

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221024

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: 20230117

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230130

R150 Certificate of patent or registration of utility model

Ref document number: 7230538

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250