JP2014007601A - Built-in interface circuit - Google Patents

Built-in interface circuit Download PDF

Info

Publication number
JP2014007601A
JP2014007601A JP2012142365A JP2012142365A JP2014007601A JP 2014007601 A JP2014007601 A JP 2014007601A JP 2012142365 A JP2012142365 A JP 2012142365A JP 2012142365 A JP2012142365 A JP 2012142365A JP 2014007601 A JP2014007601 A JP 2014007601A
Authority
JP
Japan
Prior art keywords
terminal
transmission
pair
differential
switching element
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.)
Pending
Application number
JP2012142365A
Other languages
Japanese (ja)
Inventor
Motokatsu Tokunaga
素克 徳永
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2012142365A priority Critical patent/JP2014007601A/en
Priority to CN201310249925.5A priority patent/CN103516572A/en
Publication of JP2014007601A publication Critical patent/JP2014007601A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Dc Digital Transmission (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a built-in interface circuit capable of preventing the influence on a network at minimum even if a device falls into an abnormal operating state.SOLUTION: A built-in interface circuit comprises: a differential receiver 14 receiving a differential serial signal via a pair of reception terminals Rx1 and Rx2; and a differential driver 15 outputting a differential serial signal to a pair of transmission terminals Tx1 and Tx2. Device-state determination means (an AND gate 31) determines whether a device into which the built-in interface circuit is incorporated is in a normal operating state. Switching means (17 and 18) connects between the pair of reception terminals and the differential receiver 14 and between the differential driver 15 and the pair of transmission terminals when the device-state determination means determines that the device is in the normal operating state, and connects between the pair of reception terminals and the pair of transmission terminals when the device-state determination means determines that the device is not in the normal operating state.

Description

本発明は、ネットワークに接続する機器に組み込まれる組込インタフェース回路に関する。   The present invention relates to an embedded interface circuit incorporated in a device connected to a network.

半二重方式の差動シリアルインタフェースを介して機器間の接続を行うネットワークでは、ネットワークの接続構成は多種多様である。例えば、高速通信が必要な経路、接続台数が多い経路、配線長が多い経路など、各種仕様に合わせた最適な構成がある。また、半二重方式の差動シリアルインタフェースは、主に2線の差動信号を送信/受信で共用しており、通信状況のモニタとプロトコル制御で送受信タイミングを形成している。   In a network that connects devices via a half-duplex differential serial interface, there are a wide variety of network connection configurations. For example, there are optimum configurations according to various specifications such as a route requiring high-speed communication, a route having a large number of connected devices, and a route having a large wiring length. The half-duplex differential serial interface mainly uses two lines of differential signals for transmission / reception, and forms transmission / reception timing by monitoring the communication status and controlling the protocol.

例えば、特許文献1は、CPUなどのコントローラと表示パネルやカメラなどの周辺デバイス間の通信インタフェースを想定したものであって、自機の送信ポートが後段の受信ポートに接続され、また自機の受信ポートが前段の送信ポートに接続されるようネットワークを構成している。特許文献1では、このように制御デバイスと被制御デバイスをリングネットワーク状に接続して、多くの被制御デバイスが接続される場合にも、信号線の本数を増やさずに全体を最小限の信号線で接続可能とする手法が開示されている。   For example, Patent Document 1 assumes a communication interface between a controller such as a CPU and peripheral devices such as a display panel and a camera, and the transmission port of the own device is connected to the reception port at the subsequent stage. The network is configured such that the reception port is connected to the previous transmission port. In Patent Document 1, when the control device and the controlled device are connected in a ring network like this and a large number of controlled devices are connected, the entire signal is minimized without increasing the number of signal lines. A technique for enabling connection by a line is disclosed.

また、特許文献2では、自機の送信ポートが後段の受信ポートに接続され、また自機の受信ポートが前段の送信ポートに接続されて構成されるリング型ネットワークを前提としている。このようなネットワークにおいて、データ伝送環境が悪い場合であっても、ロック信号とトレーニング信号とを区別するためのトレーニングヘッダ信号で初期化を行って、各機器が同期化され、且つ、互いに判定レベルを設定して一方向通信を可能とする手法が提案されている。   Further, Patent Document 2 is based on a ring network in which the transmission port of the own device is connected to a subsequent reception port, and the reception port of the own device is connected to the previous transmission port. In such a network, even if the data transmission environment is bad, initialization is performed with a training header signal for distinguishing between the lock signal and the training signal, and the respective devices are synchronized, and the determination level is mutually determined. There has been proposed a technique for enabling one-way communication by setting.

特開2007−49217号公報JP 2007-49217 A 特開2005−150970号公報JP 2005-150970 A

このような半二重方式の差動シリアルインタフェースは、主に、送信/受信機能を持つ複数の機器が相互間通信を行う場合に適用される。この半二重方式の差動シリアルインタフェースを用いたネットワーク構成の利点としては、差動信号を形成する2本の配線のみを使用してネットワーク接続が可能であるため、ネットワーク構築を低コスト化できる点、並びに、各機器におけるインタフェース回路が簡素化される点などが挙げられる。   Such a half-duplex differential serial interface is mainly applied when a plurality of devices having transmission / reception functions communicate with each other. As an advantage of the network configuration using this half-duplex differential serial interface, network connection is possible using only two wires forming a differential signal, so that the cost of network construction can be reduced. In addition, the interface circuit in each device is simplified.

他方で、このネットワーク構成における制約事項として、半二重に対応したプロトコルである必要がある点、並びに、配線長や接続機器台数に対応した通信品質(通信速度、エラー率等)の検証が必要となる点などが挙げられる。特に配線長と通信速度については、双方の影響度が大きく、一定の通信品質を保つためには、配線長が長くなるに伴って通信速度の低下が余儀なくされる。この通信速度の低下はシステムの応答性能などに影響を与えるため、ネットワークの高速化が望まれる。   On the other hand, as restrictions on this network configuration, it is necessary to use a protocol that supports half-duplex, and verification of communication quality (communication speed, error rate, etc.) corresponding to the wiring length and the number of connected devices is required. The point that becomes. In particular, both the wiring length and the communication speed have a large influence, and in order to maintain a constant communication quality, the communication speed is inevitably lowered as the wiring length increases. Since this decrease in communication speed affects the response performance of the system, it is desired to increase the network speed.

また、ネットワークに接続される機器台数が多いほど、機器故障時のネットワークへの影響が懸念される。前記特許文献1において、ネットワークが正常稼働するには、受信データを自機で判別し転送する機能が正常稼働していることが前提であり、機器故障や電源異常などの異常動作状態に陥った場合には、該機器の後段に接続されるネットワーク上の通信経路は無効となって通信不可となる懸念がある。また、前記特許文献2においても同様である。   In addition, as the number of devices connected to the network increases, there is a concern about the influence on the network when a device fails. In Patent Document 1, it is assumed that the function of discriminating and transferring received data by the own device is operating normally in order for the network to operate normally, resulting in an abnormal operation state such as equipment failure or power supply abnormality. In this case, there is a concern that the communication path on the network connected to the subsequent stage of the device becomes invalid and communication becomes impossible. The same applies to Patent Document 2.

なお、ネットワークに接続される機器が機器故障や電源異常などの異常動作状態に陥った場合の対処として、種々の技法が考えられる。例えば、該異常動作状態の機器から他の機器に異常通知メッセージ等が送信されるとき、他の機器側では、該異常動作状態の機器を迂回したネットワーク上の別経路を構築して、他の機器間で通信を行うようにするものがある。   It should be noted that various techniques are conceivable as a countermeasure when a device connected to the network falls into an abnormal operation state such as a device failure or a power failure. For example, when an abnormality notification message or the like is transmitted from the device in the abnormal operation state to another device, the other device side constructs another route on the network that bypasses the device in the abnormal operation state. Some devices allow communication between devices.

さらに、異常通知メッセージ等が送信できないケースも考えられる。このような場合に対処するためには、例えば、各機器に受信データについて異常の有無を常時監視する監視機能や、定期的に他の機器の状態を確認するための通信を行う確認機能など、を各機器が備える必要がある。すなわち、ネットワークに接続される機器が異常動作状態に陥った場合、それを他の機器側で検知するための機能を備えておく必要性や、ネットワーク上の通信経路の変更を行う必要性があるなど、ネットワークへの影響は大きいものがあった。   Further, there may be a case where an abnormality notification message or the like cannot be transmitted. In order to cope with such a case, for example, a monitoring function that constantly monitors whether there is an abnormality in the received data in each device, a confirmation function that periodically performs communication to check the status of other devices, etc. It is necessary for each device to have. In other words, when a device connected to the network falls into an abnormal operation state, it is necessary to provide a function for detecting it on the other device side or to change the communication path on the network. The impact on the network was great.

本発明は、以上のような事情に鑑みてなされたものであって、ネットワークに接続される機器が異常動作状態に陥った場合でも、該ネットワークにおける他の機器との接続状態を維持して、ネットワークシステムへの影響を最小限に抑制し得る組込インタフェース回路を提供することを目的としている。   The present invention was made in view of the circumstances as described above, and even when a device connected to a network falls into an abnormal operation state, the connection state with other devices in the network is maintained, An object of the present invention is to provide an embedded interface circuit capable of minimizing the influence on the network system.

上記課題を解決するため、本発明は、1対の受信端子と、1対の送信端子と、当該組込インタフェース回路が組み込まれる機器が正常稼働状態であるか否かを判断する機器状態判断手段と、前記1対の受信端子を介して差動シリアル信号を受信する差動レシーバと、前記1対の送信端子に差動シリアル信号を出力する差動ドライバと、前記機器状態判断手段が正常稼働状態であると判断したとき、前記1対の受信端子及び前記差動レシーバ間、並びに、前記差動ドライバ及び前記1対の送信端子間、をそれぞれ接続し、前記機器状態判断手段が正常稼働でない状態と判断したとき、前記1対の受信端子及び前記1対の送信端子間を接続する切替手段と、を備えることを特徴とする。   In order to solve the above-described problems, the present invention provides a device state determination means for determining whether or not a pair of reception terminals, a pair of transmission terminals, and a device in which the built-in interface circuit is incorporated is in a normal operating state. A differential receiver that receives a differential serial signal via the pair of reception terminals, a differential driver that outputs the differential serial signal to the pair of transmission terminals, and the device state determination means normally operating When it is determined that the device is in a state, the pair of receiving terminals and the differential receiver, and the differential driver and the pair of transmitting terminals are connected to each other, and the device state determining unit is not operating normally. And switching means for connecting between the pair of receiving terminals and the pair of transmitting terminals when the state is determined.

本発明により、ネットワークに接続される機器が異常動作状態に陥った場合でも、該ネットワークにおける他の機器との接続状態を維持して、ネットワークシステムへの影響を最小限に抑制し得る組込インタフェース回路を実現することができる。   According to the present invention, even when a device connected to a network falls into an abnormal operation state, a built-in interface capable of maintaining the connection state with other devices in the network and minimizing the influence on the network system. A circuit can be realized.

本発明の一実施形態に係る組込インタフェース回路の回路構成図である。It is a circuit block diagram of the built-in interface circuit which concerns on one Embodiment of this invention. (a)はスイッチング素子を説明する説明図であり、(b)はスイッチング素子が図1とは逆に切り替えられたときの接続状態を示す部分的な回路構成図である。(A) is explanatory drawing explaining a switching element, (b) is a partial circuit block diagram which shows a connection state when a switching element is switched contrary to FIG. 実施形態の組込インタフェース回路が組み込まれた機器をN台接続してリング型ネットワークを構成したときの構成図である。It is a block diagram when connecting the N apparatus incorporating the built-in interface circuit of the embodiment to configure a ring network. 実施形態の組込インタフェース回路が組み込まれた機器における送信時の処理手順を説明するフローチャートである。It is a flowchart explaining the process sequence at the time of the transmission in the apparatus incorporating the built-in interface circuit of embodiment. 図3のリング型ネットワークを入退室管理システムに適用したときの構成図である。It is a block diagram when the ring type network of FIG. 3 is applied to an entrance / exit management system. 実施形態の変形例に係る組込インタフェース回路の部分的な回路構成図である。It is a partial circuit block diagram of the built-in interface circuit which concerns on the modification of embodiment.

以下、本発明の組込インタフェース回路の実施形態について、適宜図面を参照しながら詳細に説明する。なお、各図において共通する部分には同一の符号を付し、重複した説明を省略する。   Hereinafter, embodiments of an embedded interface circuit of the present invention will be described in detail with reference to the drawings as appropriate. In addition, the same code | symbol is attached | subjected to the common part in each figure, and the overlapping description is abbreviate | omitted.

〔実施形態〕
図1は本発明の一実施形態に係る組込インタフェース回路50の回路構成図である。本実施形態の組込インタフェース回路50は、各種入力機器や各種センサ等の機器に組み込まれ、該機器を、半二重方式の差動シリアルインタフェースを介して機器間接続を行うネットワークに接続するためのインタフェース回路である。なお、後記するように、本実施形態の組込インタフェース回路50では、機器状態に応じて差動シリアル信号の接続関係が切り替わるが、図1とは逆の接続関係に切り替えられたときの部分的な回路構成図を図2(b)に示す。
Embodiment
FIG. 1 is a circuit configuration diagram of an embedded interface circuit 50 according to an embodiment of the present invention. The built-in interface circuit 50 according to the present embodiment is incorporated in devices such as various input devices and various sensors, and connects the devices to a network that performs device-to-device connection via a half-duplex differential serial interface. Interface circuit. As will be described later, in the built-in interface circuit 50 according to the present embodiment, the connection relationship of the differential serial signal is switched according to the device state. However, when the connection relationship is reversed to that shown in FIG. A simple circuit configuration diagram is shown in FIG.

図1において、組込インタフェース回路50は、コネクタ11、差動シリアルトランシーバ13、第1スイッチング素子17、第2スイッチング素子18、励磁コイル19、制御部21、トランジスタ29、第1抵抗27、第2抵抗28、ANDゲート31,33,37及びORゲート35を備えた構成である。   1, the built-in interface circuit 50 includes a connector 11, a differential serial transceiver 13, a first switching element 17, a second switching element 18, an excitation coil 19, a control unit 21, a transistor 29, a first resistor 27, a second In this configuration, a resistor 28, AND gates 31, 33, and 37 and an OR gate 35 are provided.

コネクタ11は、差動シリアルインタフェースの受信端子及び送信端子を分離して備える。すなわち、受信端子(Rx)として正極性端子Rx1及び反転極性端子Rx2を持ち、受信端子(Tx)として正極性端子Tx1及び反転極性端子Tx2を持つ。このような送受信端子の分離構成により、他の機器とのデイジーチェーン接続が可能となる。   The connector 11 includes a differential serial interface receiving terminal and transmitting terminal separately. That is, the receiving terminal (Rx) has a positive terminal Rx1 and an inverted polarity terminal Rx2, and the receiving terminal (Tx) has a positive terminal Tx1 and an inverted polarity terminal Tx2. With such a transmission / reception terminal separation configuration, daisy chain connection with other devices becomes possible.

また、差動シリアルトランシーバ13には、1対の受信端子Rx1,Rx2を介して差動シリアル信号を受信する差動レシーバ14と、1対の送信端子Tx1,Tx2に差動シリアル信号を出力する差動ドライバ15と、を備える。なお、差動レシーバ14のイネーブル端子(負論理)は接地電位GNDと接続されており、差動レシーバ14が常に有効となるよう制御されている。また、差動ドライバ15のイネーブル端子(正論理)には後記する機器状態信号DSTが接続され、該機器状態信号DSTにより差動ドライバ15の有効/無効が制御される構成である。   The differential serial transceiver 13 outputs a differential serial signal to the differential receiver 14 that receives the differential serial signal via the pair of reception terminals Rx1 and Rx2, and the pair of transmission terminals Tx1 and Tx2. And a differential driver 15. Note that the enable terminal (negative logic) of the differential receiver 14 is connected to the ground potential GND, and the differential receiver 14 is controlled to be always effective. Further, a device status signal DST described later is connected to an enable terminal (positive logic) of the differential driver 15, and the validity / invalidity of the differential driver 15 is controlled by the device status signal DST.

次に、特許請求の範囲にいう切替手段は、第1スイッチング素子17、第2スイッチング素子18、励磁コイル19、第1抵抗27、第2抵抗28及びトランジスタ29を備えて構成されている。   Next, the switching means referred to in the claims comprises a first switching element 17, a second switching element 18, an exciting coil 19, a first resistor 27, a second resistor 28, and a transistor 29.

第1抵抗27は、一端が受信端子の反転極性端子Rx2及び差動レシーバ14の反転極性入力と接続され、他端が第1スイッチング素子17の第1端子A1と接続されている。また、第2抵抗28は、一端が送信端子の正極性端子Tx1及び差動ドライバ15の正極性出力と接続され、他端が第2スイッチング素子18の第1端子A2と接続されている。なお、第1抵抗27及び第2抵抗28は、デイジーチェーン接続における他の機器との1対1接続において、それぞれ終端抵抗として機能する。   The first resistor 27 has one end connected to the inverting polarity terminal Rx2 of the receiving terminal and the inverting polarity input of the differential receiver 14, and the other end connected to the first terminal A1 of the first switching element 17. The second resistor 28 has one end connected to the positive terminal Tx1 of the transmission terminal and the positive output of the differential driver 15, and the other end connected to the first terminal A2 of the second switching element 18. Note that the first resistor 27 and the second resistor 28 each function as a termination resistor in a one-to-one connection with other devices in a daisy chain connection.

第1スイッチング素子17は、第1抵抗27の他端と接続される第1端子A1と、第2抵抗28の一端と接続される第2端子B1と、受信端子の正極性端子Rx1及び差動レシーバ13の正極性入力と接続される第3端子C1と、を備えて、第3端子C1と第1端子A1または第2端子B1との接続を切り替える。   The first switching element 17 includes a first terminal A1 connected to the other end of the first resistor 27, a second terminal B1 connected to one end of the second resistor 28, a positive terminal Rx1 as a receiving terminal, and a differential. A third terminal C1 connected to the positive input of the receiver 13, and the connection between the third terminal C1 and the first terminal A1 or the second terminal B1 is switched.

また、第2スイッチング素子18は、第2抵抗28の他端と接続される第1端子A2と、第1抵抗27の一端と接続される第2端子B2と、送信端子の反転極性端子Tx2及び差動ドライバ15の反転極性出力と接続される第3端子C2と、を備えて、前記第3端子と前記第1端子または前記第2端子との接続を切り替える。   The second switching element 18 includes a first terminal A2 connected to the other end of the second resistor 28, a second terminal B2 connected to one end of the first resistor 27, an inversion polarity terminal Tx2 of the transmission terminal, and A third terminal C2 connected to the inverted polarity output of the differential driver 15, and switches the connection between the third terminal and the first terminal or the second terminal.

すなわち、第1スイッチング素子17及び第2スイッチング素子18は、それぞれ第1端子A1,A2側に接続されるとき(図1に示す接続状態)には、1対の受信端子Rx1,Rx2に入力される差動シリアル信号は差動レシーバ13に供給される。このとき、受信される差動シリアル信号線の正極性側と反転極性側との間は第1抵抗27を介して接続され、終端抵抗(第1抵抗27)による終端処理が施された構成となる。また、同時に、差動ドライバ15から出力される差動シリアル信号は1対の送信端子Tx1,Tx2に出力される。このとき、送信される差動シリアル信号線の正極性側と反転極性側との間は第2抵抗28を介して接続され、終端抵抗(第2抵抗28)による終端処理が施された構成となる。   That is, when the first switching element 17 and the second switching element 18 are respectively connected to the first terminals A1 and A2 side (connection state shown in FIG. 1), they are input to the pair of receiving terminals Rx1 and Rx2. The differential serial signal is supplied to the differential receiver 13. At this time, the positive polarity side and the reverse polarity side of the received differential serial signal line are connected via the first resistor 27 and subjected to termination processing by the termination resistor (first resistor 27). Become. At the same time, the differential serial signal output from the differential driver 15 is output to the pair of transmission terminals Tx1 and Tx2. At this time, the positive polarity side and the reverse polarity side of the differential serial signal line to be transmitted are connected via the second resistor 28, and the termination processing by the termination resistor (second resistor 28) is performed. Become.

また、第1スイッチング素子17及び第2スイッチング素子18がそれぞれ第2端子B1,B2側に接続されるとき(図2(b)に示す接続状態)には、送受信端子間が短絡され、1対の受信端子Rx1,Rx2に入力される差動シリアル信号は、そのまま1対の送信端子Tx1,Tx2に出力される。なお、このとき、差動シリアル信号には終端抵抗(第1抵抗27または第2抵抗28)は接続されない。   When the first switching element 17 and the second switching element 18 are connected to the second terminals B1 and B2 side (connection state shown in FIG. 2B), the transmission / reception terminals are short-circuited. The differential serial signals input to the receiving terminals Rx1 and Rx2 are output to the pair of transmitting terminals Tx1 and Tx2 as they are. At this time, the termination resistor (the first resistor 27 or the second resistor 28) is not connected to the differential serial signal.

なお、第1スイッチング素子17及び第2スイッチング素子18は、図2(a)に示すように、励磁コイル19によるメカニカルリレー20で具現されるものであり、(pnp)トランジスタ29のオンオフによって接続が切り替わる。すなわち、励磁コイル19はトランジスタ29と直列接続されて、電源電位Vccと接地電位GND間に接続されており、トランジスタ29のベース電極には、後記する機器状態信号DSTが接続されている。   As shown in FIG. 2A, the first switching element 17 and the second switching element 18 are realized by a mechanical relay 20 using an exciting coil 19, and are connected by turning on and off the transistor 29 (pnp). Switch. That is, the exciting coil 19 is connected in series with the transistor 29 and connected between the power supply potential Vcc and the ground potential GND, and a device status signal DST described later is connected to the base electrode of the transistor 29.

機器状態信号DSTがHレベルの(機器が通常状態にある)ときには、トランジスタ29がオフ状態となって励磁コイル19には電圧は印加されず、第1スイッチング素子17及び第2スイッチング素子18は、それぞれ第1端子A1,A2側に接続される(図1に示す接続状態)。他方、機器状態信号DSTがLレベルの(機器が非通常状態にある)ときには、トランジスタ29がオン状態となって励磁コイル19に電圧が印加され、第1スイッチング素子17及び第2スイッチング素子18は、それぞれ第2端子B1,B2側に接続される(図2(b)に示す接続状態)こととなる。   When the device state signal DST is H level (the device is in a normal state), the transistor 29 is turned off and no voltage is applied to the exciting coil 19, and the first switching element 17 and the second switching element 18 are Each is connected to the first terminals A1 and A2 side (connection state shown in FIG. 1). On the other hand, when the device state signal DST is L level (the device is in an abnormal state), the transistor 29 is turned on and a voltage is applied to the exciting coil 19, and the first switching element 17 and the second switching element 18 are Are respectively connected to the second terminals B1 and B2 (connection state shown in FIG. 2B).

次に、制御部21は、MPU(Micro-Processing Unit)またはDSP(Digital Signal Processor)等のプロセッサ、プログラムや各種データを記憶したROM(Read Only Memory)やRAM(Random Access Memory)等のメモリなどで構成され、差動レシーバ14及び差動ドライバ15を介した差動シリアル信号の送受信を行う。すなわち、受信時には、差動レシーバ14からの受信データRXDを取り込み、送信時には、ORゲート35を介して送信データTXDを差動ドライバ15に出力する。なお、MPUまたはDSPは、当該組込インタフェース回路50が組み込まれる機器(以下では、自機と称することもある)が、機器の動作制御のために持つものを流用しても良いし、或いは、独立したデータ通信制御専用のものであっても良い。   Next, the control unit 21 includes a processor such as an MPU (Micro-Processing Unit) or a DSP (Digital Signal Processor), a memory such as a ROM (Read Only Memory) or a RAM (Random Access Memory) that stores programs and various data, and the like. The differential serial signal is transmitted / received via the differential receiver 14 and the differential driver 15. In other words, the reception data RXD from the differential receiver 14 is captured at the time of reception, and the transmission data TXD is output to the differential driver 15 via the OR gate 35 at the time of transmission. As the MPU or DSP, a device (hereinafter also referred to as its own device) in which the built-in interface circuit 50 is incorporated may be used for controlling the operation of the device, or It may be dedicated for independent data communication control.

また、本実施形態の組込インタフェース回路50は、差動レシーバ14の出力と差動ドライバ15の入力とを接続するバイパス回路を備えている。バイパス回路はANDゲート33及びORゲート35で具現され、ANDゲート33で受信データRXDと転送イネーブル信号DEとの論理積がとられ、ORゲート35でANDゲート33出力と送信データTXDとの論理和がとられる構成である。   Further, the built-in interface circuit 50 of the present embodiment includes a bypass circuit that connects the output of the differential receiver 14 and the input of the differential driver 15. The bypass circuit is implemented by an AND gate 33 and an OR gate 35. The AND gate 33 takes a logical product of the reception data RXD and the transfer enable signal DE, and the OR gate 35 takes a logical sum of the AND gate 33 output and the transmission data TXD. It is the structure where is taken.

すなわち、該バイパス回路を介した転送機能の有効/無効を判断する転送イネーブル信号DEがHレベルのときに、受信データRXDはANDゲート33をそのままスルーする。また、ANDゲート33をスルーした受信データRXDは、送信データTXDがLレベルのときに、ORゲート35をそのままスルーして転送機能が有効化される。なお、転送イネーブル信号DEは制御部21から出力される信号である。また、転送イネーブル信号DEがLレベルのときには、受信データRXDのANDゲート33のスルーが禁止されるので、ORゲート35をスルーできるのは、制御部21からの送信データTXDのみであり、自機の送信機能が実施可能な状態となる。   That is, when the transfer enable signal DE for determining whether the transfer function is valid / invalid via the bypass circuit is at the H level, the received data RXD passes through the AND gate 33 as it is. Further, the reception data RXD that has passed through the AND gate 33 is directly passed through the OR gate 35 and the transfer function is validated when the transmission data TXD is at the L level. The transfer enable signal DE is a signal output from the control unit 21. Further, when the transfer enable signal DE is at the L level, the AND gate 33 is prohibited from passing through the reception data RXD, so that only the transmission data TXD from the control unit 21 can pass through the OR gate 35. The transmission function can be implemented.

ここで、制御部21が該転送イネーブル信号DEを有効(Hレベル)とするのは、自機の送受信を行わず、自機の受信端子と接続される第1の他機器からの差動シリアル信号を、自機の送信端子と接続される第2の他機器へ転送する転送機能を有効とするときのみである。換言すれば、制御部21は、自機の送受信を行うとき、転送イネーブル信号DEを無効(Lレベル)とする。   Here, the control unit 21 makes the transfer enable signal DE valid (H level) because it does not perform transmission / reception of its own device, but is differential serial from the first other device connected to its own receiving terminal. This is only when the transfer function for transferring the signal to the second other device connected to the transmission terminal of the own device is enabled. In other words, the control unit 21 disables the transfer enable signal DE (L level) when performing transmission / reception of the own device.

次に、ANDゲート31は、特許請求の範囲にいう機器状態判断手段に該当し、当該組込インタフェース回路が組み込まれる機器(自機)が正常稼働状態であるか否かを判断して、機器状態信号DSTを出力する。本実施形態では、機器(自機)の稼働状態を、電圧監視機能部25が出力するパワーオン信号PWO、WDT機能部23が出力するWDTリセット信号WTR、並びに、制御部21が出力する起動完了信号STCに基づき判断する。   Next, the AND gate 31 corresponds to the device state determination means in the claims, and determines whether or not the device (own device) in which the built-in interface circuit is incorporated is in a normal operation state. A status signal DST is output. In the present embodiment, the operation state of the device (own device) is determined by the power-on signal PWO output from the voltage monitoring function unit 25, the WDT reset signal WTR output from the WDT function unit 23, and the start completion output from the control unit 21. A determination is made based on the signal STC.

電圧監視機能部25は、自機の電源電圧(Vcc)を常時監視し、電源電圧が所定電位を下回ったときにパワーオン信号PWOをLレベルにする。したがって、自機の電源が未投入であるときや、停電時(瞬停を含む)などにパワーオン信号PWOがLレベルとなる。   The voltage monitoring function unit 25 constantly monitors the power supply voltage (Vcc) of its own device, and sets the power-on signal PWO to the L level when the power supply voltage falls below a predetermined potential. Therefore, the power-on signal PWO becomes L level when the power supply of the own device is not turned on or at the time of a power failure (including instantaneous power failure).

また、WDT機能部23は、ハードウェア的に時間を計測するウォッチドッグタイマ(WatchDog Timer:WDT)がタイムアウトしたときに、WDTリセット信号WTRをLレベルにする。例えば、制御部21を具現するMPUまたはDSP等のプロセッサ上で実行されるプログラムの規則的な処理ルーチン中などに、このWDTの計時に基づくチェック機能が組み込まれる。その場合に、所定時間内にWDTがリセットされなかった(例えば、該処理ルーチンの所定タイミングで実行されるべきWDTリセット命令が実行されなかった)ときにWDTタイムアウトとなり、システムのリセット信号として、WDTリセット信号WTRがLレベルとなる。   Further, the WDT function unit 23 sets the WDT reset signal WTR to the L level when a watchdog timer (WDT) that measures time in terms of hardware times out. For example, a check function based on the timing of the WDT is incorporated in a regular processing routine of a program executed on a processor such as an MPU or DSP that embodies the control unit 21. In that case, when the WDT is not reset within a predetermined time (for example, a WDT reset instruction to be executed at a predetermined timing of the processing routine is not executed), a WDT time-out occurs, and the WDT is reset as a system reset signal. Reset signal WTR attains an L level.

なお、WDT機能部23及び電圧監視機能部25は、機器が持つRAS(Reliability, Availability and Serviceability)機能として一般的に備えられているものであり、本実施形態では、組込インタフェース回路50の構成要素には含まれないものとした。また、機器が正常稼働でない状態として、WDTタイムアウトの状態や、自機の電源が未投入である状態を例示しているが、これらの何れか一方のみを用いた構成であっても良く、また、これら以外の他の要因に基づき正常稼働でない状態を判断するようにしても良い。   The WDT function unit 23 and the voltage monitoring function unit 25 are generally provided as a RAS (Reliability, Availability and Serviceability) function of the device. In the present embodiment, the configuration of the built-in interface circuit 50 It was not included in the element. In addition, as a state where the device is not operating normally, a WDT timeout state and a state where the power of the own device is not turned on are exemplified, but a configuration using only one of these may be used, Further, a state in which the normal operation is not performed may be determined based on other factors.

また、起動完了信号STCは、制御部21の稼働状態が通常状態にあるときにのみHレベルとなる。例えば、機器の電源が投入または再投入されても、或いは、機器がリスタートしたとしても、制御部21が稼働可能な状態(送受信を行える状態)に至るまでの間は、機器の起動が未完であるとして、起動完了信号STCはLレベルのままとなる。また、機器(自機)の稼働を終了させるときには、制御部21による送受信を行う必要が無くなった時点で起動完了信号STCはLレベルとされ、機器の電源断時に取り残された受信データRXDが残らないようにしている。   Further, the activation completion signal STC is at the H level only when the operation state of the control unit 21 is in the normal state. For example, even when the power of the device is turned on or turned on again, or even when the device is restarted, the device has not yet been started until the control unit 21 is ready for operation (a state in which transmission and reception can be performed). As a result, the activation completion signal STC remains at the L level. When the operation of the device (own device) is terminated, the activation completion signal STC is set to the L level when transmission / reception by the control unit 21 is no longer necessary, and the reception data RXD left when the device is powered off remains. I am trying not to.

ANDゲート31では、パワーオン信号PWO、WDTリセット信号WTR及び起動完了信号STCの論理積がとられて機器状態信号DSTが生成されるので、これらの信号が全てHレベルにあるとき、機器(自機)の稼働状態が正常稼働状態にあるとして、Hレベルの機器状態信号DSTが出力される。   In the AND gate 31, the power-on signal PWO, the WDT reset signal WTR, and the activation completion signal STC are ANDed to generate the device status signal DST. When all these signals are at the H level, the device (self Machine) is in a normal operating state, an H-level device state signal DST is output.

このとき、前記したように、トランジスタ29はオフ状態となって、励磁コイル19に電圧は印加されず、第1スイッチング素子17及び第2スイッチング素子18はそれぞれ第1端子A1,A2側に接続される(図1に示す接続状態)。これにより、差動シリアルインタフェースの受信側と送信側とが分離され、また同時に、受信側と送信側に第1抵抗27、第2抵抗28がそれぞれ接続されて、終端処理が施された回路構成となる。さらに、機器状態信号DSTは、差動シリアルトランシーバ13の差動ドライバ15のイネーブル端子(正論理)に接続されており、自機の送信機能、或いは、バイパス回路(ANDゲート33及びORゲート35)を介した転送機能が実施可能となる。   At this time, as described above, the transistor 29 is turned off, no voltage is applied to the exciting coil 19, and the first switching element 17 and the second switching element 18 are connected to the first terminals A1 and A2, respectively. (Connection state shown in FIG. 1). As a result, the receiving side and the transmitting side of the differential serial interface are separated, and at the same time, the first resistor 27 and the second resistor 28 are connected to the receiving side and the transmitting side, respectively, and a termination process is performed. It becomes. Further, the device status signal DST is connected to the enable terminal (positive logic) of the differential driver 15 of the differential serial transceiver 13, and the transmission function of the own device or the bypass circuit (AND gate 33 and OR gate 35). It is possible to implement a transfer function via

他方で、パワーオン信号PWO、WDTリセット信号WTRまたは起動完了信号STCの何れか1つがLレベルとなったときには、機器(自機)の稼働状態が正常稼働でない状態であるとして、ANDゲート31からはLレベルの機器状態信号DSTが出力されることとなる。   On the other hand, when any one of the power-on signal PWO, the WDT reset signal WTR, or the activation completion signal STC becomes L level, it is determined that the operation state of the device (own device) is not normal operation, and the AND gate 31 Will output an L-level device status signal DST.

このとき、前記したように、トランジスタ29がオン状態となって、励磁コイル19に電圧が印加され、第1スイッチング素子17及び第2スイッチング素子18はそれぞれ第2端子B1,B2側に接続される(図2(b)に示す接続状態)。すなわち、1対の受信端子Rx1,Rx2に入力される差動シリアル信号は、そのまま1対の送信端子Tx1,Tx2に出力され、当該機器による差動シリアル信号の転送が無条件に機能することとなる。   At this time, as described above, the transistor 29 is turned on, a voltage is applied to the exciting coil 19, and the first switching element 17 and the second switching element 18 are connected to the second terminals B1 and B2, respectively. (Connection state shown in FIG. 2B). That is, the differential serial signal input to the pair of reception terminals Rx1 and Rx2 is output to the pair of transmission terminals Tx1 and Tx2 as it is, and the transfer of the differential serial signal by the device functions unconditionally. Become.

また、前記したように、自機の稼働状態が正常稼働でない状態のとき、機器状態信号DSTによって差動ドライバ15が無効となり、自機の送信機能及びバイパス回路(ANDゲート33及びORゲート35)を介した転送機能は強制的に無効化される。なお、当該機器による転送機能は、第1スイッチング素子17及び第2スイッチング素子18の切り替えによって維持されることとなる。   As described above, when the operation state of the own device is not a normal operation state, the differential driver 15 is invalidated by the device state signal DST, and the transmission function and bypass circuit of the own device (AND gate 33 and OR gate 35). The transfer function via is forcibly disabled. Note that the transfer function of the device is maintained by switching between the first switching element 17 and the second switching element 18.

さらに、パワーオン信号PWOとWDTリセット信号WTRについては、ANDゲート37によって両者の論理積がとられ、該論理積の結果がリセット信号RSTとして制御部21に出力されている。前記したように機器(自機)の稼働状態が正常稼働でない状態に至った後に、その要因が解消された場合、例えば、停電後の復旧により自機の電源が投入されたケースや、WDTタイムアウト時に自機の電源断に至らずリスタートされるケースでは、該リセット信号RSTがHレベルとなって、制御部21はこれを検知することができる。すなわち、制御部21による復旧(リカバリ)処理が行われると共に、機器状態信号DSTがHレベルとなって、図1に示す転送または送信可能な接続状態に戻ることとなる。   Further, the power-on signal PWO and the WDT reset signal WTR are logically ANDed by the AND gate 37 and the result of the logical product is output to the control unit 21 as the reset signal RST. As described above, after the operating state of the device (own device) reaches a state where it is not operating normally, for example, the case where the power source of the device is turned on by recovery after a power failure, or a WDT timeout In the case where the power supply of the own device is not occasionally cut off and restarted, the reset signal RST becomes H level, and the control unit 21 can detect this. That is, the recovery process by the control unit 21 is performed, and the device state signal DST becomes H level, and the transfer or transmission connection state shown in FIG. 1 is restored.

なお、本実施形態のように正常稼働でない状態と判断される要因として、電源断を検知するパワーオン信号PWOが含まれる場合には、バッテリバックアップで第1スイッチング素子17及び第2スイッチング素子18による切り替え状態を維持する必要がある。バッテリバックアップは、例えば、電圧監視機能部25、ANDゲート31、並びに、励磁コイル19及びトランジスタ29の直列回路に接続される電源電位Vccについて行う。   When the power-on signal PWO for detecting power-off is included as a factor that is determined to be an abnormal operation as in the present embodiment, the first switching element 17 and the second switching element 18 perform battery backup. It is necessary to maintain the switching state. The battery backup is performed for the power supply potential Vcc connected to the series circuit of the voltage monitoring function unit 25, the AND gate 31, and the exciting coil 19 and the transistor 29, for example.

次に、本実施形態の組込インタフェース回路50が組み込まれた機器を、N台(Nは3以上の整数)デイジーチェーン接続して構成したリング型ネットワークを図3に例示する。   Next, FIG. 3 illustrates a ring network in which N devices (N is an integer of 3 or more) are connected in a daisy chain with devices incorporating the built-in interface circuit 50 of this embodiment.

同図において、リング型ネットワークは、N台の機器1−1〜1−Nを備えている。N番目の機器1−Nの1対の送信端子Txは、ケーブル5−Nを介して1番目の機器1−1の1対の受信端子Rxに接続されている。また、j番目(j=2〜N−1)の機器1−jの1対の受信端子Rxは、ケーブル5−j−1を介してj−1番目の機器1−j−1の1対の送信端子Txに接続されている。さらに、j番目の機器1−jの1対の送信端子Txは、ケーブル5−jを介してj+1番目の機器1−j+1の1対の受信端子Rxに接続されている。つまり、隣合う機器間で送信端子Tx及び受信端子Rxを1対1接続して、リング型ネットワークを構成している。(ここで、参照符号の表記法として、「x−y−1」、「x−y+1」という形式の参照符号を用いているが、1番目の「−」は「の」を意味し、2番目の「−」は減算記号を意味する。)   In the figure, the ring network includes N devices 1-1 to 1-N. A pair of transmission terminals Tx of the N-th device 1-N are connected to a pair of reception terminals Rx of the first device 1-1 via the cable 5-N. The pair of receiving terminals Rx of the j-th (j = 2 to N-1) device 1-j is connected to the pair of the j-1th device 1-j-1 via the cable 5-j-1. Are connected to the transmission terminal Tx. Furthermore, the pair of transmission terminals Tx of the j-th device 1-j is connected to the pair of reception terminals Rx of the j + 1-th device 1-j + 1 via the cable 5-j. That is, the transmission terminal Tx and the reception terminal Rx are connected on a one-to-one basis between adjacent devices to form a ring network. (Here, reference symbols in the form of “xy-1” and “xy + 1” are used as reference symbols, but the first “−” means “no”. The second “-” means a subtraction symbol.)

また、同図においては、N台の機器1−1〜1−Nそれぞれの内部構成として、組込インタフェース回路50の部分回路40のみを示している。ここで、部分回路40は、図1で説明した構成において、コネクタ11、差動シリアルトランシーバ13、第1スイッチング素子17、第2スイッチング素子18、第1抵抗27及び第2抵抗28を備える。   In the same figure, only the partial circuit 40 of the built-in interface circuit 50 is shown as an internal configuration of each of the N devices 1-1 to 1-N. Here, the partial circuit 40 includes the connector 11, the differential serial transceiver 13, the first switching element 17, the second switching element 18, the first resistor 27, and the second resistor 28 in the configuration described with reference to FIG.

また、同図において、機器1−1〜1−Nの稼働状態は、j番目の機器1−jが非正常稼働状態にあり、j番目の機器1−j以外の機器が正常稼働状態にある。したがって、機器1−j以外の機器については、第1スイッチング素子17及び第2スイッチング素子18がそれぞれ第1端子A1,A2側に接続され、受信端子Rxを介して受信した差動シリアル信号または自機の送信データを、送信端子Txを介してそれぞれ転送または送信可能な接続状態である。   In the figure, the operation states of the devices 1-1 to 1-N are such that the jth device 1-j is in an abnormal operation state and devices other than the jth device 1-j are in a normal operation state. . Therefore, for devices other than the device 1-j, the first switching element 17 and the second switching element 18 are respectively connected to the first terminals A1 and A2, and the differential serial signal received through the receiving terminal Rx or the self-switching element 18 In this connection state, the transmission data of the machine can be transferred or transmitted via the transmission terminal Tx.

また、j番目の機器1−jでは、第1スイッチング素子17及び第2スイッチング素子18がそれぞれ第2端子B1,B2側に接続され、受信端子Rxに入力される差動シリアル信号がそのまま送信端子Txに出力される転送のみを行う接続状態である。このとき、j番目の機器1−jの第1抵抗27及び第2抵抗28は転送経路に接続されず、j−1番目の機器1−j−1の送信側からj+1番目の機器1−j+1の受信側に至る伝送経路において、機器1−j−1の第2抵抗28と、機器1−j+1の第1抵抗27とがそれぞれ終端抵抗として機能することとなる。   In the j-th device 1-j, the first switching element 17 and the second switching element 18 are connected to the second terminals B1 and B2, respectively, and the differential serial signal input to the reception terminal Rx is transmitted as it is. This is a connection state in which only the transfer output to Tx is performed. At this time, the first resistor 27 and the second resistor 28 of the jth device 1-j are not connected to the transfer path, and the j + 1th device 1-j + 1 from the transmission side of the j-1th device 1-j-1. In the transmission path to the receiving side, the second resistor 28 of the device 1-j-1 and the first resistor 27 of the device 1-j + 1 function as termination resistors, respectively.

このように、非正常稼働状態となった機器において、第1スイッチング素子17及び第2スイッチング素子18の切り替えにより、少なくとも該機器の転送機能が維持されて、リング型ネットワーク上での通信経路が維持されるので、該ネットワーク及び該ネットワークの他の正常稼働状態の機器に対する影響を最小限に止めることができる。   As described above, in a device that is in an abnormal operation state, at least the transfer function of the device is maintained by switching the first switching element 17 and the second switching element 18, and the communication path on the ring network is maintained. Therefore, the influence on the network and other devices in the normal operation state of the network can be minimized.

次に、このようなリング型ネットワークに接続される一機器において、制御部21が送信を行う際に行われるネットワークの故障検知について、図4を参照して説明する。図4は、送信時の処理手順を説明するフローチャートである。   Next, network failure detection performed when the control unit 21 performs transmission in one device connected to such a ring network will be described with reference to FIG. FIG. 4 is a flowchart illustrating a processing procedure at the time of transmission.

まず、制御部21は、自機のアプリケーションから送信要求が有ったか否かを判断する(ステップS101)。ここで、アプリケーションからの送信要求は、例えば、機器が入室者管理を行うためのカードリーダである場合、当該機器(カードリーダ)が認証情報(IDデータ)を読み取ったときなどに発生する。この送信要求の有無の判断は、送信要求が有るまで断続的に行われ、アプリケーションからシリアル通信の送信要求が有ったとき(S101:有)、ステップS102に進む。   First, the control unit 21 determines whether or not there is a transmission request from the application of the own device (step S101). Here, the transmission request from the application is generated, for example, when the device (card reader) reads the authentication information (ID data) when the device is a card reader for performing room management. The determination of whether or not there is a transmission request is intermittently performed until there is a transmission request. When there is a serial communication transmission request from the application (S101: present), the process proceeds to step S102.

そして、制御部21は、ネットワークからのデータ受信が有るか否か、即ち受信割込の有無を確認する(ステップS102)。受信割込が有った場合(S102:有)は、ネットワークが使用中であることから該受信処理が優先され、ステップS103に進んで受信処理を実施する。なお、このとき、転送イネーブル信号DEはHレベルとなっており、受信データRXDは、制御部21に取り込まれると共に、バイパス回路(ANDゲート33及びORゲート35)並びに差動ドライバ15を介して、送信端子Txに接続される他の機器に転送される。   Then, the control unit 21 checks whether or not there is data reception from the network, that is, whether or not there is a reception interrupt (step S102). If there is a reception interrupt (S102: present), the reception process is prioritized because the network is in use, and the process proceeds to step S103 to perform the reception process. At this time, the transfer enable signal DE is at the H level, and the reception data RXD is taken into the control unit 21, and via the bypass circuit (AND gate 33 and OR gate 35) and the differential driver 15. The data is transferred to another device connected to the transmission terminal Tx.

また、受信割込が無い場合(S102:無)には、制御部21は、ステップS104に進んで、転送イネーブル信号DEをLレベルに設定して、バイパス回路による転送機能を無効にすると共に、送信機能を有効にする。   When there is no reception interrupt (S102: None), the control unit 21 proceeds to step S104, sets the transfer enable signal DE to the L level, invalidates the transfer function by the bypass circuit, and Enable the send function.

そして、制御部21は、1バイト単位でデータ送信処理を実施する(ステップS105)。このとき、該1バイトデータについての送信回数を計数する送信回数カウンタをインクリメントすると共に、該1バイトデータを送信してからの経過時間を計時する送受信タイマの計時動作をスタートさせる。なお、送信回数カウンタ及び送受信タイマは、ハードウェアによって具現しても良いし、或いは、ソフトウェアによる実現であっても良い。   Then, the control unit 21 performs data transmission processing in units of 1 byte (step S105). At this time, the transmission count counter that counts the number of transmissions for the 1-byte data is incremented, and the timing operation of the transmission / reception timer that counts the elapsed time since the transmission of the 1-byte data is started. Note that the transmission counter and the transmission / reception timer may be implemented by hardware or may be realized by software.

そして、制御部21は、自機から送信された送信データがネットワークを一巡して自機に転送されてくるのを待つ。すなわち、自機の送信データを受信したか否かを判断する(ステップS106)。なお、自機からの送信データがネットワーク上に送信されてから一巡して自機に戻るまでの間、他機側では受信割込みが優先されるので、ネットワークに故障等が発生していない限りにおいて、自機が自機の送信データ以外のデータを受信することはない。   Then, the control unit 21 waits for the transmission data transmitted from the own device to be transferred to the own device through the network. That is, it is determined whether or not the transmission data of the own device has been received (step S106). In addition, as long as there is no failure in the network, the reception interrupt is given priority on the other device until the transmission data from the own device is sent over the network until it returns to the own device. The own device never receives data other than the transmission data of the own device.

自機の送信データを受信していないとき(S106:No)には、制御部21は、送受信タイマの値が所定のタイムアウト値以上であるか否かを判断する(ステップS111)。送受信タイマの値がタイムアウト値以上でなければ(S111:No)、再びステップS106で、自機の送信データについて受信の有無を確認する。   When the transmission data of the own device is not received (S106: No), the control unit 21 determines whether or not the value of the transmission / reception timer is equal to or greater than a predetermined timeout value (step S111). If the value of the transmission / reception timer is not equal to or greater than the timeout value (S111: No), the presence / absence of reception of the transmission data of the own device is confirmed again in step S106.

つまり、ステップS106及びステップS111によって、自機から送信された送信データが、タイムアウト値の間にネットワークを一巡して自機に転送されてきたか否かが判断され、タイムアウト値に達するまでの間に自機の送信データを受信したとき(S106:Yes)には、ステップS107に進む。また、タイムアウト値に達するまでの間に自機の送信データを受信しなかったとき(S111:Yes)には、ステップS112に進む。   That is, in step S106 and step S111, it is determined whether the transmission data transmitted from the own device has been transferred to the own device through the network during the timeout value, and until the timeout value is reached. When the transmission data of the own device is received (S106: Yes), the process proceeds to step S107. If the transmission data of the own device is not received before the timeout value is reached (S111: Yes), the process proceeds to step S112.

ここで、ステップS106における判断は、受信したデータについて、制御部21が送信した1バイトデータとの比較による一致判断を行うものとする。また、ステップS111で用いるタイムアウト値は予め設定されているものとする。例えば、制御部21が送信データTXDを送信して、該送信データがネットワークを一巡して受信データRXDとして受信するまでの転送経路における信号伝送の遅延時間に、送信ビット数(ここでは1バイト=8ビット)分のシリアルデータ形成に要する時間を足し合わせた時間を、タイムアウト値とする。   Here, it is assumed that the determination in step S106 is a match determination by comparing the received data with the 1-byte data transmitted by the control unit 21. In addition, the timeout value used in step S111 is set in advance. For example, in the delay time of signal transmission in the transfer path from when the control unit 21 transmits the transmission data TXD until the transmission data is received as the reception data RXD through the network, the number of transmission bits (here, 1 byte = A time obtained by adding together the time required to form serial data of 8 bits) is set as a timeout value.

自機が送信データを送信してからタイムアウト値に達するまでの間に自機の送信データを受信したとき(S106:Yes)には、該1バイトデータの送受信動作について、ネットワークが正常に機能していると見做すことができる。この場合、制御部21は、転送イネーブル信号DEをHレベルに設定して(ステップS107)、バイパス回路による転送機能を有効にすると共に、送信機能を無効化する。   When the transmission data of the own device is received after the transmission data is transmitted until the timeout value is reached (S106: Yes), the network functions normally for the transmission / reception operation of the 1-byte data. Can be regarded as being. In this case, the control unit 21 sets the transfer enable signal DE to the H level (step S107), validates the transfer function by the bypass circuit, and invalidates the transmission function.

そして、制御部21は、送信回数カウンタをクリア(ステップS108)した後、次の送信データの有無を確認し(ステップS109)、次の送信データが有る場合にはステップS102に戻り、次の1バイトデータについて一連の処理を繰り返す。また、次の送信データが無い場合には終了する。   Then, after clearing the transmission number counter (step S108), the control unit 21 confirms the presence or absence of the next transmission data (step S109). If there is next transmission data, the control unit 21 returns to step S102, and the next 1 A series of processing is repeated for byte data. If there is no next transmission data, the process ends.

他方、自機が送信データを送信してからタイムアウト値に達するまでの間に自機の送信データを受信しなかったとき(S111:Yes)には、制御部21は、転送イネーブル信号DEをHレベルに設定して(ステップS112)、バイパス回路による転送機能を有効にすると共に、送信機能を無効化する。   On the other hand, when the transmission data of the own device is not received between the time when the own device transmits the transmission data and the time-out value is reached (S111: Yes), the control unit 21 sets the transfer enable signal DE to H. The level is set (step S112), the transfer function by the bypass circuit is enabled, and the transmission function is disabled.

そして、制御部21は、送信回数カウンタを参照して、該1バイトデータについての送信回数がK回に達したか否かを判断(ステップS113)し、K回未満の場合(S113:No)には、ステップS102に戻って、該1バイトデータについて一連の処理を繰り返す。ここで、判断に用いる係数Kは、不具合発生時(送受信データの不一致または受信タイムアウト時)に行うリトライ回数を規定するものであり、最大K−1回のリトライが行われることとなる。具体的に、例えばK=2〜3に設定される。   Then, the control unit 21 refers to the transmission number counter to determine whether or not the number of transmissions for the 1-byte data has reached K times (step S113). When the number is less than K times (S113: No) In step S102, a series of processing is repeated for the 1-byte data. Here, the coefficient K used for determination defines the number of retries to be performed when a failure occurs (during transmission / reception data mismatch or reception timeout), and a maximum of K-1 retries is performed. Specifically, for example, K = 2 to 3 is set.

また、該1バイトデータについての送信回数がK回に達しているとき(S113:Yes)には、送信回数カウンタをクリア(ステップS114)した後、ネットワークに故障が発生していると判断して、エラーログを生成すると共に、メモリに保存(ステップS115)した後に終了する。ここで、エラーログは、例えば、発生した不具合の事象(送受信データの不一致または受信タイムアウト)、送信データ、受信データ(受信データが有る場合に限る)、時刻データ(機器が時計機能を持つ場合に限る)などのログである。   When the number of transmissions for the 1-byte data has reached K times (S113: Yes), it is determined that a failure has occurred in the network after clearing the transmission number counter (step S114). Then, an error log is generated and stored in the memory (step S115), and the process ends. Here, the error log includes, for example, a malfunction event that has occurred (transmission / reception data mismatch or reception timeout), transmission data, reception data (only when reception data exists), time data (when the device has a clock function) Log).

