JP7188259B2 - Signal input device and signal detection method - Google Patents

Signal input device and signal detection method Download PDF

Info

Publication number
JP7188259B2
JP7188259B2 JP2019081000A JP2019081000A JP7188259B2 JP 7188259 B2 JP7188259 B2 JP 7188259B2 JP 2019081000 A JP2019081000 A JP 2019081000A JP 2019081000 A JP2019081000 A JP 2019081000A JP 7188259 B2 JP7188259 B2 JP 7188259B2
Authority
JP
Japan
Prior art keywords
external switch
signal
voltage
state
input device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019081000A
Other languages
Japanese (ja)
Other versions
JP2020177862A (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.)
JTEKT Corp
Original Assignee
JTEKT Corp
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 JTEKT Corp filed Critical JTEKT Corp
Priority to JP2019081000A priority Critical patent/JP7188259B2/en
Publication of JP2020177862A publication Critical patent/JP2020177862A/en
Application granted granted Critical
Publication of JP7188259B2 publication Critical patent/JP7188259B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing Electric Properties And Detecting Electric Faults (AREA)
  • Keying Circuit Devices (AREA)

Description

本発明は、外部スイッチのオン状態及びオフ状態を検出する信号入力装置及び信号検出方法に関する。 The present invention relates to a signal input device and a signal detection method for detecting the ON state and OFF state of an external switch.

従来、例えば工作機械やプラント等の設備を制御するための制御装置では、外部スイッチのオン状態及びオフ状態を高い信頼性を以って検出することが必要な場合がある(例えば、特許文献1参照)。 Conventionally, in a control device for controlling facilities such as machine tools and plants, there are cases where it is necessary to detect the ON state and OFF state of an external switch with high reliability (for example, Patent Document 1 reference).

特許文献1に記載の安全回路は、プログラマブル論理回路を有しており、このプログラマブル論理回路の一部が外部スイッチの動作に障害があるか否かをテストパルスにより監視するテスト監視装置として構成されている。テストパルスは、外部スイッチの評価を行う評価回路の駆動制御信号に重畳され、外部スイッチが規定通りに動作している場合、重畳されたテストパルスがフィードバック入力端において検出される。 The safety circuit described in Patent Document 1 has a programmable logic circuit, and a part of this programmable logic circuit is configured as a test monitoring device that monitors whether or not there is a failure in the operation of an external switch using test pulses. ing. The test pulse is superimposed on the control signal of the evaluation circuit for evaluating the external switch, and if the external switch is operating as intended, the superimposed test pulse is detected at the feedback input.

特開2011-530204号公報JP 2011-530204 A

上記の構成では、例えば外部スイッチとの間の配線が長いと、この配線における浮遊容量等によってパルス波形がなまり、外部スイッチが正常に作動するか否かの判定が正確に行えないおそれがある。 In the above configuration, for example, if the wiring between the external switch and the external switch is long, the pulse waveform may be dulled by stray capacitance or the like in this wiring, and it may not be possible to accurately determine whether the external switch operates normally.

そこで、本発明は、外部スイッチとの間の配線長が長い場合でも、外部スイッチが正常に作動するか否かの判定を正確に行うことが可能な信号入力装置及び信号検出方法を提供することを目的とする。 Therefore, the present invention provides a signal input device and a signal detection method capable of accurately determining whether or not an external switch operates normally even if the wiring length between the device and the external switch is long. With the goal.

本発明は、上記の目的を達成するため、外部スイッチのオン状態及びオフ状態を検出する信号入力装置であって、前記外部スイッチに電圧を出力する電圧出力状態と前記外部スイッチへの電圧の出力を遮断する電圧遮断状態とを切り替え可能な断続部と、前記電圧出力状態において出力された電圧が前記外部スイッチを経て入力される入力電圧に感応して検出信号を出力する検出部と、前記断続部を制御すると共に前記検出信号を取得可能な制御部とを備え、前記制御部は、前記断続部を制御して前記外部スイッチに出力される電圧をパルス状に変化させ、所定時間内に前記検出信号が変化することを確認する確認モードと、前記外部スイッチに出力される電圧を変化させたときの前記入力電圧の応答性に基づいて、前記確認モードにおける前記所定時間を調整する調整モードと、前記電圧出力状態であるときに前記検出信号が変化したとき、前記外部スイッチのオンオフ状態が変化したことを検出する通常モードとを有する、信号入力装置を提供する。 In order to achieve the above objects, the present invention provides a signal input device for detecting the ON state and OFF state of an external switch, comprising a voltage output state for outputting a voltage to the external switch and a voltage output state for outputting the voltage to the external switch. an intermittent section capable of switching between a voltage cutoff state that cuts off the voltage output state, a detection section that outputs a detection signal in response to an input voltage in which the voltage output in the voltage output state is input through the external switch, and the intermittent and a control unit capable of acquiring the detection signal, the control unit controlling the intermittent unit to change the voltage output to the external switch in a pulse shape, and within a predetermined time, the a confirmation mode for confirming that the detection signal changes; and an adjustment mode for adjusting the predetermined time in the confirmation mode based on the responsiveness of the input voltage when the voltage output to the external switch is changed. and a normal mode for detecting a change in the on/off state of the external switch when the detection signal changes in the voltage output state.

また、本発明は、上記の目的を達成するため、信号入力装置によって外部スイッチのオン状態及びオフ状態を検出する信号検出方法であって、前記信号入力装置から前記外部スイッチに出力される電圧を変化させてから、前記外部スイッチを経て前記信号入力装置に入力される入力電圧が閾値を越えて変化するまでの時間を計測する計測ステップと、前記外部スイッチに出力される電圧をパルス状に変化させ、前記計測ステップで計測された時間に基づいて設定された所定時間内に前記入力電圧が前記閾値を越えて変化することを確認する確認ステップと、を有する信号検出方法を提供する。 In order to achieve the above objects, the present invention also provides a signal detection method for detecting the ON state and OFF state of an external switch by a signal input device, wherein the voltage output from the signal input device to the external switch is detected by: a measuring step of measuring the time until the input voltage input to the signal input device through the external switch exceeds a threshold value after the change, and the voltage output to the external switch is changed in a pulse shape. and a confirmation step of confirming that the input voltage changes beyond the threshold value within a predetermined time set based on the time measured in the measurement step.

本発明に係る信号入力装置及び信号検出方法によれば、外部スイッチとの間の配線長が長い場合でも、外部スイッチが正常に作動するか否かの判定を正確に行うことができる。 According to the signal input device and the signal detection method according to the present invention, it is possible to accurately determine whether or not the external switch operates normally even when the wiring length between the external switch and the external switch is long.

本発明の実施の形態に係る信号入力装置の構成例を示す概略構成図である。1 is a schematic configuration diagram showing a configuration example of a signal input device according to an embodiment of the present invention; FIG. (a)及び(b)は、確認モードにおける制御信号及び検出信号の時間的な変化の一例を示し、(a)は正常時の信号波形を、(b)は短絡異常が発生した場合の信号波形を、それぞれ示している。(a) and (b) show an example of temporal changes in the control signal and the detection signal in the confirmation mode, (a) is the signal waveform during normal operation, and (b) is the signal when a short-circuit abnormality occurs. waveforms, respectively. (a)及び(b)は、テストパルスを発生したときの制御信号、入力電圧、及び検出信号の変化の一例を示し、(a)は第1及び第2の導線が短い場合の波形を、(b)は第1及び第2の導線が長い場合の波形を、それぞれ示している。(a) and (b) show examples of changes in the control signal, the input voltage, and the detection signal when the test pulse is generated. (a) shows the waveform when the first and second conductors are short, (b) shows waveforms when the first and second conductors are long. 調整モードにおける制御信号、入力電圧、及び検出信号の波形の例を示すグラフである。5 is a graph showing examples of waveforms of control signals, input voltages, and detection signals in an adjustment mode; 調整モードにおける調整結果に基づいて設定されたパルス幅のテストパルスの波形の一例を示すグラフである。7 is a graph showing an example of a test pulse waveform with a pulse width set based on the adjustment result in the adjustment mode;

[実施の形態]
本発明の実施の形態について、図1乃至図4を参照して説明する。なお、以下に説明する実施の形態は、本発明を実施する上での好適な具体例として示すものであり、技術的に好ましい種々の技術的事項を具体的に例示している部分もあるが、本発明の技術的範囲は、この具体的態様に限定されるものではない。
[Embodiment]
An embodiment of the present invention will be described with reference to FIGS. 1 to 4. FIG. It should be noted that the embodiment described below is shown as a preferred specific example for carrying out the present invention, and there are portions that specifically illustrate various technically preferable technical matters. , the technical scope of the present invention is not limited to this specific embodiment.

図1は、本発明の実施の形態に係る信号入力装置1の構成例を示す概略構成図である。この信号入力装置1は、外部スイッチのオン状態及びオフ状態を高い信頼性を以って検出するためのものであり、本実施の形態では、信号入力装置1が複数の外部スイッチのオン状態及びオフ状態を検出する。信号入力装置1は、直流電源4から直流電圧の供給を受けて動作する。本実施の形態では、直流電源4の出力電圧が24Vである。 FIG. 1 is a schematic configuration diagram showing a configuration example of a signal input device 1 according to an embodiment of the present invention. This signal input device 1 is for detecting the on-state and off-state of external switches with high reliability. Detect off state. The signal input device 1 operates by being supplied with a DC voltage from a DC power supply 4 . In this embodiment, the output voltage of the DC power supply 4 is 24V.

信号入力装置1は、例えば工作機械等の設備を制御する制御装置であるプログラマブルコントローラの入力モジュールとして用いられ、外部スイッチのオンオフ状態の検出結果を上位コントローラであるCPUモジュールに出力する。外部スイッチは、例えば制御対象の設備の動作を即座に停止させるための非常停止スイッチである。本実施の形態では、信号入力装置1が2つの外部スイッチ(第1及び第2の外部スイッチ2,3)のオンオフ状態を検出する場合について説明するが、信号入力装置1に接続される外部スイッチの数は特に限定されるものではなく、一つでもよいし、三つ以上でもよい。 The signal input device 1 is used, for example, as an input module of a programmable controller, which is a control device for controlling equipment such as machine tools, and outputs detection results of on/off states of external switches to a CPU module, which is a host controller. The external switch is, for example, an emergency stop switch for immediately stopping the operation of equipment to be controlled. In this embodiment, the signal input device 1 detects the on/off state of two external switches (first and second external switches 2 and 3). The number of is not particularly limited, and may be one or three or more.

信号入力装置1は、例えば予め不揮発性メモリに記憶されたプログラムをCPU(演算処理装置)が実行することにより実現される制御部11と、第1及び第2のスイッチング素子12,13と、第1及び第2のフォトカプラ14,15と、第1乃至第4の抵抗器16~19とを有している。なお、制御部11をASIC(特定用途向け集積回路)やFPGA(フィールドプログラマブルゲートアレイ)等のハードウェアにより実現してもよい。 The signal input device 1 includes, for example, a control unit 11 implemented by a CPU (arithmetic processing unit) executing a program stored in advance in a nonvolatile memory, first and second switching elements 12 and 13, and a second switching element. It has first and second photocouplers 14 and 15 and first to fourth resistors 16 to 19 . Note that the control unit 11 may be realized by hardware such as ASIC (Application Specific Integrated Circuit) or FPGA (Field Programmable Gate Array).

