Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6971679B2 - Communication system, communication equipment, and communication control method - Google Patents
[go: Go Back, main page]

JP6971679B2 - Communication system, communication equipment, and communication control method - Google Patents

Communication system, communication equipment, and communication control method Download PDF

Info

Publication number
JP6971679B2
JP6971679B2 JP2017144141A JP2017144141A JP6971679B2 JP 6971679 B2 JP6971679 B2 JP 6971679B2 JP 2017144141 A JP2017144141 A JP 2017144141A JP 2017144141 A JP2017144141 A JP 2017144141A JP 6971679 B2 JP6971679 B2 JP 6971679B2
Authority
JP
Japan
Prior art keywords
voltage
master unit
slave unit
terminal
side terminal
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.)
Expired - Fee Related
Application number
JP2017144141A
Other languages
Japanese (ja)
Other versions
JP2019029707A (en
Inventor
正裕 石原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2017144141A priority Critical patent/JP6971679B2/en
Publication of JP2019029707A publication Critical patent/JP2019029707A/en
Application granted granted Critical
Publication of JP6971679B2 publication Critical patent/JP6971679B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Dc Digital Transmission (AREA)

Description

本発明は、通信システム、通信機器、及び、通信制御方法に関する。 The present invention relates to communication systems, communication devices, and communication control methods.

現在、親機と複数の子機とが通信線対で相互に接続された通信システムが知られている。例えば、特許文献1には、中央処理装置と複数の端末器とが1対の伝送線で接続された信号伝送システムが記載されている。 Currently, a communication system in which a master unit and a plurality of slave units are connected to each other by a communication line pair 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 apparatus transmits data to the terminal by voltage transmission, and the terminal transmits data to the central processing apparatus by current transmission. In this signal transmission system, the terminal cannot know whether or not another terminal is transmitting current. Therefore, in this signal transmission system, in order to avoid collision of current transmission, polling by a central processing unit, transmission of a synchronization signal, and the like are required.

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

しかしながら、ポーリングや同期信号の送信などにより電流伝送の衝突を回避しようとすると、処理負荷が増大し、通信システムのスループットが低下する。このため、通信システムのスループットを低下させずに電流伝送の衝突を抑制する技術が望まれている。 However, if an attempt is made to avoid a collision of current transmission by polling or transmission of a synchronization signal, the processing load increases and the throughput of the communication system decreases. Therefore, there is a demand for a technique for suppressing collision of current transmission without reducing the throughput of the communication system.

本発明は、上記問題に鑑みてなされたものであり、通信システムのスループットを低下させずに電流伝送の衝突を抑制する通信システム、通信機器、及び、通信制御方法を提供することを目的とする。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a communication system, a communication device, and a communication control method that suppress a collision of current transmission without reducing the throughput of the communication system. ..

上記目的を達成するために、本発明に係る通信システムは、
親機側端子対を備える親機と第1の子機側端子対を備える第1の子機と第2の子機側端子対を備える第2の子機とを備え、前記親機側端子対と前記第1の子機側端子対と前記第2の子機側端子対とが通信線対により相互に接続される通信システムであって、
前記親機は
前記親機側端子対間に電圧を印加し、前記親機側端子対間に電流が流れるときに前記親機側端子対間に印加する電圧を低下させる電圧低下回路を備える電圧印加回路と、
前記親機側端子対間に流れる電流の有無を検出することにより、前記第1の子機から第1のシリアルデータを受信し、前記第2の子機から第2のシリアルデータを受信する受信回路と、を備え、
前記第1の子機は、前記第1の子機側端子対間の導通・非導通状態を制御することにより前記親機に前記第1のシリアルデータを送信する送信回路を備え、
前記第2の子機は、
前記第2の子機側端子対間の導通・非導通状態を制御することにより前記親機に前記第2のシリアルデータを送信する送信回路と、
前記第2の子機側端子対間に印加される電圧が低下したことを検出する電圧低下検出回路と、
前記電圧低下検出回路により前記第2の子機側端子対間に印加された電圧が低下したことが検出されない場合、前記第2の子機が備える前記送信回路に前記第2のシリアルデータを送信させる制御回路と、を備え、
前記電圧印加回路は、前記親機側端子対間に印加する電圧の極性を切り替えることにより前記第2の子機に第3のシリアルデータを送信する送信回路であり、
前記第2の子機は、前記第2の子機側端子対間に印加される電圧の極性を検出することにより前記親機から前記第3のシリアルデータを受信する受信回路を備え、
前記制御回路は、前記親機が備える前記送信回路から前記第3のシリアルデータが送信されないときに前記第2の子機が備える前記受信回路により検出された極性に基づいて、前記第3のシリアルデータの論理を決定する
In order to achieve the above object, the communication system according to the present invention is
A master unit having a master unit side terminal pair, a first slave unit having a first slave unit side terminal pair, and a second slave unit having a second slave unit side terminal pair are provided, and the master unit side terminal is provided. A communication system in which a pair, the first handset side terminal pair, and the second handset side terminal pair are connected to each other by a communication line pair.
The master unit is a voltage provided with a voltage reduction circuit that applies a voltage between the master unit side terminal pairs and reduces the voltage applied between the master unit side terminal pairs when a current flows between the master unit side terminal pairs. With the application circuit
Reception that receives the first serial data from the first slave unit and receives the second serial data from the second slave unit by detecting the presence or absence of a current flowing between the terminal pairs on the master unit side. With a circuit,
The first slave unit includes a transmission circuit that transmits the first serial data to the master unit by controlling the conduction / non-conduction state between the terminal pairs on the first slave unit side.
The second handset is
A transmission circuit that transmits the second serial data to the master unit by controlling the conduction / non-conduction state between the terminal pairs on the second slave unit side.
A voltage drop detection circuit that detects that the voltage applied between the second handset side terminal pair has dropped, and
When the voltage drop detection circuit does not detect that the voltage applied between the second handset side terminal pairs has dropped, the second serial data is transmitted to the transmission circuit included in the second handset. for example Bei and a control circuit which,
The voltage application circuit is a transmission circuit that transmits third serial data to the second slave unit by switching the polarity of the voltage applied between the master unit side terminal pairs.
The second slave unit includes a receiving circuit that receives the third serial data from the master unit by detecting the polarity of the voltage applied between the terminal pairs on the second slave unit side.
The control circuit has the third serial based on the polarity detected by the receiving circuit included in the second slave unit when the third serial data is not transmitted from the transmitting circuit included in the master unit. Determine the logic of the data .

本発明では、親機側端子対間に電流が流れるときに親機側端子対間に印加される電圧が低下し、子機側端子対間に印加された電圧が低下しない場合、子機からシリアルデータが送信される。従って、本発明によれば、通信システムのスループットを低下させずに電流伝送の衝突を抑制することができる。 In the present invention, when the voltage applied between the master unit side terminal pairs decreases and the voltage applied between the slave unit side terminal pairs does not decrease when a current flows between the master unit side terminal pairs, the slave unit Serial data is sent. Therefore, according to the present invention, it is possible to suppress the collision of current transmission without reducing the throughput of the communication system.

本発明の実施形態に係る通信システムの構成図Configuration diagram of the communication system according to the embodiment of the present invention 本発明の実施形態に係る親機及び子機の構成図Configuration diagram of the master unit and the slave unit according to the embodiment of the present invention. 本発明の実施形態に係る子機が実行するデータ送信処理を示すフローチャートA flowchart showing a data transmission process executed by the slave unit according to the embodiment of the present invention. 本発明の実施形態に係る子機が実行するデータ受信処理を示すフローチャートA flowchart showing a data reception process executed by the slave unit according to the embodiment of the present invention.

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

親機100は、直流電源(図示せず)を備え、複数の子機に電力を供給する。複数の子機は、親機100から供給された電力で動作する。親機100は、電圧信号により複数の子機にデータを送信し、複数の子機は、電流信号により親機100にデータを送信する。本実施形態では、親機100と1つの子機との間では、全二重通信が可能である。例えば、親機100が子機200にデータを送信するときに、子機200が親機100にデータを送信することができる。 The master unit 100 includes a DC power supply (not shown) and supplies electric power to a plurality of slave units. The plurality of slave units operate with the electric power supplied from the master unit 100. The master unit 100 transmits data to a plurality of slave units by a voltage signal, and the plurality of slave units transmit data to the master unit 100 by a current signal. In the present embodiment, full-duplex communication is possible between the master unit 100 and one slave unit. For example, when the master unit 100 transmits data to the slave unit 200, the slave unit 200 can transmit data to the master unit 100.

また、複数の子機は、送信タイミングが競合しない限り、自発的に、親機100にデータを送信することができる。例えば、子機200は、子機300と子機400とが親機100にデータを送信していないときに、自発的に、親機100にデータを送信することができる。なお、複数の子機同士では、データの送受信はなされない。また、本実施形態では、親機100と複数の子機との間で送受信されるデータは、1ビット毎に0又は1が割り当てられるバイナリデータであり、1ビット毎に転送されるシリアルデータである。 Further, the plurality of slave units can voluntarily transmit data to the master unit 100 as long as the transmission timings do not conflict with each other. For example, the slave unit 200 can spontaneously transmit data to the master unit 100 when the slave unit 300 and the slave unit 400 are not transmitting data to the master unit 100. Data is not transmitted or received between the plurality of slave units. Further, in the present embodiment, the data transmitted / received between the master unit 100 and the plurality of slave units is binary data to which 0 or 1 is assigned to each bit, and is serial data transferred to each bit. be.

親機100と複数の子機とは、複数の通信線対(通信線対13、通信線対23、通信線対33)により相互に接続され、複数の通信線対を介して相互に通信する。具体的には、親機100が備える端子対143と子機200が備える端子対243とが通信線対13により接続され、親機100と子機200とが接続される。より詳細には、親機100が備える端子141と子機200が備える端子241とが通信線11により接続され、親機100が備える端子142と子機200が備える端子242とが通信線12により接続される。 The master unit 100 and the plurality of slave units are connected to each other by a plurality of communication line pairs (communication line pair 13, communication line pair 23, communication line pair 33), and communicate with each other via the plurality of communication line pairs. .. Specifically, the terminal pair 143 included in the master unit 100 and the terminal pair 243 included in the slave unit 200 are connected by a communication line pair 13, and the master unit 100 and the slave unit 200 are connected. More specifically, the terminal 141 included in the master unit 100 and the terminal 241 included in the slave unit 200 are connected by the communication line 11, and the terminal 142 included in the master unit 100 and the terminal 242 included in the slave unit 200 are connected by the communication line 12. Be connected.

また、子機200が備える端子対243と子機300が備える端子対343とが通信線対23により接続され、子機200と子機300とが接続される。より詳細には、子機200が備える端子241と子機300が備える端子341とが通信線21により接続され、子機200が備える端子242と子機300が備える端子342とが通信線22により接続される。また、子機300が備える端子対343と子機400が備える端子対443とが通信線対33により接続され、子機300と子機400とが接続される。より詳細には、子機300が備える端子341と子機400が備える端子441とが通信線31により接続され、子機300が備える端子342と子機400が備える端子442とが通信線32により接続される。 Further, the terminal pair 243 included in the slave unit 200 and the terminal pair 343 included in the slave unit 300 are connected by a communication line pair 23, and the slave unit 200 and the slave unit 300 are connected. More specifically, the terminal 241 included in the slave unit 200 and the terminal 341 included in the slave unit 300 are connected by the communication line 21, and the terminal 242 included in the slave unit 200 and the terminal 342 included in the slave unit 300 are connected by the communication line 22. Be connected. Further, the terminal pair 343 included in the slave unit 300 and the terminal pair 443 included in the slave unit 400 are connected by a communication line pair 33, and the slave unit 300 and the slave unit 400 are connected. More specifically, the terminal 341 of the handset 300 and the terminal 441 of the handset 400 are connected by the communication line 31, and the terminal 342 of the handset 300 and the terminal 442 of the handset 400 are connected by the communication line 32. Be connected.

従って、親機100が備える端子141と、子機200が備える端子241と、子機300が備える端子341と、子機400が備える端子441とが相互に接続される。また、親機100が備える端子142と、子機200が備える端子242と、子機300が備える端子342と、子機400が備える端子442とが相互に接続される。 Therefore, the terminal 141 included in the master unit 100, the terminal 241 included in the slave unit 200, the terminal 341 included in the slave unit 300, and the terminal 441 included in the slave unit 400 are interconnected. Further, the terminal 142 included in the master unit 100, the terminal 242 included in the slave unit 200, the terminal 342 included in the slave unit 300, and the terminal 442 included in the slave unit 400 are interconnected.

ここで、親機100は、端子対143間に印加する電圧の極性を切り替えることにより、子機200と子機300と子機400とに、直流電力を供給するとともにデータを送信することができる。一方、子機200は、端子対243間に印加された電圧を整流することにより直流電力を得る。また、子機200は、端子対243間に印加された電圧の極性を判別することにより、親機100からデータを受信することができる。同様に、子機300は、端子対343間に印加された電圧を整流することにより直流電力を得る。また、子機300は、端子対343間に印加された電圧の極性を判別することにより、親機100からデータを受信することができる。子機400に関しても同様である。 Here, the master unit 100 can supply DC power and transmit data to the slave unit 200, the slave unit 300, and the slave unit 400 by switching the polarity of the voltage applied between the terminal pairs 143. .. On the other hand, the slave unit 200 obtains DC power by rectifying the voltage applied between the terminal pairs 243. Further, the slave unit 200 can receive data from the master unit 100 by determining the polarity of the voltage applied between the terminal pairs 243. Similarly, the slave unit 300 obtains DC power by rectifying the voltage applied between the terminal pairs 343. Further, the slave unit 300 can receive data from the master unit 100 by determining the polarity of the voltage applied between the terminal pairs 343. The same applies to the handset 400.

また、親機100は、端子対143間に流れる電流の有無を検出することにより、子機200と子機300と子機400とからデータを受信することができる。一方、子機200は、端子対243間の導通・非導通状態を制御することにより、親機100にデータを送信することができる。また、子機300は、端子対343間の導通・非導通状態を制御することにより、親機100にデータを送信することができる。子機400に関しても同様である。 Further, the master unit 100 can receive data from the slave unit 200, the slave unit 300, and the slave unit 400 by detecting the presence / absence of a current flowing between the terminal pairs 143. On the other hand, the slave unit 200 can transmit data to the master unit 100 by controlling the conduction / non-conduction state between the terminal pairs 243. Further, the slave unit 300 can transmit data to the master unit 100 by controlling the conduction / non-conduction state between the terminal pairs 343. The same applies to the handset 400.

ここで、親機100は、子機200と子機300と子機400とのいずれかによりデータが送信され、端子対143間に電流が流れるとき、端子対143間に印加される電圧を低下させる。一方、子機200は、端子対243間に印加される電圧が低下したことを検出した場合、子機300又は子機400が親機100にデータを送信中であると見做すことができる。同様に、子機300は、端子対343間に印加される電圧が低下したことを検出した場合、子機200又は子機400が親機100にデータを送信中であると見做すことができる。子機400についても同様である。 Here, in the master unit 100, when data is transmitted by any of the slave unit 200, the slave unit 300, and the slave unit 400 and a current flows between the terminal pairs 143, the voltage applied between the terminal pairs 143 is lowered. Let me. On the other hand, when the slave unit 200 detects that the voltage applied between the terminal pairs 243 has decreased, it can be considered that the slave unit 300 or the slave unit 400 is transmitting data to the master unit 100. .. Similarly, when the slave unit 300 detects that the voltage applied between the terminal pairs 343 has dropped, it may be considered that the slave unit 200 or the slave unit 400 is transmitting data to the master unit 100. can. The same applies to the slave unit 400.

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

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

送信回路110は、制御部130による制御に従って、電圧信号によりデータを送信する。送信回路110は、端子対143間に印加する電圧の極性を、+V1と−V1との間で切り替える。具体的には、送信回路110は、制御部130が備える送信端子131(Tx1により示される端子)からHレベルの電圧(例えば、5V)が出力され、制御部130が備える送信端子132(Tx2により示される端子)からLレベルの電圧(例えば、0V)が出力されるとき、端子141に0Vを印加するとともに端子142にV1を印加する。一方、送信回路110は、送信端子131からLレベルの電圧が出力され、送信端子132からHレベルの電圧が出力されるとき、端子141にV1を印加するとともに端子142に0Vを印加する。V1は、親機100の電源電圧であり、例えば、24Vである。なお、送信回路110は、常時、端子対143間に電圧を印加するため、電圧印加回路とも言える。 The transmission circuit 110 transmits data by a voltage signal according to the control by the control unit 130. The transmission circuit 110 switches the polarity of the voltage applied between the terminal pairs 143 between + V1 and −V1. Specifically, in the transmission circuit 110, an H level voltage (for example, 5V) is output from the transmission terminal 131 (terminal indicated by Tx1) included in the control unit 130, and the transmission terminal 132 (Tx2) included in the control unit 130 outputs the H level voltage. When an L level voltage (for example, 0V) is output from the terminal shown), 0V is applied to the terminal 141 and V1 is applied to the terminal 142. On the other hand, when the L level voltage is output from the transmission terminal 131 and the H level voltage is output from the transmission terminal 132, the transmission circuit 110 applies V1 to the terminal 141 and 0V to the terminal 142. V1 is the power supply voltage of the master unit 100, for example, 24V. Since the transmission circuit 110 always applies a voltage between the terminal pairs 143, it can be said to be a voltage application circuit.

