JP2009130652A - System, method, and program for power line communication - Google Patents

System, method, and program for power line communication Download PDF

Info

Publication number
JP2009130652A
JP2009130652A JP2007303822A JP2007303822A JP2009130652A JP 2009130652 A JP2009130652 A JP 2009130652A JP 2007303822 A JP2007303822 A JP 2007303822A JP 2007303822 A JP2007303822 A JP 2007303822A JP 2009130652 A JP2009130652 A JP 2009130652A
Authority
JP
Japan
Prior art keywords
carriers
carrier
normal
data
encoded data
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
JP2007303822A
Other languages
Japanese (ja)
Inventor
Kenzo Nakamura
賢蔵 中村
Kazuyoshi Tasato
和義 田里
Eiichi Yamada
栄一 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Materials Corp
Original Assignee
Mitsubishi Materials Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Materials Corp filed Critical Mitsubishi Materials Corp
Priority to JP2007303822A priority Critical patent/JP2009130652A/en
Publication of JP2009130652A publication Critical patent/JP2009130652A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To efficiently perform communication with high communication quality even though a carrier in which notches occur changes or is different in each terminal in a power line communication system, or the like. <P>SOLUTION: A transmission terminal 1 and a reception terminal have a function for detecting the number of normally receivable carriers among N carriers between the transmission terminal 1 and the reception terminal as the number of normal carriers. The transmission terminal 1 has an encoding part 6 which makes the minimum number of set normal carriers among the numbers of normal carriers of a plurality of reception terminals be the number of set normal carriers, adds the number as the number of set normal carriers to a header part of packet data, allocates an error correction code obtained by changing the strength of error tolerance in accordance with the number of set normal carriers to one or a plurality of carriers selected in accordance with the number of set normal carriers and transmits the error correction code. The reception terminal 2 has a decoding part 7 which uses the error correction code to decode received encoded data on the basis of the number of set normal carriers added to the received header part. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、電力線を介して送信端末と受信端末との間でデータ通信を行う電力線通信システム、電力線通信方法及び電力線通信プログラムに関する。   The present invention relates to a power line communication system, a power line communication method, and a power line communication program for performing data communication between a transmission terminal and a reception terminal via a power line.

近年、家屋等の建物内や車両内に配線されている電力線を介して電気機器(電化製品など)間のデータ通信を行う電力線通信が検討され、一部実施されている。例えば、一般家屋に設置されるオーディオ機器等の電子機器間で、家屋内の電力線を用いてオーディオ信号や画像信号等のデータ通信を良好に行うことが研究されている。   In recent years, power line communication for performing data communication between electrical devices (such as electrical appliances) via a power line wired in a building such as a house or in a vehicle has been studied and partially implemented. For example, it has been studied to satisfactorily perform data communication such as an audio signal and an image signal between electronic devices such as audio devices installed in a general house using a power line in the house.

この電力線通信技術として、例えば特許文献1には、制御指令を送信するとき、制御指令に対応した周波数の組み合わせを選択して信号を送信するように構成された多重配電線搬送通信を用いた送受信装置が提案されている。これにより、ノイズが多い電力線を伝送路としても、制御情報伝達の時間遅れが短く、かつ耐ノイズ性に優れた通信を実現しようとしている。   As this power line communication technology, for example, in Patent Document 1, when transmitting a control command, transmission / reception using multiple distribution line carrier communication configured to select a combination of frequencies corresponding to the control command and transmit a signal is performed. A device has been proposed. As a result, even when a power line with a lot of noise is used as a transmission line, it is intended to realize communication with a short time delay of control information transmission and excellent noise resistance.

特開2003−188779号公報(特許請求の範囲、図1)Japanese Patent Laying-Open No. 2003-188779 (Claims, FIG. 1)

上記従来の技術には、以下の課題が残されている。
すなわち、電力線通信では、電力線に接続された他の電気機器の影響により、通信に使用する周波数の一部にノッチが発生し、通信品質を劣化させる原因となっている。特に、マルチキャリア通信を行う場合には、このノッチによりいくつかのキャリアに大きなバースト誤りが発生する問題がある。通常の符号化方式を用いてキャリア毎に符号化を行った場合、各キャリアのデータは同じキャリアのパリティから誤り訂正を行うことになるが、従来の符号化方式における誤り訂正能力を超えたバースト誤りが発生すると、そのキャリアにおけるデータについては、誤りを訂正することができない。
この対策としてノッチの発生するキャリアを避けて通信を行うことも考えられるが、ノッチにより誤りが発生するキャリアは他の電気機器の接続状況や設置場所などで変化し、予測が困難である。特に、複数の端末間で通信を行う場合、設置場所などにより誤りの発生するキャリアは端末毎に異なるため、各端末への同報通信などを行う場合には、端末毎に良好な通信品質を得ることが困難であった。
また、符号の順序を入れ替えると共に同じブロックのデータを分散させ、バースト誤りが1つのブロックに集中しないようにする、いわゆるインターリーブ技術と符号化とを組み合わせた方式でも、あるキャリアにおいて発生した大きなバースト誤りを訂正することは困難であった。
The following problems remain in the conventional technology.
That is, in power line communication, due to the influence of other electrical devices connected to the power line, a notch is generated in a part of the frequency used for communication, causing deterioration in communication quality. In particular, when performing multi-carrier communication, there is a problem that a large burst error occurs in some carriers due to this notch. When encoding is performed for each carrier using the normal encoding method, the data of each carrier is error-corrected from the parity of the same carrier, but the burst exceeds the error correction capability of the conventional encoding method. When an error occurs, the error cannot be corrected for the data in the carrier.
As a countermeasure against this, it is conceivable to perform communication while avoiding a carrier in which a notch is generated. However, a carrier in which an error occurs due to the notch varies depending on the connection status or installation location of other electric devices and is difficult to predict. In particular, when communicating between multiple terminals, the carrier in which an error occurs differs depending on the installation location, etc., so when performing broadcast communication to each terminal, good communication quality is achieved for each terminal. It was difficult to get.
In addition, a large burst error that occurs in a certain carrier even in a system that combines so-called interleaving technology and coding, in which the order of codes is changed and data in the same block is distributed so that burst errors are not concentrated in one block. It was difficult to correct.

本発明は、前述の課題に鑑みてなされたもので、ノッチが発生するキャリアが変化又は端末毎に異なっても高い通信品質で効率よく通信可能な電力線通信システム、電力線通信方法及び電力線通信プログラムを提供することを目的とする。   The present invention has been made in view of the above-described problems, and provides a power line communication system, a power line communication method, and a power line communication program capable of efficiently communicating with high communication quality even if a carrier in which a notch is generated changes or differs for each terminal. The purpose is to provide.

本発明は、前記課題を解決するために以下の構成を採用した。すなわち、本発明の電力線通信システムは、電力線を介してデータの送信可能な送信端末と受信可能な複数の受信端末との間で、N本のキャリアに送信データの符号化データを割り当てて通信を行う電力線通信システムであって、前記送信端末と前記受信端末とが、互いの間で前記N本のキャリアのうち正常に受信可能なキャリアの本数を正常キャリア本数として検出する機能を有し、前記送信端末が、前記複数の受信端末の正常キャリア本数のうち、最も少ない正常キャリア本数を設定正常キャリア本数とし、前記受信端末に対して送信するパケットデータのヘッダ部に前記設定正常キャリア本数として付加し、所定の演算で前記符号化データを復号化可能であると共に前記設定正常キャリア本数に応じて誤り耐性の強度を変更した誤り訂正符号を、前記設定正常キャリア本数に応じて選択した一つ又は複数の前記キャリアに割り当てて送信する符号化部を有し、前記受信端末が、受信した前記ヘッダ部に付加された前記設定正常キャリア本数に基づいて、受信した前記符号化データを前記誤り訂正符号を用いて復号化する復号化部を有することを特徴とする。   The present invention employs the following configuration in order to solve the above problems. That is, the power line communication system of the present invention performs communication by allocating encoded data of transmission data to N carriers between a transmission terminal capable of transmitting data and a plurality of reception terminals capable of receiving data via the power line. In the power line communication system to perform, the transmitting terminal and the receiving terminal have a function of detecting the number of normally receivable carriers among the N carriers as a normal carrier number among the N carriers, The transmitting terminal sets the smallest number of normal carriers among the number of normal carriers of the plurality of receiving terminals as the set normal carrier number, and adds it as the set normal carrier number to the header portion of packet data transmitted to the receiving terminal. In addition, the encoded data can be decoded by a predetermined calculation and the error correction strength is changed according to the set number of normal carriers. The set normal carrier that has a coding unit that assigns a code to one or a plurality of the carriers selected according to the set normal carrier number and transmits the code, and is added to the header unit received by the receiving terminal It has a decoding part which decodes the received said encoded data using the said error correction code based on the number.

また、本発明の電力線通信方法は、前記送信端末と前記受信端末とが、互いの間で前記N本のキャリアのうち正常に受信可能なキャリアの本数を正常キャリア本数として検出する検出ステップと、前記送信端末が、前記複数の受信端末の正常キャリア本数のうち、最も少ない正常キャリア本数を設定正常キャリア本数とし、前記受信端末に対して送信するパケットデータのヘッダ部に前記設定正常キャリア本数として付加し、所定の演算で前記符号化データを復号化可能であると共に前記設定正常キャリア本数に応じて誤り耐性の強度を変更した誤り訂正符号を、前記設定正常キャリア本数に応じて選択した一つ又は複数の前記キャリアに割り当てて送信する送信ステップと、前記受信端末が、受信した前記ヘッダ部に付加された前記設定正常キャリア本数に基づいて、受信した前記符号化データを前記誤り訂正符号を用いて復号化する受信ステップと、を有することを特徴とする。   Further, the power line communication method of the present invention is a detection step in which the transmitting terminal and the receiving terminal detect the number of carriers that can be normally received among the N carriers as the number of normal carriers, The transmitting terminal sets the smallest number of normal carriers among the number of normal carriers of the plurality of receiving terminals as the set normal carrier number and adds the set normal carrier number to the header portion of packet data transmitted to the receiving terminal. And one or more error-correcting codes that are capable of decoding the encoded data by a predetermined operation and whose error resilience strength is changed according to the set normal carrier number are selected according to the set normal carrier number or A transmission step of allocating and transmitting to the plurality of carriers, and the reception terminal adding the set correct value added to the received header portion. Based on the number of carriers, characterized in the encoded data received to have, a receiving step of decoding using the error correction code.