さらに、図5には、図3に示したリング型ネットワークをビル管理システムに適用したときのシステム構成図を示す。同図において、ビル管理システムは、システム全体を統括し情報収集機能を持つサーバ62と、サーバ62に収集された情報を閲覧可能なクライアントPC61と、第1ネットワーク7p及び第2ネットワーク7qを含む複数のリング型ネットワークと、これら構成要素に接続されデータ通信を中継するハブ63と、を備えている。なお、ビル管理システムには、撮像装置による監視系統や空調制御系統など種々の系統が含まれるが、図5に示す構成では省略している。   Further, FIG. 5 shows a system configuration diagram when the ring network shown in FIG. 3 is applied to a building management system. In the figure, the building management system includes a server 62 that controls the entire system and has an information collecting function, a client PC 61 that can view information collected by the server 62, and a plurality of first networks 7p and a second network 7q. And a hub 63 connected to these components and relaying data communication. The building management system includes various systems such as a monitoring system using an imaging device and an air conditioning control system, which are omitted in the configuration shown in FIG.

リング型ネットワーク7p,7qの区分は、例えばフロアや所定の区画分け等によって行われ、各ネットワークを構成する機器の内の1つが、該ネットワークにおけるホストコントローラの機能を備えている。図5では、第1ネットワーク7pまたは第2ネットワーク7qにおいて、それぞれ1番目の機器1−1がホストコントローラ機能を持つものとし、それぞれが備えるインタフェース回路50を介してハブ63に接続されている。なお、1つの機器にホストコントローラ機能を組み込む形ではなく、別途独立したホストコントローラを備えた構成としても良い。   The ring networks 7p and 7q are classified by, for example, a floor or predetermined division, and one of the devices constituting each network has a function of a host controller in the network. In FIG. 5, in the first network 7p or the second network 7q, each first device 1-1 has a host controller function, and is connected to the hub 63 via the interface circuit 50 provided in each device. In addition, it is good also as a structure provided with the host controller separately provided instead of the form which incorporates a host controller function in one apparatus.

第1ネットワーク7p及び第2ネットワーク7qは、構成機器台数がそれぞれP台、Q台と異なるが、両者の構成はほぼ同等であるので、ここでは、代表的に第1ネットワーク7pの構成について具体的に説明して、第2ネットワーク7qについては説明を省略する。   The first network 7p and the second network 7q are different in the number of constituent devices from the P and Q units, respectively, but the configurations of the two are almost the same. Therefore, here, the configuration of the first network 7p is representatively representative. The description of the second network 7q will be omitted.

第1ネットワーク7pは、P台の機器1−1〜1−Pを備え、図3と同様に、隣合う機器間で送信端子Tx及び受信端子Rxがケーブル5−1〜5−Pを介して1対1接続されて、リング型ネットワークを構成している。例えば、第1ネットワーク7pが入退室管理系統を実現するものである場合、機器1−1〜1−Pはカードリーダや電気錠である。以下では、機器1−3がカードリーダであり、機器1−4が電気錠であるとし、入室時のセキュリティ管理を一例として、具体的なデータ送受信について説明する。   The first network 7p includes P devices 1-1 to 1-P, and similarly to FIG. 3, the transmission terminal Tx and the reception terminal Rx are connected between the adjacent devices via cables 5-1 to 5-P. One-to-one connection is made to form a ring network. For example, when the first network 7p implements an entrance / exit management system, the devices 1-1 to 1-P are card readers or electric locks. In the following, specific data transmission / reception will be described by taking the security management at the time of entering the room as an example, assuming that the device 1-3 is a card reader and the device 1-4 is an electric lock.

入出者がカードリーダ(機器1−3)にIDカードを近接または接触させると、IDカードに記録されている認証情報であるIDデータが読み取られ、ホストコントローラ機能を持つ機器1−1を介してサーバ62に伝送される。サーバ62は、入室許可者のIDが登録されたデータベースを備え、伝送されたIDデータとデータベースに登録されたIDとを照合し、同じIDが登録されていれば、入室可であることを示す信号を機器1−1に送信し、入室履歴として入室者のIDデータおよび入室時刻をメモリ等に記録する。また、未登録IDであれば、サーバ62は、入室不可であることを示す信号を機器1−1に送信する。機器1−1は、サーバ62から受けた入室可の信号または入室不可の信号に応じた制御信号を電気錠(機器1−4)に送信し、電気錠(機器1−4)の開錠または施錠を制御する。   When an entering / exiting person brings an ID card close to or in contact with a card reader (device 1-3), ID data, which is authentication information recorded on the ID card, is read, via the device 1-1 having a host controller function. It is transmitted to the server 62. The server 62 includes a database in which the ID of the person permitted to enter the room is registered. The server 62 collates the transmitted ID data with the ID registered in the database, and indicates that the room can be entered if the same ID is registered. A signal is transmitted to the device 1-1, and the ID data of the person entering the room and the room entry time are recorded in a memory or the like as the room entry history. If it is an unregistered ID, the server 62 transmits a signal indicating that entry into the room is impossible to the device 1-1. The device 1-1 transmits a control signal corresponding to the signal indicating that the room can be received or the signal indicating that the room cannot be received received from the server 62 to the electric lock (device 1-4), and unlocking the electric lock (device 1-4) or Control locking.

ここで、ホストコントローラ機能を持つ機器1−1と、カードリーダ(機器1−3)及び電気錠(機器1−4)との間の送受信は、前記したような半二重の差動シリアルインタフェースを介して行われる。例えば、カードリーダ(機器1−3)がIDデータを読み取ったときに、制御部21に対する送信要求が発生し、図4を参照して説明した送信処理が行われる。なお、前記したように、ネットワーク上での不具合発生時(送受信データの不一致または受信タイムアウト時)には、該不具合に関するエラーログが制御部21のメモリに保持されている。各機器1−1〜1−Pのエラーログは、定期的にまたはサーバ62からの要求に応じて、ホストコントローラ機能を持つ機器1−1を介してサーバ62に伝送されて集中管理される。また、サーバ62内のエラーログを含む各種情報はクライアントPC61を介して確認することができ、保守やシステム異常発生時のトラブルシューティングを行うための情報として供されることとなる。   Here, the transmission / reception between the device 1-1 having the host controller function, the card reader (device 1-3), and the electric lock (device 1-4) is a half-duplex differential serial interface as described above. Is done through. For example, when the card reader (device 1-3) reads the ID data, a transmission request to the control unit 21 is generated, and the transmission process described with reference to FIG. 4 is performed. Note that, as described above, when a problem occurs on the network (inconsistent transmission / reception data or reception timeout), an error log related to the problem is held in the memory of the control unit 21. The error logs of the respective devices 1-1 to 1-P are transmitted to the server 62 via the device 1-1 having the host controller function periodically or in response to a request from the server 62, and are centrally managed. Various information including an error log in the server 62 can be confirmed via the client PC 61 and is provided as information for performing maintenance and troubleshooting when a system abnormality occurs.

以上説明したように、本実施形態の組込インタフェース回路では、1対の受信端子Rx1,Rx2を介して差動シリアル信号を受信する差動レシーバ14と、1対の送信端子Tx1,Tx2に差動シリアル信号を出力する差動ドライバ15と、を備え、機器状態判断手段(ANDゲート31)により、当該組込インタフェース回路が組み込まれる機器が正常稼働状態であるか否かを判断し、切替手段(第1スイッチング素子17、第2スイッチング素子18)により、機器状態判断手段が正常稼働状態であると判断したときには、1対の受信端子Rx1,Rx2及び差動レシーバ14間、並びに、差動ドライバ15及び1対の送信端子Tx1,Tx2間、をそれぞれ接続し、また、機器状態判断手段が正常稼働でない状態と判断したときには、1対の受信端子Rx1,Rx2及び1対の送信端子Tx1,Tx2間を接続する。具体的に、正常稼働でない状態には、機器の動作が異常である状態、機器の起動が未完である状態、及び/または、機器の電源が未投入である状態を含むことが望ましい。   As described above, in the built-in interface circuit of this embodiment, the difference between the differential receiver 14 that receives the differential serial signal via the pair of reception terminals Rx1 and Rx2 and the pair of transmission terminals Tx1 and Tx2 is different. A differential driver 15 that outputs a dynamic serial signal, and determines whether or not a device in which the built-in interface circuit is incorporated is in a normal operation state by a device state determination unit (AND gate 31), and a switching unit When it is determined by the (first switching element 17 and the second switching element 18) that the device state determination means is in a normal operating state, between the pair of reception terminals Rx1 and Rx2 and the differential receiver 14, and the differential driver 15 and a pair of transmission terminals Tx1 and Tx2 are connected to each other, and when the device state determination means determines that the device is not operating normally A pair of receiving terminals Rx1, Rx2 and a pair transmission terminals Tx1, connecting between Tx2. Specifically, it is desirable that the state where the operation is not normal includes a state where the operation of the device is abnormal, a state where the device has not been activated, and / or a state where the device is not turned on.

このように、本実施形態では、送受信端子の分離構成により、ネットワークを構成する場合において、当該機器と他の機器とのデイジーチェーン接続が可能となり、1:1接続の配線接続となることで、マルチポイント接続と比較して、1送受信(1本のケーブル)毎の配線長は短くなり、配線長が接続機器の台数に影響されにくい仕組みが可能となる。また、信号配線の分岐(スタブ)を無くすことができ、反射の影響を受けないので信号遅延を抑制することができ、結果として、伝送速度の高速化を図ることができる。   As described above, in this embodiment, when the network is configured by the separated configuration of the transmission / reception terminals, daisy chain connection between the device and another device is possible, and the wiring connection of 1: 1 connection is achieved. Compared with the multipoint connection, the wiring length for each transmission / reception (one cable) is shortened, and a mechanism in which the wiring length is less affected by the number of connected devices becomes possible. Further, the branch (stub) of the signal wiring can be eliminated and the signal delay can be suppressed because it is not affected by reflection, and as a result, the transmission speed can be increased.

また、機器の稼働状態に応じた切替手段による自律的な切り替えを行うので、機器が正常稼働でない状態、例えば、機器の電源異常や機器故障等が発生した場合においても、送受信端子間を短絡するので、ネットワーク側から見たときに、当該機器と他の機器との接続状態が常に維持されることとなり、ネットワークへの影響を最小限に抑制することができる。また、機器には、他機器からの受信データを監視する等の監視機能を持たせる必要も無いので、より簡単な機器構成で、ネットワークに接続される機器が異常動作状態に陥った場合でも、該ネットワークにおける他の機器との接続状態を維持して、ネットワークシステムへの影響を最小限に抑制し得る組込インタフェース回路を実現することができる。   In addition, since autonomous switching is performed by switching means according to the operating state of the device, even when the device is not operating normally, for example, when a device power supply abnormality or device failure occurs, the transmission / reception terminals are short-circuited. Therefore, when viewed from the network side, the connection state between the device and other devices is always maintained, and the influence on the network can be minimized. In addition, since it is not necessary for the device to have a monitoring function such as monitoring received data from other devices, even if the device connected to the network falls into an abnormal operation state with a simpler device configuration, A built-in interface circuit capable of maintaining the connection state with other devices in the network and minimizing the influence on the network system can be realized.

また、本実施形態では、切替手段は、一端が受信端子の反転極性端子Rx2及び差動レシーバ14の反転極性入力と接続される第1抵抗27と、一端が送信端子の正極性端子Tx1及び差動ドライバ15の正極性出力と接続される第2抵抗28と、を備える。また切替手段は、第1抵抗27の他端と接続される第1端子A1と、第2抵抗28の一端と接続される第2端子B1と、受信端子の正極性端子Rx1及び差動レシーバ13の正極性入力と接続される第3端子C1と、を備え、第3端子C1と第1端子A1または第2端子B1との接続を切り替える第1スイッチング素子17を備える。また切替手段は、第2抵抗28の他端と接続される第1端子A2と、第1抵抗27の一端と接続される第2端子B2と、送信端子の反転極性端子Tx2及び差動ドライバ15の反転極性出力と接続される第3端子C2と、を備え、第3端子C2と第1端子A2または第2端子B2との接続を切り替える第2スイッチング素子18を備える。   In the present embodiment, the switching means includes a first resistor 27 having one end connected to the inverted polarity terminal Rx2 of the receiving terminal and the inverted polarity input of the differential receiver 14, and a difference between the positive terminal Tx1 of the transmitting terminal and the difference. And a second resistor 28 connected to the positive output of the dynamic driver 15. The switching means includes a first terminal A1 connected to the other end of the first resistor 27, a second terminal B1 connected to one end of the second resistor 28, a positive terminal Rx1 of the receiving terminal, and the differential receiver 13. And a first switching element 17 for switching the connection between the third terminal C1 and the first terminal A1 or the second terminal B1. The switching means includes a first terminal A2 connected to the other end of the second resistor 28, a second terminal B2 connected to one end of the first resistor 27, an inversion polarity terminal Tx2 of the transmission terminal, and the differential driver 15. A second switching element 18 that switches the connection between the third terminal C2 and the first terminal A2 or the second terminal B2.

この場合、機器状態判断手段(ANDゲート31)が正常稼働状態であると判断したときは、第1スイッチング素子17の第3端子C1と第1端子A1とを接続すると共に、第2スイッチング素子18の第3端子C2と第1端子A2とを接続し、正常稼働でない状態と判断したときは、第1スイッチング素子17の第3端子C1と第2端子B1とを接続すると共に、第2スイッチング素子18の第3端子C2と第2端子B2とを接続する。   In this case, when it is determined that the device state determination means (AND gate 31) is in a normal operating state, the third terminal C1 and the first terminal A1 of the first switching element 17 are connected and the second switching element 18 is connected. When the third terminal C2 and the first terminal A2 are connected and it is determined that the operation is not normal, the third terminal C1 and the second terminal B1 of the first switching element 17 are connected and the second switching element is connected. 18 3rd terminal C2 and 2nd terminal B2 are connected.

このような構成及び機器状態判断手段の状態判断に基づく切り替えにより、機器が正常稼働状態のときには、受信される差動シリアル信号線の正極性側と反転極性側との間は第1抵抗27を介して接続され、終端抵抗(第1抵抗27)による終端処理が施された構成となる。また同時に、送信される差動シリアル信号線の正極性側と反転極性側との間は第2抵抗28を介して接続され、終端抵抗(第2抵抗28)による終端処理が施された構成となる。また、機器が正常稼働でない状態のときには、差動シリアル信号には終端抵抗(第1抵抗27または第2抵抗28)は接続されない。このように、1:1接続の配線接続において、終端抵抗が最適な位置で有効となるので、差動シリアル信号の信号波形の品質向上を図ることができる。   With such a configuration and switching based on the state determination of the device state determination means, when the device is in a normal operating state, the first resistor 27 is connected between the positive polarity side and the reverse polarity side of the received differential serial signal line. And a termination process using a termination resistor (first resistor 27). At the same time, the positive polarity side and the reverse polarity side of the differential serial signal line to be transmitted are connected via the second resistor 28, and the termination processing by the termination resistor (second resistor 28) is performed. Become. Further, when the device is not operating normally, the terminating resistor (the first resistor 27 or the second resistor 28) is not connected to the differential serial signal. As described above, since the termination resistor is effective at the optimum position in the 1: 1 connection, the quality of the signal waveform of the differential serial signal can be improved.

また、本実施形態では、差動レシーバ14及び差動ドライバ15を介した差動シリアル信号の送受信を制御する制御部21を備えて、制御部21により、差動レシーバ14を常時作動可能とし、差動ドライバ15を機器状態判断手段(ANDゲート31)が正常稼働状態であると判断したときにのみ作動可能としている。このように、機器が正常稼働でない状態のときには、自機の送信機能が無効となるので、異常動作による誤送信処理をハード的に阻止することができ、ネットワークの通信品質の維持が可能となる。   Further, in the present embodiment, a control unit 21 that controls transmission / reception of differential serial signals via the differential receiver 14 and the differential driver 15 is provided, and the differential receiver 14 can be always operated by the control unit 21, The differential driver 15 is operable only when the device state determination means (AND gate 31) determines that it is in a normal operating state. As described above, when the device is not in a normal operation state, the transmission function of the own device is disabled, so that erroneous transmission processing due to abnormal operation can be blocked by hardware, and the communication quality of the network can be maintained. .

また、本実施形態では、差動レシーバ14の出力と差動ドライバ15の入力とを接続するバイパス回路(ANDゲート33及びORゲート35)を備え、制御部21により、第1の他機器からの差動シリアル信号を第2の他機器へ転送する転送機能を有効とするときにのみ、バイパス回路を有効とするようにしている。これにより、制御部21のソフトウェアなどによる内容判定処理を介さずに、バイパス回路を介して受信データRXDを直接送信側へスルーさせるので、伝達時間のタイムロスを最小限に抑えることができる。   Further, in the present embodiment, a bypass circuit (AND gate 33 and OR gate 35) for connecting the output of the differential receiver 14 and the input of the differential driver 15 is provided, and the controller 21 controls the first other device from the first other device. The bypass circuit is enabled only when the transfer function for transferring the differential serial signal to the second other device is enabled. As a result, the reception data RXD is directly passed to the transmission side via the bypass circuit without going through the content determination process by the software of the control unit 21 or the like, so that the time loss of the transmission time can be minimized.

また、本実施形態では、当該組込インタフェース回路が組み込まれる機器が、N番目(Nは3以上の整数)の機器1−Nの1対の送信端子が1番目の機器1−1の1対の受信端子に接続され、j番目(j=2〜N−1)の機器1−jの1対の受信端子がj−1番目の機器1−j−1の1対の送信端子に接続され、j番目の機器1−jの1対の送信端子がj+1番目1−j+1の機器の1対の受信端子に接続されたN個の機器1−1〜1−Nを備えたネットワークシステムの一機器であるとき、制御部21は、当該機器から差動シリアル信号を送信した後、一定期間内に該差動シリアル信号を受信しないとき、或いは、一定期間内に受信した差動シリアル信号が送信した差動シリアル信号と一致しないとき、ネットワークシステムの異常であると判断する。   In this embodiment, the device in which the built-in interface circuit is incorporated is a pair of transmission terminals of the N-th device (N is an integer of 3 or more) 1-N and a pair of the first device 1-1. And a pair of reception terminals of the j-th (j = 2 to N−1) device 1-j are connected to a pair of transmission terminals of the j−1-th device 1-j-1. A network system including N devices 1-1 to 1-N in which a pair of transmission terminals of the jth device 1-j is connected to a pair of reception terminals of the j + 1th device 1-j + 1. When it is a device, the control unit 21 does not receive the differential serial signal within a certain period after transmitting the differential serial signal from the device, or transmits the differential serial signal received within the certain period. When the differential serial signal does not match, the network system is abnormal To determine.

このように、送信処理において、送信データが正しく受信されているか否か、並びに、自機が送信したデータであるか否かの整合性確認を行うので、データ送信毎にネットワークの健全性確認が可能となる。   As described above, in the transmission process, the integrity of the transmission data is correctly received and whether or not the data is transmitted by the own device is checked. It becomes possible.

また、本実施形態では、当該組込インタフェース回路が組み込まれる機器が、前記と同等のネットワークシステムの一機器であるとき、制御部21は、当該機器から差動シリアル信号を送信する期間、及び、該送信後に該差動シリアル信号を受信するまでの期間、或いは、該送信後から一定期間の間、転送機能を無効とする。このように、送信処理の間、バイパス回路を介して受信データRXDが転送されるのを防ぐことにより、1回の送信で発せられたデータがリング型ネットワークを巡回するのを1回までとすることができ、ネットワークの伝送効率を低下させることなく維持できる。   In the present embodiment, when the device in which the built-in interface circuit is incorporated is one device of the network system equivalent to the above, the control unit 21 transmits a differential serial signal from the device, and The transfer function is disabled for a period until the differential serial signal is received after the transmission, or for a certain period after the transmission. In this way, during the transmission process, by preventing the reception data RXD from being transferred through the bypass circuit, the data generated by one transmission can be circulated only once in the ring network. Can be maintained without degrading the transmission efficiency of the network.

〔変形例1〕
以上、本発明の実施形態について図面を参照して詳述したが、本発明はこれら実施形態およびその変形に限定されるものではなく、本発明の要旨を逸脱しない範囲の設計変更等があっても本発明に含まれる。例えば、前記実施形態において、第1スイッチング素子17及び第2スイッチング素子18において第1端子をA1,A2、第2端子をB1,B2と称したが、これらの称呼はリレーにおけるa接点、b接点に関連したものではない。したがって、A1,A2及びB1,B2の称呼を入れ替えても何ら問題はない。
[Modification 1]
As mentioned above, although embodiment of this invention was explained in full detail with reference to drawings, this invention is not limited to these embodiment and its deformation | transformation, There exists a design change etc. of the range which does not deviate from the summary of this invention. Are also included in the present invention. For example, in the first embodiment, in the first switching element 17 and the second switching element 18, the first terminals are referred to as A1 and A2, and the second terminals are referred to as B1 and B2. It is not related to. Therefore, there is no problem even if the names of A1, A2 and B1, B2 are interchanged.

また、自機の稼働状態が正常稼働でない状態のときに励磁コイル19に電圧を印加して、第1スイッチング素子17及び第2スイッチング素子18がそれぞれ第2端子B1,B2側に接続されるようにしたが、この構成に限定されるものではない。トランジスタ29をnpn型として、自機の稼働状態が正常稼働状態のときに励磁コイル19に電圧を印加し、第1スイッチング素子17及び第2スイッチング素子18がそれぞれ第1端子A1,A2側に接続されるように構成することも可能である。但し、通常、正常稼働でない状態の期間は正常稼働状態の期間と比べて非常に短い期間であることから、電力消費の観点からは、実施形態の構成の方が消費電力は小さい。   Further, when the operating state of the own machine is not normal, a voltage is applied to the exciting coil 19 so that the first switching element 17 and the second switching element 18 are connected to the second terminals B1 and B2 side, respectively. However, it is not limited to this configuration. The transistor 29 is an npn type, and a voltage is applied to the exciting coil 19 when the operation state of the own device is a normal operation state, and the first switching element 17 and the second switching element 18 are connected to the first terminals A1 and A2 side, respectively. It is also possible to configure as described above. However, since the period of the normal operation state is usually much shorter than the period of the normal operation state, the power consumption is smaller in the configuration of the embodiment from the viewpoint of power consumption.

また、実施形態では、第1スイッチング素子17及び第2スイッチング素子18をメカニカルリレーで具現したが、MOSFET(Metal-Oxide-Semiconductor Field-Effect Transistor)を用いた構成であっても良い。図6には、MOSFETを用いて第1スイッチング素子及び第2スイッチング素子を構成したときの組込インタフェース回路の部分的な回路構成図を示す。   In the embodiment, the first switching element 17 and the second switching element 18 are implemented by mechanical relays. However, a configuration using a MOSFET (Metal-Oxide-Semiconductor Field-Effect Transistor) may be used. FIG. 6 shows a partial circuit configuration diagram of the built-in interface circuit when the first switching element and the second switching element are configured using MOSFETs.

同図において、第1スイッチング素子17aは、NOTゲート41及びnチャネル型MOSFET43,44を備え、第2スイッチング素子18aはNOTゲート42及びnチャネル型MOSFET46,47を備えた構成である。   In the figure, the first switching element 17a includes a NOT gate 41 and n-channel MOSFETs 43 and 44, and the second switching element 18a includes a NOT gate 42 and n-channel MOSFETs 46 and 47.

すなわち、本変形例における切替手段は、一端が受信端子の反転極性端子Rx2及び差動レシーバ13の反転極性入力と接続される第1抵抗27と、一端が送信端子の正極性端子Tx1及び差動ドライバ15の正極性出力と接続される第2抵抗28と、を備える。また切替手段は、一端が第1抵抗27の他端と接続され、他端が受信端子の正極性端子Rx1及び差動レシーバ14の正極性入力と接続されるMOSFET43(第3スイッチング素子)と、一端が第2抵抗28の一端と接続され、他端が受信端子の正極性端子Rx1及び差動レシーバ14の正極性入力と接続されるMOSFET44(第4スイッチング素子)と、を備える。また切替手段は、一端が第1抵抗27の一端と接続され、他端が送信端子の反転極性端子Tx2及び差動ドライバ15の反転極性出力と接続されるMOSFET47(第5スイッチング素子)と、一端が第2抵抗28の他端と接続され、他端が送信端子の反転極性端子Tx2及び差動ドライバ15の反転極性出力と接続されるMOSFET46(第6スイッチング素子)と、を備える。   That is, the switching means in this modification includes a first resistor 27 having one end connected to the inverting polarity terminal Rx2 of the receiving terminal and the inverting polarity input of the differential receiver 13, and one end connected to the positive polarity terminal Tx1 of the transmitting terminal and the differential. And a second resistor 28 connected to the positive output of the driver 15. The switching means includes a MOSFET 43 (third switching element) having one end connected to the other end of the first resistor 27 and the other end connected to the positive terminal Rx1 of the receiving terminal and the positive input of the differential receiver 14. One end is connected to one end of the second resistor 28, and the other end is provided with a MOSFET 44 (fourth switching element) connected to the positive terminal Rx1 of the receiving terminal and the positive input of the differential receiver 14. The switching means has one end connected to one end of the first resistor 27, the other end connected to the inversion polarity terminal Tx2 of the transmission terminal and the inversion polarity output of the differential driver 15, and one end of the switching means. Is connected to the other end of the second resistor 28, and the other end is connected to the inversion polarity terminal Tx2 of the transmission terminal and the inversion polarity output of the differential driver 15 and a MOSFET 46 (sixth switching element).

この場合、機器状態判断手段(ANDゲート31)が正常稼働状態であると判断したときは、MOSFET43及びMOSFET46を閉(オン)制御すると共に、MOSFET44及びMOSFET47を開(オフ)制御し、正常稼働でない状態と判断したときは、MOSFET43及びMOSFET46を開(オフ)制御すると共に、MOSFET44及びMOSFET47を閉(オン)制御する。   In this case, when it is determined that the device state determination means (AND gate 31) is in a normal operation state, the MOSFET 43 and the MOSFET 46 are controlled to be closed (ON), and the MOSFET 44 and the MOSFET 47 are controlled to be open (OFF). When the state is determined, the MOSFET 43 and the MOSFET 46 are controlled to be opened (off), and the MOSFET 44 and the MOSFET 47 are controlled to be closed (on).

このような構成及び機器状態判断手段の状態判断に基づく切り替えにより、実施形態と同様に、1:1接続の配線接続において、終端抵抗が最適な位置で有効となるので、差動シリアル信号の信号波形の品質向上を図ることができる。なお、MOSFET等のトランジスタの電圧降下が相対的に大きいと見做される構成の場合には、このような電圧降下を考える必要のないメカニカルリレーを用いることが望ましい。また、実施形態と同様に、正常稼働でない状態と判断される要因としてパワーオン信号PWOが含まれる場合には、バッテリバックアップを行う必要がある。図6の構成では、図示しない電圧監視機能部25の他に、例えば、ANDゲート31及びNOTゲート41,42について行う。   By switching based on the configuration and the status determination of the device status determination means, the termination resistor becomes effective at the optimum position in the 1: 1 connection, as in the embodiment. Waveform quality can be improved. In the case where the voltage drop of a transistor such as a MOSFET is considered to be relatively large, it is desirable to use a mechanical relay that does not need to consider such a voltage drop. Similarly to the embodiment, when the power-on signal PWO is included as a factor that is determined to be a normal operation state, it is necessary to perform battery backup. In the configuration of FIG. 6, in addition to the voltage monitoring function unit 25 (not shown), for example, the AND gate 31 and the NOT gates 41 and 42 are performed.

〔変形例2〕
また、実施形態では、バイパス回路をANDゲート33及びORゲート35で構成し、転送機能の有効/無効を転送イネーブル信号DEで制御したが、図6に示すように、バイパス回路をORゲート35a及びANDゲート33aで構成し、転送機能の有効/無効を送信イネーブル信号TEで制御する態様であっても良い。
[Modification 2]
In the embodiment, the bypass circuit is composed of the AND gate 33 and the OR gate 35, and the transfer function is controlled by the transfer enable signal DE. However, as shown in FIG. The configuration may be such that the AND gate 33a is used and the validity / invalidity of the transfer function is controlled by the transmission enable signal TE.

すなわち、図6において、本変形例のバイパス回路は、ORゲート35a及びANDゲート33aを備え、ORゲート35aで受信データRXDと送信イネーブル信号TEとの論理和がとられ、ANDゲート33aでORゲート35a出力と送信データTXDとの論理積がとられる構成である。   That is, in FIG. 6, the bypass circuit of the present modification includes an OR gate 35a and an AND gate 33a, the OR gate 35a performs a logical sum of the reception data RXD and the transmission enable signal TE, and the AND gate 33a performs an OR gate. The logical product of the 35a output and the transmission data TXD is taken.

送信機能の有効/無効を判断する送信イネーブル信号TEがLレベル(無効)のときに、受信データRXDはORゲート35aをそのままスルーする。また、ORゲート35aをスルーした受信データRXDは、送信データTXDがHレベルのときに、ANDゲート33aをそのままスルーして転送機能が有効化される。なお、送信イネーブル信号TEは制御部21から出力される信号である。また、送信イネーブル信号TEがHレベル(有効)のときには、受信データRXDがORゲート35aで無効化されるので、ANDゲート33aから送信データTXDのみ出力可能であり、自機の送信機能が実施可能な状態となる。   When the transmission enable signal TE for determining whether the transmission function is valid or invalid is L level (invalid), the reception data RXD passes through the OR gate 35a as it is. Further, the reception data RXD that has passed through the OR gate 35a is directly passed through the AND gate 33a when the transmission data TXD is at the H level, thereby enabling the transfer function. The transmission enable signal TE is a signal output from the control unit 21. Further, when the transmission enable signal TE is at the H level (valid), the reception data RXD is invalidated by the OR gate 35a. Therefore, only the transmission data TXD can be output from the AND gate 33a, and the transmission function of the own device can be implemented. It becomes a state.

〔変形例3〕
また、図3のリング型ネットワークにおいて、前記実施形態または変形例の組込インタフェースを持っていなくても、半二重の差動シリアルインタフェースを持ち、且つ該リング型ネットワークにおけるプロトコルで通信を行う機器であれば、該機器をケーブル5−1〜5−Nに接続することが可能である。すなわち、局所的なマルチポイント接続によって機器を追加することが可能である。
[Modification 3]
Further, in the ring network of FIG. 3, even if it does not have the built-in interface of the embodiment or the modification, it has a half-duplex differential serial interface and communicates with the protocol in the ring network. If so, the device can be connected to the cables 5-1 to 5-N. That is, it is possible to add a device by local multipoint connection.

これにより、例えば、ネットワークの再構築時に新旧タイプの機器が混在するようなケースにおいて、旧タイプの機器をマルチポイント接続によってネットワークに接続するような態様とすることができるなど、システム構築をより柔軟に行うことが可能となる。但し、スタブが発生することから、システムの応答性能が要求される場合には、マルチポイント接続による追加機器台数は制限されることとなる。   As a result, for example, in the case where old and new types of devices are mixed when the network is reconfigured, it is possible to adopt a mode in which old types of devices can be connected to the network by multipoint connection. Can be performed. However, since a stub is generated, when the response performance of the system is required, the number of additional devices by multipoint connection is limited.

1−1〜1−N,1−P,1−Q 組込インタフェース回路
5−1〜5−N,5−P,5−Q 機器
7p,7q ネットワーク
11 コネクタ
Rx,Rx1,Rx2 受信端子
Tx,Tx1,Tx2 送信端子
13 差動シリアルトランシーバ
14 差動レシーバ
15 差動ドライバ
17,17a 第1スイッチング素子
18,18a 第2スイッチング素子
19 励磁コイル
21 制御部
23 WDT機能部
25 電圧監視機能部
27 第1抵抗
28 第2抵抗
29 トランジスタ
31,33,33a ANDゲート
35,35,35a ORゲート
41,42 NOTゲート
1-1 to 1-N, 1-P, 1-Q Built-in interface circuit 5-1 to 5-N, 5-P, 5-Q equipment 7p, 7q network 11 connector Rx, Rx1, Rx2 receiving terminal Tx, Tx1, Tx2 transmission terminal 13 differential serial transceiver 14 differential receiver 15 differential driver 17, 17a first switching element 18, 18a second switching element 19 exciting coil 21 control unit 23 WDT function unit 25 voltage monitoring function unit 27 first Resistor 28 Second resistor 29 Transistor 31, 33, 33a AND gate 35, 35, 35a OR gate 41, 42 NOT gate

Claims (8)

1対の受信端子と、
1対の送信端子と、
当該組込インタフェース回路が組み込まれる機器が正常稼働状態であるか否かを判断する機器状態判断手段と、
前記1対の受信端子を介して差動シリアル信号を受信する差動レシーバと、
前記1対の送信端子に差動シリアル信号を出力する差動ドライバと、
前記機器状態判断手段が正常稼働状態であると判断したとき、前記1対の受信端子及び前記差動レシーバ間、並びに、前記差動ドライバ及び前記1対の送信端子間、をそれぞれ接続し、前記機器状態判断手段が正常稼働でない状態と判断したとき、前記1対の受信端子及び前記1対の送信端子間を接続する切替手段と、を有すること
を特徴とする組込インタフェース回路。
A pair of receiving terminals;
A pair of transmission terminals;
Device state determination means for determining whether or not the device in which the built-in interface circuit is incorporated is in a normal operating state;
A differential receiver for receiving a differential serial signal via the pair of receiving terminals;
A differential driver that outputs a differential serial signal to the pair of transmission terminals;
When it is determined that the device state determination means is in a normal operating state, the pair of reception terminals and the differential receiver, and the differential driver and the pair of transmission terminals are respectively connected, A built-in interface circuit comprising: a switching unit that connects between the pair of reception terminals and the pair of transmission terminals when the device state determination unit determines that the device is not operating normally.
前記正常稼働でない状態は、前記機器の動作が異常である状態、前記機器の起動が未完である状態、及び/または、前記機器の電源が未投入である状態を含むこと、
を特徴とする請求項1に記載の組込インタフェース回路。
The state that is not in a normal operation includes a state in which the operation of the device is abnormal, a state in which the device has not been activated, and / or a state in which the power of the device is not turned on,
The built-in interface circuit according to claim 1.
前記切替手段は、
一端が前記受信端子の反転極性端子及び前記差動レシーバの反転極性入力と接続される第1抵抗と、
一端が前記送信端子の正極性端子及び前記差動ドライバの正極性出力と接続される第2抵抗と、
前記第1抵抗の他端と接続される第1端子と、前記第2抵抗の一端と接続される第2端子と、前記受信端子の正極性端子及び前記差動レシーバの正極性入力と接続される第3端子と、を備え、前記第3端子と前記第1端子または前記第2端子との接続を切り替える第1スイッチング素子と、
前記第2抵抗の他端と接続される第1端子と、前記第1抵抗の一端と接続される第2端子と、前記送信端子の反転極性端子及び前記差動ドライバの反転極性出力と接続される第3端子と、を備え、前記第3端子と前記第1端子または前記第2端子との接続を切り替える第2スイッチング素子と、を有し、
前記機器状態判断手段が正常稼働状態であると判断したときは、前記第1スイッチング素子の前記第3端子と前記第1端子とを接続すると共に、前記第2スイッチング素子の前記第3端子と前記第1端子とを接続し、
前記機器状態判断手段が正常稼働でない状態と判断したときは、前記第1スイッチング素子の前記第3端子と前記第2端子とを接続すると共に、前記第2スイッチング素子の前記第3端子と前記第2端子とを接続すること
を特徴とする請求項1または請求項2に記載の組込インタフェース回路。
The switching means is
A first resistor having one end connected to the inverted polarity terminal of the receiving terminal and the inverted polarity input of the differential receiver;
A second resistor having one end connected to the positive terminal of the transmission terminal and the positive output of the differential driver;
A first terminal connected to the other end of the first resistor; a second terminal connected to one end of the second resistor; a positive terminal of the receiving terminal; and a positive input of the differential receiver. A first switching element that switches a connection between the third terminal and the first terminal or the second terminal;
A first terminal connected to the other end of the second resistor, a second terminal connected to one end of the first resistor, an inversion polarity terminal of the transmission terminal, and an inversion polarity output of the differential driver. A second switching element that switches connection between the third terminal and the first terminal or the second terminal,
When the device state determination means determines that the device is in a normal operating state, the third terminal of the first switching element is connected to the first terminal, and the third terminal of the second switching element is connected to the first terminal. Connect the first terminal,
When the device state determination means determines that the device is not operating normally, the third terminal of the first switching element is connected to the second terminal, and the third terminal of the second switching element is connected to the second terminal. The built-in interface circuit according to claim 1, wherein two terminals are connected.
前記切替手段は、
一端が前記受信端子の反転極性端子及び前記差動レシーバの反転極性入力と接続される第1抵抗と、
一端が前記送信端子の正極性端子及び前記差動ドライバの正極性出力と接続される第2抵抗と、
一端が前記第1抵抗の他端と接続され、他端が前記受信端子の正極性端子及び前記差動レシーバの正極性入力と接続される第3スイッチング素子と、
一端が前記第2抵抗の一端と接続され、他端が前記受信端子の正極性端子及び前記差動レシーバの正極性入力と接続される第4スイッチング素子と、
一端が前記第1抵抗の一端と接続され、他端が前記送信端子の反転極性端子及び前記差動ドライバの反転極性出力と接続される第5スイッチング素子と、
一端が前記第2抵抗の他端と接続され、他端が前記送信端子の反転極性端子及び前記差動ドライバの反転極性出力と接続される第6スイッチング素子と、を有し、
前記機器状態判断手段が正常稼働状態であると判断したときは、前記第3スイッチング素子及び前記第5スイッチング素子を閉制御すると共に、前記第4スイッチング素子及び前記第6スイッチング素子を開制御し、
前記機器状態判断手段が正常稼働でない状態であると判断したときは、前記第3スイッチング素子及び前記第5スイッチング素子を開制御すると共に、前記第4スイッチング素子及び前記第6スイッチング素子を閉制御すること
を特徴とする請求項1または請求項2に記載の組込インタフェース回路。
The switching means is
A first resistor having one end connected to the inverted polarity terminal of the receiving terminal and the inverted polarity input of the differential receiver;
A second resistor having one end connected to the positive terminal of the transmission terminal and the positive output of the differential driver;
A third switching element having one end connected to the other end of the first resistor and the other end connected to the positive terminal of the receiving terminal and the positive input of the differential receiver;
A fourth switching element having one end connected to one end of the second resistor and the other end connected to the positive terminal of the receiving terminal and the positive input of the differential receiver;
A fifth switching element having one end connected to one end of the first resistor and the other end connected to the inversion polarity terminal of the transmission terminal and the inversion polarity output of the differential driver;
A sixth switching element having one end connected to the other end of the second resistor and the other end connected to the inversion polarity terminal of the transmission terminal and the inversion polarity output of the differential driver;
When it is determined that the device state determination means is in a normal operating state, the third switching element and the fifth switching element are closed and the fourth switching element and the sixth switching element are opened.
When it is determined that the device state determination means is not in a normal operation state, the third switching element and the fifth switching element are controlled to be opened, and the fourth switching element and the sixth switching element are controlled to be closed. The built-in interface circuit according to claim 1 or 2, wherein:
前記差動レシーバ及び前記差動ドライバを介した差動シリアル信号の送受信を制御する制御手段を有し、
前記制御手段は、前記差動レシーバを常時作動可能とし、前記差動ドライバを前記機器状態判断手段が正常稼働状態であると判断したときにのみ作動可能とすること
を特徴とする請求項1または請求項2に記載の組込インタフェース回路。
Control means for controlling transmission and reception of differential serial signals via the differential receiver and the differential driver;
2. The control device according to claim 1, wherein the control unit can always operate the differential receiver, and can operate the differential driver only when the device state determination unit determines that the device is in a normal operation state. The built-in interface circuit according to claim 2.
前記差動レシーバの出力と前記差動ドライバの入力とを接続するバイパス回路を有し、
前記制御手段は、第1の他機器からの差動シリアル信号を第2の他機器へ転送する転送機能を有効とするときにのみ、前記バイパス回路を有効とすること
を特徴とする請求項5に記載の組込インタフェース回路。
A bypass circuit connecting the output of the differential receiver and the input of the differential driver;
The said control means validates the said bypass circuit only when enabling the transfer function which transfers the differential serial signal from the 1st other apparatus to the 2nd other apparatus. Built-in interface circuit described in 1.
当該組込インタフェース回路が組み込まれる機器が、
N番目(Nは3以上の整数)の機器の1対の送信端子が1番目の機器の1対の受信端子に接続され、j番目(j=2〜N−1)の機器の1対の受信端子がj−1番目の機器の1対の送信端子に接続され、j番目の機器の1対の送信端子がj+1番目の機器の1対の受信端子に接続されたN個の機器を備えたネットワークシステムの一機器であるとき、
前記制御手段は、当該機器から差動シリアル信号を送信した後、一定期間内に該差動シリアル信号を受信しないとき、或いは、一定期間内に受信した差動シリアル信号が送信した差動シリアル信号と一致しないとき、前記ネットワークシステムの異常であると判断すること
を特徴とする請求項1または請求項2に記載の組込インタフェース回路。
The device in which the built-in interface circuit is incorporated
A pair of transmission terminals of the Nth device (N is an integer of 3 or more) is connected to a pair of reception terminals of the first device, and a pair of jth (j = 2 to N−1) devices. The reception terminal is connected to a pair of transmission terminals of the j−1th device, and the pair of transmission terminals of the jth device is connected to the pair of reception terminals of the j + 1th device. When one device of a network system
The control means does not receive the differential serial signal within a certain period after transmitting the differential serial signal from the device, or the differential serial signal transmitted by the differential serial signal received within the certain period The built-in interface circuit according to claim 1, wherein when it does not match, it is determined that the network system is abnormal.
当該組込インタフェース回路が組み込まれる機器が、
N番目(Nは3以上の整数)の機器の1対の送信端子が1番目の機器の1対の受信端子に接続され、j番目(j=2〜N−1)の機器の1対の受信端子がj−1番目の機器の1対の送信端子に接続され、j番目の機器の1対の送信端子がj+1番目の機器の1対の受信端子に接続されたN個の機器を備えたネットワークシステムの一機器であるとき、
前記制御手段は、当該機器から差動シリアル信号を送信する期間、及び、該送信後に該差動シリアル信号を受信するまでの期間、或いは、該送信後から一定期間の間、前記転送機能を無効とすること
を特徴とする請求項6に記載の組込インタフェース回路。
The device in which the built-in interface circuit is incorporated
A pair of transmission terminals of the Nth device (N is an integer of 3 or more) is connected to a pair of reception terminals of the first device, and a pair of jth (j = 2 to N−1) devices. The reception terminal is connected to a pair of transmission terminals of the j−1th device, and the pair of transmission terminals of the jth device is connected to the pair of reception terminals of the j + 1th device. When one device of a network system
The control means disables the transfer function for a period during which a differential serial signal is transmitted from the device, a period until the differential serial signal is received after the transmission, or a certain period after the transmission. The built-in interface circuit according to claim 6.
JP2012142365A 2012-06-25 2012-06-25 Built-in interface circuit Pending JP2014007601A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2012142365A JP2014007601A (en) 2012-06-25 2012-06-25 Built-in interface circuit
CN201310249925.5A CN103516572A (en) 2012-06-25 2013-06-21 Built-in interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012142365A JP2014007601A (en) 2012-06-25 2012-06-25 Built-in interface circuit

Publications (1)

Publication Number Publication Date
JP2014007601A true JP2014007601A (en) 2014-01-16

Family

ID=49898646

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012142365A Pending JP2014007601A (en) 2012-06-25 2012-06-25 Built-in interface circuit

Country Status (2)

Country Link
JP (1) JP2014007601A (en)
CN (1) CN103516572A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835378A (en) * 2020-06-08 2020-10-27 珠海格力电器股份有限公司 Communication type switching circuit and method and air conditioning equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6931539B2 (en) * 2017-02-27 2021-09-08 川崎重工業株式会社 Communications system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60137154A (en) * 1983-12-26 1985-07-20 Hitachi Ltd Data transmission equipment
JPH03104449A (en) * 1989-09-19 1991-05-01 Fujitsu Ltd Frame circulation preventing system
JPH0435251A (en) * 1990-05-25 1992-02-06 Fujitsu Ltd Fault monitor system for ring network
JPH04330836A (en) * 1991-03-04 1992-11-18 Japan Steel Works Ltd:The Communication controller and communication control method
JPH0637780A (en) * 1992-07-20 1994-02-10 Fujitsu Ltd Method for retransmitting disappearing frame and its equipment
JPH06216919A (en) * 1993-01-13 1994-08-05 Mitsubishi Electric Corp Information transmission equipment
WO2008114777A1 (en) * 2007-03-20 2008-09-25 Mitsubishi Electric Corporation Communication apparatus for rolling stock
JP2012104868A (en) * 2009-03-06 2012-05-31 Panasonic Corp Communication system, communication device and communication method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60137154A (en) * 1983-12-26 1985-07-20 Hitachi Ltd Data transmission equipment
JPH03104449A (en) * 1989-09-19 1991-05-01 Fujitsu Ltd Frame circulation preventing system
JPH0435251A (en) * 1990-05-25 1992-02-06 Fujitsu Ltd Fault monitor system for ring network
JPH04330836A (en) * 1991-03-04 1992-11-18 Japan Steel Works Ltd:The Communication controller and communication control method
JPH0637780A (en) * 1992-07-20 1994-02-10 Fujitsu Ltd Method for retransmitting disappearing frame and its equipment
JPH06216919A (en) * 1993-01-13 1994-08-05 Mitsubishi Electric Corp Information transmission equipment
WO2008114777A1 (en) * 2007-03-20 2008-09-25 Mitsubishi Electric Corporation Communication apparatus for rolling stock
JP2012104868A (en) * 2009-03-06 2012-05-31 Panasonic Corp Communication system, communication device and communication method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835378A (en) * 2020-06-08 2020-10-27 珠海格力电器股份有限公司 Communication type switching circuit and method and air conditioning equipment
CN111835378B (en) * 2020-06-08 2024-03-08 珠海格力电器股份有限公司 Communication type switching circuit and method and air conditioning equipment

Also Published As

Publication number Publication date
CN103516572A (en) 2014-01-15

Similar Documents

Publication Publication Date Title
US9841142B2 (en) Single-wire industrial safety system with safety device diagnostic communication
US9786157B2 (en) Bus system and method for operating such a bus system
RU2665890C2 (en) Data management and transmission system, gateway module, input/output module and process control method
US8923286B2 (en) Method and apparatus for safety-related communication in a communication network of an automation system
JP6747361B2 (en) Communication system, communication device, relay device, communication IC (Integrated Circuit), control IC, and communication method
JP2013516136A (en) Bus transceiver configuration
KR101483045B1 (en) System and method for signal failure detection in a ring bus system
RU2536370C2 (en) Network and expansion unit and network operation method
US8804750B2 (en) Field device
US8744805B2 (en) Monitoring system
JP2013201664A (en) Redundant communication device
JP2014007601A (en) Built-in interface circuit
JP2019192244A (en) Safety switch
KR20170122483A (en) System for detecting communication network
JP2019097088A (en) Serial communication system
EP3260935B1 (en) Smart taps for a single-wire industrial safety system
US11106619B2 (en) Transmission of synchronous data via a serial data bus, in particular a SPI bus
KR102290796B1 (en) Method of automatically restarting ecu upon occurrence of lin communicatin errors
JP6365876B2 (en) node
KR100525677B1 (en) Apparatus and method for duplication of communication control module
JP7205439B2 (en) electronic controller
TWI612780B (en) Network device and auto detecting method for direct link thereof
JP2005522776A (en) Inspection method of bus system monitoring function, apparatus and bus system
CN108965314B (en) Network communication device based on Feiteng processor
CN101645195B (en) Recognizing telegram boundaries

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20140718

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140819

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150421

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20150908