JP7277488B2 - Termination resistor setting device and termination resistor setting system - Google Patents

Termination resistor setting device and termination resistor setting system Download PDF

Info

Publication number
JP7277488B2
JP7277488B2 JP2020571936A JP2020571936A JP7277488B2 JP 7277488 B2 JP7277488 B2 JP 7277488B2 JP 2020571936 A JP2020571936 A JP 2020571936A JP 2020571936 A JP2020571936 A JP 2020571936A JP 7277488 B2 JP7277488 B2 JP 7277488B2
Authority
JP
Japan
Prior art keywords
communication
communication device
unit
setting
speed
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
JP2020571936A
Other languages
Japanese (ja)
Other versions
JPWO2020165937A1 (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.)
Toshiba Carrier Corp
Original Assignee
Toshiba Carrier 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 Toshiba Carrier Corp filed Critical Toshiba Carrier Corp
Publication of JPWO2020165937A1 publication Critical patent/JPWO2020165937A1/en
Application granted granted Critical
Publication of JP7277488B2 publication Critical patent/JP7277488B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/11Monitoring; Testing of transmitters for calibration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/02Details

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Dc Digital Transmission (AREA)

Description

本発明は、終端抵抗設定装置及び終端抵抗設定システムに関する。 The present invention relates to a termination resistor setting device and a termination resistor setting system.

従来、1台の親機(管理装置)に対して複数台の子機が通信線によってバス接続された通信システムがある。例えば大型の建物等に設置される空調システムの場合、室内機が子機となり、室外機又は例えば中央の管理装置等が親機となる。このような空調システムでは、管理装置において、接続された各室内機の稼働に関する情報(例えば、設定温度情報及びセンサ情報等)が逐次取得されて一括管理される。また、このような空調システムでは、複数の室内機の動作を管理装置によって一括制御することも可能である。この機能により、例えばオフィスビルにおいて、予め設定されたスケジュールに従い、労働者の出勤時間前にオフィスビル内のすべての室内機を一括で運転開始(ON)させ、退勤時間後にすべての室内機を一括で停止(OFF)させることができる。これにより、空調システムの管理者にとっての利便性が向上する。 2. Description of the Related Art Conventionally, there is a communication system in which a plurality of child devices are bus-connected to one parent device (management device) via communication lines. For example, in the case of an air-conditioning system installed in a large building or the like, an indoor unit serves as a slave unit, and an outdoor unit or, for example, a central management device or the like serves as a master unit. In such an air-conditioning system, the management device sequentially acquires information (for example, temperature setting information, sensor information, etc.) regarding the operation of each connected indoor unit and collectively manages the information. Moreover, in such an air conditioning system, it is also possible to collectively control the operations of a plurality of indoor units by a management device. With this function, for example, in an office building, according to a preset schedule, all indoor units in the office building can be started (turned on) at once before workers start work, and all indoor units can be turned on at once after work time. can be stopped (turned off) with This improves convenience for the administrator of the air conditioning system.

ところで、上記のようなバス接続方式が採用された通信システムにおいて通信が高速化された場合、特に通信線の長さが長くなるほど、通信線の末端における通信信号の反射の影響が大きくなり、信号波形が乱れることがある。この場合、終端抵抗を設定する上で適切な位置、一般的には通信線の両端、にある親機及び子機に対して、それぞれ終端抵抗が設定されることが好ましい。適切な位置に終端抵抗が設定されることにより信号の反射が抑えられ、信号波形が乱れることなく通信を行うことが可能になる。 By the way, when the speed of communication is increased in a communication system employing the bus connection method as described above, the longer the length of the communication line, the greater the influence of the reflection of the communication signal at the end of the communication line. The waveform may be distorted. In this case, it is preferable to set the terminating resistors for each of the main unit and the slave unit located at appropriate positions for setting the terminating resistors, generally at both ends of the communication line. By setting the terminating resistor at an appropriate position, signal reflection is suppressed, and communication can be performed without disturbing the signal waveform.

このため、従来、例えば大型の建物等に設置される業務用の空調システム等においては、空調システムの設置業者や管理者等が、終端抵抗の設定を行うために通信線の末端近くに位置する子機である室内機を探し出す必要があった。しかしながら、このような空調システムでは、長い通信線に対して多数の室内機が接続されていることが多い。そのため、多数の室内機の中から、通信線の末端に位置する室内機を人手で探し出すことは容易ではない。さらに、終端抵抗が一度設定されたとしても、例えば室内機の増設又は撤去等によって通信線に接続された子機の台数が変わったり、長さ又は種類が異なる通信線に置き換えられたりする場合がある。この場合、終端抵抗の適切な位置は変わることがあるため、その都度、終端抵抗の設定をやりなおす必要が生じる。 For this reason, conventionally, in a commercial air-conditioning system installed in a large building, for example, an installer or administrator of the air-conditioning system is located near the end of the communication line in order to set the terminating resistor. It was necessary to find the indoor unit, which is a child unit. However, in such an air conditioning system, many indoor units are often connected to a long communication line. Therefore, it is not easy to manually find the indoor unit located at the end of the communication line among many indoor units. Furthermore, even if the terminating resistor is set once, the number of child units connected to the communication line may change due to the addition or removal of indoor units, or the communication line may be replaced with a different length or type. be. In this case, since the appropriate position of the terminating resistor may change, it is necessary to set the terminating resistor again each time.

特開平08-114349号公報JP-A-08-114349 特許第2776624号公報Japanese Patent No. 2776624 特許第3064168号公報Japanese Patent No. 3064168

本発明が解決しようとする課題は、通信線の終端抵抗を適切な位置に容易に設定することができる、終端抵抗設定装置及び終端抵抗設定システムを提供することである。 The problem to be solved by the present invention is to provide a termination resistance setting device and a termination resistance setting system that can easily set the termination resistance of a communication line at an appropriate position.

実施形態の終端抵抗設定装置は、通信部と、終端抵抗設定命令部と、を持つ。通信部は、高速の通信速度及び低速の通信速度で通信可能に接続された複数の通信装置との間で、前記高速の通信速度での試験通信を行う。終端抵抗設定命令部は、前記低速の通信速度での通信で前記複数の通信装置の中の任意の通信装置に対して終端抵抗を設定させ、前記通信部による前記試験通信が確立されなかった場合、前記低速の通信速度での通信で前記通信装置に対して前記終端抵抗の設定を解除させ、前記通信装置とは異なる任意の通信装置に対して前記終端抵抗を設定させる。 A termination resistor setting device according to an embodiment has a communication unit and a termination resistor setting instruction unit. The communication unit performs test communication at the high-speed communication speed with a plurality of communication devices communicably connected at the high-speed communication speed and the low- speed communication speed . A termination resistance setting instruction unit causes a termination resistance to be set for an arbitrary communication device among the plurality of communication devices in communication at the low communication speed , and when the test communication by the communication unit is not established and causing the communication device to cancel the setting of the termination resistance in the communication at the low communication speed , and setting the termination resistance to an arbitrary communication device different from the communication device.

第1の実施形態に係る空調システム100の全体構成図。The whole block diagram of the air-conditioning system 100 which concerns on 1st Embodiment. 第1の実施形態に係る通信装置10の機能構成を示すブロック図。2 is a block diagram showing the functional configuration of the communication device 10 according to the first embodiment; FIG. 第1の実施形態に係る通信装置20の機能構成を示すブロック図。2 is a block diagram showing the functional configuration of the communication device 20 according to the first embodiment; FIG. 第1の実施形態に係る通信装置10の動作を示すフローチャート。4 is a flowchart showing the operation of the communication device 10 according to the first embodiment; 第1の実施形態に係る通信装置20の動作を示すフローチャート。4 is a flowchart showing the operation of the communication device 20 according to the first embodiment; 取得されるパルス信号の特徴を説明するための模式図。FIG. 4 is a schematic diagram for explaining the characteristics of an acquired pulse signal; 取得されるパルス信号の特徴を説明するための模式図。FIG. 4 is a schematic diagram for explaining the characteristics of an acquired pulse signal; 取得されるパルス信号の特徴を説明するための模式図。FIG. 4 is a schematic diagram for explaining the characteristics of an acquired pulse signal; 第2の実施形態に係る通信装置10によって収集された測定結果情報の一例を示す図。FIG. 10 is a diagram showing an example of measurement result information collected by the communication device 10 according to the second embodiment; FIG. 第2の実施形態に係る通信装置10によって収集された測定結果情報の一例を示す図。FIG. 10 is a diagram showing an example of measurement result information collected by the communication device 10 according to the second embodiment; FIG. 第2の実施形態に係る通信装置10によって収集された測定結果情報の一例を示す図。FIG. 10 is a diagram showing an example of measurement result information collected by the communication device 10 according to the second embodiment; FIG. 第2の実施形態に係る通信装置10の機能構成を示すブロック図。FIG. 2 is a block diagram showing the functional configuration of a communication device 10 according to a second embodiment; FIG. 第2の実施形態に係る通信装置20の機能構成を示すブロック図。FIG. 2 is a block diagram showing the functional configuration of a communication device 20 according to a second embodiment; FIG. 第2の実施形態に係る通信装置10の動作を示すフローチャート。8 is a flowchart showing the operation of the communication device 10 according to the second embodiment; 第2の実施形態に係る通信装置20の動作を示すフローチャート。8 is a flowchart showing the operation of the communication device 20 according to the second embodiment; 第2の実施形態に係る通信装置20の動作を示すフローチャート。8 is a flowchart showing the operation of the communication device 20 according to the second embodiment; 第2の実施形態に係る通信装置20の動作を示すフローチャート。8 is a flowchart showing the operation of the communication device 20 according to the second embodiment; 実施形態の変形例に係る空調システム200の全体構成図。The whole block diagram of the air-conditioning system 200 which concerns on the modification of embodiment.

以下、実施形態の終端抵抗設定装置及び終端抵抗設定システムを、図面を参照して説明する。 Hereinafter, a termination resistor setting device and a termination resistor setting system according to embodiments will be described with reference to the drawings.

(第1の実施形態)
以下、第1の実施形態に係る空調システム100(終端抵抗設定システム)の構成について説明する。図1は、第1の実施形態に係る空調システム100の全体構成図である。図1に示す空調システム100は、例えばオフィスビルに設置された空調システムである。
(First embodiment)
The configuration of the air conditioning system 100 (terminating resistance setting system) according to the first embodiment will be described below. FIG. 1 is an overall configuration diagram of an air conditioning system 100 according to the first embodiment. An air conditioning system 100 shown in FIG. 1 is an air conditioning system installed in an office building, for example.

図1に示すように、空調システム100は、空気調和機の室外機である室外機1と、この室外機1と通信線30や冷媒配管によって接続される空気調和機の室内機である、室内機2-1と、室内機2-2と、室内機2-3と、を含んで構成される。なお、以下の説明において、室内機2-1と、室内機2-2と、室内機2-3と、を区別して説明する必要がない場合には、単に「室内機2」という。室外機1と各室内機2とで、冷凍サイクルが構成される。 As shown in FIG. 1, an air conditioning system 100 includes an outdoor unit 1 that is an outdoor unit of an air conditioner, and an indoor unit that is an indoor It includes a machine 2-1, an indoor machine 2-2, and an indoor machine 2-3. In the following description, the indoor unit 2-1, the indoor unit 2-2, and the indoor unit 2-3 are simply referred to as the "indoor unit 2" when there is no need to distinguish them. The outdoor unit 1 and each indoor unit 2 constitute a refrigeration cycle.

このように、空調システム100は、1台の室外機1と、複数の室内機2と、を含んでいる。室外機1は、複数の室内機2の動作を一括して制御する。ここでは、説明を簡単にするために、1台の室外機1によって制御される室内機2の台数を3台としたが、大能力の室外機1を用いた場合では、10台以上の室内機2を接続することも可能であり、実際には3台よりもかなり多くの室内機2が接続される。さらには、異なる室外機1及びその室外機1に接続された複数の室内機2を通信可能に接続してもよい。 Thus, the air conditioning system 100 includes one outdoor unit 1 and multiple indoor units 2 . The outdoor unit 1 collectively controls the operations of the plurality of indoor units 2 . Here, in order to simplify the explanation, the number of indoor units 2 controlled by one outdoor unit 1 is set to three. It is also possible to connect the units 2, and in practice considerably more than three indoor units 2 are connected. Furthermore, different outdoor units 1 and a plurality of indoor units 2 connected to the outdoor units 1 may be communicatively connected.

室外機1は、通信上の親機となる通信装置10(終端抵抗設定装置)を備えている。また、室内機2-1~2-3は、それぞれ、通信上の子機となる通信装置20-1~20-3を備えている。なお、以下の説明において、通信装置20-1~20-3と、を区別して説明する必要がない場合には、単に「通信装置20」という。 The outdoor unit 1 includes a communication device 10 (terminating resistor setting device) that serves as a parent device for communication. Further, the indoor units 2-1 to 2-3 are provided with communication devices 20-1 to 20-3, respectively, which serve as child units for communication. In the following description, the communication devices 20-1 to 20-3 are simply referred to as the "communication device 20" when there is no need to distinguish between them.

本実施形態においては、通信装置10は、室外機1に備えられているものとしたが、これに限られるものではなく、例えば、空調システム全体を集中管理する集中管理装置(図示せず)等に備えられていてもよい。この場合、室外機1は、子機である通信装置20となる。 In this embodiment, the communication device 10 is provided in the outdoor unit 1, but it is not limited to this. For example, a centralized control device (not shown) that centrally controls the entire air conditioning system may be provided. In this case, the outdoor unit 1 becomes the communication device 20 which is a slave unit.

図1に示すように、通信装置10と、通信装置20-1~20-3とは、通信線30によって、バス接続方式で接続されている。各室内機2は室内に設置され、室外機1のみが室外に配置されることから、室外機1の通信装置10は、通常、通信線30の一方の末端位置に設置される。また、集中管理装置を通信装置10とした場合も、集中管理装置は、建物の端に設けられることが多く、通信線30の一方の末端位置に設置される可能性が高い。 As shown in FIG. 1, the communication device 10 and communication devices 20-1 to 20-3 are connected by a communication line 30 in a bus connection method. Each indoor unit 2 is installed indoors, and only the outdoor unit 1 is installed outdoors. Moreover, even when the centralized control device is the communication device 10 , the centralized control device is often installed at the end of the building and is likely to be installed at one terminal position of the communication line 30 .

通信装置10と複数の通信装置20とは相互に通信を行う通信機能を有する。通信装置10は、通信装置20から出力された信号を取得することによって、例えば、室内機2の稼働状況を示す情報を取得したり、室内機2が設置された部屋の温度や湿度情報を取得したりする。また、通信装置10は、通信装置20に対して信号を出力することで、室内機2の稼働状態(例えば、運転状態及び設定温度等)を制御することができる。 The communication device 10 and the plurality of communication devices 20 have a communication function to communicate with each other. By acquiring the signal output from the communication device 20, the communication device 10 acquires, for example, information indicating the operation status of the indoor unit 2, or acquires temperature and humidity information of the room in which the indoor unit 2 is installed. or Further, the communication device 10 can control the operating state (for example, operating state, set temperature, etc.) of the indoor unit 2 by outputting a signal to the communication device 20 .

通信装置10は、後述する終端抵抗11を備え、常時有効化されている。したがって、通信装置10は、常に終端装置としての機能を有している。また、後述するように、通信装置10は、通信線30における適切な位置にある1台の通信装置20に、もう一方の終端抵抗を設定させるための機能も備えている。 The communication device 10 includes a terminating resistor 11, which will be described later, and is always enabled. Therefore, the communication device 10 always functions as a terminal device. Further, as will be described later, the communication device 10 also has a function of causing one communication device 20 at an appropriate position on the communication line 30 to set the other termination resistor.

通信装置20は、終端抵抗を含む後述する終端抵抗設定部21を備える。終端抵抗設定部21は、通信装置10から出力された命令に基づいて、終端抵抗の設定又は解除、すなわち入り/切りの切り替えを行う。したがって、通信装置20は、終端装置としての機能を有する場合と、そうでない場合とがある。 The communication device 20 includes a terminating resistor setting unit 21 including a terminating resistor, which will be described later. The terminating resistor setting unit 21 sets or releases the terminating resistor, that is, switches on/off based on a command output from the communication device 10 . Therefore, the communication device 20 may or may not function as a terminal device.

通信装置10及び通信装置20は、いずれも、高速で通信を行う通信モードである高速通信モードでの通信と、これに対し相対的に低速で通信を行う通信モードである低速通信モードでの通信と、を自動的に切り替えて通信(送受信)することができる。 Both the communication device 10 and the communication device 20 perform communication in a high-speed communication mode, which is a communication mode in which communication is performed at high speed, and communication in a low-speed communication mode, which is a communication mode in which communication is performed at a relatively low speed. , can be automatically switched to communicate (transmit and receive).

空調システム100が稼働する前の初期状態では、全ての通信装置20の終端抵抗設定部21において、終端抵抗が解除された状態である。したがって、初期状態では、全ての通信装置20が終端装置としての機能を有していない状態であることから、通信線30の末端部において通信線30によって伝達される信号の反射が発生しやすく、信号波形が乱れやすい。とくに高速に通信が行われる場合、個々のパルス信号が短くなるため、相対的に信号の反射の影響が大きくなる。これに対処するため、初期状態においては、通信装置10及び通信装置20は、いずれも、低速通信モードで動作する。 In the initial state before the air-conditioning system 100 is put into operation, the termination resistors are released in the termination resistor setting units 21 of all the communication devices 20 . Therefore, in the initial state, since none of the communication devices 20 have a function as a terminating device, the signal transmitted by the communication line 30 is likely to be reflected at the end of the communication line 30. The signal waveform is easily disturbed. In particular, when high-speed communication is performed, each pulse signal becomes short, so the influence of signal reflection becomes relatively large. In order to cope with this, both the communication device 10 and the communication device 20 operate in the low-speed communication mode in the initial state.

通信装置10は、通信線30によって伝達される信号の反射を抑えて、高速通信モードで通信装置20との通信を行うことができるようにするための制御を行う。具体的には、通信装置10は、終端抵抗設定装置として動作し、通信線30において終端抵抗を設けるのに適切な位置(主に通信線30の末端)にある通信装置20を選定する。そして、通信装置10は、選定された通信装置20の終端抵抗設定部21に対して、終端抵抗が設定された状態に切り替えさせるための命令(以下、「終端抵抗設定命令」という。)を出力する。なお、後述するように、終端抵抗設定命令は、終端抵抗を設けるのに適切な位置にある通信装置20を探索するためにも利用される。 The communication device 10 suppresses the reflection of the signal transmitted through the communication line 30 and performs control to enable communication with the communication device 20 in the high-speed communication mode. Specifically, the communication device 10 operates as a termination resistance setting device, and selects the communication device 20 at an appropriate position (mainly at the end of the communication line 30) for setting the termination resistance on the communication line 30. FIG. Then, the communication device 10 outputs a command (hereinafter referred to as a “termination resistor setting command”) for switching to the state in which the termination resistor is set to the termination resistor setting unit 21 of the selected communication device 20 . do. As will be described later, the terminating resistor setting command is also used to search for a communication device 20 at an appropriate position to provide a terminating resistor.

上記選定された通信装置20の終端抵抗設定部21は、取得した終端抵抗設定命令に従って、終端抵抗が設定された状態への切り替えを行う。これにより、当該通信装置20が終端装置として機能する。そして、予め終端装置としての機能を有する通信装置10に加えて、上記特定された通信装置20において終端抵抗が設定されることによって、信号の反射が抑えられ、信号波形が乱れることなく高速の通信を行うことが可能になる。高速の通信を行うことで、通信装置10、20間で運転中に必要な情報を迅速に転送できるようになる。 The termination resistance setting unit 21 of the selected communication device 20 performs switching to the state in which the termination resistance is set according to the acquired termination resistance setting command. Thereby, the communication device 20 functions as a terminal device. In addition to the communication device 10 having a function as a terminating device in advance, a terminating resistor is set in the specified communication device 20, thereby suppressing signal reflection and enabling high-speed communication without disturbing the signal waveform. It becomes possible to do By performing high-speed communication, necessary information can be quickly transferred between the communication devices 10 and 20 during driving.

以下、通信装置10の終端抵抗設定装置としての機能による、終端抵抗の適切な設定位置の特定方法について説明する。 A method of identifying an appropriate setting position of the terminating resistor by the function of the communication device 10 as the terminating resistor setting device will be described below.

まず、通信装置10は、任意の1つの通信装置20に対して、終端抵抗を設定しなくても通信が可能な低速通信モードで終端抵抗設定命令を出力する。これにより、終端抵抗設定命令を取得した通信装置20において終端抵抗が設定される。ここでは、例えば、通信装置10は、まず通信装置20-1に終端抵抗を設定させる。 First, the communication device 10 outputs a termination resistance setting command to any one communication device 20 in a low-speed communication mode in which communication is possible without setting a termination resistance. As a result, the termination resistor is set in the communication device 20 that has acquired the termination resistor setting command. Here, for example, the communication device 10 first causes the communication device 20-1 to set the terminating resistance.

次に、通信装置10は、全ての通信装置20に対して、終端抵抗の設定が不要な低速通信モードで、低速通信モードから高速通信モードへ通信モードを切り替えさせるための命令(以下、「通信速度切替命令」という。)を出力する。これにより、全ての通信装置20において、通信モードが高速通信モードに切り替わる。 Next, the communication device 10 instructs all the communication devices 20 to switch the communication mode from the low-speed communication mode to the high-speed communication mode in the low-speed communication mode that does not require the setting of a terminating resistor (hereinafter referred to as “communication mode”). (referred to as "speed switching command"). As a result, the communication mode is switched to the high-speed communication mode in all communication devices 20 .

続いて、通信装置10は、自己の通信装置10の通信モードを、低速通信モードから高速通信モードへ切り替える。そして、通信装置10は、高速通信モードで各通信装置20との通信の確立を順にそれぞれ試みる。全ての通信装置20との通信がそれぞれ確立された場合、通信装置10は、終端抵抗が設定された上記通信装置20-1が、終端抵抗を設定する上で適切な位置に位置する通信装置であると判定する。但し、図1に示すように、通信装置20-1は通信線30の末端に位置する通信装置ではないことから、一般的には、通信が確立しない可能性が高い。 Subsequently, the communication device 10 switches the communication mode of its own communication device 10 from the low speed communication mode to the high speed communication mode. Then, the communication device 10 tries to establish communication with each communication device 20 in turn in the high-speed communication mode. When communication with all the communication devices 20 is established, the communication device 10 is a communication device in which the communication device 20-1 to which the termination resistance is set is located in an appropriate position for setting the termination resistance. Determine that there is. However, as shown in FIG. 1, since the communication device 20-1 is not located at the end of the communication line 30, there is generally a high possibility that communication will not be established.

通信が確立しなかった場合(例えば、いずれかの通信装置20との間で通信エラーが発生した場合)、通信装置10は、終端抵抗が設定された上記通信装置20-1が、終端抵抗を設定する上で適切な位置に位置する通信装置20ではないと判定する。そして、通信装置10は、低速通信モードで終端抵抗が設定された上記通信装置20-1に対して、終端抵抗の設定を解除させるための命令(以下、「終端抵抗設定解除命令」という。)を出力する。これにより、通信装置20-1において終端抵抗の設定が解除される。 When communication is not established (for example, when a communication error occurs with one of the communication devices 20), the communication device 10 causes the communication device 20-1, to which the termination resistor is set, to set the termination resistor. It is determined that the communication device 20 is not located in an appropriate position for setting. Then, the communication device 10 issues an instruction to the communication device 20-1, to which the termination resistance has been set in the low-speed communication mode, to cancel the setting of the termination resistance (hereinafter referred to as a "termination resistance setting cancellation instruction"). to output As a result, the setting of the terminating resistor is canceled in the communication device 20-1.

続いて、通信装置10は、他の(既に終端抵抗の設定を試行済みである、通信装置20-1以外の)任意の1つの通信装置20に対して、終端抵抗設定命令を出力する。例えば、通信装置10は、通信装置20-2に終端抵抗設定命令を出力し、終端抵抗を設定させる。そして、上記と同様に、通信装置10は、各通信装置20との通信の確立を試みる。ここでも、図1に示すように、通信装置20-2も通信線30の末端に位置する通信装置ではないことから、一般的には、通信が確立しない可能性が高い。 Subsequently, the communication device 10 outputs a terminating resistor setting command to any one other communication device 20 (other than the communication device 20-1, which has already tried to set the terminating resistor). For example, the communication device 10 outputs a termination resistance setting command to the communication device 20-2 to set the termination resistance. Then, in the same manner as described above, the communication device 10 attempts to establish communication with each communication device 20 . Again, as shown in FIG. 1, the communication device 20-2 is also not a communication device located at the end of the communication line 30, so there is generally a high possibility that communication will not be established.

通信が確立しなかった場合、通信装置10は、終端抵抗が設定された上記通信装置20-2が、終端抵抗を設定する上で適切な位置に位置する通信装置ではないと判定する。そして、通信装置10は、低速通信モードにて終端抵抗が設定された上記通信装置20-2に対して、終端抵抗設定解除命令を出力する。 If communication is not established, the communication device 10 determines that the communication device 20-2 to which the terminating resistance is set is not a communication device positioned at an appropriate position for setting the terminating resistance. Then, the communication device 10 outputs a termination resistance setting release command to the communication device 20-2 to which the termination resistance has been set in the low-speed communication mode.

次に、通信装置10は、他の(既に終端抵抗の設定を試行済みである、通信装置20-1、20-2以外の)任意の1つの通信装置20に対して、終端抵抗設定命令を出力する。この実施形態では、残りの通信装置20は、通信装置20-3しか残っていないため、通信装置10は、通信装置20-3に終端抵抗設定命令を出力し、終端抵抗を設定させる。そして、上記と同様に、通信装置10は、各通信装置20との通信の確立を試みる。図1に示すように、通信装置20-3は通信線30の末端に位置する通信装置であることから、すべての通信装置20との通信が確立する。 Next, the communication device 10 issues a terminating resistor setting command to any one other communication device 20 (other than the communication devices 20-1 and 20-2 that have already tried to set the terminating resistor). Output. In this embodiment, since only the communication device 20-3 remains among the remaining communication devices 20, the communication device 10 outputs a termination resistance setting command to the communication device 20-3 to set the termination resistance. Then, in the same manner as described above, the communication device 10 attempts to establish communication with each communication device 20 . As shown in FIG. 1, since the communication device 20-3 is located at the end of the communication line 30, communication with all the communication devices 20 is established.

通信が確立した場合、通信装置10は、終端抵抗が設定された上記通信装置20-3が、終端抵抗を設定する上で適切な位置に位置する通信装置であると判定する。すなわち、通信装置10は、当該通信が確立した際に終端抵抗を設定させた通信装置20-3を、終端抵抗の設定対象として決定する。このように、通信装置10は、各通信装置20に対して順に終端抵抗を設定させながら繰り返し通信の確立を試み、通信が確立したことに基づいて、終端抵抗を設定する上で適切な位置に位置する通信装置を特定する。以後は、高速通信モードにて通信装置10と各通信装置20は通信を行う。なお、システム管理者は、必要に応じて低速通信モードを用いる等して、事前に通信装置10と通信装置20の各々のアドレス設定を行っておく。 When the communication is established, the communication device 10 determines that the communication device 20-3 to which the termination resistance is set is the communication device located at the appropriate position for setting the termination resistance. That is, the communication device 10 determines the communication device 20-3, to which the termination resistor was set when the communication was established, as the target for setting the termination resistor. In this way, the communication device 10 repeatedly attempts to establish communication while causing each communication device 20 to set the terminating resistance in order, and based on the establishment of communication, the communication device 10 is placed in an appropriate position for setting the terminating resistance. Identify the communication device located. Thereafter, the communication device 10 and each communication device 20 communicate in the high-speed communication mode. It should be noted that the system administrator sets addresses for each of the communication device 10 and the communication device 20 in advance by using a low-speed communication mode or the like as necessary.

以下、通信装置10の機能構成について説明する。
図2は、第1の実施形態に係る通信装置10の機能構成を示すブロック図である。図2に示すように、親機となる通信装置10は、終端抵抗11と、信号送受信回路12と、を含んで構成される。
The functional configuration of the communication device 10 will be described below.
FIG. 2 is a block diagram showing the functional configuration of the communication device 10 according to the first embodiment. As shown in FIG. 2 , the communication device 10 serving as a parent device includes a terminating resistor 11 and a signal transmission/reception circuit 12 .

通信装置10では、内部の終端抵抗11は、図2に示すように、2線式の通信線である通信線30に常時接続された状態である。したがって、通信装置10は常時、終端装置として機能する。 In the communication device 10, the internal terminating resistor 11 is always connected to the communication line 30, which is a two-wire communication line, as shown in FIG. Therefore, the communication device 10 always functions as a terminal device.

信号送受信回路12は、各通信装置20との間の通信における、信号の送受信を行う回路である。また、信号送受信回路12は、終端抵抗設定装置としても動作する。信号送受信回路12は、終端抵抗を設定する上で適切な位置(主に、通信線30のもう一方の末端)に位置する通信装置20を特定する。信号送受信回路12は、各通信装置20に対して命令を出力することにより、各通信装置20における終端抵抗の設定状態を制御する。 The signal transmission/reception circuit 12 is a circuit that transmits and receives signals in communication with each communication device 20 . The signal transmission/reception circuit 12 also operates as a termination resistance setting device. The signal transmitting/receiving circuit 12 identifies the communication device 20 located at an appropriate position (mainly, the other end of the communication line 30) for setting the termination resistance. The signal transmitting/receiving circuit 12 controls the setting state of the terminating resistor in each communication device 20 by outputting commands to each communication device 20 .

図2に示すように、信号送受信回路12は、制御部120と、命令部121と、通信部122と、計時部123と、記憶部125と、決定部126と、通信速度切替部127と、を含んで構成される。 As shown in FIG. 2, the signal transmission/reception circuit 12 includes a control unit 120, an instruction unit 121, a communication unit 122, a timer unit 123, a storage unit 125, a determination unit 126, a communication speed switching unit 127, Consists of

制御部120は、信号送受信回路12が有する各機能ブロックによる処理を制御する。例えば、制御部120は、各通信装置20との間の通信における、信号の送受信を制御する。また、例えば制御部120は、命令部121による、各通信装置20に対する各種命令の出力を制御する。 The control unit 120 controls processing by each functional block of the signal transmission/reception circuit 12 . For example, the control unit 120 controls transmission and reception of signals in communication with each communication device 20 . Also, for example, the control unit 120 controls the output of various commands to each communication device 20 by the command unit 121 .

制御部120は、例えばCPU(Central Processing Unit;中央演算処理装置)等のプロセッサである。なお、制御部120は、例えば、LSI(Large-scale Integrated Circuit;大規模集積回路)やASIC(Application Specific Integrated Circuit;特定用途向け集積回路)等のハードウェアを用いて実現されてもよい。また、信号送受信回路12が有する各機能ブロックは、例えばCPU等のプロセッサである制御部120によって、記憶部125に記憶されたプログラムが実行されることによって実現される構成であってもよい。 The control unit 120 is a processor such as a CPU (Central Processing Unit), for example. Note that the control unit 120 may be implemented using hardware such as an LSI (Large-scale Integrated Circuit) or an ASIC (Application Specific Integrated Circuit). Each functional block of the signal transmitting/receiving circuit 12 may be implemented by executing a program stored in the storage unit 125 by the control unit 120, which is a processor such as a CPU.

命令部121は、各通信装置20に対して出力される各種命令の出力を制御する。命令部121は、通信部122を介して各通信装置20へ各種命令を出力する。図2に示すように、命令部121は、終端抵抗設定命令部121aと、通信速度切替命令部121bと、を含む。 The command unit 121 controls output of various commands to be output to each communication device 20 . The command unit 121 outputs various commands to each communication device 20 via the communication unit 122 . As shown in FIG. 2, the instruction unit 121 includes a termination resistance setting instruction unit 121a and a communication speed switching instruction unit 121b.

終端抵抗設定命令部121aは、終端抵抗を設定させるための命令を示す終端抵抗設定命令を、任意の1つの通信装置20に対して出力する。また、通信部122による各通信装置20との通信が確立しなかった場合、終端抵抗設定命令部121aは、上記終端抵抗設定命令を出力した通信装置20に対して、終端抵抗の設定を解除させるための命令を示す終端抵抗設定解除命令を出力する。そして、終端抵抗設定命令部121aは、終端抵抗設定命令を、他の任意の1つの通信装置20に対して出力する。また、通信部122による各通信装置20との通信が確立した場合、終端抵抗設定命令部121aは終端抵抗設定解除命令を出力しない。すなわち、終端抵抗設定命令部121aは、当該通信が確立した際に終端抵抗を設定させた通信装置20を、終端抵抗の設定対象として決定する。 The termination resistance setting command unit 121a outputs a termination resistance setting command indicating a command for setting a termination resistance to any one communication device 20 . Further, when communication with each communication device 20 by the communication unit 122 is not established, the termination resistance setting command unit 121a causes the communication device 20 that outputs the termination resistance setting command to cancel the setting of the termination resistance. output a terminating resistor setting cancellation command indicating a command for Then, the termination resistor setting command unit 121a outputs the termination resistor setting command to any one other communication device 20. FIG. Further, when the communication with each communication device 20 by the communication unit 122 is established, the termination resistor setting command unit 121a does not output the termination resistor setting release command. That is, the termination resistance setting instruction unit 121a determines the communication device 20 to which the termination resistance is set when the communication is established as the termination resistance setting target.

なお、終端抵抗設定命令部121aは、適切な位置に位置する通信装置20に終端抵抗の設定が既になされていた場合において、少なくとも1つの通信装置20が増設又は撤去された場合に、終端抵抗設定解除命令を出力するようにしてもよい。なぜならば、通信装置20が増設又は撤去によって、終端抵抗を設定する上で適切な位置が変わる場合があるからである。この場合、信号送受信回路12が、終端抵抗を設定する上で適切な位置に位置する通信装置20をあらためて特定し、特定された通信装置20に対して終端抵抗を設定させるような構成とする。具体的には、室内機2が増設又は撤去される場合には、すべての室外機1と室内機2の電源が一旦遮断される。この電源再投入を契機に、室外機1の通信装置10が、終端抵抗の再設定動作を行うことで、上記の処理を実施できる。 Note that the termination resistance setting command unit 121a does not set the termination resistance when at least one communication device 20 is added or removed when the termination resistance has already been set for the communication device 20 located at an appropriate position. A release command may be output. This is because the appropriate position for setting the terminating resistor may change due to the addition or removal of the communication device 20 . In this case, the signal transmitting/receiving circuit 12 is configured to identify again the communication device 20 positioned at an appropriate position for setting the termination resistance, and set the termination resistance for the identified communication device 20 . Specifically, when the indoor unit 2 is added or removed, power to all the outdoor units 1 and the indoor units 2 is temporarily cut off. When the power is turned on again, the communication device 10 of the outdoor unit 1 resets the terminating resistance, thereby executing the above process.

通信速度切替命令部121bは、終端抵抗設定命令部121aによって終端抵抗設定命令が出力された場合、自己の通信装置10との通信における通信モードを高速通信モードに切り替えさせるための命令を示す通信速度切替命令を、各通信装置20に対してそれぞれ出力する。 When the termination resistor setting command is output by the termination resistor setting command unit 121a, the communication speed switching command unit 121b sets the communication speed indicating the command for switching the communication mode in communication with the own communication device 10 to the high-speed communication mode. A switching command is output to each communication device 20 .

通信部122は、各通信装置20と通信接続するための通信インターフェースである。なお、通信部122は、別々のハードウェアによってそれぞれ構成される送信部及び受信部からなる機能部であってもよい。 The communication unit 122 is a communication interface for communication connection with each communication device 20 . Note that the communication unit 122 may be a functional unit including a transmitting unit and a receiving unit that are configured by separate hardware.

通信部122は、制御部120による制御のもとで、各種の信号(例えば、パルス信号)を、通信線30を介して各通信装置20へ出力する。なお、各種の信号には、命令部121から出力される、上記の、終端抵抗設定命令、及び通信速度切替命令を示す信号も含まれる。また、通信部122は、各通信装置20から出力された各種の信号(例えば、パルス信号)を、通信線30を介して取得する。通信部122は、通信装置20との通信が確立したこと、及び通信エラーが生じたこと等を検知する。なお、通常運転中において、各通信装置20との間の通信内容が運転データである場合には、そのデータを制御部120に送り、制御部120は必要な処理を行う。 The communication unit 122 outputs various signals (for example, pulse signals) to each communication device 20 via the communication line 30 under the control of the control unit 120 . The various signals include signals indicating the termination resistance setting command and the communication speed switching command, which are output from the command unit 121 . The communication unit 122 also acquires various signals (for example, pulse signals) output from each communication device 20 via the communication line 30 . The communication unit 122 detects that communication with the communication device 20 has been established, that a communication error has occurred, and the like. During normal operation, if the content of communication with each communication device 20 is operation data, the data is sent to the control unit 120, and the control unit 120 performs necessary processing.

計時部123は、通信部122が、通信装置20との通信の確立を試みてからの経過時間を計時するタイマーである。通信部122が通信装置20との通信の確立を試みてから所定の時間が経過した場合、計時部123は、各機能部に対し、所定の時間が経過したこと示す通知を行う。 The timer 123 is a timer that measures the elapsed time since the communication unit 122 attempted to establish communication with the communication device 20 . When a predetermined period of time has elapsed since the communication unit 122 attempted to establish communication with the communication device 20, the clock unit 123 notifies each functional unit that the predetermined period of time has elapsed.

記憶部125は、信号送受信回路12において用いられる、各種のプログラム及びデータテーブルを記憶する。記憶部125は、例えばフラッシュメモリ、HDD(Hard Disk Drive)などの不揮発性の記録媒体(非一時的な記録媒体)である。また、記憶部125は、例えば、RAM(Random Access Memory)やレジスタなどの揮発性の記録媒体をさらに有してもよい。 The storage unit 125 stores various programs and data tables used in the signal transmission/reception circuit 12 . The storage unit 125 is a non-volatile recording medium (non-temporary recording medium) such as a flash memory or HDD (Hard Disk Drive). Moreover, the storage unit 125 may further include a volatile recording medium such as a RAM (Random Access Memory) or a register.

また、記憶部125は、通信装置情報テーブルt1を記憶する。 The storage unit 125 also stores a communication device information table t1.

通信装置情報テーブルt1は、「識別番号」と「アドレス」との2つの項目の列からなる2次元の表形式のデータである。識別番号の項目に格納される値は、各通信装置20を識別するための識別番号である。例えば、通信装置20-1、通信装置20-2、及び通信装置20-3に対応付けられた識別番号が、通信装置情報テーブルt1では「c1」、「c2」、及び「c3」と記憶される。 The communication device information table t1 is data in a two-dimensional tabular format consisting of columns of two items, "identification number" and "address". The value stored in the identification number item is an identification number for identifying each communication device 20 . For example, the identification numbers associated with the communication device 20-1, the communication device 20-2, and the communication device 20-3 are stored as "c1", "c2", and "c3" in the communication device information table t1. be.

通信装置情報テーブルt1は、各通信装置20に付与された識別番号と、通信装置10が各通信装置20と通信を行うために必要となる、各通信装置20のアドレスと、を対応付けるテーブルである。例えば、識別番号「c1」が付与された通信装置20-1のアドレスは、「aaa.bbb」である。 The communication device information table t1 is a table that associates an identification number assigned to each communication device 20 with an address of each communication device 20 required for the communication device 10 to communicate with each communication device 20. . For example, the address of the communication device 20-1 assigned the identification number "c1" is "aaa.bbb".

通信装置10は、特定の通信装置20に対して信号を出力する場合、通信装置情報テーブルt1を参照し、出力先の通信装置20に対応するアドレスを認識する。そして、通信装置10は、認識したアドレスを出力先アドレスとして指定して信号を出力する。例えば、通信装置10は、「aaa.bbb」というアドレスを指定して信号を出力することによって、識別番号「c1」が付与された通信装置20-1に対して信号を出力することができる。 When the communication device 10 outputs a signal to a specific communication device 20, the communication device 10 refers to the communication device information table t1 and recognizes the address corresponding to the communication device 20 of the output destination. Then, the communication device 10 designates the recognized address as an output destination address and outputs a signal. For example, the communication device 10 can output a signal to the communication device 20-1 assigned the identification number “c1” by specifying the address “aaa.bbb” and outputting the signal.

決定部126は、通信部122と全ての通信装置20との通信がそれぞれ確立した場合、その時点で終端抵抗が設定されている通信装置20が、終端抵抗を設定する上で適切な位置に位置する通信装置であると判定する。 When the communication between the communication unit 122 and all the communication devices 20 is established, the determination unit 126 determines that the communication device 20 to which the termination resistance is set at that time is positioned at an appropriate position for setting the termination resistance. It is determined that the communication device is a communication device that

また、決定部126は、計時部123から所定の時間が経過したことを示す通知を取得した時点で、通信部122と各通信装置20との通信が確立していない場合において、例えば通信の途中で通信エラーが発生した場合、その時点で終端抵抗が設定されている通信装置20は、終端抵抗を設定する上で適切な位置に位置する通信装置ではないと判定する。 Further, when the communication between the communication unit 122 and each communication device 20 has not been established at the time when the notification indicating that the predetermined time has passed has been obtained from the timer unit 123, the determination unit 126 may If a communication error occurs in , it is determined that the communication device 20 in which the termination resistance is set at that time is not a communication device located in an appropriate position for setting the termination resistance.

通信速度切替部127は、終端抵抗設定命令部121aから終端抵抗設定命令が出力された場合、各通信装置20との通信における通信速度を高速で行う高速通信モードへ通信モードを切り替える。また、通信速度切替部127は、計時部123から所定の時間が経過したことを示す通知を取得した場合、各通信装置20との通信における通信速度を低速で行う低速通信モードへ通信モードを切り替える。 The communication speed switching unit 127 switches the communication mode to a high-speed communication mode in which communication with each communication device 20 is performed at a high speed when a termination resistance setting command is output from the termination resistance setting command unit 121a. Further, when the communication speed switching unit 127 receives a notification from the clock unit 123 indicating that a predetermined period of time has elapsed, the communication speed switching unit 127 switches the communication mode to a low-speed communication mode in which communication with each communication device 20 is performed at a low speed. .

以下、図3に基づき通信装置20の機能構成について説明する。なお、各通信装置20の機能構成は同一であり、図3には、通信装置20-2及び20-3のみを一例として示している。同図中、通信装置20-3の信号送受信回路22は、通信装置20-2の信号送受信回路22と同一であるため、通信装置20-3が備える各機能部の記載を省略している。以下、図3に示す通信装置20-2を参照しながら、通信装置20の機能構成について説明する。 The functional configuration of the communication device 20 will be described below with reference to FIG. Note that each communication device 20 has the same functional configuration, and FIG. 3 shows only the communication devices 20-2 and 20-3 as an example. In the figure, since the signal transmitting/receiving circuit 22 of the communication device 20-3 is the same as the signal transmitting/receiving circuit 22 of the communication device 20-2, description of each functional unit included in the communication device 20-3 is omitted. The functional configuration of the communication device 20 will be described below with reference to the communication device 20-2 shown in FIG.

通信装置20は、終端抵抗設定部21と、信号送受信回路22と、を含んで構成される。信号送受信回路22は、通信装置10との間の通信における、信号の送受信を行う回路である。図3に示すように、信号送受信回路22は、制御部220と、通信部221と、通信速度切替部222と、計時部223と、記憶部224と、を含んで構成される。 The communication device 20 includes a termination resistance setting section 21 and a signal transmission/reception circuit 22 . The signal transmission/reception circuit 22 is a circuit that transmits and receives signals in communication with the communication device 10 . As shown in FIG. 3 , the signal transmission/reception circuit 22 includes a control section 220 , a communication section 221 , a communication speed switching section 222 , a clock section 223 and a storage section 224 .

終端抵抗設定部21は、終端抵抗を含んで構成される。終端抵抗設定部21は、通信装置10から出力された終端抵抗設定命令を通信部221が取得した場合、制御部220による制御により、終端抵抗が設定された状態(オン(ON)の状態)に切り替える。また、終端抵抗設定部21は、計時部223から所定の時間が経過したことを示す通知が出力された場合、制御部220による制御により、終端抵抗が設定されていない状態(オフ(OFF)の状態)に切り替える。 The terminating resistor setting unit 21 includes a terminating resistor. When the communication unit 221 acquires a termination resistance setting command output from the communication device 10, the termination resistance setting unit 21 is controlled by the control unit 220 so that the termination resistance is set (ON state). switch. In addition, when the timing unit 223 outputs a notification indicating that a predetermined period of time has elapsed, the termination resistor setting unit 21 is controlled by the control unit 220 so that the termination resistor is not set (OFF state). state).

制御部220は、信号送受信回路22が有する各機能ブロックによる各種処理、及び終端抵抗設定部21の動作を制御する。例えば、制御部220は、通信部221と各通信装置20との間の通信における、信号の送受信を制御する。 The control unit 220 controls various processing by each functional block of the signal transmission/reception circuit 22 and the operation of the termination resistor setting unit 21 . For example, the control unit 220 controls transmission and reception of signals in communication between the communication unit 221 and each communication device 20 .

制御部220は、例えばCPU等のプロセッサである。また、信号送受信回路22が有する各機能ブロックは、制御部220によって、記憶部224に記憶されたプログラムが実行されることによって実現される構成であってもよい。 The control unit 220 is a processor such as a CPU, for example. Further, each functional block of the signal transmitting/receiving circuit 22 may be realized by executing a program stored in the storage section 224 by the control section 220 .

通信部221は、通信装置10及び他の各通信装置20と通信接続するための通信インターフェースである。なお、通信部221は、別々のハードウェアによってそれぞれ構成される送信部及び受信部からなる機能部であってもよい。 The communication unit 221 is a communication interface for communication connection with the communication device 10 and other communication devices 20 . Note that the communication unit 221 may be a functional unit including a transmitting unit and a receiving unit that are configured by separate hardware.

通信部221は、通信装置10又は各通信装置20(自己の通信装置20を含む)から出力された、各種の信号(例えば、パルス信号)を取得する。なお、各種の信号には、上述した通信装置10から出力される、終端抵抗設定命令、及び通信速度切替命令を示す信号も含まれる。 The communication unit 221 acquires various signals (for example, pulse signals) output from the communication device 10 or each communication device 20 (including its own communication device 20). The various signals include signals indicating termination resistance setting commands and communication speed switching commands, which are output from the communication device 10 described above.

通信速度切替部222は、通信装置10から出力された通信速度切替命令を通信部221が取得した場合、通信装置10及び各通信装置20との通信を高速通信モードへ切り替える。また、通信速度切替部222は、計時部223から所定の時間が経過したことを示す通知を取得した場合、通信装置10及び各通信装置20との通信を低速通信モードへ切り替える。 When the communication unit 221 acquires a communication speed switching command output from the communication device 10, the communication speed switching unit 222 switches communication with the communication device 10 and each communication device 20 to the high-speed communication mode. Further, when the communication speed switching unit 222 receives a notification indicating that the predetermined time has passed from the clock unit 223, the communication speed switching unit 222 switches the communication with the communication device 10 and each communication device 20 to the low speed communication mode.

計時部223は、通信装置10から出力された終端抵抗設定命令を示す信号を通信部221が取得してからの経過時間を計時するタイマーである。計時部223は、当該所定の時間を経過した場合、各機能部に対して当該所定の時間を経過したことを示す通知を行う。 The timer 223 is a timer that measures the elapsed time after the communication unit 221 acquires the signal indicating the termination resistance setting command output from the communication device 10 . When the predetermined time has passed, the clock unit 223 notifies each functional unit that the predetermined time has passed.

記憶部224は、信号送受信回路22において用いられる、各種のプログラム等を記憶する。記憶部224は、例えばフラッシュメモリ、HDDなどの不揮発性の記録媒体(非一時的な記録媒体)である。また、記憶部224は、例えば、RAMやレジスタなどの揮発性の記録媒体をさらに有してもよい。 The storage unit 224 stores various programs and the like used in the signal transmission/reception circuit 22 . The storage unit 224 is, for example, a non-volatile recording medium (non-temporary recording medium) such as flash memory or HDD. Moreover, the storage unit 224 may further include a volatile recording medium such as a RAM or a register, for example.

以下、図4のフローチャートに基づき通信装置10の動作について説明する。なお、以下の説明において、通信装置20の台数はn[台]であるものとし、各通信装置20をそれぞれ「第i通信装置」(i=0~n)という。例えば、図1に示した空調システム100の場合、通信装置20の台数は3台(すなわち、n=3)であり、通信装置20-1~20-3は、第1通信装置~第3通信装置にそれぞれ相当する。 The operation of the communication device 10 will be described below based on the flowchart of FIG. In the following description, the number of communication devices 20 is assumed to be n, and each communication device 20 is referred to as an "i-th communication device" (i=0 to n). For example, in the case of the air conditioning system 100 shown in FIG. Each corresponds to a device.

まず、制御部120は、通信装置20の番号を示す上記「i」の値に1を代入する(ステップS001)。以下、各ステップS***を「S***」で表す。そして、S002~S010の処理が実行される度に、制御部120は、「i」の値に対して1を加算し、繰り返し当該処理が実行される。 First, the control unit 120 substitutes 1 for the value of "i" indicating the number of the communication device 20 (step S001). Hereinafter, each step S*** is represented by "S***". Then, each time the process of S002 to S010 is executed, the control unit 120 adds 1 to the value of "i", and the process is repeatedly executed.

終端抵抗設定命令部121aは、第i通信装置20-iに対して、終端抵抗設定命令を出力する(S002)。また、通信速度切替命令部121bは、全ての通信装置20(すなわち、第1通信装置~第n通信装置)に対して、通信速度切替命令を出力する(S003)。また、通信速度切替部127は、各通信装置20との通信における通信速度を高速で行う高速通信モードへ、自己の通信装置10の通信モードを切り替える。なお、S002,3における終端抵抗設定命令と通信速度切替命令は、確実に各通信装置20に転送するために低速通信モードでの通信が行われる。 The termination resistance setting command unit 121a outputs a termination resistance setting command to the i-th communication device 20-i (S002). Further, the communication speed switching command unit 121b outputs a communication speed switching command to all the communication devices 20 (that is, the first communication device to the n-th communication device) (S003). Also, the communication speed switching unit 127 switches the communication mode of its own communication device 10 to a high-speed communication mode in which communication with each communication device 20 is performed at a high speed. Note that the terminal resistance setting command and the communication speed switching command in S002 and S003 are communicated in the low-speed communication mode in order to reliably transfer them to each communication device 20. FIG.

通信部122は、各通信装置20との間においてそれぞれ通信(試験通信)を行う(S005)。全ての通信装置20との通信がそれぞれ確立した場合(S006Yes)、決定部126は、第i通信装置が終端抵抗を設定する上で適切な位置に位置する通信装置であると判定し、当該第i通信装置を終端抵抗の設定対象装置として決定する(S007)。この場合、図4のフローチャートが示す処理が終了する。 The communication unit 122 performs communication (test communication) with each communication device 20 (S005). When communication with all the communication devices 20 has been established (Yes in S006), the determining unit 126 determines that the i-th communication device is a communication device located in an appropriate position for setting the terminating resistance, The i communication device is determined as the terminal resistance setting target device (S007). In this case, the processing shown in the flowchart of FIG. 4 ends.

一方、少なくとも1つの通信装置20との通信が確立しておらず(S006No)、かつ、所定の時間が経過していない場合(すなわち、計時部123から所定の時間の経過を示す通知が出力されていない場合)(S008No)、決定部126は、通信部122と各通信装置20との間の通信の確立を待つ。 On the other hand, if communication with at least one communication device 20 has not been established (S006No) and the predetermined time has not passed (that is, the timer 123 outputs a notification indicating that the predetermined time has passed). If not) (S008No), the determination unit 126 waits for establishment of communication between the communication unit 122 and each communication device 20. FIG.

そして、少なくとも1つの通信装置20との通信が確立しないまま(S006No)、所定の時間が経過した場合(すなわち、計時部123から所定の時間の経過を示す通知が出力された場合)(S008Yes)、決定部126は、第i通信装置が終端抵抗を設定する上で適切な位置に位置する通信装置ではないと判定する。そして、通信速度切替部127は、各通信装置20との通信における通信速度を低速で行う低速通信モードへ、自己の通信装置10の通信モードを切り替える(S009)。 Then, when a predetermined period of time has elapsed without establishing communication with at least one communication device 20 (S006 No) (that is, when a notification indicating that the predetermined period of time has elapsed has been output from the timer 123) (S008 Yes). , the determination unit 126 determines that the i-th communication device is not a communication device positioned at an appropriate position for setting the termination resistance. Then, the communication speed switching unit 127 switches the communication mode of its own communication device 10 to the low-speed communication mode in which the communication speed in communication with each communication device 20 is low (S009).

そして、終端抵抗設定命令部121aは、第i通信装置に対して、終端抵抗設定解除命令を出力する(S010)。そして、制御部120は、上記「i」値がi<nを満たす場合、「i」の値に1を加算して、上記S002以降の処理を繰り返させる。一方、上記「i」値がi=nを満たす場合、図4のフローチャートが示す処理が終了する。なお、これによって処理が終了する場合とは、終端抵抗を設定する上で適切な位置に位置する通信装置が特定されなかった場合であり、このような場合には通信線の誤配線の可能性が高く、配線接続の確認作業を行うことになる。このため、「i」値がi=nを満たす場合には、何らかの表示を行うことが望ましい。 Then, the termination resistance setting instruction unit 121a outputs a termination resistance setting release instruction to the i-th communication device (S010). Then, when the value of "i" satisfies i<n, the control unit 120 adds 1 to the value of "i" and repeats the processes after S002. On the other hand, if the "i" value satisfies i=n, the process shown in the flowchart of FIG. 4 ends. It should be noted that the case where the process is terminated by this is the case where the communication device positioned at the appropriate position for setting the terminating resistance is not identified. is high, and wiring connections must be checked. For this reason, it is desirable to provide some display when the "i" value satisfies i=n.

以下、図5のフローチャートを用いて第1の実施形態に係る通信装置20の終端抵抗設定動作を説明する。 The termination resistance setting operation of the communication device 20 according to the first embodiment will be described below using the flowchart of FIG.

通信装置10から通信装置20に終端抵抗設定命令が入力されると、通信装置20は、この終端抵抗設定命令を、通信部221を介して取得する(S101YES)。そして、終端抵抗設定部21は、終端抵抗が設定された状態(オン(ON)の状態)に切り替える(S102)。 When the termination resistor setting command is input from the communication device 10 to the communication device 20, the communication device 20 acquires this termination resistor setting command via the communication unit 221 (S101 YES). Then, the termination resistor setting unit 21 switches to the state in which the termination resistor is set (ON state) (S102).

続いて、通信装置20は、通信装置10から通信速度切替命令が出力されたか否かを判定する(S105)通信速度切替部222は、通信装置10から出力された通信速度切替命令を、通信部221を介して取得する(S105YES)と、通信速度切替部222は、通信装置10及び各通信装置20との通信における通信速度を高速で行う高速通信モードへ通信モードを切り替える。(S106)。 Subsequently, the communication device 20 determines whether or not a communication speed switching command has been output from the communication device 10 (S105). 221 (S105 YES), the communication speed switching unit 222 switches the communication mode to the high-speed communication mode in which the communication speed in the communication with the communication device 10 and each communication device 20 is high. (S106).

その後、通信速度切替部222は、通信モードを高速通信モードに切り替えてから所定の時間が経過していない場合(すなわち、計時部223から所定の時間の経過を示す通知が出力されていない場合)(S107No)、通信速度切替を行わない。そして、通信モードを高速通信モードに切り替えてから所定の時間が経過した場合(すなわち、計時部223から所定の時間の経過を示す通知が出力された場合)(S107Yes)、通信速度切替部222は、通信装置10及び各通信装置20との通信における通信速度を低速で行う低速通信モードへ通信モードを切り替える。(S108)。図示を省略しているが、S106からS107のYESまでの間に、通信装置10と各通信装置20との間で通信が行われ、最終的に通信が確立できたかどうかが通信装置10において判定される。 After that, the communication speed switching unit 222 switches the communication mode to the high-speed communication mode if a predetermined time has not passed (that is, if a notification indicating that the predetermined time has passed has not been output from the clock unit 223). (S107 No), communication speed switching is not performed. Then, when a predetermined time has passed since the communication mode was switched to the high-speed communication mode (that is, when a notification indicating that the predetermined time has passed has been output from the clock unit 223) (S107 Yes), the communication speed switching unit 222 , the communication mode is switched to a low-speed communication mode in which communication with the communication device 10 and each communication device 20 is performed at a low speed. (S108). Although illustration is omitted, communication is performed between the communication device 10 and each communication device 20 from S106 to YES in S107, and the communication device 10 determines whether communication has been finally established. be done.

S101でNOとなった場合、つづくS103において通信装置10から通信装置20へ終端抵抗設定解除命令が入力されたか否かが判定される。終端抵抗設定部21は、通信装置10から出力された終端抵抗設定解除命令を、通信部221を介して取得する(S103YES)と、終端抵抗が設定されていない状態(オフ(OFF)の状態)に切り替える(S104)。続いて、S105で通信速度切替命令を取得したか否かが判定される。終端抵抗設定解除命令の後に通信速度切替命令が出てくることはないので、次のS105ではNOとなり、処理を終了し、最初に戻る。以上の処理を、通信装置10と通信装置20との間で繰り返すことで、最終的に高速通信モードにおいて通信装置10と通信装置20とが円滑に通信できるようになる。 If NO in S101, it is determined in S103 whether or not a terminating resistor setting release command has been input from the communication device 10 to the communication device 20. FIG. When the termination resistor setting unit 21 acquires the termination resistor setting cancellation command output from the communication device 10 via the communication unit 221 (YES in S103), the termination resistor is not set (OFF state). (S104). Subsequently, in S105, it is determined whether or not a communication speed switching command has been acquired. Since the communication speed switching command does not appear after the terminating resistor setting cancellation command, the result in the next step S105 is NO, the processing is terminated, and the process returns to the beginning. By repeating the above processing between the communication device 10 and the communication device 20, the communication device 10 and the communication device 20 can finally communicate smoothly in the high-speed communication mode.

以上説明した第1の実施形態によれば、通信装置10(終端抵抗設定装置)は、通信接続された複数の通信装置20との通信(試験通信)を行う通信部122と、複数の通信装置20の中の任意の通信装置20に対して終端抵抗を設定させ、通信(試験通信)が確立されなかった場合、通信装置20に対して終端抵抗の設定を解除させ、通信装置とは異なる任意の通信装置に対して終端抵抗を設定させる終端抵抗設定命令部121aと、を備える。これによって、第1の実施形態に係る通信装置10(終端抵抗設定装置)は、通信線30における終端抵抗を適切な位置に、容易に設定することができる。 According to the first embodiment described above, the communication device 10 (termination resistor setting device) includes the communication unit 122 that performs communication (test communication) with a plurality of communication devices 20 that are communicatively connected, and a plurality of communication devices. If any communication device 20 among the communication devices 20 is set with a termination resistance and communication (test communication) is not established, the communication device 20 is made to cancel the setting of the termination resistance, and an arbitrary communication device different from the communication device is set. and a termination resistance setting instruction unit 121a for setting the termination resistance for the communication device. Thereby, the communication device 10 (termination resistance setting device) according to the first embodiment can easily set the termination resistance in the communication line 30 at an appropriate position.

(第2の実施形態)
以下、第2の実施形態について説明する。第2の実施形態では、通信装置10及び各通信装置20において互いに試験信号であるパルス信号の送受信を行い、通信装置10及び各通信装置20においてそれぞれ取得されたパルス信号のパルス幅に基づいて、終端抵抗を設定する上で適切な位置に位置する通信装置20が特定される。
(Second embodiment)
A second embodiment will be described below. In the second embodiment, the communication device 10 and each communication device 20 transmit and receive pulse signals, which are test signals, to each other, and based on the pulse widths of the pulse signals obtained by the communication device 10 and each communication device 20, A communication device 20 positioned at an appropriate position for setting the termination resistance is identified.

まず、図6、7を参照して、通信装置10及び各通信装置20において取得されるパルス信号の特徴について説明する。図6,7は、取得されるパルス信号の特徴を説明するための模式図である。ここでは、LO(グランド)側を優先としたパルス信号として説明する。 First, with reference to FIGS. 6 and 7, characteristics of pulse signals obtained by the communication device 10 and each communication device 20 will be described. 6 and 7 are schematic diagrams for explaining the characteristics of the acquired pulse signal. Here, a pulse signal with priority given to the LO (ground) side will be described.

図6に示すように、例えば、通信装置20-1から所定のパルス幅wのパルス信号が出力された場合、通信装置10へ直接届くパルス信号Aがある。また、図6に示すように、信号の反射によって、通信線30の末端に位置する通信装置20-3を反射して届くパルス信号Bがある。 As shown in FIG. 6, for example, when a pulse signal having a predetermined pulse width w is output from the communication device 20-1, there is a pulse signal A that reaches the communication device 10 directly. Further, as shown in FIG. 6, there is a pulse signal B that reaches the communication device 20-3 located at the end of the communication line 30 by reflection of the signal.

この場合、パルス信号Bが通信装置20-1から通信装置10へ伝送されるまでの移動距離は、パルス信号Aが通信装置20-1から通信装置10へ伝送されるまでの移動距離よりも長くなる。そのため、パルス信号Bは、パルス信号Aよりもわずかに遅れて通信装置10に届く。これにより、通信装置10は、時間的にずれがある状態で重畳した2つのパルス信号(パルス信号Aとパルス信号B)を1つのパルス信号として認識する。すなわち、図6に示すように、通信装置10は、パルス信号Aとパルス信号Bとが重畳した、1つのパルス幅x(x>w)のパルス信号を取得したものとして認識する。 In this case, the moving distance until pulse signal B is transmitted from communication device 20-1 to communication device 10 is longer than the moving distance until pulse signal A is transmitted from communication device 20-1 to communication device 10. Become. Therefore, the pulse signal B reaches the communication device 10 slightly later than the pulse signal A. As a result, the communication device 10 recognizes two pulse signals (pulse signal A and pulse signal B) superimposed with a time lag as one pulse signal. That is, as shown in FIG. 6, the communication device 10 recognizes that a pulse signal having a pulse width x (x>w), in which pulse signal A and pulse signal B are superimposed, is acquired.

続いて図7Aは、通信装置20-2からパルス幅wのパルス信号が出力された場合に通信装置10によって認識されるパルス信号を示している。通信装置20-2からパルス信号が出力された場合、通信装置20-1からパルス信号が出力された上記の場合と比べて、パルス信号Bが通信装置20-1から通信装置10へ伝送されるまでの移動距離と、パルス信号Aが通信装置20-1から通信装置10へ伝送されるまでの移動距離との差は、より少ない。そのため、重畳した2つのパルス信号(パルス信号Aとパルス信号B)の時間的なずれは、図6に示したパルス信号の場合と比べて、より少ない。そのため、通信装置10は、図7Aに示すように、パルス信号Aとパルス信号Bとが重畳した、1つのパルス幅y(x>y>w)のパルス信号を取得したものとして認識する。 Next, FIG. 7A shows a pulse signal recognized by the communication device 10 when a pulse signal with a pulse width w is output from the communication device 20-2. When the pulse signal is output from the communication device 20-2, the pulse signal B is transmitted from the communication device 20-1 to the communication device 10 compared to the case where the pulse signal is output from the communication device 20-1. The difference between the distance traveled to and the distance traveled until pulse signal A is transmitted from communication device 20-1 to communication device 10 is smaller. Therefore, the time lag between the two superimposed pulse signals (pulse signal A and pulse signal B) is smaller than in the case of the pulse signals shown in FIG. Therefore, as shown in FIG. 7A, the communication device 10 recognizes that one pulse signal having a pulse width y (x>y>w) in which the pulse signal A and the pulse signal B are superimposed is obtained.

図7Bは、通信装置20-3からパルス幅wのパルス信号が出力された場合に通信装置10によって認識されるパルス信号を示している。通信装置20-3からパルス信号が出力された場合、通信装置20-3は通信線30の末端の最も近くに位置することから、信号の反射は生じない。すなわち、パルス信号Aのみが通信装置10へ届く。そのため、通信装置10は、図7Bに示すように、パルス幅z(x>y>w≒z)のパルス信号を取得したものとして認識する。なお、図7Bに示すパルス幅が、通信装置20-3から出力された時点におけるパルス信号のパルス幅と同一のパルス幅wではない理由は、例えば反射以外の原因(例えば、信号減衰)等によって、パルス幅が若干変化する場合があるためである。 FIG. 7B shows a pulse signal recognized by communication device 10 when a pulse signal with pulse width w is output from communication device 20-3. When the pulse signal is output from the communication device 20-3, the communication device 20-3 is positioned closest to the end of the communication line 30, so no signal reflection occurs. That is, only pulse signal A reaches communication device 10 . Therefore, the communication device 10 recognizes that a pulse signal with a pulse width z (x>y>w≈z) has been acquired, as shown in FIG. 7B. The reason why the pulse width shown in FIG. 7B is not the same pulse width w as the pulse width of the pulse signal at the time when it is output from the communication device 20-3 is due to a cause other than reflection (for example, signal attenuation). , the pulse width may change slightly.

図6、7に示すように、通信装置10により近い通信装置20から出力されたパルス信号のパルス幅ほど、より長いパルス幅として通信装置10によって認識される。一方、通信装置10から最も遠い(すなわち、通信線30において、通信装置10とは逆側の末端の最も近くに位置する)通信装置20-3から出力されたパルス信号のパルス幅が、最も短いパルス幅として通信装置10によって認識される場合が多い。 As shown in FIGS. 6 and 7, the pulse width of the pulse signal output from the communication device 20 closer to the communication device 10 is recognized by the communication device 10 as a longer pulse width. On the other hand, the pulse width of the pulse signal output from the communication device 20-3, which is the farthest from the communication device 10 (that is, the communication device 20-3 located closest to the terminal on the opposite side of the communication device 10 on the communication line 30), has the shortest pulse width. It is often recognized by the communication device 10 as a pulse width.

第2の実施形態では、まず、通信装置10は、任意の1つの通信装置20に対して、終端抵抗の設定が不要な低速通信モードで終端抵抗設定命令を出力する。ここでは、例えば、通信装置10は、まず通信装置20-1に終端抵抗を設定させる。 In the second embodiment, first, the communication device 10 outputs a termination resistance setting command to any one communication device 20 in a low-speed communication mode in which setting of a termination resistance is unnecessary. Here, for example, the communication device 10 first causes the communication device 20-1 to set the terminating resistance.

次に、通信装置10は、全ての通信装置20及び自己の通信装置10に対して、それぞれパルス信号(試験信号)を出力する。そして、各通信装置20及び通信装置10は、通信装置10から出力されたパルス信号を取得する。そして、各通信装置20及び通信装置10は、取得したパルス信号のパルス幅をそれぞれ測定し、記録する。 Next, the communication device 10 outputs pulse signals (test signals) to all the communication devices 20 and its own communication device 10 respectively. Then, each communication device 20 and the communication device 10 acquire the pulse signal output from the communication device 10 . Each communication device 20 and communication device 10 measures and records the pulse width of the acquired pulse signal.

次に、通信装置10は、通信装置20-1に対してパルス信号出力命令を出力する。これにより、通信装置20-1は、全ての通信装置20及び自己の通信装置10に対して、それぞれパルス信号を出力する。そして、各通信装置20及び通信装置10は、通信装置20-1から出力されたパルス信号を取得する。そして、各通信装置20及び通信装置10は、取得したパルス信号のパルス幅を測定し、記録する。 Next, the communication device 10 outputs a pulse signal output command to the communication device 20-1. As a result, the communication device 20-1 outputs pulse signals to all the communication devices 20 and its own communication device 10, respectively. Then, each communication device 20 and communication device 10 acquire the pulse signal output from the communication device 20-1. Then, each communication device 20 and communication device 10 measures and records the pulse width of the acquired pulse signal.

次に、通信装置10は、上記と同様に、通信装置20-2、及び通信装置20-3に対してパルス信号出力命令を順に出力する。これにより、上記と同様に、各通信装置20及び通信装置10において、通信装置20-2及び通信装置20-3から出力されたパルス信号のパルス幅がそれぞれ測定され、記録される。 Next, the communication device 10 sequentially outputs a pulse signal output command to the communication devices 20-2 and 20-3 in the same manner as described above. As a result, the pulse widths of the pulse signals output from the communication devices 20-2 and 20-3 are respectively measured and recorded in the communication devices 20 and 10 in the same manner as described above.

通信装置10及び全ての通信装置20による、パルス信号の送受信及びパルス幅の測定が完了すると、通信装置10は、各通信装置20に対して測定結果出力命令をそれぞれ出力する。これにより、各通信装置20によって記録された、上記パルス幅の測定結果を示す測定結果情報が、各通信装置20から通信装置10へそれぞれ出力される。これにより、通信装置10は、各通信装置20からそれぞれ出力された測定結果情報を取得する。 When the communication device 10 and all the communication devices 20 complete the transmission and reception of the pulse signal and the measurement of the pulse width, the communication device 10 outputs a measurement result output command to each communication device 20 . As a result, the measurement result information indicating the pulse width measurement results recorded by each communication device 20 is output from each communication device 20 to the communication device 10 . Thereby, the communication device 10 acquires the measurement result information output from each communication device 20 .

通信装置10によって収集された測定結果情報は、例えば図8Aに示すような測定結果情報テーブルtb1として記憶部125に記憶される。図8Aは、第2の実施形態に係る通信装置10によって収集された測定結果情報の一例を示す図である。図8Aにおいて、「通信装置(室外機)」は通信装置10に、「第1通信装置」は通信装置20-1に、「第2通信装置」は通信装置20-2に、及び「第3通信装置」は通信装置20-3にそれぞれ相当する。なお、ここでは、通信装置10及び各通信装置20によって出力されたパルス信号のパルス幅は「50[us(マイクロ秒)]」であるものとする。 The measurement result information collected by the communication device 10 is stored in the storage unit 125 as, for example, a measurement result information table tb1 as shown in FIG. 8A. FIG. 8A is a diagram showing an example of measurement result information collected by the communication device 10 according to the second embodiment. In FIG. 8A, "communication device (outdoor unit)" corresponds to communication device 10, "first communication device" corresponds to communication device 20-1, "second communication device" corresponds to communication device 20-2, and "third communication device" corresponds to communication device 20-2. "communication device" corresponds to the communication device 20-3. Here, it is assumed that the pulse width of the pulse signals output by the communication device 10 and each communication device 20 is "50 [us (microseconds)]".

例えば、図8Aに示す測定結果情報テーブルtb1では、通信装置10から出力されたパルス信号を自己の通信装置10が取得した場合において測定されたパルス幅は、「100[us]」であることが示されている。なお、出力されたパルス信号のパルス幅は50[μs]であることから、取得時には、実際に出力されたパルス信号の2倍の長さのパルス幅をもつパルス信号として認識されたことになる。また、例えば、図8Aに示す測定結果情報テーブルtb1では、通信装置20-1から出力されたパルス信号を通信装置20-2が取得した場合において測定されたパルス幅は、「90[us]」であることが示されている。 For example, in the measurement result information table tb1 shown in FIG. 8A, the pulse width measured when the own communication device 10 acquires the pulse signal output from the communication device 10 is "100 [us]". It is shown. Since the pulse width of the output pulse signal is 50 [μs], it was recognized as a pulse signal having a pulse width twice as long as the actually output pulse signal at the time of acquisition. . Further, for example, in the measurement result information table tb1 shown in FIG. 8A, the pulse width measured when the communication device 20-2 acquires the pulse signal output from the communication device 20-1 is "90 [us]". It has been shown that

次に、通信装置10は、終端抵抗を設定させた通信装置20-1に対して終端抵抗設定解除命令を出力する。これにより、通信装置20-1において終端抵抗の設定が解除される。そして、通信装置10は、通信装置20-2に終端抵抗を設定させる。そして上記と同様の処理によって、通信装置10は、各通信装置20からそれぞれ測定結果情報を取得する。通信装置10によって収集された測定結果情報は、例えば図8Bに示すような測定結果情報テーブルtb2として記憶部125に記憶される。 Next, the communication device 10 outputs a termination resistance setting release command to the communication device 20-1 that has set the termination resistance. As a result, the setting of the terminating resistor is canceled in the communication device 20-1. Then, the communication device 10 causes the communication device 20-2 to set the terminating resistance. Then, the communication device 10 acquires the measurement result information from each communication device 20 by the same processing as described above. The measurement result information collected by the communication device 10 is stored in the storage unit 125 as, for example, a measurement result information table tb2 as shown in FIG. 8B.

次に、通信装置10は、通信装置20-2に設定された終端抵抗の設定を解除させる。続いて、通信装置10は、通信装置20-3に終端抵抗を設定させる。そして上記と同様の処理によって、通信装置10は、各通信装置20からそれぞれ測定結果情報を取得する。通信装置10によって収集された測定結果情報は、例えば図8Cに示すような測定結果情報テーブルtb3として記憶部125に記憶される。 Next, the communication device 10 cancels the setting of the terminating resistance set in the communication device 20-2. Subsequently, the communication device 10 causes the communication device 20-3 to set the terminating resistance. Then, the communication device 10 acquires the measurement result information from each communication device 20 by the same processing as described above. The measurement result information collected by the communication device 10 is stored in the storage unit 125 as, for example, a measurement result information table tb3 as shown in FIG. 8C.

このように、図8Aに示す測定結果情報テーブルtb1は、通信装置20-1に終端抵抗が設定された場合における、パルス幅の測定結果が集約されたテーブルである。同様に、図8Bに示す測定結果情報テーブルtb2及び図8Cに示す測定結果情報テーブルtb3は、それぞれ、通信装置20-2に終端抵抗が設定された場合及び通信装置20-3に終端抵抗が設定された場合における、パルス幅の測定結果が集約されたテーブルである。 As described above, the measurement result information table tb1 shown in FIG. 8A is a table in which the measurement results of the pulse width are summarized when the terminal resistor is set in the communication device 20-1. Similarly, the measurement result information table tb2 shown in FIG. 8B and the measurement result information table tb3 shown in FIG. 10 is a table summarizing pulse width measurement results when the pulse width is measured.

通信装置10は、各通信装置20に終端抵抗を設定させた場合における、それぞれのパルス幅の最大値を特定する。すなわち、通信装置10は、測定結果情報テーブルtb1に含まれるパルス幅の値の最大値、測定結果情報テーブルtb2に含まれるパルス幅の最大値、及び、測定結果情報テーブルtb3に含まれるパルス幅の値の最大値を特定する。 The communication device 10 specifies the maximum value of each pulse width when each communication device 20 is caused to set the termination resistance. That is, the communication device 10 determines the maximum pulse width value included in the measurement result information table tb1, the maximum pulse width value included in the measurement result information table tb2, and the pulse width value included in the measurement result information table tb3. Identify the maximum value.

例えば、通信装置20-1に終端抵抗を設定させた場合、図8Aに示すように、第3通信装置(通信装置20-3)がパルス信号を出力し、自己の第3通信装置が取得した場合におけるパルス幅が最大値であり、その値は「110[μs]」である。同様に、通信装置20-2に終端抵抗を設定させた場合、図8Bに示すように、パルス幅の最大値は「90[μs]」である。同様に、通信装置20-3に終端抵抗を設定させた場合、図8Cに示すように、パルス幅の最大値は「55[μs]」である。 For example, when the terminal resistor is set in the communication device 20-1, as shown in FIG. 8A, the third communication device (communication device 20-3) outputs a pulse signal, and the third communication device acquires The pulse width in the case is the maximum value, and its value is "110 [μs]". Similarly, when the terminal resistance is set in the communication device 20-2, the maximum value of the pulse width is "90 [μs]" as shown in FIG. 8B. Similarly, when the terminal resistor is set in the communication device 20-3, the maximum value of the pulse width is "55 [μs]" as shown in FIG. 8C.

そして、通信装置10は、これらのパルス幅の最大値が最小となる場合において終端抵抗が設定された通信装置20を、終端抵抗を設定する上で適切な位置に位置する通信装置として特定する。すなわち、図8A~Cに示す例では、各パルス幅の最大値の中で最小の値は「55[μs]」であるため、通信装置10は、図8Cで示す通信装置20-3を、終端抵抗を設定する上で適切な位置に位置する通信装置として特定する。 Then, the communication device 10 identifies the communication device 20 for which the termination resistance is set when the maximum value of these pulse widths is the minimum, as the communication device located at the appropriate position for setting the termination resistance. That is, in the example shown in FIGS. 8A to 8C, the minimum value among the maximum values of each pulse width is "55 [μs]". It is identified as a communication device located in an appropriate position for setting the terminating resistor.

なお、本実施形態では、測定したパルス幅そのものを測定結果とするものとしたが、これに限られるものではない。例えば、パルス信号の立ち上がりの遅れの度合い(すなわち、測定されたパルス幅から、出力されたパルス信号のパルス幅である50μsを差し引いた値)を測定結果とするようにしてもよい。 In this embodiment, the measured pulse width itself is used as the measurement result, but the present invention is not limited to this. For example, the degree of delay in the rise of the pulse signal (that is, the value obtained by subtracting 50 μs, which is the pulse width of the output pulse signal, from the measured pulse width) may be used as the measurement result.

なお、本実施形態においては、上述したように、全ての通信装置20に対して順に終端抵抗を設定させて全ての測定結果情報を収集し、当該測定結果情報に基づいて、終端抵抗を設定する上で適切な位置に位置する通信装置20を特定するものとした。しかしながら、このように全ての通信装置20に対して順に(総当たりで)終端抵抗を設定させる場合、通信装置20の個数が多くなるほど、指数的に、測定時間が長くなり、システム負荷が高くなることが想定される。したがって、例えば、上記パルス幅の最大値に対して予め閾値を設けておき、パルス幅の最大値が所定値未満となった時点で処理を終了させるような構成にしてもよい。この場合、通信装置10は、処理を終了させた時点において終端抵抗が設定されている通信装置20を、終端抵抗を設定する上で適切な位置に位置する通信装置として特定すればよい。 In the present embodiment, as described above, all communication devices 20 are caused to sequentially set termination resistances, all measurement result information is collected, and the termination resistances are set based on the measurement result information. The communication device 20 located in the appropriate position is specified above. However, when the termination resistors are sequentially set for all the communication devices 20 in this way (round-robin), the more communication devices 20 there are, the longer the measurement time exponentially and the higher the system load. is assumed. Therefore, for example, a threshold may be set in advance for the maximum value of the pulse width, and the processing may be terminated when the maximum value of the pulse width becomes less than a predetermined value. In this case, the communication device 10 may identify the communication device 20 to which the termination resistance is set at the time of finishing the processing as the communication device positioned at the appropriate position for setting the termination resistance.

以下、図9に示すブロック図に基づき、第2の実施形態に係る通信装置10の機能構成を説明する。図9に示すように、通信装置10は、終端抵抗11と、信号送受信回路12sと、を含んで構成される。 The functional configuration of the communication device 10 according to the second embodiment will be described below based on the block diagram shown in FIG. As shown in FIG. 9, the communication device 10 includes a terminating resistor 11 and a signal transmitting/receiving circuit 12s.

終端抵抗11は、図9に示すように、2線式の通信線である通信線30に常時接続された状態である。これにより、通信装置10は、終端装置として機能する。 As shown in FIG. 9, the terminating resistor 11 is always connected to the communication line 30, which is a two-wire communication line. Thereby, the communication device 10 functions as a terminal device.

信号送受信回路12sは、各通信装置20との間の通信における、信号の送受信を行う回路である。また、信号送受信回路12sは、終端抵抗設定装置としても動作する。信号送受信回路12sは、上述したように通信線30の一方の末端の最も近くに位置すると考えられる通信装置10に備えられた信号送受信回路である。また、信号送受信回路12sは、終端抵抗を設定する上で適切な位置に位置する通信装置20を特定する。信号送受信回路12sは、各通信装置20に対して命令を出力することにより、各通信装置20における終端抵抗の設定状態を制御する。 The signal transmission/reception circuit 12 s is a circuit that transmits and receives signals in communication with each communication device 20 . The signal transmission/reception circuit 12s also operates as a termination resistance setting device. The signal transmitting/receiving circuit 12s is a signal transmitting/receiving circuit provided in the communication device 10 which is considered to be positioned closest to one end of the communication line 30 as described above. In addition, the signal transmitting/receiving circuit 12s identifies the communication device 20 positioned at an appropriate position for setting the termination resistance. 12 s of signal transmission/reception circuits control the setting state of the termination resistance in each communication apparatus 20 by outputting a command with respect to each communication apparatus 20. FIG.

図9に示すように、信号送受信回路12sは、制御部120と、命令部121sと、通信部122と、測定結果情報収集部124と、記憶部125と、決定部126と、を含んで構成される。 As shown in FIG. 9, the signal transmission/reception circuit 12s includes a control unit 120, an instruction unit 121s, a communication unit 122, a measurement result information collection unit 124, a storage unit 125, and a determination unit 126. be done.

制御部120は、信号送受信回路12sが有する各機能ブロックによる処理を制御する。例えば、制御部120は、各通信装置20との間の通信における、信号の送受信を制御する。また、例えば制御部120は、命令部121sによる、各通信装置20に対する各種の命令の出力を制御する。 The control unit 120 controls processing by each functional block of the signal transmission/reception circuit 12s. For example, the control unit 120 controls transmission and reception of signals in communication with each communication device 20 . Also, for example, the control unit 120 controls the output of various commands to each communication device 20 by the command unit 121s.

命令部121sは、各通信装置20に対して出力される各種の命令の出力を制御する。命令部121sは、通信部122を介して各通信装置20へ各種の命令を出力する。命令部121sは、終端抵抗設定命令部121aと、測定モード設定命令部121cと、パルス信号出力命令部121dと、測定結果出力命令部121eと、を含む。 The command unit 121 s controls output of various commands to be output to each communication device 20 . The command unit 121 s outputs various commands to each communication device 20 via the communication unit 122 . The instruction section 121s includes a termination resistance setting instruction section 121a, a measurement mode setting instruction section 121c, a pulse signal output instruction section 121d, and a measurement result output instruction section 121e.

終端抵抗設定命令部121aは、各通信装置20に対して、終端抵抗を設定させるための命令を示す終端抵抗設定命令を出力する。また、終端抵抗設定命令部121aは、上記の終端抵抗設定命令を出力する対象となった通信装置20に対して、終端抵抗の設定を解除させるための命令を示す終端抵抗設定解除命令を出力する。 The termination resistance setting command unit 121a outputs a termination resistance setting command indicating a command for setting a termination resistance to each communication device 20 . In addition, the termination resistance setting command unit 121a outputs a termination resistance setting cancellation command indicating a command for canceling the setting of the termination resistance to the communication device 20 to which the termination resistance setting command is output. .

測定モード設定命令部121cは、各通信装置20に対して、試験的に出力される試験信号であるパルス信号のパルス幅の測定を行う動作モードである、測定モードに切り替えさせるための命令を示す測定モード設定命令を出力する。 The measurement mode setting instruction unit 121c issues an instruction to each communication device 20 to switch to a measurement mode, which is an operation mode for measuring the pulse width of a pulse signal that is a test signal output on a trial basis. Outputs the measurement mode setting command.

パルス信号出力命令部121dは、各通信装置20に対して、自己の通信装置10及び各通信装置20に向けてパルス信号を出力させるための命令を示すパルス信号出力命令を出力する。なお、パルス信号出力命令に応じて各通信装置20から出力される信号は、試験的に出力される試験信号(パルス信号)である。なお、パルス信号出力命令は、ブロードキャスト送信又はマルチキャスト送信される構成であっても構わない。 The pulse signal output command unit 121d outputs a pulse signal output command to each communication device 20 to output a pulse signal to its own communication device 10 and each communication device 20 . The signal output from each communication device 20 in response to the pulse signal output command is a test signal (pulse signal) that is output experimentally. Note that the pulse signal output command may be configured to be broadcast or multicast.

測定結果出力命令部121eは、各通信装置20に対して、測定結果情報を出力させるための命令を示す測定結果出力命令を出力する。 The measurement result output command unit 121e outputs a measurement result output command indicating a command for outputting measurement result information to each communication device 20 .

通信部122は、各通信装置20と通信接続するための通信インターフェースである。なお、通信部122は、別々のハードウェアによってそれぞれ構成される送信部及び受信部からなる機能部であってもよい。 The communication unit 122 is a communication interface for communication connection with each communication device 20 . Note that the communication unit 122 may be a functional unit including a transmitting unit and a receiving unit that are configured by separate hardware.

通信部122は、制御部120による制御のもとで、各種の信号(例えば、パルス信号)を、通信線30を介して各通信装置20へ出力する。なお、各種の信号には、命令部121から出力される、上記の、終端抵抗設定命令、測定モード設定命令、パルス信号出力命令、及び測定結果出力命令を示す信号も含まれる。また、通信部122は、各通信装置20に対してパルス信号(試験信号)を出力する場合において、正確に所定のパルス幅の(例えば、50μsの)パルス信号が出力されるように予め設定されている。また、通信部122は、各通信装置20から出力された各種の信号(例えば、パルス信号)を取得する。 The communication unit 122 outputs various signals (for example, pulse signals) to each communication device 20 via the communication line 30 under the control of the control unit 120 . The various signals include signals output from the instruction unit 121 and indicating the termination resistance setting instruction, the measurement mode setting instruction, the pulse signal output instruction, and the measurement result output instruction. Further, when outputting a pulse signal (test signal) to each communication device 20, the communication unit 122 is set in advance so that a pulse signal having a predetermined pulse width (for example, 50 μs) is output accurately. ing. The communication unit 122 also acquires various signals (for example, pulse signals) output from each communication device 20 .

測定結果情報収集部124は、各通信装置20からそれぞれ出力されたパルス信号を通信部122を介して取得する。測定結果情報収集部124は、取得された当該パルス信号のパルス幅を測定する。測定結果情報収集部124は、各通信装置20からそれぞれ出力されたパルス信号のパルス幅の測定値を、記憶部125に記憶させる。例えば、測定結果情報収集部124は、当該測定値を、記憶部125に予め記憶された、上記の測定結果情報テーブルtb1~測定結果情報テーブルtb3に書き込むことによって、記憶部125に記憶させる。例えば、上記の測定値とは、図8Aに示す測定結果情報テーブルtb1においては、「受信」の列の「通信装置10(室外機)」の列に含まれる各測定値(すなわち、「100[μs]」、「85[μs]」、「75[μs]」、及び「55[μs]」)に相当する。 The measurement result information collection unit 124 acquires the pulse signal output from each communication device 20 via the communication unit 122 . The measurement result information collection unit 124 measures the pulse width of the acquired pulse signal. The measurement result information collecting unit 124 causes the storage unit 125 to store the measured value of the pulse width of the pulse signal output from each communication device 20 . For example, the measurement result information collection unit 124 stores the measurement values in the storage unit 125 by writing the measurement values into the measurement result information tables tb1 to tb3 previously stored in the storage unit 125 . For example, in the measurement result information table tb1 shown in FIG. μs]”, “85 [μs]”, “75 [μs]”, and “55 [μs]”).

また、測定結果情報収集部124は、各通信装置20からそれぞれ出力された測定結果情報を通信部122を介して取得する。測定結果情報収集部124は、各通信装置20からそれぞれ出力された測定結果情報を、記憶部125に記憶させる。例えば、測定結果情報収集部124は、当該測定結果情報を、記憶部125に予め記憶された、上記の測定結果情報テーブルtb1~測定結果情報テーブルtb3に書き込むことによって、記憶部125に記憶させる。例えば、上記の測定結果情報とは、図8Aに示す測定結果情報テーブルtb1においては、「受信」の列に含まれる各列の測定値群(すなわち、「第1通信装置20-1」の列の測定値群、「第2通信装置20-2」の列の測定値群、及び「第3通信装置20-3」の列の測定値群)のそれぞれに相当する。 Also, the measurement result information collection unit 124 acquires the measurement result information output from each communication device 20 via the communication unit 122 . The measurement result information collection unit 124 causes the storage unit 125 to store the measurement result information output from each communication device 20 . For example, the measurement result information collection unit 124 stores the measurement result information in the storage unit 125 by writing the measurement result information into the measurement result information tables tb1 to tb3 previously stored in the storage unit 125 . For example, in the measurement result information table tb1 shown in FIG. 8A, the measured value group of each column included in the "reception" column (that is, the column of "first communication device 20-1" , the group of measured values in the column of “second communication device 20-2”, and the group of measured values in the column of “third communication device 20-3”).

記憶部125は、信号送受信回路12sにおいて用いられる、各種のプログラム及びデータテーブルを記憶する。 The storage unit 125 stores various programs and data tables used in the signal transmission/reception circuit 12s.

決定部126は、測定結果情報収集部124によって収集された測定結果情報に基づいて、いずれの通信装置20が、終端抵抗を設定する上で適切な位置に位置するかを判定する。具体的には、決定部126は、収集された測定結果情報のうち、パルス幅の最大値が最小となる場合において終端抵抗が設定された通信装置20を、終端抵抗を設定する上で適切な位置にある通信装置として特定する。 Based on the measurement result information collected by the measurement result information collection unit 124, the determination unit 126 determines which communication device 20 is positioned at an appropriate position for setting the termination resistance. Specifically, the determination unit 126 selects the communication device 20 for which the termination resistor is set when the maximum value of the pulse width is the minimum among the collected measurement result information, Identify as a communication device in a location.

以下、通信装置20の機能構成について説明する。図10は、第2の実施形態に係る通信装置20の機能構成を示すブロック図である。なお、各通信装置20の機能構成は同一であり、図10には、通信装置20-2及び通信装置20-3のみを一例として示している。 The functional configuration of the communication device 20 will be described below. FIG. 10 is a block diagram showing the functional configuration of the communication device 20 according to the second embodiment. Note that each communication device 20 has the same functional configuration, and FIG. 10 shows only the communication device 20-2 and the communication device 20-3 as an example.

通信装置20は、終端抵抗設定部21と、信号送受信回路22sと、を含んで構成される。信号送受信回路22sは、通信装置10との間の通信における、信号の送受信を行う回路である。信号送受信回路22sは、制御部220と、通信部221と、記憶部224と、動作モード切替部225と、測定部226と、測定結果出力部227と、を含んで構成される。 The communication device 20 includes a termination resistance setting section 21 and a signal transmission/reception circuit 22s. The signal transmission/reception circuit 22 s is a circuit that transmits and receives signals in communication with the communication device 10 . The signal transmission/reception circuit 22 s includes a control section 220 , a communication section 221 , a storage section 224 , an operation mode switching section 225 , a measurement section 226 and a measurement result output section 227 .

終端抵抗設定部21は、終端抵抗を含んで構成される。終端抵抗設定部21は、通信部221が通信装置10から出力された終端抵抗設定命令を取得すると、制御部220による制御により、終端抵抗が設定された状態(オン(ON)の状態)に切り替える。また、終端抵抗設定部21は、計時部223から所定の時間が経過したことを示す通知が出力された場合、制御部220による制御により、終端抵抗が設定されていない状態(オフ(OFF)の状態)に切り替える。 The terminating resistor setting unit 21 includes a terminating resistor. When the communication unit 221 acquires the termination resistance setting command output from the communication device 10, the termination resistance setting unit 21 switches to a state in which the termination resistance is set (ON state) under the control of the control unit 220. . In addition, when the timing unit 223 outputs a notification indicating that a predetermined period of time has elapsed, the termination resistor setting unit 21 is controlled by the control unit 220 so that the termination resistor is not set (OFF state). state).

制御部220は、信号送受信回路22が有する各機能ブロックによる処理及び終端抵抗設定部21の動作を制御する。これにより、例えば制御部220は、通信装置10及び他の各通信装置20との間の通信における、信号の送受信を制御する。 The control unit 220 controls the processing by each functional block of the signal transmission/reception circuit 22 and the operation of the termination resistance setting unit 21 . Thereby, for example, the control unit 220 controls transmission and reception of signals in communication between the communication device 10 and each of the other communication devices 20 .

通信部221は、通信装置10及び各通信装置20と通信接続するための通信インターフェースである。なお、通信部221は、別々のハードウェアによってそれぞれ構成される送信部及び受信部からなる機能部であってもよい。 The communication unit 221 is a communication interface for communication connection with the communication device 10 and each communication device 20 . Note that the communication unit 221 may be a functional unit including a transmitting unit and a receiving unit that are configured by separate hardware.

通信部221は、通信装置10又は各通信装置20から出力された、各種の信号(例えば、パルス信号)を取得する。なお、各種の信号には、上述した通信装置10から出力される、終端抵抗設定命令、測定モード設定命令、パルス信号出力命令、及び測定結果出力命令を示す信号も含まれる。また、通信部221は、通信装置10又は各通信装置20に対して、各種の信号(例えば、パルス信号)を出力する。また、通信部221は、通信装置10に対して、測定結果情報を出力する。 The communication unit 221 acquires various signals (for example, pulse signals) output from the communication device 10 or each communication device 20 . The various signals include signals indicating termination resistance setting commands, measurement mode setting commands, pulse signal output commands, and measurement result output commands output from the communication device 10 described above. The communication unit 221 also outputs various signals (for example, pulse signals) to the communication device 10 or each communication device 20 . Also, the communication unit 221 outputs measurement result information to the communication device 10 .

記憶部224は、信号送受信回路22sにおいて用いられる、各種のプログラム等を記憶する。 The storage unit 224 stores various programs and the like used in the signal transmission/reception circuit 22s.

また、記憶部224は、通信部221によって測定されたパルス信号のパルス幅の測定結果を示す測定結果情報を記憶する。 The storage unit 224 also stores measurement result information indicating the measurement result of the pulse width of the pulse signal measured by the communication unit 221 .

動作モード切替部225は、通信装置10から出力された測定モード設定命令を通信部221を介して取得した場合、動作モードを測定モードに切り替える。測定モードとは、通信装置10及び各通信装置20との、試験信号であるパルス信号の送受信を行い、取得したパルス信号のパルス幅の測定を行う動作モードである。 The operation mode switching unit 225 switches the operation mode to the measurement mode when the measurement mode setting command output from the communication device 10 is acquired via the communication unit 221 . The measurement mode is an operation mode in which a pulse signal, which is a test signal, is transmitted and received between the communication device 10 and each communication device 20 and the pulse width of the acquired pulse signal is measured.

測定部226は、通信装置10及び各通信装置20からそれぞれ出力されたパルス信号を通信部221を介して取得する。測定部226は、取得された当該パルス信号のパルス幅を測定する。測定部226は、通信装置10及び各通信装置20からそれぞれ出力されたパルス信号のパルス幅の測定値を測定結果情報として、記憶部224に記憶させる。 The measurement unit 226 acquires pulse signals output from the communication device 10 and each communication device 20 via the communication unit 221 . The measurement unit 226 measures the pulse width of the acquired pulse signal. The measurement unit 226 causes the storage unit 224 to store the measured values of the pulse widths of the pulse signals output from the communication device 10 and each communication device 20 as measurement result information.

測定結果出力部227は、通信装置10から出力された測定結果出力命令を取得した場合、記憶部224に記憶された測定結果情報を、通信部221を介して通信装置10へ出力する。 The measurement result output unit 227 outputs the measurement result information stored in the storage unit 224 to the communication device 10 via the communication unit 221 when acquiring the measurement result output command output from the communication device 10 .

以下、通信装置10の動作について説明する。図11は、第2の実施形態に係る通信装置10の動作を示すフローチャートである。なお、以下の説明において、通信装置20の台数はn[台]であるものとし、各通信装置20をそれぞれ「第i通信装置」(i=1~n)及び「第j通信装置」(j=0~n)という。例えば、図1に示した空調システム100では、通信装置20の台数は3台(すなわち、n=3)であり、通信装置20-1は第1通信装置に、通信装置20-2は第2通信装置に、通信装置20-3は第3通信装置に、及び第0通信装置(j=0)は通信装置10にそれぞれ相当する。 The operation of the communication device 10 will be described below. FIG. 11 is a flow chart showing the operation of the communication device 10 according to the second embodiment. In the following description, it is assumed that the number of communication devices 20 is n, and each communication device 20 is defined as an “i-th communication device” (i=1 to n) and a “j-th communication device” (j = 0 to n). For example, in the air conditioning system 100 shown in FIG. 1, the number of communication devices 20 is three (that is, n=3), the communication device 20-1 is the first communication device, and the communication device 20-2 is the second communication device. The communication device 20-3 corresponds to the third communication device, and the 0th communication device (j=0) corresponds to the communication device 10, respectively.

制御部120は、通信装置20の番号を示す上記「i」の値に1を代入する(S201)。なお、「i」の値は、例えば記憶部125において記憶され、更新される。そして、下記のS202~S212の処理が実行される度に、制御部120は、「i」の値に1を加算し、繰り返し処理が実行される。 The control unit 120 substitutes 1 for the value of "i" indicating the number of the communication device 20 (S201). Note that the value of "i" is stored and updated in the storage unit 125, for example. Then, each time the processing of S202 to S212 below is executed, the control unit 120 adds 1 to the value of “i”, and the processing is repeatedly executed.

終端抵抗設定命令部121aは、第i通信装置に対して、終端抵抗設定命令を出力する(S202)。 The termination resistance setting command unit 121a outputs a termination resistance setting command to the i-th communication device (S202).

制御部120は、通信装置10及び通信装置20の番号を示す上記「j」の値に0を代入する(S203)。なお、「j」の値は、例えば記憶部125において記憶され、更新される。そして、下記のS204~S210の処理が実行される度に、制御部120は、「j」の値に1を加算し、繰り返し処理が実行される。 The control unit 120 substitutes 0 for the value of "j" indicating the number of the communication device 10 and the communication device 20 (S203). Note that the value of "j" is stored and updated in the storage unit 125, for example. Then, each time the processing of S204 to S210 below is executed, the control unit 120 adds 1 to the value of “j”, and the processing is repeatedly executed.

測定モード設定命令部121cは、各通信装置20に対して、測定モード設定命令をそれぞれ通信部122を介して出力する(S204)。そして、上記「j」の値が0である場合(S205Yes)、通信部122は、各通信装置20に対して、パルス信号(試験信号)をそれぞれ出力する(S206)。一方、上記「j」の値が0ではない場合(S205No)、パルス信号出力命令部121dは、各通信装置20に対して、パルス信号出力命令をそれぞれ通信部122を介して出力する(S207)。 The measurement mode setting command unit 121c outputs a measurement mode setting command to each communication device 20 via the communication unit 122 (S204). Then, when the value of "j" is 0 (S205 Yes), the communication unit 122 outputs a pulse signal (test signal) to each communication device 20 (S206). On the other hand, when the value of "j" is not 0 (S205No), the pulse signal output command unit 121d outputs a pulse signal output command to each communication device 20 via the communication unit 122 (S207). .

測定結果情報収集部124は、通信部122を介して取得した各パルス信号のパルス幅をそれぞれ測定し、記憶部125に記憶された測定結果情報テーブルに測定値を記録する(S208)。測定結果出力命令部121eは、通信部122を介して各通信装置20に対して、測定結果出力命令を出力する(S209)。測定結果情報収集部124は、各通信装置20からそれぞれ出力された測定結果情報を通信部122を介して取得する(S210)。 The measurement result information collection unit 124 measures the pulse width of each pulse signal acquired via the communication unit 122, and records the measured values in the measurement result information table stored in the storage unit 125 (S208). The measurement result output command unit 121e outputs a measurement result output command to each communication device 20 via the communication unit 122 (S209). The measurement result information collection unit 124 acquires the measurement result information output from each communication device 20 via the communication unit 122 (S210).

制御部120は、j>nである場合、「j」の値に1を加算して、上記S204以降の処理を繰り返させる。一方、i=nである場合(すなわち、全ての通信装置20及び通信装置10からそれぞれ出力されたパルス信号の取得が完了した場合)、決定部126は、取得した測定結果情報に含まれるパルス幅の測定値のうち、最大値を記憶部125に記録する(S211)。そして、終端抵抗設定命令部121aは、各通信装置20に対して、終端抵抗設定解除命令を通信部122を介して出力する(S212)。 If j>n, the control unit 120 adds 1 to the value of “j” and repeats the processes after S204. On the other hand, when i=n (that is, when acquisition of the pulse signals output from all communication devices 20 and communication devices 10 is completed), the determination unit 126 determines the pulse width included in the acquired measurement result information. , the maximum value is recorded in the storage unit 125 (S211). Then, the termination resistor setting command unit 121a outputs a termination resistor setting cancellation command to each communication device 20 via the communication unit 122 (S212).

制御部120は、i>nである場合、「i」の値に1を加算して、上記S202以降の処理を繰り返させる。一方、i=nである場合(すなわち、全ての通信装置20に対し終端抵抗の設定が行われた場合)、決定部126は、記憶部125に記録された複数の最大値うち、最小の値を特定する。そして、決定部126は、当該最小の値となる場合において終端抵抗が設定されていた通信装置20(以下、「第i_best通信装置」という。)を特定する(S213)。終端抵抗設定命令部121aは、特定された第i_best通信装置へ、終端抵抗設定命令を通信部122を介して出力する(S214)。以上で、図11のフローチャートが示す処理が終了する。 When i>n, the control unit 120 adds 1 to the value of “i” and repeats the processes after S202. On the other hand, when i=n (that is, when termination resistors are set for all communication devices 20), the determination unit 126 selects the minimum value among the plurality of maximum values recorded in the storage unit 125. Identify. Then, the determination unit 126 identifies the communication device 20 (hereinafter referred to as “i_best communication device”) to which the termination resistance is set when the minimum value is obtained (S213). The termination resistor setting command unit 121a outputs a termination resistor setting command to the specified i_best communication device via the communication unit 122 (S214). With this, the processing shown in the flowchart of FIG. 11 ends.

以下、図12~14に示す第2の実施形態に係る通信装置20の動作を示すフローチャートを用いて通信装置20の動作について説明する。なお、通信装置10から通信装置20へ終端抵抗設定命令が出力された場合における通信装置20の動作、及び通信装置10から通信装置20へ終端抵抗設定解除命令が出力された場合における通信装置20の動作は、第1の実施形態と同じであるため、説明を省略する。 The operation of the communication device 20 will be described below using flowcharts showing the operation of the communication device 20 according to the second embodiment shown in FIGS. The operation of the communication device 20 when the termination resistance setting command is output from the communication device 10 to the communication device 20, and the operation of the communication device 20 when the termination resistance setting release command is output from the communication device 10 to the communication device 20 Since the operation is the same as that of the first embodiment, the explanation is omitted.

図12は、通信装置10から通信装置20へ測定モード設定命令が出力された場合における、通信装置20の動作を示す。動作モード切替部225は、通信装置10から出力された測定モード設定命令を、通信部221を介して取得する(S301)。動作モード切替部225は、動作モードを測定モードに切り替える(S302)。これにより、通信装置20においてパルス幅の測定のための準備がなされる。 FIG. 12 shows the operation of the communication device 20 when the measurement mode setting command is output from the communication device 10 to the communication device 20. FIG. The operation mode switching unit 225 acquires the measurement mode setting command output from the communication device 10 via the communication unit 221 (S301). The operation mode switching unit 225 switches the operation mode to the measurement mode (S302). This prepares the communication device 20 for pulse width measurement.

そして、通信部221が、通信装置10及び各通信装置20からそれぞれ出力されたパルス信号のうち少なくとも1つのパルス信号を取得していない場合(S303No)、通信部221は、未取得であるパルス信号を待ち受ける。一方、通信部221が、通信装置10及び各通信装置20かそれぞれ出力された全てのパルス信号を取得した場合(S303Yes)、測定部226は、取得した各パルス信号のパルス幅をそれぞれ測定し、測定された値を測定結果情報として記憶部224に記録する(S304)。そして、動作モード切替部225は、動作モードを、測定モードから通常のモードである通常モードに切り替える(S305)。以上で、図12に示す処理が終了する。 Then, if the communication unit 221 has not acquired at least one pulse signal out of the pulse signals output from the communication device 10 and each communication device 20 (No in S303), the communication unit 221 acquires the unacquired pulse signal await. On the other hand, when the communication unit 221 acquires all pulse signals output from the communication device 10 and each communication device 20 (S303 Yes), the measurement unit 226 measures the pulse width of each acquired pulse signal, The measured value is recorded in the storage unit 224 as measurement result information (S304). Then, the operation mode switching unit 225 switches the operation mode from the measurement mode to the normal mode (S305). With this, the processing shown in FIG. 12 ends.

図13は、通信装置10から通信装置20へパルス信号出力命令が出力された場合における、通信装置20の動作を示す。通信部221は、通信装置10から出力されたパルス信号出力命令を取得する(S401)。通信部221は、通信装置10及び各通信装置20に対して、所定のパルス幅の(例えば、50[μs]の)パルス信号を出力する(S402)。以上で、図13のフローチャートが示す処理が終了する。 FIG. 13 shows the operation of communication device 20 when a pulse signal output command is output from communication device 10 to communication device 20 . The communication unit 221 acquires the pulse signal output command output from the communication device 10 (S401). The communication unit 221 outputs a pulse signal with a predetermined pulse width (for example, 50 [μs]) to the communication device 10 and each communication device 20 (S402). With this, the processing shown in the flowchart of FIG. 13 ends.

図14は、通信装置10から通信装置20へ測定結果出力命令が出力された場合における、通信装置20の動作を示す。測定結果出力部227は、通信装置10から出力された測定結果出力命令を、通信部221を介して取得する(S501)。測定結果出力部227は、記憶部224に記録された測定結果情報を、通信装置10へ通信部221を介して出力する。(S502)。以上で、図14のフローチャートが示す処理が終了する。 FIG. 14 shows the operation of the communication device 20 when the communication device 10 outputs a measurement result output command to the communication device 20 . The measurement result output unit 227 acquires the measurement result output command output from the communication device 10 via the communication unit 221 (S501). The measurement result output unit 227 outputs the measurement result information recorded in the storage unit 224 to the communication device 10 via the communication unit 221 . (S502). With this, the processing shown in the flowchart of FIG. 14 ends.

以上説明した第2の実施形態によれば、空調システム100(終端抵抗設定システム)は、通信接続された複数の通信装置20と、終端抵抗を設定させる通信装置を決定する通信装置10(設定装置)と、を有する。通信装置20は、全ての複数の通信装置(通信装置10及び通信装置20)とそれぞれ通信(試験通信)を行う通信部221と、通信(試験通信)において全ての複数の通信装置(通信装置10及び通信装置20)から出力され、それぞれ取得されたパルス信号(試験信号)のパルス幅を測定する測定部226と、測定部226によって測定されたパルス幅を示す測定結果情報を通信装置10(設定装置)へ出力する測定結果出力部227と、を備える。また、通信装置10(設定装置)は、全ての複数の通信装置20に対して順に終端抵抗を仮設定させる命令部121と、それぞれの通信装置20に対して終端抵抗が仮設定されるごとに、全ての複数の通信装置20からそれぞれ測定結果情報を収集する測定結果情報収集部124と、測定結果情報収集部124によって収集された複数の測定結果情報に基づいて、終端抵抗を設定させる通信装置20を決定する決定部126と、を備える。これによって、第2の実施形態係る空調システム100(終端抵抗設定システム)は、通信線30における終端抵抗を適切な位置に容易に設定することができる。 According to the second embodiment described above, the air conditioning system 100 (termination resistor setting system) includes a plurality of communication devices 20 connected for communication, and the communication device 10 (setting device) that determines the communication device to set the termination resistor. ) and The communication device 20 includes a communication unit 221 that performs communication (test communication) with all the plurality of communication devices (the communication device 10 and the communication device 20), and a communication unit 221 that performs communication (test communication) with all the plurality of communication devices (the communication device 10 and the communication device 20) to measure the pulse width of the pulse signal (test signal) respectively acquired, and measurement result information indicating the pulse width measured by the measurement unit 226 to the communication device 10 (setting and a measurement result output unit 227 for outputting to a device). In addition, the communication device 10 (setting device) includes an instruction unit 121 that sequentially temporarily sets the termination resistance for all the plurality of communication devices 20, and each time the termination resistance is temporarily set for each communication device 20. , a measurement result information collection unit 124 that collects measurement result information from all the plurality of communication devices 20, and a communication device that sets the termination resistance based on the plurality of measurement result information collected by the measurement result information collection unit 124 and a determination unit 126 that determines 20. Thereby, the air conditioning system 100 (termination resistance setting system) according to the second embodiment can easily set the termination resistance in the communication line 30 at an appropriate position.

なお、上述した各実施形態では、通信装置10(親機)は通信線30の末端の位置に設置され、かつ、通信装置10(親機)は終端抵抗としての機能を予め常時有しているものとしたが、この構成に限られるものではない。例えば、通信線30の両端の位置に設置される通信装置がいずれも通信装置20(子機)であり、そのうち一方の通信装置20(子機)が、終端抵抗としての機能を予め常時有している構成であっても、上述した第1の実施形態及び第2の実施形態による、終端抵抗の適切な設定位置の特定方法の適用が可能である。 In each of the above-described embodiments, the communication device 10 (master device) is installed at the terminal position of the communication line 30, and the communication device 10 (master device) always has a function as a terminating resistor in advance. However, it is not limited to this configuration. For example, the communication devices installed at both ends of the communication line 30 are all communication devices 20 (child devices), and one of them, the communication device 20 (child device), always has a function as a terminating resistor in advance. Even in such a configuration, it is possible to apply the method of specifying the appropriate setting position of the terminating resistor according to the first and second embodiments described above.

また、終端抵抗としての機能を常時有している通信装置(通信装置10及び各通信装置20)が存在しない場合であっても、上述した第1の実施形態及び第2の実施形態による、終端抵抗の適切な設定位置の特定方法の適用が可能である。この場合、通信装置10は、通信装置10及び各通信装置20のうち任意の2つの通信装置に対して順に終端抵抗をそれぞれ仮設定させながら測定結果情報の収集を行い、終端抵抗を設定する上で適切な2つの位置を特定するようにすればよい。 Further, even if there is no communication device (the communication device 10 and each communication device 20) that always has a function as a terminating resistor, the termination according to the above-described first and second embodiments It is possible to apply a method of specifying the appropriate setting position of the resistance. In this case, the communication device 10 collects the measurement result information while sequentially temporarily setting the termination resistance for any two communication devices out of the communication device 10 and each communication device 20, and sets the termination resistance. to identify two appropriate positions.

(変形例)
以下、実施形態の変形例に係る空調システム200の構成について説明する。図15は、実施形態の変形例に係る空調システム200の全体構成図である。
(Modification)
A configuration of an air conditioning system 200 according to a modification of the embodiment will be described below. FIG. 15 is an overall configuration diagram of an air conditioning system 200 according to a modification of the embodiment.

図1に示した第1の実施形態に係る空調システム100の構成に対して、図15に示す実施形態の変形例に係る空調システム200の構成が異なる点は、通信線30が途中で(図15においては通信装置10の位置で)分岐している点と、通信装置20-4及び通信装置20-5をさらに備えている点である。しかしながら、このように通信線30が分岐している場合であっても、上述した第1の実施形態及び第2の実施形態による、終端抵抗の適切な設定位置の特定方法の適用が可能である。 The configuration of the air conditioning system 200 according to the modification of the embodiment shown in FIG. 15 differs from the configuration of the air conditioning system 100 according to the first embodiment shown in FIG. 15) is branched at the position of the communication device 10), and further includes a communication device 20-4 and a communication device 20-5. However, even when the communication line 30 is branched in this way, it is possible to apply the method of specifying the appropriate setting position of the terminating resistor according to the above-described first and second embodiments. .

以上、各実施形態について説明してきたが、上述した各実施形態においては、説明を簡単にするため、パルス信号の信号波形を変化させる要因としては信号反射のみを対象とした。しかしながら、実際には、通信線30の長さ及び介在する通信装置20の台数等に応じて信号波形が変化する。例えば、通信線30の長さの長さが長くなるほど、抵抗成分によってパルス信号の振幅が減衰したり、容量成分等によって勾配が変化したりすることがある。 Although each embodiment has been described above, in each embodiment described above, for the sake of simplification of description, only signal reflection is targeted as a factor that changes the signal waveform of the pulse signal. However, in reality, the signal waveform changes depending on the length of the communication line 30, the number of intervening communication devices 20, and the like. For example, as the length of the communication line 30 increases, the amplitude of the pulse signal may be attenuated due to the resistance component, or the gradient may change due to the capacitance component or the like.

しかしながら、いずれにしても、通信線30の長さの長さが長くなるほど(すなわち、通信装置20の位置が通信装置10からより遠方であるほど)、パルス幅が狭くなるようにパルス信号の波形が変化する。これにより、上述した第2の実施形態における終端抵抗の適切な設定位置の特定精度はより高くなる。 However, in any case, the waveform of the pulse signal is such that the longer the length of the communication line 30 (that is, the farther the position of the communication device 20 is from the communication device 10), the narrower the pulse width. changes. As a result, the accuracy of specifying the appropriate setting position of the terminating resistor in the above-described second embodiment is further improved.

なお、上述した各実施形態においては、用いられる信号が、0と1の値からなるパルス信号であるものとしたが、これに限られるものではない。例えば、HBS規格(ホームバスシステム:EIAJ(日本電子機械工業界)規格、ET-2101)に準拠した通信等における信号の場合であっても、上述したような0と1の値からなるパルス信号に変換した上で、上述した各実施形態における処理を実行すればよい。 In each of the embodiments described above, the signal used is a pulse signal consisting of values of 0 and 1, but is not limited to this. For example, even in the case of a signal in communication conforming to the HBS standard (home bus system: EIAJ (Japanese electronic machinery industry) standard, ET-2101), a pulse signal consisting of 0 and 1 values as described above , and then the processing in each of the above-described embodiments may be executed.

なお、上述した実施形態においては、通信装置10とは、通信装置20に対して終端抵抗を設定する機能と、通信装置20と同様の機能と、を兼用させる構成とした。これにより、通信用の回路部品や通信の制御処理を簡略化される。但し、このような構成に限られるものではなく、例えば、これら2つの機能をそれぞれ別々の装置とすることで、通信装置20に対して終端抵抗を設定する機能のみを備えた装置が別途設けられる構成にしてもよい。 In the above-described embodiment, the communication device 10 is configured to have both the function of setting the terminating resistance for the communication device 20 and the same function as the communication device 20 . This simplifies communication circuit components and communication control processing. However, it is not limited to such a configuration, and for example, by providing these two functions as separate devices, a device having only the function of setting the termination resistance for the communication device 20 is separately provided. may be configured.

上述した実施形態における通信装置10及び通信装置20の一部又は全部を、コンピュータで実現するようにしてもよい。その場合、この機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現してもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD-ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでもよい。また上記プログラムは、上述した機能の一部を実現するためのものであっても良く、さらに上述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよく、PLD(Programmable Logic Device)やFPGA(Field Programmable Gate Array)等のハードウェアを用いて実現されるものであってもよい。 A part or all of the communication device 10 and the communication device 20 in the above-described embodiments may be realized by a computer. In that case, a program for realizing this function may be recorded in a computer-readable recording medium, and the program recorded in this recording medium may be read into a computer system and executed. It should be noted that the "computer system" referred to here includes hardware such as an OS and peripheral devices. The term "computer-readable recording medium" refers to portable media such as flexible discs, magneto-optical discs, ROMs and CD-ROMs, and storage devices such as hard discs incorporated in computer systems. Furthermore, "computer-readable recording medium" refers to a program that dynamically retains programs for a short period of time, like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. It may also include something that holds the program for a certain period of time, such as a volatile memory inside a computer system that serves as a server or client in that case. Further, the program may be for realizing a part of the functions described above, or may be capable of realizing the functions described above in combination with a program already recorded in the computer system, It may be implemented using hardware such as a PLD (Programmable Logic Device) or an FPGA (Field Programmable Gate Array).

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。 While several embodiments of the invention have been described, these embodiments have been presented by way of example and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, replacements, and modifications can be made without departing from the scope of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, as well as the scope of the invention described in the claims and equivalents thereof.

1…室外機、2…室内機、10…通信装置(終端抵抗設定装置)、11…終端抵抗、 12…信号送受信回路、20…通信装置、21…終端抵抗設定部、22…信号送受信回路、30…通信線、100、200…空調システム(終端抵抗設定システム)…120、制御部…121、終端抵抗設定命令部…121b、通信速度切替命令部…121c DESCRIPTION OF SYMBOLS 1... Outdoor unit 2... Indoor unit 10... Communication apparatus (termination resistance setting apparatus) 11... Termination resistance 12... Signal transmission/reception circuit 20... Communication apparatus 21... Termination resistance setting part 22... Signal transmission/reception circuit, 30 communication line 100, 200 air conditioning system (terminating resistor setting system) 120 control unit 121 terminating resistor setting command unit 121b communication speed switching command unit 121c

Claims (6)

高速の通信速度及び低速の通信速度で通信可能に接続された複数の通信装置との間で、前記高速の通信速度での試験通信を行う通信部と、
前記低速の通信速度での通信で前記複数の通信装置の中の任意の通信装置に対して終端抵抗を設定させ、前記通信部による前記試験通信が確立されなかった場合、前記低速の通信速度での通信で前記通信装置に対して前記終端抵抗の設定を解除させ、前記通信装置とは異なる任意の通信装置に対して前記終端抵抗を設定させる終端抵抗設定命令部と、
を備える終端抵抗設定装置。
a communication unit that performs test communication at the high-speed communication speed with a plurality of communication devices that are communicably connected at the high-speed communication speed and the low-speed communication speed ;
setting a terminating resistor to an arbitrary communication device among the plurality of communication devices in communication at the low communication speed , and if the test communication by the communication unit is not established, at the low communication speed a termination resistance setting instruction unit that causes the communication device to cancel the setting of the termination resistance in the communication of and causes the termination resistance to be set to an arbitrary communication device that is different from the communication device;
A terminating resistor setting device.
前記試験通信を行う場合、前記通信速度を前記低速から前記高速へ切り替える通信速度切替部と、
前記試験通信を行う場合、前記複数の通信装置に対して前記通信速度を前記低速から前記高速へ切り替えさせる通信速度切替命令部と、
をさらに備える請求項1に記載の終端抵抗設定装置。
a communication speed switching unit that switches the communication speed from the low speed to the high speed when performing the test communication;
a communication speed switching instruction unit that causes the plurality of communication devices to switch the communication speed from the low speed to the high speed when performing the test communication ;
The termination resistance setting device according to claim 1, further comprising:
前記終端抵抗設定命令部は、
前記試験通信が確立された場合、当該試験通信が確立した際に前記終端抵抗を設定させた前記通信装置を、前記終端抵抗の設定対象として決定する
請求項1又は請求項2に記載の終端抵抗設定装置。
The terminating resistor setting instruction unit
3. The terminating resistor according to claim 1 or 2, wherein when the test communication is established, the communication device to which the terminating resistor is set when the test communication is established is determined as a setting target of the terminating resistor. setting device.
前記終端抵抗設定命令部は、
前記設定対象として決定した前記通信装置に対する前記終端抵抗の設定を解除させない
請求項3に記載の終端抵抗設定装置。
The terminating resistor setting instruction unit
The termination resistance setting device according to claim 3, wherein the termination resistance setting for the communication device determined as the setting target is not canceled.
前記通信装置を備えた室内機を有する、空気調和機の室外機又は前記空気調和機の管理装置に備えられる
請求項1から請求項4のうちいずれか一項に記載の終端抵抗設定装置。
The termination resistor setting device according to any one of claims 1 to 4, wherein the termination resistor setting device is provided in an outdoor unit of an air conditioner or a management device of the air conditioner, which has an indoor unit provided with the communication device.
請求項1から請求項4のうちいずれか一項に記載の終端抵抗設定装置を空気調和機の室外機又は前記空気調和機の管理装置に備え、前記通信装置を前記空気調和機の室内機に備える終端抵抗設定システム。The terminal resistor setting device according to any one of claims 1 to 4 is provided in an outdoor unit of an air conditioner or a management device of the air conditioner, and the communication device is provided in an indoor unit of the air conditioner. termination resistor setting system.
JP2020571936A 2019-02-12 2019-02-12 Termination resistor setting device and termination resistor setting system Active JP7277488B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2019/004826 WO2020165937A1 (en) 2019-02-12 2019-02-12 Terminal resistance setting device and terminal resistance setting system

Publications (2)

Publication Number Publication Date
JPWO2020165937A1 JPWO2020165937A1 (en) 2021-12-09
JP7277488B2 true JP7277488B2 (en) 2023-05-19

Family

ID=72044636

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020571936A Active JP7277488B2 (en) 2019-02-12 2019-02-12 Termination resistor setting device and termination resistor setting system

Country Status (2)

Country Link
JP (1) JP7277488B2 (en)
WO (1) WO2020165937A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4099576A4 (en) * 2020-01-30 2023-09-13 Toshiba Carrier Corporation Communication system, master device used in communication system, slave device, and communication method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015204543A (en) 2014-04-15 2015-11-16 古河電気工業株式会社 Impedance adjusting system and impedance adjusting method
JP2017188900A (en) 2016-04-04 2017-10-12 エイ−デック インコーポレイテッドA−Dec, Incorporated High-speed communication network in dental instrument

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09162909A (en) * 1995-12-07 1997-06-20 Fuji Electric Co Ltd Line interruption detection method in branched line system
JP3384430B2 (en) * 1996-03-01 2003-03-10 オムロン株式会社 Network system
JP2015133554A (en) * 2014-01-10 2015-07-23 三菱電機株式会社 Wired transmission device and method of adjusting resistance of termination resistor
WO2015129795A1 (en) * 2014-02-27 2015-09-03 株式会社クボタ Electronic device, work machine, and management system for termination resistances

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015204543A (en) 2014-04-15 2015-11-16 古河電気工業株式会社 Impedance adjusting system and impedance adjusting method
JP2017188900A (en) 2016-04-04 2017-10-12 エイ−デック インコーポレイテッドA−Dec, Incorporated High-speed communication network in dental instrument

Also Published As

Publication number Publication date
JPWO2020165937A1 (en) 2021-12-09
WO2020165937A1 (en) 2020-08-20

Similar Documents

Publication Publication Date Title
US20080155145A1 (en) Discovery of a Bridge Device in a SAS Communication System
JP6995052B2 (en) Bus bridge for translating requests between module and AXI buses
JP2007532050A (en) System and method for associating DLPDUs received by an interface chip with data measurements made by an external circuit
JP4447357B2 (en) System, method and network device for peer-to-peer communication between network devices communicating via a common bus
JP2005517350A5 (en)
JP7277488B2 (en) Termination resistor setting device and termination resistor setting system
CN108282385A (en) Port testing method and communication equipment
US7475328B2 (en) Loop status monitoring apparatus
JP6175186B2 (en) Computer, method for controlling computer I / O switch
US8843671B1 (en) Dynamic resource allocation for serial attached SCSI devices
JP7291716B2 (en) detector
JP3718602B2 (en) Changer device
US9413654B2 (en) System, relay device, method, and medium
US11811609B2 (en) Storage target discovery in a multi-speed and multi-protocol ethernet environment
US20070094369A1 (en) Methods and devices for disconnecting external storage devices from a network-attached storage device
JP5475479B2 (en) Communications system
US7496717B2 (en) System for sharing storage device among controllers and method thereof
JP4970563B2 (en) Bridge apparatus and method for coupling a plurality of non-Fibre Channel devices into a Fiber Channel arbitrated loop
CN108632115B (en) System and method for testing timing of idle of POF (Point-of-Care) switch
CN107085557A (en) Direct memory access system and associated method
US8949537B2 (en) Storage control apparatus and method for detecting write completion of data
WO2014020667A1 (en) Programmable logic controller
US8379665B2 (en) Apparatus and methods for access fairness for a multiple target bridge/router in a fibre channel arbitrated loop system
CN110838948B (en) Method and system for testing MAC address learning rate
US9195410B2 (en) Storage system and access arbitration method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230307

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230403

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230508

R150 Certificate of patent or registration of utility model

Ref document number: 7277488

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150