JP6015487B2 - Frequency modulation communication terminal device - Google Patents

Frequency modulation communication terminal device Download PDF

Info

Publication number
JP6015487B2
JP6015487B2 JP2013031923A JP2013031923A JP6015487B2 JP 6015487 B2 JP6015487 B2 JP 6015487B2 JP 2013031923 A JP2013031923 A JP 2013031923A JP 2013031923 A JP2013031923 A JP 2013031923A JP 6015487 B2 JP6015487 B2 JP 6015487B2
Authority
JP
Japan
Prior art keywords
communication data
transmission
signal
terminal device
transmitted
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
JP2013031923A
Other languages
Japanese (ja)
Other versions
JP2014165513A (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.)
Fujitsu General Ltd
Original Assignee
Fujitsu General Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu General Ltd filed Critical Fujitsu General Ltd
Priority to JP2013031923A priority Critical patent/JP6015487B2/en
Publication of JP2014165513A publication Critical patent/JP2014165513A/en
Application granted granted Critical
Publication of JP6015487B2 publication Critical patent/JP6015487B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本発明は、空調システムやFAのネットワークに係わり、より詳細には周波数変調方式の通信端末装置に適用する送信信号の衝突検出方法に関するものである。 The present invention relates to an air conditioning system and an FA network, and more particularly to a transmission signal collision detection method applied to a frequency modulation type communication terminal apparatus.

空調システムやFA(FactoryAutomation)では、多くの端末を接続すると通信量が増え、各端末が伝送路上に他の端末から送信された信号が存在していない事を確認した後に信号を送信するように処理させていても、プログラムによる処理の遅延時間があるために、同時に複数の端末から信号が送信された時に発生する伝送路上での信号の衝突を回避することが困難となる。 In the air conditioning system and FA (Factory Automation), the amount of communication increases when many terminals are connected, and each terminal transmits a signal after confirming that there is no signal transmitted from another terminal on the transmission path. Even if it is processed, it is difficult to avoid collision of signals on the transmission path that occurs when signals are transmitted from a plurality of terminals at the same time because of the delay time of processing by the program.

このため、信号の衝突が発生しても正常な通信が行われるように、送信信号に対する応答信号を通信先に要求し信号が正常に伝達されたか否かを確認し、信号が正常に伝達されなかった場合に信号の再送信を行う方法があるが、この方法では通信量そのものが増加し衝突が生じ易くなることから、多くの端末を接続するネットワークには適していない。 For this reason, in order to perform normal communication even if signal collision occurs, a response signal to the transmission signal is requested from the communication destination to check whether the signal is normally transmitted, and the signal is normally transmitted. There is a method of retransmitting a signal when there is not, but this method is not suitable for a network connecting many terminals because the amount of communication itself increases and collision easily occurs.

このような背景から、端末が信号を送信している間に伝送路上に他の端末から送信された信号が存在していない事を確認する信号の衝突検出方法があり、特に周波数変調方式の通信を行う各端末において、自機の送信回路から送信した信号を自機の受信回路で受信して送受信信号を比較し、不一致が生じた時に信号の衝突があったものと判定し信号の送信を中断した後、再送信時の取り決めに従って各通信装置で異なる値となるように設定された時間だけ待機して、再送信を行うことができる通信装置が提案されている(例えば、特許文献1参照)。 From such a background, there is a signal collision detection method for confirming that a signal transmitted from another terminal does not exist on the transmission line while the terminal is transmitting a signal. Each terminal that receives the signal transmitted from its own transmitter circuit is received by its own receiver circuit, compares the transmitted and received signals, determines that there is a signal collision when a mismatch occurs, and transmits the signal. There has been proposed a communication apparatus capable of performing retransmission after waiting for a time set so that each communication apparatus has a different value according to an agreement at the time of retransmission (for example, see Patent Document 1). ).

特開平8−154100号公報(第4〜9頁、図29)JP-A-8-154100 (pages 4-9, FIG. 29)

特許文献1の通信装置によれば信号の送信から受信に至る通信端末装置間の伝送路が短い場合には信号の衝突を判定することができる。しかしながら、信号は通過した伝送路の距離が長い程、電圧レベルが減衰するため、長い伝送路を使用している場合には、信号の衝突を正確に検出することができないという問題があった。 According to the communication device of Patent Literature 1, when the transmission path between communication terminal devices from signal transmission to reception is short, it is possible to determine a signal collision. However, since the voltage level attenuates as the distance of the transmission path through which the signal passes is increased, there is a problem in that a signal collision cannot be accurately detected when a long transmission path is used.

例えば、上記の公報に開示されている図6の通信装置では、上り伝送路に接続された送信回路から送信したデータと、その送信データがHE(ヘッドエンド)で折り返され下り伝送路に伝送され、その下り伝送路に接続された受信回路で受信したデータを、送信回路と受信回路に接続された送受信データ比較回路で比較して、送受信したデータに不一致が生じている場合に衝突を検出するようになっている。 For example, in the communication device of FIG. 6 disclosed in the above publication, the data transmitted from the transmission circuit connected to the upstream transmission path and the transmission data are returned by the HE (head end) and transmitted to the downstream transmission path. The data received by the reception circuit connected to the downstream transmission path is compared by the transmission / reception data comparison circuit connected to the transmission circuit and the transmission / reception data is detected. It is like that.

ところが、図7(1)に示すように、信号の送受信を行う端末Aと端末Bを結ぶ伝送路の距離が長い場合には、図7(2)に示すように、端末Aから送信された信号は伝送路L1地点では高い電圧レベルを保持しているが、伝送路のL2地点、L3地点と通過して行くと端末Aからの伝送路の距離が長くなるにつれ電圧レベルは徐々に低下し、端末B付近の伝送路L4地点では、低い電圧レベルとなる。また、同じ伝送路であれば、図7(3)に示すように、端末Bから送信された信号についても伝送路L4〜L1と通過する間に低い電圧レベルとなる。このように伝送路の距離の長さに比例する形で信号の電圧レベルは減衰する。 However, as shown in FIG. 7 (1), when the distance of the transmission path connecting terminal A and terminal B that transmits and receives signals is long, the signal is transmitted from terminal A as shown in FIG. 7 (2). The signal maintains a high voltage level at the transmission line L1, but the voltage level gradually decreases as the transmission line distance from the terminal A increases as it passes through the transmission line L2 and L3. In the transmission line L4 near the terminal B, the voltage level is low. In the same transmission path, as shown in FIG. 7 (3), the signal transmitted from the terminal B also has a low voltage level while passing through the transmission paths L4 to L1. Thus, the voltage level of the signal is attenuated in a form proportional to the distance of the transmission line.

ここで、図7の端末Aと端末Bとがほぼ同時に信号を送信したものと仮定して、信号の衝突が発生した際に受信する信号について説明する。例えば端末Aは送信した高い電圧レベルの信号と端末Bから送信された低い電圧レベルの信号とが衝突した信号を受信することとなるが、L1地点では端末Aと端末Bから送信された信号の電圧レベルの差異が大きくなるとこから、送信レベルに差がある場合には送信レベルが高い方の信号が正しく送信されるという捕捉効果によって、端末Aが受信する衝突が発生した信号は自機が送信したデータと同様となる。また端末Bにおいても端末Bが受信する衝突が発生した信号は自機が送信したデータと同様となり、端末間の伝送路の距離の長い時には送信データと受信データを比較して衝突を検出することが出来ない場合がある。 Here, assuming that terminals A and B in FIG. 7 transmit signals almost simultaneously, signals received when a signal collision occurs will be described. For example, the terminal A receives a signal in which the transmitted high voltage level signal and the low voltage level signal transmitted from the terminal B collide, but at the L1 point, the signal transmitted from the terminal A and the terminal B Since the difference in the voltage level becomes large, if there is a difference in the transmission level, the signal of the collision that is received by the terminal A is received by the own device due to the capturing effect that the signal with the higher transmission level is transmitted correctly. It is the same as the transmitted data. Also in terminal B, the signal generated by the collision received by terminal B is the same as the data transmitted by itself, and when the distance of the transmission path between the terminals is long, the transmission data and the received data are compared to detect the collision. May not be possible.

本発明は、以上述べた問題点を解決し、長い伝送路を利用する空調システムのネットワークにおいて、送信データの衝突を検出することができる通信端末装置を提供することを目的とする。 An object of the present invention is to solve the above-described problems and to provide a communication terminal device capable of detecting a collision of transmission data in an air conditioning system network that uses a long transmission path.

本発明は上述の課題を解決するため、本発明の請求項1に記載の発明は、周波数変調方式で通信を行う端末装置において、 通信データの送受信を制御し、前記通信データの送信中に送信信号の波形がゼロクロス点前後となる期間を示すゼロクロス判別信号を出力する制御部と、前記ゼロクロス判別信号に応じて前記送信信号の出力をオフにする送信部と
、前記端末装置と伝送路とを接続し、前記通信データを入出力する通信データ入出力端子と、前記通信データ入出力端子から入力された通信データを受信する受信部と、前記通信データの送信中に前記送信部が前記送信信号の出力をオフしている時、かつ、前記通信データ入出力端子から前記通信データが入力された時、自己の前記端末装置から送信した前記通信データと他の端末装置から送信された前記通信データとが衝突したと判定し前記制御部へ衝突検出信号を出力する衝突検出部とを備え、前記制御部は、前記受信部が他の端末装置から前記通信データを受信していない時に前記通信データを送信し、前記通信データの送信中に前記衝突検出信号が入力された時、前記通信データの送信を中断し、ランダムな時間待機した後に改めて前記通信データを送信することを特徴とする。
In order to solve the above-described problems, the present invention according to claim 1 of the present invention controls transmission / reception of communication data in a terminal device that performs communication using a frequency modulation method, and transmits during transmission of the communication data. A control unit that outputs a zero-cross determination signal indicating a period in which the waveform of the signal is around the zero-cross point, a transmission unit that turns off the output of the transmission signal according to the zero-cross determination signal, and the terminal device and the transmission path A communication data input / output terminal for connecting and inputting / outputting the communication data; a receiving unit for receiving communication data input from the communication data input / output terminal; and And when the communication data is input from the communication data input / output terminal, the communication data transmitted from the terminal device and the other terminal device A collision detecting unit that determines that the transmitted communication data has collided and outputs a collision detection signal to the control unit, wherein the control unit receives the communication data from another terminal device. The communication data is transmitted when not, and when the collision detection signal is input during transmission of the communication data, the transmission of the communication data is interrupted, and the communication data is transmitted again after waiting for a random time. It is characterized by.

また、本発明の請求項2に記載の発明は、前記衝突検出部は、前記通信データ入出力端子から入力された前記通信データの電圧値と予め設定された基準電圧の電圧値とを比較する比較器を有し、前記送信部が前記送信信号の出力をオフしている時、かつ、前記通信データ入出力端子から入力された前記通信データの電圧値が前記基準電圧の電圧値を超えた時、自己の前記端末装置から送信した前記通信データと他の端末装置から送信された前記通信データとが衝突したと判定することを特徴とする。 According to a second aspect of the present invention, the collision detection unit compares a voltage value of the communication data input from the communication data input / output terminal with a voltage value of a preset reference voltage. Having a comparator, and when the transmitter turns off the output of the transmission signal, and the voltage value of the communication data input from the communication data input / output terminal exceeds the voltage value of the reference voltage In this case, it is determined that the communication data transmitted from the terminal device of the mobile station collides with the communication data transmitted from another terminal device.

本発明による通信端末装置によれば、周波数変調を利用した空調システムのネットワークにおいて、長い伝送路であっても通信データの衝突を検出することができる。また、送信データに対する肯定応答(ACK)などの通信を不要にできるため、通信量を低減することが出来る。 According to the communication terminal device of the present invention, it is possible to detect a collision of communication data even in a long transmission line in an air conditioning system network using frequency modulation. Further, since communication such as an acknowledgment (ACK) for transmission data can be made unnecessary, the amount of communication can be reduced.

また、本発明による通信端末装置によれば、ネットワークのノイズレベルに応じて通信データの衝突判定をより正確に行うことができる。 Further, according to the communication terminal device of the present invention, it is possible to more accurately determine the collision of communication data according to the noise level of the network.

本発明に係る空調機システムの一例を示す全体図である。1 is an overall view showing an example of an air conditioner system according to the present invention. 本発明に係る端末装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the terminal device which concerns on this invention. 送信信号のゼロクロス点付近で検出される他の端末装置から送信されたアナログ信号の電圧レベルを説明する説明図である。It is explanatory drawing explaining the voltage level of the analog signal transmitted from the other terminal device detected near the zero crossing point of a transmission signal. 本発明に係る通信回路で行われる衝突検出を説明するタイミングチャートである。It is a timing chart explaining the collision detection performed with the communication circuit which concerns on this invention. 本発明に係る端末装置の制御部で行われる通信処理のフローチャートである。It is a flowchart of the communication process performed in the control part of the terminal device which concerns on this invention. 従来の通信装置を示すブロック図である。It is a block diagram which shows the conventional communication apparatus. 伝送路における電圧レベルの減衰を説明する説明図である。It is explanatory drawing explaining attenuation | damping of the voltage level in a transmission line.

以下、本発明の実施形態を、添付図面に基づいた実施例として詳細に説明する。なお、本発明は以下の実施形態に限定されることなく、本発明の主旨を逸脱しない範囲で種々変形することが可能である。   DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail as examples based on the accompanying drawings. Note that the present invention is not limited to the following embodiments, and various modifications can be made without departing from the spirit of the present invention.

図1は、本発明に係る空調機システムの一例を示す全体図である。図1は本発明の空調機システムを5階建てのビルで利用する場合を示している。空調機システム1は、ネットワークに接続された複数の室外機20及び室内機30と、これらを制御管理する中央管理装置10の端末装置を有している。中央管理装置10は伝送路L1〜L5に接続され、各端末装置は伝送路L1〜L5からさらに分岐した伝送路(L1−1〜L1−3、・・・L5−1〜L5−2)によって接続され、室外機20はビルの屋外に、室内機30はビルの各フロアにそれぞれ設置される。なお、各フロアの利用者が使用するリモコン31は通信線により各室内機30に接続されるが、通信先が通信線で接続された室内機に限られるため、このリモコン31は本発明の端末装置に含まないこととする。また、各端末装置に記した5桁の英数字は各端末のアドレスを示している。   FIG. 1 is an overall view showing an example of an air conditioner system according to the present invention. FIG. 1 shows a case where the air conditioner system of the present invention is used in a five-story building. The air conditioner system 1 includes a plurality of outdoor units 20 and indoor units 30 connected to a network, and a terminal device of a central management device 10 that controls and manages them. The central management device 10 is connected to the transmission lines L1 to L5, and each terminal device is connected by transmission lines (L1-1 to L1-3,... L5-1 to L5-2) further branched from the transmission lines L1 to L5. The outdoor unit 20 is connected to the outside of the building, and the indoor unit 30 is installed on each floor of the building. The remote controller 31 used by each floor user is connected to each indoor unit 30 via a communication line. However, since the communication destination is limited to the indoor unit connected via the communication line, the remote controller 31 is the terminal of the present invention. Not included in the device. Further, the five-digit alphanumeric characters written on each terminal device indicate the address of each terminal.

ここで、中央管理装置10から5階に設置されたアドレス“5F020”の室内機30に対して制御が行われたものとして、この時の通信データの伝達経路を説明する。中央管理装置10から送信された通信データは、図示しない中央管理装置10の通信部に接続された伝送路L1に伝達され、伝送路L2と図示しないL3、L4とを経由して伝送路L5へ伝達される。そして、伝送路L5から分岐した伝送路L5−2をさらに経由してアドレス“5F020”の室内機30へ到達し、同室内機30の後述する受信部90で受信され
、同室内機30では通信データの内容に応じて制御が行われる。
Here, assuming that control is performed from the central management apparatus 10 to the indoor unit 30 of the address “5F020” installed on the fifth floor, the communication data transmission path at this time will be described. The communication data transmitted from the central management device 10 is transmitted to the transmission line L1 connected to the communication unit of the central management device 10 (not shown), and is transmitted to the transmission line L5 via the transmission line L2 and L3 and L4 (not shown). Communicated. Then, it further reaches the indoor unit 30 with the address “5F020” via the transmission line L5-2 branched from the transmission line L5, and is received by the receiving unit 90 (to be described later) of the indoor unit 30, and the indoor unit 30 performs communication. Control is performed according to the contents of the data.

図2は、本発明に係る端末装置の概略構成を示すブロック図である。図2において、端末装置40は、送信データを周波数変調したデジタル信号と、そのデジタル信号がゼロクロス点前後を示す期間にゼロクロス判別信号とを出力する制御部50と、制御部50に接続される送信部60と、送信部60に接続され端末装置40と伝送路との通信データを入出力する通信データ入出力端子70と、制御部50と通信データ入出力端子70との間を送信部60と並列に接続される衝突検出部80と、さらに制御部50と通信データ入出力端子70との間を衝突検出部80と並列に接続され、他の端末装置から送信された通信データを受信する受信部90とを備えている。   FIG. 2 is a block diagram showing a schematic configuration of the terminal device according to the present invention. In FIG. 2, the terminal device 40 outputs a digital signal obtained by frequency-modulating transmission data and a control unit 50 that outputs a zero-cross discrimination signal during a period in which the digital signal is before and after the zero-cross point, and a transmission connected to the control unit 50. Unit 60, a communication data input / output terminal 70 that is connected to the transmission unit 60 and inputs / outputs communication data between the terminal device 40 and the transmission line, and a transmission unit 60 between the control unit 50 and the communication data input / output terminal 70. Collision detection unit 80 connected in parallel, and further, the control unit 50 and the communication data input / output terminal 70 are connected in parallel with the collision detection unit 80 and receive the communication data transmitted from other terminal devices. Part 90.

図2において送信部60は、制御部50に接続され制御部50から入力されたデジタル信号をアナログ信号へと変換して出力するD/Aコンバータ61と、D/Aコンバータ61に接続されD/Aコンバータ61から入力されたアナログ信号を伝送路に送信する際の適正レベルに増幅する増幅器62と、増幅器62に接続され制御部50からゼロクロス判別信号が入力された時にスイッチをオフするアナログスイッチ63と、アナログスイッチ63に接続され、アナログスイッチ63から入力されたアナログ信号の高周波成分を低減させて出力する低域通過フィルタであるLPF64とを有している。なお、LPF64(低域通過フィルタ)はD/Aコンバータ61において送信データをデジタル信号からアナログ信号へと変換する際と、アナログスイッチ63においてアナログ信号がオフされた時に生じるアナログ信号のノイズ(高周波成分)が伝送路に出力される事を抑制する。   In FIG. 2, a transmission unit 60 is connected to the control unit 50 and converts a digital signal input from the control unit 50 into an analog signal and outputs the analog signal, and a D / A converter 61 connected to the D / A converter 61. An amplifier 62 that amplifies the analog signal input from the A converter 61 to an appropriate level when it is transmitted to the transmission line, and an analog switch 63 that is connected to the amplifier 62 and is turned off when a zero-cross discrimination signal is input from the control unit 50. And an LPF 64 that is a low-pass filter that is connected to the analog switch 63 and that reduces and outputs a high-frequency component of the analog signal input from the analog switch 63. The LPF 64 (low-pass filter) is a noise (high-frequency component) generated when the D / A converter 61 converts transmission data from a digital signal to an analog signal and when the analog signal is turned off in the analog switch 63. ) Is suppressed from being output to the transmission line.

図2において、衝突検出部80は、通信データ入出力端子70に入力されたアナログ信号の電圧レベルが基準電圧(例えば、受信する信号の最大ノイズレベル値など)よりも高い時に“Hi”の信号を出力し、入力された信号の電圧レベルが基準電圧よりも低い時に“Low”の信号を出力する比較器81と、一方の入力端子が比較器81の出力と、他方の入力端子がゼロクロス判別信号を出力する制御部50とに接続され、比較器81からの“Hi”の信号と、制御部50からのゼロクロス判別信号との両方が同時に入力された時だけ出力端子に接続された制御部50へ送信データの衝突発生を示す衝突検出信号を出力するAND回路82とを有している。   In FIG. 2, the collision detection unit 80 detects a signal “Hi” when the voltage level of the analog signal input to the communication data input / output terminal 70 is higher than a reference voltage (for example, the maximum noise level value of the received signal). The comparator 81 outputs a “Low” signal when the voltage level of the input signal is lower than the reference voltage, one input terminal is the output of the comparator 81, and the other input terminal is the zero cross discrimination. A control unit connected to the output unit only when both the “Hi” signal from the comparator 81 and the zero cross discrimination signal from the control unit 50 are input simultaneously. And an AND circuit 82 for outputting a collision detection signal indicating occurrence of transmission data collision to 50.

図3は、送信信号のゼロクロス点付近で検出される他の端末装置から送信されたアナログ信号の電圧レベルを説明する説明図である。図3(1)は、ある端末装置(中央管理装置10、室外機20、室内機30)から送信された“1010”の通信データと対応するアナログ信号の波形を示している。図3(2)は、図3(1)の端末装置から伝送路上の遠い位置に接続された他の端末装置から送信された“0101”の通信データと対応するアナログ信号の波形を示している。図3(3)は、図3(1)と図3(2)のアナログ信号が図3(1)の端末装置付近の伝送路上で衝突した時に図3(1)の端末装置で受信される衝突信号の波形を示している。   FIG. 3 is an explanatory diagram illustrating the voltage level of an analog signal transmitted from another terminal device detected near the zero cross point of the transmission signal. FIG. 3A shows the waveform of an analog signal corresponding to the communication data “1010” transmitted from a certain terminal device (the central management device 10, the outdoor unit 20, and the indoor unit 30). FIG. 3B shows a waveform of an analog signal corresponding to communication data “0101” transmitted from another terminal device connected to a position far from the terminal device of FIG. . 3 (3) is received by the terminal device of FIG. 3 (1) when the analog signals of FIG. 3 (1) and FIG. 3 (2) collide on the transmission path near the terminal device of FIG. 3 (1). The waveform of the collision signal is shown.

図3(1)と図3(3)とのアナログ信号の波形から、衝突信号は送信した信号の波形と比較すると乱れているものの、“1010”の通信データを示す信号として判別可能な波形を維持していることから、送受信した信号を比較して衝突が発生したことを判定できない場合があることが判る。   From the analog signal waveforms in FIG. 3 (1) and FIG. 3 (3), although the collision signal is disturbed when compared with the waveform of the transmitted signal, a waveform that can be discriminated as a signal indicating the communication data of “1010” is obtained. Since it is maintained, it can be seen that it may not be possible to determine that a collision has occurred by comparing transmitted and received signals.

一方、図3(4)は、図3(1)の送信信号がゼロクロス点(つまり送信信号の電圧が0V)となるタイミングt1〜t6で発生する図3(2)の他の端末装置から送信された通信データの信号との電位差(電圧レベル)を示している。この図3の例では、ある端末装置で送受信された信号は、送信信号がゼロクロス点となるt1〜t3で0Vを基準として正の値の電位差、t4〜t6で0Vを基準として負の値の電位差が発生していることが判る。   On the other hand, FIG. 3 (4) is transmitted from the other terminal apparatus of FIG. 3 (2) that occurs at timings t1 to t6 when the transmission signal of FIG. 3 (1) reaches the zero cross point (that is, the voltage of the transmission signal is 0V). The potential difference (voltage level) with the signal of the communication data is shown. In the example of FIG. 3, a signal transmitted / received by a certain terminal device has a positive potential difference with reference to 0V at t1 to t3 when the transmission signal becomes a zero cross point, and a negative value with reference to 0V at t4 to t6. It can be seen that a potential difference has occurred.

つまり、図3では送受信した通信データを比較して衝突を判定することができない場合においても、送信信号の電圧が0Vとなるゼロクロス点では、他の端末装置から送信された通信データのみが通信データ入出力端子70へ入力されるため、送信信号のゼロクロス点で同通信データ入出力端子70へ入力された信号の電圧値を確認することで、他の端末装置からの通信データ送信の有無、すなわち信号の衝突を判定することができることを示している。   That is, in FIG. 3, even when it is not possible to determine the collision by comparing the transmitted and received communication data, at the zero cross point where the voltage of the transmission signal is 0 V, only the communication data transmitted from other terminal devices is the communication data. Since it is input to the input / output terminal 70, the presence / absence of transmission of communication data from other terminal devices by checking the voltage value of the signal input to the communication data input / output terminal 70 at the zero cross point of the transmission signal, that is, It shows that a signal collision can be determined.

図4は、本発明に係る端末装置で行われる衝突検出を説明するタイミングチャートである。図4(1)は、端末装置が通信データを送信する時に増幅器62から出力されるアナログ信号の波形を示している。また、図4(4)は、端末装置が図4(1)の通信データを送信しようとすると同時に、他の端末装置から送信されたアナログ信号の波形を示している。図4では、この2つのアナログ信号が伝送路へ伝送された時、端末装置40において信号の衝突がどのように検出されるかについて説明する。   FIG. 4 is a timing chart for explaining collision detection performed by the terminal device according to the present invention. FIG. 4A shows the waveform of an analog signal output from the amplifier 62 when the terminal device transmits communication data. FIG. 4 (4) shows the waveform of an analog signal transmitted from another terminal device at the same time that the terminal device attempts to transmit the communication data of FIG. 4 (1). FIG. 4 explains how a collision of signals is detected in the terminal device 40 when these two analog signals are transmitted to the transmission path.

図4(2)は、端末装置40が通信データを送信している間に、アナログスイッチ63へ制御部50からゼロクロス点前後を示すゼロクロス判別信号が入力された時、スイッチがオフとなるタイミングを示している。この図4(2)に示すOFF−1〜OFF−5のスイッチングにより、アナログスイッチ63を通過したアナログ信号は図4(3)に示す波形のようになる。なお、ゼロクロス点前後でアナログスイッチ63により部分的にカットされたアナログ信号は、このアナログ信号を受信した端末装置の受信部において、アナログ信号の疎密状態によって“0”または“1”を判別し通信データへと復調するため、
ゼロクロス点前後でアナログ信号が一時的にカットされたとしても疎密状態の判別は可能であり、通信データの復調には影響を及ぼさないようになっている。
4 (2) shows the timing at which the switch is turned off when a zero-cross discrimination signal indicating before and after the zero-cross point is input from the control unit 50 to the analog switch 63 while the terminal device 40 is transmitting communication data. Show. By the switching of OFF-1 to OFF-5 shown in FIG. 4 (2), the analog signal that has passed through the analog switch 63 has a waveform shown in FIG. 4 (3). Note that an analog signal partially cut by the analog switch 63 before and after the zero crossing point is determined as “0” or “1” depending on the density of the analog signal at the receiving unit of the terminal device that has received the analog signal. To demodulate to data,
Even if the analog signal is temporarily cut before and after the zero-cross point, it is possible to determine the density state, and it does not affect the demodulation of the communication data.

図4(5−1)は、通信データ入出力端子70に入力される図4(3)と図4(4)に示すアナログ信号が衝突した際の波形を太線で示し、比較器81で衝突の判定に用いられる基準電圧を一点鎖線で示している。なお、比較器81は、入力されたアナログ信号が示す電圧レベルを正の値と、負の値の両方で信号の衝突判定が行えるように構成されているものとしている。   FIG. 4 (5-1) shows the waveform when the analog signals shown in FIGS. 4 (3) and 4 (4) input to the communication data input / output terminal 70 collide with each other. The reference voltage used for the determination is shown by a one-dot chain line. Note that the comparator 81 is configured to be able to perform a signal collision determination based on both a positive value and a negative value of the voltage level indicated by the input analog signal.

図4(5−2)は、比較器81が出力する信号を示している。比較器81は、図4(5−1)に示した入力信号の電圧値が衝突の判定に用いられる基準電圧の正または負の値よりも高い時に“Hi”の信号を出力し、同信号の電圧値が同基準電圧の正および負の値よりも低い時に“Low”の信号を出力する。つまり、アナログスイッチのタイミングOFF−1〜OFF−3では基準電圧の正の値よりも高いと判定し、OFF−4〜OFF−5では基準電圧の負の値よりも高いと判定して、それぞれ“Hi”の信号を出力している。 FIG. 4 (5-2) shows a signal output from the comparator 81. The comparator 81 outputs a “Hi” signal when the voltage value of the input signal shown in FIG. 4 (5-1) is higher than the positive or negative value of the reference voltage used for collision determination. When the voltage value is lower than the positive and negative values of the reference voltage, a “Low” signal is output. That is, it is determined that the analog switch timings OFF-1 to OFF-3 are higher than the positive value of the reference voltage, and OFF-4 to OFF-5 are determined to be higher than the negative value of the reference voltage. A “Hi” signal is output.

図4(5−3)は、AND回路82が出力する衝突検出信号を示している。AND回路82は、比較器81から入力された“Hi”の信号と、制御部50から入力されたゼロクロス点前後を示すゼロクロス判別信号との両方が入力された時、制御部50へ衝突検出信号を出力することを示している。端末装置40は、このような構成と働きによって通信データを送信中に送信信号の衝突を検出することができる。   FIG. 4 (5-3) shows the collision detection signal output from the AND circuit 82. The AND circuit 82 receives the collision detection signal to the control unit 50 when both the “Hi” signal input from the comparator 81 and the zero-cross determination signal indicating before and after the zero-cross point input from the control unit 50 are input. Is output. The terminal device 40 can detect a collision of transmission signals during transmission of communication data by such a configuration and operation.

図5は、本発明に係る端末装置の制御部で行われる通信処理のフローチャートである。なお、図5のフローチャートに記載のSTはステップを表し、これに続く数字はステップ番号を表している。   FIG. 5 is a flowchart of communication processing performed by the control unit of the terminal device according to the present invention. Note that ST described in the flowchart of FIG. 5 represents a step, and the number following this represents a step number.

端末装置40の制御部50は、受信部90が通信データを受信したか否かを確認する(ST1)。受信部90が通信データを受信していない場合(ST1−No)、端末装置40から発信する通信データである送信予定データがバッファ内に有るか否かを確認する(ST2)。送信予定データが無い場合(ST2−No)、送受信停止の要求(例えば、リモコン31からの運転停止の操作など)を受付けたか否かを確認する(ST3)。送受信停止の要求を受付けた場合(ST3−Yes)、通信処理を終了する。また、送受信停止の要求を受付けていない場合(ST3−No)、ST1へ戻る。   The control part 50 of the terminal device 40 confirms whether the receiving part 90 received communication data (ST1). When the receiving unit 90 has not received communication data (ST1-No), it is confirmed whether or not transmission-scheduled data that is communication data transmitted from the terminal device 40 is present in the buffer (ST2). If there is no data to be transmitted (ST2-No), it is confirmed whether or not a request to stop transmission / reception (for example, operation stop operation from the remote controller 31) has been received (ST3). If a request to stop transmission / reception is accepted (ST3-Yes), the communication process is terminated. Moreover, when the request | requirement of transmission / reception stop is not received (ST3-No), it returns to ST1.

端末装置40の制御部50はST1において、受信部90から通信データを受信した場合(ST1−Yes)、受信した通信データが自機のアドレス宛のデータか否かを確認する(ST4)。受信データが自機のアドレス宛の場合(ST4−Yes)、受信データの内容に従い制御を行う(ST5)。そしてST1へ戻る。また、受信データが自機のアドレス宛ではない場合(ST4−No)、受信データを破棄する(ST6)。そしてST1へ戻る。   When the communication data is received from the receiving unit 90 in ST1 (ST1-Yes), the control unit 50 of the terminal device 40 checks whether the received communication data is data addressed to its own address (ST4). If the received data is addressed to its own address (ST4-Yes), control is performed according to the content of the received data (ST5). Then, the process returns to ST1. If the received data is not addressed to its own address (ST4-No), the received data is discarded (ST6). Then, the process returns to ST1.

端末装置40の制御部50はST2において、送信予定データが有る場合(ST2−Yes)、後述するデータ送信の待機タイマーが作動中か否かを確認する(ST7)。データ送信の待機タイマーが作動していない場合(ST7−No)、送信予定データの送信を開始する(ST8)。次に、データ送信が完了したか否かを確認する(ST9)。データ送信が完了していない場合(ST9−No)、AND回路82から衝突検出信号が入力されたか否かを確認する(ST10)。AND回路82から衝突検出信号が入力された場合(ST10−Yes)、データの送信を中断してその送信データをバッファに格納し、中断の都度ランダムな時間(例えば、制御部50内部に乱数を発生させて取得した値を基にした時間など)が経過するまで待機する様に、制御部50内部でデータ送信の待機タイマーを作動させる(ST11)。そしてST1へ戻る。   In ST2, when there is scheduled transmission data (ST2-Yes), the control unit 50 of the terminal device 40 confirms whether a data transmission standby timer, which will be described later, is in operation (ST7). If the data transmission standby timer is not in operation (ST7-No), transmission of the scheduled transmission data is started (ST8). Next, it is confirmed whether or not the data transmission is completed (ST9). If the data transmission is not completed (ST9-No), it is confirmed whether or not a collision detection signal is input from the AND circuit 82 (ST10). When a collision detection signal is input from the AND circuit 82 (ST10-Yes), the transmission of data is interrupted and the transmission data is stored in a buffer, and a random time (for example, a random number is stored inside the control unit 50) at each interruption. A standby timer for data transmission is operated inside the control unit 50 so as to wait until a time based on the value obtained and generated (ST11). Then, the process returns to ST1.

端末装置40の制御部50はST7において、データ送信の待機タイマーが作動している場合(ST7−Yes)と、ST9において、データ送信が完了している場合(ST9−Yes)とは、ST3へジャンプする。また、ST10において、AND回路82から衝突検出信号が入力されていない場合(ST10−No)、ST9へジャンプする。   In ST7, when the data transmission standby timer is operating (ST7-Yes), and in ST9, when the data transmission is completed (ST9-Yes), the control unit 50 of the terminal device 40 goes to ST3. Jump. In ST10, if no collision detection signal is input from the AND circuit 82 (ST10-No), the process jumps to ST9.

1 空調機システム
10 中央管理装置
20 室外機
30 室内機
31 リモコン
40 端末装置(10中央管理装置,20室外機,30室内機)
50 制御部
60 送信部
61 D/Aコンバータ
62 増幅器
63 アナログスイッチ
64 LPF(低域通過フィルタ)
70 通信データ入出力端子
80 衝突検出部
81 比較器
82 AND回路
90 受信部














DESCRIPTION OF SYMBOLS 1 Air conditioner system 10 Central management apparatus 20 Outdoor unit 30 Indoor unit 31 Remote control 40 Terminal device (10 central management apparatus, 20 outdoor unit, 30 indoor unit)
50 Control Unit 60 Transmitting Unit 61 D / A Converter 62 Amplifier 63 Analog Switch 64 LPF (Low Pass Filter)
70 Communication Data Input / Output Terminal 80 Collision Detection Unit 81 Comparator 82 AND Circuit 90 Reception Unit














Claims (2)

周波数変調方式で通信を行う端末装置において、 通信データの送受信を制御し、前記通信データの送信中に送信信号の波形がゼロクロス点前後となる期間を示すゼロクロス判別信号を出力する制御部と、前記ゼロクロス判別信号に応じて前記送信信号の出力をオフにする送信部と、前記端末装置と伝送路とを接続し、前記通信データを入出力する通信データ入出力端子と、前記通信データ入出力端子から入力された通信データを受信する受信部と、前記通信データの送信中に前記送信部が前記送信信号の出力をオフしている時、かつ、前記通信データ入出力端子から前記通信データが入力された時、自己の前記端末装置から送信した前記通信データと他の端末装置から送信された前記通信データとが衝突したと判定し前記制御部へ衝突検出信号を出力する衝突検出部とを備え、前記制御部は、前記受信部が他の端末装置から前記通信データを受信していない時に前記通信データを送信し
、前記通信データの送信中に前記衝突検出信号が入力された時、前記通信データの送信を中断し、ランダムな時間待機した後に改めて前記通信データを送信することを特徴とする端末装置。
In a terminal device that performs communication using a frequency modulation method, the control unit controls transmission / reception of communication data, and outputs a zero-cross determination signal indicating a period during which the waveform of the transmission signal is around the zero-cross point during transmission of the communication data; A transmission unit that turns off the output of the transmission signal in response to a zero-cross determination signal; a communication data input / output terminal that connects the terminal device and the transmission line and inputs / outputs the communication data; and the communication data input / output terminal A receiving unit that receives communication data input from the communication unit, and when the transmission unit turns off the output of the transmission signal during transmission of the communication data, and the communication data is input from the communication data input / output terminal. When it is determined that the communication data transmitted from its own terminal device has collided with the communication data transmitted from another terminal device, a collision detection signal is transmitted to the control unit. A collision detection unit that outputs a signal, and the control unit transmits the communication data when the reception unit is not receiving the communication data from another terminal device, and the collision occurs during transmission of the communication data. When a detection signal is input, the transmission of the communication data is interrupted, and after waiting for a random time, the communication data is transmitted again.
前記衝突検出部は、前記通信データ入出力端子から入力された前記通信データの電圧値と予め設定された基準電圧の電圧値とを比較する比較器を有し、前記送信部が前記送信信号の出力をオフしている時、かつ、前記通信データ入出力端子から入力された前記通信データの電圧値が前記基準電圧の電圧値を超えた時、自己の前記端末装置から送信した前記通信データと他の端末装置から送信された前記通信データとが衝突したと判定することを特徴とする請求項1に記載の端末装置。



























The collision detection unit includes a comparator that compares a voltage value of the communication data input from the communication data input / output terminal with a voltage value of a preset reference voltage, and the transmission unit When the output is turned off, and when the voltage value of the communication data input from the communication data input / output terminal exceeds the voltage value of the reference voltage, the communication data transmitted from the terminal device of its own The terminal device according to claim 1, wherein it is determined that the communication data transmitted from another terminal device has collided.



























JP2013031923A 2013-02-21 2013-02-21 Frequency modulation communication terminal device Active JP6015487B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013031923A JP6015487B2 (en) 2013-02-21 2013-02-21 Frequency modulation communication terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013031923A JP6015487B2 (en) 2013-02-21 2013-02-21 Frequency modulation communication terminal device

Publications (2)

Publication Number Publication Date
JP2014165513A JP2014165513A (en) 2014-09-08
JP6015487B2 true JP6015487B2 (en) 2016-10-26

Family

ID=51615801

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013031923A Active JP6015487B2 (en) 2013-02-21 2013-02-21 Frequency modulation communication terminal device

Country Status (1)

Country Link
JP (1) JP6015487B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11144880A (en) * 1997-11-06 1999-05-28 Toshiba Corp Airport lamp control system
JP2010232912A (en) * 2009-03-26 2010-10-14 Panasonic Electric Works Co Ltd Illumination light transmission system

Also Published As

Publication number Publication date
JP2014165513A (en) 2014-09-08

Similar Documents

Publication Publication Date Title
CN110062475B (en) Wireless communication method and device
JP5763156B2 (en) System and method for adapting transmit data block size and rate based on communication link quality
US20100050018A1 (en) SATA primitive prediction and correction
JPWO2012101808A1 (en) Communication interface device, air conditioner, communication control method, and program
US8074004B2 (en) Electronic device for contention detection of bidirectional bus and related method
JP6015487B2 (en) Frequency modulation communication terminal device
JP4667983B2 (en) Communication device, communication method, power line carrier communication system
JP6496747B2 (en) TX / RX mode control in a serial half-duplex transceiver away from the communicating host
JP5794811B2 (en) Data transmission apparatus and air conditioner equipped with the same
EP2779535A1 (en) Method and system of enhancing signal processing in a shared medium network
JP6968291B2 (en) Repeater device and relay method for repeater device
JP2014082578A (en) Full duplex communication device using communication packet and having transmitter and receiver and communication method thereof
US8995919B2 (en) Interference management using out-of-band signaling
US10284927B2 (en) Commissioning load devices via challenge-response-timing
JP4608784B2 (en) Wireless device and wireless communication method performed by wireless device
CN110647488A (en) Anti-noise method and system for I2C bus and related components
JP5638412B2 (en) Transmission distance extending apparatus and communication apparatus
JP5536590B2 (en) Wireless communication system
JP2013175958A (en) Differential type transmission apparatus and data collision detection method of the same
KR102078034B1 (en) Repeating Communication Algorithm for a long-distance transmission in dual carrier type communication with power line
JP2017118184A (en) Electronic control device
US20070121496A1 (en) System and method for amplitude optimization in high-speed serial transmissions
CN115801849A (en) Communication method, system, electronic device and medium applied to remote control system
KR100626536B1 (en) Method for data sending/receiving of between tcp communication devices
JP2011066722A (en) Differential type transmission apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151130

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160819

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160912

R151 Written notification of patent or utility model registration

Ref document number: 6015487

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151