JP7175136B2 - Wiring length measuring device and wiring length measuring method - Google Patents

Wiring length measuring device and wiring length measuring method Download PDF

Info

Publication number
JP7175136B2
JP7175136B2 JP2018156929A JP2018156929A JP7175136B2 JP 7175136 B2 JP7175136 B2 JP 7175136B2 JP 2018156929 A JP2018156929 A JP 2018156929A JP 2018156929 A JP2018156929 A JP 2018156929A JP 7175136 B2 JP7175136 B2 JP 7175136B2
Authority
JP
Japan
Prior art keywords
waveform
pair
voltage
wiring length
communication lines
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018156929A
Other languages
Japanese (ja)
Other versions
JP2019041384A (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
Publication of JP2019041384A publication Critical patent/JP2019041384A/en
Application granted granted Critical
Publication of JP7175136B2 publication Critical patent/JP7175136B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)
  • Dc Digital Transmission (AREA)

Description

本発明は、配線長計測装置、及び、配線長計測方法に関する。 The present invention relates to a wire length measuring device and a wire length measuring method.

ビルや住宅で用いられる空調システムは、室外機、室内機、リモコンなどの機器を備え、これらの機器は、例えば、一対の通信線を含むケーブルにより相互に接続され、このケーブルを介して相互に通信する。ここで、機器間の距離が遠くなると、機器同士を接続するケーブルの長さである配線長も長くなる。そして、一般的に、配線長が長くなると、信号の減衰が大きくなり、通信品質が低下する。このため、配線長が長くなりすぎないように、配線トポロジやケーブルの長さが設計される。 Air-conditioning systems used in buildings and houses are equipped with devices such as an outdoor unit, an indoor unit, and a remote control. connect. Here, as the distance between devices increases, the wiring length, which is the length of the cable connecting the devices, also increases. In general, the longer the wiring length, the greater the signal attenuation, and the lower the communication quality. Therefore, the wiring topology and cable length are designed so that the wiring length does not become too long.

ここで、施工者は、機器同士をケーブルで接続するときに、誤った長さのケーブルを使用したり、ケーブルの接続先を誤ったりすることがある。このため、施工後に、機器同士が適切な長さのケーブルで適切に接続されていることを確認したいという要望がある。現在、このような要望に関連する技術として、機器間の距離や機器間の配線長を計測する種々の技術が知られている。例えば、特許文献1には、無線通信機能を備えた距離計測部を各端末に設け、無線通信により端末間の距離を計測する技術が記載されている。 Here, when connecting devices with cables, the installer may use cables of the wrong length or connect the cables to the wrong destination. For this reason, there is a demand after construction to confirm that the devices are properly connected to each other with cables of appropriate lengths. Currently, various techniques for measuring the distance between devices and the wiring length between devices are known as technologies related to such demands. For example, Patent Literature 1 describes a technique of providing each terminal with a distance measuring unit having a wireless communication function and measuring the distance between the terminals through wireless communication.

特開2011-130346号公報JP 2011-130346 A

しかしながら、無線通信により計測される端末間の距離と、端末間の配線長とは異なる。また、無線通信機能を備えた距離計測部を各端末に設けると、コストや手間を要する。このため、特許文献1に記載された技術では、低コストで容易に端末間の配線長を計測することができなかった。そこで、低コストで容易に基準位置から機器までの配線長を計測する技術が望まれている。 However, the distance between terminals measured by wireless communication is different from the wiring length between terminals. In addition, if each terminal is provided with a distance measuring unit having a wireless communication function, it is costly and time-consuming. Therefore, with the technique described in Patent Document 1, it was not possible to easily measure the wiring length between terminals at low cost. Therefore, there is a demand for a technique for easily measuring the wiring length from the reference position to the device at low cost.

本発明は、上記問題に鑑みてなされたものであり、低コストで容易に基準位置から機器までの配線長を計測する配線長計測装置、及び、配線長計測方法を提供することを目的とする。 SUMMARY OF THE INVENTION It is an object of the present invention to provide a wiring length measuring apparatus and a wiring length measuring method for easily measuring the wiring length from a reference position to a device at low cost. .

上記目的を達成するために、本発明に係る配線長計測装置は、
一対の通信線上における基準位置から、前記一対の通信線に接続された1又は複数の機器のうち第1の機器までの配線長を計測する配線長計測装置であって、
前記第1の機器によるデータの送信中において、前記一対の通信線上における前記第1の機器の接続位置において前記一対の通信線間が低インピーダンスで接続されているときに、前記基準位置において前記一対の通信線間に電圧パルスを印加するパルス印加手段と、
前記基準位置において前記一対の通信線間の電圧波形を測定する波形測定手段と、
前記第1の機器により前記データが送信された場合、前記第1の機器を示す情報と、前記電圧波形上における前記電圧パルスの先頭位置から前記電圧パルスの反射波の先頭位置までの長さに対応する配線長を示す情報と、を対応付けて表示する表示手段と、を備える。
In order to achieve the above object, the wiring length measuring device according to the present invention includes:
A wiring length measuring device for measuring a wiring length from a reference position on a pair of communication lines to a first device among one or more devices connected to the pair of communication lines,
during data transmission by the first device, at the reference position when the pair of communication lines are connected at a connection position of the first device on the pair of communication lines with low impedance; a pulse applying means for applying a voltage pulse between the pair of communication lines;
waveform measuring means for measuring a voltage waveform between the pair of communication lines at the reference position;
When the data is transmitted by the first device, the information indicating the first device and the length from the top position of the voltage pulse on the voltage waveform to the top position of the reflected wave of the voltage pulse and display means for displaying information indicating corresponding wiring lengths in association with each other.

本発明では、第1の機器の接続位置において一対の通信線間が低インピーダンスで接続されているときに、基準位置において一対の通信線間に電圧パルスが印加され、基準位置において測定された電圧波形上における電圧パルスの先頭位置から電圧パルスの反射波の先頭位置までの長さに対応する配線長が計測される。従って、本発明によれば、低コストで容易に基準位置から機器までの配線長を計測することができる。 In the present invention, when the pair of communication lines are connected at the connection position of the first device with low impedance, a voltage pulse is applied between the pair of communication lines at the reference position, and the voltage measured at the reference position A wiring length corresponding to the length from the top position of the voltage pulse on the waveform to the top position of the reflected wave of the voltage pulse is measured. Therefore, according to the present invention, it is possible to easily measure the wiring length from the reference position to the device at low cost.

本発明の実施形態1に係る配線長計測装置が適用される空調システムの構成図1 is a configuration diagram of an air conditioning system to which a wiring length measuring device according to Embodiment 1 of the present invention is applied; ケーブルの構成図Cable configuration diagram 本発明の実施形態1に係る配線長計測装置の機能ブロック図1 is a functional block diagram of a wiring length measuring device according to Embodiment 1 of the present invention; データ構成の説明図Explanation of data structure 一対の通信線間が低インピーダンスで接続される原理の説明図Illustration of the principle of low-impedance connection between a pair of communication lines 本発明の実施形態1において測定される電圧波形の説明図Explanatory diagram of voltage waveforms measured in Embodiment 1 of the present invention パルス往復時間を求める手法の説明図Explanatory diagram of the method for obtaining the pulse round-trip time 本発明の実施形態1に係る配線長計測装置が実行する配線長計測処理を示すフローチャート3 is a flow chart showing wiring length measurement processing executed by the wiring length measurement device according to the first embodiment of the present invention; 機器識別情報と配線長情報とを対応付けて提示する画面を示す図FIG. 10 is a diagram showing a screen presenting device identification information and wiring length information in association with each other; 本発明の実施形態2において測定される電圧波形の説明図Explanatory diagram of voltage waveforms measured in Embodiment 2 of the present invention 差分波形の説明図Explanatory diagram of differential waveform 本発明の実施形態2に係る配線長計測装置が実行する配線長計測処理を示すフローチャート3 is a flow chart showing wiring length measurement processing executed by the wiring length measuring device according to the second embodiment of the present invention; 本発明の実施形態1の変形例1に係る配線長計測装置が適用される空調システムの構成図1 is a configuration diagram of an air conditioning system to which a wiring length measuring device according to Modification 1 of Embodiment 1 of the present invention is applied; FIG. 本発明の実施形態1の変形例2に係る配線長計測装置が適用される空調システムの構成図1 is a configuration diagram of an air conditioning system to which a wiring length measuring device according to Modified Example 2 of Embodiment 1 of the present invention is applied; FIG.

本発明の実施形態を、図面を参照して説明する。 Embodiments of the present invention will be described with reference to the drawings.

(実施形態1)
まず、図1を参照して、本発明の実施形態1に係る配線長計測装置100が適用される空調システム1000について説明する。空調システム1000は、1又は複数の機器が一対の通信線により接続されたシステムである。一対の通信線は、一対の通信線間の電圧によりデータを送受信するためのものである。一対の通信線は、第1の電位に設定される通信線と、第2の電位に設定される通信線と、を備える。この一対の通信線には、途中で分岐するものも含まれる。
(Embodiment 1)
First, referring to FIG. 1, an air conditioning system 1000 to which a wiring length measuring device 100 according to Embodiment 1 of the present invention is applied will be described. An air conditioning system 1000 is a system in which one or more devices are connected by a pair of communication lines. A pair of communication lines are for transmitting and receiving data by a voltage between the pair of communication lines. The pair of communication lines includes a communication line set to a first potential and a communication line set to a second potential. This pair of communication lines includes those that branch in the middle.

配線長計測装置100は、配線長計測装置100から、空調システム1000に含まれる1又は複数の機器のうち計測対象の機器までの配線長を計測する装置である。以下、計測対象の機器を、適宜、第1の機器という。配線長計測装置100は、上記一対の通信線のうち、配線長計測装置100と第1の機器とを接続する部分の長さを計測する装置である。配線長計測装置100は、第1の機器がデータを送信するときに一対の通信線上における第1の機器の接続位置において一対の通信線間が低インピーダンスで接続されることを利用し、TDR(Time Domain Reflectometry)計測により配線長を計測する。 The wiring length measuring device 100 is a device that measures the wiring length from the wiring length measuring device 100 to a device to be measured among one or more devices included in the air conditioning system 1000 . Hereinafter, the device to be measured will be referred to as the first device as appropriate. The wiring length measuring device 100 is a device that measures the length of the portion of the pair of communication lines that connects the wiring length measuring device 100 and the first device. The wiring length measuring apparatus 100 utilizes the fact that the pair of communication lines are connected with low impedance at the connection position of the first device on the pair of communication lines when the first device transmits data, and TDR ( Measure the wiring length by Time Domain Reflectometry) measurement.

図1に示すように、空調システム1000は、室外機200と、室内機300と、室内機400と、室内機500と、ケーブル610と、ケーブル620と、ケーブル630と、負荷抵抗700と、を備える。室外機200と室内機300と室内機400と室内機500とを、適宜、機器という。各機器は、一対の通信線を介して、AMI(Alternate Mark Inversion cord)、NRZ(Non Return to Zero)、CMI(Code Mark Inversion code)などの伝送路符号を用いたベースバンド変調方式で相互に通信する。本実施形態では、伝送路符号として、デューティ比が50%のAMIが採用されるものとする。本実施形態では、1を送信するときに一対の通信線間の電圧を0Vに設定し、0を送信するときにデューディ比50%で一対の通信線間の電圧を5Vと-5Vとで極性を切り替えながら交互に設定する。 As shown in FIG. 1, the air conditioning system 1000 includes an outdoor unit 200, an indoor unit 300, an indoor unit 400, an indoor unit 500, a cable 610, a cable 620, a cable 630, and a load resistor 700. Prepare. The outdoor unit 200, the indoor unit 300, the indoor unit 400, and the indoor unit 500 are appropriately referred to as devices. Each device communicates with each other via a pair of communication lines using a baseband modulation method using transmission line codes such as AMI (Alternate Mark Inversion cord), NRZ (Non Return to Zero), and CMI (Code Mark Inversion code). connect. In this embodiment, it is assumed that AMI with a duty ratio of 50% is adopted as the transmission line code. In this embodiment, the voltage between the pair of communication lines is set to 0 V when transmitting 1, and the voltage between the pair of communication lines is set to 5 V and -5 V with a duty ratio of 50% when transmitting 0. set alternately while switching between

各機器は、ケーブル610,620,630により相互に接続される。具体的には、室外機200と室内機300とはケーブル610により接続され、室内機300と室内機400とはケーブル620により接続され、室内機400と室内機500とはケーブル630により接続される。このように、本実施形態では、各機器は、直列に接続される。このため、本実施形態では、ケーブル610,620,630の接続により構成される一対の通信線は、基本的に、機器との接続部分以外では分岐しない。 Each device is interconnected by cables 610 , 620 , 630 . Specifically, the outdoor unit 200 and the indoor unit 300 are connected by a cable 610, the indoor unit 300 and the indoor unit 400 are connected by a cable 620, and the indoor unit 400 and the indoor unit 500 are connected by a cable 630. . Thus, in this embodiment, each device is connected in series. Therefore, in this embodiment, the pair of communication lines formed by connecting the cables 610, 620, and 630 basically do not branch apart from the connecting portion with the device.

室外機200は、室外に設置される空調機である。室外機200は、一対の通信線が接続される端子201,202を備える。室内機300,400,500は、室内に設置される空調機である。室内機300は、一対の通信線が接続される端子301,302を備える。室内機400は、一対の通信線が接続される端子401,402を備える。室内機500は、一対の通信線が接続される端子501,502を備える。室外機200および室内機300,400,500は、通信に関する構成に関しては、基本的に同様である。 The outdoor unit 200 is an air conditioner installed outdoors. The outdoor unit 200 has terminals 201 and 202 to which a pair of communication lines are connected. Indoor units 300, 400, and 500 are air conditioners installed indoors. The indoor unit 300 includes terminals 301 and 302 to which a pair of communication lines are connected. The indoor unit 400 includes terminals 401 and 402 to which a pair of communication lines are connected. The indoor unit 500 includes terminals 501 and 502 to which a pair of communication lines are connected. The outdoor unit 200 and the indoor units 300, 400, 500 are basically similar in terms of communication configuration.

ケーブル610,620,630は、ベースバンド変調方式の通信に用いられるケーブルである。本実施形態では、ケーブル610,620,630は、シールドが施されたツイストペアケーブル、つまり、STP(Shielded Twisted Pair)ケーブルである。ただし、ケーブル610,620,630は、シールドが施されていないツイストペアケーブル、つまり、UTP(Unshielded Twisted Pair)ケーブルであってもよいし、平行ケーブルであってもよい。以下、図2を参照して、ケーブル610の構成について説明する。 Cables 610, 620, and 630 are cables used for baseband modulation communication. In this embodiment, the cables 610, 620, 630 are shielded twisted pair cables, that is, STP (Shielded Twisted Pair) cables. However, the cables 610, 620, 630 may be unshielded twisted pair cables, that is, UTP (Unshielded Twisted Pair) cables, or parallel cables. The configuration of cable 610 will be described below with reference to FIG.

ケーブル610は、芯線611と、芯線612と、絶縁部材613と、絶縁部材614と、シールド線615と、絶縁部材616とを備える。芯線611と芯線612とは、電力や電気信号を送信するための電線であり、例えば、銅やアルミニウムにより構成される。絶縁部材613は、芯線611を被覆する絶縁体である。絶縁部材614は、芯線612を被覆する絶縁体である。絶縁部材613,614は、例えば、塩化ビニール樹脂などにより構成される。 Cable 610 includes core wire 611 , core wire 612 , insulating member 613 , insulating member 614 , shielded wire 615 , and insulating member 616 . The core wire 611 and the core wire 612 are electric wires for transmitting electric power and electric signals, and are made of copper or aluminum, for example. The insulating member 613 is an insulator that covers the core wire 611 . The insulating member 614 is an insulator covering the core wire 612 . The insulating members 613 and 614 are made of, for example, vinyl chloride resin.

シールド線615は、芯線611と芯線612とを被覆して遮蔽する。つまり、シールド線615は、外部空間から放射されたノイズが芯線611,612に進入することを防止する。また、シールド線615は、芯線611,612から外部空間にノイズが放射されることを防止する。また、シールド線615は、機器のシャーシに接続され、接地される。シールド線615は、例えば、銅やアルミニウムにより構成される。絶縁部材616は、シールド線615を被覆する絶縁体である。 The shield wire 615 covers and shields the core wire 611 and the core wire 612 . That is, the shield wire 615 prevents noise radiated from the external space from entering the core wires 611 and 612 . Also, the shield wire 615 prevents noise from being radiated from the core wires 611 and 612 to the external space. Also, the shielded wire 615 is connected to the chassis of the device and grounded. The shield wire 615 is made of copper or aluminum, for example. The insulating member 616 is an insulator covering the shield wire 615 .

ケーブル620,630の構成は、長さを除き、基本的には、ケーブル610の構成と同様である。本実施形態では、ケーブル610の長さをL1とし、ケーブル620の長さをL2とし、ケーブル630の長さをL3とする。ケーブル620は、芯線621と、芯線622と、を備える。ケーブル630は、芯線631と、芯線632と、を備える。 The configurations of cables 620 and 630 are basically the same as the configuration of cable 610, except for their length. In this embodiment, the length of the cable 610 is L1, the length of the cable 620 is L2, and the length of the cable 630 is L3. The cable 620 includes a core wire 621 and a core wire 622 . Cable 630 includes a core wire 631 and a core wire 632 .

端子201と端子301とは芯線611により接続され、端子202と端子302とは芯線612により接続される。端子301と端子401とは芯線621により接続され、端子302と端子402とは芯線622により接続される。端子401と端子501とは芯線631により接続され、端子402と端子502とは芯線632により接続される。芯線611と芯線621と芯線631とは、直列に接続されて通信線15を構成する。芯線612と芯線622と芯線632とは、直列に接続されて通信線16を構成する。通信線15と通信線16とは、通信に用いられる一対の通信線を構成する。 The terminals 201 and 301 are connected by a core wire 611 , and the terminals 202 and 302 are connected by a core wire 612 . The terminals 301 and 401 are connected by a core wire 621 , and the terminals 302 and 402 are connected by a core wire 622 . The terminals 401 and 501 are connected by a core wire 631 , and the terminals 402 and 502 are connected by a core wire 632 . The core wire 611 , the core wire 621 and the core wire 631 are connected in series to form the communication line 15 . The core wire 612 , the core wire 622 and the core wire 632 are connected in series to form the communication line 16 . The communication line 15 and the communication line 16 constitute a pair of communication lines used for communication.

負荷抵抗700は、一対の通信線間、つまり、通信線15と通信線16との間に、電圧が印加されるときに、負荷電流が流れる抵抗である。従って、いずれかの機器により一対の通信線間に5Vの電圧が印加された場合、負荷抵抗700の両端間に5Vの電圧が印加される。負荷抵抗700の抵抗値は、例えば、数十Ωから数百Ωである。なお、本実施形態では、通信線16の電位よりも通信線15の電位の方が高いことが、一対の通信線間に正の極性の電圧が印加されたことを意味し、通信線16の電位よりも通信線15の電位の方が低いことが、一対の通信線間に負の極性の電圧が印加されたことを意味する。従って、例えば、通信線16の電位よりも通信線15の電位の方が5V高いことは、一対の通信線間に+5Vが印加されたことを意味し、通信線16の電位よりも通信線15の電位の方が5V低いことは、一対の通信線間に-5Vが印加されたことを意味する。 The load resistor 700 is a resistor through which load current flows when a voltage is applied between a pair of communication lines, that is, between the communication line 15 and the communication line 16 . Therefore, when a voltage of 5V is applied between a pair of communication lines by any device, a voltage of 5V is applied across the load resistor 700 . The resistance value of the load resistor 700 is, for example, several tens of Ω to several hundreds of Ω. In this embodiment, the fact that the potential of the communication line 15 is higher than the potential of the communication line 16 means that a voltage of positive polarity is applied between the pair of communication lines. The fact that the potential of the communication line 15 is lower than the potential means that a negative voltage is applied between the pair of communication lines. Therefore, for example, when the potential of the communication line 15 is 5 V higher than the potential of the communication line 16, it means that +5 V is applied between the pair of communication lines, and the potential of the communication line 15 is higher than the potential of the communication line 16. is 5V lower means that -5V is applied between the pair of communication lines.

本実施形態では、負荷抵抗700の一端は、電線13を介して端子201に接続され、負荷抵抗700の他端は、電線14を介して端子202に接続される。このように本実施形態では、負荷抵抗700が、一対の通信線上における室外機200の接続部分に接続される例について説明する。 In this embodiment, one end of the load resistor 700 is connected to the terminal 201 via the wire 13 and the other end of the load resistor 700 is connected to the terminal 202 via the wire 14 . Thus, in this embodiment, an example in which the load resistor 700 is connected to the connecting portion of the outdoor unit 200 on a pair of communication lines will be described.

本実施形態では、端子121と端子201とは、電線11を介して接続され、端子122と端子202とは、電線12を介して接続される。このように、本実施形態では、配線長計測装置100が、一対の通信線上における室外機200の接続部分に接続される例について説明する。 In this embodiment, the terminals 121 and 201 are connected via the electric wire 11 , and the terminals 122 and 202 are connected via the electric wire 12 . Thus, in this embodiment, an example in which the wiring length measuring device 100 is connected to the connecting portion of the outdoor unit 200 on a pair of communication lines will be described.

本実施形態では、電線11,12の長さは、L1,L2,L3に比べて、十分に短い。従って、配線長計測装置100は、第1の機器を室外機200とした場合、極めて短い長さ(例えば、数十cm)を配線長として計測し、第1の機器を室内機300とした場合、L1を配線長として計測し、第1の機器を室内機400とした場合、L1+L2を配線長として計測し、第1の機器を室内機500とした場合、L1+L2+L3を配線長として計測する。 In this embodiment, the lengths of the electric wires 11 and 12 are sufficiently shorter than L1, L2 and L3. Therefore, when the first device is the outdoor unit 200, the wiring length measuring device 100 measures an extremely short length (for example, several tens of cm) as the wiring length, and when the first device is the indoor unit 300, , L1 is measured as the wiring length, and when the first device is the indoor unit 400, L1 + L2 is measured as the wiring length, and when the first device is the indoor unit 500, L1 + L2 + L3 is measured as the wiring length.

次に、図3を参照して、配線長計測装置100の機能について説明する。図3に示すように、配線長計測装置100は、機能的には、操作受付部101と、送信部102と、検知部103と、パルス印加部104と、波形測定部105と、受信部106と、アドレス特定部107と、記憶部108と、波形比較部109と、配線長算出部110と、表示部111と、を備える。送信手段は、例えば、送信部102に対応する。検知手段は、例えば、検知部103に対応する。パルス印加手段は、例えば、パルス印加部104に対応する。波形測定手段は、例えば、波形測定部105に対応する。受信手段は、例えば、受信部106に対応する。アドレス特定手段は、例えば、アドレス特定部107に対応する。記憶手段は、例えば、記憶部108に対応する。配線長算出手段は、例えば、配線長算出部110に対応する。表示手段は、例えば、表示部111に対応する。 Next, functions of the wiring length measuring device 100 will be described with reference to FIG. As shown in FIG. 3, the wiring length measuring device 100 functionally includes an operation reception unit 101, a transmission unit 102, a detection unit 103, a pulse application unit 104, a waveform measurement unit 105, and a reception unit 106. , an address identification unit 107 , a storage unit 108 , a waveform comparison unit 109 , a wiring length calculation unit 110 , and a display unit 111 . A transmission unit corresponds to, for example, the transmission unit 102 . A detection unit corresponds to the detection unit 103, for example. The pulse applying means corresponds to the pulse applying section 104, for example. Waveform measuring means corresponds to, for example, the waveform measuring section 105 . Receiving means corresponds to the receiving unit 106, for example. Address specifying means corresponds to the address specifying unit 107, for example. A storage unit corresponds to, for example, the storage unit 108 . A wiring length calculation unit corresponds to, for example, the wiring length calculation unit 110 . Display means corresponds to the display unit 111, for example.

操作受付部101は、ユーザから各種の操作を受け付ける。操作受付部101は、例えば、配線長計測処理の開始指示、計測対象となる機器の指定を受け付ける。操作受付部101の機能は、例えば、タッチスクリーン(図示せず)、ボタン(図示せず)、マウス(図示せず)、キーボード(図示せず)の機能により実現される。 The operation reception unit 101 receives various operations from the user. The operation reception unit 101 receives, for example, an instruction to start wiring length measurement processing and a designation of a device to be measured. The functions of the operation reception unit 101 are implemented by, for example, the functions of a touch screen (not shown), buttons (not shown), a mouse (not shown), and a keyboard (not shown).

送信部102は、第1の機器に応答データを送信することを要求する要求データを、一対の通信線を介して第1の機器に送信する。要求データは、例えば、送信元のアドレスとして配線長計測装置100のアドレスを含み、送信先のアドレスとして第1の機器のアドレスを含む。要求データは、応答データを送信することを第1の機器に要求するデータである。送信部102は、要求データの内容に応じて一対の通信線間に印加する電圧を変化させる。一対の通信線間に印加される電圧は、5V、0V、-5Vのいずれかである。以下、図4を参照して、一対の通信線を介して送受信されるデータの構成について説明する。 The transmission unit 102 transmits request data requesting transmission of response data to the first device via the pair of communication lines. The request data includes, for example, the address of the wire length measuring device 100 as the source address and the address of the first device as the destination address. Request data is data requesting the first device to transmit response data. The transmission unit 102 changes the voltage applied between the pair of communication lines according to the contents of the request data. The voltage applied between the pair of communication lines is either 5V, 0V, or -5V. The configuration of data transmitted and received via a pair of communication lines will be described below with reference to FIG.

データは、フレーム単位で送受信される。図4に示すように、1つのフレームは、例えば、送信元のアドレスを示すフィールドと、送信先のアドレスを示すフィールドと、コマンドの内容を示すフィールドと、データの内容を示すフィールドとを備える。1つのフィールドは、例えば、スタートビットに対応するビット(ST)と、8ビットのデータに対応するビット(D0-D7)と、パリティビットに対応するビット(P)と、ストップビットに対応するビット(SP)とを備える。本実施形態では、通信速度が9600bpsであり、1ビット期間が約104μsecである。 Data is transmitted and received in units of frames. As shown in FIG. 4, one frame includes, for example, a field indicating a source address, a field indicating a destination address, a field indicating command contents, and a field indicating data contents. One field includes, for example, a bit (ST) corresponding to a start bit, bits (D0 to D7) corresponding to 8-bit data, a bit (P) corresponding to a parity bit, and a bit corresponding to a stop bit. (SP). In this embodiment, the communication speed is 9600 bps and the 1-bit period is approximately 104 μsec.

0に対応するビットデータを送信するときの信号波形は、今回の極性が正である場合、前半の52μsecが5Vであり、後半の52μsecが0Vである電圧波形となり、今回の極性が負である場合、前半の52μsecが-5Vであり、後半の52μsecが0Vである電圧波形となる。なお、0に対応するビットデータを送信する場合、前回の極性とは逆の極性で電圧が印加される。1に対応するビットデータを送信するときの信号波形は、104μsecの期間0Vである電圧波形となる。 The signal waveform when transmitting bit data corresponding to 0 is a voltage waveform in which the first half of 52 μsec is 5V and the second half of 52 μsec is 0V if the current polarity is positive, and the current polarity is negative. In this case, the voltage waveform is −5 V for the first half of 52 μsec and 0 V for the second half of 52 μsec. When transmitting bit data corresponding to 0, a voltage is applied with a polarity opposite to the previous polarity. A signal waveform when transmitting bit data corresponding to 1 is a voltage waveform of 0 V for a period of 104 μsec.

図4には、1ビット目の0を送信するときに、前半(t0-t1)が5Vであり、後半(t1-t2)が0Vであり、2ビット目の0を送信するときに、前半(t2-t3)が-5Vであり、後半(t3-t4)が0Vであり、3ビット目の1を送信するときに、前半(t4-t5)と後半(t5-t6)とが0Vであり、4ビット目の0を送信するときに、前半(t6-t7)が5Vであり、後半(t7-t8)が0Vである例を示す。ここで、一対の通信線間の電圧が5V又は-5Vとなる期間(Tlow)は、データを送信する機器により、一対の通信線間が低インピーダンスで接続される。以下、図5を参照して、その理由を説明する。 In FIG. 4, when the first bit 0 is transmitted, the first half (t0-t1) is 5V, the second half (t1-t2) is 0V, and when the second bit 0 is transmitted, the first half (t2-t3) is -5V, the latter half (t3-t4) is 0V, and when the third bit 1 is transmitted, the first half (t4-t5) and the latter half (t5-t6) are 0V. , and when the fourth bit 0 is transmitted, the first half (t6-t7) is 5V and the second half (t7-t8) is 0V. Here, during a period (Tlow) in which the voltage between the pair of communication lines is 5 V or -5 V, the pair of communication lines are connected with low impedance by a device that transmits data. The reason will be described below with reference to FIG.

図5は、室内機300がデータを送信するときに、一対の通信線上における室内機300の接続位置において、一対の通信線間が低インピーダンスで接続されることを説明するための図である。図5には、室内機300が備える構成のうち、通信に関する構成のみを示している。なお、通信に関する構成(トランシーバの構成)は、基本的に、室外機200、室内機300,400,500の間で大きな差はない。図5に示すように、室内機300は、通信に関する構成として、送信部310と、受信部320と、制御部330と、電源部340とを備える。 FIG. 5 is a diagram for explaining that when the indoor unit 300 transmits data, the pair of communication lines are connected with low impedance at the connection position of the indoor unit 300 on the pair of communication lines. FIG. 5 shows only the communication-related configuration of the indoor unit 300 . In addition, there is basically no big difference between the outdoor unit 200 and the indoor units 300 , 400 , 500 in terms of communication configuration (transceiver configuration). As shown in FIG. 5, the indoor unit 300 includes a transmission section 310, a reception section 320, a control section 330, and a power supply section 340 as components related to communication.

送信部310は、制御部330による制御に従ってデータを送信する回路である。具体的には、送信部310は、制御部330による制御信号に従って、一対の通信線間に印加する電圧を変化させる。一対の通信線間に印加される電圧は、5V、0V、-5Vのいずれかである。送信部310は、スイッチング素子311と、スイッチング素子312と、スイッチング素子313と、スイッチング素子314とを備える。 The transmitter 310 is a circuit that transmits data under the control of the controller 330 . Specifically, the transmitter 310 changes the voltage applied between the pair of communication lines according to the control signal from the controller 330 . The voltage applied between the pair of communication lines is either 5V, 0V, or -5V. The transmitter 310 includes a switching element 311 , a switching element 312 , a switching element 313 , and a switching element 314 .

スイッチング素子311の電流路の一端は電源端子に接続され、スイッチング素子311の電流路の他端は通信線15に接続され、スイッチング素子311の制御端子は制御部330に接続される。スイッチング素子312の電流路の一端は通信線15に接続され、スイッチング素子312の電流路の他端は接地端子に接続され、スイッチング素子312の制御端子は制御部330に接続される。スイッチング素子313の電流路の一端は電源端子に接続され、スイッチング素子313の電流路の他端は通信線16に接続され、スイッチング素子313の制御端子は制御部330に接続される。スイッチング素子314の電流路の一端は通信線16に接続され、スイッチング素子314の電流路の他端は接地端子に接続され、スイッチング素子314の制御端子は制御部330に接続される。 One end of the current path of the switching element 311 is connected to the power supply terminal, the other end of the current path of the switching element 311 is connected to the communication line 15 , and the control terminal of the switching element 311 is connected to the control section 330 . One end of the current path of the switching element 312 is connected to the communication line 15 , the other end of the current path of the switching element 312 is connected to the ground terminal, and the control terminal of the switching element 312 is connected to the controller 330 . One end of the current path of the switching element 313 is connected to the power supply terminal, the other end of the current path of the switching element 313 is connected to the communication line 16 , and the control terminal of the switching element 313 is connected to the controller 330 . One end of the current path of the switching element 314 is connected to the communication line 16 , the other end of the current path of the switching element 314 is connected to the ground terminal, and the control terminal of the switching element 314 is connected to the controller 330 .

スイッチング素子311,312,313,314は、例えば、NPN(Negative Positive Negative)トランジスタである。この場合、例えば、コレクタが電流路の一端であり、エミッタが電流路の他端であり、ベースが制御端子である。 The switching elements 311, 312, 313, and 314 are, for example, NPN (Negative Positive Negative) transistors. In this case, for example, the collector is one end of the current path, the emitter is the other end of the current path, and the base is the control terminal.

受信部320は、データを受信し、受信したデータを示す信号を制御部330に供給する回路である。具体的には、受信部320は、一対の通信線間に印加されている電圧を検出し、検出した電圧に応じた信号を制御部330に供給する。より詳細には、受信部320は、通信線15と通信線16との間に印加されている電圧が、5V、0V、-5Vのいずれであるのかを検出し、5V、0V、-5Vのいずれかを示す信号を制御部330に供給する。受信部320は、例えば、A/D(Analog/Digital)変換器(図示せず)を備える。 The receiving unit 320 is a circuit that receives data and supplies a signal indicating the received data to the control unit 330 . Specifically, the receiving section 320 detects the voltage applied between the pair of communication lines and supplies a signal corresponding to the detected voltage to the control section 330 . More specifically, the receiving unit 320 detects whether the voltage applied between the communication line 15 and the communication line 16 is 5V, 0V, or -5V, and detects whether the voltage is 5V, 0V, or -5V. A signal indicating either is supplied to the control unit 330 . The receiver 320 includes, for example, an A/D (Analog/Digital) converter (not shown).

制御部330は、通信に関わる制御を実行する。具体的には、制御部330は、送信部310を制御して、送信するデータに応じた電圧を、通信線15と通信線16との間に印加する。また、制御部330は、通信線15と通信線16との間に印加された電圧に応じた信号を、受信部320から受信する。制御部330は、受信部320により要求データが受信された場合、送信部310を制御して応答データを配線長計測装置100に送信する。応答データは、例えば、送信元のアドレスとして室内機300のアドレスを含み、送信先のアドレスとして配線長計測装置100のアドレスを含む。制御部330の機能は、例えば、プロセッサ(図示せず)の機能により実現される。 The control unit 330 executes control related to communication. Specifically, the control unit 330 controls the transmission unit 310 to apply a voltage between the communication line 15 and the communication line 16 according to the data to be transmitted. Also, the control unit 330 receives a signal according to the voltage applied between the communication line 15 and the communication line 16 from the receiving unit 320 . When the receiving unit 320 receives the request data, the control unit 330 controls the transmitting unit 310 to transmit the response data to the wiring length measuring device 100 . The response data includes, for example, the address of the indoor unit 300 as the address of the transmission source, and the address of the wiring length measuring device 100 as the address of the transmission destination. The functions of the control unit 330 are implemented by, for example, the functions of a processor (not shown).