送信回路110は、NPN(Negative Positive Negative)トランジスタ111と、NPNトランジスタ112と、抵抗113と、NPNトランジスタ114と、NPNトランジスタ115と、抵抗116と、PNP(Positive Negative Positive)トランジスタ117と、PNPトランジスタ118と、を備える。NPNトランジスタ111のコレクタとNPNトランジスタ114のコレクタとは、電源端子161に接続される。NPNトランジスタ111のベースとNPNトランジスタ112のコレクタとPNPトランジスタ117のベースとは送信端子131に接続される。NPNトランジスタ111のエミッタは、NPNトランジスタ112のベースと抵抗113の一端とに接続される。NPNトランジスタ112のエミッタと抵抗113の他端とPNPトランジスタ117のエミッタとは、端子142に接続される。 The transmission circuit 110 includes an NPN (Negative Positive Negative) transistor 111, an NPN transistor 112, a resistor 113, an NPN transistor 114, an NPN transistor 115, a resistor 116, a PNP (Positive Negative Positive) transistor 117, and a PNP transistor. It is equipped with 118. The collector of the NPN transistor 111 and the collector of the NPN transistor 114 are connected to the power supply terminal 161. The base of the NPN transistor 111, the collector of the NPN transistor 112, and the base of the PNP transistor 117 are connected to the transmission terminal 131. The emitter of the NPN transistor 111 is connected to the base of the NPN transistor 112 and one end of the resistor 113. The emitter of the NPN transistor 112, the other end of the resistor 113, and the emitter of the PNP transistor 117 are connected to the terminal 142.

NPNトランジスタ114のベースとNPNトランジスタ115のコレクタとPNPトランジスタ118のベースとは送信端子132に接続される。NPNトランジスタ114のエミッタは、NPNトランジスタ115のベースと抵抗116の一端とに接続される。NPNトランジスタ115のエミッタと抵抗116の他端とPNPトランジスタ118のエミッタとは、端子141に接続される。PNPトランジスタ117のコレクタとPNPトランジスタ118のコレクタとは、コンデンサ123を介してオペアンプ122の非反転入力端子に接続されるとともに、抵抗126を介して接地端子128に接続される。 The base of the NPN transistor 114, the collector of the NPN transistor 115, and the base of the PNP transistor 118 are connected to the transmission terminal 132. The emitter of the NPN transistor 114 is connected to the base of the NPN transistor 115 and one end of the resistor 116. The emitter of the NPN transistor 115, the other end of the resistor 116, and the emitter of the PNP transistor 118 are connected to the terminal 141. The collector of the PNP transistor 117 and the collector of the PNP transistor 118 are connected to the non-inverting input terminal of the operational amplifier 122 via the capacitor 123, and are connected to the ground terminal 128 via the resistor 126.

NPNトランジスタ111とNPNトランジスタ112と抵抗113とは、端子142から端子141に流れる電流(端子対143間に流れる電流)の大きさを制限する電流制限回路151を構成する。電流制限回路151は、端子142から端子141に流れる電流の増加に伴って電源端子161と端子142との間の電圧を高くする機能を有する。ここで、電源端子161と端子142との間の電圧が高くなることは、0Vが印加される端子141と端子142との間の電圧(端子対143間に印加される電圧)が低くなることを意味する。つまり、電流制限回路151は、端子対143間に電流が流れるときに端子対143間に印加される電圧を低下させる電圧低下回路とも言える。以下、電流制限回路151の動作について説明する。 The NPN transistor 111, the NPN transistor 112, and the resistor 113 constitute a current limiting circuit 151 that limits the magnitude of the current flowing from the terminals 142 to the terminals 141 (current flowing between the terminals 143). The current limiting circuit 151 has a function of increasing the voltage between the power supply terminal 161 and the terminal 142 as the current flowing from the terminal 142 to the terminal 141 increases. Here, the higher voltage between the power supply terminal 161 and the terminal 142 means that the voltage between the terminal 141 and the terminal 142 to which 0 V is applied (the voltage applied between the terminals 143) becomes lower. Means. That is, the current limiting circuit 151 can be said to be a voltage drop circuit that lowers the voltage applied between the terminal pairs 143 when a current flows between the terminal pairs 143. Hereinafter, the operation of the current limiting circuit 151 will be described.

まず、端子対143間が非導通状態に制御されている場合を想定する。なお、子機200が端子対243間を非導通状態に制御し、子機300が端子対343間を非導通状態に制御し、子機400が端子対443間を非導通状態に制御する場合、端子対143間が非導通状態に制御される。まず、送信端子132からLレベルの電圧が出力されると、NPNトランジスタ114とNPNトランジスタ115とがオフし、PNPトランジスタ118がオンする。また、送信端子131からHレベルの電圧が出力されると、NPNトランジスタ111とNPNトランジスタ112とがオンし、PNPトランジスタ117がオフする。しかしながら、端子対143間には電流は流れず、端子142の電圧は電源端子161の電圧であるV1と同程度となる。つまり、この場合、電流制限回路151は、電流を制限したり、電圧を低下させたりする機能を発揮しない。 First, it is assumed that the terminal pair 143 is controlled in a non-conducting state. When the slave unit 200 controls the terminal pair 243 to the non-conducting state, the slave unit 300 controls the terminal pair 343 to the non-conducting state, and the slave unit 400 controls the terminal pair 443 to the non-conducting state. , The terminal pair 143 is controlled to be in a non-conducting state. First, when an L-level voltage is output from the transmission terminal 132, the NPN transistor 114 and the NPN transistor 115 are turned off, and the PNP transistor 118 is turned on. Further, when the H level voltage is output from the transmission terminal 131, the NPN transistor 111 and the NPN transistor 112 are turned on, and the PNP transistor 117 is turned off. However, no current flows between the terminals 143, and the voltage of the terminals 142 is about the same as V1 which is the voltage of the power supply terminal 161. That is, in this case, the current limiting circuit 151 does not exert the function of limiting the current or lowering the voltage.

次に、端子対143間が導通状態に制御されている場合を想定する。なお、子機200が端子対243間を導通状態に制御する場合、子機300が端子対343間を導通状態に制御する場合、又は、子機400が端子対443間を導通状態に制御する場合、端子対143間が導通状態に制御される。まず、送信端子132からLレベルの電圧が出力されると、NPNトランジスタ114とNPNトランジスタ115とがオフし、PNPトランジスタ118がオンする。ここで、送信端子131からHレベルの電圧が出力されると、NPNトランジスタ111の電流路に及び抵抗113に流れる電流が徐々に増加する。 Next, it is assumed that the terminal pair 143 is controlled to be in a conductive state. The slave unit 200 controls the terminal pair 243 to be in a conductive state, the slave unit 300 controls the terminal pair 343 to be in a conductive state, or the slave unit 400 controls the terminal pair 443 to be in a conductive state. In this case, the connection between the terminal pairs and 143 is controlled to be in a conductive state. First, when an L-level voltage is output from the transmission terminal 132, the NPN transistor 114 and the NPN transistor 115 are turned off, and the PNP transistor 118 is turned on. Here, when an H-level voltage is output from the transmission terminal 131, the current flowing through the current path of the NPN transistor 111 and the resistor 113 gradually increases.

しかしながら、抵抗113の両端の電圧(抵抗113に流れる電流の電流値と抵抗113の抵抗値との積)であるNPNトランジスタ112のベース・エミッタ間電圧が予め定められた電圧(例えば、0.6V)に到達すると、NPNトランジスタ112の電流路に電流が流れ始め、NPNトランジスタ111のベースに流れる電流が増加しなくなる。その結果、端子対143間に流れる電流の電流値が一定の値に落ち着くとともに、NPNトランジスタ111の電流路間の電圧並びに抵抗113の両端間の電圧が一定の値に落ち着く。つまり、この場合、電流制限回路151は、電流を制限したり、電圧を低下させたりする機能を発揮する。なお、抵抗113の抵抗値を調整することで、端子対143間に流れる電流の上限値を調整することができる。例えば、抵抗113の抵抗値を0.6Ωとすると、端子対143間に流れる電流の上限値は、0.6V/0.6Ω=1Aとなる。 However, the base-emitter voltage of the NPN transistor 112, which is the voltage across the resistor 113 (the product of the current value of the current flowing through the resistor 113 and the resistance value of the resistor 113), is a predetermined voltage (for example, 0.6 V). ) Is reached, a current starts to flow in the current path of the NPN transistor 112, and the current flowing in the base of the NPN transistor 111 does not increase. As a result, the current value of the current flowing between the terminal pairs 143 settles to a constant value, and the voltage between the current paths of the NPN transistor 111 and the voltage across the resistor 113 settle to a constant value. That is, in this case, the current limiting circuit 151 exerts a function of limiting the current or lowering the voltage. By adjusting the resistance value of the resistor 113, the upper limit value of the current flowing between the terminal pairs 143 can be adjusted. For example, assuming that the resistance value of the resistor 113 is 0.6Ω, the upper limit of the current flowing between the terminal pairs 143 is 0.6V / 0.6Ω = 1A.

