JP2019016919A - Communication system, communication device, and miswiring detection method - Google Patents

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

Info

Publication number
JP2019016919A
JP2019016919A JP2017133309A JP2017133309A JP2019016919A JP 2019016919 A JP2019016919 A JP 2019016919A JP 2017133309 A JP2017133309 A JP 2017133309A JP 2017133309 A JP2017133309 A JP 2017133309A JP 2019016919 A JP2019016919 A JP 2019016919A
Authority
JP
Japan
Prior art keywords
terminal
communication line
unit
pair
current
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.)
Granted
Application number
JP2017133309A
Other languages
Japanese (ja)
Other versions
JP6846999B2 (en
Inventor
正裕 石原
Masahiro Ishihara
正裕 石原
和輝 那谷
Kazuki Natani
和輝 那谷
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

Landscapes

  • Interconnected Communication Systems, Intercoms, And Interphones (AREA)

Abstract

To detect miswiring which causes a plurality of paths connecting a master unit and a slave units.SOLUTION: A transmission circuit 210 controls a conduction/non-conduction state between a connection point 265 to which a terminal 241 and a terminal 243 are connected and a connection point 266 to which a terminal 242 and a terminal 244 are connected to transmit data to a master unit 100. A current detection unit 263 detects a first current flowing through a communication line pair 13. A current detection unit 264 detects a second current flowing through a communication line pair 23. When the first current and the second current are equal to or higher than a predetermined threshold value in the case in which the connection point 265 and the connection point 266 are controlled to be in the conduction state, a signal output unit 280 outputs a predetermined signal.SELECTED DRAWING: Figure 2

Description

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

現在、親機と複数の子機とが複数の通信線対で相互に接続された通信システムが知られている。例えば、特許文献1には、中央処理装置と複数の端末器とが1対の伝送線で接続された信号伝送システムが記載されている。   Currently, a communication system in which a parent device and a plurality of child devices are connected to each other by a plurality of communication line pairs is known. 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 unit transmits data to the terminal device by voltage transmission, and the terminal device transmits data to the central processing device by current transmission. In such a communication system, if there are a plurality of paths connecting the parent device and the child device, a failure or communication abnormality may occur in the parent device or the child device.

特開平2−210935号公報JP-A-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 multiple slave units is long, multiple paths connecting the master unit and the slave units may occur due to incorrect wiring. There is. For this reason, there is a demand for a technique for detecting erroneous wiring that causes a plurality of paths connecting the parent device and the child device.

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

上記目的を達成するために、本発明に係る通信システムは、
親機と複数の子機とを備え、複数の通信線対により前記親機と前記複数の子機とが相互に接続される通信システムであって、
前記親機は、
前記複数の通信線対のうち前記親機に接続される通信線対に流れる電流の有無を検出することにより前記複数の子機からデータを受信する受信回路を備え、
前記複数の子機は、
前記複数の通信線対のうち第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, a communication system according to the present invention includes:
A communication system comprising a master unit and a plurality of slave units, wherein the master unit and the plurality of slave units are mutually connected by a plurality of communication line pairs,
The base unit is
A receiving circuit that receives data from the plurality of slave units by detecting the presence or absence of current flowing through the communication line pair connected to the master unit among the plurality of communication line pairs;
The plurality of slave units are:
A first terminal pair to which a first communication line pair among the plurality of communication line pairs is connected;
A second terminal pair to which a second communication line pair is connected among the plurality of communication line pairs;
A first connection point to which one terminal of the first terminal pair and one terminal of the second terminal pair are connected; the other terminal of the first terminal pair; and the second terminal. A transmission circuit that transmits data to the master unit by controlling a conduction / non-conduction state between the second connection point to which the other terminal of the terminal pair is connected;
First current detection means for detecting a first current flowing in the first communication line pair;
Second current detection means for detecting a second current flowing in the second communication line pair;
When the first connection point and the second connection point are controlled to be in a conductive state when the first current and the second current are equal to or greater than a predetermined threshold, Signal output means for outputting a predetermined signal.

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

本発明の実施形態1に係る通信システムの構成図Configuration diagram of a communication system according to Embodiment 1 of the present invention 本発明の実施形態1に係る親機及び子機の構成図Configuration diagram of a parent device and a child device according to the first embodiment of the present invention 本発明の実施形態1に係る子機が実行する通信制御処理を示すフローチャートThe flowchart which shows the communication control process which the subunit | mobile_unit which concerns on Embodiment 1 of this invention performs 図3に示す誤配線検出処理を示すフローチャートThe flowchart which shows the miswiring detection process shown in FIG. 本発明の実施形態2に係る子機が実行する誤配線検出処理を示すフローチャートThe flowchart which shows the miswiring detection process which the subunit | mobile_unit which concerns on Embodiment 2 of this invention performs 本発明の実施形態2に係る親機が実行する通信制御処理を示すフローチャートThe flowchart which shows the communication control process which the main | base station which concerns on Embodiment 2 of this invention performs. 本発明の実施形態3に係る通信システムの構成図Configuration diagram of a communication system according to Embodiment 3 of the present invention 本発明の実施形態3に係る子機の構成図The block diagram of the subunit | mobile_unit which concerns on Embodiment 3 of this 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, a communication system 1000 according to Embodiment 1 of the present invention will be described with reference to FIG. The communication system 1000 includes a parent device 100 and a plurality of child devices (child device 200, child device 300, child device 400, child device 500), and the parent device 100 and the plurality of child devices communicate with each other. is there. The communication system 1000 is an illumination system that includes, for example, an illumination control device and a plurality of illumination devices. In this case, the parent device 100 corresponds to the lighting control device, and the plurality of slave devices respectively correspond to the plurality of lighting devices.

親機100は、直流電源(図示せず)を備え、複数の子機に電力を供給する。複数の子機は、親機100から供給された電力で動作する。親機100は、電圧信号により複数の子機にデータを送信し、複数の子機は、電流信号により親機100にデータを送信する。本実施形態では、ブロードキャストがなく、ポーリング方式が採用されているものとする。つまり、親機100は、複数の子機に同時にデータを送信せず、複数の子機は、親機100からデータを受信したときに親機100にデータを送信するものとする。このため、親機100と複数の子機とは、同時にデータを送信しない。   Master device 100 includes a DC power supply (not shown) and supplies power to a plurality of slave devices. The plurality of slave units operate with the power supplied from the master unit 100. Master device 100 transmits data to a plurality of slave devices by a voltage signal, and the plurality of slave devices transmits data to master device 100 by a current signal. In this embodiment, it is assumed that there is no broadcast and a polling method is adopted. That is, parent device 100 does not transmit data to a plurality of child devices at the same time, and the plurality of child devices transmit data to parent device 100 when receiving data from parent device 100. For this reason, 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と、を備える。   Base unit 100 and a 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). Communicate with each other via a pair of communication lines. Specifically, base unit 100 includes terminal pair 145 including terminal 141 and terminal 142, and terminal pair 146 including terminal 143 and terminal 144. The subunit | mobile_unit 200 is provided with the terminal pair 245 containing the terminal 241 and the terminal 242 and the terminal pair 246 containing the terminal 243 and the terminal 244. The subunit | mobile_unit 300 is provided with the terminal pair 345 containing the terminal 341 and the terminal 342, and the terminal pair 346 containing the terminal 343 and the terminal 344. The subunit | mobile_unit 400 is provided with the terminal pair 445 containing the terminal 441 and the terminal 442, and the terminal pair 446 containing the terminal 443 and the terminal 444. The subunit | mobile_unit 500 is provided with the terminal pair 545 containing the terminal 541 and the terminal 542, and the terminal pair 546 containing the terminal 543 and the 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の内部で接続される。   Terminal 141 and terminal 143 are connected inside base unit 100, and terminal 142 and terminal 144 are connected inside base unit 100. Terminal 241 and terminal 243 are connected inside slave unit 200, and terminal 242 and terminal 244 are connected inside slave unit 200. Terminal 341 and terminal 343 are connected inside slave unit 300, and terminal 342 and terminal 344 are connected inside slave unit 300. Terminal 441 and terminal 443 are connected inside slave unit 400, and terminal 442 and terminal 444 are connected inside slave unit 400. Terminal 541 and terminal 543 are connected inside slave unit 500, and terminal 542 and terminal 544 are connected inside 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 paths connecting the master unit 100 and a specific slave unit are generated. An example in which erroneous wiring (hereinafter simply referred to as “miswiring”) occurs is shown. This miswiring is also called a loop wiring because a loop is formed by a plurality of paths connecting the parent device 100 and a specific child device. If there is this miswiring, the master unit 100 or a plurality of slave units may fail or a communication error may occur. For this reason, in the present embodiment, when an incorrect wiring is detected, the connection relationship is automatically adjusted so that the influence of the incorrect wiring does not occur (the loop wiring is eliminated). Hereinafter, in order to facilitate understanding, a case where there is no erroneous wiring will be described first.

親機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により接続される。   Master device 100 and slave device 200 are connected to each other by communication line pair 13 including communication line 11 and 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 subunit | mobile_unit 200 and the subunit | mobile_unit 300 are mutually connected by the communication line pair 23 containing the communication line 21 and the communication line 22. FIG. 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. Master device 100 and slave device 400 are connected to each other by communication line pair 33 including communication line 31 and 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 a communication line 41 and a 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, when 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 normally performed. Therefore, the parent device 100, the child device 200, the child device 300, the child device 400, and the child device 500 are connected so that the wiring length is within a predetermined length (for example, 100 m). 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 parent device 100 to the child device 200 is 30 m, the wiring length from the parent device 100 to the child device 300 is 30 m + 20 m = 50 m, and the wiring length from the parent device 100 to the child device 400 is 50 m. The wiring length from the parent device 100 to the child device 500 is 50 m + 50 m = 100 m. Therefore, master device 100 can normally transmit a voltage signal to any of slave device 200, slave device 300, slave device 400, and slave device 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, base unit 100 applies a predetermined power supply voltage (for example, 12 V or 24 V) between terminal pair 145 while inverting the polarity. The data is basically binary data expressed by a combination of 1 and 0. For example, base unit 100 applies 12V to terminal 141 and terminal 143 and applies 0V to terminal 142 and terminal 144 during a period in which a bit corresponding to 0 is transmitted. On the other hand, base unit 100 applies 0 V to terminal 141 and terminal 143 and 12 V to terminal 142 and terminal 144 during a period in which a bit corresponding to 1 is transmitted.

ここで、配線長に応じた電圧降下の影響が小さい場合、基本的に、端子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, the terminal 243, the terminal 341, the terminal 343, the terminal 443, the terminal 543, the terminal 541, and the terminal 543 The same voltage 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, the slave device 200 transmits a bit corresponding to 0 during a period in which the polarity of the voltage between the terminal pair 245 is negative (for example, a period in which 12V is applied to the terminal 241 and 0V is applied to the terminal 242). It can be regarded as a period. On the other hand, the slave unit 200 transmits a bit corresponding to 1 during a period in which the polarity of the voltage between the terminal pair 245 is positive (for example, a period in which 0V is applied to the terminal 241 and 12V is applied to the terminal 242). It can be regarded as a period. And the subunit | mobile_unit 200 can receive the data transmitted by the main | base station 100 combining the received bit. It is assumed that the bit string constituting the data includes a bit string indicating the data transmission source or transmission destination device.

一方、複数の子機は、親機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 parent device 100, the plurality of child devices transmit data to the parent device 100 by switching between a conductive state and a non-conductive state between the terminal pairs. For example, the slave unit 200 controls the terminal pair 245 to be in a conductive state during a period of transmitting a bit corresponding to 1, and controls the terminal pair 245 to be in a non-conductive state during a period of transmitting a bit corresponding to 0. Here, since a power supply voltage is applied between the terminal pair 245, a current flows through the communication line pair 13 when the terminal pair 245 is controlled to be conductive. A current flowing through the communication line pair 13 means that a 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 approximately the same, and the direction of the current flowing through the communication line 11 is opposite to the direction of the current flowing through the communication line 12. The direction. Hereinafter, “the magnitude of current” is simply referred to as “current” as appropriate.

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

ここで、誤配線がない場合、つまり、子機300と子機500とが通信線対53により接続されていない場合、子機300の接続先は子機200だけである。従って、子機200がデータを送信する間、子機200から親機100に電流が流れる経路は、通信線対13だけとなる。   Here, when there is no miswiring, that is, when handset 300 and handset 500 are not connected by communication line pair 53, handset 300 is connected only to handset 200. Therefore, while the slave unit 200 transmits data, the path through which current flows from the slave unit 200 to the master unit 100 is only 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 incorrect wiring, that is, a case where the slave unit 300 and the slave unit 500 are connected by the 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. Note that the length of the communication line pair 53 is 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, a case where the slave device 200 transmits data to the master device 100 is assumed. In this case, the slave unit 200 controls the terminal pair 245 to be in a conductive state during a period in which a bit corresponding to 1 is transmitted. 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, the path 1 configured by the communication line pair 13, the communication line pair 23, the communication line pair 53, the communication line pair 43, and the communication line pair 33 are configured. There are two current paths with path 2. Accordingly, when the terminal pair 245 is controlled to be conductive, 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 base unit 100 is the sum of the magnitude of the current flowing through path 1 and the magnitude of the current flowing through path 2. Therefore, the magnitude of the current monitored by the master unit 100 is larger when there is an incorrect wiring than when there is no erroneous wiring. It can be considered that there is no problem in itself that the magnitude of the current monitored by the master unit 100 becomes large. However, the presence of miswiring itself means that an unexpected connection has been made, and there is a possibility of failure of the master unit 100 or a plurality of slave units, or communication failure. Therefore, when transmitting data, the plurality of slave units checks whether or not there is a miswiring, and if miswiring is detected, automatically adjusts the connection relationship so that the influence of the miswiring 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 a period in which a bit corresponding to 1 is transmitted, and confirms whether or not a current flows through both the path 1 and the path 2. Then, when detecting that the current flows through both the path 1 and the path 2, the slave unit 200 blocks the path (for example, the path 2) with the smaller flowing current. Note that a small amount of current flowing through the path means that the length of the path is long. In general, the normal path is designed to be short. For this reason, a long route is more likely to be a route formed by miswiring than a short route. In addition, when a short route is blocked and a long route is left, there is a possibility that normal communication cannot be performed. Therefore, when an incorrect wiring is detected, it is preferable that the path with the smaller flowing current is blocked.

次に、図2を参照して、親機100及び子機200の構成について説明する。なお、子機300、子機400、子機500の構成は、基本的に、子機200の構成と同様である。   Next, with reference to FIG. 2, the structure of the main | base station 100 and the subunit | mobile_unit 200 is demonstrated. In addition, the structure of the subunit | mobile_unit 300, the subunit | mobile_unit 400, and the subunit | mobile_unit 500 is the same as that of the subunit | mobile_unit 200 fundamentally.

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