また、本発明の電力線通信プログラムは、電力線を介してデータの送信可能な送信端末と受信可能な複数の受信端末との間で、N本のキャリアを用いてこれらキャリアに送信データの符号化データを割り当てて通信を行う電力線通信プログラムであって、前記送信端末と前記受信端末とが、互いの間で前記N本のキャリアのうち正常に受信可能なキャリアの本数を正常キャリア本数として検出する検出ステップと、前記送信端末が、前記複数の受信端末の正常キャリア本数のうち、最も少ない正常キャリア本数を設定正常キャリア本数とし、前記受信端末に対して送信するパケットデータのヘッダ部に前記設定正常キャリア本数として付加し、所定の演算で前記符号化データを復号化可能であると共に前記設定正常キャリア本数に応じて誤り耐性の強度を変更した誤り訂正符号を、前記設定正常キャリア本数に応じて選択した一つ又は複数の前記キャリアに割り当てて送信する送信ステップと、前記受信端末が、受信した前記ヘッダ部に付加された前記設定正常キャリア本数に基づいて、受信した前記符号化データを前記誤り訂正符号を用いて復号化する受信ステップと、をコンピュータに実行させることを特徴とする。   Further, the power line communication program of the present invention uses encoded data of transmission data on these carriers using N carriers between a transmission terminal capable of transmitting data and a plurality of reception terminals capable of reception via the power line. Is a power line communication program for performing communication by allocating communication, wherein the transmitting terminal and the receiving terminal detect the number of normally receivable carriers among the N carriers as a normal carrier number among the N carriers And the setting normal carrier in a header part of packet data transmitted to the receiving terminal, wherein the transmitting terminal sets the smallest normal carrier number among the normal carrier numbers of the plurality of receiving terminals as the set normal carrier number. Added as a number, the encoded data can be decoded by a predetermined calculation, and an error occurs depending on the set number of normal carriers A transmission step of assigning and transmitting an error correction code having a modified strength to one or a plurality of the carriers selected according to the set number of normal carriers, and the receiving terminal is added to the received header portion Further, a reception step of decoding the received encoded data using the error correction code based on the set normal carrier number is executed by a computer.

これらの電力線通信システム、電力線通信方法及び電力線通信プログラムでは、設定正常キャリア本数に応じて誤り耐性の強度を変更した誤り訂正符号を、設定正常キャリア本数に応じて選択した一つ又は複数のキャリアに割り当てて送信するので、正しく受信できたキャリアの本数のみに依存すると共に誤り耐性の強度が変更可能な誤り訂正符号により、ノッチにより大きなバースト誤りが生じ、あるキャリアのデータ全てに誤りが発生したとしても、他の正しく受信できたキャリアからデータを訂正することができる。また、誤りが発生したキャリアが受信端末毎に異なっても、それぞれ正常なキャリアで受信した誤り訂正符号によって各受信端末において誤りを訂正することが可能になる。   In these power line communication system, power line communication method and power line communication program, an error correction code whose error resilience strength is changed according to the set normal carrier number is assigned to one or a plurality of carriers selected according to the set normal carrier number. Because the error correction code that depends on only the number of correctly received carriers and the error resilience strength can be changed, a large burst error occurs due to the notch, and an error occurs in all data of a certain carrier. However, it is possible to correct data from other correctly received carriers. Moreover, even if the carrier in which the error has occurred differs for each receiving terminal, it is possible to correct the error in each receiving terminal by using the error correction code received by each normal carrier.

また、電力線通信システムは、前記符号化部が、前記設定正常キャリア本数がN本の場合、前記符号化データを各キャリアに分割して割り当て、前記設定正常キャリア本数が(N−1)本の場合、前記符号化データを選択した1本を除く各キャリアに分割して割り当てると共に、前記選択した1本に前記誤り訂正符号を全て割り当て、前記設定正常キャリア本数が2本から(N−2)本の場合、前記符号化データを各キャリアにそれぞれ分割して割り当てると共に、各キャリアに前記誤り訂正符号を分割して付加し、前記設定正常キャリア本数が1本の場合、各キャリアの全てに同一の前記符号化データを割り当てて送信することを特徴とする。   In the power line communication system, when the set normal carrier number is N, the encoding unit divides and assigns the encoded data to each carrier, and the set normal carrier number is (N−1). In this case, the encoded data is divided and assigned to each carrier except the selected one, and the error correction code is allotted to the selected one, and the number of set normal carriers is changed from two (N-2) In this case, the encoded data is divided and assigned to each carrier, and the error correction code is divided and added to each carrier. When the number of set normal carriers is one, it is the same for all the carriers. The encoded data is allocated and transmitted.

また、本発明の電力線通信方法は、前記送信ステップで、前記送信端末が、前記設定正常キャリア本数がN本の場合、前記符号化データを各キャリアに分割して割り当て、前記設定正常キャリア本数が(N−1)本の場合、前記符号化データを選択した1本を除く各キャリアに分割して割り当てると共に、前記選択した1本に前記誤り訂正符号を全て割り当て、前記設定正常キャリア本数が2本から(N−2)本の場合、前記符号化データを各キャリアにそれぞれ分割して割り当てると共に、各キャリアに前記誤り訂正符号を分割して付加し、前記設定正常キャリア本数が1本の場合、各キャリアの全てに同一の前記符号化データを割り当てて送信することを特徴とする。   Also, in the power line communication method of the present invention, in the transmission step, when the set number of normal carriers is N, the transmitting terminal divides and assigns the encoded data to each carrier, and the set normal carrier number is In the case of (N-1), the encoded data is divided and assigned to each carrier except for the selected one, and all the error correction codes are assigned to the selected one, and the set number of normal carriers is 2. In the case of (N-2) books, the encoded data is divided and assigned to each carrier, and the error correction code is divided and added to each carrier, and the number of set normal carriers is one. The same encoded data is assigned to all of the carriers for transmission.

また、本発明の電力線通信プログラムは、前記送信ステップで、前記送信端末が、前記設定正常キャリア本数がN本の場合、前記符号化データを各キャリアに分割して割り当て、前記設定正常キャリア本数が(N−1)本の場合、前記符号化データを選択した1本を除く各キャリアに分割して割り当てると共に、前記選択した1本に前記誤り訂正符号を全て割り当て、前記設定正常キャリア本数が2本から(N−2)本の場合、前記符号化データを各キャリアにそれぞれ分割して割り当てると共に、各キャリアに前記誤り訂正符号を分割して付加し、前記設定正常キャリア本数が1本の場合、各キャリアの全てに同一の前記符号化データを割り当てて送信することを特徴とする。   In the power line communication program of the present invention, in the transmission step, when the number of set normal carriers is N, the transmitting terminal divides and assigns the encoded data to each carrier, and the set normal carrier number is In the case of (N-1), the encoded data is divided and assigned to each carrier except for the selected one, and all the error correction codes are assigned to the selected one, and the set number of normal carriers is 2. In the case of (N-2) books, the encoded data is divided and assigned to each carrier, and the error correction code is divided and added to each carrier, and the number of set normal carriers is one. The same encoded data is assigned to all of the carriers for transmission.

これらの電力線通信システム、電力線通信方法及び電力線通信プログラムでは、設定正常キャリア本数がN本の場合、N本のキャリアのうち全てを正常に受信可能なので、符号化データを各キャリアに分割して並列的に割り当てることで、誤り訂正符号を追加する必要が無いと共に、分割により各キャリアのデータ量を低減して、効率的な通信が可能になる。
また、設定正常キャリア本数が(N−1)本の場合、符号化データを選択した1本を除く各キャリアに分割して割り当てると共に、選択した1本に誤り訂正符号を全て割り当てるので、(N−1)本以上のキャリアを正常に受信できれば誤り訂正が可能になる。さらに、設定正常キャリア本数が2本から(N−2)本の場合、符号化データを各キャリアにそれぞれ分割して割り当てると共に、各キャリアに誤り訂正符号を分割して付加するので、設定正常キャリア本数以上のキャリアを正常に受信できれば誤り訂正が可能になる。これらの場合のように、誤り訂正符号を設定正常キャリア本数に応じてキャリアに配することで、各キャリアのデータ量を最低限に設定でき、効率的な通信が可能になる。
また、設定正常キャリア本数が1本の場合、各キャリアの全てに同一の符号化データを割り当てて送信するので、1本以上のキャリアで正常に受信できればよく、誤り訂正符号を追加する必要が無く、データの冗長化を抑制することができる。
このように、設定正常キャリア本数に応じて誤り訂正符号の追加及び符号化データの各キャリアへの配置を決定することで、データの冗長化を抑制して高信頼性で効率的な通信が可能になる。
In these power line communication system, power line communication method, and power line communication program, when the number of set normal carriers is N, all of the N carriers can be normally received. Therefore, the encoded data is divided into each carrier in parallel. Therefore, it is not necessary to add an error correction code, and the data amount of each carrier is reduced by the division, thereby enabling efficient communication.
When the number of set normal carriers is (N−1), the encoded data is divided and assigned to each carrier except the selected one, and all the error correction codes are assigned to the selected one. -1) Error correction is possible if more than one carrier can be received normally. Further, when the number of set normal carriers is from 2 to (N-2), the encoded data is divided and assigned to each carrier, and an error correction code is divided and added to each carrier. If more than the number of carriers can be normally received, error correction becomes possible. As in these cases, by arranging error correction codes on carriers according to the set number of normal carriers, the data amount of each carrier can be set to a minimum, and efficient communication becomes possible.
In addition, when the number of set normal carriers is one, the same encoded data is allocated and transmitted to all of the carriers, so it is only necessary to receive normally with one or more carriers, and there is no need to add an error correction code. Data redundancy can be suppressed.
In this way, by adding error correction codes and determining the arrangement of encoded data on each carrier according to the number of normal carriers set, data redundancy is suppressed and highly reliable and efficient communication is possible. become.

本発明によれば、以下の効果を奏する。
すなわち、本発明に係る電力線通信システム、電力線通信方法及び電力線通信プログラムによれば、設定正常キャリア本数に応じて誤り耐性の強度を変更した誤り訂正符号を、設定正常キャリア本数に応じて選択した一つ又は複数のキャリアに割り当てて送信するので、大きなバースト誤りを訂正可能であると共に、効率的な通信で受信端末毎に誤り訂正が可能となる。したがって、複数の受信端末に対する同報通信などの場合でも、各受信端末においてノッチやバースト誤りに対して高い信頼性を有すると共に効率的な通信が可能になる。
The present invention has the following effects.
That is, according to the power line communication system, the power line communication method, and the power line communication program according to the present invention, the error correction code whose error resilience strength is changed according to the set normal carrier number is selected according to the set normal carrier number. Since transmission is performed by allocating to one or a plurality of carriers, it is possible to correct a large burst error and to perform error correction for each receiving terminal through efficient communication. Therefore, even in the case of broadcast communication to a plurality of receiving terminals, each receiving terminal has high reliability with respect to notches and burst errors and can perform efficient communication.