第1のスイッチング素子12及び第1のフォトカプラ14は、第1の外部スイッチ2のオンオフ状態を検出するための第1の検出回路部1Aの構成要素である。第2のスイッチング素子13及び第2のフォトカプラ15は、第2の外部スイッチ3のオンオフ状態を検出するための第2の検出回路部1Bの構成要素である。第1の外部スイッチ2は、第1及び第2の導線51,52によって信号入力装置1に接続され、第2の外部スイッチ3は、第3及び第4の導線53,54によって信号入力装置1に接続されている。 The first switching element 12 and the first photocoupler 14 are components of the first detection circuit section 1A for detecting the ON/OFF state of the first external switch 2 . The second switching element 13 and the second photocoupler 15 are constituent elements of the second detection circuit section 1B for detecting the ON/OFF state of the second external switch 3 . The first external switch 2 is connected to the signal input device 1 by first and second conductors 51, 52 and the second external switch 3 is connected to the signal input device 1 by third and fourth conductors 53, 54. It is connected to the.

本実施の形態では、第1のスイッチング素子12がベース、コレクタ、エミッタを有するトランジスタであり、制御部11から第1のスイッチング素子12のベースに制御信号Vcs1が出力される。第1のスイッチング素子12は、制御部11から制御信号Vcs1が供給されたとき、コレクタ-エミッタ間が導通状態となる。第1のスイッチング素子12のコレクタには、第1の抵抗器16を介して電源電圧Vccが供給される。第1のスイッチング素子12のエミッタは、信号入力装置1の出力端子101に接続されている。 In the present embodiment, first switching element 12 is a transistor having a base, a collector, and an emitter, and control signal Vcs1 is output from control section 11 to the base of first switching element 12 . When the control signal Vcs1 is supplied from the control unit 11, the first switching element 12 becomes conductive between the collector and the emitter. A power supply voltage Vcc is supplied to the collector of the first switching element 12 via a first resistor 16 . The emitter of the first switching element 12 is connected to the output terminal 101 of the signal input device 1 .

同様に、第2のスイッチング素子13は、ベース、コレクタ、エミッタを有するトランジスタであり、制御部11から第2のスイッチング素子13のベースに制御信号Vcs2が出力される。第2のスイッチング素子13は、制御部11から制御信号Vcs2が供給されたとき、コレクタ-エミッタ間が導通状態となる。第2のスイッチング素子13のコレクタには、第3の抵抗器18を介して電源電圧Vccが供給される。第2のスイッチング素子13のエミッタは、信号入力装置1の出力端子103に接続されている。 Similarly, the second switching element 13 is a transistor having a base, a collector and an emitter, and a control signal Vcs2 is output from the controller 11 to the base of the second switching element 13 . The second switching element 13 becomes conductive between the collector and the emitter when the control signal Vcs2 is supplied from the control section 11 . The collector of the second switching element 13 is supplied with the power supply voltage Vcc through the third resistor 18 . The emitter of the second switching element 13 is connected to the output terminal 103 of the signal input device 1 .

第1の外部スイッチ2は、一対の電極21,22と、一対の電極21,22に接触及び離間する金属導体からなる接触子23と、一対の電極21,22及び接触子23を収容する筐体24と、作業者等が操作するための操作部25とを有している。第2の外部スイッチ3も同様に、一対の電極31,32と、一対の電極31,32に接触及び離間する金属導体からなる接触子33と、一対の電極31,32及び接触子33を収容する筐体34と、作業者等が操作するための操作部35とを有している。 The first external switch 2 includes a pair of electrodes 21 and 22, a contactor 23 made of a metal conductor that contacts and separates from the pair of electrodes 21 and 22, and a housing that accommodates the pair of electrodes 21 and 22 and the contactor 23. It has a body 24 and an operation unit 25 for operation by an operator or the like. The second external switch 3 similarly accommodates a pair of electrodes 31 and 32, a contactor 33 made of a metal conductor that contacts and separates from the pair of electrodes 31 and 32, and a pair of electrodes 31 and 32 and the contactor 33. and an operation unit 35 for operation by an operator or the like.

第1の外部スイッチ2は、図略の弾性体によって接触子23が一対の電極21,22に付勢されており、操作部25が操作されていないときには一対の電極21,22が接触子23によって短絡されている。また、操作部25が筐体24に向かって押されると、接触子23が一対の電極21,22から離間して一対の電極21,22の導通が遮断される。第2の外部スイッチ3についても同様である。 In the first external switch 2, the contactor 23 is urged against the pair of electrodes 21 and 22 by an elastic body (not shown). shorted by Further, when the operating portion 25 is pushed toward the housing 24, the contactor 23 is separated from the pair of electrodes 21 and 22, and the conduction between the pair of electrodes 21 and 22 is interrupted. The same applies to the second external switch 3 as well.

第1の外部スイッチ2の一対の電極21,22のうち一方の電極21は、第1の導線51により信号入力装置1の出力端子101に接続され、他方の電極22は、第2の導線52により信号入力装置1の入力端子102に接続されている。また、第2の外部スイッチ3の一対の電極31,32のうち一方の電極31は、第3の導線53により信号入力装置1の出力端子103に接続され、他方の電極32は、第4の導線54により信号入力装置1の入力端子104に接続されている。 One electrode 21 of the pair of electrodes 21 and 22 of the first external switch 2 is connected to the output terminal 101 of the signal input device 1 via a first conductor 51, and the other electrode 22 is connected to a second conductor 52. is connected to the input terminal 102 of the signal input device 1 by the . One electrode 31 of the pair of electrodes 31 and 32 of the second external switch 3 is connected to the output terminal 103 of the signal input device 1 by the third conductor 53, and the other electrode 32 is connected to the fourth electrode. It is connected to the input terminal 104 of the signal input device 1 by a conductor 54 .