送信回路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 using a voltage signal in accordance with control by the control unit 130. The transmission circuit 110 outputs an H-level voltage (for example, 5 V) from a first transmission terminal (terminal indicated by Tx1) (not shown) provided in the control unit 130, and a second transmission terminal (not shown) provided in the control unit 130. When an L-level voltage (for example, 0 V) is output from (a terminal indicated by Tx2), 0 V is applied to the terminal 141 and V1 is applied to the terminal 142. On the other hand, the transmission circuit 110 applies V1 to the terminal 141 and 0V to the terminal 142 when an L level voltage is output from the first transmission terminal and an H level voltage is output from the second transmission terminal. Apply. V1 is a power supply voltage of base 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の電圧とは同じである。   Note that the voltage level output from the second transmission terminal is opposite to the voltage level output from the first transmission terminal. For example, when transmitting a 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, when a bit corresponding to 1 is transmitted, the voltage of the terminal 141 is lower than the voltage of the terminal 142, and when a bit corresponding to 0 is transmitted, the voltage of the terminal 141 is higher than the voltage of the terminal 142. Become. Basically, the voltage at the terminal 141 and the voltage at the terminal 143 are the same, and the voltage at the terminal 142 and the voltage at 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 NPN transistor 111 and the emitter of PNP transistor 112 are connected to terminal 142 and terminal 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 through the resistor 126 and are connected to the non-inverting input terminal of the operational amplifier 122 through 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 the terminal 141 and the terminal 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 a voltage signal corresponding to data (bit data) transmitted as a current signal from any of the slave units to the control unit 130. When the reception circuit 120 detects that the current flowing through the communication line pair 13 or the communication line pair 33 is equal to or greater than a predetermined threshold, the reception circuit 120 is connected to a reception terminal (terminal indicated by Rx) included in the control unit 130. An H level voltage signal is supplied. On the other hand, when the reception circuit 120 detects that the current flowing through the communication line pair 13 or the communication line pair 33 is less than the threshold value, the reception circuit 120 supplies an L level voltage signal to the reception 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) provided in the parent device 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 blocks a 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 source (not shown) included in the parent device 100, and 0 V is applied.

制御部130は、親機100の全体的な動作を制御する。制御部130は、送信回路110を制御して、いずれかの子機にデータを送信する。例えば、制御部130は、送信するビットデータに対応するレベルの電圧を、第1の送信端子から出力する。なお、制御部130は、第1の送信端子から出力した電圧のレベルとは逆のレベルの電圧を、第2の送信端子から出力する。また、制御部130は、受信回路120から供給された電圧信号に基づいて、いずれかの子機から送信されたデータを特定する。例えば、制御部130は、受信端子に印加された電圧のレベルに応じたビットデータをサンプリングし、サンプリングにより得られたビットデータ列から、送信されたデータを特定する。   Control unit 130 controls the overall operation of base unit 100. The control unit 130 controls the transmission circuit 110 to transmit data to one 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. Note that the control unit 130 outputs a voltage having a level opposite to that of the voltage output from the first transmission terminal, from the second transmission terminal. Further, the control unit 130 specifies data transmitted from any of the slave units based on the voltage signal supplied from the receiving circuit 120. For example, the control unit 130 samples bit data corresponding to the level of the voltage applied to the reception terminal, and specifies 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)などを備えるマイクロコンピュータにより構成される。   In addition, when an incorrect wiring is detected, the control unit 130 controls the notification unit 150 to notify that an incorrect wiring has been detected. The control unit 130 is configured by a microcomputer including, for example, 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 a terminal 141 and a terminal 142. The terminal pair 145 is connected to the terminal pair 245 through 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 a terminal 143 and a terminal 144. The terminal pair 146 is connected to the terminal pair 445 through 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, an image, and a sound that erroneous wiring has been detected according to 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, or a speaker.

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

子機200は、送信回路110と、受信回路120と、制御部230と、端子対245と、端子対246と、整流回路250と、スイッチ261と、スイッチ262と、電流検出部263と、電流検出部264と、接続点265と、接続点266と、比較部270と、信号出力部280と、電源端子291と、を備える。   The slave device 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, a switch 262, a current detection unit 263, a current 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 are provided.

送信回路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には電流が流れる。   Transmission circuit 210 transmits data to base unit 100 by a current signal according to control by 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) (not shown) included in the control unit 230. The emitter of the NPN transistor 211 is connected through a resistor 212 to a reference terminal (terminal indicated by S0) (not shown) included in the control unit 230. The NPN transistor 211 is turned on when an H level voltage is applied to the base, and 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の電流路に流れる電流を制限する。   When the NPN transistor 211 is turned on when the voltage at the terminal 241 is higher than the voltage at the terminal 242, the power supply terminal 161 → the NPN transistor 113 → the terminal 141 → the communication line 11 → the terminal 241 → the switch 261 → the diode 253 → the power supply terminal 291. → NPN transistor 211 → resistor 212 → diode 252 → switch 261 → terminal 242 → communication line 12 → terminal 142 → PNP transistor 112 → resistor 126 → grounding terminal 128, current flows. On the other hand, when the NPN transistor 211 is turned on when the voltage at the terminal 241 is lower than the voltage at the terminal 242, the power supply terminal 161 → the NPN transistor 111 → the terminal 142 → the communication line 12 → the terminal 242 → the switch 261 → the diode 254 → the power supply. Current flows through a path 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 a voltage signal corresponding to data (bit data) transmitted as a voltage signal from the parent device 100 to the control unit 230. When the voltage at the terminal 242 is higher than the voltage at the terminal 241, the receiving circuit 220 supplies a voltage signal of H level (for example, 5 V) to a not-shown receiving terminal (terminal indicated by Rx) included in the control unit 230. . On the other hand, when the voltage at the terminal 241 is higher than the voltage at the terminal 242, the receiving circuit 220 supplies an L level (for example, 0 V) 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 at the reception terminal from becoming higher than the breakdown voltage (for example, 5 V) with respect to the voltage at the reference terminal. The resistor 222 is provided between the connection point 266 and the reception terminal, and limits the voltage applied to the reception 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 child device 200. Control unit 230 controls transmission circuit 210 to transmit data to base 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 specifies data transmitted from the parent device 100 based on the voltage signal supplied from the receiving circuit 220. For example, the control unit 230 samples bit data corresponding to the level of the voltage applied to the reception terminal, and specifies transmitted data from the bit data string obtained by the sampling. In addition, the control unit 230 performs illumination control (not shown) according to the control by the parent device 100. The control unit 230 is configured by a microcomputer including a CPU, a ROM, a RAM, and the like, for example.

端子対245は、端子241と端子242とを備える。端子対246は、端子243と端子244とを備える。端子対246は、通信線対23を介して、端子対345と接続される。つまり、端子243は、通信線21を介して端子341に接続され、端子244は、通信線22を介して端子342に接続される。   The terminal pair 245 includes a terminal 241 and a terminal 242. The terminal pair 246 includes a terminal 243 and a terminal 244. The terminal pair 246 is connected to the terminal pair 345 through 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 positive and negative power supply voltages applied between the terminal pair 245, and generates V2 that is an operation power supply of the slave unit 200. Note that V2 that is the operation power supply of the slave unit 200 is approximately the same voltage as the power supply voltage V1 of the master unit 100, and is supplied from the power supply terminal 291 to each module. 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 (low voltage side output terminal). The cathode of the diode 253 and the cathode of the diode 254 are connected to the other output terminal (high voltage side output terminal). The cathode of the diode 251 and the anode of the diode 253 are connected to a connection point 265 that is one input terminal. The cathode of the diode 252 and the anode of the diode 254 are connected to a connection point 266 that 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 child device 200 according to control by the control unit 230. The switch 261 controls a short circuit / open state between the terminal 241 and the connection point 265 and controls a 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 the same short circuit / open state. The switch 261 is, for example, a double switch that controls between two pairs of contacts simultaneously.

