JP6846999B2 - Communication system, communication equipment, and miswiring detection method - Google Patents

Communication system, communication equipment, and miswiring detection method Download PDF

Info

Publication number
JP6846999B2
JP6846999B2 JP2017133309A JP2017133309A JP6846999B2 JP 6846999 B2 JP6846999 B2 JP 6846999B2 JP 2017133309 A JP2017133309 A JP 2017133309A JP 2017133309 A JP2017133309 A JP 2017133309A JP 6846999 B2 JP6846999 B2 JP 6846999B2
Authority
JP
Japan
Prior art keywords
terminal
communication line
unit
pair
master unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017133309A
Other languages
Japanese (ja)
Other versions
JP2019016919A (en
Inventor
正裕 石原
正裕 石原
和輝 那谷
和輝 那谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2017133309A priority Critical patent/JP6846999B2/en
Publication of JP2019016919A publication Critical patent/JP2019016919A/en
Application granted granted Critical
Publication of JP6846999B2 publication Critical patent/JP6846999B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、通信システム、通信機器、及び、誤配線検出方法に関する。 The present invention relates to communication systems, communication devices, and miswiring detection methods.

現在、親機と複数の子機とが複数の通信線対で相互に接続された通信システムが知られている。例えば、特許文献1には、中央処理装置と複数の端末器とが1対の伝送線で接続された信号伝送システムが記載されている。 Currently, there is known a communication system in which a master unit and a plurality of slave units are connected to each other by a plurality of communication line pairs. For example, Patent Document 1 describes a signal transmission system in which a central processing unit and a plurality of terminals are connected by a pair of transmission lines.

特許文献1に記載された信号伝送システムでは、中央処理装置が電圧伝送により端末器にデータを送信し、端末器が電流伝送により中央処理装置にデータを送信する。このような通信システムでは、親機と子機とを結ぶ経路が複数存在すると、親機や子機の故障や通信異常が発生することがある。 In the signal transmission system described in Patent Document 1, the central processing device transmits data to the terminal by voltage transmission, and the terminal transmits data to the central processing device by current transmission. In such a communication system, if there are a plurality of routes connecting the master unit and the slave unit, a failure of the master unit or the slave unit or a communication abnormality may occur.

特開平2−210935号公報Japanese Unexamined Patent Publication No. 2-210935

しかしながら、例えば、子機の個数が多い場合や、親機と子機との距離或いは複数の子機間の距離が長い場合、誤配線により親機と子機とを結ぶ経路が複数発生することがある。このため、親機と子機とを結ぶ経路を複数生じさせる誤配線を検出する技術が望まれている。 However, for example, when the number of slave units is large, or when the distance between the master unit and the slave units or the distance between the plurality of slave units is long, multiple routes connecting the master unit and the slave units may occur due to incorrect wiring. There is. Therefore, there is a demand for a technique for detecting erroneous wiring that causes a plurality of routes connecting a master unit and a slave unit.

本発明は、上記問題に鑑みてなされたものであり、親機と子機とを結ぶ経路を複数生じさせる誤配線を検出する通信システム、通信機器、及び、誤配線検出方法を提供することを目的とする。 The present invention has been made in view of the above problems, and provides a communication system, a communication device, and an erroneous wiring detection method for detecting erroneous wiring that causes a plurality of routes connecting a master unit and a slave unit. The purpose.

上記目的を達成するために、本発明に係る通信システムは、
親機と複数の子機とを備え、複数の通信線対により前記親機と前記複数の子機とが相互に接続される通信システムであって、
前記親機は、
前記複数の通信線対のうち前記親機に接続される通信線対に流れる電流の有無を検出することにより前記複数の子機からデータを受信する受信回路を備え、
前記複数の子機は、
前記複数の通信線対のうち第1の通信線対が接続される第1の端子対と、
前記複数の通信線対のうち第2の通信線対が接続される第2の端子対と、
前記第1の端子対のうち一方の端子と前記第2の端子対のうち一方の端子とが接続される第1の接続点と、前記第1の端子対のうち他方の端子と前記第2の端子対のうち他方の端子とが接続される第2の接続点との間の導通・非導通状態を制御することにより前記親機にデータを送信する送信回路と、
前記第1の通信線対に流れる第1の電流を検出する第1の電流検出手段と、
前記第2の通信線対に流れる第2の電流を検出する第2の電流検出手段と、
前記第1の接続点と前記第2の接続点との間が導通状態に制御されているときに、前記第1の電流と前記第2の電流とが予め定められた閾値以上である場合、予め定められた信号を出力する信号出力手段と、を備える。
In order to achieve the above object, the communication system according to the present invention
A communication system including a master unit and a plurality of slave units, in which the master unit and the plurality of slave units are interconnected by a plurality of communication line pairs.
The master unit is
A receiving circuit for receiving data from the plurality of slave units by detecting the presence or absence of a current flowing through the communication line pair connected to the master unit among the plurality of communication line pairs is provided.
The plurality of slave units
The first terminal pair to which the first communication line pair of the plurality of communication line pairs is connected and
A second terminal pair to which the second communication line pair of the plurality of communication line pairs is connected and
A first connection point to which one terminal of the first terminal pair and one terminal of the second terminal pair are connected, and the other terminal of the first terminal pair and the second terminal pair. A transmission circuit that transmits data to the master unit by controlling the conduction / non-conduction state between the terminal pair and the second connection point to which the other terminal is connected.
A first current detecting means for detecting the first current flowing through the first communication line pair,
A second current detecting means for detecting the second current flowing through the second communication line pair, and
When the first current and the second current are equal to or higher than a predetermined threshold value when the connection between the first connection point and the second connection point is controlled to be conductive. A signal output means for outputting a predetermined signal is provided.

本発明では、第1の端子対のうち一方の端子と第2の端子対のうち一方の端子とが接続される第1の接続点と、第1の端子対のうち他方の端子と第2の端子対のうち他方の端子とが接続される第2の接続点と、の間が導通状態に制御されているときに、第1の端子対に接続される第1の通信線対に流れる第1の電流と、第2の端子対に接続される第2の通信線対に流れる第2の電流の大きさと、が予め定められた閾値以上である場合、予め定められた信号が出力される。従って、本発明によれば、親機と子機とを結ぶ経路を複数生じさせる誤配線を検出することができる。 In the present invention, the first connection point to which one terminal of the first terminal pair and one terminal of the second terminal pair are connected, and the other terminal and the second terminal of the first terminal pair. Flows to the first communication line pair connected to the first terminal pair when the connection between the second connection point to which the other terminal of the terminal pair is connected is controlled to be conductive. When the magnitude of the first current and the magnitude of the second current flowing through the second communication line pair connected to the second terminal pair is equal to or greater than a predetermined threshold value, a predetermined signal is output. To. Therefore, according to the present invention, it is possible to detect erroneous wiring that causes a plurality of routes connecting the master unit and the slave unit.

本発明の実施形態1に係る通信システムの構成図Configuration diagram of the communication system according to the first embodiment of the present invention 本発明の実施形態1に係る親機及び子機の構成図Configuration diagram of a master unit and a slave unit according to the first embodiment of the present invention. 本発明の実施形態1に係る子機が実行する通信制御処理を示すフローチャートA flowchart showing a communication control process executed by the slave unit according to the first embodiment of the present invention. 図3に示す誤配線検出処理を示すフローチャートA flowchart showing the erroneous wiring detection process shown in FIG. 本発明の実施形態2に係る子機が実行する誤配線検出処理を示すフローチャートA flowchart showing an erroneous wiring detection process executed by the slave unit according to the second embodiment of the present invention. 本発明の実施形態2に係る親機が実行する通信制御処理を示すフローチャートA flowchart showing a communication control process executed by the master unit according to the second embodiment of the present invention. 本発明の実施形態3に係る通信システムの構成図Configuration diagram of the communication system according to the third embodiment of the present invention 本発明の実施形態3に係る子機の構成図Configuration diagram of the slave unit according to the third embodiment of the present invention

(実施形態1)
本発明の実施形態を、図面を参照して説明する。まず、図1を参照して、本発明の実施形態1に係る通信システム1000について説明する。通信システム1000は、親機100と複数の子機(子機200、子機300、子機400、子機500)とを備え、親機100と複数の子機とが相互に通信するシステムである。通信システム1000は、例えば、照明制御機器と複数の照明機器とを備える照明システムである。この場合、親機100は照明制御機器に対応し、複数の子機がそれぞれ複数の照明機器に対応する。
(Embodiment 1)
Embodiments of the present invention will be described with reference to the drawings. First, the communication system 1000 according to the first embodiment of the present invention will be described with reference to FIG. The communication system 1000 is a system in which a master unit 100 and a plurality of slave units (slave unit 200, slave unit 300, slave unit 400, slave unit 500) are provided, and the master unit 100 and the plurality of slave units communicate with each other. is there. The communication system 1000 is, for example, a lighting system including a lighting control device and a plurality of lighting devices. In this case, the master unit 100 corresponds to the lighting control device, and the plurality of slave units each correspond to the plurality of lighting devices.

親機100は、直流電源(図示せず)を備え、複数の子機に電力を供給する。複数の子機は、親機100から供給された電力で動作する。親機100は、電圧信号により複数の子機にデータを送信し、複数の子機は、電流信号により親機100にデータを送信する。本実施形態では、ブロードキャストがなく、ポーリング方式が採用されているものとする。つまり、親機100は、複数の子機に同時にデータを送信せず、複数の子機は、親機100からデータを受信したときに親機100にデータを送信するものとする。このため、親機100と複数の子機とは、同時にデータを送信しない。 The master unit 100 includes a DC power supply (not shown) and supplies electric power to a plurality of slave units. The plurality of slave units operate on the power supplied from the master unit 100. The master unit 100 transmits data to a plurality of slave units by a voltage signal, and the plurality of slave units transmit data to the master unit 100 by a current signal. In this embodiment, it is assumed that there is no broadcast and a polling method is adopted. That is, the master unit 100 does not transmit data to the plurality of slave units at the same time, and the plurality of slave units transmit data to the master unit 100 when the data is received from the master unit 100. Therefore, the master unit 100 and the plurality of slave units do not transmit data at the same time.

親機100と複数の子機とは、複数の通信線対(通信線対13、通信線対23、通信線対33、通信線対43、通信線対53)により相互に接続され、複数の通信線対を介して相互に通信する。具体的には、親機100は、端子141と端子142とを含む端子対145と、端子143と端子144とを含む端子対146と、を備える。子機200は、端子241と端子242とを含む端子対245と、端子243と端子244とを含む端子対246と、を備える。子機300は、端子341と端子342とを含む端子対345と、端子343と端子344とを含む端子対346と、を備える。子機400は、端子441と端子442とを含む端子対445と、端子443と端子444とを含む端子対446と、を備える。子機500は、端子541と端子542とを含む端子対545と、端子543と端子544とを含む端子対546と、を備える。 The master unit 100 and the plurality of slave units are connected to each other by a plurality of communication line pairs (communication line pair 13, communication line pair 23, communication line pair 33, communication line pair 43, communication line pair 53), and a plurality of communication line pairs. Communicate with each other via a pair of communication lines. Specifically, the master unit 100 includes a terminal pair 145 including the terminal 141 and the terminal 142, and a terminal pair 146 including the terminal 143 and the terminal 144. The slave unit 200 includes a terminal pair 245 including the terminal 241 and the terminal 242, and a terminal pair 246 including the terminal 243 and the terminal 244. The slave unit 300 includes a terminal pair 345 including the terminal 341 and the terminal 342, and a terminal pair 346 including the terminal 343 and the terminal 344. The slave unit 400 includes a terminal pair 445 including the terminal 441 and the terminal 442, and a terminal pair 446 including the terminal 443 and the terminal 444. The slave unit 500 includes a terminal pair 545 including a terminal 541 and a terminal 542, and a terminal pair 546 including a terminal 543 and a terminal 544.

端子141と端子143とは親機100の内部で接続され、端子142と端子144とは親機100の内部で接続される。端子241と端子243とは子機200の内部で接続され、端子242と端子244とは子機200の内部で接続される。端子341と端子343とは子機300の内部で接続され、端子342と端子344とは子機300の内部で接続される。端子441と端子443とは子機400の内部で接続され、端子442と端子444とは子機400の内部で接続される。端子541と端子543とは子機500の内部で接続され、端子542と端子544とは子機500の内部で接続される。 The terminal 141 and the terminal 143 are connected inside the master unit 100, and the terminal 142 and the terminal 144 are connected inside the master unit 100. The terminal 241 and the terminal 243 are connected inside the slave unit 200, and the terminal 242 and the terminal 244 are connected inside the slave unit 200. The terminal 341 and the terminal 343 are connected inside the slave unit 300, and the terminal 342 and the terminal 344 are connected inside the slave unit 300. The terminal 441 and the terminal 443 are connected inside the slave unit 400, and the terminal 442 and the terminal 444 are connected inside the slave unit 400. The terminal 541 and the terminal 543 are connected inside the slave unit 500, and the terminal 542 and the terminal 544 are connected inside the slave unit 500.

図1には、通信線51と通信線52とを含む通信線対53により子機300と子機500とが誤って接続され、親機100と特定の子機とを結ぶ経路を複数生じさせる誤配線(以下、単に「誤配線」という。)が生じている例を示している。この誤配線は、親機100と特定の子機とを結ぶ複数の経路によりループが構成されるため、ループ配線とも呼ばれる。この誤配線があると、親機100や複数の子機が故障したり、通信異常が発生したりすることがある。このため、本実施形態では、誤配線が検出された場合、誤配線による影響が生じないように(ループ配線がなくなるように)、接続関係が自動で調整される。以下、理解を容易にするため、まず、誤配線がない場合について説明する。 In FIG. 1, the slave unit 300 and the slave unit 500 are erroneously connected by the communication line pair 53 including the communication line 51 and the communication line 52, and a plurality of routes connecting the master unit 100 and the specific slave unit are generated. An example in which miswiring (hereinafter, simply referred to as "miswiring") has occurred is shown. This erroneous wiring is also called loop wiring because a loop is formed by a plurality of routes connecting the master unit 100 and a specific slave unit. If there is such an erroneous wiring, the master unit 100 or a plurality of slave units may break down or a communication abnormality may occur. Therefore, in the present embodiment, when erroneous wiring is detected, the connection relationship is automatically adjusted so as not to be affected by the erroneous wiring (so that the loop wiring is eliminated). Hereinafter, in order to facilitate understanding, first, a case where there is no erroneous wiring will be described.

親機100と子機200とは、通信線11と通信線12とを含む通信線対13により相互に接続される。つまり、端子141と端子241とが通信線11により接続され、端子142と端子242とが通信線12により接続される。子機200と子機300とは、通信線21と通信線22とを含む通信線対23により相互に接続される。つまり、端子243と端子341とが通信線21により接続され、端子244と端子342とが通信線22により接続される。親機100と子機400とは、通信線31と通信線32とを含む通信線対33により相互に接続される。つまり、端子143と端子441とが通信線31により接続され、端子144と端子442とが通信線32により接続される。子機400と子機500とは、通信線41と通信線42とを含む通信線対43により相互に接続される。つまり、端子443と端子541とが通信線41により接続され、端子444と端子542とが通信線42により接続される。 The master unit 100 and the slave unit 200 are connected to each other by a communication line pair 13 including a communication line 11 and a communication line 12. That is, the terminal 141 and the terminal 241 are connected by the communication line 11, and the terminal 142 and the terminal 242 are connected by the communication line 12. The slave unit 200 and the slave unit 300 are connected to each other by a communication line pair 23 including a communication line 21 and a communication line 22. That is, the terminal 243 and the terminal 341 are connected by the communication line 21, and the terminal 244 and the terminal 342 are connected by the communication line 22. The master unit 100 and the slave unit 400 are connected to each other by a communication line pair 33 including a communication line 31 and a communication line 32. That is, the terminal 143 and the terminal 441 are connected by the communication line 31, and the terminal 144 and the terminal 442 are connected by the communication line 32. The slave unit 400 and the slave unit 500 are connected to each other by a communication line pair 43 including the communication line 41 and the communication line 42. That is, the terminal 443 and the terminal 541 are connected by the communication line 41, and the terminal 444 and the terminal 542 are connected by the communication line 42.

ここで、配線長が長くなると、配線における電圧降下の影響が大きくなり、電圧信号による通信が正常にできなくなる可能性が高くなる。そこで、配線長は、予め定められた長さ(例えば、100m)以下に収まるように、親機100と子機200と子機300と子機400と子機500とが接続される。図1は、通信線対13の長さが30mであり、通信線対23の長さが20mであり、通信線対33の長さが50mであり、通信線対43の長さが50mである例を示している。この場合、親機100から子機200までの配線長は30mであり、親機100から子機300までの配線長は30m+20m=50mであり、親機100から子機400までの配線長は50mであり、親機100から子機500までの配線長は50m+50m=100mである。従って、親機100は、子機200と子機300と子機400と子機500とのいずれにも、正常に電圧信号を送信することができる。 Here, if the wiring length becomes long, the influence of the voltage drop in the wiring becomes large, and there is a high possibility that communication by the voltage signal cannot be performed normally. Therefore, the master unit 100, the slave unit 200, the slave unit 300, the slave unit 400, and the slave unit 500 are connected so that the wiring length is within a predetermined length (for example, 100 m) or less. In FIG. 1, the length of the communication line pair 13 is 30 m, the length of the communication line pair 23 is 20 m, the length of the communication line pair 33 is 50 m, and the length of the communication line pair 43 is 50 m. An example is shown. In this case, the wiring length from the master unit 100 to the slave unit 200 is 30 m, the wiring length from the master unit 100 to the slave unit 300 is 30 m + 20 m = 50 m, and the wiring length from the master unit 100 to the slave unit 400 is 50 m. The wiring length from the master unit 100 to the slave unit 500 is 50 m + 50 m = 100 m. Therefore, the master unit 100 can normally transmit a voltage signal to any of the slave unit 200, the slave unit 300, the slave unit 400, and the slave unit 500.

親機100は、いずれかの子機にデータを送信する場合、予め定められた電源電圧(例えば、12V又は24V)を、極性を反転させながら端子対145間に印加する。データは、基本的に、1と0との組み合わせにより表現されるバイナリデータである。例えば、親機100は、0に対応するビットを送信する期間、端子141と端子143とに12Vを印加するとともに端子142と端子144とに0Vを印加する。一方、親機100は、1に対応するビットを送信する期間、端子141と端子143とに0Vを印加するとともに端子142と端子144とに12Vを印加する。 When transmitting data to any of the slave units, the master unit 100 applies a predetermined power supply voltage (for example, 12V or 24V) between the terminals 145 while reversing the polarity. The data is basically binary data represented by a combination of 1 and 0. For example, the master unit 100 applies 12V to the terminals 141 and 143 and 0V to the terminals 142 and 144 during the period of transmitting the bit corresponding to 0. On the other hand, the master unit 100 applies 0V to the terminals 141 and 143 and 12V to the terminals 142 and 144 during the period of transmitting the bit corresponding to 1.

ここで、配線長に応じた電圧降下の影響が小さい場合、基本的に、端子141と端子143と端子241と端子243と端子341と端子343と端子441と端子443と端子541と端子543とには、同程度の電圧が印加される。従って、複数の子機は、端子対間に印加された電源電圧の極性を監視することにより、親機100からデータを受信することができる。 Here, when the influence of the voltage drop according to the wiring length is small, basically, the terminal 141, the terminal 143, the terminal 241 and the terminal 243, the terminal 341, the terminal 343, the terminal 441, the terminal 443, the terminal 541, and the terminal 543 are used. A voltage of the same degree is applied to. Therefore, the plurality of slave units can receive data from the master unit 100 by monitoring the polarity of the power supply voltage applied between the terminal pairs.

例えば、子機200は、端子対245間の電圧の極性が負である期間(例えば、端子241に12Vが印加され端子242に0Vが印加されている期間)、0に対応するビットが送信された期間と見做すことができる。一方、子機200は、端子対245間の電圧の極性が正である期間(例えば、端子241に0Vが印加され端子242に12Vが印加されている期間)、1に対応するビットが送信された期間と見做すことができる。そして、子機200は、受信したビットを組み合わせて、親機100により送信されたデータを受信することができる。なお、データを構成するビット列には、データの送信元や送信先の機器を示すビット列が含まれているものとする。 For example, in the slave unit 200, a bit corresponding to 0 is transmitted during a period in which the polarity of the voltage between the terminals 245 is negative (for example, a period in which 12V is applied to the terminals 241 and 0V is applied to the terminals 242). It can be regarded as a period of time. On the other hand, in the slave unit 200, a bit corresponding to 1 is transmitted during a period in which the polarity of the voltage between the terminals 245 is positive (for example, a period in which 0V is applied to the terminals 241 and 12V is applied to the terminals 242). It can be regarded as a period of time. Then, the slave unit 200 can receive the data transmitted by the master unit 100 by combining the received bits. It is assumed that the bit string constituting the data includes a bit string indicating the device of the data transmission source and transmission destination.

一方、複数の子機は、親機100にデータを送信する場合、端子対間の導通・非導通状態を切り替えることにより親機100にデータを送信する。例えば、子機200は、1に対応するビットを送信する期間、端子対245間を導通状態に制御し、0に対応するビットを送信する期間、端子対245間を非導通状態に制御する。ここで、端子対245間には電源電圧が印加されているため、端子対245間が導通状態に制御されると、通信線対13には電流が流れる。通信線対13に電流が流れることは、通信線11と通信線12とに電流が流れることを意味する。なお、基本的に、通信線11に流れる電流の大きさと通信線12に流れる電流の大きさとは同程度であり、通信線11に流れる電流の向きと通信線12に流れる電流の向きとは反対向きである。以下、「電流の大きさ」のことを、適宜、単に、「電流」という。 On the other hand, when transmitting data to the master unit 100, the plurality of slave units transmit data to the master unit 100 by switching the conduction / non-conduction state between the terminal pairs. For example, the slave unit 200 controls the terminal pair 245 to be in a conductive state during the period of transmitting the bit corresponding to 1, and controls the terminal pair 245 to be in the non-conducting state during the period of transmitting the bit corresponding to 0. Here, since the power supply voltage is applied between the terminal pairs 245, a current flows through the communication line pair 13 when the terminal pair 245 is controlled to be in a conductive state. The current flowing through the communication line pair 13 means that the current flows through the communication line 11 and the communication line 12. Basically, the magnitude of the current flowing through the communication line 11 and the magnitude of the current flowing through the communication line 12 are about the same, and the direction of the current flowing through the communication line 11 and the direction of the current flowing through the communication line 12 are opposite to each other. It is suitable. Hereinafter, the "magnitude of electric current" is appropriately and simply referred to as "current".

一方、親機100は、通信線対13に流れる電流の有無を検出することにより、子機200からデータを受信することができる。例えば、親機100は、通信線対13に閾値以上の電流が流れている期間、1に対応するビットが送信された期間と見做すことができる。一方、親機100は、通信線対13に閾値以上の電流が流れていない期間、0に対応するビットが送信された期間と見做すことができる。そして、親機100は、受信したビットを組み合わせて、子機200により送信されたデータを受信することができる。 On the other hand, the master unit 100 can receive data from the slave unit 200 by detecting the presence or absence of a current flowing through the communication line pair 13. For example, the master unit 100 can be regarded as a period during which a current equal to or higher than the threshold value is flowing through the communication line pair 13 and a period during which the bit corresponding to 1 is transmitted. On the other hand, the master unit 100 can be regarded as a period during which a current equal to or greater than the threshold value does not flow through the communication line pair 13 and a period during which the bit corresponding to 0 is transmitted. Then, the master unit 100 can receive the data transmitted by the slave unit 200 by combining the received bits.

ここで、誤配線がない場合、つまり、子機300と子機500とが通信線対53により接続されていない場合、子機300の接続先は子機200だけである。従って、子機200がデータを送信する間、子機200から親機100に電流が流れる経路は、通信線対13だけとなる。 Here, if there is no erroneous wiring, that is, if the slave unit 300 and the slave unit 500 are not connected by the communication line pair 53, the slave unit 300 is connected only to the slave unit 200. Therefore, while the slave unit 200 transmits data, the only path through which current flows from the slave unit 200 to the master unit 100 is the communication line pair 13.

次に、誤配線がある場合、つまり、子機300と子機500とが、通信線51と通信線52とを含む通信線対53により接続された場合について説明する。この場合、端子343と端子543とが通信線51により接続され、端子344と端子544とが通信線52により接続される。なお、通信線対53の長さは20mであるものとする。 Next, a case where there is an erroneous wiring, that is, a case where the slave unit 300 and the slave unit 500 are connected by a communication line pair 53 including the communication line 51 and the communication line 52 will be described. In this case, the terminal 343 and the terminal 543 are connected by the communication line 51, and the terminal 344 and the terminal 544 are connected by the communication line 52. The length of the communication line pair 53 is assumed to be 20 m.

ここで、例えば、子機200が親機100にデータを送信する場合を想定する。この場合、子機200は、1に対応するビットを送信する期間、端子対245間を導通状態に制御する。端子対245間が導通状態に制御されると、端子対245間には電源電圧が印加されているため、通信線対13には電流が流れる。しかしながら、子機200と親機100との間には、通信線対13により構成される経路1と、通信線対23と通信線対53と通信線対43と通信線対33とにより構成される経路2との2つの電流経路が存在する。従って、端子対245間が導通状態に制御されると、通信線対23と通信線対53と通信線対43と通信線対33とにも電流が流れる。 Here, for example, it is assumed that the slave unit 200 transmits data to the master unit 100. In this case, the slave unit 200 controls the terminal pair 245 to be in a conductive state during the period of transmitting the bit corresponding to 1. When the terminal pair 245 is controlled to be in a conductive state, a power supply voltage is applied between the terminal pair 245, so that a current flows through the communication line pair 13. However, between the slave unit 200 and the master unit 100, a path 1 composed of a communication line pair 13, a communication line pair 23, a communication line pair 53, a communication line pair 43, and a communication line pair 33 are configured. There are two current paths with the path 2. Therefore, when the terminal pair 245 is controlled to be in a conductive state, a current also flows through the communication line pair 23, the communication line pair 53, the communication line pair 43, and the communication line pair 33.

経路1の長さは、30mであり、経路2の長さは、20m+20m+50m+50m=140mである。従って、経路1に流れる電流の大きさは、経路2に流れる電流の大きさよりも大きい。なお、親機100が監視する電流の大きさは、経路1に流れる電流の大きさと経路2に流れる電流の大きさとの合計の大きさである。従って、親機100が監視する電流の大きさは、誤配線がある場合、誤配線がない場合よりも大きくなる。親機100が監視する電流の大きさが大きくなること自体は問題ないとも考えられる。しかしながら、誤配線があること自体、予期しない接続がされていることを意味し、また、親機100や複数の子機の故障、あるいは、通信異常を招来しかねない。そこで、複数の子機は、データを送信するときに、誤配線があるか否かを確認し、誤配線が検出された場合、誤配線による影響がなくなるように接続関係を自動で調整する。 The length of the route 1 is 30 m, and the length of the route 2 is 20 m + 20 m + 50 m + 50 m = 140 m. Therefore, the magnitude of the current flowing through the path 1 is larger than the magnitude of the current flowing through the path 2. The magnitude of the current monitored by the master unit 100 is the total magnitude of the magnitude of the current flowing in the path 1 and the magnitude of the current flowing in the path 2. Therefore, the magnitude of the current monitored by the master unit 100 is larger when there is erroneous wiring than when there is no erroneous wiring. It is considered that there is no problem in itself that the magnitude of the current monitored by the master unit 100 becomes large. However, the fact that there is an erroneous wiring itself means that an unexpected connection is made, and it may lead to a failure of the master unit 100 or a plurality of slave units, or a communication abnormality. Therefore, when transmitting data, the plurality of slave units check whether or not there is an erroneous wiring, and if an erroneous wiring is detected, automatically adjust the connection relationship so that the influence of the erroneous wiring is eliminated.

例えば、子機200は、1に対応するビットを送信する期間、端子対245間を導通状態に制御するとともに、経路1と経路2との双方に電流が流れているか否かを確認する。そして、子機200は、経路1と経路2との双方に電流が流れていることを検出した場合、流れる電流が少ない方の経路(例えば、経路2)を遮断する。なお、経路に流れる電流が少ないことは、経路の長さが長いことを意味する。一般的に、正常な経路は、短くなるように設計される。このため、長い経路は、短い経路よりも、誤配線により形成された経路である可能性が高い。また、短い経路を遮断して、長い経路を残す場合、正常に通信できなくなる可能性がある。そこで、誤配線が検出された場合、流れる電流が少ない方の経路が遮断されることが好適である。 For example, the slave unit 200 controls the terminal pair 245 to be in a conductive state during the period of transmitting the bit corresponding to 1, and confirms whether or not a current is flowing in both the path 1 and the path 2. Then, when the slave unit 200 detects that a current is flowing in both the path 1 and the path 2, the slave unit 200 cuts off the path (for example, the path 2) in which the flowing current is smaller. The fact that the current flowing through the path is small means that the length of the path is long. In general, normal pathways are designed to be short. Therefore, the long path is more likely to be a path formed by miswiring than the short path. In addition, if a short route is blocked and a long route is left, normal communication may not be possible. Therefore, when erroneous wiring is detected, it is preferable that the path with the smaller flowing current is cut off.

次に、図2を参照して、親機100及び子機200の構成について説明する。なお、子機300、子機400、子機500の構成は、基本的に、子機200の構成と同様である。 Next, the configurations of the master unit 100 and the slave unit 200 will be described with reference to FIG. The configuration of the slave unit 300, the slave unit 400, and the slave unit 500 is basically the same as the configuration of the slave unit 200.

親機100は、送信回路110と、受信回路120と、制御部130と、端子対145と、端子対146と、通知部150と、電源端子161と、コンデンサ162と、接地端子163と、を備える。 The master unit 100 includes a transmission circuit 110, a reception circuit 120, a control unit 130, a terminal pair 145, a terminal pair 146, a notification unit 150, a power supply terminal 161 and a capacitor 162, and a ground terminal 163. Be prepared.

送信回路110は、制御部130による制御に従って、電圧信号によりデータを送信する。送信回路110は、制御部130が備える図示しない第1の送信端子(Tx1により示される端子)からHレベルの電圧(例えば、5V)が出力され、制御部130が備える図示しない第2の送信端子(Tx2により示される端子)からLレベルの電圧(例えば、0V)が出力されるとき、端子141に0Vを印加するとともに端子142にV1を印加する。一方、送信回路110は、第1の送信端子からLレベルの電圧が出力され、第2の送信端子からHレベルの電圧が出力されるとき、端子141にV1を印加するとともに端子142に0Vを印加する。V1は、親機100の電源電圧である。 The transmission circuit 110 transmits data by a voltage signal according to the control by the control unit 130. The transmission circuit 110 outputs an H level voltage (for example, 5V) from a first transmission terminal (terminal indicated by Tx1) included in the control unit 130 (not shown), and a second transmission terminal (not shown) included in the control unit 130. When an L level voltage (for example, 0V) is output from (terminal indicated by Tx2), 0V is applied to the terminal 141 and V1 is applied to the terminal 142. On the other hand, when the L level voltage is output from the first transmission terminal and the H level voltage is output from the second transmission terminal, the transmission circuit 110 applies V1 to the terminal 141 and 0V to the terminal 142. Apply. V1 is the power supply voltage of the master unit 100.

なお、第2の送信端子から出力される電圧のレベルは、第1の送信端子から出力される電圧のレベルと逆のレベルである。例えば、制御部130は、1に対応するビットを送信するときに、第1の送信端子からHレベルの電圧を出力し、第2の送信端子からLレベルの電圧を出力する。また、制御部130は、0に対応するビットを送信するときに、第1の送信端子からLレベルの電圧を出力し、第2の送信端子からHレベルの電圧を出力する。従って、1に対応するビットが送信されるときに端子141の電圧が端子142の電圧よりも低くなり、0に対応するビットが送信されるときに端子141の電圧が端子142の電圧よりも高くなる。なお、基本的に、端子141の電圧と端子143の電圧とは同じであり、端子142の電圧と端子144の電圧とは同じである。 The level of the voltage output from the second transmission terminal is the opposite of the level of the voltage output from the first transmission terminal. For example, when transmitting the bit corresponding to 1, the control unit 130 outputs an H level voltage from the first transmission terminal and outputs an L level voltage from the second transmission terminal. Further, when transmitting a bit corresponding to 0, the control unit 130 outputs an L level voltage from the first transmission terminal and outputs an H level voltage from the second transmission terminal. Therefore, the voltage of terminal 141 is lower than the voltage of terminal 142 when the bit corresponding to 1 is transmitted, and the voltage of terminal 141 is higher than the voltage of terminal 142 when the bit corresponding to 0 is transmitted. Become. Basically, the voltage of the terminal 141 and the voltage of the terminal 143 are the same, and the voltage of the terminal 142 and the voltage of the terminal 144 are the same.

送信回路110は、NPN(Negative Positive Negative)トランジスタ111と、PNP(Positive Negative Positive)トランジスタ112と、NPNトランジスタ113と、PNPトランジスタ114と、を備える。NPNトランジスタ111のコレクタとNPNトランジスタ113のコレクタとは、電源端子161に接続される。NPNトランジスタ111のベースとPNPトランジスタ112のベースとは、第1の送信端子に接続される。NPNトランジスタ111のエミッタとPNPトランジスタ112のエミッタとは、端子142と端子144とに接続される。 The transmission circuit 110 includes an NPN (Negative Positive Negative) transistor 111, a PNP (Positive Negative Positive) transistor 112, an NPN transistor 113, and a PNP transistor 114. The collector of the NPN transistor 111 and the collector of the NPN transistor 113 are connected to the power supply terminal 161. The base of the NPN transistor 111 and the base of the PNP transistor 112 are connected to the first transmission terminal. The emitter of the NPN transistor 111 and the emitter of the PNP transistor 112 are connected to the terminals 142 and 144.

PNPトランジスタ112のコレクタとPNPトランジスタ114のコレクタとは、抵抗126を介して接地端子128に接続されるとともに、コンデンサ123を介してオペアンプ122の非反転入力端子に接続される。NPNトランジスタ113のベースとPNPトランジスタ114のベースとは、第2の送信端子に接続される。NPNトランジスタ113のエミッタとPNPトランジスタ114のエミッタとは、端子141と端子143とに接続される。NPNトランジスタ111とPNPトランジスタ114とがオンするとき、NPNトランジスタ113とPNPトランジスタ114とがオフする。また、NPNトランジスタ111とPNPトランジスタ114とがオフするとき、NPNトランジスタ113とPNPトランジスタ114とがオンする。 The collector of the PNP transistor 112 and the collector of the PNP transistor 114 are connected to the ground terminal 128 via the resistor 126 and to the non-inverting input terminal of the operational amplifier 122 via the capacitor 123. The base of the NPN transistor 113 and the base of the PNP transistor 114 are connected to the second transmission terminal. The emitter of the NPN transistor 113 and the emitter of the PNP transistor 114 are connected to terminals 141 and 143. When the NPN transistor 111 and the PNP transistor 114 are turned on, the NPN transistor 113 and the PNP transistor 114 are turned off. Further, when the NPN transistor 111 and the PNP transistor 114 are turned off, the NPN transistor 113 and the PNP transistor 114 are turned on.

受信回路120は、いずれかの子機から電流信号として送信されたデータ(ビットデータ)に対応する電圧信号を制御部130に供給する。受信回路120は、通信線対13又は通信線対33に流れる電流が予め定められた閾値以上になったことを検出した場合、制御部130が備える図示しない受信端子(Rxにより示される端子)にHレベルの電圧信号を供給する。一方、受信回路120は、通信線対13又は通信線対33に流れる電流がこの閾値未満になったことを検出した場合、受信端子にLレベルの電圧信号を供給する。 The receiving circuit 120 supplies the control unit 130 with a voltage signal corresponding to data (bit data) transmitted as a current signal from any of the slave units. When the receiving circuit 120 detects that the current flowing through the communication line pair 13 or the communication line pair 33 exceeds a predetermined threshold value, the receiving circuit 120 is connected to a receiving terminal (terminal indicated by Rx) provided in the control unit 130. It supplies an H-level voltage signal. On the other hand, when the receiving circuit 120 detects that the current flowing through the communication line pair 13 or the communication line pair 33 is less than this threshold value, the receiving circuit 120 supplies an L level voltage signal to the receiving terminal.

受信回路120は、電源端子121と、オペアンプ122と、コンデンサ123と、抵抗124と、抵抗125と、抵抗126と、接地端子127と、接地端子128と、を備える。電源端子121は、親機100が備える直流電源(図示せず)に接続され、電源電圧(V1)が印加される。オペアンプ122は、非反転入力端子に印加された入力電圧と反転入力端子に印加された基準電圧とを比較する。オペアンプ122は、入力電圧が基準電圧よりも高い場合、Hレベルの電圧を出力端子から出力し、入力電圧が基準電圧よりも低い場合、Lレベルの電圧を出力端子から出力する。 The receiving circuit 120 includes a power supply terminal 121, an operational amplifier 122, a capacitor 123, a resistor 124, a resistor 125, a resistor 126, a ground terminal 127, and a ground terminal 128. The power supply terminal 121 is connected to a DC power supply (not shown) included in the master unit 100, and a power supply voltage (V1) is applied. The operational amplifier 122 compares the input voltage applied to the non-inverting input terminal with the reference voltage applied to the inverting input terminal. The operational amplifier 122 outputs an H level voltage from the output terminal when the input voltage is higher than the reference voltage, and outputs an L level voltage from the output terminal when the input voltage is lower than the reference voltage.

コンデンサ123は、オペアンプ122の反転入力端子に供給される直流成分を遮断する。抵抗124と抵抗125とは、電源端子121と接地端子127との間に直列に接続される。抵抗124と抵抗125とは、電源電圧を分圧することにより得られた基準電圧を、オペアンプ122の反転入力端子に印加する。抵抗126は、電源端子161から接地端子128に流れる電流を制限する。接地端子127と接地端子128とは、親機100が備える直流電源(図示せず)に接続され、0Vが印加される。 The capacitor 123 cuts off the DC component supplied to the inverting input terminal of the operational amplifier 122. The resistor 124 and the resistor 125 are connected in series between the power supply terminal 121 and the ground terminal 127. The resistor 124 and the resistor 125 apply a reference voltage obtained by dividing the power supply voltage to the inverting input terminal of the operational amplifier 122. The resistor 126 limits the current flowing from the power supply terminal 161 to the ground terminal 128. The ground terminal 127 and the ground terminal 128 are connected to a DC power supply (not shown) included in the master unit 100, and 0 V is applied.

制御部130は、親機100の全体的な動作を制御する。制御部130は、送信回路110を制御して、いずれかの子機にデータを送信する。例えば、制御部130は、送信するビットデータに対応するレベルの電圧を、第1の送信端子から出力する。なお、制御部130は、第1の送信端子から出力した電圧のレベルとは逆のレベルの電圧を、第2の送信端子から出力する。また、制御部130は、受信回路120から供給された電圧信号に基づいて、いずれかの子機から送信されたデータを特定する。例えば、制御部130は、受信端子に印加された電圧のレベルに応じたビットデータをサンプリングし、サンプリングにより得られたビットデータ列から、送信されたデータを特定する。 The control unit 130 controls the overall operation of the master unit 100. The control unit 130 controls the transmission circuit 110 to transmit data to any of the slave units. For example, the control unit 130 outputs a voltage at a level corresponding to the bit data to be transmitted from the first transmission terminal. The control unit 130 outputs a voltage at a level opposite to the level of the voltage output from the first transmission terminal from the second transmission terminal. Further, the control unit 130 identifies the data transmitted from any of the slave units based on the voltage signal supplied from the reception circuit 120. For example, the control unit 130 samples bit data according to the level of the voltage applied to the receiving terminal, and identifies the transmitted data from the bit data string obtained by the sampling.

また、制御部130は、誤配線が検出された場合、通知部150を制御して、誤配線が検出された旨を通知する。制御部130は、例えば、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)などを備えるマイクロコンピュータにより構成される。 Further, when the erroneous wiring is detected, the control unit 130 controls the notification unit 150 to notify that the erroneous wiring has been detected. The control unit 130 is composed of, for example, a microcomputer including a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like.