以下、本発明に係る電力線通信システム、電力線通信方法及び電力線通信プログラムの一実施形態を、図1から図10を参照しながら説明する。   Hereinafter, an embodiment of a power line communication system, a power line communication method, and a power line communication program according to the present invention will be described with reference to FIGS.

本実施形態の電力線通信システムは、図1に示すように、家屋内などに配線され各電気機器に電力を供給する電力線Lと、電力線Lを介してデータの送受信可能な送信端末1と、電力線Lを介してデータの送受信可能な複数の受信端末2と、を備え、送信端末1と受信端末2との間で、N本の異なるキャリア周波数に割り振られた各キャリア(搬送波)に送信データの符号化データを割り当てて通信を行う、いわゆるマルチキャリア通信方式を用いた通信システムである。   As shown in FIG. 1, the power line communication system of the present embodiment includes a power line L that is wired in a house or the like and supplies power to each electrical device, a transmission terminal 1 that can transmit and receive data via the power line L, and a power line. A plurality of receiving terminals 2 capable of transmitting and receiving data via L, and transmitting data is transmitted to each carrier (carrier wave) allocated to N different carrier frequencies between the transmitting terminal 1 and the receiving terminal 2. This is a communication system using a so-called multi-carrier communication method in which encoded data is allocated and communication is performed.

上記送信端末1及び受信端末2は、電力線Lから駆動のための電力が供給されている。
上記送信端末1と受信端末2とは、互いの間でN本のキャリアのうち正常に受信可能なキャリアの本数を「正常キャリア本数」として検出する機能を有している。
すなわち、送信端末1は、誤り検出を行うため巡回符号としてCRC(Cyclic Redundancy Checking)符号を付加した誤り検出用データをN本の各キャリアで電力線Lを介して受信端末2に送信する誤り検出用データ送信部3を備えている。
The transmission terminal 1 and the reception terminal 2 are supplied with power for driving from the power line L.
The transmission terminal 1 and the reception terminal 2 have a function of detecting the number of normally receivable carriers among the N carriers as the “normal carrier number”.
That is, the transmission terminal 1 transmits error detection data, to which a CRC (Cyclic Redundancy Checking) code is added as a cyclic code to perform error detection, to the reception terminal 2 via the power line L on each of N carriers. A data transmission unit 3 is provided.

また、受信端末2は、送信端末1から電力線Lを介して送信される誤り検出用データを受信し、正常に受信したキャリアの本数情報を「正常キャリア本数」として送信端末1へ電力線Lを介して送信する正常キャリア本数送信部4を備えている。
さらに、送信端末1は、各受信端末2から正常キャリア本数を受信し、その中で最も正常キャリア本数の少ないものをデータ通信用としての「設定正常キャリア本数」とする正常キャリア本数設定部5を備えている。
Further, the receiving terminal 2 receives the error detection data transmitted from the transmitting terminal 1 via the power line L, and sets the number of normally received carriers as “normal carrier number” to the transmitting terminal 1 via the power line L. The normal carrier number transmission unit 4 is provided.
Further, the transmitting terminal 1 receives the number of normal carriers from each receiving terminal 2, and sets the normal carrier number setting unit 5 that sets the smallest number of normal carriers among them as the “set normal carrier number” for data communication. I have.

また、送信端末1は、受信端末2に対して送信するパケットデータのヘッダ部に設定正常キャリア本数として付加し、所定の演算で符号化データを復号化可能であると共に設定正常キャリア本数に応じて誤り耐性の強度を変更した誤り訂正符号を、設定正常キャリア本数に応じて選択した一つ又は複数のキャリアに割り当てて送信する符号化部6を備えている。
さらに、受信端末2は、受信したヘッダ部に付加された設定正常キャリア本数に基づいて、受信した符号化データを誤り訂正符号を用いて復号化する復号化部7を備えている。また、受信端末2は、復号化部7で復号化したデータの再生を行うデータ再生部8を備えている。
Further, the transmission terminal 1 adds the number of set normal carriers to the header portion of the packet data transmitted to the reception terminal 2 and can decode the encoded data by a predetermined calculation and according to the set number of normal carriers. There is provided an encoding unit 6 that allocates and transmits an error correction code whose error resilience strength has been changed to one or a plurality of carriers selected according to the set number of normal carriers.
Furthermore, the receiving terminal 2 includes a decoding unit 7 that decodes received encoded data using an error correction code based on the number of set normal carriers added to the received header. The receiving terminal 2 includes a data reproducing unit 8 that reproduces the data decoded by the decoding unit 7.

上記符号化部6は、設定正常キャリア本数がN本の場合、符号化データを各キャリアに分割して割り当て、設定正常キャリア本数が(N−1)本の場合、符号化データを選択した1本を除く各キャリアに分割して割り当てると共に、選択した1本に誤り訂正符号を全て割り当て、設定正常キャリア本数が2本から(N−2)本の場合、符号化データを各キャリアにそれぞれ分割して割り当てると共に、各キャリアに誤り訂正符号を分割して付加し、設定正常キャリア本数が1本の場合、各キャリアの全てに同一の符号化データを割り当てて送信する。   The encoding unit 6 divides and assigns encoded data to each carrier when the number of set normal carriers is N, and selects the encoded data when the number of set normal carriers is (N−1) 1 In addition to dividing and assigning to each carrier except for one, all error correction codes are assigned to the selected one, and when the number of set normal carriers is from 2 to (N-2), the encoded data is divided into each carrier. In addition, the error correction code is divided and added to each carrier, and when the number of set normal carriers is 1, the same encoded data is assigned to all the carriers and transmitted.

なお、本電力線通信システムにおけるデータの各処理部、すなわち誤り検出用データ送信部3、正常キャリア本数設定部5、符号化部6、正常キャリア本数送信部4、復号化部7等は、専用のハードウェアにより実現されるものであってもよく、また、各処理部はコンピュータシステムとしてメモリ及びCPU(中央集積装置)により構成され、各処理部の機能及び後述する本実施形態の電力線通信方法を実現するためのプログラムをメモリにロードして実行することによりその機能を実現させるものであってもよい。   Note that each processing unit of data in the power line communication system, that is, the error detection data transmission unit 3, the normal carrier number setting unit 5, the encoding unit 6, the normal carrier number transmission unit 4, the decoding unit 7, and the like are dedicated. Each processing unit may be realized by hardware, and each processing unit is configured by a memory and a CPU (central integrated device) as a computer system. The function of each processing unit and the power line communication method of the present embodiment to be described later will be described. The function may be realized by loading a program for realizing into a memory and executing the program.

すなわち、上記プログラムは、コンピュータ読み取り可能なプログラムであり、前述した機能及び後述する電力線通信方法の一部を実現するためであってもよい。
さらに、上記プログラムは、前述した機能をコンピュータシステムに既に記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であってもよい。
That is, the program is a computer-readable program, and may be for realizing a part of the above-described functions and a power line communication method described later.
Furthermore, the program may be a so-called difference file (difference program) that can realize the above-described functions in combination with a program already recorded in the computer system.

また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから伝送媒体を介して、あるいは伝送媒体中の伝送波により他のコンピュータシステムに伝送されるものであってもよい。上記伝送媒体とは、インターネット等のネットワーク(通信網)や電力線、電話回線等の通信回線(通信線)のように、情報を伝送する機能を有する媒体をいうものとする。
また、上記メモリは、ハードディスク装置や光磁気ディスク装置、フラッシュメモリ等の不揮発性のメモリや、CD−ROM等の読み出しのみが可能な記録媒体、RAM(Random Access Memory)のような揮発性のメモリ或いはこれらの組み合わせによるコンピュータ読み取り、書き込み可能な記録媒体より構成されるものとする。
The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. The transmission medium refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a power line or a telephone line.
The memory includes a nonvolatile memory such as a hard disk device, a magneto-optical disk device, and a flash memory, a recording medium such as a CD-ROM that can only be read, and a volatile memory such as a RAM (Random Access Memory). Or it shall consist of a computer-readable recording medium by these combination, and a writable recording medium.

次に、本実施形態の電力線通信システムによる電力線通信方法について、図2から図10を参照しながら説明する。なお、図2は、本実施形態の電力線通信システムの動作を示すシーケンスのフロー図である。   Next, the power line communication method by the power line communication system of this embodiment is demonstrated, referring FIGS. 2-10. FIG. 2 is a sequence flowchart showing the operation of the power line communication system of the present embodiment.

始めに、送信端末1の誤り検出用データ送信部3は、図2に示すように、誤り検出用データをN本の各キャリアで電力線Lを介して各受信端末2に対して送信する(ステップS01)。
各受信端末2の正常キャリア本数送信部4は、各キャリアの誤り検出用データを電力線Lを介して受信し、正常に誤り検出用データを受信できたキャリアの本数を検出すると共にこれを「正常キャリア本数」とする(ステップS02)。さらに、正常キャリア本数送信部4は、「正常キャリア本数」を電力線Lを介して送信端末1へ送信する(ステップS03)。
First, as shown in FIG. 2, the error detection data transmission unit 3 of the transmission terminal 1 transmits the error detection data to each reception terminal 2 via the power line L using N carriers (Step S1). S01).
The normal carrier number transmission unit 4 of each receiving terminal 2 receives the error detection data of each carrier via the power line L, detects the number of carriers that have successfully received the error detection data, The number of carriers ”(step S02). Furthermore, the normal carrier number transmission unit 4 transmits “normal carrier number” to the transmission terminal 1 via the power line L (step S03).

送信端末1の正常キャリア本数設定部5は、各受信端末2から送られた「正常キャリア本数」を電力線Lを介して受信し、最も少ない「正常キャリア本数」を選択し、これを各受信端末2へデータを送信する際の「設定正常キャリア本数」に設定する(ステップS04)。
次に、送信端末1の符号化部6は、送信データのパケットにおけるヘッダ部に「設定正常キャリア本数」を記述し、この「設定正常キャリア本数」に基づいて送信データの符号化処理を行う(ステップS05)。
The normal carrier number setting unit 5 of the transmitting terminal 1 receives the “normal carrier number” sent from each receiving terminal 2 via the power line L, selects the smallest “normal carrier number”, and receives this from each receiving terminal. 2 is set to the “set number of normal carriers” when transmitting data to 2 (step S04).
Next, the encoding unit 6 of the transmission terminal 1 describes “set normal carrier number” in the header portion of the transmission data packet, and performs transmission data encoding processing based on this “set normal carrier number” ( Step S05).

上記符号化処理を以下に具体的に説明する。
送信データ及び符号化データは、以下のように表される。
送信データ:D[x]、x=0〜(データ長−1)
符号化データ:C[i,j]、i:0〜(キャリア数−1,j:0〜(キャリア長−1)
ここで、D[I]は、送信データのI番目の要素を示し、C[i,j]は、キャリアの番号(以下、単に「キャリア番号」とも称す)iにおけるj番目の要素を示す。例えば、図3の(a)に示す送信データは、図3の(b)に示す8本のキャリア(キャリア番号0〜7)に分割して割り振られた符号化データとされる。
The encoding process will be specifically described below.
Transmission data and encoded data are expressed as follows.
Transmission data: D [x], x = 0 to 0 (data length-1)
Encoded data: C [i, j], i: 0 to (number of carriers-1, j: 0 to (carrier length-1)
Here, D [I] indicates the I-th element of the transmission data, and C [i, j] indicates the j-th element in the carrier number (hereinafter, also simply referred to as “carrier number”) i. For example, the transmission data shown in (a) of FIG. 3 is encoded data allocated by being divided into eight carriers (carrier numbers 0 to 7) shown in (b) of FIG.

符号化部6は、設定正常キャリア本数がN本の場合、図4に示すように、符号化データを各キャリアに分割して並列に割り当てる(N Good Channel Algorithm)。この際、送信データと各キャリアの要素との関係式は、以下のように設定される。なお、Nはキャリア番号であり、Lはキャリア長である。
C[i,j]= D[N*j+i] 0≦i≦N−1, 0≦j≦L−1
When the set number of normal carriers is N, the encoding unit 6 divides the encoded data into each carrier and assigns them in parallel as shown in FIG. 4 (N Good Channel Algorithm). At this time, the relational expression between the transmission data and each carrier element is set as follows. N is a carrier number and L is a carrier length.
C [i, j] = D [N * j + i] 0 ≦ i ≦ N−1, 0 ≦ j ≦ L−1

この設定正常キャリア本数がN本の場合、N本のキャリアのうち全てを正常に受信可能なので、符号化データを各キャリアに分割して並列的に割り当てることで、誤り訂正符号を追加する必要が無いと共に、分割により各キャリアのデータ量を低減して、効率的な通信が可能になる。   When the number of set normal carriers is N, all of the N carriers can be normally received. Therefore, it is necessary to add an error correction code by dividing the encoded data into each carrier and assigning them in parallel. In addition, the data amount of each carrier is reduced by dividing, and efficient communication becomes possible.

また、設定正常キャリア本数が(N−1)本の場合、図5に示すように、符号化データを選択した1本を除く各キャリアに分割して割り当てると共に、選択した1本に誤り訂正符号を全て割り当てる(N−1 Good Channel Algorithm)。例えば、N−1バイトの送信データにつき、1バイトのパリティを誤り訂正符号として付加する。この際、送信データと各キャリアの要素との関係式は、以下のように設定される。
C[i,j]=D[(N−1)*j+i]
0≦i≦N−2, 0≦j≦L−1
C[N−1,j]=P[N−1,j]=C[0,j]^C[1,j]^・・・・^C[N−2,0]
また、パリティは、以下の演算により決定される。
P[0]=C[0,0]^C[1,0]^C[2,0]^C[3,0]^C[4,0]^C[5,0]^C[6,0]
(^:XOR演算)
When the number of set normal carriers is (N-1), as shown in FIG. 5, the encoded data is divided and assigned to each carrier except the selected one, and the error correction code is assigned to the selected one. (N-1 Good Channel Algorithm). For example, 1-byte parity is added as an error correction code for N-1 bytes of transmission data. At this time, the relational expression between the transmission data and each carrier element is set as follows.
C [i, j] = D [(N-1) * j + i]
0≤i≤N-2, 0≤j≤L-1
C [N-1, j] = P [N-1, j] = C [0, j] ^ C [1, j] ^ ... ^ C [N-2,0]
The parity is determined by the following calculation.
P [0] = C [0,0] ^ C [1,0] ^ C [2,0] ^ C [3,0] ^ C [4,0] ^ C [5,0] ^ C [6 , 0]
(^: XOR operation)

この設定正常キャリア本数が(N−1)本の場合、符号化データを選択した1本を除く各キャリアに分割して割り当てると共に、選択した1本に誤り訂正符号を全て割り当てるので、(N−1)本以上のキャリアを正常に受信できれば誤り訂正が可能になる。   When the set number of normal carriers is (N−1), the encoded data is divided and assigned to each carrier except the selected one, and all error correction codes are assigned to the selected one. 1) Error correction is possible if more than one carrier can be received normally.

さらに、設定正常キャリア本数が2本から(N−2)本の場合、図6に示すように、符号化データを各キャリアにそれぞれ分割して割り当てると共に、各キャリアに誤り訂正符号を分割して付加する(N−2 Good Channel Algorithm)。
すなわち、設定正常キャリア本数がN−2本の場合、例えば、2Nバイトの送信データにつき、Nバイトのパリティ(Pxxx)を誤り訂正符号として付加する。この際、送信データと各キャリアの要素との関係式は、以下のように設定される。
C[i,3*j]=D[N*2j+i]
0≦i≦N−1, 0≦j≦L/3−1
C[i,3*j+1]=D[N*(2j+1)+i]
C[i,3*j+2]=P[i,3*j+2]
=C[5+i,3*j]^C[7+i,3*j]^C[3+i,3*j+1]^C[6+i,3*j+1]
ただし、C[i,j]において、i≧Nのときはi=i−Nとする。
Further, when the number of set normal carriers is from 2 to (N−2), as shown in FIG. 6, the encoded data is divided and assigned to each carrier, and the error correction code is divided to each carrier. (N-2 Good Channel Algorithm).
That is, when the set number of normal carriers is N-2, for example, N-byte parity (Pxxx) is added as an error correction code for 2N-byte transmission data. At this time, the relational expression between the transmission data and each carrier element is set as follows.
C [i, 3 * j] = D [N * 2j + i]
0 ≦ i ≦ N−1, 0 ≦ j ≦ L / 3-1
C [i, 3 * j + 1] = D [N * (2j + 1) + i]
C [i, 3 * j + 2] = P [i, 3 * j + 2]
= C [5 + i, 3 * j] ^ C [7 + i, 3 * j] ^ C [3 + i, 3 * j + 1] ^ C [6 + i, 3 * j + 1]
However, in C [i, j], when i ≧ N, i = i−N.

また、パリティは、以下の演算により決定される。
P[0,2]=C[5+0,3*0]^C[7+0,3*0]^C[3+0,3*0+1]^C[6+0,3*0+1]
=C[5,0]^C[7,0]^C[3,1]^C[6,1]
P[1,2]=C[5+1,3*0]^C[7+1,3*0]^C[3+1,3*0+1]^C[6+1,3*0+1]
=C[6,0]^C[8,0]^C[4,1]^C[7,1]
P[2,2]=C[5+2,3*0]^C[7+2,3*0]^C[3+2,3*0+1]^C[6+2,3*0+1]
=C[7,0]^C[1,0]^C[5,1]^C[0,1]




P[7,2]=C[5+7,3*0]^C[7+7,3*0]^C[3+7,3*0+1]^C[6+7,3*0+1]
=C[4,0]^C[6,0]^C[2,1]^C[5,1]
The parity is determined by the following calculation.
P [0,2] = C [5 + 0,3 * 0] ^ C [7 + 0,3 * 0] ^ C [3 + 0,3 * 0 + 1] ^ C [6 + 0,3 * 0 + 1]
= C [5,0] ^ C [7,0] ^ C [3,1] ^ C [6,1]
P [1,2] = C [5 + 1,3 * 0] ^ C [7 + 1,3 * 0] ^ C [3 + 1,3 * 0 + 1] ^ C [6 + 1,3 * 0 + 1]
= C [6,0] ^ C [8,0] ^ C [4,1] ^ C [7,1]
P [2,2] = C [5 + 2,3 * 0] ^ C [7 + 2,3 * 0] ^ C [3 + 2,3 * 0 + 1] ^ C [6 + 2,3 * 0 + 1]
= C [7,0] ^ C [1,0] ^ C [5,1] ^ C [0,1]




P [7,2] = C [5 + 7,3 * 0] ^ C [7 + 7,3 * 0] ^ C [3 + 7,3 * 0 + 1] ^ C [6 + 7,3 * 0 + 1]
= C [4,0] ^ C [6,0] ^ C [2,1] ^ C [5,1]

設定正常キャリア本数がN−3本の場合、図7に示すように、例えば、8バイトの送信データにつき、Nバイトのパリティを誤り訂正符号として付加する(N−3 Good Channel Algorithm)。この際、送信データと各キャリアの要素との関係式は、以下のように設定される。
C[i,2*j]=D[N*j+i]
0≦i≦N−1, 0≦j≦L/2−1
C[i,2*j+1]=P[i,2*j+1]
=C[1+i,2*j]^C[2+i,2*j]^C[4+i,2*j]
ただし、C[i,j]において、i≧Nのときはi=i−Nとする。
When the set number of normal carriers is N-3, as shown in FIG. 7, for example, N-byte parity is added as an error correction code for 8-byte transmission data (N-3 Good Channel Algorithm). At this time, the relational expression between the transmission data and each carrier element is set as follows.
C [i, 2 * j] = D [N * j + i]
0 ≦ i ≦ N−1, 0 ≦ j ≦ L / 2-1
C [i, 2 * j + 1] = P [i, 2 * j + 1]
= C [1 + i, 2 * j] ^ C [2 + i, 2 * j] ^ C [4 + i, 2 * j]
However, in C [i, j], when i ≧ N, i = i−N.

また、パリティは、以下の演算により決定される。
P[0,1]=C[1+0,2*0]^C[2+0,2*0]^C[4+0,2*0]
=C[1,0]^C[2,0]^C[4,0]
P[1,1]=C[1+1,2*0]^C[2+1,2*0]^C[4+1,2*0]
=C[2,0]^C[3,0]^C[5,0]
P[2,1]=C[1+2,2*0]^C[2+2,2*0]^C[4+2,2*0]
=C[3,0]^C[4,0]^C[6,0]




P[7,1]=C[1+7,2*0]^C[2+7,2*0]^C[4+7,2*0 ]
=C[0,0]^C[1,0]^C[3,0]
The parity is determined by the following calculation.
P [0,1] = C [1 + 0,2 * 0] ^ C [2 + 0,2 * 0] ^ C [4 + 0,2 * 0]
= C [1,0] ^ C [2,0] ^ C [4,0]
P [1,1] = C [1 + 1,2 * 0] ^ C [2 + 1,2 * 0] ^ C [4 + 1,2 * 0]
= C [2,0] ^ C [3,0] ^ C [5,0]
P [2,1] = C [1 + 2,2 * 0] ^ C [2 + 2,2 * 0] ^ C [4 + 2,2 * 0]
= C [3,0] ^ C [4,0] ^ C [6,0]




P [7,1] = C [1 + 7,2 * 0] ^ C [2 + 7,2 * 0] ^ C [4 + 7,2 * 0]
= C [0,0] ^ C [1,0] ^ C [3,0]

設定正常キャリア本数がN−4本の場合、図8に示すように、例えば、2Nバイトの送信データにつき、3Nバイトのパリティを誤り訂正符号として付加する(N−4 Good Channel Algorithm)。この際、送信データと各キャリアの要素との関係式は、以下のように設定される。
C[i,5*j]=D[N*2j+i]
0≦i≦N−1, 0≦j≦L/5−1
C[i,5*j+1]=D[N*(2j+1)+i]
C[i,5*j+2]=P[i,5*j+2]
=C[5+i,5*j]^C[4+i,5*j+1]
C[i,5*j+3]=P[i,5*j+3]
=C[1+i,5*j]^C[2+i,5*j]^C[3+i,5*j+1]
C[i,5*j+4]=P[i,5*j+4]
=C[4+i,5*j]^C[5+i,5*j+1]^C[6+i,5*j+1]
ただし、C[i,j]において、i≧Nのときはi=i−Nとする。
When the set number of normal carriers is N-4, as shown in FIG. 8, for example, 3N bytes of parity are added as error correction codes for 2N bytes of transmission data (N-4 Good Channel Algorithm). At this time, the relational expression between the transmission data and each carrier element is set as follows.
C [i, 5 * j] = D [N * 2j + i]
0 ≦ i ≦ N−1, 0 ≦ j ≦ L / 5-1
C [i, 5 * j + 1] = D [N * (2j + 1) + i]
C [i, 5 * j + 2] = P [i, 5 * j + 2]
= C [5 + i, 5 * j] ^ C [4 + i, 5 * j + 1]
C [i, 5 * j + 3] = P [i, 5 * j + 3]
= C [1 + i, 5 * j] ^ C [2 + i, 5 * j] ^ C [3 + i, 5 * j + 1]
C [i, 5 * j + 4] = P [i, 5 * j + 4]
= C [4 + i, 5 * j] ^ C [5 + i, 5 * j + 1] ^ C [6 + i, 5 * j + 1]
However, in C [i, j], when i ≧ N, i = i−N.

また、パリティは、以下の演算により決定される。
P[0,2]=C[5+0,5*0]^C[4+0,5*0+1]
=C[5,0]^C[4,1]
P[1,2]=C[5+1,5*0]^C[4+1,5*0+1]
=C[6,0]^C[5,1]
P[2,2]=C[5+2,5*0]^C[4+2,5*0+1]
=C[7,0]^C[6,1]



P[7,2]=C[5+7,5*0]^C[4+7,5*0+1]
=C[4,0]^C[3,1]
P[0,3]=C[1+0,5*0]^C[2+0,5*0]^C[3+0,5*0+1]
=C[1,0]^C[2,0]^C[3,1]
P[1,3]=C[1+1,5*0]^C[2+1,5*0]^C[3+1,5*0+1]
=C[2,0]^C[3,0]^C[4,1]
P[2,3]=C[1+2,5*0]^C[2+2,5*0]^C[3+2,5*0+1]
=C[3,0]^C[4,0]^C[5,1]



P[7,3]=C[1+7,5*0]^C[2+7,5*0]^C[3+7,5*0+1]
=C[0,0]^C[1,0]^C[2,1]
P[0,4]=C[4+0,5*0]^C[5+0,5*0+1]^C[6+0,5*0+1]
=C[4,0]^C[5,1]^C[6,1]
P[1,4]=C[4+1,5*0]^C[5+1,5*0+1]^C[6+1,5*0+1]
=C[5,0]^C[6,1]^C[7,1]
P[2,4]=C[4+2,5*0]^C[5+3,5*0+1]^C[6+4,5*0+1]
=C[6,0]^C[7,1]^C[8,1]



P[7,4]=C[4+7,5*0]^C[5+7,5*0+1]^C[6+7,5*0+1]
=C[3,0]^C[4,1]^C[5,1]
The parity is determined by the following calculation.
P [0,2] = C [5 + 0,5 * 0] ^ C [4 + 0,5 * 0 + 1]
= C [5,0] ^ C [4,1]
P [1,2] = C [5 + 1,5 * 0] ^ C [4 + 1,5 * 0 + 1]
= C [6,0] ^ C [5,1]
P [2,2] = C [5 + 2,5 * 0] ^ C [4 + 2,5 * 0 + 1]
= C [7,0] ^ C [6,1]



P [7,2] = C [5 + 7,5 * 0] ^ C [4 + 7,5 * 0 + 1]
= C [4,0] ^ C [3,1]
P [0,3] = C [1 + 0,5 * 0] ^ C [2 + 0,5 * 0] ^ C [3 + 0,5 * 0 + 1]
= C [1,0] ^ C [2,0] ^ C [3,1]
P [1,3] = C [1 + 1,5 * 0] ^ C [2 + 1,5 * 0] ^ C [3 + 1,5 * 0 + 1]
= C [2,0] ^ C [3,0] ^ C [4,1]
P [2,3] = C [1 + 2,5 * 0] ^ C [2 + 2,5 * 0] ^ C [3 + 2,5 * 0 + 1]
= C [3,0] ^ C [4,0] ^ C [5,1]



P [7,3] = C [1 + 7,5 * 0] ^ C [2 + 7,5 * 0] ^ C [3 + 7,5 * 0 + 1]
= C [0,0] ^ C [1,0] ^ C [2,1]
P [0,4] = C [4 + 0,5 * 0] ^ C [5 + 0,5 * 0 + 1] ^ C [6 + 0,5 * 0 + 1]
= C [4,0] ^ C [5,1] ^ C [6,1]
P [1,4] = C [4 + 1,5 * 0] ^ C [5 + 1,5 * 0 + 1] ^ C [6 + 1,5 * 0 + 1]
= C [5,0] ^ C [6,1] ^ C [7,1]
P [2,4] = C [4 + 2,5 * 0] ^ C [5 + 3,5 * 0 + 1] ^ C [6 + 4,5 * 0 + 1]
= C [6,0] ^ C [7,1] ^ C [8,1]



P [7,4] = C [4 + 7,5 * 0] ^ C [5 + 7,5 * 0 + 1] ^ C [6 + 7,5 * 0 + 1]
= C [3,0] ^ C [4,1] ^ C [5,1]

設定正常キャリア本数がN−5本の場合、図9に示すように、例えば、2Nバイトの送信データにつき、4Nバイトのパリティを誤り訂正符号として付加する(N−5 Good Channel Algorithm)。この際、送信データと各キャリアの要素との関係式は、以下のように設定される。
C[i,6*j]=D[N*2j+i]
0≦i≦N−1, 0≦j≦L/6−1
C[i,6*j+1]=D[N*(2j+1)+i]
C[i,6*j+2]=P[i,6*j+2]
=C[5+i,6*j]^C[4+i,6*j+i]
C[i,6*j+3]=P[i,6*j+3]
=C[1+i,6*j]^C[2+i,6*j]^C[3+i,6*j+1]
C[i,6*j+4]=P[i,6*j+4]
=C[4+i,6*j]^C[5+i,6*j+1]^C[6+i,6*j+1]
C[i,6*j+5]=P[i,6*j+5]
=C[6+i,6*j]^C[1+i,6*j+1]
ただし、C[i,j]において、i≧8のときはi=i−8とする。
When the set number of normal carriers is N-5, as shown in FIG. 9, for example, 4N bytes of parity are added as error correction codes for 2N bytes of transmission data (N-5 Good Channel Algorithm). At this time, the relational expression between the transmission data and each carrier element is set as follows.
C [i, 6 * j] = D [N * 2j + i]
0 ≦ i ≦ N−1, 0 ≦ j ≦ L / 6-1
C [i, 6 * j + 1] = D [N * (2j + 1) + i]
C [i, 6 * j + 2] = P [i, 6 * j + 2]
= C [5 + i, 6 * j] ^ C [4 + i, 6 * j + i]
C [i, 6 * j + 3] = P [i, 6 * j + 3]
= C [1 + i, 6 * j] ^ C [2 + i, 6 * j] ^ C [3 + i, 6 * j + 1]
C [i, 6 * j + 4] = P [i, 6 * j + 4]
= C [4 + i, 6 * j] ^ C [5 + i, 6 * j + 1] ^ C [6 + i, 6 * j + 1]
C [i, 6 * j + 5] = P [i, 6 * j + 5]
= C [6 + i, 6 * j] ^ C [1 + i, 6 * j + 1]
However, in C [i, j], when i ≧ 8, i = i−8.

これらの設定正常キャリア本数が2本から(N−2)本の場合、符号化データを各キャリアにそれぞれ分割して割り当てると共に、各キャリアに誤り訂正符号を分割して付加するので、設定正常キャリア本数以上のキャリアを正常に受信できれば誤り訂正が可能になる。これらの場合のように、誤り訂正符号を設定正常キャリア本数に応じてキャリアに配することで、各キャリアのデータ量を最低限に設定でき、効率的な通信が可能になる。   When the number of set normal carriers is from 2 to (N-2), the encoded data is divided and assigned to each carrier, and an error correction code is divided and added to each carrier. If more than the number of carriers can be normally received, error correction becomes possible. As in these cases, by arranging error correction codes on carriers according to the set number of normal carriers, the data amount of each carrier can be set to a minimum, and efficient communication becomes possible.

設定正常キャリア本数が1本の場合、図10に示すように、各キャリアの全てに同一の符号化データを割り当てて送信する(1 Good Channel Algorithm)。この際、送信データと各キャリアの要素との関係式は、以下のように設定される。
C[i,j]=D[j] 0≦i≦N−1, 0≦j≦L−1
When the number of set normal carriers is one, as shown in FIG. 10, the same encoded data is assigned to all the carriers and transmitted (1 Good Channel Algorithm). At this time, the relational expression between the transmission data and each carrier element is set as follows.
C [i, j] = D [j] 0 ≦ i ≦ N−1, 0 ≦ j ≦ L−1

この設定正常キャリア本数が1本の場合、各キャリアの全てに同一の符号化データを割り当てて送信するので、1本以上のキャリアで正常に受信できればよく、誤り訂正符号を追加する必要が無く、データの冗長化を抑制することができる。   When the number of set normal carriers is one, the same encoded data is assigned to all of the carriers and transmitted, so it is sufficient that one or more carriers can be received normally, and there is no need to add an error correction code. Data redundancy can be suppressed.

次に、符号化部6は、上記符号化データを例えば同報通信形式で電力線Lを介して各受信端末2に対して送信を行う(ステップS06)。そして、各受信端末2の復号化部7は、上記符号化データを受信する(ステップS07)と共に、ヘッダ部に記述されていた設定正常キャリア本数に基づいて符号化データを上記誤り訂正符号を用いて復号化する(ステップS08)。なお、復号化部7には、予め設定正常キャリア本数に応じて設定された演算による復号化処理が記憶されている。さらに、復号化されたデータをデータ再生部8により再生出力する(ステップS09)。   Next, the encoding unit 6 transmits the encoded data to each receiving terminal 2 via the power line L, for example, in the broadcast communication format (step S06). Then, the decoding unit 7 of each receiving terminal 2 receives the encoded data (step S07), and uses the error correction code for the encoded data based on the number of set normal carriers described in the header part. To decrypt (step S08). Note that the decoding unit 7 stores a decoding process based on an operation set in advance according to the set number of normal carriers. Further, the decoded data is reproduced and output by the data reproducing unit 8 (step S09).

このように本実施形態では、設定正常キャリア本数に応じて誤り耐性の強度を変更した誤り訂正符号を、設定正常キャリア本数に応じて選択した一つ又は複数のキャリアに割り当てて送信するので、正しく受信できたキャリアの本数のみに依存すると共に誤り耐性の強度が変更可能な誤り訂正符号により、ノッチにより大きなバースト誤りが生じ、あるキャリアのデータ全てに誤りが発生したとしても、他の正しく受信できたキャリアからデータを訂正することができる。   As described above, in the present embodiment, the error correction code whose error resilience strength is changed according to the set normal carrier number is assigned to one or a plurality of carriers selected according to the set normal carrier number and transmitted. An error correction code that depends only on the number of carriers that can be received and that can change the strength of error resilience, causes a large burst error due to a notch, and even if errors occur in all the data of a certain carrier, other correct reception is possible. Can correct data from different carriers.

また、誤りが発生したキャリアが受信端末2毎に異なっても、それぞれ正常なキャリアで受信した誤り訂正符号によって各受信端末2において誤りを訂正することが可能になる。
さらに、設定正常キャリア本数に応じて誤り訂正符号の追加及び符号化データの各キャリアへの配置を決定することで、データの冗長化を抑制して高信頼性で効率的な通信が可能になる。
Further, even if the carrier in which the error has occurred differs for each receiving terminal 2, it is possible to correct the error in each receiving terminal 2 by using the error correction code received by each normal carrier.
Furthermore, by adding an error correction code and determining the arrangement of encoded data on each carrier according to the set number of normal carriers, it is possible to suppress data redundancy and perform highly reliable and efficient communication. .

次に、本発明に係る電力線通信システム、電力線通信方法及び電力線通信プログラムを、実施例により図11から図24を参照して具体的に説明する。   Next, a power line communication system, a power line communication method, and a power line communication program according to the present invention will be specifically described with reference to FIGS.

本実施例では、8本のキャリアを用いたマルチキャリア通信を電力線において行う場合であって、設定正常キャリア本数が1〜8本のそれぞれに設定された場合について説明する。
まず、設定正常キャリア本数が8本である場合、図11に示すように、符号化部6により送信データを8本のキャリア全てに並列に分割して割り当てる(8 Good Channel Algorithm)。また、復号化部7では、これら8本全てのキャリアで正しく受信することで、復号化することができる。
In the present embodiment, a case will be described in which multicarrier communication using eight carriers is performed on the power line and the number of set normal carriers is set to 1 to 8, respectively.
First, when the number of set normal carriers is 8, as shown in FIG. 11, transmission data is divided and allocated in parallel to all 8 carriers by the encoding unit 6 (8 Good Channel Algorithm). Further, the decoding unit 7 can perform decoding by correctly receiving all of these eight carriers.

設定正常キャリア本数が7本である場合、図12に示すように、符号化部6により7バイトの送信データ(Dx)につき、1バイトのパリティ(Pxxxxxx)を付加して符号化する(7 Good Channel Algorithm)。また、復号化部7では、8本のキャリアうち7本以上で正しく受信することで、誤り訂正することができ、復号化することができる。
例えば、図13に示すように、キャリア番号5のキャリアで誤りが発生した場合、図中の式でパリティ(誤り訂正符号)と他のキャリアのデータとからキャリア番号5のデータを求めることができ、誤り訂正によって復号化が可能になる。
When the set number of normal carriers is 7, as shown in FIG. 12, the encoding unit 6 encodes 7-byte transmission data (Dx) with 1-byte parity (Pxxxxxxxx) added (7 Good). Channel Algorithm). In addition, the decoding unit 7 can correct errors and can perform decoding by correctly receiving 7 or more out of 8 carriers.
For example, as shown in FIG. 13, when an error occurs in the carrier of carrier number 5, the data of carrier number 5 can be obtained from the parity (error correction code) and the data of another carrier using the formula in the figure. Decoding is possible by error correction.

