JP5517220B2 - Connection confirmation system, control device, and connection confirmation method - Google Patents

Connection confirmation system, control device, and connection confirmation method Download PDF

Info

Publication number
JP5517220B2
JP5517220B2 JP2012000315A JP2012000315A JP5517220B2 JP 5517220 B2 JP5517220 B2 JP 5517220B2 JP 2012000315 A JP2012000315 A JP 2012000315A JP 2012000315 A JP2012000315 A JP 2012000315A JP 5517220 B2 JP5517220 B2 JP 5517220B2
Authority
JP
Japan
Prior art keywords
pattern
circuit
control
control device
pattern signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012000315A
Other languages
Japanese (ja)
Other versions
JP2013140078A (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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering Ltd
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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP2012000315A priority Critical patent/JP5517220B2/en
Publication of JP2013140078A publication Critical patent/JP2013140078A/en
Application granted granted Critical
Publication of JP5517220B2 publication Critical patent/JP5517220B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)

Description

本発明は、接続確認システム及び制御装置、並びに接続確認方法に関し、特に、汎用コネクタを用いて接続されるシステム、装置及び方法に関する。   The present invention relates to a connection confirmation system, a control apparatus, and a connection confirmation method, and more particularly, to a system, apparatus, and method that are connected using a general-purpose connector.

従来、複数の装置を接続する場合には、各々の装置に対してコネクタを設け、コネクタ間をケーブルで接続している。このとき、複数の装置間の接続は、作業者の手によって行われるため、各々の装置が確実に接続されない虞がある。   Conventionally, when connecting a plurality of devices, a connector is provided for each device, and the connectors are connected by a cable. At this time, since the connection between the plurality of devices is performed by an operator's hand, there is a possibility that each device is not securely connected.

また、複数の装置を接続する際に使用されるコネクタは、D−sub等の汎用性の高いコネクタが採用されることが多いため、本来接続すべき装置と異なる装置を誤って接続してしまう虞がある。   In addition, as a connector used when connecting a plurality of devices, a highly versatile connector such as D-sub is often adopted, and thus a device different from the device to be originally connected is erroneously connected. There is a fear.

そこで、最近では、このような誤接続を防止するために、複数の装置間の接続状態を検出する様々な方法が提案されている。例えば、特許文献1には、互いに接続される装置に対して複数のコネクタが設けられ、コネクタの空きピンを利用した折り返し配線により、すべてのコネクタが数珠繋ぎとなるように配線し、この配線が数珠繋ぎとなるか否かを判定することにより、コネクタの接続状態を検出する方法が記載されている。   Therefore, recently, various methods for detecting connection states between a plurality of devices have been proposed in order to prevent such erroneous connection. For example, in Patent Document 1, a plurality of connectors are provided for devices connected to each other, and all the connectors are connected in a daisy chain by using a wrapping wiring that uses unused pins of the connector. A method of detecting the connection state of the connector by determining whether or not is satisfied is described.

特開昭63−278111号公報JP 63-278111 A

しかしながら、特許文献1に記載の方法では、すべてのコネクタが接続されているか否かを検出することを目的とするものであり、誤接続が発生しないという前提条件の下でコネクタの外れを検出するため、コネクタの誤接続を検出することができないという問題があった。   However, the method described in Patent Document 1 is intended to detect whether or not all connectors are connected, and detects disconnection under the precondition that no erroneous connection occurs. For this reason, there has been a problem that it is not possible to detect erroneous connector connection.

また、複数の装置に設けられた複数のコネクタが数珠繋ぎとなるか否かに基づき接続状態を検出するため、すべてのコネクタが接続されていれば、誤接続が生じた場合でも正常に接続されていると判断されるという問題があった。そのため、誤接続による過電圧の印加等により、装置に設けられた回路が破壊されてしまう虞がある。   In addition, in order to detect a connection state based on whether or not a plurality of connectors provided in a plurality of devices are connected in a daisy chain, if all the connectors are connected, they are normally connected even if an erroneous connection occurs. There was a problem of being judged. For this reason, there is a possibility that a circuit provided in the apparatus may be destroyed due to application of an overvoltage due to erroneous connection.

さらに、接続状態の確認のために予め設定された固定値を用いるため、一部のコネクタが接続されていない場合でも、最終的な信号の値が期待する値と一致すれば正常に接続されていると判断されるという問題があった。   In addition, because a fixed value set in advance is used to check the connection status, even if some connectors are not connected, if the final signal value matches the expected value, the connection will be successful. There was a problem of being judged.

そこで、本発明は、上記従来の技術における問題点に鑑みてなされたものであって、互いに接続された複数の装置間の接続状態を確実に確認すると共に、保護すべき回路の安全性を保つことが可能な接続確認システム及び制御装置、並びに接続確認方法を提供することを目的とする。   Therefore, the present invention has been made in view of the above-described problems in the prior art, and reliably confirms the connection state between a plurality of devices connected to each other and maintains the safety of a circuit to be protected. It is an object of the present invention to provide a connection confirmation system, a control device, and a connection confirmation method.

上記目的を達成するため、本発明は、制御装置及び該制御装置により制御される制御対象装置の接続状態を確認する接続確認システムであって、前記制御対象装置と接続する第1のコネクタと、複数ビットのシリアルパターンからなるランダムな第1のパターン信号を生成する擬似ランダムパターン生成回路と、前記第1のパターン信号及び前記制御対象装置から供給される複数ビットのシリアルパターンからなる第2のパターン信号が一致するか否かを確認するパターン確認回路と、前記パターン確認回路の制御に基づき、保護対象回路及び前記第1のコネクタの間の接続を切り替える切替回路とを備える制御装置と、前記制御装置と接続する第2のコネクタと、前記制御装置から供給された前記第1のパターン信号を折り返して前記第2のパターン信号として出力するループ回路とを備える制御対象装置とからなり、前記パターン確認回路は、前記第1のパターン信号及び前記第2のパターン信号をビット毎に比較するパターン比較部と、前記パターン比較部による比較の結果に基づき、不一致となるビット数をカウントするカウンタと、前記カウンタの値に対して閾値が設定され、前記カウンタの値が前記閾値未満となる場合に、前記制御装置及び前記制御対象装置が接続されたと判断して前記切替回路をONとするように制御し、前記カウンタの値が前記閾値以上となる場合に、前記切替回路をOFFとするように制御する保護対象回路制御部とを有することを特徴とする。 To achieve the above object, the present invention provides a connection confirmation system for confirming a connection state of a control device and a control target device controlled by the control device, and a first connector connected to the control target device; pseudo-random pattern generation circuit, a second pattern consisting of a serial pattern of a plurality of bits supplied from the first pattern signal and the control target device to generate random first pattern signal comprising a serial pattern of a plurality of bits A control device comprising: a pattern confirmation circuit for confirming whether the signals match; and a switching circuit for switching connection between the protection target circuit and the first connector based on the control of the pattern confirmation circuit; A second connector for connecting to the device, and the second pattern signal from the first pattern signal supplied from the control device. It consists of a control target device and a loop circuit which outputs a pattern signal, the pattern check circuit includes a pattern comparison unit for comparing said first pattern signal and the second pattern signal for each bit, the pattern comparison A counter that counts the number of bits that do not match based on the result of the comparison by the unit, and a threshold value is set for the counter value, and when the counter value is less than the threshold value, the control device and the control A protection target circuit control unit that determines that a target device is connected and controls the switching circuit to be turned on, and controls the switching circuit to be turned off when the counter value is equal to or greater than the threshold value. It is characterized by having .

そして、本発明によれば、制御装置で生成された第1のパターン信号と、第1のパターン信号を制御対象装置で折り返して得られる第2のパターン信号とを比較することにより制御装置及び制御対象装置の接続を確認するため、装置の間の接続状態を確実に確認することができる。そして、正常に接続されていると判断された場合にのみ、制御装置の制御対象回路と制御対象装置の負荷とを接続するため、回路の安全性を保持することができる。   And according to this invention, a control apparatus and control are performed by comparing the 1st pattern signal produced | generated by the control apparatus with the 2nd pattern signal obtained by folding back the 1st pattern signal with a control object apparatus. Since the connection of the target device is confirmed, the connection state between the devices can be reliably confirmed. Only when it is determined that the connection is normal, the control target circuit of the control device is connected to the load of the control target device, so that the safety of the circuit can be maintained.

また、カウンタの値が予め設定された閾値以上となる場合に、切替回路をOFFとするように制御し、カウンタの値が閾値未満となる場合に、切替回路をONとするように制御することにより、ノイズの影響等によってシリアルパターンの一部の値が瞬間的に変動した場合等による検出誤差を軽減することができる。 Further, when the value of the counter becomes a preset threshold or more, and controls so as to turn OFF the switching exchange circuit, when the value of the counter is less than the threshold value, so as to turn ON the switching exchange circuit control more and child, some values of the serial pattern by influence of noise can be reduced detection error due or when you change instantaneously to.

上記接続確認システムにおいて、前記ループ回路は、配線で構成することができる。これにより、ループ回路に対して接続確認のための電源回路を設ける必要がなく、製造コストの増大を抑制することができる。   In the connection confirmation system, the loop circuit can be configured by wiring. Thereby, it is not necessary to provide a power supply circuit for connection confirmation for the loop circuit, and an increase in manufacturing cost can be suppressed.

また、本発明は、外部の制御対象装置との接続状態を確認する制御装置であって、前記制御対象装置と接続するコネクタと、複数ビットのシリアルパターンからなるランダムな第1のパターン信号を生成する擬似ランダムパターン生成回路と、前記第1のパターン信号及び前記制御対象装置から供給される複数ビットのシリアルパターンからなる第2のパターン信号が一致するか否かを確認するパターン確認回路と、前記パターン確認回路の制御に基づき、保護対象回路及び前記コネクタの間の接続を切り替える切替回路とを備え、前記パターン確認回路は、前記第1のパターン信号及び前記第2のパターン信号をビット毎に比較するパターン比較部と、前記パターン比較部による比較の結果に基づき、不一致となるビット数をカウントするカウンタと、前記カウンタの値に対して閾値が設定され、前記カウンタの値が前記閾値未満となる場合に、前記制御装置及び前記制御対象装置が接続されたと判断して前記切替回路をONとするように制御し、前記カウンタの値が前記閾値以上となる場合に、前記切替回路をOFFとするように制御する保護対象回路制御部とを有することを特徴とする。本発明は、前記発明と同様に、装置の間の接続状態を確実に確認することができると共に、回路の安全性を保持することができ、さらに、検出誤差を軽減することができる。 The present invention is also a control device for confirming a connection state with an external control target device, and generates a random first pattern signal comprising a connector connected to the control target device and a multi-bit serial pattern. A pseudo-random pattern generation circuit, a pattern confirmation circuit for confirming whether or not the first pattern signal and a second pattern signal made up of a plurality of bits of a serial pattern supplied from the device to be controlled match, based on the control pattern check circuit, and a switching circuit for switching the connection between the protected circuit and the pre-Kiko connector, the pattern check circuit includes bitwise said first pattern signal and the second pattern signal Based on the result of the comparison by the pattern comparison unit and the pattern comparison unit, the number of mismatched bits is counted. When the threshold value is set for the counter and the counter value, and the counter value is less than the threshold value, it is determined that the control device and the control target device are connected, and the switching circuit is turned on. And a protection target circuit control unit that controls the switching circuit to be turned off when the value of the counter is equal to or greater than the threshold value. In the present invention, as in the case of the above-described invention, the connection state between the devices can be reliably confirmed, the safety of the circuit can be maintained, and the detection error can be reduced.

また、本発明は、制御装置及び該制御装置により制御される制御対象装置の接続状態を確認する接続確認方法であって、前記制御装置で複数ビットのシリアルパターンからなるランダムな第1のパターン信号を生成し、前記制御対象装置に対して出力するステップと、前記制御装置から前記制御対象装置に供給された前記第1のパターン信号をループ回路で折り返して複数ビットのシリアルパターンからなる第2のパターン信号として前記制御装置に対して出力するステップと、前記第1のパターン信号及び前記制御対象装置から供給される第2のパターン信号が一致するか否かを確認するパターン確認ステップとを有し、前記パターン確認ステップは、前記第1のパターン信号及び前記第2のパターン信号をビット毎に比較し、前記比較の結果に基づき、不一致となるビット数をカウンタでカウントし、前記カウンタの値が該カウンタの値に対して予め設定された閾値未満となる場合に、前記制御装置及び前記制御対象装置が接続されたと判断し、前記カウンタの値が前記閾値以上となる場合に、前記制御装置及び前記制御対象装置が正常に接続されていないと判断することを特徴とする。本発明は、前記発明と同様に、装置の間の接続状態を確実に確認することができると共に、回路の安全性を保持することができ、さらに、検出誤差を軽減することができる。 The present invention is also a connection confirmation method for confirming a connection state of a control device and a control target device controlled by the control device, wherein the control device uses a random first pattern signal composed of a multi-bit serial pattern. And outputting the first pattern signal supplied from the control device to the control target device by a loop circuit, and a second pattern consisting of a multi-bit serial pattern. A step of outputting to the control device as a pattern signal, and a pattern confirmation step of confirming whether or not the first pattern signal and the second pattern signal supplied from the device to be controlled match. the pattern verification step compares said first pattern signal and the second pattern signal for each bit, of the comparison Based on the result, the counter counts the number of bits that do not match, and the control device and the control target device are connected when the value of the counter is less than a preset threshold with respect to the value of the counter When the value of the counter is equal to or greater than the threshold value, it is determined that the control device and the control target device are not normally connected . In the present invention, as in the case of the above-described invention, the connection state between the devices can be reliably confirmed, the safety of the circuit can be maintained , and the detection error can be reduced.

以上のように、本発明によれば、互いに接続された複数の装置間の接続状態を確実に確認すると共に、保護すべき回路の安全性を保つことが可能になる。   As described above, according to the present invention, it is possible to reliably confirm the connection state between a plurality of devices connected to each other and to maintain the safety of a circuit to be protected.

本発明に係る接続確認システムの一実施の形態を示すブロック図である。It is a block diagram which shows one Embodiment of the connection confirmation system which concerns on this invention. パターン確認回路の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of a pattern confirmation circuit. 本発明に係る接続確認システムにおける接続状態の確認処理の流れについて説明するためのフローチャートである。It is a flowchart for demonstrating the flow of the confirmation process of the connection state in the connection confirmation system which concerns on this invention.

次に、本発明を実施するための形態について、図面を参照しながら詳細に説明する。従来の制御装置と、この制御装置によって動作が制御される制御対象装置とが汎用性の高いコネクタで接続された接続確認システムにおいては、制御装置に対して所望の制御対象装置以外の制御対象装置が接続される場合が考えられる。この場合、制御装置は、制御対象装置との接続状態が正常であるか否かを判定することなく動作を開始するため、予期しない過電圧等によって制御装置及び/又は制御対象装置が破損してしまう虞があった。   Next, an embodiment for carrying out the present invention will be described in detail with reference to the drawings. In a connection confirmation system in which a conventional control device and a control target device whose operation is controlled by the control device are connected by a highly versatile connector, a control target device other than the desired control target device is connected to the control device. May be connected. In this case, since the control device starts the operation without determining whether or not the connection state with the control target device is normal, the control device and / or the control target device is damaged due to an unexpected overvoltage or the like. There was a fear.

そこで、本発明に係る接続確認システムでは、制御装置から出力する所定のパターン信号に基づき制御装置及び制御対象装置の間の接続状態を判定し、判定結果に応じて両装置間の接続を制御するようにした。尚、以下の説明においては、所望の制御対象となる制御対象装置と、異なる制御対象装置とにおけるコネクタのピン配置が異なるものとして説明する。   Therefore, in the connection confirmation system according to the present invention, the connection state between the control device and the control target device is determined based on a predetermined pattern signal output from the control device, and the connection between both devices is controlled according to the determination result. I did it. In the following description, it is assumed that the pin arrangement of the connector is different between a control target device that is a desired control target and a different control target device.

図1は、本発明にかかる接続確認システムの一実施の形態を示し、この接続確認システム1は、制御装置10及び制御対象装置20で構成され、制御対象装置20は、制御装置10によって各種の動作が制御される。制御装置10は、制御対象装置20に対して供給する所定のパターン信号に基づき、制御装置10及び制御対象装置20を接続するコネクタが正常に接続されているか否かを判定する。   FIG. 1 shows an embodiment of a connection confirmation system according to the present invention. This connection confirmation system 1 is composed of a control device 10 and a control target device 20, and the control target device 20 is controlled by the control device 10 according to various types. Operation is controlled. The control device 10 determines whether or not the connector connecting the control device 10 and the control target device 20 is normally connected based on a predetermined pattern signal supplied to the control target device 20.