スイッチ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 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 the same short circuit / open state. The switch 262 is, for example, a double 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 a 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 current detection shunt resistor or a current transformer.

電流検出部264は、通信線対23に流れる電流を検出し、検出した電流の大きさを示す電圧信号を比較部270に供給する。本実施形態では、電流検出部264は、端子243と接続点265との間に流れる電流を検出することにより、通信線21に流れる電流を検出するものとする。ただし、電流検出部264は、端子244と接続点266との間に流れる電流を検出することにより、通信線22に流れる電流を検出してもよい。電流検出部264は、例えば、電流検出用のシャント抵抗、或いは、カレントトランスを備える。   The current detection unit 264 detects a 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 current detection shunt resistor 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 input terminal 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 between the connection point 265 and the connection point 266 when current flows through the communication line pair 13 and connects with the connection point 265 when current does not flow through the communication line pair 13. Control is made between the point 266 and the non-conductive state.

比較部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 passed by the transmission circuit 210 is flowing through the communication line pair 13. Determine whether or 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, and the current passed by the transmission circuit 210 flows to the communication line pair 23. It is determined whether or not. The comparison unit 270 supplies a voltage signal indicating the determination result to the signal output unit 280.

また、比較部270は、電流検出部263から供給された電圧信号により示される電流の大きさと電流検出部264から供給された電圧信号により示される電流の大きさとを比較し、通信線対13と通信線対23とのいずれにより大きな電流が流れているかを判別する。比較部270は、判別結果を示す電圧信号を信号出力部280に供給する。比較部270は、例えば、コンパレータ、A/D(Analog/Digital)変換器、マイクロコンピュータなどにより構成される。   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 It is determined which of the communication line pair 23 is receiving a large current. The comparison unit 270 supplies a voltage signal indicating the determination result to the signal output unit 280. The comparison unit 270 includes, 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 there is a miswiring based on the voltage signal supplied from the comparison unit 270. When the signal output unit 280 determines that there is an incorrect wiring, the signal output unit 280 supplies a signal (hereinafter referred to as an “incorrect wiring detection signal”) indicating that the erroneous wiring has been detected 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 has a larger current. Further, the signal output unit 280 can determine whether or not the transmission circuit 210 is passing current based on the voltage signal supplied from the control unit 230. The signal output unit 280 is configured by, 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 each module with V2 that is the operation power supply of the slave unit 200 generated by the rectifier circuit 250. Note that description of the slave unit 300 in FIG. 2 is omitted.

次に、図3に示すフローチャートを参照して、子機200が実行する通信制御処理について説明する。子機200は、例えば、親機100に接続され、電源が投入されると、通信制御処理を開始する。ここで、子機200が備えるスイッチ261及びスイッチ262は、電源投入時に、導通状態であるものとする。なお、子機300、400、500が実行する通信制御処理は、基本的に、子機200が実行する通信制御処理と同様であるため、説明を省略又は簡略化する。また、本実施形態では、基本的に、親機100は、誤配線の検出に関する処理を実行しないため、親機100の処理に関しては、説明を省略又は簡略化する。   Next, a communication control process executed by the child device 200 will be described with reference to the flowchart shown in FIG. The slave device 200 is connected to the master device 100, for example, and starts communication control processing when the power is turned on. Here, it is assumed that the switch 261 and the switch 262 included in the slave device 200 are in a conductive state when the power is turned on. Note that the communication control process executed by the slave units 300, 400, and 500 is basically the same as the communication control process executed by the slave unit 200, and therefore the description is omitted or simplified. In the present embodiment, basically, base unit 100 does not execute processing related to detection of erroneous wiring, and therefore, description of processing of base unit 100 is 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, control unit 230 determines whether or not data has been received from parent device 100 (step S102). For example, the control unit 230 generates a bit string based on the sampled voltage level and determines whether one frame of data has been received. If control unit 230 determines that data has not been received from base unit 100 (step S102: NO), it returns the process to step S101.

一方、制御部230は、親機100からデータを受信したと判別すると(ステップS102:YES)、受信したデータに応じた処理を実行する(ステップS103)。例えば、制御部230は、照明の点灯を指示するデータを受信した場合、照明を点灯させる。制御部230は、ステップS103の処理を完了すると、送信するデータのビット列を生成する(ステップS104)。なお、送信するデータは、親機100に返信するデータである。   On the other hand, when determining that data has been received from parent device 100 (step S102: YES), control unit 230 executes processing according to the received data (step S103). For example, when the control unit 230 receives data instructing to turn on the lighting, the control unit 230 turns on the lighting. When the process of step S103 is completed, the control unit 230 generates a bit string of data to be transmitted (step S104). Note that the data to be transmitted is data returned to the parent device 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). Note that bits are selected in order from the top of the generated bit string. When the process of step S105 is completed, the control unit 230 sets the transmission terminal to a level corresponding to the selected bit (step S106). For example, when the selected bit is 1, the transmission terminal is set to H level (for example, 5V), and when the selected bit is 0, the transmission terminal is set to L level (for example, 0V). .