端子対145は、端子141と端子142とを備える。端子対145は、通信線対13を介して、端子対245と接続される。つまり、端子141は、通信線11を介して端子241に接続され、端子142は、通信線12を介して端子242に接続される。端子対146は、端子143と端子144とを備える。端子対146は、通信線対33を介して、端子対445と接続される。つまり、端子143は、通信線31を介して端子441に接続され、端子144は、通信線32を介して端子442に接続される。 The terminal pair 145 includes terminals 141 and 142. The terminal pair 145 is connected to the terminal pair 245 via the communication line pair 13. That is, the terminal 141 is connected to the terminal 241 via the communication line 11, and the terminal 142 is connected to the terminal 242 via the communication line 12. The terminal pair 146 includes terminals 143 and terminals 144. The terminal pair 146 is connected to the terminal pair 445 via the communication line pair 33. That is, the terminal 143 is connected to the terminal 441 via the communication line 31, and the terminal 144 is connected to the terminal 442 via the communication line 32.

通知部150は、制御部130による制御に従って、誤配線が検出された旨を、光、画像、音声によりユーザに通知する。通知部150は、例えば、LED(Light Emitting Diode)、液晶ディスプレイ、タッチスクリーン、スピーカである。 The notification unit 150 notifies the user by light, image, or voice that the erroneous wiring has been detected according to the control by the control unit 130. The notification unit 150 is, for example, an LED (Light Emitting Diode), a liquid crystal display, a touch screen, and a speaker.

電源端子161は、親機100が備える直流電源に接続され、電源電圧が印加される。コンデンサ162は、電源端子161と接地端子163との間に設けられ、電源端子161から出力される交流成分(高周波成分)を接地端子163に流す。接地端子163は、親機100が備える直流電源に接続され、0Vが印加される。 The power supply terminal 161 is connected to a DC power supply included in the master unit 100, and a power supply voltage is applied. The capacitor 162 is provided between the power supply terminal 161 and the ground terminal 163, and an AC component (high frequency component) output from the power supply terminal 161 flows to the ground terminal 163. The ground terminal 163 is connected to a DC power supply included in the master unit 100, and 0 V is applied.

子機200は、送信回路110と、受信回路120と、制御部230と、端子対245と、端子対246と、整流回路250と、スイッチ261と、スイッチ262と、電流検出部263と、電流検出部264と、接続点265と、接続点266と、比較部270と、信号出力部280と、電源端子291と、を備える。 The slave unit 200 includes a transmission circuit 110, a reception circuit 120, a control unit 230, a terminal pair 245, a terminal pair 246, a rectifier circuit 250, a switch 261 and a switch 262, a current detection unit 263, and a current. It includes a detection unit 264, a connection point 265, a connection point 266, a comparison unit 270, a signal output unit 280, and a power supply terminal 291.

送信回路210は、制御部230による制御に従って、電流信号により、親機100にデータを送信する。送信回路210は、NPNトランジスタ211と、抵抗212とを備える。NPNトランジスタ211のコレクタは、電源端子291に接続される。NPNトランジスタ211のベースは、制御部230が備える図示しない送信端子(Txにより示される端子)に接続される。NPNトランジスタ211のエミッタは、抵抗212を介して、制御部230が備える図示しない基準端子(S0により示される端子)に接続される。NPNトランジスタ211は、ベースにHレベルの電圧が印加されるとオン状態になり、ベースにLレベルの電圧が印加されるとオフ状態になる。NPNトランジスタ211がオフ状態になると、通信線対13には電流が流れない。一方、NPNトランジスタ211がオン状態になると、通信線対13には電流が流れる。 The transmission circuit 210 transmits data to the master unit 100 by a current signal according to the control by the control unit 230. The transmission circuit 210 includes an NPN transistor 211 and a resistor 212. The collector of the NPN transistor 211 is connected to the power supply terminal 291. The base of the NPN transistor 211 is connected to a transmission terminal (terminal indicated by Tx) included in the control unit 230 (not shown). The emitter of the NPN transistor 211 is connected to a reference terminal (terminal indicated by S0) included in the control unit 230 via a resistor 212. The NPN transistor 211 is turned on when an H-level voltage is applied to the base, and is turned off when an L-level voltage is applied to the base. When the NPN transistor 211 is turned off, no current flows through the communication line pair 13. On the other hand, when the NPN transistor 211 is turned on, a current flows through the communication line pair 13.

端子241の電圧が端子242の電圧よりも高いときにNPNトランジスタ211がオン状態になると、電源端子161→NPNトランジスタ113→端子141→通信線11→端子241→スイッチ261→ダイオード253→電源端子291→NPNトランジスタ211→抵抗212→ダイオード252→スイッチ261→端子242→通信線12→端子142→PNPトランジスタ112→抵抗126→接地端子128という経路で電流が流れる。一方、端子241の電圧が端子242の電圧よりも低いときにNPNトランジスタ211がオン状態になると、電源端子161→NPNトランジスタ111→端子142→通信線12→端子242→スイッチ261→ダイオード254→電源端子291→NPNトランジスタ211→抵抗212→ダイオード251→スイッチ261→端子241→通信線11→端子141→PNPトランジスタ114→抵抗126→接地端子128という経路で電流が流れる。抵抗212は、負荷抵抗であり、NPNトランジスタ211の電流路に流れる電流を制限する。 If the NPN transistor 211 is turned on when the voltage of the terminal 241 is higher than the voltage of the terminal 242, the power supply terminal 161 → NPN transistor 113 → terminal 141 → communication line 11 → terminal 241 → switch 261 → diode 253 → power supply terminal 291. → NPN transistor 211 → Resistance 212 → Diode 252 → Switch 261 → Terminal 242 → Communication line 12 → Terminal 142 → PNP transistor 112 → Resistance 126 → Ground terminal 128. On the other hand, if the NPN transistor 211 is turned on when the voltage of the terminal 241 is lower than the voltage of the terminal 242, the power supply terminal 161 → NPN transistor 111 → terminal 142 → communication line 12 → terminal 242 → switch 261 → diode 254 → power supply. A current flows through the route of terminal 291 → NPN transistor 211 → resistor 212 → diode 251 → switch 261 → terminal 241 → communication line 11 → terminal 141 → PNP transistor 114 → resistor 126 → ground terminal 128. The resistor 212 is a load resistor and limits the current flowing in the current path of the NPN transistor 211.

受信回路220は、親機100から電圧信号として送信されたデータ(ビットデータ)に対応する電圧信号を制御部230に供給する。受信回路220は、端子242の電圧が端子241の電圧よりも高いとき、Hレベル(例えば、5V)の電圧信号を、制御部230が備える図示しない受信端子(Rxにより示される端子)に供給する。一方、受信回路220は、端子241の電圧が端子242の電圧よりも高いとき、Lレベル(例えば、0V)の電圧信号を、制御部230が備える受信端子に供給する。 The receiving circuit 220 supplies the control unit 230 with a voltage signal corresponding to data (bit data) transmitted as a voltage signal from the master unit 100. When the voltage of the terminal 242 is higher than the voltage of the terminal 241, the receiving circuit 220 supplies an H level (for example, 5V) voltage signal to a receiving terminal (terminal indicated by Rx) included in the control unit 230 (not shown). .. On the other hand, when the voltage of the terminal 241 is higher than the voltage of the terminal 242, the receiving circuit 220 supplies an L level (for example, 0V) voltage signal to the receiving terminal included in the control unit 230.