制御装置10は、コネクタ11、集積回路12、保護対象回路15、切替回路16、保護回路17A及び17Bを備える。コネクタ11は、D−sub等の汎用性の高いコネクタであり、ケーブル2を介して制御対象装置20に設けられたコネクタ21に接続される。   The control device 10 includes a connector 11, an integrated circuit 12, a protection target circuit 15, a switching circuit 16, and protection circuits 17A and 17B. The connector 11 is a highly versatile connector such as D-sub, and is connected to a connector 21 provided in the control target device 20 via the cable 2.

集積回路12は、擬似ランダムパターン生成回路13及びパターン確認回路14を備え、制御装置10及び制御対象装置20を接続するコネクタ11及び集積回路12が正常に接続されているか否かを判定する。   The integrated circuit 12 includes a pseudo random pattern generation circuit 13 and a pattern confirmation circuit 14, and determines whether or not the connector 11 and the integrated circuit 12 that connect the control device 10 and the control target device 20 are normally connected.

擬似ランダムパターン生成回路13は、制御装置10及び制御対象装置20の間の接続状態の確認動作を行うための回路であり、制御装置10に設けられた図示しないCPU(Central Processing Unit)等の制御部から供給されるリセット信号及びON信号に基づき、制御装置10及び制御対象装置20の間の接続状態の確認動作を開始する。具体的には、例えば、リセット信号によってリセットが解除され、ON信号が供給された際に、予め決定されたランダムなパターン信号(シリアルパターン)を生成して出力する。尚、シリアルパターンの生成には、制御部から供給される数kHz程度の低速なクロックAが用いられる。   The pseudo random pattern generation circuit 13 is a circuit for confirming the connection state between the control device 10 and the control target device 20, and controls a CPU (Central Processing Unit) (not shown) provided in the control device 10. Based on the reset signal and the ON signal supplied from the control unit, the connection state confirmation operation between the control device 10 and the control target device 20 is started. Specifically, for example, when a reset is canceled by a reset signal and an ON signal is supplied, a predetermined random pattern signal (serial pattern) is generated and output. For generation of the serial pattern, a low-speed clock A of about several kHz supplied from the control unit is used.

擬似ランダムパターン生成回路13によるランダムパターンの生成方法としては、例えば、PN6を用いることができ、生成されるランダムパターンは、数10ビット程度のシリアルパターンで構成される。例えば、ランダムパターンの生成方法としてPN6を用いた場合、生成されるランダムパターンは、64ビットのシリアルパターンで構成される。   As a random pattern generation method by the pseudo random pattern generation circuit 13, for example, PN6 can be used, and the generated random pattern is constituted by a serial pattern of about several tens of bits. For example, when PN6 is used as a random pattern generation method, the generated random pattern is composed of a 64-bit serial pattern.

パターン確認回路14は、擬似ランダムパターン生成回路13で生成されたシリアルパターンと、制御対象装置20から供給されたシリアルパターンとをビット毎に比較し、2つのシリアルパターンの一致/不一致に基づき、制御装置10及び制御対象装置20が正常に接続されているか否かを判定する。そして、パターン確認回路14は、接続状態の判定結果に基づき、後述する切替回路16を制御するための切替制御信号を出力する。   The pattern confirmation circuit 14 compares the serial pattern generated by the pseudo random pattern generation circuit 13 with the serial pattern supplied from the control target device 20 for each bit, and performs control based on the match / mismatch of the two serial patterns. It is determined whether or not the device 10 and the control target device 20 are normally connected. Then, the pattern confirmation circuit 14 outputs a switching control signal for controlling the switching circuit 16 described later based on the determination result of the connection state.

パターン確認回路14は、図2に示すように、入力パターン比較部31、エラーカウンタ32及び保護対象回路制御部33を備える。入力パターン比較部31は、擬似ランダムパターン生成回路13から出力されたシリアルパターンと、制御対象装置20から供給されたシリアルパターンとをビット毎に比較し、比較結果をエラーカウンタ32に供給する。   As shown in FIG. 2, the pattern check circuit 14 includes an input pattern comparison unit 31, an error counter 32, and a protection target circuit control unit 33. The input pattern comparison unit 31 compares the serial pattern output from the pseudo random pattern generation circuit 13 with the serial pattern supplied from the control target device 20 for each bit, and supplies the comparison result to the error counter 32.

エラーカウンタ32は、入力パターン比較部31から供給された比較結果に基づき、値が一致しない数(エラー数)をカウントする。エラーカウンタ32には、エラー数に対して予め閾値が設定され、エラー数が閾値以上となる場合には、制御装置10及び制御対象装置20の接続状態が異常(シリアルパターンが不一致)であると判定する。また、エラー数が閾値未満となる場合には、接続状態が正常(シリアルパターンが一致)であると判定する。これにより、例えば、ノイズの影響等によってシリアルパターンの一部の値が瞬間的に変動した場合でも、シリアルパターンが一致すると判定することができる。   The error counter 32 counts the number of values that do not match (the number of errors) based on the comparison result supplied from the input pattern comparison unit 31. In the error counter 32, a threshold is set in advance for the number of errors, and when the number of errors is equal to or greater than the threshold, the connection state of the control device 10 and the control target device 20 is abnormal (serial pattern mismatch). judge. When the number of errors is less than the threshold, it is determined that the connection state is normal (serial pattern matches). Thereby, for example, even when a part of the values of the serial pattern fluctuates instantaneously due to the influence of noise or the like, it can be determined that the serial patterns match.

尚、エラーカウンタ32においては、クロックAの数百倍程度の周波数を有するクロックBを用いてサンプリングを行う。クロックBは、図示しない制御部から供給される。これにより、ケーブル2を延長した際に生じるデータ遅延の影響を防ぐことができる。   The error counter 32 performs sampling using a clock B having a frequency several hundred times that of the clock A. The clock B is supplied from a control unit (not shown). Thereby, the influence of the data delay which arises when the cable 2 is extended can be prevented.

保護対象回路制御部33は、エラーカウンタ32による接続状態の結果に基づき、シリアルパターンが不一致であると判定した場合に切替回路16をOFFとし、シリアルパターンが一致したと判定した場合に切替回路16をONとする切替制御信号を出力する。   The protection target circuit control unit 33 turns off the switching circuit 16 when determining that the serial patterns do not match based on the result of the connection state by the error counter 32, and switches the switching circuit 16 when determining that the serial patterns match. A switching control signal for turning ON is output.

説明は図1に戻り、保護対象回路15は、制御対象装置20の動作を制御するための各種回路であり、制御信号をコネクタ11を介して制御対象装置20に対して供給する。   Returning to FIG. 1, the protection target circuit 15 is various circuits for controlling the operation of the control target device 20, and supplies a control signal to the control target device 20 via the connector 11.

切替回路16は、保護対象回路15及びコネクタ11の間に設けられ、パターン確認回路14から供給される切替制御信号に基づき、保護対象回路15及びコネクタ11の間の接続のON/OFFを制御する。保護対象回路15及びコネクタ11の間の接続は、通常、切替回路16によってOFFとされる。   The switching circuit 16 is provided between the protection target circuit 15 and the connector 11, and controls ON / OFF of the connection between the protection target circuit 15 and the connector 11 based on a switching control signal supplied from the pattern confirmation circuit 14. . The connection between the protection target circuit 15 and the connector 11 is normally turned off by the switching circuit 16.

保護回路17A及び17Bは、集積回路12及びコネクタ11の間に設けられ、過電圧等による集積回路12及び制御対象装置20の破損を防止する。   The protection circuits 17A and 17B are provided between the integrated circuit 12 and the connector 11, and prevent damage to the integrated circuit 12 and the control target device 20 due to overvoltage or the like.

制御対象装置20は、コネクタ21、ループ回路22及び負荷23を備える。コネクタ21は、制御装置10のコネクタ11と同様に、D−sub等の汎用性の高いコネクタであり、ケーブル2を介して制御装置10のコネクタ11に接続される。   The control target device 20 includes a connector 21, a loop circuit 22, and a load 23. Similarly to the connector 11 of the control device 10, the connector 21 is a highly versatile connector such as D-sub, and is connected to the connector 11 of the control device 10 via the cable 2.

ループ回路22は、例えば配線で構成され、コネクタ21を介して制御装置10から供給されたシリアルパターンを折り返してそのままコネクタ21に対して出力する。負荷23は、制御装置10の制御によって動作する回路等で構成される。   The loop circuit 22 is composed of, for example, wiring, and loops back the serial pattern supplied from the control device 10 via the connector 21 and outputs it to the connector 21 as it is. The load 23 is configured by a circuit or the like that operates under the control of the control device 10.

次に、上記構成を有する接続確認システム1の動作について、図3のフローチャートを参照して説明する。   Next, the operation of the connection confirmation system 1 having the above configuration will be described with reference to the flowchart of FIG.

まず、集積回路12に対して供給されるリセット信号によりリセットが解除され、ON信号が供給されると、接続状態の確認処理が開始され、擬似ランダムパターン生成回路13において数十ビットのランダムなシリアルパターンが生成される(ステップS1)。そして、生成されたシリアルパターンがコネクタ11を介して制御対象装置20に対して出力される(ステップS2)。   First, when the reset is released by the reset signal supplied to the integrated circuit 12 and the ON signal is supplied, the connection state confirmation process is started, and the pseudo-random pattern generation circuit 13 performs random serial of several tens of bits. A pattern is generated (step S1). Then, the generated serial pattern is output to the control target apparatus 20 via the connector 11 (step S2).

制御装置10から出力されたシリアルパターンは、コネクタ21を介して制御対象装置20に供給される。制御対象装置20で受信したシリアルパターンは、ループ回路22に供給され、そのままの状態で折り返し、コネクタ21を介して制御装置10に対して出力される。   The serial pattern output from the control device 10 is supplied to the control target device 20 via the connector 21. The serial pattern received by the control target device 20 is supplied to the loop circuit 22, folded back as it is, and output to the control device 10 via the connector 21.

次に、制御対象装置20から出力されたシリアルパターンは、コネクタ11を介してパターン確認回路14で受信され(ステップS3)、パターン確認回路14の入力パターン比較部31により、擬似ランダムパターン生成回路13から出力されたシリアルパターンと、制御対象装置20から受信したシリアルパターンとがビット毎に比較される。そして、エラーカウンタ32によりエラー数がカウントされ、エラー数とエラー数に対して予め設定された閾値とに基づき、2つのシリアルパターンが一致するか否かが判定される(ステップS4)。   Next, the serial pattern output from the control target device 20 is received by the pattern confirmation circuit 14 via the connector 11 (step S3), and the pseudo random pattern generation circuit 13 is input by the input pattern comparison unit 31 of the pattern confirmation circuit 14. And the serial pattern received from the control target device 20 are compared bit by bit. Then, the number of errors is counted by the error counter 32, and it is determined whether or not the two serial patterns match based on the number of errors and a threshold value preset for the number of errors (step S4).