第1及び第2のフォトカプラ14,15は、発光ダイオードとフォトトランジスタとを光結合して構成されている。第1のフォトカプラ14は、発光ダイオードのアノードが入力端子102に接続され、フォトトランジスタのコレクタに電源電圧Vccが供給されている。第2のフォトカプラ15は、発光ダイオードのアノードが入力端子104に接続され、フォトトランジスタのコレクタに電源電圧Vccが供給されている。第1のフォトカプラ14のフォトトランジスタのエミッタは、第2の抵抗器17を介して電気的に接地されている。第2のフォトカプラ15のフォトトランジスタのエミッタは、第4の抵抗器19を介して電気的に接地されている。第1及び第2のフォトカプラ14,15の発光ダイオードのカソードは、電気的に接地されている。 The first and second photocouplers 14 and 15 are configured by optically coupling light emitting diodes and phototransistors. In the first photocoupler 14, the anode of the light emitting diode is connected to the input terminal 102, and the collector of the phototransistor is supplied with the power supply voltage Vcc. In the second photocoupler 15, the anode of the light emitting diode is connected to the input terminal 104, and the collector of the phototransistor is supplied with the power supply voltage Vcc. The emitter of the phototransistor of the first photocoupler 14 is electrically grounded via the second resistor 17 . The emitter of the phototransistor of the second photocoupler 15 is electrically grounded through the fourth resistor 19 . The cathodes of the light emitting diodes of the first and second photocouplers 14, 15 are electrically grounded.

第2の抵抗器17と第1のフォトカプラ14のフォトトランジスタのエミッタとの間の電圧は、第1のフォトカプラ14の検出信号Vds1として制御部11に入力される。第4の抵抗器19と第2のフォトカプラ15のフォトトランジスタのエミッタとの間の電圧は、第2のフォトカプラ15の検出信号Vds2として制御部11に入力される。すなわち、第1及び第2のフォトカプラ14,15は、エミッタ出力により、検出信号Vds1,Vds2を制御部11に出力する。 A voltage between the second resistor 17 and the emitter of the phototransistor of the first photocoupler 14 is input to the controller 11 as the detection signal Vds1 of the first photocoupler 14 . A voltage between the fourth resistor 19 and the emitter of the phototransistor of the second photocoupler 15 is input to the control section 11 as the detection signal Vds2 of the second photocoupler 15 . That is, the first and second photocouplers 14 and 15 output detection signals Vds1 and Vds2 to the control unit 11 by emitter outputs.

第1の検出回路部1Aにおいて、第1のスイッチング素子12は、第1の外部スイッチ2に電圧を出力する電圧出力状態と第1の外部スイッチ2への電圧の出力を遮断する電圧遮断状態とを切り替え可能な断続部として機能する。また、第1のフォトカプラ14は、電圧出力状態において出力された電圧が第1の外部スイッチ2を経て入力端子102に入力される入力電圧Vin1に感応して検出信号Vds1を出力する検出部として機能する。検出信号Vds1は、入力電圧Vin1が所定の閾値を越えて変化したときに変化する。本実施の形態では、この閾値の電圧が7.2Vである。 In the first detection circuit section 1A, the first switching element 12 has a voltage output state in which voltage is output to the first external switch 2 and a voltage cutoff state in which voltage output to the first external switch 2 is cut off. function as a switchable discontinuity. The first photocoupler 14 serves as a detection unit that outputs a detection signal Vds1 in response to an input voltage Vin1 that is input to the input terminal 102 via the first external switch 2, the voltage output in the voltage output state. Function. The detection signal Vds1 changes when the input voltage Vin1 changes beyond a predetermined threshold. In this embodiment, the threshold voltage is 7.2V.

第2の検出回路部1Bにおいて、第2のスイッチング素子13は、第2の外部スイッチ3に電圧を出力する電圧出力状態と第2の外部スイッチ3への電圧の出力を遮断する電圧遮断状態とを切り替え可能な断続部として機能する。また、第2のフォトカプラ15は、電圧出力状態において出力された電圧が第2の外部スイッチ3を経て入力端子104に入力される入力電圧Vin2に感応して検出信号Vds2を出力する検出部として機能する。検出信号Vds2は、入力電圧Vin2が所定の閾値を越えて変化したときに変化する。本実施の形態では、この閾値の電圧が上記と同様に7.2Vである。 In the second detection circuit section 1B, the second switching element 13 has a voltage output state in which voltage is output to the second external switch 3 and a voltage cutoff state in which voltage output to the second external switch 3 is cut off. function as a switchable discontinuity. The second photocoupler 15 serves as a detection unit that outputs a detection signal Vds2 in response to an input voltage Vin2 that is input to the input terminal 104 via the second external switch 3, the voltage output in the voltage output state. Function. The detection signal Vds2 changes when the input voltage Vin2 changes beyond a predetermined threshold. In the present embodiment, the threshold voltage is 7.2V as described above.

制御部11は、制御信号Vcs1,Vcs2によって第1及び第2のスイッチング素子12,13を制御すると共に検出信号Vds1,Vds2を取得可能であり、この検出信号Vds1,Vds2によって第1及び第2の外部スイッチ2,3のオンオフ状態を検出することができる。また、制御部11は、複数の動作モードで動作する。本実施の形態では、この複数の動作モードが、確認モード、調整モード、通常モードである。 The control unit 11 can control the first and second switching elements 12 and 13 by the control signals Vcs1 and Vcs2 and can acquire the detection signals Vds1 and Vds2. The on/off state of the external switches 2 and 3 can be detected. Also, the control unit 11 operates in a plurality of operation modes. In this embodiment, the plurality of operation modes are confirmation mode, adjustment mode, and normal mode.

確認モードは、第1及び第2のスイッチング素子12,13を制御して第1及び第2の外部スイッチ2,3に出力される電圧をパルス状に変化させ、所定時間内に検出信号Vds1,Vds2が変化することを確認するモードである。この確認モードでは、第1乃至第4の導線51~54の配線等に異常がなく、第1の外部スイッチ2の操作部25が操作された場合には検出信号Vds1が変化し、第2の外部スイッチ3の操作部35が操作された場合には検出信号Vds2が変化することを確認するためのものである。 In the confirmation mode, the voltages output to the first and second external switches 2, 3 are changed in pulses by controlling the first and second switching elements 12, 13, and the detection signals Vds1, Vds1 and Vds1 are generated within a predetermined time. This is the mode for confirming that Vds2 changes. In this confirmation mode, when there is no abnormality in the wiring of the first to fourth conductors 51 to 54 and the operation section 25 of the first external switch 2 is operated, the detection signal Vds1 changes and the second This is for confirming that the detection signal Vds2 changes when the operating portion 35 of the external switch 3 is operated.

調整モードは、第1及び第2の外部スイッチ2,3に出力される電圧を変化させたときの入力電圧Vin1,Vin2の応答性に基づいて、確認モードにおける所定時間を調整するモードである。確認モードにおける所定時間を調整することの必要性及び具体的な手順については後述する。 The adjustment mode is a mode for adjusting the predetermined time in the confirmation mode based on the responsiveness of the input voltages Vin1 and Vin2 when the voltages output to the first and second external switches 2 and 3 are changed. The necessity and specific procedure for adjusting the predetermined time in the confirmation mode will be described later.

通常モードは、信号入力装置1の出力端子101,103から第1及び第2の外部スイッチ2,3に電圧が出力される電圧出力状態で検出信号Vds1,Vds2が変化したとき、第1及び第2の外部スイッチ2,3のオンオフ状態が変化したことを検出するモードである。換言すれば、制御部11は、確認モード及び調整モード以外の動作時において、検出信号Vds1が変化したときには第1の外部スイッチ2のオンオフ状態が変化したと判定し、検出信号Vds2が変化したときには第2の外部スイッチ3のオンオフ状態が変化したと判定する。 In the normal mode, when the detection signals Vds1 and Vds2 change in the voltage output state in which the voltage is output from the output terminals 101 and 103 of the signal input device 1 to the first and second external switches 2 and 3, the first and second This is a mode for detecting that the ON/OFF states of the external switches 2 and 3 of 2 have changed. In other words, the control unit 11 determines that the ON/OFF state of the first external switch 2 has changed when the detection signal Vds1 changes during operations other than the confirmation mode and the adjustment mode, and determines that the ON/OFF state of the first external switch 2 has changed when the detection signal Vds2 changes. It is determined that the on/off state of the second external switch 3 has changed.

図2(a)及び(b)は、確認モードにおける制御信号Vcs1,Vcs2及び検出信号Vds1,Vds2の時間的な変化の一例を示し、(a)は正常時の信号波形を、(b)は第2の導線52と第4の導線54とが短絡する短絡異常が発生した場合の信号波形を、それぞれ示している。 FIGS. 2A and 2B show an example of temporal changes in the control signals Vcs1, Vcs2 and the detection signals Vds1, Vds2 in the confirmation mode, where (a) is the signal waveform during normal operation, and (b) is the Signal waveforms are shown when a short-circuit abnormality occurs in which the second conducting wire 52 and the fourth conducting wire 54 are short-circuited.

図2(a)に示すように、正常時には、制御部11が制御信号Vcs1をパルス状に変化させたとき、この制御信号Vcs1に同期して検出信号Vds1が変化し、制御部11が制御信号Vcs2をパルス状に変化させたとき、この制御信号Vcs2に同期して検出信号Vds2が変化する。一方、第2の導線52と第4の導線54とが短絡している場合には、図2(b)に示すように、制御部11が制御信号Vcs1,Vcs2を変化させても検出信号Vds1,Vds2が変化しない。このような異常が発生した場合には、制御部11が異常信号を出力し、上位コントローラに異常を報知する。以下、確認モードにおける制御信号Vcs1,Vcs2のパルス状の変化をテストパルスという。 As shown in FIG. 2A, in normal operation, when the control unit 11 changes the control signal Vcs1 into a pulse shape, the detection signal Vds1 changes in synchronization with the control signal Vcs1, and the control unit 11 changes the control signal Vcs1. When Vcs2 is changed in a pulse shape, the detection signal Vds2 changes in synchronization with this control signal Vcs2. On the other hand, when the second conducting wire 52 and the fourth conducting wire 54 are short-circuited, as shown in FIG. , Vds2 do not change. When such an anomaly occurs, the control unit 11 outputs an anomaly signal to notify the host controller of the anomaly. Hereinafter, the pulse-like changes of the control signals Vcs1 and Vcs2 in the confirmation mode are referred to as test pulses.

ところで、例えば設備の構成等によっては、第1乃至第4の導線51~54の長さが長くなる場合がある。このような場合、第1乃至第4の導線51~54における浮遊容量の影響により、入力電圧Vin1,Vin2の波形の変化が鈍くなることがある。このように入力電圧Vin1,Vin2の波形が鈍る(なまる)と、確認モードにおいて検出信号Vds1,Vds2が所定時間内に変化せず、異常を誤検出してしまうおそれがある。 By the way, the length of the first to fourth conducting wires 51 to 54 may be long depending on the configuration of the equipment, for example. In such a case, changes in the waveforms of the input voltages Vin1 and Vin2 may become sluggish due to the influence of stray capacitance in the first to fourth conductors 51-54. If the waveforms of the input voltages Vin1 and Vin2 become blunted (blunt) in this way, the detection signals Vds1 and Vds2 do not change within a predetermined time in the confirmation mode, and there is a risk of erroneously detecting an abnormality.

図3(a)及び(b)は、テストパルスを発生したときの制御信号Vcs1、入力電圧Vin1、及び検出信号Vds1の変化の一例を示し、(a)は第1及び第2の導線51,52が短い場合の波形を、(b)は第1及び第2の導線51,52が長い場合の波形を、それぞれ示している。 3A and 3B show an example of changes in the control signal Vcs1, the input voltage Vin1, and the detection signal Vds1 when the test pulse is generated. (b) shows the waveforms when the first and second conductors 51 and 52 are long, respectively.

図3(a)及び(b)では、時刻t0においてテストパルスが発生し、時刻t1において検出信号Vds1の信号状態を確認する場合について図示している。この図示例では、テストパルスのパルス幅が300μ秒であり、時刻t0と時刻t1との間隔が200μ秒である。 FIGS. 3A and 3B show a case where a test pulse is generated at time t0 and the signal state of the detection signal Vds1 is confirmed at time t1. In this illustrated example, the pulse width of the test pulse is 300 μs, and the interval between time t0 and time t1 is 200 μs.

第1及び第2の導線51,52が短い場合には、図3(a)に示すように、時刻t1よりも前に入力電圧Vin1が第1のフォトカプラ14の閾値Vsh(本実施の形態では7.2V)を下回り、検出信号Vds1が変化している。この場合には、確認モードにおいて異常が誤検出されない。一方、第1及び第2の導線51,52が長く、浮遊容量によって入力電圧Vin1が大きく鈍ると、図3(b)に示すように、時刻t1における入力電圧Vin1の電圧値Vaが閾値Vshよりも高く、時刻t1までに検出信号Vds1の信号状態が変化しない。この場合には、異常が誤検出される。 When the first and second conducting wires 51 and 52 are short, as shown in FIG. 3(a), the input voltage Vin1 reaches the threshold Vsh (in the present embodiment) of the first photocoupler 14 before time t1. 7.2 V), and the detection signal Vds1 is changing. In this case, an abnormality is not erroneously detected in the confirmation mode. On the other hand, when the first and second conductors 51 and 52 are long and the input voltage Vin1 is greatly weakened by the stray capacitance, the voltage value Va of the input voltage Vin1 at time t1 is lower than the threshold value Vsh, as shown in FIG. is high, and the signal state of the detection signal Vds1 does not change until time t1. In this case, an abnormality is erroneously detected.

そこで、本実施の形態では、調整モードにおいて、制御部11が、第1及び第2の外部スイッチ2,3に出力される電圧を変化させてから入力電圧Vin1,Vin2が閾値Vshを越えて変化するまでの時間を計測し、確認モードにおける所定時間を当該計測された時間以上の時間に設定する。次に、この具体例について図4及び図5を参照して説明する。 Therefore, in the present embodiment, in the adjustment mode, after the control unit 11 changes the voltages output to the first and second external switches 2 and 3, the input voltages Vin1 and Vin2 change beyond the threshold value Vsh. The time until the time is measured, and the predetermined time in the confirmation mode is set to a time equal to or longer than the measured time. Next, this specific example will be described with reference to FIGS. 4 and 5. FIG.

図4は、調整モードにおける制御信号Vcs1、入力電圧Vin1、及び検出信号Vds1の波形の一例を示すグラフである。図5は、調整モードにおける調整結果に基づいて設定されたパルス幅のテストパルスの波形の一例を示すグラフである。 FIG. 4 is a graph showing an example of waveforms of the control signal Vcs1, the input voltage Vin1, and the detection signal Vds1 in the adjustment mode. FIG. 5 is a graph showing an example of a test pulse waveform with a pulse width set based on the adjustment result in the adjustment mode.

制御部11は、調整モードにおいて、制御信号Vcs1をオフ状態とし、入力電圧Vin1が閾値Vshを下回るのに十分な時間のパルス幅のパルス信号を発生させる。また、制御部11は、調整モードにおいて一定の時間間隔で検出信号Vds1の信号状態を確認する。図4の図示例では、時刻t0において制御信号Vcs1をオフ状態とした後、時刻t1,t2,t3,t4,及びt5において200μ秒ごとに検出信号Vds1の信号状態を確認する。 In the adjustment mode, the control unit 11 turns off the control signal Vcs1 and generates a pulse signal having a pulse width sufficient for the input voltage Vin1 to fall below the threshold Vsh. Further, the control unit 11 checks the signal state of the detection signal Vds1 at regular time intervals in the adjustment mode. In the illustrated example of FIG. 4, after turning off the control signal Vcs1 at time t0, the signal state of the detection signal Vds1 is checked every 200 μs at times t1, t2, t3, t4, and t5.

図4に示す例では、時刻t0から400μ秒経過した後の時刻t2では入力電圧Vin1の電圧値Vbが閾値Vshよりも高く、600μ秒経過した時刻t3では入力電圧Vin1の電圧値Vbが閾値Vshよりも低い。このため、検出信号Vds1は時刻t2と時刻t3との間で変化し、制御部11は時刻t3において検出信号Vds1が変化したことを検知する。この場合、制御部11における計測時間は600μ秒となる。 In the example shown in FIG. 4, the voltage value Vb of the input voltage Vin1 is higher than the threshold Vsh at time t2 after 400 μs from time t0, and the voltage value Vb of input voltage Vin1 is higher than the threshold Vsh at time t3 after 600 μs. lower than Therefore, the detection signal Vds1 changes between time t2 and time t3, and the control unit 11 detects that the detection signal Vds1 has changed at time t3. In this case, the measurement time in the control unit 11 is 600 μs.

これにより、制御部11は、第1の外部スイッチ2に対して確認モードの動作を行う場合の所定時間を、上記の計測時間(ここでは600μ秒)以上の時間に設定する。より具体的には、確認モードにおける所定時間を、計測時間と同じ時間(600μ秒)もしくは計測時間よりも長い時間(例えば700μ秒)に設定する。なお、確認モードにおける所定時間は、計測時間よりも長い時間に設定することが、異常の誤検出を防ぐためにはより望ましい。また、制御部11は、第2の外部スイッチ3に関しても、上記と同様に確認モードの動作を行う際の所定時間を設定する。 As a result, the control unit 11 sets the predetermined time for performing the confirmation mode operation on the first external switch 2 to a time equal to or longer than the measurement time (here, 600 μsec). More specifically, the predetermined time in the confirmation mode is set to the same time as the measurement time (600 μs) or a time longer than the measurement time (eg 700 μs). In order to prevent erroneous detection of abnormality, it is more desirable to set the predetermined time in the confirmation mode to a time longer than the measurement time. The control unit 11 also sets the predetermined time for the second external switch 3 to operate in the confirmation mode in the same manner as described above.

制御部11は、テストパルスのパルス幅を、確認モードにおける所定時間として設定した時間よりも長い時間に設定する。図5では、パルス幅を800μ秒とした場合のテストパルスの波形の例を図4と同じ時間軸で示している。 The control unit 11 sets the pulse width of the test pulse to a time longer than the time set as the predetermined time in the confirmation mode. FIG. 5 shows an example of a test pulse waveform with a pulse width of 800 μs on the same time axis as in FIG. 4 .

調整モードにおいて設定された所定時間及びテストパルスのパルス幅は、信号入力装置1の不揮発性メモリに記憶される。調整モードの動作は、例えば信号入力装置1の電源投入時に一回行ってもよく、あるいは第1乃至第4の導線51~54によって第1及び第2の外部スイッチ2,3を信号入力装置1に接続した際に一回のみ行ってもよい。 The predetermined time set in the adjustment mode and the pulse width of the test pulse are stored in the non-volatile memory of the signal input device 1 . The adjustment mode operation may be performed, for example, once when the signal input device 1 is powered on, or the first and second external switches 2, 3 are switched by the first to fourth conductors 51 to 54 to the signal input device 1. may be performed only once when connecting to

調整モードにおいて、信号入力装置1から第1及び第2の外部スイッチ2,3に出力される電圧を変化させてから入力電圧Vin1,Vin2が閾値Vshを越えて変化するまでの時間を計測する処理は、本発明に係る信号検出方法の計測ステップにあたる。また、確認モードにおいて第1及び第2の外部スイッチ2,3に出力される電圧をパルス状に変化させ、計測ステップで計測された時間に基づいて設定された所定時間内に入力電圧Vin1,Vin2が閾値Vshを越えて変化することを確認する処理は、本発明に係る信号検出方法の確認ステップに相当する。 In the adjustment mode, a process of measuring the time from when the voltage output from the signal input device 1 to the first and second external switches 2 and 3 is changed to when the input voltages Vin1 and Vin2 change beyond the threshold value Vsh. corresponds to the measurement step of the signal detection method according to the present invention. Also, in the confirmation mode, the voltages output to the first and second external switches 2 and 3 are changed in a pulse shape, and the input voltages Vin1 and Vin2 are detected within a predetermined time set based on the time measured in the measurement step. The process of confirming that V exceeds the threshold value Vsh corresponds to the confirmation step of the signal detection method according to the present invention.

(実施の形態の作用及び効果)
以上説明した実施の形態によれば、確認モードにおいて、調整モードにおいて調整された所定時間内に前記検出信号が変化することを確認するので、例えば第1乃至第4の導線51~54の配線長が長い場合でも、異常の誤検出を発生させることなく、第1及び第2の外部スイッチ2,3が正常に作動するか否かの判定を正確に行うことが可能となる。
(Actions and effects of the embodiment)
According to the embodiment described above, in the confirmation mode, it is confirmed that the detection signal changes within the predetermined time adjusted in the adjustment mode. is long, it is possible to accurately determine whether or not the first and second external switches 2 and 3 operate normally without erroneously detecting an abnormality.

(付記)
以上、本発明を実施の形態に基づいて説明したが、これらの実施の形態は特許請求の範囲に係る発明を限定するものではない。また、実施の形態の中で説明した特徴の組合せの全てが発明の課題を解決するための手段に必須であるとは限らない点に留意すべきである。また、本発明は、その趣旨を逸脱しない範囲で適宜変形して実施することが可能である。
(Appendix)
Although the present invention has been described above based on the embodiments, these embodiments do not limit the invention according to the scope of claims. Also, it should be noted that not all combinations of features described in the embodiments are essential to the means for solving the problems of the invention. Moreover, the present invention can be modified appropriately without departing from the gist thereof.

1…信号入力装置 11…制御部
12…第1のスイッチング素子(断続部) 13…第2のスイッチング素子(断続部)
14…第1のフォトカプラ(検出部) 15…第2のフォトカプラ(検出部)
2…第1の外部スイッチ 3…第2の外部スイッチ
DESCRIPTION OF SYMBOLS 1... Signal input device 11... Control part 12... 1st switching element (intermittence part) 13... 2nd switching element (intermittence part)
14... First photocoupler (detection unit) 15... Second photocoupler (detection unit)
2... First external switch 3... Second external switch

Claims (3)