設定正常キャリア本数が6本である場合、図14に示すように、符号化部6により16バイトの送信データ(Dx)につき、8バイトのパリティ(Pxxx)を付加して符号化する(6 Good Channel Algorithm)。また、復号化部7では、8本のキャリアうち6本以上で正しく受信することで、誤り訂正することができ、復号化することができる。
例えば、図15に示すように、キャリア番号2,4のキャリアで誤りが発生した場合、図中の式でパリティ(誤り訂正符号)と他のキャリアのデータとからキャリア番号2,4のデータを求めることができ、誤り訂正によって復号化が可能になる。
When the number of set normal carriers is 6, as shown in FIG. 14, the encoding unit 6 encodes 16-byte transmission data (Dx) with 8-byte parity (Pxxx) added (6 Good). Channel Algorithm). In addition, the decoding unit 7 can correct errors and can perform decoding by correctly receiving 6 or more of the 8 carriers.
For example, as shown in FIG. 15, when an error occurs in the carriers of carrier numbers 2 and 4, the data of carrier numbers 2 and 4 is calculated from the parity (error correction code) and the data of other carriers using the formula in the figure. And can be decoded by error correction.

設定正常キャリア本数が5本である場合、図16に示すように、符号化部6により8バイトの送信データ(Dx)につき、8バイトのパリティ(Pxxx)を付加して符号化する(5 Good Channel Algorithm)。また、復号化部7では、8本のキャリアうち5本以上で正しく受信することで、誤り訂正することができ、復号化することができる。
例えば、図17に示すように、キャリア番号1,2,6のキャリアで誤りが発生した場合、図中の式でパリティ(誤り訂正符号)と他のキャリアのデータとからキャリア番号1,2,6のデータを求めることができ、誤り訂正によって復号化が可能になる。
When the set number of normal carriers is 5, as shown in FIG. 16, the encoding unit 6 encodes 8 bytes of transmission data (Dx) by adding 8 bytes of parity (Pxxx) (5 Good). Channel Algorithm). In addition, the decoding unit 7 can correct errors and can perform decoding by correctly receiving five or more of the eight carriers.
For example, as shown in FIG. 17, when an error occurs in the carriers of carrier numbers 1, 2, and 6, the carrier numbers 1, 2, and 6 are calculated from the parity (error correction code) and the data of other carriers in the equation in the figure. 6 data can be obtained, and decoding can be performed by error correction.

設定正常キャリア本数が4本である場合、図18に示すように、符号化部6により16バイトの送信データ(Dx)につき、24バイトのパリティ(Pxx、Pxxx)を付加して符号化する(4 Good Channel Algorithm)。また、復号化部7では、8本のキャリアうち4本以上で正しく受信することで、誤り訂正することができ、復号化することができる。
例えば、図19に示すように、キャリア番号2,4,6,7のキャリアで誤りが発生した場合、図中の式でパリティ(誤り訂正符号)と他のキャリアのデータとからキャリア番号2,4,6,7のデータを求めることができ、誤り訂正によって復号化が可能になる。
When the number of set normal carriers is 4, as shown in FIG. 18, the encoding unit 6 encodes 16-byte transmission data (Dx) by adding 24-byte parity (Pxx, Pxxx) ( 4 Good Channel Algorithm). In addition, the decoding unit 7 can correct errors and can perform decoding by correctly receiving four or more of the eight carriers.
For example, as shown in FIG. 19, when an error occurs in the carriers of carrier numbers 2, 4, 6, and 7, the carrier number 2 is calculated from the parity (error correction code) and the data of other carriers in the equation in the figure. Data of 4, 6, and 7 can be obtained, and decoding can be performed by error correction.

設定正常キャリア本数が3本である場合、図20に示すように、符号化部6により16バイトの送信データ(Dx)につき、32バイトのパリティ(Pxx、Pxxx)を付加して符号化する(3 Good Channel Algorithm)。また、復号化部7では、8本のキャリアうち3本以上で正しく受信することで、誤り訂正することができ、復号化することができる。
例えば、図21に示すように、キャリア番号1,2,4,6,7のキャリアで誤りが発生した場合、図中の式でパリティ(誤り訂正符号)と他のキャリアのデータとからキャリア番号1,2,4,6,7のデータを求めることができ、誤り訂正によって復号化が可能になる。
When the number of set normal carriers is 3, as shown in FIG. 20, the encoding unit 6 encodes 16-byte transmission data (Dx) by adding 32-byte parity (Pxx, Pxxx) ( 3 Good Channel Algorithm). In addition, the decoding unit 7 can correct errors and can perform decoding by correctly receiving three or more of the eight carriers.
For example, as shown in FIG. 21, when an error occurs in the carriers of carrier numbers 1, 2, 4, 6, and 7, the carrier number is calculated from the parity (error correction code) and the data of other carriers using the formula in the figure. Data of 1, 2, 4, 6, and 7 can be obtained, and decoding can be performed by error correction.