NPNトランジスタ114とNPNトランジスタ115と抵抗116とは、端子141から端子142に流れる電流(端子対143間に流れる電流)の大きさを制限する電流制限回路152を構成する。電流制限回路152は、端子141から端子142に流れる電流の増加に伴って電源端子161と端子141との間の電圧を高くする機能を有する。ここで、電源端子161と端子141との間の電圧が高くなることは、0Vが印加される端子142と端子141との間の電圧(端子対143間に印加される電圧)が低くなることを意味する。つまり、電流制限回路152は、端子対143間に電流が流れるときに端子対143間に印加される電圧を低下させる電圧低下回路とも言える。電流制限回路152の動作は、基本的に、電流制限回路151の動作と同様であるため、説明を省略する。 The NPN transistor 114, the NPN transistor 115, and the resistor 116 form a current limiting circuit 152 that limits the magnitude of the current flowing from the terminals 141 to the terminals 142 (current flowing between the terminals 143). The current limiting circuit 152 has a function of increasing the voltage between the power supply terminal 161 and the terminal 141 as the current flowing from the terminal 141 to the terminal 142 increases. Here, the higher voltage between the power supply terminal 161 and the terminal 141 means that the voltage between the terminal 142 and the terminal 141 to which 0 V is applied (the voltage applied between the terminals 143) becomes lower. Means. That is, the current limiting circuit 152 can be said to be a voltage drop circuit that lowers the voltage applied between the terminal pairs 143 when a current flows between the terminal pairs 143. Since the operation of the current limiting circuit 152 is basically the same as the operation of the current limiting circuit 151, the description thereof will be omitted.

受信回路120は、いずれかの子機から電流信号として送信されたデータ(ビットデータ)に対応する電圧信号を制御部130に供給する。受信回路120は、通信線対13に流れる電流が予め定められた閾値以上になったことを検出した場合、制御部130が備える受信端子133(Rxにより示される端子)にLレベルの電圧信号を供給する。一方、受信回路120は、通信線対13に流れる電流がこの閾値未満になったことを検出した場合、受信端子にHレベルの電圧信号を供給する。なお、子機200、子機300、子機400は、0に対応するビットを送信するときに端子対143間に電流を流し、1に対応するビットを送信するときに端子対143間に電流を流さない。従って、受信回路120は、受信端子133にLレベルの電圧信号が印加されたときに0に対応するビットを受信したと見做し、受信端子133にHレベルの電圧信号が印加されたときに1に対応するビットを受信したと見做す。 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 receiving circuit 120 detects that the current flowing through the communication line pair 13 exceeds a predetermined threshold value, the receiving circuit 120 sends an L level voltage signal to the receiving terminal 133 (terminal indicated by Rx) included in the control unit 130. Supply. On the other hand, when the receiving circuit 120 detects that the current flowing through the communication line pair 13 is less than this threshold value, the receiving circuit 120 supplies an H level voltage signal to the receiving terminal. In the slave unit 200, the slave unit 300, and the slave unit 400, a current flows between the terminal pairs 143 when transmitting the bit corresponding to 0, and a current flows between the terminal pairs 143 when transmitting the bit corresponding to 1. Do not shed. Therefore, the receiving circuit 120 considers that the bit corresponding to 0 is received when the L level voltage signal is applied to the receiving terminal 133, and when the H level voltage signal is applied to the receiving terminal 133. It is considered that the bit corresponding to 1 has been received.

受信回路120は、電源端子121と、オペアンプ122と、コンデンサ123と、抵抗124と、抵抗125と、抵抗126と、接地端子127と、接地端子128と、を備える。電源端子121は、電源電圧としてV3(例えば、5V)を出力する直流電源(図示せず)に接続され、V3が印加される。V3を出力する直流電源は、V1を出力する直流電源(図示せず)から生成される。オペアンプ122は、非反転入力端子に印加された基準電圧と反転入力端子に印加された入力電圧とを比較する。オペアンプ122は、入力電圧が基準電圧よりも高い場合、Lレベルの電圧を出力端子から出力し、入力電圧が基準電圧よりも低い場合、Hレベルの電圧を出力端子から出力する。 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) that outputs V3 (for example, 5V) as a power supply voltage, and V3 is applied. The DC power supply that outputs V3 is generated from the DC power supply (not shown) that outputs V1. The operational amplifier 122 compares the reference voltage applied to the non-inverting input terminal with the input voltage applied to the inverting input terminal. When the input voltage is higher than the reference voltage, the operational amplifier 122 outputs the L level voltage from the output terminal, and when the input voltage is lower than the reference voltage, the operational amplifier 122 outputs the H level voltage from the output terminal.

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

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

本実施形態では、制御部130は、1に対応するビットを送信するときに、送信端子131からHレベルの電圧を出力し、送信端子132からLレベルの電圧を出力する。また、制御部130は、0に対応するビットを送信するときに、送信端子131からLレベルの電圧を出力し、送信端子132からHレベルの電圧を出力する。従って、1に対応するビットが送信されるときに端子142の電圧が端子141の電圧よりも高くなり、0に対応するビットが送信されるときに端子142の電圧が端子141の電圧よりも低くなる。また、制御部130は、アイドル状態では、1に対応するビットを送信するものとする。 In the present embodiment, when the bit corresponding to 1 is transmitted, the control unit 130 outputs an H level voltage from the transmission terminal 131 and outputs an L level voltage from the transmission terminal 132. Further, when transmitting the bit corresponding to 0, the control unit 130 outputs an L level voltage from the transmission terminal 131 and outputs an H level voltage from the transmission terminal 132. Therefore, the voltage of the terminal 142 becomes higher than the voltage of the terminal 141 when the bit corresponding to 1 is transmitted, and the voltage of the terminal 142 is lower than the voltage of the terminal 141 when the bit corresponding to 0 is transmitted. Become. Further, the control unit 130 shall transmit a bit corresponding to 1 in the idle state.

制御部130は、例えば、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)などを備えるマイクロコンピュータにより構成される。 The control unit 130 is composed of, for example, a microcomputer including a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like.

端子対143は、複数の子機との間でデータを送受信するための通信線対13が接続される端子対である。端子対143は、端子141と端子142とを備える。端子対143は、通信線対13を介して、端子対243と接続される。つまり、端子141は、通信線11を介して端子241に接続され、端子142は、通信線12を介して端子242に接続される。 The terminal pair 143 is a terminal pair to which a communication line pair 13 for transmitting / receiving data to / from a plurality of slave units is connected. The terminal pair 143 includes a terminal 141 and a terminal 142. The terminal pair 143 is connected to the terminal pair 243 via the communication line pair 13. That is, the terminal 141 is connected to the terminal 241 via the communication line 11, and the terminal 142 is connected to the terminal 242 via the communication line 12.

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

子機200は、送信回路210と、受信回路220と、制御部230と、端子対243と、整流回路250と、電圧低下検出回路260と、電源端子271と、を備える。 The slave unit 200 includes a transmission circuit 210, a reception circuit 220, a control unit 230, a terminal pair 243, a rectifier circuit 250, a voltage drop detection circuit 260, and a power supply terminal 271.

送信回路210は、制御部230による制御に従って、電流信号により、親機100にデータを送信する。送信回路210は、端子対243間の導通・非導通状態を制御することにより、通信線対13に流れる電流を制御する。つまり、送信回路210は、通信線対13に電流を流すときに端子対243間を導通状態に制御し、通信線対13に電流を流さないときに端子対243間を非導通状態に制御する。 The transmission circuit 210 transmits data to the master unit 100 by a current signal according to the control by the control unit 230. The transmission circuit 210 controls the current flowing through the communication line pair 13 by controlling the conduction / non-conduction state between the terminal pair 243. That is, the transmission circuit 210 controls the terminal pair 243 to be in a conductive state when a current is passed through the communication line pair 13, and controls the terminal pair 243 to be in a non-conducting state when the current is not passed through the communication line pair 13. ..

送信回路210は、NPNトランジスタ211と、抵抗212とを備える。NPNトランジスタ211のコレクタは、電源端子271に接続される。NPNトランジスタ211のベースは、制御部230が備える送信端子231(Txにより示される端子)に接続される。NPNトランジスタ211のエミッタは、抵抗212を介して、制御部230が備える基準端子(S0により示される端子)に接続される。NPNトランジスタ211は、ベースにHレベルの電圧が印加されるとオン状態になり、ベースにLレベルの電圧が印加されるとオフ状態になる。NPNトランジスタ211がオフ状態になると、通信線対13には電流が流れない。一方、NPNトランジスタ211がオン状態になると、通信線対13には電流が流れる。 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 271. The base of the NPN transistor 211 is connected to the transmission terminal 231 (terminal indicated by Tx) included in the control unit 230. The emitter of the NPN transistor 211 is connected to a reference terminal (terminal indicated by S0) included in the control unit 230 via a resistor 212. The NPN transistor 211 is turned on when an H level voltage is applied to the base, and 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トランジスタ114→抵抗116→端子141→通信線11→端子241→ダイオード253→電源端子271→NPNトランジスタ211→抵抗212→ダイオード252→端子242→通信線12→端子142→PNPトランジスタ117→抵抗126→接地端子128という経路で電流が流れる。一方、端子241の電圧が端子242の電圧よりも低いときにNPNトランジスタ211がオン状態になると、電源端子161→NPNトランジスタ111→抵抗113→端子142→通信線12→端子242→ダイオード254→電源端子271→NPNトランジスタ211→抵抗212→ダイオード251→端子241→通信線11→端子141→PNPトランジスタ118→抵抗126→接地端子128という経路で電流が流れる。抵抗212は、負荷抵抗であり、NPNトランジスタ211の電流路に流れる電流を制限する。 If the NPN transistor 211 is turned on when the voltage of the terminal 241 is higher than the voltage of the terminal 242, the power supply terminal 161 → NPN transistor 114 → resistor 116 → terminal 141 → communication line 11 → terminal 241 → diode 253 → power supply terminal 271. → NPN transistor 211 → Resistance 212 → Diode 252 → Terminal 242 → Communication line 12 → Terminal 142 → PNP transistor 117 → Resistance 126 → Ground terminal 128. On the other hand, if the NPN transistor 211 is turned on when the voltage of the terminal 241 is lower than the voltage of the terminal 242, the power supply terminal 161 → NPN transistor 111 → resistor 113 → terminal 142 → communication line 12 → terminal 242 → diode 254 → power supply. Current flows through the route of terminal 271 → NPN transistor 211 → resistor 212 → diode 251 → terminal 241 → communication line 11 → terminal 141 → PNP transistor 118 → 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が備える受信端子232(Rxにより示される端子)に供給する。一方、受信回路220は、端子241の電圧が端子242の電圧よりも高いとき、Lレベル(例えば、0V)の電圧信号を、制御部230が備える受信端子232に供給する。受信回路220は、端子対243間に印加された電圧の極性(+V1又は−V1)を検出する極性検出回路とも言える。受信回路220は、端子対243のうち端子242に印加される電圧に対応する電圧を出力する。 The receiving circuit 220 supplies a voltage signal corresponding to data (bit data) transmitted as a voltage signal from the master unit 100 to the control unit 230. When the voltage of the terminal 242 is higher than the voltage of the terminal 241, the receiving circuit 220 supplies an H level (for example, 5V) voltage signal to the receiving terminal 232 (terminal indicated by Rx) included in the control unit 230. On the other hand, when the voltage of the terminal 241 is higher than the voltage of the terminal 242, the receiving circuit 220 supplies an L level (for example, 0V) voltage signal to the receiving terminal 232 included in the control unit 230. The receiving circuit 220 can also be said to be a polarity detecting circuit that detects the polarity (+ V1 or −V1) of the voltage applied between the terminal pairs 243. The receiving circuit 220 outputs a voltage corresponding to the voltage applied to the terminal 242 of the terminal pair 243.

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

制御部230は、子機200の全体的な動作を制御する。制御部230は、送信回路210を制御して、親機100にデータを送信する。例えば、制御部230は、送信するビットデータに対応するレベルの電圧を、送信端子231から出力する。例えば、制御部230は、0に対応するビットを送信するときに、送信端子231からHレベルの電圧信号を出力し、端子対243間に電流を流す。制御部230は、1に対応するビットを送信するときに、送信端子231からLレベルの電圧信号を出力し、端子対243間に電流を流さない。 The control unit 230 controls the overall operation of the slave unit 200. The control unit 230 controls the transmission circuit 210 to transmit data to the master unit 100. For example, the control unit 230 outputs a voltage at a level corresponding to the bit data to be transmitted from the transmission terminal 231. For example, when transmitting a bit corresponding to 0, the control unit 230 outputs an H level voltage signal from the transmission terminal 231 and causes a current to flow between the terminals 243. When transmitting the bit corresponding to 1, the control unit 230 outputs an L-level voltage signal from the transmission terminal 231 and does not pass a current between the terminals 243.

ここで、制御部230は、他の子機が親機100にデータを送信していないことを確認してから、送信回路210から親機100にデータを送信させる。ここで、他の子機が親機100にデータを送信する間、端子対143間に電流が流れる期間が発生する。端子対143間に電流が流れると、電圧低下回路として機能する電流制限回路151(又は、電流制限回路152)の働きにより、端子対143間に印加される電圧が低下する。このとき、電圧低下検出回路260により、端子対143間に印加された電圧の低下が検出され、電圧低下検出回路260から制御部230が備える検出端子234にLレベルの電圧が印加される。そこで、制御部230は、予め定められた時間、検出端子234にLレベルが印加されないことが確認できた場合に、送信回路210から親機100にデータを送信させる。 Here, the control unit 230 confirms that the other slave unit has not transmitted data to the master unit 100, and then causes the transmission circuit 210 to transmit data to the master unit 100. Here, while the other slave unit transmits data to the master unit 100, a period in which a current flows between the terminals 143 occurs. When a current flows between the terminal pairs 143, the voltage applied between the terminal pairs 143 is reduced by the action of the current limiting circuit 151 (or the current limiting circuit 152) that functions as a voltage lowering circuit. At this time, the voltage drop detection circuit 260 detects a drop in the voltage applied between the terminal pairs 143, and the voltage drop detection circuit 260 applies an L level voltage to the detection terminal 234 included in the control unit 230. Therefore, when it is confirmed that the L level is not applied to the detection terminal 234 for a predetermined time, the control unit 230 causes the transmission circuit 210 to transmit data to the master unit 100.

また、制御部230は、送信回路210により端子対143間に電流を流していない期間に、検出端子234にLレベルの電圧が印加されたことを検知した場合、送信回路210によるデータの送信を中止する。すると、子機200と他の子機(子機300又は子機400)とが同時に親機100にデータを送信することにより発生する通信異常を回避することができる。 Further, when the control unit 230 detects that the L level voltage is applied to the detection terminal 234 while the current is not flowing between the terminal pairs 143 by the transmission circuit 210, the control unit 230 transmits the data by the transmission circuit 210. Abort. Then, it is possible to avoid a communication abnormality that occurs when the slave unit 200 and another slave unit (slave unit 300 or slave unit 400) simultaneously transmit data to the master unit 100.

また、制御部230は、受信回路220から供給された電圧信号に基づいて、親機100から送信されたデータを特定する。つまり、制御部230は、受信端子232に印加された電圧のレベルに応じたビットデータをサンプリングし、サンプリングにより得られたビットデータ列から、送信されたデータを特定する。 Further, the control unit 230 identifies the data transmitted from the master unit 100 based on the voltage signal supplied from the reception circuit 220. That is, the control unit 230 samples the bit data according to the level of the voltage applied to the reception terminal 232, and identifies the transmitted data from the bit data string obtained by the sampling.

ここで、制御部230は、親機100によりデータが送信されていないとき、つまり、親機100がアイドル状態であるときに、端子対243間に印加されている電圧の極性に基づいて、親機100から受信したデータの論理を決定することができる。例えば、親機100は、アイドル状態であるときに、1に対応するビットを送信するものとする。ここで、制御部130は、1に対応するビットを送信するときに、送信端子131からHレベルの電圧を出力し、送信端子132からLレベルの電圧を出力する。従って、親機100がアイドル状態のときは、端子142の電圧が端子141の電圧よりも高くなる。 Here, the control unit 230 is based on the polarity of the voltage applied between the terminal pairs 243 when the data is not transmitted by the master unit 100, that is, when the master unit 100 is in the idle state. The logic of the data received from the machine 100 can be determined. For example, it is assumed that the master unit 100 transmits a bit corresponding to 1 when it is in an idle state. Here, when transmitting the bit corresponding to 1, the control unit 130 outputs an H level voltage from the transmission terminal 131 and outputs an L level voltage from the transmission terminal 132. Therefore, when the master unit 100 is in the idle state, the voltage of the terminal 142 becomes higher than the voltage of the terminal 141.

ここで、図2に示すように、端子141と端子241とが通信線11により接続され、端子142と端子242とが通信線12により接続されているものとする。この場合、親機100がアイドル状態のときは、端子242の電圧が端子241の電圧よりも高くなる。従って、親機100がアイドル状態のときは、受信端子232にはHレベルの電圧が印加される。従って、制御部230は、受信端子232にはHレベルの電圧が印加されたときに、1に対応するビットを受信したと見做し、受信端子232にはLレベルの電圧が印加されたときに、0に対応するビットを受信したと見做す。 Here, as shown in FIG. 2, it is assumed that 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. In this case, when the master unit 100 is in the idle state, the voltage of the terminal 242 becomes higher than the voltage of the terminal 241. Therefore, when the master unit 100 is in the idle state, an H level voltage is applied to the receiving terminal 232. Therefore, the control unit 230 considers that the bit corresponding to 1 is received when the H level voltage is applied to the receiving terminal 232, and when the L level voltage is applied to the receiving terminal 232. It is considered that the bit corresponding to 0 has been received.

一方、図2に示す接続とは異なり、端子141と端子242とが通信線11により接続され、端子142と端子241とが通信線12により接続されているものとする。この場合、親機100がアイドル状態のときは、端子242の電圧が端子241の電圧よりも低くなる。従って、親機100がアイドル状態のときは、受信端子232にはLレベルの電圧が印加される。従って、制御部230は、受信端子232にはLレベルの電圧が印加されたときに、1に対応するビットを受信したと見做し、受信端子232にはHレベルの電圧が印加されたときに、0に対応するビットを受信したと見做す。 On the other hand, unlike the connection shown in FIG. 2, it is assumed that the terminal 141 and the terminal 242 are connected by the communication line 11, and the terminal 142 and the terminal 241 are connected by the communication line 12. In this case, when the master unit 100 is in the idle state, the voltage of the terminal 242 is lower than the voltage of the terminal 241. Therefore, when the master unit 100 is in the idle state, an L level voltage is applied to the receiving terminal 232. Therefore, the control unit 230 considers that the bit corresponding to 1 is received when the L level voltage is applied to the receiving terminal 232, and when the H level voltage is applied to the receiving terminal 232. It is considered that the bit corresponding to 0 has been received.

このように、制御部230は、親機100がアイドル状態であるときに、極性検出回路として機能する受信回路220から供給された電圧信号のレベルを判別し、受信したデータの論理を決定する。従って、制御部230は、通信線対13の接続極性に拘わらず、親機100から送信されたデータを適切に受信することができる。また、制御部230は、親機100による制御に従って、図示しない照明の制御を実行する。制御部230は、例えば、CPU、ROM、RAMなどを備えるマイクロコンピュータにより構成される。 In this way, the control unit 230 determines the level of the voltage signal supplied from the reception circuit 220 that functions as the polarity detection circuit when the master unit 100 is in the idle state, and determines the logic of the received data. Therefore, the control unit 230 can appropriately receive the data transmitted from the master unit 100 regardless of the connection polarity of the communication line pair 13. Further, the control unit 230 executes lighting control (not shown) according to the control by the master unit 100. The control unit 230 is composed of, for example, a microcomputer including a CPU, a ROM, a RAM, and the like.

ここで、制御部230が受信回路220から供給された電圧信号のレベルを判別するための閾値、つまり、端子対243間に印加される電圧の極性を判別するための閾値は、通信線対13に返送電流が流れることによる影響を受けない値に設定される。すなわち、通信線対13に返送電流が流れると、通信線対13における電圧降下により、端子対243間に印加される電圧が低下する。また、通信線対13に返送電流が流れると、電圧低下回路(電流制限回路151、152)の働きにより、端子対143間に印加される電圧が低下し、その結果、端子対243間に印加される電圧が更に低下する。従って、上記閾値は、通信線対13に返送電流が流れて端子対243間に印加される電圧が低下しても、判別結果に影響が出ない値に設定される。 Here, the threshold value for the control unit 230 to discriminate the level of the voltage signal supplied from the receiving circuit 220, that is, the threshold value for discriminating the polarity of the voltage applied between the terminal pairs 243 is the communication line pair 13. It is set to a value that is not affected by the flow of return current. That is, when the return current flows through the communication line pair 13, the voltage applied between the terminal pairs 243 decreases due to the voltage drop in the communication line pair 13. Further, when the return current flows through the communication line pair 13, the voltage applied between the terminal pairs 143 decreases due to the action of the voltage drop circuits (current limiting circuits 151 and 152), and as a result, the voltage is applied between the terminal pairs 243. The voltage to be applied drops further. Therefore, the threshold value is set to a value that does not affect the discrimination result even if the return current flows through the communication line pair 13 and the voltage applied between the terminal pairs 243 decreases.

より詳細には、上記閾値は、電圧印加回路(送信回路110)により端子対143間に第1の極性の電圧が印加される場合、端子対143間に電流が流れ、電圧低下回路(電流制限回路151、152)により端子対143間に印加される電圧が低下し、端子対143と端子対243とを接続する通信線対13による電圧降下により端子対243間の電圧が低下する場合においても、端子対243間の電圧未満となるように設定される。なお、端子対243間に第1の極性の電圧が印加される場合、例えば、端子242に印加される電圧の方が、端子241に印加される電圧よりも高くなる。一方、端子対243間に第2の極性の電圧が印加される場合、例えば、端子242に印加される電圧の方が、端子241に印加される電圧よりも低くなる。 More specifically, the threshold is such that when a voltage of the first polarity is applied between the terminal pairs 143 by the voltage application circuit (transmission circuit 110), a current flows between the terminal pairs 143 and the voltage drop circuit (current limit). Even when the voltage applied between the terminal pairs 143 is reduced by the circuits 151 and 152) and the voltage between the terminal pairs 243 is reduced due to the voltage drop due to the communication line pair 13 connecting the terminal pair 143 and the terminal pair 243. , Is set to be less than the voltage between the terminals 243. When a voltage of the first polarity is applied between the terminals 243, for example, the voltage applied to the terminals 242 is higher than the voltage applied to the terminals 241. On the other hand, when a voltage of the second polarity is applied between the terminals 243, for example, the voltage applied to the terminals 242 is lower than the voltage applied to the terminals 241.

また、上記閾値は、電圧印加回路(送信回路110)により端子対143間に第1の極性とは逆の極性である第2の極性の電圧が印加される場合、端子対143間に電流が流れず、電圧低下回路(電流制限回路151、152)により端子対143間に印加される電圧が低下せず、端子対143と端子対243とを接続する通信線対13による電圧降下により端子対243間の電圧が低下しない場合においても、端子対243間の電圧以上となるように設定される。 Further, the above threshold is set when a voltage having a second polarity opposite to that of the first polarity is applied between the terminal pairs 143 by the voltage application circuit (transmission circuit 110), a current is applied between the terminal pairs 143. It does not flow, the voltage applied between the terminal pairs 143 by the voltage drop circuit (current limiting circuits 151, 152) does not drop, and the terminal pair due to the voltage drop due to the communication line pair 13 connecting the terminal pair 143 and the terminal pair 243. Even when the voltage between 243 does not decrease, it is set to be equal to or higher than the voltage between the terminals and 243.

制御部230が上記閾値を調整できない場合、抵抗222の抵抗値や抵抗223の抵抗値などを調整して、受信回路220(極性検出回路)が出力する電圧を調整してもよい。この場合、受信回路220(極性検出回路)は、電圧印加回路(送信回路110)により端子対143間に第1の極性の電圧が印加される場合、端子対143間に電流が流れ、電圧低下回路(電流制限回路151、152)により端子対143間に印加される電圧が低下し、端子対143と端子対243とを接続する通信線対13による電圧降下により端子対243間の電圧が低下する場合においても、上記閾値以上の電圧を出力する。 If the control unit 230 cannot adjust the threshold value, the voltage output by the receiving circuit 220 (polarity detection circuit) may be adjusted by adjusting the resistance value of the resistor 222, the resistance value of the resistor 223, and the like. In this case, in the receiving circuit 220 (polarity detection circuit), when a voltage of the first polarity is applied between the terminal pairs 143 by the voltage application circuit (transmission circuit 110), a current flows between the terminal pairs 143 and the voltage drops. The voltage applied between the terminal pairs 143 is reduced by the circuit (current limiting circuits 151 and 152), and the voltage between the terminal pairs 243 is reduced by the voltage drop due to the communication line pair 13 connecting the terminal pair 143 and the terminal pair 243. Even in this case, a voltage equal to or higher than the above threshold is output.

また、受信回路220(極性検出回路)は、電圧印加回路(送信回路110)により端子対143間に第1の極性とは逆の極性である第2の極性の電圧が印加される場合、端子対143間に電流が流れず、電圧低下回路(電流制限回路151、152)により端子対143間に印加される電圧が低下せず、端子対143と端子対243とを接続する通信線対13による電圧降下により端子対243間の電圧が低下しない場合においても、上記閾値未満の電圧を出力する。 Further, the receiving circuit 220 (polarity detecting circuit) is a terminal when a voltage having a second polarity opposite to the first polarity is applied between the terminal pairs 143 by the voltage applying circuit (transmitting circuit 110). No current flows between the pair 143, the voltage applied between the terminal pairs 143 by the voltage drop circuit (current limiting circuits 151, 152) does not drop, and the communication line pair 13 connecting the terminal pair 143 and the terminal pair 243 is connected. Even when the voltage between the terminals and the 243 does not decrease due to the voltage drop due to the above, a voltage less than the above threshold is output.

このように、受信回路220(極性検出回路)は、通信線対13に返送電流が流れることによる電圧降下の影響を受けずに、極性を検出することができる。かかる構成によれば、親機100から子機200(又は、子機300)への送信と、子機200(又は、子機300)から親機100への送信とを、同時に実行することができる。その結果、通信のスループットが向上する。 In this way, the receiving circuit 220 (polarity detecting circuit) can detect the polarity without being affected by the voltage drop due to the return current flowing through the communication line pair 13. According to such a configuration, transmission from the master unit 100 to the slave unit 200 (or the slave unit 300) and transmission from the slave unit 200 (or the slave unit 300) to the master unit 100 can be executed at the same time. can. As a result, the communication throughput is improved.

端子対243は、親機100との間でデータを送受信するための通信線対13が接続される端子対である。端子対243は、端子241と端子242とを備える。端子対243は、通信線対13を介して、端子対143と接続される。つまり、端子241は、通信線11を介して端子141に接続され、端子242は、通信線12を介して端子142に接続される。また、端子対243は、親機100が備える端子対143と子機300が備える端子対343と子機400が備える端子対443とを接続するための端子対でもある。従って、端子対243は、通信線対23を介して、端子対343と接続される。つまり、端子241は、通信線21を介して端子341に接続され、端子242は、通信線22を介して端子242に接続される。 The terminal pair 243 is a terminal pair to which a communication line pair 13 for transmitting / receiving data to / from the master unit 100 is connected. The terminal pair 243 includes a terminal 241 and a terminal 242. The terminal pair 243 is connected to the terminal pair 143 via the communication line pair 13. That is, the terminal 241 is connected to the terminal 141 via the communication line 11, and the terminal 242 is connected to the terminal 142 via the communication line 12. Further, the terminal pair 243 is also a terminal pair for connecting the terminal pair 143 included in the master unit 100, the terminal pair 343 included in the slave unit 300, and the terminal pair 443 included in the slave unit 400. Therefore, the terminal pair 243 is connected to the terminal pair 343 via the communication line pair 23. That is, the terminal 241 is connected to the terminal 341 via the communication line 21, and the terminal 242 is connected to the terminal 242 via the communication line 22.

整流回路250は、端子対243間に印加された正負の電源電圧である+V1及び−V1を整流し、子機200の動作電源であるV2を生成する。なお、子機200の動作電源であるV2は、親機100の電源電圧であるV1と同程度の電圧(例えば、24V)であり、電源端子271から各モジュールに供給される。整流回路250は、ダイオード251と、ダイオード252と、ダイオード253と、ダイオード254と、を備える。また、整流回路250は、端子対243が接続される交流入力端子対(図示せず)と、交流入力端子対を介して供給される電流を整流した電流が流れる直流出力端子対(図示せず)と、を備える。ダイオード251のアノードとダイオード252のアノードとは、一方の直流出力端子(低電圧側の直流出力端子)に接続される。ダイオード253のカソードとダイオード254のカソードとは、他方の直流出力端子(高電圧側の直流出力端子)に接続される。ダイオード251のカソードとダイオード253のアノードとは、端子241(一方の交流入力端子)に接続される。ダイオード252のカソードとダイオード254のアノードとは、端子242(他方の交流入力端子)に接続される。 The rectifier circuit 250 rectifies + V1 and −V1 which are positive and negative power supply voltages applied between the terminal pairs 243, and generates V2 which is an operating power supply of the slave unit 200. The operating power supply V2 of the slave unit 200 has a voltage (for example, 24V) similar to that of V1 which is the power supply voltage of the master unit 100, and is supplied to each module from the power supply terminal 271. The rectifier circuit 250 includes a diode 251, a diode 252, a diode 253, and a diode 254. Further, the rectifier circuit 250 includes an AC input terminal pair (not shown) to which the terminal pair 243 is connected and a DC output terminal pair (not shown) through which a current obtained by rectifying the current supplied via the AC input terminal pair flows. ) And. The anode of the diode 251 and the anode of the diode 252 are connected to one DC output terminal (DC output terminal on the low voltage side). The cathode of the diode 253 and the cathode of the diode 254 are connected to the other DC output terminal (DC output terminal on the high voltage side). The cathode of the diode 251 and the anode of the diode 253 are connected to the terminal 241 (one AC input terminal). The cathode of the diode 252 and the anode of the diode 254 are connected to terminal 242 (the other AC input terminal).

電圧低下検出回路260は、端子対243間に印加された電圧が低下したことを検出する回路である。電圧低下検出回路260は、整流回路250から出力される電源電圧が予め定められた閾値以下になったことを検出した場合、制御部230が備える検出端子234(CSにより示される端子)にLレベルの電圧信号を供給する。一方、電圧低下検出回路260は、整流回路250から出力される電源電圧が予め定められた閾値以上になったことを検出した場合、制御部230が備える検出端子234にHレベルの電圧信号を供給する。 The voltage drop detection circuit 260 is a circuit that detects that the voltage applied between the terminal pairs 243 has dropped. When the voltage drop detection circuit 260 detects that the power supply voltage output from the rectifier circuit 250 is equal to or lower than a predetermined threshold value, the voltage drop detection circuit 260 sets the L level to the detection terminal 234 (terminal indicated by CS) provided in the control unit 230. Supply the voltage signal of. On the other hand, when the voltage drop detection circuit 260 detects that the power supply voltage output from the rectifier circuit 250 exceeds a predetermined threshold value, the voltage drop detection circuit 260 supplies an H level voltage signal to the detection terminal 234 included in the control unit 230. do.

電圧低下検出回路260は、電源端子261と、オペアンプ262と、コンデンサ263と、抵抗264と、抵抗265と、接地端子266と、を備える。電源端子261は、電源電圧としてV4(例えば、5V)を出力する直流電源(図示せず)に接続され、V4が印加される。V4を出力する直流電源は、V2を出力する直流電源(図示せず)から生成される。オペアンプ262は、反転入力端子に印加された基準電圧と非反転入力端子に印加された入力電圧とを比較する。オペアンプ262は、入力電圧が基準電圧よりも高い場合、Hレベルの電圧を出力端子から出力し、入力電圧が基準電圧よりも低い場合、Lレベルの電圧を出力端子から出力する。 The voltage drop detection circuit 260 includes a power supply terminal 261, an operational amplifier 262, a capacitor 263, a resistor 264, a resistor 265, and a ground terminal 266. The power supply terminal 261 is connected to a DC power supply (not shown) that outputs V4 (for example, 5V) as a power supply voltage, and V4 is applied. The DC power supply that outputs V4 is generated from the DC power supply (not shown) that outputs V2. The operational amplifier 262 compares the reference voltage applied to the inverting input terminal with the input voltage applied to the non-inverting input terminal. The operational amplifier 262 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.

電圧低下検出回路260は、整流回路250が備える直流出力端子対間に印加される電圧が低下したことを検出することにより、端子対243間に印加される電圧が低下したことを検出する。このように、電圧低下検出回路260は、整流後の電圧が低下したことを検出し、端子対243間に印加される電圧の極性(又は極性の変化)を検出しない。従って、電圧低下検出回路260は、端子対243間に印加される電圧の極性を検出するための構成を備えずに、他の子機(子機200以外の子機)が流す返送電流を検出することができる。 The voltage drop detection circuit 260 detects that the voltage applied between the DC output terminal pairs included in the rectifier circuit 250 has dropped, thereby detecting that the voltage applied between the terminal pairs 243 has dropped. As described above, the voltage drop detection circuit 260 detects that the voltage after rectification has dropped, and does not detect the polarity (or change in polarity) of the voltage applied between the terminal pairs 243. Therefore, the voltage drop detection circuit 260 does not have a configuration for detecting the polarity of the voltage applied between the terminal pairs 243, and detects the return current flowed by another slave unit (slave unit other than the slave unit 200). can do.

コンデンサ263は、オペアンプ262の非反転入力端子に供給される直流成分を遮断する。抵抗264と抵抗265とは、電源端子261と接地端子266との間に直列に接続される。抵抗264と抵抗265とは、電源電圧を分圧することにより得られた基準電圧を、オペアンプ262の反転入力端子に印加する。接地端子266とは、子機200が備える直流電源(図示せず)に接続され、0Vが印加される。 The capacitor 263 cuts off the DC component supplied to the non-inverting input terminal of the operational amplifier 262. The resistor 264 and the resistor 265 are connected in series between the power supply terminal 261 and the ground terminal 266. The resistor 264 and the resistor 265 apply a reference voltage obtained by dividing the power supply voltage to the inverting input terminal of the operational amplifier 262. The ground terminal 266 is connected to a DC power supply (not shown) included in the slave unit 200, and 0 V is applied.

電源端子271は、整流回路250により生成された子機200の動作電源であるV2を、各モジュールに供給するための電源端子である。子機300及び子機400の構成は、基本的に子機200の構成と同様であるため、説明を省略する。 The power supply terminal 271 is a power supply terminal for supplying V2, which is the operating power supply of the slave unit 200 generated by the rectifier circuit 250, to each module. Since the configurations of the slave unit 300 and the slave unit 400 are basically the same as the configurations of the slave unit 200, the description thereof will be omitted.

次に、図3に示すフローチャートを参照して、子機200が実行するデータ送信処理について説明する。子機200は、例えば、親機100に接続され、電源が投入されると、データ送信処理を開始する。なお、子機300、400が実行するデータ送信処理は、基本的に、子機200が実行するデータ送信処理と同様であるため、説明を省略又は簡略化する。 Next, the data transmission process executed by the slave unit 200 will be described with reference to the flowchart shown in FIG. The slave unit 200 is connected to, for example, the master unit 100, and when the power is turned on, the data transmission process is started. Since the data transmission process executed by the slave units 300 and 400 is basically the same as the data transmission process executed by the slave unit 200, the description thereof will be omitted or simplified.

まず、制御部230は、データの送信条件が成立したか否かを判別する(ステップS101)。データの送信条件は、例えば、親機100から応答を要求するデータを受信した場合、予め定められた割り込みが発生した場合などに成立する。なお、本実施形態では、子機200は、親機100による指示によらず、自発的に、親機100にデータを送信することができる。制御部230は、ステップS101の処理を完了すると、送信するデータのビット列を生成する(ステップS102)。 First, the control unit 230 determines whether or not the data transmission condition is satisfied (step S101). The data transmission condition is satisfied, for example, when data requesting a response is received from the master unit 100, or when a predetermined interrupt occurs. In this embodiment, the slave unit 200 can voluntarily transmit data to the master unit 100 without being instructed by the master unit 100. When the control unit 230 completes the process of step S101, the control unit 230 generates a bit string of data to be transmitted (step S102).

制御部230は、ステップS102の処理を完了すると、検出端子234のレベルを監視する(ステップS103)。制御部230は、ステップS103の処理を完了すると、検出端子234が継続してHレベルを維持しているか否かを判別する(ステップS104)。なお、検出端子234が継続してHレベルを維持することは、他の子機によるデータの送信中でないことを意味する。 When the control unit 230 completes the process of step S102, the control unit 230 monitors the level of the detection terminal 234 (step S103). When the process of step S103 is completed, the control unit 230 determines whether or not the detection terminal 234 continuously maintains the H level (step S104). The continuous maintenance of the H level by the detection terminal 234 means that the data is not being transmitted by another slave unit.

制御部230は、検出端子234が継続してHレベルを維持していないと判別すると(ステップS104:NO)、ステップS103に処理を戻す。一方、制御部230は、検出端子234が継続してHレベルを維持していると判別すると(ステップS104:YES)、送信するビットを選択する(ステップS105)。なお、生成したビット列の先頭から順にビットが選択される。制御部230は、ステップS105の処理を完了すると、送信端子231を、選択したビットに応じたレベルに設定する(ステップS106)。例えば、選択されたビットが0である場合、送信端子231がHレベル(例えば、5V)に設定され、選択されたビットが1である場合、送信端子231がLレベル(例えば、0V)に設定される。 When the control unit 230 determines that the detection terminal 234 does not continuously maintain the H level (step S104: NO), the control unit 230 returns the process to step S103. On the other hand, when the control unit 230 determines that the detection terminal 234 continuously maintains the H level (step S104: YES), the control unit 230 selects a bit to be transmitted (step S105). The bits are selected in order from the beginning of the generated bit string. When the control unit 230 completes the process of step S105, the control unit 230 sets the transmission terminal 231 to a level corresponding to the selected bit (step S106). For example, if the selected bit is 0, the transmit terminal 231 is set to H level (eg, 5V), and if the selected bit is 1, the transmit terminal 231 is set to L level (eg, 0V). Will be done.

制御部230は、ステップS106の処理を完了すると、送信端子231のレベルがLレベルであるか否かを判別する(ステップS107)。なお、送信端子231のレベルがLレベルであることは、送信回路210により、端子対243間が非導通状態に制御され、電流が流されていないことを意味する。制御部230は、送信端子231のレベルがLレベルであると判別すると(ステップS107:YES)、検出端子234のレベルを監視する(ステップS108)。 When the process of step S106 is completed, the control unit 230 determines whether or not the level of the transmission terminal 231 is the L level (step S107). The fact that the level of the transmission terminal 231 is the L level means that the transmission circuit 210 controls the terminal pair 243 to be in a non-conducting state, and no current is flowing. When the control unit 230 determines that the level of the transmission terminal 231 is the L level (step S107: YES), the control unit 230 monitors the level of the detection terminal 234 (step S108).

制御部230は、ステップS108の処理を完了すると、検出端子234のレベルがHレベルであるか否かを判別する(ステップS109)。検出端子234のレベルがHレベルであることは、どの子機によっても電流が流されておらず、端子対143間が非導通状態に制御されていることを意味する。一方、検出端子234のレベルがLレベルであることは、いずれかの子機によって電流が流されており、端子対143間が導通状態に制御されていることを意味する。 When the process of step S108 is completed, the control unit 230 determines whether or not the level of the detection terminal 234 is the H level (step S109). When the level of the detection terminal 234 is H level, it means that no current is passed by any of the slave units and the terminal pair 143 is controlled to be in a non-conducting state. On the other hand, the fact that the level of the detection terminal 234 is the L level means that a current is flowing by one of the slave units and the terminal pair 143 is controlled to be in a conductive state.

制御部230は、検出端子234のレベルがHレベルでないと判別すると(ステップS109:NO)、データの送信を中止し、ステップS103に処理を戻す。制御部230は、送信端子231のレベルがLレベルでないと判別した場合(ステップS107:NO)、又は、検出端子234のレベルがHレベルであると判別した場合(ステップS109:YES)、1ビット分の時間が経過したか否かを判別する(ステップS110)。 When the control unit 230 determines that the level of the detection terminal 234 is not the H level (step S109: NO), the control unit 230 stops the data transmission and returns the process to step S103. When the control unit 230 determines that the level of the transmission terminal 231 is not the L level (step S107: NO) or determines that the level of the detection terminal 234 is the H level (step S109: YES), 1 bit. It is determined whether or not the minute time has elapsed (step S110).