受信回路220は、ツェナーダイオード221と、抵抗222と、抵抗223と、を備える。ツェナーダイオード221のアノードは基準端子に接続され、ツェナーダイオード221のカソードは受信端子に接続される。ツェナーダイオード221は、受信端子の電圧が、基準端子の電圧に対して、降伏電圧(例えば、5V)以上高くならないようにする。抵抗222は、接続点266と受信端子との間に設けられ、受信端子に印加される電圧を制限する。抵抗223は、ツェナーダイオード221と並列に、基準端子と受信端子との間に設けられる。 The receiving circuit 220 includes a Zener diode 221, a resistor 222, and a resistor 223. The anode of the Zener diode 221 is connected to the reference terminal, and the cathode of the Zener diode 221 is connected to the receiving terminal. The Zener diode 221 prevents the voltage of the receiving terminal from becoming higher than the breakdown voltage (for example, 5V) with respect to the voltage of the reference terminal. The resistor 222 is provided between the connection point 266 and the receiving terminal and limits the voltage applied to the receiving terminal. The resistor 223 is provided between the reference terminal and the receiving terminal in parallel with the Zener diode 221.

制御部230は、子機200の全体的な動作を制御する。制御部230は、送信回路210を制御して、親機100にデータを送信する。例えば、制御部230は、送信するビットデータに対応するレベルの電圧を、送信端子から出力する。また、制御部230は、受信回路220から供給された電圧信号に基づいて、親機100から送信されたデータを特定する。例えば、制御部230は、受信端子に印加された電圧のレベルに応じたビットデータをサンプリングし、サンプリングにより得られたビットデータ列から、送信されたデータを特定する。また、制御部230は、親機100による制御に従って、図示しない照明の制御を実行する。制御部230は、例えば、CPU、ROM、RAMなどを備えるマイクロコンピュータにより構成される。 The control unit 230 controls the overall operation of the slave unit 200. The control unit 230 controls the transmission circuit 210 to transmit data to the master unit 100. For example, the control unit 230 outputs a voltage at a level corresponding to the bit data to be transmitted from the transmission terminal. Further, the control unit 230 identifies the data transmitted from the master unit 100 based on the voltage signal supplied from the reception circuit 220. For example, the control unit 230 samples bit data according to the level of the voltage applied to the receiving terminal, and identifies the transmitted data from the bit data string obtained by the sampling. Further, the control unit 230 executes lighting control (not shown) according to the control by the master unit 100. The control unit 230 is composed of, for example, a microcomputer including a CPU, a ROM, a RAM, and the like.

端子対245は、端子241と端子242とを備える。端子対246は、端子243と端子244とを備える。端子対246は、通信線対23を介して、端子対345と接続される。つまり、端子243は、通信線21を介して端子341に接続され、端子244は、通信線22を介して端子342に接続される。 The terminal pair 245 includes terminals 241 and terminals 242. The terminal pair 246 includes terminals 243 and terminals 244. The terminal pair 246 is connected to the terminal pair 345 via the communication line pair 23. That is, the terminal 243 is connected to the terminal 341 via the communication line 21, and the terminal 244 is connected to the terminal 342 via the communication line 22.

整流回路250は、端子対245間に印加された正負の電源電圧を整流し、子機200の動作電源であるV2を生成する。なお、子機200の動作電源であるV2は、親機100の電源電圧であるV1と同程度の電圧であり、電源端子291から各モジュールに供給される。整流回路250は、ダイオード251と、ダイオード252と、ダイオード253と、ダイオード254と、を備える。ダイオード251のアノードとダイオード252のアノードとは、一方の出力端子(低電圧側の出力端子)に接続される。ダイオード253のカソードとダイオード254のカソードとは、他方の出力端子(高電圧側の出力端子)に接続される。ダイオード251のカソードとダイオード253のアノードとは、一方の入力端子である接続点265に接続される。ダイオード252のカソードとダイオード254のアノードとは、他方の入力端子である接続点266に接続される。 The rectifier circuit 250 rectifies the positive and negative power supply voltages applied between the terminals 245 and generates V2, which is the operating power supply of the slave unit 200. The operating power supply V2 of the slave unit 200 has a voltage similar to V1 which is the power supply voltage of the master unit 100, and is supplied to each module from the power supply terminal 291. The rectifier circuit 250 includes a diode 251, a diode 252, a diode 253, and a diode 254. The anode of the diode 251 and the anode of the diode 252 are connected to one output terminal (output terminal on the low voltage side). The cathode of the diode 253 and the cathode of the diode 254 are connected to the other output terminal (output terminal on the high voltage side). The cathode of the diode 251 and the anode of the diode 253 are connected to a connection point 265 which is one of the input terminals. The cathode of the diode 252 and the anode of the diode 254 are connected to the connection point 266, which is the other input terminal.

スイッチ261は、制御部230による制御に従って、端子対245に接続される通信線対13を子機200から切り離すためのスイッチである。スイッチ261は、端子241と接続点265との間の短絡・開放状態を制御するとともに、端子242と接続点266との間の短絡・開放状態を制御する。スイッチ261は、端子241と接続点265との間の短絡・開放状態と、端子242と接続点266との間の短絡・開放状態とを、同じ短絡・開放状態に制御する。スイッチ261は、例えば、2対の接点間を同時に制御する両切りスイッチである。 The switch 261 is a switch for disconnecting the communication line pair 13 connected to the terminal pair 245 from the slave unit 200 according to the control by the control unit 230. The switch 261 controls the short-circuit / open state between the terminal 241 and the connection point 265, and also controls the short-circuit / open state between the terminal 242 and the connection point 266. The switch 261 controls the short-circuit / open state between the terminal 241 and the connection point 265 and the short-circuit / open state between the terminal 242 and the connection point 266 to be the same short-circuit / open state. The switch 261 is, for example, a double-sided switch that simultaneously controls between two pairs of contacts.

スイッチ262は、制御部230による制御に従って、端子対246に接続される通信線対23を子機200から切り離すためのスイッチである。スイッチ262は、端子243と接続点265との間の短絡・開放状態を制御するとともに、端子244と接続点266との間の短絡・開放状態を制御する。スイッチ262は、端子243と接続点265との間の短絡・開放状態と、端子244と接続点266との間の短絡・開放状態とを、同じ短絡・開放状態に制御する。スイッチ262は、例えば、2対の接点間を同時に制御する両切りスイッチである。 The switch 262 is a switch for disconnecting the communication line pair 23 connected to the terminal pair 246 from the slave unit 200 according to the control by the control unit 230. The switch 262 controls the short-circuit / open state between the terminal 243 and the connection point 265, and also controls the short-circuit / open state between the terminal 244 and the connection point 266. The switch 262 controls the short-circuit / open state between the terminal 243 and the connection point 265 and the short-circuit / open state between the terminal 244 and the connection point 266 to be the same short-circuit / open state. The switch 262 is, for example, a double-sided switch that simultaneously controls between two pairs of contacts.

電流検出部263は、通信線対13に流れる電流を検出し、検出した電流の大きさを示す電圧信号を比較部270に供給する。本実施形態では、電流検出部263は、端子241と接続点265との間に流れる電流を検出することにより、通信線11に流れる電流を検出するものとする。ただし、電流検出部263は、端子242と接続点266との間に流れる電流を検出することにより、通信線12に流れる電流を検出してもよい。電流検出部263は、例えば、電流検出用のシャント抵抗、或いは、カレントトランスを備える。 The current detection unit 263 detects the current flowing through the communication line pair 13, and supplies a voltage signal indicating the magnitude of the detected current to the comparison unit 270. In the present embodiment, the current detection unit 263 detects the current flowing through the communication line 11 by detecting the current flowing between the terminal 241 and the connection point 265. However, the current detection unit 263 may detect the current flowing through the communication line 12 by detecting the current flowing between the terminal 242 and the connection point 266. The current detection unit 263 includes, for example, a shunt resistor for current detection or a current transformer.

電流検出部264は、通信線対23に流れる電流を検出し、検出した電流の大きさを示す電圧信号を比較部270に供給する。本実施形態では、電流検出部264は、端子243と接続点265との間に流れる電流を検出することにより、通信線21に流れる電流を検出するものとする。ただし、電流検出部264は、端子244と接続点266との間に流れる電流を検出することにより、通信線22に流れる電流を検出してもよい。電流検出部264は、例えば、電流検出用のシャント抵抗、或いは、カレントトランスを備える。 The current detection unit 264 detects the current flowing through the communication line pair 23, and supplies a voltage signal indicating the magnitude of the detected current to the comparison unit 270. In the present embodiment, the current detection unit 264 detects the current flowing through the communication line 21 by detecting the current flowing between the terminal 243 and the connection point 265. However, the current detection unit 264 may detect the current flowing through the communication line 22 by detecting the current flowing between the terminal 244 and the connection point 266. The current detection unit 264 includes, for example, a shunt resistor for current detection or a current transformer.

接続点265は、端子241と端子243とがスイッチ261とスイッチ262とを介して接続されるとき、スイッチ261とスイッチ262を結ぶ配線上の点である。接続点265は、整流回路250が備える一方の入力端子に接続される。接続点266は、端子242と端子244とがスイッチ261とスイッチ262とを介して接続されるとき、スイッチ261とスイッチ262を結ぶ配線上の点である。接続点266は、整流回路250が備える他方の入力端子に接続される。 The connection point 265 is a point on the wiring connecting the switch 261 and the switch 262 when the terminal 241 and the terminal 243 are connected via the switch 261 and the switch 262. The connection point 265 is connected to one of the input terminals included in the rectifier circuit 250. The connection point 266 is a point on the wiring connecting the switch 261 and the switch 262 when the terminal 242 and the terminal 244 are connected via the switch 261 and the switch 262. The connection point 266 is connected to the other input terminal included in the rectifier circuit 250.

なお、送信回路210は、接続点265と接続点266との間の導通・非導通状態を制御することにより、通信線対13に流れる電流を制御する。つまり、送信回路210は、通信線対13に電流を流すときに接続点265と接続点266との間を導通状態に制御し、通信線対13に電流を流さないときに接続点265と接続点266との間を非導通状態に制御する。 The transmission circuit 210 controls the current flowing through the communication line pair 13 by controlling the conduction / non-conduction state between the connection point 265 and the connection point 266. That is, the transmission circuit 210 controls the connection point 265 and the connection point 266 to be in a conductive state when a current is passed through the communication line pair 13, and is connected to the connection point 265 when no current is passed through the communication line pair 13. The connection with the point 266 is controlled to be non-conducting.

比較部270は、電流検出部263から供給された電圧信号により示される電流の大きさと予め定められた閾値とを比較し、送信回路210により流された電流が、通信線対13に流れているか否かを判別する。また、比較部270は、電流検出部264から供給された電圧信号により示される電流の大きさと予め定められた閾値とを比較し、送信回路210により流された電流が、通信線対23に流れているか否かを判別する。比較部270は、判別結果を示す電圧信号を信号出力部280に供給する。 The comparison unit 270 compares the magnitude of the current indicated by the voltage signal supplied from the current detection unit 263 with a predetermined threshold value, and whether the current flowed by the transmission circuit 210 is flowing through the communication line pair 13. Determine if not. Further, the comparison unit 270 compares the magnitude of the current indicated by the voltage signal supplied from the current detection unit 264 with a predetermined threshold value, and the current flowed by the transmission circuit 210 flows to the communication line pair 23. Determine if it is. The comparison unit 270 supplies a voltage signal indicating the discrimination result to the signal output unit 280.

また、比較部270は、電流検出部263から供給された電圧信号により示される電流の大きさと電流検出部264から供給された電圧信号により示される電流の大きさとを比較し、通信線対13と通信線対23とのいずれにより大きな電流が流れているかを判別する。比較部270は、判別結果を示す電圧信号を信号出力部280に供給する。比較部270は、例えば、コンパレータ、A/D(Analog/Digital)変換器、マイクロコンピュータなどにより構成される。 Further, the comparison unit 270 compares the magnitude of the current indicated by the voltage signal supplied from the current detection unit 263 with the magnitude of the current indicated by the voltage signal supplied from the current detection unit 264, and compares the communication line pair 13 with the magnitude of the current indicated by the voltage signal supplied from the current detection unit 264. It is determined which of the communication lines vs. 23 the larger current is flowing. The comparison unit 270 supplies a voltage signal indicating the discrimination result to the signal output unit 280. The comparison unit 270 is composed of, for example, a comparator, an A / D (Analog / Digital) converter, a microcomputer, and the like.

信号出力部280は、比較部270から供給された電圧信号に基づいて、誤配線があるか否かを判別する。信号出力部280は、誤配線があると判別した場合、誤配線を検出したことを示す信号(以下「誤配線検出信号」という。)を制御部230に供給する。なお、誤配線検出信号には、通信線対13と通信線対23とのいずれにより大きな電流が流れているかを示す情報が含まれていてもよい。また、信号出力部280は、制御部230から供給される電圧信号に基づいて、送信回路210が電流を流しているか否かを判別することができる。信号出力部280は、例えば、CPU、ROM、RAMなどを備えるマイクロコンピュータにより構成される。 The signal output unit 280 determines whether or not there is erroneous wiring based on the voltage signal supplied from the comparison unit 270. When the signal output unit 280 determines that there is an erroneous wiring, the signal output unit 280 supplies a signal indicating that the erroneous wiring has been detected (hereinafter referred to as "miswiring detection signal") to the control unit 230. The miswiring detection signal may include information indicating which of the communication line pair 13 and the communication line pair 23 is flowing a larger current. Further, the signal output unit 280 can determine whether or not the transmission circuit 210 is passing a current based on the voltage signal supplied from the control unit 230. The signal output unit 280 is composed of, for example, a microcomputer including a CPU, a ROM, a RAM, and the like.

電源端子291は、整流回路250により生成された子機200の動作電源であるV2を、各モジュールに供給するための電源端子である。なお、図2における子機300に関しては、説明を省略する。 The power supply terminal 291 is a power supply terminal for supplying V2, which is an operating power supply of the slave unit 200 generated by the rectifier circuit 250, to each module. The description of the slave unit 300 in FIG. 2 will be omitted.

次に、図3に示すフローチャートを参照して、子機200が実行する通信制御処理について説明する。子機200は、例えば、親機100に接続され、電源が投入されると、通信制御処理を開始する。ここで、子機200が備えるスイッチ261及びスイッチ262は、電源投入時に、導通状態であるものとする。なお、子機300、400、500が実行する通信制御処理は、基本的に、子機200が実行する通信制御処理と同様であるため、説明を省略又は簡略化する。また、本実施形態では、基本的に、親機100は、誤配線の検出に関する処理を実行しないため、親機100の処理に関しては、説明を省略又は簡略化する。 Next, the communication control process executed by the slave unit 200 will be described with reference to the flowchart shown in FIG. The slave unit 200 is connected to the master unit 100, for example, and when the power is turned on, the communication control process is started. Here, it is assumed that the switch 261 and the switch 262 included in the slave unit 200 are in a conductive state when the power is turned on. Since the communication control processing executed by the slave units 300, 400, and 500 is basically the same as the communication control processing executed by the slave unit 200, the description thereof will be omitted or simplified. Further, in the present embodiment, since the master unit 100 basically does not execute the process related to the detection of erroneous wiring, the description of the process of the master unit 100 will be omitted or simplified.

まず、制御部230は、受信端子のレベルを監視する(ステップS101)。つまり、制御部230は、受信回路220から受信端子に印加された電圧のレベルをサンプリングする。制御部230は、ステップS101の処理を完了すると、親機100からデータを受信したか否かを判別する(ステップS102)。例えば、制御部230は、サンプリングされた電圧のレベルに基づいてビット列を生成し、1フレーム分のデータを受信したか否かを判別する。制御部230は、親機100からデータを受信していないと判別すると(ステップS102:NO)、ステップS101に処理を戻す。 First, the control unit 230 monitors the level of the receiving terminal (step S101). That is, the control unit 230 samples the level of the voltage applied from the receiving circuit 220 to the receiving terminal. When the process of step S101 is completed, the control unit 230 determines whether or not data has been received from the master unit 100 (step S102). For example, the control unit 230 generates a bit string based on the sampled voltage level, and determines whether or not one frame of data has been received. When the control unit 230 determines that the data has not been received from the master unit 100 (step S102: NO), the control unit 230 returns the process to step S101.

