JP5328387B2 - COMMUNICATION DEVICE, COMMUNICATION METHOD, AND INTEGRATED CIRCUIT - Google Patents
COMMUNICATION DEVICE, COMMUNICATION METHOD, AND INTEGRATED CIRCUIT Download PDFInfo
- Publication number
- JP5328387B2 JP5328387B2 JP2009007906A JP2009007906A JP5328387B2 JP 5328387 B2 JP5328387 B2 JP 5328387B2 JP 2009007906 A JP2009007906 A JP 2009007906A JP 2009007906 A JP2009007906 A JP 2009007906A JP 5328387 B2 JP5328387 B2 JP 5328387B2
- Authority
- JP
- Japan
- Prior art keywords
- communication
- frame
- impedance
- transmission
- power line
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
Abstract
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
また、フレーム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
また、フレーム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.
しかしながら、送信する通信フレームのフレーム長を単に十分に短くなるよう制限する場合には、伝送効率が低下するのは避けられない。 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 characteristic acquisition unit that acquires a communication characteristic; and a communication frame control unit that controls a frame length of the communication frame based on the communication characteristic, wherein the communication characteristic acquisition unit includes an impedance of the power line as the communication characteristic. The information corresponding to the fluctuation is acquired, and the communication frame control unit estimates a plurality of impedance change points of the power line based on the information corresponding to the impedance fluctuation, and based on a distance between adjacent impedance change points. And correcting the position of at least one of the adjacent impedance change points, based on the corrected impedance change point, It controls the frame length of the serial communication frame.
この通信装置によれば、伝送路状態が一定でない場合であっても、最適な通信特性を維持することができるとともに、伝送効率が低下することを防止可能である。例えば、通信特性が劣化する可能性がある時間区間においてのみ通信フレームの伝送を実施しないように制御することができる。
また、通信特性としてインピーダンス変動に対応する情報を取得することで、インピーダンス変動の影響を受けないようにフレーム長制御を行うことができるので、電力線のインピーダンスが一定でない場合であっても、伝送効率が低下することを防止可能である。
また、インピーダンス変動により伝送路特性が変化したときを認識することができ、この時点をインピーダンスの変化点と推定することで、後にインピーダンスの変化点になると予想される通信フレームの通信を回避することができる。
また、実際に推定されるインピーダンスの変化点の位置のずれを考慮して、インピーダンスの変化点の位置を補正することで、インピーダンスの変化点において通信フレームが伝送されることを抑制できる。
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, it is possible to perform control so that transmission of a communication frame is not performed only in a time interval in which communication characteristics may be deteriorated.
In addition, by acquiring information corresponding to impedance fluctuations as communication characteristics, frame length control can be performed so as not to be affected by impedance fluctuations, so even if the impedance of the power line is not constant, transmission efficiency Can be prevented from decreasing.
In addition, it is possible to recognize when the transmission line characteristics have changed due to impedance fluctuations, and by estimating this point as the impedance change point, it is possible to avoid communication frames that are expected to become impedance change points later. Can do.
In addition, it is possible to suppress the transmission of the communication frame at the impedance change point by correcting the position of the impedance change point in consideration of the shift of the impedance change point that is actually estimated.
また、本発明の通信装置は、前記伝送路が、電力線である。 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 the communication apparatus of the present invention, the communication characteristic acquisition unit acquires transmission error information related to a transmission error for each predetermined time interval in the communication frame when the communication frame is transmitted as information corresponding to the impedance fluctuation. Then, the communication frame control unit estimates the impedance change point based on the transmission error information.
この通信装置によれば、伝送した通信フレームの伝送エラーが発生しているか否かを把握し、伝送エラーの発生点を回避するようにフレーム長を制御することができる。 According to this communication apparatus, it is possible to grasp whether or not a transmission error has occurred in the transmitted communication frame, and to control the frame length so as to avoid the transmission error occurrence point.
また、本発明の通信装置は、前記通信特性取得部が、前記伝送エラー情報を前記所定時間区間毎に蓄積し、前記通信フレーム制御部が、前記伝送エラー情報の蓄積数が所定数以上である第1の時間区間と前記第1の時間区間よりも後の第2の時間区間を抽出し、前記第1の時間区間を前記電力線の第1のインピーダンスの変化点として、前記第2の時間区間を前記電力線の第2のインピーダンスの変化点として推定する。 In the communication apparatus of the present invention, the communication characteristic acquisition unit accumulates the transmission error information for each predetermined time interval, and the communication frame control unit accumulates the transmission error information in a predetermined number or more. A first time interval and a second time interval after the first time interval are extracted, and the first time interval is used as a change point of the first impedance of the power line. Is estimated as a change point of the second impedance of the power line.
この通信装置によれば、伝送エラーが頻発するタイミングを知ることができ、そのタイミングを回避するように、フレーム長を制御することができる。 According to this communication apparatus, the timing at which transmission errors frequently occur can be known, and the frame length can be controlled so as to avoid the timing.
本発明の通信装置は、前記通信フレーム制御部が、前記推定した第1のインピーダンスの変化点と前記第2のインピーダンスの変化点との距離に基づいて、前記推定したインピーダンスの変化点の位置を補正する。 In the communication apparatus of the present invention, the communication frame control unit determines the position of the estimated impedance change point based on a distance between the estimated first impedance change point and the second impedance change point. to correct.
この通信装置によれば、上記第1の時間区間および上記第2の時間区間は実際の電力線のインピーダンスの変化点よりも後にずれる傾向があり、この変化点の位置を補正することで、確実にインピーダンスの変化点において通信フレームが伝送されないようにフレーム長を制御することができる。 According to this communication apparatus, the first time interval and the second time interval tend to deviate from the actual change point of the impedance of the power line. By correcting the position of the change point, it is ensured. The frame length can be controlled so that the communication frame is not transmitted at the impedance change point.
本発明の通信方法は、伝送路を介して、他の通信装置へのデータの伝送を行う通信方法であって、前記データを格納する通信フレームを生成する通信フレーム生成ステップと、前記伝送路の通信特性を取得する通信特性取得ステップと、前記通信特性に基づいて、前記通信フレームのフレーム長を制御する通信フレーム制御ステップと、を有し、前記通信特性取得ステップでは、前記通信特性として前記電力線のインピーダンス変動に対応する情報を取得し、前記通信フレーム制御ステップでは、前記インピーダンス変動に対応する情報に基づいて、前記電力線のインピーダンスの変化点を複数推定し、隣接するインピーダンスの変化点間の距離に基づいて、前記隣接するインピーダンスの変化点の少なくとも一方の位置を補正し、補正されたインピーダンスの変化点に基づいて、前記通信フレームのフレーム長を制御する。 The communication method of the present invention is a communication method for transmitting data to another communication device via a transmission line, a communication frame generation step for generating a communication frame for storing the data, A communication characteristic acquisition step of acquiring a communication characteristic; and a communication frame control step of controlling a frame length of the communication frame based on the communication characteristic. In the communication characteristic acquisition step, the power line as the communication characteristic In the communication frame control step, a plurality of impedance change points of the power line are estimated based on the information corresponding to the impedance change, and a distance between adjacent impedance change points is acquired in the communication frame control step. And correcting the position of at least one of the adjacent impedance change points based on Based on the change point of the impedance, for controlling the frame length of the communication frame.
この通信方法によれば、伝送路状態が一定でない場合であっても、最適な通信特性を維持することができるとともに、伝送効率が低下することを防止可能である。例えば、通信特性が劣化する可能性がある時間区間においてのみ通信フレームの伝送を実施しないように制御することができる。
また、通信特性としてインピーダンス変動に対応する情報を取得することで、インピーダンス変動の影響を受けないようにフレーム長制御を行うことができるので、電力線のインピーダンスが一定でない場合であっても、伝送効率が低下することを防止可能である。
また、インピーダンス変動により伝送路特性が変化したときを認識することができ、この時点をインピーダンスの変化点と推定することで、後にインピーダンスの変化点になると予想される通信フレームの通信を回避することができる。
また、実際に推定されるインピーダンスの変化点の位置のずれを考慮して、インピーダンスの変化点の位置を補正することで、インピーダンスの変化点において通信フレームが伝送されることを抑制できる。
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, it is possible to perform control so that transmission of a communication frame is not performed only in a time interval in which communication characteristics may be deteriorated.
In addition, by acquiring information corresponding to impedance fluctuations as communication characteristics, frame length control can be performed so as not to be affected by impedance fluctuations, so even if the impedance of the power line is not constant, transmission efficiency Can be prevented from decreasing.
In addition, it is possible to recognize when the transmission line characteristics have changed due to impedance fluctuations, and by estimating this point as the impedance change point, it is possible to avoid communication frames that are expected to become impedance change points later. Can do.
In addition, it is possible to suppress the transmission of the communication frame at the impedance change point by correcting the position of the impedance change point in consideration of the shift of the impedance change point that is actually estimated.
本発明の集積回路は、伝送路を介して、他の通信装置へのデータの伝送を行う通信装置に用いられる集積回路であって、前記データを格納する通信フレームを生成する通信フレーム生成部と、前記伝送路の通信特性を取得する通信特性取得部と、前記通信特性に基づいて、前記通信フレームのフレーム長を制御する通信フレーム制御部とを備え、前記通信特性取得部は、前記通信特性として前記電力線のインピーダンス変動に対応する情報を取得し、前記通信フレーム制御部は、前記インピーダンス変動に対応する情報に基づいて、前記電力線のインピーダンスの変化点を複数推定し、隣接するインピーダンスの変化点間の距離に基づいて、前記隣接するインピーダンスの変化点の少なくとも一方の位置を補正し、補正されたインピーダンスの変化点に基づいて、前記通信フレームのフレーム長を制御する。 An 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 includes a communication frame generation unit that generates a communication frame for storing the data. A communication characteristic acquisition unit that acquires the communication characteristic of the transmission path; and a communication frame control unit that controls a frame length of the communication frame based on the communication characteristic , the communication characteristic acquisition unit including the communication characteristic And acquiring information corresponding to the impedance variation of the power line, the communication frame control unit estimates a plurality of impedance change points of the power line based on the information corresponding to the impedance variation, and adjacent impedance change points And correcting the position of at least one of the adjacent impedance change points based on the distance between the corrected impedances. Based on the change point, and controls 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, it is possible to perform control so that transmission of a communication frame is not performed only in a time interval in which communication characteristics may be deteriorated.
In addition, by acquiring information corresponding to impedance fluctuations as communication characteristics, frame length control can be performed so as not to be affected by impedance fluctuations, so even if the impedance of the power line is not constant, transmission efficiency Can be prevented from decreasing.
In addition, it is possible to recognize when the transmission line characteristics have changed due to impedance fluctuations, and by estimating this point as the impedance change point, it is possible to avoid communication frames that are expected to become impedance change points later. Can do.
In addition, it is possible to suppress the transmission of the communication frame at the impedance change point by correcting the position of the impedance change point in consideration of the shift of the impedance change point that is actually estimated.
本発明によれば、伝送路状態が一定でない場合であっても、最適な通信特性を維持することができるとともに、伝送効率が低下することを防止可能である。 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)
また、筐体101の背面には、図2に示すように電源コネクタ102、及びRJ45等のLAN(Local Area Network)用モジュラージャック103、及び動作モード(親機モード/子機モード)を切換える切換えスイッチ104が設けられている。
Further, on the rear surface of the
また、筐体の上面には、ボタン106が設けられている。ボタン106は、PLCモデム100を通信可能状態とするための処理(登録処理)を開始するためのセットアップボタンとしての機能を有する。尚、例示として筐体101の上面に設けるとしたが、この位置に限られることはない。
A
電源コネクタ102には、図示しない電源ケーブルが接続され、モジュラージャック103には、図示しないLANケーブルが接続される。なお、PLCモデム100には、さらにDsub(D−subminiature)コネクタを設け、Dsubケーブルを接続するようにしてもよい。
A power cable (not shown) is connected to the
なお、電力線通信装置の一例としてPLCモデム100を示したが、電力線通信装置としては、PLCモデムを内蔵した電気機器でもよい。電気機器としては、例えば、テレビ、電話、ビデオデッキ、セットトップボックスなどの家電機器や、パーソナルコンピュータ、ファクス、プリンターなどの事務機器がある。
Although the
また、PLCモデム100は、電力線700に接続され、他のPLCモデム100と共に電力線通信システムを構成する。
The
次に、図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
回路モジュール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
メイン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
CPU211は、32ビットのRISC(Reduced Instruction Set Computer)プロセッサを実装している。PLC・MACブロック212は、送受信信号のMAC層(Media Access Control layer)を管理し、PLC・PHYブロック213は、送受信信号のPHY層(Physical layer)を管理する。
The
AFE・IC220は、DA変換器(DAC;D/A Converter)221、AD変換器(ADC;A/D Converter)222、及び可変増幅器(VGA;Variable Gain Amplifier)223で構成されている。カプラ270は、コイルトランス271、及びカップリング用コンデンサ272a、272bで構成されている。
The
なお、CPU211は、メモリ240に記憶されたデータを利用して、PLC・MACブロック212、及びPLC・PHYブロック213の動作を制御するとともに、PLCモデム100全体の制御も行う。
The
PLCモデム100による通信は、概略次のように行われる。モジュラージャック103から入力されたデータは、イーサネット(登録商標)PHY・IC230を介してメインIC210に送られ、デジタル信号処理を施すことによってデジタル送信信号が生成される。生成されたデジタル送信信号は、AFE・IC220のDA変換器(DAC)221によってアナログ信号に変換され、ローパスフィルタ251、ドライバIC252、カプラ270、電源コネクタ102、電源ケーブル600、電源プラグ400、コンセント500を介して電力線700に出力される。
Communication by the
電力線700から受信された信号は、カプラ270を経由してバンドパスフィルタ260に送られ、AFE・IC220の可変増幅器(VGA)223でゲイン調整がされた後、AD変換器(ADC)222でデジタル信号に変換される。そして、変換されたデジタル信号は、メインIC210に送られ、デジタル信号処理を施すことによって、デジタルデータに変換される。変換されたデジタルデータは、イーサネット(登録商標)PHY・IC230を介してモジュラージャック103から出力される。
A signal received from the
回路モジュール200に設けられたACサイクル検出器60は、互いに通信を行う複数台のPLCモデム100が共通のタイミングで制御を実施するために必要な同期信号を生成する。つまり、ACサイクル検出器60は電力線700に供給される交流電源波形に同期した信号を生成する。
The
ACサイクル検出器60は、ダイオードブリッジ60a、抵抗器60b、60c、直流電源供給部60e、およびコンデンサ60dで構成される。ダイオードブリッジ60aの出力は抵抗器60bに接続される。抵抗器60bと抵抗器60cは直列に接続される。抵抗器60bおよび60cは、コンデンサ60dの一方の端子に並列に接続される。直流電源供給部60eは、コンデンサ60dの他方の端子に接続されている。
The
このACサイクル検出器60は、具体的には次のように動作する。すなわち、電力線700に供給される商用の交流電源波形AC、つまり50Hz又は60Hzの正弦波からなる交流波形のゼロクロス点を検出し、このタイミングを基準とする同期信号を生成する。同期信号の具体例としては、交流電源波形のゼロクロス点に同期した複数のパルスからなる矩形波が用いられる。なお、本信号は後述では交流電源波形の位相を決定するのに用いるため、交流電源の任意の電圧を検出する回路で代用することも可能である。
Specifically, the
次に、メイン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
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
シンボルマッパ811は、送信すべきビットデータをシンボルデータに変換し、各シンボルデータに従ってシンボルマッピング(例えばPAM(Pulse Amplitude Modulation)変調)を行うものである。シリアル−パラレル変換器812は、マッピングされた直列のデータを入力し並列のデータに変換して出力する。逆ウェーブレット変換器813は、並列データを逆ウェーブレット変換し、時間軸上のデータとするものであり、伝送シンボルを表すサンプル値系列を生成するものである。このデータは、AFE・IC220のDA変換器(DAC)221に送られる。
The
ウェーブレット変換器814は、AFE・IC220のAD変換器(ADC)222から得られる受信デジタルデータ(送信時と同一のサンプルレートでサンプルされたサンプル値系列)を周波数軸上へ離散ウェーブレット変換するものである。パラレル−シリアル変換器815は、周波数軸上のデータとして入力される並列データを並び替えて直列データに変換し出力する。デマッパ816は、各サブキャリアの振幅値を計算し、受信信号の判定を行って受信データを求めるものである。
The
本実施形態におけるPLCモデム100は、特徴的な制御として、「伝送速度の安定化制御」と、「AC同期フレーム長制御」との2つを実施する。以下、第1の実施形態で「伝送速度の安定化制御」について、第2の実施形態で「AC同期フレーム長制御」について、第3の実施形態で伝送速度の安定化制御とAC同期フレーム長制御を組み合わせた場合の処理について説明する。
The
(第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
通信パラメータ設定部11は、複数のTM(ToneMap:トーンマップ)から、1つのTMを決定する。TMは、例えばメインIC210、またメモリ240に記憶されており、マルチキャリア信号のサブキャリア毎に、適用する一次変調の種類、誤り訂正モードの種類などの通信パラメータの一式をまとめて保持している。PLCモデム100は、様々な伝送路特性を考慮して相手先モデム毎に少なくとも1つの複数のTMを備えている。通信パラメータ設定部11には、通常通信時には一つのTMの通信パラメータが設定されている。
The 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
通信性能取得部12は、通信部14による通信性能の情報を取得する。通信性能の具体例としては、再送の発生頻度(以下、再送率ともいう)や伝送速度(単位時間当たりのデータ情報量、例えばパケット数なども含む)などが考えられる。
The communication
比較部13は、複数の通信パラメータのそれぞれについて通信性能取得部12が取得した通信性能の情報を用いて、複数の通信パラメータの優劣を比較する。比較部13の比較結果が通信パラメータ設定部11に出力される。通信パラメータ設定部11は、比較部13の比較結果を反映して、次回の通信のための通信パラメータを決定する。
The
次に、本実施形態のPLCモデム100の主要な処理の内容について説明する。
PLCモデム100は、TMとして、現行TM、新TMの2組の候補を想定し、2組の候補の中でいずれが優れているか、すなわち、いずれが伝送路としての電力線700の特性に合っているかを識別するための処理を実行する。実行の結果、いずれか一つのTMを採用する。ここで、現行TMは、先に決定あるいは選択したTMを表す。また、新TMは、現行TMの後に選択された新たな候補のTMを表す。
Next, contents of main processes of the
The
図6および図7は、PLCモデム100が伝送速度の安定化制御を行う際の動作の一例を示すフローチャートである。ここでは、図8および図9を参照しながら、説明を行う。また、図6の処理の開始時点で現行TMは既に定められているものとする。
6 and 7 are flowcharts showing an example of the operation when the
ステップS11では、通信パラメータ設定部11は、現行TMを選択し、通信部14に通知する。
In step S <b> 11, the communication
ステップS12では、通信部14は、通信パラメータ設定部11から通知された現行TMに基づいて通信パラメータを決定し、送信対象の任意のデータを電力線700に送信する。この時に、通信性能取得部12は、伝送エラーの発生によって再送が発生したか否かを把握し、検出された再送率の情報(再送率Ret1)を例えばメモリ240に保存する。
In step S <b> 12, the
ステップS13では、比較部13は、所定時間(例えば図8では4秒)が経過したか否かを識別する。所定時間が経過すると、次のステップS14に進む。なお、所定期間が経過するまでは、送信すべきデータがある場合には、所定のタイミングで現行TMに基づくパラメータで送信を行う。送信すべきデータがない場合には実データとは関係ない評価のためだけのダミーデータを送信してもよい。このように、4秒間における再送率を観察するため、ある程度は信頼のおける再送率情報を得ることができる。
In step S13, the
ステップS14では、通信部14は、電力線700を介して他のPLCモデム100宛てにチャネル推定要求(CE:Channel Estimation)を送信する。CEには、自局のPLCモデム100と他局である他のPLCモデム100との間であらかじめ両者が認識している既知の信号が含まれる。
In step S <b> 14, the
ステップ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
なお、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
ステップS16では、通信パラメータ設定部11は、CERに含まれる新TMを取得する。
In step S16, the communication
ステップS17では、通信性能取得部12は、現行TMとステップS12で保存した再送率Ret1(4秒間の検出結果)とを取得し、比較部13は、これらに基づいて現行TMの実効伝送レート、つまり再送を考慮した伝送速度R11を算出する。
In step S17, the communication
ステップS18では、比較部13は、ステップS16で選択された新TMに基づき、新TMの理論上最大の実効伝送レートR21を算出する。具体的には、再送率が0であるものと仮定して新TMから実効伝送レートR21を算出する。具体的には現行TMから得られる伝送速度(PHY速度)に(1−Ret1)と効率係数α1を乗算した値をR11とする。なお、α1はPHY速度に基づくフレーム長やフレーム間ギャップなどの影響を考慮した伝送効率を表す指標であり、0から1の間の値とする。この段階では「新TM」に関する再送率の情報は必要ない。
In step S18, the
ステップS19では、比較部13は、ステップS17で算出された現行TMの実効伝送レートR11と、ステップS18で算出された新TMの実効伝送レートR21を比較する。そして、R11がR21よりも大きい場合には、ステップS33に遷移し、新TMに比べて現行TMの通信性能(再送を考慮した伝送速度)が優れていると判断から、通信パラメータ設定部11は、今後使用する通信パラメータとして現行TMの通信パラメータを採用し、処理を終了する。一方、R11がR21以下である場合には、次のステップS20に進む。
In step S19, the
つまり、ステップ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
第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
但し、再送率Ret21に関する情報を取得するのは、通信部14が通信パラメータとして新TMを選択している期間のみである。つまり、再送率Ret21は、新TMに関する再送率である。
However, the information regarding the retransmission rate Ret21 is acquired only during a period in which the
図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
ステップS22では、比較部13は、ステップS17で算出された現行TMの実効伝送レートR11とステップS22で算出された新TMの実効伝送レートR22とを比較する。ここで、ΔRは所定閾値(例えば定数)である。そして、R11がR22とΔRとの和よりも大きい場合には、ステップS33に遷移し、新TMに比べて現行TMの通信性能(再送を考慮した伝送速度)が優れていると判断から、通信パラメータ設定部11は、今後使用する通信パラメータとして現行TMの通信パラメータを採用し、ここで処理を終了する。それ以外の場合には、ステップS23に進む。
In step S22, the
つまり、ステップ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
つまり、図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とステップS20とステップS23で取得した再送率Ret22とに基づいて、新TMの実効伝送レートR23を算出する。具体的には、新TMから得られる伝送速度(PHY速度)に(1−Ret22)と効率係数α2を乗算した値をR23とする。なお、α2はPHY速度に基づくフレーム長やフレーム間ギャップなどの影響を考慮した伝送効率を表す指標であり、0から1の間の値とする。α1とα2は簡易的に等しい値を用いてもよい。
In step S24, the
ステップS25では、比較部13は、ステップS17で算出された現行TMの実効伝送レートR11とステップS24で算出された新TMの実効伝送レートR23を比較する。そして、R11がR23よりも大きい場合には、ステップS33に遷移し、新TMに比べて現行TMの通信性能(再送を考慮した伝送速度)が優れていると判断から、通信パラメータ設定部11は、今後使用する通信パラメータとして現行TMの通信パラメータを採用し、ここで処理を終了する。それ以外の場合はステップS26に進む。
In step S25, the
つまり、ステップ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
また、第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
第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
ステップS28では、比較部13は、ステップS17で算出された現行TMの実効伝送レートR11とステップS27で算出された新TMの実効伝送レートR24とを比較する。そして、R11がR24より大きい場合には、ステップS29に進み、それ以外の場合には、ステップS30に進む。
In step S28, the
ステップ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
ステップS32では、比較部13は、再送率Ret1xがS12で取得した再送率Ret1や、それ以前に同じ現行TMで取得した再送率Ret1yと比較して所定閾値ΔRx以上の差がある場合には、電力線700の特性が第1トレーニング処理〜第3トレーニング処理の処理中とは大きく変化し、トレーニングにより設定したステップS29、30以降の現行TMのパラメータが使用できなくなったと判断する。この場合にはCE要求/CERの実施を行い、変化後の伝送路に対する処理を新規に開始する。それ以外の場合には、処理を終了する。
In step S32, the
第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
図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
また、電力線700上に短期的に大きなノイズが発生したとしても、伝送路状態の判定のために十分な時間をかける第1トレーニング処理〜第4トレーニング処理を行うことで、的確なTMを選択することができる。
Further, even if a large amount of noise occurs on the
また、図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
なお、本実施形態では、通信システムとして電力線を伝送路として使用する電力線通信システムについて説明したが、例えば無線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
通信フレーム生成部21は、通信フレーム制御部22から出力される制御信号に基づいてフレーム長を決定し、そのフレーム長の通信フレームを生成する。
The communication
通信部24は、通信フレーム生成部21が生成した通信フレームの中に送信すべきデータのパケットを格納し、PLCフレームとして電力線700に送信する。また、応答フレームを受信して、先の送信データの受信の成否を判断する。
The
通信特性取得部23は、通信部24が送信したPLCフレームの実際の通信状態(例えば伝送エラーの発生状況)に基づいて、電力線700におけるインピーダンスの変化点(以下、Z変動点ともいう)を通信特性として検出する。通信特性には、インピーダンスを加味した伝送路特性が含まれる。ここでは、Z変動は周期的に発生することを想定しており、通信特性については、ACサイクル検出器60が出力する同期信号に同期して、交流電源波形の1周期内の相対的なタイミングの情報として出力する。
The communication
通信フレーム制御部22は、通信特性取得部23が取得した通信特性のタイミングに基づいて、フレーム長を制御するための制御信号を生成する。すなわち、Z変動点の近傍のタイミングで、PLCフレームを送出しないようにフレーム長を制限する。
The communication
また、第1の実施形態と同様に、例えばメインIC210またはメモリ240にTMが記憶されており、TMは各種通信パラメータの一式をまとめて保持している。
Similarly to the first embodiment, TM is stored in the
次に、本実施形態のPLCモデム100の主要な処理の内容について説明する。
図11に示したPLCフレームF21、F22、F23のように、電力線700のインピーダンスが変化する時刻t11、t12、t13、t14(Z変動点)にPLCフレームが送出されないように各フレームの長さを制限する。これにより、図11に示すように、交流電源波形に同期するインピーダンスの変動(以下、Z変動ともいう)の影響によってパケットの伝送エラーが生じるのを防止できる。これがAC同期フレーム長制御の概要である。
Next, contents of main processes of the
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
このような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モデム100が送信するPLCフレームは、例えば図12に示すように構成されている。すなわち、ヘッダとそれに続く多数(30程度)連結されたEtherパケット(以下、単にパケットという)とで構成されている。Z変動やノイズが生じて伝送エラーが発生する場合、パケット毎(パケットが送信される送信区間毎)に、エラーの有無を識別できる。図12においては、エラー無のパケットが○、エラー有のパケットが×で表してある。このパケット毎のエラーの有無は、PLC−ACKに含まれる情報、例えばエラー無し(正常受信)を1、エラー有(受信失敗)を0とするビットマップ情報により認識可能である。
The PLC frame transmitted by the
PLCモデム100は、PLCフレームの送信結果の一覧情報を格納するための「ビットマップキュー」を例えばメインIC210またはメモリ240に保持している。ビットマップキューはフレーム送信情報を格納する。具体的には、送信した各々のPLCフレームについて、AC周期内のどのタイミングで送信したのか、1フレームのフレーム長(フレーム送信時間でありTM、Etherパケット長などで変わる)、1フレームに何個のパケットを連結したか、各パケットのエラー有無を表す情報(ビットマップ情報)が含まれる。このビットマップキューに格納された情報に基づいて、PLCモデム100はエラーマップを作成する。すなわち、エラーマップは、PLCフレームの送信結果を示す送信エラーの有無の情報を蓄積したものである。
The
上記情報のうち、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
PLCモデム100は、図13に示すように、通信部24とCPU211、特に通信特性取得部23とを備えており、これらは上記のようなエラーマップを作成するために使用される。
As shown in FIG. 13, the
通信部24は、PLCフレームを他のPLCモデム100宛てに送信し、他のPLCモデム100からの応答であるPLC−ACKを受信する。このPLC−ACKには通信の成否を示すビットマップ情報が含まれている。このビットマップ情報を含むフレーム送信情報をビットマップキューに書き込む。また、必要に応じてビットマップキューの内容を解析し、別途再送処理等を実施する。
The
通信特性取得部23は、ビットマップキューから順番に情報(フレーム送信情報)を取り出して解析を行い、エラーマップを構築し、記憶する。エラーマップは、AC周期(例えば16.7msec)内の所定時間区間毎にエラーが発生した頻度を表す情報を保持するものである。つまり、通信特性取得部23は、ビットマップキューから取り出したフレーム送信情報に基づいて、各データフレームのエラー有無を表す情報をエラーマップ上で該当するパケットの時間の位置にマッピングする。各パケットの時間については、それが含まれるデータフレームの送信開始時刻と、該当するパケットの並び順(フレーム先頭からの距離、即ちパケット単位の送信時間)に基づいて知ることができる。
The communication
なお、AC周期内の送信開始時刻はACサイクル検出器60からの入力をもとに決定するが、ACサイクル検出器60はその実装方法により、電源半周期、または電源の全周期を検出する形態を取る可能性がある。いずれをとるか、または2つの連続する電源半周期の情報をつなげて電源全周期と仮定することにより、それぞれのパターンでの判定が可能となり、かつ本実施形態においてはいずれの周期信号を用いてもよい。
The transmission start time within the AC cycle is determined based on the input from the
このような通信部24の処理は、PLCデータフレームを送信し、そのPLC−ACKを受信する度に行われる。つまり、フレーム送信情報は複数積算されていくものであり、通信特性取得部23はこれを基にエラーマップを作成する。
Such processing of the
次に、具体的なエラーマップの内容について説明する。
図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
図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
図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
ステップS41では、通信フレーム制御部22は、PLCモデム100が通信パラメータとして採用しているトーンマップ(TM)が不安定な状態か否かを識別し、安定するまで待機する。例えば、PLCモデム100の電源を投入した直後は、伝送路の状態に適していないトーンマップを採用し通信している可能性が高い。その状態でエラーマップを作成すると、不適切なトーンマップに依存した内容がエラーマップに反映され、適切なフレーム長制御ができなくなる。そこで安定するまで待機する。例えば、PLCモデム100の電源が投入された後、所定時間が経過するまで待ってから次に進む。なお、ステップS41は省略してもよい。
In step S41, the communication
ステップS42では、通信部24が、通信データフレームの送信を繰り返し、その送信フレームに対するPLC−ACKを受信し、通信特性取得部23が、送信結果を反映したPLC−ACKに含まれるビットマップ情報を含むフレーム送信情報の内容に基づいて、エラーマップを作成する。
In step S42, the
ステップS43では、通信フレーム制御部22は、通信特性取得部23により取得したフレーム送信情報のサンプル数が閾値(例えば定数)以上になったか否かを識別する。送信したデータフレームの数が閾値未満であればステップS42の処理を継続し、閾値以上になると次のステップS44に進む。なお、閾値が大きい程、精度の高いエラーマップを作成することが可能である。
In step S43, the communication
ステップS44では、通信特性取得部23は、例えば図14に示した各時間t1、t2、t3、t4の点のように、例えば4つのFL制御用変化点をエラーマップから検出する。ここでは、エラーマップの中で半周期毎の始期から終期までの間でエラー率が最初に閾値th1を超えた点を開始点(t1,t3)として検出し、エラー率が最後に閾値th1を下回った点を終了点(t2,t4)として検出する。
In step S44, the communication
ステップS45では、通信フレーム制御部22は、ステップS44で検出されたFL制御用変化点について補正を実施する。例えば、ステップS42〜S44のような処理によって検出されるFL制御用変化点は、実際のZ変動点に比べてやや後ろよりにずれる傾向がある。
In step S45, the communication
そこで、ステップ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.
In addition, when the width of the start point and end point of Z variation is narrow (for example, 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
このような本実施形態のPLCモデム100によれば、Z変動点においてPLCフレームを送信することを防止することができ、再送率が低下する結果、伝送効率を向上させることができる。
According to the
次に、エラーマップから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
ステップS102では、通信特性取得部23は、エラーマップからエラー率が閾値以上のデータのみを抽出する。これにより、小さなノイズ成分を除外する。すなわち、エラー率の低いノイズについては、FL制御の効果があまり期待できないので無視する。これにより、これ以降の処理が簡略化される。
In step S102, the communication
ステップS103では、通信特性取得部23は、ステップS102で抽出したデータについて、エラー率が閾値を超えている状態が連続している区間毎に、各区間のデータを特定するためのラベリングを行う。この場合、まず、各連続区間の終了点を検出する。すなわち、Z変動の回避のためには、特に変動の後ろ側が重要なので、終了点のタイミングを重視する。続いて、各連続区間について、区間内のエラー率の合計を算出し、合計が閾値(例えば定数)以下ならそのデータは除外する。これにより、インパルス性のノイズ成分を除去する。更に、各連続区間について、区間の幅(開始点から終了点までの時間幅)が閾値(例えば定数)以上なら開始点も検出する。これにより、変動幅が広いZ変動にも対応できる。なお、Z変動区間が多数ある場合には、終了点、開始点、その中間点の順に優先度をつける。
In step S103, the communication
ステップS104では、通信特性取得部23は、ステップS103で検出された各連続区間のデータを、終了点、開始点、その中間点の順に優先度に基づき並べ替える。
In step S104, the communication
ステップS105では、通信特性取得部23は、ステップS104で順位付けされた各連続区間のデータの中から、上位4番目までの終了点をFL制御用変化点として検出する。また、ここで検出されたFL制御用変化点についても、図16に示した処理と同様にタイミングの補正を実施してもよい。
In step S105, the communication
なお、ステップ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
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
具体的には、通信特性取得部23がトラヒック情報を収集し、通信フレーム制御部22が収集されたトラヒック情報に基づいて、フレーム長の制限機能のオンオフを判定する。
Specifically, the communication
例えば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
図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
すなわち、通信部24は、図18に示したように、互いに隣接する2つのビーコン信号の間で現れた他PLCモデムが送信したPLCフレームおよび自PLCモデムの相手先別のPLCフレームのPLCフレームの長さ(FL)の合計を検出する。更に、検出したFLの合計を閾値、例えば「600」と比較し、合計が閾値より大きい場合には混み合っている、合計が閾値未満である場合には空いていると判断する。そして(FLの合計>閾値)の場合はカウンタの値に1を加算し、(FLの合計≦閾値)の場合はカウンタの値から1を減算する。このカウンタは通信特性取得部23が備えている。
That is, as shown in FIG. 18, the
図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
このような処理を実行することで、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
なお、上述の実施の形態ではビーコン周期ごとのカウンタを設けることで、突発的なトラヒックの増減を緩和させることができる。一方でより簡易に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. (
一方、「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. (
なお、「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モデムの機能ブロックとを組み合わせたものとなる。
(Third embodiment)
Although the functional blocks of the
次に、本実施形態のPLCモデム100の主要な処理の内容について説明する。
本実施形態では、PLCモデム100は、サブキャリア周波数毎の一次変調方式の違いや、誤り訂正モードの他に、通信パラメータ設定部11が、通信特性を改善するために、様々な変更を行う。例えば、微妙な伝送特性の変化に対応するために、通信フレーム中にパイロットシンボルを挿入するか否か(パイロットシンボル:オン/オフ)を切り替える。また、PLCモデム100がパルス振幅変調(PAM)を採用する場合に、一度に何ビットを伝送するか(PAM:PAM制限無、Max8PAM、Max4PAM、Max)を切り替える。また、FL制御を行うか否か(FL制御:オン/オフ)を切り替える。
Next, contents of main processes of the
In this embodiment, the
図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
ステップS52では、比較部13は、図6のステップS17で得られた実効伝送レートR11と、ステップS51の実効伝送レートR21を比較する。R11がR21より大きい場合はステップS53に進み、これを満たさない場合はステップS54に進む。すなわち、新TMについてはPAM制限などのない最良の条件で、しかも再送率が0の場合を想定した最高の実効伝送レートR21でも、現行TMよりも通信性能が劣っている場合には、これ以降のトレーニングは不要なので、ステップS53に進む。
In step S52, the
ステップS53では、通信パラメータ設定部11は、通信部14が使用する通信パラメータとして、現行TMを採用する。
In step S53, the communication
ステップ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
ステップS56では、通信パラメータ設定部11は、第1条件トレーニング(ステップS54)の勝者である現行TMを、通信部14が使用する通信パラメータとして採用する。
In step S56, the communication
ステップ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
ステップS59では、比較部13は、新TMについて、PAM制限なしの場合の物理層レベルの伝送レート(PHY)と、最大8PAMに制限した場合の物理層レベルの伝送レート(PHY8)とを比較する。ステップS59の条件を満たす場合にはステップS62に進み、満たさない場合にはステップS60に進む。例えば、元々8PAM以下の条件しか存在しないTMの場合には、PAM制限しても伝送速度が変わらないので次のステップS60は省略する。
In step S59, for the new TM, the
ステップ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
ステップS62では、比較部13は、新TMについて、PAM制限なしの場合の物理層レベルの伝送レート(PHY)と、最大4PAMに制限した場合の物理層レベルの伝送レート(PHY4)とを比較する。ステップS62の条件を満たす場合にはステップS64に進み、満たさない場合にはステップS63に進む。例えば、元々4PAM以下の条件しか存在しないTMの場合には、PAM制限しても伝送速度が変わらないので次のステップS63は省略する。
In step S62, for the new TM, the
ステップ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
ステップS65では、通信パラメータ設定部11は、この処理の直前に実行したトレーニングにおける勝者のTM及び条件を通信部14の通信パラメータとして採用する。
In step S <b> 65, the communication
ステップS66では、通信フレーム制御部22は、この処理の直前に実行したトレーニングにおける勝者の条件が「FL制御オン」か否かを識別する。FL制御オンである場合にはステップS69に進み、それ以外ならステップS67に進む。
In step S66, the communication
ステップ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
ステップ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
ステップS71では、通信パラメータ設定部11は、トレーニングの結果として最終的に採用した通信パラメータにFL制御オンの条件が適用されているか否かを識別する。FL制御オフのTMを選択した場合には、次のステップS72に進む。
In step S71, the communication
ステップS72では、通信フレーム制御部22は、第2の実施形態で説明したエラーマップをリセットし、エラーマップを再構築するためのトリガを発生する。これにより、FL制御用変化点を検出する際にインパルス性ノイズが発生し、このノイズの影響を受けて検出されるFL制御用変化点に多少の揺らぎ等が生じ、エラーマップが正しい変化点を反映していない場合であっても、エラーマップを再構築することにより、FL制御を実施する場合の制御の精度を高めることができる。
In step S72, the communication
なお、第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モデム100が起動すると、PLCモデム100は、所定の初期化(ADJUST:第1の実施形態で説明した第4トレーニングに相当)を行った後、CE要求の送信(図6参照)およびそれに対するCERの受信(図6参照)を行い、CERに含まれる評価情報に基づいて新TMを生成する。
When the power is turned on and the
この後で、PLCモデム100は、現行TM、新TMを評価するためのトレーニングTR11を400〜1000msecの期間にわたって実施する。トレーニングTR11の内容については、図6および図7に示した内容とは少し異なっている。例えば、ステップS12に相当するデータ伝送の結果が得られる前にトレーニングを開始するので、現行TM、新TMを交互に切り替えながら、現行TMの再送率と新TMの再送率とを所定期間にわたって取得し、その結果を比較して、採用するTMを決定する。
Thereafter, the
同様に、PLCモデム100は、起動後例えば1sec経過後、3sec経過後、7sec経過後、・・・にCE要求の送信、それに対するCERの受信を行い、トレーニングTR12等により採用TMを決定する。このように、所定回数繰り返される(トレーニングTR12、TR13、TR14、・・・)。トレーニングTR12、TR13、TR14の内容はTR11と同じである。繰り返しの回数(4回)はあくまで例示である。これらが第1段階の流れである。
Similarly, the
なお、PLCモデム100の起動後10秒程度で通常のデータ送受信が可能な状態となる。
It should be noted that normal data transmission / reception is possible in about 10 seconds after the
また、トレーニング自体の長さは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モデム100は、起動後例えば21sec経過後に、CE要求/CER受信を行い、トレーニングTR21等により採用TMを決定する。このように、トレーニングは所定回数繰り返される(トレーニングTR22、・・・)。トレーニングTR21の内容はTR21と同じである。繰り返しの回数(2回)はあくまで例示である。これらが第2段階の流れである。
Similarly, the
また、第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 activation, the
同様に、PLCモデム100は、起動後例えば57sec経過後に、CE要求/CER受信を行い、トレーニングTR32等により採用TMを決定する。このように、トレーニングは所定回数繰り返される(トレーニングTR32、・・・)。トレーニングTR32の内容はTR31と同じである。繰り返しの回数(2回)はあくまで例示である。これらが第3段階の流れである。
Similarly, the
また、第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
なお、PLCモデム100は、FL制御のオンオフ判定を図23とは非同期で実施する。
Note that the
本発明は、伝送路状態が一定でない場合であっても、最適な通信特性を維持することができるとともに、伝送効率が低下することを防止可能な通信装置等に有用である。 INDUSTRIAL APPLICABILITY The present invention is useful for a communication apparatus that can maintain optimum communication characteristics even when the transmission path state is not constant and can prevent a decrease in transmission efficiency.
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
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
260
282 ADC IC
60
Claims (7)
前記データを格納する通信フレームを生成する通信フレーム生成部と、
前記伝送路の通信特性を取得する通信特性取得部と、
前記通信特性に基づいて、前記通信フレームのフレーム長を制御する通信フレーム制御部と
を備え、
前記通信特性取得部は、前記通信特性として前記電力線のインピーダンス変動に対応する情報を取得し、
前記通信フレーム制御部は、前記インピーダンス変動に対応する情報に基づいて、前記電力線のインピーダンスの変化点を複数推定し、隣接するインピーダンスの変化点間の距離に基づいて、前記隣接するインピーダンスの変化点の少なくとも一方の位置を補正し、補正されたインピーダンスの変化点に基づいて、前記通信フレームのフレーム長を制御する通信装置。 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 characteristic acquisition unit for acquiring communication characteristics of the transmission path;
A communication frame control unit that controls a frame length of the communication frame based on the communication characteristics ;
The communication characteristic acquisition unit acquires information corresponding to impedance fluctuation of the power line as the communication characteristic,
The communication frame control unit estimates a plurality of impedance change points of the power line based on information corresponding to the impedance variation, and based on a distance between adjacent impedance change points, the adjacent impedance change point. A communication device that corrects at least one of the positions and controls the frame length of the communication frame based on the corrected impedance change point .
前記伝送路は、電力線である
通信装置。 The communication device according to claim 1,
The transmission line is a power line.
前記通信特性取得部は、前記インピーダンス変動に対応する情報として、前記通信フレームを伝送した際の当該通信フレームにおける所定時間区間毎の伝送エラーに関する伝送エラー情報を取得し、
前記通信フレーム制御部は、前記伝送エラー情報に基づいて、前記インピーダンスの変化点を推定する
通信装置。 The communication device according to claim 1 or 2 ,
The communication characteristic acquisition unit acquires, as information corresponding to the impedance variation, transmission error information related to a transmission error for each predetermined time interval in the communication frame when the communication frame is transmitted,
The communication frame control unit estimates a change point of the impedance based on the transmission error information.
前記通信特性取得部は、前記伝送エラー情報を前記所定時間区間毎に蓄積し、
前記通信フレーム制御部は、前記伝送エラー情報の蓄積数が所定数以上である第1の時間区間と前記第1の時間区間よりも後の第2の時間区間を抽出し、前記第1の時間区間を前記電力線の第1のインピーダンスの変化点として、前記第2の時間区間を前記電力線の第2のインピーダンスの変化点として推定する
通信装置。 The communication device according to claim 3 ,
The communication characteristic acquisition unit accumulates the transmission error information for each predetermined time interval,
The communication frame control unit extracts a first time interval in which the accumulated number of transmission error information is a predetermined number or more and a second time interval after the first time interval, and extracts the first time interval. A communication device that estimates a section as a change point of the first impedance of the power line, and estimates the second time section as a change point of the second impedance of the power line.
前記通信フレーム制御部は、前記推定した第1のインピーダンスの変化点と前記第2のインピーダンスの変化点との距離に基づいて、前記推定したインピーダンスの変化点の位置を補正する
通信装置。 The communication device according to claim 4 ,
The communication frame control unit corrects a position of the estimated impedance change point based on a distance between the estimated first impedance change point and the second impedance change point .
前記データを格納する通信フレームを生成する通信フレーム生成ステップと、
前記伝送路の通信特性を取得する通信特性取得ステップと、
前記通信特性に基づいて、前記通信フレームのフレーム長を制御する通信フレーム制御ステップと、
を有し、
前記通信特性取得ステップでは、前記通信特性として前記電力線のインピーダンス変動に対応する情報を取得し、
前記通信フレーム制御ステップでは、前記インピーダンス変動に対応する情報に基づいて、前記電力線のインピーダンスの変化点を複数推定し、隣接するインピーダンスの変化点間の距離に基づいて、前記隣接するインピーダンスの変化点の少なくとも一方の位置を補正し、補正されたインピーダンスの変化点に基づいて、前記通信フレームのフレーム長を制御する通信方法。 A communication method for transmitting data to another communication device via a transmission line,
A communication frame generating step for generating a communication frame for storing the data ;
A communication characteristic acquisition step of acquiring communication characteristics of the transmission path ;
A communication frame control step for controlling a frame length of the communication frame based on the communication characteristics ;
Have
In the communication characteristic acquisition step, information corresponding to impedance fluctuation of the power line is acquired as the communication characteristic,
In the communication frame control step, a plurality of impedance change points of the power line are estimated based on information corresponding to the impedance variation, and the adjacent impedance change points are determined based on a distance between adjacent impedance change points. A communication method for correcting a frame length of the communication frame on the basis of a corrected impedance change point at least one of the positions .
前記データを格納する通信フレームを生成する通信フレーム生成部と、
前記伝送路の通信特性を取得する通信特性取得部と、
前記通信特性に基づいて、前記通信フレームのフレーム長を制御する通信フレーム制御部と
を備え、
前記通信特性取得部は、前記通信特性として前記電力線のインピーダンス変動に対応する情報を取得し、
前記通信フレーム制御部は、前記インピーダンス変動に対応する情報に基づいて、前記電力線のインピーダンスの変化点を複数推定し、隣接するインピーダンスの変化点間の距離に基づいて、前記隣接するインピーダンスの変化点の少なくとも一方の位置を補正し、補正されたインピーダンスの変化点に基づいて、前記通信フレームのフレーム長を制御する集積回路。 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 characteristic acquisition unit for acquiring communication characteristics of the transmission path;
A communication frame control unit that controls a frame length of the communication frame based on the communication characteristics;
The communication characteristic acquisition unit acquires information corresponding to impedance fluctuation of the power line as the communication characteristic,
The communication frame control unit estimates a plurality of impedance change points of the power line based on information corresponding to the impedance variation, and based on a distance between adjacent impedance change points, the adjacent impedance change point. An integrated circuit that corrects at least one of the positions and controls the frame length of the communication frame based on the corrected impedance change point .
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009007906A JP5328387B2 (en) | 2009-01-16 | 2009-01-16 | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND INTEGRATED CIRCUIT |
CN201080010537.6A CN102342058B (en) | 2009-01-16 | 2010-01-15 | Communication equipment, communication means 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 |
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 |
---|---|---|---|
JP2009007906A JP5328387B2 (en) | 2009-01-16 | 2009-01-16 | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND INTEGRATED CIRCUIT |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010166399A JP2010166399A (en) | 2010-07-29 |
JP5328387B2 true JP5328387B2 (en) | 2013-10-30 |
Family
ID=42582205
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009007906A Active JP5328387B2 (en) | 2009-01-16 | 2009-01-16 | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND INTEGRATED CIRCUIT |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5328387B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2012014502A1 (en) * | 2010-07-30 | 2013-09-12 | パナソニック株式会社 | COMMUNICATION METHOD, COMMUNICATION DEVICE, AND COMMUNICATION FRAME GENERATION METHOD |
US9667315B2 (en) * | 2012-09-05 | 2017-05-30 | Landis+Gyr Technologies, Llc | Power distribution line communications with compensation for post modulation |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1625713B1 (en) * | 2003-05-16 | 2011-11-09 | Panasonic Corporation | Packet classification and concatenation over power line communication systems |
JP2007258897A (en) * | 2006-03-22 | 2007-10-04 | Mitsubishi Electric Corp | Power line carrier communication apparatus, and frame |
JP2008010948A (en) * | 2006-06-27 | 2008-01-17 | Sony Corp | Power line communication system and method |
JP5448359B2 (en) * | 2007-05-30 | 2014-03-19 | パナソニック株式会社 | Power line communication method, power line communication apparatus, and power line communication system |
-
2009
- 2009-01-16 JP JP2009007906A patent/JP5328387B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2010166399A (en) | 2010-07-29 |
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 | |
US8036233B2 (en) | Power line communication apparatus, power line communication system, power line communication method and integrated circuit | |
US8369359B2 (en) | Communication device, communication method, and integrated circuit | |
US7729375B2 (en) | Power line communication apparatus and data relay method | |
KR101193811B1 (en) | Communication apparatus, integrated circuit, and communication method | |
JP4731991B2 (en) | Multi-carrier communication apparatus and multi-carrier communication method | |
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 | |
US20090097498A1 (en) | Communication method, communication apparatus, and integrated circuit | |
JP2010166400A (en) | Communication device, communication method, and integrated circuit | |
JP2008010948A (en) | Power line communication system and method | |
JP2010166398A (en) | Communication apparatus, communication method, and integrated circuit | |
EP1861934B1 (en) | Communication apparatus and communication method | |
EP3852278A1 (en) | Communication device and communication method | |
US9705721B2 (en) | Communication apparatus and communication method | |
WO2012014502A1 (en) | Communication method, communication apparatus, and communication frame generating method | |
JP2010288287A (en) | Method for power line communication, integrated circuit, and apparatus for power line communication |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120116 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130402 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130603 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20130625 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130723 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5328387 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |