JP2010166400A - Communication device, communication method, and integrated circuit - Google Patents

Communication device, communication method, and integrated circuit Download PDF

Info

Publication number
JP2010166400A
JP2010166400A JP2009007907A JP2009007907A JP2010166400A JP 2010166400 A JP2010166400 A JP 2010166400A JP 2009007907 A JP2009007907 A JP 2009007907A JP 2009007907 A JP2009007907 A JP 2009007907A JP 2010166400 A JP2010166400 A JP 2010166400A
Authority
JP
Japan
Prior art keywords
communication
frame
transmission
unit
control
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.)
Withdrawn
Application number
JP2009007907A
Other languages
Japanese (ja)
Inventor
Kensuke Yoshizawa
謙輔 吉澤
Taisuke Konishi
泰輔 小西
Tokuu Narita
篤雨 成田
Takayoshi Furuyama
孝好 古山
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.)
Panasonic Corp
Original Assignee
Panasonic 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 Panasonic Corp filed Critical Panasonic Corp
Priority to JP2009007907A priority Critical patent/JP2010166400A/en
Priority to MYPI2011003309A priority patent/MY156995A/en
Priority to PCT/JP2010/050752 priority patent/WO2010082691A2/en
Priority to CN201080010537.6A priority patent/CN102342058B/en
Priority to US12/688,868 priority patent/US8369359B2/en
Publication of JP2010166400A publication Critical patent/JP2010166400A/en
Priority to IL213954A priority patent/IL213954A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communication apparatus capable of maintaining the optimum communication characteristics and preventing transmission efficiency from decreasing, even when a transmission line state is not fixed. <P>SOLUTION: A PLC modem 100, which transmits data to another PLC modem via a power line 700, includes a communication frame control unit 23, which controls the frame length of a communication frame, on the basis of transmission line characteristics of the power line 700, a communication performance acquiring unit 23 which acquires the communication performance corresponding to the communication frame; and a determination unit 211, which determines whether the frame length of the communication frame needs to be controlled, on the basis of the communication performance. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、通信パラメータを状況に応じて決定し、決定された通信パラメータを利用し所定の伝送路を用いて通信を行う通信装置に関する。   The present invention relates to a communication apparatus that determines communication parameters according to a situation and performs communication using a predetermined transmission path using the determined communication parameters.

複数の通信装置間で通信を行う際には、一の通信装置が、固定長あるいは可変長の通信フレームを作成し、この通信フレームのペイロードに送信対象のデータの一部分あるいは全体を格納し、通信フレーム単位で順次データを伝送路に送信することができる。   When communicating between multiple communication devices, one communication device creates a fixed-length or variable-length communication frame, stores part or all of the data to be transmitted in the payload of this communication frame, and communicates Data can be sequentially transmitted to the transmission path in units of frames.

データが送信される伝送路の特性は一定ではなく、環境変化や時間の経過に伴って逐次変化する。伝送路が電力線の場合には、電力線に様々な電気機器が接続されるため、様々なノイズが現れる。さらに、交流電源波形(AC波形)に伴ってインピーダンスが変動し、伝送路の特性が変化することもある。   The characteristics of the transmission path through which data is transmitted are not constant, but change sequentially with environmental changes and time. When the transmission line is a power line, various electric devices are connected to the power line, so that various noises appear. Furthermore, the impedance varies with the AC power supply waveform (AC waveform), and the characteristics of the transmission path may change.

具体的には、図24に例を示すように、電力線を用いて通信を行う電力線通信装置が電力線通信信号(以下、PLC信号ともいう)を電力線に送信すると、電力線の特性に応じて、PLC信号の振幅や波形が変動することがある。このような変動は、電力線に関するインピーダンス(Z)の変動(以下、Z変動ともいう)に伴って発生することが多い。そして、Z変動は、図24に示すように交流電源波形(AC波形)に同期して周期的に発生することが多い。   Specifically, as shown in an example in FIG. 24, when a power line communication device that performs communication using a power line transmits a power line communication signal (hereinafter also referred to as a PLC signal) to the power line, the PLC is changed according to the characteristics of the power line. The signal amplitude and waveform may fluctuate. Such a variation often occurs with a variation in impedance (Z) related to the power line (hereinafter also referred to as Z variation). In many cases, the Z fluctuation periodically occurs in synchronization with the AC power supply waveform (AC waveform) as shown in FIG.

図24に示す例では、時刻t1、t2、t3、t4でそれぞれインピーダンスが二値的に変動している。ここでは、このようなZ変動のタイミングは、交流電源波形の山と谷のピークの近傍で発生している。   In the example shown in FIG. 24, the impedance varies in a binary manner at times t1, t2, t3, and t4. Here, the timing of such Z variation occurs in the vicinity of the peaks of the peaks and valleys of the AC power supply waveform.

図24において、PLC信号のフレームF11は、時刻t1の前から時刻t2の後まで電力線700上に現れているので、Z変動の影響を受ける。FC(フレームコントロール部:ヘッダに相当する)に後続するフレームの通信パラメータは、FCの送信区間のインピーダンスに応じて制御される。したがって、フレームF11のペイロードに含まれている複数のデータパケットのうち、時刻t1までに現れるデータパケットはFCと同様のインピーダンスとなるため伝送エラーが生じないが、時刻t1以降のデータパケットはFCと異なるインピーダンスとなるため全てエラーになる。   In FIG. 24, the PLC signal frame F11 appears on the power line 700 from before the time t1 to after the time t2, and is therefore affected by the Z variation. A communication parameter of a frame subsequent to FC (frame control unit: corresponding to header) is controlled according to the impedance of the FC transmission section. Therefore, among the plurality of data packets included in the payload of the frame F11, the data packet appearing up to time t1 has the same impedance as FC, and thus no transmission error occurs. However, the data packet after time t1 is FC. All have errors because they have different impedances.

また、フレームF12もZ変動の影響を受ける。但し、フレームF12には途中に既知情報であるパイロットシンボル(パイロット信号)P1、P2、P3、P4、P5が含まれている。パイロット信号に後続する信号の通信パラメータは、パイロット信号の送信区間のインピーダンスに応じて制御されるため、フレーム12は、フレームF11よりもZ変動による影響は小さい。しかし、パイロットシンボルを挿入したフレームF12であっても、Z変動の始期(例えばt1)または終期(例えばt2)をまたぐデータパケットについては、エラーになってしまう。   The frame F12 is also affected by Z variation. However, the frame F12 includes pilot symbols (pilot signals) P1, P2, P3, P4, and P5, which are known information, on the way. Since the communication parameter of the signal subsequent to the pilot signal is controlled according to the impedance of the transmission period of the pilot signal, the frame 12 is less affected by the Z variation than the frame F11. However, even in the frame F12 in which a pilot symbol is inserted, an error occurs with respect to a data packet that straddles the beginning (for example, t1) or the end (for example, t2) of the Z variation.

また、フレームF13もZ変動の影響を受ける。FC(フレームコントロール部:ヘッダに相当する)に後続するフレームの通信パラメータは、FCの送信区間のインピーダンスに応じて制御されるため、FCの送信区間がZ変動の始期(例えばt1)または終期(例えばt2)をまたぐ場合には、全てエラーになってしまう。   The frame F13 is also affected by the Z variation. Since the communication parameter of the frame following FC (frame control unit: corresponding to the header) is controlled according to the impedance of the FC transmission section, the FC transmission section is at the beginning (for example, t1) or the end ( For example, when t2) is crossed, all errors occur.

なお、交流電源波形に伴うノイズの影響を軽減するための技術として、交流電源波形のゼロクロス点を検出し、ゼロクロス点の近傍で電源周期よりも十分に短い期間でデータ伝送を行うことが知られている。   As a technique for reducing the influence of noise associated with an AC power supply waveform, it is known to detect a zero-cross point of the AC power supply waveform and perform data transmission near the zero-cross point in a period sufficiently shorter than the power cycle. ing.

特開昭59−143435号公報JP 59-143435 A

しかしながら、送信する通信フレームのフレーム長を単に十分に短くなるよう制限する場合には、伝送効率が低下するのは避けられない。   However, when the frame length of a communication frame to be transmitted is limited so as to be sufficiently short, it is inevitable that the transmission efficiency is lowered.

本発明は、伝送路状態が一定でない場合であっても、最適な通信特性を維持することができるとともに、伝送効率が低下することを防止可能な通信装置を提供することを目的とする。   An object of the present invention is to provide a communication device that can maintain optimum communication characteristics even when the transmission path state is not constant and can prevent a decrease in transmission efficiency.

本発明の通信装置は、伝送路を介して、他の通信装置へのデータの伝送を行う通信装置であって、前記データを格納する通信フレームを生成する通信フレーム生成部と、前記伝送路の伝送路特性に基づいて、前記通信フレームのフレーム長を制御する通信フレーム制御部と、前記通信フレームに対応する通信性能を取得する通信性能取得部と、前記通信性能に基づいて、前記通信フレームに対するフレーム長の制御の要否を判定する判定部とを備える。   A communication device according to the present invention is a communication device that transmits data to another communication device via a transmission line, and includes a communication frame generation unit that generates a communication frame for storing the data, A communication frame control unit that controls a frame length of the communication frame based on transmission path characteristics, a communication performance acquisition unit that acquires communication performance corresponding to the communication frame, and A determination unit that determines whether or not the frame length needs to be controlled.

この通信装置によれば、伝送路状態が一定でない場合であっても、最適な通信特性を維持することができるとともに、伝送効率が低下することを防止可能である。例えば、伝送路の種類や環境によっては、伝送路の伝送路特性を正確に捉えることが困難な場合があり、正確に捉えられていない伝送路特性に基づいて、通信フレームのフレーム長を制御した場合は、伝送効率が低下するおそれがある。通信フレームに対する通信性能に基づいてフレーム長の制御の要否を判定することにより、不要なフレーム長の制御に起因する伝送効率の低下を抑制することができる。   According to this communication apparatus, even when the transmission path state is not constant, it is possible to maintain optimum communication characteristics and to prevent a decrease in transmission efficiency. For example, depending on the type and environment of the transmission line, it may be difficult to accurately grasp the transmission line characteristic of the transmission line, and the frame length of the communication frame is controlled based on the transmission line characteristic that is not accurately captured. In this case, the transmission efficiency may be reduced. By determining whether it is necessary to control the frame length based on the communication performance with respect to the communication frame, it is possible to suppress a decrease in transmission efficiency due to unnecessary control of the frame length.

また、本発明の通信装置は、前記伝送路が、電力線である。   In the communication apparatus of the present invention, the transmission path is a power line.

この通信装置によれば、伝送路が電力線であっても、伝送路状態が一定でない場合であっても、最適な通信特性を維持することができるとともに、伝送効率が低下することを防止可能である。特に、電力線は、伝送路特性が頻繁に変化するので、電灯線を用いた通信にフレーム長制御の要否判定を適用することは好適である。   According to this communication apparatus, even when the transmission line is a power line or when the transmission line state is not constant, it is possible to maintain optimum communication characteristics and to prevent a decrease in transmission efficiency. is there. In particular, since the transmission line characteristics of the power line change frequently, it is preferable to apply the frame length control necessity determination to the communication using the power line.

また、本発明の通信装置は、更に、前記通信フレームを前記他の通信装置へ送信する送信部と、前記通信フレームに対する応答を前記他の通信装置から受信する受信部と、を備え、前記応答は、前記通信性能に関する情報を少なくとも1つ含んでいる。   The communication device of the present invention further includes a transmission unit that transmits the communication frame to the other communication device, and a reception unit that receives a response to the communication frame from the other communication device. Includes at least one piece of information related to the communication performance.

この通信装置によれば、通信フレームに対する応答から通信性能に関する情報を取得することで、不要なフレーム長の制御に起因する伝送効率の低下を抑制することができる。   According to this communication apparatus, by acquiring information related to communication performance from a response to a communication frame, it is possible to suppress a decrease in transmission efficiency due to unnecessary frame length control.

また、本発明の通信装置は、前記通信性能に関する情報が、前記通信フレームに関する再送率、および前記通信フレームに関する伝送速度のうち少なくとも一つを含む。   In the communication apparatus of the present invention, the information related to the communication performance includes at least one of a retransmission rate related to the communication frame and a transmission rate related to the communication frame.

この通信装置によれば、通信性能に関する情報として通信フレームに関する再送率、および伝送速度のうち少なくとも一つを取得することにより、不要なフレーム長の制御に起因する伝送効率の低下を抑制することができる。   According to this communication apparatus, it is possible to suppress a decrease in transmission efficiency due to unnecessary frame length control by acquiring at least one of a retransmission rate and a transmission rate regarding a communication frame as information regarding communication performance. it can.

また、本発明の通信装置は、前記送信部が、フレーム長が制御された第1の通信フレーム、およびフレーム長が制御されていない第2の通信フレームの送信を行い、前記受信部は、前記第1の通信フレームに対応する第1の通信性能に関する情報、および前記第2の通信フレームに対応する第2の通信性能に関する情報を受信し、前記判定部は、前記第1の通信性能と前記第2の通信性能の比較に基づいて、前記通信フレームに対するフレーム長の制御の要否を判定する。   In the communication apparatus of the present invention, the transmission unit transmits the first communication frame whose frame length is controlled and the second communication frame whose frame length is not controlled, and the reception unit Receiving information related to the first communication performance corresponding to the first communication frame and information related to the second communication performance corresponding to the second communication frame, and the determination unit includes the first communication performance and the information Based on the comparison of the second communication performance, it is determined whether or not it is necessary to control the frame length for the communication frame.

この通信装置によれば、フレーム長の制御を受けた通信フレームの通信性能(第1の通信性能)とフレーム長の制御を受けていない通信フレームの通信性能(第2の通信性能)を比較することによって、フレーム長の制御の要否を判定することができる。   According to this communication apparatus, the communication performance (first communication performance) of a communication frame subjected to frame length control is compared with the communication performance (second communication performance) of a communication frame not subjected to frame length control. Thus, it is possible to determine whether or not the frame length needs to be controlled.

また、本発明の通信装置は、更に、前記通信フレームについて、パイロットシンボルの挿入を行うパイロットシンボル挿入部を備え、前記判定部は、前記通信性能に基づいて、前記パイロットシンボルの挿入の要否を判定する。   The communication apparatus of the present invention further includes a pilot symbol insertion unit that inserts a pilot symbol for the communication frame, and the determination unit determines whether the pilot symbol needs to be inserted based on the communication performance. judge.

この通信装置によれば、伝送路状態が一定でない場合であっても、最適な通信特性を維持することができるとともに、伝送効率が低下することを防止可能である。例えば、伝送路の種類や環境によっては、伝送路の伝送路特性を正確に捉えることが困難な場合があり、正確に捉えられていない伝送路特性に基づいて、パイロットシンボルを挿入した場合は、伝送効率が低下するおそれがある。通信フレームに対する通信性能に基づいてパイロットシンボル挿入の要否を判定することにより、冗長なパイロットシンボルの挿入による伝送効率の低下を抑制することができる。   According to this communication apparatus, even when the transmission path state is not constant, it is possible to maintain optimum communication characteristics and to prevent a decrease in transmission efficiency. For example, depending on the type and environment of the transmission path, it may be difficult to accurately capture the transmission path characteristics of the transmission path, and when pilot symbols are inserted based on transmission path characteristics that are not accurately captured, Transmission efficiency may be reduced. By determining whether or not pilot symbol insertion is necessary based on communication performance with respect to a communication frame, it is possible to suppress a decrease in transmission efficiency due to redundant pilot symbol insertion.

また、本発明の通信装置は、更に、前記通信フレームについて変復調を行う変復調部と、前記通信性能に基づいて、前記変復調の方式を決定する決定部を備える。   The communication apparatus according to the present invention further includes a modulation / demodulation unit that modulates / demodulates the communication frame and a determination unit that determines the modulation / demodulation method based on the communication performance.

この通信装置によれば、通信フレームの通信性能に基づいて最適な変復調の方式を決定することが可能になるため、不適切な変調方式の選択に起因する伝送効率の低下や再送を抑制することができる。   According to this communication apparatus, since it is possible to determine the optimum modulation / demodulation method based on the communication performance of the communication frame, it is possible to suppress a decrease in transmission efficiency and retransmission due to selection of an inappropriate modulation method. Can do.

また、本発明の通信装置は、前記通信フレーム制御部は、前記電力線のインピーダンス変動に基づいて、前記通信フレームのフレーム長の制御を行う。   In the communication apparatus of the present invention, the communication frame control unit controls the frame length of the communication frame based on the impedance variation of the power line.

この通信装置によれば、通信フレームのフレーム長を電力線のインピーダンス変動に対応した長さに制御することができるので、最適な通信特性を維持しつつ、伝送効率が低下することが防止できる。   According to this communication apparatus, the frame length of the communication frame can be controlled to a length corresponding to the impedance fluctuation of the power line, so that it is possible to prevent a decrease in transmission efficiency while maintaining optimum communication characteristics.

また、本発明の通信方法は、伝送路を介して、他の通信装置へのデータの伝送を行う通信方法であって、前記データを格納する通信フレームを生成し、前記伝送路の伝送路特性に基づいて、前記通信フレームのフレーム長を制御し、前記通信フレームに対応する通信性能を取得し、前記通信性能に基づいて、前記通信フレームに対するフレーム長の制御の要否を判定する。   The communication method of the present invention is a communication method for transmitting data to another communication device via a transmission line, wherein a communication frame for storing the data is generated, and a transmission line characteristic of the transmission line is generated. Based on the communication frame, the frame length of the communication frame is controlled, the communication performance corresponding to the communication frame is acquired, and the necessity of control of the frame length for the communication frame is determined based on the communication performance.

この通信方法によれば、伝送路状態が一定でない場合であっても、最適な通信特性を維持することができるとともに、伝送効率が低下することを防止可能である。例えば、伝送路の種類や環境によっては、伝送路の伝送路特性を正確に捉えることが困難な場合があり、正確に捉えられていない伝送路特性に基づいて、通信フレームのフレーム長を制御した場合は、伝送効率が低下するおそれがある。通信フレームに対する通信性能に基づいてフレーム長の制御の要否を判定することにより、不要なフレーム長の制御に起因する伝送効率の低下を抑制することができる。   According to this communication method, even when the transmission path state is not constant, it is possible to maintain optimal communication characteristics and to prevent a decrease in transmission efficiency. For example, depending on the type and environment of the transmission line, it may be difficult to accurately grasp the transmission line characteristic of the transmission line, and the frame length of the communication frame is controlled based on the transmission line characteristic that is not accurately captured. In this case, the transmission efficiency may be reduced. By determining whether it is necessary to control the frame length based on the communication performance with respect to the communication frame, it is possible to suppress a decrease in transmission efficiency due to unnecessary control of the frame length.

また、本発明の集積回路は、伝送路を介して、他の通信装置へのデータの伝送を行う通信装置に用いられる集積回路であって、前記データを格納する通信フレームを生成する通信フレーム生成部と、前記伝送路の伝送路特性に基づいて、前記通信フレームのフレーム長を制御する通信フレーム制御部と、前記通信フレームに対応する通信性能を取得する通信性能取得部と、前記通信性能に基づいて、前記通信フレームに対するフレーム長の制御の要否を判定する判定部とを備える。   The integrated circuit of the present invention is an integrated circuit used in a communication device that transmits data to another communication device via a transmission line, and generates a communication frame for storing the data. A communication frame control unit that controls a frame length of the communication frame based on transmission path characteristics of the transmission path, a communication performance acquisition unit that acquires communication performance corresponding to the communication frame, and the communication performance. And a determination unit that determines whether or not it is necessary to control the frame length of the communication frame.

この集積回路によれば、伝送路状態が一定でない場合であっても、最適な通信特性を維持することができるとともに、伝送効率が低下することを防止可能である。例えば、伝送路の種類や環境によっては、伝送路の伝送路特性を正確に捉えることが困難な場合があり、正確に捉えられていない伝送路特性に基づいて、通信フレームのフレーム長を制御した場合は、伝送効率が低下するおそれがある。通信フレームに対する通信性能に基づいてフレーム長の制御の要否を判定することにより、不要なフレーム長の制御に起因する伝送効率の低下を抑制することができる。   According to this integrated circuit, it is possible to maintain optimum communication characteristics even when the transmission path state is not constant, and to prevent a decrease in transmission efficiency. For example, depending on the type and environment of the transmission line, it may be difficult to accurately grasp the transmission line characteristic of the transmission line, and the frame length of the communication frame is controlled based on the transmission line characteristic that is not accurately captured. In this case, the transmission efficiency may be reduced. By determining whether it is necessary to control the frame length based on the communication performance with respect to the communication frame, it is possible to suppress a decrease in transmission efficiency due to unnecessary control of the frame length.

本発明の通信装置は、伝送路を介して、他の通信装置へのデータの伝送を行う通信装置であって、前記データを格納する通信フレームを生成する通信フレーム生成部と、前記通信フレームのフレーム長を制御する通信フレーム制御部と、前記他の通信装置に起因する前記伝送路の状態を検出する状態検出部と、前記伝送路の状態に基づいて、前記通信フレームに対するフレーム長の制御の要否を判定する判定部とを備える。   The communication device of the present invention is a communication device that transmits data to another communication device via a transmission path, and includes a communication frame generation unit that generates a communication frame for storing the data, A communication frame control unit that controls a frame length; a state detection unit that detects a state of the transmission path caused by the other communication device; and a frame length control for the communication frame based on the state of the transmission path. A determination unit for determining necessity.

この通信装置によれば、他の通信装置に起因する伝送路の状態に基づいて、通信フレームに対するフレーム長の制御の要否を判定することによって、不要なフレーム長の制御に起因する伝送効率の低下を抑制することができる。   According to this communication apparatus, by determining whether or not the control of the frame length for the communication frame is necessary based on the state of the transmission path caused by the other communication apparatus, the transmission efficiency due to the control of the unnecessary frame length can be improved. The decrease can be suppressed.

本発明の通信装置は、前記状態検出部が、前記伝送路の状態として、前記他の通信装置が送信するデータ量を検出し、前記判定部は、前記データ量に基づいて、前記通信フレームに対するフレーム長の制御の要否を判定する。   In the communication device of the present invention, the state detection unit detects the amount of data transmitted by the other communication device as the state of the transmission path, and the determination unit determines the amount of the communication frame based on the amount of data. The necessity of control of the frame length is determined.

この通信装置によれば、他の通信装置が送信するデータ量に基づいて、前記通信フレームに対するフレーム長の制御の要否を判定するので、フレーム長の制御の要否を適切に判定することが可能になる。   According to this communication apparatus, since it is determined whether or not the control of the frame length for the communication frame is necessary based on the amount of data transmitted by another communication apparatus, it is possible to appropriately determine whether or not the control of the frame length is necessary. It becomes possible.

本発明によれば、伝送路状態が一定でない場合であっても、最適な通信特性を維持することができるとともに、伝送効率が低下することを防止可能である。   According to the present invention, even when the transmission path state is not constant, it is possible to maintain optimum communication characteristics and to prevent a decrease in transmission efficiency.

以下、本発明の実施形態の通信装置について、図面を用いて説明する。   Hereinafter, a communication apparatus according to an embodiment of the present invention will be described with reference to the drawings.

図1は、電力線通信装置の一例であるPLC(Power Line Communication)モデム100の前面を示す外観斜視図、図2は、PLCモデム100の背面を示す外観斜視図である。図1、図2に示すPLCモデム100は、筐体101を有しており、筐体101の前面には、図1に示すようにLED(Light Emitting Diode)等の表示部105が設けられている。   FIG. 1 is an external perspective view showing the front of a PLC (Power Line Communication) modem 100 as an example of a power line communication apparatus, and FIG. 2 is an external perspective view showing the back of the PLC modem 100. The PLC modem 100 shown in FIGS. 1 and 2 has a casing 101, and a display unit 105 such as an LED (Light Emitting Diode) is provided on the front surface of the casing 101 as shown in FIG. Yes.

また、筐体101の背面には、図2に示すように電源コネクタ102、及びRJ45等のLAN(Local Area Network)用モジュラージャック103、及び動作モード(親機モード/子機モード)を切換える切換えスイッチ104が設けられている。   Further, on the rear surface of the housing 101, as shown in FIG. 2, a power connector 102, a modular jack 103 for LAN (Local Area Network) such as RJ45, and a switching for switching an operation mode (master mode / slave mode). A switch 104 is provided.

また、筐体の上面には、ボタン106が設けられている。ボタン106は、PLCモデム100を通信可能状態とするための処理(登録処理)を開始するためのセットアップボタンとしての機能を有する。尚、例示として筐体101の上面に設けるとしたが、この位置に限られることはない。   A button 106 is provided on the top surface of the housing. The button 106 has a function as a setup button for starting processing (registration processing) for making the PLC modem 100 communicable. In addition, although provided on the upper surface of the housing 101 as an example, it is not limited to this position.

電源コネクタ102には、図示しない電源ケーブルが接続され、モジュラージャック103には、図示しないLANケーブルが接続される。なお、PLCモデム100には、さらにDsub(D−subminiature)コネクタを設け、Dsubケーブルを接続するようにしてもよい。   A power cable (not shown) is connected to the power connector 102, and a LAN cable (not shown) is connected to the modular jack 103. The PLC modem 100 may further be provided with a Dsub (D-subminiature) connector to connect a Dsub cable.

なお、電力線通信装置の一例としてPLCモデム100を示したが、電力線通信装置としては、PLCモデムを内蔵した電気機器でもよい。電気機器としては、例えば、テレビ、電話、ビデオデッキ、セットトップボックスなどの家電機器や、パーソナルコンピュータ、ファクス、プリンターなどの事務機器がある。   Although the PLC modem 100 is shown as an example of the power line communication device, the power line communication device may be an electric device with a built-in PLC modem. Examples of the electrical equipment include home appliances such as a television, a telephone, a video deck, and a set top box, and office equipment such as a personal computer, a fax machine, and a printer.

また、PLCモデム100は、電力線700に接続され、他のPLCモデム100と共に電力線通信システムを構成する。   The PLC modem 100 is connected to the power line 700 and constitutes a power line communication system together with other PLC modems 100.

次に、図3に、主にPLCモデム100のハードウェア構成の一例を示す。PLC100は、回路モジュール200及びスイッチング電源300を有している。スイッチング電源300は、各種(例えば、+1.2V、+3.3V、+12V)の電圧を回路モジュール200に供給するものであり、例えば、スイッチングトランス、DC−DCコンバータ(いずれも図示せず)を含んで構成される。   Next, FIG. 3 mainly shows an example of the hardware configuration of the PLC modem 100. The PLC 100 includes a circuit module 200 and a switching power supply 300. The switching power supply 300 supplies various voltages (for example, + 1.2V, + 3.3V, + 12V) to the circuit module 200, and includes, for example, a switching transformer and a DC-DC converter (none of which are shown). Consists of.

回路モジュール200には、メインIC(Integrated Circuit)210、AFE・IC(Analog Front End・Integrated Circuit)220、イーサネット(登録商標)PHY・IC(Physical layer・Integrated Circuit)230、メモリ240、ローパスフィルタ(LPF)251、ドライバIC252、バンドパスフィルタ(BPF)260、カプラ270、AMP(増幅器)IC281、ADC(AD変換)IC282、ACサイクル検出器60が設けられている。スイッチング電源300及びカプラ270は、電源コネクタ102に接続され、さらに電源ケーブル600、電源プラグ400、コンセント500を介して電力線700に接続される。なお、メインIC210は電力線通信を行う制御回路として機能する。   The circuit module 200 includes a main IC (Integrated Circuit) 210, an AFE IC (Analog Front End Integrated Circuit) 220, an Ethernet (registered trademark) PHY IC (Physical layer Integrated Circuit) 230, a memory, and a memory 240. LPF) 251, driver IC 252, band pass filter (BPF) 260, coupler 270, AMP (amplifier) IC 281, ADC (AD conversion) IC 282, and AC cycle detector 60 are provided. The switching power supply 300 and the coupler 270 are connected to the power connector 102 and further connected to the power line 700 through the power cable 600, the power plug 400, and the outlet 500. The main IC 210 functions as a control circuit that performs power line communication.

メインIC210は、CPU(Central Processing Unit)211、PLC・MAC(Power Line Communication・Media Access Control layer)ブロック212、及びPLC・PHY(Power Line Communication・Physical layer)ブロック213で構成されている。   The main IC 210 includes a CPU (Central Processing Unit) 211, a PLC / MAC (Power Line Communication / Media Access Control Layer) block 212, and a PLC / PHY (Power Line Communication / Physical Layer) block 213.

CPU211は、32ビットのRISC(Reduced Instruction Set Computer)プロセッサを実装している。PLC・MACブロック212は、送受信信号のMAC層(Media Access Control layer)を管理し、PLC・PHYブロック213は、送受信信号のPHY層(Physical layer)を管理する。   The CPU 211 has a 32-bit RISC (Reduced Instruction Set Computer) processor. The PLC / MAC block 212 manages a MAC layer (Media Access Control layer) of transmission / reception signals, and the PLC / PHY block 213 manages a PHY layer (Physical layer) of transmission / reception signals.

AFE・IC220は、DA変換器(DAC;D/A Converter)221、AD変換器(ADC;A/D Converter)222、及び可変増幅器(VGA;Variable Gain Amplifier)223で構成されている。カプラ270は、コイルトランス271、及びカップリング用コンデンサ272a、272bで構成されている。   The AFE IC 220 includes a DA converter (DAC) 221, an AD converter (ADC) 222, and a variable amplifier (VGA) 223. The coupler 270 includes a coil transformer 271 and coupling capacitors 272a and 272b.

なお、CPU211は、メモリ240に記憶されたデータを利用して、PLC・MACブロック212、及びPLC・PHYブロック213の動作を制御するとともに、PLCモデム100全体の制御も行う。   The CPU 211 uses the data stored in the memory 240 to control the operation of the PLC / MAC block 212 and the PLC / PHY block 213, and also controls the entire PLC modem 100.

PLCモデム100による通信は、概略次のように行われる。モジュラージャック103から入力されたデータは、イーサネット(登録商標)PHY・IC230を介してメインIC210に送られ、デジタル信号処理を施すことによってデジタル送信信号が生成される。生成されたデジタル送信信号は、AFE・IC220のDA変換器(DAC)221によってアナログ信号に変換され、ローパスフィルタ251、ドライバIC252、カプラ270、電源コネクタ102、電源ケーブル600、電源プラグ400、コンセント500を介して電力線700に出力される。   Communication by the PLC modem 100 is generally performed as follows. Data input from the modular jack 103 is sent to the main IC 210 via the Ethernet (registered trademark) PHY IC 230, and a digital transmission signal is generated by performing digital signal processing. The generated digital transmission signal is converted into an analog signal by the DA converter (DAC) 221 of the AFE / IC 220, and the low-pass filter 251, the driver IC 252, the coupler 270, the power connector 102, the power cable 600, the power plug 400, and the outlet 500. Is output to the power line 700.

電力線700から受信された信号は、カプラ270を経由してバンドパスフィルタ260に送られ、AFE・IC220の可変増幅器(VGA)223でゲイン調整がされた後、AD変換器(ADC)222でデジタル信号に変換される。そして、変換されたデジタル信号は、メインIC210に送られ、デジタル信号処理を施すことによって、デジタルデータに変換される。変換されたデジタルデータは、イーサネット(登録商標)PHY・IC230を介してモジュラージャック103から出力される。   A signal received from the power line 700 is sent to the band pass filter 260 via the coupler 270, and after gain adjustment is performed by the variable amplifier (VGA) 223 of the AFE / IC 220, the signal is digitally converted by the AD converter (ADC) 222. Converted to a signal. The converted digital signal is sent to the main IC 210 and converted into digital data by performing digital signal processing. The converted digital data is output from the modular jack 103 via the Ethernet (registered trademark) PHY IC 230.

回路モジュール200に設けられたACサイクル検出器60は、互いに通信を行う複数台のPLCモデム100が共通のタイミングで制御を実施するために必要な同期信号を生成する。つまり、ACサイクル検出器60は電力線700に供給される交流電源波形に同期した信号を生成する。   The AC cycle detector 60 provided in the circuit module 200 generates a synchronization signal necessary for a plurality of PLC modems 100 communicating with each other to perform control at a common timing. That is, the AC cycle detector 60 generates a signal synchronized with the AC power supply waveform supplied to the power line 700.

ACサイクル検出器60は、ダイオードブリッジ60a、抵抗器60b、60c、直流電源供給部60e、およびコンデンサ60dで構成される。ダイオードブリッジ60aの出力は抵抗器60bに接続される。抵抗器60bと抵抗器60cは直列に接続される。抵抗器60bおよび60cは、コンデンサ60dの一方の端子に並列に接続される。直流電源供給部60eは、コンデンサ60dの他方の端子に接続されている。   The AC cycle detector 60 includes a diode bridge 60a, resistors 60b and 60c, a DC power supply unit 60e, and a capacitor 60d. The output of the diode bridge 60a is connected to the resistor 60b. The resistor 60b and the resistor 60c are connected in series. Resistors 60b and 60c are connected in parallel to one terminal of capacitor 60d. The DC power supply 60e is connected to the other terminal of the capacitor 60d.

このACサイクル検出器60は、具体的には次のように動作する。すなわち、電力線700に供給される商用の交流電源波形AC、つまり50Hz又は60Hzの正弦波からなる交流波形のゼロクロス点を検出し、このタイミングを基準とする同期信号を生成する。同期信号の具体例としては、交流電源波形のゼロクロス点に同期した複数のパルスからなる矩形波が用いられる。なお、本信号は後述では交流電源波形の位相を決定するのに用いるため、交流電源の任意の電圧を検出する回路で代用することも可能である。   Specifically, the AC cycle detector 60 operates as follows. That is, a commercial AC power supply waveform AC supplied to the power line 700, that is, a zero cross point of an AC waveform composed of a sine wave of 50 Hz or 60 Hz is detected, and a synchronization signal based on this timing is generated. As a specific example of the synchronization signal, a rectangular wave composed of a plurality of pulses synchronized with the zero cross point of the AC power supply waveform is used. Since this signal is used to determine the phase of the AC power supply waveform in the following, it can be replaced with a circuit that detects an arbitrary voltage of the AC power supply.

次に、メインIC210によって実現されるデジタル信号処理の一例について説明する。PLCモデム100は、複数のサブキャリアを用いて生成されるOFDM(Orthogonal Frequency Division Multiplexing:直交周波数分割多重)信号などのマルチキャリア信号を伝送用の信号として使用するものである。PLCモデム100は、送信対象のデータをOFDM信号などのマルチキャリア送信信号に変換して出力すると共に、OFDM信号などのマルチキャリア受信信号を処理して受信データに変換する。これらの変換のためのデジタル信号処理は、主としてPLC・PHYブロック213で行われる。   Next, an example of digital signal processing realized by the main IC 210 will be described. The PLC modem 100 uses a multicarrier signal such as an OFDM (Orthogonal Frequency Division Multiplexing) signal generated by using a plurality of subcarriers as a signal for transmission. The PLC modem 100 converts the data to be transmitted into a multicarrier transmission signal such as an OFDM signal and outputs it, and processes the multicarrier reception signal such as an OFDM signal to convert it into reception data. Digital signal processing for these conversions is mainly performed by the PLC / PHY block 213.

PLC・PHYブロック213によって実現されるデジタル信号処理を行うために必要とされる機能上の構成の一例が図4に示されている。図4に示す例では、ウェーブレット変換を利用するOFDM伝送を行う場合の構成を示してある。図4に示すように、PLC・PHYブロック213は、変換制御部810、シンボルマッパ811、シリアル−パラレル(S/P)変換器812、逆ウェーブレット変換器813、ウェーブレット変換器814、パラレル−シリアル(P/S)変換器815、デマッパ816の各機能を有している。   An example of a functional configuration required for performing digital signal processing realized by the PLC / PHY block 213 is shown in FIG. The example shown in FIG. 4 shows a configuration in the case of performing OFDM transmission using wavelet transform. As shown in FIG. 4, the PLC / PHY block 213 includes a conversion control unit 810, a symbol mapper 811, a serial-parallel (S / P) converter 812, an inverse wavelet converter 813, a wavelet converter 814, a parallel-serial ( P / S) converter 815 and demapper 816.

シンボルマッパ811は、送信すべきビットデータをシンボルデータに変換し、各シンボルデータに従ってシンボルマッピング(例えばPAM(Pulse Amplitude Modulation)変調)を行うものである。シリアル−パラレル変換器812は、マッピングされた直列のデータを入力し並列のデータに変換して出力する。逆ウェーブレット変換器813は、並列データを逆ウェーブレット変換し、時間軸上のデータとするものであり、伝送シンボルを表すサンプル値系列を生成するものである。このデータは、AFE・IC220のDA変換器(DAC)221に送られる。   The symbol mapper 811 converts bit data to be transmitted into symbol data, and performs symbol mapping (for example, PAM (Pulse Amplitude Modulation) modulation) according to each symbol data. The serial-parallel converter 812 inputs the mapped serial data, converts it into parallel data, and outputs it. The inverse wavelet transformer 813 performs inverse wavelet transform on parallel data to obtain data on the time axis, and generates a sample value series representing a transmission symbol. This data is sent to the DA converter (DAC) 221 of the AFE / IC 220.

ウェーブレット変換器814は、AFE・IC220のAD変換器(ADC)222から得られる受信デジタルデータ(送信時と同一のサンプルレートでサンプルされたサンプル値系列)を周波数軸上へ離散ウェーブレット変換するものである。パラレル−シリアル変換器815は、周波数軸上のデータとして入力される並列データを並び替えて直列データに変換し出力する。デマッパ816は、各サブキャリアの振幅値を計算し、受信信号の判定を行って受信データを求めるものである。   The wavelet transformer 814 performs discrete wavelet transform on the frequency axis of the received digital data (sample value series sampled at the same sample rate as that at the time of transmission) obtained from the AD converter (ADC) 222 of the AFE / IC 220. is there. The parallel-serial converter 815 rearranges parallel data input as data on the frequency axis, converts it into serial data, and outputs the serial data. The demapper 816 calculates the amplitude value of each subcarrier, determines the received signal, and obtains received data.

本実施形態におけるPLCモデム100は、特徴的な制御として、「伝送速度の安定化制御」と、「AC同期フレーム長制御」との2つを実施する。以下、第1の実施形態で「伝送速度の安定化制御」について、第2の実施形態で「AC同期フレーム長制御」について、第3の実施形態で伝送速度の安定化制御とAC同期フレーム長制御を組み合わせた場合の処理について説明する。   The PLC modem 100 in the present embodiment performs two types of control, “transmission speed stabilization control” and “AC synchronous frame length control”. Hereinafter, “transmission rate stabilization control” in the first embodiment, “AC synchronization frame length control” in the second embodiment, and transmission rate stabilization control and AC synchronization frame length in the third embodiment. Processing when control is combined will be described.

(第1の実施形態)
図5は、本発明の第1の実施形態におけるPLCモデム100の機能ブロック図である。図5に示すPLCモデム100は、通信パラメータ設定部11、通信性能取得部12、比較部13、および通信部14を有して構成される。図5に示すように、通信パラメータ設定部11、通信性能取得部12、及び比較部13は、CPU211に内包されている機能ブロックであり、通信部14は、PLC・MAC212、PLC・PHY213に内包されている機能ブロックである。
(First embodiment)
FIG. 5 is a functional block diagram of the PLC modem 100 according to the first embodiment of the present invention. The PLC modem 100 shown in FIG. 5 includes a communication parameter setting unit 11, a communication performance acquisition unit 12, a comparison unit 13, and a communication unit 14. As shown in FIG. 5, the communication parameter setting unit 11, the communication performance acquisition unit 12, and the comparison unit 13 are functional blocks included in the CPU 211, and the communication unit 14 is included in the PLC / MAC 212 and the PLC / PHY 213. Is a functional block.

通信パラメータ設定部11は、複数のTM(ToneMap:トーンマップ)から、1つのTMを決定する。TMは、例えばメインIC210、またメモリ240に記憶されており、マルチキャリア信号のサブキャリア毎に、適用する一次変調の種類、誤り訂正モードの種類などの通信パラメータの一式をまとめて保持している。PLCモデム100は、様々な伝送路特性を考慮して相手先モデム毎に少なくとも1つの複数のTMを備えている。通信パラメータ設定部11には、通常通信時には一つのTMの通信パラメータが設定されている。   The communication parameter setting unit 11 determines one TM from a plurality of TMs (ToneMap). The TM is stored in the main IC 210 or the memory 240, for example, and collectively holds a set of communication parameters such as the type of primary modulation to be applied and the type of error correction mode for each subcarrier of the multicarrier signal. . The PLC modem 100 includes at least one TM for each destination modem in consideration of various transmission path characteristics. The communication parameter setting unit 11 is set with one TM communication parameter during normal communication.

TMは、一つの相手先モデムに対して複数備えることができる。つまり、後述のCE要求/CERの結果に基づいて必要時に新たにTM生成した場合、それまでの通信で使用していたTM(現行TM)と新たに生成したTM(新TM)のパラメータを保持することができる。なお、後述では現行TMと新TMの2つを保持している場合について説明するが、現行TMとして複数のTMを保持し、複数の現行TMと新TMを用いて評価するようにしてもよい。   A plurality of TMs can be provided for one destination modem. In other words, when a new TM is generated when necessary based on the CE request / CER result described later, the parameters of the TM (current TM) used in the previous communication and the newly generated TM (new TM) are retained. can do. In addition, although the case where the current TM and the new TM are held will be described later, a plurality of TMs may be held as the current TM, and evaluation may be performed using the plurality of current TMs and the new TMs. .

通信部14は、通信パラメータ設定部11が決定した通信パラメータに応じた変調方式などを用いて、共通の電力線700に接続された他のPLCモデム100との間で通信を行う。   The communication unit 14 performs communication with another PLC modem 100 connected to the common power line 700 using a modulation method or the like according to the communication parameter determined by the communication parameter setting unit 11.

通信性能取得部12は、通信部14による通信性能の情報を取得する。通信性能の具体例としては、再送の発生頻度(以下、再送率ともいう)や伝送速度(単位時間当たりのデータ情報量、例えばパケット数なども含む)などが考えられる。   The communication performance acquisition unit 12 acquires information on communication performance by the communication unit 14. As specific examples of communication performance, the frequency of occurrence of retransmission (hereinafter also referred to as a retransmission rate), the transmission rate (including the amount of data information per unit time, for example, the number of packets, etc.), etc. can be considered.

比較部13は、複数の通信パラメータのそれぞれについて通信性能取得部12が取得した通信性能の情報を用いて、複数の通信パラメータの優劣を比較する。比較部13の比較結果が通信パラメータ設定部11に出力される。通信パラメータ設定部11は、比較部13の比較結果を反映して、次回の通信のための通信パラメータを決定する。   The comparison unit 13 compares the superiority and inferiority of the plurality of communication parameters using the communication performance information acquired by the communication performance acquisition unit 12 for each of the plurality of communication parameters. The comparison result of the comparison unit 13 is output to the communication parameter setting unit 11. The communication parameter setting unit 11 reflects the comparison result of the comparison unit 13 and determines a communication parameter for the next communication.

次に、本実施形態のPLCモデム100の主要な処理の内容について説明する。
PLCモデム100は、TMとして、現行TM、新TMの2組の候補を想定し、2組の候補の中でいずれが優れているか、すなわち、いずれが伝送路としての電力線700の特性に合っているかを識別するための処理を実行する。実行の結果、いずれか一つのTMを採用する。ここで、現行TMは、先に決定あるいは選択したTMを表す。また、新TMは、現行TMの後に選択された新たな候補のTMを表す。
Next, contents of main processes of the PLC modem 100 of the present embodiment will be described.
The PLC modem 100 assumes two candidates of the current TM and the new TM as the TM, and which of the two candidates is superior, that is, which matches the characteristics of the power line 700 as a transmission path. A process for identifying whether or not As a result of execution, any one TM is adopted. Here, the current TM represents a TM previously determined or selected. The new TM represents a new candidate TM selected after the current TM.

図6および図7は、PLCモデム100が伝送速度の安定化制御を行う際の動作の一例を示すフローチャートである。ここでは、図8および図9を参照しながら、説明を行う。また、図6の処理の開始時点で現行TMは既に定められているものとする。   6 and 7 are flowcharts showing an example of the operation when the PLC modem 100 performs transmission rate stabilization control. Here, description will be made with reference to FIGS. 8 and 9. In addition, it is assumed that the current TM is already determined at the start of the processing of FIG.

ステップS11では、通信パラメータ設定部11は、現行TMを選択し、通信部14に通知する。   In step S <b> 11, the communication parameter setting unit 11 selects the current TM and notifies the communication unit 14.

ステップS12では、通信部14は、通信パラメータ設定部11から通知された現行TMに基づいて通信パラメータを決定し、送信対象の任意のデータを電力線700に送信する。この時に、通信性能取得部12は、伝送エラーの発生によって再送が発生したか否かを把握し、検出された再送率の情報(再送率Ret1)を例えばメモリ240に保存する。   In step S <b> 12, the communication unit 14 determines a communication parameter based on the current TM notified from the communication parameter setting unit 11, and transmits arbitrary data to be transmitted to the power line 700. At this time, the communication performance acquisition unit 12 grasps whether or not retransmission has occurred due to the occurrence of a transmission error, and stores information on the detected retransmission rate (retransmission rate Ret1) in the memory 240, for example.

ステップS13では、比較部13は、所定時間(例えば図8では4秒)が経過したか否かを識別する。所定時間が経過すると、次のステップS14に進む。なお、所定期間が経過するまでは、送信すべきデータがある場合には、所定のタイミングで現行TMに基づくパラメータで送信を行う。送信すべきデータがない場合には実データとは関係ない評価のためだけのダミーデータを送信してもよい。このように、4秒間における再送率を観察するため、ある程度は信頼のおける再送率情報を得ることができる。   In step S13, the comparison unit 13 identifies whether a predetermined time (for example, 4 seconds in FIG. 8) has elapsed. When the predetermined time has elapsed, the process proceeds to the next step S14. Note that until there is data to be transmitted until a predetermined period elapses, transmission is performed with parameters based on the current TM at a predetermined timing. If there is no data to be transmitted, dummy data only for evaluation not related to actual data may be transmitted. In this way, since the retransmission rate in 4 seconds is observed, it is possible to obtain retransmission rate information that is reliable to some extent.

ステップS14では、通信部14は、電力線700を介して他のPLCモデム100宛てにチャネル推定要求(CE:Channel Estimation)を送信する。CEには、自局のPLCモデム100と他局である他のPLCモデム100との間であらかじめ両者が認識している既知の信号が含まれる。   In step S <b> 14, the communication unit 14 transmits a channel estimation request (CE) to the other PLC modem 100 via the power line 700. The CE includes a known signal that is recognized in advance between the PLC modem 100 of the local station and the other PLC modem 100 of the other station.

ステップS15では、他のPLCモデム100からチャネル推定要求レスポンス(CER:Channel Estimation Response)が送信されるので、これを通信性能取得部12が受信する。CERには、受信した既知の信号に対する評価情報(例えばマルチキャリアの各サブキャリアごとのCINR(Carrier to Interference and Noise power Ratio)や、それに基づく伝送速度情報(PHY速度)などの伝送路状態を示す情報)に基づく新TMが含まれる。   In step S15, since the channel estimation request response (CER) is transmitted from the other PLC modem 100, the communication performance acquisition unit 12 receives it. The CER indicates transmission path conditions such as evaluation information for a received known signal (for example, CINR (Carrier to Interference and Noise power Ratio) for each subcarrier of the multicarrier and transmission speed information (PHY speed) based on the information). New TM based on information).

なお、CE要求/CERの実施は、定期的に行われるものとは別に、現行TMが未だに定まっていない状態のとき(例えばPLCモデム100の動作開始時)、電力線700の特性状態が急激に変化したとき(例えば電力線700に接続されている電気機器が大きく変化したとき)にも行われる。   The CE request / CER is executed in a state in which the current TM is not yet determined (for example, when the operation of the PLC modem 100 is started), and the characteristic state of the power line 700 is rapidly changed. (For example, when the electrical equipment connected to the power line 700 changes greatly).

ステップS16では、通信パラメータ設定部11は、CERに含まれる新TMを取得する。   In step S16, the communication parameter setting unit 11 acquires a new TM included in the CER.

ステップS17では、通信性能取得部12は、現行TMとステップS12で保存した再送率Ret1(4秒間の検出結果)とを取得し、比較部13は、これらに基づいて現行TMの実効伝送レート、つまり再送を考慮した伝送速度R11を算出する。   In step S17, the communication performance acquisition unit 12 acquires the current TM and the retransmission rate Ret1 (detection result for 4 seconds) stored in step S12, and the comparison unit 13 based on these, the effective transmission rate of the current TM, That is, the transmission rate R11 considering retransmission is calculated.

ステップS18では、比較部13は、ステップS16で選択された新TMに基づき、新TMの理論上最大の実効伝送レートR21を算出する。具体的には、再送率が0であるものと仮定して新TMから実効伝送レートR21を算出する。具体的には現行TMから得られる伝送速度(PHY速度)に(1−Ret1)と効率係数α1を乗算した値をR11とする。なお、α1はPHY速度に基づくフレーム長やフレーム間ギャップなどの影響を考慮した伝送効率を表す指標であり、0から1の間の値とする。この段階では「新TM」に関する再送率の情報は必要ない。   In step S18, the comparison unit 13 calculates the theoretically maximum effective transmission rate R21 of the new TM based on the new TM selected in step S16. Specifically, the effective transmission rate R21 is calculated from the new TM on the assumption that the retransmission rate is zero. Specifically, R11 is a value obtained by multiplying the transmission rate (PHY rate) obtained from the current TM by (1-Ret1) and the efficiency coefficient α1. Α1 is an index representing transmission efficiency in consideration of the influence of the frame length and the interframe gap based on the PHY speed, and is a value between 0 and 1. At this stage, there is no need for retransmission rate information regarding the “new TM”.

ステップS19では、比較部13は、ステップS17で算出された現行TMの実効伝送レートR11と、ステップS18で算出された新TMの実効伝送レートR21を比較する。そして、R11がR21よりも大きい場合には、ステップS33に遷移し、新TMに比べて現行TMの通信性能(再送を考慮した伝送速度)が優れていると判断から、通信パラメータ設定部11は、今後使用する通信パラメータとして現行TMの通信パラメータを採用し、処理を終了する。一方、R11がR21以下である場合には、次のステップS20に進む。   In step S19, the comparison unit 13 compares the effective transmission rate R11 of the current TM calculated in step S17 with the effective transmission rate R21 of the new TM calculated in step S18. If R11 is greater than R21, the process proceeds to step S33, and the communication parameter setting unit 11 determines that the current TM communication performance (transmission rate considering retransmission) is superior to the new TM. Then, the communication parameter of the current TM is adopted as the communication parameter to be used in the future, and the process is terminated. On the other hand, if R11 is equal to or less than R21, the process proceeds to the next step S20.

つまり、ステップS19の条件を満たす場合には、これ以降の処理を打ち切り、図8に示す「第1トレーニング処理」、「第2トレーニング処理」、「第3トレーニング処理」、「第4トレーニング処理」には進まない。すなわち、再送率が0の場合でも「新TM」の実効伝送レートR21が「現行TM」に比べて劣っているということは、「新TM」の実際の再送率を取得しても比較結果は変わらない。ステップS19で、以降の処理を省略することで、不要な処理を省略できる。伝送速度の低下を抑制するのにも役立つ。   That is, if the condition of step S19 is satisfied, the subsequent processing is terminated, and the “first training process”, “second training process”, “third training process”, and “fourth training process” shown in FIG. Don't go on. In other words, even when the retransmission rate is 0, the effective transmission rate R21 of “New TM” is inferior to that of “Current TM”. does not change. In step S19, unnecessary processing can be omitted by omitting subsequent processing. It is also useful for suppressing a decrease in transmission speed.

ステップS20では、PLCモデム100は、所定期間(例えば100msecの期間)に渡って、第1トレーニング処理を実行する。第1トレーニング処理では、通信部12が、新TMおよび現行TMの通信パラメータを用いて送信対象の任意のデータを電力線700に送信する。この時に、伝送エラーの発生によって再送が発生したか否かを通信性能取得部12により把握し、検出された再送率の情報(新TMの再送率Ret21)を例えばメモリ240に保存する。   In step S20, the PLC modem 100 executes the first training process over a predetermined period (for example, a period of 100 msec). In the first training process, the communication unit 12 transmits arbitrary data to be transmitted to the power line 700 using the communication parameters of the new TM and the current TM. At this time, the communication performance acquisition unit 12 grasps whether or not retransmission has occurred due to the occurrence of a transmission error, and stores the information on the detected retransmission rate (new TM retransmission rate Ret21) in, for example, the memory 240.

第1トレーニング処理中には、通信部14が使用する通信パラメータは、図9に示すモードAのように、通信パラメータ設定部11により周期的に交互に切り替えられる。すなわち、通信部14は、現行TMを用いて2回送信した後、新TMを用いて2回送信し、再び現行TMを用いて2回送信し、以下同様に2回の送信毎に通信パラメータを通信パラメータ設定部11が交互に切り替える。なお、ここでは2回ずつ交互に切り替えるとしたが、他の回数毎に繰り返してもよい。   During the first training process, the communication parameters used by the communication unit 14 are periodically and alternately switched by the communication parameter setting unit 11 as in mode A shown in FIG. That is, the communication unit 14 transmits twice using the current TM, then transmits twice using the new TM, transmits again twice using the current TM, and thereafter the communication parameter for every two transmissions. Are alternately switched by the communication parameter setting unit 11. In addition, although it switched alternately by 2 times here, you may repeat every other frequency | count.

但し、再送率Ret21に関する情報を取得するのは、通信部14が通信パラメータとして新TMを選択している期間のみである。つまり、再送率Ret21は、新TMに関する再送率である。   However, the information regarding the retransmission rate Ret21 is acquired only during a period in which the communication unit 14 selects the new TM as a communication parameter. That is, the retransmission rate Ret21 is a retransmission rate related to the new TM.

図9に示すモードAのように、現行TMと新TMとを周期的に交互に切り替えることで、トレーニング期間中に伝送レートが異常に低下するのを避けることができる。すなわち、第1トレーニング処理を実施する段階では、新TMの伝送レートが非常に低い可能性もあるため、図9に示すモードBのように、新TMだけを使用すると伝送レートが著しく低下する場合がある。しかし、現行TMと新TMとを交互に切り替えてデータ伝送に利用することにより、局所的に発生する伝送レートの低下に対応することができる。   As in mode A shown in FIG. 9, the current TM and the new TM are periodically switched alternately to avoid an abnormal decrease in the transmission rate during the training period. That is, at the stage where the first training process is performed, the transmission rate of the new TM may be very low. Therefore, when only the new TM is used as in mode B shown in FIG. There is. However, by switching the current TM and the new TM alternately and using them for data transmission, it is possible to cope with a locally reduced transmission rate.

図9に示すモードAのように、現行TMと新TMとを周期的に交互に切り替える場合には、例えば伝送路状態が交流電源波形(AC波形)の周期に同期して「悪」、「良」、「悪」、「良」、「悪」、・・・と変化し、劣悪状態が現行TM、新TMのいずれかに偏り、再送率Ret21が正しく伝送路の状態を反映しないことも考えられる。しかし、本実施形態のトレーニング処理全体を十分な時間長さで行うことにより、周期的な劣悪状態を反映させずに、最良のTMを選択することが可能となる。   When the current TM and the new TM are periodically switched alternately as in the mode A shown in FIG. 9, for example, the transmission line state is “bad” or “synchronized” in synchronization with the period of the AC power supply waveform (AC waveform). It may change as “good”, “bad”, “good”, “bad”,..., The inferior state is biased to either the current TM or the new TM, and the retransmission rate Ret21 may not correctly reflect the state of the transmission path. Conceivable. However, by performing the entire training process of the present embodiment for a sufficient length of time, it is possible to select the best TM without reflecting a periodic deterioration state.

ステップS21では、比較部13は、新TMとステップS20で取得した再送率Ret21とに基づいて、新TMの実効伝送レート(再送を考慮した伝送速度)R22を算出する。   In step S21, the comparison unit 13 calculates an effective transmission rate (transmission rate considering retransmission) R22 of the new TM based on the new TM and the retransmission rate Ret21 acquired in step S20.

ステップS22では、比較部13は、ステップS17で算出された現行TMの実効伝送レートR11とステップS22で算出された新TMの実効伝送レートR22とを比較する。ここで、ΔRは所定閾値(例えば定数)である。そして、R11がR22とΔRとの和よりも大きい場合には、ステップS33に遷移し、新TMに比べて現行TMの通信性能(再送を考慮した伝送速度)が優れていると判断から、通信パラメータ設定部11は、今後使用する通信パラメータとして現行TMの通信パラメータを採用し、ここで処理を終了する。それ以外の場合には、ステップS23に進む。   In step S22, the comparison unit 13 compares the effective transmission rate R11 of the current TM calculated in step S17 with the effective transmission rate R22 of the new TM calculated in step S22. Here, ΔR is a predetermined threshold (for example, a constant). If R11 is larger than the sum of R22 and ΔR, the process proceeds to step S33, and it is determined that the current TM communication performance (transmission speed considering retransmission) is superior to the new TM. The parameter setting unit 11 adopts the current TM communication parameter as a communication parameter to be used in the future, and ends the process. Otherwise, the process proceeds to step S23.

つまり、ステップS22の条件を満たす場合には、これ以降の処理を打ち切り、図8に示す「第2トレーニング処理」、「第3トレーニング処理」、「第4トレーニング処理」には進まない。すなわち、閾値ΔRを加えた条件であっても、新TMの実効伝送レートR22が現行TMに比べて劣っているということは、より正確な再送率を取得するためにこれ以降の処理を継続しても、比較結果は変わらない可能性が高い。ステップS22で処理を打ち切ることで不要な処理を省略できる。伝送速度の低下を抑制するのにも役立つ。   That is, when the condition of step S22 is satisfied, the subsequent processing is terminated and the process does not proceed to “second training process”, “third training process”, and “fourth training process” shown in FIG. That is, even if the threshold value ΔR is added, the fact that the effective transmission rate R22 of the new TM is inferior to that of the current TM means that the subsequent processing is continued in order to obtain a more accurate retransmission rate. However, the comparison results are likely not to change. Unnecessary processing can be omitted by terminating the processing in step S22. It is also useful for suppressing a decrease in transmission speed.

ステップS23では、PLCモデム100は、100msecの期間に渡って第2トレーニング処理を実行する。第2トレーニング処理の内容は、第1トレーニング処理と同様であるが、第2トレーニング処理で取得する情報は第1トレーニング処理および第2トレーニング処理の2処理から得られる再送率Ret22として、再送率Ret21とは区別する。   In step S23, the PLC modem 100 executes the second training process over a period of 100 msec. The content of the second training process is the same as that of the first training process, but the information acquired in the second training process is the retransmission rate Ret22 obtained from the two processes of the first training process and the second training process. To distinguish.

つまり、図8に示すように、第1トレーニング処理を100msecの期間に渡って実施した後、更に第2トレーニング処理を100msecの期間に渡って実施し、合計で200msecに渡って新TMの再送率を取得する。   That is, as shown in FIG. 8, after the first training process is performed for a period of 100 msec, the second training process is further performed for a period of 100 msec, and the retransmission rate of the new TM is totaled for 200 msec. To get.

ステップS24では、比較部13は、新TMとステップS23で取得した再送率Ret22とに基づいて、新TMの実効伝送レートR23を算出する。具体的には、新TMから得られる伝送速度(PHY速度)に(1−Ret22)と効率係数α2を乗算した値をR23とする。なお、α2はPHY速度に基づくフレーム長やフレーム間ギャップなどの影響を考慮した伝送効率を表す指標であり、0から1の間の値とする。α1とα2は簡易的に等しい値を用いてもよい。   In step S24, the comparison unit 13 calculates the effective transmission rate R23 of the new TM based on the new TM and the retransmission rate Ret22 acquired in step S23. Specifically, a value obtained by multiplying the transmission rate (PHY rate) obtained from the new TM by (1-Ret22) and the efficiency coefficient α2 is R23. Α2 is an index representing transmission efficiency in consideration of the influence of the frame length and the interframe gap based on the PHY speed, and is a value between 0 and 1. α1 and α2 may be simply equal.

ステップS25では、比較部13は、ステップS17で算出された現行TMの実効伝送レートR11とステップS24で算出された新TMの実効伝送レートR23を比較する。そして、R11がR23よりも大きい場合には、ステップS33に遷移し、新TMに比べて現行TMの通信性能(再送を考慮した伝送速度)が優れていると判断から、通信パラメータ設定部11は、今後使用する通信パラメータとして現行TMの通信パラメータを採用し、ここで処理を終了する。それ以外の場合はステップS26に進む。   In step S25, the comparison unit 13 compares the effective transmission rate R11 of the current TM calculated in step S17 with the effective transmission rate R23 of the new TM calculated in step S24. If R11 is greater than R23, the process proceeds to step S33, and the communication parameter setting unit 11 determines that the communication performance (transmission rate considering retransmission) of the current TM is superior to the new TM. Then, the communication parameter of the current TM is adopted as a communication parameter to be used in the future, and the process ends here. Otherwise, the process proceeds to step S26.

つまり、ステップS25の条件を満たす場合には、これ以降の処理を打ち切り、図8に示す「第3トレーニング処理」、「第4トレーニング処理」には進まない。すなわち、新TMの実効伝送レートR23が現行TMに比べて劣っているということは、より正確な再送率を取得するためにこれ以降の処理を継続しても、比較結果は変わらない可能性が高い。ステップS25で処理を打ち切ることで、不要な処理を省略できる。伝送速度の低下を抑制するのにも役立つ。   That is, when the condition of step S25 is satisfied, the subsequent processing is terminated and the processing does not proceed to “third training processing” and “fourth training processing” shown in FIG. In other words, the fact that the effective transmission rate R23 of the new TM is inferior to that of the current TM means that the comparison result may not change even if the subsequent processing is continued in order to obtain a more accurate retransmission rate. high. By canceling the processing in step S25, unnecessary processing can be omitted. It is also useful for suppressing a decrease in transmission speed.

ステップS26では、PLCモデム100は、1800msecの期間に渡って第3トレーニング処理を実行する。第3トレーニング処理では、新TMの通信パラメータを用いて送信対象の任意のデータを電力線700に送信する。この時に、伝送エラーの発生によって再送が発生したか否かを把握し、検出された再送率の情報(新TMの再送率Ret23)を例えばメモリ240に保存する。   In step S26, the PLC modem 100 executes the third training process over a period of 1800 msec. In the third training process, arbitrary data to be transmitted is transmitted to the power line 700 using the new TM communication parameters. At this time, it is ascertained whether or not retransmission has occurred due to the occurrence of a transmission error, and information on the detected retransmission rate (new TM retransmission rate Ret23) is stored in the memory 240, for example.

また、第3トレーニング処理では、第1トレーニング処理の場合とは異なり、1800msecの全期間に渡って、新TMの通信パラメータを固定して使用する。すなわち、第3トレーニング処理に移行した段階では、新TMの伝送速度が非常に低い可能性は小さいので、現行TMを使用しなくても伝送速度の大きな低下は生じないと考えられる。また、新TMの通信パラメータに固定することにより、例えば図9に示すように電力線700の状態が周期的に変動する場合であっても、周期内の平均的な特性を反映した再送率Ret23を取得できる。   Also, in the third training process, unlike the first training process, the communication parameters of the new TM are fixed and used over the entire period of 1800 msec. That is, at the stage of shifting to the third training process, it is unlikely that the transmission rate of the new TM is very low, so it is considered that the transmission rate does not significantly decrease even if the current TM is not used. Further, by fixing the communication parameters of the new TM, for example, as shown in FIG. 9, even if the state of the power line 700 fluctuates periodically, the retransmission rate Ret23 reflecting the average characteristics within the cycle is set. You can get it.

第3トレーニング処理を実行する時間の長さは、第1トレーニング処理および第2トレーニングとは異なり、1800msecと比較的長いため、より精度の高い再送率の情報を取得することが可能となる。第3トレーニング処理の時間長さは、第1トレーニング処理の期間(100msec)と第2トレーニング処理の期間(100msec)の和の5倍以上が好ましい。なお、図6および図7に示す処理は繰り返し実行されるため、第1トレーニング処理〜第3トレーニング処理の時間長さが長くなり過ぎないように、ステップS12を実行する時間(4秒)の半分程度に第3トレーニング処理の長さを設定することが望ましい。   Unlike the first training process and the second training, the length of time for executing the third training process is 1800 msec, which is relatively long. Therefore, it is possible to acquire information on the retransmission rate with higher accuracy. The time length of the third training process is preferably at least five times the sum of the period of the first training process (100 msec) and the period of the second training process (100 msec). Since the processes shown in FIGS. 6 and 7 are repeatedly executed, half the time (4 seconds) for executing step S12 so that the time length of the first training process to the third training process does not become too long. It is desirable to set the length of the third training process to the extent.

ステップS27では、比較部13は、新TM、ステップS26で取得した再送率Ret23に基づいて、新TMの実効伝送レートR24を算出する。具体的には、新TMから得られる伝送速度(PHY速度)に(1−Ret23)と効率係数α2を乗算した値をR24とする。なお、α2はS24で用いた値に等しい。なお、Ret23については第1トレーニング処理、第2トレーニング処理、第3トレーニング処理の全ての処理からもとまる新TMに関する再送率としてもよい。   In step S27, the comparison unit 13 calculates the effective transmission rate R24 of the new TM based on the new TM and the retransmission rate Ret23 acquired in step S26. Specifically, a value obtained by multiplying the transmission rate (PHY rate) obtained from the new TM by (1-Ret23) and the efficiency coefficient α2 is R24. Α2 is equal to the value used in S24. Ret23 may be a retransmission rate related to the new TM obtained from all of the first training process, the second training process, and the third training process.

ステップS28では、比較部13は、ステップS17で算出された現行TMの実効伝送レートR11とステップS27で算出された新TMの実効伝送レートR24とを比較する。そして、R11がR24より大きい場合には、ステップS29に進み、それ以外の場合には、ステップS30に進む。   In step S28, the comparison unit 13 compares the effective transmission rate R11 of the current TM calculated in step S17 with the effective transmission rate R24 of the new TM calculated in step S27. If R11 is larger than R24, the process proceeds to step S29, and otherwise, the process proceeds to step S30.

ステップS29では、これまでの評価の結果、新TMに比べて現行TMの通信性能(再送を考慮した伝送速度)が優れていると判断できたので、通信パラメータ設定部11は、今後使用する通信パラメータとして現行TMの通信パラメータを採用する。   In step S29, as a result of the evaluation so far, it has been determined that the communication performance (transmission rate in consideration of retransmission) of the current TM is superior to that of the new TM. The current TM communication parameters are adopted as parameters.

ステップS30では、これまでの評価の結果、現行TMに比べて新TMの通信性能(再送を考慮した伝送速度)が優れていると判断できたので、通信パラメータ設定部11は、今後使用する通信パラメータとして新TMの通信パラメータを採用する。   In step S30, as a result of the evaluation so far, it has been determined that the communication performance (transmission speed in consideration of retransmission) of the new TM is superior to that of the current TM. New TM communication parameters are adopted as parameters.

ステップS31では、PLCモデム100は、300msecの期間に渡って第4トレーニング処理を実行する。第4トレーニング処理は、ステップS28の比較結果とは無関係に実行する。つまり、ステップS29、S30を実行する以前の現行TM(旧現行TM)の通信パラメータを用いて送信対象の任意のデータを電力線700に送信する。この時に、伝送エラーの発生によって再送が発生したか否かを把握し、検出された再送率の情報(旧現行TMの再送率Ret1x)を例えばメモリ240に保存する。なお、第4トレーニング処理では300msecの全期間に渡って、使用する通信パラメータは旧現行TMの通信パラメータに固定する。   In step S31, the PLC modem 100 executes the fourth training process over a period of 300 msec. The fourth training process is executed regardless of the comparison result in step S28. That is, arbitrary data to be transmitted is transmitted to the power line 700 using the communication parameters of the current TM (former current TM) before executing steps S29 and S30. At this time, it is ascertained whether or not retransmission has occurred due to the occurrence of a transmission error, and information on the detected retransmission rate (the retransmission rate Ret1x of the old current TM) is stored in the memory 240, for example. In the fourth training process, the communication parameter to be used is fixed to the communication parameter of the old current TM over the entire period of 300 msec.

ステップS32では、比較部13は、再送率Ret1xがS12で取得した再送率Ret1や、それ以前に同じ現行TMで取得した再送率Ret1yと比較して所定閾値ΔRx以上の差がある場合には、電力線700の特性が第1トレーニング処理〜第3トレーニング処理の処理中とは大きく変化し、トレーニングにより設定したステップS29、30以降の現行TMのパラメータが使用できなくなったと判断する。この場合にはCE要求/CERの実施を行い、変化後の伝送路に対する処理を新規に開始する。それ以外の場合には、処理を終了する。   In step S32, the comparison unit 13 compares the retransmission rate Ret1x obtained in S12 with the retransmission rate Ret1y obtained before at the same current TM, and if there is a difference greater than or equal to a predetermined threshold ΔRx, It is determined that the characteristics of the power line 700 change greatly during the first training process to the third training process, and the parameters of the current TM after steps S29 and S30 set by the training can no longer be used. In this case, CE request / CER is performed, and processing for the transmission path after the change is newly started. In other cases, the process ends.

第4トレーニング処理は、第1トレーニング処理〜第3トレーニング処理が終了するまでに2秒間程度が必要になり、実際にはこれを数回繰り返すので、この間の電力線700の特性変化の影響によって、第1トレーニング処理〜第3トレーニング処理により求めたTMが確実に使用できるものであることを確認することができる。つまり、第4トレーニング処理による再送率Ret1xを参照することで、伝送路の状態に大きな変化が生じていないことを確認し、ステップS29、S30において採用されたTMの信頼性が高いことを保証している。なお、第4のトレーニング処理の目的は伝送路変化の検出のため、再送率に限らず、他の指標、例えば誤り訂正率、伝送速度等の指標および、それらの組み合わせをステップS14以前に取得した同じ指標の値と比較することで伝送路の変化を検出してもよい。   In the fourth training process, about 2 seconds are required until the first training process to the third training process are completed, and this is actually repeated several times. Therefore, due to the influence of the characteristic change of the power line 700 during this period, It can be confirmed that the TM obtained by the first training process to the third training process can be used reliably. That is, by referring to the retransmission rate Ret1x by the fourth training process, it is confirmed that there is no significant change in the state of the transmission path, and it is ensured that the reliability of the TM adopted in steps S29 and S30 is high. ing. Note that the purpose of the fourth training process is not limited to the retransmission rate, but other indices such as an error correction rate, a transmission rate, and combinations thereof are acquired before step S14 in order to detect transmission path changes. You may detect the change of a transmission line by comparing with the value of the same parameter | index.

図6および図7の処理を行うことで、現行TMと新TMの切り替えを実施する前に、変更前のTMと変更後のTMのいずれの通信パラメータが優れているか、あるいは適しているかを正しく判定することが可能となる。例えば、変更後の通信パラメータを使用すると変更前の新パラメータを使用する場合よりも高いデータ伝送速度が得られるが、その代わりに再送率が増加し、実行速度が低下するという状況を回避可能である。   By performing the processing shown in FIGS. 6 and 7, before switching between the current TM and the new TM, it is possible to correctly determine which communication parameter is superior or suitable for the TM before the change and the TM after the change. It becomes possible to judge. For example, using the communication parameter after the change can provide a higher data transmission rate than when using the new parameter before the change, but it is possible to avoid the situation where the retransmission rate increases and the execution rate decreases instead. is there.

また、電力線700上の交流電源により定期的にノイズが発生していても、的確なTMを選択することが可能となる。   Further, even if noise is periodically generated by the AC power supply on the power line 700, an accurate TM can be selected.

また、電力線700上に短期的に大きなノイズが発生したとしても、伝送路状態の判定のために十分な時間をかける第1トレーニング処理〜第4トレーニング処理を行うことで、的確なTMを選択することができる。   Further, even if a large amount of noise occurs on the power line 700 in the short term, an accurate TM is selected by performing the first training process to the fourth training process that take sufficient time for the determination of the transmission path state. be able to.

また、図6および図7に示した処理の中で使用している実効伝送レートR11については、トレーニングを開始する前の通常のデータ伝送で事前に検出し保存した再送率Ret1に基づいているので、現行TMと新TMとの間に大きな再送率の偏りが生じることを回避可能である。   The effective transmission rate R11 used in the processes shown in FIGS. 6 and 7 is based on the retransmission rate Ret1 detected and stored in advance in normal data transmission before starting training. It is possible to avoid a large retransmission rate bias between the current TM and the new TM.

また、新TMを選択する際に、たまたま大きなノイズが伝送路に現れたとしても、その影響を受けて伝送速度の非常に低いTMを使用したトレーニングを行わない。これにより、一時的にあるいは瞬間的に異常に低い伝送速度に切り替わり、伝送速度が不安定になることを回避可能である。   Also, when a new TM is selected, even if a large noise appears in the transmission path, training using a TM having a very low transmission speed is not performed. As a result, it is possible to prevent the transmission speed from becoming unstable because the transmission speed is temporarily or instantaneously switched to an abnormally low transmission speed.

また、第1トレーニング処理や第2トレーニング処理で取得する再送率については、現行TMと新TMを交互に切り替えることの悪影響(偏り)が生じる可能性があるが、第3トレーニング処理において新TMの通信パラメータに固定するので、悪影響がTM選択に反映されることがない。また、第3トレーニング処理の期間は第1トレーニング処理及び第2トレーニング処理よりも十分に長いので、精度の高い再送率が得られる。   In addition, regarding the retransmission rate acquired in the first training process and the second training process, there is a possibility that an adverse effect (bias) of alternately switching between the current TM and the new TM may occur. Since it is fixed to the communication parameter, the adverse effect is not reflected in the TM selection. In addition, since the period of the third training process is sufficiently longer than that of the first training process and the second training process, a highly accurate retransmission rate can be obtained.

特に、電力線700を伝送路として利用する場合には、様々なノイズが電力線700に現れるので、通信特性が変動し、伝送速度が低下したり、再送の発生頻度が高くなったりしやすい。このような適切なTMの通信パラメータを選択することで、安定した通信を行うことが可能となる。   In particular, when the power line 700 is used as a transmission line, various noises appear on the power line 700, so that communication characteristics fluctuate, the transmission speed is lowered, and the frequency of retransmission is likely to increase. By selecting such appropriate TM communication parameters, stable communication can be performed.

なお、本実施形態では、通信システムとして電力線を伝送路として使用する電力線通信システムについて説明したが、例えば無線LANなどの通信装置によって構成される無線システムにおいて本実施形態に適用してもよい。   In addition, although this embodiment demonstrated the power line communication system which uses a power line as a transmission path as a communication system, you may apply to this embodiment in the radio | wireless system comprised by communication apparatuses, such as wireless LAN, for example.

(第2の実施形態)
図10は、本発明の第2の実施形態におけるPLCモデム100の機能ブロック図である。図10に示すPLCモデム100は、通信フレーム生成部21、通信フレーム制御部22、通信特性取得部23、通信部24を有して構成される。図10に示すように、通信フレーム生成部21、通信フレーム制御部22、および通信性能取得部23は、CPU211に内包されている機能ブロックであり、通信部24は、PLC・MAC212、PLC・PHY213に内包されている機能ブロックである。
(Second Embodiment)
FIG. 10 is a functional block diagram of the PLC modem 100 according to the second embodiment of the present invention. The PLC modem 100 shown in FIG. 10 includes a communication frame generation unit 21, a communication frame control unit 22, a communication characteristic acquisition unit 23, and a communication unit 24. As illustrated in FIG. 10, the communication frame generation unit 21, the communication frame control unit 22, and the communication performance acquisition unit 23 are functional blocks included in the CPU 211, and the communication unit 24 includes a PLC / MAC 212, a PLC / PHY 213. Is a functional block included in

通信フレーム生成部21は、通信フレーム制御部22から出力される制御信号に基づいてフレーム長を決定し、そのフレーム長の通信フレームを生成する。   The communication frame generation unit 21 determines a frame length based on the control signal output from the communication frame control unit 22, and generates a communication frame having the frame length.

通信部24は、通信フレーム生成部21が生成した通信フレームの中に送信すべきデータのパケットを格納し、PLCフレームとして電力線700に送信する。また、応答フレームを受信して、先の送信データの受信の成否を判断する。   The communication unit 24 stores a packet of data to be transmitted in the communication frame generated by the communication frame generation unit 21, and transmits the packet as a PLC frame to the power line 700. Also, the response frame is received to determine whether the previous transmission data has been successfully received.

通信特性取得部23は、通信部24が送信したPLCフレームの実際の通信状態(例えば伝送エラーの発生状況)に基づいて、電力線700におけるインピーダンスの変化点(以下、Z変動点ともいう)を通信特性として検出する。通信特性には、インピーダンスを加味した伝送路特性が含まれる。ここでは、Z変動は周期的に発生することを想定しており、通信特性については、ACサイクル検出器60が出力する同期信号に同期して、交流電源波形の1周期内の相対的なタイミングの情報として出力する。   The communication characteristic acquisition unit 23 communicates an impedance change point (hereinafter also referred to as a Z variation point) in the power line 700 based on an actual communication state (for example, a transmission error occurrence state) of the PLC frame transmitted by the communication unit 24. Detect as a characteristic. The communication characteristics include transmission path characteristics that take impedance into account. Here, it is assumed that the Z fluctuation occurs periodically, and the communication characteristic is a relative timing within one cycle of the AC power supply waveform in synchronization with the synchronization signal output from the AC cycle detector 60. Output as information.

通信フレーム制御部22は、通信特性取得部23が取得した通信特性のタイミングに基づいて、フレーム長を制御するための制御信号を生成する。すなわち、Z変動点の近傍のタイミングで、PLCフレームを送出しないようにフレーム長を制限する。   The communication frame control unit 22 generates a control signal for controlling the frame length based on the communication characteristic timing acquired by the communication characteristic acquisition unit 23. That is, the frame length is limited so that the PLC frame is not transmitted at a timing near the Z variation point.

また、第1の実施形態と同様に、例えばメインIC210またはメモリ240にTMが記憶されており、TMは各種通信パラメータの一式をまとめて保持している。   Similarly to the first embodiment, TM is stored in the main IC 210 or the memory 240, for example, and the TM collectively holds a set of various communication parameters.

次に、本実施形態のPLCモデム100の主要な処理の内容について説明する。
図11に示したPLCフレームF21、F22、F23のように、電力線700のインピーダンスが変化する時刻t11、t12、t13、t14(Z変動点)にPLCフレームが送出されないように各フレームの長さを制限する。これにより、図11に示すように、交流電源波形に同期するインピーダンスの変動(以下、Z変動ともいう)の影響によってパケットの伝送エラーが生じるのを防止できる。これがAC同期フレーム長制御の概要である。
Next, contents of main processes of the PLC modem 100 of the present embodiment will be described.
Like the PLC frames F21, F22, and F23 shown in FIG. 11, the length of each frame is set so that the PLC frame is not transmitted at times t11, t12, t13, and t14 (Z fluctuation points) when the impedance of the power line 700 changes. Restrict. As a result, as shown in FIG. 11, it is possible to prevent packet transmission errors from occurring due to the influence of impedance fluctuation (hereinafter also referred to as Z fluctuation) synchronized with the AC power supply waveform. This is an outline of AC synchronous frame length control.

このようなAC同期フレーム長制御を実施するためには、Z変動点を正しく把握する必要がある。本実施形態では、PLCフレームを送信し、そのPLCフレームに発生した伝送エラーの状況に基づいて、Z変動点を検出する。つまり、PLCフレームを送信すると、Z変動点で伝送路特性の急峻な変化により伝送エラーが発生するので、実際に発生した伝送エラーからZ変動点を認識できる。このZ変動点を検出するために、PLCモデム100は、多数のデータフレームを他のPLCモデム100へ繰り返し送信し、各データフレームに対して送信結果を加味した上記他のPLCモデム100応答信号(PLC−ACK)を受信する。   In order to implement such AC synchronous frame length control, it is necessary to correctly grasp the Z variation point. In this embodiment, a PLC frame is transmitted, and a Z variation point is detected based on the state of a transmission error that has occurred in the PLC frame. That is, when a PLC frame is transmitted, a transmission error occurs due to a sharp change in transmission path characteristics at the Z variation point, so that the Z variation point can be recognized from the actually generated transmission error. In order to detect this Z variation point, the PLC modem 100 repeatedly transmits a number of data frames to other PLC modems 100, and the other PLC modem 100 response signal (with the transmission result added to each data frame) ( PLC-ACK) is received.

PLCモデム100が送信するPLCフレームは、例えば図12に示すように構成されている。すなわち、ヘッダとそれに続く多数(30程度)連結されたEtherパケット(以下、単にパケットという)とで構成されている。Z変動やノイズが生じて伝送エラーが発生する場合、パケット毎(パケットが送信される送信区間毎)に、エラーの有無を識別できる。図12においては、エラー無のパケットが○、エラー有のパケットが×で表してある。このパケット毎のエラーの有無は、PLC−ACKに含まれる情報、例えばエラー無し(正常受信)を1、エラー有(受信失敗)を0とするビットマップ情報により認識可能である。   The PLC frame transmitted by the PLC modem 100 is configured as shown in FIG. 12, for example. That is, it is composed of a header and a large number (about 30) of connected Ether packets (hereinafter simply referred to as packets). When a transmission error occurs due to Z fluctuation or noise, the presence or absence of an error can be identified for each packet (for each transmission section in which the packet is transmitted). In FIG. 12, a packet with no error is indicated by a circle, and a packet with an error is indicated by a cross. The presence / absence of an error for each packet can be recognized by information included in the PLC-ACK, for example, bitmap information in which no error (normal reception) is 1 and error is present (reception failure) is 0.

PLCモデム100は、PLCフレームの送信結果の一覧情報を格納するための「ビットマップキュー」を例えばメインIC210またはメモリ240に保持している。ビットマップキューはフレーム送信情報を格納する。具体的には、送信した各々のPLCフレームについて、AC周期内のどのタイミングで送信したのか、1フレームのフレーム長(フレーム送信時間でありTM、Etherパケット長などで変わる)、1フレームに何個のパケットを連結したか、各パケットのエラー有無を表す情報(ビットマップ情報)が含まれる。このビットマップキューに格納された情報に基づいて、PLCモデム100はエラーマップを作成する。すなわち、エラーマップは、PLCフレームの送信結果を示す送信エラーの有無の情報を蓄積したものである。   The PLC modem 100 holds a “bitmap queue” in the main IC 210 or the memory 240, for example, for storing the list information of the transmission result of the PLC frame. The bitmap queue stores frame transmission information. Specifically, for each transmitted PLC frame, at which timing within the AC cycle it was transmitted, the frame length of one frame (the frame transmission time varies depending on TM, Ether packet length, etc.) How many frames per frame Information (bitmap information) indicating whether or not there is an error in each packet. Based on the information stored in the bitmap queue, the PLC modem 100 creates an error map. In other words, the error map stores information on the presence / absence of a transmission error indicating the transmission result of the PLC frame.

上記情報のうち、PLCフレームをAC周期内のどのタイミングで送信したのかについては、ACサイクル検出器60から出力される同期信号の現れるタイミングを基準として、経過時間を測定することにより、求めることができる。   Of the above information, the timing at which the PLC frame is transmitted within the AC cycle can be obtained by measuring the elapsed time with reference to the timing at which the synchronization signal output from the AC cycle detector 60 appears. it can.

PLCモデム100は、図13に示すように、通信部24とCPU211、特に通信特性取得部23とを備えており、これらは上記のようなエラーマップを作成するために使用される。   As shown in FIG. 13, the PLC modem 100 includes a communication unit 24 and a CPU 211, in particular, a communication characteristic acquisition unit 23, which are used to create an error map as described above.

通信部24は、PLCフレームを他のPLCモデム100宛てに送信し、他のPLCモデム100からの応答であるPLC−ACKを受信する。このPLC−ACKには通信の成否を示すビットマップ情報が含まれている。このビットマップ情報を含むフレーム送信情報をビットマップキューに書き込む。また、必要に応じてビットマップキューの内容を解析し、別途再送処理等を実施する。   The communication unit 24 transmits a PLC frame to another PLC modem 100 and receives a PLC-ACK that is a response from the other PLC modem 100. This PLC-ACK includes bitmap information indicating the success or failure of communication. The frame transmission information including this bitmap information is written into the bitmap queue. Also, the contents of the bitmap queue are analyzed as necessary, and a separate retransmission process is performed.

通信特性取得部23は、ビットマップキューから順番に情報(フレーム送信情報)を取り出して解析を行い、エラーマップを構築し、記憶する。エラーマップは、AC周期(例えば16.7msec)内の所定時間区間毎にエラーが発生した頻度を表す情報を保持するものである。つまり、通信特性取得部23は、ビットマップキューから取り出したフレーム送信情報に基づいて、各データフレームのエラー有無を表す情報をエラーマップ上で該当するパケットの時間の位置にマッピングする。各パケットの時間については、それが含まれるデータフレームの送信開始時刻と、該当するパケットの並び順(フレーム先頭からの距離、即ちパケット単位の送信時間)に基づいて知ることができる。   The communication characteristic acquisition unit 23 sequentially extracts information (frame transmission information) from the bitmap queue, analyzes it, and constructs and stores an error map. The error map holds information indicating the frequency of occurrence of errors for each predetermined time interval within an AC cycle (for example, 16.7 msec). That is, the communication characteristic acquisition unit 23 maps information indicating the presence / absence of error of each data frame to the position of the time of the corresponding packet on the error map based on the frame transmission information extracted from the bitmap queue. The time of each packet can be known based on the transmission start time of the data frame in which it is included and the arrangement order of the corresponding packet (distance from the head of the frame, that is, the transmission time in packet units).

なお、AC周期内の送信開始時刻はACサイクル検出器60からの入力をもとに決定するが、ACサイクル検出器60はその実装方法により、電源半周期、または電源の全周期を検出する形態を取る可能性がある。いずれをとるか、または2つの連続する電源半周期の情報をつなげて電源全周期と仮定することにより、それぞれのパターンでの判定が可能となり、かつ本実施形態においてはいずれの周期信号を用いてもよい。   The transmission start time within the AC cycle is determined based on the input from the AC cycle detector 60. The AC cycle detector 60 detects the half cycle of the power source or the whole cycle of the power source depending on the mounting method. There is a possibility of taking. By taking either or connecting the information of two consecutive power supply half-cycles and assuming the power supply full-cycle, it is possible to determine in each pattern, and in this embodiment, which periodic signal is used Also good.

このような通信部24の処理は、PLCデータフレームを送信し、そのPLC−ACKを受信する度に行われる。つまり、フレーム送信情報は複数積算されていくものであり、通信特性取得部23はこれを基にエラーマップを作成する。   Such processing of the communication unit 24 is performed every time the PLC data frame is transmitted and the PLC-ACK is received. That is, a plurality of pieces of frame transmission information are accumulated, and the communication characteristic acquisition unit 23 creates an error map based on this.

次に、具体的なエラーマップの内容について説明する。
図14は、エラーマップの内容の具体例を示すものである。図14において、横軸は1周期内の時間(msec)を表し、縦軸はエラー率(ある時間内の総送信数辺りのエラー発生数:ビットマップ情報における×の数の積算数)を表している。図14に示す内容は、AC周期のほぼ1周期の内容を表している。また、図14中の時間軸の0は、ACサイクル検出器60が出力する同期信号に基づいて決定される基準タイミング(例えばゼロクロス点)に相当する。なお、商用交流電源の周波数が60Hzの場合には、エラーマップの中で、15.4〜7.0msecの範囲と、7.0〜15.4msecの範囲とをそれぞれ前半及び後半の半周期の内容として規定してある。このように前後半を規定したのは、ACサイクル検出器60の検出精度(±1msec)や、一般的なインピーダンス変動の終端時間(5.5msec付近)を考慮したためである。商用交流電源の周波数が50Hzの場合には、エラーマップの中で、17.0〜7.0msecの範囲と、7.0〜17.0msecの範囲とをそれぞれ前半及び後半の半周期の内容として規定してある。このように前後半を規定したのは、ACサイクル検出器60の検出精度(±1msec)や、一般的なインピーダンス変動の終端時間を考慮したためである。
Next, the details of the error map will be described.
FIG. 14 shows a specific example of the contents of the error map. In FIG. 14, the horizontal axis represents time (msec) within one cycle, and the vertical axis represents error rate (number of errors per total number of transmissions within a certain time: cumulative number of x in bitmap information). ing. The content shown in FIG. 14 represents the content of almost one AC cycle. Further, 0 on the time axis in FIG. 14 corresponds to a reference timing (for example, a zero cross point) determined based on a synchronization signal output from the AC cycle detector 60. When the frequency of the commercial AC power supply is 60 Hz, in the error map, the range of 15.4 to 7.0 msec and the range of 7.0 to 15.4 msec are respectively in the first half and the second half cycle. It is specified as content. The reason for defining the first and second half in this way is that the detection accuracy (± 1 msec) of the AC cycle detector 60 and the termination time (around 5.5 msec) of general impedance fluctuations are taken into consideration. When the frequency of the commercial AC power supply is 50 Hz, in the error map, the range of 17.0 to 7.0 msec and the range of 7.0 to 17.0 msec are the contents of the first half and the second half of the cycle, respectively. It is prescribed. The reason for defining the first and second half in this way is that the detection accuracy (± 1 msec) of the AC cycle detector 60 and the termination time of general impedance fluctuations are taken into consideration.

図14を参照すると、このエラーマップにおいては、一方の半周期内の時間t1〜t2の区間と、もう一方の半周期内の時間t3〜t4の区間のそれぞれでエラー率が大きく悪化していることが分かる。つまり、図14における時間t1、t2、t3、t4の近傍で電力線700にZ変動が生じ、その影響がこのエラーマップに反映されていると考えられる。   Referring to FIG. 14, in this error map, the error rate is greatly deteriorated in each of the section of time t1 to t2 in one half cycle and the section of time t3 to t4 in the other half cycle. I understand that. That is, it is considered that Z fluctuation occurs in the power line 700 near the times t1, t2, t3, and t4 in FIG. 14, and the influence is reflected in this error map.

図14における各時間t1、t2、t3、t4については、各時間のエラー率と閾値(例えば定数)th1とを比較した結果として検出できる。本実施形態では、1周期の中で最大4点のインピーダンスの変化点を検出する。この変化点は、フレーム長(以下FLと呼ぶ:Frame Length)制御用の変化点として用いられるものであり、以下、FL制御用変化点ともいう。図14に示すエラーマップにおいては、各時間t1、t2、t3、t4が4つのFL制御用変化点に相当する。ここでは、t1〜t4は、エラー率が閾値th1となるときの時間成分を示している。また、ここでは変化「点」としているが、図14は1周期を所定時間区間毎に区分したものであるため、「点」は「時間区間」を示している。   Each time t1, t2, t3, t4 in FIG. 14 can be detected as a result of comparing the error rate of each time with a threshold value (for example, constant) th1. In this embodiment, a maximum of four impedance change points are detected in one cycle. This change point is used as a change point for frame length (hereinafter referred to as FL: Frame Length) control, and is hereinafter also referred to as a FL control change point. In the error map shown in FIG. 14, each time t1, t2, t3, t4 corresponds to four FL control change points. Here, t1 to t4 indicate time components when the error rate becomes the threshold th1. In addition, although the change is a “point” here, FIG. 14 shows one period divided into predetermined time intervals, and thus “point” indicates a “time interval”.

次に、PLCモデム100がAC同期フレーム長制御を行う際の動作について説明する。図15はPLCモデム100がAC同期フレーム長制御を行う際の動作の一例を示すフローチャートである。   Next, the operation when the PLC modem 100 performs AC synchronous frame length control will be described. FIG. 15 is a flowchart showing an example of an operation when the PLC modem 100 performs AC synchronous frame length control.

ステップS41では、通信フレーム制御部22は、PLCモデム100が通信パラメータとして採用しているトーンマップ(TM)が不安定な状態か否かを識別し、安定するまで待機する。例えば、PLCモデム100の電源を投入した直後は、伝送路の状態に適していないトーンマップを採用し通信している可能性が高い。その状態でエラーマップを作成すると、不適切なトーンマップに依存した内容がエラーマップに反映され、適切なフレーム長制御ができなくなる。そこで安定するまで待機する。例えば、PLCモデム100の電源が投入された後、所定時間が経過するまで待ってから次に進む。なお、ステップS41は省略してもよい。   In step S41, the communication frame control unit 22 identifies whether the tone map (TM) adopted by the PLC modem 100 as a communication parameter is in an unstable state, and waits until it is stabilized. For example, immediately after the PLC modem 100 is turned on, there is a high possibility that communication is performed using a tone map that is not suitable for the state of the transmission path. If an error map is created in this state, the contents depending on the inappropriate tone map are reflected in the error map, and appropriate frame length control cannot be performed. So wait until it stabilizes. For example, after the PLC modem 100 is turned on, the process waits until a predetermined time elapses before proceeding. Note that step S41 may be omitted.

ステップS42では、通信部24が、通信データフレームの送信を繰り返し、その送信フレームに対するPLC−ACKを受信し、通信特性取得部23が、送信結果を反映したPLC−ACKに含まれるビットマップ情報を含むフレーム送信情報の内容に基づいて、エラーマップを作成する。   In step S42, the communication unit 24 repeats the transmission of the communication data frame, receives the PLC-ACK for the transmission frame, and the communication characteristic acquisition unit 23 displays the bitmap information included in the PLC-ACK reflecting the transmission result. An error map is created based on the contents of the frame transmission information included.

ステップS43では、通信フレーム制御部22は、通信特性取得部23により取得したフレーム送信情報のサンプル数が閾値(例えば定数)以上になったか否かを識別する。送信したデータフレームの数が閾値未満であればステップS42の処理を継続し、閾値以上になると次のステップS44に進む。なお、閾値が大きい程、精度の高いエラーマップを作成することが可能である。   In step S43, the communication frame control unit 22 identifies whether the number of samples of the frame transmission information acquired by the communication characteristic acquisition unit 23 is equal to or greater than a threshold value (for example, a constant). If the number of transmitted data frames is less than the threshold, the process of step S42 is continued. If the number of transmitted data frames exceeds the threshold, the process proceeds to the next step S44. Note that it is possible to create an error map with higher accuracy as the threshold value is larger.

ステップS44では、通信特性取得部23は、例えば図14に示した各時間t1、t2、t3、t4の点のように、例えば4つのFL制御用変化点をエラーマップから検出する。ここでは、エラーマップの中で半周期毎の始期から終期までの間でエラー率が最初に閾値th1を超えた点を開始点(t1,t3)として検出し、エラー率が最後に閾値th1を下回った点を終了点(t2,t4)として検出する。   In step S44, the communication characteristic acquisition unit 23 detects, for example, four FL control change points from the error map, such as the points at times t1, t2, t3, and t4 shown in FIG. Here, the point where the error rate first exceeded the threshold th1 between the start and end of each half cycle in the error map is detected as the start point (t1, t3), and the error rate is finally set to the threshold th1. The point below is detected as the end point (t2, t4).

ステップS45では、通信フレーム制御部22は、ステップS44で検出されたFL制御用変化点について補正を実施する。例えば、ステップS42〜S44のような処理によって検出されるFL制御用変化点は、実際のZ変動点に比べてやや後ろよりにずれる傾向がある。   In step S45, the communication frame control unit 22 corrects the FL control change point detected in step S44. For example, the FL control change point detected by the processing in steps S42 to S44 tends to be slightly behind the actual Z variation point.

そこで、ステップS45では、ステップS44で検出されたFL制御用変化点を次のように補正する。
Z変動の開始点(例えば図14のt1)と終了点(例えば図14のt2)の時刻が同一の場合、つまり瞬間的に閾値th1を超えたような場合には、その1点だけをFL制御用変化点として採用する。
また、Z変動の開始点と終了点の幅が広い(例えばt2−t1>thx(閾値))場合には、開始点と終了点のそれぞれを所定量だけ前に移動する。図16に示す例では、変化点の開始点P1と終了点P2の幅が広い場合は、P1、P2をそれぞれ200μsecだけ前に移動した点P1a、P2aをそれぞれ補正後の検出点とする。これにより、伝送エラーを回避して効率向上を図ることが可能である。
また、Z変動の開始点と終了点の幅が狭い(例えばt2−t1<thx(閾値))場合には、終了点のみを所定量だけ後ろ側に移動する。図16に示す例では、変化点の開始点P1と終了点P2の幅が狭い場合は、P2を200μsecだけ後ろに移動した点P2aを補正後の検出点とする。これにより、確実にZ変動区間にPLCフレームが現れることを回避することができる。
なお、図16において「BO」はバックオフ時間を示している。
なお、ステップS45は省略してもよい。
In step S45, the FL control change point detected in step S44 is corrected as follows.
If the time of the Z variation start point (eg, t1 in FIG. 14) and the end point (eg, t2 in FIG. 14) are the same, that is, if the threshold value th1 is exceeded momentarily, only that one point is FL. Adopted as a control change point.
When the start point and end point of Z variation are wide (for example, t2-t1> thx (threshold)), the start point and end point are moved forward by a predetermined amount. In the example shown in FIG. 16, when the start point P1 and the end point P2 of the change point are wide, the points P1a and P2a moved by 200 μsec respectively are used as detection points after correction. As a result, it is possible to avoid transmission errors and improve efficiency.
Further, when the width of the start point and end point of Z variation is narrow (eg, t2−t1 <thx (threshold)), only the end point is moved backward by a predetermined amount. In the example shown in FIG. 16, when the width of the start point P1 and the end point P2 of the change point is narrow, the point P2a moved backward by 200 μsec is set as the corrected detection point. Thereby, it is possible to reliably prevent the PLC frame from appearing in the Z fluctuation section.
In FIG. 16, “BO” indicates a back-off time.
Note that step S45 may be omitted.

ステップS46では、通信フレーム制御部22は、Z変動点のタイミングを避けるように、通信フレーム生成部21が生成するフレームの長さを制限する。例えば、図11に示したPLCフレームFL21を生成する際には、フレームFL21の最終パケットが電力線700に現れるタイミングがZ変動点に相当する時間t1よりも前で終了するように、フレームFL21の長さ(もしくはこれに格納するパケットの数)を制限する。フレームFL21で送信しきれなかった残りのデータは、次以降のフレーム(FL22,F23)に格納するよう制御する。   In step S46, the communication frame control unit 22 limits the length of the frame generated by the communication frame generation unit 21 so as to avoid the timing of the Z variation point. For example, when generating the PLC frame FL21 shown in FIG. 11, the length of the frame FL21 is such that the timing at which the last packet of the frame FL21 appears on the power line 700 ends before the time t1 corresponding to the Z fluctuation point. Limit (or the number of packets stored in it). The remaining data that could not be transmitted in the frame FL21 is controlled to be stored in the subsequent frames (FL22, F23).

このような本実施形態のPLCモデム100によれば、Z変動点においてPLCフレームを送信することを防止することができ、再送率が低下する結果、伝送効率を向上させることができる。   According to the PLC modem 100 of this embodiment as described above, it is possible to prevent the PLC frame from being transmitted at the Z variation point, and as a result of the decrease in the retransmission rate, it is possible to improve the transmission efficiency.

次に、エラーマップからFL制御用変化点を検出するための処理の変形例について、図17を参照して説明する。   Next, a modification of the process for detecting the FL control change point from the error map will be described with reference to FIG.

ステップS101では、通信特性取得部23は、エラーマップの内容を参照し、所定の閾値th1を超えるエラー率が存在するか否かを識別し、存在する場合は次のステップS102に進む。   In step S101, the communication characteristic acquisition unit 23 refers to the content of the error map, identifies whether there is an error rate that exceeds a predetermined threshold th1, and proceeds to the next step S102 if it exists.

ステップS102では、通信特性取得部23は、エラーマップからエラー率が閾値以上のデータのみを抽出する。これにより、小さなノイズ成分を除外する。すなわち、エラー率の低いノイズについては、FL制御の効果があまり期待できないので無視する。これにより、これ以降の処理が簡略化される。   In step S102, the communication characteristic acquisition unit 23 extracts only data having an error rate equal to or greater than a threshold from the error map. This eliminates small noise components. That is, noise with a low error rate is ignored because the effect of FL control cannot be expected so much. Thereby, the subsequent processing is simplified.

ステップS103では、通信特性取得部23は、ステップS102で抽出したデータについて、エラー率が閾値を超えている状態が連続している区間毎に、各区間のデータを特定するためのラベリングを行う。この場合、まず、各連続区間の終了点を検出する。すなわち、Z変動の回避のためには、特に変動の後ろ側が重要なので、終了点のタイミングを重視する。続いて、各連続区間について、区間内のエラー率の合計を算出し、合計が閾値(例えば定数)以下ならそのデータは除外する。これにより、インパルス性のノイズ成分を除去する。更に、各連続区間について、区間の幅(開始点から終了点までの時間幅)が閾値(例えば定数)以上なら開始点も検出する。これにより、変動幅が広いZ変動にも対応できる。なお、Z変動区間が多数ある場合には、終了点、開始点、その中間点の順に優先度をつける。   In step S103, the communication characteristic acquisition unit 23 performs labeling for specifying the data of each section for each section in which the error rate exceeds the threshold for the data extracted in step S102. In this case, first, the end point of each continuous section is detected. That is, in order to avoid the Z variation, since the back side of the variation is particularly important, the timing of the end point is emphasized. Subsequently, for each continuous section, the total error rate in the section is calculated. If the total is equal to or less than a threshold value (for example, a constant), the data is excluded. Thereby, an impulsive noise component is removed. Furthermore, for each continuous section, if the section width (time width from the start point to the end point) is equal to or greater than a threshold (for example, a constant), the start point is also detected. As a result, it is possible to cope with Z fluctuations having a wide fluctuation range. In addition, when there are many Z fluctuation sections, priorities are assigned in the order of the end point, the start point, and the intermediate point.

ステップS104では、通信特性取得部23は、ステップS103で検出された各連続区間のデータを、終了点、開始点、その中間点の順に優先度に基づき並べ替える。   In step S104, the communication characteristic acquisition unit 23 sorts the data of each continuous section detected in step S103 based on the priority in the order of the end point, the start point, and the intermediate point.

ステップS105では、通信特性取得部23は、ステップS104で順位付けされた各連続区間のデータの中から、上位4番目までの終了点をFL制御用変化点として検出する。また、ここで検出されたFL制御用変化点についても、図16に示した処理と同様にタイミングの補正を実施してもよい。   In step S105, the communication characteristic acquisition unit 23 detects the top four end points as the FL control change points from the data of the continuous sections ranked in step S104. Also, timing correction may be performed for the FL control change point detected here in the same manner as the processing shown in FIG.

なお、ステップS105で検出された終了点が4点未満の場合には、そのまま4点未満で制御してもよいし、検出された終了点と対応する開始点についても検出されたFL制御用変化点に追加し、合計で4つのFL制御用変化点を検出してもよい。
なお、FL制御は4つに限られるものではなく、4つ以上検出した場合に検出点を全てFL制御点と定めてもよい。
If the end point detected in step S105 is less than 4, the control may be performed with less than 4 points as it is, or the FL control change detected for the start point corresponding to the detected end point. In addition to the points, a total of four FL control change points may be detected.
Note that the FL control is not limited to four, and all detection points may be determined as FL control points when four or more are detected.

図17の処理によっても、Z変動点を的確に把握でき、所望のフレーム長制御を行うことができる。   Also by the processing of FIG. 17, the Z variation point can be accurately grasped and desired frame length control can be performed.

次に、PLCモデム100がFL制御機能のオンオフを判定する方法について説明する。
上記説明したようなフレーム長の制限を実施すると、再送は生じにくくなるが伝送速度の低下が低下することがある。従って、伝送路としての電力線700が複数のPLCモデムが送信をし、かつ混み合っている場合、つまり大量のトラヒックが発生しているような状況ではフレーム長の制限を実施しない方が良い結果が得られることがある。また、1つのPLCモデムから複数のPLCモデムに送信する場合、それぞれに対する伝送路特性が異なることがある。例えば、Z変動の影響を受けるPLCモデムと、影響を受けないPLCモデムに対するデータが混在する場合があり、このような場合、大幅な伝送効率の低下を招くこともある。これを考慮して、FL制御機能のオンオフ判定を行う。なお、エラーマップからFL制御用変化点(上述のステップS44)が検出されていることを前提としている。
Next, a method in which the PLC modem 100 determines whether the FL control function is on or off will be described.
When the frame length restriction as described above is performed, retransmission is less likely to occur, but the decrease in transmission speed may be reduced. Therefore, when the power line 700 as the transmission line is transmitted by a plurality of PLC modems and is crowded, that is, in a situation where a large amount of traffic is generated, it is better not to limit the frame length. May be obtained. Further, when transmission is performed from one PLC modem to a plurality of PLC modems, the transmission path characteristics for each may differ. For example, there are cases where data for a PLC modem that is affected by Z variation and a PLC modem that is not affected are mixed, and in such a case, the transmission efficiency may be significantly reduced. Taking this into account, the FL control function is turned on / off. It is assumed that the FL control change point (step S44 described above) is detected from the error map.

具体的には、通信特性取得部23がトラヒック情報を収集し、通信フレーム制御部22が収集されたトラヒック情報に基づいて、フレーム長の制限機能のオンオフを判定する。   Specifically, the communication characteristic acquisition unit 23 collects traffic information, and the communication frame control unit 22 determines on / off of the frame length restriction function based on the collected traffic information.

例えばPLCモデム100A、100B、100Cの3台のPLCモデムが共通の電力線700に接続されている場合に、各PLCモデム100の送信によって図18に示すようなPLCフレームが電力線700上に現れることになる。   For example, when three PLC modems of the PLC modems 100A, 100B, and 100C are connected to the common power line 700, a PLC frame as shown in FIG. Become.

図18に示す例では、最初のビーコン信号が現れた後で、フレーム長(FL)が350のPLCフレームをPLCモデム100AがPLCモデム100C宛に送信し、続いてFL=100のPLCフレームをPLCモデム100AがPLCモデムB宛に、次にFL=350のPLCフレームをPLCモデム100C宛に送信し、更にFL=100のPLCフレームをPLCモデム100CがPLCモデム100A宛に送信し、同様の送信動作が繰り返されている。この場合、各PLCモデム100は電力線700に現れた各PLCフレームを検出し、トラヒックの状況を把握する。例えば、一のビーコン信号が現れてから次のビーコン信号が現れるまでの間に電力線700に現れたPLCフレームのフレーム長の合計をトラヒックの値として利用できる。図18に示す例では、PLCモデム100AがPLCモデム100B宛に送信したPLCフレームのトラヒックの値は1410であり、PLCモデム100C宛に送信したPLCフレームのトラヒックの値は510であり、PLCモデム100BについてはPLCモデム100C宛に送信したPLCフレームのトラヒックの値は1100であり、PLCモデム100CについてはPLCモデム100A宛に送信したPLCフレームのトラヒックの値は1410として検出される。   In the example shown in FIG. 18, after the first beacon signal appears, the PLC modem 100A transmits a PLC frame having a frame length (FL) of 350 to the PLC modem 100C, and then the PLC frame having FL = 100 is transmitted to the PLC. The modem 100A transmits the PLC frame of FL = 350 to the PLC modem B, then transmits the PLC frame of FL = 350 to the PLC modem 100C, and the PLC modem 100C transmits the PLC frame of FL = 100 to the PLC modem 100A. Has been repeated. In this case, each PLC modem 100 detects each PLC frame appearing on the power line 700 and grasps the traffic situation. For example, the sum of the frame lengths of the PLC frames that appear on the power line 700 from the appearance of one beacon signal to the appearance of the next beacon signal can be used as the traffic value. In the example shown in FIG. 18, the traffic value of the PLC frame transmitted to the PLC modem 100B by the PLC modem 100A is 1410, the traffic value of the PLC frame transmitted to the PLC modem 100C is 510, and the PLC modem 100B. For PLC modem 100C, the traffic value of the PLC frame transmitted to PLC modem 100C is 1100, and for PLC modem 100C, the traffic value of the PLC frame transmitted to PLC modem 100A is detected as 1410.

すなわち、通信部24は、図18に示したように、互いに隣接する2つのビーコン信号の間で現れた他PLCモデムが送信したPLCフレームおよび自PLCモデムの相手先別のPLCフレームのPLCフレームの長さ(FL)の合計を検出する。更に、検出したFLの合計を閾値、例えば「600」と比較し、合計が閾値より大きい場合には混み合っている、合計が閾値未満である場合には空いていると判断する。そして(FLの合計>閾値)の場合はカウンタの値に1を加算し、(FLの合計≦閾値)の場合はカウンタの値から1を減算する。このカウンタは通信特性取得部23が備えている。   That is, as shown in FIG. 18, the communication unit 24 transmits the PLC frame of the PLC frame transmitted by the other PLC modem that appears between two adjacent beacon signals and the PLC frame of the other PLC modem of the own PLC modem. The total length (FL) is detected. Further, the total of the detected FL is compared with a threshold value, for example, “600”, and it is determined that the FL is crowded when the sum is larger than the threshold, and is vacant when the sum is smaller than the threshold. If (total FL> threshold), 1 is added to the counter value, and if (total FL ≦ threshold), 1 is subtracted from the counter value. This counter is provided in the communication characteristic acquisition unit 23.

図19に示す例では、ビーコン信号の発生毎に検出されるFLの合計が、500、710、690、350、と推移しているので、その都度カウンタの値には、「+1」「+1」「+1」「−1」の変化が現れる。   In the example shown in FIG. 19, since the total FL detected every time a beacon signal is generated transitions to 500, 710, 690, and 350, the value of the counter is “+1” or “+1” each time. Changes of “+1” and “−1” appear.

通信フレーム制御部22は、2secの周期で制御を実施し、その都度通信特性取得部23のカウンタをチェックすると共に、カウンタの値を0にリセットする。そして、カウンタの値に応じてフレーム長の制限に関する可否を判定する。すなわち、図19に示すように、カウンタの値が正の場合は、共通の伝送路としての電力線700に接続されている全てのPLCモデム100についてフレーム長の制限を強制的に禁止する。その場合、「FL制御禁止」として現在の状態を記憶する。また、カウンタの値が負の場合には、「FL制御可能」として現在の状態を記憶する。ここで記憶する内容がFL制御機能のオンオフに反映される。また、「FL制御可能」の状態では、後述する実施形態のTMを評価するためのトレーニングの際に「FL制御オン」の状態でのトレーニングを許可する。   The communication frame control unit 22 performs control at a cycle of 2 sec, checks the counter of the communication characteristic acquisition unit 23 each time, and resets the counter value to zero. Then, whether to limit the frame length is determined according to the counter value. That is, as shown in FIG. 19, when the value of the counter is positive, restriction on the frame length is forcibly prohibited for all PLC modems 100 connected to the power line 700 as a common transmission path. In this case, the current state is stored as “FL control prohibited”. If the counter value is negative, the current state is stored as “FL control possible”. The contents stored here are reflected in the ON / OFF of the FL control function. In the “FL control enabled” state, training in the “FL control on” state is permitted during training for evaluating TMs in the embodiments described later.

このような処理を実行することで、PLCモデム内において、相手先PLCモデムごとに他PLCモデム及び自PLCモデム内の他相手先へのトラヒックの影響を考慮したFL制御のオンオフの判断が可能となる。   By executing such processing, in the PLC modem, it is possible to determine whether the FL control is on or off in consideration of the influence of traffic to other PLC modems and other counterparts in the own PLC modem for each counterpart PLC modem. Become.

なお、図15に示したエラーマップの構築(ステップS42)、FL制御用変化点の検出(ステップS44)、エラーマップの再構築(ステップS42)等の処理については、通信特性取得部23のカウンタの値や状態とは無関係に実施される。   Note that the processing of the error characteristics shown in FIG. 15 (step S42), FL control change point detection (step S44), error map reconstruction (step S42), and the like are processed by the counter of the communication characteristic acquisition unit 23. It is performed regardless of the value or state of.

なお、上述の実施の形態ではビーコン周期ごとのカウンタを設けることで、突発的なトラヒックの増減を緩和させることができる。一方でより簡易に2秒間トラヒック量を同様の方法で加算し、ビーコン周期とは関係なく2秒単位で評価を行ってもよい。このときビーコン周期内で規定した閾値「600」に相当する比率の2秒に換算した閾値、例えばビーコン周期を50msecとすると600に40を乗算した「24000」を閾値とすることで簡易的な評価も可能となる。   In the above-described embodiment, by providing a counter for each beacon period, sudden increase / decrease in traffic can be reduced. On the other hand, the traffic amount for 2 seconds may be more simply added by the same method, and the evaluation may be performed in units of 2 seconds regardless of the beacon period. At this time, a simple conversion can be made by setting a threshold value converted to 2 seconds at a ratio corresponding to the threshold value “600” defined in the beacon period, for example, “24000” obtained by multiplying 600 by 40 when the beacon period is 50 msec. Is also possible.

次に、「FL制御可能」と「FL制御禁止」の判定と、FL制御機能のオンオフとのタイミングについて図20を用いて示す。   Next, the determination of “FL control possible” and “FL control prohibition” and the timing of turning on / off the FL control function will be described with reference to FIG.

「FL制御可能」状態から他トラヒックの混入により「FL制御禁止」状態になる場合、FL制御をオンからオフに切り替えなければならない。このとき、他トラヒックの混入により性能が劣化する可能性があるため、瞬時に切り替えなければならない。よって、上述の状態変化の場合には検出と同時にFL制御機能をオンからオフに切り替える(図20の切替ポイント1)。   When the "FL control disabled" state is entered from the "FL control enabled" state due to the entry of other traffic, the FL control must be switched from on to off. At this time, there is a possibility that the performance may be deteriorated due to the mixing of other traffic, so it must be switched instantaneously. Therefore, in the case of the above-described state change, the FL control function is switched from on to off simultaneously with detection (switching point 1 in FIG. 20).

一方、「FL制御禁止」状態から他トラヒックの混入がなくなることにより「FL制御可能」状態になる場合、FL制御をオフからオンに切り替えることができる。この場合、他トラヒックの混入がなくなったことによりFL制御がオフのままでも伝送帯域は広がる。そのためFL制御機能を状態変化と同時にオフからオンに切り替える必要は無い(図20の切替ポイント2)。さらに後述のようにFL制御機能のオンとオフのいずれが性能がいいのかをCE要求/CERに基づくTMの決定の一つのパラメータと位置づけて決定するような場合は、次のCE要求/CERの評価においてFL制御機能をオンにする。   On the other hand, when the “FL control is possible” state due to the absence of other traffic from the “FL control prohibited” state, the FL control can be switched from off to on. In this case, the transmission band is widened even if the FL control remains off because the other traffic is not mixed. Therefore, it is not necessary to switch the FL control function from OFF to ON simultaneously with the state change (switching point 2 in FIG. 20). Further, as described later, when determining whether the performance of the FL control function is good or not is positioned as one parameter for determining the TM based on the CE request / CER, the next CE request / CER Turn on the FL control function in the evaluation.

なお、「FL制御禁止」状態から「FL制御可能」状態になると同時にFL制御をオフからオンに切り替えてもよい。   Note that the FL control may be switched from OFF to ON at the same time when the “FL control prohibited” state changes to the “FL control possible” state.

なお、「FL制御禁止」状態から「FL制御可能」状態になると同時にCE要求/CERに基づく伝送路評価プロセスを実行し、FL制御をオフからオンになるタイミングを早めてもよい。   It should be noted that the transmission path evaluation process based on the CE request / CER may be executed at the same time as the “FL control disabled” state is changed to the “FL control enabled” state, and the timing at which the FL control is turned on from the OFF state may be advanced.

(第3の実施形態)
本発明の第3の実施形態におけるPLCモデム100の機能ブロックは不図示であるが、第1の実施形態におけるPLCモデムの機能ブロックと第2の実施形態におけるPLCモデムの機能ブロックとを組み合わせたものとなる。なお、図21、及び図22に記載している処理フローは、メインIC210が実行する。
(Third embodiment)
Although the functional blocks of the PLC modem 100 in the third embodiment of the present invention are not shown, the functional blocks of the PLC modem in the first embodiment and the functional blocks of the PLC modem in the second embodiment are combined. It becomes. Note that the processing flow illustrated in FIGS. 21 and 22 is executed by the main IC 210.

次に、本実施形態のPLCモデム100の主要な処理の内容について説明する。
本実施形態では、PLCモデム100は、サブキャリア周波数毎の一次変調方式の違いや、誤り訂正モードの他に、通信パラメータ設定部11が、通信特性を改善するために、様々な変更を行う。例えば、微妙な伝送特性の変化に対応するために、通信フレーム中にパイロットシンボルを挿入するか否か(パイロットシンボル:オン/オフ)を切り替える。また、PLCモデム100がパルス振幅変調(PAM)を採用する場合に、一度に何ビットを伝送するか(PAM:PAM制限無、Max8PAM、Max4PAM、Max)を切り替える(これを、多値度の切り替えという場合もある)。また、FL制御を行うか否か(FL制御:オン/オフ)を切り替える。
Next, contents of main processes of the PLC modem 100 of the present embodiment will be described.
In this embodiment, the PLC modem 100 performs various changes in order for the communication parameter setting unit 11 to improve communication characteristics in addition to the difference in the primary modulation method for each subcarrier frequency and the error correction mode. For example, in order to cope with a subtle change in transmission characteristics, whether or not to insert a pilot symbol in a communication frame (pilot symbol: on / off) is switched. In addition, when the PLC modem 100 employs pulse amplitude modulation (PAM), the number of bits to be transmitted at one time (PAM: PAM unlimited), Max8PAM, Max4PAM, Max) is switched (this is a multilevel switching). Sometimes). Also, whether to perform FL control (FL control: ON / OFF) is switched.

図21および図22は、PLCモデム100が実行する全体トレーニング処理(第1の実施形態で説明した処理と第2の実施形態で説明した処理を統合した総合処理)の一例を示すフローチャートである。図21および図22に示す処理では、図6および図7に示した処理を、条件を適宜変えながら、複数回繰り返す。また、FL制御を行うか否かも加味している。   FIG. 21 and FIG. 22 are flowcharts showing an example of the entire training process executed by the PLC modem 100 (the integrated process integrating the process described in the first embodiment and the process described in the second embodiment). In the processes shown in FIGS. 21 and 22, the processes shown in FIGS. 6 and 7 are repeated a plurality of times while appropriately changing the conditions. In addition, whether or not to perform FL control is also taken into consideration.

ステップS51では、比較部13は、前述の新TMの内容に基づき、理論上最大の(再送率が0の場合の)実効伝送レートR21を計算する。但し、ここではパイロットシンボルはオフ、PAM制限(変調ビット数の制限)オフの条件を適用して計算する。   In step S51, the comparison unit 13 calculates the theoretical maximum effective transmission rate R21 (when the retransmission rate is 0) based on the content of the new TM. In this case, however, the calculation is performed by applying the condition that the pilot symbol is off and the PAM restriction (modulation bit number restriction) is off.

ステップS52では、比較部13は、図6のステップS17で得られた実効伝送レートR11と、ステップS51の実効伝送レートR21を比較する。R11がR21より大きい場合はステップS53に進み、これを満たさない場合はステップS54に進む。すなわち、新TMについてはPAM制限などのない最良の条件で、しかも再送率が0の場合を想定した最高の実効伝送レートR21でも、現行TMよりも通信性能が劣っている場合には、これ以降のトレーニングは不要なので、ステップS53に進む。   In step S52, the comparison unit 13 compares the effective transmission rate R11 obtained in step S17 in FIG. 6 with the effective transmission rate R21 in step S51. When R11 is larger than R21, the process proceeds to step S53, and when not satisfied, the process proceeds to step S54. That is, if the communication performance is inferior to that of the current TM even under the best conditions with no PAM restrictions and the highest effective transmission rate R21 assuming that the retransmission rate is 0 for the new TM, Since this training is unnecessary, the process proceeds to step S53.

ステップS53では、通信パラメータ設定部11は、通信部14が使用する通信パラメータとして、現行TMを採用する。   In step S53, the communication parameter setting unit 11 employs the current TM as a communication parameter used by the communication unit 14.

ステップS54の「第1条件トレーニング」は、図6および図7に示した処理のうち、ステップS20以降の処理に相当する。但し、第1条件トレーニングでは、現行TMに関してはPAM制限等を含む条件(この時点で採用されている条件)を適用し、新TMに関してはパイロットシンボルはオン、PAM制限なしの条件を適用する。つまり、パイロットシンボルをオンにし、実効伝送レートを改善した状態でトレーニングを開始する。   The “first condition training” in step S54 corresponds to the processing after step S20 in the processing shown in FIGS. However, in the first conditional training, conditions including PAM restrictions and the like (conditions employed at this time) are applied to the current TM, and pilot symbols are turned on and conditions without PAM restrictions are applied to the new TM. That is, training is started with the pilot symbol turned on and the effective transmission rate improved.

ステップS55では、比較部13は、図6のステップS22と同じ条件を満たしているかどうかを識別する。すなわち、第1トレーニング処理の結果得られた再送率から求めた実効伝送レートR22と、実効伝送レートR11とを比較した結果、閾値(ΔR)以上新TMが劣っている場合には、ステップS56に進み、それ以外の場合はステップS57に進む。   In step S55, the comparison unit 13 identifies whether the same condition as in step S22 of FIG. 6 is satisfied. That is, as a result of comparing the effective transmission rate R22 obtained from the retransmission rate obtained as a result of the first training process with the effective transmission rate R11, if the new TM is inferior beyond the threshold (ΔR), the process proceeds to step S56. If not, the process proceeds to step S57.

ステップS56では、通信パラメータ設定部11は、第1条件トレーニング(ステップS54)の勝者である現行TMを、通信部14が使用する通信パラメータとして採用する。   In step S56, the communication parameter setting unit 11 employs the current TM that is the winner of the first conditional training (step S54) as the communication parameter used by the communication unit 14.

ステップS57の「第2条件トレーニング」は、図6および図7に示した処理のうち、ステップS20以降の処理に相当する。但し、第2条件トレーニングでは、現行TMに関しては第1条件トレーニングの勝者と同じ条件を適用し、新TMに関してはパイロットシンボルはオフ、PAM制限なしの条件を適用する。つまり、新TMに対するパイロットシンボルをオフに切り替えて、第1条件トレーニングと同様の処理を繰り返す。   The “second conditional training” in step S57 corresponds to the processing after step S20 in the processing shown in FIGS. However, in the second conditional training, the same conditions as the winner of the first conditional training are applied to the current TM, and the pilot symbols are off and the PAM restriction is applied to the new TM. That is, the pilot symbol for the new TM is switched off and the same processing as in the first conditional training is repeated.

ステップS58では、比較部13は、第2条件トレーニングの勝者のTMについて、その実効伝送レート(1−Ret(2)×PHY(2))と、最大8PAM(3ビット:8レベル)に制限した場合の再送率を無視した伝送レート(PHY8)とを比較する。なお、(Ret(2))は「第2条件トレーニング」で取得した再送率を表し、(PHY(2)、(PHY8))は物理層レベル(つまり再送を考慮しない)の伝送レートを表している。ステップS58の条件を満たす場合にはステップS64に進み、満たさない場合にはステップS59に進む。   In step S58, the comparison unit 13 limited the TM of the winner of the second condition training to the effective transmission rate (1-Ret (2) × PHY (2)) and a maximum of 8PAM (3 bits: 8 levels). The transmission rate (PHY8) ignoring the retransmission rate is compared. (Ret (2)) represents the retransmission rate acquired in the “second condition training”, and (PHY (2), (PHY8)) represents the transmission rate at the physical layer level (that is, retransmission is not considered). Yes. If the condition of step S58 is satisfied, the process proceeds to step S64, and if not, the process proceeds to step S59.

ステップS59では、比較部13は、新TMについて、PAM制限なしの場合の物理層レベルの伝送レート(PHY)と、最大8PAMに制限した場合の物理層レベルの伝送レート(PHY8)とを比較する。ステップS59の条件を満たす場合にはステップS62に進み、満たさない場合にはステップS60に進む。例えば、元々8PAM以下の条件しか存在しないTMの場合には、PAM制限しても伝送速度が変わらないので次のステップS60は省略する。   In step S59, for the new TM, the comparison unit 13 compares the physical layer level transmission rate (PHY) when there is no PAM restriction with the physical layer level transmission rate (PHY8) when the maximum TM is limited to 8 PAM. . If the condition of step S59 is satisfied, the process proceeds to step S62. If not satisfied, the process proceeds to step S60. For example, in the case of a TM that originally has only a condition of 8 PAM or less, the transmission rate does not change even if the PAM is limited, so the next step S60 is omitted.

ステップS60の「第3条件トレーニング」は、図6および図7に示した処理のうち、ステップS20以降の処理に相当する。但し、第3条件トレーニングでは、現行TMに関しては第2条件トレーニングの勝者と同じ条件と適用し、新TMに関してはパイロットシンボルはオン、最大8PAM制限オンの条件を適用する。つまり、新TMに対する条件を切り替えて、第2条件トレーニングと同様の処理を繰り返す。   The “third conditional training” in step S60 corresponds to the processing after step S20 in the processing shown in FIGS. 6 and 7. However, in the third conditional training, the same condition as the winner of the second conditional training is applied to the current TM, and the pilot symbol is ON and the maximum 8 PAM limit ON condition is applied to the new TM. That is, the conditions for the new TM are switched and the same processing as in the second conditional training is repeated.

ステップS61では、比較部13は、第3条件トレーニングの勝者のTMについて、その実効伝送レート(1−Ret(3)×PHY(3))と、最大4PAM(2ビット:4レベル)に制限した場合の再送率を無視した伝送レート(PHY4)とを比較する。なお、(Ret(3))は第3条件トレーニングで取得した再送率を表し、(PHY(3)、(PHY4))は物理層レベル(つまり再送を考慮しない)の伝送レートを表している。ステップS61の条件を満たす場合にはステップS64に進み、満たさない場合はステップS62には進む。   In step S61, the comparison unit 13 limited the effective TM (1-Ret (3) × PHY (3)) and the maximum 4 PAM (2 bits: 4 levels) for the TM of the third condition training winner. The transmission rate (PHY4) ignoring the retransmission rate is compared. Note that (Ret (3)) represents the retransmission rate acquired in the third conditional training, and (PHY (3), (PHY4)) represents the transmission rate at the physical layer level (that is, retransmission is not considered). If the condition of step S61 is satisfied, the process proceeds to step S64. Otherwise, the process proceeds to step S62.

ステップS62では、比較部13は、新TMについて、PAM制限なしの場合の物理層レベルの伝送レート(PHY)と、最大4PAMに制限した場合の物理層レベルの伝送レート(PHY4)とを比較する。ステップS62の条件を満たす場合にはステップS64に進み、満たさない場合にはステップS63に進む。例えば、元々4PAM以下の条件しか存在しないTMの場合には、PAM制限しても伝送速度が変わらないので次のステップS63は省略する。   In step S62, for the new TM, the comparison unit 13 compares the physical layer level transmission rate (PHY) when there is no PAM restriction with the physical layer level transmission rate (PHY4) when the maximum TM is limited to 4 PAM. . If the condition of step S62 is satisfied, the process proceeds to step S64. If not satisfied, the process proceeds to step S63. For example, in the case of a TM that originally has a condition of 4 PAM or less, the transmission rate does not change even if the PAM is limited, so the next step S63 is omitted.

ステップS63の「第4条件トレーニング」は、図6および図7に示した処理のうち、ステップS20以降の処理に相当する。但し、第4条件トレーニングでは、現行TMに関しては第3条件トレーニングの勝者と同じ条件と適用し、新TMに関してはパイロットシンボルはオン、最大4PAM制限オンの条件を適用する。つまり、新TMに対する条件を切り替えて、第3条件トレーニングと同様の処理を繰り返す。   The “fourth conditional training” in step S63 corresponds to the processing after step S20 in the processing shown in FIGS. However, in the fourth conditional training, the same condition as the winner of the third conditional training is applied for the current TM, and the pilot symbol is ON and the maximum 4PAM restriction ON condition is applied for the new TM. That is, the conditions for the new TM are switched, and the same processing as in the third conditional training is repeated.

ステップS64では、通信フレーム制御部22は、FL制御用変化点の検出の有無を調べ、検出しなかった場合にはステップS65に進み、検出した場合にはステップS60に進む。   In step S64, the communication frame control unit 22 checks whether or not the FL control change point is detected. If not detected, the process proceeds to step S65. If detected, the process proceeds to step S60.

ステップS65では、通信パラメータ設定部11は、この処理の直前に実行したトレーニングにおける勝者のTM及び条件を通信部14の通信パラメータとして採用する。   In step S <b> 65, the communication parameter setting unit 11 employs the winner's TM and conditions in the training executed immediately before this processing as the communication parameters of the communication unit 14.

ステップS66では、通信フレーム制御部22は、この処理の直前に実行したトレーニングにおける勝者の条件が「FL制御オン」か否かを識別する。FL制御オンである場合にはステップS69に進み、それ以外ならステップS67に進む。   In step S66, the communication frame control unit 22 identifies whether or not the winner condition in the training executed immediately before this process is “FL control ON”. If the FL control is on, the process proceeds to step S69. Otherwise, the process proceeds to step S67.

ステップS67の「第5条件トレーニング」は、図6および図7に示した処理のうち、ステップS20以降の処理に相当する。但し、第5条件トレーニングでは、現行TMに関しては直前のトレーニングの勝者と同じ条件を適用する。一方、新TMに関しては、FL制御オンに切り替えて、それ以外の条件は直前のトレーニングの勝者と同じ条件を適用する。つまり、FL制御オンに関する条件だけを切り替えて、トレーニングを実施する。   The “fifth conditional training” in step S67 corresponds to the processing after step S20 in the processing shown in FIGS. However, in the fifth conditional training, the same conditions as the winner of the previous training are applied to the current TM. On the other hand, for the new TM, the FL control is switched on, and the other conditions are the same as those of the previous training winner. That is, the training is performed by switching only the conditions relating to the FL control ON.

ステップS68では、通信パラメータ設定部11は、第5条件トレーニングの勝者のTM及びそれに適用した条件を通信部14の通信パラメータとして採用する。   In step S <b> 68, the communication parameter setting unit 11 adopts the TM of the fifth condition training winner and the conditions applied thereto as the communication parameters of the communication unit 14.

ステップS69の「第6条件トレーニング」は、図6および図7に示した処理のうち、ステップS20以降の処理に相当する。但し、第6条件トレーニングでは、現行TMに関しては直前のトレーニングの勝者と同じ条件を適用する。一方、新TMに関しては、FL制御オフに切り替えて、それ以外の条件は直前のトレーニングの勝者と同じ条件を適用する。つまり、「FL制御オンオフ」に関する条件だけを切り替えて、トレーニングを実施する。   The “sixth conditional training” in step S69 corresponds to the processing after step S20 in the processing shown in FIGS. However, in the sixth conditional training, the same conditions as the winner of the previous training are applied to the current TM. On the other hand, for the new TM, the FL control is switched off, and the other conditions are the same as the previous training winner. In other words, training is performed by switching only the conditions relating to “FL control ON / OFF”.

ステップS70では、通信パラメータ設定部11は、第6条件トレーニングの勝者のTM及びそれに適用した条件を通信部14の通信パラメータとして採用する。   In step S <b> 70, the communication parameter setting unit 11 adopts the TM of the sixth condition training winner and the conditions applied thereto as the communication parameters of the communication unit 14.

ステップS71では、通信パラメータ設定部11は、トレーニングの結果として最終的に採用した通信パラメータにFL制御オンの条件が適用されているか否かを識別する。FL制御オフのTMを選択した場合には、次のステップS72に進む。   In step S71, the communication parameter setting unit 11 identifies whether or not the FL control ON condition is applied to the communication parameter finally adopted as a result of the training. If the FL control-off TM is selected, the process proceeds to the next step S72.

ステップS72では、通信フレーム制御部22は、第2の実施形態で説明したエラーマップをリセットし、エラーマップを再構築するためのトリガを発生する。これにより、FL制御用変化点を検出する際にインパルス性ノイズが発生し、このノイズの影響を受けて検出されるFL制御用変化点に多少の揺らぎ等が生じ、エラーマップが正しい変化点を反映していない場合であっても、エラーマップを再構築することにより、FL制御を実施する場合の制御の精度を高めることができる。   In step S72, the communication frame control unit 22 resets the error map described in the second embodiment, and generates a trigger for reconstructing the error map. As a result, impulsive noise is generated when detecting the FL control change point, the FL control change point detected under the influence of this noise causes some fluctuations, and the error map shows the correct change point. Even if it is not reflected, by reconstructing the error map, it is possible to improve the accuracy of control when the FL control is performed.

なお、第1条件トレーニング(ステップS54)、第2条件トレーニング(ステップS57)、第3条件トレーニング(ステップS60)、第4条件トレーニング(ステップS63)のそれぞれにおける新TMのFL制御オン/オフは、現行TMと同一の条件にする。   Note that the FL control on / off of the new TM in each of the first condition training (step S54), the second condition training (step S57), the third condition training (step S60), and the fourth condition training (step S63) is: Use the same conditions as the current TM.

このような図21および図22の処理を行うことで、パイロットシンボルのオンオフ情報、PAM制限情報、FL制御のオンオフ情報を考慮して、より正確なTMの通信パラメータを採用することが可能となる。   By performing the processing of FIGS. 21 and 22 as described above, more accurate TM communication parameters can be adopted in consideration of pilot symbol on / off information, PAM restriction information, and FL control on / off information. .

次に、PLCモデム100が適切なTMの通信パラメータを選択するための動作に関する全体フローについて、図23を参照しながら説明する。   Next, an overall flow relating to an operation for the PLC modem 100 to select an appropriate TM communication parameter will be described with reference to FIG.

電源が投入されてPLCモデム100が起動すると、PLCモデム100は、所定の初期化(ADJUST:第1の実施形態で説明した第4トレーニングに相当)を行った後、CE要求の送信(図6参照)およびそれに対するCERの受信(図6参照)を行い、CERに含まれる評価情報に基づいて新TMを生成する。   When the power is turned on and the PLC modem 100 is activated, the PLC modem 100 performs a predetermined initialization (ADJUST: equivalent to the fourth training described in the first embodiment), and then transmits a CE request (FIG. 6). (See FIG. 6) and reception of the CER (see FIG. 6) corresponding thereto, and a new TM is generated based on the evaluation information included in the CER.

この後で、PLCモデム100は、現行TM、新TMを評価するためのトレーニングTR11を400〜1000msecの期間にわたって実施する。トレーニングTR11の内容については、図6および図7に示した内容とは少し異なっている。例えば、ステップS12に相当するデータ伝送の結果が得られる前にトレーニングを開始するので、現行TM、新TMを交互に切り替えながら、現行TMの再送率と新TMの再送率とを所定期間にわたって取得し、その結果を比較して、採用するTMを決定する。   Thereafter, the PLC modem 100 performs training TR11 for evaluating the current TM and the new TM over a period of 400 to 1000 msec. The contents of the training TR11 are slightly different from the contents shown in FIGS. For example, since the training starts before the data transmission result corresponding to step S12 is obtained, the retransmission rate of the current TM and the retransmission rate of the new TM are acquired over a predetermined period while alternately switching between the current TM and the new TM. Then, the results are compared to determine the TM to be adopted.

同様に、PLCモデム100は、起動後例えば1sec経過後、3sec経過後、7sec経過後、・・・にCE要求の送信、それに対するCERの受信を行い、トレーニングTR12等により採用TMを決定する。このように、所定回数繰り返される(トレーニングTR12、TR13、TR14、・・・)。トレーニングTR12、TR13、TR14の内容はTR11と同じである。繰り返しの回数(4回)はあくまで例示である。これらが第1段階の流れである。   Similarly, the PLC modem 100 transmits a CE request and receives a CER in response to, for example, after 1 second has elapsed, after 3 seconds have elapsed, and after 7 seconds have elapsed since activation, and the adopted TM is determined by the training TR12 or the like. In this way, it is repeated a predetermined number of times (training TR12, TR13, TR14,...). The contents of training TR12, TR13, TR14 are the same as TR11. The number of repetitions (4 times) is merely an example. These are the flow of the first stage.

なお、PLCモデム100の起動後10秒程度で通常のデータ送受信が可能な状態となる。   It should be noted that normal data transmission / reception is possible in about 10 seconds after the PLC modem 100 is activated.

また、トレーニング自体の長さはTR11〜TR14で変化はないが、トレーニング間隔は少しずつ長くなっている。   Further, the length of the training itself does not change between TR11 to TR14, but the training interval is gradually increased.

続いて、第1段階に続いて、例えば起動後13sec後に、PLCモデム100は、トレーニングTR21を100〜1000msにわたって実施する。トレーニングTR21では、CE要求/CER受信の後に、PLCモデム100は、図6に示した第1トレーニング処理を加味して現行TMの再送率と新TMの再送率とを所定期間にわたって取得し、その結果を比較して、採用するTMを決定する。   Subsequently, following the first stage, for example, 13 seconds after startup, the PLC modem 100 performs the training TR21 for 100 to 1000 ms. In the training TR21, after receiving the CE request / CER, the PLC modem 100 acquires the retransmission rate of the current TM and the retransmission rate of the new TM over a predetermined period in consideration of the first training process shown in FIG. The results are compared to determine the TM to be adopted.

同様に、PLCモデム100は、起動後例えば21sec経過後に、CE要求/CER受信を行い、トレーニングTR21等により採用TMを決定する。このように、トレーニングは所定回数繰り返される(トレーニングTR22、・・・)。トレーニングTR21の内容はTR21と同じである。繰り返しの回数(2回)はあくまで例示である。これらが第2段階の流れである。   Similarly, the PLC modem 100 performs CE request / CER reception after the elapse of 21 seconds, for example, and determines the adopted TM by the training TR21 or the like. In this way, the training is repeated a predetermined number of times (training TR22,...). The content of training TR21 is the same as TR21. The number of repetitions (2 times) is merely an example. These are the flow of the second stage.

また、第1段階と同様に、トレーニング自体の長さはTR21、TR22で変化はないが、トレーニング間隔は少しずつ長くなっている。   As in the first stage, the length of the training itself does not change between TR21 and TR22, but the training interval is gradually increased.

続いて、第2段階に続いて、例えば起動後13sec後に、PLCモデム100は、トレーニングTR31を100〜11500msにわたって実施する。トレーニングTR31では、CE要求/CER受信の後に、PLCモデム100は、図6に示した第1トレーニング処理〜第4トレーニング処理を行い、採用するTMを決定する。この場合、図6および図7の処理を行う際に事前に必要となる現行TMの通信特性(例えば再送率)を取得する。取得する期間は、第1トレーニング処理〜第4トレーニング処理を行う直前(例えば39sec〜43sec)である。   Subsequently, following the second stage, for example, 13 seconds after the activation, the PLC modem 100 performs the training TR31 for 100 to 11500 ms. In the training TR31, after receiving the CE request / CER, the PLC modem 100 performs the first training process to the fourth training process shown in FIG. 6 and determines the TM to be adopted. In this case, the communication characteristics (for example, retransmission rate) of the current TM required in advance when performing the processes of FIGS. 6 and 7 are acquired. The acquisition period is immediately before the first training process to the fourth training process (for example, 39 sec to 43 sec).

同様に、PLCモデム100は、起動後例えば57sec経過後に、CE要求/CER受信を行い、トレーニングTR32等により採用TMを決定する。このように、トレーニングは所定回数繰り返される(トレーニングTR32、・・・)。トレーニングTR32の内容はTR31と同じである。繰り返しの回数(2回)はあくまで例示である。これらが第3段階の流れである。   Similarly, the PLC modem 100 performs CE request / CER reception after elapse of, for example, 57 seconds after activation, and determines an adopted TM by the training TR 32 or the like. In this way, the training is repeated a predetermined number of times (training TR32,...). The contents of training TR32 are the same as TR31. The number of repetitions (2 times) is merely an example. These are the third stage flow.

また、第1段階および第2段階と同様に、トレーニング自体の長さはTR21、TR22で変化はないが、トレーニング間隔は少しずつ長くなっている。ただし、トレーニング間隔が30秒程度になった後はトレーニング間隔を一定とする。   As in the first stage and the second stage, the length of the training itself does not change between TR21 and TR22, but the training interval is gradually increased. However, after the training interval becomes about 30 seconds, the training interval is constant.

このような図23の処理を行うことで、PLCモデム100の起動直後は伝送路としての電力線700の特性が安定していない状態であるので、短期間の簡易なトレーニングを取り急ぎ行いながらTMを修正し、起動から時間が経過するにつれて、長期間の確実性を重視したトレーニングを行うことで、スムーズかつ的確に最適なTMを採用することができる。   By performing the processing of FIG. 23 as described above, the characteristics of the power line 700 as a transmission line are not stable immediately after the startup of the PLC modem 100. Therefore, the TM is corrected while performing a short period of simple training. As the time elapses from the start, the optimum TM can be adopted smoothly and accurately by performing training focusing on long-term certainty.

なお、PLCモデム100は、FL制御のオンオフ判定を図23とは非同期で実施する。   Note that the PLC modem 100 performs FL control on / off determination asynchronously with FIG.

本発明は、伝送路状態が一定でない場合であっても、最適な通信特性を維持することができるとともに、伝送効率が低下することを防止可能な通信装置等に有用である。   INDUSTRIAL APPLICABILITY The present invention is useful for a communication device that can maintain optimum communication characteristics even when the transmission path state is not constant and can prevent a decrease in transmission efficiency.

本発明の実施形態におけるPLCモデムの前面を示す外観斜視図1 is an external perspective view showing a front surface of a PLC modem according to an embodiment of the present invention. 本発明の実施形態におけるPLCモデムの背面を示す外観斜視図FIG. 3 is an external perspective view showing the back surface of the PLC modem according to the embodiment of the present invention. 本発明の実施形態におけるPLCモデムのハードウェアの一例を示した図The figure which showed an example of the hardware of the PLC modem in embodiment of this invention 本発明の実施形態におけるPLCモデムのデジタル信号処理を説明するための図The figure for demonstrating the digital signal processing of the PLC modem in embodiment of this invention 本発明の第1の実施形態におけるPLCモデムの機能ブロック図Functional block diagram of the PLC modem in the first embodiment of the present invention 本発明の第1の実施形態におけるPLCモデムが伝送速度の安定化制御を行う際の動作の一例を示すフローチャートThe flowchart which shows an example of operation | movement at the time of the PLC modem in the 1st Embodiment of this invention performing stabilization control of a transmission rate. 本発明の第1の実施形態におけるPLCモデムが伝送速度の安定化制御を行う際の動作の一例を示すフローチャートThe flowchart which shows an example of operation | movement at the time of the PLC modem in the 1st Embodiment of this invention performing stabilization control of a transmission rate. 本発明の第1の実施形態におけるトレーニング処理の流れの一例を示す図The figure which shows an example of the flow of the training process in the 1st Embodiment of this invention. 本発明の第1の実施形態における所定時間区間において選択されたTMの一例を示す図The figure which shows an example of TM selected in the predetermined time area in the 1st Embodiment of this invention 本発明の第2の実施形態におけるPLCモデムの機能ブロック図Functional block diagram of the PLC modem in the second embodiment of the present invention 本発明の第2の実施形態におけるZ変動区間を考慮した通信フレームの一例を示す図The figure which shows an example of the communication frame which considered the Z fluctuation area in the 2nd Embodiment of this invention. 本発明の第2の実施形態におけるPLCモデムが送信するPLCフレームの送信フレーム(送信結果を含む)PLC frame transmission frame (including transmission result) transmitted by the PLC modem according to the second embodiment of the present invention 本発明の第2の実施形態におけるメインICが備える通信部、通信特性取得部、ビットマップキューの一例を示す図The figure which shows an example of the communication part with which main IC in the 2nd Embodiment of this invention is provided, a communication characteristic acquisition part, and a bitmap queue 本発明の第2の実施形態におけるエラーマップの内容の具体例を示す図The figure which shows the specific example of the content of the error map in the 2nd Embodiment of this invention 本発明の第2の実施形態におけるPLCモデムがAC同期フレーム長制御を行う際の動作の一例を示すフローチャートThe flowchart which shows an example of the operation | movement at the time of the PLC modem in the 2nd Embodiment of this invention performing AC synchronous frame length control 本発明の第2の実施形態におけるFL制御用変化点の補正の一例を示す図The figure which shows an example of correction | amendment of the change point for FL control in the 2nd Embodiment of this invention 本発明の第2の実施形態におけるエラーマップからZ変動点を検出するための処理の変形例を示す図The figure which shows the modification of the process for detecting a Z fluctuation point from the error map in the 2nd Embodiment of this invention. 本発明の第2の実施形態における複数のPLCモデムから送信された電力線上のPLCフレームおよびビーコンの一例を示す図The figure which shows an example of the PLC frame and beacon on the power line transmitted from the several PLC modem in the 2nd Embodiment of this invention 本発明の第2の実施形態における通信部のカウンタ値の一例を示す図The figure which shows an example of the counter value of the communication part in the 2nd Embodiment of this invention. 本発明の第2の実施形態におけるFL制御オン/オフのタイミングを示すタイミングチャートTiming chart showing timing of FL control on / off in the second embodiment of the present invention 本発明の第3の実施形態における全体トレーニング処理の一例を示すフローチャートThe flowchart which shows an example of the whole training process in the 3rd Embodiment of this invention. 本発明の第3の実施形態における全体トレーニング処理の一例を示すフローチャートThe flowchart which shows an example of the whole training process in the 3rd Embodiment of this invention. 本発明の第3の実施形態における段階的にトレーニング方法を変化させる場合の流れを示す図The figure which shows the flow in the case of changing a training method in steps in the 3rd Embodiment of this invention. 従来の電力線の特性に応じて変動するPLC信号の振幅や波形を示す図The figure which shows the amplitude and waveform of the PLC signal which change according to the characteristic of the conventional power line

11 通信パラメータ設定部
12 通信性能取得部
13 比較部
14 通信部
15 伝送路
21 通信フレーム生成部
22 通信フレーム制御部
23 通信特性取得部
24 通信部
25 伝送路
100 PLCモデム
102 電源コネクタ
150 管理装置
200 回路モジュール
210 メインIC
211 CPU
212 PLC・MACブロック
213 PLC・PHYブロック
220 AFE・IC
221 DA変換器(DAC)
222 AD変換器(ADC)
230 PHY・IC
240 メモリ
251 ローパスフィルタ
252 ドライバIC
260 バンドパスフィルタ
270 カプラ
281 AMP IC
282 ADC IC
60 ACサイクル検出器
300 スイッチング電源
400 電源プラグ
500 コンセント
600 電源ケーブル
700 電力線
DESCRIPTION OF SYMBOLS 11 Communication parameter setting part 12 Communication performance acquisition part 13 Comparison part 14 Communication part 15 Transmission path 21 Communication frame production | generation part 22 Communication frame control part 23 Communication characteristic acquisition part 24 Communication part 25 Transmission path 100 PLC modem 102 Power supply connector 150 Management apparatus 200 Circuit module 210 Main IC
211 CPU
212 PLC / MAC block 213 PLC / PHY block 220 AFE / IC
221 DA converter (DAC)
222 AD converter (ADC)
230 PHY IC
240 Memory 251 Low-pass filter 252 Driver IC
260 Band pass filter 270 Coupler 281 AMP IC
282 ADC IC
60 AC cycle detector 300 Switching power supply 400 Power plug 500 Outlet 600 Power cable 700 Power line

Claims (12)

伝送路を介して、他の通信装置へのデータの伝送を行う通信装置であって、
前記データを格納する通信フレームを生成する通信フレーム生成部と、
前記伝送路の伝送路特性に基づいて、前記通信フレームのフレーム長を制御する通信フレーム制御部と、
前記通信フレームに対応する通信性能を取得する通信性能取得部と、
前記通信性能に基づいて、前記通信フレームに対するフレーム長の制御の要否を判定する判定部と
を備える通信装置。
A communication device that transmits data to another communication device via a transmission path,
A communication frame generation unit for generating a communication frame for storing the data;
A communication frame control unit that controls a frame length of the communication frame based on transmission path characteristics of the transmission path;
A communication performance acquisition unit that acquires communication performance corresponding to the communication frame;
And a determination unit that determines whether or not the control of the frame length for the communication frame is necessary based on the communication performance.
請求項1に記載の通信装置であって、
前記伝送路は、電力線である
通信装置。
The communication device according to claim 1,
The transmission line is a power line.
請求項1に記載の通信装置であって、更に、
前記通信フレームを前記他の通信装置へ送信する送信部と、
前記通信フレームに対する応答を前記他の通信装置から受信する受信部と、を備え、
前記応答は、前記通信性能に関する情報を少なくとも1つ含んでいる
通信装置。
The communication device according to claim 1, further comprising:
A transmission unit for transmitting the communication frame to the other communication device;
A receiving unit that receives a response to the communication frame from the other communication device,
The response includes at least one piece of information regarding the communication performance.
請求項3に記載の通信装置であって、
前記通信性能に関する情報は、前記通信フレームに関する再送率、および前記通信フレームに関する伝送速度のうち少なくとも一つを含む
通信装置。
The communication device according to claim 3,
The information regarding the communication performance includes at least one of a retransmission rate regarding the communication frame and a transmission rate regarding the communication frame.
請求項3に記載の通信装置であって、
前記送信部は、フレーム長が制御された第1の通信フレーム、およびフレーム長が制御されていない第2の通信フレームの送信を行い、
前記受信部は、前記第1の通信フレームに対応する第1の通信性能に関する情報、および前記第2の通信フレームに対応する第2の通信性能に関する情報を受信し、
前記判定部は、前記第1の通信性能と前記第2の通信性能の比較に基づいて、前記通信フレームに対するフレーム長の制御の要否を判定する
通信装置。
The communication device according to claim 3,
The transmission unit transmits a first communication frame whose frame length is controlled and a second communication frame whose frame length is not controlled,
The receiving unit receives information related to the first communication performance corresponding to the first communication frame and information related to the second communication performance corresponding to the second communication frame;
The determination unit determines whether or not it is necessary to control a frame length for the communication frame based on a comparison between the first communication performance and the second communication performance.
請求項1に記載の通信装置であって、更に、
前記通信フレームについて、パイロットシンボルの挿入を行うパイロットシンボル挿入部を備え、
前記判定部は、前記通信性能に基づいて、前記パイロットシンボルの挿入の要否を判定する
通信装置。
The communication device according to claim 1, further comprising:
A pilot symbol insertion unit for inserting pilot symbols for the communication frame;
The determination unit determines whether or not the pilot symbol needs to be inserted based on the communication performance.
請求項1に記載の通信装置であって、更に、
前記通信フレームについて変復調を行う変復調部と、
前記通信性能に基づいて、前記変復調の方式を決定する決定部と
を備える通信装置。
The communication device according to claim 1, further comprising:
A modem for performing modulation / demodulation on the communication frame;
A communication device comprising: a determining unit that determines the modulation / demodulation method based on the communication performance.
請求項2に記載の通信装置であって、
前記通信フレーム制御部は、前記電力線のインピーダンス変動に基づいて、前記通信フレームのフレーム長の制御を行う
通信装置。
The communication device according to claim 2,
The communication frame control unit is a communication device that controls a frame length of the communication frame based on impedance fluctuation of the power line.
伝送路を介して、他の通信装置へのデータの伝送を行う通信方法であって、
前記データを格納する通信フレームを生成し、
前記伝送路の伝送路特性に基づいて、前記通信フレームのフレーム長を制御し、
前記通信フレームに対応する通信性能を取得し、
前記通信性能に基づいて、前記通信フレームに対するフレーム長の制御の要否を判定する
通信方法。
A communication method for transmitting data to another communication device via a transmission line,
Generating a communication frame for storing the data;
Control the frame length of the communication frame based on the transmission path characteristics of the transmission path,
Obtain communication performance corresponding to the communication frame,
A communication method for determining whether it is necessary to control a frame length for the communication frame based on the communication performance.
伝送路を介して、他の通信装置へのデータの伝送を行う通信装置に用いられる集積回路であって、
前記データを格納する通信フレームを生成する通信フレーム生成部と、
前記伝送路の伝送路特性に基づいて、前記通信フレームのフレーム長を制御する通信フレーム制御部と、
前記通信フレームに対応する通信性能を取得する通信性能取得部と、
前記通信性能に基づいて、前記通信フレームに対するフレーム長の制御の要否を判定する判定部と
を備える集積回路。
An integrated circuit used in a communication device that transmits data to another communication device via a transmission path,
A communication frame generation unit for generating a communication frame for storing the data;
A communication frame control unit that controls a frame length of the communication frame based on transmission path characteristics of the transmission path;
A communication performance acquisition unit that acquires communication performance corresponding to the communication frame;
An integrated circuit comprising: a determination unit that determines whether or not it is necessary to control a frame length for the communication frame based on the communication performance.
伝送路を介して、他の通信装置へのデータの伝送を行う通信装置であって、
前記データを格納する通信フレームを生成する通信フレーム生成部と、
前記通信フレームのフレーム長を制御する通信フレーム制御部と、
前記他の通信装置に起因する前記伝送路の状態を検出する状態検出部と、
前記伝送路の状態に基づいて、前記通信フレームに対するフレーム長の制御の要否を判定する判定部と
を備える通信装置。
A communication device that transmits data to another communication device via a transmission path,
A communication frame generation unit for generating a communication frame for storing the data;
A communication frame control unit for controlling a frame length of the communication frame;
A state detection unit for detecting a state of the transmission path caused by the other communication device;
And a determination unit that determines whether or not the control of the frame length for the communication frame is necessary based on the state of the transmission path.
請求項11に記載の通信装置であって、
前記状態検出部は、前記伝送路の状態として、前記他の通信装置が送信するデータ量を検出し、
前記判定部は、前記データ量に基づいて、前記通信フレームに対するフレーム長の制御の要否を判定する
通信装置。
The communication device according to claim 11,
The state detection unit detects the amount of data transmitted by the other communication device as the state of the transmission path,
The determination unit determines whether or not it is necessary to control a frame length for the communication frame based on the data amount.
JP2009007907A 2009-01-16 2009-01-16 Communication device, communication method, and integrated circuit Withdrawn JP2010166400A (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP2009007907A JP2010166400A (en) 2009-01-16 2009-01-16 Communication device, communication method, and integrated circuit
MYPI2011003309A MY156995A (en) 2009-01-16 2010-01-15 Communication device, communication method, and integrated circuit
PCT/JP2010/050752 WO2010082691A2 (en) 2009-01-16 2010-01-15 Communication device, communication method, and integrated circuit
CN201080010537.6A CN102342058B (en) 2009-01-16 2010-01-15 Communication equipment, communication means and integrated circuit
US12/688,868 US8369359B2 (en) 2009-01-16 2010-01-16 Communication device, communication method, and integrated circuit
IL213954A IL213954A (en) 2009-01-16 2011-07-06 Communication device, communication method and integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009007907A JP2010166400A (en) 2009-01-16 2009-01-16 Communication device, communication method, and integrated circuit

Publications (1)

Publication Number Publication Date
JP2010166400A true JP2010166400A (en) 2010-07-29

Family

ID=42582206

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009007907A Withdrawn JP2010166400A (en) 2009-01-16 2009-01-16 Communication device, communication method, and integrated circuit

Country Status (1)

Country Link
JP (1) JP2010166400A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013175810A1 (en) * 2012-05-25 2013-11-28 株式会社吉川アールエフセミコン Power line communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013175810A1 (en) * 2012-05-25 2013-11-28 株式会社吉川アールエフセミコン Power line communication system
JP2014003600A (en) * 2012-05-25 2014-01-09 Yoshikawa Rf Semicon Co Ltd Power line communication system

Similar Documents

Publication Publication Date Title
US8325784B2 (en) Communication apparatus, communication method, and integrated circuit
JP5448359B2 (en) Power line communication method, power line communication apparatus, and power line communication system
KR101193811B1 (en) Communication apparatus, integrated circuit, and communication method
US7729375B2 (en) Power line communication apparatus and data relay method
US8369359B2 (en) Communication device, communication method, and integrated circuit
US8036233B2 (en) Power line communication apparatus, power line communication system, power line communication method and integrated circuit
US8232668B2 (en) Synchronization point detection method and power line communication apparatus
JP2006352267A (en) Transmitter and receiver, and transmission method and reception method
JP5328387B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND INTEGRATED CIRCUIT
JP2008010948A (en) Power line communication system and method
JP2010166400A (en) Communication device, communication method, and integrated circuit
JP2010166398A (en) Communication apparatus, communication method, and integrated circuit
EP1861934B1 (en) Communication apparatus and communication method
EP3852278A1 (en) Communication device and communication method
JP5267514B2 (en) Power line communication device, integrated circuit, and power line communication method
US9705721B2 (en) Communication apparatus and communication method
WO2012014502A1 (en) Communication method, communication apparatus, and communication frame generating method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20120403