制御部230は、1ビット分の時間が経過していないと判別すると(ステップS110:NO)、ステップS107に処理を戻す。一方、制御部230は、1ビット分の時間が経過したと判別すると(ステップS110:YES)、全ビットが選択済みであるか否かを判別する(ステップS111)。制御部230は、全ビットが選択済みであると判別すると(ステップS111:YES)、データの送信を完了したものと見做し、ステップS101に処理を戻す。一方、制御部230は、いずれかのビットが選択済みでないと判別すると(ステップS111:NO)、ステップS105に処理を戻し、次のビットを選択する。 When the control unit 230 determines that the time for one bit has not elapsed (step S110: NO), the process returns to step S107. On the other hand, when the control unit 230 determines that the time for one bit has elapsed (step S110: YES), the control unit 230 determines whether or not all the bits have been selected (step S111). When the control unit 230 determines that all the bits have been selected (step S111: 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 the control unit 230 determines that any of the bits has not been selected (step S111: NO), the process returns to step S105 and selects the next bit.

次に、図4に示すフローチャートを参照して、子機200が実行するデータ受信処理について説明する。子機200は、例えば、親機100に接続され、電源が投入されると、データ受信処理を開始する。なお、子機300、400が実行するデータ受信処理は、基本的に、子機200が実行するデータ受信処理と同様であるため、説明を省略又は簡略化する。 Next, the data reception process executed by the slave unit 200 will be described with reference to the flowchart shown in FIG. The slave unit 200 is connected to, for example, the master unit 100, and when the power is turned on, the data reception process is started. Since the data reception process executed by the slave units 300 and 400 is basically the same as the data reception process executed by the slave unit 200, the description thereof will be omitted or simplified.

まず、制御部230は、受信端子232のレベルを監視する(ステップS201)。つまり、制御部230は、受信回路220から受信端子232に印加された電圧のレベルをサンプリングする。制御部230は、ステップS201の処理を完了すると、受信端子232が継続して一方のレベルを維持しているか否かを判別する(ステップS202)。受信端子232が継続して一方のレベルを維持していることは、親機100がアイドル状態であることを意味する。 First, the control unit 230 monitors the level of the receiving terminal 232 (step S201). That is, the control unit 230 samples the level of the voltage applied from the reception circuit 220 to the reception terminal 232. When the process of step S201 is completed, the control unit 230 determines whether or not the receiving terminal 232 continuously maintains one level (step S202). The fact that the receiving terminal 232 continuously maintains one level means that the master unit 100 is in an idle state.

制御部230は、受信端子232が継続して一方のレベルを維持していないと判別すると(ステップS202:NO)、ステップS201に処理を戻す。一方、制御部230は、受信端子232が継続して一方のレベルを維持していると判別すると(ステップS202:YES)、維持されたレベルをアイドル時のレベルに設定する(ステップS203)。なお、アイドル時のレベルは、1に対応するビットが送信されるときに受信端子232に印加される電圧のレベルである。 When the control unit 230 determines that the reception terminal 232 does not continuously maintain one of the levels (step S202: NO), the control unit 230 returns the process to step S201. On the other hand, when the control unit 230 determines that the receiving terminal 232 continuously maintains one level (step S202: YES), the control unit 230 sets the maintained level to the idle level (step S203). The idle level is the level of the voltage applied to the receiving terminal 232 when the bit corresponding to 1 is transmitted.

制御部230は、ステップS203の処理を完了すると、受信端子232のレベルを監視する(ステップS204)。つまり、制御部230は、受信回路220から受信端子232に印加された電圧のレベルをサンプリングする。制御部230は、ステップS204の処理を完了すると、受信端子232のレベルに変化があるか否かを判別する(ステップS205)。なお、受信端子232のレベルに変化があることは、親機100によりデータの送信が開始され、先頭のビット(例えば、スタートビット)が送信されたことを意味する。 When the process of step S203 is completed, the control unit 230 monitors the level of the receiving terminal 232 (step S204). That is, the control unit 230 samples the level of the voltage applied from the reception circuit 220 to the reception terminal 232. When the process of step S204 is completed, the control unit 230 determines whether or not there is a change in the level of the receiving terminal 232 (step S205). Note that the change in the level of the receiving terminal 232 means that the master unit 100 has started transmitting data and the first bit (for example, the start bit) has been transmitted.

制御部230は、受信端子232のレベルに変化がないと判別すると(ステップS205:NO)、ステップS204に処理を戻す。一方、制御部230は、受信端子232のレベルに変化があったと判別すると(ステップS205:YES)、1フレーム分のビット列を取得する(ステップS206)。制御部230は、ステップS206の処理を完了すると、ビット列をデータに変換する(ステップS207)。制御部230は、ステップS207の処理を完了すると、ステップS204に処理を戻す。 When the control unit 230 determines that the level of the reception terminal 232 has not changed (step S205: NO), the control unit 230 returns the process to step S204. On the other hand, when the control unit 230 determines that the level of the receiving terminal 232 has changed (step S205: YES), the control unit 230 acquires a bit string for one frame (step S206). When the control unit 230 completes the process of step S206, the control unit 230 converts the bit string into data (step S207). When the control unit 230 completes the process of step S207, the control unit 230 returns the process to step S204.

本実施形態では、端子対143間に電流が流れるときに端子対143間に印加される電圧が低下し、端子対243間に印加された電圧が低下しない場合、子機200からシリアルデータが送信される。従って、本発明によれば、通信システム1000のスループットを低下させずに電流伝送の衝突を抑制することができる。 In the present embodiment, when the voltage applied between the terminal pairs 143 decreases when the current flows between the terminal pairs 143 and the voltage applied between the terminal pairs 243 does not decrease, serial data is transmitted from the slave unit 200. Will be done. Therefore, according to the present invention, the collision of current transmission can be suppressed without lowering the throughput of the communication system 1000.

また、本実施形態では、子機200が親機100にデータを送信している間に、他の子機(例えば、子機300又は子機400)が親機100にデータを送信していることが子機200により検出された場合、子機200によるデータの送信が中止される。従って、本実施形態によれば、電流伝送の衝突を更に抑制することができる。 Further, in the present embodiment, while the slave unit 200 is transmitting data to the master unit 100, another slave unit (for example, the slave unit 300 or the slave unit 400) is transmitting data to the master unit 100. If this is detected by the handset 200, the data transmission by the handset 200 is stopped. Therefore, according to the present embodiment, the collision of current transmission can be further suppressed.

この場合において、複数の子機に優先順位を割り当て、複数の子機による電流伝送が衝突した場合、なるべく優先順位が低い子機に電流伝送を中止させることが好適である。例えば、4ビットのデジタルデータにより示されるアドレス番号が小さい程、優先順位を高くする。そして、親機100に送信するデータを構成するビット列のうち、スタートビットの直後のビット列を、子機のアドレス番号を示すビット列とする。そして、例えば、子機200のアドレス番号として0000を割り当て、子機300のアドレス番号として0001を割り当て子機400のアドレス番号として0010を割り当てる。 In this case, it is preferable to assign priorities to a plurality of slave units, and when current transmissions by the plurality of slave units collide, stop the current transmission to the slave unit having the lowest priority as much as possible. For example, the smaller the address number indicated by the 4-bit digital data, the higher the priority. Then, among the bit strings constituting the data to be transmitted to the master unit 100, the bit string immediately after the start bit is set as the bit string indicating the address number of the slave unit. Then, for example, 0000 is assigned as the address number of the slave unit 200, 0001 is assigned as the address number of the slave unit 300, and 0010 is assigned as the address number of the slave unit 400.

ここで、親機100によるブロードキャストに応答して、或いは、親機100に電源が投入されたことに応答して、子機200と子機300と子機400とが同時に親機100にデータを送信し始めたものとする。子機200と子機300と子機400とは、0に対応するビットを送信するときに返送電流を流し、1に対応するビットを送信するときに返送電流を流さない。また、子機200と子機300と子機400とは、1に対応するビットを送信するときに、他の子機により返送電流が流されているかチェックする。 Here, in response to the broadcast by the master unit 100 or in response to the power being turned on to the master unit 100, the slave unit 200, the slave unit 300, and the slave unit 400 simultaneously transmit data to the master unit 100. It is assumed that you have started sending. The slave unit 200, the slave unit 300, and the slave unit 400 allow a return current to flow when transmitting a bit corresponding to 0, and do not allow a return current to flow when transmitting a bit corresponding to 1. Further, the slave unit 200, the slave unit 300, and the slave unit 400 check whether the return current is being passed by another slave unit when transmitting the bit corresponding to 1.

従って、子機200は、4ビット分返送電流を流す。一方、子機300は、3ビット分返送電流を流した後、4ビット目で、他の子機により返送電流が流されていることを検出し、データ送信を中止する。また、子機300は、2ビット分返送電流を流した後、3ビット目で、他の子機により返送電流が流されていることを検出し、データ送信を中止する。かかる構成によれば、電流伝送の衝突を抑制するときに、優先順位が高い子機によるデータ伝送が中止されにくくすることができる。 Therefore, the slave unit 200 sends a return current for 4 bits. On the other hand, after passing the return current for 3 bits, the slave unit 300 detects that the return current is being passed by another slave unit at the 4th bit, and stops the data transmission. Further, the slave unit 300 detects that the return current is being passed by another slave unit at the third bit after passing the return current for 2 bits, and stops the data transmission. According to such a configuration, when the collision of the current transmission is suppressed, it is possible to prevent the data transmission by the slave unit having a high priority from being interrupted.

また、本実施形態では、電圧低下回路として、電流制限回路151及び電流制限回路152が採用されている。このため、本実施形態によれば、端子対143間に流れる電流を維持しつつ、端子対143間の電圧を低下させることができる。 Further, in the present embodiment, the current limiting circuit 151 and the current limiting circuit 152 are adopted as the voltage drop circuit. Therefore, according to the present embodiment, it is possible to reduce the voltage between the terminals 143 while maintaining the current flowing between the terminals 143.

また、本実施形態では、親機100のアイドル時に端子対243間に印加される極性に応じて、親機100により送信されるシリアルデータの論理が決定される。このため、本実施形態によれば、端子対143と端子対243との接続極性に拘わらず、シリアルデータの論理を特定することができる。 Further, in the present embodiment, the logic of the serial data transmitted by the master unit 100 is determined according to the polarity applied between the terminal pairs 243 when the master unit 100 is idle. Therefore, according to the present embodiment, the logic of serial data can be specified regardless of the connection polarity between the terminal pair 143 and the terminal pair 243.

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

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

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

実施形態では、1台の親機又は1台の子機に、1台の子機が接続される例について説明した。親機と子機との接続関係は、この例に限定されない。例えば、1台の親機に2台以上の子機が接続されてもよいし、1台の子機に2台以上の子機が接続されてもよい。 In the embodiment, an example in which one slave unit is connected to one master unit or one slave unit has been described. The connection relationship between the master unit and the slave unit is not limited to this example. For example, two or more slave units may be connected to one master unit, or two or more slave units may be connected to one slave unit.

また、データの論理は、実施形態で示した例に限定されない。例えば、オペアンプ122の非反転入力に入力電圧を印加し、オペアンプ122の反転入力に基準電圧を印加してもよい。この場合、制御部230は、1に対応するビットを送信するときに送信端子231からHレベルの電圧を出力することが好適である。この場合、1に対応するビットがHレベルに対応する。 Further, the logic of the data is not limited to the example shown in the embodiment. For example, an input voltage may be applied to the non-inverting input of the operational amplifier 122, and a reference voltage may be applied to the inverting input of the operational amplifier 122. In this case, it is preferable that the control unit 230 outputs an H level voltage from the transmission terminal 231 when transmitting the bit corresponding to 1. In this case, the bit corresponding to 1 corresponds to the H level.

実施形態では、電圧低下回路として、電流制限回路151及び電流制限回路152を採用する例について説明した。本発明において、電圧低下回路として、他の回路を採用してもよい。例えば、電流制限回路151からNPNトランジスタ112を除外した回路、つまり、NPNトランジスタ111と抵抗113とを備える回路を、電流制限回路として採用することができる。同様に、電流制限回路152からNPNトランジスタ115を除外した回路、つまり、NPNトランジスタ114と抵抗116とを備える回路を、電流制限回路として採用することができる。 In the embodiment, an example in which the current limiting circuit 151 and the current limiting circuit 152 are adopted as the voltage drop circuit has been described. In the present invention, another circuit may be adopted as the voltage drop circuit. For example, a circuit excluding the NPN transistor 112 from the current limiting circuit 151, that is, a circuit including the NPN transistor 111 and the resistor 113 can be adopted as the current limiting circuit. Similarly, a circuit in which the NPN transistor 115 is excluded from the current limiting circuit 152, that is, a circuit including the NPN transistor 114 and the resistor 116 can be adopted as the current limiting circuit.

本発明は、本発明の広義の精神と範囲を逸脱することなく、様々な実施形態及び変形が可能とされるものである。また、上述した実施形態は、本発明を説明するためのものであり、本発明の範囲を限定するものではない。つまり、本発明の範囲は、実施形態ではなく、特許請求の範囲によって示される。そして、特許請求の範囲内及びそれと同等の発明の意義の範囲内で施される様々な変形が、本発明の範囲内とみなされる。 The present invention allows for various embodiments and modifications without departing from the broad spirit and scope of the 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 indicated by the scope of claims, not by embodiments. And, various modifications made 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 master unit and a plurality of slave units communicate with each other.

11,12,21,22,31,32 通信線、13,23,33 通信線対、100 親機、110,210 送信回路、111,112,114,115,211 NPNトランジスタ、117,118 PNPトランジスタ、120,220 受信回路、121,161,261,271 電源端子、122,262 オペアンプ、123,162,263 コンデンサ、113,116,124,125,126,212,222,223,264,265 抵抗、127,128,163,266 接地端子、130,230 制御部、131,132,231 送信端子、133,232 受信端子、141,142,241,242,341,342,441,442 端子、143,243,343,443 端子対、151,152 電流制限回路、200,300,400 子機、221 ツェナーダイオード、233 基準端子、234 検出端子、250 整流回路、251,252,253,254 ダイオード、260 電圧低下検出回路、1000 通信システム 11,12,21,22,31,32 communication line, 13,23,33 communication line pair, 100 master unit, 110,210 transmission circuit, 111,112,114,115,211 NPN transistor, 117,118 PNP transistor , 120, 220 receiving circuit, 121,161,261,171 power supply terminal, 122,262 operational capacitor, 123,162,263 capacitor, 113,116,124,125,126,212,222,223,264,265 resistor, 127,128,163,266 Ground terminal, 130,230 Control unit, 131,132,231 Transmission terminal, 133,232 Receiving terminal, 141,142,241,242,341,342,441,442 terminal, 143,243 , 343,443 terminal pair, 151,152 current limiting circuit, 200,300,400 slave unit, 221 Zener diode, 233 reference terminal, 234 detection terminal, 250 rectifier circuit, 251,252,253,254 diode, 260 voltage drop Detection circuit, 1000 communication system

Claims (8)

親機側端子対を備える親機と第1の子機側端子対を備える第1の子機と第2の子機側端子対を備える第2の子機とを備え、前記親機側端子対と前記第1の子機側端子対と前記第2の子機側端子対とが通信線対により相互に接続される通信システムであって、
前記親機は
前記親機側端子対間に電圧を印加し、前記親機側端子対間に電流が流れるときに前記親機側端子対間に印加する電圧を低下させる電圧低下回路を備える電圧印加回路と、
前記親機側端子対間に流れる電流の有無を検出することにより、前記第1の子機から第1のシリアルデータを受信し、前記第2の子機から第2のシリアルデータを受信する受信回路と、を備え、
前記第1の子機は、前記第1の子機側端子対間の導通・非導通状態を制御することにより前記親機に前記第1のシリアルデータを送信する送信回路を備え、
前記第2の子機は、
前記第2の子機側端子対間の導通・非導通状態を制御することにより前記親機に前記第2のシリアルデータを送信する送信回路と、
前記第2の子機側端子対間に印加される電圧が低下したことを検出する電圧低下検出回路と、
前記電圧低下検出回路により前記第2の子機側端子対間に印加された電圧が低下したことが検出されない場合、前記第2の子機が備える前記送信回路に前記第2のシリアルデータを送信させる制御回路と、を備え、
前記電圧印加回路は、前記親機側端子対間に印加する電圧の極性を切り替えることにより前記第2の子機に第3のシリアルデータを送信する送信回路であり、
前記第2の子機は、前記第2の子機側端子対間に印加される電圧の極性を検出することにより前記親機から前記第3のシリアルデータを受信する受信回路を備え、
前記制御回路は、前記親機が備える前記送信回路から前記第3のシリアルデータが送信されないときに前記第2の子機が備える前記受信回路により検出された極性に基づいて、前記第3のシリアルデータの論理を決定する、
通信システム。
A master unit having a master unit side terminal pair, a first slave unit having a first slave unit side terminal pair, and a second slave unit having a second slave unit side terminal pair are provided, and the master unit side terminal is provided. A communication system in which a pair, the first handset side terminal pair, and the second handset side terminal pair are connected to each other by a communication line pair.
The master unit is a voltage provided with a voltage reduction circuit that applies a voltage between the master unit side terminal pairs and reduces the voltage applied between the master unit side terminal pairs when a current flows between the master unit side terminal pairs. With the application circuit
Reception that receives the first serial data from the first slave unit and receives the second serial data from the second slave unit by detecting the presence or absence of a current flowing between the terminal pairs on the master unit side. With a circuit,
The first slave unit includes a transmission circuit that transmits the first serial data to the master unit by controlling the conduction / non-conduction state between the terminal pairs on the first slave unit side.
The second handset is
A transmission circuit that transmits the second serial data to the master unit by controlling the conduction / non-conduction state between the terminal pairs on the second slave unit side.
A voltage drop detection circuit that detects that the voltage applied between the second handset side terminal pair has dropped, and
When the voltage drop detection circuit does not detect that the voltage applied between the second handset side terminal pairs has dropped, the second serial data is transmitted to the transmission circuit included in the second handset. for example Bei and a control circuit which,
The voltage application circuit is a transmission circuit that transmits third serial data to the second slave unit by switching the polarity of the voltage applied between the master unit side terminal pairs.
The second slave unit includes a receiving circuit that receives the third serial data from the master unit by detecting the polarity of the voltage applied between the terminal pairs on the second slave unit side.
The control circuit has the third serial based on the polarity detected by the receiving circuit included in the second slave unit when the third serial data is not transmitted from the transmitting circuit included in the master unit. Determine the logic of the data,
Communications system.
親機側端子対を備える親機と第1の子機側端子対を備える第1の子機と第2の子機側端子対を備える第2の子機とを備え、前記親機側端子対と前記第1の子機側端子対と前記第2の子機側端子対とが通信線対により相互に接続される通信システムであって、
前記親機は
前記親機側端子対間に電圧を印加し、前記親機側端子対間に電流が流れるときに前記親機側端子対間に印加する電圧を低下させる電圧低下回路を備える電圧印加回路と、
前記親機側端子対間に流れる電流の有無を検出することにより、前記第1の子機から第1のシリアルデータを受信し、前記第2の子機から第2のシリアルデータを受信する受信回路と、を備え、
前記第1の子機は、前記第1の子機側端子対間の導通・非導通状態を制御することにより前記親機に前記第1のシリアルデータを送信する送信回路を備え、
前記第2の子機は、
前記第2の子機側端子対間の導通・非導通状態を制御することにより前記親機に前記第2のシリアルデータを送信する送信回路と、
前記第2の子機側端子対間に印加される電圧が低下したことを検出する電圧低下検出回路と、
前記電圧低下検出回路により前記第2の子機側端子対間に印加された電圧が低下したことが検出されない場合、前記第2の子機が備える前記送信回路に前記第2のシリアルデータを送信させる制御回路と、を備え、
前記電圧印加回路は、前記親機側端子対間に印加する電圧の極性を切り替えることにより前記第2の子機に第3のシリアルデータを送信する送信回路であり、
前記第2の子機は、前記第2の子機側端子対間に印加される電圧の極性を検出することにより前記親機から前記第3のシリアルデータを受信する受信回路を備え、
前記第2の子機が備える前記受信回路は、前記第2の子機側端子対のうち一方の端子に印加される電圧に対応する電圧を出力し、
前記制御回路は、前記第2の子機が備える前記受信回路から出力される電圧が閾値以上であるか否かを判別し、
前記第2の子機が備える前記受信回路は、前記電圧印加回路により前記親機側端子対間に第1の極性の電圧が印加される場合、前記親機側端子対間に電流が流れ、前記電圧低下回路により前記親機側端子対間に印加される電圧が低下し、前記親機側端子対と前記第2の子機側端子対とを接続する通信線対による電圧降下により前記第2の子機側端子対間の電圧が低下する場合においても、前記閾値以上の電圧を出力し、
前記第2の子機が備える前記受信回路は、前記電圧印加回路により前記親機側端子対間に前記第1の極性とは逆の極性である第2の極性の電圧が印加される場合、前記親機側端子対間に電流が流れず、前記電圧低下回路により前記親機側端子対間に印加される電圧が低下せず、前記親機側端子対と前記第2の子機側端子対とを接続する前記通信線対による電圧降下により前記第2の子機側端子対間の電圧が低下しない場合においても、前記閾値未満の電圧を出力する、
通信システム。
A master unit having a master unit side terminal pair, a first slave unit having a first slave unit side terminal pair, and a second slave unit having a second slave unit side terminal pair are provided, and the master unit side terminal is provided. A communication system in which a pair, the first handset side terminal pair, and the second handset side terminal pair are connected to each other by a communication line pair.
The master unit is a voltage provided with a voltage reduction circuit that applies a voltage between the master unit side terminal pairs and reduces the voltage applied between the master unit side terminal pairs when a current flows between the master unit side terminal pairs. With the application circuit
Reception that receives the first serial data from the first slave unit and receives the second serial data from the second slave unit by detecting the presence or absence of a current flowing between the terminal pairs on the master unit side. With a circuit,
The first slave unit includes a transmission circuit that transmits the first serial data to the master unit by controlling the conduction / non-conduction state between the terminal pairs on the first slave unit side.
The second handset is
A transmission circuit that transmits the second serial data to the master unit by controlling the conduction / non-conduction state between the terminal pairs on the second slave unit side.
A voltage drop detection circuit that detects that the voltage applied between the second handset side terminal pair has dropped, and
When the voltage drop detection circuit does not detect that the voltage applied between the second handset side terminal pairs has dropped, the second serial data is transmitted to the transmission circuit provided in the second handset. for example Bei and a control circuit which,
The voltage application circuit is a transmission circuit that transmits third serial data to the second slave unit by switching the polarity of the voltage applied between the master unit side terminal pairs.
The second slave unit includes a receiving circuit that receives the third serial data from the master unit by detecting the polarity of the voltage applied between the terminal pairs on the second slave unit side.
The receiving circuit included in the second handset outputs a voltage corresponding to the voltage applied to one of the terminals of the second handset side terminal pair.
The control circuit determines whether or not the voltage output from the receiving circuit included in the second handset is equal to or higher than the threshold value.
In the receiving circuit included in the second slave unit, when a voltage of the first polarity is applied between the master unit side terminal pairs by the voltage application circuit, a current flows between the master unit side terminal pairs. The voltage applied between the master unit side terminal pairs is reduced by the voltage drop circuit, and the voltage drop due to the communication line pair connecting the master unit side terminal pair and the second slave unit side terminal pair causes the first. Even when the voltage between the terminal pairs on the slave unit side of 2 drops, the voltage above the threshold is output.
In the receiving circuit included in the second slave unit, when a voltage having a second polarity opposite to that of the first polarity is applied between the terminal pairs on the master unit side by the voltage applying circuit. No current flows between the master unit side terminal pairs, the voltage applied between the master unit side terminal pairs does not decrease due to the voltage reduction circuit, and the master unit side terminal pair and the second slave unit side terminal do not decrease. Even when the voltage between the second slave unit side terminal pair does not decrease due to the voltage drop due to the communication line pair connecting the pair, a voltage less than the threshold value is output.
Communications system.
前記親機は、前記親機の電源電圧が印加される電源端子を備え、
前記電圧低下回路は、前記親機側端子対間に流れる電流の増加に伴って前記電源端子と前記親機側端子対のうち一方の端子との間に印加される電圧を高くするとともに、前記親機側端子対間に流れる電流を予め定められた閾値以下に抑える電流制限回路である、
請求項1又は2に記載の通信システム。
The master unit includes a power supply terminal to which the power supply voltage of the master unit is applied.
The voltage drop circuit increases the voltage applied between the power supply terminal and one of the terminals of the master unit side terminal pair as the current flowing between the master unit side terminal pairs increases, and at the same time, the voltage drop circuit increases the voltage applied between the power supply terminal and one of the master unit side terminal pairs. It is a current limiting circuit that suppresses the current flowing between the pair of terminals on the master unit side to a predetermined threshold or less.
The communication system according to claim 1 or 2.
記第2の子機は、前記第2の子機側端子対が接続される交流入力端子対と、前記交流入力端子対を介して供給される電流を整流した電流が流れる直流出力端子対と、を備える整流回路を備え、
前記電圧低下検出回路は、前記直流出力端子対間に印加される電圧が低下したことを検出することにより、前記第2の子機側端子対間に印加される電圧が低下したことを検出する、
請求項1から3の何れか1項に記載の通信システム。
Before Stories second slave unit, before Symbol second and AC input terminal pair handset terminal pair is connected, the DC output terminal of the current obtained by rectifying the current supplied via the AC input terminal pair to flow comprising a rectifier circuitry having pairs and, a,
The voltage drop detection circuit detects that the voltage applied between the DC output terminal pairs has dropped, thereby detecting that the voltage applied between the second slave unit side terminal pairs has dropped. ,
The communication system according to any one of claims 1 to 3.
電圧が印加される通信線対により親機と子機とに接続される端子対と、
前記端子対間の導通・非導通状態を制御することにより前記親機にシリアルデータを送信する送信回路と、
前記端子対間に印加される電圧が低下したことを検出する電圧低下検出回路と、
前記電圧低下検出回路により前記端子対間に印加された電圧が低下したことが検出されない場合、前記送信回路に前記シリアルデータを送信させる制御回路と、を備える通信機器であって、
前記親機は、前記通信線対間に印加する電圧の極性を切り替えることにより前記通信機器に第2のシリアルデータを送信し、
前記端子対間に印加される電圧の極性を検出することにより前記親機から前記第2のシリアルデータを受信する受信回路を備え、
前記制御回路は、前記親機から前記第2のシリアルデータが送信されないときに前記受信回路により検出された極性に基づいて、前記第2のシリアルデータの論理を決定する、
通信機器。
A terminal pair connected to the master unit and the slave unit by a communication line pair to which voltage is applied,
A transmission circuit that transmits serial data to the master unit by controlling the conduction / non-conduction state between the terminal pairs, and
A voltage drop detection circuit that detects that the voltage applied between the terminal pairs has dropped,
A communication device including a control circuit for causing the transmission circuit to transmit the serial data when the voltage drop detection circuit does not detect that the voltage applied between the terminal pairs has dropped.
The master unit transmits the second serial data to the communication device by switching the polarity of the voltage applied between the communication line pairs.
A receiving circuit for receiving the second serial data from the master unit by detecting the polarity of the voltage applied between the terminal pairs is provided.
The control circuit determines the logic of the second serial data based on the polarity detected by the receiving circuit when the second serial data is not transmitted from the master unit.
Communication equipment.
電圧が印加される通信線対により親機と子機とに接続される端子対と、
前記端子対間の導通・非導通状態を制御することにより前記親機にシリアルデータを送信する送信回路と、
前記端子対間に印加される電圧が低下したことを検出する電圧低下検出回路と、
前記電圧低下検出回路により前記端子対間に印加された電圧が低下したことが検出されない場合、前記送信回路に前記シリアルデータを送信させる制御回路と、を備える通信機器であって、
前記親機は、前記通信線対間に印加する電圧の極性を切り替えることにより前記通信機器に第2のシリアルデータを送信し、
前記端子対間に印加される電圧の極性を検出することにより前記親機から前記第2のシリアルデータを受信する受信回路を備え、
前記受信回路は、前記端子対のうち一方の端子に印加される電圧に対応する電圧を出力し、
前記制御回路は、前記受信回路から出力される電圧が閾値以上であるか否かを判別し、
前記受信回路は、前記親機により前記通信線対間に第1の極性の電圧が印加される場合、前記通信線対間に電流が流れ、前記通信線対間に印加される電圧が低下し、前記通信線対による電圧降下により前記端子対間の電圧が低下する場合においても、前記閾値以上の電圧を出力し、
前記受信回路は、前記親機により前記通信線対間に前記第1の極性とは逆の極性である第2の極性の電圧が印加される場合、前記通信線対間に電流が流れず、前記通信線対間に印加される電圧が低下せず、前記通信線対による電圧降下により前記端子対間の電圧が低下しない場合においても、前記閾値未満の電圧を出力する、
通信機器。
A terminal pair connected to the master unit and the slave unit by a communication line pair to which voltage is applied,
A transmission circuit that transmits serial data to the master unit by controlling the conduction / non-conduction state between the terminal pairs, and
A voltage drop detection circuit that detects that the voltage applied between the terminal pairs has dropped,
A communication device including a control circuit for causing the transmission circuit to transmit the serial data when the voltage drop detection circuit does not detect that the voltage applied between the terminal pairs has dropped.
The master unit transmits the second serial data to the communication device by switching the polarity of the voltage applied between the communication line pairs.
A receiving circuit for receiving the second serial data from the master unit by detecting the polarity of the voltage applied between the terminal pairs is provided.
The receiving circuit outputs a voltage corresponding to the voltage applied to one of the terminals of the terminal pair.
The control circuit determines whether or not the voltage output from the receiving circuit is equal to or higher than the threshold value, and determines whether or not the voltage is equal to or higher than the threshold value.
In the receiving circuit, when a voltage of the first polarity is applied between the communication line pairs by the master unit, a current flows between the communication line pairs and the voltage applied between the communication line pairs decreases. Even when the voltage between the terminal pairs drops due to the voltage drop due to the communication line pair, a voltage equal to or higher than the threshold value is output.
In the receiving circuit, when a voltage having a second polarity opposite to the first polarity is applied between the communication line pairs by the master unit, no current flows between the communication line pairs. Even when the voltage applied between the communication line pairs does not decrease and the voltage between the terminal pairs does not decrease due to the voltage drop due to the communication line pair, the voltage less than the threshold value is output.
Communication equipment.
親機側端子対を備える親機と第1の子機側端子対を備える第1の子機と第2の子機側端子対を備える第2の子機とを備え、前記親機側端子対と前記第1の子機側端子対と前記第2の子機側端子対とが通信線対により相互に接続される通信システムにおける通信制御方法であって、
前記親機側端子対間に電圧を印加し、
前記第1の子機側端子対間の導通・非導通状態を制御することにより前記第1の子機から前記親機に第1のシリアルデータを送信し、
前記親機側端子対間に電流が流れるときに前記親機側端子対間に印加される電圧を低下させ、
前記第2の子機側端子対間に印加される電圧が低下しない場合、前記第2の子機側端子対間の導通・非導通状態を制御することにより前記第2の子機から前記親機に第2のシリアルデータを送信し、
前記親機が、前記親機側端子対間に流れる電流の有無を検出することにより、前記第1の子機から前記第1のシリアルデータを受信し、前記第2の子機から前記第2のシリアルデータを受信し、
前記親機側端子対間に印加する電圧の極性を切り替えることにより前記親機から前記第2の子機に第3のシリアルデータを送信し、
前記第2の子機が、前記第2の子機側端子対間に印加される電圧の極性を検出することにより前記親機から前記第3のシリアルデータを受信し、
前記第2の子機が、前記親機から前記第3のシリアルデータが送信されないときに検出した極性に基づいて、前記第3のシリアルデータの論理を決定する、
通信制御方法。
A master unit having a master unit side terminal pair, a first slave unit having a first slave unit side terminal pair, and a second slave unit having a second slave unit side terminal pair are provided, and the master unit side terminal is provided. It is a communication control method in a communication system in which a pair, the first handset side terminal pair, and the second handset side terminal pair are connected to each other by a communication line pair.
A voltage is applied between the pair of terminals on the master unit side to
By controlling the conduction / non-conduction state between the terminal pairs on the first slave unit side, the first slave unit transmits the first serial data to the master unit.
When a current flows between the master unit side terminal pairs, the voltage applied between the master unit side terminal pairs is reduced.
When the voltage applied between the second handset side terminal pairs does not decrease, the second handset can be used as the parent by controlling the conduction / non-conduction state between the second handset side terminal pairs. Send the second serial data to the machine,
The master unit receives the first serial data from the first slave unit by detecting the presence or absence of a current flowing between the terminal pairs on the master unit side, and the second slave unit receives the first serial data. receives the serial data,
By switching the polarity of the voltage applied between the terminal pairs on the master unit side, the master unit transmits the third serial data to the second slave unit.
The second slave unit receives the third serial data from the master unit by detecting the polarity of the voltage applied between the terminal pairs on the second slave unit side.
The logic of the third serial data is determined based on the polarity detected by the second slave unit when the third serial data is not transmitted from the master unit.
Communication control method.
親機側端子対を備える親機と第1の子機側端子対を備える第1の子機と第2の子機側端子対を備える第2の子機とを備え、前記親機側端子対と前記第1の子機側端子対と前記第2の子機側端子対とが通信線対により相互に接続される通信システムにおける通信制御方法であって、
前記親機側端子対間に電圧を印加し、
前記第1の子機側端子対間の導通・非導通状態を制御することにより前記第1の子機から前記親機に第1のシリアルデータを送信し、
前記親機側端子対間に電流が流れるときに前記親機側端子対間に印加される電圧を低下させ、
前記第2の子機側端子対間に印加される電圧が低下しない場合、前記第2の子機側端子対間の導通・非導通状態を制御することにより前記第2の子機から前記親機に第2のシリアルデータを送信し、
前記親機が、前記親機側端子対間に流れる電流の有無を検出することにより、前記第1の子機から前記第1のシリアルデータを受信し、前記第2の子機から前記第2のシリアルデータを受信し、
前記親機側端子対間に印加する電圧の極性を切り替えることにより前記親機から前記第2の子機に第3のシリアルデータを送信し、
前記第2の子機が、前記第2の子機側端子対間に印加される電圧の極性を検出することにより前記親機から前記第3のシリアルデータを受信し、
前記第2の子機が、前記第2の子機側端子対のうち一方の端子に印加される電圧に対応する電圧を出力し、
前記第2の子機が、前記出力した電圧が閾値以上であるか否かを判別し、
前記第2の子機が、前記親機により前記親機側端子対間に第1の極性の電圧が印加される場合、前記親機側端子対間に電流が流れ、前記親機側端子対間に印加される電圧が低下し、前記親機側端子対と前記第2の子機側端子対とを接続する通信線対による電圧降下により前記第2の子機側端子対間の電圧が低下する場合においても、前記閾値以上の電圧を出力し、
前記第2の子機が、前記親機により前記親機側端子対間に前記第1の極性とは逆の極性である第2の極性の電圧が印加される場合、前記親機側端子対間に電流が流れず、前記親機側端子対間に印加される電圧が低下せず、前記親機側端子対と前記第2の子機側端子対とを接続する前記通信線対による電圧降下により前記第2の子機側端子対間の電圧が低下しない場合においても、前記閾値未満の電圧を出力する、
通信制御方法。
A master unit having a master unit side terminal pair, a first slave unit having a first slave unit side terminal pair, and a second slave unit having a second slave unit side terminal pair are provided, and the master unit side terminal is provided. It is a communication control method in a communication system in which a pair, the first handset side terminal pair, and the second handset side terminal pair are connected to each other by a communication line pair.
A voltage is applied between the pair of terminals on the master unit side to
By controlling the conduction / non-conduction state between the terminal pairs on the first slave unit side, the first slave unit transmits the first serial data to the master unit.
When a current flows between the master unit side terminal pairs, the voltage applied between the master unit side terminal pairs is reduced.
When the voltage applied between the second handset side terminal pairs does not decrease, the second handset can be used as the parent by controlling the conduction / non-conduction state between the second handset side terminal pairs. Send the second serial data to the machine,
The master unit receives the first serial data from the first slave unit by detecting the presence or absence of a current flowing between the terminal pairs on the master unit side, and the second slave unit receives the first serial data. receives the serial data,
By switching the polarity of the voltage applied between the terminal pairs on the master unit side, the master unit transmits the third serial data to the second slave unit.
The second slave unit receives the third serial data from the master unit by detecting the polarity of the voltage applied between the terminal pairs on the second slave unit side.
The second handset outputs a voltage corresponding to the voltage applied to one of the terminals of the second handset side terminal pair.
The second handset determines whether or not the output voltage is equal to or higher than the threshold value.
In the second slave unit, when a voltage of the first polarity is applied between the master unit side terminal pairs by the master unit, a current flows between the master unit side terminal pairs and the master unit side terminal pair. The voltage applied between them decreases, and the voltage between the second slave unit side terminal pair increases due to the voltage drop caused by the communication line pair connecting the master unit side terminal pair and the second slave unit side terminal pair. Even if it drops, it outputs a voltage above the threshold and outputs it.
When a voltage having a second polarity opposite to that of the first polarity is applied between the master unit side terminal pair by the master unit, the second slave unit has the master unit side terminal pair. No current flows between them, the voltage applied between the master unit side terminal pairs does not decrease, and the voltage due to the communication line pair connecting the master unit side terminal pair and the second slave unit side terminal pair. Even if the voltage between the second handset side terminal pairs does not drop due to the drop, a voltage less than the threshold is output.
Communication control method.
JP2017144141A 2017-07-26 2017-07-26 Communication system, communication equipment, and communication control method Expired - Fee Related JP6971679B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017144141A JP6971679B2 (en) 2017-07-26 2017-07-26 Communication system, communication equipment, and communication control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017144141A JP6971679B2 (en) 2017-07-26 2017-07-26 Communication system, communication equipment, and communication control method

Publications (2)

Publication Number Publication Date
JP2019029707A JP2019029707A (en) 2019-02-21
JP6971679B2 true JP6971679B2 (en) 2021-11-24

Family

ID=65478607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017144141A Expired - Fee Related JP6971679B2 (en) 2017-07-26 2017-07-26 Communication system, communication equipment, and communication control method

Country Status (1)

Country Link
JP (1) JP6971679B2 (en)

Also Published As

Publication number Publication date
JP2019029707A (en) 2019-02-21

Similar Documents

Publication Publication Date Title
US8504748B2 (en) Communication slave and communication network system
RU2716567C2 (en) Powered device, power sourcing equipment device, power-over-ethernet network system and methods therefor
JP6425798B2 (en) Communication system and communication device
US7554783B2 (en) High-power foldback mechanism in system for providing power over communication link
EP3076684B1 (en) Communicaton device, receiving device, and communication system for transmitting information in daisy chain network
EP1681776B1 (en) Facilities equipment communication circuit
US12074446B2 (en) Methods and arrangements for load control
CN114342553B (en) Power supply device, power receiving device, and power supply and receiving method
US10122164B2 (en) Protection device and protection method
JP6971679B2 (en) Communication system, communication equipment, and communication control method
US20170181240A1 (en) High voltage resistant transmitting circuit for devices communicating on dali bus
US10299352B2 (en) Light source control system
CN107078976B (en) Communication system and transmission device
US9735837B2 (en) Method and wireless charging receiver capable of automatically detecting information of wireless power transmitter to limit maximum charging current provided for portable device
CN110419201B (en) Receiving apparatus and communication system
US10116352B2 (en) Communication system, transmission device, and reception device
US9681524B2 (en) Start up circuit for digital addressable lighting interface stand by compatible driver
JP6846999B2 (en) Communication system, communication equipment, and miswiring detection method
CN111316533A (en) Power transfer control for DC powered devices
US11176073B2 (en) Data processing apparatus
JP2018037934A (en) Radio communication device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200622

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210420

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210427

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210609

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211102

R150 Certificate of patent or registration of utility model

Ref document number: 6971679

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees