JP6293375B2 - Air conditioning system - Google Patents

Air conditioning system Download PDF

Info

Publication number
JP6293375B2
JP6293375B2 JP2017520282A JP2017520282A JP6293375B2 JP 6293375 B2 JP6293375 B2 JP 6293375B2 JP 2017520282 A JP2017520282 A JP 2017520282A JP 2017520282 A JP2017520282 A JP 2017520282A JP 6293375 B2 JP6293375 B2 JP 6293375B2
Authority
JP
Japan
Prior art keywords
transmission
communication
buffer
unit
frame
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
JP2017520282A
Other languages
Japanese (ja)
Other versions
JPWO2016189974A1 (en
Inventor
勝弘 廣瀬
勝弘 廣瀬
染谷 潤
潤 染谷
浩司 陸川
浩司 陸川
一生 前田
一生 前田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of JPWO2016189974A1 publication Critical patent/JPWO2016189974A1/en
Application granted granted Critical
Publication of JP6293375B2 publication Critical patent/JP6293375B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/89Arrangement or mounting of control or safety devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Air Conditioning Control Device (AREA)

Description

本発明は、室外機及び室内機を含む複数の通信機器がネットワークで接続された空気調和システムに関する。   The present invention relates to an air conditioning system in which a plurality of communication devices including an outdoor unit and an indoor unit are connected via a network.

従来から、空気調和システムにおける通信の中継方法として、リピータを用いる方法が知られている。リピータは、各セグメント内で閉じた中継不要の通信も中継するため、通信トラフィックが増大する。また、リピータは、減衰した伝送波形を増幅する機能を有するため、リピータを用いれば、伝送距離を延長することができる。しかし、空気調和システムにおける通信では、伝送距離が長くなると、伝搬遅延によって伝送波形の位相ずれが生じることから、各通信機器が伝送波形を識別できなくなり通信が不可能となる。このため、空気調和システムの伝送距離は制限され、リピータの多段接続台数も制限される。さらに、伝送波形にノイズを含む場合、リピータは、ノイズを増幅して中継するため、ノイズによるセグメントを跨いだ通信異常の発生頻度が高まる。   2. Description of the Related Art Conventionally, a method using a repeater is known as a communication relay method in an air conditioning system. Since the repeater also relays communication that does not need to be relayed closed within each segment, communication traffic increases. Further, since the repeater has a function of amplifying the attenuated transmission waveform, the transmission distance can be extended by using the repeater. However, in communication in an air conditioning system, if the transmission distance becomes long, a phase shift of the transmission waveform occurs due to propagation delay, so that each communication device cannot identify the transmission waveform and communication is impossible. For this reason, the transmission distance of an air conditioning system is restrict | limited and the multistage connection number of repeaters is also restrict | limited. Furthermore, when the transmission waveform includes noise, the repeater amplifies the noise and relays it, so that the frequency of occurrence of communication abnormality across segments due to noise increases.

各セグメント内で閉じた通信の流出を防ぐ中継方法としては、ブリッジを用いる方法が知られている。ブリッジは、セグメント間に跨がる通信を中継し、各セグメント内で閉じた通信を遮断するように構成されているため、リピータを用いた場合と比較して、通信トラフィックを削減することができる。また、ブリッジは、セグメント間を物理的に遮断することから、伝搬遅延がセグメント毎に閉じている。このため、空気調和システムの伝送距離は各セグメント毎に制限されるが、ブリッジは、多段接続することにより、空気調和システムの伝送距離を制限なく延長することができる。さらに、ブリッジは、伝送波形を識別して中継することから、伝送波形にノイズを含む場合でも、ノイズを遮断することができるため、ノイズによるセグメントを跨いだ通信異常の発生を防止することができる。   A method using a bridge is known as a relay method for preventing outflow of communication closed in each segment. Since the bridge is configured to relay communication across segments and block closed communication within each segment, communication traffic can be reduced compared to using a repeater. . Further, since the bridge physically blocks between the segments, the propagation delay is closed for each segment. For this reason, although the transmission distance of an air conditioning system is restrict | limited for every segment, the bridge can extend the transmission distance of an air conditioning system without a restriction | limiting by connecting in multistage. Further, since the bridge identifies and relays the transmission waveform, even when the transmission waveform includes noise, the bridge can block the noise, thereby preventing occurrence of communication abnormality across segments due to noise. .

ただし、ブリッジは、中継が必要なフレームを、中継が完了するまでバッファに格納しておくため、バッファの残量がなくなると、フレームの中継を行うことができなくなる。そこで、従来から、バッファの残量がなくなった場合に、ブリッジが、バッファ内の特定フレームを破棄し、有限であるバッファの容量に空きを確保するという方法が採られている(例えば特許文献1参照)。   However, since the bridge stores a frame that needs to be relayed in a buffer until the relaying is completed, the frame cannot be relayed when the remaining buffer capacity is exhausted. Therefore, conventionally, when the remaining capacity of the buffer runs out, a method is adopted in which the bridge discards a specific frame in the buffer and secures a vacant buffer capacity (for example, Patent Document 1). reference).

また、空気調和システムにおいては、フレームの伝送方式として、衝突検出型の伝送方式が用いられている。衝突検出型の伝送方式において、ブリッジ等の通信機器は、通信路の占有状態を常に監視し、通信路が占有されていない場合に、他の通信機器の送信終了から一定時間が経過したタイミングでフレームの送信を開始する。このとき、同じタイミングで送信を開始する通信機器が複数存在した場合、送信開始した各通信機器は、通信の衝突を検出する。衝突検出した通信機器は、フレームの送信を停止し、送信タイミングを遅らせてフレームの再送を行う。優先度が低いフレームを送信する通信機器ほど衝突を検出しやすくなるように設定すれば、通信に優先度を設けた衝突検出型の伝送方式を実現することができる。すなわち、最も優先度の高いフレームを送信する通信機器は、衝突を検出せずに勝ち残り、送信を完了することができる。   In the air conditioning system, a collision detection type transmission method is used as a frame transmission method. In a collision detection type transmission system, a communication device such as a bridge always monitors the occupation state of a communication channel, and when the communication channel is not occupied, at a timing when a certain time has elapsed from the end of transmission of another communication device. Start sending frames. At this time, if there are a plurality of communication devices that start transmission at the same timing, each communication device that has started transmission detects a communication collision. The communication device that has detected the collision stops frame transmission and retransmits the frame with a delay in transmission timing. If a communication device that transmits a frame having a lower priority is set so that a collision can be detected more easily, a collision detection type transmission method in which priority is given to communication can be realized. That is, the communication device that transmits the frame with the highest priority can survive without detecting a collision and complete the transmission.

特開平5−153122号公報JP-A-5-153122

しかしながら、ブリッジは、任意の優先度のフレームを中継するものであるため、特許文献1の構成では、通信の衝突を避けることができない。また、ブリッジは、連続して衝突検出して再送する場合、再送中に受信した中継が必要なフレームをバッファに格納するため、バッファの残量がなくなり、フレームが格納できず破棄されることになる。また、バッファを大きくすることは、コストの増大に繋がる。   However, since the bridge relays frames having an arbitrary priority, the configuration of Patent Document 1 cannot avoid a communication collision. In addition, when the bridge continuously detects a collision and retransmits it, the frame that needs to be relayed during retransmission is stored in the buffer, so there is no buffer remaining and the frame cannot be stored and discarded. Become. In addition, increasing the size of the buffer leads to an increase in cost.

すなわち、ブリッジによる衝突検出型の伝送方式では、フレームを送信した通信機器が接続されているセグメントからブリッジへの送信が成功しても、バッファに一次記憶されたフレームが、ブリッジから他のセグメントに送信され、中継が完了するまでは、送信の成功が確定しない。このため、バッファの残量がなくなった場合、特許文献1のように、ブリッジがバッファの特定フレームを破棄すると、各通信機器は、自身の接続されているセグメントからブリッジへの送信が成功した場合でも、中継先の他のセグメントへの送信が失敗したことになり、各通信機器の通信通達状況に齟齬が発生する。かかる状況において、フレームを送信した通信機器は、送信が成功したフレームに対する応答が返ってこないなどの通信異常を検出することになる。よって、ブリッジによる衝突検出型の伝送方式を採り入れた空気調和システムにおいて、データ破棄による通信異常の発生を抑制することが望まれている。   That is, in the collision detection type transmission system using the bridge, even if transmission from the segment to which the communication device that transmitted the frame is connected to the bridge succeeds, the frame temporarily stored in the buffer is transferred from the bridge to another segment. The transmission is not successful until the transmission is completed. For this reason, when the remaining capacity of the buffer is exhausted, as in Patent Document 1, when the bridge discards the specific frame of the buffer, each communication device succeeds in transmission from the connected segment to the bridge. However, transmission to the other segment of the relay destination has failed, and the communication notification status of each communication device is inconsistent. In such a situation, the communication device that has transmitted the frame detects a communication abnormality such that a response to the successfully transmitted frame is not returned. Therefore, in an air conditioning system that adopts a collision detection type transmission system using a bridge, it is desired to suppress the occurrence of communication abnormality due to data discard.

本発明は、上記のような課題を解決するためになされたもので、通信トラフィックの増大を抑制する機能を保持しながら、データ破棄による通信異常の発生を抑制する空気調和システムを提供することを目的とする。   The present invention has been made to solve the above-described problems, and provides an air conditioning system that suppresses the occurrence of communication abnormality due to data discarding while maintaining the function of suppressing an increase in communication traffic. Objective.

本発明に係る空気調和システムは、室内機及び室外機を含む複数の通信機器がネットワークで接続され、ネットワークが複数のセグメントに分割された空気調和システムであって、複数のセグメント間での通信を中継するブリッジを備え、ブリッジは、複数のセグメントのそれぞれからフレームを受信する複数の受信部と、複数のセグメントごとの通信機器のアドレスが登録されたアドレステーブルと、フレームを一次記憶するバッファと、受信部において受信されたフレームの宛先アドレスがアドレステーブルに存在する場合に、受信部において受信されたフレームをバッファに一次記憶させる中継判定部と、バッファに一次記憶されたフレームを送信元とは異なるセグメントへ送信する複数の送信部と、送信部がフレームの送信を開始する送信開始タイミングを設定する送信タイミング設定部と、を有し、送信タイミング設定部は、推定した通信トラフィックに基づいて残量閾値を制御する機能を有すると共に、バッファの残量が残量閾値より大きい場合に、送信開始タイミングを予め決められた規定タイミングに設定し、バッファの残量が残量閾値以下である場合に、送信開始タイミングを規定タイミングよりも早く設定するものである。   An air conditioning system according to the present invention is an air conditioning system in which a plurality of communication devices including an indoor unit and an outdoor unit are connected by a network, and the network is divided into a plurality of segments, and communication between the plurality of segments is performed. A bridge for relaying, the bridge, a plurality of receiving units that receive frames from each of a plurality of segments, an address table in which addresses of communication devices for each of the plurality of segments are registered, a buffer that temporarily stores the frames, When the destination address of the frame received at the receiving unit exists in the address table, the relay determination unit that primarily stores the frame received at the receiving unit in the buffer, and the frame that is temporarily stored in the buffer are different from the transmission source Multiple transmitters that transmit to the segment, and the transmitter starts transmitting frames A transmission timing setting unit that sets a transmission start timing. The transmission timing setting unit has a function of controlling the remaining amount threshold based on the estimated communication traffic, and the remaining amount of the buffer is larger than the remaining amount threshold. In this case, the transmission start timing is set to a predetermined specified timing, and when the remaining amount of the buffer is equal to or less than the remaining amount threshold, the transmission start timing is set earlier than the specified timing.

本発明の空気調和システムによれば、送信タイミング設定部が、バッファの残量が残量閾値以下である場合に、送信開始タイミングを規定タイミングよりも早く設定することから、各送信部が、他の通信機器によるフレーム送信のタイミングよりも早いタイミングでフレームを送信することができるため、通信異常の発生を抑制することができる。   According to the air conditioning system of the present invention, since the transmission timing setting unit sets the transmission start timing earlier than the specified timing when the remaining amount of the buffer is equal to or less than the remaining amount threshold value, each transmission unit Since the frame can be transmitted at a timing earlier than the frame transmission timing by the communication device, the occurrence of the communication abnormality can be suppressed.

本発明の実施の形態1に係る空気調和システムの構成を示すブロック図である。It is a block diagram which shows the structure of the air conditioning system which concerns on Embodiment 1 of this invention. 図1の空気調和システムが有するブリッジの物理的な構成を例示するブロック図である。It is a block diagram which illustrates the physical structure of the bridge | bridging which the air conditioning system of FIG. 1 has. 図2のブリッジの機能的な構成を示すブロック図である。It is a block diagram which shows the functional structure of the bridge | bridging of FIG. 図3のブリッジが中継処理する各フレームの構成例を示す説明図である。It is explanatory drawing which shows the structural example of each flame | frame which the bridge | bridging of FIG. 3 relays. 図3のブリッジが有するアドレステーブルの構成例を示す説明図である。It is explanatory drawing which shows the structural example of the address table which the bridge | bridging of FIG. 3 has. 図3のブリッジが有する各バッファの構成例を示す模式図である。It is a schematic diagram which shows the structural example of each buffer which the bridge | bridging of FIG. 3 has. フレームの衝突時における優先レベルを示すコードの設定方法を例示する説明図である。It is explanatory drawing which illustrates the setting method of the code which shows the priority level at the time of the collision of a frame. 図3のブリッジが規定タイミングでフレームを送信する場合のタイミング図である。FIG. 4 is a timing chart when the bridge of FIG. 3 transmits a frame at a specified timing. 図3のブリッジが有する各送信タイミング値を規定値より短く設定したときのタイミング図である。FIG. 4 is a timing chart when each transmission timing value included in the bridge of FIG. 3 is set shorter than a specified value. 図3のブリッジによる全体的な動作を示すフローチャートである。It is a flowchart which shows the whole operation | movement by the bridge | bridging of FIG. 図3のブリッジによる中継送信時の送信制御を示すフローチャートである。It is a flowchart which shows the transmission control at the time of the relay transmission by the bridge | bridging of FIG. 本発明の実施の形態2に係る空気調和システムが有するブリッジの機能的な構成を示すブロック図である。It is a block diagram which shows the functional structure of the bridge | bridging which the air conditioning system which concerns on Embodiment 2 of this invention has. 図12のブリッジによる中継送信時の送信制御を示すフローチャートである。It is a flowchart which shows the transmission control at the time of the relay transmission by the bridge | bridging of FIG. 本発明の実施の形態3に係る空気調和システムが有するブリッジの機能的な構成を示すブロック図である。It is a block diagram which shows the functional structure of the bridge | bridging which the air conditioning system which concerns on Embodiment 3 of this invention has. 図14のブリッジが有するアドレステーブルの構成例を示す説明図である。It is explanatory drawing which shows the structural example of the address table which the bridge | bridging of FIG. 14 has. 図14のブリッジが有する残量閾値及び基準係数の設定用の特性テーブルを例示する説明図である。FIG. 15 is an explanatory diagram illustrating a characteristic table for setting a remaining amount threshold value and a reference coefficient included in the bridge of FIG. 14; 本発明の実施の形態4の空気調和システムが有するアドレステーブルを例示する説明図である。It is explanatory drawing which illustrates the address table which the air conditioning system of Embodiment 4 of this invention has. 本発明の実施の形態5に係る空気調和システムが有するブリッジの機能的な構成を示すブロック図である。It is a block diagram which shows the functional structure of the bridge | bridging which the air conditioning system which concerns on Embodiment 5 of this invention has. 図18のブリッジが有する全通信ポートに共通のバッファを例示する模式図である。FIG. 19 is a schematic diagram illustrating a buffer common to all communication ports included in the bridge of FIG. 18. 本発明の実施の形態6に係る空気調和システムが有するデジタルリピータの機能的な構成を示すブロック図である。It is a block diagram which shows the functional structure of the digital repeater which the air conditioning system which concerns on Embodiment 6 of this invention has. 図20のデジタルリピータによる全体的な動作を示すフローチャートである。FIG. 21 is a flowchart showing an overall operation by the digital repeater of FIG. 20. FIG. 本発明の実施の形態7に係る空気調和システムが有するブリッジの機能的な構成を示すブロック図である。It is a block diagram which shows the functional structure of the bridge | bridging which the air conditioning system which concerns on Embodiment 7 of this invention has. 図22のブリッジによる全体的な動作を示すフローチャートである。It is a flowchart which shows the whole operation | movement by the bridge | bridging of FIG. 本発明の実施の形態8に係る空気調和システムが有するブリッジの機能的な構成を示すブロック図である。It is a block diagram which shows the functional structure of the bridge | bridging which the air conditioning system which concerns on Embodiment 8 of this invention has. 図24のブリッジによる全体的な動作を示すフローチャートである。It is a flowchart which shows the whole operation | movement by the bridge | bridging of FIG. 本発明の実施の形態9に係る空気調和システムが有するデジタルリピータの機能的な構成を示すブロック図である。It is a block diagram which shows the functional structure of the digital repeater which the air conditioning system which concerns on Embodiment 9 of this invention has. 図26のデジタルリピータによる全体的な動作を示すフローチャートである。It is a flowchart which shows the whole operation | movement by the digital repeater of FIG. 複数のセグメント間の通信がリピータにより中継される場合の空気調和システムを示す模式図である。It is a schematic diagram which shows an air conditioning system in case communication between several segments is relayed by a repeater. 複数のセグメント間の通信がブリッジにより中継される場合の空気調和システムを示す模式図である。It is a schematic diagram which shows an air conditioning system in case communication between several segments is relayed by a bridge.

実施の形態1.
図1は、本発明の実施の形態1に係る空気調和システム(空調冷熱システム)の構成を示すブロック図である。図1に示すように、空気調和システム10は、複数の通信機器として、集中コントローラ91及び92と、室外機93と、室内機94〜96と、ブリッジ100とを有している。集中コントローラ91及び92は、セグメント90Aのバス97で接続されており、室外機93及び室内機94〜96は、セグメント90Bのバス98で接続されている。集中コントローラ91及び92は、空気調和システム10に対する操作を受け付けて室外機93及び室内機94〜96へ動作制御信号を送信するものである。ブリッジ100は、バス97が接続される通信ポートAと、バス98が接続される通信ポートBとを備えている。通信ポートAは、セグメント90Aに接続されている。通信ポートBは、セグメント90Bに接続されている。ブリッジ100は、通信ポートA及びBを介してセグメント90Aとセグメント90Bとの間の通信を中継処理するものである。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of an air-conditioning system (air conditioning cooling / heating system) according to Embodiment 1 of the present invention. As illustrated in FIG. 1, the air conditioning system 10 includes centralized controllers 91 and 92, outdoor units 93, indoor units 94 to 96, and a bridge 100 as a plurality of communication devices. The central controllers 91 and 92 are connected by a bus 97 of a segment 90A, and the outdoor unit 93 and the indoor units 94 to 96 are connected by a bus 98 of a segment 90B. The centralized controllers 91 and 92 receive operations for the air conditioning system 10 and transmit operation control signals to the outdoor unit 93 and the indoor units 94 to 96. The bridge 100 includes a communication port A to which the bus 97 is connected and a communication port B to which the bus 98 is connected. Communication port A is connected to segment 90A. Communication port B is connected to segment 90B. The bridge 100 relays communication between the segment 90A and the segment 90B via the communication ports A and B.

また、図1に示すように、各通信機器には、通信用の固有のアドレスが設定されている。図1の例では、集中コントローラ91及び92、室外機93、室内機94〜96、ブリッジ100のアドレスが、それぞれ、000及び201、051、001〜003、052に設定されている。   Further, as shown in FIG. 1, each communication device has a unique address for communication. In the example of FIG. 1, the addresses of the centralized controllers 91 and 92, the outdoor unit 93, the indoor units 94 to 96, and the bridge 100 are set to 000 and 201, 051, 001 to 003, and 052, respectively.

図2は、ブリッジ100の物理的な構成を例示するブロック図である。ブリッジ100は、第一送受信回路121と、第二送受信回路122と、マイクロコンピュータ123と、RAM124とを有している。第一送受信回路121、第二送受信回路122、マイクロコンピュータ123、及びRAM124は、内部バス125で接続されている。また、第一送受信回路121は、通信ポートAに接続され、第二送受信回路122は、通信ポートBに接続されている。   FIG. 2 is a block diagram illustrating a physical configuration of the bridge 100. The bridge 100 includes a first transmission / reception circuit 121, a second transmission / reception circuit 122, a microcomputer 123, and a RAM 124. The first transmission / reception circuit 121, the second transmission / reception circuit 122, the microcomputer 123, and the RAM 124 are connected by an internal bus 125. The first transmission / reception circuit 121 is connected to the communication port A, and the second transmission / reception circuit 122 is connected to the communication port B.

第一送受信回路121は、セグメント90Aから通信ポートAを介してフレームを受信するものである。第二送受信回路122は、セグメント90Bから通信ポートBを介してフレームを受信するものである。また、第一送受信回路121及び第二送受信回路122は、送信開始時に衝突検出を行う機能を有している。マイクロコンピュータ123は、第一送受信回路121又は第二送受信回路122が受信したフレームの中継の要否を判定し、中継が必要であると判定したフレームをRAM124に格納するものである。   The first transmission / reception circuit 121 receives a frame from the segment 90A via the communication port A. The second transmitting / receiving circuit 122 receives a frame from the segment 90B via the communication port B. Further, the first transmission / reception circuit 121 and the second transmission / reception circuit 122 have a function of performing collision detection at the start of transmission. The microcomputer 123 determines whether it is necessary to relay the frame received by the first transmission / reception circuit 121 or the second transmission / reception circuit 122, and stores the frame determined to be relayed in the RAM 124.

また、第一送受信回路121は、マイクロコンピュータ123がRAM124に格納したフレームを、設定されたタイミングで通信ポートAを介して送信するものである。第二送受信回路122は、マイクロコンピュータ123がRAM124に格納したフレームを、設定されたタイミングで通信ポートBを介して送信するものである。第一送受信回路121及び第二送受信回路122がフレームを送信するタイミングは、後述するように、送信タイミング設定部104A及び104Bとして機能するマイクロコンピュータ123が設定する。なお、マイクロコンピュータ123によって実現する上記各機能は、複数の処理回路が連携することにより実現してもよい。   The first transmission / reception circuit 121 transmits a frame stored in the RAM 124 by the microcomputer 123 via the communication port A at a set timing. The second transmission / reception circuit 122 transmits a frame stored in the RAM 124 by the microcomputer 123 via the communication port B at a set timing. The timing at which the first transmission / reception circuit 121 and the second transmission / reception circuit 122 transmit frames is set by the microcomputer 123 functioning as the transmission timing setting units 104A and 104B, as will be described later. The above functions realized by the microcomputer 123 may be realized by cooperation of a plurality of processing circuits.

図3は、ブリッジ100の機能的な構成を示すブロック図である。すなわち、第一送受信回路121は、受信部101Aと送信部102Aとを有しており、第二送受信回路122は、受信部101Bと送信部102Bとを有している。受信部101Aは、セグメント90Aからフレームを受信するものである。受信部101Bは、セグメント90Bからフレームを受信するものである。マイクロコンピュータ123は、中継判定部103A、中継判定部103B、送信タイミング設定部104A、及び送信タイミング設定部104Bを有している。RAM124は、複数のセグメント90A及び90Bごとの通信機器のアドレスが登録されたアドレステーブル105と、何れかの通信機器がフレームの送信を終了してから次の送信を開始するまでの時間である送信タイミング値106A及び送信タイミング値106Bとを記憶するものである。また、RAM124は、バッファ107A及び107Bとして機能するものである。送信部102A及び102Bは、バッファ107A及び107Bに一次記憶されたフレームを送信元とは異なるセグメントへ送信するものである。   FIG. 3 is a block diagram illustrating a functional configuration of the bridge 100. That is, the first transmission / reception circuit 121 has a reception unit 101A and a transmission unit 102A, and the second transmission / reception circuit 122 has a reception unit 101B and a transmission unit 102B. The receiving unit 101A receives a frame from the segment 90A. The receiving unit 101B receives a frame from the segment 90B. The microcomputer 123 includes a relay determination unit 103A, a relay determination unit 103B, a transmission timing setting unit 104A, and a transmission timing setting unit 104B. The RAM 124 stores the address table 105 in which addresses of communication devices for each of the plurality of segments 90A and 90B are registered, and the time from when any communication device finishes transmitting a frame to when it starts the next transmission. The timing value 106A and the transmission timing value 106B are stored. The RAM 124 functions as the buffers 107A and 107B. The transmission units 102A and 102B transmit frames temporarily stored in the buffers 107A and 107B to a segment different from the transmission source.

図4は、ブリッジ100が中継処理する各フレームの構成例を示す説明図である。ブリッジ100が中継処理する各フレームは、フレーム衝突時の優先レベルを示すコードPR、通信の送信元のアドレス(自己アドレス)を示すコードSA、通信における受信先のアドレスである宛先アドレス(相手アドレス)を示すコードDA、通信の制御のための制御コードCC、電文の長さを示す電文長コードBC、通信される情報を示すコードDATA、フレームの正常又は異常を確認するためのフレームチェックコードを示すコードFCC、及び肯定応答を示すコードACKを含んでいる。   FIG. 4 is an explanatory diagram illustrating a configuration example of each frame that the bridge 100 performs relay processing. Each frame relayed by the bridge 100 includes a code PR indicating a priority level at the time of a frame collision, a code SA indicating a communication source address (self address), and a destination address (partner address) which is a destination address in communication. A code DA indicating communication, a control code CC for controlling communication, a message length code BC indicating the length of a message, a code DATA indicating information to be communicated, and a frame check code for confirming normality or abnormality of a frame A code FCC and a code ACK indicating an acknowledgment are included.

受信部101A及び101Bは、フレーム受信時に、フレームチェックコードFCCを確認し、受信したフレームが正常であるか否かを判定するものである。受信部101Aは、正常であると判定した場合に、通信ポートAを介して受信したフレームを中継判定部103Aに渡すものである。受信部101Bは、正常であると判定した場合に、通信ポートBを介して受信したフレームを中継判定部103Bに渡すものである。また、受信部101A及び101Bは、異常であると判定した場合に、受信したフレームを破棄するものである。   The receiving units 101A and 101B check the frame check code FCC when receiving a frame, and determine whether or not the received frame is normal. When it is determined that the receiving unit 101A is normal, the receiving unit 101A passes the frame received via the communication port A to the relay determining unit 103A. When it is determined that the reception unit 101B is normal, the reception unit 101B passes the frame received via the communication port B to the relay determination unit 103B. The receiving units 101A and 101B discard the received frame when it is determined that there is an abnormality.

図5は、ブリッジ100が有するアドレステーブル105の構成例を示す説明図である。ブリッジ100は、電源投入後のイニシャル処理において、通信機器が取り得るアドレスのすべてに対して通信を試み、通信可能であった通信機器のアドレスを、通信ポート毎に、アドレステーブル105のアドレス記憶領域AT10へ記憶する。   FIG. 5 is an explanatory diagram illustrating a configuration example of the address table 105 included in the bridge 100. In the initial process after power-on, the bridge 100 tries to communicate with all addresses that the communication device can take, and the address of the communication device that can be communicated is stored in the address storage area of the address table 105 for each communication port. Store to AT10.

ここで、ブリッジ100が、イニシャル処理において、アドレステーブル105にアドレスを記憶する手順の一例を説明する。ブリッジ100は、イニシャル処理として、通信ポートA及びBより、アドレス000の通信機器である集中コントローラ91に対して応答を要求するフレームを送信する。このとき、通信ポートAを介して集中コントローラ91からの応答のフレームを受信した場合に、ブリッジ100は、アドレステーブル105の通信ポートAに対応するアドレス記憶領域AT10へ、応答送信元である集中コントローラ91のアドレス000を記憶する。ブリッジ100は、上記と同様の処理を、通信機器が取り得るアドレスのすべてに対して行い、応答があった通信機器のアドレスを、通信ポート毎に、アドレステーブル105のアドレス記憶領域AT10へ記憶する。このようにして、ブリッジ100は、各通信ポートに接続されている全通信機器のアドレスを記憶する。   Here, an example of a procedure in which the bridge 100 stores an address in the address table 105 in the initial process will be described. As an initial process, the bridge 100 transmits a frame for requesting a response from the communication ports A and B to the centralized controller 91 that is a communication device of the address 000. At this time, when a response frame is received from the centralized controller 91 via the communication port A, the bridge 100 transfers the centralized controller that is a response transmission source to the address storage area AT10 corresponding to the communication port A of the address table 105. 91 addresses 000 are stored. The bridge 100 performs the same process as described above for all addresses that can be taken by the communication device, and stores the address of the communication device that has responded in the address storage area AT10 of the address table 105 for each communication port. . In this way, the bridge 100 stores the addresses of all communication devices connected to each communication port.

中継判定部103Aは、受信部101Aにおいて受信されたフレームの宛先アドレス(フレームの受信先の通信機器のアドレス)が、アドレステーブル105に登録されているか否かを判定するものである。また、中継判定部103Aは、登録されていると判定した場合に、受信部101Aから渡されたフレームをバッファ107Aへ格納するものである。   The relay determination unit 103A determines whether or not the destination address of the frame received by the reception unit 101A (the address of the communication device that receives the frame) is registered in the address table 105. Further, when it is determined that the relay determination unit 103A has been registered, the relay determination unit 103A stores the frame passed from the reception unit 101A in the buffer 107A.

より具体的に、中継判定部103Aは、受信部101Aから渡されたフレームの宛先アドレスDAが、アドレステーブル105の通信ポートAに対応するアドレス記憶領域AT10に記憶されておらず、他の通信ポートである通信ポートBに対応するアドレス記憶領域AT10に記憶されている場合に、受信先の通信機器が送信元の通信機器とは異なるセグメント内にあるため、中継の必要があると判定する。中継判定部103Aは、中継の必要があると判定した場合に、受信部101Aから渡されたフレームをバッファ107Aへ格納する。一方、上記以外の場合には受信先の通信機器が存在しないため、中継判定部103Aは、中継の必要がないと判定し、受信部101Aから渡されたフレームをバッファ107Aに格納しない。   More specifically, the relay determination unit 103A determines that the destination address DA of the frame passed from the receiving unit 101A is not stored in the address storage area AT10 corresponding to the communication port A of the address table 105, and other communication ports Is stored in the address storage area AT10 corresponding to the communication port B, the reception destination communication device is in a different segment from the transmission source communication device. When the relay determination unit 103A determines that relaying is necessary, the relay determination unit 103A stores the frame passed from the reception unit 101A in the buffer 107A. On the other hand, in cases other than the above, since there is no communication device as a reception destination, the relay determination unit 103A determines that relay is not necessary, and does not store the frame passed from the reception unit 101A in the buffer 107A.

送信タイミング設定部104Bは、送信部102Bがフレームの送信を開始する送信開始タイミングを設定(変更)するものである。すなわち、送信タイミング設定部104Bは、バッファ107Aの残量に合わせて送信タイミング値106Bを設定するものである。より具体的に、送信タイミング設定部104Bは、バッファ107Aの残量が残量閾値より大きい場合に、送信開始タイミングを予め決められた規定タイミングに設定し、バッファ107Aの残量が残量閾値以下である場合に、送信開始タイミングを規定タイミングよりも早く設定するものである。送信部102Bは、バッファ107Aにフレームが格納されている場合に、送信タイミング値106Bに設定されたタイミングで、バッファ107A内のフレームを送信するものである。   The transmission timing setting unit 104B sets (changes) the transmission start timing at which the transmission unit 102B starts frame transmission. That is, the transmission timing setting unit 104B sets the transmission timing value 106B in accordance with the remaining amount of the buffer 107A. More specifically, when the remaining amount of the buffer 107A is larger than the remaining amount threshold, the transmission timing setting unit 104B sets the transmission start timing to a predetermined specified timing, and the remaining amount of the buffer 107A is equal to or less than the remaining amount threshold. In this case, the transmission start timing is set earlier than the prescribed timing. When the frame is stored in the buffer 107A, the transmission unit 102B transmits the frame in the buffer 107A at the timing set in the transmission timing value 106B.

中継判定部103Bは、受信部101Bにおいて受信されたフレームの宛先アドレスが、アドレステーブル105に登録されているか否かを判定するものである。また、中継判定部103Bは、登録されていると判定した場合に、受信部101Bから渡されたフレームをバッファ107Bへ格納するものである。   The relay determination unit 103B determines whether or not the destination address of the frame received by the reception unit 101B is registered in the address table 105. In addition, when the relay determination unit 103B determines that it is registered, the relay determination unit 103B stores the frame passed from the reception unit 101B in the buffer 107B.

より具体的に、中継判定部103Bは、受信部101Bから渡されたフレームの宛先アドレスDAが、アドレステーブル105の通信ポートBに対応するアドレス記憶領域AT10に記憶されておらず、通信ポートAに対応するアドレス記憶領域AT10に記憶されている場合に、中継の必要があると判定する。中継判定部103Bは、中継の必要があると判定した場合に、受信部101Bから渡されたフレームをバッファ107Bへ格納する。一方、上記以外の場合には受信先の通信機器が存在しないため、中継判定部103Bは、中継の必要がないと判定し、受信部101Bから渡されたフレームをバッファ107Bに格納しない。   More specifically, the relay determination unit 103B determines that the destination address DA of the frame passed from the reception unit 101B is not stored in the address storage area AT10 corresponding to the communication port B of the address table 105, and the communication port A If it is stored in the corresponding address storage area AT10, it is determined that relaying is necessary. When the relay determination unit 103B determines that relaying is necessary, the relay determination unit 103B stores the frame passed from the reception unit 101B in the buffer 107B. On the other hand, in cases other than the above, since there is no communication device as a reception destination, the relay determination unit 103B determines that relay is not necessary, and does not store the frame passed from the reception unit 101B in the buffer 107B.

送信タイミング設定部104Aは、送信部102Aがフレームの送信を開始する送信開始タイミングを設定(変更)するものである。すなわち、送信タイミング設定部104Aは、バッファ107Bの残量に合わせて送信タイミング値106Aを設定するものである。より具体的に、送信タイミング設定部104Aは、バッファ107Bの残量が残量閾値より大きい場合に、送信開始タイミングを規定タイミングに設定し、バッファ107Bの残量が残量閾値以下である場合に、送信開始タイミングを規定タイミングよりも早く設定するものである。送信部102Aは、バッファ107Bにフレームが格納されている場合に、送信タイミング値106Aに設定されたタイミングで、バッファ107B内のフレームの送信を実施するものである。   The transmission timing setting unit 104A sets (changes) transmission start timing at which the transmission unit 102A starts transmission of a frame. That is, the transmission timing setting unit 104A sets the transmission timing value 106A according to the remaining amount of the buffer 107B. More specifically, the transmission timing setting unit 104A sets the transmission start timing to a specified timing when the remaining amount of the buffer 107B is larger than the remaining amount threshold value, and when the remaining amount of the buffer 107B is equal to or smaller than the remaining amount threshold value. The transmission start timing is set earlier than the prescribed timing. When the frame is stored in the buffer 107B, the transmission unit 102A performs transmission of the frame in the buffer 107B at the timing set in the transmission timing value 106A.

ここで、バッファ107Aの残量とは、バッファ107Aの容量から使用容量を引いた値であり、バッファ107Bの残量とは、バッファ107Bの容量から使用容量を引いた値である。バッファ107Aとバッファ107Bとは、同じ容量であってもよく、異なる容量であってもよい。   Here, the remaining capacity of the buffer 107A is a value obtained by subtracting the used capacity from the capacity of the buffer 107A, and the remaining capacity of the buffer 107B is a value obtained by subtracting the used capacity from the capacity of the buffer 107B. The buffer 107A and the buffer 107B may have the same capacity or different capacities.

図6は、ブリッジ100が有するバッファ107A及び107Bの構成例を示す模式図である。中継判定部103Aは、通信ポートAを介して受信したフレームを、中継用のバッファ107Aへ格納する。バッファ107Aには、受信した順にフレームが格納される。送信部102Bは、バッファ107Aに格納されたフレームを、古いものから順に送信する。送信部102Bは、フレームの送信に成功すると、送信に成功したフレームをバッファ107Aから削除する。   FIG. 6 is a schematic diagram illustrating a configuration example of the buffers 107A and 107B included in the bridge 100. The relay determination unit 103A stores the frame received via the communication port A in the relay buffer 107A. Frames are stored in the buffer 107A in the order received. The transmission unit 102B transmits the frames stored in the buffer 107A in order from the oldest frame. If the transmission of the frame is successful, the transmission unit 102B deletes the frame that has been successfully transmitted from the buffer 107A.

また、中継判定部103Bは、通信ポートBを介して受信したフレームを、中継用のバッファ107Bへ格納する。バッファ107Bにも、受信した順にフレームが格納される。送信部102Aは、バッファ107Bに格納されたフレームを、古いものから順に送信する。送信部102Aは、フレームの送信に成功すると、送信に成功したフレームをバッファ107Bから削除する。   Also, the relay determination unit 103B stores the frame received via the communication port B in the relay buffer 107B. Frames are also stored in the buffer 107B in the order received. The transmitting unit 102A transmits the frames stored in the buffer 107B in order from the oldest frame. When the transmission unit 102A successfully transmits the frame, the transmission unit 102A deletes the frame that has been successfully transmitted from the buffer 107B.

一方、送信部102A及び102Bは、フレームの送信に失敗すると、送信が成功するまでフレームの再送を行う。このため、バッファ107A及び107Bに格納されている次の送信予定のフレームは、それぞれ、バッファ107A及び107Bに蓄積されたままの状態となる。   On the other hand, when the transmission units 102A and 102B fail to transmit a frame, the transmission units 102A and 102B retransmit the frame until the transmission is successful. For this reason, the frames to be transmitted next stored in the buffers 107A and 107B remain accumulated in the buffers 107A and 107B, respectively.

図7は、フレームの衝突時における優先レベルを示すコードPRの設定方法を例示する説明図である。第一送受信回路121及び第二送受信回路122は、通信路の占有状態を監視しており、通信路が占有されていない場合、送信部102A及び102Bは、それぞれ、送信タイミング値106A及び106Bに設定されたタイミングでフレームの送信を開始する。送信部102A及び102Bは、送信開始時に衝突検出を行うが、通信の衝突時は、図4に示す優先レベルPRによってフレームの勝ち残りが決まる。   FIG. 7 is an explanatory diagram illustrating a method for setting a code PR indicating a priority level at the time of frame collision. The first transmission / reception circuit 121 and the second transmission / reception circuit 122 monitor the occupation state of the communication path. When the communication path is not occupied, the transmission units 102A and 102B set the transmission timing values 106A and 106B, respectively. Frame transmission starts at the specified timing. The transmission units 102A and 102B perform collision detection at the start of transmission, but at the time of communication collision, the remaining frame win is determined by the priority level PR shown in FIG.

図7の例では、優先レベルが最も高いフレームに優先レベル1が設定されている。すなわち、図7の優先レベルの欄に示す数が、1、2、3、4と大きくなるにつれて、優先レベルが低下するように設定されている。例えば、優先レベル1のフレームと優先レベル2のフレームとの衝突が発生した場合は、優先レベル1のフレームが勝ち残り、優先レベル1のフレームが送信される。優先レベル2のフレームを送信した通信機器は、衝突検出により送信を停止し、次の送信可能なタイミングで再送を行う。   In the example of FIG. 7, priority level 1 is set for the frame with the highest priority level. That is, the priority level is set to decrease as the number shown in the priority level column of FIG. For example, when a collision between a priority level 1 frame and a priority level 2 frame occurs, the priority level 1 frame remains and the priority level 1 frame is transmitted. The communication device that has transmitted the priority level 2 frame stops transmission upon detection of a collision, and performs retransmission at the next transmittable timing.

図8は、ブリッジ100が規定タイミングでフレームを送信する場合のタイミング図である。図8に示すように、規定タイミングは、他の通信機器によるフレームの送信終了時刻t1から一定時間が経過した送信許可時刻t2のタイミングであり、送信終了時刻t1と送信許可時刻t2との間に規定された一定時間は、予め規定されたものである。以降では、送信終了時刻t1と送信許可時刻t2との間の規定された一定時間をマイクロコンピュータが認識できる値に変換したものを規定値Tという。   FIG. 8 is a timing diagram when the bridge 100 transmits a frame at a specified timing. As shown in FIG. 8, the specified timing is the timing of the transmission permission time t2 when a certain time has elapsed from the transmission end time t1 of the frame by another communication device, and between the transmission end time t1 and the transmission permission time t2. The specified fixed time is specified in advance. Hereinafter, a value obtained by converting a specified fixed time between the transmission end time t1 and the transmission permission time t2 into a value that can be recognized by the microcomputer is referred to as a specified value T.

空気調和システム10において、ブリッジ100以外の通信機器は、規定タイミングでフレームを送信するように構成されている。本実施の形態1において、送信タイミング設定部104Aは、バッファ107Bの残量が、予め設定された残量閾値より大きい場合に、送信タイミング値106Aを規定値Tに設定するものである。また、送信タイミング設定部104Bは、バッファ107Aの残量が、残量閾値より大きい場合に、送信タイミング値106Bを規定値Tに設定するものである。   In the air conditioning system 10, communication devices other than the bridge 100 are configured to transmit frames at a specified timing. In the first embodiment, the transmission timing setting unit 104A sets the transmission timing value 106A to the specified value T when the remaining amount of the buffer 107B is larger than a preset remaining amount threshold value. Also, the transmission timing setting unit 104B sets the transmission timing value 106B to the specified value T when the remaining amount of the buffer 107A is larger than the remaining amount threshold value.

ここで、残量閾値は、0以上で且つバッファ107A又は107Bの全容量以下の範囲内で任意に設定される定数である。残量閾値は、マイクロコンピュータ123の内部メモリ(図示せず)又はRAM124等に記憶される。本実施の形態1では、バッファ107Aの容量とバッファ107Bの容量とが等しくなるように設定した場合、残量閾値は、バッファ107A及び107Bの双方に共通する値とする。もっとも、かかる場合であっても、例えば、セグメント90A及びセグメント90Bの構成を考慮して、2つの異なる残量閾値を設定してもよい。一方、バッファ107Aの容量とバッファ107Bの容量とが異なるように設定した場合は、バッファ107A及び107Bのそれぞれに対応させて2つの異なる残量閾値を設定する。もっとも、かかる場合であっても、バッファ107A及び107Bの双方に共通する残量閾値を設定してもよい。なお、残量閾値の最大値はバッファ107A又は107Bの容量となり、残量閾値の最小値は0となる。   Here, the remaining amount threshold is a constant that is arbitrarily set within a range of 0 or more and less than the total capacity of the buffer 107A or 107B. The remaining amount threshold value is stored in an internal memory (not shown) of the microcomputer 123 or the RAM 124. In the first embodiment, when the capacity of the buffer 107A and the capacity of the buffer 107B are set to be equal, the remaining amount threshold is a value common to both the buffers 107A and 107B. However, even in such a case, for example, two different remaining amount threshold values may be set in consideration of the configuration of the segment 90A and the segment 90B. On the other hand, when the capacity of the buffer 107A and the capacity of the buffer 107B are set to be different, two different remaining amount threshold values are set corresponding to the buffers 107A and 107B, respectively. However, even in such a case, a remaining amount threshold value common to both the buffers 107A and 107B may be set. Note that the maximum value of the remaining amount threshold is the capacity of the buffer 107A or 107B, and the minimum value of the remaining amount threshold is 0.

送信タイミング値106A及び106Bが規定値Tに設定された場合、ブリッジ100を含む各通信機器は、通信路の占有を常に監視し、通信路が占有されていなければ、規定タイミングでのフレームの送信を開始する。規定タイミングで送信を開始する通信機器が複数存在するときは、通信が衝突することになる。したがって、図8のように、ブリッジ100を含むすべての通信機器が規定タイミングで送信を開始した場合は、最も優先レベルの高いフレームを送信する通信機器のみが送信を完了でき、それ以外の通信機器は、衝突を検出して送信を停止し、送信が完了するまで再送を行うことになる。   When the transmission timing values 106A and 106B are set to the predetermined value T, each communication device including the bridge 100 always monitors the occupation of the communication path. If the communication path is not occupied, the transmission of the frame at the predetermined timing is performed. To start. When there are a plurality of communication devices that start transmission at a specified timing, communication collides. Therefore, as shown in FIG. 8, when all the communication devices including the bridge 100 start transmission at the specified timing, only the communication device that transmits the frame with the highest priority level can complete the transmission, and the other communication devices Detects a collision, stops transmission, and performs retransmission until transmission is completed.

図9は、ブリッジ100が有する送信タイミング値106A及び106Bを規定値Tより短く設定したときのタイミング図である。図9に示すように、ブリッジ100は、バッファ107A及び107Bの残量が残量閾値以下であるという条件を満たす場合に、送信タイミング値106A及び106Bを規定値Tより短い時短値TSに設定する。すなわち、送信タイミング設定部104Aは、バッファ107Bの残量が残量閾値以下である場合に、送信タイミング値106Aを規定値T未満の値である時短値TSに設定するものである。また、送信タイミング設定部104Bは、バッファ107Aの残量が残量閾値以下である場合に、送信タイミング値106Bを規定値T未満の値である時短値TSに設定するものである。   FIG. 9 is a timing chart when the transmission timing values 106A and 106B of the bridge 100 are set to be shorter than the specified value T. As shown in FIG. 9, the bridge 100 sets the transmission timing values 106 </ b> A and 106 </ b> B to the short time value TS shorter than the specified value T when the condition that the remaining amounts of the buffers 107 </ b> A and 107 </ b> B are equal to or less than the remaining amount threshold value is satisfied. . That is, the transmission timing setting unit 104A sets the transmission timing value 106A to the short time value TS that is less than the specified value T when the remaining amount of the buffer 107B is less than or equal to the remaining amount threshold value. Also, the transmission timing setting unit 104B sets the transmission timing value 106B to the short time value TS that is a value less than the specified value T when the remaining amount of the buffer 107A is equal to or less than the remaining amount threshold value.

したがって、ブリッジ100は、送信部102A及び102Bにより、規定タイミングより早くフレームの送信を開始するため、ブリッジ100以外の通信機器に先駆けてフレームの送信を開始することができる。ブリッジ100以外の通信機器は、規定タイミングである送信許可時刻t2に、通信路が占有されていることを検出するため、フレームの送信を開始しない。このように、送信タイミング値106B及び106Aを規定値Tより短く設定した場合は、ブリッジ100の通信が、他の通信機器の通信と衝突しないため、ブリッジ100はフレームの送信を完了することができる。   Therefore, since the bridge 100 starts frame transmission earlier than the specified timing by the transmission units 102A and 102B, the bridge 100 can start frame transmission prior to a communication device other than the bridge 100. Communication devices other than the bridge 100 do not start frame transmission in order to detect that the communication path is occupied at the transmission permission time t2, which is the prescribed timing. As described above, when the transmission timing values 106B and 106A are set to be shorter than the predetermined value T, the communication of the bridge 100 does not collide with the communication of other communication devices, so the bridge 100 can complete the frame transmission. .

残量閾値がバッファ107A及び107Bの容量に設定された場合に、送信タイミング設定部104A及び104Bは、送信タイミング値106A及び106Bを規定値Tより短く設定するため、送信部102A及び102Bは、常に送信開始タイミングを早めた送信を実施する。一方、残量閾値を0に設定した場合に、送信タイミング設定部104A及び104Bは、バッファ107A及び107Bの残量(バッファ残量)が0になるまで、送信タイミング値106A及び106Bを規定値Tに設定する。このため、残量閾値を0に設定した場合、送信部102A及び102Bは、バッファ107A及び107Bの残量が0になるまで送信開始タイミングを早めた送信を実施しない。   When the remaining amount threshold is set to the capacity of the buffers 107A and 107B, the transmission timing setting units 104A and 104B set the transmission timing values 106A and 106B to be shorter than the specified value T. Therefore, the transmission units 102A and 102B are always Perform transmission with earlier transmission start timing. On the other hand, when the remaining amount threshold is set to 0, the transmission timing setting units 104A and 104B set the transmission timing values 106A and 106B to the specified value T until the remaining amount of the buffers 107A and 107B (buffer remaining amount) becomes 0. Set to. For this reason, when the remaining amount threshold is set to 0, the transmission units 102A and 102B do not perform transmission with earlier transmission start timing until the remaining amounts of the buffers 107A and 107B become 0.

以上のように、ブリッジ100では、送信タイミング値106A及び106Bが可変となっている。すなわち、ブリッジ100が接続された空気調和システム10の伝送方式は、ブリッジ100の送信タイミング値106A及び106Bを規定値Tより短く設定した場合に、ブリッジ100のみが優先レベルに依存せずに送信を完了できる伝送方式となる。また、ブリッジ100の送信タイミング値106A及び106Bを規定値Tに設定した場合には、通信に優先度を設けた衝突検出型の伝送方式となる。つまり、本実施の形態1における空気調和システム10によれば、バッファ107A及び107Bの残量に基づいて、ブリッジ100のみが優先レベルに依存せずに送信を完了できる伝送方式と、通信に優先度を設けた衝突検出型の伝送方式とを切り替えることができる。   As described above, in the bridge 100, the transmission timing values 106A and 106B are variable. That is, in the transmission method of the air conditioning system 10 to which the bridge 100 is connected, when the transmission timing values 106A and 106B of the bridge 100 are set to be shorter than the specified value T, only the bridge 100 transmits without depending on the priority level. The transmission method can be completed. In addition, when the transmission timing values 106A and 106B of the bridge 100 are set to the specified value T, a collision detection type transmission method in which priority is given to communication is used. In other words, according to the air conditioning system 10 in the first embodiment, based on the remaining amount of the buffers 107A and 107B, only the bridge 100 can complete transmission without depending on the priority level, and communication priority. It is possible to switch between the collision detection type transmission system provided with the.

なお、送信タイミング設定部104A及び104Bは、バッファ107A及び107Bの残量が少なくなるにつれて残量閾値を大きくするように構成してもよい。このようにすれば、バッファ107A及び107Bの残量が少なくなると、送信開始タイミングを規定タイミングよりも早めて送信する頻度を高めることができるため、バッファ107A及び107Bの残量の減少を抑制することができる。   Note that the transmission timing setting units 104A and 104B may be configured to increase the remaining amount threshold as the remaining amount of the buffers 107A and 107B decreases. In this way, if the remaining amount of the buffers 107A and 107B decreases, the frequency of transmission can be increased by making the transmission start timing earlier than the specified timing, and therefore the decrease in the remaining amount of the buffers 107A and 107B can be suppressed. Can do.

図10は、ブリッジ100による全体的な動作を示すフローチャートである。図10を参照して、ブリッジ100の全体的な動作を説明する。まず、ブリッジ100は、イニシャル処理として、全アドレスに通信を試みることでアドレステーブル105を作成する(図10:ステップS101)。次に、送信部102Bが、バッファ107A内のフレームの有無を確認する(図10:ステップS102)。送信部102Bは、バッファ107Aにフレームが有る場合(図10:ステップS102/Yes)、バッファ107A内のフレームに対して後述する送信処理を実施する(図10:ステップS103)。一方、バッファ107A内にフレームが無い場合(図10:ステップS102/No)は、ステップS104に移行する。   FIG. 10 is a flowchart showing the overall operation of the bridge 100. The overall operation of the bridge 100 will be described with reference to FIG. First, as an initial process, the bridge 100 creates an address table 105 by attempting communication with all addresses (FIG. 10: step S101). Next, the transmitting unit 102B confirms whether or not there is a frame in the buffer 107A (FIG. 10: step S102). When there is a frame in the buffer 107A (FIG. 10: Step S102 / Yes), the transmission unit 102B performs a transmission process described later on the frame in the buffer 107A (FIG. 10: Step S103). On the other hand, when there is no frame in the buffer 107A (FIG. 10: step S102 / No), the process proceeds to step S104.

次いで、送信部102Aが、バッファ107B内のフレームの有無を確認する(図10:ステップS104)。送信部102Aは、バッファ107Bにフレームが有る場合(図10:ステップS104/Yes)、バッファ107B内のフレームに対して送信処理を実施する(図10:ステップS105)。一方、バッファ107B内にフレームが無い場合(図10:ステップS104/No)は、ステップS106に移行する。   Next, the transmitting unit 102A checks whether or not there is a frame in the buffer 107B (FIG. 10: step S104). When there is a frame in the buffer 107B (FIG. 10: Step S104 / Yes), the transmission unit 102A performs transmission processing on the frame in the buffer 107B (FIG. 10: Step S105). On the other hand, when there is no frame in the buffer 107B (FIG. 10: step S104 / No), the process proceeds to step S106.

次に、受信部101Aが、通信ポートAを介して受信するフレームの有無を確認する(図10:ステップS106)。受信部101Aは、受信フレームが有る場合に(図10:ステップS106/Yes)、受信フレームを中継判定部103Aに渡す(図10:ステップS107)。中継判定部103Aは、受信フレームの宛先アドレスDAが、アドレステーブル105の通信ポートBのアドレス記憶領域AT10に存在する場合(図10:ステップS108/Yes)、受信フレームをバッファ107Aへ格納する(図10:ステップS109)。一方、中継判定部103Aは、受信フレームの宛先アドレスDAが、アドレステーブル105の通信ポートBのアドレス記憶領域AT10に存在しない場合(図10:ステップS108/No)には、受信フレームを格納しない(図10:ステップS110)。   Next, the receiving unit 101A checks whether there is a frame to be received via the communication port A (FIG. 10: Step S106). When there is a reception frame (FIG. 10: Step S106 / Yes), the reception unit 101A passes the reception frame to the relay determination unit 103A (FIG. 10: Step S107). When the destination address DA of the received frame exists in the address storage area AT10 of the communication port B of the address table 105 (FIG. 10: Step S108 / Yes), the relay determination unit 103A stores the received frame in the buffer 107A (FIG. 10). 10: Step S109). On the other hand, when the destination address DA of the received frame does not exist in the address storage area AT10 of the communication port B of the address table 105 (FIG. 10: Step S108 / No), the relay determining unit 103A does not store the received frame ( FIG. 10: Step S110).

次いで、受信部101Bが、通信ポートBを介して受信するフレームの有無を確認する(図10:ステップS111)。受信部101Bは、受信フレームが有る場合に(図10:ステップS111/Yes)、受信フレームを中継判定部103Bに渡す(図10:ステップS112)。中継判定部103Bは、受信フレームの宛先アドレスDAが、アドレステーブル105の通信ポートAのアドレス記憶領域AT10に存在する場合(図10:ステップS113/Yes)、受信フレームをバッファ107Bへ格納する(図10:ステップS114)。一方、中継判定部103Bは、受信フレームの宛先アドレスDAが、アドレステーブル105の通信ポートAのアドレス記憶領域AT10に存在しない場合(図10:ステップS113/No)には、受信フレームを格納しない(図10:ステップS115)。   Next, the receiving unit 101B checks whether there is a frame to be received via the communication port B (FIG. 10: Step S111). When there is a reception frame (FIG. 10: Step S111 / Yes), the reception unit 101B passes the reception frame to the relay determination unit 103B (FIG. 10: Step S112). When the destination address DA of the received frame is present in the address storage area AT10 of the communication port A of the address table 105 (FIG. 10: Yes in step S113), the relay determining unit 103B stores the received frame in the buffer 107B (FIG. 10). 10: Step S114). On the other hand, when the destination address DA of the received frame does not exist in the address storage area AT10 of the communication port A of the address table 105 (FIG. 10: Step S113 / No), the relay determining unit 103B does not store the received frame ( FIG. 10: Step S115).

続いて、送信部102Bがバッファ107A内のフレームの有無を確認する処理(図10:ステップS102)に戻り、ブリッジ100は、上記一連の処理(図10:ステップS102〜S115)を繰り返し実行する。   Subsequently, the transmission unit 102B returns to the process of checking the presence / absence of a frame in the buffer 107A (FIG. 10: step S102), and the bridge 100 repeatedly executes the series of processes (FIG. 10: steps S102 to S115).

図11は、ブリッジによる中継送信時の送信制御を示すフローチャートである。図11を参照して、送信部102A及び102Bによる送信処理(図10:ステップS103及びS105に相当)に関する動作を詳細に説明する。   FIG. 11 is a flowchart showing transmission control at the time of relay transmission by a bridge. With reference to FIG. 11, an operation related to transmission processing (corresponding to steps S103 and S105) by the transmission units 102A and 102B will be described in detail.

送信タイミング設定部104Bは、バッファ107Aの残量が残量閾値以下であるか否かを確認する (図11:ステップS116)。送信タイミング設定部104Bは、バッファ107Aの残量が残量閾値以下である場合に(図11:ステップS116/Yes)、送信タイミング値106Bを規定値T未満の値である時短値TSに設定する(図11:ステップS117)。そして、送信部102Bは、送信タイミング設定部104Bにより設定された送信タイミング値106Bに従い、規定タイミングよりも早いタイミングで中継用のフレームを送信する(ステップS119)。   The transmission timing setting unit 104B checks whether or not the remaining amount of the buffer 107A is less than or equal to the remaining amount threshold value (FIG. 11: Step S116). When the remaining amount of the buffer 107A is equal to or less than the remaining amount threshold value (FIG. 11: Step S116 / Yes), the transmission timing setting unit 104B sets the transmission timing value 106B to the short time value TS that is less than the specified value T. (FIG. 11: Step S117). Then, the transmission unit 102B transmits the relay frame at a timing earlier than the specified timing in accordance with the transmission timing value 106B set by the transmission timing setting unit 104B (step S119).

一方、送信タイミング設定部104Bは、バッファ107Aの残量が残量閾値より大きい場合に(図11:ステップS116/No)、送信タイミング値106Bを規定値Tに設定する(ステップS118)。そして、送信部102Bは、送信タイミング設定部104Bにより設定された送信タイミング値106Bに従い、規定タイミングによって中継用のフレームを送信する(ステップS119)。   On the other hand, when the remaining amount of the buffer 107A is larger than the remaining amount threshold value (FIG. 11: Step S116 / No), the transmission timing setting unit 104B sets the transmission timing value 106B to the specified value T (Step S118). Then, the transmission unit 102B transmits a relay frame at a specified timing in accordance with the transmission timing value 106B set by the transmission timing setting unit 104B (step S119).

同様に、送信タイミング設定部104Aは、バッファ107Bの残量が残量閾値以下であるか否かを確認する (図11:ステップS116)。送信タイミング設定部104Aは、バッファ107Bの残量が残量閾値以下である場合に(図11:ステップS116/Yes)、送信タイミング値106Aを規定値T未満の値である時短値TSに設定する(図11:ステップS117)。そして、送信部102Aは、送信タイミング設定部104Aにより設定された送信タイミング値106Aに従い、規定タイミングよりも早いタイミングで中継用のフレームを送信する(ステップS119)。   Similarly, the transmission timing setting unit 104A checks whether or not the remaining amount of the buffer 107B is less than or equal to the remaining amount threshold value (FIG. 11: Step S116). When the remaining amount of the buffer 107B is equal to or less than the remaining amount threshold value (FIG. 11: Step S116 / Yes), the transmission timing setting unit 104A sets the transmission timing value 106A to the short time value TS that is less than the specified value T. (FIG. 11: Step S117). Then, the transmission unit 102A transmits the relay frame at a timing earlier than the specified timing in accordance with the transmission timing value 106A set by the transmission timing setting unit 104A (step S119).

一方、送信タイミング設定部104Aは、バッファ107Bの残量が残量閾値より大きい場合に(図11:ステップS116/No)、送信タイミング値106Aを規定値Tに設定する(ステップS118)。そして、送信部102Aは、送信タイミング設定部104Aにより設定された送信タイミング値106Aに従い、規定タイミングによって中継用のフレームを送信する(ステップS119)。   On the other hand, when the remaining amount of the buffer 107B is larger than the remaining amount threshold (FIG. 11: Step S116 / No), the transmission timing setting unit 104A sets the transmission timing value 106A to the specified value T (Step S118). Then, the transmission unit 102A transmits a relay frame at a specified timing in accordance with the transmission timing value 106A set by the transmission timing setting unit 104A (step S119).

以上のように、本実施の形態1におけるブリッジ100は、残量閾値を最大値に設定するといった処理により、送信開始タイミングを規定タイミングよりも早めてフレームを送信することができる。よって、ブリッジ100が通信の衝突を検出する確率が低くなることから、バッファ107A及び107Bが一杯になる確率が低くなるため、通信異常が発生する確率を低減させることができる。また、ブリッジ100によれば、バッファ107A及び107Bが一杯になる確率が低くなることから、バッファ107A及び107Bの容量の削減も実現できる。このため、例えば、図2に示すマイクロコンピュータ123に内蔵されたメモリのみによって、バッファ107A及び107Bの容量を確保するという構成を実現することができる。   As described above, the bridge 100 according to the first embodiment can transmit a frame with the transmission start timing earlier than the specified timing by the process of setting the remaining amount threshold value to the maximum value. Therefore, since the probability that the bridge 100 detects a communication collision is low, the probability that the buffers 107A and 107B are full is low, and thus the probability that a communication abnormality occurs can be reduced. Further, according to the bridge 100, since the probability that the buffers 107A and 107B are full is reduced, the capacity of the buffers 107A and 107B can be reduced. Therefore, for example, a configuration in which the capacities of the buffers 107A and 107B are ensured only by the memory built in the microcomputer 123 shown in FIG.

また、残量閾値を最大値以外に設定した場合に、ブリッジ100は、バッファ107A及び107Bの残量が残量閾値以下となるまで送信開始タイミングを早めた送信を実施しない。このため、バッファ107A及び107Bが一杯となるまで、優先度に応じた送信処理を実現することができる。すなわち、ブリッジ100によれば、優先レベルの低いフレームのために、優先レベルの高いフレームが送信できないという状況を適宜回避することができるため、通信に優先度を設けた衝突検出型の伝送方式における送信ポリシーとの齟齬の発生を抑制することができる。   Further, when the remaining amount threshold is set to a value other than the maximum value, the bridge 100 does not perform transmission with earlier transmission start timing until the remaining amount of the buffers 107A and 107B becomes equal to or less than the remaining amount threshold. For this reason, transmission processing according to the priority can be realized until the buffers 107A and 107B are full. That is, according to the bridge 100, a situation in which a frame with a high priority level cannot be transmitted due to a frame with a low priority level can be avoided as appropriate. Therefore, in the collision detection type transmission system in which priority is given to communication. Occurrence of a conflict with the transmission policy can be suppressed.

なお、本実施の形態1では、RAM124が、バッファ107A及びバッファ107Bとして機能する場合を例示したが、これに限定されるものではなく、例えば、マイクロコンピュータ123に内蔵されているメモリをバッファ107A及びバッファ107Bとして機能させてもよい。また、マイクロコンピュータ123に内蔵されているメモリが、アドレステーブル105、送信タイミング値106A、及び送信タイミング値106Bを記憶するように構成してもよい。かかる構成を採れば、図2に示すRAM124を設けずにブリッジ100を構成することができるため、コストを削減することができる。   In the first embodiment, the RAM 124 functions as the buffer 107A and the buffer 107B. However, the present invention is not limited to this. For example, the memory built in the microcomputer 123 includes the buffer 107A and the buffer 107A. It may function as the buffer 107B. The memory built in the microcomputer 123 may be configured to store the address table 105, the transmission timing value 106A, and the transmission timing value 106B. By adopting such a configuration, the bridge 100 can be configured without providing the RAM 124 shown in FIG. 2, so that the cost can be reduced.

さらに、送信タイミング設定部104A及び104Bは、中継バッファの残量、衝突カウント値、通信機器の接続台数、及びブリッジの接続台数のうちの少なくとも1つに基づいて通信トラフィックを推定するようにしてもよい。そして、送信タイミング設定部104A及び104Bは、推定した通信トラフィックに基づいて残量閾値を制御する機能を有していてもよい。ここで、送信タイミング設定部104A及び104Bがトラフィック推定値を求める際、衝突カウント値を用いる場合には、送信部102A及び102Bが、後述する実施の形態2の送信部202A及び202Bと同様に、衝突検出の連続回数である衝突カウント値を求めるようにするとよい。そして、送信タイミング設定部104A及び104Bが、送信部102A及び102Bから衝突カウント値を取得するようにするとよい。   Further, the transmission timing setting units 104A and 104B may estimate the communication traffic based on at least one of the remaining amount of the relay buffer, the collision count value, the number of connected communication devices, and the number of connected bridges. Good. Then, the transmission timing setting units 104A and 104B may have a function of controlling the remaining amount threshold value based on the estimated communication traffic. Here, when the transmission timing setting units 104A and 104B use the collision count value when obtaining the traffic estimated value, the transmission units 102A and 102B are similar to the transmission units 202A and 202B of the second embodiment described later. A collision count value, which is the number of continuous collision detections, may be obtained. The transmission timing setting units 104A and 104B may acquire the collision count value from the transmission units 102A and 102B.

実施の形態2.
図12は、本実施の形態2に係る空気調和システムが有するブリッジの機能的な構成を示すブロック図である。図13は、ブリッジによる中継送信時の送信制御を示すフローチャートである。図12及び図13を参照して、本実施の形態2に係る空気調和システムの構成及び動作について説明する。
Embodiment 2. FIG.
FIG. 12 is a block diagram illustrating a functional configuration of a bridge included in the air-conditioning system according to Embodiment 2. FIG. 13 is a flowchart showing transmission control at the time of relay transmission by a bridge. With reference to FIG.12 and FIG.13, the structure and operation | movement of the air conditioning system which concern on this Embodiment 2 are demonstrated.

前述した実施の形態1におけるブリッジ100は、バッファ107A及び107Bの残量がある閾値(残量閾値)を下回ると、連続で送信開始タイミングを早めてのフレーム送信を実施するように構成されている。しかし、ブリッジ100が連続でフレームを送信してしまうと、ブリッジ100以外の通信機器の優先レベルの高いフレームが、連続で送信されない状態となる。そこで、本実施の形態2のブリッジ200は、送信開始タイミングを早めてのフレーム送信を離散的に実施するという構成を採っている。実施の形態1と同一の構成部材については同一の符号を用いて説明は省略する。   The bridge 100 according to the first embodiment described above is configured to continuously perform frame transmission with earlier transmission start timing when the remaining amount of the buffers 107A and 107B falls below a certain threshold value (remaining amount threshold value). . However, if the bridge 100 continuously transmits frames, frames with high priority levels of communication devices other than the bridge 100 are not continuously transmitted. Therefore, the bridge 200 according to the second embodiment adopts a configuration in which frame transmission is performed discretely with earlier transmission start timing. The same constituent members as those in the first embodiment are denoted by the same reference numerals and description thereof is omitted.

図12に示すように、RAM124は、送信部202Aが連続してフレームの送信を失敗した回数を示す衝突カウント値(F:送信失敗回数カウント値)208Aと、送信部202Bが連続してフレームの送信を失敗した回数を示す衝突カウント値(送信失敗回数カウント値)208Bとを併せて記憶するものである。なお、送信部202A及び202Bがフレームの送信を失敗する回数は、送信部202A及び202Bがフレームの衝突を連続して検出する回数(衝突検出の連続回数)と同値である。   As shown in FIG. 12, the RAM 124 includes a collision count value (F: transmission failure count value) 208A indicating the number of times that the transmission unit 202A continuously failed to transmit a frame, and a transmission unit 202B continuously A collision count value (transmission failure frequency count value) 208B indicating the number of failed transmissions is also stored. Note that the number of times that the transmission units 202A and 202B fail to transmit a frame is the same as the number of times that the transmission units 202A and 202B continuously detect frame collisions (the number of consecutive collision detections).

送信部202Aは、衝突検出の連続回数を衝突カウント値208AとしてRAM124に記憶させる機能を有している。また、送信部202Aは、フレームの送信に成功したときに、衝突カウント値208Aをリセットするものである。送信タイミング設定部204Aは、衝突カウント値208Aに応じて送信タイミング値106Aを変更する機能を有している。送信部202Bは、衝突検出の連続回数を衝突カウント値208BとしてRAM124に記憶させる機能を有している。送信部202Bは、フレームの送信に成功したときに、衝突カウント値208Bをリセットするものである。送信タイミング設定部204Bは、衝突カウント値208Bに応じて送信タイミング値106Bを変更する機能を有している。   The transmission unit 202A has a function of storing the continuous number of collision detections in the RAM 124 as a collision count value 208A. The transmitting unit 202A resets the collision count value 208A when the frame transmission is successful. The transmission timing setting unit 204A has a function of changing the transmission timing value 106A according to the collision count value 208A. The transmission unit 202B has a function of storing the number of consecutive collision detections in the RAM 124 as a collision count value 208B. The transmission unit 202B resets the collision count value 208B when the frame transmission is successful. The transmission timing setting unit 204B has a function of changing the transmission timing value 106B according to the collision count value 208B.

より具体的に、送信タイミング設定部204Aは、衝突カウント値208Aが、バッファ107Bの残量に予め設定された基準係数を乗じた値以上である場合に、送信タイミング値106Aを規定値T未満の値に設定するものである。また、送信タイミング設定部204Aは、衝突カウント値208Aが、バッファ107Bの残量に基準係数を乗じた値未満である場合に、送信タイミング値106Aを規定値Tに設定するものである。同様に、送信タイミング設定部204Bは、衝突カウント値208Bが、バッファ107Aの残量に基準係数を乗じた値以上である場合に、送信タイミング値106Bを規定値T未満の値に設定するものである。また、送信タイミング設定部204Bは、衝突カウント値208Bが、バッファ107Aの残量に基準係数を乗じた値未満である場合に、送信タイミング値106Bを規定値Tに設定するものである。ここで、基準係数は、0以上1以下の範囲内で任意に設定される定数である。すなわち、基準係数の最小値は0であり、最大値は1である。   More specifically, the transmission timing setting unit 204A determines that the transmission timing value 106A is less than the specified value T when the collision count value 208A is equal to or greater than a value obtained by multiplying the remaining amount of the buffer 107B by a preset reference coefficient. Is set to a value. The transmission timing setting unit 204A sets the transmission timing value 106A to the specified value T when the collision count value 208A is less than a value obtained by multiplying the remaining amount of the buffer 107B by a reference coefficient. Similarly, the transmission timing setting unit 204B sets the transmission timing value 106B to a value less than the specified value T when the collision count value 208B is equal to or greater than a value obtained by multiplying the remaining amount of the buffer 107A by a reference coefficient. is there. Further, the transmission timing setting unit 204B sets the transmission timing value 106B to the specified value T when the collision count value 208B is less than a value obtained by multiplying the remaining amount of the buffer 107A by a reference coefficient. Here, the reference coefficient is a constant arbitrarily set within a range of 0 to 1. That is, the minimum value of the reference coefficient is 0 and the maximum value is 1.

基準係数を0に設定した場合は、バッファ107A及び107Bの残量に基準係数を乗じた値が0となることから、送信タイミング設定部204A及び204Bは、それぞれ、送信タイミング値106A及び106Bを規定値Tよりも短く設定する。このため、送信部202A及び202Bは、送信開始タイミングを早めた送信処理を実施する。   When the reference coefficient is set to 0, the value obtained by multiplying the remaining amounts of the buffers 107A and 107B by the reference coefficient is 0, so that the transmission timing setting units 204A and 204B define the transmission timing values 106A and 106B, respectively. Set shorter than value T. For this reason, the transmission units 202A and 202B perform transmission processing with earlier transmission start timing.

一方、基準係数を0以外の値に設定した場合、送信タイミング設定部204Aと204Bは、衝突カウント値208A及び208Bと、バッファ107A及びバッファ107Bの残量との大小関係に基づいて、送信タイミング値106A及び106Bを設定する。この場合は、基準係数を小さく設定するほど、送信部202A及び202Bが、送信開始タイミングを規定タイミングよりも早めて送信する頻度が高くなる。すなわち、送信タイミング設定部204A及び204Bは、バッファ107A及び107Bの残量が少なくなるにつれて、基準係数を小さくするように構成してもよい。このようにすれば、バッファ107A及び107Bの残量が少なくなると、送信開始タイミングを規定タイミングよりも早めて送信する頻度を高めることができるため、バッファ107A及び107Bの残量の減少を抑制することができる。   On the other hand, when the reference coefficient is set to a value other than 0, the transmission timing setting units 204A and 204B determine the transmission timing value based on the magnitude relationship between the collision count values 208A and 208B and the remaining amounts of the buffers 107A and 107B. 106A and 106B are set. In this case, the smaller the reference coefficient is set, the more frequently the transmission units 202A and 202B transmit the transmission start timing earlier than the specified timing. That is, the transmission timing setting units 204A and 204B may be configured to decrease the reference coefficient as the remaining capacity of the buffers 107A and 107B decreases. In this way, if the remaining amount of the buffers 107A and 107B decreases, the frequency of transmission can be increased by making the transmission start timing earlier than the specified timing, and therefore the decrease in the remaining amount of the buffers 107A and 107B can be suppressed. Can do.

また、バッファ107A及び107Bの残量が0になると、バッファ107A及び107Bの残量に基準係数を乗じた値も0になるため、送信部202A及び202Bは、それぞれ、衝突カウント値208A及び208Bによらず、規定タイミングよりも早いタイミングで送信を実行することから、フレームを連続で送信することになる。   Further, when the remaining capacity of the buffers 107A and 107B becomes 0, the value obtained by multiplying the remaining capacity of the buffers 107A and 107B by the reference coefficient also becomes 0. Therefore, the transmission units 202A and 202B respectively change the collision count values 208A and 208B to Regardless, since transmission is performed at a timing earlier than the specified timing, frames are transmitted continuously.

次に、図13を参照して、送信部202A及び202Bによる送信処理(図10:ステップS103及びS105に相当)を詳細に説明する。送信タイミング設定部204Aは、衝突カウント値208Aと、バッファ107Bの残量に基準係数を乗じた値との大小を比較する(図13:ステップS201)。送信タイミング設定部204Aは、衝突カウント値208Aが、バッファ107Bの残量に基準係数を乗じた値以上である場合に(図13:ステップS201/Yes)、送信タイミング値106Aを規定値T未満の値に設定する(図13:ステップS117)。そして、送信部202Aは、送信タイミング値106Aに従い、規定タイミングよりも早いタイミングで中継用のフレームを送信する(図13:ステップS119)。   Next, with reference to FIG. 13, the transmission process (corresponding to steps S103 and S105 in FIG. 10) by the transmission units 202A and 202B will be described in detail. The transmission timing setting unit 204A compares the collision count value 208A with the value obtained by multiplying the remaining amount of the buffer 107B by a reference coefficient (FIG. 13: step S201). The transmission timing setting unit 204A determines that the transmission timing value 106A is less than the specified value T when the collision count value 208A is equal to or larger than the value obtained by multiplying the remaining amount of the buffer 107B by the reference coefficient (FIG. 13: Yes). A value is set (FIG. 13: Step S117). Then, the transmission unit 202A transmits the relay frame at a timing earlier than the specified timing in accordance with the transmission timing value 106A (FIG. 13: step S119).

一方、送信タイミング設定部204Aは、衝突カウント値208Aが、バッファ107Bの残量に基準係数を乗じた値未満である場合に(図13:ステップS201/No)、送信タイミング値106Aを規定値Tに設定する(図13:ステップS118)。そして、送信部202Aは、送信タイミング値106Aに従い、規定タイミングによって中継用のフレームを送信する(図13:ステップS119)。   On the other hand, when the collision count value 208A is less than the value obtained by multiplying the remaining amount of the buffer 107B by the reference coefficient (FIG. 13: Step S201 / No), the transmission timing setting unit 204A sets the transmission timing value 106A to the specified value T. (FIG. 13: Step S118). Then, the transmission unit 202A transmits a relay frame at a specified timing according to the transmission timing value 106A (FIG. 13: step S119).

次いで、送信部202Aは、送信失敗回数を計算するために、フレームの送信に成功したか否かを判定する(図13:ステップS202)。送信部202Aは、フレームの送信に成功した場合に(図13:ステップS202/Yes)、衝突カウント値208Aを0にする(図13:ステップS203)。一方、送信部202Aは、衝突検出により送信を停止した場合に(図13:ステップS202/No)、衝突カウント値208Aに1を加算する処理を実行する(図13:ステップS204)。   Next, the transmission unit 202A determines whether or not the transmission of the frame is successful in order to calculate the number of transmission failures (FIG. 13: step S202). When the transmission of the frame is successful (FIG. 13: Step S202 / Yes), the transmission unit 202A sets the collision count value 208A to 0 (FIG. 13: Step S203). On the other hand, when transmission is stopped due to collision detection (FIG. 13: step S202 / No), the transmission unit 202A executes a process of adding 1 to the collision count value 208A (FIG. 13: step S204).

同様に、送信タイミング設定部204Bは、衝突カウント値208Bと、バッファ107Aの残量に基準係数を乗じた値との大小を比較する(図13:ステップS201)。送信タイミング設定部204Bは、衝突カウント値208Bが、バッファ107Aの残量に基準係数を乗じた値以上である場合に(図13:ステップS201/Yes)、送信タイミング値106Bを規定値T未満の値に設定する(図13:ステップS117)。そして、送信部202Bは、送信タイミング値106Bに従い、規定タイミングによって中継用のフレームを送信する(ステップS119)。   Similarly, the transmission timing setting unit 204B compares the collision count value 208B with the value obtained by multiplying the remaining amount of the buffer 107A by a reference coefficient (FIG. 13: step S201). When the collision count value 208B is equal to or greater than the value obtained by multiplying the remaining amount of the buffer 107A by the reference coefficient (FIG. 13: Yes in step S201), the transmission timing setting unit 204B sets the transmission timing value 106B to be less than the specified value T. A value is set (FIG. 13: Step S117). Then, the transmission unit 202B transmits a relay frame at a specified timing in accordance with the transmission timing value 106B (step S119).

一方、送信タイミング設定部204Bは、衝突カウント値208Bが、バッファ107Aの残量に基準係数を乗じた値未満である場合に(図13:ステップS201/No)、送信タイミング値106Bを規定値Tに設定する(図13:ステップS118)。そして、送信部202Bは、送信タイミング値106Bに従い、規定タイミングによって中継用のフレームを送信する(ステップS119)。   On the other hand, when the collision count value 208B is less than the value obtained by multiplying the remaining amount of the buffer 107A by the reference coefficient (FIG. 13: Step S201 / No), the transmission timing setting unit 204B sets the transmission timing value 106B to the specified value T. (FIG. 13: Step S118). Then, the transmission unit 202B transmits a relay frame at a specified timing in accordance with the transmission timing value 106B (step S119).

次いで、送信部202Bは、フレームの送信に成功したか否かを判定する(図13:ステップS202)。送信部202Bは、フレームの送信に成功した場合に(図13:ステップS202/Yes)、衝突カウント値208Bを0にする(図13:ステップS203)。一方、送信部202Bは、衝突検出により送信を停止した場合に(図13:ステップS202/No)、衝突カウント値208Bに1を加算する処理を実行する(図13:ステップS204)。   Next, the transmission unit 202B determines whether or not the transmission of the frame has succeeded (FIG. 13: step S202). When the transmission of the frame is successful (FIG. 13: step S202 / Yes), the transmission unit 202B sets the collision count value 208B to 0 (FIG. 13: step S203). On the other hand, when transmission is stopped due to collision detection (FIG. 13: step S202 / No), the transmission unit 202B executes a process of adding 1 to the collision count value 208B (FIG. 13: step S204).

ここで、図13のステップS201に示す「F(衝突カウント値)≧バッファ残量×基準計数」は、「F/基準係数≧バッファ残量」と変形することができる。このため、図11のステップS116に示す「残量閾値≧バッファ残量」に照らすと、上記変形後の左辺である「F/基準係数」は、残量閾値に相当するといえる。衝突カウント値が増加すれば、残量閾値が増加し、基準係数が減少すれば、残量閾値が増加するという関係にある。すなわち、本実施の形態2における残量閾値は、カウント値に比例し、基準係数に反比例するものであるといえる。なお、基準係数を0に設定した場合は、「F/基準係数」が無限大となるため、ブリッジ200は、常に送信開始タイミングを早めた送信を行うことになる。   Here, “F (collision count value) ≧ buffer remaining capacity × reference count” shown in step S201 of FIG. 13 can be modified as “F / reference coefficient ≧ buffer remaining capacity”. Therefore, in light of “remaining threshold value ≧ buffer remaining amount” shown in step S116 of FIG. 11, it can be said that “F / reference coefficient” that is the left side after the modification corresponds to the remaining threshold value. When the collision count value increases, the remaining amount threshold increases, and when the reference coefficient decreases, the remaining amount threshold increases. That is, it can be said that the remaining amount threshold in the second embodiment is proportional to the count value and inversely proportional to the reference coefficient. When the reference coefficient is set to 0, “F / reference coefficient” is infinite, and thus the bridge 200 always performs transmission with earlier transmission start timing.

以上のように、本実施の形態2のブリッジ200は、基準係数を0に設定することで、送信開始タイミングを常に早めてのフレーム送信を実現することができる。また、基準係数を0以外に設定した場合は、バッファ107A及び107Bの残量が0でない限り、衝突検出を行った場合にのみ、送信開始タイミングを早めた送信を行う状態となる。このため、ブリッジ200が、連続して送信開始タイミングを早めて送信する状態を適宜抑制することができることから、通信異常の発生を抑制することができ、かつ他の通信機器から送信される優先レベルの高いフレームが送信できないという事態を回避することができる。   As described above, the bridge 200 according to the second embodiment can achieve frame transmission with the transmission start timing always advanced by setting the reference coefficient to 0. When the reference coefficient is set to a value other than 0, the transmission is started with the transmission start timing advanced only when collision detection is performed unless the remaining amounts of the buffers 107A and 107B are 0. For this reason, since the bridge 200 can appropriately suppress the state in which the transmission start timing is continuously advanced, the priority level transmitted from other communication devices can be suppressed. It is possible to avoid a situation in which a high frame cannot be transmitted.

また、通信トラフィックが小さい状況では、衝突検出の確率が低くなり、連続で衝突検出する確率は更に低くなる。よって、ブリッジ200は、通信トラフィックが小さい状況において、送信開始タイミングを早めた送信をほとんど実施しないように構成されている。このため、通信トラフィックが小さい状況では、通信に優先度を設けた衝突検出型の伝送方式における送信ポリシーとの齟齬の発生を抑制することができる。   In a situation where communication traffic is small, the probability of collision detection is low, and the probability of continuous collision detection is further reduced. Therefore, the bridge 200 is configured to hardly perform transmission with earlier transmission start timing in a situation where communication traffic is small. For this reason, in a situation where communication traffic is small, it is possible to suppress the occurrence of conflict with the transmission policy in the collision detection type transmission method in which priority is given to communication.

さらに、通信トラフィックが大きい状況では、衝突カウント値208A及び208Bが多くなる傾向にあるため、バッファ107A及び107Bの残量がすぐに枯渇することが想定される。よって、ブリッジ200は、通信トラフィックが大きい状況において、送信開始タイミングを早めた送信を実施する頻度を高めるように構成されている。すなわち、離散的に送信開始タイミングを早めた送信を実施するブリッジ200によれば、バッファ107A及び107Bの残量が0にならない限り、連続で送信開始タイミングを早めた送信を実施する状態を抑制することができるため、ブリッジ以外の通信機器からの優先レベルの高いフレームが連続して送信できないという事態をより有効に解消することができる。   Furthermore, in a situation where communication traffic is large, the collision count values 208A and 208B tend to increase, so it is assumed that the remaining amounts of the buffers 107A and 107B will be exhausted immediately. Therefore, the bridge 200 is configured to increase the frequency of performing transmission with earlier transmission start timing in a situation where communication traffic is large. In other words, according to the bridge 200 that performs transmission with the transmission start timing discretely advanced, the state in which transmission with the transmission start timing advanced continuously is suppressed unless the remaining amounts of the buffers 107A and 107B become zero. Therefore, a situation in which frames with high priority levels from communication devices other than the bridge cannot be continuously transmitted can be more effectively solved.

なお、送信タイミング設定部204Aは、衝突カウント値208Aが設定された基準回数に到達した場合に、送信タイミング値106Aを規定値未満の値に設定するように構成してもよい。同様に、送信タイミング設定部204Bは、衝突カウント値208Bが設定された基準回数に到達した場合に、送信タイミング値106Bを規定値未満の値に設定するように構成してもよい。このようにしても、通信異常の発生を抑制することができる。   Note that the transmission timing setting unit 204A may be configured to set the transmission timing value 106A to a value less than a specified value when the collision count value 208A reaches the set reference number. Similarly, the transmission timing setting unit 204B may be configured to set the transmission timing value 106B to a value less than a specified value when the collision count value 208B reaches the set reference number. Even if it does in this way, generation | occurrence | production of communication abnormality can be suppressed.

実施の形態3.
図14は、本実施の形態3に係る空気調和システムが有するブリッジの機能的な構成を示すブロック図である。図15は、ブリッジが有するアドレステーブルの構成例を示す説明図である。図16は、ブリッジが有する残量閾値及び基準係数の設定用の特性テーブルを例示する説明図である。図14〜図16を参照して、本実施の形態3に係る空気調和システムの構成及び動作について説明する。
Embodiment 3 FIG.
FIG. 14 is a block diagram illustrating a functional configuration of a bridge included in the air-conditioning system according to Embodiment 3. FIG. 15 is an explanatory diagram of a configuration example of an address table included in the bridge. FIG. 16 is an explanatory diagram illustrating a characteristic table for setting the remaining amount threshold value and the reference coefficient that the bridge has. With reference to FIGS. 14-16, the structure and operation | movement of the air conditioning system which concern on this Embodiment 3 are demonstrated.

上述した実施の形態1では残量閾値という定数を採用し、前述した実施の形態2では基準係数という定数を採用したが、空気調和システムの特性によっては、定数による処理が適していない状況も想定される。すなわち、実施の形態1における残量閾値の与え方、又は実施の形態2における基準係数の与え方では、空気調和システム10が、実施の形態1又は2におけるブリッジを二台以上有している場合、二台以上のブリッジが、同時に送信開始タイミングを早めた送信を行うことが想定される。このため、あるブリッジによる送信開始タイミングを早めた送信が、他のブリッジによる送信開始タイミングを早めた送信と衝突する可能性が生じる。例えば、二台のブリッジのバッファ107A及び107Bの残量が0になった場合に、各々の送信タイミングが一致すれば、何れかのブリッジが衝突検出することになり、通信異常の発生に繋がり得る。   In the first embodiment described above, a constant called the remaining amount threshold is adopted, and in the second embodiment described above, a constant called a reference coefficient is adopted. However, depending on the characteristics of the air conditioning system, it is assumed that processing by the constant is not suitable. Is done. That is, when the remaining amount threshold is given in the first embodiment or the reference coefficient is given in the second embodiment, the air-conditioning system 10 has two or more bridges in the first or second embodiment. It is assumed that two or more bridges simultaneously perform transmission with earlier transmission start timing. For this reason, there is a possibility that transmission that has advanced transmission start timing by a certain bridge may collide with transmission that has advanced transmission start timing by another bridge. For example, when the remaining amounts of the buffers 107A and 107B of the two bridges become 0, if the respective transmission timings coincide with each other, one of the bridges detects a collision, which may lead to a communication abnormality. .

また、ネットワークに接続された通信機器の合計台数である接続合計台数が増えると、通信が多くなる傾向にあるため、接続合計台数が多い空気調和システムでは、残量閾値を大きくし、基準係数を小さくすることが求められる。しかし、実施の形態1及び2のブリッジによって個別に設定を変更するには手間がかかる。   Also, as the total number of connected devices, which is the total number of communication devices connected to the network, increases, the communication tends to increase. It is required to be small. However, it takes time to individually change the settings by the bridges of the first and second embodiments.

そこで、本実施の形態3のブリッジ300は、空気調和システムの特性と、残量閾値及び基準係数とを関連づけた特性テーブル(特性表)305Aを予め格納しておき、空調冷熱システムの特性に合わせた好適な残量閾値及び基準係数を、特性テーブル305Aから動的に求めるという構成を採っている。実施の形態1及び2と同一の構成部材については同一の符号を用いて説明は省略する。   Therefore, the bridge 300 according to the third embodiment stores in advance a characteristic table (characteristic table) 305A that associates the characteristics of the air conditioning system with the remaining amount threshold value and the reference coefficient, and matches the characteristics of the air conditioning cooling / heating system. The preferred remaining amount threshold value and reference coefficient are obtained dynamically from the characteristic table 305A. The same components as those in the first and second embodiments are denoted by the same reference numerals, and the description thereof is omitted.

図14に示すように、RAM124は、アドレステーブル305を有しており、アドレステーブル305は、図15に示す通り、図5のアドレステーブル105に、ブリッジ300に接続されている通信機器の合計台数である接続合計台数AT30、及びブリッジ台数AT31を加えたものである。接続合計台数AT30は、各通信ポートに接続されている通信機器の総数であり、ブリッジ台数AT31は、各通信ポートに接続されている自身を含むブリッジ300の総数である。   As shown in FIG. 14, the RAM 124 has an address table 305. As shown in FIG. 15, the address table 305 has a total number of communication devices connected to the bridge 300 in the address table 105 of FIG. The total number of connections AT30 and the number of bridges AT31 are added. The total number of connections AT30 is the total number of communication devices connected to each communication port, and the number of bridges AT31 is the total number of bridges 300 including itself connected to each communication port.

特性テーブル305Aは、接続合計台数AT32が増大すると、基準計数が小さくなり、残量閾値が大きくなるように構成されている。また、特性テーブル305Aは、ブリッジ台数AT33が増大すると、基準係数が小さくなり、残量閾値が大きくなるように構成されている。すなわち、ブリッジ300は、接続合計台数AT32及びブリッジ台数AT33の内の少なくとも一方が増加するにつれて、基準係数を小さくするように構成されている。また、ブリッジ300は、接続合計台数AT32及びブリッジ台数AT33の内の少なくとも一方が増加するにつれて、残量閾値を大きくするように構成されている。このため、送信部202A及び202Bが送信開始タイミングを規定タイミングよりも早めて送信する頻度を高くすることができ、通信異常の発生を抑制することができる。   The characteristic table 305A is configured such that when the total number of connected devices AT32 increases, the reference count decreases and the remaining amount threshold value increases. Further, the characteristic table 305A is configured such that when the number of bridges AT33 increases, the reference coefficient decreases and the remaining amount threshold value increases. That is, the bridge 300 is configured to decrease the reference coefficient as at least one of the total number of connections AT32 and the number of bridges AT33 increases. The bridge 300 is configured to increase the remaining amount threshold as at least one of the total number of connections AT32 and the number of bridges AT33 increases. For this reason, it is possible to increase the frequency at which the transmission units 202A and 202B transmit the transmission start timing earlier than the specified timing, and it is possible to suppress the occurrence of communication abnormality.

ブリッジ300は、電源投入後のイニシャル処理において、接続された全通信機器に対して応答を要求するフレームを送信し、応答のフレームを受信した場合に、応答送信元の通信機器のアドレスを、通信ポート毎に、アドレス記憶領域AT10に登録する。また、本実施の形態3では、応答のフレームが、通信機器の属性情報を含むように構成されている。すなわち、ブリッジ300は、イニシャル処理の際に、接続合計台数AT30とブリッジ台数AT31とを認識し、接続合計台数AT30とブリッジ台数AT31とをアドレステーブル305に記憶させるものである。なお、アドレステーブル305に、通信ポート毎のアドレス記憶領域AT10、接続合計台数AT30、及びブリッジ台数AT31を記憶させる処理は、図2に示すマイクロコンピュータ123が実施する。   In the initial process after the power is turned on, the bridge 300 transmits a response request frame to all the connected communication devices. When the response frame is received, the bridge 300 communicates the address of the response transmission source communication device. Each port is registered in the address storage area AT10. In the third embodiment, the response frame includes attribute information of the communication device. That is, the bridge 300 recognizes the total number of connections AT30 and the number of bridges AT31 during the initial process, and stores the total number of connections AT30 and the number of bridges AT31 in the address table 305. Note that the microcomputer 123 shown in FIG. 2 performs processing for storing the address storage area AT10 for each communication port, the total number of connections AT30, and the number of bridges AT31 in the address table 305.

本実施の形態3において、マイクロコンピュータ123は、図15に示す接続合計台数AT30及びブリッジ台数AT31の値が更新された際に、更新された各値に対応する接続合計台数AT32とブリッジ台数AT33とを、図16に示す特性テーブルを参照して特定する。そして、マイクロコンピュータ123は、残量閾値及び基準係数の値を、特定した接続合計台数AT32とブリッジ台数T33とにより指定される基準係数AT34及び残量閾値AT35の値に設定する。マイクロコンピュータ123による上記各処理は、送信タイミング設定部304A又は304Bが行うようにしてもよい。   In the third embodiment, when the values of the total connection number AT30 and the bridge number AT31 shown in FIG. 15 are updated, the microcomputer 123 includes the total connection number AT32 and the bridge number AT33 corresponding to each updated value. Is specified with reference to the characteristic table shown in FIG. Then, the microcomputer 123 sets the value of the remaining amount threshold value and the reference coefficient to the values of the reference coefficient AT34 and the remaining amount threshold value AT35 specified by the specified total number of connections AT32 and the number of bridges T33. The above-described processes by the microcomputer 123 may be performed by the transmission timing setting unit 304A or 304B.

また、送信タイミング設定部304A及び304Bは、実施の形態1の送信タイミング設定部104A及び104B、又は実施の形態2の送信タイミング設定部204A及び204Bと同様の機能を有している。すなわち、送信タイミング設定部304A及び304Bは、残量閾値を用いた送信処理と、基準係数を用いた送信処理とを適宜切り替えて実行することができる。さらに、送信タイミング設定部304A及び304Bは、アドレステーブル305及び特性テーブル305Aに記憶された情報に基づいて、それぞれ、送信タイミング値106A及び106Bを設定する機能を有している。すなわち、送信タイミング設定部304A及び304Bは、接続合計台数AT30及びブリッジ台数AT31の値の更新に応じて動的に設定された残量閾値及び基準係数を用いて、それぞれ、送信タイミング値106A及び106Bを設定することができる。   The transmission timing setting units 304A and 304B have the same functions as the transmission timing setting units 104A and 104B of the first embodiment or the transmission timing setting units 204A and 204B of the second embodiment. That is, the transmission timing setting units 304A and 304B can appropriately switch between the transmission process using the remaining amount threshold value and the transmission process using the reference coefficient. Further, the transmission timing setting units 304A and 304B have a function of setting the transmission timing values 106A and 106B, respectively, based on information stored in the address table 305 and the characteristic table 305A. That is, the transmission timing setting units 304A and 304B use the remaining amount threshold value and the reference coefficient that are dynamically set according to the update of the values of the total number of connections AT30 and the number of bridges AT31, respectively. Can be set.

以上のように、本実施の形態3におけるブリッジ300によれば、空調調和システムの特性が変化した場合に、自動的に好適な残量閾値及び基準係数を設定することができる。また、特性テーブル305Aは、接続合計台数AT32又はブリッジ台数AT33が増大すると、残量閾値が大きくなり、基準係数が小さくなるように構成されているため、ブリッジ300は、接続合計台数AT32又はブリッジ台数AT33が増大した場合に、送信開始タイミングを規定タイミングよりも早めて送信する頻度を高くすることができる。このため、空気調和システム10が複数台のブリッジを含むような場合にも、通信異常の発生を抑制することができる。   As described above, according to the bridge 300 in the third embodiment, it is possible to automatically set a suitable remaining amount threshold value and a reference coefficient when the characteristics of the air conditioning harmony system change. The characteristic table 305A is configured such that when the total number of connections AT32 or the number of bridges AT33 increases, the remaining amount threshold value increases and the reference coefficient decreases, so the bridge 300 includes the total number of connections AT32 or the number of bridges. When the AT 33 increases, the frequency of transmission can be increased by making the transmission start timing earlier than the specified timing. For this reason, even when the air conditioning system 10 includes a plurality of bridges, the occurrence of communication abnormality can be suppressed.

なお、図16では、特性テーブル305Aが、基準係数AT34及び残量閾値AT35の双方の欄を有する構成を例示したが、特性テーブル305Aは、基準係数AT34及び残量閾値AT35の何れか一方の欄を有するように構成してもよい。すなわち、送信タイミング設定部304A及び304Bは、基準係数を用いた送信処理又は残量閾値を用いた送信処理の何れか一方を実行するように構成してもよい。また、アドレステーブル305が、特性テーブル305Aを含むように構成してもよい。   16 illustrates a configuration in which the characteristic table 305A includes both columns of the reference coefficient AT34 and the remaining amount threshold value AT35. However, the characteristic table 305A includes either the reference coefficient AT34 or the remaining amount threshold value AT35. You may comprise so that it may have. That is, the transmission timing setting units 304A and 304B may be configured to execute either one of transmission processing using a reference coefficient or transmission processing using a remaining amount threshold value. Further, the address table 305 may be configured to include a characteristic table 305A.

また、本実施の形態3では、宛先アドレスの情報に加えて、接続合計台数AT30及びブリッジ台数AT31が記憶されたアドレステーブル305を例示しているが、これに限らず、接続合計台数AT30及びブリッジ台数AT31のうちの少なくとも一方は、アドレステーブル305以外のテーブルに記憶されていてもよい。すなわち、ブリッジ300は、例えば、複数の通信ポートごとの通信機器の接続台数の情報を記憶する機器台数テーブルを有していてもよい。また、空気調和システムに複数台のブリッジ300が設けられている場合は、各ブリッジ300は、ブリッジ台数AT31を記憶するリピータ台数テーブルを有していてもよい。   In the third embodiment, the address table 305 in which the total number of connections AT30 and the number of bridges AT31 is stored in addition to the destination address information is illustrated. However, the present invention is not limited to this. At least one of the number AT31 may be stored in a table other than the address table 305. That is, the bridge 300 may have, for example, a device number table that stores information on the number of connected communication devices for each of a plurality of communication ports. When a plurality of bridges 300 are provided in the air conditioning system, each bridge 300 may have a repeater number table that stores the number of bridges AT31.

実施の形態4.
図17は、本実施の形態4の空気調和システムが有するアドレステーブルを例示する説明図である。図17を参照して、本実施の形態4に係る空気調和システムの構成及び動作について説明する。上述した実施の形態1では、アドレステーブル105のアドレス記憶領域AT10のアドレス情報を数値データとして記憶していたが(図5参照)、ブリッジ100に接続される通信機器が多くなると、記憶するアドレス情報も多くなり、アドレス記憶領域AT10のメモリ容量が大きくなる。そこで、本実施の形態4では、図3に示すアドレステーブル105の代わりに、アドレス記憶領域のアドレス情報をフラグ方式で記憶するという構成を採ったアドレステーブル405を採用している。上述した実施の形態1〜3と同一の構成部材については同一の符号を用いて説明は省略する。
Embodiment 4 FIG.
FIG. 17 is an explanatory diagram illustrating an address table included in the air conditioning system according to the fourth embodiment. With reference to FIG. 17, the structure and operation | movement of the air conditioning system which concerns on this Embodiment 4 are demonstrated. In the first embodiment described above, the address information of the address storage area AT10 of the address table 105 is stored as numerical data (see FIG. 5). However, when the number of communication devices connected to the bridge 100 increases, the stored address information And the memory capacity of the address storage area AT10 increases. Therefore, the fourth embodiment employs an address table 405 that employs a configuration in which the address information in the address storage area is stored in the flag system instead of the address table 105 shown in FIG. About the same component as Embodiment 1-3 mentioned above, description is abbreviate | omitted using the same code | symbol.

図17に示すように、アドレステーブル405は、アドレス情報をフラグ方式で記憶したものである。図17のフラグ形式は、通信ポートAの行に対して1が記憶されている列のアドレスが、通信ポートAに接続されている通信機器のアドレスを意味している。また、通信ポートBの行に対して1が記憶されている列のアドレスが、通信ポートBに接続されている通信機器のアドレスを意味している。すなわち、アドレステーブル405は、アドレス記憶領域のアドレス情報を配列と関連づけて、アドレス情報を0と1との配列として記憶したものである。   As shown in FIG. 17, the address table 405 stores address information by a flag method. In the flag format of FIG. 17, the address of the column in which 1 is stored for the row of the communication port A means the address of the communication device connected to the communication port A. Further, the address of the column storing 1 for the row of the communication port B means the address of the communication device connected to the communication port B. That is, the address table 405 stores the address information as an array of 0 and 1 by associating the address information in the address storage area with the array.

図17において、例えば、アドレス000が記述された列には、通信ポートAの行に1が記憶され、通信ポートBの行に0が記憶されている。これは、アドレス000の通信機器である集中コントローラ91(図1参照)が、通信ポートAに接続されていることを意味している。また、アドレス001が記述された列には、通信ポートAの行に0が記憶され、通信ポートBの行に1が記憶されている。これは、アドレス001の通信機器である室内機94(図1参照)が、通信ポートBに接続されていることを意味している。すなわち、アドレステーブル405は、複数の通信機器と複数のセグメント90A及び90Bとの接続関係がフラグによって記憶されたものである。   In FIG. 17, for example, in the column in which the address 000 is described, 1 is stored in the row of the communication port A, and 0 is stored in the row of the communication port B. This means that the centralized controller 91 (see FIG. 1), which is a communication device with the address 000, is connected to the communication port A. In the column in which the address 001 is described, 0 is stored in the row of the communication port A, and 1 is stored in the row of the communication port B. This means that the indoor unit 94 (see FIG. 1), which is the communication device with the address 001, is connected to the communication port B. That is, the address table 405 stores the connection relationship between a plurality of communication devices and a plurality of segments 90A and 90B by flags.

また、通信機器が取り得るすべてのアドレスを事前に把握できている場合、一列目にアドレス000を対応させ、二列目にアドレス001を対応させるといった具合に、列情報にアドレス情報を関連づけることができる。このような関連づけを行えば、アドレステーブル405は、通信ポートA及び通信ポートBに対応する行の0又は1のデータを記憶するだけでよいため、アドレス情報を数値データとして記憶するよりも、メモリ容量を削減することができる。   Further, when all addresses that the communication device can take are known in advance, the address information can be associated with the column information, for example, the address 000 is associated with the first column and the address 001 is associated with the second column. it can. If such an association is made, the address table 405 only needs to store 0 or 1 data in the row corresponding to the communication port A and the communication port B. Capacity can be reduced.

上述した実施の形態1のように、アドレス記憶領域AT10のアドレス情報が数値データとして記憶されたアドレステーブル105からアドレス情報を検索する場合は、受信したフレームの宛先アドレスが見つかるまで、アドレステーブル105に記憶されたすべてのデータを参照する必要がある。   When the address information is searched from the address table 105 in which the address information in the address storage area AT10 is stored as numerical data as in the first embodiment described above, the address table 105 is updated until the destination address of the received frame is found. It is necessary to refer to all stored data.

この点、アドレステーブル405は、アドレス記憶領域のアドレス情報をフラグ方式で記憶するという構成を採っている。このため、本実施の形態4におけるブリッジによるアドレス情報の検索処理は、フラグ方式で記憶されたアドレステーブル405における各通信ポートの行に記憶された1を検索することで行うことができる。また、受信したフレームの宛先アドレスが、アドレステーブル405に登録されているか否かを検索する場合には、受信したフレームの宛先アドレスに対応する列のみを参照すればよい。すなわち、アドレステーブル405を有する本実施の形態4におけるブリッジによれば、アドレス情報の検索処理の迅速化を図ることができ、かつメモリ容量を削減することができる。   In this regard, the address table 405 employs a configuration in which address information in the address storage area is stored using a flag method. Therefore, the address information search processing by the bridge in the fourth embodiment can be performed by searching for 1 stored in the row of each communication port in the address table 405 stored in the flag system. Further, when searching whether the destination address of the received frame is registered in the address table 405, only the column corresponding to the destination address of the received frame needs to be referred to. That is, according to the bridge in the fourth embodiment having the address table 405, the address information search process can be speeded up and the memory capacity can be reduced.

実施の形態5.
図18は、本実施の形態5に係る空気調和システムが有するブリッジの機能的な構成を示すブロック図である。図19は、ブリッジが有する全通信ポートに共通のバッファを例示する模式図である。図18及び図19を参照して、本発明の実施の形態5に係る空気調和システムの構成及び動作について説明する。
Embodiment 5. FIG.
FIG. 18 is a block diagram illustrating a functional configuration of a bridge included in the air-conditioning system according to Embodiment 5. FIG. 19 is a schematic diagram illustrating a buffer common to all communication ports included in the bridge. With reference to FIG.18 and FIG.19, the structure and operation | movement of the air conditioning system which concern on Embodiment 5 of this invention are demonstrated.

実施の形態1では、ブリッジ100が、受信部101Aが受信したフレームを格納するバッファ107Aと、受信部101Bが受信したフレームを格納するバッファ107Bとを有しているため、通信ポート間における通信量の差が大きい場合等において、バッファ107A及び107Bの使用率に偏りが出ることがある。すなわち、例えば、一方のバッファ107Aに空きがあるにも関わらず、他方のバッファ107Bの残量がなくなったような場合には、通信異常が発生することもある。   In Embodiment 1, the bridge 100 includes the buffer 107A that stores the frame received by the receiving unit 101A and the buffer 107B that stores the frame received by the receiving unit 101B. When the difference between the two is large, the usage rates of the buffers 107A and 107B may be biased. That is, for example, when one of the buffers 107A is empty but the remaining amount of the other buffer 107B runs out, a communication error may occur.

そこで、本実施の形態5のブリッジ500は、図18及び図19に示すように、実施の形態1のような複数のバッファの代わりに、全ての通信ポートA及びBを介しての通信で共通に使用する1つのバッファ507を有するという構成を採っている。上述した実施の形態1〜4と同一の構成部材については同一の符号を用いて説明は省略する。   Therefore, as shown in FIGS. 18 and 19, the bridge 500 of the fifth embodiment is common in communication via all the communication ports A and B instead of the plurality of buffers as in the first embodiment. The configuration is such that one buffer 507 is used for the above. About the same component as Embodiment 1-4 mentioned above, description is abbreviate | omitted using the same code | symbol.

中継判定部503A及び503Bは、上述した実施の形態1の中継判定部103A及び103Bと同様の機能を有している。また、中継判定部503A及び503Bは、受信したフレーム及び介在した通信ポートの識別情報をバッファ507に格納する機能を有している。すなわち、中継判定部503Aは、受信したフレーム及び介在した通信ポートの識別情報であるAをバッファ507に格納するものである。中継判定部503Bは、受信したフレーム及び介在した通信ポートの識別情報であるBをバッファ507に格納するものである。   Relay determination units 503A and 503B have the same functions as relay determination units 103A and 103B of the first embodiment described above. The relay determination units 503A and 503B have a function of storing the received frame and the identification information of the interposed communication port in the buffer 507. That is, the relay determination unit 503A stores A, which is identification information of the received frame and the interposed communication port, in the buffer 507. The relay determination unit 503B stores B, which is identification information of the received frame and the interposed communication port, in the buffer 507.

送信部502Aは、バッファ507内から、通信ポートの識別情報としてBが格納されたフレームを送信するものである。また、送信部502Bは、バッファ507内から、通信ポートの識別情報としてAが格納されたフレームを送信するものである。   The transmission unit 502A transmits a frame in which B is stored as communication port identification information from the buffer 507. The transmitting unit 502B transmits a frame in which A is stored as communication port identification information from the buffer 507.

以上のように、バッファ507には、中継判定部503A及び503Bにより、受信したフレーム及び介在した通信ポートの識別情報が格納され、送信部502A及び501Bが、バッファ507内に格納されたフレームを送信するように構成されている。よって、本実施の形態5のブリッジ500によれば、バッファ507の空きがなくなるまで受信したフレームを格納することができることから、一方のバッファに空きがあるにも関わらず、他方のバッファが一杯になるといった状況を回避することができるため、通信異常の発生をより有効に抑制することができる。   As described above, in the buffer 507, the relay determination units 503A and 503B store the received frame and the identification information of the intervening communication port, and the transmission units 502A and 501B transmit the frame stored in the buffer 507. Is configured to do. Therefore, according to the bridge 500 of the fifth embodiment, since the received frame can be stored until the buffer 507 is full, the other buffer is full even though there is space in one buffer. Therefore, the occurrence of communication abnormality can be more effectively suppressed.

実施の形態6.
上述した実施の形態1〜5において、ブリッジは受信フレームの宛先アドレスがアドレステーブルに登録されている場合に中継処理を行うが、空気調和システムの特性によっては、宛先による中継が適していない状況も想定される。すなわち、実施の形態1〜5の空気調和システムにおいて、自己アドレス宛て以外のフレームを利用する通信機器が存在する場合、ブリッジは全てのフレームを中継することが望ましい。
Embodiment 6 FIG.
In the first to fifth embodiments described above, the bridge performs a relay process when the destination address of the received frame is registered in the address table. is assumed. That is, in the air conditioning systems of Embodiments 1 to 5, when there is a communication device that uses a frame other than the address addressed to itself, the bridge desirably relays all the frames.

そこで、本実施の形態6では、実施の形態1〜5の何れかの構成におけるブリッジの中継判定部(図3、図12、図14、及び図18参照)が、宛先による中継を行わず、全ての受信フレームを送信処理するという構成を採っている。   Therefore, in the sixth embodiment, the bridge relay determination unit (see FIGS. 3, 12, 14, and 18) in any of the configurations of the first to fifth embodiments does not perform relay by destination, The configuration is such that all received frames are transmitted.

ここで、中継判定部が通信の遮断を行わず、受信したフレームを全てバッファに格納し中継を行うブリッジをデジタルリピータと呼称する。ここでは、一例として、図3に示す構成内容をもとに、本実施の形態6におけるデジタルリピータの構成及び動作を説明する。   Here, a bridge in which the relay determination unit does not block communication but stores all received frames in a buffer and relays is called a digital repeater. Here, as an example, the configuration and operation of the digital repeater according to the sixth embodiment will be described based on the configuration shown in FIG.

図20は、本発明の実施の形態6に係る空気調和システムが有するデジタルリピータの機能的な構成を示すブロック図である。図21は、図20のデジタルリピータによる全体的な動作を示すフローチャートである。図20及び図21を参照して、デジタルリピータ600の構成及び動作を説明する。実施の形態1と同一の構成部材については同一の符号を用いて説明は省略する。   FIG. 20 is a block diagram showing a functional configuration of a digital repeater included in the air-conditioning system according to Embodiment 6 of the present invention. FIG. 21 is a flowchart showing the overall operation of the digital repeater of FIG. The configuration and operation of the digital repeater 600 will be described with reference to FIGS. The same constituent members as those in the first embodiment are denoted by the same reference numerals and description thereof is omitted.

図20に示すように、デジタルリピータ600は、全ての受信フレームを送信処理する中継判定部603A及び中継判定部603Bを有している。すなわち、中継判定部603A及び中継判定部603Bは、受信フレームの宛先アドレスに基づく中継処理を行わないように構成されている。中継判定部603Aの他の機能については、実施の形態1における中継判定部103Aと同様である。また、中継判定部603Bの他の機能については、実施の形態1における中継判定部103Bと同様である。   As shown in FIG. 20, the digital repeater 600 includes a relay determination unit 603A and a relay determination unit 603B that perform transmission processing on all received frames. That is, relay determination unit 603A and relay determination unit 603B are configured not to perform relay processing based on the destination address of the received frame. Other functions of relay determination unit 603A are the same as those of relay determination unit 103A in the first embodiment. Other functions of relay determination unit 603B are the same as relay determination unit 103B in the first embodiment.

次に、図21を参照して、デジタルリピータ600の全体的な動作を説明する。
まず、デジタルリピータ600は、イニシャル処理として、全アドレスに通信を試みることでアドレステーブル105を作成する(図21:ステップS101)。次に、送信部102Bが、バッファ107A内のフレームの有無を確認する(図21:ステップS102)。送信部102Bは、バッファ107Aにフレームが有る場合(図21:ステップS102/Yes)、バッファ107A内のフレームに対して送信処理を実施する(図21:ステップS103)。一方、バッファ107A内にフレームが無い場合(図21:ステップS102/No)は、ステップS104に移行する。
Next, the overall operation of the digital repeater 600 will be described with reference to FIG.
First, as an initial process, the digital repeater 600 creates the address table 105 by trying to communicate with all addresses (FIG. 21: step S101). Next, the transmission unit 102B confirms whether or not there is a frame in the buffer 107A (FIG. 21: step S102). When there is a frame in the buffer 107A (FIG. 21: Step S102 / Yes), the transmission unit 102B performs transmission processing on the frame in the buffer 107A (FIG. 21: Step S103). On the other hand, when there is no frame in the buffer 107A (FIG. 21: step S102 / No), the process proceeds to step S104.

次いで、送信部102Aが、バッファ107B内のフレームの有無を確認する(図21:ステップS104)。送信部102Aは、バッファ107Bにフレームが有る場合(図21:ステップS104/Yes)、バッファ107B内のフレームに対して送信処理を実施する(図21:ステップS105)。一方、バッファ107B内にフレームが無い場合(図21:ステップS104/No)は、ステップS106に移行する。   Next, the transmitting unit 102A checks whether or not there is a frame in the buffer 107B (FIG. 21: step S104). When there is a frame in the buffer 107B (FIG. 21: Step S104 / Yes), the transmission unit 102A performs transmission processing on the frame in the buffer 107B (FIG. 21: Step S105). On the other hand, if there is no frame in the buffer 107B (FIG. 21: Step S104 / No), the process proceeds to Step S106.

次に、受信部101Aが、通信ポートAを介して受信するフレームの有無を確認する(図21:ステップS106)。受信部101Aは、受信フレームが有る場合に(図21:ステップS106/Yes)、受信フレームを中継判定部103Aに渡す(図21:ステップS107)。中継判定部103Aは、受信フレームをバッファ107Aへ格納する(図21:ステップS601)。   Next, the receiving unit 101A checks whether there is a frame to be received via the communication port A (FIG. 21: Step S106). When there is a reception frame (FIG. 21: Step S106 / Yes), the reception unit 101A passes the reception frame to the relay determination unit 103A (FIG. 21: Step S107). The relay determination unit 103A stores the received frame in the buffer 107A (FIG. 21: Step S601).

次いで、受信部101Bが、通信ポートBを介して受信するフレームの有無を確認する(図21:ステップS111)。受信部101Bは、受信フレームが有る場合に(図21:ステップS111/Yes)、受信フレームを中継判定部103Bに渡す(図21:ステップS112)。中継判定部103Bは、受信フレームをバッファ107Bへ格納する(図21:ステップS602)   Next, the receiving unit 101B checks whether there is a frame to be received via the communication port B (FIG. 21: Step S111). When there is a reception frame (FIG. 21: Step S111 / Yes), the reception unit 101B passes the reception frame to the relay determination unit 103B (FIG. 21: Step S112). The relay determination unit 103B stores the received frame in the buffer 107B (FIG. 21: Step S602).

続いて、送信部102Bがバッファ107A内のフレームの有無を確認する処理(図21:ステップS102)に戻り、デジタルリピータ600は、上記一連の処理を繰り返し実行する。   Subsequently, the transmission unit 102B returns to the process of confirming the presence / absence of a frame in the buffer 107A (FIG. 21: step S102), and the digital repeater 600 repeatedly executes the above series of processes.

以上のように、本実施の形態6におけるデジタルリピータ600を用いることで、空調調和システムに接続される通信機器は、自己アドレス宛て以外のフレームを利用することができる。すなわち、デジタルリピータ600を備えた空気調和システムによれば、例えば、冷媒制御のフレームを監視する通信機器が、冷媒制御の情報を受信することにより、冷媒制御に連動した監視制御を行うことができる。つまり、例えば、冷媒制御を行う室外機93及び室内機94〜96の通信機器が、冷媒制御に関するフレームを相互に通信しているとき、冷媒制御を行わない集中コントローラ91又は92が、冷媒制御のフレームを受信することができる。これにより、集中コントローラ91又は92は、例えば室外機93又は室内機94〜96の運転状況を監視することができるため、運転状況に応じた表示等を行うことができる。   As described above, by using the digital repeater 600 according to the sixth embodiment, a communication device connected to the air conditioning harmony system can use frames other than those addressed to the self address. That is, according to the air conditioning system including the digital repeater 600, for example, a communication device that monitors a refrigerant control frame can perform monitoring control linked to refrigerant control by receiving information on refrigerant control. . That is, for example, when the communication devices of the outdoor unit 93 and the indoor units 94 to 96 that perform refrigerant control are communicating with each other on frames related to refrigerant control, the centralized controller 91 or 92 that does not perform refrigerant control is A frame can be received. Thereby, since the centralized controller 91 or 92 can monitor the driving | running state of the outdoor unit 93 or the indoor units 94-96, for example, the display according to the driving | running state etc. can be performed.

また、デジタルリピータ600は、実施の形態1〜5のブリッジと同様に、送信開始タイミングを規定タイミングよりも早めてフレームを送信することができる。よって、デジタルリピータ600が通信の衝突を検出する確率が低くなることから、バッファ107A及び107Bが一杯になる確率が低くなるため、通信異常が発生する確率を低減させることができる。   Similarly to the bridges of the first to fifth embodiments, the digital repeater 600 can transmit a frame with a transmission start timing earlier than a specified timing. Therefore, since the probability that the digital repeater 600 detects a communication collision is reduced, the probability that the buffers 107A and 107B are full is reduced, and thus the probability that a communication abnormality occurs can be reduced.

ここで、上記構成及び動作の説明では、図3に示すブリッジ100をもとにデジタルリピータ600を構成した例を示したが、これに限らず、デジタルリピータ600は、図12、図14、及び図18の何れかに示すブリッジをもとに構成してもよい。このようにしても、各構成における中継判定部が、図21のフローチャートと同様、宛先による中継を行わずに動作するため、空調調和システムに接続される通信機器は、自己アドレス宛て以外のフレームを利用することができる。なお、デジタルリピータ600が、実施の形態5におけるブリッジ500をもとに構成された場合、中継判定部603A及び中継判定部603Bは、それぞれ、バッファ507への記憶処理に関して、実施の形態5における中継判定部503A及び中継判定部503Bと同様の機能を有することになる。   Here, in the description of the above configuration and operation, an example in which the digital repeater 600 is configured based on the bridge 100 illustrated in FIG. 3 is illustrated, but the digital repeater 600 is not limited to this, and the digital repeater 600 may be configured as illustrated in FIGS. You may comprise based on the bridge shown in either of FIG. Even in this case, the relay determination unit in each configuration operates without relaying by the destination as in the flowchart of FIG. 21, so that the communication device connected to the air conditioning harmony system transmits frames other than those addressed to its own address. Can be used. When the digital repeater 600 is configured based on the bridge 500 in the fifth embodiment, the relay determination unit 603A and the relay determination unit 603B respectively perform relay processing in the fifth embodiment regarding the storage processing in the buffer 507. The determination unit 503A and the relay determination unit 503B have the same function.

また、デジタルリピータ600が実施の形態3に対応する構成を採る場合、アドレステーブル305には接続合計台数AT30及びブリッジ台数AT31を格納せず、デジタルリピータ600が、複数の通信ポートごとの通信機器の接続台数の情報を記憶する機器台数テーブルと、複数のデジタルリピータ600の接続台数の情報を記憶するリピータ台数テーブルと、を有するように構成してもよい。もっとも、デジタルリピータ600は、宛先アドレスに基づく中継処理を行わないため、アドレステーブル105をRAM124等に記憶させずに構成してもよい。   Further, when the digital repeater 600 adopts a configuration corresponding to the third embodiment, the total number of connections AT30 and the number of bridges AT31 are not stored in the address table 305, and the digital repeater 600 is a communication device for each of a plurality of communication ports. You may comprise so that it may have the apparatus number table which memorize | stores the information of the number of connections, and the repeater number table which memorize | stores the information of the number of connections of the several digital repeater 600. FIG. However, since the digital repeater 600 does not perform relay processing based on the destination address, the digital repeater 600 may be configured without storing the address table 105 in the RAM 124 or the like.

実施の形態7.
上述した実施の形態6では、自己のアドレス宛て以外のフレームを利用する通信機器のために、ブリッジの中継判定部(図3、図12、図14、及び図18参照)が、宛先による中継を行わず、全ての受信フレームを送信処理する。しかし、例えば、自己アドレス宛て以外のフレームを利用する通信機器が一方の通信ポートのみに接続されている場合は、他方の通信ポートからの通信を中継すればよく、一方の通信ポートからの通信については、宛先による中継処理を行ってもよい。つまり、このような場合、他方の通信ポートに接続されている通信機器からの受信フレームは全て送信処理し、一方の通信ポートに接続されている通信機器からの受信フレームについては、宛先アドレスに基づく中継処理を行うようにしてもよい。かかる構成を採っても、一方の通信ポートに接続されている通信機器は、自己アドレス宛て以外のフレームを支障なく利用できるからである。
Embodiment 7 FIG.
In the sixth embodiment described above, the bridge relay determination unit (see FIGS. 3, 12, 14, and 18) performs relaying by the destination for a communication device that uses a frame other than its address. Without processing, all received frames are transmitted. However, for example, when a communication device that uses a frame other than its address is connected to only one communication port, it is only necessary to relay communication from the other communication port. May perform relay processing by destination. That is, in such a case, all received frames from the communication device connected to the other communication port are transmitted, and the received frames from the communication device connected to one communication port are based on the destination address. Relay processing may be performed. This is because even if such a configuration is adopted, a communication device connected to one communication port can use frames other than those addressed to the self-address without any trouble.

そこで、本実施の形態7では、実施の形態1〜5の何れかの構成におけるブリッジに備わる中継判定部のうちの一方(図3、図12、図14、及び図18参照)が、宛先による中継を行わずに、全ての受信フレームの送信処理を行うという構成を採っている。すなわち、本実施の形態7におけるブリッジは、通信ポートA又はBに対応する中継判定部が、実施の形態1〜5におけるブリッジの中継判定部と同様の機能を有し、上記以外の中継判定部が、実施の形態6におけるデジタルリピータ600の中継判定部と同様の機能を有している。ここでは、一例として、図3に示す構成内容をもとに、本実施の形態7におけるブリッジ700の構成及び動作を説明する。なお、実施の形態1〜6と同一の構成部材については同一の符号を用いて説明は省略する。   Therefore, in the seventh embodiment, one of the relay determination units (see FIGS. 3, 12, 14, and 18) provided in the bridge in any of the configurations of the first to fifth embodiments depends on the destination. A configuration is adopted in which transmission processing of all received frames is performed without relaying. That is, in the bridge in the seventh embodiment, the relay determination unit corresponding to the communication port A or B has the same function as the relay determination unit of the bridge in the first to fifth embodiments. However, it has the same function as the relay determination unit of the digital repeater 600 in the sixth embodiment. Here, as an example, the configuration and operation of the bridge 700 according to the seventh embodiment will be described based on the configuration shown in FIG. In addition, about the structural member same as Embodiment 1-6, description is abbreviate | omitted using the same code | symbol.

図22は、本発明の実施の形態7に係る空気調和システムが有するブリッジの機能的な構成を示すブロック図である。図23は、図22のブリッジによる全体的な動作を示すフローチャートである。図22に例示するブリッジ700は、通信ポートAに実施の形態6におけるデジタルリピータ600としての機能を付加し、通信ポートBに実施の形態1〜5におけるブリッジとしての機能を付加したものである。   FIG. 22 is a block diagram showing a functional configuration of a bridge included in the air-conditioning system according to Embodiment 7 of the present invention. FIG. 23 is a flowchart showing an overall operation by the bridge of FIG. The bridge 700 illustrated in FIG. 22 has a function as the digital repeater 600 in the sixth embodiment added to the communication port A and a function as a bridge in the first to fifth embodiments added to the communication port B.

図22に示すように、ブリッジ700は、中継判定部603Aと、中継判定部103Bと、有している。上述した通り、中継判定部603Aは、全ての受信フレームを送信処理するものである。つまり、中継判定部603Aは、受信フレームの宛先アドレスに基づく中継処理を行わないように構成されている。ここで、中継判定部103Bは、本発明の「中継判定部」に相当し、中継判定部603Aは、本発明の「リピータ中継判定部」に相当する。   As illustrated in FIG. 22, the bridge 700 includes a relay determination unit 603A and a relay determination unit 103B. As described above, the relay determination unit 603A performs transmission processing on all received frames. That is, the relay determination unit 603A is configured not to perform relay processing based on the destination address of the received frame. Here, the relay determination unit 103B corresponds to the “relay determination unit” of the present invention, and the relay determination unit 603A corresponds to the “repeater relay determination unit” of the present invention.

すなわち、ブリッジ700は、通信ポートA側からの通信、つまり通信ポートB側への通信を全て中継し、通信ポートB側からの通信、つまり通信ポートA側への通信については、中継又は遮断を実行するものである。換言すれば、ブリッジ700は、通信ポートBを通じて外部へ送信されるフレームの全てを中継するように処理し、通信ポートAを通じて外部に送信されるフレームに対しては、宛先アドレスに基づく中継処理を実行するものである。なお、図22に示す構成は、自己アドレス宛て以外のフレームを利用する通信機器が通信ポートBに接続されている場合に有用である。   That is, the bridge 700 relays all communication from the communication port A side, that is, communication to the communication port B side, and relays or blocks communication from the communication port B side, that is, communication to the communication port A side. It is something to execute. In other words, the bridge 700 performs processing to relay all frames transmitted to the outside through the communication port B, and performs relay processing based on the destination address for frames transmitted to the outside through the communication port A. It is something to execute. The configuration shown in FIG. 22 is useful when a communication device that uses a frame other than that addressed to the self address is connected to communication port B.

次に、図23を参照して、ブリッジ700の全体的な動作を説明する。上述した実施の形態1と同じ動作には同一の符号を付して説明は省略する。   Next, the overall operation of the bridge 700 will be described with reference to FIG. The same operations as those in the first embodiment described above are denoted by the same reference numerals and description thereof is omitted.

まず、ブリッジ700は、ステップS101〜S107までの処理を実行する。続いて、中継判定部603Aは、受信部101Aから受信フレームを取得すると、取得した受信フレームをバッファ107Aへ格納する(図23:ステップS701)。
次に、ブリッジ700は、ステップS111〜S115までの処理を実行する。
First, the bridge 700 executes the processes from steps S101 to S107. Subsequently, when the relay determination unit 603A acquires the reception frame from the reception unit 101A, the relay determination unit 603A stores the acquired reception frame in the buffer 107A (FIG. 23: step S701).
Next, the bridge 700 executes the processes from step S111 to S115.

そして、ステップS701においてバッファ107Aに格納された受信フレームに対し、送信部102Bが送信処理を行うことで、通信ポートBに接続されている通信機器は、自己アドレス宛て以外のフレームを利用することができる。   In step S701, the transmission unit 102B performs transmission processing on the reception frame stored in the buffer 107A, so that the communication device connected to the communication port B can use a frame other than the address addressed to itself. it can.

以上のように、図22に例示するブリッジ700は、通信ポートAに関してリピータとしての動作を行い、通信ポートBに関してブリッジとしての動作を行う。このため、ブリッジ700を装備した空気調和システムは、通信ポートBにおいては、自己アドレス宛て以外のフレームを利用する通信機器の機能を有効にすることができ、通信ポートAにおいては、通信トラフィックを削減することにより、通信異常を抑制することができる。   As described above, the bridge 700 illustrated in FIG. 22 operates as a repeater for the communication port A and operates as a bridge for the communication port B. For this reason, the air conditioning system equipped with the bridge 700 can enable the function of the communication device that uses a frame other than the address addressed to the self-address at the communication port B, and reduces the communication traffic at the communication port A. By doing so, communication abnormality can be suppressed.

なお、上記構成及び動作の説明では、通信ポートA側からの通信を全て中継し、通信ポートB側からの通信に対しては、ブリッジの機能による中継又は遮断を行う場合を例示したが、これに限定されるものではない。つまり、ブリッジ700は、通信ポートB側からの通信を全て中継し、通信ポートA側からの通信については、ブリッジの機能による中継又は遮断を行うように構成してもよい。より具体的に、ブリッジ700は、本発明の中継判定部としての中継判定部103Aと、本発明のリピータ中継判定部としての中継判定部603Bと、を有していてもよい。   In the above description of the configuration and operation, a case where all communication from the communication port A side is relayed and communication from the communication port B side is relayed or blocked by a bridge function is illustrated. It is not limited to. That is, the bridge 700 may be configured to relay all communication from the communication port B side, and to relay or block communication from the communication port A side by the bridge function. More specifically, the bridge 700 may include a relay determination unit 103A as a relay determination unit of the present invention and a relay determination unit 603B as a repeater relay determination unit of the present invention.

また、ブリッジ700は、3以上の通信ポートを有するように構成してもよい。そして、ブリッジ700は、全ての通信を中継する通信ポートと、ブリッジの機能により通信の中継又は遮断を行う通信ポートとが混在するように構成するとよい。すなわち、ブリッジ700は、3以上の通信ポートに対応する3以上の中継判定部を有するように構成してもよく、この場合、ブリッジ700は、3以上の中継判定部のうちの全てではない少なくとも1つの中継判定部が、全ての受信フレームの送信処理を行うように構成する。   The bridge 700 may be configured to have three or more communication ports. The bridge 700 may be configured to include a communication port that relays all communication and a communication port that relays or blocks communication by the bridge function. That is, the bridge 700 may be configured to include three or more relay determination units corresponding to three or more communication ports. In this case, the bridge 700 is not all of the three or more relay determination units. One relay determination unit is configured to perform transmission processing of all received frames.

上記の通り、本実施の形態7におけるブリッジ700は、通信ポートのうちの何れかに実施の形態1〜5におけるブリッジの機能を付加し、それ以外の通信ポートに実施の形態6におけるデジタルリピータ600の機能を付加したものである。つまり、本実施の形態7におけるブリッジ700は、実施の形態1〜5における中継判定部と同様に機能する中継判定部と、実施の形態6における中継判定部と同様に機能する中継判定部とが混在するように構成されている。よって、少なくともリピータの機能が付加された通信ポートに接続された通信機器からの送信フレームを、他の通信ポートに接続された通信機器が利用できる状態となるため、空調制御の円滑化を図ることができる。   As described above, the bridge 700 in the seventh embodiment adds the function of the bridge in the first to fifth embodiments to any of the communication ports, and the digital repeater 600 in the sixth embodiment is added to the other communication ports. Is added. That is, the bridge 700 according to the seventh embodiment includes a relay determination unit that functions similarly to the relay determination unit according to the first to fifth embodiments, and a relay determination unit that functions similarly to the relay determination unit according to the sixth embodiment. It is configured to be mixed. Therefore, the transmission frame from the communication device connected to the communication port to which at least the repeater function is added can be used by the communication device connected to the other communication port, so that air conditioning control is facilitated. Can do.

なお、上記構成及び動作の説明では、図3に示すブリッジ100と同様の全体構成であるブリッジ700を例示したが、これに限らず、本実施の形態7におけるブリッジ700は、図12、図14、及び図18の何れかのブリッジと同様の全体構成を有するように構成してもよい。   In the above description of the configuration and operation, the bridge 700 having the same overall configuration as the bridge 100 illustrated in FIG. 3 is illustrated, but the present invention is not limited thereto, and the bridge 700 according to the seventh embodiment is illustrated in FIGS. And you may comprise so that it may have the same whole structure as any bridge | bridging of FIG.

実施の形態8.
上述した実施の形態1〜5において、空気調和システムに接続されるブリッジは、受信フレームの宛先アドレスがアドレステーブルに存在しない場合、当該受信フレームのバッファへの格納を行わない。しかし、通信トラフィックが小さければ、宛先アドレスがアドレステーブルに存在しない受信フレームを中継しても、通信に支障をきたさないことが想定される。そこで、本実施の形態8におけるブリッジは、受信フレームの宛先アドレスがアドレステーブルに存在しない場合に、通信トラフィックの大きさに基づいて受信フレームを中継するか否かを決定するという構成を採っている。
Embodiment 8 FIG.
In the first to fifth embodiments described above, the bridge connected to the air conditioning system does not store the received frame in the buffer when the destination address of the received frame does not exist in the address table. However, if the communication traffic is small, it is assumed that communication will not be hindered even if a received frame whose destination address does not exist in the address table is relayed. Therefore, the bridge according to the eighth embodiment adopts a configuration in which when the destination address of the received frame does not exist in the address table, it is determined whether or not to relay the received frame based on the size of communication traffic. .

図24は、本発明の実施の形態8に係る空気調和システムが有するブリッジの機能的な構成を示すブロック図である。図25は、図24のブリッジによる全体的な動作を示すフローチャートである。図24及び図25を参照して、ブリッジ800の構成及び動作を説明する。上述した実施の形態1と同一の構成部材については同一の符号を用いて説明は省略する。   FIG. 24 is a block diagram showing a functional configuration of a bridge included in the air-conditioning system according to Embodiment 8 of the present invention. FIG. 25 is a flowchart showing an overall operation by the bridge of FIG. The configuration and operation of the bridge 800 will be described with reference to FIGS. About the same component as Embodiment 1 mentioned above, description is abbreviate | omitted using the same code | symbol.

図24に示すように、ブリッジ800は、中継判定部803Aと、中継判定部803Bと、送信タイミング設定部804Aと、送信タイミング設定部804Bと、を有している。送信タイミング設定部804A及び804Bは、通信トラフィックによって変化する値の情報である中継バッファの残量、衝突カウント値、通信機器の接続台数、及びブリッジの接続台数のうちの少なくとも1つをもとに通信トラフィックを推定する機能を有している。   As illustrated in FIG. 24, the bridge 800 includes a relay determination unit 803A, a relay determination unit 803B, a transmission timing setting unit 804A, and a transmission timing setting unit 804B. The transmission timing setting units 804A and 804B are based on at least one of a relay buffer remaining amount, a collision count value, the number of connected communication devices, and the number of connected bridges, which is information on values that change according to communication traffic. It has a function to estimate communication traffic.

送信タイミング設定部804Aは、中継判定部803Bからの推定要求に応じてトラフィック推定値を求め、求めたトラフィック推定値を中継判定部803Aへ出力するものである。送信タイミング設定部804Bは、中継判定部803Aからの推定要求に応じてトラフィック推定値を求め、求めたトラフィック推定値を中継判定部803Bへ出力するものである。   The transmission timing setting unit 804A obtains a traffic estimated value in response to an estimation request from the relay determining unit 803B, and outputs the obtained traffic estimated value to the relay determining unit 803A. The transmission timing setting unit 804B obtains a traffic estimated value in response to an estimation request from the relay determining unit 803A, and outputs the obtained traffic estimated value to the relay determining unit 803B.

すなわち、送信タイミング設定部804Aは、通信トラフィックを推定する際、中継バッファの残量としてはバッファ107Bの残量を用い、通信機器の接続台数としては通信ポートBに接続された通信機器の台数を用いる。また、送信タイミング設定部804Bは、通信トラフィックを推定する際、中継バッファの残量としてはバッファ107Aの残量を用い、通信機器の接続台数としては通信ポートAに接続された通信機器の台数を用いる。   That is, when estimating the communication traffic, the transmission timing setting unit 804A uses the remaining amount of the buffer 107B as the remaining amount of the relay buffer, and the number of communication devices connected to the communication port B as the number of connected communication devices. Use. Further, when estimating the communication traffic, the transmission timing setting unit 804B uses the remaining amount of the buffer 107A as the remaining amount of the relay buffer, and the number of communication devices connected to the communication port A as the number of connected communication devices. Use.

中継判定部803Aは、受信部101Aにおいて受信されたフレームの宛先アドレスが、アドレステーブル105に登録されているか否かを判定するものである。そして、中継判定部803Aは、登録されていないと判定した場合に、送信タイミング設定部804Bで推定された通信トラフィックに基づいて中継処理を行うか否かを判定するものである。より具体的に、中継判定部803Aは、受信フレームの宛先アドレスがアドレステーブル105に登録されていない場合に、通信トラフィックが通信量閾値より大きければ、当該受信フレームをバッファ107Aへ格納せずに破棄するものである。一方、中継判定部803Aは、受信フレームの宛先アドレスがアドレステーブル105に登録されていない場合に、通信トラフィックが通信量閾値以下であれば、当該受信フレームをバッファ107Aへ格納するものである。ここで、中継判定部803Aが、送信タイミング設定部804Bで推定された通信トラフィックとの比較に用いる通信量閾値を、通信ポートB側の通信量閾値という。   The relay determination unit 803A determines whether or not the destination address of the frame received by the reception unit 101A is registered in the address table 105. When it is determined that the relay determination unit 803A is not registered, the relay determination unit 803A determines whether or not to perform relay processing based on the communication traffic estimated by the transmission timing setting unit 804B. More specifically, if the destination address of the received frame is not registered in the address table 105 and the communication traffic is greater than the traffic threshold, the relay determining unit 803A discards the received frame without storing it in the buffer 107A. To do. On the other hand, the relay determination unit 803A stores the received frame in the buffer 107A if the destination address of the received frame is not registered in the address table 105 and the communication traffic is equal to or less than the traffic threshold. Here, the communication amount threshold used by the relay determination unit 803A for comparison with the communication traffic estimated by the transmission timing setting unit 804B is referred to as a communication amount threshold on the communication port B side.

中継判定部803Bは、受信部101Bにおいて受信されたフレームの宛先アドレスが、アドレステーブル105に登録されているか否かを判定するものである。そして、中継判定部803Bは、登録されていないと判定した場合に、送信タイミング設定部804Aで推定された通信トラフィックに基づいて中継処理を行うか否かを判定するものである。より具体的に、中継判定部803Bは、受信フレームの宛先アドレスがアドレステーブル105に登録されていない場合に、通信トラフィックが通信量閾値より大きければ、当該受信フレームをバッファ107Bへ格納せずに破棄するものである。一方、中継判定部803Bは、受信フレームの宛先アドレスがアドレステーブル105に登録されていない場合に、通信トラフィックが通信量閾値以下であれば、当該受信フレームをバッファ107Bへ格納するものである。ここで、中継判定部803Bが、送信タイミング設定部804Aで推定された通信トラフィックとの比較に用いる通信量閾値を、通信ポートA側の通信量閾値という。   The relay determination unit 803B determines whether or not the destination address of the frame received by the reception unit 101B is registered in the address table 105. When it is determined that the relay determination unit 803B is not registered, the relay determination unit 803B determines whether to perform relay processing based on the communication traffic estimated by the transmission timing setting unit 804A. More specifically, if the destination address of the received frame is not registered in the address table 105 and the communication traffic is larger than the traffic threshold, the relay determining unit 803B discards the received frame without storing it in the buffer 107B. To do. On the other hand, when the destination address of the received frame is not registered in the address table 105, the relay determining unit 803B stores the received frame in the buffer 107B if the communication traffic is equal to or less than the traffic threshold. Here, the communication amount threshold used by the relay determination unit 803B for comparison with the communication traffic estimated by the transmission timing setting unit 804A is referred to as a communication amount threshold on the communication port A side.

ここで、通信量閾値は、ブリッジ800を搭載した空気調和システムの通信環境などに応じて設定されるものである。通信量閾値は、マイクロコンピュータ123の内部メモリ(図示せず)又はRAM124等に記憶される。本実施の形態8において、通信量閾値は、ブリッジ800の通信ポート毎に設定される。すなわち、通信量閾値は、通信ポート毎に異なる値が設定されることもある。また、異なる通信ポートに対し、同一の通信量閾値が設定されることもある。通信量閾値の最大値は通信トラフィックの最大値であり、通信量閾値の最小値は0である。例えば、通信ポートB側の通信量閾値を最大値とした場合、ブリッジ800は、通信ポートA側からの通信、つまり通信ポートB側への通信を全て中継する。同様に、通信ポートA側の通信量閾値を最大値とした場合、ブリッジ800は、通信ポートB側からの通信、つまり通信ポートA側への通信を全て中継する。一方、通信ポートB側の通信量閾値を最小値とした場合、ブリッジ800は、通信ポートA側からの通信についてアドレステーブルによる中継処理を行う。同様に、通信ポートA側の通信量閾値を最小値とした場合、ブリッジ800は、通信ポートB側からの通信についてアドレステーブルによる中継処理を行う。ここで、通信ポートB側の通信量閾値は、本発明の「第一通信量閾値」に相当する。また、通信ポートA側の通信量閾値は、本発明の「第二通信量閾値」に相当する。   Here, the communication amount threshold is set according to the communication environment of the air conditioning system in which the bridge 800 is mounted. The communication amount threshold value is stored in an internal memory (not shown) of the microcomputer 123 or the RAM 124. In the eighth embodiment, the communication amount threshold is set for each communication port of the bridge 800. That is, a different value may be set for the communication amount threshold for each communication port. In addition, the same traffic threshold may be set for different communication ports. The maximum value of the traffic threshold is the maximum value of communication traffic, and the minimum value of the traffic threshold is 0. For example, when the communication amount threshold value on the communication port B side is set to the maximum value, the bridge 800 relays all communication from the communication port A side, that is, communication to the communication port B side. Similarly, when the communication amount threshold value on the communication port A side is set to the maximum value, the bridge 800 relays all communication from the communication port B side, that is, all communication to the communication port A side. On the other hand, when the communication amount threshold on the communication port B side is set to the minimum value, the bridge 800 performs a relay process using the address table for communication from the communication port A side. Similarly, when the communication amount threshold value on the communication port A side is set to the minimum value, the bridge 800 performs relay processing using the address table for communication from the communication port B side. Here, the communication amount threshold on the communication port B side corresponds to the “first communication amount threshold” of the present invention. Further, the communication volume threshold on the communication port A side corresponds to the “second traffic threshold” of the present invention.

送信タイミング設定部804A及び804Bの他の機能については、実施の形態1における送信タイミング設定部104A及び104Bと同様である。また、中継判定部803A及び803Bの他の機能については、実施の形態1における中継判定部103A及び103Bと同様である。   Other functions of transmission timing setting sections 804A and 804B are the same as those of transmission timing setting sections 104A and 104B in the first embodiment. Other functions of relay determination units 803A and 803B are the same as those of relay determination units 103A and 103B in the first embodiment.

次に、図25を参照して、ブリッジ800の全体的な動作を説明する。上述した実施の形態1の図10と同じ動作には同一の符号を付して説明は省略する。   Next, the overall operation of the bridge 800 will be described with reference to FIG. The same operations as those in FIG. 10 of the first embodiment described above are denoted by the same reference numerals, and description thereof is omitted.

まず、ブリッジ800は、ステップS101〜S108までの処理を実行する。
次いで、中継判定部803Aは、受信フレームの宛先アドレスDAが、アドレステーブル105の通信ポートBのアドレス記憶領域AT10に存在しない場合に(図25:ステップS108/No)、送信タイミング設定部804Bへ通信トラフィックの推定要求を出力する。送信タイミング設定部804Bは、中継判定部803Aからの推定要求に応じて、中継バッファの残量、衝突カウント値、通信機器の接続台数、及びブリッジの接続台数のうちの何れか1つ又は何れか2つ以上を組み合わせて通信トラフィックの推定値であるトラフィック推定値を求める。そして、送信タイミング設定部804Bは、求めたトラフィック推定値を中継判定部803Aへ出力する。中継判定部803Aは、送信タイミング設定部804Bから出力されたトラフィック推定値と通信量閾値とを比較し、トラフィック推定値が通信量閾値より大きいか否かを判定する(図25:ステップS801)。
First, the bridge 800 executes the processing from steps S101 to S108.
Next, when the destination address DA of the received frame does not exist in the address storage area AT10 of the communication port B of the address table 105 (FIG. 25: Step S108 / No), the relay determination unit 803A communicates with the transmission timing setting unit 804B. Output traffic estimation request. In response to the estimation request from the relay determination unit 803A, the transmission timing setting unit 804B is any one or any of the remaining capacity of the relay buffer, the collision count value, the number of connected communication devices, and the number of connected bridges. A traffic estimated value that is an estimated value of communication traffic is obtained by combining two or more. Then, transmission timing setting section 804B outputs the obtained traffic estimated value to relay determination section 803A. The relay determination unit 803A compares the traffic estimated value output from the transmission timing setting unit 804B with the traffic threshold, and determines whether the traffic estimated value is larger than the traffic threshold (FIG. 25: Step S801).

中継判定部803Aは、通信トラフィックが大きい場合、すなわち、トラフィック推定値が通信量閾値より大きい場合(図25:ステップS801/Yes)、バッファ107Aへ受信フレームを格納せずに破棄する(図25:ステップS803)。一方、中継判定部803Aは、通信トラフィックが小さい場合、すなわち、トラフィック推定値が通信量閾値以下である場合(図25:ステップS801/No)、バッファ107Aへ受信フレームを格納する (図25:ステップS803)。   When the communication traffic is large, that is, when the traffic estimation value is larger than the traffic threshold (FIG. 25: Step S801 / Yes), the relay determination unit 803A discards the received frame without storing it in the buffer 107A (FIG. 25: Step S803). On the other hand, when the communication traffic is small, that is, when the traffic estimated value is equal to or less than the traffic threshold (FIG. 25: Step S801 / No), relay determination unit 803A stores the received frame in buffer 107A (FIG. 25: Step). S803).

また、中継判定部803Aは、受信フレームの宛先アドレスDAが、アドレステーブル105の通信ポートBのアドレス記憶領域AT10に存在する場合にも(図25:ステップS108/Yes)、受信フレームをバッファ107Aへ格納する(図25:ステップS803)。   The relay determination unit 803A also sends the received frame to the buffer 107A even when the destination address DA of the received frame exists in the address storage area AT10 of the communication port B of the address table 105 (FIG. 25: Yes in step S108). Store (FIG. 25: Step S803).

次に、ブリッジ800は、ステップS111〜S113までの処理を実行する。
続いて、中継判定部803Bは、受信フレームの宛先アドレスDAが、アドレステーブル105の通信ポートAのアドレス記憶領域AT10に存在しない場合に(図25:ステップS113/No)、送信タイミング設定部804Aへ通信トラフィックの推定要求を出力する。送信タイミング設定部804Aは、中継判定部803Aからの推定要求に応じて通信トラフィックの推定値であるトラフィック推定値を求める。そして、送信タイミング設定部804Aは、求めたトラフィック推定値を中継判定部803Bへ出力する。中継判定部803Bは、送信タイミング設定部804Aから出力されたトラフィック推定値と通信量閾値とを比較し、トラフィック推定値が通信量閾値より大きいか否かを判定する(図25:ステップS804)。
Next, the bridge 800 executes the processes from steps S111 to S113.
Subsequently, when the destination address DA of the received frame does not exist in the address storage area AT10 of the communication port A of the address table 105 (FIG. 25: Step S113 / No), the relay determination unit 803B proceeds to the transmission timing setting unit 804A. Output a request to estimate communication traffic. The transmission timing setting unit 804A obtains a traffic estimated value that is an estimated value of communication traffic in response to the estimation request from the relay determining unit 803A. Then, transmission timing setting section 804A outputs the obtained traffic estimated value to relay determination section 803B. The relay determination unit 803B compares the traffic estimated value output from the transmission timing setting unit 804A with the communication amount threshold value, and determines whether or not the traffic estimated value is larger than the communication amount threshold value (FIG. 25: Step S804).

中継判定部803Bは、トラフィック推定値が通信量閾値より大きい場合(図25:ステップS804/Yes)、バッファ107Bへ受信フレームを格納せずに破棄する(図25:ステップS805)。一方、中継判定部803Bは、トラフィック推定値が通信量閾値以下である場合(図25:ステップS804/No)、バッファ107Bへ受信フレームを格納する (図25:ステップS806)。   When the traffic estimation value is larger than the traffic threshold (FIG. 25: Step S804 / Yes), the relay determination unit 803B discards the received frame without storing it in the buffer 107B (FIG. 25: Step S805). On the other hand, when the traffic estimation value is equal to or less than the traffic threshold (FIG. 25: Step S804 / No), the relay determination unit 803B stores the received frame in the buffer 107B (FIG. 25: Step S806).

また、中継判定部803Bは、受信フレームの宛先アドレスDAが、アドレステーブル105の通信ポートAのアドレス記憶領域AT10に存在する場合にも(図25:ステップS113/Yes)、受信フレームをバッファ107Bへ格納する(図25:ステップS806)。   The relay determination unit 803B also sends the received frame to the buffer 107B even when the destination address DA of the received frame is present in the address storage area AT10 of the communication port A of the address table 105 (FIG. 25: Step S113 / Yes). Store (FIG. 25: Step S806).

以上のように、本実施の形態8におけるブリッジ800は、受信フレームの宛先アドレスがアドレステーブルに存在しない場合であっても、通信トラフィックが小さい場合には、受信フレームをバッファへ一次記憶させ、中継処理を実行する。このため、ブリッジ803を搭載した空調調和システムによれば、通信に支障をきたさない範囲内において、各種通信機器に、自己アドレス宛て以外のフレームを利用させることができるため、空調制御の円滑化を図ることができる。   As described above, the bridge 800 according to the eighth embodiment causes the received frame to be temporarily stored in the buffer and relayed when the communication traffic is small even when the destination address of the received frame does not exist in the address table. Execute the process. For this reason, according to the air conditioning harmony system equipped with the bridge 803, various communication devices can use frames other than those addressed to their own addresses within a range that does not hinder communication. Can be planned.

また、通信ポートB側の通信量閾値及び通信ポートA側の通信量閾値を最大値に設定した場合、トラフィック推定値が通信量閾値より大きくなることはないため、中継判定部803A及び中継判定部803Bは、受信フレームを必ずバッファへ格納する。したがって、ブリッジ800は、各通信ポートの通信量閾値が最大値に設定された場合、上述した実施の形態6におけるデジタルリピータ600と同様の動作を行うことができる。   In addition, when the communication amount threshold value on the communication port B side and the communication amount threshold value on the communication port A side are set to the maximum values, the traffic estimation value never becomes larger than the communication amount threshold value, so the relay determination unit 803A and the relay determination unit 803B always stores the received frame in the buffer. Therefore, the bridge 800 can perform the same operation as that of the digital repeater 600 in the sixth embodiment described above when the communication amount threshold value of each communication port is set to the maximum value.

さらに、通信ポートA及び通信ポートBのうち、一方の通信ポートの通信量閾値を最小値に設定し、他方の通信ポートの通信量閾値を最大値に設定した場合、ブリッジ800は、上述した実施の形態7に示したブリッジ700と同様の動作を行うことができる。   Further, when the communication amount threshold of one communication port of the communication ports A and B is set to the minimum value and the communication amount threshold value of the other communication port is set to the maximum value, the bridge 800 performs the above-described implementation. The same operation as that of the bridge 700 shown in the seventh embodiment can be performed.

なお、上記構成及び動作の説明では、図3に示すブリッジ100と同様の全体構成であるブリッジ800を例示したが、これに限らず、本実施の形態8におけるブリッジ800は、図12、図14、及び図18の何れかのブリッジと同様の全体構成を有するように構成してもよい。すなわち、例えば、送信タイミング設定部604A及び604Bは、実施の形態2における送信タイミング設定部204A及び204B、又は実施の形態3における送信タイミング設定部304A及び304Bと同等の機能を有していてもよい。また、中継判定部603A及び603Bは、実施の形態2における中継判定部503A及び503Bと同等の機能を有していてもよい。   In the above description of the configuration and operation, the bridge 800 having the same overall configuration as that of the bridge 100 illustrated in FIG. 3 is illustrated. However, the present invention is not limited thereto, and the bridge 800 according to the eighth embodiment is illustrated in FIGS. And you may comprise so that it may have the same whole structure as any bridge | bridging of FIG. That is, for example, transmission timing setting sections 604A and 604B may have functions equivalent to transmission timing setting sections 204A and 204B in the second embodiment or transmission timing setting sections 304A and 304B in the third embodiment. . Further, relay determination units 603A and 603B may have functions equivalent to relay determination units 503A and 503B in the second embodiment.

実施の形態9.
図26は、本実施の形態9に係る空気調和システムが有するデジタルリピータの機能的な構成を示すブロック図である。図27は、図26のデジタルリピータによる全体的な動作を示すフローチャートである。図26及び図27を参照して、本実施の形態9に係る空気調和システムの構成及び動作について説明する。
Embodiment 9 FIG.
FIG. 26 is a block diagram illustrating a functional configuration of a digital repeater included in the air-conditioning system according to Embodiment 9. FIG. 27 is a flowchart showing the overall operation of the digital repeater of FIG. With reference to FIG.26 and FIG.27, the structure and operation | movement of the air conditioning system which concern on this Embodiment 9 are demonstrated.

上述した実施の形態6では、空気調和システムに接続されるデジタルリピータ600の台数が増えると、送信開始タイミングを規定タイミングよりも早めてフレームを送信した際に、デジタルリピータ600が通信の衝突を検出する確率が高くなる。特に、デジタルリピータ600は、全てのフレームを中継するため、実施の形態1〜5におけるブリッジと比較して送信機会が多くなる。よって、デジタルリピータ600は、通信の衝突を検知する可能性が高くなり、バッファ107A及び107Bが一杯になる確率が高くなるため、通信異常が発生する確率も高くなる。この状況は、通信トラフィックが大きい場合に顕著に表れる。   In the above-described sixth embodiment, when the number of digital repeaters 600 connected to the air conditioning system increases, the digital repeater 600 detects a communication collision when a frame is transmitted with the transmission start timing earlier than the specified timing. The probability of doing is increased. In particular, since digital repeater 600 relays all frames, there are more transmission opportunities than the bridges in the first to fifth embodiments. Therefore, the digital repeater 600 has a high possibility of detecting a communication collision, and the probability that the buffers 107A and 107B will be full increases, so the probability that a communication abnormality will occur also increases. This situation is noticeable when the communication traffic is large.

そこで、本実施の形態9では、実施の形態1〜5の何れかの構成におけるブリッジの中継判定部(図3、図12、図14、及び図18参照)が、宛先による中継を行わずに、全ての受信フレームの送信処理を行い、かつ、送信タイミング設定部による通信トラフィックの推定結果に応じて、通信の遮断又は中継を行うという構成を採っている。   Therefore, in the ninth embodiment, the bridge relay determination unit (see FIGS. 3, 12, 14, and 18) in any of the configurations of the first to fifth embodiments does not perform relay by destination. In this configuration, all received frames are transmitted, and communication is blocked or relayed according to the result of communication traffic estimation by the transmission timing setting unit.

ここで、本実施の形態9におけるブリッジは、実施の形態6におけるデジタルリピータ600に、ブリッジとしての機能を付加したものであることから、実施の形態6と同様にデジタルリピータと呼称する。ここでは、一例として、図3に示す構成内容をもとに、本実施の形態9におけるデジタルリピータの構成及び動作を説明する。   Here, the bridge in the ninth embodiment is called a digital repeater as in the sixth embodiment because the bridge is added to the digital repeater 600 in the sixth embodiment. Here, as an example, the configuration and operation of the digital repeater according to the ninth embodiment will be described based on the configuration shown in FIG.

図26に示すように、デジタルリピータ900は、中継判定部903Aと、中継判定部903Bと、送信タイミング設定部904Aと、送信タイミング設定部904Bと、を有している。送信タイミング設定部904A及び904Bは、通信トラフィックによって変化する値の情報である中継バッファの残量、衝突カウント値、通信機器の接続台数、及びブリッジの接続台数のうちの少なくとも1つをもとに通信トラフィックを推定する機能を有している。   As illustrated in FIG. 26, the digital repeater 900 includes a relay determination unit 903A, a relay determination unit 903B, a transmission timing setting unit 904A, and a transmission timing setting unit 904B. The transmission timing setting units 904A and 904B are based on at least one of the relay buffer remaining amount, collision count value, the number of connected communication devices, and the number of connected bridges, which are information of values that change according to communication traffic. It has a function to estimate communication traffic.

送信タイミング設定部904Aは、中継判定部903Bからの推定要求に応じてトラフィック推定値を求め、求めたトラフィック推定値を中継判定部903Aへ出力するものである。送信タイミング設定部904Bは、中継判定部903Aからの推定要求に応じてトラフィック推定値を求め、求めたトラフィック推定値を中継判定部903Bへ出力するものである。   The transmission timing setting unit 904A obtains a traffic estimated value in response to an estimation request from the relay determining unit 903B, and outputs the obtained traffic estimated value to the relay determining unit 903A. The transmission timing setting unit 904B obtains a traffic estimated value in response to an estimation request from the relay determining unit 903A, and outputs the obtained traffic estimated value to the relay determining unit 903B.

すなわち、送信タイミング設定部904Aは、通信トラフィックを推定する際、中継バッファの残量としてはバッファ107Bの残量を用い、通信機器の接続台数としては通信ポートBに接続された通信機器の台数を用いる。また、送信タイミング設定部904Bは、通信トラフィックを推定する際、中継バッファの残量としてはバッファ107Aの残量を用い、通信機器の接続台数としては通信ポートAに接続された通信機器の台数を用いる。   That is, when estimating the communication traffic, the transmission timing setting unit 904A uses the remaining amount of the buffer 107B as the remaining amount of the relay buffer, and the number of communication devices connected to the communication port B as the number of connected communication devices. Use. Further, when estimating the communication traffic, the transmission timing setting unit 904B uses the remaining amount of the buffer 107A as the remaining amount of the relay buffer, and the number of communication devices connected to the communication port A as the number of connected communication devices. Use.

中継判定部903Aは、受信部101Aから受信フレームを取得したとき、送信タイミング設定部904Bに通信トラフィックの推定要求を出力するものである。また、中継判定部903Aは、送信タイミング設定部904Bから出力されるトラフィック推定値が通信量閾値より大きいか否かを判定し、判定の結果に応じて、受信部101Aから渡された受信フレームを中継し又は破棄するものである。   When the relay determination unit 903A acquires a reception frame from the reception unit 101A, the relay determination unit 903A outputs a communication traffic estimation request to the transmission timing setting unit 904B. Also, the relay determination unit 903A determines whether or not the traffic estimated value output from the transmission timing setting unit 904B is larger than the traffic threshold, and the received frame passed from the reception unit 101A is determined according to the determination result. Relay or discard.

中継判定部903Bは、受信部101Bから受信フレームを取得したとき、送信タイミング設定部904Aに通信トラフィックの推定要求を出力するものである。また、中継判定部903Bは、送信タイミング設定部904Aから出力されるトラフィック推定値が通信量閾値より大きいか否かを判定し、判定の結果に応じて、受信部101Bから渡された受信フレームを中継し又は破棄するものである。   When the relay determination unit 903B acquires a reception frame from the reception unit 101B, the relay determination unit 903B outputs a communication traffic estimation request to the transmission timing setting unit 904A. Also, the relay determination unit 903B determines whether or not the traffic estimation value output from the transmission timing setting unit 904A is larger than the traffic threshold, and the received frame passed from the reception unit 101B is determined according to the determination result. Relay or discard.

ここで、通信量閾値は、デジタルリピータ900を搭載した空気調和システムの通信環境などに応じて設定されるものである。本実施の形態9においても、通信量閾値は、デジタルリピータ900の通信ポート毎に値が設定される。すなわち、通信量閾値は、通信ポート毎に異なる値が設定されることもある。また、異なる通信ポートに対し、同一の通信量閾値が設定されることもある。例えば、通信ポートB側の通信量閾値を最大値とした場合、デジタルリピータ900は、通信ポートA側からの通信を全て中継する。同様に、通信ポートA側の通信量閾値を最大値とした場合、デジタルリピータ900は、通信ポートB側からの通信を全て中継する。一方、通信ポートB側の通信量閾値を最小値とした場合、デジタルリピータ900は、通信ポートA側からの通信を全て遮断する。同様に、通信ポートA側の通信量閾値を最小値とした場合、デジタルリピータ900は、通信ポートB側からの通信を全て遮断する。   Here, the communication amount threshold is set according to the communication environment of the air conditioning system in which the digital repeater 900 is mounted. Also in the ninth embodiment, the communication amount threshold value is set for each communication port of the digital repeater 900. That is, a different value may be set for the communication amount threshold for each communication port. In addition, the same traffic threshold may be set for different communication ports. For example, when the communication amount threshold on the communication port B side is set to the maximum value, the digital repeater 900 relays all communication from the communication port A side. Similarly, when the communication amount threshold on the communication port A side is set to the maximum value, the digital repeater 900 relays all communication from the communication port B side. On the other hand, when the communication amount threshold value on the communication port B side is set to the minimum value, the digital repeater 900 blocks all communication from the communication port A side. Similarly, when the communication amount threshold value on the communication port A side is set to the minimum value, the digital repeater 900 blocks all communication from the communication port B side.

送信タイミング設定部904A及び904Bの他の機能については、実施の形態1における送信タイミング設定部104A及び104Bと同様である。また、中継判定部903A及び903Bの他の機能については、実施の形態1における中継判定部103A及び103Bと同様である。   Other functions of transmission timing setting sections 904A and 904B are the same as those of transmission timing setting sections 104A and 104B in the first embodiment. Other functions of relay determination units 903A and 903B are the same as those of relay determination units 103A and 103B in the first embodiment.

すなわち、デジタルリピータ900は、通信トラフィックの推定結果が大きい場合にブリッジとして機能し、通信の遮断を行うように構成されている。また、デジタルリピータ900は、通信トラフィックの推定結果が小さい場合にリピータとして機能し、通信の中継を行うように構成されている。   That is, the digital repeater 900 is configured to function as a bridge and block communication when the estimation result of communication traffic is large. The digital repeater 900 functions as a repeater when the communication traffic estimation result is small, and is configured to relay communication.

次に、図27を参照して、デジタルリピータ900の全体的な動作を説明する。上述した実施の形態6の図23と同じ動作には同一の符号を付して説明は省略する。   Next, the overall operation of the digital repeater 900 will be described with reference to FIG. The same operations as those in FIG. 23 of the sixth embodiment described above are denoted by the same reference numerals, and description thereof is omitted.

まず、デジタルリピータ900は、ステップS101〜S107までの処理を実行する。次いで、中継判定部903Aは、受信部101Aから受信フレームを取得すると、送信タイミング設定部904Bに通信トラフィックの推定要求を出力する。送信タイミング設定部904Bは、中継判定部903Aからの推定要求に応じて、通信トラフィックの推定値であるトラフィック推定値を求め、求めたトラフィック推定値を中継判定部903Aへ出力する。中継判定部903Aは、送信タイミング設定部904Bから出力されたトラフィック推定値と通信量閾値とを比較し、トラフィック推定値が通信量閾値より大きいか否かを判定する(図27:ステップS901)。   First, the digital repeater 900 executes the processes from steps S101 to S107. Next, when the relay determination unit 903A acquires the received frame from the reception unit 101A, the relay determination unit 903A outputs a communication traffic estimation request to the transmission timing setting unit 904B. In response to the estimation request from relay determination unit 903A, transmission timing setting unit 904B determines a traffic estimation value that is an estimated value of communication traffic, and outputs the obtained traffic estimation value to relay determination unit 903A. The relay determination unit 903A compares the traffic estimated value output from the transmission timing setting unit 904B with the traffic threshold, and determines whether the traffic estimated value is larger than the traffic threshold (FIG. 27: step S901).

中継判定部903Aは、通信トラフィックが大きい場合、すなわち、トラフィック推定値が通信量閾値より大きい場合(図27:ステップS901/Yes)、バッファ107Aへ受信フレームを格納せずに破棄する(図27:ステップS902)。一方、中継判定部903Aは、通信トラフィックが小さい場合、すなわち、トラフィック推定値が通信量閾値以下である場合(図27:ステップS901/No)、バッファ107Aへ受信フレームを格納する(図27:ステップS903)。   When the communication traffic is large, that is, when the traffic estimated value is larger than the traffic threshold (FIG. 27: Step S901 / Yes), the relay determination unit 903A discards the received frame without storing it in the buffer 107A (FIG. 27: Step S902). On the other hand, when the communication traffic is small, that is, when the traffic estimated value is equal to or less than the traffic threshold (FIG. 27: Step S901 / No), relay determination unit 903A stores the received frame in buffer 107A (FIG. 27: Step). S903).

次に、デジタルリピータ900は、ステップS111〜S112までの処理を実行する。続いて、中継判定部903Bは、受信部101Bから受信フレームを取得すると、送信タイミング設定部904Aに通信トラフィックの推定要求を出力する。送信タイミング設定部904Aは、中継判定部903Bからの推定要求に応じて、通信トラフィックの推定値であるトラフィック推定値を求め、求めたトラフィック推定値を中継判定部903Bへ出力する。中継判定部903Bは、送信タイミング設定部904Aから出力されたトラフィック推定値が通信量閾値より大きいか否かを判定する(図27:ステップS904)。   Next, the digital repeater 900 executes the processes from steps S111 to S112. Subsequently, when the relay determination unit 903B acquires the reception frame from the reception unit 101B, the relay determination unit 903B outputs a communication traffic estimation request to the transmission timing setting unit 904A. In response to the estimation request from relay determination unit 903B, transmission timing setting unit 904A determines a traffic estimation value that is an estimated value of communication traffic, and outputs the calculated traffic estimation value to relay determination unit 903B. The relay determination unit 903B determines whether or not the traffic estimation value output from the transmission timing setting unit 904A is greater than the traffic threshold (FIG. 27: step S904).

中継判定部903Bは、トラフィック推定値が通信量閾値より大きい場合(図27:ステップS904/Yes)、バッファ107Bへ受信フレームを格納せずに破棄する(図27:ステップS905)。一方、中継判定部903Bは、トラフィック推定値が通信量閾値以下である場合(図27:ステップS904/No)、バッファ107Bへ受信フレームを格納する (図27:ステップS906)。   When the traffic estimation value is larger than the traffic threshold (FIG. 27: Step S904 / Yes), the relay determination unit 903B discards the received frame without storing it in the buffer 107B (FIG. 27: Step S905). On the other hand, when the traffic estimation value is equal to or less than the traffic threshold (FIG. 27: Step S904 / No), the relay determination unit 903B stores the received frame in the buffer 107B (FIG. 27: Step S906).

以上のように、本実施の形態9におけるデジタルリピータ900は、通信トラフィックが小さい場合にリピータとしての動作を行い、通信トラフィックが大きい場合にブリッジとしての動作に切り替わる。このため、デジタルリピータ900を装備した空気調和システムは、通信トラフィックが小さい場合に、自己アドレス宛て以外のフレームを利用する通信機器の機能を有効にすることができ、通信トラフィックが大きい場合に、ブリッジによって通信異常の抑制を行うことができる。   As described above, the digital repeater 900 according to the ninth embodiment performs an operation as a repeater when communication traffic is small, and switches to an operation as a bridge when communication traffic is large. For this reason, the air conditioning system equipped with the digital repeater 900 can enable the function of a communication device using a frame other than the address addressed to the self-address when the communication traffic is small. Thus, communication abnormality can be suppressed.

すなわち、デジタルリピータ900を搭載した空気調和システムによれば、デジタルリピータ900が通信トラフィックの量に応じてブリッジの動作に切り替わるという動作を行うことにより、通信の衝突を検知する可能性を低くし、バッファ107A及び107Bが一杯になる確率を低くすることができるため、通信異常が発生する確率を低くすることができる。   That is, according to the air conditioning system equipped with the digital repeater 900, the digital repeater 900 performs the operation of switching to the operation of the bridge according to the amount of communication traffic, thereby reducing the possibility of detecting a communication collision. Since the probability that the buffers 107A and 107B become full can be reduced, the probability that a communication abnormality will occur can be reduced.

また、通信ポートB側の通信量閾値及び通信ポートA側の通信量閾値を最大値に設定した場合、トラフィック推定値が通信量閾値より大きくなることはないため、中継判定部903A及び中継判定部903Bは、受信フレームを必ずバッファへ格納する。したがって、デジタルリピータ900は、各通信ポートの通信量閾値が最大値に設定された場合、上述した実施の形態6におけるデジタルリピータ600と同様の動作を行うことができる。   In addition, when the communication amount threshold on the communication port B side and the communication amount threshold on the communication port A side are set to the maximum value, the traffic estimation value does not become larger than the communication amount threshold, so the relay determination unit 903A and the relay determination unit 903B always stores the received frame in the buffer. Therefore, digital repeater 900 can perform the same operation as digital repeater 600 in the above-described sixth embodiment when the communication amount threshold value of each communication port is set to the maximum value.

なお、上記構成及び動作の説明では、図3に示すブリッジ100をもとにデジタルリピータ900を構成した例を示したが、これに限らず、デジタルリピータ900は、図12、図14、及び図18の何れかに示すブリッジをもとに構成してもよい。このようにしても、各構成における中継判定部が、図27のフローチャートと同様、宛先による中継を行わずに動作するため、通信トラフィックが小さい場合に、空調調和システムに接続される通信機器が、自己アドレス宛て以外のフレームを利用することができる。また、通信トラフィックが大きい場合に、ブリッジによって通信異常の抑制を行うことができる。   In the above description of the configuration and operation, an example in which the digital repeater 900 is configured based on the bridge 100 illustrated in FIG. 3 is shown. However, the present invention is not limited to this, and the digital repeater 900 may be configured as illustrated in FIGS. You may comprise based on the bridge shown in either. Even in this case, the relay determination unit in each configuration operates without relaying by destination as in the flowchart of FIG. 27, so that when communication traffic is small, the communication device connected to the air conditioning harmony system is Frames other than those addressed to the self address can be used. Further, when communication traffic is large, communication abnormality can be suppressed by the bridge.

また、デジタルリピータ900が実施の形態3に対応する構成を採る場合、アドレステーブル305には接続合計台数AT30及びブリッジ台数AT31を記憶させず、デジタルリピータ900が、複数の通信ポートごとの通信機器の接続台数の情報を記憶する機器台数テーブルと、複数のデジタルリピータ900の接続台数の情報を記憶するリピータ台数テーブルと、を有するように構成してもよい。もっとも、デジタルリピータ900は、宛先アドレスに基づく中継処理を行わないため、アドレステーブル105をRAM124等に記憶させずに構成してもよい。   Further, when the digital repeater 900 adopts a configuration corresponding to the third embodiment, the total number of connections AT30 and the number of bridges AT31 are not stored in the address table 305, and the digital repeater 900 has communication devices for each of a plurality of communication ports. You may comprise so that it may have the apparatus number table which memorize | stores the information of the number of connections, and the repeater number table which memorize | stores the information of the number of connections of the some digital repeater 900. FIG. However, since the digital repeater 900 does not perform relay processing based on the destination address, the digital repeater 900 may be configured without storing the address table 105 in the RAM 124 or the like.

図28は、複数のセグメント間の通信がリピータにより中継される場合の空気調和システムを示す模式図である。図29は、複数のセグメント間の通信がブリッジにより中継される場合の空気調和システムを示す模式図である。図28及び図29を参照して、リピータとブリッジの違いと共に、上記各実施の形態における空気調和システムによって得られる効果を説明する。   FIG. 28 is a schematic diagram showing an air conditioning system when communication between a plurality of segments is relayed by a repeater. FIG. 29 is a schematic diagram showing an air conditioning system when communication between a plurality of segments is relayed by a bridge. With reference to FIG.28 and FIG.29, the effect acquired by the air conditioning system in each said embodiment is demonstrated with the difference between a repeater and a bridge | bridging.

通信の中継方法としては、図28に示すリピータ1000を用いる方法と、図29に示すブリッジ2000を用いる方法とがある。リピータ1000は、セグメント90Aのバス97とセグメント90Bのバス98とを接続することで通信の中継を行い、リピータ1000は、セグメント90Aのバス97とセグメント90Bのバス98とを切断することで通信の遮断を行う。したがって、リピータ1000による衝突検出型の伝送方式では、送信した通信機器の接続されているセグメントからリピータ1000への送信が成功すれば、送信の成功が確定する。   As a communication relay method, there are a method using a repeater 1000 shown in FIG. 28 and a method using a bridge 2000 shown in FIG. The repeater 1000 relays the communication by connecting the bus 97 of the segment 90A and the bus 98 of the segment 90B, and the repeater 1000 disconnects the bus 97 of the segment 90A and the bus 98 of the segment 90B. Shut off. Therefore, in the collision detection type transmission method using the repeater 1000, if the transmission from the connected segment of the communication device to the repeater 1000 is successful, the success of the transmission is confirmed.

また、リピータ1000は、減衰した伝送波形を増幅する機能を有するため、リピータ1000を用いれば、伝送距離を延長することができる。しかし、空気調和システムにおける通信では、伝送距離が長くなると、伝搬遅延によって伝送波形の位相ずれが生じることから、各通信機器が伝送波形を識別できなくなり通信が不可能となる。このため、空気調和システムの伝送距離は制限され、リピータ1000の多段接続台数も制限される。さらに、伝送波形にノイズを含む場合、リピータ1000は、ノイズを増幅して中継するため、ノイズによるセグメントを跨いだ通信異常の発生頻度が高まる。   Further, since the repeater 1000 has a function of amplifying the attenuated transmission waveform, the transmission distance can be extended by using the repeater 1000. However, in communication in an air conditioning system, if the transmission distance becomes long, a phase shift of the transmission waveform occurs due to propagation delay, so that each communication device cannot identify the transmission waveform and communication is impossible. For this reason, the transmission distance of the air conditioning system is limited, and the number of multistage connected repeaters 1000 is also limited. Furthermore, when the transmission waveform includes noise, the repeater 1000 amplifies the noise and relays it, so that the frequency of occurrence of communication abnormality across segments due to noise increases.

一方、ブリッジ2000は、セグメント90Aのバス97とセグメント90Bのバス98とを接続するものであり、各セグメントから送信されたフレームをバッファ107A又はバッファ107Bに一次記憶し、中継を要するフレームのみを中継するという処理を実行する。よって、ブリッジ2000による衝突検出型の伝送方式では、セグメント間に跨がる通信を中継し、各セグメント内で閉じた通信を遮断することにより、リピータ1000を用いた場合と比較して、通信トラフィックを削減することができる。   On the other hand, the bridge 2000 connects the bus 97 of the segment 90A and the bus 98 of the segment 90B, primarily stores frames transmitted from each segment in the buffer 107A or the buffer 107B, and relays only frames that need to be relayed. Execute the process of. Therefore, in the collision detection type transmission method using the bridge 2000, communication traffic between segments is relayed and communication that is closed in each segment is cut off, so that communication traffic is compared with the case where the repeater 1000 is used. Can be reduced.

また、ブリッジ2000は、セグメント間を物理的に遮断することから、伝搬遅延がセグメント毎に閉じている。このため、空気調和システムの伝送距離は各セグメント毎に制限されるが、ブリッジ2000の多段接続により、空気調和システムの伝送距離を制限なく延長することができる。さらに、ブリッジ2000は、伝送波形を識別して中継することから、伝送波形にノイズを含む場合でも、ノイズを遮断することができるため、ノイズによるセグメントを跨いだ通信異常の発生を防止することができる。   In addition, since the bridge 2000 physically blocks the segments, the propagation delay is closed for each segment. For this reason, although the transmission distance of an air conditioning system is restrict | limited for every segment, the transmission distance of an air conditioning system can be extended without a restriction | limiting by the multistage connection of the bridge | bridging 2000. FIG. Furthermore, since the bridge 2000 identifies and relays the transmission waveform, even when the transmission waveform includes noise, the bridge 2000 can block the noise, thereby preventing the occurrence of a communication abnormality across segments due to noise. it can.

しかしながら、ブリッジ2000による衝突検出型の伝送方式では、一方のセグメントから送信されたフレームを一旦バッファ107A又は107Bに一次記憶させた上で、一定時間経過後に送信するため、フレームの送信元の通信機器を含むセグメントからブリッジ2000への送信が成功しても、送信の成功が確定しない。このため、従来技術のように、バッファ残量がなくなったときに各バッファの特定フレームを破棄すると、各通信機器の通信通達状況に齟齬が発生し、送信元の通信機器は通信異常を検出することになる。   However, in the collision detection type transmission method using the bridge 2000, a frame transmitted from one segment is temporarily stored in the buffer 107A or 107B and then transmitted after a predetermined time has passed. Even if transmission to the bridge 2000 from a segment including “” is successful, transmission success is not determined. For this reason, if the specific frame of each buffer is discarded when the remaining buffer capacity is exhausted as in the prior art, a fault occurs in the communication notification status of each communication device, and the communication device of the transmission source detects a communication abnormality. It will be.

そこで、上記各実施の形態のブリッジ100、200、300、500、700、及び800は、送信タイミング設定部が、バッファ残量が残量閾値以下である場合に、送信開始タイミングを規定タイミングよりも早くするという構成を採っている。このため、各送信部は、他の通信機器によるフレーム送信のタイミングよりも早いタイミングでフレームを送信することができる。したがって、ブリッジ100、200、300、500、700、及び600は、他の通信機器によるフレーム送信のタイミングよりも早いタイミングでフレームを送信することができるため、ブリッジのバッファ残量がなくなるという状況を回避できる。また、ブリッジ100、200、300、500、700、及び800は、バッファ内のフレームを破棄する必要がないため、空気調和システムに接続される各通信機器の通信通達状況の齟齬が発生しないことから、各通信機器の通信通達状況の齟齬に起因して発生する通信異常を抑制することができる。   Therefore, in the bridges 100, 200, 300, 500, 700, and 800 of each of the embodiments described above, the transmission timing setting unit sets the transmission start timing from the specified timing when the buffer remaining amount is equal to or less than the remaining amount threshold value. The structure is to make it faster. For this reason, each transmission part can transmit a frame at a timing earlier than the timing of frame transmission by another communication device. Accordingly, since the bridges 100, 200, 300, 500, 700, and 600 can transmit frames at timings earlier than the frame transmission timings by other communication devices, there is no situation in which the buffer capacity of the bridge is exhausted. Can be avoided. In addition, since the bridges 100, 200, 300, 500, 700, and 800 do not need to discard the frames in the buffer, there is no occurrence of a communication notification status of each communication device connected to the air conditioning system. It is possible to suppress a communication abnormality that occurs due to a failure in the communication notification status of each communication device.

さらに、ブリッジ100、200、300、500、700、及び800を用いることで、空気調和システムにブリッジを導入することができる。そして、空気調和システムへのブリッジ100、200、300、500、700、及び800の導入により、空気調和システムの伝送距離を制限なく延長することができ、かつ、中継時のノイズを遮断することができる。併せて、ブリッジ100、200、300、500、700、及び800によれば、ブリッジのバッファ残量の枯渇という従来の課題を解決することができ、すなわち、バッファ残量の枯渇を防止することができる。   Further, by using the bridges 100, 200, 300, 500, 700, and 800, the bridge can be introduced into the air conditioning system. And by introducing the bridges 100, 200, 300, 500, 700, and 800 to the air conditioning system, the transmission distance of the air conditioning system can be extended without limitation, and noise during relay can be cut off. it can. In addition, according to the bridges 100, 200, 300, 500, 700, and 800, the conventional problem of depletion of the buffer capacity of the bridge can be solved, that is, the depletion of the buffer capacity can be prevented. it can.

なお、上述した各実施の形態は、空気調和システムにおける好適な具体例であり、本発明の技術的範囲は、これらの態様に限定されるものではない。例えば、図1では、空気調和システム10が有する複数の通信機器として、集中コントローラ91及び92と、室外機93と、室内機94〜96とを有する例を示したが、室外機、室内機、及び集中コントローラの数はこれに限定されるものではない。すなわち、空気調和システム10が、任意の数の室外機、室内機、及び集中コントローラを有するようにしてもよく、集中コントローラを有しないようにしてもよい。   Each embodiment mentioned above is a suitable example in an air harmony system, and the technical scope of the present invention is not limited to these modes. For example, in FIG. 1, the example which has the centralized controllers 91 and 92, the outdoor unit 93, and the indoor units 94-96 as a some communication apparatus which the air conditioning system 10 has was shown, but an outdoor unit, an indoor unit, The number of centralized controllers is not limited to this. That is, the air conditioning system 10 may have an arbitrary number of outdoor units, indoor units, and a centralized controller, or may not have a centralized controller.

また、図1では、各通信機器が2つのセグメント90A及び90Bに分割されている例を示したが、これに限定されず、空気調和システム10では、任意に設けられた複数の通信機器が、3以上のセグメントに分割されていてもよい。空気調和システム10が3以上のセグメントを含んで構成された場合、上記各実施の形態におけるブリッジ及びデジタルリピータは、3以上のセグメントのそれぞれに対応する3以上の通信ポートを有するようにするとよい。そして、上記各実施の形態におけるブリッジ及びデジタルリピータは、3以上の通信ポートのそれぞれに対応する3以上の中継判定部を有するようにしてもよい。同様に、上記各実施の形態におけるブリッジ及びデジタルリピータは、3以上の通信ポートのそれぞれに対応する3以上の送信タイミング設定部を有するようにしてもよい。もっとも、上記各実施の形態におけるブリッジ及びデジタルリピータは、複数の中継判定部が有する機能を併せもつ1つの中継判定部を有していてもよい。また、上記各実施の形態におけるブリッジ及びデジタルリピータは、複数の送信タイミング設定部が有する機能を併せもつ1つの送信タイミング設定部を有していてもよい。   Moreover, in FIG. 1, although the example in which each communication apparatus is divided | segmented into two segments 90A and 90B was shown, it is not limited to this, In the air conditioning system 10, the some communication apparatus provided arbitrarily is It may be divided into three or more segments. When the air conditioning system 10 includes three or more segments, the bridge and the digital repeater in each of the above embodiments may have three or more communication ports corresponding to each of the three or more segments. The bridge and digital repeater in each of the above embodiments may have three or more relay determination units corresponding to each of three or more communication ports. Similarly, the bridge and digital repeater in each of the above embodiments may have three or more transmission timing setting units corresponding to each of three or more communication ports. But the bridge | bridging and digital repeater in said each embodiment may have one relay determination part which has the function which a some relay determination part has. Further, the bridge and digital repeater in each of the above embodiments may have one transmission timing setting unit that has the functions of a plurality of transmission timing setting units.

さらに、上記各実施の形態では、複数の送信部及び複数の受信部が設けられた構成を例示しているが、これに限定されず、各実施の形態におけるブリッジは、例えば、複数の送信部として機能する一つの送信部と、複数の受信部として機能する一つの送信部とを有するように構成してもよい。また、上記各実施の形態では、各種の情報がRAM124に格納される場合を例示したが、これに限定されるものではない。すなわち、例えば、RAM124に格納される各種の情報が、マイクロコンピュータ123に内蔵されたメモリに格納されるように構成してもよい。加えて、例えば、マイクロコンピュータ123に内蔵されたメモリを、バッファ107A及び107B又はバッファ507に割り当てるといった具合に、各種の情報を、マイクロコンピュータ123に内蔵されたメモリ及びRAM124のそれぞれへ適宜割り当てて格納させるようにしてもよい。   Furthermore, in each said embodiment, although the structure provided with the several transmission part and the several receiving part was illustrated, it is not limited to this, For example, the bridge | bridging in each embodiment is a several transmission part. It may be configured to have one transmission unit that functions as a single transmission unit that functions as a plurality of reception units. Further, in each of the above embodiments, the case where various types of information are stored in the RAM 124 is exemplified, but the present invention is not limited to this. That is, for example, various types of information stored in the RAM 124 may be stored in a memory built in the microcomputer 123. In addition, for example, various types of information are appropriately assigned to the memory and RAM 124 built in the microcomputer 123 and stored, for example, the memory built in the microcomputer 123 is assigned to the buffers 107A and 107B or the buffer 507. You may make it make it.

また、実施の形態7のブリッジ700は、実施の形態8のブリッジ800又は実施の形態9のデジタルリピータ900と同様、通信トラフィックの推定結果に応じて、通信の遮断又は中継を行うように構成してもよい。すなわち、ブリッジ700の中継判定部及びリピータ中継判定部のうちの少なくとも一方は、送信タイミング設定部において推定された通信トラフィックが通信量閾値以下であれば、受信フレームをバッファに一次記憶させる機能を有していてもよい。また、ブリッジ700の中継判定部及びリピータ中継判定部のうちの少なくとも一方は、送信タイミング設定部において推定された通信トラフィックが通信量閾値より大きければ、受信フレームを破棄する機能を有していてもよい。このようにすれば、ブリッジ700を装備した空気調和システムは、通信トラフィックが小さい場合に、自己アドレス宛て以外のフレームを利用する通信機器の機能を有効にすることができ、通信トラフィックが大きい場合に、ブリッジによって通信異常の抑制を行うことができる。   The bridge 700 according to the seventh embodiment is configured to block or relay the communication according to the estimation result of the communication traffic, like the bridge 800 according to the eighth embodiment or the digital repeater 900 according to the ninth embodiment. May be. That is, at least one of the relay determination unit and the repeater relay determination unit of the bridge 700 has a function of temporarily storing the received frame in the buffer if the communication traffic estimated by the transmission timing setting unit is equal to or less than the traffic threshold. You may do it. Further, at least one of the relay determination unit and the repeater relay determination unit of the bridge 700 may have a function of discarding the received frame if the communication traffic estimated by the transmission timing setting unit is larger than the traffic threshold. Good. In this way, the air conditioning system equipped with the bridge 700 can enable the function of the communication device that uses a frame other than the address addressed to the self-address when the communication traffic is small. The communication abnormality can be suppressed by the bridge.

10 空気調和システム、90A、90B セグメント、91 集中コントローラ、93 室外機、94、95、96 室内機、97、98 バス、100、200、300、500、700、800、2000 ブリッジ、101A、101B 受信部、102A、102B、202A、202B、502A、502B 送信部、103A、103B、503A、503B、603A、603B、803A、803B、903A、903B 中継判定部、104A、104B、204A、204B、304A、304B、604A、604B、804A、804B、904A、904B 送信タイミング設定部、105、305、405 アドレステーブル、106A、106B 送信タイミング値、107A、107B、507 バッファ、121 第一送受信回路、122 第二送受信回路、123 マイクロコンピュータ、124 RAM、125 内部バス、208A、208B 衝突カウント値、305A 特性テーブル、600、900 デジタルリピータ、1000 リピータ、A、B 通信ポート、T 規定値、TS 時短値。   10 Air conditioning system, 90A, 90B segment, 91 centralized controller, 93 outdoor unit, 94, 95, 96 indoor unit, 97, 98 bus, 100, 200, 300, 500, 700, 800, 2000 bridge, 101A, 101B reception 102A, 102B, 202A, 202B, 502A, 502B Transmitter, 103A, 103B, 503A, 503B, 603A, 603B, 803A, 803B, 903A, 903B Relay determination unit, 104A, 104B, 204A, 204B, 304A, 304B 604A, 604B, 804A, 804B, 904A, 904B Transmission timing setting unit, 105, 305, 405 Address table, 106A, 106B Transmission timing value, 107A, 107B, 507 Buffer, 121 First transmission / reception circuit, 122 Second transmission / reception circuit, 123 microcomputer, 124 RAM, 125 internal bus, 208A, 208B collision count value, 305A characteristic table, 600, 900 digital repeater, 1000 repeater, A, B communication port, T Value, TS Short time value.

Claims (23)

室内機及び室外機を含む複数の通信機器がネットワークで接続され、前記ネットワークが複数のセグメントに分割された空気調和システムであって、
複数の前記セグメント間での通信を中継するブリッジを備え、
前記ブリッジは、
複数の前記セグメントのそれぞれからフレームを受信する複数の受信部と、
複数の前記セグメントごとの前記通信機器のアドレスが登録されたアドレステーブルと、
前記フレームを一次記憶するバッファと、
前記受信部において受信された前記フレームの宛先アドレスが前記アドレステーブルに存在する場合に、前記受信部において受信された前記フレームを前記バッファに一次記憶させる中継判定部と、
前記バッファに一次記憶された前記フレームを送信元とは異なる前記セグメントへ送信する複数の送信部と、
前記送信部が前記フレームの送信を開始する送信開始タイミングを設定する送信タイミング設定部と、を有し、
前記送信タイミング設定部は、推定した通信トラフィックに基づいて残量閾値を制御する機能を有すると共に、前記バッファの残量が前記残量閾値より大きい場合に、前記送信開始タイミングを予め決められた規定タイミングに設定し、前記バッファの残量が前記残量閾値以下である場合に、前記送信開始タイミングを前記規定タイミングよりも早く設定するものである空気調和システム。
A plurality of communication devices including an indoor unit and an outdoor unit are connected by a network, and the network is an air conditioning system divided into a plurality of segments,
A bridge for relaying communication between the plurality of segments;
The bridge is
A plurality of receiving units for receiving frames from each of the plurality of segments;
An address table in which addresses of the communication devices for each of the plurality of segments are registered;
A buffer for primarily storing the frame;
A relay determination unit that temporarily stores the frame received in the reception unit in the buffer when a destination address of the frame received in the reception unit exists in the address table;
A plurality of transmission units for transmitting the frame primarily stored in the buffer to the segment different from the transmission source;
A transmission timing setting unit that sets a transmission start timing at which the transmission unit starts transmission of the frame, and
The transmission timing setting unit has a function of controlling the remaining amount threshold based on the estimated communication traffic, and the transmission start timing is determined in advance when the remaining amount of the buffer is larger than the remaining amount threshold. An air conditioning system that sets the transmission start timing earlier than the specified timing when the remaining amount of the buffer is equal to or less than the remaining amount threshold.
前記ブリッジは、複数の前記セグメントのそれぞれに対応する複数の通信ポートを有し、
前記アドレステーブルは、複数の前記通信ポートごとの前記通信機器の接続台数の情報を併せて記憶するものであり、
前記送信タイミング設定部は、前記通信機器の接続台数に基づいて前記通信トラフィックを推定して前記残量閾値を制御するものである請求項1に記載の空気調和システム。
The bridge has a plurality of communication ports corresponding to each of the plurality of segments,
The address table stores information on the number of connected communication devices for each of the plurality of communication ports.
The air conditioning system according to claim 1, wherein the transmission timing setting unit controls the remaining amount threshold by estimating the communication traffic based on the number of connected communication devices.
前記ブリッジは、複数台設けられており、
前記アドレステーブルは、複数の前記ブリッジの接続台数の情報を併せて記憶するものであり、
前記送信タイミング設定部は、前記ブリッジの接続台数に基づいて前記通信トラフィックを推定して前記残量閾値を制御するものである請求項1又は2に記載の空気調和システム。
A plurality of the bridges are provided,
The address table stores information on the number of connected bridges in combination.
The air conditioning system according to claim 1 or 2, wherein the transmission timing setting unit controls the remaining amount threshold by estimating the communication traffic based on the number of connected bridges.
前記送信タイミング設定部は、前記バッファの残量に基づいて前記通信トラフィックを推定して前記残量閾値を制御するものである請求項1〜3の何れか一項に記載の空気調和システム。   The air conditioning system according to any one of claims 1 to 3, wherein the transmission timing setting unit controls the remaining amount threshold by estimating the communication traffic based on the remaining amount of the buffer. 前記送信部は、通信の衝突を検出する機能、及び衝突検出の連続回数を衝突カウント値として記憶させる機能を有し、
前記残量閾値は、前記衝突カウント値に比例し、設定された基準係数に反比例するものである請求項1〜4の何れか一項に記載の空気調和システム。
The transmission unit has a function of detecting a communication collision, and a function of storing a continuous number of collision detection as a collision count value.
The air conditioning system according to any one of claims 1 to 4, wherein the remaining amount threshold value is proportional to the collision count value and inversely proportional to a set reference coefficient.
複数の前記セグメントのそれぞれに対応する複数の通信ポートを有し、
前記アドレステーブルは、複数の前記通信ポートごとの前記通信機器の接続台数の情報を記憶するものであり、
前記送信タイミング設定部は、前記通信機器の接続台数が増加するにつれて、前記基準係数を小さくするものである請求項5に記載の空気調和システム。
A plurality of communication ports corresponding to each of the plurality of segments;
The address table stores information on the number of connected communication devices for each of the plurality of communication ports,
The air conditioning system according to claim 5, wherein the transmission timing setting unit decreases the reference coefficient as the number of connected communication devices increases.
前記ブリッジは、複数台設けられており、
前記アドレステーブルは、複数の前記ブリッジの接続台数の情報を併せて記憶するものであり、
前記送信タイミング設定部は、前記ブリッジの接続台数が増加するにつれて、前記基準係数を小さくするものである請求項5又は6に記載の空気調和システム。
A plurality of the bridges are provided,
The address table stores information on the number of connected bridges in combination.
The air conditioning system according to claim 5 or 6, wherein the transmission timing setting unit decreases the reference coefficient as the number of connected bridges increases.
前記送信部は、通信の衝突を検出する機能、及び衝突検出の連続回数を衝突カウント値として記憶させる機能を有し、
前記送信タイミング設定部は、前記衝突カウント値に基づいて前記通信トラフィックを推定して前記残量閾値を制御するものである請求項1〜7の何れか一項に記載の空気調和システム。
The transmission unit has a function of detecting a communication collision, and a function of storing a continuous number of collision detection as a collision count value.
The air conditioning system according to any one of claims 1 to 7, wherein the transmission timing setting unit controls the remaining amount threshold by estimating the communication traffic based on the collision count value.
前記中継判定部は、前記受信部において受信された前記フレームの宛先アドレスが前記アドレステーブルに存在しない場合に、前記送信タイミング設定部において推定された前記通信トラフィックが通信量閾値以下であれば、前記受信部において受信された前記フレームを前記バッファに一次記憶させるものである請求項1〜8の何れか一項に記載の空気調和システム。   If the communication traffic estimated by the transmission timing setting unit is equal to or less than a traffic threshold when the destination address of the frame received by the reception unit does not exist in the address table, the relay determination unit, The air conditioning system according to any one of claims 1 to 8, wherein the frame received by the receiving unit is temporarily stored in the buffer. 前記中継判定部は、前記受信部において受信された前記フレームの宛先アドレスが前記アドレステーブルに存在しない場合に、前記送信タイミング設定部において推定された前記通信トラフィックが前記通信量閾値より大きければ、前記受信部において受信された前記フレームを破棄するものである請求項9に記載の空気調和システム。   When the communication traffic estimated by the transmission timing setting unit is larger than the traffic threshold when the destination address of the frame received by the reception unit does not exist in the address table, the relay determination unit, The air conditioning system according to claim 9, wherein the frame received by the receiving unit is discarded. 前記フレームを前記バッファに一次記憶させるリピータ中継判定部を有する請求項1〜8の何れか一項に記載の空気調和システム。   The air conditioning system according to any one of claims 1 to 8, further comprising a repeater relay determination unit that primarily stores the frame in the buffer. 前記中継判定部は、前記受信部において受信された前記フレームの宛先アドレスが前記アドレステーブルに存在しない場合に、前記送信タイミング設定部において推定された前記通信トラフィックが第一通信量閾値以下であれば、前記受信部において受信された前記フレームを前記バッファに一次記憶させる機能を有し、
前記リピータ中継判定部は、前記送信タイミング設定部において推定された前記通信トラフィックが第二通信量閾値以下であれば、前記受信部において受信された前記フレームを前記バッファに一次記憶させる機能を有する請求項11に記載の空気調和システム。
If the communication traffic estimated by the transmission timing setting unit is less than or equal to a first traffic threshold when the destination address of the frame received by the reception unit does not exist in the address table, the relay determination unit , Having a function of temporarily storing the frame received by the receiving unit in the buffer;
The repeater relay determination unit has a function of temporarily storing the frame received by the reception unit in the buffer if the communication traffic estimated by the transmission timing setting unit is equal to or less than a second traffic threshold. Item 12. The air conditioning system according to Item 11.
前記中継判定部は、前記受信部において受信された前記フレームの宛先アドレスが前記アドレステーブルに存在しない場合に、前記送信タイミング設定部において推定された前記通信トラフィックが前記第一通信量閾値より大きければ、前記受信部において受信された前記フレームを破棄する機能を有し、
前記リピータ中継判定部は、前記送信タイミング設定部において推定された前記通信トラフィックが前記第二通信量閾値より大きければ、前記受信部において受信された前記フレームを破棄する機能を有する請求項12に記載の空気調和システム。
The relay determination unit, if the destination address of the frame received by the reception unit does not exist in the address table, if the communication traffic estimated by the transmission timing setting unit is greater than the first traffic threshold , Having a function of discarding the frame received in the receiving unit,
The repeater relay determination unit has a function of discarding the frame received by the receiving unit when the communication traffic estimated by the transmission timing setting unit is larger than the second traffic threshold. Air conditioning system.
室内機及び室外機を含む複数の通信機器がネットワークで接続され、前記ネットワークが複数のセグメントに分割された空気調和システムであって、
複数の前記セグメント間での通信を中継するデジタルリピータを備え、
前記デジタルリピータは、
複数の前記セグメントのそれぞれからフレームを受信する複数の受信部と、
前記受信部において受信された前記フレームを一次記憶するバッファと、
前記フレームを前記バッファに一次記憶させる中継判定部と、
前記バッファに一次記憶された前記フレームを送信元とは異なる前記セグメントへ送信する複数の送信部と、
前記送信部が前記フレームの送信を開始する送信開始タイミングを設定する送信タイミング設定部と、を有し、
前記送信タイミング設定部は、推定した通信トラフィックに基づいて残量閾値を制御する手段を有し、前記バッファの残量が設定された前記残量閾値より大きい場合に、前記送信開始タイミングを予め決められた規定タイミングに設定し、前記バッファの残量が前記残量閾値以下である場合に、前記送信開始タイミングを前記規定タイミングよりも早く設定するものである空気調和システム。
A plurality of communication devices including an indoor unit and an outdoor unit are connected by a network, and the network is an air conditioning system divided into a plurality of segments,
A digital repeater that relays communication between the plurality of segments;
The digital repeater is
A plurality of receiving units for receiving frames from each of the plurality of segments;
A buffer that primarily stores the frame received by the receiver;
A relay determination unit that primarily stores the frame in the buffer;
A plurality of transmission units for transmitting the frame primarily stored in the buffer to the segment different from the transmission source;
A transmission timing setting unit that sets a transmission start timing at which the transmission unit starts transmission of the frame, and
The transmission timing setting unit has means for controlling a remaining amount threshold based on the estimated communication traffic, and determines the transmission start timing in advance when the remaining amount of the buffer is larger than the set remaining amount threshold. An air conditioning system that sets the transmission start timing earlier than the specified timing when the remaining amount of the buffer is equal to or less than the remaining threshold value.
前記デジタルリピータは、
複数の前記セグメントのそれぞれに対応する複数の通信ポートと、
複数の前記通信ポートごとの前記通信機器の接続台数の情報を記憶する機器台数テーブルと、を有し、
前記送信タイミング設定部は、前記通信機器の接続台数に基づいて通信トラフィックを推定して前記残量閾値を制御するものである請求項14に記載の空気調和システム。
The digital repeater is
A plurality of communication ports corresponding to each of the plurality of segments;
A device number table for storing information on the number of connected communication devices for each of the plurality of communication ports, and
The air conditioning system according to claim 14, wherein the transmission timing setting unit controls the remaining amount threshold by estimating communication traffic based on the number of connected communication devices.
前記デジタルリピータは、複数台設けられており、
各デジタルリピータは、複数の前記デジタルリピータの接続台数の情報を記憶するリピータ台数テーブルを有し、
前記送信タイミング設定部は、前記デジタルリピータの接続台数に基づいて通信トラフィックを推定して前記残量閾値を制御するものである請求項14又は15に記載の空気調和システム。
A plurality of the digital repeaters are provided,
Each digital repeater has a repeater number table that stores information on the number of connected digital repeaters.
The air conditioning system according to claim 14 or 15, wherein the transmission timing setting unit controls the remaining amount threshold by estimating communication traffic based on the number of connected digital repeaters.
前記送信タイミング設定部は、前記バッファの残量に基づいて通信トラフィックを推定して前記残量閾値を制御するものである請求項14〜16の何れか一項に記載の空気調和システム。   The air conditioning system according to any one of claims 14 to 16, wherein the transmission timing setting unit controls the remaining amount threshold by estimating communication traffic based on the remaining amount of the buffer. 前記送信部は、通信の衝突を検出する機能、及び衝突検出の連続回数を衝突カウント値として記憶させる機能を有し、
前記残量閾値は、前記衝突カウント値に比例し、設定された基準係数に反比例するものである請求項14〜17の何れか一項に記載の空気調和システム。
The transmission unit has a function of detecting a communication collision, and a function of storing a continuous number of collision detection as a collision count value.
The air conditioning system according to any one of claims 14 to 17, wherein the remaining amount threshold is proportional to the collision count value and inversely proportional to a set reference coefficient.
前記デジタルリピータは、
複数の前記セグメントのそれぞれに対応する複数の通信ポートと、
複数の前記通信ポートごとの前記通信機器の接続台数の情報を記憶する機器台数テーブルと、を有し、
前記送信タイミング設定部は、前記通信機器の接続台数が増加するにつれて、前記基準係数を小さくするものである請求項18に記載の空気調和システム。
The digital repeater is
A plurality of communication ports corresponding to each of the plurality of segments;
A device number table for storing information on the number of connected communication devices for each of the plurality of communication ports, and
The air conditioning system according to claim 18, wherein the transmission timing setting unit decreases the reference coefficient as the number of connected communication devices increases.
前記デジタルリピータは、複数台設けられており、
各デジタルリピータは、複数の前記デジタルリピータの接続台数の情報を記憶するリピータ台数テーブルを有し、
前記送信タイミング設定部は、前記デジタルリピータの接続台数が増加するにつれて、前記基準係数を小さくするものである請求項18又は19に記載の空気調和システム。
A plurality of the digital repeaters are provided,
Each digital repeater has a repeater number table that stores information on the number of connected digital repeaters.
The air conditioning system according to claim 18 or 19, wherein the transmission timing setting unit decreases the reference coefficient as the number of connected digital repeaters increases.
前記送信部は、通信の衝突を検出する機能、及び衝突検出の連続回数を衝突カウント値として記憶させる機能を有し、
前記送信タイミング設定部は、前記衝突カウント値に基づいて通信トラフィックを推定して前記残量閾値を制御するものである請求項14〜20の何れか一項に記載の空気調和システム。
The transmission unit has a function of detecting a communication collision, and a function of storing a continuous number of collision detection as a collision count value.
The air conditioning system according to any one of claims 14 to 20, wherein the transmission timing setting unit controls communication amount based on the collision count value to control the remaining amount threshold value.
前記中継判定部は、前記送信タイミング設定部において推定された前記通信トラフィックが通信量閾値以下であれば、前記受信部において受信された前記フレームを前記バッファに一次記憶させるものである請求項14〜21の何れか一項に記載の空気調和システム。   The relay determination unit is configured to primarily store the frame received by the reception unit in the buffer if the communication traffic estimated by the transmission timing setting unit is equal to or less than a traffic threshold. The air conditioning system according to any one of 21. 前記中継判定部は、前記送信タイミング設定部において推定された前記通信トラフィックが前記通信量閾値より大きければ、前記受信部において受信された前記フレームを破棄するものである請求項22に記載の空気調和システム。   The air conditioning according to claim 22, wherein the relay determination unit discards the frame received at the reception unit when the communication traffic estimated at the transmission timing setting unit is larger than the communication amount threshold. system.
JP2017520282A 2015-05-28 2016-04-06 Air conditioning system Active JP6293375B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JPPCT/JP2015/065436 2015-05-28
PCT/JP2015/065436 WO2016189737A1 (en) 2015-05-28 2015-05-28 Air conditioning system
PCT/JP2016/061203 WO2016189974A1 (en) 2015-05-28 2016-04-06 Air conditioning system

Publications (2)

Publication Number Publication Date
JPWO2016189974A1 JPWO2016189974A1 (en) 2017-08-17
JP6293375B2 true JP6293375B2 (en) 2018-03-14

Family

ID=57392620

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017520282A Active JP6293375B2 (en) 2015-05-28 2016-04-06 Air conditioning system

Country Status (2)

Country Link
JP (1) JP6293375B2 (en)
WO (2) WO2016189737A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019102900A (en) * 2017-11-29 2019-06-24 パナソニックIpマネジメント株式会社 Communication apparatus
US11739966B2 (en) 2018-11-01 2023-08-29 Mitsubishi Electric Corporation Air-conditioning system and air-conditioning management system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4842754B2 (en) * 2006-09-29 2011-12-21 富士通株式会社 Communication apparatus and communication method
WO2014162331A1 (en) * 2013-04-01 2014-10-09 三菱電機株式会社 Bridge, network system, air-conditioner outdoor unit, and air-conditioning network system

Also Published As

Publication number Publication date
WO2016189974A1 (en) 2016-12-01
JPWO2016189974A1 (en) 2017-08-17
WO2016189737A1 (en) 2016-12-01

Similar Documents

Publication Publication Date Title
US11146090B2 (en) Battery management system, and method and apparatus for transmitting information
EP2293642A1 (en) Relay apparatus, control method, and program
EP1729458A1 (en) Method for determining connection topology of home network
JP6505321B2 (en) Communication relay device and air conditioning system
EP2677835B1 (en) Wi-fi mesh fire detection system
US9548928B2 (en) Network system, controller, and load distribution method
JP6206465B2 (en) Communication apparatus and communication method
US11843477B2 (en) Anomaly determination method, anomaly determination device, and recording medium
JP2009253557A (en) On-board relay connection unit
JP6293375B2 (en) Air conditioning system
WO2016135828A1 (en) Relay device and communication system
KR101751195B1 (en) Relay device and communication network
JP2015100070A (en) Communication device and radio communication system
US20110305225A1 (en) Wireless communication device and wireless communication system
US10536366B1 (en) Methods and apparatus for controlling and making link bundle advertisements to support routing decisions
US11706661B2 (en) Wireless communication device, wireless communication system, and computer program product
US20110096784A1 (en) Controlled Propagation of VLAN Declarations
CN109842464B (en) Method, system and device for retransmitting data packet
JPH0618078A (en) Air conditioning system device
WO2016163015A1 (en) Communication relay apparatus and air conditioning cooling system
JP2017168881A (en) Communication path control device, method and program
JP2013002771A (en) Network system of air conditioner
KR101072065B1 (en) Apparatus and method for transmitting elevator signals
EP3327988A1 (en) System and method for improving multicast latency and reliability of multicast transmissions in a wireless building automation network
JP2020155941A (en) Vehicle control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170501

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180213

R150 Certificate of patent or registration of utility model

Ref document number: 6293375

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250