外部スイッチのオン状態及びオフ状態を検出する信号入力装置であって、
前記外部スイッチに電圧を出力する電圧出力状態と前記外部スイッチへの電圧の出力を遮断する電圧遮断状態とを切り替え可能な断続部と、
前記電圧出力状態において出力された電圧が前記外部スイッチを経て入力される入力電圧に感応して検出信号を出力する検出部と、
前記断続部を制御すると共に前記検出信号を取得可能な制御部とを備え、
前記制御部は、
前記断続部を制御して前記外部スイッチに出力される電圧をパルス状に変化させ、所定時間内に前記検出信号が変化することを確認する確認モードと、
前記外部スイッチに出力される電圧を変化させたときの前記入力電圧の応答性に基づいて、前記確認モードにおける前記所定時間を調整する調整モードと、
前記電圧出力状態であるときに前記検出信号が変化したとき、前記外部スイッチのオンオフ状態が変化したことを検出する通常モードとを有する、
信号入力装置。
A signal input device for detecting the ON state and OFF state of an external switch,
a switching unit capable of switching between a voltage output state in which voltage is output to the external switch and a voltage cutoff state in which voltage output to the external switch is cut off;
a detection unit that outputs a detection signal in response to an input voltage in which the voltage output in the voltage output state is input through the external switch;
A control unit that controls the intermittent unit and can acquire the detection signal,
The control unit
a confirmation mode in which the voltage output to the external switch is changed in a pulse shape by controlling the intermittent section, and confirmation is made that the detection signal changes within a predetermined time;
an adjustment mode for adjusting the predetermined time in the confirmation mode based on the responsiveness of the input voltage when the voltage output to the external switch is changed;
a normal mode for detecting a change in the on/off state of the external switch when the detection signal changes while in the voltage output state;
Signal input device.
前記検出部は、前記入力電圧が閾値を越えて変化したときに前記検出信号が変化し、
前記制御部は、前記調整モードにおいて前記外部スイッチに出力される電圧を変化させてから前記入力電圧が前記閾値を越えて変化するまでの時間を計測し、当該計測された時間以上の時間に前記所定時間を設定する、
請求項1に記載の信号入力装置。
The detection unit changes the detection signal when the input voltage changes beyond a threshold,
The control unit measures the time from when the voltage output to the external switch is changed in the adjustment mode until the input voltage changes beyond the threshold, and the set a predetermined time,
The signal input device according to claim 1.
信号入力装置によって外部スイッチのオン状態及びオフ状態を検出する信号検出方法であって、
前記信号入力装置から前記外部スイッチに出力される電圧を変化させてから、前記外部スイッチを経て前記信号入力装置に入力される入力電圧が閾値を越えて変化するまでの時間を計測する計測ステップと、
前記外部スイッチに出力される電圧をパルス状に変化させ、前記計測ステップで計測された時間に基づいて設定された所定時間内に前記入力電圧が前記閾値を越えて変化することを確認する確認ステップと、
を有する信号検出方法。
A signal detection method for detecting the ON state and OFF state of an external switch by a signal input device,
a measuring step of measuring the time from when the voltage output from the signal input device to the external switch is changed until the input voltage input to the signal input device via the external switch changes beyond a threshold; ,
A confirmation step of changing the voltage output to the external switch in a pulse form and confirming that the input voltage changes beyond the threshold value within a predetermined time set based on the time measured in the measurement step. When,
A signal detection method comprising:
JP2019081000A 2019-04-22 2019-04-22 Signal input device and signal detection method Active JP7188259B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019081000A JP7188259B2 (en) 2019-04-22 2019-04-22 Signal input device and signal detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019081000A JP7188259B2 (en) 2019-04-22 2019-04-22 Signal input device and signal detection method

Publications (2)

Publication Number Publication Date
JP2020177862A JP2020177862A (en) 2020-10-29
JP7188259B2 true JP7188259B2 (en) 2022-12-13

Family

ID=72936054

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019081000A Active JP7188259B2 (en) 2019-04-22 2019-04-22 Signal input device and signal detection method

Country Status (1)

Country Link
JP (1) JP7188259B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4257749B2 (en) 2007-05-25 2009-04-22 株式会社日立製作所 Intake control device
JP2011530204A (en) 2008-08-01 2011-12-15 シーメンス アクチエンゲゼルシヤフト Safety circuit for outputting switching signals
JP2012080759A (en) 2010-09-07 2012-04-19 Alstom Technology Ltd Method for connecting inductive load, and connecting circuit for implementing the same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2838854B2 (en) * 1991-02-08 1998-12-16 アスコ株式会社 Vehicle safety device control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4257749B2 (en) 2007-05-25 2009-04-22 株式会社日立製作所 Intake control device
JP2011530204A (en) 2008-08-01 2011-12-15 シーメンス アクチエンゲゼルシヤフト Safety circuit for outputting switching signals
JP2012080759A (en) 2010-09-07 2012-04-19 Alstom Technology Ltd Method for connecting inductive load, and connecting circuit for implementing the same

Also Published As

Publication number Publication date
JP2020177862A (en) 2020-10-29

Similar Documents

Publication Publication Date Title
JP6353648B2 (en) Semiconductor abnormality detection circuit
JP6403231B2 (en) Safety switchgear with fail-safe input
US9892878B2 (en) Safety switching apparatus for switching-on or switching-off a technical installation
US9722600B2 (en) Driving circuit of switching device for electric power control
EP2355289A2 (en) Stepping motor connection detecting circuit
JP7188259B2 (en) Signal input device and signal detection method
US20220050141A1 (en) Contact monitoring unit for a safety-critical triggering apparatus of a switching device
JP2014239380A (en) Abnormality detection device for electromagnetic device drive device
US20160104592A1 (en) Contactor Drive Circuit
US6720678B2 (en) Arc welding electrical shock protection circuit
US7082023B2 (en) Method and circuit arrangement for function monitoring of an electronic-mechanical position switch
EP3358592B1 (en) Output signal switching device (ossd)
US20200099329A1 (en) Motor drive device
JP2007072908A (en) Plc muting device
KR100678620B1 (en) Relay driving circuit using power and mcu check of electric control apparatus for vehicles
US11619919B2 (en) Circuit arrangement for switching an electrical load and method for checking a status of a safety output of a circuit arrangement
JP5268294B2 (en) Fault detection device for chopper circuit
KR101889948B1 (en) Short detection circuit of multi-terminal
JP5817585B2 (en) Electronic control unit
JP5363862B2 (en) Sensor controller, photoelectric sensor system and photoelectric sensor
US20210132127A1 (en) Ground conductor monitoring
JP2008191064A (en) Electric characteristic inspection device provided with active probe
JP2006123118A (en) Brake driving control circuit
CN220207801U (en) Bypass contactor fault detection device
KR100285069B1 (en) Wire stripping depth automatic sensing device and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220309

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221031

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221114

R150 Certificate of patent or registration of utility model

Ref document number: 7188259

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150