制御部230は、ステップS106の処理を完了すると、送信端子のレベルがHレベルであるか否かを判別する(ステップS107)。なお、送信端子のレベルがHレベルであることは、送信回路210により、接続点265と接続点266との間が導通状態に制御され、電流が流されることを意味する。制御部230は、送信端子のレベルがHレベルであると判別すると(ステップS107:YES)、誤配線検出処理を実行する(ステップS108)。誤配線検出処理に関しては、図4に示すフローチャートを参照して、詳細に説明する。   When the process of step S106 is completed, the controller 230 determines whether or not the level of the transmission terminal is the H level (step S107). Note that the level of the transmission terminal being 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 determining that the level of the transmission terminal is the H level (step S107: YES), the controller 230 executes an erroneous wiring detection process (step S108). The erroneous wiring 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, a current that flows through the communication line 11. Next, the current detection unit 264 detects the second current (step S202). The second current is, for example, a current that flows through the communication line 21. Here, the comparison unit 270 determines whether or not the first current and the second current are greater than or equal to a threshold value (step S203). When the comparison unit 270 determines that the first current or the second current is not greater than or equal to the threshold (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 greater than or equal to the threshold (step S203: YES), the signal output unit 280 outputs an erroneous wiring detection signal to the control unit 230 (step S204). . The erroneous wiring 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 a threshold value, and the first current and the second current. Information indicating the magnitude relationship with the current 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 determining 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 be in an open state (step S206). Note that the first switch is the switch 261. On the other hand, when determining that the first current is not less than or equal to the second current (step S205: NO), the control unit 230 controls the second switch to be in an open state (step S207). Note that the second switch is the 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 and erroneous wiring occurs. In this case, in step S203, it is determined that the first current and the second current are greater than or equal to 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 of the communication line pair 23, 20 m of the communication line pair 53, 50 m of the communication line pair 43, and the communication line pair. The total length of 33 and 50 m is 140 m. Accordingly, in step S205, it is determined that the first current is not less than or equal to the second current, and in step S207, the switch 262 that is the second switch is controlled to be in the open state. For this reason, the communication line pair 23 is disconnected from the slave unit 200, and the loop wiring is eliminated. When completing the process of step S206 or step S207, the controller 230 ends the erroneous wiring detection process.

制御部230は、ステップS108の処理を完了すると、1ビット分の時間ウェイトする(ステップS109)。制御部230は、ステップS109の処理を完了すると、全ビットが選択済みであるか否かを判別する(ステップS110)。制御部230は、全ビットが選択済みであると判別すると(ステップS110:YES)、データの送信を完了したものと見做し、ステップS101に処理を戻す。一方、制御部230は、いずれかのビットが選択済みでないと判別すると(ステップS110:NO)、ステップS105に処理を戻し、次のビットを選択する。   When the process of step S108 is completed, the controller 230 waits for one bit (step S109). When the process of step S109 is completed, the control unit 230 determines whether all bits have been selected (step S110). When determining that all the bits have been selected (step S110: YES), the control unit 230 considers that the data transmission has been completed, and returns the process to step S101. On the other hand, when determining that any bit 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, the first current flowing through the communication line pair 13 and the second current flowing through the communication line pair 23 when the connection point 265 and the connection point 266 are controlled to be conductive. If the magnitude of the is greater than or equal to a predetermined threshold, an erroneous wiring detection signal is output. Therefore, according to the present invention, it is possible to detect an erroneous wiring that causes a plurality of paths connecting the parent device 100 and the child device 200.

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

(実施形態2)
実施形態1では、親機100と子機200とを結ぶ経路を複数生じさせる誤配線が検出された場合、子機200により長い方の経路を切り離されて、処理が完了する例について説明した。しかしながら、子機200に対する誤配線ではなく、他の子機に対する誤配線により、親機100と子機200とを結ぶ経路が複数生じた場合、この手法では好ましくない場合がある。
(Embodiment 2)
In the first embodiment, an example has been described in which, when erroneous wiring that causes a plurality of routes connecting the parent device 100 and the child device 200 is detected, the longer route is disconnected by the child device 200 and the process is completed. However, this method may not be preferable when a plurality of paths connecting the parent device 100 and the child device 200 are generated due to an incorrect wiring with respect to another child device instead of an incorrect wiring with respect to the child device 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 disconnected from the child device 200 due to erroneous wiring of the communication line pair 53, but it is preferable that the communication line pair 53 is disconnected from the child device 300 or the child device 500. Actually, when the communication line pair 23 is disconnected from the child device 200, the length of the path from the child device 300 to the parent device 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. Then, the length of the communication line pair 33 is 50 m, which is a total of 120 m, and there is a possibility that the slave device 300 and the master device 100 cannot communicate with each other.

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

まず、図5のフローチャートを参照して、子機200が実行する誤配線検出処理について説明する。図5に示す誤配線検出処理は、図4に示す誤配線検出処理に代えて実行される処理である。なお、本実施形態に係る子機200が実行する通信制御処理は、基本的に、図3に示す通信制御処理と同様であるため説明を省略する。   First, with reference to the flowchart of FIG. 5, the miswiring detection process which the subunit | mobile_unit 200 performs is demonstrated. The erroneous wiring detection process shown in FIG. 5 is a process executed in place of the erroneous wiring detection process shown in FIG. In addition, since the communication control process which the subunit | mobile_unit 200 which concerns on this embodiment performs is the same as that of the communication control process shown in FIG. 3, description is abbreviate | omitted.

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

制御部230は、スタートビットを送信中であると判別すると(ステップS301:YES)、誤配線検出処理が免除中であるか否かを判別する(ステップS302)。制御部230は、誤配線検出処理が免除中であると判別すると(ステップS302:YES)、誤配線検出処理を終了する。このように、本実施形態では、子機200は、スタートビットを送信中であっても、誤配線検出処理が免除中であるときは、誤配線検出処理を実行しない。例えば、子機200が、誤配線を検出して開放状態に制御した一方のスイッチを親機100による指示に従って短絡状態に戻した後、この一方のスイッチを短絡状態に戻したことを示す制御解除完了を示すデータを親機に送信し終えるまでの間、誤配線検出処理が免除中となる。   When determining 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 determining that the erroneous wiring detection process is exempted (step S302: YES), the controller 230 ends the erroneous wiring detection process. As described above, in this embodiment, the slave unit 200 does not execute the miswiring detection process when the miswiring detection process is exempted even when the start bit is being transmitted. For example, after the cordless handset 200 detects one of the switches that has been miswired and is controlled to be in the open state, after returning the switch to the short-circuited state according to an instruction from the base unit 100, the control cancellation indicating that the one switch is returned to the short-circuited state The miswiring detection process is exempted until data indicating completion 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 controller 230 determines that the erroneous wiring detection process is not exempted (step S302: NO), the current detector 263 detects the first current (step S303), and the current detector 264 detects the second current. A current is detected (step S304). Then, the comparison unit 270 determines whether or not the first current and the second current are greater than or equal to a threshold value (step S305). When the comparison unit 270 determines that the first current or the second current is not greater than or equal to the threshold (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 greater than or equal to the threshold (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 determining 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 an open state (step S308). On the other hand, when determining that the first current is not less than or equal to the second current (step S307: NO), the control unit 230 controls the second switch to be in an open state (step S309).

制御部230は、ステップS308又はステップS309の処理を完了すると、制御完了を示すデータを親機100に送信する(ステップS310)。制御完了を示すデータは、子機200が、誤配線の検出に応答して一方のスイッチを開放状態にしたことを、親機100に通知するためのデータである。なお、子機100は、スタートビットの送信中に誤配線検出処理を実行するため、スタートビット以後のビット列を、制御完了を示すデータを構成するビット列に書き換えることにより、速やかに制御完了を示すデータを送信することができる。制御部230は、ステップS310の処理を完了すると、誤配線検出処理を終了する。   When the processing of step S308 or step S309 is completed, control unit 230 transmits data indicating the completion of control to parent device 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 detection of erroneous wiring. Since slave unit 100 executes miswiring detection processing during transmission of a start bit, data indicating control completion is promptly rewritten by replacing the bit string after the start bit with a bit string constituting data indicating control completion. Can be sent. When the process of step S310 is completed, the controller 230 ends the erroneous wiring detection process.

次に、図6に示すフローチャートを参照して、親機100が実行する通信制御処理について説明する。この通信制御処理は、複数の子機のうちいずれかの子機により誤配線が検出された場合に、適切な子機により適切な通信線対が切り離されるようにするための処理である。親機100は、電源が投入されると、図6に示す通信制御処理の実行を開始する。   Next, communication control processing executed by the parent device 100 will be described with reference to the flowchart shown in FIG. This communication control process is a process for causing an appropriate pair of communication lines to be disconnected by an appropriate slave unit when an erroneous wiring is detected by any one of the plurality of slave units. When power is turned on, base 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 processing of step S401 is completed, control unit 130 determines whether data indicating control completion 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, generates data for one frame, and whether the generated data for one frame is data indicating completion of control. Is determined. The first slave unit is a slave unit that has transmitted data indicating control completion, and is a slave unit that has detected an incorrect wiring. In the present embodiment, it is assumed that the first slave unit is the slave unit 200. If it is determined that data indicating control completion has not been received from the first slave unit (step S402: NO), control unit 130 returns the process to step S401.

一方、制御部130は、制御完了を示すデータを第1の子機から受信したと判別すると(ステップS402:YES)、応答を要求するデータを全ての子機に送信する(ステップS403)。応答を要求するデータは、親機100と注目する子機とが通信可能であるか否かを判別するために、応答を示すデータを親機100に向けて送信することを注目する子機に要求するデータである。応答を示すデータは、応答を要求するデータを親機100から受信した子機が、親機100に返信するデータである。   On the other hand, when determining that the data indicating the completion of control is received from the first slave unit (step S402: YES), control unit 130 transmits data requesting a response to all the slave units (step S403). The data requesting the response is sent to the slave unit that is interested in transmitting the data indicating the response to the master unit 100 in order to determine whether the master unit 100 and the slave unit that is focused can communicate with each other. The requested data. The data indicating the response is data returned from the slave unit that has received the data requesting the response from the master unit 100 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 parent device 100 to the target child device, a polling method is employed in which the target child device transmits some data to the parent device 100. Accordingly, the content of data requesting a response may be anything, and the content of data indicating a response may be anything. The control unit 130 sequentially transmits data requesting a response to each of the child device 200, the child device 300, the child device 400, and the child device 500. Note that the control unit 130 may not transmit 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 base unit 100 determines the bit string that constitutes the data indicating the response in step S104, and the data indicating the response is the base unit in the processing from step S105 to step S110. 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 data indicating responses has been received from all the slave units (step S404). The reception of data indicating responses from all the slave units means that the master unit 100 and all the slave units can normally communicate in the wiring state after the switch control by the first slave unit. . On the other hand, the fact that no data indicating a response is received from any of the slave units means that the master unit 100 and any of the slave units cannot communicate normally in the wiring state after the switch control by the first slave unit.

制御部130は、全ての子機から応答を示すデータを受信したと判別すると(ステップS404:YES)、ステップS401に処理を戻す。一方、制御部130は、いずれかの子機から応答を示すデータを受信しないと判別すると(ステップS404:NO)、制御解除を要求するデータを第1の子機に送信する(ステップS405)。   If it is determined that data indicating responses from all the slave units has been received (step S404: YES), control unit 130 returns the process to step S401. On the other hand, when determining that data indicating a response is not received from any of the slave units (step S404: NO), control unit 130 transmits data requesting control release 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 control release from the master unit 100 controls one of the switches that have been controlled to the open state to a short-circuit state in step S103. Then, in step S104, the first slave unit determines a bit string that constitutes data indicating completion of control release, and transmits data indicating a response to master unit 100 in the processing from step S105 to step S110. In this case, in step S302, the first slave unit determines that erroneous wiring detection is being exempted, and does not execute the erroneous wiring detection process.

制御部130は、ステップS405の処理を完了すると、制御解除完了を示すデータを第1の子機から受信する(ステップS406)。制御部130は、ステップS406の処理を完了すると、応答を要求するデータを第2の子機に送信する(ステップS407)。第2の子機は、ステップS404の判別処理において、応答を示すデータが受信されなかった子機である。ステップS407において送信される応答を要求するデータとステップS403において送信される応答を要求するデータとは、同様のデータでもよいし、異なるデータでもよい。制御部130は、ステップS407の処理を完了すると、ステップS401に処理を戻す。   When the processing of step S405 is completed, control unit 130 receives data indicating completion of control release from the first slave unit (step S406). When the processing of step S406 is completed, 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 has not been received in the determination process of step S404. The data requesting the response transmitted in step S407 and the data requesting the response transmitted in step S403 may be the same data or different data. When the control section 130 completes the process step of step S407, the control section 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 base unit 100 determines the bit string that constitutes the data indicating the response in step S104, and the data indicating the response in the processing from step S105 to step S110. Is transmitted to base unit 100. The second slave unit detects an incorrect wiring in an erroneous wiring detection process executed when data indicating a response is transmitted to the master unit 100. Then, in step S308 or step S309, the second slave unit controls one of the switches to the open state, and in step S310, transmits data indicating control completion to master unit 100.

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

例えば、図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 an error wiring is first detected by the slave unit 200. In this case, the path from the terminal pair 246 to the terminal pair 345 is longer than the path from the terminal pair 245 to the terminal pair 145. Therefore, the switch 262 connected to the terminal pair 246 is controlled to the open state. Then, the route from the slave device 300 to the master device 100 is only the route from the terminal pair 346 to the terminal pair 146, but the length of this route is 20m + 50m + 50m = 120m, which exceeds 100m. For this reason, the slave unit 300 cannot communicate with the master unit 100. Then, base unit 100 transmits data requesting control release to slave unit 200, causes slave unit 200 to control switch 262 to a short-circuit state, and transmits data requesting response to slave unit 300.

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

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

(実施形態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, the example in which the terminal pair provided in the parent device 100 and the plurality of child devices is two has been described. In the present invention, the number of terminal pairs provided in the parent device 100 or the plurality of child devices is not limited to this example as long as there is a possibility that a plurality of paths connecting the parent device 100 and any one of the child devices 200 may occur. . For example, the number of terminal pairs provided in the parent device 100 or the plurality of child devices may be one or three or more. Hereinafter, an example in which the parent device 100 includes one terminal pair, the child device 200 includes three terminal pairs, and the child device 300, the child device 400, and the child device 500 include two terminal pairs will be described.

図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と誤接続されているものとする。   With reference to FIG. 7, the structure of the communication system 1100 which concerns on this embodiment is demonstrated. The communication system 1100 includes a parent device 101, a child device 201, a child device 300, a child device 400, and a child device 500. The terminal pair 145 included in the parent device 101 is connected to the terminal pair 245 included in the child device 201 by the communication line pair 13. The terminal pair 246 included in the child device 201 is connected to the terminal pair 345 included in the child device 300 through the communication line pair 23. The terminal pair 249 provided in the child device 201 is connected to the terminal pair 445 provided in the child device 400 by the communication line pair 33. The terminal pair 446 provided in the child device 400 is connected to the terminal pair 545 provided in the child device 500 by the communication line pair 43. Here, it is assumed that the terminal pair 346 included in the child device 300 is erroneously connected to the terminal pair 546 included in the child device 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 a configuration of the slave unit 201 according to the present embodiment. The subunit | mobile_unit 201 is the structure by which the terminal pair 249, the switch 267, and the electric current detection part 268 were added to the subunit | mobile_unit 200. FIG. The terminal pair 249 includes a terminal 247 and a terminal 248. Terminal 247 is connected to communication line 31. Further, the terminal 247 is connected to the connection point 265 via the switch 267. Terminal 248 is connected to communication line 32. 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. The switch 267 is in a conductive / non-conductive state between the terminal 247 and the connection point 265, and the terminal 248. And the connection / disconnection point 266 are controlled. The switch 267 is controlled to be in a conductive / non-conductive state according to control by the control unit 230. The current detection unit 268 detects a current flowing between the terminal 247 and the connection point 265, that is, a current flowing in 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. The subunit | mobile_unit 201 detects a 3rd electric current after the process of step S304 in the miswiring detection process shown in FIG. The third current is a current detected by the current detection unit 268. Moreover, the subunit | mobile_unit 201 discriminate | determines in step S305 whether two electric currents among a 1st electric current, a 2nd electric current, and a 3rd electric current are more than a threshold value. And the subunit | mobile_unit 201 controls the switch corresponding to the electric current which is not the maximum among the electric current more than a threshold value to an 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 greater than the threshold value, and the first current is larger than any of the second current and the third current, the second current The switch 262 corresponding to the current and the switch 267 corresponding to the third current are controlled to be open. According to such control, it can be expected that all the routes that are not the shortest of the routes connecting the child device 201 and the parent device 100 are disconnected from the child device 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 path connecting slave unit 201 and master unit 100, and no loop wiring exists between slave unit 201 and master unit 100. Accordingly, no erroneous wiring is detected in the erroneous wiring detection process executed by the slave unit 201. However, there are a plurality of routes in the route connecting child device 300 and parent device 100, the route connecting child device 400 and parent device 100, and the route connecting child device 500 and parent device 100. Therefore, an erroneous wiring is detected in the erroneous wiring detection process executed by the slave unit 300, the slave unit 400, and the slave unit 500.

例えば、子機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 among the slave units 300, 400, and 500 executes the miswiring detection process earliest. In this case, in the miswiring 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. . For this reason, from the subunit | mobile_unit 300, the communication line pair 53 is cut | disconnected and the path | route 2 is cut | disconnected. In this case, the length of the route from the parent device 100 to all the child devices is 100 m or less, and the processing 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 among the slave units 300, 400, and 500 executes the miswiring 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 parent device 100 is 30 m + 20 m = 50 m, and the route 2 from the terminal pair 446 to the parent device 100 is 30 m + 40 m + 50 m + 20 m = 140 m. . For this reason, from the subunit | mobile_unit 400, the communication line pair 43 is cut | disconnected and the path | route 2 is cut | disconnected. In this case, the length of the route from the child device 500 to the parent device 100 is 40 m + 50 m + 20 m = 110 m, which exceeds 100 m. Accordingly, communication between the parent device 100 and the child device 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 parent device 100, the disconnection of the path 2 by the child device 400 is released, and the erroneous wiring detection process by the child device 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 30m + 30m + 20m = 80m, and the route 2 from the terminal pair 546 to the master unit 100 is 40m + 50m + 20m = 110m. . For this reason, from the subunit | mobile_unit 500, the communication line pair 53 is cut | disconnected and the path | route 2 is cut | disconnected. In this case, the length of the route from the parent device 100 to all the child devices is 100 m or less, and the processing is completed.

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

(変形例)
以上、本発明の実施形態を説明したが、本発明を実施するにあたっては、種々の形態による変形及び応用が可能である。
(Modification)
As mentioned above, although embodiment of this invention was described, when implementing this invention, a deformation | transformation and application with a various form are possible.

本発明において、上記実施形態において説明した構成、機能、動作のどの部分を採用するのかは任意である。また、本発明において、上述した構成、機能、動作のほか、更なる構成、機能、動作が採用されてもよい。   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 configuration, function, and operation described above, further configuration, function, and operation may be employed.

実施形態1では、誤配線が検出された場合、通信線対が自動的に切り離される例について説明した。本発明において、誤配線が検出された場合、他の処理が実行されてもよい。例えば、誤配線が検出された場合、誤配線を検出した子機から親機100に、誤配線を検出したことを示すデータが送信されてもよい。この場合、親機100は、例えば、誤配線が検出されたことを示す情報を、通知部150を介して、光、画像、音声によりユーザに通知することができる。また、通信線対を自動的に切り離す処理とともに、誤配線が検出された旨をユーザに通知する処理が実行されてもよい。   In the first embodiment, an example in which a 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 device that has detected erroneous wiring to the parent device 100. In this case, for example, base unit 100 can notify the user of information indicating that a miswiring has been detected via light, image, or sound via 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, the example in which the switch 261 is one double-sided switch has been described. In the present invention, the switch 261 may be configured by two switch groups, that is, a switch disposed between the terminal 241 and the connection point 265 and a switch disposed 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 simultaneously. The switch 262 may also be configured by two switch groups instead of the double switch.

実施形態1では、通信システム1000が照明システムであり、親機100が照明制御機器であり、子機200と子機300と子機400と子機500とが照明機器である例について説明した。本発明において、通信システムは、他のシステムであってもよいことは勿論である。例えば、通信システム1000が空調システムであり、親機100が室外機であり、子機200と子機300と子機400と子機500とが室内機であってもよい。また、複数の子機の個数は、4個に限定されないことは勿論である。   In the first embodiment, an example in which the communication system 1000 is a lighting system, the parent device 100 is a lighting control device, and the child device 200, the child device 300, the child device 400, and the child device 500 are lighting devices has been described. In the present invention, the communication system may of course 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. Of course, 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, the 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 may not 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 be a signal output to a component inside the control unit 230 instead of a signal output to the outside of the control unit 230. For example, the miswiring detection signal may be an interrupt signal for generating 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.

本発明は、本発明の広義の精神と範囲を逸脱することなく、様々な実施形態及び変形が可能とされるものである。また、上述した実施形態は、本発明を説明するためのものであり、本発明の範囲を限定するものではない。つまり、本発明の範囲は、実施形態ではなく、特許請求の範囲によって示される。そして、特許請求の範囲内及びそれと同等の発明の意義の範囲内で施される様々な変形が、本発明の範囲内とみなされる。   Various embodiments and modifications can be made to the present invention without departing from the broad spirit and scope of the present invention. Further, 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 shown not by the embodiments but by the claims. Various modifications within the scope of the claims and within the scope of the equivalent invention are considered to be within the scope of the present invention.

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

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 Base unit, 110, 210 Transmission circuit, 111 , 113, 211 NPN transistor, 112, 114 PNP transistor, 120, 220 receiver circuit, 121, 161, 291 power supply terminal, 122 operational amplifier, 123, 162 capacitor, 124, 125, 126, 212, 222, 223 resistance, 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, 446, 545, 546 Terminal pair, 150 notification unit, 200, 201, 300, 400, 500 cordless handset, 221 Zener diode, 250 rectifier circuit, 251, 252, 253, 254 diode, 261 , 262, 267 switch, 263, 264, 268 current detection unit, 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 comprising a master unit and a plurality of slave units, wherein the master unit and the plurality of slave units are mutually connected by a plurality of communication line pairs,
The base unit is
A receiving circuit that receives data from the plurality of slave units by detecting the presence or absence of current flowing through the communication line pair connected to the master unit among the plurality of communication line pairs;
The plurality of slave units are:
A first terminal pair to which a first communication line pair among the plurality of communication line pairs is connected;
A second terminal pair to which a second communication line pair is connected among the plurality of communication line pairs;
A first connection point to which one terminal of the first terminal pair and one terminal of the second terminal pair are connected; the other terminal of the first terminal pair; and the second terminal. A transmission circuit that transmits data to the master unit by controlling a conduction / non-conduction state between the second connection point to which the other terminal of the terminal pair is connected;
First current detection means for detecting a first current flowing in the first communication line pair;
Second current detection means for detecting a second current flowing in the second communication line pair;
When the first connection point and the second connection point are controlled to be in a conductive state when the first current and the second current are equal to or greater than a predetermined threshold, Signal output means for outputting a predetermined signal,
Communications system.
前記複数の子機は、
前記第1の端子対のうち前記一方の端子と前記第1の接続点との間の短絡・開放状態を制御するとともに、前記第1の端子対のうち前記他方の端子と前記第2の接続点との間の短絡・開放状態を制御する第1のスイッチと、
前記第2の端子対のうち前記一方の端子と前記第1の接続点との間の短絡・開放状態を制御するとともに、前記第2の端子対のうち前記他方の端子と前記第2の接続点との間の短絡・開放状態を制御する第2のスイッチと、
前記信号出力手段から前記信号が出力された場合、前記第1のスイッチと前記第2のスイッチとのうち一方のスイッチを開放状態に制御する制御手段と、を備える、
請求項1に記載の通信システム。
The plurality of slave units are:
Controls a short circuit / open state between the one terminal of the first terminal pair and the first connection point, and controls the other terminal of the first terminal pair and the second connection. A first switch for controlling a short circuit / open state between the points;
The second terminal pair controls a short circuit / open state between the one terminal and the first connection point, and the other terminal and the second connection of the second terminal pair. A second switch for controlling a short circuit / open state between the points;
Control means for controlling one of the first switch and the second switch to an open state when the signal is output from the signal output means;
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 the signal output 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 open.
The communication system according to claim 2.
前記親機は、前記親機に接続される通信線対間に印加する電圧の極性を切り替えることにより前記複数の子機にデータを送信する送信回路を備え、
前記複数の子機は、前記第1の接続点と前記第2の接続点との間に印加される電圧の極性を検出することにより前記親機からデータを受信する受信回路を備え、
前記複数の子機は、前記一方のスイッチを開放状態に制御した場合、制御完了を示すデータを前記親機に送信し、
前記親機は、前記制御完了を示すデータを前記複数の子機のうち第1の子機から受信した場合、応答を要求するデータを前記複数の子機に送信し、
前記複数の子機は、前記応答を要求するデータを前記親機から受信した場合、応答を示すデータを前記親機に送信し、
前記親機は、前記複数の子機のうち、前記応答を示すデータが受信されない第2の子機が存在する場合、制御解除を要求するデータを前記第1の子機に送信し、
前記第1の子機は、前記制御解除を要求するデータを前記親機から受信した場合、前記一方のスイッチを短絡状態に制御し、制御解除完了を示すデータを前記親機に送信し、
前記親機は、前記制御解除完了を示すデータを前記第1の子機から受信した場合、前記応答を要求するデータを前記第2の子機に送信する、
請求項3に記載の通信システム。
The parent device includes a transmission circuit that transmits data to the plurality of child devices by switching a polarity of a voltage applied between a pair of communication lines connected to the parent device,
The plurality of slave units includes a reception circuit that receives data from the master unit by detecting a polarity of a voltage applied between the first connection point and the second connection point,
When the plurality of slave units control the one switch to an open state, the control unit transmits data indicating control completion 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, it transmits data requesting a response to the plurality of slave units,
The plurality of slave units, when receiving data requesting the response from the master unit, transmits data indicating a response to the master unit,
When there is a second slave unit that does not receive data indicating the response among the plurality of slave units, the master unit transmits data requesting control release to the first slave unit,
When the first slave unit receives the data for requesting the control release from the master unit, the one slave unit is controlled to be in a short-circuit state, and the data indicating the completion of the control release is transmitted to the master unit,
When the master unit receives data indicating the completion of control release from the first slave unit, the master unit transmits 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 devices communicating with a master device,
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:
A first terminal pair to which a first communication line pair among the plurality of communication line pairs is connected;
A second terminal pair to which a second communication line pair is connected among the plurality of communication line pairs;
A first connection point to which one terminal of the first terminal pair and one terminal of the second terminal pair are connected; the other terminal of the first terminal pair; and the second terminal. A transmission circuit that transmits data to the master unit by controlling a conduction / non-conduction state between the second connection point to which the other terminal of the terminal pair is connected;
First current detection means for detecting a first current flowing in the first communication line pair;
Second current detection means for detecting a second current flowing in the second communication line pair;
When the first connection point and the second connection point are controlled to be in a conductive state when the first current and the second current are equal to or greater than a predetermined threshold, Signal output means for outputting a predetermined signal,
Communication equipment.
親機と複数の子機とを備え、複数の通信線対により前記親機と前記複数の子機とが相互に接続される通信システムにおける誤配線検出方法であって、
前記複数の通信線対のうち同一の子機に接続される2以上の通信線対を相互に接続し、
前記複数の通信線対のうち前記親機に接続される通信線対間に電圧を印加し、
前記複数の子機のうち第1の子機が備える第1の端子対のうち一方の端子と前記第1の子機が備える第2の端子対のうち一方の端子とが接続された第1の接続点と、前記第1の端子対のうち他方の端子と前記第2の端子対のうち他方の端子とが接続された第2の接続点との間を導通状態に制御し、
前記複数の通信線対のうち前記第1の端子対に接続される第1の通信線対に流れる第1の電流と、前記複数の通信線対のうち前記第2の端子対に接続される第2の通信線対に流れる第2の電流とが予め定められた閾値以上である場合、予め定められた信号を出力する、
誤配線検出方法。
A miswiring detection method in a communication system comprising a master unit and a plurality of slave units, wherein the master unit and the plurality of slave units are mutually connected by a plurality of communication line pairs,
Connecting two or more communication line pairs connected to the same slave unit among the plurality of communication line pairs,
A voltage is applied between a pair of communication lines connected to the parent device among the plurality of communication line pairs,
A first terminal connected to one terminal of a first terminal pair included in the first slave unit and a second terminal pair included in the first slave unit among the plurality of slave units. And a second connection point where the other terminal of the first terminal pair and the other terminal of the second terminal pair are connected to each other,
Of the plurality of communication line pairs, the first current flowing through the first communication line pair connected to the first terminal pair, and 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, a predetermined signal is output.
Incorrect wiring 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 true JP2019016919A (en) 2019-01-31
JP6846999B2 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)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000278351A (en) * 1998-06-12 2000-10-06 Yazaki Corp Communication network and communication apparatus

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000278351A (en) * 1998-06-12 2000-10-06 Yazaki Corp Communication network and communication apparatus

Also Published As

Publication number Publication date
JP6846999B2 (en) 2021-03-24

Similar Documents

Publication Publication Date Title
JP6320544B2 (en) Method for processing impedance abnormality of power adapter, terminal and charging circuit
US10153652B2 (en) Charging system
JP4790729B2 (en) Combination of high-side and low-side current sensing in a system for providing power over a communication link
US20090031152A1 (en) Method for starting up at least one field device
US9092208B2 (en) Device and method for powering Ethernet midspan device and endspan device
EP2587718B1 (en) Switching of conductor pair in power over ethernet system
US7656447B2 (en) Camera module for communicating through I2C method
US20150125005A1 (en) Audio interface self-adaptation device
WO2016157472A1 (en) Communication system and communication apparatus
JP2018013932A (en) Electronic apparatus
US20170181240A1 (en) High voltage resistant transmitting circuit for devices communicating on dali bus
CN111355593B (en) Support PD equipment of multi-mode PoE power supply
JP2019016919A (en) Communication system, communication device, and miswiring detection method
EP3133569B1 (en) A slave unit for automatic fire alarm system and an automatic fire alarm system
US9448604B2 (en) Powered device
JP6197608B2 (en) Power supply / reception device and control method
JP2007323464A (en) Communication control device
JP2005278267A (en) Current monitoring device
JP2017084179A (en) Fire sensor for automatic fire alarm systems, and automatic fire alarm system using the same
US20150026496A1 (en) Powered device, power supply system, and operation mode selection method
JP2007142774A (en) Surveillance device
CN111901130B (en) Ethernet power supply equipment interface circuit and Ethernet power supply equipment
JP2019029707A (en) Communication system, communication equipment, and communication control method
KR20190067431A (en) Adaptor, method of controlling the same and network device
JP6481933B2 (en) Automatic fire alarm system slave unit and automatic fire alarm system using the same

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