エラー数が閾値未満である場合には、2つのシリアルパターンが一致したと判断され(ステップS4:Yes)、切替回路16をONとする切替制御信号が出力され、切替回路16がONとされる(ステップS5)。これにより、保護対象回路15及びコネクタ11の間が接続される。   If the number of errors is less than the threshold, it is determined that the two serial patterns match (step S4: Yes), a switching control signal for turning on the switching circuit 16 is output, and the switching circuit 16 is turned on. (Step S5). Thereby, the protection target circuit 15 and the connector 11 are connected.

一方、エラー数が閾値異常である場合には、2つのシリアルパターンが不一致であると判断され(ステップS4:No)、切替回路16をOFFとする切替制御信号が出力され、切替回路16がOFFとされる(ステップS6)。これにより、保護対象回路15及びコネクタ11の間の接続が遮断される。   On the other hand, when the number of errors is abnormal in threshold value, it is determined that the two serial patterns do not match (step S4: No), a switching control signal for turning off the switching circuit 16 is output, and the switching circuit 16 is turned off. (Step S6). Thereby, the connection between the protection target circuit 15 and the connector 11 is cut off.

尚、作業者の誤接続等により、制御装置10に対して所望の制御対象装置20と異なる制御対象装置が接続された場合には、制御対象装置のコネクタにおけるピン配置が異なるため、制御装置10から出力されたシリアルパターンが正常に戻ってこない。従って、ステップS4における接続の判定が不一致となり、保護対象回路15及びコネクタ11の間の接続が遮断されるため、保護対象回路15や負荷23に対する過電圧の印加等を防ぐことができ、回路の破損を防止することができる。また、制御装置10に対して誤接続した場合でも、所望の制御対象装置20を制御装置10に対して接続し直すことにより、正常な動作を行うことができる。   When a control target device different from the desired control target device 20 is connected to the control device 10 due to an erroneous connection of an operator or the like, the pin arrangement in the connector of the control target device is different, and thus the control device 10 The serial pattern output from does not return to normal. Accordingly, the determination of connection in step S4 becomes inconsistent, and the connection between the protection target circuit 15 and the connector 11 is cut off. Therefore, application of an overvoltage to the protection target circuit 15 and the load 23 can be prevented, and the circuit is damaged. Can be prevented. Even when the control device 10 is erroneously connected, normal operation can be performed by reconnecting the desired control target device 20 to the control device 10.

以上のように、本実施の形態によれば、制御装置から制御対象装置に対して出力されるシリアルパターンに基づき、制御装置及び制御対象装置の間の接続状態を確認するため、装置の間の接続状態を確実に確認することができる。そして、正常に接続されていると判断された場合にのみ、制御装置の制御対象回路と制御対象装置の負荷とを接続するため、回路の安全性を保持することができる。   As described above, according to the present embodiment, based on the serial pattern output from the control device to the control target device, the connection state between the control device and the control target device is checked. The connection state can be confirmed reliably. Only when it is determined that the connection is normal, the control target circuit of the control device is connected to the load of the control target device, so that the safety of the circuit can be maintained.

また、制御装置に対して所望の制御対象装置以外の制御対象装置が接続された場合には、ピン配置が異なるため、制御装置から出力されたシリアルパターンが制御装置に戻らないため、誤接続による回路の破損を防止することができる。   In addition, when a control target device other than the desired control target device is connected to the control device, the pin arrangement is different, and the serial pattern output from the control device does not return to the control device. Circuit breakage can be prevented.

さらに、本実施の形態では、制御装置及び制御対象装置の接続確認処理を、独立して設けられた集積回路で行うため、制御装置に設けられたCPU等の制御部の負荷状況に依存することなく、独立かつ継続的に監視することができる。   Furthermore, in this embodiment, since the connection confirmation processing of the control device and the control target device is performed by an integrated circuit provided independently, it depends on the load status of a control unit such as a CPU provided in the control device. And can be monitored independently and continuously.

さらにまた、制御装置及び制御対象装置の接続状態をランダムなパターンを用いて確認するため、パターンを意図的に一致させることが困難であり、セキュリティを向上させることができる。   Furthermore, since the connection state of the control device and the control target device is confirmed using a random pattern, it is difficult to intentionally match the pattern, and security can be improved.

さらにまた、制御対象装置に設けられたループ回路を配線等で構成するため、接続確認のための電源回路が不要となり、製造コストの増大を抑制することができる。   Furthermore, since the loop circuit provided in the device to be controlled is configured by wiring or the like, a power supply circuit for connection confirmation becomes unnecessary, and an increase in manufacturing cost can be suppressed.

以上、本発明の実施の形態について説明したが、本発明は、上述した本発明の実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内で様々な変形や応用が可能である。例えば、上述の例では、ランダムパターンの生成方法としてPN6を用いた場合について説明したが、これに限られず、PN7等の既知のパターン生成方法を用いてもよい。また、予め決定された任意の固定長のパターンをシリアルパターンとして用いてもよい。   Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments of the present invention, and various modifications and applications are possible without departing from the scope of the present invention. It is. For example, in the above-described example, the case where PN6 is used as the random pattern generation method has been described. However, the present invention is not limited to this, and a known pattern generation method such as PN7 may be used. A predetermined fixed-length pattern may be used as the serial pattern.

1 接続確認システム
2 ケーブル
10 制御装置
11 コネクタ
12 集積回路
13 擬似ランダムパターン生成回路
14 パターン確認回路
15 保護対象回路
16 切替回路
17(17A、17B) 保護回路
20 制御対象装置
21 コネクタ
22 ループ回路
23 負荷
31 入力パターン比較部
32 エラーカウンタ
33 保護対象回路制御部
DESCRIPTION OF SYMBOLS 1 Connection confirmation system 2 Cable 10 Control apparatus 11 Connector 12 Integrated circuit 13 Pseudorandom pattern generation circuit 14 Pattern confirmation circuit 15 Protection target circuit 16 Switching circuit 17 (17A, 17B) Protection circuit 20 Control target apparatus 21 Connector 22 Loop circuit 23 Load 31 Input pattern comparison unit 32 Error counter 33 Protection target circuit control unit

Claims (4)

制御装置及び該制御装置により制御される制御対象装置の接続状態を確認する接続確認システムであって、
前記制御対象装置と接続する第1のコネクタと、
複数ビットのシリアルパターンからなるランダムな第1のパターン信号を生成する擬似ランダムパターン生成回路と、
前記第1のパターン信号及び前記制御対象装置から供給される複数ビットのシリアルパターンからなる第2のパターン信号が一致するか否かを確認するパターン確認回路と、
前記パターン確認回路の制御に基づき、保護対象回路及び前記第1のコネクタの間の接続を切り替える切替回路とを備える制御装置と、
前記制御装置と接続する第2のコネクタと、
前記制御装置から供給された前記第1のパターン信号を折り返して前記第2のパターン信号として出力するループ回路とを備える制御対象装置とからなり、
前記パターン確認回路は、
前記第1のパターン信号及び前記第2のパターン信号をビット毎に比較するパターン比較部と、
前記パターン比較部による比較の結果に基づき、不一致となるビット数をカウントするカウンタと、
前記カウンタの値に対して閾値が設定され、前記カウンタの値が前記閾値未満となる場合に、前記制御装置及び前記制御対象装置が接続されたと判断して前記切替回路をONとするように制御し、前記カウンタの値が前記閾値以上となる場合に、前記切替回路をOFFとするように制御する保護対象回路制御部とを有することを特徴とする接続確認システム。
A connection confirmation system for confirming a connection state of a control device and a control target device controlled by the control device,
A first connector connected to the device to be controlled;
A pseudo-random pattern generation circuit for generating a random first pattern signal composed of a serial pattern of a plurality of bits ;
A pattern confirmation circuit for confirming whether or not the first pattern signal and the second pattern signal composed of a multi-bit serial pattern supplied from the device to be controlled match,
A control device comprising a switching circuit for switching the connection between the circuit to be protected and the first connector based on the control of the pattern confirmation circuit;
A second connector connected to the control device;
A control target device comprising a loop circuit that loops back the first pattern signal supplied from the control device and outputs the first pattern signal as the second pattern signal,
The pattern confirmation circuit
A pattern comparison unit that compares the first pattern signal and the second pattern signal bit by bit;
Based on the result of the comparison by the pattern comparison unit, a counter that counts the number of mismatched bits,
When a threshold is set for the counter value and the counter value is less than the threshold, it is determined that the control device and the control target device are connected, and the switching circuit is turned on. And a protection target circuit control unit that controls the switching circuit to be turned off when the value of the counter is equal to or greater than the threshold value .
前記ループ回路は、配線で構成されることを特徴とする請求項1に記載の接続確認システム。 The connection confirmation system according to claim 1, wherein the loop circuit is configured by wiring. 外部の制御対象装置との接続状態を確認する制御装置であって、
前記制御対象装置と接続するコネクタと、
複数ビットのシリアルパターンからなるランダムな第1のパターン信号を生成する擬似ランダムパターン生成回路と、
前記第1のパターン信号及び前記制御対象装置から供給される複数ビットのシリアルパターンからなる第2のパターン信号が一致するか否かを確認するパターン確認回路と、
前記パターン確認回路の制御に基づき、保護対象回路及び前記コネクタの間の接続を切り替える切替回路とを備え、
前記パターン確認回路は、
前記第1のパターン信号及び前記第2のパターン信号をビット毎に比較するパターン比較部と、
前記パターン比較部による比較の結果に基づき、不一致となるビット数をカウントするカウンタと、
前記カウンタの値に対して閾値が設定され、前記カウンタの値が前記閾値未満となる場合に、前記制御装置及び前記制御対象装置が接続されたと判断して前記切替回路をONとするように制御し、前記カウンタの値が前記閾値以上となる場合に、前記切替回路をOFFとするように制御する保護対象回路制御部とを有することを特徴とする制御装置。
A control device for confirming a connection state with an external control target device,
A connector connected to the device to be controlled;
A pseudo-random pattern generation circuit for generating a random first pattern signal composed of a serial pattern of a plurality of bits;
A pattern confirmation circuit for confirming whether or not the first pattern signal and the second pattern signal composed of a multi-bit serial pattern supplied from the device to be controlled match,
Under the control of the pattern check circuit, and a switching circuit for switching the connection between the protected circuit and the pre-Kiko connector,
The pattern confirmation circuit
A pattern comparison unit that compares the first pattern signal and the second pattern signal bit by bit;
Based on the result of the comparison by the pattern comparison unit, a counter that counts the number of mismatched bits,
When a threshold is set for the counter value and the counter value is less than the threshold, it is determined that the control device and the control target device are connected, and the switching circuit is turned on. And a protection target circuit control unit that controls the switching circuit to be turned off when the value of the counter is equal to or greater than the threshold value.
制御装置及び該制御装置により制御される制御対象装置の接続状態を確認する接続確認方法であって、
前記制御装置で複数ビットのシリアルパターンからなるランダムな第1のパターン信号を生成し、前記制御対象装置に対して出力するステップと、
前記制御装置から前記制御対象装置に供給された前記第1のパターン信号をループ回路で折り返して複数ビットのシリアルパターンからなる第2のパターン信号として前記制御装置に対して出力するステップと、
前記第1のパターン信号及び前記制御対象装置から供給される第2のパターン信号が一致するか否かを確認するパターン確認ステップとを有し、
前記パターン確認ステップは、
前記第1のパターン信号及び前記第2のパターン信号をビット毎に比較し、
前記比較の結果に基づき、不一致となるビット数をカウンタでカウントし、
前記カウンタの値が該カウンタの値に対して予め設定された閾値未満となる場合に、前記制御装置及び前記制御対象装置が接続されたと判断し、前記カウンタの値が前記閾値以上となる場合に、前記制御装置及び前記制御対象装置が正常に接続されていないと判断することを特徴とする接続確認方法。
A connection confirmation method for confirming a connection state of a control device and a control target device controlled by the control device,
Generating a random first pattern signal consisting of a serial pattern of a plurality of bits in the control device, and outputting to the control target device;
A step of looping back the first pattern signal supplied from the control device to the device to be controlled by a loop circuit and outputting the first pattern signal to the control device as a second pattern signal consisting of a multi-bit serial pattern ;
A pattern confirmation step for confirming whether or not the first pattern signal and the second pattern signal supplied from the device to be controlled match,
The pattern confirmation step includes
Comparing the first pattern signal and the second pattern signal bit by bit;
Based on the result of the comparison, the counter counts the number of bits that do not match,
When the value of the counter is less than a preset threshold with respect to the value of the counter, it is determined that the control device and the control target device are connected, and the value of the counter is equal to or greater than the threshold And determining that the control device and the control target device are not normally connected .
JP2012000315A 2012-01-05 2012-01-05 Connection confirmation system, control device, and connection confirmation method Active JP5517220B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012000315A JP5517220B2 (en) 2012-01-05 2012-01-05 Connection confirmation system, control device, and connection confirmation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012000315A JP5517220B2 (en) 2012-01-05 2012-01-05 Connection confirmation system, control device, and connection confirmation method

Publications (2)

Publication Number Publication Date
JP2013140078A JP2013140078A (en) 2013-07-18
JP5517220B2 true JP5517220B2 (en) 2014-06-11

Family

ID=49037631

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012000315A Active JP5517220B2 (en) 2012-01-05 2012-01-05 Connection confirmation system, control device, and connection confirmation method

Country Status (1)

Country Link
JP (1) JP5517220B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101774351B1 (en) * 2013-06-26 2017-09-19 인텔 코포레이션 A method and device for projecting an image with improved safety
JP2016189164A (en) * 2015-03-30 2016-11-04 東芝テック株式会社 Electronic apparatus and display device
JP6535833B2 (en) * 2017-08-10 2019-07-03 ノース インコーポレイテッドNorth Inc. Method and apparatus for projecting an image with improved security
WO2019224955A1 (en) * 2018-05-23 2019-11-28 堺ディスプレイプロダクト株式会社 Connection system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2887606B2 (en) * 1989-11-16 1999-04-26 富士通株式会社 Error counter
JP2001045658A (en) * 1999-07-28 2001-02-16 Nec Software Kobe Ltd Method and device for preventing breakage of printed circuit board due to poor connector contact
WO2007091332A1 (en) * 2006-02-10 2007-08-16 Fujitsu Limited Connection detecting circuit
JP2008298536A (en) * 2007-05-30 2008-12-11 Canon Inc Connection detecting device

Also Published As

Publication number Publication date
JP2013140078A (en) 2013-07-18

Similar Documents

Publication Publication Date Title
JP5517220B2 (en) Connection confirmation system, control device, and connection confirmation method
US8495433B2 (en) Microcomputer mutual monitoring system and a microcomputer mutual monitoring method
US8892943B2 (en) Electronic device and method for verifying correct program execution
US11914708B2 (en) Secure X-modular redundancy
US20050047047A1 (en) Protection circuit for semiconductor device and semiconductor device including the same
KR102080453B1 (en) Watchdog apparatus and method thereof
US10366018B2 (en) Control apparatus with access monitoring unit configured to request interrupt process
US20150185268A1 (en) Monitoring Device for Monitoring a Circuit
US10606703B2 (en) Monitoring circuit
KR102190469B1 (en) Security circuit and security system including the same
US11216593B2 (en) Data protection circuit of chip, chip, and electronic device
US11277150B2 (en) Program flow monitoring for deterministic firmware functions
JP2007034469A (en) Data error detection device and data error detection method
EP3115900A1 (en) A computer system and a method for executing safety-critical applications using voting
JP6635602B2 (en) Failure detection circuit
US9128839B2 (en) Numerical control system having removable filter circuit
JP5770320B2 (en) Contact state monitoring device for connector contacts
EP3296874B1 (en) Apparatus and associated method
JP5495182B2 (en) Contact output circuit
EP2685379B1 (en) An integrated supervisory circuit for an automotive electrical component unit
JP2018097442A (en) Electronic controller
JP2004317365A (en) Failure detection circuit for reset ic for control equipment
JP2011248396A (en) Electronic circuit system, microcomputer, and operation method for electronic circuit system
US20130069698A1 (en) Reset signal generating circuit and semiconductor integrated circuit including the same
JP2001004683A (en) Self-inspecting device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130510

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131106

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131112

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140108

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140128

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140217

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140326

R150 Certificate of patent or registration of utility model

Ref document number: 5517220

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350