電源部340は、通信用の直流電圧であるVccを供給する回路である。本実施形態では、Vccは5Vである。電源部340は、内部インピーダンスが0である理想的な直流電源である直流電源341と、電源部340に内在するインピーダンスである内部インピーダンス342と、を備えるものと見做すことができる。内部インピーダンス342は、基本的に、電源部340に内在する内部抵抗である。内部インピーダンス342の値は、例えば、負荷抵抗700の値よりも十分に低く、低インピーダンスと言える。内部インピーダンス342の値は、例えば、数Ω以下である。 The power supply unit 340 is a circuit that supplies Vcc, which is a DC voltage for communication. In this embodiment, Vcc is 5V. The power supply unit 340 can be regarded as having a DC power supply 341 that is an ideal DC power supply with an internal impedance of 0 and an internal impedance 342 that is an internal impedance of the power supply unit 340 . Internal impedance 342 is basically an internal resistance inherent in power supply section 340 . The value of the internal impedance 342 is, for example, sufficiently lower than the value of the load resistor 700 and can be said to be low impedance. The value of the internal impedance 342 is, for example, several Ω or less.

次に、室内機300がデータを送信するときの送信部310及び制御部330の動作について説明する。上述したように、制御部330は、送信部310を制御して、送信するデータに応じた電圧を、通信線15と通信線16との間に印加する。ここで、通信線15と通信線16との間に印加する電圧は、5V、0V、-5Vのいずれかである。 Next, operations of the transmitter 310 and the controller 330 when the indoor unit 300 transmits data will be described. As described above, the control unit 330 controls the transmission unit 310 to apply a voltage between the communication lines 15 and 16 according to the data to be transmitted. Here, the voltage applied between the communication line 15 and the communication line 16 is any one of 5V, 0V and -5V.

制御部330は、5Vを印加する場合、図5に示すように、スイッチング素子311,314をONし、スイッチング素子312,313をOFFにする。この場合、図5に太い実線の矢印で示すように、電源部340から供給される電流は、電源端子、スイッチング素子311、通信線15、負荷抵抗700、通信線16、スイッチング素子314、接地端子の順で流れる。ここで、スイッチング素子311,314がONにされると、図5に太い破線の矢印で示すように、通信線15と通信線16とが電源部340を介して接続される。このため、スイッチング素子311,314がONにされると、通信線15と通信線16とが内部インピーダンス342により接続され、通信線15と通信線16とが低インピーダンスで接続される。 When applying 5 V, the control unit 330 turns on the switching elements 311 and 314 and turns off the switching elements 312 and 313 as shown in FIG. In this case, as indicated by thick solid arrows in FIG. flow in the order of Here, when the switching elements 311 and 314 are turned on, the communication line 15 and the communication line 16 are connected via the power supply section 340 as indicated by the thick dashed arrows in FIG. Therefore, when switching elements 311 and 314 are turned on, communication line 15 and communication line 16 are connected by internal impedance 342, and communication line 15 and communication line 16 are connected with low impedance.

制御部330は、-5Vを印加する場合、スイッチング素子312,313をONし、スイッチング素子311,314をOFFにする。この場合、電源部340から供給される電流は、電源端子、スイッチング素子313、通信線16、負荷抵抗700、通信線15、スイッチング素子312、接地端子の順で流れる。ここで、スイッチング素子312,313がONにされると、通信線15と通信線16とが電源部340を介して接続されるため、通信線15と通信線16とが内部インピーダンス342を介して接続される。従って、通信線15と通信線16とが低インピーダンスで接続され、通信線15と通信線16とがほぼ短絡された状態となる。 When applying −5 V, the control unit 330 turns on the switching elements 312 and 313 and turns off the switching elements 311 and 314 . In this case, the current supplied from the power supply unit 340 flows through the power supply terminal, the switching element 313, the communication line 16, the load resistor 700, the communication line 15, the switching element 312, and the ground terminal in that order. Here, when the switching elements 312 and 313 are turned on, the communication line 15 and the communication line 16 are connected via the power supply unit 340, so that the communication line 15 and the communication line 16 are connected via the internal impedance 342. Connected. Therefore, the communication line 15 and the communication line 16 are connected with low impedance, and the communication line 15 and the communication line 16 are substantially short-circuited.

一方、制御部330は、0Vを印加する場合、スイッチング素子311,312,313,314をOFFにする。この場合、通信線15と通信線16とが電源部340を介して接続されないため、通信線15と通信線16とが内部インピーダンス342により接続されず、通信線15と通信線16とが低インピーダンスで接続されない。 On the other hand, the controller 330 turns off the switching elements 311, 312, 313, and 314 when applying 0V. In this case, since the communication line 15 and the communication line 16 are not connected via the power supply section 340, the communication line 15 and the communication line 16 are not connected by the internal impedance 342, and the communication line 15 and the communication line 16 are low impedance. is not connected.

以上説明したように、室内機300により通信線15と通信線16との間に5V又は-5Vが印加される場合、室内機300により通信線15と通信線16との間が低インピーダンスで接続される。一方、室内機300により通信線15と通信線16との間に0Vが印加される場合、室内機300により通信線15と通信線16との間が低インピーダンスで接続されない。 As described above, when 5 V or -5 V is applied between the communication line 15 and the communication line 16 by the indoor unit 300, the communication line 15 and the communication line 16 are connected with low impedance by the indoor unit 300. be done. On the other hand, when the indoor unit 300 applies 0 V between the communication lines 15 and 16, the indoor unit 300 does not connect the communication lines 15 and 16 with low impedance.

ここで、一対の通信線間の電圧が0Vとなる期間(Thi)は、いずれの機器によっても、一対の通信線間が低インピーダンスで接続されない期間である。一対の通信線間の電圧が0Vとなる期間(Thi)は、いずれの機器もデータを送信していない期間、いずれかの機器がビットデータとして1を送信している期間、又は、いずれかの機器がビットデータとして0を送信している期間のうち後半の期間である。 Here, the period (Thi) in which the voltage between the pair of communication lines is 0 V is a period in which the pair of communication lines is not connected with low impedance by any device. The period (Thi) in which the voltage between the pair of communication lines is 0 V is a period in which neither device transmits data, a period in which one device transmits 1 as bit data, or any This is the latter half of the period during which the device transmits 0 as bit data.

ここで、データには、ACKコード以外のデータである通常のデータと、ACKコードとがある。ACKコードは、通常のデータを正常に受信したことを送信元の機器に通知するためのデータである。ACKコードは、通常のデータの送信が完了した時刻から予め定められた時間であるTw1が経過した時刻に返信が開始される。一方、通常のデータは、前のデータの送信が完了した時刻から予め定められた時間であるTw2が経過した時刻に返信が開始される。ここで、Tw1は、基本的に、Tw2よりも短い。従って、ACKコードは、通常のデータよりも優先して送信される。 Here, data includes normal data other than ACK code and ACK code. The ACK code is data for notifying the transmission source device that normal data has been received normally. The ACK code starts to be returned at the time Tw1, which is a predetermined time, has elapsed since the normal data transmission was completed. On the other hand, normal data starts to be returned when Tw2, which is a predetermined time, has elapsed since the transmission of the previous data was completed. Here, Tw1 is basically shorter than Tw2. Therefore, the ACK code is transmitted with priority over normal data.

ACKコードは、送信元の機器のアドレスと送信先の機器のアドレスとを含んでいてもよいし、含んでいなくてもよい。ACKコードは、通常のデータと同様に、0又は1のビットデータにより構成される。ACKコードは、例えば、0x09である。本実施形態では、理解を容易にするため、ACKコードでなく通常のデータのみが用いられるものとする。 The ACK code may or may not include the address of the source device and the address of the destination device. The ACK code is composed of 0 or 1 bit data, like normal data. The ACK code is, for example, 0x09. In this embodiment, for ease of understanding, it is assumed that only normal data is used instead of the ACK code.

送信部102は、基本的に、送信部310と制御部330と電源部340とを組み合わせた構成である。つまり、送信部102は、例えば、4つのスイッチング素子(図示せず)を備え、4つのスイッチング素子の状態を制御することにより、通信線15と通信線16との間に電圧を印加する。具体的には、送信部102は、通信線15と通信線16との間に5V又は-5Vを印加する場合、2つのスイッチング素子をONし、2つのスイッチング素子をOFFすることにより、通信線15と通信線16とのうち一方の通信線の電位を5Vにし、他方の通信線の電位を0Vにする。また、送信部102は、通信線15と通信線16との間に0Vを印加する場合、4つのスイッチング素子をOFFすることにより、通信線15と通信線16との間の電圧を0Vにする。 Transmission section 102 is basically configured by combining transmission section 310 , control section 330 and power supply section 340 . That is, the transmitter 102 includes, for example, four switching elements (not shown), and applies voltage between the communication lines 15 and 16 by controlling the states of the four switching elements. Specifically, when applying 5 V or -5 V between the communication line 15 and the communication line 16, the transmission unit 102 turns on two switching elements and turns off the two switching elements, thereby 15 and 16, the potential of one of the communication lines is set to 5V, and the potential of the other communication line is set to 0V. Further, when 0 V is applied between the communication lines 15 and 16, the transmission unit 102 sets the voltage between the communication lines 15 and 16 to 0 V by turning off the four switching elements. .

検知部103は、一対の通信線間に第1の電圧が印加されたことを検知する。第1の電圧は、一対の通信線間が低インピーダンスで接続されるときの一対の通信線間の電圧であり、例えば、5V(又は、-5V)である。検知部103は、第1の電圧以外の電圧から第1の電圧に変化するエッジを検知する。本実施形態では、検知部103は、0Vから5Vに変化するエッジを検知する。検知部103の機能は、例えば、コンパレータ(図示せず)の機能により実現される。 The detection unit 103 detects application of the first voltage between the pair of communication lines. The first voltage is the voltage between the pair of communication lines when the pair of communication lines are connected with low impedance, and is, for example, 5V (or -5V). The detection unit 103 detects an edge that changes from a voltage other than the first voltage to the first voltage. In this embodiment, the detection unit 103 detects an edge that changes from 0V to 5V. The function of the detection unit 103 is implemented by, for example, the function of a comparator (not shown).

パルス印加部104は、一対の通信線間が低インピーダンスで接続されているときに、一対の通信線上における基準位置において一対の通信線間に電圧パルスを印加する。なお、基準位置は、一対の通信線上における配線長計測装置100が接続される位置である。ここで、第1の機器がデータを送信する際に、第1の機器により一対の通信線間に第1の電圧が印加されているときに、第1の機器により一対の通信線間が低インピーダンスで接続される。 The pulse applying unit 104 applies a voltage pulse between the pair of communication lines at a reference position on the pair of communication lines when the pair of communication lines are connected with low impedance. The reference position is a position on the pair of communication lines to which the wiring length measuring device 100 is connected. Here, when the first device transmits data, the voltage between the pair of communication lines is lowered by the first device when the first voltage is applied between the pair of communication lines by the first device. Connected with impedance.

本実施形態では、第1の機器が送信するデータには、第1の機器のアドレスが含まれているものとする。電圧パルスは、例えば、図6に示すように、電圧の振幅がVpの矩形パルスである。Vpは、例えば、5V以下であり、数V程度の電圧である。また、電圧パルスのパルス幅は、1ビット期間の半分よりも短い。例えば、L1+L2+L3が1000m程度であり、絶縁部材616がポリ塩化ビニルである場合、電圧パルスのパルス幅は、12μS程度であることが好適である。パルス印加部104の機能は、例えば、直流電源(図示せず)とスイッチング素子(図示せず)と制御回路(図示せず)とが協働することにより実現される。 In this embodiment, it is assumed that the data transmitted by the first device includes the address of the first device. The voltage pulse is, for example, a rectangular pulse with a voltage amplitude of Vp, as shown in FIG. Vp is, for example, 5 V or less, and is a voltage of about several volts. Also, the pulse width of the voltage pulse is shorter than half of one bit period. For example, when L1+L2+L3 is approximately 1000 m and the insulating member 616 is polyvinyl chloride, the pulse width of the voltage pulse is preferably approximately 12 μS. The function of the pulse applying section 104 is realized by cooperation of, for example, a DC power supply (not shown), a switching element (not shown), and a control circuit (not shown).

波形測定部105は、基準位置において一対の通信線間の電圧波形を測定する。測定される電圧波形は、基本的に、図6に示すように、図4に示す信号波形に電圧パルスが重畳された電圧波形である。ただし、測定される電圧波形上では、重畳されている電圧パルスは、反射波の影響を受けた波形として観測される。つまり、電圧パルスは、反射波により干渉された干渉波として観測される。この反射波は、基本的に、一対の通信線上における第1の機器の接続位置で発生する反射波である。波形測定部105の機能は、例えば、A/D変換器(図示せず)の機能により実現される。 Waveform measuring section 105 measures the voltage waveform between the pair of communication lines at the reference position. The voltage waveform to be measured is basically a voltage waveform obtained by superimposing a voltage pulse on the signal waveform shown in FIG. 4, as shown in FIG. However, on the measured voltage waveform, the superimposed voltage pulse is observed as a waveform affected by the reflected wave. That is, the voltage pulse is observed as an interference wave interfered with by the reflected wave. This reflected wave is basically a reflected wave generated at the connection position of the first device on the pair of communication lines. The function of the waveform measuring section 105 is implemented by, for example, the function of an A/D converter (not shown).

受信部106は、一対の通信線間の電圧を検出し、第1の機器のアドレスを含むデータを受信する。本実施形態では、受信部106は、波形測定部105により測定された電圧波形から1フレーム分のデータを再構成することにより、第1の機器からデータを受信する。受信部106の機能は、例えば、プロセッサ(図示せず)の機能により実現される。 The receiving unit 106 detects the voltage between the pair of communication lines and receives data including the address of the first device. In this embodiment, the receiving unit 106 receives data from the first device by reconstructing one frame of data from the voltage waveform measured by the waveform measuring unit 105 . The function of the receiving unit 106 is implemented by, for example, the function of a processor (not shown).

アドレス特定部107は、受信部106により受信されたデータから、このデータを送信した機器のアドレスを特定する。アドレス特定部107は、例えば、1フレーム分のデータに含まれる送信元のアドレスを示すフィールドのデータから、このデータを送信した機器のアドレスを特定する。このように、アドレス特定部107は、受信部106によりデータが受信された場合、このデータに含まれる第1の機器のアドレスを、このデータの送信元の機器のアドレスとして特定する。アドレス特定部107の機能は、例えば、プロセッサの機能により実現される。 The address identification unit 107 identifies the address of the device that transmitted the data from the data received by the reception unit 106 . For example, the address specifying unit 107 specifies the address of the device that transmitted the data from the data in the field indicating the address of the transmission source included in the data for one frame. In this way, when data is received by the receiving unit 106, the address specifying unit 107 specifies the address of the first device included in this data as the address of the source device of this data. The function of the address specifying unit 107 is implemented by, for example, the function of the processor.

記憶部108は、モデル波形を示す情報(以下、適宜「モデル波形情報」という。)を記憶する。モデル波形は、電圧パルスに電圧パルスの反射波が重畳された波形の一部分のモデル波形である。つまり、モデル波形は、電圧パルスに電圧パルスの反射波が重畳されるときに波形測定部105により測定される電圧波形のモデルである。また、モデル波形は、反射波の先頭位置、つまり、反射波の重畳開始位置を含み、第1の時間長を有する。記憶部108の機能は、例えば、フラッシュメモリ(図示せず)の機能により実現される。以下、図6と図7とを参照して、反射波とモデル波形とについて説明する。 The storage unit 108 stores information indicating model waveforms (hereinafter referred to as “model waveform information” as appropriate). The model waveform is a model waveform of a part of the waveform in which the reflected wave of the voltage pulse is superimposed on the voltage pulse. That is, the model waveform is a model of the voltage waveform measured by the waveform measurement unit 105 when the reflected wave of the voltage pulse is superimposed on the voltage pulse. Also, the model waveform includes the head position of the reflected wave, that is, the superposition start position of the reflected wave, and has a first time length. The function of the storage unit 108 is implemented by, for example, the function of a flash memory (not shown). The reflected wave and the model waveform will be described below with reference to FIGS. 6 and 7. FIG.

まず、図6に示すように、t0からt1までの期間に一対の通信線間に5Vが印加される場合において、t10からt12までの期間に電圧パルスが印加された場合を想定する。この場合、t0からt10までの期間に測定される電圧は、5Vである。また、t10からt11までの期間に測定される電圧は、5V+Vpである。ここで、t11は、t10において配線長計測装置100から出力された電圧パルスが、第1の機器である室内機300で反射し、この反射により発生した反射波が配線長計測装置100に到達した時刻である。従って、t10からt11までの時間であるTrは、電圧パルスが配線長計測装置100と室内機300との間を往復するのに要する時間(以下、適宜「パルス往復時間」という。)である。 First, as shown in FIG. 6, it is assumed that a voltage pulse of 5 V is applied between a pair of communication lines from t0 to t1 and a voltage pulse is applied from t10 to t12. In this case, the voltage measured from t0 to t10 is 5V. Also, the voltage measured during the period from t10 to t11 is 5V+Vp. Here, at t11, the voltage pulse output from the wiring length measuring device 100 at t10 is reflected by the indoor unit 300, which is the first device, and the reflected wave generated by this reflection reaches the wiring length measuring device 100. Time. Therefore, Tr, which is the time from t10 to t11, is the time required for the voltage pulse to make a round trip between the wire length measuring device 100 and the indoor unit 300 (hereinafter referred to as "pulse round trip time" as appropriate).

ここで、配線長計測装置100から出力された電圧パルスが室内機300で反射する理由について説明する。まず、一対の通信線は、長さ以外は同様の構成である、ケーブル610,620,630が直列に接続されて構成される。従って、一対の通信線を分布定数回路とみなしたとき、特性インピーダンスは、基本的に、一対の通信線のどの部分においても同程度である。ここで、分布定数回路に電圧パルスを印加した場合、特性インピーダンスが整合していない位置で、反射が生じる。具体的には、特性インピーダンスが急激に増大する位置では正の反射が生じ、特性インピーダンスが急激に減少する位置では負の反射が生じる。 Here, the reason why the voltage pulse output from the wiring length measuring device 100 is reflected by the indoor unit 300 will be described. First, a pair of communication lines are configured by serially connecting cables 610, 620, and 630 having the same configuration except for the length. Therefore, when the pair of communication lines is regarded as a distributed constant circuit, the characteristic impedance is basically the same in any part of the pair of communication lines. Here, when a voltage pulse is applied to the distributed constant circuit, reflection occurs at a position where the characteristic impedance is not matched. Specifically, a positive reflection occurs at a position where the characteristic impedance abruptly increases, and a negative reflection occurs at a position where the characteristic impedance abruptly decreases.

室内機300がデータを送信する場合において、一対の通信線間に5Vを印加する場合、一対の通信線上における室内機300の接続位置において、一対の通信線間が電源部340の内部インピーダンスで接続される。この内部インピーダンスは、非常に小さいため、一対の通信線間は、室内機300の接続位置において短絡されたような状態となる。その結果、室内機300の接続位置では、一対の通信線の特性インピーダンスが低くなり、室内機300の接続位置において、負の反射が生じる。このため、図6に示すように、t11からt12の間、電圧パルスは電圧パルスの反射波により干渉された波形として観測される。t11により示される反射波の先頭位置は、電圧値の低下が開始される位置を示し、電圧値が変化する位置を示すため、適宜、変化点という。 When the indoor unit 300 transmits data and 5 V is applied between the pair of communication lines, the pair of communication lines are connected by the internal impedance of the power supply unit 340 at the connection position of the indoor unit 300 on the pair of communication lines. be done. Since this internal impedance is very small, the pair of communication lines are in a short-circuited state at the connection position of the indoor unit 300 . As a result, the characteristic impedance of the pair of communication lines becomes low at the connection position of the indoor unit 300, and negative reflection occurs at the connection position of the indoor unit 300. Therefore, as shown in FIG. 6, the voltage pulse is observed as a waveform that is interfered by the reflected wave of the voltage pulse from t11 to t12. The top position of the reflected wave indicated by t11 indicates the position where the voltage value starts to decrease, and indicates the position where the voltage value changes, so it is appropriately called a change point.

ここで、特に、電圧パルスが反射波により干渉されたときの電圧の低下の仕方は、基本的に、ケーブル610の種類や室内機300が備えるトランシーバ(例えば、送信部310、受信部320、制御部330、電源部340)の種類に依存するが、ケーブル610の長さにはあまり依存しない。つまり、ケーブル610の長さが変わっても、基本的に、測定される電圧波形上において電圧パルスが反射波により干渉され始める部分の電圧波形はあまり変わらない。そこで、新たに測定される電圧波形上において電圧パルスが反射波により干渉され始める部分を特定するために、この部分の電圧波形をモデル波形として予め用意しておくことが好適である。 Here, in particular, how the voltage drops when the voltage pulse is interfered by a reflected wave basically depends on the type of cable 610 and the transceiver (for example, the transmitter 310, the receiver 320, the controller, etc.) included in the indoor unit 300. 330, power supply 340), but less dependent on the length of the cable 610. That is, basically, even if the length of the cable 610 changes, the voltage waveform at the portion where the reflected wave starts to interfere with the voltage pulse on the measured voltage waveform does not change much. Therefore, in order to specify the portion where the voltage pulse begins to be interfered by the reflected wave on the newly measured voltage waveform, it is preferable to prepare the voltage waveform of this portion in advance as a model waveform.

モデル波形は、例えば、配線長計測装置100により測定された電圧波形、つまり、図6に示す電圧波形から抽出することができる。ここで、ユーザは、例えば、巻き尺によりケーブル610の長さを測定し、ケーブル610の長さに対応するパルス往復時間であるTrを求める。そして、測定された電圧波形から、電圧パルスの立ち上がり時刻であるt10からTrだけ経過した時刻であるt11を中心として、第1の時間長であるT1分の電圧波形をモデル波形として抽出することができる。 The model waveform can be extracted from, for example, the voltage waveform measured by the wiring length measuring device 100, that is, the voltage waveform shown in FIG. Here, the user measures the length of the cable 610 using, for example, a tape measure, and obtains Tr, which is the pulse round-trip time corresponding to the length of the cable 610 . Then, from the measured voltage waveform, a voltage waveform for the first time length T1 can be extracted as a model waveform centering on t11, which is the time Tr after the rising time t10 of the voltage pulse. can.

なお、ケーブル620,630は、ケーブル610と同様の種類であり、長さ以外は、ケーブル610と同様の構成である。また、室外機200、室内機400,500は、室内機300が備えるトランシーバと同様の構成を備える。従って、どの機器が第1の機器であっても、測定される電圧波形上において電圧パルスが反射波により干渉され始める部分の電圧波形はあまり変わらない。このため、ケーブル610の種類とトランシーバの種類との組み合わせ毎に、1つのモデル波形を用意しておけばよい。 Cables 620 and 630 are of the same type as cable 610 and have the same configuration as cable 610 except for the length. Also, the outdoor unit 200 and the indoor units 400 and 500 have the same configuration as the transceiver provided in the indoor unit 300 . Therefore, regardless of which device is the first device, the voltage waveform at the portion where the reflected wave begins to interfere with the voltage pulse on the measured voltage waveform does not change much. Therefore, one model waveform should be prepared for each combination of cable 610 type and transceiver type.

波形比較部109は、記憶部108に記憶されたモデル波形情報により示されるモデル波形と、波形測定部105により測定された電圧波形から抽出される第1の時間長分の部分波形(以下、適宜「抽出波形」という。)と、を比較する。波形比較部109は、測定された電圧波形から抽出される抽出波形のうち、モデル波形に最も類似する抽出波形を特定する。そして、波形比較部109は、特定した抽出波形の抽出位置を特定し、特定した抽出位置から電圧パルスの先頭位置までの長さをパルス往復時間として特定する。この抽出位置は、特定された抽出波形の中心位置である。 Waveform comparison section 109 compares the model waveform indicated by the model waveform information stored in storage section 108 and the partial waveform of the first time length extracted from the voltage waveform measured by waveform measurement section 105 (hereinafter referred to as (referred to as an “extracted waveform”) and are compared. Waveform comparison section 109 identifies an extracted waveform that is most similar to the model waveform among the extracted waveforms extracted from the measured voltage waveforms. Then, waveform comparison section 109 identifies the extraction position of the identified extracted waveform, and identifies the length from the identified extraction position to the leading position of the voltage pulse as the pulse round-trip time. This extracted position is the center position of the specified extracted waveform.

どのような抽出波形をモデル波形に最も類似する抽出波形とみなすのかは、適宜、調整することができる。例えば、波形比較部109は、測定された電圧波形から抽出される抽出波形のうち、モデル波形との相関係数が最も大きい抽出波形を、モデル波形に最も類似する抽出波形とみなすことができる。この場合、波形比較部109は、例えば、抽出位置の初期値を電圧パルスの先頭位置にして、抽出波形とモデル波形との相関係数を求める処理と、抽出位置をT1よりも短いT2だけシフトする処理とを、抽出位置が電圧パルスの末尾位置になるまで繰り返す。そして、波形比較部109は、相関係数が最大となる抽出位置を特定する。波形比較部109の機能は、例えば、プロセッサの機能により実現される。 It is possible to appropriately adjust what kind of extracted waveform is regarded as the extracted waveform most similar to the model waveform. For example, the waveform comparison unit 109 can regard the extracted waveform having the largest correlation coefficient with the model waveform among the extracted waveforms extracted from the measured voltage waveform as the extracted waveform most similar to the model waveform. In this case, the waveform comparison unit 109 performs, for example, a process of obtaining the correlation coefficient between the extracted waveform and the model waveform by setting the initial value of the extraction position to the leading position of the voltage pulse, and shifting the extraction position by T2, which is shorter than T1. and are repeated until the extraction position reaches the end position of the voltage pulse. Then, waveform comparison section 109 identifies the extraction position where the correlation coefficient is maximized. The function of the waveform comparison unit 109 is implemented by, for example, the function of a processor.

モデル波形及び抽出波形がn個の要素(n個の電圧値)を含む場合、相関係数は、例えば、相関係数をr、モデル波形を構成するi番目の要素をx、抽出波形を構成するi番目の要素をy、モデル波形を構成するn個の要素の平均値をm、抽出波形を構成するn個の要素の平均値をmとして、式(1)により表すことができる。 When the model waveform and the extracted waveform include n elements (n voltage values), the correlation coefficient is, for example, r is the correlation coefficient, x i is the i-th element constituting the model waveform, and x i is the extracted waveform. Let y i be the i-th element, m x be the average value of the n elements that make up the model waveform, and m y be the average value of the n elements that make up the extracted waveform. can be done.

Figure 0007175136000001
Figure 0007175136000001

配線長算出部110は、波形比較部109により特定されたパルス往復時間から、配線長を算出する。配線長は、例えば、配線長(m)をD、真空中における光速(m/sec)をVc、パルス往復時間(sec)をTr、ケーブル610,620,630の実効比誘電率をεrとして、式(2)により表すことができる。配線長算出部110は、第1の機器を示す情報(以下、適宜「機器識別情報」という。)と算出した配線長を示す情報(以下、適宜「配線長情報」という。)と、を対応付けた情報(以下、適宜「対応付け情報」という。)を、記憶部108に記憶させる。配線長算出部110の機能は、例えば、プロセッサの機能により実現される。 The wiring length calculator 110 calculates the wiring length from the pulse round-trip time specified by the waveform comparator 109 . For the wiring length, for example, D is the wiring length (m), Vc is the speed of light in vacuum (m/sec), Tr is the pulse round-trip time (sec), and εr is the effective dielectric constant of the cables 610, 620, and 630. It can be represented by the formula (2). The wiring length calculation unit 110 associates information indicating the first device (hereinafter referred to as "device identification information") with information indicating the calculated wiring length (hereinafter referred to as "wiring length information"). The attached information (hereinafter referred to as “association information” as appropriate) is stored in the storage unit 108 . The function of the wiring length calculator 110 is implemented by, for example, the function of a processor.

Figure 0007175136000002
Figure 0007175136000002

表示部111は、受信部106により応答データが受信された場合、記憶部108に記憶された対応付け情報を取得し、第1の機器を示す機器識別情報と、配線長計測装置100から第1の機器までの配線長を示す配線長情報と、を対応付けて表示する。なお、機器識別情報は、例えば、第1の機器の名称、第1の機器の型番、第1の機器のアドレス、第1の機器の設置位置を示す情報である。表示部111の機能は、例えば、プロセッサ(図示せず)とタッチスクリーン(図示せず)とが協働することにより実現される。 When the response data is received by the receiving unit 106 , the display unit 111 acquires the correspondence information stored in the storage unit 108 , and displays the device identification information indicating the first device and the first device from the wiring length measuring device 100 . and the wiring length information indicating the wiring length up to the device are displayed in association with each other. The device identification information is, for example, information indicating the name of the first device, the model number of the first device, the address of the first device, and the installation position of the first device. The functions of the display unit 111 are realized by, for example, cooperation between a processor (not shown) and a touch screen (not shown).

次に、図8に示すフローチャートを参照して、配線長計測装置100が実行する配線長計測処理について説明する。この配線長計測処理は、配線長計測方法を実現するための処理である。配線長計測処理は、配線長計測装置100の電源が投入されると開始される。 Next, the wiring length measuring process executed by the wiring length measuring apparatus 100 will be described with reference to the flowchart shown in FIG. This wiring length measurement process is a process for realizing the wiring length measurement method. The wiring length measurement process is started when the wiring length measuring device 100 is powered on.

まず、配線長計測装置100は、計測開始指示があるか否かを判別する(ステップS101)。例えば、配線長計測装置100は、操作受付部101に対して、配線長の計測の開始を指示する操作がユーザによりなされたか否かを判別する。なお、ユーザは、一対の通信線上における室外機200の接続位置に配線長計測装置100を接続した後に、上記操作を実行する。配線長計測装置100は、計測開始指示がないと判別すると(ステップS101:NO)、ステップS101に処理を戻す。 First, the wiring length measuring device 100 determines whether or not there is an instruction to start measurement (step S101). For example, the wiring length measuring apparatus 100 determines whether or not the user has performed an operation to instruct the operation reception unit 101 to start measuring the wiring length. Note that the user performs the above operation after connecting the wiring length measuring device 100 to the connection position of the outdoor unit 200 on the pair of communication lines. When the wiring length measuring device 100 determines that there is no instruction to start measurement (step S101: NO), the process returns to step S101.

配線長計測装置100は、計測開始指示があると判別すると(ステップS101:YES)、第1の機器を選択する(ステップS102)。例えば、配線長計測装置100は、第1の機器として、空調システム1000が備える全ての機器(室外機200、室内機300,400,500)の中から1つの機器を選択する。以下、第1の機器として、室内機300が選択されるものとして説明する。 When determining that there is an instruction to start measurement (step S101: YES), the wiring length measuring apparatus 100 selects the first device (step S102). For example, the wiring length measuring device 100 selects one device from all devices (outdoor unit 200, indoor units 300, 400, 500) provided in the air conditioning system 1000 as the first device. In the following description, it is assumed that the indoor unit 300 is selected as the first device.

配線長計測装置100は、ステップS102の処理を完了すると、要求データを送信する(ステップS103)。具体的には、送信部102は、送信元の機器のアドレスとして配線長計測装置100のアドレスを含み、送信先の機器のアドレスとして室内機300のアドレスを含み、コマンドとしてデータの返信を要求するコマンドを含む要求データを送信する。一方、室内機300は、要求データを受信すると、応答データを送信する。応答データは、例えば、送信元の機器のアドレスとして室内機300のアドレスを含み、送信先の機器のアドレスとして配線長計測装置100のアドレスを含む。 After completing the processing of step S102, the wiring length measuring device 100 transmits request data (step S103). Specifically, the transmission unit 102 includes the address of the wire length measuring device 100 as the address of the device of the transmission source, the address of the indoor unit 300 as the address of the device of the transmission destination, and requests the data to be returned as a command. Send request data including commands. On the other hand, upon receiving the request data, the indoor unit 300 transmits response data. The response data includes, for example, the address of the indoor unit 300 as the address of the source device, and the address of the wire length measuring device 100 as the address of the destination device.

配線長計測装置100は、ステップS103の処理を完了すると、エッジを検出する(ステップS104)。具体的には、検知部103は、室内機300による応答データの送信に伴って一対の通信線間の電圧が0Vから5Vに変化したことを検知する。 After completing the processing of step S103, the wiring length measuring device 100 detects an edge (step S104). Specifically, the detection unit 103 detects that the voltage between the pair of communication lines has changed from 0V to 5V as the response data is transmitted by the indoor unit 300 .

配線長計測装置100は、ステップS104の処理を完了すると、電圧波形の測定を開始する(ステップS105)。つまり、波形測定部105は、検知部103によりエッジが検知されたことに応答して、一対の通信線間の電圧波形の測定を開始する。 After completing the process of step S104, the wiring length measuring device 100 starts measuring the voltage waveform (step S105). That is, in response to detection of an edge by the detection unit 103, the waveform measurement unit 105 starts measuring the voltage waveform between the pair of communication lines.

配線長計測装置100は、ステップS105の処理を完了すると、電圧パルスを印加する(ステップS106)。つまり、パルス印加部104は、波形測定部105により電圧波形の測定が開始されたことに応答して、一対の通信線間に電圧パルスを印加する。 After completing the process of step S105, the wiring length measuring device 100 applies a voltage pulse (step S106). In other words, the pulse applying section 104 applies a voltage pulse between the pair of communication lines in response to the start of voltage waveform measurement by the waveform measuring section 105 .

配線長計測装置100は、ステップS106の処理を完了すると、データを受信する(ステップS107)。具体的には、受信部106は、波形測定部105により測定された電圧波形をビットデータに変換する処理を、1フレーム分のデータが取得されるまで繰り返す。 The wiring length measuring device 100 receives the data after completing the process of step S106 (step S107). Specifically, receiving section 106 repeats the process of converting the voltage waveform measured by waveform measuring section 105 into bit data until data for one frame is obtained.

配線長計測装置100は、ステップS107の処理を完了すると、電圧波形の測定を終了する(ステップS108)。具体的には、波形測定部105は、受信部106により1フレーム分のデータが取得されたことに応答して、電圧波形の測定を終了する。 After completing the processing of step S107, the wiring length measuring device 100 ends the measurement of the voltage waveform (step S108). Specifically, waveform measuring section 105 ends measuring the voltage waveform in response to one frame of data being acquired by receiving section 106 .

配線長計測装置100は、ステップS108の処理を完了すると、データを送信した機器を特定する(ステップS109)。具体的には、アドレス特定部107は、受信部106により受信された1フレーム分のデータに含まれる送信元アドレスから、データを送信した機器を特定する。なお、データを送信した機器は、基本的には、要求データの送信先の機器であるが、他の機器である可能性もある。この場合、例えば、第1の機器は、他の機器に置き換えられると好適である。 After completing the processing of step S108, the wiring length measuring device 100 identifies the device that has transmitted the data (step S109). Specifically, the address identifying unit 107 identifies the device that has transmitted the data from the source address included in the one-frame data received by the receiving unit 106 . The device that sent the data is basically the device to which the request data is sent, but it may be another device. In this case, for example, the first device is preferably replaced with another device.

配線長計測装置100は、ステップS109の処理を完了すると、測定された電圧波形とモデル波形とを比較する(ステップS110)。具体的には、波形比較部109は、抽出波形の抽出位置を電圧パルスの先頭位置に設定した後、抽出波形とモデル波形との相関係数を算出する処理と、抽出位置をシフトする処理とを、抽出位置が電圧パルスの末尾位置に至るまで繰り返す。 After completing the process of step S109, the wiring length measuring device 100 compares the measured voltage waveform with the model waveform (step S110). Specifically, after setting the extraction position of the extracted waveform to the leading position of the voltage pulse, the waveform comparison unit 109 performs a process of calculating the correlation coefficient between the extracted waveform and the model waveform, and a process of shifting the extraction position. , until the extraction position reaches the end position of the voltage pulse.

配線長計測装置100は、ステップS110の処理を完了すると、パルス往復時間を算出する(ステップS111)。具体的には、波形比較部109は、測定された電圧波形上において、相関係数が最大である抽出位置から電圧パルスの先頭位置までの長さを特定し、特定した長さをパルス往復時間として算出する。 After completing the processing of step S110, the wiring length measuring device 100 calculates the pulse round-trip time (step S111). Specifically, waveform comparison section 109 identifies the length from the extracted position where the correlation coefficient is maximum to the leading position of the voltage pulse on the measured voltage waveform, and uses the identified length as the pulse round trip time. Calculate as

配線長計測装置100は、ステップS111の処理を完了すると、配線長を算出する(ステップS112)。具体的には、配線長算出部110は、式(2)を用いて、波形比較部109により特定されたパルス往復時間から配線長を算出する。 After completing the processing of step S111, the wiring length measuring device 100 calculates the wiring length (step S112). Specifically, the wiring length calculation unit 110 calculates the wiring length from the pulse round-trip time specified by the waveform comparison unit 109 using Equation (2).

配線長計測装置100は、ステップS112の処理を完了すると、未選択の機器があるか否かを判別する(ステップS113)。具体的には、配線長計測装置100は、空調システム1000に含まれる機器のうち第1の機器として選択されていない機器があるか否かを判別する。配線長計測装置100は、未選択の機器があると判別すると(ステップS113:YES)、ステップS102に処理を戻し、第1の機器として選択済みでない機器を選択する。 After completing the process of step S112, the wiring length measuring apparatus 100 determines whether or not there is an unselected device (step S113). Specifically, the wiring length measuring device 100 determines whether or not there is a device that is not selected as the first device among the devices included in the air conditioning system 1000 . When determining that there is an unselected device (step S113: YES), the wiring length measuring apparatus 100 returns the process to step S102 and selects a device that has not been selected as the first device.

配線長計測装置100は、未選択の機器がないと判別すると(ステップS113:NO)、機器識別情報と配線長情報とを対応付けて表示する(ステップS114)。例えば、表示部111は、図9に示す画面900を表示する。 When determining that there is no unselected device (step S113: NO), the wiring length measuring device 100 displays the device identification information and the wiring length information in association with each other (step S114). For example, the display unit 111 displays a screen 900 shown in FIG. 9 .

図9に示すように、画面900は、機器毎に機器識別情報と配線長情報とを対応付けて提示する画面である。具体的には、画面900は、室外機200から配線長計測装置100までの配線長が50cmであり、室内機300から配線長計測装置100までの配線長が20mであり、室内機400から配線長計測装置100までの配線長が30mであり、室内機500から配線長計測装置100までの配線長が50mであることを提示する画面である。 As shown in FIG. 9, a screen 900 presents device identification information and wiring length information in association with each other for each device. Specifically, on the screen 900, the wiring length from the outdoor unit 200 to the wiring length measuring device 100 is 50 cm, the wiring length from the indoor unit 300 to the wiring length measuring device 100 is 20 m, and the wiring length from the indoor unit 400 is 50 cm. The screen shows that the wiring length to the length measuring device 100 is 30 m, and the wiring length from the indoor unit 500 to the wiring length measuring device 100 is 50 m.

図9に示すように、画面900には、画像911,912,913,914,921,922,923,924が表示される。画像911,912,913,914は、それぞれ、室外機200、室内機300,400,500を示す機器識別情報を示す画像である。画像921,922,923,924は、それぞれ、配線長計測装置100から室外機200、室内機300,400,500までの配線長を示す配線長情報を示す画像である。 As shown in FIG. 9, images 911, 912, 913, 914, 921, 922, 923, and 924 are displayed on the screen 900. FIG. Images 911, 912, 913, and 914 are images indicating device identification information indicating the outdoor unit 200 and the indoor units 300, 400, and 500, respectively. Images 921, 922, 923, and 924 are images showing wiring length information indicating wiring lengths from the wiring length measuring device 100 to the outdoor unit 200 and the indoor units 300, 400, and 500, respectively.

画像911と画像921とは、「室外機」という名称により識別される室外機200が第1の機器として選択されたときに、配線長計測装置100から室外機200までの配線長が50cmであることを示す。画像912と画像922とは、「室内機A」という名称により識別される室内機300が第1の機器として選択されたときに、配線長計測装置100から室内機300までの配線長が20mであることを示す。画像913と画像923とは、「室内機B」という名称により識別される室内機400が第1の機器として選択されたときに、配線長計測装置100から室内機400までの配線長が30mであることを示す。画像914と画像924とは、「室内機C」という名称により識別される室内機500が第1の機器として選択されたときに、配線長計測装置100から室内機500までの配線長が50mであることを示す。 Images 911 and 921 show that the wiring length from the wiring length measuring device 100 to the outdoor unit 200 is 50 cm when the outdoor unit 200 identified by the name "outdoor unit" is selected as the first device. indicates that Images 912 and 922 show that the wiring length from the wiring length measuring device 100 to the indoor unit 300 is 20 m when the indoor unit 300 identified by the name "indoor unit A" is selected as the first device. indicates that there is Images 913 and 923 show that the wiring length from the wiring length measuring device 100 to the indoor unit 400 is 30 m when the indoor unit 400 identified by the name "indoor unit B" is selected as the first device. indicates that there is Images 914 and 924 show that the wiring length from the wiring length measuring device 100 to the indoor unit 500 is 50 m when the indoor unit 500 identified by the name “indoor unit C” is selected as the first device. indicates that there is

配線長計測装置100は、ステップS114の処理を完了すると、ステップS101に処理を戻す。 After completing the process of step S114, the wiring length measuring apparatus 100 returns the process to step S101.

以上説明したように、本実施形態では、配線長計測装置100の接続位置から第1の機器の接続位置(一対の通信線間が低インピーダンスで接続された位置)までの配線長が計測される。具体的には、本実施形態では、第1の機器がデータを送信し、第1の機器の接続位置において一対の通信線間が低インピーダンスで接続されているときに、基準位置において一対の通信線間に電圧パルスが印加され、基準位置において測定された電圧波形上における電圧パルスの先頭位置から電圧パルスの反射波の先頭位置までの長さに対応する配線長が求められる。このため、本実施形態によれば、低コストで容易に基準位置から第1の機器までの配線長を求めることができる。 As described above, in the present embodiment, the wiring length from the connection position of the wiring length measuring device 100 to the connection position of the first device (the position where the pair of communication lines are connected with low impedance) is measured. . Specifically, in the present embodiment, when the first device transmits data and the pair of communication lines are connected with low impedance at the connection position of the first device, the pair of communication lines are connected at the reference position. A voltage pulse is applied between the lines, and the wiring length corresponding to the length from the leading position of the voltage pulse on the voltage waveform measured at the reference position to the leading position of the reflected wave of the voltage pulse is obtained. Therefore, according to this embodiment, the wiring length from the reference position to the first device can be obtained easily at low cost.

なお、一対の通信線上における基準位置からみて、一対の通信線上において特定インピーダンスが低下する位置は、一対の通信線上における第1の機器(データ送信中の機器)の接続位置だけである。このため、配線長計測装置100は、基準位置から第1の機器の接続位置までの配線長を適切に特定することができる。 Note that, when viewed from the reference position on the pair of communication lines, the position where the specific impedance drops on the pair of communication lines is only the connection position of the first device (the device that is transmitting data) on the pair of communication lines. Therefore, the wiring length measuring device 100 can appropriately specify the wiring length from the reference position to the connection position of the first device.

また、本実施形態では、第1の機器を示す機器識別情報と配線長情報とが対応付けられて表示される。このため、本実施形態によれば、配線長計測装置100から第1の機器までの配線長を、ユーザに分かりやすく知らせることができる。 Further, in this embodiment, the device identification information indicating the first device and the wiring length information are displayed in association with each other. Therefore, according to the present embodiment, it is possible to inform the user of the wiring length from the wiring length measuring device 100 to the first device in an easy-to-understand manner.

また、本実施形態では、第1の機器から送信されたデータは、一対の通信線間が低インピーダンスで接続されていることを検知するためのトリガとして用いられる他、第1の機器を特定するためにも用いられる。このため、本実施形態によれば、配線長の計測対象である第1の機器を、容易に特定することができる。 Further, in the present embodiment, the data transmitted from the first device is used as a trigger for detecting that the pair of communication lines are connected with low impedance, and is used to identify the first device. Also used for Therefore, according to the present embodiment, it is possible to easily identify the first device whose wiring length is to be measured.

また、本実施形態では、測定された電圧波形から抽出される抽出波形のうち、反射波の先頭位置を含むモデル波形との相関係数が最大である抽出波形の抽出位置から、電圧パルスの先頭位置までの長さであるパルス往復時間に対応する配線長が特定される。このため、本実施形態によれば、配線長を正確に求めることができる。 Further, in the present embodiment, among the extracted waveforms extracted from the measured voltage waveform, from the extraction position of the extracted waveform having the maximum correlation coefficient with the model waveform including the top position of the reflected wave, the top of the voltage pulse A wire length is identified that corresponds to the pulse round-trip time, which is the length to the location. Therefore, according to this embodiment, the wiring length can be obtained accurately.

また、本実施形態では、一対の通信線間が低インピーダンスで接続されたことが、一対の通信線間に第1の電圧が印加されたことの検知により検知される。このため、本実施形態によれば、一対の通信線間が低インピーダンスで接続されたことを、容易に検知することができる。 Further, in the present embodiment, the low impedance connection between the pair of communication lines is detected by detecting that the first voltage is applied between the pair of communication lines. Therefore, according to the present embodiment, it can be easily detected that the pair of communication lines are connected with low impedance.

また、本実施形態では、データを送信することを要求する要求データが第1の機器に送信される。このため、本実施形態によれば、速やかに配線長を求めることができる。 Also, in the present embodiment, request data requesting transmission of data is transmitted to the first device. Therefore, according to this embodiment, the wiring length can be obtained quickly.

なお、本実施形態において求められた配線長は、様々な用途に用いることができる。例えば、ユーザは、求められた配線長から信号波形をシミュレーションすることにより、通信品質を推定することが可能である。つまり、ユーザは、求められた配線長から、通信エラーの発生確率が高い機器を推定したり、再現性の低い通信不具合を洗い出したり、通信不具合への対策を立案したり、サンプリング位置を決定したりすることができる。 Note that the wiring length obtained in this embodiment can be used for various purposes. For example, the user can estimate the communication quality by simulating the signal waveform from the determined wiring length. In other words, the user can estimate devices with a high probability of communication errors from the obtained wiring length, identify communication problems with low reproducibility, plan countermeasures against communication problems, and determine sampling positions. can be

(実施形態2)
実施形態1では、測定された電圧波形のうち電圧パルスの重畳部分である部分波形から、一対の通信線上における第1の機器の接続位置で発生した反射波の先頭位置を特定する例について説明した。しかしながら、電圧パルスの反射波は、厳密には、第1の機器の接続位置以外の位置でも発生する。例えば、第1の機器が室内機300である場合、電圧パルスの反射波は、室内機300の接続位置だけでなく、室内機400の接続位置、及び、室内機500の接続位置でも発生する。このため、測定された電圧波形上において、室内機300の接続位置以外の位置においても、電圧値の低下が観測される可能性が高い。この場合、上記部分波形から、単純に、室内機300の接続位置で発生した反射波の先頭位置を特定することが難しい。
(Embodiment 2)
In the first embodiment, an example was described in which the top position of the reflected wave generated at the connection position of the first device on the pair of communication lines is specified from the partial waveform that is the superimposed portion of the voltage pulse in the measured voltage waveform. . Strictly speaking, however, the reflected wave of the voltage pulse also occurs at positions other than the connection position of the first device. For example, when the first device is the indoor unit 300 , the reflected wave of the voltage pulse is generated not only at the connection position of the indoor unit 300 but also at the connection positions of the indoor unit 400 and the indoor unit 500 . Therefore, on the measured voltage waveform, there is a high possibility that a drop in voltage value will be observed even at positions other than the connection position of the indoor unit 300 . In this case, it is difficult to simply identify the head position of the reflected wave generated at the connection position of the indoor unit 300 from the partial waveform.

そこで、本実施形態では、第1の機器の接続位置以外の位置で発生した反射波の影響を減らして、第1の機器の接続位置で発生した反射波の先頭位置を特定する手法について説明する。以下、主に、実施形態1と差異がある点について説明する。 Therefore, in the present embodiment, a method of reducing the influence of reflected waves generated at positions other than the connection position of the first device and specifying the head position of the reflected wave generated at the connection position of the first device will be described. . In the following, differences from the first embodiment are mainly described.

本実施形態では、検知部103は、一対の通信線間に第1の電圧が印加されたことと一対の通信線間に第1の電圧とは異なる第2の電圧が印加されたこととを検知する。第1の電圧は、例えば、5V、又は、-5Vである。第2の電圧は、例えば、0Vである。 In this embodiment, the detection unit 103 detects that a first voltage is applied between the pair of communication lines and that a second voltage different from the first voltage is applied between the pair of communication lines. detect. The first voltage is, for example, 5V or -5V. The second voltage is, for example, 0V.

パルス印加部104は、第1の機器によりデータが送信され、一対の通信線上における第1の機器の接続位置において一対の通信線間が低インピーダンスで接続されているときに、基準位置において一対の通信線間に第1の電圧パルスを印加する。また、パルス印加部104は、一対の通信線間が低インピーダンスで接続されていないときに、基準位置において一対の通信線間に第2の電圧パルスを印加する。 When data is transmitted by the first device and the pair of communication lines are connected with low impedance at the connection position of the first device on the pair of communication lines, the pulse applying unit 104 applies the pair of signals at the reference position. A first voltage pulse is applied across the communication line. Further, the pulse applying unit 104 applies a second voltage pulse between the pair of communication lines at the reference position when the pair of communication lines is not connected with low impedance.

つまり、パルス印加部104は、一対の通信線間に第1の電圧が印加されたことに応答して、一対の通信線間に第1の電圧パルスを印加し、一対の通信線間に第2の電圧が印加されたことに応答して、一対の通信線間に第2の電圧パルスを印加する。第1の電圧パルスと第2の電圧パルスとは、いずれも、実施形態1で説明した電圧パルスである。つまり、基本的に、第1の電圧パルスの振幅と第2の電圧パルスの振幅とは等しく、第1の電圧パルスのパルス幅と第2の電圧パルスのパルス幅とも等しい。 That is, the pulse applying unit 104 applies the first voltage pulse between the pair of communication lines in response to the application of the first voltage between the pair of communication lines, and applies the first voltage pulse between the pair of communication lines. A second voltage pulse is applied across the pair of communication lines in response to the application of the two voltages. Both the first voltage pulse and the second voltage pulse are the voltage pulses described in the first embodiment. That is, basically, the amplitude of the first voltage pulse and the amplitude of the second voltage pulse are equal, and the pulse width of the first voltage pulse and the pulse width of the second voltage pulse are also equal.

一対の通信線間が低インピーダンスで接続されていないことは、一対の通信線上におけるいずれの機器の接続位置においても、一対の通信線間が低インピーダンスで接続されていないことを意味する。つまり、一対の通信線間が低インピーダンスで接続されていないときは、一対の通信線間の電圧が0Vであるときである。なお、一対の通信線間の電圧が0Vであるときは、いずれの機器もデータを送信していないとき、いずれかの機器がビットデータとして1を送信しているとき、又は、いずれかの機器がビットデータとして0を送信している期間のうち後半の期間に対応するときである。 The fact that the pair of communication lines are not connected with low impedance means that the pair of communication lines is not connected with low impedance at any connection position of the device on the pair of communication lines. That is, when the pair of communication lines are not connected with low impedance, the voltage between the pair of communication lines is 0V. When the voltage between the pair of communication lines is 0 V, when neither device is transmitting data, when one of the devices is transmitting 1 as bit data, or when one of the devices corresponds to the latter half of the period during which 0 is transmitted as bit data.

記憶部108は、モデル波形を示す情報(以下、適宜「モデル波形情報」という。)を記憶する。モデル波形は、差分波形の一部分のモデル波形である。モデル波形は、反射波の先頭位置を含み、第1の時間長を有する。差分波形は、第1の部分波形と第2の部分波形との差分波形である。第1の部分波形は、測定された電圧波形のうち第1の電圧パルスの重畳部分である。第2の部分波形は、測定された電圧波形のうち第2の電圧パルスの重畳部分である。差分波形は、具体的には、第1の部分波形と第2の部分波形とを、第1の電圧パルスの先頭位置と第2の電圧パルスの先頭位置とを重ねて電圧値の差分をとった波形である。 The storage unit 108 stores information indicating model waveforms (hereinafter referred to as “model waveform information” as appropriate). A model waveform is a model waveform of a portion of the differential waveform. The model waveform includes the head position of the reflected wave and has a first time length. A differential waveform is a differential waveform between the first partial waveform and the second partial waveform. The first partial waveform is the superimposed portion of the first voltage pulse in the measured voltage waveform. The second partial waveform is the superimposed portion of the second voltage pulse in the measured voltage waveform. Specifically, the difference waveform is obtained by superimposing the first partial waveform and the second partial waveform on the first voltage pulse head position and the second voltage pulse head position, and taking the difference in voltage value. waveform.

波形比較部109は、記憶部108に記憶されたモデル波形情報により示されるモデル波形と、測定された電圧波形から求められた差分波形から抽出される第1の時間長分の部分波形(以下、適宜「抽出波形」という。)と、を比較する。波形比較部109は、差分波形から抽出される抽出波形のうち、モデル波形に最も類似する抽出波形を特定する。そして、波形比較部109は、特定した抽出波形の抽出位置を特定する。この抽出位置は、特定された抽出波形の中心位置である。そして、波形比較部109は、差分波形上における、第1の電圧パルスの先頭位置から、特定した抽出位置までの長さをパルス往復時間として特定する。 Waveform comparison section 109 generates a partial waveform of a first time length (hereinafter referred to as a appropriately referred to as an “extracted waveform”). Waveform comparison section 109 identifies an extracted waveform that is most similar to the model waveform among the extracted waveforms extracted from the differential waveform. Then, the waveform comparison unit 109 identifies the extraction position of the identified extracted waveform. This extracted position is the center position of the specified extracted waveform. Then, the waveform comparison unit 109 identifies the length from the leading position of the first voltage pulse to the identified extraction position on the difference waveform as the pulse round-trip time.

どのような抽出波形をモデル波形に最も類似する抽出波形とみなすのかは、適宜、調整することができる。例えば、波形比較部109は、差分波形から抽出される抽出波形のうち、モデル波形との相関係数が最も大きい抽出波形を、モデル波形に最も類似する抽出波形とみなすことができる。なお、抽出波形とモデル波形との相関係数を求める手法は、実施形態1で示した通りである。 It is possible to appropriately adjust what kind of extracted waveform is regarded as the extracted waveform most similar to the model waveform. For example, the waveform comparing section 109 can regard the extracted waveform having the largest correlation coefficient with the model waveform among the extracted waveforms extracted from the differential waveform as the extracted waveform most similar to the model waveform. The method of obtaining the correlation coefficient between the extracted waveform and the model waveform is as described in the first embodiment.

ここで、配線長算出部110は、電圧波形上における電圧パルスの先頭位置から反射波の先頭位置までの長さに対応する配線長として、以下の配線長を算出する。具体的には、配線長算出部110は、差分波形上における、第1の電圧パルスの先頭位置から反射波の先頭位置までの長さ、に対応する配線長を算出する。より詳細には、配線長算出部110は、差分波形上における、第1の電圧パルスの先頭位置から、差分波形から抽出される第1の時間長分の抽出波形のうちモデル波形との相関係数が最大である抽出波形の抽出位置までの長さ、に対応する配線長を算出する。 Here, the wiring length calculator 110 calculates the following wiring length as the wiring length corresponding to the length from the top position of the voltage pulse to the top position of the reflected wave on the voltage waveform. Specifically, the wiring length calculator 110 calculates the wiring length corresponding to the length from the leading position of the first voltage pulse to the leading position of the reflected wave on the difference waveform. More specifically, the wiring length calculation unit 110 calculates the correlation with the model waveform of the extracted waveform for the first time length extracted from the differential waveform from the leading position of the first voltage pulse on the differential waveform. A wiring length corresponding to the length to the extraction position of the extracted waveform having the maximum number is calculated.

次に、図10を参照して、本実施形態において測定される電圧波形について説明する。本実施形態では、一対の通信線間が低インピーダンスで接続されているとき、つまり、一対の通信線間に5V又は-5Vが印加されているときに、一対の通信線間に第1の電圧パルスが印加される。また、本実施形態では、一対の通信線間が低インピーダンスで接続されていないとき、つまり、一対の通信線間に0Vが印加されているときに、一対の通信線間に第2の電圧パルスが印加される。 Next, voltage waveforms measured in this embodiment will be described with reference to FIG. In the present embodiment, when the pair of communication lines are connected with low impedance, that is, when 5 V or −5 V is applied between the pair of communication lines, the first voltage is applied between the pair of communication lines. A pulse is applied. Further, in the present embodiment, when the pair of communication lines are not connected with low impedance, that is, when 0 V is applied between the pair of communication lines, the second voltage pulse is applied between the pair of communication lines. is applied.

ここで、パルス印加部104により一対の通信線間に印加される第1の電圧パルスの形状と、パルス印加部104により一対の通信線間に印加される第2の電圧パルスの形状とは同じである。しかしながら、分布定数回路とみなされる一対の通信線の特性インピーダンスの分布状況は、第1の電圧パルスの印加時と第2の電圧パルスの印加時とで異なる。従って、第1の電圧パルスによって発生する反射波の形状と、第2の電圧パルスによって発生する反射波の形状とは異なる。 Here, the shape of the first voltage pulse applied between the pair of communication lines by the pulse applying unit 104 and the shape of the second voltage pulse applied between the pair of communication lines by the pulse applying unit 104 are the same. is. However, the distribution of the characteristic impedance of the pair of communication lines, which is regarded as a distributed constant circuit, differs between when the first voltage pulse is applied and when the second voltage pulse is applied. Therefore, the shape of the reflected wave generated by the first voltage pulse is different from the shape of the reflected wave generated by the second voltage pulse.

具体的には、第1の電圧パルスの印加時には、一対の通信線間が第1の機器の接続位置において低インピーダンスで接続されている。従って、第1の電圧パルスの印加時には、第1の機器の接続位置において特性インピーダンスが低下し、第1の機器の接続位置において負の反射が発生する。一方、第2の電圧パルスの印加時には、一対の通信線間が第1の機器の接続位置において低インピーダンスで接続されていない。従って、第2の電圧パルスの印加時には、第1の機器の接続位置において特性インピーダンスが低下せず、第1の機器の接続位置において負の反射が発生しない。 Specifically, when the first voltage pulse is applied, the pair of communication lines are connected with low impedance at the connection position of the first device. Therefore, when the first voltage pulse is applied, the characteristic impedance is lowered at the connection position of the first device, and negative reflection occurs at the connection position of the first device. On the other hand, when the second voltage pulse is applied, the pair of communication lines are not connected with low impedance at the connection position of the first device. Therefore, when the second voltage pulse is applied, the characteristic impedance does not decrease at the connection position of the first device, and negative reflection does not occur at the connection position of the first device.

このように、第1の機器の接続位置においては、第1の電圧パルスの印加時と第2の電圧パルスの印加時とで、特性インピーダンスの変化の仕方が大きく異なる。従って、第1の電圧パルスの印加時と第2の電圧パルスの印加時とで、第1の機器の接続位置における反射波の発生状況が大きく異なる。 As described above, at the connection position of the first device, the characteristic impedance varies greatly between when the first voltage pulse is applied and when the second voltage pulse is applied. Therefore, the state of reflected waves generated at the connection position of the first device greatly differs between when the first voltage pulse is applied and when the second voltage pulse is applied.

一方、第1の機器の接続位置以外の位置においては、第1の電圧パルスの印加時と第2の電圧パルスの印加時とで、特性インピーダンスの変化の仕方があまり変わらない。従って、第1の電圧パルスの印加時と第2の電圧パルスの印加時とで、第1の機器の接続位置以外の位置における反射波の発生状況はあまり変わらない。そこで、第1の電圧パルスの重畳部分である第1の部分波形と第2の電圧パルスの重畳部分である第2の部分波形との差分波形上において、反射波の影響を強く受けている位置を、第1の機器の接続位置に対応する位置と見做すことが好適である。 On the other hand, at positions other than the connection position of the first device, there is not much difference in how the characteristic impedance changes between when the first voltage pulse is applied and when the second voltage pulse is applied. Therefore, there is not much difference between the application of the first voltage pulse and the application of the second voltage pulse in the occurrence of reflected waves at positions other than the connection position of the first device. Therefore, on the differential waveform between the first partial waveform, which is the superimposed portion of the first voltage pulse, and the second partial waveform, which is the superimposed portion of the second voltage pulse, the position strongly affected by the reflected wave is preferably regarded as the position corresponding to the connection position of the first device.

図10に示すように、t0からt1までの期間に5Vが印加され、t1からt2までの期間に0Vが印加され、t10からt12までの期間に第1の電圧パルスが印加され、t21からt23までの期間に第2の電圧パルスが印加された場合を想定する。 As shown in FIG. 10, 5 V is applied during the period from t0 to t1, 0 V is applied during the period from t1 to t2, the first voltage pulse is applied during the period from t10 to t12, and t21 to t23. Assume that the second voltage pulse is applied during the period up to .

この場合、t10からTrが経過した時刻であるt11以降、第1の機器の接続位置において発生した、第1の電圧パルスの反射波が観測される。Trは、第1の電圧パルスが配線長計測装置100と第1の機器との間を往復するのに要するパルス往復時間である。この反射波は、負の反射波であるため、観測される電圧値は、t11を境にして低下する。一方、t21からTrが経過した時刻であるt22以降、第1の機器の接続位置において第2の電圧パルスの反射波は発生しないため、反射波が観測されない。従って、観測される電圧値は、t22を境にして低下しない。 In this case, after t11 when Tr has passed from t10, a reflected wave of the first voltage pulse generated at the connection position of the first device is observed. Tr is the pulse round-trip time required for the first voltage pulse to go back and forth between the wiring length measuring device 100 and the first device. Since this reflected wave is a negative reflected wave, the observed voltage value decreases at t11. On the other hand, after t22 when Tr has passed from t21, no reflected wave of the second voltage pulse is generated at the connection position of the first device, so no reflected wave is observed. Therefore, the observed voltage value does not drop beyond t22.

つまり、t11直後の期間における電圧波形の形状と、t22直後の期間における電圧波形の形状とは、大きく異なる。一方、t11直後以外の期間における電圧波形の形状と、t22直後以外の期間における電圧波形の形状とは、大きく異ならない。このため、差分波形は、t11及びt22直後の期間に対応する期間でのみ形状が大きく変化する波形となる。 That is, the shape of the voltage waveform in the period immediately after t11 and the shape of the voltage waveform in the period immediately after t22 are significantly different. On the other hand, the shape of the voltage waveform in periods other than immediately after t11 and the shape of the voltage waveform in periods other than immediately after t22 are not significantly different. Therefore, the difference waveform becomes a waveform whose shape changes greatly only in the period corresponding to the period immediately after t11 and t22.

次に、図11を参照して、差分波形について説明する。図11において、第1の部分波形を太線21で示し、第2の部分波形を細線22で示し、差分波形を破線23で示す。なお、モデル波形は、基本的に、破線23で示される差分波形のうち、破線24で囲まれた領域内の波形と同様の波形である。第1の部分波形は、第1の電圧パルスの先頭位置を縦軸に合わせている。第2の部分波形は、第2の電圧パルスの先頭位置を縦軸に合わせている。差分波形は、第1の電圧パルスの先頭位置及び第2の電圧パルスの先頭位置に対応する位置を縦軸に合わせている。 Next, the differential waveform will be described with reference to FIG. In FIG. 11, a thick line 21 indicates the first partial waveform, a thin line 22 indicates the second partial waveform, and a dashed line 23 indicates the differential waveform. Note that the model waveform is basically the same waveform as the waveform within the area surrounded by the dashed line 24 among the difference waveforms indicated by the dashed line 23 . In the first partial waveform, the leading position of the first voltage pulse is aligned with the vertical axis. In the second partial waveform, the leading position of the second voltage pulse is aligned with the vertical axis. In the differential waveform, positions corresponding to the leading position of the first voltage pulse and the leading position of the second voltage pulse are aligned with the vertical axis.

また、第1の部分波形、第2の部分波形、差分波形、抽出波形などの波形は、基本的に、相関係数を求めるために用いられる。ここで、相関係数は、基本的に、波形の形状に依存し、波形全体が電圧軸方向にオフセットされていても変化しない。そこで、本実施形態では、第1の部分波形及び差分波形として、5V分のオフセット電圧を除外した波形を採用している。また、理解を容易にするため、図11では、第2の部分波形を100mV分、下方向にオフセットし、差分波形を100mV分、上方向にオフセットしている。 Waveforms such as the first partial waveform, the second partial waveform, the differential waveform, and the extracted waveform are basically used to obtain the correlation coefficient. Here, the correlation coefficient basically depends on the shape of the waveform and does not change even if the entire waveform is offset in the voltage axis direction. Therefore, in the present embodiment, waveforms from which an offset voltage of 5 V is excluded are employed as the first partial waveform and differential waveform. Also, for ease of understanding, in FIG. 11, the second partial waveform is offset downward by 100 mV, and the differential waveform is offset upward by 100 mV.

第1の部分波形は、0から0.2までの期間に電圧値が低下し、0.2からt3までの期間に電圧値が上昇し、t3以降に電圧値がなだらかに低下する波形である。第2の部分波形は、0から0.2までの期間に電圧値が低下し、0.2からt3までの期間に電圧値が上昇し、t3以降に電圧値がなだらかに上昇したり低下したりする波形である。差分波形は、0からt3までの期間に電圧値がほぼ一定値に維持され、t3以降に電圧値が低下する波形である。このように、差分波形は、第1の部分波形と第2の部分波形とが同様に変化する期間は、電圧値がほぼ一定値に維持され、第1の部分波形の変化と第2の部分波形の変化とが異なる期間は、電圧値が変化する波形となる。 The first partial waveform is a waveform in which the voltage value decreases during the period from 0 to 0.2, the voltage value increases during the period from 0.2 to t3, and the voltage value gradually decreases after t3. . In the second partial waveform, the voltage value decreases in the period from 0 to 0.2, the voltage value increases in the period from 0.2 to t3, and the voltage value gently increases and decreases after t3. It is a waveform that The difference waveform is a waveform in which the voltage value is maintained at a substantially constant value during the period from 0 to t3, and the voltage value decreases after t3. In this way, the differential waveform maintains a substantially constant voltage value during the period in which the first partial waveform and the second partial waveform change similarly, and the difference between the change in the first partial waveform and the second partial waveform. A period in which the change in the waveform is different has a waveform in which the voltage value changes.

従って、差分波形は、第1の部分波形の変化と第2の部分波形の変化とが大きくなる位置であるt3を特定するのに好適な波形である。なお、t3は、第1の機器の接続位置に対応する時刻であり、第1の機器の接続位置において発生した反射波の影響が出始める時刻である。一方、第1の部分波形は、t3以降に電圧値が低下するが、0から0.2までの期間にも電圧値が低下する。このため、第1の部分波形は、第1の機器の接続位置において発生した反射波の影響が出始める時刻を特定することが困難である可能性がある波形である。 Therefore, the difference waveform is a suitable waveform for specifying t3, which is the position at which the change in the first partial waveform and the change in the second partial waveform become large. Note that t3 is the time corresponding to the connection position of the first device, and is the time when the influence of the reflected wave generated at the connection position of the first device begins to appear. On the other hand, the voltage value of the first partial waveform decreases after t3, and the voltage value also decreases during the period from 0 to 0.2. Therefore, the first partial waveform is a waveform for which it may be difficult to identify the time when the reflected wave generated at the connection position of the first device begins to have an effect.

次に、図12に示すフローチャートを参照して、本実施形態に係る配線長計測装置100が実行する配線長計測処理について説明する。 Next, the wiring length measuring process executed by the wiring length measuring apparatus 100 according to this embodiment will be described with reference to the flowchart shown in FIG.

まず、配線長計測装置100は、計測開始指示があるか否かを判別する(ステップS201)。配線長計測装置100は、計測開始指示がないと判別すると(ステップS201:NO)、ステップS201に処理を戻す。配線長計測装置100は、計測開始指示があると判別すると(ステップS201:YES)、第1の機器を選択する(ステップS202)。 First, the wiring length measuring device 100 determines whether or not there is an instruction to start measurement (step S201). When the wiring length measuring device 100 determines that there is no instruction to start measurement (step S201: NO), the process returns to step S201. When determining that there is an instruction to start measurement (step S201: YES), the wiring length measuring apparatus 100 selects the first device (step S202).

配線長計測装置100は、ステップS202の処理を完了すると、データを送信する(ステップS203)。このように、本実施形態では、配線長計測装置100は、第1の機器に応答データを送信させるための要求データではなく、第1の機器にACKコードを送信させるためのデータである通常のデータを送信する。配線長計測装置100は、ステップS203の処理を完了すると、電圧波形の測定を開始する(ステップS204)。 After completing the process of step S202, the wiring length measuring device 100 transmits data (step S203). As described above, in the present embodiment, the wiring length measuring apparatus 100 does not use the request data for causing the first device to transmit the response data, but the normal data for causing the first device to transmit the ACK code. Send data. After completing the process of step S203, the wiring length measuring device 100 starts measuring the voltage waveform (step S204).

配線長計測装置100は、ステップS204の処理を完了すると、低インピーダンス期間を検出する。(ステップS205)。例えば、配線長計測装置100は、データの送信が完了した時刻から、Tw1が経過したことを検出する。或いは、配線長計測装置100は、一対の通信線間の電圧が0Vから5Vに変化したことを検知してもよい。配線長計測装置100は、ステップS205の処理を完了すると、第1の電圧パルスを印加する(ステップS206)。 After completing the process of step S204, the wiring length measuring apparatus 100 detects the low impedance period. (Step S205). For example, the wiring length measuring device 100 detects that Tw1 has passed since the data transmission was completed. Alternatively, the wiring length measuring device 100 may detect that the voltage between the pair of communication lines has changed from 0V to 5V. After completing the processing of step S205, the wiring length measuring device 100 applies the first voltage pulse (step S206).

配線長計測装置100は、ステップS206の処理を完了すると、高インピーダンス期間を検出する。(ステップS207)。例えば、配線長計測装置100は、データの送信が完了した時刻から、Tw1が経過し、更に、1ビット期間の半分の時間が経過したことを検出する。或いは、配線長計測装置100は、一対の通信線間の電圧が5Vから0Vに変化したことを検知してもよい。配線長計測装置100は、ステップS207の処理を完了すると、第2の電圧パルスを印加する(ステップS208)。 After completing the process of step S206, the wiring length measuring apparatus 100 detects the high impedance period. (Step S207). For example, the wiring length measuring device 100 detects that Tw1 has passed since the data transmission was completed, and that half of the 1-bit period has passed. Alternatively, the wiring length measuring device 100 may detect that the voltage between the pair of communication lines has changed from 5V to 0V. After completing the processing of step S207, the wiring length measuring device 100 applies a second voltage pulse (step S208).

配線長計測装置100は、ステップS208の処理を完了すると、ACKコードを受信する(ステップS209)。配線長計測装置100は、ステップS209の処理を完了すると、電圧波形の測定を終了する(ステップS210)。 After completing the process of step S208, the wiring length measuring device 100 receives the ACK code (step S209). After completing the process of step S209, the wiring length measuring apparatus 100 ends the measurement of the voltage waveform (step S210).

配線長計測装置100は、ステップS210の処理を完了すると、差分波形を生成する(ステップS211)。具体的には、配線長計測装置100は、測定された電圧波形から第1の電圧パルスが重畳された第1の部分波形と第2の電圧パルスが重畳された第2の部分波形とを抽出する。そして、配線長計測装置100は、第1の部分波形と第2の部分波形とを時間軸を合わせた上で、電圧値の差分をとる。例えば、配線長計測装置100は、第1の部分波形及び第2の部分波形を構成する全ての電圧値に対して、第1の部分波形を構成する電圧値から第2の部分波形を構成する電圧値を除算する処理を実行する。 After completing the process of step S210, the wiring length measuring apparatus 100 generates a differential waveform (step S211). Specifically, the wiring length measuring apparatus 100 extracts a first partial waveform superimposed with a first voltage pulse and a second partial waveform superimposed with a second voltage pulse from the measured voltage waveform. do. Then, the wiring length measuring device 100 aligns the time axes of the first partial waveform and the second partial waveform, and then finds the difference between the voltage values. For example, the wiring length measuring apparatus 100 forms the second partial waveform from the voltage values forming the first partial waveform for all the voltage values forming the first partial waveform and the second partial waveform. Execute the process of dividing the voltage value.

配線長計測装置100は、ステップS211の処理を完了すると、差分波形とモデル波形とを比較する(ステップS212)。具体的には、波形比較部109は、抽出波形の抽出位置を第1の電圧パルスの先頭位置に設定した後、抽出波形とモデル波形との相関係数を算出する処理と、抽出位置をシフトする処理とを、抽出位置が第1の電圧パルスの末尾位置に至るまで繰り返す。 After completing the process of step S211, the wiring length measuring apparatus 100 compares the difference waveform and the model waveform (step S212). Specifically, after setting the extraction position of the extracted waveform to the leading position of the first voltage pulse, the waveform comparison unit 109 performs processing for calculating the correlation coefficient between the extracted waveform and the model waveform, and shifts the extraction position. and are repeated until the extraction position reaches the end position of the first voltage pulse.

配線長計測装置100は、ステップS212の処理を完了すると、パルス往復時間を算出する(ステップS213)。具体的には、配線長計測装置100は、差分波形上において、相関係数が最大である抽出位置から第1の電圧パルスの先頭位置までの長さを特定し、特定した長さをパルス往復時間として算出する。 After completing the process of step S212, the wiring length measuring apparatus 100 calculates the pulse round-trip time (step S213). Specifically, the wiring length measuring device 100 identifies the length from the extraction position where the correlation coefficient is maximum to the leading position of the first voltage pulse on the differential waveform, and measures the identified length as a pulse round trip. Calculate as hours.

配線長計測装置100は、ステップS213の処理を完了すると、配線長を算出する(ステップS214)。配線長計測装置100は、ステップS214の処理を完了すると、未選択の機器があるか否かを判別する(ステップS215)。配線長計測装置100は、未選択の機器があると判別すると(ステップS215:YES)、ステップS202に処理を戻し、第1の機器として選択済みでない機器を選択する。 After completing the process of step S213, the wiring length measuring device 100 calculates the wiring length (step S214). After completing the process of step S214, the wiring length measuring apparatus 100 determines whether or not there is an unselected device (step S215). When determining that there is an unselected device (step S215: YES), the wiring length measuring apparatus 100 returns the process to step S202 and selects a device that has not been selected as the first device.

配線長計測装置100は、未選択の機器がないと判別すると(ステップS215:NO)、機器識別情報と配線長情報とを対応付けて表示する(ステップS216)。配線長計測装置100は、ステップS216の処理を完了すると、ステップS201に処理を戻す。 If the wiring length measuring apparatus 100 determines that there is no unselected device (step S215: NO), it displays the device identification information and the wiring length information in association with each other (step S216). After completing the process of step S216, the wiring length measuring apparatus 100 returns the process to step S201.

本実施形態では、第1の機器の接続位置以外の位置において発生した反射波の影響がほぼキャンセルされた差分波形に基づいて、第1の機器の接続位置において発生した反射波の先頭位置が特定され、この反射波の先頭位置から配線長が特定される。このため、本実施形態によれば、低コストで容易に基準位置から第1の機器までの配線長を正確に求めることができる。 In this embodiment, the leading position of the reflected wave generated at the connection position of the first device is specified based on the difference waveform in which the influence of the reflected wave generated at the position other than the connection position of the first device is substantially canceled. and the wiring length is specified from the head position of this reflected wave. Therefore, according to the present embodiment, the wiring length from the reference position to the first device can be obtained accurately at low cost and easily.

以上、本発明の実施形態を説明したが、本発明を実施するにあたっては、種々の形態による変形及び応用が可能である。 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, any part of the configurations, functions, and operations described in the above embodiments may be adopted. Further, in addition to the configurations, functions, and operations described above, further configurations, functions, and operations may be employed in the present invention.

(変形例1)
実施形態1では、一対の通信線上における室外機200の接続位置に配線長計測装置100が接続される例について説明した。配線長計測装置100が接続される位置は、この例に限定されない。例えば、図13に示すように、一対の通信線上における室内機300の接続位置に配線長計測装置100が接続されてもよい。なお、変形例1では、空調システム1000自体は、実施形態1に係る空調システム1000と同様であり、配線長計測装置100の接続位置だけが実施形態と異なる。
(Modification 1)
In the first embodiment, an example has been described in which the wiring length measuring device 100 is connected to the connection position of the outdoor unit 200 on a pair of communication lines. The position where the wiring length measuring device 100 is connected is not limited to this example. For example, as shown in FIG. 13, the wiring length measuring device 100 may be connected to the connection position of the indoor unit 300 on the pair of communication lines. In addition, in Modification 1, the air conditioning system 1000 itself is the same as the air conditioning system 1000 according to Embodiment 1, and only the connection position of the wiring length measuring device 100 is different from the embodiment.

変形例1では、端子121と端子301とは、電線11を介して接続され、端子122と端子302とは、電線12を介して接続される。配線長計測装置100は、第1の機器を室外機200とした場合、L1を配線長として計測し、第1の機器を室内機300とした場合、極めて短い長さ(例えば、数十cm)を配線長として計測し、第1の機器を室内機400とした場合、L2を配線長として計測し、第1の機器を室内機500とした場合、L2+L3を配線長として計測する。 In Modified Example 1, the terminals 121 and 301 are connected via the electric wire 11 , and the terminals 122 and 302 are connected via the electric wire 12 . When the outdoor unit 200 is the first device, the wiring length measuring device 100 measures L1 as the wiring length. is measured as the wiring length, and when the first device is the indoor unit 400, L2 is measured as the wiring length, and when the first device is the indoor unit 500, L2+L3 is measured as the wiring length.

変形例1においても、配線長計測装置100の接続位置から第1の機器の接続位置(一対の通信線間が低インピーダンスで接続された位置)までの配線長が適切に計測される。 Also in Modification 1, the wiring length from the connection position of the wiring length measuring device 100 to the connection position of the first device (the position where the pair of communication lines are connected with low impedance) is appropriately measured.

(変形例2)
実施形態1及び変形例1では、室外機200と室内機300と室内機400と室内機500とが直列に接続された空調システム1000に適用する例について説明した。適用する空調システムの配線トポロジは、この例に限定されない。変形例2では、図14を参照して、室内機300に対して、室外機200と室内機400と室内機500とが並列に接続された空調システム1100に適用する例について説明する。
(Modification 2)
In Embodiment 1 and Modification 1, an example of application to the air conditioning system 1000 in which the outdoor unit 200, the indoor unit 300, the indoor unit 400, and the indoor unit 500 are connected in series has been described. The wiring topology of the applied air conditioning system is not limited to this example. Modification 2 will be described with reference to FIG. 14 for an example of application to an air conditioning system 1100 in which an outdoor unit 200, an indoor unit 400, and an indoor unit 500 are connected in parallel to an indoor unit 300. FIG.

変形例2では、室外機200と室内機300とがケーブル610により接続され、室内機300と室内機400とがケーブル620により接続され、室内機300と室内機500とがケーブル630により接続される。つまり、端子201と端子301とは芯線611により接続され、端子202と端子302とは芯線612により接続される。端子301と端子401とは芯線621により接続され、端子302と端子402とは芯線622により接続される。端子301と端子501とは芯線631により接続され、端子302と端子502とは芯線632により接続される。 In modification 2, the outdoor unit 200 and the indoor unit 300 are connected by a cable 610, the indoor unit 300 and the indoor unit 400 are connected by a cable 620, and the indoor unit 300 and the indoor unit 500 are connected by a cable 630. . That is, the terminals 201 and 301 are connected by the core wire 611 , and the terminals 202 and 302 are connected by the core wire 612 . The terminals 301 and 401 are connected by a core wire 621 , and the terminals 302 and 402 are connected by a core wire 622 . The terminals 301 and 501 are connected by a core wire 631 , and the terminals 302 and 502 are connected by a core wire 632 .

芯線611と芯線621と芯線631とは、スター型に接続されて通信線15を構成する。芯線612と芯線622と芯線632とは、スター型に接続されて通信線16を構成する。通信線15と通信線16とは、通信に用いられる一対の通信線を構成する。また、変形例2では、変形例1と同様に、一対の通信線上における室内機300の接続位置に配線長計測装置100が接続される。 The core wire 611 , the core wire 621 , and the core wire 631 are connected in a star configuration to form the communication line 15 . The core wire 612 , the core wire 622 , and the core wire 632 are connected in a star configuration to form the communication line 16 . The communication line 15 and the communication line 16 constitute a pair of communication lines used for communication. Further, in Modification 2, similarly to Modification 1, the wiring length measuring device 100 is connected to the connection position of the indoor unit 300 on the pair of communication lines.

配線長計測装置100は、第1の機器を室外機200とした場合、L1を配線長として計測し、第1の機器を室内機300とした場合、極めて短い長さ(例えば、数十cm)を配線長として計測し、第1の機器を室内機400とした場合、L2を配線長として計測し、第1の機器を室内機500とした場合、L3を配線長として計測する。 When the outdoor unit 200 is the first device, the wiring length measuring device 100 measures L1 as the wiring length. is measured as the wiring length, and when the first device is the indoor unit 400, L2 is measured as the wiring length, and when the first device is the indoor unit 500, L3 is measured as the wiring length.

変形例2においても、配線長計測装置100の接続位置から第1の機器の接続位置(一対の通信線間が低インピーダンスで接続された位置)までの配線長が適切に計測される。 Also in Modification 2, the wiring length from the connection position of the wiring length measuring device 100 to the connection position of the first device (the position where the pair of communication lines are connected with low impedance) is appropriately measured.

(他の変形例)
実施形態1では、負荷抵抗700が、一対の通信線上における室外機200の接続部分に接続される例について説明した。負荷抵抗700の接続箇所は、この例に限定されない。例えば、負荷抵抗700が、一対の通信線上における室内機500の接続部分に接続されてもよい。また、負荷抵抗700の個数は、複数個であってもよい。例えば、室外機200の接続部分と室内機500の接続部分とのそれぞれに負荷抵抗700が接続されてもよい。
(Other modifications)
In the first embodiment, an example has been described in which the load resistor 700 is connected to the connecting portion of the outdoor unit 200 on a pair of communication lines. The connection point of the load resistor 700 is not limited to this example. For example, the load resistor 700 may be connected to the connecting portion of the indoor unit 500 on the pair of communication lines. Also, the number of load resistors 700 may be plural. For example, the load resistor 700 may be connected to each of the connecting portion of the outdoor unit 200 and the connecting portion of the indoor unit 500 .

実施形態1では、空調システムに適用する例について説明した。適用する通信システムは、空調システムに限定されない。ベースバンド変調方式を採用する種々の通信システムに適用することができる。例えば、照明機器と照明制御装置とを備える照明システムに適用することができる。 Embodiment 1 explained the example applied to an air-conditioning system. Applicable communication systems are not limited to air conditioning systems. It can be applied to various communication systems that employ baseband modulation schemes. For example, it can be applied to a lighting system that includes a lighting device and a lighting control device.

実施形態1では、伝送路符号として、デューティ比が50%のAMIを採用する例について説明した。本発明において、AMIにおけるデューティ比は、50%でなくてもよい。また、AMI以外の伝送路符号を採用することができる。例えば、NRZ(Non Return to Zero)、CMI(Code Mark Inversion code)などの伝送路符号を採用することができる。どのような伝送路符号を採用する場合であっても、データを送信する機器のみが、通信用の電源の内部インピーダンスにより、一対の伝送路間を低インピーダンスで接続する構成であればよい。 In the first embodiment, an example in which AMI with a duty ratio of 50% is used as the transmission line code has been described. In the present invention, the duty ratio in AMI does not have to be 50%. Also, a transmission line code other than AMI can be adopted. For example, transmission line codes such as NRZ (Non Return to Zero) and CMI (Code Mark Inversion code) can be adopted. No matter what transmission line code is adopted, it is sufficient that only the device that transmits data has a configuration in which a pair of transmission lines is connected with low impedance by the internal impedance of the power supply for communication.

実施形態1では、通信用の電源電圧が5Vであり、一対の通信線間に印加される電圧が、5V、0V、-5Vのいずれかである例について説明した。通信用の電源電圧が5Vに限定されないことは勿論である。例えば、通信用の電源電圧は、12Vであってもよい。この場合、一対の通信線間に印加される電圧は、12V、0V、-12Vのいずれかとなる。また、伝送路符号によっては、一対の通信線間に印加される電圧のレベルの個数が、3つではなく、2つであってもよい。例えば、通信用の電源電圧が5Vである場合、一対の通信線間に印加される電圧が、5V、0Vのいずれかであってもよい。また、例えば、通信用の電源電圧が12Vである場合、一対の通信線間に印加される電圧が、12V、0Vのいずれかであってもよい。なお、3つのレベル、又は、2つのレベルのうち、少なくとも1つのレベルにおいて、一対の通信線間が低インピーダンスで接続されればよい。 In the first embodiment, an example has been described in which the power supply voltage for communication is 5V and the voltage applied between the pair of communication lines is any one of 5V, 0V and -5V. Of course, the power supply voltage for communication is not limited to 5V. For example, the power supply voltage for communication may be 12V. In this case, the voltage applied between the pair of communication lines is either 12V, 0V, or -12V. Also, depending on the transmission line code, the number of voltage levels applied between the pair of communication lines may be two instead of three. For example, if the power supply voltage for communication is 5V, the voltage applied between the pair of communication lines may be either 5V or 0V. Further, for example, when the power supply voltage for communication is 12V, the voltage applied between the pair of communication lines may be either 12V or 0V. It is sufficient that the pair of communication lines are connected with low impedance in at least one of the three levels or the two levels.

実施形態1では、送信部102や送信部310が備えるスイッチング素子が、NPNトランジスタである例について説明した。スイッチング素子は、PNP(Positive Negative Positive)トランジスタであってもよい。また、スイッチング素子は、バイポーラトランジスタでなくてもよい。例えば、スイッチング素子は、MOSFET(Metal Oxide Semiconductor Field Effect Transistor)であってもよい。つまり、スイッチング素子は、データの送信時に、一対の通信線間を、通信用の電源の内部インピーダンスで接続するものであれば、どのようなものでもよい。 In the first embodiment, an example has been described in which the switching elements included in the transmission section 102 and the transmission section 310 are NPN transistors. The switching element may be a PNP (Positive Negative Positive) transistor. Also, the switching element need not be a bipolar transistor. For example, the switching element may be a MOSFET (Metal Oxide Semiconductor Field Effect Transistor). In other words, any switching element may be used as long as it connects the pair of communication lines with the internal impedance of the communication power source when data is transmitted.

実施形態1では、受信部106は、波形測定部105により測定された電圧波形から、データを再構成する例について説明した。受信部106は、受信部320と同様に、一対の通信線間の電圧を直接検出して、データを受信してもよい。 In the first embodiment, an example in which the receiving unit 106 reconstructs data from the voltage waveform measured by the waveform measuring unit 105 has been described. Similarly to the receiving section 320, the receiving section 106 may directly detect the voltage between the pair of communication lines to receive data.

実施形態1では、空調システム1000が備える全ての機器に対して、配線長が算出される例について説明した。特定の機器のみに対して、配線長が算出されてもよい。この場合、例えば、操作受付部101が、配線長の計測の開始を指示する操作とともに特定の機器を指定する操作をユーザから受け付けることが好適である。 In the first embodiment, the example in which the wiring length is calculated for all the devices included in the air conditioning system 1000 has been described. A wiring length may be calculated only for a specific device. In this case, for example, it is preferable that the operation reception unit 101 receives from the user an operation of instructing the start of measurement of the wiring length and an operation of designating a specific device.

実施形態1では、配線長計測装置100が、第1の機器に対して要求データを送信することにより、第1の機器に応答データを送信させる例について説明した。配線長計測装置100は、第1の機器に対して要求データを送信しなくてもよい。この場合、配線長計測装置100は、第1の機器が自発的又は他の機器による要求に従ってデータを送信したことを検知したことに応答して、配線長を計測する処理(例えば、ステップS104からステップS112までの処理)を実行すればよい。 In the first embodiment, the wiring length measuring apparatus 100 transmits request data to the first device, thereby causing the first device to transmit response data. The wiring length measuring device 100 does not have to transmit request data to the first device. In this case, the wiring length measuring apparatus 100 measures the wiring length (for example, from step S104 to process up to step S112) may be executed.

実施形態1では、ケーブル610,620,630が2本の芯線を含む例について説明した。ケーブル610,620,630に含まれる芯線の本数は3本以上であってもよい。この場合、3本以上の電線芯線から選択される2本の芯線を上述した一対の通信線を構成する芯線とみなして、上述した配線長計測処理を実行することができる。 In Embodiment 1, the example in which the cables 610, 620, 630 include two core wires has been described. The number of core wires included in the cables 610, 620, 630 may be three or more. In this case, two core wires selected from three or more electric wire core wires can be regarded as the core wires constituting the pair of communication lines described above, and the wiring length measurement process described above can be executed.

本発明に係る配線長計測装置の動作を規定する動作プログラムを既存のパーソナルコンピュータ又は情報端末装置に適用することで、当該パーソナルコンピュータ又は情報端末装置を本発明に係る配線長計測装置として機能させることも可能である。また、このようなプログラムの配布方法は任意であり、例えば、CD-ROM(Compact Disk Read-Only Memory)、DVD(Digital Versatile Disk)、メモリカードなどのコンピュータ読み取り可能な記録媒体に格納して配布してもよいし、インターネットなどの通信ネットワークを介して配布してもよい。 By applying an operation program that defines the operation of the wiring length measuring device according to the present invention to an existing personal computer or information terminal device, the personal computer or information terminal device functions as the wiring length measuring device according to the present invention. is also possible. Any method of distributing such a program may be used. For example, the program may be distributed by storing it in a computer-readable recording medium such as a CD-ROM (Compact Disk Read-Only Memory), a DVD (Digital Versatile Disk), or a memory card. or distributed via a communication network such as the Internet.

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

本出願は、2017年8月24日に出願された、日本国特許出願特願2017-161080に基づく。本明細書中に日本国特許出願特願2017-161080の明細書、特許請求の範囲、図面全体を参照として取り込むものとする。 This application is based on Japanese Patent Application No. 2017-161080 filed on August 24, 2017. The entire specification, claims, and drawings of Japanese Patent Application No. 2017-161080 are incorporated herein by reference.

本発明は、ベースバンド変調方式の通信システムに適用可能である。 INDUSTRIAL APPLICABILITY The present invention is applicable to baseband modulation communication systems.

11,12,13,14 電線、15,16 通信線、21 太線、22 細線、23,24 破線、100 配線長計測装置、101 操作受付部、102,310 送信部、103 検知部、104 パルス印加部、105 波形測定部、106,320 受信部、107 アドレス特定部、108 記憶部、109 波形比較部、110 配線長算出部、111 表示部、121,122,201,202,301,302,401,402,501,502 端子、200 室外機、300,400,500 室内機、311,312,313,314 スイッチング素子、330 制御部、340 電源部、341 直流電源、342 内部インピーダンス、610,620,630 ケーブル、611,612,621,622,631,632 芯線、613,614,616 絶縁部材、615 シールド線、700 負荷抵抗、900 画面、911,912,913,914,921,922,923,924 画像、1000,1100 空調システム 11, 12, 13, 14 electric wire, 15, 16 communication line, 21 thick line, 22 thin line, 23, 24 dashed line, 100 wiring length measuring device, 101 operation reception unit, 102, 310 transmission unit, 103 detection unit, 104 pulse application Section 105 Waveform Measuring Section 106, 320 Receiving Section 107 Address Specifying Section 108 Storage Section 109 Waveform Comparing Section 110 Wiring Length Calculating Section 111 Display Section 121, 122, 201, 202, 301, 302, 401 , 402, 501, 502 terminals, 200 outdoor unit, 300, 400, 500 indoor unit, 311, 312, 313, 314 switching element, 330 control unit, 340 power supply unit, 341 DC power supply, 342 internal impedance, 610, 620, 630 cable, 611, 612, 621, 622, 631, 632 core wire, 613, 614, 616 insulating member, 615 shielded wire, 700 load resistance, 900 screen, 911, 912, 913, 914, 921, 922, 923, 924 Image, 1000, 1100 Air conditioning system

Claims (9)

一対の通信線上における基準位置から、前記一対の通信線に接続された1又は複数の機器のうち第1の機器までの配線長を計測する配線長計測装置であって、
前記第1の機器によるデータの送信中において、前記一対の通信線上における前記第1の機器の接続位置において前記一対の通信線間が低インピーダンスで接続されているときに、前記基準位置において前記一対の通信線間に電圧パルスを印加するパルス印加手段と、
前記基準位置において前記一対の通信線間の電圧波形を測定する波形測定手段と、
前記第1の機器により前記データが送信された場合、前記第1の機器を示す情報と、前記電圧波形上における前記電圧パルスの先頭位置から前記電圧パルスの反射波の先頭位置までの長さに対応する配線長を示す情報と、を対応付けて表示する表示手段と、を備える、
配線長計測装置。
A wiring length measuring device for measuring a wiring length from a reference position on a pair of communication lines to a first device among one or more devices connected to the pair of communication lines,
during data transmission by the first device, at the reference position when the pair of communication lines are connected at a connection position of the first device on the pair of communication lines with low impedance; a pulse applying means for applying a voltage pulse between the pair of communication lines;
waveform measuring means for measuring a voltage waveform between the pair of communication lines at the reference position;
When the data is transmitted by the first device, the information indicating the first device and the length from the top position of the voltage pulse on the voltage waveform to the top position of the reflected wave of the voltage pulse and display means for displaying information indicating the corresponding wiring length in association with
Wiring length measuring device.
前記データには、前記第1の機器のアドレスが含まれ、
前記一対の通信線間の電圧を検出し、前記データを受信する受信手段と、
前記受信手段により前記データが受信された場合、前記データに含まれる前記第1の機器のアドレスを、前記データの送信元の機器のアドレスとして特定するアドレス特定手段と、を更に備える、
請求項1に記載の配線長計測装置。
the data includes an address of the first device;
receiving means for detecting the voltage between the pair of communication lines and receiving the data;
an address specifying means for specifying, when the data is received by the receiving means, the address of the first device included in the data as the address of the source device of the data;
The wiring length measuring device according to claim 1.
前記電圧パルスに前記反射波が重畳された波形の一部分のモデル波形であり、前記反射波の先頭位置を含み、第1の時間長を有するモデル波形を示す情報を記憶する記憶手段と、
前記電圧波形上における、前記電圧パルスの先頭位置から、前記電圧波形から抽出される前記第1の時間長分の抽出波形のうち前記モデル波形との相関係数が最大である抽出波形の抽出位置までの長さ、に対応する配線長を算出する配線長算出手段と、を更に備える、
請求項1又は2に記載の配線長計測装置。
storage means for storing information indicating a model waveform that is a part of a waveform in which the reflected wave is superimposed on the voltage pulse and that includes a head position of the reflected wave and has a first time length;
An extraction position of an extraction waveform having a maximum correlation coefficient with the model waveform among extraction waveforms of the first time length extracted from the voltage waveform from the leading position of the voltage pulse on the voltage waveform. a wiring length calculation means for calculating a wiring length corresponding to the length up to
The wiring length measuring device according to claim 1 or 2.
前記一対の通信線間に第1の電圧が印加されたことを検知する検知手段を更に備え、
前記パルス印加手段は、前記一対の通信線間に前記第1の電圧が印加されたことに応答して、前記一対の通信線間に前記電圧パルスを印加する、
請求項1から3のいずれか1項に記載の配線長計測装置。
Further comprising detection means for detecting that a first voltage is applied between the pair of communication lines,
The pulse applying means applies the voltage pulse between the pair of communication lines in response to the application of the first voltage between the pair of communication lines.
The wiring length measuring device according to any one of claims 1 to 3.
前記パルス印加手段は、前記一対の通信線上における前記第1の機器の接続位置において前記一対の通信線間が低インピーダンスで接続されているときに、前記基準位置において前記一対の通信線間に前記電圧パルスである第1の電圧パルスを印加し、前記一対の通信線間が低インピーダンスで接続されていないときに、前記基準位置において前記一対の通信線間に第2の電圧パルスを印加し、
前記電圧波形上における前記電圧パルスの先頭位置から前記反射波の先頭位置までの長さに対応する配線長として、前記電圧波形のうち前記第1の電圧パルスの重畳部分である第1の部分波形と前記電圧波形のうち前記第2の電圧パルスの重畳部分である第2の部分波形とを、前記第1の電圧パルスの先頭位置と前記第2の電圧パルスの先頭位置とを重ねて電圧値の差分をとった波形である差分波形上における、前記第1の電圧パルスの先頭位置から前記反射波の先頭位置までの長さ、に対応する配線長を算出する配線長算出手段を更に備える、
請求項1又は2に記載の配線長計測装置。
When the pair of communication lines are connected with low impedance at the connection position of the first device on the pair of communication lines, the pulse applying means applies the pulse between the pair of communication lines at the reference position. applying a first voltage pulse, which is a voltage pulse, and applying a second voltage pulse between the pair of communication lines at the reference position when the pair of communication lines are not connected with low impedance;
A first partial waveform of the voltage waveform, which is a superimposed portion of the first voltage pulse, as a wiring length corresponding to the length from the leading position of the voltage pulse to the leading position of the reflected wave on the voltage waveform. and a second partial waveform, which is a superimposed portion of the second voltage pulse, of the voltage waveform, and a voltage value obtained by overlapping the leading position of the first voltage pulse and the leading position of the second voltage pulse A wiring length calculation means for calculating a wiring length corresponding to the length from the leading position of the first voltage pulse to the leading position of the reflected wave on the differential waveform, which is a waveform obtained by taking the difference between
The wiring length measuring device according to claim 1 or 2.
前記差分波形の一部分のモデル波形であり、前記反射波の先頭位置を含み、第1の時間長を有するモデル波形を示す情報を記憶する記憶手段を更に備え、
前記配線長算出手段は、前記差分波形上における、前記第1の電圧パルスの先頭位置から、前記差分波形から抽出される前記第1の時間長分の抽出波形のうち前記モデル波形との相関係数が最大である抽出波形の抽出位置までの長さ、に対応する配線長を算出する、
請求項5に記載の配線長計測装置。
storage means for storing information indicating a model waveform that is a model waveform of a part of the differential waveform, includes a leading position of the reflected wave, and has a first time length;
The wiring length calculating means calculates the correlation between the model waveform and the extracted waveform for the first time length extracted from the differential waveform from the leading position of the first voltage pulse on the differential waveform. Calculate the wiring length corresponding to the length to the extraction position of the extracted waveform with the largest number,
The wiring length measuring device according to claim 5.
前記一対の通信線間に第1の電圧が印加されたことと前記一対の通信線間に前記第1の電圧とは異なる第2の電圧が印加されたこととを検知する検知手段を更に備え、
前記パルス印加手段は、前記一対の通信線間に前記第1の電圧が印加されたことに応答して、前記一対の通信線間に前記第1の電圧パルスを印加し、前記一対の通信線間に前記第2の電圧が印加されたことに応答して、前記一対の通信線間に前記第2の電圧パルスを印加する、
請求項5又は6に記載の配線長計測装置。
The apparatus further comprises detecting means for detecting application of a first voltage between the pair of communication lines and application of a second voltage different from the first voltage between the pair of communication lines. ,
The pulse applying means applies the first voltage pulse between the pair of communication lines in response to the application of the first voltage between the pair of communication lines, and applying the second voltage pulse across the pair of communication lines in response to the second voltage being applied therebetween;
The wiring length measuring device according to claim 5 or 6.
前記第1の機器に前記データを送信することを要求する要求データを、前記一対の通信線を介して前記第1の機器に送信する送信手段を更に備える、
請求項1から7のいずれか1項に記載の配線長計測装置。
Further comprising transmission means for transmitting request data requesting transmission of the data to the first device to the first device via the pair of communication lines,
The wiring length measuring device according to any one of claims 1 to 7.
一対の通信線上における基準位置から、前記一対の通信線に接続された1又は複数の機器のうち第1の機器までの配線長を計測する配線長計測方法であって、
前記第1の機器によるデータの送信中において、前記一対の通信線上における前記第1の機器の接続位置において前記一対の通信線間が低インピーダンスで接続されているときに、前記基準位置において前記一対の通信線間に電圧パルスを印加し、
前記基準位置において前記一対の通信線間の電圧波形を測定し、
前記第1の機器により前記データが送信された場合、前記電圧波形上における前記電圧パルスの先頭位置から前記電圧パルスの反射波の先頭位置までの長さに対応する配線長を求める、
配線長計測方法。
A wiring length measuring method for measuring a wiring length from a reference position on a pair of communication lines to a first device among one or more devices connected to the pair of communication lines,
during data transmission by the first device, at the reference position when the pair of communication lines are connected at a connection position of the first device on the pair of communication lines with low impedance; applying a voltage pulse between the pair of communication lines;
measuring a voltage waveform between the pair of communication lines at the reference position;
When the data is transmitted by the first device, obtain the wiring length corresponding to the length from the leading position of the voltage pulse on the voltage waveform to the leading position of the reflected wave of the voltage pulse;
Wiring length measurement method.
JP2018156929A 2017-08-24 2018-08-24 Wiring length measuring device and wiring length measuring method Active JP7175136B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017161080 2017-08-24
JP2017161080 2017-08-24

Publications (2)

Publication Number Publication Date
JP2019041384A JP2019041384A (en) 2019-03-14
JP7175136B2 true JP7175136B2 (en) 2022-11-18

Family

ID=65727590

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018156929A Active JP7175136B2 (en) 2017-08-24 2018-08-24 Wiring length measuring device and wiring length measuring method

Country Status (1)

Country Link
JP (1) JP7175136B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3860065B9 (en) * 2018-09-26 2024-02-14 Toshiba Carrier Corporation Detection device
JP7270485B2 (en) * 2019-07-01 2023-05-10 三菱電機株式会社 judgment system
JP7418229B2 (en) 2020-02-03 2024-01-19 三菱電機株式会社 Information processing device, information processing system, and information processing method
JP7361636B2 (en) * 2020-03-06 2023-10-16 三菱電機株式会社 Position estimation device, position estimation system, position estimation method and program
JPWO2022185443A1 (en) * 2021-03-03 2022-09-09
CN114203438A (en) * 2021-12-08 2022-03-18 中铁电气工业有限公司 Manufacturing method of shielding type coil
WO2023238190A1 (en) * 2022-06-06 2023-12-14 三菱電機株式会社 Air conditioning system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030128039A1 (en) 2002-01-07 2003-07-10 Lee A. Watkins Electronic apparatus and method for measuring length of a communication cable
JP2011130346A (en) 2009-12-21 2011-06-30 Mitsubishi Electric Corp Apparatus and method for detecting terminal system abnormality, terminal system, and program
JP2013074383A (en) 2011-09-27 2013-04-22 Mitsubishi Electric Corp Position determination system, position determination device, network device, and position determination method
JP2017009548A (en) 2015-06-26 2017-01-12 三菱電機株式会社 Abnormality detection system, and abnormality detection method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2516431B2 (en) * 1989-07-14 1996-07-24 日本電信電話株式会社 Communication line fault location search device
JPH07245614A (en) * 1994-03-04 1995-09-19 Fujitsu Ltd Method for measuring inter-equipments distance on lan and equipment therefor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030128039A1 (en) 2002-01-07 2003-07-10 Lee A. Watkins Electronic apparatus and method for measuring length of a communication cable
JP2011130346A (en) 2009-12-21 2011-06-30 Mitsubishi Electric Corp Apparatus and method for detecting terminal system abnormality, terminal system, and program
JP2013074383A (en) 2011-09-27 2013-04-22 Mitsubishi Electric Corp Position determination system, position determination device, network device, and position determination method
JP2017009548A (en) 2015-06-26 2017-01-12 三菱電機株式会社 Abnormality detection system, and abnormality detection method

Also Published As

Publication number Publication date
JP2019041384A (en) 2019-03-14

Similar Documents

Publication Publication Date Title
JP7175136B2 (en) Wiring length measuring device and wiring length measuring method
JP4624429B2 (en) Identifying network interface cards from a short-circuit condition in a Power over Ethernet system
US7856561B2 (en) Detecting legacy powered device in power over ethernet system
JP4598084B2 (en) Dual-mode detection of power-receiving equipment in Power over Ethernet (registered trademark) system
US8058750B2 (en) Discharge cycle communication
US10855479B2 (en) Power providing system
US10378785B2 (en) Communication system and communication apparatus
CN113419159B (en) Testing method, testing device and testing circuit of flexible circuit board
US7598721B2 (en) Locating a cable using synchronization portion and data portion of a tone packet of a system
US20060037560A1 (en) Electronic fence transmitter for self-adjusting the receiving distance
JP7004583B2 (en) Wiring abnormality detection device and wiring abnormality detection method
WO2007031891A1 (en) Method to determine a relative position of devices in a network, and network of devices for carrying out the method
US20040100272A1 (en) Methods for locating faults in aircraft branch conductors and determining the distance to the faults
US7116962B2 (en) Two-wire power transmitting/receiving device and its method
CN107294762B (en) Telecommunication system for programmable logic controller
JP2020046325A (en) Degradation degree estimating device and degradation degree estimation method
US20130120008A1 (en) Method of discrimination of a device as powerable through a lan line and device for estimating electric parameters of a lan line
JP6971920B2 (en) Leakage detector
EP4074062A1 (en) Fault tolerant interface for safety controls
JP7418229B2 (en) Information processing device, information processing system, and information processing method
CN112956160B (en) System for providing a sequence of nodes in a network
JP2021009068A (en) Determination system
JPH09101338A (en) Wire inspecting apparatus for plug socket
JP7341764B2 (en) fire alarm equipment
US9711045B1 (en) System and method for traffic preemption emitter type detection and response

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210603

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220310

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220412

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220602

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221108

R150 Certificate of patent or registration of utility model

Ref document number: 7175136

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150