設定正常キャリア本数が2本である場合、図22に示すように、符号化部6により6バイトの送信データ(Dx)につき、16バイトのパリティ(Pxxx)を付加して符号化する(2 Good Channel Algorithm)。また、復号化部7では、8本のキャリアうち2本以上で正しく受信することで、誤り訂正することができ、復号化することができる。
例えば、図23に示すように、キャリア番号0,2,3,4,5,7のキャリアで誤りが発生した場合、図中の式でパリティ(誤り訂正符号)と他のキャリアのデータとからキャリア番号0,2,3,4,5,7のデータを求めることができ、誤り訂正によって復号化が可能になる。
When the set number of normal carriers is 2, as shown in FIG. 22, the encoding unit 6 encodes 6-byte transmission data (Dx) with 16-byte parity (Pxxx) added (2 Good). Channel Algorithm). In addition, the decoding unit 7 can correct errors and can perform decoding by correctly receiving two or more of the eight carriers.
For example, as shown in FIG. 23, when an error occurs in the carriers of carrier numbers 0, 2, 3, 4, 5, and 7, from the parity (error correction code) and data of other carriers in the equation in the figure. Data of carrier numbers 0, 2, 3, 4, 5, and 7 can be obtained, and decoding can be performed by error correction.

設定正常キャリア本数が1本である場合、図24に示すように、符号化部6により8本のキャリア全てに同じ送信データを載せて符号化する(1 Good Channel Algorithm)。また、復号化部7では、8本のキャリアのうち1本以上で正しく受信することで、誤り訂正することができ、復号化することができる。   When the number of set normal carriers is 1, as shown in FIG. 24, the encoding unit 6 performs encoding by putting the same transmission data on all eight carriers (1 Good Channel Algorithm). Also, the decoding unit 7 can correct the error and can perform decoding by correctly receiving one or more of the eight carriers.

なお、本発明の技術範囲は上記実施形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲において種々の変更を加えることが可能である。   The technical scope of the present invention is not limited to the above embodiment, and various modifications can be made without departing from the spirit of the present invention.

本発明の実施形態による電力線通信システム、電力線通信方法及び電力線通信プログラムにおいて、システム全体を示す構成ブロック図である。1 is a configuration block diagram illustrating an entire system in a power line communication system, a power line communication method, and a power line communication program according to an embodiment of the present invention. 本実施形態において、処理の流れを示すシーケンス図である。In this embodiment, it is a sequence diagram which shows the flow of a process. 本実施形態において、送信データ及び符号化データの要素を示す説明図である。In this embodiment, it is explanatory drawing which shows the element of transmission data and encoding data. 本実施形態において、設定正常キャリア本数がN本の場合における送信データ及び符号化データの要素を示す説明図である。In this embodiment, it is explanatory drawing which shows the element of the transmission data and coding data in case a setting normal carrier number is N pieces. 本実施形態において、設定正常キャリア本数がN−1本の場合における送信データ及び符号化データの要素を示す説明図である。In this embodiment, it is explanatory drawing which shows the element of the transmission data and coding data in case a setting normal carrier number is N-1. 本実施形態において、設定正常キャリア本数がN−2本の場合における送信データ及び符号化データの要素を示す説明図である。In this embodiment, it is explanatory drawing which shows the element of the transmission data and coding data in case a setting normal carrier number is N-2. 本実施形態において、設定正常キャリア本数がN−3本の場合における送信データ及び符号化データの要素を示す説明図である。In this embodiment, it is explanatory drawing which shows the element of the transmission data and coding data in case a setting normal carrier number is N-3. 本実施形態において、設定正常キャリア本数がN−4本の場合における送信データ及び符号化データの要素を示す説明図である。In this embodiment, it is explanatory drawing which shows the element of the transmission data and coding data in case a setting normal carrier number is N-4. 本実施形態において、設定正常キャリア本数がN−5本の場合における送信データ及び符号化データの要素を示す説明図である。In this embodiment, it is explanatory drawing which shows the element of the transmission data and coding data in case a setting normal carrier number is N-5. 本実施形態において、設定正常キャリア本数が1本の場合における送信データ及び符号化データの要素を示す説明図である。In this embodiment, it is explanatory drawing which shows the element of the transmission data and coding data in case a setting normal carrier number is one. 本発明の実施例において、設定正常キャリア本数が8本の場合における送信データ、符号化データの要素及び復号化を示す説明図である。In the Example of this invention, it is explanatory drawing which shows the element of transmission data, coding data, and decoding in case the number of setting normal carriers is eight. 本発明の実施例において、設定正常キャリア本数が7本の場合における送信データ、符号化データの要素、パリティ及び復号化を示す説明図である。In the Example of this invention, it is explanatory drawing which shows the transmission data, the element of a coding data, a parity, and decoding in case the number of setting normal carriers is seven. 本発明の実施例において、設定正常キャリア本数が7本の場合に誤りが発生した際の送信データ、符号化データの要素及び復号化を示す説明図である。In the Example of this invention, it is explanatory drawing which shows the transmission data at the time of an error generate | occur | producing when the number of setting normal carriers is 7, and the element of decoding data, and decoding. 本発明の実施例において、設定正常キャリア本数が6本の場合における送信データ、符号化データの要素、パリティ及び復号化を示す説明図である。In the Example of this invention, it is explanatory drawing which shows the transmission data, the element of a coding data, a parity, and decoding in case the number of setting normal carriers is six. 本発明の実施例において、設定正常キャリア本数が6本の場合に誤りが発生した際の送信データ、符号化データの要素及び復号化を示す説明図である。In the Example of this invention, it is explanatory drawing which shows the transmission data, the element of encoded data, and decoding when an error generate | occur | produces when the number of setting normal carriers is 6. 本発明の実施例において、設定正常キャリア本数が5本の場合における送信データ、符号化データの要素、パリティ及び復号化を示す説明図である。In the Example of this invention, it is explanatory drawing which shows the transmission data, the element of coded data, a parity, and decoding in case the number of setting normal carriers is 5. 本発明の実施例において、設定正常キャリア本数が5本の場合に誤りが発生した際の送信データ、符号化データの要素及び復号化を示す説明図である。In the Example of this invention, it is explanatory drawing which shows the transmission data at the time of an error generate | occur | produced when the number of setting normal carriers is 5, and the element of encoded data, and decoding. 本発明の実施例において、設定正常キャリア本数が4本の場合における送信データ、符号化データの要素、パリティ及び復号化を示す説明図である。In the Example of this invention, it is explanatory drawing which shows the transmission data, the element of a coding data, a parity, and decoding in case the number of setting normal carriers is four. 本発明の実施例において、設定正常キャリア本数が4本の場合に誤りが発生した際の送信データ、符号化データの要素及び復号化を示す説明図である。In the Example of this invention, it is explanatory drawing which shows the element of transmission data, an encoding data, and decoding when an error generate | occur | produces when the setting normal carrier number is four. 本発明の実施例において、設定正常キャリア本数が3本の場合における送信データ、符号化データの要素、パリティ及び復号化を示す説明図である。In the Example of this invention, it is explanatory drawing which shows the transmission data, the element of a coding data, a parity, and decoding in case the number of setting normal carriers is three. 本発明の実施例において、設定正常キャリア本数が3本の場合に誤りが発生した際の送信データ、符号化データの要素及び復号化を示す説明図である。In the Example of this invention, it is explanatory drawing which shows the transmission data at the time of an error generate | occur | producing when the number of set normal carriers is 3, and the element of encoded data, and decoding. 本発明の実施例において、設定正常キャリア本数が2本の場合における送信データ、符号化データの要素、パリティ及び復号化を示す説明図である。In the Example of this invention, it is explanatory drawing which shows the transmission data, the element of a coding data, a parity, and decoding in case the number of setting normal carriers is two. 本発明の実施例において、設定正常キャリア本数が2本の場合に誤りが発生した際の送信データ、符号化データの要素及び復号化を示す説明図である。In the Example of this invention, it is explanatory drawing which shows the element of transmission data at the time of an error generate | occur | producing when the number of setting normal carriers is 2, and the element of decoding data, and decoding. 本発明の実施例において、設定正常キャリア本数が1本の場合における送信データ、符号化データの要素、パリティ及び復号化を示す説明図である。In the Example of this invention, it is explanatory drawing which shows the transmission data, the element of a coding data, a parity, and decoding in case the setting normal carrier number is one.

符号の説明Explanation of symbols

1…送信端末、2…受信端末、3…誤り検出用データ送信部、4…正常キャリア本数送信部、5…正常キャリア本数設定部、6…符号化部、7…復号化部、L…電力線   DESCRIPTION OF SYMBOLS 1 ... Transmission terminal, 2 ... Reception terminal, 3 ... Data transmission part for error detection, 4 ... Normal carrier number transmission part, 5 ... Normal carrier number setting part, 6 ... Encoding part, 7 ... Decoding part, L ... Power line

Claims (6)

電力線を介してデータの送信可能な送信端末と受信可能な複数の受信端末との間で、N本のキャリアに送信データの符号化データを割り当てて通信を行う電力線通信システムであって、
前記送信端末と前記受信端末とが、互いの間で前記N本のキャリアのうち正常に受信可能なキャリアの本数を正常キャリア本数として検出する機能を有し、
前記送信端末が、前記複数の受信端末の正常キャリア本数のうち、最も少ない正常キャリア本数を設定正常キャリア本数とし、前記受信端末に対して送信するパケットデータのヘッダ部に前記設定正常キャリア本数として付加し、
所定の演算で前記符号化データを復号化可能であると共に前記設定正常キャリア本数に応じて誤り耐性の強度を変更した誤り訂正符号を、前記設定正常キャリア本数に応じて選択した一つ又は複数の前記キャリアに割り当てて送信する符号化部を有し、
前記受信端末が、受信した前記ヘッダ部に付加された前記設定正常キャリア本数に基づいて、受信した前記符号化データを前記誤り訂正符号を用いて復号化する復号化部を有することを特徴とする電力線通信システム。
A power line communication system for performing communication by allocating encoded data of transmission data to N carriers between a transmission terminal capable of transmitting data and a plurality of reception terminals capable of reception via a power line,
The transmitting terminal and the receiving terminal have a function of detecting the number of normally receivable carriers among the N carriers as a normal carrier number among the N carriers,
The transmitting terminal sets the smallest number of normal carriers among the number of normal carriers of the plurality of receiving terminals as the set normal carrier number and adds the set normal carrier number to the header portion of packet data transmitted to the receiving terminal. And
One or a plurality of error-correcting codes, which are capable of decoding the encoded data by a predetermined calculation and whose error tolerance strength is changed according to the set normal carrier number, are selected according to the set normal carrier number. An encoding unit that allocates and transmits to the carrier;
The receiving terminal includes a decoding unit that decodes the received encoded data using the error correction code based on the set normal carrier number added to the received header unit. Power line communication system.
請求項1に記載の電力線通信システムにおいて、
前記符号化部が、
前記設定正常キャリア本数がN本の場合、前記符号化データを各キャリアに分割して割り当て、
前記設定正常キャリア本数が(N−1)本の場合、前記符号化データを選択した1本を除く各キャリアに分割して割り当てると共に、前記選択した1本に前記誤り訂正符号を全て割り当て、
前記設定正常キャリア本数が2本から(N−2)本の場合、前記符号化データを各キャリアにそれぞれ分割して割り当てると共に、各キャリアに前記誤り訂正符号を分割して付加し、
前記設定正常キャリア本数が1本の場合、各キャリアの全てに同一の前記符号化データを割り当てて送信することを特徴とする電力線通信システム。
The power line communication system according to claim 1,
The encoding unit is
When the set normal carrier number is N, the encoded data is divided and allocated to each carrier,
When the set number of normal carriers is (N-1), the encoded data is divided and allocated to each carrier except the selected one, and the error correction code is allotted to the selected one,
When the number of set normal carriers is from 2 to (N-2), the encoded data is divided and assigned to each carrier, and the error correction code is divided and added to each carrier.
When the number of set normal carriers is one, the same encoded data is assigned to all the carriers and transmitted.
電力線を介してデータの送信可能な送信端末と受信可能な複数の受信端末との間で、N本のキャリアに送信データの符号化データを割り当てて通信を行う電力線通信方法であって、
前記送信端末と前記受信端末とが、互いの間で前記N本のキャリアのうち正常に受信可能なキャリアの本数を正常キャリア本数として検出する検出ステップと、
前記送信端末が、前記複数の受信端末の正常キャリア本数のうち、最も少ない正常キャリア本数を設定正常キャリア本数とし、前記受信端末に対して送信するパケットデータのヘッダ部に前記設定正常キャリア本数として付加し、
所定の演算で前記符号化データを復号化可能であると共に前記設定正常キャリア本数に応じて誤り耐性の強度を変更した誤り訂正符号を、前記設定正常キャリア本数に応じて選択した一つ又は複数の前記キャリアに割り当てて送信する送信ステップと、
前記受信端末が、受信した前記ヘッダ部に付加された前記設定正常キャリア本数に基づいて、受信した前記符号化データを前記誤り訂正符号を用いて復号化する受信ステップと、を有することを特徴とする電力線通信方法。
A power line communication method for performing communication by assigning encoded data of transmission data to N carriers between a transmission terminal capable of transmitting data via a power line and a plurality of reception terminals capable of receiving data,
A detecting step in which the transmitting terminal and the receiving terminal detect the number of carriers that can be normally received among the N carriers as a normal carrier number;
The transmitting terminal sets the smallest number of normal carriers among the number of normal carriers of the plurality of receiving terminals as the set normal carrier number and adds the set normal carrier number to the header portion of packet data transmitted to the receiving terminal. And
One or a plurality of error-correcting codes, which are capable of decoding the encoded data by a predetermined calculation and whose error tolerance strength is changed according to the set normal carrier number, are selected according to the set normal carrier number. A transmission step of allocating and transmitting to the carrier;
The receiving terminal has a reception step of decoding the received encoded data using the error correction code based on the set normal carrier number added to the received header part. Power line communication method.
請求項3に記載の電力線通信方法において、
前記送信ステップで、前記送信端末が、前記設定正常キャリア本数がN本の場合、前記符号化データを各キャリアに分割して割り当て、
前記設定正常キャリア本数が(N−1)本の場合、前記符号化データを選択した1本を除く各キャリアに分割して割り当てると共に、前記選択した1本に前記誤り訂正符号を全て割り当て、
前記設定正常キャリア本数が2本から(N−2)本の場合、前記符号化データを各キャリアにそれぞれ分割して割り当てると共に、各キャリアに前記誤り訂正符号を分割して付加し、
前記設定正常キャリア本数が1本の場合、各キャリアの全てに同一の前記符号化データを割り当てて送信することを特徴とする電力線通信方法。
In the power line communication method according to claim 3,
In the transmitting step, when the set number of normal carriers is N, the transmitting terminal divides and assigns the encoded data to each carrier,
When the set number of normal carriers is (N-1), the encoded data is divided and allocated to each carrier except the selected one, and the error correction code is allotted to the selected one,
When the number of set normal carriers is from 2 to (N-2), the encoded data is divided and assigned to each carrier, and the error correction code is divided and added to each carrier.
When the number of set normal carriers is one, the same encoded data is assigned to all of the carriers and transmitted.
電力線を介してデータの送信可能な送信端末と受信可能な複数の受信端末との間で、N本のキャリアに送信データの符号化データを割り当てて通信を行う電力線通信プログラムであって、
前記送信端末と前記受信端末とが、互いの間で前記N本のキャリアのうち正常に受信可能なキャリアの本数を正常キャリア本数として検出する検出ステップと、
前記送信端末が、前記複数の受信端末の正常キャリア本数のうち、最も少ない正常キャリア本数を設定正常キャリア本数とし、前記受信端末に対して送信するパケットデータのヘッダ部に前記設定正常キャリア本数として付加し、
所定の演算で前記符号化データを復号化可能であると共に前記設定正常キャリア本数に応じて誤り耐性の強度を変更した誤り訂正符号を、前記設定正常キャリア本数に応じて選択した一つ又は複数の前記キャリアに割り当てて送信する送信ステップと、
前記受信端末が、受信した前記ヘッダ部に付加された前記設定正常キャリア本数に基づいて、受信した前記符号化データを前記誤り訂正符号を用いて復号化する受信ステップと、をコンピュータに実行させることを特徴とする電力線通信プログラム。
A power line communication program for performing communication by allocating encoded data of transmission data to N carriers between a transmission terminal capable of transmitting data via a power line and a plurality of reception terminals capable of receiving data,
A detecting step in which the transmitting terminal and the receiving terminal detect the number of carriers that can be normally received among the N carriers as a normal carrier number;
The transmitting terminal sets the smallest number of normal carriers among the number of normal carriers of the plurality of receiving terminals as the set normal carrier number and adds the set normal carrier number to the header portion of packet data transmitted to the receiving terminal. And
One or a plurality of error-correcting codes, which are capable of decoding the encoded data by a predetermined calculation and whose error tolerance strength is changed according to the set normal carrier number, are selected according to the set normal carrier number. A transmission step of allocating and transmitting to the carrier;
Causing the receiving terminal to perform a reception step of decoding the received encoded data using the error correction code based on the set normal carrier number added to the received header part. A power line communication program.
請求項5に記載の電力線通信プログラムにおいて、
前記送信ステップで、前記送信端末が、前記設定正常キャリア本数がN本の場合、前記符号化データを各キャリアに分割して割り当て、
前記設定正常キャリア本数が(N−1)本の場合、前記符号化データを選択した1本を除く各キャリアに分割して割り当てると共に、前記選択した1本に前記誤り訂正符号を全て割り当て、
前記設定正常キャリア本数が2本から(N−2)本の場合、前記符号化データを各キャリアにそれぞれ分割して割り当てると共に、各キャリアに前記誤り訂正符号を分割して付加し、
前記設定正常キャリア本数が1本の場合、各キャリアの全てに同一の前記符号化データを割り当てて送信することを特徴とする電力線通信プログラム。
In the power line communication program according to claim 5,
In the transmitting step, when the set number of normal carriers is N, the transmitting terminal divides and assigns the encoded data to each carrier,
When the set number of normal carriers is (N-1), the encoded data is divided and allocated to each carrier except the selected one, and the error correction code is allotted to the selected one,
When the number of set normal carriers is from 2 to (N-2), the encoded data is divided and assigned to each carrier, and the error correction code is divided and added to each carrier.
When the number of set normal carriers is one, the same encoded data is assigned to all carriers and transmitted.
JP2007303822A 2007-11-23 2007-11-23 System, method, and program for power line communication Withdrawn JP2009130652A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007303822A JP2009130652A (en) 2007-11-23 2007-11-23 System, method, and program for power line communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007303822A JP2009130652A (en) 2007-11-23 2007-11-23 System, method, and program for power line communication

Publications (1)

Publication Number Publication Date
JP2009130652A true JP2009130652A (en) 2009-06-11

Family

ID=40821129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007303822A Withdrawn JP2009130652A (en) 2007-11-23 2007-11-23 System, method, and program for power line communication

Country Status (1)

Country Link
JP (1) JP2009130652A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506011A (en) * 2016-11-02 2017-03-15 广东电网有限责任公司茂名供电局 Power-frequency communication of electric encoding error correction scheme

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506011A (en) * 2016-11-02 2017-03-15 广东电网有限责任公司茂名供电局 Power-frequency communication of electric encoding error correction scheme
CN106506011B (en) * 2016-11-02 2018-03-20 广东电网有限责任公司茂名供电局 Power-frequency communication of electric encoding error correction scheme

Similar Documents

Publication Publication Date Title
CN108352844B (en) Signature-enabled polar encoder and decoder
US10313057B2 (en) Error detection in wireless communications using sectional redundancy check information
CN109644067B (en) Transmitting and receiving data using polar codes
EP2218003B1 (en) Correction of errors in a memory array
US20120137192A1 (en) Method and apparatus for error management
EP2482464A1 (en) Encoding apparatus, decoding apparatus, encoding method, decoding method, and communication system
US8145983B1 (en) Methods and apparatus for identification of likely errors in data blocks
US20070165673A1 (en) Method for reconstructing lost packets using a binary parity check
JP5911188B2 (en) Low-density parity code encoding apparatus and method, and computer-readable recording medium
US5539755A (en) Method and apparatus for decoding an error protected block of extended data
US8458557B1 (en) Interleaved error correction coding for channels with non-uniform signal-to-noise ratios
CN111628780A (en) Data encoding method, data decoding method and data processing system
CN111597072A (en) Error Control Coding (ECC) system and memory device including the same
CN101983481B (en) Transmission device and method, reception device and method, and program
JP2022022398A (en) Encoding and decoding of control signaling with sectional redundancy check
US20140089767A1 (en) Method and system for generation of a tie-breaking metric in a low-density parity check data encoding system
CN114138099A (en) Method, device and terminal for configuring memory
JP2009130652A (en) System, method, and program for power line communication
US10200152B2 (en) Method and device for transmitting data using LDPC code
JP7228797B2 (en) Receiving device and receiving method
JP4379329B2 (en) CRC generator polynomial selection method, CRC encoding method, and CRC encoding circuit
US11146352B2 (en) Message correction and dynamic correction adjustment for communication systems
KR102265052B1 (en) Interleaving method and apparatus for determing adaptively interleaving depth
JP2006229693A (en) Coding device, decoding device, transmitter, receiver and coding method
CN107579803B (en) Decoding device including error correction program and decoding 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: 20110201