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

JP7614868B2 - Address setting system, air conditioning system and address setting method - Google Patents

Address setting system, air conditioning system and address setting method Download PDF

Info

Publication number
JP7614868B2
JP7614868B2 JP2021016780A JP2021016780A JP7614868B2 JP 7614868 B2 JP7614868 B2 JP 7614868B2 JP 2021016780 A JP2021016780 A JP 2021016780A JP 2021016780 A JP2021016780 A JP 2021016780A JP 7614868 B2 JP7614868 B2 JP 7614868B2
Authority
JP
Japan
Prior art keywords
address
unit
interrupt signal
indoor units
devices
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
JP2021016780A
Other languages
Japanese (ja)
Other versions
JP2022119558A (en
Inventor
大我 神辺
和良 高橋
成治 近藤
暁 三枝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Heavy Industries Thermal Systems Ltd
Original Assignee
Mitsubishi Heavy Industries Thermal Systems Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Heavy Industries Thermal Systems Ltd filed Critical Mitsubishi Heavy Industries Thermal Systems Ltd
Priority to JP2021016780A priority Critical patent/JP7614868B2/en
Publication of JP2022119558A publication Critical patent/JP2022119558A/en
Application granted granted Critical
Publication of JP7614868B2 publication Critical patent/JP7614868B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本開示は、アドレス設定システム、空調システムおよびアドレス設定方法に関する。 This disclosure relates to an address setting system, an air conditioning system, and an address setting method.

同一通信ネットワークに室外機と複数台の室内機が接続される空調システムでは、据え付け時などに、個々の室内機に異なる通信アドレスを設定する。例えば、基板上スイッチ操作により直接、通信アドレスを設定する方法や、基板製造時に不揮発性メモリに書き込まれた製造番号などから仮アドレスを算出し、一旦仮アドレスを各室内機に設定して、室内機間で重複が発生していないことを確認したうえで正式な通信アドレスを設定する方法などが用いられている。 In air conditioning systems where an outdoor unit and multiple indoor units are connected to the same communication network, different communication addresses are set for each indoor unit during installation, etc. For example, the communication address is set directly by operating a switch on the board, or a temporary address is calculated from the serial number written into non-volatile memory when the board is manufactured, and the temporary address is temporarily set for each indoor unit, and after confirming that there are no overlaps between indoor units, the official communication address is set.

また、特許文献1には、複数の室内機へ重複のないアドレスを自動設定する技術が開示されている。具体的には、室外機から複数の室内機にスタート信号を送出し、各室内機に設けた遅延器に遅延量の計測を開始させ、所定時間経過後に室外機から各室内機にストップ信号を送出する。すると、各室内機は、遅延量の計測を停止し、計測された遅延量に基づいてアドレス算出して自分自身のアドレスとして設定する。また、室外機は、各室内機からアドレスを取得し、重複の有無を確認し、重複するアドレスが存在する場合には、重複しないように調整して室内機に設定する。 Patent Document 1 also discloses a technology for automatically setting unique addresses to multiple indoor units. Specifically, a start signal is sent from the outdoor unit to multiple indoor units, causing a delay device installed in each indoor unit to start measuring the amount of delay, and after a predetermined time has passed, a stop signal is sent from the outdoor unit to each indoor unit. Each indoor unit then stops measuring the amount of delay, calculates an address based on the measured amount of delay, and sets it as its own address. The outdoor unit also obtains addresses from each indoor unit, checks whether there are any duplicates, and if there are any duplicate addresses, adjusts them so that they do not overlap and sets them to the indoor units.

特開2003-185233号公報JP 2003-185233 A

特許文献1の方法の場合、(1)遅延量を計測するための遅延器を複数の室内機にそれぞれ設ける必要がある。(2)室外機から室内機へスタート信号やストップ信号を送出する必要がある。(3)アドレスが重複した時に備えてアドレスを調整するアドレス調整設定部を室外機に設ける必要がある。専用のハードウェア(例えば、遅延器)等を必要とせず、より簡便な方法で、室内機のアドレスを設定する方法が求められている。 In the case of the method of Patent Document 1, (1) it is necessary to provide a delay device for measuring the amount of delay in each of the multiple indoor units. (2) It is necessary to send a start signal and a stop signal from the outdoor unit to the indoor units. (3) It is necessary to provide an address adjustment setting unit in the outdoor unit that adjusts the address in case of address duplication. There is a demand for a simpler method of setting the addresses of indoor units that does not require dedicated hardware (e.g., a delay device), etc.

そこで本開示は、上述の課題を解決することのできるアドレス設定システム、空調システムおよびアドレス設定方法を提供することを目的としている。 Therefore, the present disclosure aims to provide an address setting system, an air conditioning system, and an address setting method that can solve the above-mentioned problems.

本開示の一態様によれば、アドレス設定システムは、第一装置へ固有のアドレスを設定するアドレス設定システムであって、複数の前記第一装置と、第二装置と、を備え、前記第二装置は、前記第一装置へ割り込み信号を送信する割込信号送信部と、前記第一装置に設定されたアドレスを探索する探索部と、複数の前記第一装置へ設定された前記アドレスの重複の有無を検出する重複検出部と、を備え、前記第一装置は、発振器と、前記発振器のクロック信号をカウントするタイマと、前記割り込み信号を受信した時に前記タイマがカウントした値に基づいてアドレスを算出し、算出した前記アドレスを自装置に設定するアドレス設定部と、前記探索に対して自装置へ設定された前記アドレスを前記第二装置へ応答する応答部と、を備え、前記割込信号送信部は、複数回、割り込み信号を送信し、前記アドレス設定部は、送信された割り込み信号を受信するたびに、前記タイマがカウントした値に基づいてアドレスを算出し、所定回目に算出した前記アドレスに対する前記探索部による問い合わせに対して、算出した全ての前記アドレスを前記第二装置へ応答し、前記割り込み信号送信部は、前記重複検出部が前記アドレスの重複を検出すると、再度、割り込み信号を送信する。
また、本開示の他の一態様によれば、第一装置へ固有のアドレスを設定するアドレス設定システムであって、複数の前記第一装置と、第二装置と、を備え、前記第二装置は、前記第一装置へ割り込み信号を送信する割込信号送信部、を備え、前記第一装置は、発振器と、前記発振器のクロック信号をカウントするタイマと、前記割り込み信号を受信した時に前記タイマがカウントした値に基づいてアドレスを算出し、算出した前記アドレスを自装置に設定するアドレス設定部と、を備え、前記割込信号送信部は、複数回、割り込み信号を送信し、前記アドレス設定部は、送信された割り込み信号を受信するたびに前記タイマがカウントした全ての値に基づいて前記アドレスを算出する。
According to one aspect of the present disclosure, an address setting system is an address setting system for setting a unique address to a first device, the system comprising: a plurality of the first devices; and a second device, the second device comprising an interrupt signal transmission unit for transmitting an interrupt signal to the first devices; a search unit for searching for addresses set to the first devices; and a duplication detection unit for detecting whether or not the addresses set to the plurality of first devices are duplicated, the first device comprising an oscillator; a timer for counting a clock signal of the oscillator; and a timer for calculating an address based on a value counted by the timer when the interrupt signal is received, the timer calculating a unique address based on the calculated address. The device is equipped with an address setting unit that sets the address in its own device, and a response unit that responds to the second device with the address set in its own device in response to the search, wherein the interrupt signal transmitting unit transmits an interrupt signal multiple times, and each time the address setting unit receives a transmitted interrupt signal, it calculates an address based on the value counted by the timer, and responds to an inquiry by the search unit about the address calculated a predetermined number of times with all of the calculated addresses to the second device, and when the duplication detection unit detects duplication of the address, the interrupt signal transmitting unit transmits the interrupt signal again.
According to another aspect of the present disclosure, there is provided an address setting system for setting a unique address to a first device, comprising: a plurality of first devices; and a second device, wherein the second device comprises an interrupt signal transmitting unit that transmits an interrupt signal to the first device, the first device comprises an oscillator, a timer that counts a clock signal of the oscillator, and an address setting unit that calculates an address based on a value counted by the timer when the interrupt signal is received and sets the calculated address to the first device, wherein the interrupt signal transmitting unit transmits the interrupt signal multiple times, and the address setting unit calculates the address based on all of the values counted by the timer each time a transmitted interrupt signal is received.

本開示の一態様によれば、空調システムは、上記のアドレス設定システムを備える空調システムであって、前記空調システムは、複数の室内機と、室外機とを備え、前記室内機は前記第一装置、前記室外機は前記第二装置である。 According to one aspect of the present disclosure, an air conditioning system is an air conditioning system equipped with the address setting system described above, and the air conditioning system includes a plurality of indoor units and an outdoor unit, the indoor units being the first device, and the outdoor units being the second device.

本開示の一態様によれば、アドレス設定方法は、複数の第一装置へ固有のアドレスを設定するアドレス設定方法であって、前記第一装置へ電力の供給が開始されることにより、複数の前記第一装置のそれぞれが備える発振器がクロック信号の生成を開始するステップと、複数の前記第一装置のそれぞれが備えるコンピュータが、前記発振器のクロック信号をタイマによってカウントするステップと、第二装置が備えるコンピュータが、複数の前記第一装置へ、複数回、割り込み信号を送信するステップと、送信された前記割り込み信号を前記第一装置が受信するたびに、複数の前記第一装置が備えるコンピュータのそれぞれが、前記割り込み信号を受信した時に前記タイマがカウントした値に基づいてアドレスを算出し、算出した前記アドレスを自機に設定するステップと、前記第二装置が備えるコンピュータが、複数の前記第一装置に設定されたアドレスを問い合わせるステップと、前記第二装置が備えるコンピュータによる問い合わせに対して、複数の前記第一装置が備えるコンピュータのそれぞれが、算出した全ての前記アドレスを前記第二装置へ応答するステップと、前記第二装置が備えるコンピュータが、応答された全ての前記アドレスについて、複数の前記第一装置での重複の有無を検出するステップと、前記検出するステップにて、前記アドレスが重複していることを検出すると、前記第二装置が備えるコンピュータが、再度、複数の前記第一装置へ、複数回、割り込み信号を送信するステップと、を有する。
また、本開示の他の一態様によれば、アドレス設定方法は、複数の第一装置へ固有のアドレスを設定するアドレス設定方法であって、前記第一装置へ電力の供給が開始されることにより、複数の前記第一装置のそれぞれが備える発振器がクロック信号の生成を開始するステップと、複数の前記第一装置のそれぞれが備えるコンピュータが、前記発振器のクロック信号をタイマによってカウントするステップと、第二装置が備えるコンピュータが、複数の前記第一装置へ、複数回、割り込み信号を送信するステップと、送信された前記割り込み信号を前記第一装置が受信するたびに、複数の前記第一装置が備えるコンピュータのそれぞれが、前記割り込み信号を受信した時に前記タイマがカウントした値に基づいてアドレスを算出し、算出した前記アドレスを自機に設定するステップと、前記第二装置が備えるコンピュータが、複数の前記第一装置に設定されたアドレスを問い合わせるステップと、前記第二装置が備えるコンピュータによる問い合わせに対して、複数の前記第一装置が備えるコンピュータのそれぞれが、算出した全ての前記アドレスを前記第二装置へ応答するステップと、前記第二装置が備えるコンピュータが、応答された全ての前記アドレスについて、複数の前記第一装置での重複の有無を検出するステップと、前記検出するステップにて、前記アドレスが重複していることを検出すると、前記第二装置が備えるコンピュータが、再度、複数の前記第一装置へ、複数回、割り込み信号を送信するステップと、を有する。
According to one aspect of the present disclosure, an address setting method is an address setting method for setting unique addresses to a plurality of first devices, the address setting method including the steps of: when power supply to the first devices is started, an oscillator included in each of the plurality of first devices starts generating a clock signal; a computer included in each of the plurality of first devices counts the clock signal of the oscillator using a timer; a computer included in a second device transmits an interrupt signal to the plurality of first devices a plurality of times; and each time the first device receives the transmitted interrupt signal, the computer included in each of the plurality of first devices sets the address based on the value counted by the timer when the interrupt signal is received. The method includes a step of calculating an address of a first device and setting the calculated address in the first device, a step of a computer included in the second device inquiring about the addresses set in the multiple first devices, a step in which each of the computers included in the multiple first devices responds to the second device with all of the calculated addresses in response to the inquiry by the computer included in the second device, a step in which the computer included in the second device detects whether or not there is duplication among the multiple first devices for all of the responded addresses, and a step in which, when it detects that the addresses are duplicated in the detection step, the computer included in the second device again transmits an interrupt signal to the multiple first devices multiple times.
According to another aspect of the present disclosure, an address setting method is an address setting method for setting unique addresses to a plurality of first devices, the address setting method including the steps of: when power supply to the first devices is started, an oscillator included in each of the plurality of first devices starts generating a clock signal; a computer included in each of the plurality of first devices counts the clock signal of the oscillator using a timer; a computer included in a second device transmits an interrupt signal to the plurality of first devices a plurality of times; and each time the first device receives the transmitted interrupt signal, the computer included in each of the plurality of first devices generates an address based on a value counted by the timer when the interrupt signal is received. the computer of the second device inquiring about the addresses set in the plurality of first devices; each of the computers of the plurality of first devices responding to the inquiry by the computer of the second device with all of the calculated addresses to the second device; the computer of the second device detecting whether or not there is duplication among the plurality of first devices for all of the responded addresses; and, if it detects that the addresses are duplicated in the detecting step, the computer of the second device again transmitting an interrupt signal to the plurality of first devices a plurality of times.

本開示の一態様によれば、アドレス設定方法は、複数の室内機と、室外機とを備える空調システムにおける前記室内機の各々へ固有のアドレスを設定するアドレス設定方法であって、前記室内機へ電力の供給が開始されることにより、前記室内機のそれぞれが備える発振器がクロック信号の生成を開始するステップと、前記室内機が備えるコンピュータのそれぞれが、前記発振器のクロック信号をタイマによってカウントするステップと、前記室外機が備えるコンピュータが、複数の前記室内機へ、複数回、前記室外機から割り込み信号を送信するステップと、送信された前記割り込み信号を前記室内機が受信するたびに、前記室内機が備えるコンピュータのそれぞれが、前記割り込み信号を受信した時に前記タイマがカウントした値に基づいてアドレスを算出し、算出した前記アドレスを自機に設定するステップと、前記室外機が備えるコンピュータが、複数の前記室内機に設定されたアドレスを問い合わせるステップと、前記室外機が備えるコンピュータによる問い合わせに対して、前記室内機が備えるコンピュータのそれぞれが、算出した全ての前記アドレスを前記室外機へ応答するステップと、前記室外機が備えるコンピュータが、応答された全ての前記アドレスについて、複数の前記室内機での重複の有無を検出するステップと、前記検出するステップにて、前記アドレスが重複していることを検出すると、前記室外機が備えるコンピュータが、再度、複数の前記室内機へ、複数回、割り込み信号を送信するステップと、を有する。
また、本開示の他の一態様によれば、アドレス設定方法は、複数の室内機と、室外機とを備える空調システムにおける前記室内機の各々へ固有のアドレスを設定するアドレス設定方法であって、前記室内機へ電力の供給が開始されることにより、前記室内機のそれぞれが備える発振器がクロック信号の生成を開始するステップと、前記室内機が備えるコンピュータのそれぞれが、前記発振器のクロック信号をタイマによってカウントするステップと、前記室外機が備えるコンピュータが、前記室内機へ、複数回、前記室外機から割り込み信号を送信するステップと、前記室内機が備えるコンピュータのそれぞれが、前記割り込み信号を受信するたびに前記タイマがカウントした全ての値に基づいてアドレスを算出し、算出した前記アドレスを自機に設定するステップと、を有する。
According to one aspect of the present disclosure, an address setting method is an address setting method for setting a unique address to each of a plurality of indoor units in an air conditioning system including an outdoor unit and the indoor units, the address setting method including the steps of: when power supply to the indoor units is started, an oscillator included in each of the indoor units starts generating a clock signal; each of the computers included in the indoor units counts the clock signal of the oscillator using a timer; the computer included in the outdoor unit transmits an interrupt signal from the outdoor unit to the plurality of indoor units a plurality of times; and each time the indoor unit receives the transmitted interrupt signal, the computer included in the indoor unit counts the timer when the indoor unit receives the interrupt signal. the outdoor unit calculating an address based on the counted value and setting the calculated address in the outdoor unit; a computer in the outdoor unit inquiring about the addresses set in the multiple indoor units; each of the computers in the indoor units responding to the inquiry by the computer in the outdoor unit with all of the calculated addresses to the outdoor unit; the computer in the outdoor unit detecting whether or not there is duplication among the multiple indoor units for all of the responded addresses; and if it detects that the addresses are duplicated in the detecting step, the computer in the outdoor unit again transmitting an interrupt signal to the multiple indoor units multiple times.
According to another aspect of the present disclosure, an address setting method is an address setting method for setting a unique address to each of a plurality of indoor units in an air conditioning system including an outdoor unit, the address setting method comprising the steps of: an oscillator provided in each of the indoor units starting to generate a clock signal when power supply to the indoor units is started; each of the computers provided in the indoor units counting the clock signal of the oscillator using a timer; a computer provided in the outdoor unit transmitting an interrupt signal from the outdoor unit to the indoor unit a plurality of times; and each of the computers provided in the indoor units calculating an address based on all values counted by the timer each time the interrupt signal is received, and setting the calculated address in the indoor unit.

本開示のアドレス設定システム、空調システムおよびアドレス設定方法によれば、複数の装置に自動的にアドレスを設定することができる。 The address setting system, air conditioning system, and address setting method disclosed herein can automatically set addresses for multiple devices.

一実施形態に係る空調システムの一例を示すブロック図である。FIG. 1 is a block diagram showing an example of an air conditioning system according to an embodiment. 一実施形態に係る空調システムの動作例を示す第1の図である。FIG. 1 is a first diagram showing an operation example of an air conditioning system according to an embodiment. 一実施形態に係る空調システムの動作例を示す第2の図である。FIG. 2 is a second diagram showing an example of the operation of the air conditioning system according to an embodiment. 一実施形態に係るアドレス設定システムの一例を示すブロック図である。FIG. 1 is a block diagram showing an example of an address setting system according to an embodiment. 一実施形態に係る空調システムおよびアドレス設定システムのハードウェア構成の一例を示す図である。FIG. 2 is a diagram illustrating an example of a hardware configuration of an air conditioning system and an address setting system according to an embodiment.

<実施形態>
以下、一実施形態に係る空調システムおよびアドレス設定システムについて、図1~図5を参照しながら説明する。
<Embodiment>
Hereinafter, an air conditioning system and an address setting system according to an embodiment will be described with reference to FIGS. 1 to 5. FIG.

(空調システムの構成)
図1は、一実施形態に係る空調システムの一例を示すブロック図である。
図示するように空調システム1は、1台の室外機10とn台の室内機20-1~20-nと、を備えている。室外機10と室内機20-1~20-nとは、通信線L1および電力線L2で接続されている。室外機10は、室内機20-1~20-nに設定された通信アドレスによって、各室内機を識別し、個別に通信する。その為に室内機20-1~20-nの各々に固有の通信アドレスを設定する必要がある。本開示では、自動的に通信アドレスを設定する機能を提供する。以下では、室内機20-1~20-nの区別が必要ない場合には、室内機20と記載する。
(Air conditioning system configuration)
FIG. 1 is a block diagram illustrating an example of an air conditioning system according to an embodiment.
As shown in the figure, the air conditioning system 1 includes one outdoor unit 10 and n indoor units 20-1 to 20-n. The outdoor unit 10 and the indoor units 20-1 to 20-n are connected by a communication line L1 and a power line L2. The outdoor unit 10 identifies each indoor unit by a communication address set in the indoor units 20-1 to 20-n and communicates with each indoor unit individually. For this reason, it is necessary to set a unique communication address for each of the indoor units 20-1 to 20-n. In the present disclosure, a function for automatically setting a communication address is provided. Hereinafter, when it is not necessary to distinguish between the indoor units 20-1 to 20-n, they will be referred to as the indoor units 20.

室外機10は、制御部11と、電源部17と、を備える。制御部11は、室外機10の動作を制御する。制御部11は、割込信号送信部12と、探索部13と、重複検出部14と、通信アドレス送信部15と、記憶部16と、を備える。
割込信号送信部12は、室内機20が備えるCPU22へ割り込み信号を送信する。
探索部13は、室内機20へ設定された仮アドレスを探索する。
重複検出部14は、室内機20に設定された仮アドレスに重複が無いかを確認する。
通信アドレス送信部15は、各室内機20に、重複のない仮アドレスが設定されると、その仮アドレス宛に正式な通信アドレスを送信する。
記憶部16は、各室内機20に送信した正式な通信アドレスを記憶する。
電源部17は、電源30から給電を受け、制御部11等に電力を供給する。また、電源部17は、電力線L2を通じて、室内機20に電力を供給する。
The outdoor unit 10 includes a control unit 11 and a power supply unit 17. The control unit 11 controls the operation of the outdoor unit 10. The control unit 11 includes an interrupt signal transmission unit 12, a search unit 13, a duplication detection unit 14, a communication address transmission unit 15, and a storage unit 16.
The interrupt signal transmitting unit 12 transmits an interrupt signal to a CPU 22 provided in the indoor unit 20 .
The searching unit 13 searches for the temporary address set in the indoor unit 20 .
The duplication detection unit 14 checks whether there is any duplication in the virtual addresses set in the indoor units 20 .
When a unique temporary address is set for each indoor unit 20, the communication address transmitting unit 15 transmits a formal communication address to the temporary address.
The storage unit 16 stores the formal communication addresses transmitted to each indoor unit 20 .
The power supply unit 17 receives power from a power supply 30 and supplies power to the control unit 11 etc. The power supply unit 17 also supplies power to the indoor unit 20 via a power line L2.

室内機20は、制御部21と、電源部28と、を備える。制御部21は、室内機20の動作を制御する。制御部21は、CPU22と、タイマ24と、アドレス設定部25と、応答部26と、記憶部27と、を備える。
CPU22は、セラミック等の振動子を有する発振器23を備えている。発振器23はクロック信号を生成する。タイマ24は、発振器23が生成したクロック信号をカウントする。
アドレス設定部25は、CPU22が室外機10から割り込み信号を受信したときのタイマ24のカウント値に基づいて、仮アドレスを算出し、仮アドレスを自機に設定する。また、室外機10から送信された正式なアドレスを受け取って、自機に設定する。
応答部26は、探索部13の探索に応答して自機に設定した仮アドレスを室外機10へ送信する。
記憶部27は、アドレス設定部25が設定した仮アドレスや室外機10から送信された正式なアドレス、室内機20の識別情報などを記憶する。
電源部28は、室外機10から給電を受け、この電力を制御部21等へ供給する。
以下、室内機20-1が備える制御部を制御部21-1のように記載する。他の機能部についても同様である。
The indoor unit 20 includes a control unit 21 and a power supply unit 28. The control unit 21 controls the operation of the indoor unit 20. The control unit 21 includes a CPU 22, a timer 24, an address setting unit 25, a response unit 26, and a storage unit 27.
The CPU 22 includes an oscillator 23 having a resonator such as a ceramic resonator. The oscillator 23 generates a clock signal. The timer 24 counts the clock signal generated by the oscillator 23.
The address setting unit 25 calculates a temporary address based on the count value of the timer 24 when the CPU 22 receives an interrupt signal from the outdoor unit 10, and sets the temporary address in the own device. The address setting unit 25 also receives a formal address transmitted from the outdoor unit 10 and sets the formal address in the own device.
The response unit 26 responds to the search by the search unit 13 and transmits the temporary address set in the own unit to the outdoor unit 10 .
The storage unit 27 stores the temporary address set by the address setting unit 25, the official address transmitted from the outdoor unit 10, the identification information of the indoor unit 20, and the like.
The power supply unit 28 receives power from the outdoor unit 10 and supplies this power to the control unit 21 and the like.
Hereinafter, the control unit provided in the indoor unit 20-1 will be described as a control unit 21-1, etc. The same applies to the other functional units.

(動作)
次に図2を用いて、室内機へのアドレス設定処理について説明する。
図2は、一実施形態に係る空調システムの動作例を示す第1の図である。
以下、室外機10と、室内機20-1、20-2を取り上げて空調システム1の動作について説明するが、特に言及がない場合、残りの室内機20-3~室内機20-nの動作についても同様である。
まず、作業員が、室外機10に電源を入れる。すると、電源部17が起動し、制御部11に電力が供給される。電源部17は、電力線L2を通じて全ての室内機20-1~20-nへ電力を供給する(ステップS1a、S1b)。室内機20-1では、電源部28-1が、受電して制御部21-1に電力を供給する。室内機20-2では、電源部28-2が、受電して制御部21-2に電力を供給する。
(Operation)
Next, the process of setting an address in the indoor unit will be described with reference to FIG.
FIG. 2 is a first diagram illustrating an operation example of the air conditioning system according to one embodiment.
Below, the operation of the air conditioning system 1 will be explained by taking the outdoor unit 10 and the indoor units 20-1 and 20-2 as an example, but unless otherwise specified, the operation of the remaining indoor units 20-3 to 20-n is similar.
First, an operator turns on the power to the outdoor unit 10. This starts up the power supply unit 17, which supplies power to the control unit 11. The power supply unit 17 supplies power to all of the indoor units 20-1 to 20-n through the power line L2 (steps S1a and S1b). In the indoor unit 20-1, the power supply unit 28-1 receives power and supplies it to the control unit 21-1. In the indoor unit 20-2, the power supply unit 28-2 receives power and supplies it to the control unit 21-2.

電力の供給を受けると、室内機20-1では、CPU22-1が起動し、発振器23-1がクロック信号の生成を開始する。タイマ24-1はクロック数のカウントを開始する(ステップS2a)。室内機20-2では、発振器23-2がクロック信号の生成を開始し、タイマ24-2がクロック数のカウントを開始する(ステップS2b)。発振器23-1、23-2には、個体差があり、また、経年変化の影響や、温度等の周囲環境の影響により、同時刻にクロック信号の生成を開始しても、タイマ24-1、24-2がカウントするクロック数のカウント値に違いが生じる。また、電源部28-1、28-2における個体差で制御部21-1、21-2への電力供給開始のタイミングに時間差があり、これによってもタイマ24-1、21-2でのカウント値の違いが生じる。 When power is supplied, in the indoor unit 20-1, the CPU 22-1 starts and the oscillator 23-1 starts generating a clock signal. The timer 24-1 starts counting the number of clocks (step S2a). In the indoor unit 20-2, the oscillator 23-2 starts generating a clock signal and the timer 24-2 starts counting the number of clocks (step S2b). There are individual differences between the oscillators 23-1 and 23-2, and due to the effects of aging and the surrounding environment such as temperature, even if clock signal generation starts at the same time, the count values of the number of clocks counted by the timers 24-1 and 24-2 differ. In addition, there is a time difference in the timing of starting the power supply to the control units 21-1 and 21-2 due to individual differences in the power supply units 28-1 and 28-2, which also causes differences in the count values of the timers 24-1 and 21-2.

所定時間が経過すると、室外機10の割込信号送信部12が、全ての室内機20-1~20-nへ向けて同時に割り込み信号を送信する(ステップS3a、S3b)。室内機20-1では、CPU22-1が割り込み信号を受信し、所定の処理を行う。CPU22-1が割り込み信号を受信したタイミングで、CPU22-1は、タイマ24-1がカウントしているクロック数をサンプリングし、アドレス設定部25-1へ出力する。アドレス設定部25-1は、サンプリングされたクロック数に基づいて仮アドレスを算出する。例えば、アドレス設定部25-1は、(サンプリングされたクロック数÷99)の余りを算出して、この値を仮アドレスとする。アドレス設定部25-1は算出した仮アドレスを自機に設定する(ステップS4a)。例えば、アドレス設定部25-1は、仮アドレスを記憶部27-1の所定のアドレス用領域に書き込む。 When the predetermined time has elapsed, the interrupt signal transmission unit 12 of the outdoor unit 10 simultaneously transmits an interrupt signal to all indoor units 20-1 to 20-n (steps S3a and S3b). In the indoor unit 20-1, the CPU 22-1 receives the interrupt signal and performs a predetermined process. At the timing when the CPU 22-1 receives the interrupt signal, the CPU 22-1 samples the number of clocks counted by the timer 24-1 and outputs it to the address setting unit 25-1. The address setting unit 25-1 calculates a tentative address based on the sampled number of clocks. For example, the address setting unit 25-1 calculates the remainder of (the number of sampled clocks divided by 99) and sets this value as the tentative address. The address setting unit 25-1 sets the calculated tentative address to its own unit (step S4a). For example, the address setting unit 25-1 writes the tentative address to a predetermined address area in the memory unit 27-1.

室内機20-2でも、同様に、アドレス設定部25-2が、割り込み信号受信時のクロック数に基づいて室内機20-1と同じ方法で仮アドレスを算出し、この仮アドレスを自機に設定する(ステップS4b)。
ここで、タイマ24-1、24-2でカウントしているクロック数が同一であれば、室内機20-1と室内機20-2の仮アドレスは同じ値となるが、割り込み信号の受信が同時刻であっても、タイマ24-1、24-2でカウントしているクロック数には違いが生じており、室内機20-1と室内機20-2の仮アドレスは、異なる値となることが多い。
Similarly, in the indoor unit 20-2, the address setting section 25-2 calculates a tentative address in the same manner as in the indoor unit 20-1, based on the clock count when the interrupt signal is received, and sets this tentative address in the indoor unit (step S4b).
Here, if the number of clocks counted by timers 24-1, 24-2 is the same, the virtual addresses of indoor unit 20-1 and indoor unit 20-2 will have the same value; however, even if the interrupt signals are received at the same time, there will be a difference in the number of clocks counted by timers 24-1, 24-2, and the virtual addresses of indoor unit 20-1 and indoor unit 20-2 will often have different values.

次に所定時間が経過すると、室外機10の探索部13が、全ての室内機20-1~20-nを対象に仮アドレスの探索を行う(ステップS5a、S5b)。例えば、探索部13は、仮アドレス=0が設定されているかどうかを、通信線L1を介して、室内機20-1~20-nに問い合わせる。この問い合わせに対し、室内機20-1では、応答部26-1が自機に設定されている仮アドレスについて問い合わせがあれば、応答する(ステップS6a)。例えば、室内機20-1に仮アドレス=0が設定されている場合、応答部26-1は、探索部13による仮アドレス=0に対する問い合わせに対し、仮アドレス=0が含まれた電文を作成し、通信線L1を介して、室外機10へ送信する。また、例えば、室内機20-2に仮アドレス=3が設定されている場合、応答部26-2は、仮アドレス=3に対する問い合わせに対し、仮アドレス=3が含まれた電文を作成し、通信線L1を介して、室外機10へ送信する。探索部13は、仮アドレス=0~98まで順に問い合わせを行い、それぞれの仮アドレスに対する応答を受信する。 Next, when a predetermined time has elapsed, the search unit 13 of the outdoor unit 10 searches for the temporary address of all the indoor units 20-1 to 20-n (steps S5a and S5b). For example, the search unit 13 inquires of the indoor units 20-1 to 20-n via the communication line L1 whether the temporary address = 0 is set. In response to this inquiry, the response unit 26-1 of the indoor unit 20-1 responds if there is an inquiry about the temporary address set in the indoor unit 20-1 (step S6a). For example, if the temporary address = 0 is set in the indoor unit 20-1, the response unit 26-1 creates a telegram containing the temporary address = 0 in response to the inquiry about the temporary address = 0 by the search unit 13, and transmits it to the outdoor unit 10 via the communication line L1. Also, for example, if the temporary address = 3 is set in the indoor unit 20-2, the response unit 26-2 creates a telegram containing the temporary address = 3 in response to the inquiry about the temporary address = 3, and transmits it to the outdoor unit 10 via the communication line L1. The search unit 13 queries the tentative addresses 0 to 98 in order and receives responses to each tentative address.

全ての仮アドレスに対する探索が完了すると、重複検出部14は、重複した仮アドレスが複数の室内機20に設定されていないかどうかを確認する(ステップS7)。例えば、室内機20の数がn個で応答された仮アドレスの数がn個の場合、重複検出部14は、仮アドレスの重複は無いと判定する。室内機20の数がn個で応答された仮アドレスの数がn個未満の場合、重複検出部14は、仮アドレスの重複があると判定する。 When the search for all virtual addresses is complete, the duplication detection unit 14 checks whether duplicate virtual addresses are set for multiple indoor units 20 (step S7). For example, if there are n indoor units 20 and the number of virtual addresses that have responded is n, the duplication detection unit 14 determines that there are no duplicate virtual addresses. If there are n indoor units 20 and the number of virtual addresses that have responded is less than n, the duplication detection unit 14 determines that there are duplicate virtual addresses.

重複があると判定した場合(ステップS7;Yes)、仮アドレスの重複が無くなるまで、ステップS3a、S3b以降の処理を繰り返す。 If it is determined that there is a duplication (step S7; Yes), steps S3a, S3b and subsequent steps are repeated until there is no duplication of temporary addresses.

重複が無いと判定した場合(ステップS7;No)、通信アドレス送信部15は、それぞれの仮アドレス宛に、正式なアドレスを送信する(ステップS8a、S8b)。室内機20-1は、自機に設定した仮アドレス宛に送信された正式なアドレスを取得し、このアドレスを自機に設定する(ステップS9a)。例えば、アドレス設定部25-1が、正式なアドレスを取得し、記憶部27のアドレス用領域に書き込んだ仮アドレスを、正式なアドレスで上書きする。同様に室内機20-2では、アドレス設定部25-2が、正式なアドレスを設定する(ステップS9b)。 If it is determined that there is no duplication (step S7; No), the communication address transmission unit 15 transmits the formal address to each temporary address (steps S8a, S8b). The indoor unit 20-1 acquires the formal address sent to the temporary address set in itself, and sets this address in itself (step S9a). For example, the address setting unit 25-1 acquires the formal address, and overwrites the temporary address written in the address area of the memory unit 27 with the formal address. Similarly, in the indoor unit 20-2, the address setting unit 25-2 sets the formal address (step S9b).

次に室内機20-1は、正式なアドレスの設定の完了を室外機10へ応答する(ステップS10a)。例えば、アドレス設定部25-1は、室内機20-1の識別情報と、ステップS9aで設定した正式なアドレスとを、室外機10へ送信する。同様に、室内機20-2は、正式なアドレスの設定の完了を室外機10へ応答する(ステップS10b)。
室外機10は、室内機20-1~20-nから応答を受信し、各室内機20の識別情報と正式なアドレスを対応付けて記憶部16に書き込む。これにより、室外機10は、室内機20-1~20-nの各々と個別に通信することが可能になる。このように、本実施形態によれば、室外機の電源をONにするだけで、自動的に室内機20-1~20-nへの通信アドレスの設定を行うことができる。
Next, the indoor unit 20-1 responds to the outdoor unit 10 to inform it that the formal address has been set (step S10a). For example, the address setting unit 25-1 transmits the identification information of the indoor unit 20-1 and the formal address set in step S9a to the outdoor unit 10. Similarly, the indoor unit 20-2 responds to the outdoor unit 10 to inform it that the formal address has been set (step S10b).
The outdoor unit 10 receives responses from the indoor units 20-1 to 20-n, associates the identification information of each indoor unit 20 with a proper address, and writes the correspondence to the identification information of each indoor unit 20 in the storage unit 16. This enables the outdoor unit 10 to communicate with each of the indoor units 20-1 to 20-n individually. Thus, according to this embodiment, communication addresses can be automatically set for the indoor units 20-1 to 20-n simply by turning on the power of the outdoor unit.

ところで、発振器23-1、23-2は、非同期にクロック信号を生成し、タイマ24-1、24-2でのカウント開始タイミングも電源部28-1、28-2の個体差などで異なるはずだが、たまたまタイミングが同調してしまい、室内機20-1、20-2で全く同じ仮アドレスが設定され、また、全く同タイミングで室内機20-1と室内機20-2が応答を返すことが起こり得る。この場合、室外機10は、同時に同内容の電文を受け取ることとなり、通信エラーが発生したのか、仮アドレスの重複が発生したのかが検出できない可能性がある。仮アドレスの重複を確実に検出するために、異なるタイミングでサンプリングしたカウント値に基づく複数の仮アドレスを、応答の電文に含めるようにしてもよい。次に図3を用いて、複数の仮アドレスを応答の電文に含める場合の処理について説明する。 The oscillators 23-1 and 23-2 generate clock signals asynchronously, and the count start timing of the timers 24-1 and 24-2 should differ due to individual differences in the power supply units 28-1 and 28-2, but the timing may happen to be synchronized, causing the indoor units 20-1 and 20-2 to set the exact same temporary address, and the indoor units 20-1 and 20-2 to return responses at the exact same timing. In this case, the outdoor unit 10 will receive messages with the same content at the same time, and it may not be possible to detect whether a communication error has occurred or whether a temporary address duplication has occurred. In order to reliably detect a temporary address duplication, multiple temporary addresses based on count values sampled at different times may be included in the response message. Next, the process of including multiple temporary addresses in the response message will be described using FIG. 3.

図3は、一実施形態に係る空調システムの動作例を示す第2の図である。
図2と同じ処理には同じ符号を付し、簡単に説明する。
まず、作業員が、室外機10に電源を入れる。電源部17は、電力線L2を通じて全ての室内機20-1~20-nへ電力を供給する(ステップS1a、S1b)。室内機20-1、20-2では、タイマ24-1、24-2がクロック数のカウントを開始する(ステップS2a,S2b)。
FIG. 3 is a second diagram illustrating an example of the operation of the air conditioning system according to one embodiment.
The same processes as those in FIG. 2 are denoted by the same reference numerals and will be briefly explained.
First, an operator turns on the power to the outdoor unit 10. The power supply unit 17 supplies power to all of the indoor units 20-1 to 20-n through the power line L2 (steps S1a and S1b). In the indoor units 20-1 and 20-2, the timers 24-1 and 24-2 start counting the number of clocks (steps S2a and S2b).

所定時間が経過すると、割込信号送信部12が、全ての室内機20-1~20-nへ向けて同時に割り込み信号を送信する(ステップS3a、S3b)。室内機20-1、20-2では、それぞれ、アドレス設定部25-1、25-2が、仮アドレスの算出、設定を行う(ステップS4a、S4b)。 When the predetermined time has elapsed, the interrupt signal transmission unit 12 simultaneously transmits an interrupt signal to all indoor units 20-1 to 20-n (steps S3a and S3b). In the indoor units 20-1 and 20-2, the address setting units 25-1 and 25-2 respectively calculate and set temporary addresses (steps S4a and S4b).

続いて、割込信号送信部12は、全ての室内機20-1~20-nへ向けて同時に、2回目の割り込み信号を送信する(ステップS3c、S3d)。室内機20-1では、アドレス設定部25-1が、ステップS4aと同様の処理を行って2つ目の仮アドレスを算出する(ステップS4c)。アドレス設定部25-1は、仮アドレスを記憶部27-1に書き込んで保存する。同様に、室内機20-2では、アドレス設定部25-2が、ステップS4bと同様の処理を行って2つ目の仮アドレスを算出し(ステップS4d)、記憶部27-2に保存する。
この段階で、室内機20-1では、1回目の割り込み信号受信時に算出された仮アドレスが、室内機20-1の仮アドレスとして設定され、2回目の割り込み信号受信時に算出された仮アドレスは、記憶部27-1に保存されている。室内機20-2~20-nについても同様である。また、ここでは、割り込み信号の送信を2回としたが、3回以上送信し、その都度、仮アドレスを算出し、記憶部27に保存するようにしてもよい。
Next, the interrupt signal transmission unit 12 simultaneously transmits a second interrupt signal to all indoor units 20-1 to 20-n (steps S3c and S3d). In the indoor unit 20-1, the address setting unit 25-1 performs the same process as in step S4a to calculate a second tentative address (step S4c). The address setting unit 25-1 writes and stores the tentative address in the storage unit 27-1. Similarly, in the indoor unit 20-2, the address setting unit 25-2 performs the same process as in step S4b to calculate a second tentative address (step S4d) and stores it in the storage unit 27-2.
At this stage, in the indoor unit 20-1, the temporary address calculated when the first interrupt signal is received is set as the temporary address of the indoor unit 20-1, and the temporary address calculated when the second interrupt signal is received is stored in the memory unit 27-1. The same is true for the indoor units 20-2 to 20-n. Also, although the interrupt signal is transmitted twice here, it may be transmitted three or more times, with a temporary address calculated and stored in the memory unit 27 each time.

次に室外機10の探索部13が、全ての室内機20-1~20-nを対象に仮アドレスの探索を行う(ステップS5a、S5b)。このとき、室内機20-1~20-nは、自機に設定された仮アドレス、つまり1回目の割り込み信号受信時に算出した仮アドレスへの問い合わせに対して応答する。例えば、室内機20-1に仮アドレス=0が設定されていて、記憶部27-1には、仮アドレス=2が保存されているとする。すると、応答部26-1は、仮アドレス=0に対する問い合わせに対し、仮アドレス=0と仮アドレス=2をこの順番で含んだ電文を作成し、室外機10へ応答する(ステップS6c)。同様に、室内機20-2も、最初に算出した仮アドレスに対する問い合わせに対して、1番目に算出した仮アドレス、2番目に算出した仮アドレス、をこの順番で含んだ電文を作成し、室外機10へ応答する(ステップS6d)。なお、仮アドレスを3つ以上算出した場合には、応答部26は、それら全てを算出した順に並べた電文を作成する。
探索部13は、仮アドレス=0~98まで順に問い合わせを行い、それぞれの仮アドレスに対する応答を受信する。
Next, the search unit 13 of the outdoor unit 10 searches for the temporary addresses of all the indoor units 20-1 to 20-n (steps S5a and S5b). At this time, the indoor units 20-1 to 20-n respond to an inquiry about the temporary address set in the indoor unit, that is, the temporary address calculated when the first interrupt signal is received. For example, assume that the temporary address = 0 is set in the indoor unit 20-1, and the temporary address = 2 is stored in the storage unit 27-1. Then, in response to the inquiry about the temporary address = 0, the response unit 26-1 creates a message including the temporary address = 0 and the temporary address = 2 in this order, and responds to the outdoor unit 10 (step S6c). Similarly, in response to an inquiry about the first calculated temporary address, the indoor unit 20-2 creates a message including the first calculated temporary address and the second calculated temporary address in this order, and responds to the outdoor unit 10 (step S6d). When three or more tentative addresses are calculated, the response unit 26 creates a message in which all of the tentative addresses are arranged in the order in which they were calculated.
The search unit 13 makes inquiries to the tentative addresses 0 to 98 in order, and receives responses to each tentative address.

全ての仮アドレスに対する探索が完了すると、重複検出部14は、図2のステップS7と同様にして、重複した仮アドレスが複数の室内機20に設定されていないかどうかを確認する(ステップS7A)。図3の処理の場合、割り込み処理を2回以上送信していることで、1回目に比べ、2回目以降はタイマ24-1~24-nのカウント値がずれている可能性が高く、仮に室外機10が同時に複数の電文を受信したとしても、それら電文の内容における2回目以降の仮アドレスが異なるため、重複検出部14は、複数の室内機20に同じ値の仮アドレス(1回目に算出された仮アドレス)が設定されていることを検出しやすくなる。また、図2のステップS7で説明した、室内機20の数と応答された仮アドレスの数を比べる方法は、室内機20の総数が分かっている場合には有効であるが、図3の方法であれば、室内機20の総数が不明な場合でも、電文の中身を確認することで、仮アドレスの重複の有無を判定することができる。 When the search for all the temporary addresses is completed, the duplication detection unit 14 checks whether or not duplicate temporary addresses are set to multiple indoor units 20 in the same manner as in step S7 in FIG. 2 (step S7A). In the case of the process in FIG. 3, since the interrupt process is sent two or more times, the count values of the timers 24-1 to 24-n are likely to be different from the first time onwards, and even if the outdoor unit 10 receives multiple messages at the same time, the temporary addresses in the contents of the messages are different from the second time onwards, so the duplication detection unit 14 can easily detect that the same temporary address (the temporary address calculated the first time) is set to multiple indoor units 20. In addition, the method of comparing the number of indoor units 20 and the number of virtual addresses that are responded to, as explained in step S7 in FIG. 2, is effective when the total number of indoor units 20 is known, but with the method in FIG. 3, even if the total number of indoor units 20 is unknown, the presence or absence of duplicate temporary addresses can be determined by checking the contents of the messages.

重複があると判定した場合(ステップS7A;Yes)、仮アドレスの重複が無くなるまで、ステップS3a、S3b以降の処理を繰り返す。 If it is determined that there is a duplication (step S7A; Yes), steps S3a, S3b and subsequent steps are repeated until there is no duplication of the temporary addresses.

重複が無いと判定した場合(ステップS7A;No)、通信アドレス送信部15は、それぞれの仮アドレス宛に、正式な通信アドレスを送信する(ステップS8a、S8b)。室内機20-1、20-2は、正式な通信アドレスを自機に設定する(ステップS9a、S9b)。室内機20-1、20-2は、正式な通信アドレスの設定の完了を室外機10へ応答する(ステップS10a、S10b)。 If it is determined that there is no duplication (step S7A; No), the communication address transmission unit 15 transmits the formal communication address to each temporary address (steps S8a, S8b). The indoor units 20-1, 20-2 set the formal communication address to themselves (steps S9a, S9b). The indoor units 20-1, 20-2 respond to the outdoor unit 10 to notify them that the formal communication address has been set (steps S10a, S10b).

以上説明したように、本実施形態によれば、室外機10に電源を投入するだけで、自動的に通信アドレスを複数の室内機20に設定することができる。また、従来行われていた、基板上での通信アドレスの設定作業や、製造時に不揮発性メモリへ通信アドレス設定に必要な情報を書き込む作業工程を削減することができる。また、タイマ24によるクロック信号のカウントや割り込み信号の送信は、それぞれ、制御部21、制御部11が備える機能を利用することができるので、アドレス設定のために専用のハードウェアや機能等を実装する必要が無い。また、通信アドレスの設定時に仮アドレスの重複を検出することができる。さらに図3の方法であれば、室内機20の台数を室外機10に入力情報として与える必要なく、通信アドレスの設定が可能になる。 As described above, according to this embodiment, communication addresses can be automatically set to multiple indoor units 20 simply by turning on the power to the outdoor unit 10. In addition, it is possible to eliminate the conventional process of setting communication addresses on a board and writing information required for setting communication addresses to a non-volatile memory during manufacturing. In addition, the timer 24 can count the clock signal and send an interrupt signal using the functions of the control unit 21 and control unit 11, respectively, so there is no need to implement dedicated hardware or functions for address setting. In addition, duplication of temporary addresses can be detected when setting communication addresses. Furthermore, with the method of FIG. 3, communication addresses can be set without the need to provide the number of indoor units 20 as input information to the outdoor unit 10.

なお、仮アドレスの算出に関し、例えば、複数回割り込み信号を送信し、そのたびにアドレスを算出し、算出したアドレスを全て合計して、その合計値に基づいて、再度、同様の算出方法によって(例えば99で割って余りを取得する。)、最終的に仮アドレスを算出してもよい。あるいは、複数回割り込み信号を送信し、そのたびにカウント値を累積的に加算してゆき、カウント値の合計値に基づいて、再度、同様の算出方法によって(例えば99で割って余りを取得する。)、最終的に仮アドレスを算出してもよい。複数の異なるタイミングでサンプリングされたカウント値を用いることによって、仮アドレスが重複する確率を低減することができる。 In addition, regarding the calculation of the tentative address, for example, an interrupt signal may be sent multiple times, an address may be calculated each time, all the calculated addresses may be added up, and the final tentative address may be calculated again based on the total value using the same calculation method (for example, dividing by 99 to obtain the remainder). Alternatively, an interrupt signal may be sent multiple times, the count value may be cumulatively added each time, and the final tentative address may be calculated again based on the total value of the count values using the same calculation method (for example, dividing by 99 to obtain the remainder). By using count values sampled at multiple different times, the probability of duplicate tentative addresses can be reduced.

(アドレス設定システムの構成、動作)
また、上記説明したアドレスの設定処理は、空調システムだけではなく、他の装置に対するアドレス設定にも応用することができる。図4に汎用的なアドレス設定システムの構成例を示す。
図4は、一実施形態に係るアドレス設定システムの一例を示すブロック図である。
アドレス設定システム2は、アドレス設定対象の第一装置100-1~100-n(区別の必要が無い場合、第一装置100と記載する。)を複数(n台)と、第二装置200を備える。
(Configuration and operation of address setting system)
The address setting process described above can be applied not only to the air conditioning system but also to address setting for other devices. An example of the configuration of a general-purpose address setting system is shown in FIG.
FIG. 4 is a block diagram illustrating an example of an address setting system according to an embodiment.
The address setting system 2 comprises a plurality (n units) of first devices 100-1 to 100-n (hereinafter referred to as first devices 100 when there is no need to distinguish between them) to be subjected to address setting, and a second device 200.

第一装置100は、プロセッサ110と、タイマ130と、アドレス設定部140と、応答部150と、記憶部160と、を備える。図では、第一装置100-1のプロセッサをプロセッサ110-1と記載している。他の構成についても同様である。
プロセッサ110は、発振器120を備えており、発振器120は、電源が投入されるとクロック信号の生成を開始する。タイマ130は、クロック信号をカウントする。アドレス設定部140は、タイマ130によるカウント値に基づいてアドレスを算出し、算出したアドレスを第一装置100に設定する。応答部150は、第二装置200のアドレス探索に対して自機に設定されたアドレスを応答する。記憶部160は、設定されたアドレスを記憶する。
First device 100 includes a processor 110, a timer 130, an address setting unit 140, a response unit 150, and a storage unit 160. In the figure, the processor of first device 100-1 is described as processor 110-1. The same is true for the other components.
The processor 110 includes an oscillator 120, which starts generating a clock signal when the power is turned on. The timer 130 counts the clock signal. The address setting unit 140 calculates an address based on the count value of the timer 130, and sets the calculated address in the first device 100. The response unit 150 responds to the address search of the second device 200 with the address set in the device itself. The storage unit 160 stores the set address.

第二装置200は、制御部210と、割込信号送信部220と、探索部230と、重複検出部240と、を備える。制御部210は、アドレス設定処理を制御する。割込信号送信部220は、第一装置100へ割り込み信号を送信する。探索部230は、第一装置100に設定されたアドレスを探索する。重複検出部240は、複数の第一装置100に設定されたアドレスの重複の有無を検出する。 The second device 200 includes a control unit 210, an interrupt signal transmission unit 220, a search unit 230, and a duplication detection unit 240. The control unit 210 controls the address setting process. The interrupt signal transmission unit 220 transmits an interrupt signal to the first device 100. The search unit 230 searches for addresses set in the first device 100. The duplication detection unit 240 detects whether or not there is duplication of addresses set in multiple first devices 100.

アドレス設定システム2の動作は、図2、図3で説明したものと同様である。
例えば、第一装置100では、タイマ130が、発振器120が生成したクロック信号をカウントする。第二装置200では、割込信号送信部220は、割り込み信号を全ての第一装置100に対して割り込み信号を1回又は複数回、送信する。第一装置100では、割り込み信号を受信し、アドレス設定部140が、受信時のタイマ130のカウント値に基づいてアドレスを算出し、設定する。次に第二装置200の探索部230が、全ての第一装置100に対して、全アドレス分の問合せを行い、応答部150からの応答を受信する。応答の電文には、1又は複数のアドレスが含まれている。重複検出部240は、第一装置100の数および応答されたアドレスの数に基づいて、又は応答された電文を調べてアドレス重複の有無を確認し、重複がある場合、再度、割り込み信号を全ての第一装置100に送信してアドレスの再設定を促す。
The operation of the address setting system 2 is similar to that described with reference to FIGS.
For example, in the first device 100, the timer 130 counts the clock signal generated by the oscillator 120. In the second device 200, the interrupt signal transmission unit 220 transmits an interrupt signal to all the first devices 100 once or multiple times. In the first device 100, the interrupt signal is received, and the address setting unit 140 calculates and sets an address based on the count value of the timer 130 at the time of reception. Next, the search unit 230 of the second device 200 queries all the first devices 100 for all addresses and receives a response from the response unit 150. The response message contains one or multiple addresses. The duplication detection unit 240 checks whether there is an address duplication based on the number of first devices 100 and the number of responded addresses, or by examining the responded message, and if there is a duplication, transmits an interrupt signal again to all the first devices 100 to prompt them to reset the addresses.

第一装置100は、例えば、照明装置のコントローラや通信装置である。第二装置200は、複数の照明装置のON、OFFや照度などを一括して管理する管理装置である。アドレス設定システム2によれば、複数の照明装置のコントローラや通信装置にアドレスを自動的に設定し、これにより、例えば、ビル一棟分の照明管理などが容易になる。
また、無人工場で動作するロボットや機械にアドレス設定システム2を適用し、各ロボットや機械にアドレスを設定するような場合に使用できる。また、倉庫などで使用される無人搬送車(Automated guided vehicle)へのアドレス設定に用いることができる。
The first device 100 is, for example, a controller or a communication device for a lighting device. The second device 200 is a management device that collectively manages the ON/OFF and illuminance of a plurality of lighting devices. According to the address setting system 2, addresses are automatically set in the controllers and communication devices for a plurality of lighting devices, which makes it easy to manage the lighting for an entire building, for example.
The address setting system 2 can also be applied to robots and machines that operate in unmanned areas, and can be used to set addresses for each robot or machine. The address setting system 2 can also be used to set addresses for automated guided vehicles used in warehouses, etc.

図5は、一実施形態に係る空調システムおよびアドレス設定システムのハードウェア構成の一例を示す図である。
コンピュータ900は、CPU901、主記憶装置902、補助記憶装置903、入出力インタフェース904、通信インタフェース905を備える。
上述の制御部11、21、210、第一装置100は、コンピュータ900に実装される。そして、上述した各機能は、プログラムの形式で補助記憶装置903に記憶されている。CPU901は、プログラムを補助記憶装置903から読み出して主記憶装置902に展開し、当該プログラムに従って上記処理を実行する。また、CPU901は、プログラムに従って、記憶領域を主記憶装置902に確保する。また、CPU901は、プログラムに従って、処理中のデータを記憶する記憶領域を補助記憶装置903に確保する。
FIG. 5 is a diagram illustrating an example of a hardware configuration of an air conditioning system and an address setting system according to an embodiment.
The computer 900 includes a CPU 901 , a main memory device 902 , an auxiliary memory device 903 , an input/output interface 904 , and a communication interface 905 .
The above-mentioned control units 11, 21, 210 and first device 100 are implemented in a computer 900. The above-mentioned functions are stored in the auxiliary storage device 903 in the form of a program. The CPU 901 reads the program from the auxiliary storage device 903, loads it in the main storage device 902, and executes the above-mentioned processing in accordance with the program. The CPU 901 also reserves a memory area in the main storage device 902 in accordance with the program. The CPU 901 also reserves a memory area in the auxiliary storage device 903 for storing data being processed in accordance with the program.

なお、制御部11、21、210、第一装置100の全部または一部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより各機能部による処理を行ってもよい。ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、CD、DVD、USB等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。また、このプログラムが通信回線によってコンピュータ900に配信される場合、配信を受けたコンピュータ900が当該プログラムを主記憶装置902に展開し、上記処理を実行してもよい。また、上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよい。 In addition, a program for realizing all or part of the functions of the control units 11, 21, 210 and the first device 100 may be recorded on a computer-readable recording medium, and the program recorded on the recording medium may be read into the computer system and executed to perform processing by each functional unit. The term "computer system" here includes hardware such as an OS and peripheral devices. In addition, if a WWW system is used, the term "computer system" also includes the home page providing environment (or display environment). In addition, the term "computer-readable recording medium" refers to portable media such as CDs, DVDs, and USBs, and storage devices such as hard disks built into the computer system. In addition, if the program is distributed to the computer 900 via a communication line, the computer 900 that receives the program may expand the program into the main storage device 902 and execute the above processing. In addition, the above program may be for realizing part of the above-mentioned functions, and may further be capable of realizing the above-mentioned functions in combination with a program already recorded in the computer system.

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

<付記>
各実施形態に記載のアドレス設定システム2、空調システム1およびアドレス設定方法は、例えば以下のように把握される。
<Additional Notes>
The address setting system 2, the air conditioning system 1, and the address setting method described in each embodiment can be understood, for example, as follows.

(1)第1の態様に係るアドレス設定システム2は、第一装置100(室内機20)へ固有のアドレスを設定するアドレス設定システム2であって、複数の前記第一装置100と、第二装置200(室外機10)と、を備え、前記第二装置200は、前記第一装置100へ割り込み信号を送信する割込信号送信部220(12)、を備え、前記第一装置100は、発振器120(23)と、前記発振器のクロック信号をカウントするタイマ130(24)と、前記割り込み信号を受信した時に前記タイマ130がカウントした値に基づいてアドレスを算出し、算出した前記アドレスを自装置(第一装置100、室内機20)に設定するアドレス設定部140(25)と、を備える。
これにより、自動的に第一装置100(室内機20)へアドレスを設定することができる。
(1) An address setting system 2 according to a first aspect is an address setting system 2 that sets a unique address to a first device 100 (indoor unit 20), and includes a plurality of the first devices 100 and a second device 200 (outdoor unit 10). The second device 200 includes an interrupt signal transmitting unit 220 (12) that transmits an interrupt signal to the first device 100. The first device 100 includes an oscillator 120 (23), a timer 130 (24) that counts a clock signal of the oscillator, and an address setting unit 140 (25) that calculates an address based on the value counted by the timer 130 when the interrupt signal is received and sets the calculated address in its own device (first device 100, indoor unit 20).
This makes it possible to automatically set an address in the first device 100 (indoor unit 20).

(2)第2の態様に係るアドレス設定システム2は、(1)のアドレス設定システム2であって、前記第二装置200は、前記第一装置100に設定されたアドレスを探索する探索部230(13)と、複数の前記第一装置へ設定した前記アドレスの重複の有無を検出する重複検出部240(14)と、をさらに備え、前記第一装置100は、前記探索に対して自装置に設定した前記アドレスを前記第二装置へ応答する応答部150(26)、をさらに備え、前記割込信号送信部220は、前記重複検出部240が前記アドレスの重複を検出すると、再度、割り込み信号を送信する。
これにより、第一装置100へ重複なく固有のアドレスを設定することができる。
(2) An address setting system 2 according to a second aspect is the address setting system 2 of (1), wherein the second device 200 further includes a search unit 230 (13) that searches for an address set in the first device 100, and a duplication detection unit 240 (14) that detects whether or not the addresses set in a plurality of the first devices are duplicated, the first device 100 further includes a response unit 150 (26) that responds to the search with the address set in the first device, and the interrupt signal transmission unit 220 transmits an interrupt signal again when the duplication detection unit 240 detects duplication of the address.
This makes it possible to set a unique address to the first device 100 without duplication.

(3)第3の態様に係るアドレス設定システム2は、(2)のアドレス設定システム2であって、前記割込信号送信部は、複数回、割り込み信号を送信し、前記アドレス設定部は、送信された割り込み信号を受信するたびに、前記タイマがカウントした値に基づいてアドレスを算出し、所定回目に算出した前記アドレスに対する前記探索部による問い合わせに対して、算出した全ての前記アドレスを応答する。
これにより、確実に重複アドレスの有無を検出することができる。図3の例では、1回目の割り込み信号に対して算出した仮アドレスの値を仮アドレスとして設定することとしたが、2回目以降の割り込み信号に対して算出した仮アドレスの値を自装置の仮アドレスとして設定してもよい。
(3) An address setting system 2 according to a third aspect is the address setting system 2 of (2), wherein the interrupt signal transmitting unit transmits an interrupt signal multiple times, and the address setting unit calculates an address based on the value counted by the timer each time the address setting unit receives the transmitted interrupt signal, and responds with all of the calculated addresses in response to an inquiry by the search unit about the addresses calculated for a predetermined number of times.
In this way, it is possible to reliably detect the presence or absence of a duplicate address. In the example of Fig. 3, the value of the tentative address calculated for the first interrupt signal is set as the tentative address, but the value of the tentative address calculated for the second or subsequent interrupt signals may be set as the tentative address of the own device.

(4)第4の態様に係るアドレス設定システム2は、(1)~(2)のアドレス設定システム2であって、前記割込信号送信部は、複数回、割り込み信号を送信し、前記アドレス設定部は、送信された割り込み信号を受信するたびに、前記タイマがカウントした全ての値に基づいてアドレスを算出する。
タイマが異なるタイミングでカウントした複数のカウント値を用いてアドレスを算出することにより、アドレス重複の確率を低減することができる。例えば、複数のカウント値を合計した値からアドレスを算出してもよいし、1回ごとのカウント値に基づいて算出したアドレス値を用いて、最終的なアドレスを算出してもよい。
(4) An address setting system 2 according to a fourth aspect is the address setting system 2 of (1) to (2), wherein the interrupt signal transmitting unit transmits an interrupt signal multiple times, and the address setting unit calculates an address based on all values counted by the timer each time the address setting unit receives the transmitted interrupt signal.
The probability of address duplication can be reduced by calculating an address using multiple count values counted by a timer at different times. For example, an address may be calculated from a total value of multiple count values, or a final address may be calculated using an address value calculated based on each count value.

(5)第5の態様に係る空調システム1は、(1)~(4)のアドレス設定システム2を備える空調システムであって、前記空調システム1は、複数の室内機20と、室外機10とを備え、前記室内機20は前記第一装置100、前記室外機10は前記第二装置200、である。
これにより、室内機のアドレス設定を自動化することができる。
(5) The air conditioning system 1 according to the fifth aspect is an air conditioning system equipped with an address setting system 2 as described in (1) to (4), and the air conditioning system 1 includes a plurality of indoor units 20 and an outdoor unit 10, the indoor units 20 being the first device 100, and the outdoor units 10 being the second device 200.
This makes it possible to automate the address setting of the indoor units.

(6)第6の態様に係る空調システム1は、は、(5)の空調システム1であって、前記室内機20は、前記室外機10から電力の供給によって動作し、前記発振器23が、前記室外機10に電源が投入されるとクロック信号の生成を開始する。
これにより、室外機への電源投入により、自動的に室内機へのアドレス設定が可能になる。
(6) The air conditioning system 1 according to a sixth aspect is the air conditioning system 1 of (5), wherein the indoor unit 20 operates by receiving power from the outdoor unit 10, and the oscillator 23 starts generating a clock signal when power is applied to the outdoor unit 10.
This makes it possible to automatically set the address for the indoor unit by turning on the power for the outdoor unit.

(7)第7の態様に係るアドレス設定方法は、第一装置へ固有のアドレスを設定するアドレス設定方法であって、前記第一装置が備える発振器にクロック信号の生成を開始させるステップと、前記発振器のクロック信号をタイマによってカウントするステップと、前記第一装置へ、割り込み信号を送信するステップと、前記割り込み信号を受信した時に前記タイマがカウントした値に基づいてアドレスを算出し、算出した前記アドレスを、前記第一装置に設定するステップと、を有する。 (7) The address setting method according to the seventh aspect is an address setting method for setting a unique address in a first device, and includes the steps of: causing an oscillator included in the first device to start generating a clock signal; counting the clock signal of the oscillator using a timer; sending an interrupt signal to the first device; and calculating an address based on the value counted by the timer when the interrupt signal is received, and setting the calculated address in the first device.

(8)第8の態様に係るアドレス設定方法は、複数の室内機と、室外機とを備える空調システムの前記室内機の各々に固有のアドレスを設定するアドレス設定方法であって、前記室内機が備える発振器にクロック信号の生成を開始させるステップと、前記発振器のクロック信号をタイマによってカウントするステップと、前記室内機へ、前記室外機から割り込み信号を送信するステップと、前記室内機が、前記割り込み信号を受信した時に前記タイマがカウントした値に基づいてアドレスを算出し、算出した前記アドレスを自機に設定するステップと、を有する。 (8) The address setting method according to the eighth aspect is an address setting method for setting a unique address to each of a plurality of indoor units and an outdoor unit in an air conditioning system having the indoor units and the indoor units, and includes the steps of causing an oscillator provided in the indoor units to start generating a clock signal, counting the clock signal of the oscillator using a timer, transmitting an interrupt signal from the outdoor unit to the indoor units, and calculating an address based on the value counted by the timer when the indoor unit receives the interrupt signal, and setting the calculated address in the indoor unit.

1・・・空調システム
2・・・アドレス設定システム
10・・・室外機
11・・・制御部
12・・・割込信号送信部
13・・・探索部
14・・・重複検出部
15・・・通信アドレス送信部
16・・・記憶部
17・・・電源部
20・・・室内機
21・・・制御部
22・・・CPU
23・・・発振器
24・・・タイマ
25・・・アドレス設定部
26・・・応答部
27・・・記憶部
28・・・電源部
100・・・第一装置
110・・・プロセッサ
120・・・発振器
130・・・タイマ
140・・・アドレス設定部
150・・・応答部
160・・・記憶部
200・・・第二装置
210・・・制御部
220・・・割込信号送信部
230・・・探索部
240・・・重複検出部
900・・・コンピュータ
901・・・CPU
902・・・主記憶装置
903・・・補助記憶装置
904・・・入出力インタフェース
905・・・通信インタフェース
REFERENCE SIGNS LIST 1 Air conditioning system 2 Address setting system 10 Outdoor unit 11 Control unit 12 Interrupt signal transmission unit 13 Search unit 14 Duplication detection unit 15 Communication address transmission unit 16 Memory unit 17 Power supply unit 20 Indoor unit 21 Control unit 22 CPU
23 Oscillator 24 Timer 25 Address setting unit 26 Response unit 27 Memory unit 28 Power supply unit 100 First device 110 Processor 120 Oscillator 130 Timer 140 Address setting unit 150 Response unit 160 Memory unit 200 Second device 210 Control unit 220 Interrupt signal transmission unit 230 Search unit 240 Duplication detection unit 900 Computer 901 CPU
902: Main storage device 903: Auxiliary storage device 904: Input/output interface 905: Communication interface

Claims (8)

第一装置へ固有のアドレスを設定するアドレス設定システムであって、
複数の前記第一装置と、第二装置と、を備え、
前記第二装置は、
前記第一装置へ割り込み信号を送信する割込信号送信部と、
前記第一装置に設定されたアドレスを探索する探索部と、
複数の前記第一装置へ設定された前記アドレスの重複の有無を検出する重複検出部と、
を備え、
前記第一装置は、
発振器と、
前記発振器のクロック信号をカウントするタイマと、
前記割り込み信号を受信した時に前記タイマがカウントした値に基づいてアドレスを算出し、算出した前記アドレスを自装置に設定するアドレス設定部と、
前記探索に対して自装置へ設定された前記アドレスを前記第二装置へ応答する応答部と、
を備え、
前記割込信号送信部は、複数回、割り込み信号を送信し、
前記アドレス設定部は、送信された割り込み信号を受信するたびに、前記タイマがカウントした値に基づいてアドレスを算出し、
所定回目に算出した前記アドレスに対する前記探索部による問い合わせに対して、算出した全ての前記アドレスを前記第二装置へ応答し、
前記割込信号送信部は、前記重複検出部が前記アドレスの重複を検出すると、再度、割り込み信号を送信する、
アドレス設定システム。
An address setting system for setting a unique address to a first device,
A plurality of the first devices and a second device,
The second device is
an interrupt signal transmitting unit that transmits an interrupt signal to the first device ;
A search unit that searches for an address set in the first device;
a duplication detection unit that detects whether or not there is duplication of the addresses set to the plurality of first devices;
Equipped with
The first device comprises:
An oscillator;
a timer for counting the clock signal of the oscillator;
an address setting unit that calculates an address based on a count value of the timer when the interrupt signal is received, and sets the calculated address in the device;
a response unit that responds to the second device with the address set in the device itself in response to the search;
Equipped with
The interrupt signal transmission unit transmits an interrupt signal a plurality of times,
the address setting unit calculates an address based on a value counted by the timer each time the transmitted interrupt signal is received;
responding to an inquiry by the search unit about the address calculated a predetermined number of times with all of the calculated addresses to the second device;
the interrupt signal transmitting unit transmits an interrupt signal again when the duplication detecting unit detects duplication of the address.
Address setting system.
第一装置へ固有のアドレスを設定するアドレス設定システムであって、
複数の前記第一装置と、第二装置と、を備え、
前記第二装置は、
前記第一装置へ割り込み信号を送信する割込信号送信部、
を備え、
前記第一装置は、
発振器と、
前記発振器のクロック信号をカウントするタイマと、
前記割り込み信号を受信した時に前記タイマがカウントした値に基づいてアドレスを算出し、算出した前記アドレスを自装置に設定するアドレス設定部と、
を備え、
前記割込信号送信部は、複数回、割り込み信号を送信し、
前記アドレス設定部は、送信された割り込み信号を受信するたびに前記タイマがカウントした全ての値に基づいて前記アドレスを算出する、
アドレス設定システム。
An address setting system for setting a unique address to a first device,
A plurality of the first devices and a second device,
The second device is
an interrupt signal transmitting unit that transmits an interrupt signal to the first device;
Equipped with
The first device comprises:
An oscillator;
a timer for counting the clock signal of the oscillator;
an address setting unit that calculates an address based on a count value of the timer when the interrupt signal is received, and sets the calculated address in the device;
Equipped with
The interrupt signal transmission unit transmits an interrupt signal a plurality of times,
the address setting unit calculates the address based on all values counted by the timer every time the transmitted interrupt signal is received;
Address setting system.
請求項1から請求項の何れか1項に記載のアドレス設定システムを備える空調システムであって、
前記空調システムは、複数の室内機と、室外機とを備え、
前記室内機は前記第一装置、前記室外機は前記第二装置、
である空調システム。
An air conditioning system comprising the address setting system according to any one of claims 1 to 2 ,
The air conditioning system includes a plurality of indoor units and an outdoor unit.
The indoor unit is the first device, the outdoor unit is the second device,
The air conditioning system.
前記室内機が、前記室外機から電力の供給によって動作し、
前記発振器が、前記室外機に電源が投入されると前記クロック信号の生成を開始する、
請求項に記載の空調システム。
The indoor unit is operated by power supplied from the outdoor unit,
the oscillator starts generating the clock signal when the outdoor unit is powered on;
4. An air conditioning system according to claim 3 .
複数の第一装置へ固有のアドレスを設定するアドレス設定方法であって、
前記第一装置へ電力の供給が開始されることにより、複数の前記第一装置のそれぞれが備える発振器クロック信号の生成を開始するステップと、
複数の前記第一装置のそれぞれが備えるコンピュータが、前記発振器のクロック信号をタイマによってカウントするステップと、
第二装置が備えるコンピュータが、複数の前記第一装置へ、複数回、割り込み信号を送信するステップと、
送信された前記割り込み信号を前記第一装置が受信するたびに、複数の前記第一装置が備えるコンピュータのそれぞれが、前記割り込み信号を受信した時に前記タイマがカウントした値に基づいてアドレスを算出し、算出した前記アドレスを自機に設定するステップと、
前記第二装置が備えるコンピュータが、複数の前記第一装置に設定されたアドレスを問い合わせるステップと、
前記第二装置が備えるコンピュータによる問い合わせに対して、複数の前記第一装置が備えるコンピュータのそれぞれが、算出した全ての前記アドレスを前記第二装置へ応答するステップと、
前記第二装置が備えるコンピュータが、応答された全ての前記アドレスについて、複数の前記第一装置での重複の有無を検出するステップと、
前記検出するステップにて、前記アドレスが重複していることを検出すると、前記第二装置が備えるコンピュータが、再度、複数の前記第一装置へ、複数回、割り込み信号を送信するステップと、
を有するアドレス設定方法。
An address setting method for setting unique addresses to a plurality of first devices, comprising the steps of:
a step of starting to supply power to the first devices, so that an oscillator included in each of the first devices starts generating a clock signal;
A computer included in each of the plurality of first devices counts a clock signal of the oscillator using a timer;
a step of a computer included in a second device transmitting an interrupt signal to a plurality of the first devices a plurality of times ;
a step of each of the computers included in the first devices calculating an address based on a count value of the timer when the first devices receive the transmitted interrupt signal and setting the calculated address in the first device ;
A computer included in the second device inquires about addresses set in the first devices;
a step of each of the computers included in the first devices responding to an inquiry by a computer included in the second device with all of the calculated addresses to the second device;
A computer included in the second device detects whether or not there is duplication among the multiple first devices for all of the responded addresses;
a step of, when detecting that the address is duplicated in the detecting step, a computer included in the second device again transmitting an interrupt signal to the first devices a plurality of times;
The address setting method includes:
複数の第一装置へ固有のアドレスを設定するアドレス設定方法であって、
前記第一装置へ電力の供給が開始されることにより、複数の前記第一装置のそれぞれが備える発振器クロック信号の生成を開始するステップと、
前記第一装置が備えるコンピュータのそれぞれが、前記発振器のクロック信号をタイマによってカウントするステップと、
第二装置が備えるコンピュータが、複数の前記第一装置へ、複数回、割り込み信号を送信するステップと、
前記第一装置が備えるコンピュータのそれぞれが、前記割り込み信号を受信するたびに前記タイマがカウントした全ての値に基づいてアドレスを算出し、算出した前記アドレスを自機に設定するステップと、
を有するアドレス設定方法。
An address setting method for setting unique addresses to a plurality of first devices, comprising the steps of:
a step of starting to supply power to the first devices, so that an oscillator included in each of the first devices starts generating a clock signal;
a step of counting the clock signal of the oscillator by a timer in each of the computers included in the first device ;
a step of a computer included in a second device transmitting an interrupt signal to a plurality of the first devices a plurality of times ;
a step in which each of the computers included in the first device calculates an address based on all values counted by the timer every time the computer receives the interrupt signal, and sets the calculated address in the computer;
The address setting method includes:
複数の室内機と、室外機とを備える空調システムにおける前記室内機の各々へ固有のアドレスを設定するアドレス設定方法であって、
前記室内機へ電力の供給が開始されることにより、前記室内機のそれぞれが備える発振器クロック信号の生成を開始するステップと、
前記室内機が備えるコンピュータのそれぞれが、前記発振器のクロック信号をタイマによってカウントするステップと、
前記室外機が備えるコンピュータが、複数の前記室内機へ、複数回、前記室外機から割り込み信号を送信するステップと、
送信された前記割り込み信号を前記室内機が受信するたびに、前記室内機が備えるコンピュータのそれぞれが、前記割り込み信号を受信した時に前記タイマがカウントした値に基づいてアドレスを算出し、算出した前記アドレスを自機に設定するステップと、
前記室外機が備えるコンピュータが、複数の前記室内機に設定されたアドレスを問い合わせるステップと、
前記室外機が備えるコンピュータによる問い合わせに対して、前記室内機が備えるコンピュータのそれぞれが、算出した全ての前記アドレスを前記室外機へ応答するステップと、
前記室外機が備えるコンピュータが、応答された全ての前記アドレスについて、複数の前記室内機での重複の有無を検出するステップと、
前記検出するステップにて、前記アドレスが重複していることを検出すると、前記室外機が備えるコンピュータが、再度、複数の前記室内機へ、複数回、割り込み信号を送信するステップと、
を有するアドレス設定方法。
An address setting method for setting a unique address to each of a plurality of indoor units and an outdoor unit in an air conditioning system including the indoor units,
a step of starting to supply power to the indoor units, so that an oscillator included in each of the indoor units starts generating a clock signal;
A step in which each of the computers included in the indoor units counts the clock signal of the oscillator using a timer;
a step of a computer included in the outdoor unit transmitting an interrupt signal from the outdoor unit to a plurality of the indoor units a plurality of times ;
Each time the indoor unit receives the transmitted interrupt signal, each computer included in the indoor unit calculates an address based on the count value of the timer when the interrupt signal is received, and sets the calculated address in the indoor unit;
A computer included in the outdoor unit inquires about addresses set in the indoor units;
a step of each of the computers included in the indoor units responding to an inquiry by the computer included in the outdoor unit with all of the calculated addresses to the outdoor unit;
a step in which a computer included in the outdoor unit detects whether or not there is duplication among a plurality of the indoor units for all of the responded addresses;
a step of, when detecting that the address is duplicated in the detecting step, the computer included in the outdoor unit again transmitting an interrupt signal to the indoor units a plurality of times;
The address setting method includes:
複数の室内機と、室外機とを備える空調システムにおける前記室内機の各々へ固有のアドレスを設定するアドレス設定方法であって、
前記室内機へ電力の供給が開始されることにより、前記室内機のそれぞれが備える発振器クロック信号の生成を開始するステップと、
前記室内機が備えるコンピュータのそれぞれが、前記発振器のクロック信号をタイマによってカウントするステップと、
前記室外機が備えるコンピュータが、前記室内機へ、複数回、前記室外機から割り込み信号を送信するステップと、
前記室内機が備えるコンピュータのそれぞれが、前記割り込み信号を受信するたびに前記タイマがカウントした全ての値に基づいてアドレスを算出し、算出した前記アドレスを自機に設定するステップと、
を有するアドレス設定方法。
An address setting method for setting a unique address to each of a plurality of indoor units and an outdoor unit in an air conditioning system including the indoor units,
a step of starting to supply power to the indoor units, so that an oscillator included in each of the indoor units starts generating a clock signal;
A step in which each of the computers included in the indoor units counts the clock signal of the oscillator using a timer;
a step of a computer included in the outdoor unit transmitting an interrupt signal from the outdoor unit to the indoor unit a plurality of times ;
a step in which each of the computers included in the indoor units calculates an address based on all values counted by the timer each time the computer receives the interrupt signal, and sets the calculated address in the indoor unit;
The address setting method includes:
JP2021016780A 2021-02-04 2021-02-04 Address setting system, air conditioning system and address setting method Active JP7614868B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021016780A JP7614868B2 (en) 2021-02-04 2021-02-04 Address setting system, air conditioning system and address setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021016780A JP7614868B2 (en) 2021-02-04 2021-02-04 Address setting system, air conditioning system and address setting method

Publications (2)

Publication Number Publication Date
JP2022119558A JP2022119558A (en) 2022-08-17
JP7614868B2 true JP7614868B2 (en) 2025-01-16

Family

ID=82848333

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021016780A Active JP7614868B2 (en) 2021-02-04 2021-02-04 Address setting system, air conditioning system and address setting method

Country Status (1)

Country Link
JP (1) JP7614868B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001217852A (en) 2000-02-04 2001-08-10 Meidensha Corp Method for setting slave station address
JP2003185233A (en) 2001-12-20 2003-07-03 Fujitsu General Ltd Address setting device and address setting method for air conditioner
JP2007312327A (en) 2006-05-22 2007-11-29 Fujitsu General Ltd Address automatic setting system
JP2013152054A (en) 2012-01-26 2013-08-08 Daikin Industries Ltd Air conditioner

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001217852A (en) 2000-02-04 2001-08-10 Meidensha Corp Method for setting slave station address
JP2003185233A (en) 2001-12-20 2003-07-03 Fujitsu General Ltd Address setting device and address setting method for air conditioner
JP2007312327A (en) 2006-05-22 2007-11-29 Fujitsu General Ltd Address automatic setting system
JP2013152054A (en) 2012-01-26 2013-08-08 Daikin Industries Ltd Air conditioner

Also Published As

Publication number Publication date
JP2022119558A (en) 2022-08-17

Similar Documents

Publication Publication Date Title
US10372095B2 (en) Method for the fail-safe operation of a process control system with redundant control devices
KR100932057B1 (en) PL
JPH08227344A (en) Communication control equipment between duplex disk controllers
JP6638489B2 (en) Relay device, control method of relay device, control program, and recording medium
EP1261973B1 (en) Fault-tolerant data transfer
JP7614868B2 (en) Address setting system, air conditioning system and address setting method
JP2010067115A (en) Data storage system and data storage method
JPH1041964A (en) Programmable controller network system
JP5908068B2 (en) Standby redundant unit
JP4938944B2 (en) Elevator information transmission control device
JP2000341357A (en) Communication control device, measurement control system, and recording medium
JP6762546B1 (en) Serial communication method and serial communication system
JPS6242260A (en) Decentralized processing method
CN109857029B (en) Working method of dual-processor control system, magnetic suspension bearing monitoring system and working method thereof, compressor and air conditioner
CN111919180B (en) Conveyor system controller, conveyor system and data synchronization method
CN112328431A (en) Recovery device and method for BMC (baseboard management controller) system
CN113519143A (en) Control system and control device
JP2752760B2 (en) Power control method
CN113508562A (en) Control system and control device
JP2001157276A (en) Communication processing method in control system
JP3178804B2 (en) Multiplexed communication control method and communication control device
JPH02146449A (en) Inspection method for air conditioner
JPH07121394A (en) Multiplexer
CN121165424A (en) Controller capable of adjusting load port, control method, device and storage medium
JP2848442B2 (en) Arbitrary message data discrimination method

Legal Events

Date Code Title Description
A625 Written request for application examination (by other person)

Free format text: JAPANESE INTERMEDIATE CODE: A625

Effective date: 20231227

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240917

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240924

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241121

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241227

R150 Certificate of patent or registration of utility model

Ref document number: 7614868

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150