一方、制御部230は、親機100からデータを受信したと判別すると(ステップS102:YES)、受信したデータに応じた処理を実行する(ステップS103)。例えば、制御部230は、照明の点灯を指示するデータを受信した場合、照明を点灯させる。制御部230は、ステップS103の処理を完了すると、送信するデータのビット列を生成する(ステップS104)。なお、送信するデータは、親機100に返信するデータである。 On the other hand, when the control unit 230 determines that the data has been received from the master unit 100 (step S102: YES), the control unit 230 executes the process according to the received data (step S103). For example, when the control unit 230 receives data instructing the lighting to be turned on, the control unit 230 turns on the lighting. When the control unit 230 completes the process of step S103, the control unit 230 generates a bit string of data to be transmitted (step S104). The data to be transmitted is data to be returned to the master unit 100.

制御部230は、ステップS104の処理を完了すると、生成したビット列の中から送信するビットを選択する(ステップS105)。なお、生成したビット列の先頭から順にビットが選択される。制御部230は、ステップS105の処理を完了すると、送信端子を、選択したビットに応じたレベルに設定する(ステップS106)。例えば、選択されたビットが1である場合、送信端子がHレベル(例えば、5V)に設定され、選択されたビットが0である場合、送信端子がLレベル(例えば、0V)に設定される。 When the process of step S104 is completed, the control unit 230 selects a bit to be transmitted from the generated bit string (step S105). The bits are selected in order from the beginning of the generated bit string. When the control unit 230 completes the process of step S105, the control unit 230 sets the transmission terminal to a level corresponding to the selected bit (step S106). For example, if the selected bit is 1, the transmit terminal is set to H level (eg, 5V), and if the selected bit is 0, the transmit terminal is set to L level (eg, 0V). ..

制御部230は、ステップS106の処理を完了すると、送信端子のレベルがHレベルであるか否かを判別する(ステップS107)。なお、送信端子のレベルがHレベルであることは、送信回路210により、接続点265と接続点266との間が導通状態に制御され、電流が流されることを意味する。制御部230は、送信端子のレベルがHレベルであると判別すると(ステップS107:YES)、誤配線検出処理を実行する(ステップS108)。誤配線検出処理に関しては、図4に示すフローチャートを参照して、詳細に説明する。 When the process of step S106 is completed, the control unit 230 determines whether or not the level of the transmission terminal is the H level (step S107). The fact that the level of the transmission terminal is H level means that the transmission circuit 210 controls the connection point 265 and the connection point 266 to be in a conductive state, and a current flows. When the control unit 230 determines that the level of the transmission terminal is the H level (step S107: YES), the control unit 230 executes the erroneous wiring detection process (step S108). The miswiring detection process will be described in detail with reference to the flowchart shown in FIG.

まず、電流検出部263が、第1の電流を検出する(ステップS201)。第1の電流は、例えば、通信線11に流れる電流である。次に、電流検出部264が、第2の電流を検出する(ステップS202)。第2の電流は、例えば、通信線21に流れる電流である。ここで、比較部270は、第1の電流と第2の電流とが閾値以上であるか否かを判別する(ステップS203)。比較部270が、第1の電流又は第2の電流が閾値以上でないと判別すると(ステップS203:NO)、制御部230は、誤配線検出処理を終了する。 First, the current detection unit 263 detects the first current (step S201). The first current is, for example, the current flowing through the communication line 11. Next, the current detection unit 264 detects the second current (step S202). The second current is, for example, the current flowing through the communication line 21. Here, the comparison unit 270 determines whether or not the first current and the second current are equal to or greater than the threshold value (step S203). When the comparison unit 270 determines that the first current or the second current is not equal to or greater than the threshold value (step S203: NO), the control unit 230 ends the erroneous wiring detection process.

比較部270が、第1の電流と第2の電流とが閾値以上であると判別すると(ステップS203:YES)、信号出力部280が制御部230に誤配線検出信号を出力する(ステップS204)。なお、誤配線検出信号には、第1の電流の大きさ、第2の電流の大きさ、第1の電流と第2の電流とが閾値以上であるか否か、第1の電流と第2の電流との大小関係などを示す情報が含まれていてもよい。信号出力部280が、ステップS204の処理を完了すると、制御部230が、第1の電流が第2の電流以下であるか否かを判別する(ステップS205)。 When the comparison unit 270 determines that the first current and the second current are equal to or higher than the threshold value (step S203: YES), the signal output unit 280 outputs an erroneous wiring detection signal to the control unit 230 (step S204). .. The miswiring detection signal includes the magnitude of the first current, the magnitude of the second current, whether or not the first current and the second current are equal to or greater than the threshold value, and the first current and the first. Information indicating the magnitude relationship with the current of 2 may be included. When the signal output unit 280 completes the process of step S204, the control unit 230 determines whether or not the first current is equal to or less than the second current (step S205).

制御部230は、第1の電流が第2の電流以下であると判別すると(ステップS205:YES)、第1のスイッチを開放状態に制御する(ステップS206)。なお、第1のスイッチは、スイッチ261である。一方、制御部230は、第1の電流が第2の電流以下でないと判別すると(ステップS205:NO)、第2のスイッチを開放状態に制御する(ステップS207)。なお、第2のスイッチは、スイッチ262である。 When the control unit 230 determines that the first current is equal to or less than the second current (step S205: YES), the control unit 230 controls the first switch to the open state (step S206). The first switch is switch 261. On the other hand, when the control unit 230 determines that the first current is not equal to or less than the second current (step S205: NO), the control unit 230 controls the second switch to the open state (step S207). The second switch is a switch 262.

例えば、図1に示すように、端子対346と端子対546とが通信線対53により接続され、誤配線が生じているものとする。この場合、ステップS203では、第1の電流と第2の電流とが閾値以上であると判別される。ここで、第1の電流が流れる経路の長さは、通信線対13の長さの30mとなる。一方、第2の電流が流れる経路の長さは、通信線対23の長さの20mと、通信線対53の長さの20mと、通信線対43の長さの50mと、通信線対33の長さの50mと、の合計である140mである。従って、ステップS205では、第1の電流が第2の電流以下でないと判別され、ステップS207において第2のスイッチであるスイッチ262が開放状態に制御される。このため、通信線対23が子機200から切り離され、ループ配線がなくなる。制御部230は、ステップS206又はステップS207の処理を完了すると、誤配線検出処理を終了する。 For example, as shown in FIG. 1, it is assumed that the terminal pair 346 and the terminal pair 546 are connected by the communication line pair 53, causing erroneous wiring. In this case, in step S203, it is determined that the first current and the second current are equal to or greater than the threshold value. Here, the length of the path through which the first current flows is 30 m, which is the length of the communication line pair 13. On the other hand, the length of the path through which the second current flows is 20 m in the length of the communication line pair 23, 20 m in the length of the communication line pair 53, 50 m in the length of the communication line pair 43, and the communication line pair. It is 140 m, which is the total of 33 lengths of 50 m. Therefore, in step S205, it is determined that the first current is not equal to or less than the second current, and in step S207, the switch 262, which is the second switch, is controlled to be in the open state. Therefore, the communication line pair 23 is separated from the slave unit 200, and the loop wiring is eliminated. When the control unit 230 completes the process of step S206 or step S207, the control unit 230 ends the erroneous wiring detection process.

制御部230は、ステップS108の処理を完了すると、1ビット分の時間ウェイトする(ステップS109)。制御部230は、ステップS109の処理を完了すると、全ビットが選択済みであるか否かを判別する(ステップS110)。制御部230は、全ビットが選択済みであると判別すると(ステップS110:YES)、データの送信を完了したものと見做し、ステップS101に処理を戻す。一方、制御部230は、いずれかのビットが選択済みでないと判別すると(ステップS110:NO)、ステップS105に処理を戻し、次のビットを選択する。 When the control unit 230 completes the process of step S108, it waits for one bit of time (step S109). When the process of step S109 is completed, the control unit 230 determines whether or not all the bits have been selected (step S110). When the control unit 230 determines that all the bits have been selected (step S110: YES), it considers that the data transmission has been completed, and returns the process to step S101. On the other hand, when the control unit 230 determines that any of the bits has not been selected (step S110: NO), the control unit 230 returns the process to step S105 and selects the next bit.

本実施形態では、接続点265と接続点266との間が導通状態に制御されているときに、通信線対13に流れる第1の電流の大きさと、通信線対23に流れる第2の電流の大きさと、が予め定められた閾値以上である場合、誤配線検出信号が出力される。従って、本発明によれば、親機100と子機200とを結ぶ経路を複数生じさせる誤配線を検出することができる。 In the present embodiment, when the connection point 265 and the connection point 266 are controlled to be in a conductive state, the magnitude of the first current flowing through the communication line pair 13 and the second current flowing through the communication line pair 23 When the magnitude of is equal to or greater than a predetermined threshold value, an erroneous wiring detection signal is output. Therefore, according to the present invention, it is possible to detect erroneous wiring that causes a plurality of routes connecting the master unit 100 and the slave unit 200.

また、本実施形態では、誤配線検出信号が出力された場合、第1のスイッチと第2のスイッチとのうち一方のスイッチが開放状態に制御される。従って、本実施形態によれば、親機100と子機200とを結ぶ経路を1つにすることができる。また、本実施形態では、誤配線検出信号が出力された場合、短い方の経路が子機200から切り離されず、長い方の経路が子機200から切り離される。従って、本実施形態によれば、経路の切り離しにより通信異常が発生する可能性が低くなることが期待できる。 Further, in the present embodiment, when the erroneous wiring detection signal is output, one of the first switch and the second switch is controlled to be in the open state. Therefore, according to the present embodiment, it is possible to make one route connecting the master unit 100 and the slave unit 200. Further, in the present embodiment, when the erroneous wiring detection signal is output, the shorter route is not separated from the slave unit 200, and the longer route is separated from the slave unit 200. Therefore, according to the present embodiment, it can be expected that the possibility that a communication abnormality will occur due to the disconnection of the route is reduced.

(実施形態2)
実施形態1では、親機100と子機200とを結ぶ経路を複数生じさせる誤配線が検出された場合、子機200により長い方の経路を切り離されて、処理が完了する例について説明した。しかしながら、子機200に対する誤配線ではなく、他の子機に対する誤配線により、親機100と子機200とを結ぶ経路が複数生じた場合、この手法では好ましくない場合がある。
(Embodiment 2)
In the first embodiment, when an erroneous wiring that causes a plurality of routes connecting the master unit 100 and the slave unit 200 is detected, the longer route is cut off by the slave unit 200 to complete the process. However, this method may not be preferable when a plurality of routes connecting the master unit 100 and the slave unit 200 are generated due to erroneous wiring to another slave unit instead of erroneous wiring to the slave unit 200.

例えば、実施形態1では、通信線対53の誤配線により、子機200から通信線対23が切り離されるが、子機300或いは子機500から通信線対53が切り離される方が望ましい。実際、子機200から通信線対23が切り離されると、子機300から親機100までの経路の長さが、通信線対53の長さの20mと、通信線対43の長さの50mと、通信線対33の長さの50mと、の合計である120mとなり、子機300と親機100とが通信できなくなる可能性がある。 For example, in the first embodiment, the communication line pair 23 is separated from the slave unit 200 due to the incorrect wiring of the communication line pair 53, but it is desirable that the communication line pair 53 is separated from the slave unit 300 or the slave unit 500. In fact, when the communication line pair 23 is separated from the slave unit 200, the length of the route from the slave unit 300 to the master unit 100 is 20 m, which is the length of the communication line pair 53, and 50 m, which is the length of the communication line pair 43. The total length of the communication line pair 33 is 50 m, which is 120 m, and there is a possibility that the slave unit 300 and the master unit 100 cannot communicate with each other.

そこで、本実施形態では、子機200により誤配線が検出された場合、子機200から親機100に誤配線が検出された旨が通知され、親機100による制御に従って、適切な通信線対が切り離される手法について説明する。なお、本実施形態に係る通信システム1000の構成は、基本的に、実施形態1に係る通信システム1000の構成と同様である。従って、本実施形態では、通信システム1000の構成の説明を省略し、主に、通信システム1000の処理について説明する。 Therefore, in the present embodiment, when erroneous wiring is detected by the slave unit 200, the slave unit 200 notifies the master unit 100 that the erroneous wiring has been detected, and an appropriate communication line pair is controlled according to the control by the master unit 100. The method of separating is described. The configuration of the communication system 1000 according to the present embodiment is basically the same as the configuration of the communication system 1000 according to the first embodiment. Therefore, in the present embodiment, the description of the configuration of the communication system 1000 will be omitted, and the processing of the communication system 1000 will be mainly described.

まず、図5のフローチャートを参照して、子機200が実行する誤配線検出処理について説明する。図5に示す誤配線検出処理は、図4に示す誤配線検出処理に代えて実行される処理である。なお、本実施形態に係る子機200が実行する通信制御処理は、基本的に、図3に示す通信制御処理と同様であるため説明を省略する。 First, the erroneous wiring detection process executed by the slave unit 200 will be described with reference to the flowchart of FIG. The erroneous wiring detection process shown in FIG. 5 is a process executed in place of the erroneous wiring detection process shown in FIG. The communication control process executed by the slave unit 200 according to the present embodiment is basically the same as the communication control process shown in FIG. 3, and thus the description thereof will be omitted.

まず、制御部230は、スタートビットを送信中であるか否かを判別する(ステップS301)。制御部230は、スタートビットを送信中でないと判別すると(ステップS301:NO)、誤配線検出処理を終了する。このように、本実施形態では、子機200は、送信端子のレベルがHレベルであるとき(1に対応するビットを送信中であるとき)であっても、スタートビットを送信中でないときは、誤配線検出処理を実行しない。 First, the control unit 230 determines whether or not the start bit is being transmitted (step S301). When the control unit 230 determines that the start bit is not being transmitted (step S301: NO), the control unit 230 ends the erroneous wiring detection process. As described above, in the present embodiment, the slave unit 200 is not transmitting the start bit even when the level of the transmission terminal is H level (when the bit corresponding to 1 is being transmitted). , Do not execute the miswiring detection process.

制御部230は、スタートビットを送信中であると判別すると(ステップS301:YES)、誤配線検出処理が免除中であるか否かを判別する(ステップS302)。制御部230は、誤配線検出処理が免除中であると判別すると(ステップS302:YES)、誤配線検出処理を終了する。このように、本実施形態では、子機200は、スタートビットを送信中であっても、誤配線検出処理が免除中であるときは、誤配線検出処理を実行しない。例えば、子機200が、誤配線を検出して開放状態に制御した一方のスイッチを親機100による指示に従って短絡状態に戻した後、この一方のスイッチを短絡状態に戻したことを示す制御解除完了を示すデータを親機に送信し終えるまでの間、誤配線検出処理が免除中となる。 When the control unit 230 determines that the start bit is being transmitted (step S301: YES), the control unit 230 determines whether or not the erroneous wiring detection process is being exempted (step S302). When the control unit 230 determines that the miswiring detection process is being exempted (step S302: YES), the control unit 230 ends the miswiring detection process. As described above, in the present embodiment, the slave unit 200 does not execute the erroneous wiring detection process when the erroneous wiring detection process is being exempted even while the start bit is being transmitted. For example, control release indicating that the slave unit 200 returns the one switch that has been controlled to the open state by detecting incorrect wiring to the short-circuited state according to the instruction from the master unit 100, and then returns the one switch to the short-circuited state. The erroneous wiring detection process is exempted until the completion data is transmitted to the master unit.

制御部230が、誤配線検出処理が免除中でないと判別すると(ステップS302:NO)、電流検出部263が、第1の電流を検出し(ステップS303)、電流検出部264が、第2の電流を検出する(ステップS304)。そして、比較部270は、第1の電流と第2の電流とが閾値以上であるか否かを判別する(ステップS305)。比較部270が、第1の電流又は第2の電流が閾値以上でないと判別すると(ステップS305:NO)、制御部230は、誤配線検出処理を終了する。 When the control unit 230 determines that the erroneous wiring detection process is not exempted (step S302: NO), the current detection unit 263 detects the first current (step S303), and the current detection unit 264 determines that the second current is not being exempted. The current is detected (step S304). Then, the comparison unit 270 determines whether or not the first current and the second current are equal to or greater than the threshold value (step S305). When the comparison unit 270 determines that the first current or the second current is not equal to or greater than the threshold value (step S305: NO), the control unit 230 ends the erroneous wiring detection process.

比較部270が、第1の電流と第2の電流とが閾値以上であると判別すると(ステップS305:YES)、信号出力部280が制御部230に誤配線検出信号を出力する(ステップS306)。信号出力部280が、ステップS306の処理を完了すると、制御部230が、第1の電流が第2の電流以下であるか否かを判別する(ステップS307)。 When the comparison unit 270 determines that the first current and the second current are equal to or higher than the threshold value (step S305: YES), the signal output unit 280 outputs an erroneous wiring detection signal to the control unit 230 (step S306). .. When the signal output unit 280 completes the process of step S306, the control unit 230 determines whether or not the first current is equal to or less than the second current (step S307).

制御部230は、第1の電流が第2の電流以下であると判別すると(ステップS307:YES)、第1のスイッチを開放状態に制御する(ステップS308)。一方、制御部230は、第1の電流が第2の電流以下でないと判別すると(ステップS307:NO)、第2のスイッチを開放状態に制御する(ステップS309)。 When the control unit 230 determines that the first current is equal to or less than the second current (step S307: YES), the control unit 230 controls the first switch to be in the open state (step S308). On the other hand, when the control unit 230 determines that the first current is not equal to or less than the second current (step S307: NO), the control unit 230 controls the second switch to the open state (step S309).

制御部230は、ステップS308又はステップS309の処理を完了すると、制御完了を示すデータを親機100に送信する(ステップS310)。制御完了を示すデータは、子機200が、誤配線の検出に応答して一方のスイッチを開放状態にしたことを、親機100に通知するためのデータである。なお、子機100は、スタートビットの送信中に誤配線検出処理を実行するため、スタートビット以後のビット列を、制御完了を示すデータを構成するビット列に書き換えることにより、速やかに制御完了を示すデータを送信することができる。制御部230は、ステップS310の処理を完了すると、誤配線検出処理を終了する。 When the control unit 230 completes the process of step S308 or step S309, the control unit 230 transmits data indicating the completion of control to the master unit 100 (step S310). The data indicating the completion of control is data for notifying the master unit 100 that the slave unit 200 has opened one of the switches in response to the detection of erroneous wiring. Since the slave unit 100 executes the erroneous wiring detection process during the transmission of the start bit, the data indicating the control completion is promptly performed by rewriting the bit string after the start bit with the bit string constituting the data indicating the control completion. Can be sent. When the control unit 230 completes the process of step S310, the control unit 230 ends the erroneous wiring detection process.

次に、図6に示すフローチャートを参照して、親機100が実行する通信制御処理について説明する。この通信制御処理は、複数の子機のうちいずれかの子機により誤配線が検出された場合に、適切な子機により適切な通信線対が切り離されるようにするための処理である。親機100は、電源が投入されると、図6に示す通信制御処理の実行を開始する。 Next, the communication control process executed by the master unit 100 will be described with reference to the flowchart shown in FIG. This communication control process is a process for disconnecting an appropriate communication line pair by an appropriate slave unit when an erroneous wiring is detected by any of the plurality of slave units. When the power is turned on, the master unit 100 starts executing the communication control process shown in FIG.

まず、制御部130は、受信端子のレベルを監視する(ステップS401)。つまり、制御部130は、受信回路120から受信端子に印加された電圧のレベルをサンプリングする。制御部130は、ステップS401の処理を完了すると、制御完了を示すデータを第1の子機から受信したか否かを判別する(ステップS402)。例えば、制御部130は、サンプリングされた電圧のレベルに基づいてビット列を生成して、1フレーム分のデータを生成し、生成された1フレーム分のデータが制御完了を示すデータであるか否かを判別する。なお、第1の子機は、制御完了を示すデータを送信した子機であり、誤配線を検出した子機である。本実施形態では、第1の子機は、子機200であるものとする。制御部130は、制御完了を示すデータを第1の子機から受信していないと判別すると(ステップS402:NO)、ステップS401に処理を戻す。 First, the control unit 130 monitors the level of the receiving terminal (step S401). That is, the control unit 130 samples the level of the voltage applied from the receiving circuit 120 to the receiving terminal. When the process of step S401 is completed, the control unit 130 determines whether or not data indicating the completion of control has been received from the first slave unit (step S402). For example, the control unit 130 generates a bit string based on the sampled voltage level to generate data for one frame, and whether or not the generated data for one frame is data indicating control completion. To determine. The first slave unit is a slave unit that has transmitted data indicating the completion of control, and is a slave unit that has detected erroneous wiring. In the present embodiment, it is assumed that the first slave unit is the slave unit 200. When the control unit 130 determines that the data indicating the completion of control has not been received from the first slave unit (step S402: NO), the control unit 130 returns the process to step S401.

一方、制御部130は、制御完了を示すデータを第1の子機から受信したと判別すると(ステップS402:YES)、応答を要求するデータを全ての子機に送信する(ステップS403)。応答を要求するデータは、親機100と注目する子機とが通信可能であるか否かを判別するために、応答を示すデータを親機100に向けて送信することを注目する子機に要求するデータである。応答を示すデータは、応答を要求するデータを親機100から受信した子機が、親機100に返信するデータである。 On the other hand, when the control unit 130 determines that the data indicating the completion of control has been received from the first slave unit (step S402: YES), the control unit 130 transmits the data requesting a response to all the slave units (step S403). The data requesting a response is sent to the slave unit that pays attention to transmit the data indicating the response to the master unit 100 in order to determine whether or not the master unit 100 and the slave unit of interest can communicate with each other. The requested data. The data indicating the response is data that the slave unit that has received the data requesting the response from the master unit 100 returns to the master unit 100.

本実施形態では、親機100から注目する子機にデータを送信した場合、注目する子機は何らかのデータを親機100に送信するポーリング方式が採用されている。従って、応答を要求するデータの内容は何でもよく、また、応答を示すデータの内容は何でもよい。制御部130は、子機200、子機300、子機400、子機500のそれぞれに対して、順に、応答を要求するデータを送信する。なお、制御部130は、第1の子機に対しては、応答を要求するデータを送信しなくてもよい。また、制御部130は、送信回路110を制御することにより、応答を要求するデータを送信することができる。 In the present embodiment, when data is transmitted from the master unit 100 to the slave unit of interest, the slave unit of interest employs a polling method of transmitting some data to the master unit 100. Therefore, the content of the data requesting the response may be anything, and the content of the data indicating the response may be anything. The control unit 130 transmits data requesting a response to each of the slave unit 200, the slave unit 300, the slave unit 400, and the slave unit 500 in order. The control unit 130 does not have to transmit the data requesting a response to the first slave unit. Further, the control unit 130 can transmit data requesting a response by controlling the transmission circuit 110.

一方、応答を要求するデータを親機100から受信した子機は、ステップS104において、応答を示すデータを構成するビット列を決定し、ステップS105からステップS110の処理において、応答を示すデータを親機100に送信する。 On the other hand, the slave unit that has received the data requesting the response from the master unit 100 determines the bit string that constitutes the data indicating the response in step S104, and in the processing of steps S105 to S110, the slave unit that indicates the response is used as the master unit. Send to 100.

制御部130は、ステップS403の処理を完了すると、全ての子機から応答を示すデータを受信したか否かを判別する(ステップS404)。全ての子機から応答を示すデータが受信されることは、第1の子機によるスイッチ制御後の配線状態において、親機100と全ての子機とが正常に通信可能であることを意味する。一方、いずれかの子機から応答を示すデータが受信されないことは、第1の子機によるスイッチ制御後の配線状態において、親機100といずれかの子機とが正常に通信可能でないことを意味する。 When the process of step S403 is completed, the control unit 130 determines whether or not the data indicating the response has been received from all the slave units (step S404). Receiving response data from all slave units means that the master unit 100 and all slave units can communicate normally in the wiring state after switch control by the first slave unit. .. On the other hand, the fact that the data indicating the response is not received from any of the slave units means that the master unit 100 and any of the slave units cannot normally communicate with each other in the wiring state after the switch control by the first slave unit.

制御部130は、全ての子機から応答を示すデータを受信したと判別すると(ステップS404:YES)、ステップS401に処理を戻す。一方、制御部130は、いずれかの子機から応答を示すデータを受信しないと判別すると(ステップS404:NO)、制御解除を要求するデータを第1の子機に送信する(ステップS405)。 When the control unit 130 determines that the data indicating the response has been received from all the slave units (step S404: YES), the control unit 130 returns the process to step S401. On the other hand, when the control unit 130 determines that the data indicating the response is not received from any of the slave units (step S404: NO), the control unit 130 transmits the data requesting the release of control to the first slave unit (step S405).

一方、制御解除を要求するデータを親機100から受信した第1の子機は、ステップS103において、開放状態に制御した一方のスイッチを短絡状態に制御する。そして、第1の子機は、ステップS104において、制御解除完了を示すデータを構成するビット列を決定し、ステップS105からステップS110の処理において、応答を示すデータを親機100に送信する。この場合、第1の子機は、ステップS302において、誤配線検出が免除中であると判別し、誤配線検出処理を実行しない。 On the other hand, the first slave unit that has received the data requesting the release of control from the master unit 100 controls one of the switches controlled in the open state to the short-circuited state in step S103. Then, the first slave unit determines the bit string constituting the data indicating the completion of control release in step S104, and transmits the data indicating the response to the master unit 100 in the processing of steps S105 to S110. In this case, the first slave unit determines in step S302 that the miswiring detection is being exempted, and does not execute the miswiring detection process.

制御部130は、ステップS405の処理を完了すると、制御解除完了を示すデータを第1の子機から受信する(ステップS406)。制御部130は、ステップS406の処理を完了すると、応答を要求するデータを第2の子機に送信する(ステップS407)。第2の子機は、ステップS404の判別処理において、応答を示すデータが受信されなかった子機である。ステップS407において送信される応答を要求するデータとステップS403において送信される応答を要求するデータとは、同様のデータでもよいし、異なるデータでもよい。制御部130は、ステップS407の処理を完了すると、ステップS401に処理を戻す。 When the process of step S405 is completed, the control unit 130 receives data indicating the completion of control release from the first slave unit (step S406). When the control unit 130 completes the process of step S406, the control unit 130 transmits data requesting a response to the second slave unit (step S407). The second slave unit is a slave unit for which data indicating a response was not received in the determination process in step S404. The data requesting the response transmitted in step S407 and the data requesting the response transmitted in step S403 may be similar data or different data. When the control unit 130 completes the process of step S407, the control unit 130 returns the process to step S401.

一方、応答を要求するデータを親機100から受信した第2の子機は、ステップS104において、応答を示すデータを構成するビット列を決定し、ステップS105からステップS110の処理において、応答を示すデータを親機100に送信する。第2の子機は、応答を示すデータを親機100に送信するときに実行される誤配線検出処理において、誤配線を検出する。そして、第2の子機は、ステップS308又はステップS309において、一方のスイッチを開放状態に制御し、ステップS310において、制御完了を示すデータを親機100に送信する。 On the other hand, the second slave unit that has received the data requesting the response from the master unit 100 determines the bit string constituting the data indicating the response in step S104, and the data indicating the response in the processing of steps S105 to S110. Is transmitted to the master unit 100. The second slave unit detects erroneous wiring in the erroneous wiring detection process executed when the data indicating the response is transmitted to the master unit 100. Then, in step S308 or step S309, the second slave unit controls one switch to the open state, and in step S310, transmits data indicating the completion of control to the master unit 100.

そして、親機100は、第2の子機から制御完了を示すデータを受信した場合、第2の子機を第1の子機とみなし、図6に示す通信制御処理を実行する。以後、ステップS404により、全ての子機から応答を示すデータが受信されたと判別されるまで、図3に示す通信制御処理と図5に示す誤配線検出処理と図6に示す通信制御処理とが繰り返し実行される。 Then, when the master unit 100 receives the data indicating the completion of control from the second slave unit, the master unit 100 considers the second slave unit as the first slave unit and executes the communication control process shown in FIG. After that, until it is determined in step S404 that data indicating a response has been received from all the slave units, the communication control process shown in FIG. 3, the erroneous wiring detection process shown in FIG. 5, and the communication control process shown in FIG. 6 are performed. It is executed repeatedly.

例えば、図1に示す通信システム1000において、最初に、子機200により誤配線が検出されたものとする。この場合、端子対245から端子対145までの経路よりも、端子対246から端子対345までの経路の方が長い。従って、端子対246に接続されたスイッチ262が開放状態に制御される。すると、子機300から親機100までの経路は、端子対346から端子対146までの経路だけになるが、この経路の長さは、20m+50m+50m=120mとなり100mを超える。このため、子機300は親機100と通信することができなくなる。すると、親機100は、制御解除を要求するデータを子機200に送信し、子機200にスイッチ262を短絡状態に制御させ、子機300に応答を要求するデータを送信する。 For example, in the communication system 1000 shown in FIG. 1, it is assumed that erroneous wiring is first detected by the slave unit 200. In this case, the route from terminal pair 246 to terminal pair 345 is longer than the route from terminal pair 245 to terminal pair 145. Therefore, the switch 262 connected to the terminal pair 246 is controlled in the open state. Then, the route from the slave unit 300 to the master unit 100 is only the route from the terminal pair 346 to the terminal pair 146, but the length of this route is 20 m + 50 m + 50 m = 120 m, which exceeds 100 m. Therefore, the slave unit 300 cannot communicate with the master unit 100. Then, the master unit 100 transmits the data requesting the release of control to the slave unit 200, causes the slave unit 200 to control the switch 262 in the short-circuited state, and transmits the data requesting the response to the slave unit 300.

一方、子機300は、応答を要求するデータを受信したことに応答して応答を示すデータを親機100に送信する過程において、誤配線検出処理を実行する。この場合、端子対345から端子対145までの経路よりも、端子対346から端子対146までの経路の方が長い。従って、端子対346に接続されたスイッチが開放状態に制御される。この場合、親機100からどの子機までの経路の長さも100m以下になる。従って、子機300が通信線対53を切り離した状態が維持され、親機100と全ての子機との通信が可能な状態となる。 On the other hand, the slave unit 300 executes an erroneous wiring detection process in the process of transmitting the data indicating the response to the master unit 100 in response to receiving the data requesting the response. In this case, the route from terminal pair 346 to terminal pair 146 is longer than the route from terminal pair 345 to terminal pair 145. Therefore, the switch connected to the terminal pair 346 is controlled in the open state. In this case, the length of the route from the master unit 100 to any slave unit is 100 m or less. Therefore, the state in which the slave unit 300 is disconnected from the communication line pair 53 is maintained, and the master unit 100 and all the slave units can communicate with each other.

本実施形態では、いずれかの子機により誤配線が検出された場合、誤配線の原因である可能性が高い通信線対が切り離される。従って、本実施形態によれば、誤配線による影響を自動的に適切に排除することが期待できる。 In the present embodiment, when erroneous wiring is detected by any of the slave units, the communication line pair that is likely to be the cause of erroneous wiring is disconnected. Therefore, according to the present embodiment, it can be expected that the influence of incorrect wiring is automatically and appropriately eliminated.

(実施形態3)
実施形態1及び実施形態2では、親機100と複数の子機とが備える端子対が2つである例について説明した。本発明において、親機100といずれかの子機200とを結ぶ経路が複数発生する可能性がある構成であれば、親機100や複数の子機が備える端子対の個数は、この例に限定されない。例えば、親機100や複数の子機が備える端子対の個数は、1個であってもよいし、3個以上であってもよい。以下、親機100が1つの端子対を備え、子機200が3つの端子対を備え、子機300、子機400、子機500が2つの端子対を備える例について説明する。
(Embodiment 3)
In the first embodiment and the second embodiment, an example in which the master unit 100 and the plurality of slave units have two terminal pairs has been described. In the present invention, the number of terminal pairs included in the master unit 100 and the plurality of slave units is not limited to this example as long as there is a possibility that a plurality of routes connecting the master unit 100 and any of the slave units 200 may occur. .. For example, the number of terminal pairs included in the master unit 100 and the plurality of slave units may be one or three or more. Hereinafter, an example will be described in which the master unit 100 has one terminal pair, the slave unit 200 has three terminal pairs, and the slave unit 300, the slave unit 400, and the slave unit 500 have two terminal pairs.

図7を参照して、本実施形態に係る通信システム1100の構成について説明する。通信システム1100は、親機101と、子機201と、子機300と、子機400と、子機500と、を備える。親機101が備える端子対145は、通信線対13により、子機201が備える端子対245と接続される。子機201が備える端子対246は、通信線対23により、子機300が備える端子対345と接続される。子機201が備える端子対249は、通信線対33により、子機400が備える端子対445と接続される。子機400が備える端子対446は、通信線対43により、子機500が備える端子対545と接続される。ここで、子機300が備える端子対346は、通信線対53により、子機500が備える端子対546と誤接続されているものとする。 The configuration of the communication system 1100 according to the present embodiment will be described with reference to FIG. 7. The communication system 1100 includes a master unit 101, a slave unit 201, a slave unit 300, a slave unit 400, and a slave unit 500. The terminal pair 145 included in the master unit 101 is connected to the terminal pair 245 included in the slave unit 201 by the communication line pair 13. The terminal pair 246 included in the slave unit 201 is connected to the terminal pair 345 included in the slave unit 300 by the communication line pair 23. The terminal pair 249 included in the slave unit 201 is connected to the terminal pair 445 included in the slave unit 400 by the communication line pair 33. The terminal pair 446 included in the slave unit 400 is connected to the terminal pair 545 included in the slave unit 500 by the communication line pair 43. Here, it is assumed that the terminal pair 346 included in the slave unit 300 is erroneously connected to the terminal pair 546 included in the slave unit 500 by the communication line pair 53.

図8に、本実施形態に係る子機201の構成を示す。子機201は、子機200に、端子対249と、スイッチ267と、電流検出部268と、が追加された構成である。端子対249は、端子247と端子248とを備える。端子247は、通信線31と接続される。また、端子247は、スイッチ267を介して、接続点265と接続される。端子248は、通信線32と接続される。また、端子248は、スイッチ267を介して、接続点266と接続される。 FIG. 8 shows the configuration of the slave unit 201 according to the present embodiment. The slave unit 201 has a configuration in which a terminal pair 249, a switch 267, and a current detection unit 268 are added to the slave unit 200. The terminal pair 249 includes terminals 247 and terminals 248. The terminal 247 is connected to the communication line 31. Further, the terminal 247 is connected to the connection point 265 via the switch 267. Terminal 248 is connected to the communication line 32. Further, the terminal 248 is connected to the connection point 266 via the switch 267.

スイッチ267は、端子247と接続点265との間、並びに、端子248と接続点266との間、に設けられ、端子247と接続点265との間の導通・非導通状態、並びに、端子248と接続点266との間の導通・非導通状態を制御する。スイッチ267は、制御部230による制御に従って、導通・非導通状態が制御される。電流検出部268は、端子247と接続点265との間に流れる電流、つまり、通信線対33に流れる電流を検出する。電流検出部268は、検出した電流の大きさを示す電圧信号を、比較部270に供給する。 The switch 267 is provided between the terminal 247 and the connection point 265 and between the terminal 248 and the connection point 266, and is in a conductive / non-conducting state between the terminal 247 and the connection point 265, and the terminal 248. It controls the conduction / non-conduction state between the connection point 266 and the connection point 266. The switch 267 is controlled in a conductive / non-conducting state according to the control by the control unit 230. The current detection unit 268 detects the current flowing between the terminal 247 and the connection point 265, that is, the current flowing through the communication line pair 33. The current detection unit 268 supplies a voltage signal indicating the magnitude of the detected current to the comparison unit 270.

次に、通信システム1100の動作について説明する。子機201は、図5に示す誤配線検出処理において、ステップS304の処理の後に、第3の電流を検出する。第3の電流は、電流検出部268により検出される電流である。また、子機201は、ステップS305において、第1の電流と第2の電流と第3の電流とのうち2つの電流が閾値以上であるか否かを判別する。そして、子機201は、閾値以上の電流のうち、最大でない電流に対応するスイッチを開放状態に制御する。 Next, the operation of the communication system 1100 will be described. In the miswiring detection process shown in FIG. 5, the slave unit 201 detects a third current after the process of step S304. The third current is the current detected by the current detection unit 268. Further, in step S305, the slave unit 201 determines whether or not two of the first current, the second current, and the third current are equal to or greater than the threshold value. Then, the slave unit 201 controls the switch corresponding to the current that is not the maximum among the currents equal to or greater than the threshold value in the open state.

例えば、第1の電流と第2の電流と第3の電流とのいずれもが閾値以上であり、第1の電流が第2の電流と第3の電流とのいずれよりも大きい場合、第2の電流に対応するスイッチ262と第3の電流に対応するスイッチ267とを開放状態に制御する。かかる制御によれば、子機201と親機100とを結ぶ経路のうち、最短でない全ての経路が子機201から切り離され、誤配線によるループ配線が解消されることが期待できる。 For example, when all of the first current, the second current, and the third current are equal to or more than the threshold value, and the first current is larger than either of the second current and the third current, the second current. The switch 262 corresponding to the current of the above and the switch 267 corresponding to the third current are controlled in the open state. According to such control, it can be expected that all the routes connecting the slave unit 201 and the master unit 100, which are not the shortest, are separated from the slave unit 201, and the loop wiring due to erroneous wiring is eliminated.

なお、図7に示す構成では、子機201と親機100とを結ぶ経路は1つだけであり、子機201と親機100との間にループ配線は存在しない。従って、子機201が実行する誤配線検出処理では、誤配線が検出されない。しかしながら、子機300と親機100とを結ぶ経路、子機400と親機100とを結ぶ経路、子機500と親機100とを結ぶ経路には、複数の経路が存在する。従って、子機300、子機400、子機500が実行する誤配線検出処理では、誤配線が検出される。 In the configuration shown in FIG. 7, there is only one route connecting the slave unit 201 and the master unit 100, and there is no loop wiring between the slave unit 201 and the master unit 100. Therefore, the erroneous wiring detection process executed by the slave unit 201 does not detect the erroneous wiring. However, there are a plurality of routes in the route connecting the slave unit 300 and the master unit 100, the route connecting the slave unit 400 and the master unit 100, and the route connecting the slave unit 500 and the master unit 100. Therefore, in the erroneous wiring detection process executed by the slave unit 300, the slave unit 400, and the slave unit 500, erroneous wiring is detected.

例えば、子機300と子機400と子機500とのうち子機300が最も早く誤配線検出処理を実行するものとする。この場合、子機300が実行する誤配線検出処理では、端子対345から親機100までの経路1が50m+20m=70mであり、端子対346から親機100までの経路2が40m+30m+30m+20m=120mである。このため、子機300からは、通信線対53が切り離され、経路2が切り離される。この場合、親機100から全ての子機までの経路の長さがいずれも100m以下となり、処理が完了する。 For example, it is assumed that the slave unit 300 of the slave unit 300, the slave unit 400, and the slave unit 500 executes the erroneous wiring detection process earliest. In this case, in the erroneous wiring detection process executed by the slave unit 300, the route 1 from the terminal pair 345 to the master unit 100 is 50 m + 20 m = 70 m, and the route 2 from the terminal pair 346 to the master unit 100 is 40 m + 30 m + 30 m + 20 m = 120 m. .. Therefore, the communication line pair 53 is separated from the slave unit 300, and the route 2 is separated. In this case, the length of the route from the master unit 100 to all the slave units is 100 m or less, and the process is completed.

一方、例えば、子機300と子機400と子機500とのうち子機400が最も早く誤配線検出処理を実行するものとする。この場合、子機400が実行する誤配線検出処理では、端子対445から親機100までの経路1が30m+20m=50mであり、端子対446から親機100までの経路2が30m+40m+50m+20m=140mである。このため、子機400からは、通信線対43が切り離され、経路2が切り離される。この場合、子機500から親機100までの経路の長さが、40m+50m+20m=110mとなり100mを超える。従って、親機100と子機500との通信ができなくなる。 On the other hand, for example, it is assumed that the slave unit 400 of the slave unit 300, the slave unit 400, and the slave unit 500 executes the erroneous wiring detection process earliest. In this case, in the erroneous wiring detection process executed by the slave unit 400, the route 1 from the terminal pair 445 to the master unit 100 is 30 m + 20 m = 50 m, and the route 2 from the terminal pair 446 to the master unit 100 is 30 m + 40 m + 50 m + 20 m = 140 m. .. Therefore, the communication line pair 43 is separated from the slave unit 400, and the route 2 is separated. In this case, the length of the route from the slave unit 500 to the master unit 100 is 40 m + 50 m + 20 m = 110 m, which exceeds 100 m. Therefore, communication between the master unit 100 and the slave unit 500 becomes impossible.

そこで、親機100による制御により、子機400による経路2の切り離しが解除された上で、子機500による誤配線検出処理が実行される。この場合、子機500が実行する誤配線検出処理では、端子対545から親機100までの経路1が30m+30m+20m=80mであり、端子対546から親機100までの経路2が40m+50m+20m=110mである。このため、子機500からは、通信線対53が切り離され、経路2が切り離される。この場合、親機100から全ての子機までの経路の長さがいずれも100m以下となり、処理が完了する。 Therefore, under the control of the master unit 100, the disconnection of the path 2 by the slave unit 400 is released, and then the erroneous wiring detection process by the slave unit 500 is executed. In this case, in the erroneous wiring detection process executed by the slave unit 500, the route 1 from the terminal pair 545 to the master unit 100 is 30 m + 30 m + 20 m = 80 m, and the route 2 from the terminal pair 546 to the master unit 100 is 40 m + 50 m + 20 m = 110 m. .. Therefore, the communication line pair 53 is separated from the slave unit 500, and the route 2 is separated. In this case, the length of the route from the master unit 100 to all the slave units is 100 m or less, and the process is completed.

本実施形態では、いずれかの子機により誤配線が検出された場合、誤配線の原因である可能性が高い通信線対が切り離される。従って、本実施形態によれば、誤配線による影響を自動的に適切に排除することが期待できる。 In the present embodiment, when erroneous wiring is detected by any of the slave units, the communication line pair that is likely to be the cause of erroneous wiring is disconnected. Therefore, according to the present embodiment, it can be expected that the influence of incorrect wiring is automatically and appropriately eliminated.

(変形例)
以上、本発明の実施形態を説明したが、本発明を実施するにあたっては、種々の形態による変形及び応用が可能である。
(Modification example)
Although the embodiments of the present invention have been described above, various modifications and applications are possible in carrying out the present invention.

本発明において、上記実施形態において説明した構成、機能、動作のどの部分を採用するのかは任意である。また、本発明において、上述した構成、機能、動作のほか、更なる構成、機能、動作が採用されてもよい。 In the present invention, which part of the configuration, function, and operation described in the above embodiment is adopted is arbitrary. Further, in the present invention, in addition to the above-described configurations, functions, and operations, further configurations, functions, and operations may be adopted.

実施形態1では、誤配線が検出された場合、通信線対が自動的に切り離される例について説明した。本発明において、誤配線が検出された場合、他の処理が実行されてもよい。例えば、誤配線が検出された場合、誤配線を検出した子機から親機100に、誤配線を検出したことを示すデータが送信されてもよい。この場合、親機100は、例えば、誤配線が検出されたことを示す情報を、通知部150を介して、光、画像、音声によりユーザに通知することができる。また、通信線対を自動的に切り離す処理とともに、誤配線が検出された旨をユーザに通知する処理が実行されてもよい。 In the first embodiment, an example in which the communication line pair is automatically disconnected when an erroneous wiring is detected has been described. In the present invention, when erroneous wiring is detected, other processing may be executed. For example, when erroneous wiring is detected, data indicating that erroneous wiring has been detected may be transmitted from the slave unit that detected the erroneous wiring to the master unit 100. In this case, the master unit 100 can, for example, notify the user of information indicating that erroneous wiring has been detected by light, image, or voice via the notification unit 150. In addition to the process of automatically disconnecting the communication line pair, a process of notifying the user that an erroneous wiring has been detected may be executed.

実施形態1では、スイッチ261が、1つの両切りスイッチである例について説明した。本発明において、スイッチ261は、端子241と接続点265との間に配置されたスイッチと、端子242と接続点266との間に配置されたスイッチと、の2つのスイッチ群により構成されてもよい。この場合、2つのスイッチ群の導通・非導通状態は、同時に制御される。スイッチ262も、両切りスイッチではなく、2つのスイッチ群により構成されてもよい。 In the first embodiment, an example in which the switch 261 is one double-sided switch has been described. In the present invention, the switch 261 may be composed of two switch groups, a switch arranged between the terminal 241 and the connection point 265 and a switch arranged between the terminal 242 and the connection point 266. Good. In this case, the conduction / non-conduction state of the two switch groups is controlled at the same time. The switch 262 may also be composed of two switch groups instead of a double-sided switch.

実施形態1では、通信システム1000が照明システムであり、親機100が照明制御機器であり、子機200と子機300と子機400と子機500とが照明機器である例について説明した。本発明において、通信システムは、他のシステムであってもよいことは勿論である。例えば、通信システム1000が空調システムであり、親機100が室外機であり、子機200と子機300と子機400と子機500とが室内機であってもよい。また、複数の子機の個数は、4個に限定されないことは勿論である。 In the first embodiment, an example has been described in which the communication system 1000 is a lighting system, the master unit 100 is a lighting control device, and the slave unit 200, the slave unit 300, the slave unit 400, and the slave unit 500 are lighting devices. Of course, in the present invention, the communication system may be another system. For example, the communication system 1000 may be an air conditioning system, the master unit 100 may be an outdoor unit, and the slave unit 200, the slave unit 300, the slave unit 400, and the slave unit 500 may be indoor units. Further, it goes without saying that the number of the plurality of slave units is not limited to four.

実施形態1では、制御部230と比較部270と信号出力部280とが分離されている例について説明した。本発明において、制御部230と比較部270と信号出力部280とは、分離されていなくてもよい。例えば、比較部270と信号出力部280とが制御部230に組み込まれ、制御部230が比較部270の機能と信号出力部280の機能とを有していてもよい。この場合、誤配線検出信号は、制御部230の外部に出力される信号ではなく、制御部230の内部の構成要素に出力される信号でもよい。例えば、誤配線検出信号は、誤配線が検出されたときに実行されるべき割り込みを発生させる割り込み信号、誤配線が検出されたことを示すフラグを書き込むためのフラグ書込信号であってもよい。また、誤配線検出信号は、スイッチ261やスイッチ262に対する制御信号であってもよい。 In the first embodiment, an example in which the control unit 230, the comparison unit 270, and the signal output unit 280 are separated has been described. In the present invention, the control unit 230, the comparison unit 270, and the signal output unit 280 do not have to be separated. For example, the comparison unit 270 and the signal output unit 280 may be incorporated in the control unit 230, and the control unit 230 may have the function of the comparison unit 270 and the function of the signal output unit 280. In this case, the miswiring detection signal may not be a signal output to the outside of the control unit 230, but a signal output to an internal component of the control unit 230. For example, the miswiring detection signal may be an interrupt signal that generates an interrupt to be executed when miswiring is detected, or a flag writing signal for writing a flag indicating that miswiring has been detected. .. Further, the miswiring detection signal may be a control signal for the switch 261 or the switch 262.

本発明は、本発明の広義の精神と範囲を逸脱することなく、様々な実施形態及び変形が可能とされるものである。また、上述した実施形態は、本発明を説明するためのものであり、本発明の範囲を限定するものではない。つまり、本発明の範囲は、実施形態ではなく、特許請求の範囲によって示される。そして、特許請求の範囲内及びそれと同等の発明の意義の範囲内で施される様々な変形が、本発明の範囲内とみなされる。 The present invention allows for various embodiments and modifications without departing from the broad spirit and scope of the present invention. Moreover, the above-described embodiment is for explaining the present invention, and does not limit the scope of the present invention. That is, the scope of the present invention is indicated not by the embodiment but by the claims. Then, various modifications made within the scope of the claims and the equivalent meaning of the invention are considered to be within the scope of the present invention.

本発明は、親機と複数の子機とが通信する通信システムに適用可能である。 The present invention is applicable to a communication system in which a master unit and a plurality of slave units communicate with each other.

11,12,21,22,31,32,31,41,42,51,52 通信線、13,23,33,43,53 通信線対、100,101 親機、110,210 送信回路、111,113,211 NPNトランジスタ、112,114 PNPトランジスタ、120,220 受信回路、121,161,291 電源端子、122 オペアンプ、123,162 コンデンサ、124,125,126,212,222,223 抵抗、127,128,163 接地端子、130,230 制御部、141,142,143,144,241,242,243,244,247,248,341,342,343,344,441,442,443,444,541,542,543,544 端子、145,146,245,246,249,345,346,445,446,545,546 端子対、150 通知部、200,201,300,400,500 子機、221 ツェナーダイオード、250 整流回路、251,252,253,254 ダイオード、261,262,267 スイッチ、263,264,268 電流検出部、265,266 接続点、270 比較部、280 信号出力部、1000,1100 通信システム 11,12,21,22,31,32,31,41,42,51,52 communication line, 13,23,33,43,53 communication line pair, 100,101 master unit, 110,210 transmission circuit, 111 , 113,211 NPN transistor, 112,114 PNP transistor, 120,220 reception circuit, 121,161,291 power supply terminal, 122 operational amplifier, 123,162 capacitor, 124,125,126,212,222,223 resistors, 127, 128,163 Ground terminal, 130,230 Control unit, 141,142,143,144,241,242,243,244,247,248,341,342,343,344,441,442,443,444,541 542,543,544 terminals, 145,146,245,246,249,345,346,445,445,545,546 terminal pairs, 150 notification unit, 200,201,300,400,500 slave unit, 221 Zener diode , 250 rectifier circuit, 251,252,253,254 capacitor, 261,262,267 switch, 263,264,268 current detector, 265,266 connection point, 270 comparison unit, 280 signal output unit, 1000,1100 communication system

Claims (6)

親機と複数の子機とを備え、複数の通信線対により前記親機と前記複数の子機とが相互に接続される通信システムであって、
前記親機は、
前記複数の通信線対のうち前記親機に接続される通信線対に流れる電流の有無を検出することにより前記複数の子機からデータを受信する受信回路を備え、
前記複数の子機は、
前記複数の通信線対のうち第1の通信線対が接続される第1の端子対と、
前記複数の通信線対のうち第2の通信線対が接続される第2の端子対と、
前記第1の端子対のうち一方の端子と前記第2の端子対のうち一方の端子とが接続される第1の接続点と、前記第1の端子対のうち他方の端子と前記第2の端子対のうち他方の端子とが接続される第2の接続点との間の導通・非導通状態を制御することにより前記親機にデータを送信する送信回路と、
前記第1の通信線対に流れる第1の電流を検出する第1の電流検出手段と、
前記第2の通信線対に流れる第2の電流を検出する第2の電流検出手段と、
前記第1の接続点と前記第2の接続点との間が導通状態に制御されているときに、前記第1の電流と前記第2の電流とが予め定められた閾値以上である場合、予め定められた信号を出力する信号出力手段と、を備える、
通信システム。
A communication system including a master unit and a plurality of slave units, in which the master unit and the plurality of slave units are interconnected by a plurality of communication line pairs.
The master unit is
A receiving circuit for receiving data from the plurality of slave units by detecting the presence or absence of a current flowing through the communication line pair connected to the master unit among the plurality of communication line pairs is provided.
The plurality of slave units
The first terminal pair to which the first communication line pair of the plurality of communication line pairs is connected and
A second terminal pair to which the second communication line pair of the plurality of communication line pairs is connected and
A first connection point to which one terminal of the first terminal pair and one terminal of the second terminal pair are connected, and the other terminal of the first terminal pair and the second terminal pair. A transmission circuit that transmits data to the master unit by controlling the conduction / non-conduction state between the terminal pair and the second connection point to which the other terminal is connected.
A first current detecting means for detecting the first current flowing through the first communication line pair,
A second current detecting means for detecting the second current flowing through the second communication line pair, and
When the first current and the second current are equal to or higher than a predetermined threshold value when the connection between the first connection point and the second connection point is controlled to be conductive. A signal output means for outputting a predetermined signal is provided.
Communications system.
前記複数の子機は、
前記第1の端子対のうち前記一方の端子と前記第1の接続点との間の短絡・開放状態を制御するとともに、前記第1の端子対のうち前記他方の端子と前記第2の接続点との間の短絡・開放状態を制御する第1のスイッチと、
前記第2の端子対のうち前記一方の端子と前記第1の接続点との間の短絡・開放状態を制御するとともに、前記第2の端子対のうち前記他方の端子と前記第2の接続点との間の短絡・開放状態を制御する第2のスイッチと、
前記信号出力手段から前記信号が出力された場合、前記第1のスイッチと前記第2のスイッチとのうち一方のスイッチを開放状態に制御する制御手段と、を備える、
請求項1に記載の通信システム。
The plurality of slave units
While controlling the short-circuit / open state between the one terminal of the first terminal pair and the first connection point, the other terminal of the first terminal pair and the second connection are connected. The first switch that controls the short-circuit / open state between the points and
While controlling the short-circuit / open state between the one terminal of the second terminal pair and the first connection point, the other terminal of the second terminal pair and the second connection are connected. A second switch that controls the short-circuit / open state between points and
When the signal is output from the signal output means, the control means for controlling one of the first switch and the second switch in an open state is provided.
The communication system according to claim 1.
前記制御手段は、前記信号出力手段から前記信号が出力された場合において、前記第1の電流が前記第2の電流よりも小さい場合、前記第1のスイッチを開放状態に制御し、前記信号出力手段から前記信号が出力された場合において、前記第2の電流が前記第1の電流よりも小さい場合、前記第2のスイッチを開放状態に制御する、
請求項2に記載の通信システム。
When the signal is output from the signal output means, the control means controls the first switch to be in an open state when the first current is smaller than the second current, and outputs the signal. When the signal is output from the means and the second current is smaller than the first current, the second switch is controlled to be in the open state.
The communication system according to claim 2.
前記親機は、前記親機に接続される通信線対間に印加する電圧の極性を切り替えることにより前記複数の子機にデータを送信する送信回路を備え、
前記複数の子機は、前記第1の接続点と前記第2の接続点との間に印加される電圧の極性を検出することにより前記親機からデータを受信する受信回路を備え、
前記複数の子機は、前記一方のスイッチを開放状態に制御した場合、制御完了を示すデータを前記親機に送信し、
前記親機は、前記制御完了を示すデータを前記複数の子機のうち第1の子機から受信した場合、応答を要求するデータを前記複数の子機に送信し、
前記複数の子機は、前記応答を要求するデータを前記親機から受信した場合、応答を示すデータを前記親機に送信し、
前記親機は、前記複数の子機のうち、前記応答を示すデータが受信されない第2の子機が存在する場合、制御解除を要求するデータを前記第1の子機に送信し、
前記第1の子機は、前記制御解除を要求するデータを前記親機から受信した場合、前記一方のスイッチを短絡状態に制御し、制御解除完了を示すデータを前記親機に送信し、
前記親機は、前記制御解除完了を示すデータを前記第1の子機から受信した場合、前記応答を要求するデータを前記第2の子機に送信する、
請求項3に記載の通信システム。
The master unit includes a transmission circuit that transmits data to the plurality of slave units by switching the polarity of a voltage applied between a pair of communication lines connected to the master unit.
The plurality of slave units include a receiving circuit that receives data from the master unit by detecting the polarity of the voltage applied between the first connection point and the second connection point.
When the plurality of slave units control one of the switches in the open state, the plurality of slave units transmit data indicating the completion of control to the master unit.
When the master unit receives data indicating the completion of control from the first slave unit among the plurality of slave units, the master unit transmits data requesting a response to the plurality of slave units.
When the plurality of slave units receive the data requesting the response from the master unit, the plurality of slave units transmit the data indicating the response to the master unit.
When there is a second slave unit among the plurality of slave units for which the data indicating the response is not received, the master unit transmits data requesting control release to the first slave unit.
When the first slave unit receives data requesting the release of control from the master unit, the first slave unit controls one of the switches to a short-circuited state, and transmits data indicating the completion of control release to the master unit.
When the master unit receives the data indicating the completion of the control release from the first slave unit, the master unit transmits the data requesting the response to the second slave unit.
The communication system according to claim 3.
親機と通信する複数の子機のうちいずれかの子機である通信機器であって、
前記親機と前記複数の子機とは複数の通信線対により相互に接続され、
前記複数の通信線対のうち同一の子機に接続される2以上の通信線対は相互に接続され、
前記複数の通信線対のうち前記親機に接続される通信線対間には前記親機により電圧が印加され、
前記通信機器は、
前記複数の通信線対のうち第1の通信線対が接続される第1の端子対と、
前記複数の通信線対のうち第2の通信線対が接続される第2の端子対と、
前記第1の端子対のうち一方の端子と前記第2の端子対のうち一方の端子とが接続される第1の接続点と、前記第1の端子対のうち他方の端子と前記第2の端子対のうち他方の端子とが接続される第2の接続点との間の導通・非導通状態を制御することにより前記親機にデータを送信する送信回路と、
前記第1の通信線対に流れる第1の電流を検出する第1の電流検出手段と、
前記第2の通信線対に流れる第2の電流を検出する第2の電流検出手段と、
前記第1の接続点と前記第2の接続点との間が導通状態に制御されているときに、前記第1の電流と前記第2の電流とが予め定められた閾値以上である場合、予め定められた信号を出力する信号出力手段と、を備える、
通信機器。
A communication device that is one of a plurality of slave units that communicate with the master unit.
The master unit and the plurality of slave units are connected to each other by a plurality of communication line pairs.
Two or more communication line pairs connected to the same slave unit among the plurality of communication line pairs are connected to each other.
A voltage is applied by the master unit between the communication line pairs connected to the master unit among the plurality of communication line pairs.
The communication device is
The first terminal pair to which the first communication line pair of the plurality of communication line pairs is connected and
A second terminal pair to which the second communication line pair of the plurality of communication line pairs is connected and
A first connection point to which one terminal of the first terminal pair and one terminal of the second terminal pair are connected, and the other terminal of the first terminal pair and the second terminal pair. A transmission circuit that transmits data to the master unit by controlling the conduction / non-conduction state between the terminal pair and the second connection point to which the other terminal is connected.
A first current detecting means for detecting the first current flowing through the first communication line pair,
A second current detecting means for detecting the second current flowing through the second communication line pair, and
When the first current and the second current are equal to or higher than a predetermined threshold value when the connection between the first connection point and the second connection point is controlled to be conductive. A signal output means for outputting a predetermined signal is provided.
Communication equipment.
親機と複数の子機とを備え、複数の通信線対により前記親機と前記複数の子機とが相互に接続される通信システムにおける誤配線検出方法であって、
前記複数の通信線対のうち同一の子機に接続される2以上の通信線対を相互に接続し、
前記複数の通信線対のうち前記親機に接続される通信線対間に電圧を印加し、
前記複数の子機のうち第1の子機が備える第1の端子対のうち一方の端子と前記第1の子機が備える第2の端子対のうち一方の端子とが接続された第1の接続点と、前記第1の端子対のうち他方の端子と前記第2の端子対のうち他方の端子とが接続された第2の接続点との間を導通状態に制御し、
前記複数の通信線対のうち前記第1の端子対に接続される第1の通信線対に流れる第1の電流と、前記複数の通信線対のうち前記第2の端子対に接続される第2の通信線対に流れる第2の電流とが予め定められた閾値以上である場合、予め定められた信号を出力する、
誤配線検出方法。
An erroneous wiring detection method in a communication system in which a master unit and a plurality of slave units are provided and the master unit and the plurality of slave units are interconnected by a plurality of communication line pairs.
Two or more communication line pairs connected to the same slave unit among the plurality of communication line pairs are connected to each other.
A voltage is applied between the communication line pairs connected to the master unit among the plurality of communication line pairs.
A first terminal in which one terminal of a first terminal pair included in the first slave unit of the plurality of slave units is connected to one terminal of a second terminal pair included in the first slave unit. And the second connection point to which the other terminal of the first terminal pair and the other terminal of the second terminal pair are connected are controlled to be in a conductive state.
The first current flowing through the first communication line pair connected to the first terminal pair among the plurality of communication line pairs and the second terminal pair connected to the second terminal pair among the plurality of communication line pairs. When the second current flowing through the second communication line pair is equal to or greater than a predetermined threshold value, a predetermined signal is output.
Miswiring detection method.
JP2017133309A 2017-07-07 2017-07-07 Communication system, communication equipment, and miswiring detection method Active JP6846999B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017133309A JP6846999B2 (en) 2017-07-07 2017-07-07 Communication system, communication equipment, and miswiring detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017133309A JP6846999B2 (en) 2017-07-07 2017-07-07 Communication system, communication equipment, and miswiring detection method

Publications (2)

Publication Number Publication Date
JP2019016919A JP2019016919A (en) 2019-01-31
JP6846999B2 true JP6846999B2 (en) 2021-03-24

Family

ID=65358581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017133309A Active JP6846999B2 (en) 2017-07-07 2017-07-07 Communication system, communication equipment, and miswiring detection method

Country Status (1)

Country Link
JP (1) JP6846999B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3469120B2 (en) * 1998-06-12 2003-11-25 矢崎総業株式会社 Communication network and communication device

Also Published As

Publication number Publication date
JP2019016919A (en) 2019-01-31

Similar Documents

Publication Publication Date Title
US9787482B2 (en) Redundantly powered and daisy chained power over ethernet
JP6320544B2 (en) Method for processing impedance abnormality of power adapter, terminal and charging circuit
JP4790729B2 (en) Combination of high-side and low-side current sensing in a system for providing power over a communication link
US10491102B2 (en) Semiconductor device, control method of semiconductor device, and feeding system
EP2587718B1 (en) Switching of conductor pair in power over ethernet system
JP2008529460A (en) Adjusting the current limit threshold based on the power requirements of the receiving device in a system for providing power over a communication link
JP6489700B2 (en) Power supply
US20170181240A1 (en) High voltage resistant transmitting circuit for devices communicating on dali bus
JP2018013932A (en) Electronic apparatus
JP6846999B2 (en) Communication system, communication equipment, and miswiring detection method
EP3133569B1 (en) A slave unit for automatic fire alarm system and an automatic fire alarm system
JP2006345136A (en) Measuring instrument for network feeding system
JP6211554B2 (en) LED driving device
US8666026B1 (en) Systems and methods for providing notifications of hazardous ground conditions in telecommunication equipment
US20190273392A1 (en) Power supplying system, electronic apparatus, and power supplying method
CN111355593A (en) Support PD equipment of multi-mode PoE power supply
JP6197608B2 (en) Power supply / reception device and control method
US9401821B2 (en) Powered device, power supply system, and operation mode selection method
US9448604B2 (en) Powered device
KR20170085469A (en) Power over data lines detection and classification scheme
JP6801100B2 (en) Communication circuit of air conditioner
JP6971679B2 (en) Communication system, communication equipment, and communication control method
US9681524B2 (en) Start up circuit for digital addressable lighting interface stand by compatible driver
JP6481933B2 (en) Automatic fire alarm system slave unit and automatic fire alarm system using the same
US10116352B2 (en) Communication system, transmission device, and reception device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200622

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210202

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210302

R150 Certificate of patent or registration of utility model

Ref document number: 6846999

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250