JPH04322519A - Power line carrier communication system and power line carrier communication equipment - Google Patents

Power line carrier communication system and power line carrier communication equipment

Info

Publication number
JPH04322519A
JPH04322519A JP3090920A JP9092091A JPH04322519A JP H04322519 A JPH04322519 A JP H04322519A JP 3090920 A JP3090920 A JP 3090920A JP 9092091 A JP9092091 A JP 9092091A JP H04322519 A JPH04322519 A JP H04322519A
Authority
JP
Japan
Prior art keywords
frame
transmission
power line
communication
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.)
Granted
Application number
JP3090920A
Other languages
Japanese (ja)
Other versions
JP3084777B2 (en
Inventor
Yuji Komatsu
裕司 小松
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP03090920A priority Critical patent/JP3084777B2/en
Publication of JPH04322519A publication Critical patent/JPH04322519A/en
Application granted granted Critical
Publication of JP3084777B2 publication Critical patent/JP3084777B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the number of times of re-transmission considerably and to recover a communication error with single re-transmission. CONSTITUTION:This system is provided with an error correcting section 19 checking the field error of a reception frame, storing the result sequentially to a reception frame memory 20 and checking a frame error after one reception frame is completely stored, an acknowledge generating section 22 generating an affirmative acknowledge signal based on a reception frame deciding output, an acknowledge detecting section 23 detecting the affirmative acknowledge signal, and a transmission control section 24 sending the frame again for a time except the sum/subtraction of a time equipvalent to at least a field period with respect to a delay time for each integer number of multiple of an AC half period of a power line from a preceding transmission starting time when the affirmative acknowledge signal is not detected. By such constitution, the number of times of r-transmission is remarkably reduced to shorten the time till the communication success and the system is recovered by single re- transmission even in the case of a communication error caused at an interval shorter than a communication frame length due to the burst noise of a period equivalent to the frequency synchronously with the AC frequency.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は電力線搬送通信方式及び
電力線搬送通信装置に関し、特に電灯線ホームバスシス
テム用の電力線搬送通信方式及びこれに用いる電力線搬
送通信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power line communication system and a power line communication device, and more particularly to a power line communication system for a power line home bus system and a power line communication device used therein.

【0002】0002

【従来の技術】従来の電力線搬送通信方式の例としては
、日本電子機械工業会電力線搬送通信調査委員会報告書
(昭和61年7月)に報告された電灯線ホームバスシス
テムがある。ホームバスシステムは、電話機や通信機能
付きパーソナルコンピュータ等の情報通信機器、セキュ
リティやエネルギーコントローラ等のハウスキーピング
機器、衛星放送や文字放送等のAV機器を共通の伝送路
に接続し、機器相互間の有機的な結合を行なう家庭内で
完結する制御通信形システムである。そして、家庭の内
外のあらゆる情報を、どこからでも、いつでも、だれも
が選択できるシステムである。電灯線ホームバスシステ
ムは、この共通の伝送路として電灯線を使用するもので
ある。
2. Description of the Related Art An example of a conventional power line communication system is the power line home bus system reported in the Japan Electronics Machinery Association's Power Line Communication Investigation Committee Report (July 1988). A home bus system connects information and communication equipment such as telephones and personal computers with communication functions, housekeeping equipment such as security and energy controllers, and AV equipment such as satellite broadcasting and text broadcasting to a common transmission path. It is a control communication system that can be completed within the home and is organically connected. It is a system that allows anyone to select all kinds of information, both inside and outside the home, from anywhere, at any time. The power line home bus system uses power lines as this common transmission path.

【0003】図7は、電灯線ホームバスシステムの通信
フレームの構成を示す図である。図7において、電灯線
ホームバスシステムの通信フレームは、同期信号ASと
、テキスト開始コードSTXと、自己アドレスSAと、
相手アドレスDAと、制御コードCCと、ハウスコード
HCと、データ長BCと、データフィールドDFと、フ
レームチェックコードFCCと、テキスト終結コードE
XTの各フィールドから構成されている。
FIG. 7 is a diagram showing the structure of a communication frame of a power line home bus system. In FIG. 7, the communication frame of the power line home bus system includes a synchronization signal AS, a text start code STX, a self address SA,
Destination address DA, control code CC, house code HC, data length BC, data field DF, frame check code FCC, text termination code E
It consists of each field of XT.

【0004】また、各フィールドは、図8に示すように
、スタートビットSBと、データビットb0〜b7と、
パリティビットPBと、ストップビットTBとから構成
されている。
Each field also includes a start bit SB, data bits b0 to b7, as shown in FIG.
It consists of a parity bit PB and a stop bit TB.

【0005】次に、動作について説明する。Next, the operation will be explained.

【0006】電灯線ホームバスシステムにおける通信誤
り、すなわちエラーの検出および訂正は以下のように行
なう。まず、受信側において、各フィールドごとに送信
側で付加した偶数パリティを用いてエラーチエックを行
なう。さらに、送信側から、自己アドレスSAからデー
タフィールドDFまでの和の2の補数の値を付加したフ
レームチエックコードFCCを送信し、受信側において
、このフレームチエックコードFCCと対応する受信信
号の自己アドレスSAからデータフィールドDFまでの
和を加算するチエックサム方式によりエラーチエックを
行なう。
Detection and correction of communication errors, that is, errors in the power line home bus system, is performed as follows. First, on the receiving side, an error check is performed using the even parity added on the transmitting side for each field. Furthermore, the transmitting side transmits a frame check code FCC with a two's complement value added to the sum of the self-address SA to the data field DF, and the receiving side sends the self-address of the received signal corresponding to this frame check code FCC. Error checking is performed using a checksum method that adds the sum from SA to data field DF.

【0007】受信側においてエラーを検出した場合は、
受信側から何も送信しないということによって、否定応
答(NAC)であるとみなす。この場合、送信側では、
通信フレームの制御コードCCに含まれる再送フレーム
のナンバーを変更し、新たなフレームチエックコードF
CCを含む通信フレームを再送している。
[0007] If an error is detected on the receiving side,
By not sending anything from the receiver, it is considered a negative acknowledgment (NAC). In this case, on the sending side,
The retransmission frame number included in the control code CC of the communication frame is changed and a new frame check code F is added.
A communication frame containing a CC is being retransmitted.

【0008】また、受信側においてエラーを検出しない
場合は、受信側から肯定応答フレームを送信することに
よりその通信を終了するというものであった。
[0008] Furthermore, if no error is detected on the receiving side, the communication is terminated by transmitting an acknowledgment frame from the receiving side.

【0009】[0009]

【発明が解決しようとする課題】上述した従来の電力線
搬送通信方式は、通信誤りを検出した場合には、再送フ
レームのナンバーを変更し、新たなフレームチエックコ
ードを含む通信フレームを再送信するが、再送信したフ
レームにも通信誤りが発生した場合は、再び受信側のフ
レームチエックによってエラーとして検出されるので、
再送信の回数が増大し、通信が成功するまでの時間が長
くなるという欠点があった。また、電力線に流れる交流
の周波数に同期した周期のバーストノイズにより、通信
フレーム長よりも短い間隔で通信エラーが発生するとい
うような場合は、再送信を繰返してもこの通信エラーを
回復できないという問題点があった。
[Problems to be Solved by the Invention] In the conventional power line carrier communication system described above, when a communication error is detected, the number of the retransmitted frame is changed and the communication frame containing a new frame check code is retransmitted. If a communication error occurs in the retransmitted frame, it will be detected as an error again by the frame check on the receiving side.
This method has the disadvantage that the number of retransmissions increases and the time required for successful communication increases. In addition, if a communication error occurs at an interval shorter than the communication frame length due to burst noise with a period synchronized with the frequency of the AC flowing through the power line, there is a problem that the communication error cannot be recovered even if retransmission is repeated. There was a point.

【0010】本発明の目的は、上記の欠点および問題点
を解決し、再送信の回数を大幅に低減し通信成功までの
時間を短縮するとともに、交流の周波数に同期した周期
のバーストノイズによる通信フレーム長よりも短い間隔
で発生する通信エラーに対しても1回の再送信により回
復できる電力線搬送通信方式及び通信装置を提供するこ
とにある。
An object of the present invention is to solve the above-mentioned drawbacks and problems, to significantly reduce the number of retransmissions, to shorten the time until communication is successful, and to improve communication using burst noise with a period synchronized with the frequency of alternating current. An object of the present invention is to provide a power line carrier communication system and a communication device that can recover from communication errors that occur at intervals shorter than a frame length by one retransmission.

【0011】[0011]

【課題を解決するための手段】第1の発明の電力線搬送
通信方式は、第一の送受信装置からディジタルデータに
制御情報とアドレス情報および誤りチエック情報とを付
加して生成した予め定めたフィールド周期の複数のフィ
ールドからなる第一の通信フレームを電気信号として電
力線に送出するとともに、第二の送受信装置が電力線上
の前記電気信号を受信し前記第一の通信フレームを検出
し前記制御情報とアドレス情報により前記第一の通信フ
レームの前記ディジタルデータを選択的に抽出し、誤り
チエックにより抽出した前記ディジタルデータを正しく
受信したことを確認すると肯定応答信号を前記第一の送
受信装置に返送する電力線搬送通信方式において、前記
第一の送受信装置が前記肯定応答信号を検出できないと
きは前記第一の送受信装置は送出した前記第一の通信フ
レームと同一の前記ディジタルデータと前記アドレス情
報および前記誤りチエック情報とを有する第二の通信フ
レームを前記第一の通信フレームの送信開始時刻からの
前記電力線を流れる交流の半周期の整数倍ごとの遅延時
間に対し少なくとも前記フィールド周期の分の時間を加
算または減算した時間の範囲を除く時間の範囲内に設定
した再送信時刻に再送信することを特徴とする。
[Means for Solving the Problems] The power line carrier communication system of the first invention has a predetermined field cycle generated by adding control information, address information, and error check information to digital data from a first transmitting/receiving device. A first communication frame consisting of a plurality of fields is sent as an electrical signal to a power line, and a second transmitter/receiver receives the electrical signal on the power line, detects the first communication frame, and transmits the control information and address. a power line carrier for selectively extracting the digital data of the first communication frame based on the information, and returning an acknowledgment signal to the first transmitting/receiving device when confirming that the extracted digital data has been correctly received by an error check; In the communication system, when the first transmitting/receiving device cannot detect the acknowledgment signal, the first transmitting/receiving device transmits the digital data, the address information, and the error check information that are the same as the transmitted first communication frame. Adding or subtracting a second communication frame having at least the field period from the transmission start time of the first communication frame to a delay time of every integral multiple of a half period of the alternating current flowing through the power line. The feature is that the retransmission is performed at a retransmission time set within a time range excluding the time range in which the data is sent.

【0012】また、第2の発明の電力線搬送通信装置は
、第1の発明の電力線搬送通信方式に用いるものであり
、前記第一および第二の送受信装置は前記ディジタルデ
ータと前記制御情報である制御データと前記アドレス情
報であるアドレスデータとを格納する送信フレームメモ
リと、前記送信フレームメモリから出力される送信フレ
ームメモリ出力データにフィールド誤りチエックデータ
およびフレーム誤りチエックデータを含む前記誤りチエ
ック情報を付加して前記第一の通信フレームである第一
の送信フレームを生成する送信フレーム生成部と、前記
第一の送信フレームを受信し復調した受信フレームを格
納する受信フレームメモリと、前記フィールド誤りチエ
ックデータにより前記受信フレームを前記フィールドご
とにフィールド誤りチエックし誤りがない場合は前記受
信フレームメモリに順次格納し、前記受信フレームメモ
リに前記受信フレームの1フレーム分が完全に格納され
たときに前記フレーム誤りチエックデータによりフレー
ム誤りチエックをするエラー訂正部と、前記エラー訂正
部の出力を受け前記受信フレームの前記アドレスデータ
と前記制御データとを解析して自局あての受信フレーム
であることを判定し受信フレーム判定出力を出力する受
信フレーム判定部と、前記受信フレーム判定出力により
前記肯定応答信号を生成するアクノリッジ生成部と、前
記肯定応答信号を検出するアクノリッジ検出部と、前記
アクノリッジ検出部が前記肯定応答信号を検出しないと
き前記第二の通信フレームである第二の送信フレームを
前記再送信時刻に再送信する送信制御部とを備えること
により構成されている。
Further, the power line carrier communication device of the second invention is used in the power line carrier communication system of the first invention, and the first and second transmitting/receiving devices transmit the digital data and the control information. a transmission frame memory that stores control data and address data that is the address information; and adding the error check information including field error check data and frame error check data to the transmission frame memory output data output from the transmission frame memory. a transmission frame generation unit that generates a first transmission frame that is the first communication frame; a reception frame memory that receives and demodulates the first transmission frame and stores a reception frame; and the field error check data. The received frame is checked for field errors for each field, and if there is no error, the received frame is sequentially stored in the received frame memory, and when one frame of the received frame is completely stored in the received frame memory, the frame error is detected. an error correction unit that checks frame errors using check data; and an error correction unit that receives the output of the error correction unit and analyzes the address data and control data of the received frame to determine that the received frame is addressed to the local station, and receives the received frame; a received frame determination unit that outputs a frame determination output; an acknowledge generation unit that generates the acknowledgment signal based on the received frame determination output; an acknowledge detection unit that detects the acknowledgment signal; and a transmission control section that retransmits the second transmission frame, which is the second communication frame, at the retransmission time when no signal is detected.

【0013】[0013]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments Next, embodiments of the present invention will be described with reference to the drawings.

【0014】図1は本発明の電力線搬送通信方式に用い
る電力線搬送通信装置の一実施例を示すブロック図であ
る。
FIG. 1 is a block diagram showing an embodiment of a power line carrier communication device used in the power line carrier communication system of the present invention.

【0015】本実施例の電力線搬送通信装置はスペクト
ラム拡散方式の電灯線ホームバスシステムであり、図1
に示すように、同一のものである自装置および相手装置
の送受信装置1,2が伝送路である電灯線3に接続され
て構成されている。
The power line carrier communication device of this embodiment is a spread spectrum power line home bus system, as shown in FIG.
As shown in FIG. 2, the transmitting/receiving devices 1 and 2 of the own device and the partner device, which are the same, are connected to a power line 3 which is a transmission path.

【0016】送受信装置1は、電灯線3とのインターフ
エース回路である結合器11と、送信フレームメモリ1
2と、送信フレーム生成部13と、変調部14と、PN
信号生成部15と、ドライバ16と、レシーバ17と、
復調部18と、エラー訂正部19と、受信フレームメモ
リ20と、受信フレーム判定部21と、アクノリッジ生
成部22と、アクノリッジ検出部23と、送信制御部2
4とを備えて構成されている。
The transmitting/receiving device 1 includes a coupler 11 which is an interface circuit with the power line 3, and a transmitting frame memory 1.
2, the transmission frame generation section 13, the modulation section 14, and the PN
A signal generation unit 15, a driver 16, a receiver 17,
demodulation section 18, error correction section 19, received frame memory 20, received frame determination section 21, acknowledge generation section 22, acknowledge detection section 23, and transmission control section 2
4.

【0017】送信フレームメモリ12は、相手装置に送
出するディジタルデータと相手装置のアドレスとを格納
している。送信フレーム生成部13は、送信要求が発生
した場合、送信フレームを生成しシリアルデータとして
変調部14に送出する機能を有する。変調部14は、送
信フレームをスペクトラム拡散変調するものである。P
N信号生成部15は、送信フレームをスペクトラム拡散
変調するための疑似ランダム信号を発生する機能を有す
る。ドライバ16は、変調部14からのスペクトラム拡
散変調された送信フレームを所定の帯域になるよう帯域
制限し、電力増幅を行なうものである。レシーバ17は
、結合器11からの受信信号を増幅する。復調部18は
、入力された受信信号を復調するものである。エラー訂
正部19は、復調された受信データから正しい受信フレ
ームを受信フレームメモリ20上に生成する機能を有す
る。受信フレーム判定部21は、アドレスデータと制御
コードとを解析し、その結果をアクノリッジ生成部22
に送る機能を有する。アクノリッジ生成部22は、受信
フレーム判定部21の制御により肯定応答信号を出力す
る機能を有する。アクノリッジ検出部23は、復調部1
8からの復調された肯定応答信号を検出する機能を有す
る。送信制御部24は、アクノリッジ検出部23からの
肯定応答信号検出出力により、通信の完了あるいは再送
信の制御を行なう機能を有する。
The transmission frame memory 12 stores digital data to be sent to the destination device and the address of the destination device. The transmission frame generation unit 13 has a function of generating a transmission frame and sending it as serial data to the modulation unit 14 when a transmission request occurs. The modulator 14 performs spread spectrum modulation on the transmission frame. P
The N signal generation section 15 has a function of generating a pseudorandom signal for spread spectrum modulation of a transmission frame. The driver 16 limits the spread spectrum modulated transmission frame from the modulator 14 to a predetermined band, and performs power amplification. Receiver 17 amplifies the received signal from combiner 11. The demodulator 18 demodulates the input received signal. The error correction unit 19 has a function of generating a correct received frame on the received frame memory 20 from demodulated received data. The received frame determination section 21 analyzes the address data and the control code, and sends the result to the acknowledge generation section 22.
It has the function to send to. The acknowledge generation unit 22 has a function of outputting an acknowledgment signal under the control of the received frame determination unit 21. The acknowledge detection section 23 is connected to the demodulation section 1
It has the function of detecting the demodulated acknowledgment signal from 8. The transmission control unit 24 has a function of controlling the completion of communication or retransmission based on the detection output of the acknowledgment signal from the acknowledge detection unit 23.

【0018】次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

【0019】図2は、通信フレームの構成を示す図であ
る。図2において、本実施例の電力線搬送通信方式の通
信フレームは、同期信号ASと、テキスト開始コードS
TXと、プライオリテイコードPCと、自己アドレスS
Aと、相手アドレスDAと、制御コードCCと、データ
長BCと、データフィールドD1〜Dnと、フレームチ
ェックコードFCCとの各フィールドから構成されてい
る。
FIG. 2 is a diagram showing the structure of a communication frame. In FIG. 2, the communication frame of the power line carrier communication system of this embodiment includes a synchronization signal AS and a text start code S.
TX, priority code PC, and own address S
A, a destination address DA, a control code CC, a data length BC, data fields D1 to Dn, and a frame check code FCC.

【0020】また、図2には、受信側において通信フレ
ームを確認した場合に返送する肯定応答信号フレームを
示す。肯定応答信号フレームは、同期信号ASと、肯定
応答信号ACKとで構成される。
FIG. 2 also shows an acknowledgment signal frame that is returned when the receiving side confirms the communication frame. The acknowledgment signal frame is composed of a synchronization signal AS and an acknowledgment signal ACK.

【0021】また、各フィールドは、図3に示すように
、8ビットのデータ部b0〜b7と、1ビットのパリテ
ィビットPBと、ストップビットTBとから構成されて
いる。
Each field is composed of an 8-bit data section b0 to b7, a 1-bit parity bit PB, and a stop bit TB, as shown in FIG.

【0022】まず、送信フレームメモリ12から、格納
された相手装置のアドレスDAおよび送信ディジタルデ
ータDFを送信フレーム生成部13に入力する。送信フ
レーム生成部13は、送信制御部24を介して送信要求
が発生した場合、図2に示す送信フレームを生成しシリ
アルデータとして変調部14に送出する。変調部14は
、PN信号生成部15からの疑似ランダム信号により、
送信フレームをスペクトラム拡散変調する。ドライバ1
6は、変調部14からのスペクトラム拡散変調された送
信フレームを所定の帯域になるよう帯域制限した後電力
増幅し、結合器11を介して電灯線3に送出する。
First, the stored address DA of the destination device and the transmission digital data DF are input from the transmission frame memory 12 to the transmission frame generation section 13 . When a transmission request is generated via the transmission control section 24, the transmission frame generation section 13 generates the transmission frame shown in FIG. 2 and sends it to the modulation section 14 as serial data. The modulator 14 uses the pseudorandom signal from the PN signal generator 15 to
Spread spectrum modulation of transmitted frames. Driver 1
6 limits the spread spectrum modulated transmission frame from the modulator 14 to a predetermined band, amplifies the power, and sends it to the power line 3 via the coupler 11.

【0023】電灯線3を伝播してきた送受信装置1から
の送信信号は、送受信装置2により受信される。受信信
号は、送受信装置2において、結合器11を介してレシ
ーバ17に入力される。レシーバ17は、入力された受
信信号を増幅し、復調部18とPN信号生成部15に出
力する。PN信号生成部15からの疑似ランダム信号は
、受信フレームの同期信号ASによって同期が取られ、
復調部18に入力される。復調部18は、入力された受
信信号を復調し、エラー訂正部19に出力する。エラー
訂正部19は、復調された受信データから正しい受信フ
レームを受信フレームメモリ20上に生成する。エラー
訂正が完了した受信フレームは受信フレーム判定部21
に出力される。受信フレーム判定部21は、アドレスデ
ータDAと制御コードCCとを解析し、自局が受信すべ
き通信であると判定した場合は、アクノリッジ生成部2
2を起動し、肯定応答信号ACKを出力する。肯定応答
信号ACKは変調部14に入力され、前述の送受信装置
1の変調部14以降の動作と同一の過程により、肯定応
答信号フレームとして結合器11を介して電灯線3に送
出される。
The transmission signal from the transmitter/receiver 1 that has propagated through the power line 3 is received by the transmitter/receiver 2 . The received signal is input to the receiver 17 in the transmitting/receiving device 2 via the coupler 11 . The receiver 17 amplifies the input received signal and outputs it to the demodulator 18 and the PN signal generator 15. The pseudo-random signal from the PN signal generation unit 15 is synchronized by the synchronization signal AS of the received frame,
The signal is input to the demodulator 18 . The demodulation section 18 demodulates the input received signal and outputs it to the error correction section 19. The error correction unit 19 generates a correct received frame on the received frame memory 20 from the demodulated received data. The received frame for which error correction has been completed is sent to the received frame determination unit 21.
is output to. The received frame determining unit 21 analyzes the address data DA and the control code CC, and if it determines that the communication should be received by its own station, the acknowledgment generating unit 2
2 and outputs an acknowledgment signal ACK. The acknowledgment signal ACK is input to the modulation section 14, and is sent to the power line 3 via the coupler 11 as an acknowledgment signal frame through the same process as the operation after the modulation section 14 of the transmitting/receiving device 1 described above.

【0024】送受信装置1においては、返送されてきた
肯定応答信号フレームを、結合器11、レシーバ17を
介して、復調部18に入力して肯定応答信号ACKを復
調し、アクノリッジ検出部23に出力する。アクノリッ
ジ検出部23は、復調部18からの復調された肯定応答
信号ACKを検出する。肯定応答信号ACKを検出する
と送信制御部24に出力し、送信制御部24は通信を完
了させる。
In the transmitter/receiver 1, the returned acknowledgment signal frame is input to the demodulator 18 via the coupler 11 and the receiver 17 to demodulate the acknowledgment signal ACK, and output to the acknowledge detector 23. do. The acknowledge detection section 23 detects the demodulated acknowledgment signal ACK from the demodulation section 18. When the acknowledgment signal ACK is detected, it is output to the transmission control section 24, and the transmission control section 24 completes the communication.

【0025】送信制御部24はアクノリッジ検出部23
から、肯定応答信号ACKが入力されない場合は、通信
フレームの再送信を行なう。図5は、再送信の場合のタ
イムチャートである。図5において、aは伝送路である
電灯線における周期2Tの交流波形、bは交流波形に同
期して発生するバーストノイズ、cは通信フレームの1
回目の送信における構成フィールドのタイミング関係、
dは通信フレームの再送信における構成フィールドのタ
イミング関係をそれぞれ示す。
The transmission control unit 24 is an acknowledge detection unit 23
If the acknowledgment signal ACK is not input, the communication frame is retransmitted. FIG. 5 is a time chart for retransmission. In FIG. 5, a is an AC waveform with a period of 2T in a power line that is a transmission path, b is a burst noise that occurs in synchronization with the AC waveform, and c is one communication frame.
The timing relationship of the configuration fields in the second transmission,
d respectively indicate the timing relationship of the configuration fields in retransmission of the communication frame.

【0026】cに示す通信フレームの1回目の送信の開
始時刻をt0とすると、受信側ではbに示すバーストノ
イズにより、同期信号ASと、テキスト開始コードST
Xと、プライオリテイコードPCと、データ長BCと、
データフィールドD1の各フィールドにエラーが含まれ
るので、肯定応答信号ACKを返送しない。したがって
、送信側の送信制御部24は、以下のタイミングでdに
示す再送信通信フレームの再送信を行なう。すなわち、
Nを整数として、再送信の開始時刻は、前回、すなわち
、1回目の送信開始時刻t0からの交流波形の半周期T
のN倍の遅延時間に対しに通信フレームの2フィールド
分の期間を加算した時刻である。
When the start time of the first transmission of the communication frame shown in c is t0, on the receiving side, the synchronization signal AS and the text start code ST are generated by the burst noise shown in b.
X, priority code PC, data length BC,
Since each field of the data field D1 contains an error, the acknowledgment signal ACK is not returned. Therefore, the transmission control unit 24 on the transmitting side retransmits the retransmission communication frame shown in d at the following timing. That is,
When N is an integer, the retransmission start time is the half cycle T of the AC waveform from the previous time, that is, the first transmission start time t0.
This is the time obtained by adding the period of two fields of the communication frame to the delay time N times .

【0027】再送信通信フレームは、図4に示すように
、制御コードCCの再送フレームナンバービットが異な
るのみでありその他の値はすべて同一の値である。また
、送信フレームのフレームチェックコードFCCは、初
回送信フレームの自己アドレスSAと、相手アドレスD
Aと、制御コードCCと、データ長BCと、データフィ
ールドD1〜D3についての巡回符号検出方式の誤りチ
エックコード(CRC)が付加されている。
As shown in FIG. 4, the retransmission communication frames differ only in the retransmission frame number bit of the control code CC, and all other values are the same. Also, the frame check code FCC of the transmitted frame is the self address SA of the first transmitted frame and the other party's address D.
A, a control code CC, a data length BC, and an error check code (CRC) of a cyclic code detection method for data fields D1 to D3 are added.

【0028】図6はエラー訂正部19の動作を説明する
フローチャートである。
FIG. 6 is a flowchart illustrating the operation of the error correction section 19.

【0029】送受信装置2のエラー訂正部19には、復
調部18から1フィールド分の受信信号を入力されると
(ステップS1)、復調器の相関値およびパリティビッ
トPBを用いて1フィールド分のエラーチエックを行な
う(ステップS2)。エラーが検出されなければ、その
フィールドは正常であるので受信フレームメモリ21に
格納し(ステップS3)、そのフィールドのエラーフラ
グをクリアする(ステップS4)。また、エラーが検出
されたならば、受信フレームメモリ21に格納せずにそ
のフィールドのエラーフラグをセットする(ステップS
5)。以上のステップを1フレームの残りのフィールド
について繰返す(ステップS6)。
When the error correction unit 19 of the transmitting/receiving device 2 receives one field's worth of received signals from the demodulating unit 18 (step S1), it uses the correlation value and parity bit PB of the demodulator to correct one field's worth of received signals. An error check is performed (step S2). If no error is detected, that field is normal and is stored in the reception frame memory 21 (step S3), and the error flag of that field is cleared (step S4). If an error is detected, an error flag for that field is set without storing it in the reception frame memory 21 (step S
5). The above steps are repeated for the remaining fields of one frame (step S6).

【0030】次に、1フレーム分の受信後に、受信フレ
ームメモリ21に格納した同期信号ASと、テキスト開
始コードSTXと、プライオリテイコードPCと、自己
アドレスSAと、相手アドレスDAと、制御コードCC
と、データ長BCと、データフィールドD1〜Dnと、
フレームチェックコードFCCとの各フィールドのデー
タが完備したかどうかをチエックする(ステップS7)
。無効なフィールドがある場合は、ステップS15に進
み、そのままエラー訂正動作を終了する。
Next, after receiving one frame, the synchronization signal AS, text start code STX, priority code PC, self address SA, partner address DA, and control code CC stored in the reception frame memory 21 are
, data length BC, data fields D1 to Dn,
Check whether the data in each field is complete with the frame check code FCC (step S7)
. If there is an invalid field, the process advances to step S15 and the error correction operation is ended.

【0031】ステップS7で、受信フレームメモリ21
に格納した全てのフィールドが有効である場合には、C
RCエラーチエックを行なう(ステップS8)。このと
き、制御コードCCの再送フレームナンバービットはマ
スクしてエラーチエックの対象とはしない。フレームエ
ラーを検出した場合には、フィールドエラーフラグがセ
ットされているフィールド、すなわち、その受信フレー
ムでは更新しなかったフィールドを全て無効として(ス
テップS9〜S11)、ステップ14に進み終了する。
[0031] In step S7, the received frame memory 21
If all fields stored in C are valid, C
An RC error check is performed (step S8). At this time, the retransmission frame number bit of the control code CC is masked and is not subject to error checking. If a frame error is detected, all fields in which the field error flag is set, that is, fields that have not been updated in the received frame, are invalidated (steps S9 to S11), and the process proceeds to step 14 and ends.

【0032】フレームエラーを検出しない場合には、受
信フレーム判定部21で受信フレームの相手アドレスD
Aと制御コードCCとを解析し(ステップS12)、自
局あての通信フレームであると判定した場合は、アクノ
リッジ生成部22を起動し、肯定応答信号ACKを出力
する(ステップS12)。最後にステップ14に進み終
了する。
If no frame error is detected, the received frame determination unit 21 determines the destination address D of the received frame.
A and the control code CC (step S12), and if it is determined that the communication frame is addressed to the own station, the acknowledge generation unit 22 is activated and an acknowledgment signal ACK is output (step S12). Finally, the process proceeds to step 14 and ends.

【0033】図5において、最初の受信フレームcを受
信した時点では、バーストノイズにより、データ長BC
と、データフィールドD1の各フィールドがエラーフィ
ールドとなり、それぞれのエラーフラグがセットされる
。また、自己アドレスSAと、相手アドレスDAと、制
御コードCCと、データフィールドD2,D3およびフ
レームチェックコードFCCの各フィールドは正常であ
るので、受信フレームメモリ21に格納され、そのフィ
ールドのエラーフラグがクリアされる。この時点では、
受信フレームメモリ21の内容が完備していないので、
肯定応答信号ACKは返送されず、送信側から再送通信
フレームdが再送される。
In FIG. 5, when the first received frame c is received, the data length BC
Then, each field of the data field D1 becomes an error field, and each error flag is set. Also, since the fields of self address SA, partner address DA, control code CC, data fields D2 and D3, and frame check code FCC are normal, they are stored in the reception frame memory 21, and the error flag of the field is cleared. At this point,
Since the contents of the receive frame memory 21 are not complete,
The acknowledgment signal ACK is not returned, and the retransmission communication frame d is retransmitted from the transmitting side.

【0034】受信側で受信した再送通信フレームdの相
手アドレスDAと、制御コードCCと、データフィール
ドD3およびフレームチェックコードFCCはバースト
ノイズにより、エラーフィールドとなり、それぞれのエ
ラーフラグがセットされ受信フレームメモリ21に格納
されない。再送通信フレームdの自己アドレスSAと、
データ長BCと、データフィールドD1,D2の各フィ
ールドは正常であるので、受信フレームメモリ21に格
納され、そのフィールドのエラーフラグがクリアされる
。この時点で、受信フレームメモリ21の内容である自
己アドレスSAと、相手アドレスDAと、制御コードC
Cと、データ長BCと、データフィールドD1〜D3お
よびフレームチェックコードFCCの全てのフィールド
が完備する。また、制御コードCCの再送フレームナン
バービットをマスクして行なうエラーチエックも成功す
るので、エラー訂正が完了することになる。
The destination address DA, control code CC, data field D3, and frame check code FCC of the retransmission communication frame d received on the receiving side become error fields due to burst noise, and their respective error flags are set and stored in the reception frame memory. 21. Self-address SA of retransmission communication frame d,
Since the data length BC and each of the data fields D1 and D2 are normal, they are stored in the reception frame memory 21, and the error flag of that field is cleared. At this point, the contents of the reception frame memory 21, such as the self address SA, the other party's address DA, and the control code C
C, data length BC, data fields D1 to D3, and frame check code FCC. Furthermore, since the error check performed by masking the retransmission frame number bit of the control code CC is also successful, the error correction is completed.

【0035】以上、本発明の実施例を説明したが、本発
明は上記実施例に限られることなく種々の変形が可能で
ある。たとえば、各フィールドのパリティビットを1ビ
ットの代りに、3ビットで構成することにより、パリテ
ィビットを用いてフィールドエラーを検出するとともに
これを訂正することも、本発明の主旨を逸脱しない限り
適用できることは勿論である。
Although the embodiments of the present invention have been described above, the present invention is not limited to the above embodiments and can be modified in various ways. For example, it is also possible to detect and correct field errors using the parity bit by configuring each field with 3 bits instead of 1 bit, as long as it does not depart from the spirit of the present invention. Of course.

【0036】[0036]

【発明の効果】以上説明したように、本発明の電力線搬
送通信方式及び通信装置は、肯定応答信号を検出できな
いときに、前回の送信開始時刻からの電力線の交流の半
周期の整数倍ごとの遅延時間に対し、少なくともフィー
ルド周期の分の時間を加算または減算した時間の範囲を
除く時間の範囲内に設定した再送信時刻に再送信するこ
とにより、再送信の回数を大幅に低減し通信成功までの
時間を短縮するとともに、交流の周波数に同期した周期
のバーストノイズによる通信フレーム長よりも短い間隔
で発生する通信エラーに対しても1回の再送信により回
復できるという効果を有している。
Effects of the Invention As explained above, the power line carrier communication system and communication device of the present invention, when an acknowledgment signal cannot be detected, By retransmitting at a retransmission time set within a time range that excludes the time range that is obtained by adding or subtracting at least the field period from the delay time, the number of retransmissions can be significantly reduced and communication can be successful. This has the effect of shortening the time required for communication to occur, and also being able to recover from communication errors that occur at intervals shorter than the communication frame length due to burst noise with a period synchronized with the AC frequency with a single retransmission. .

【図面の簡単な説明】[Brief explanation of drawings]

【図1】本発明の電力線搬送通信方式及び電力線搬送通
信装置の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a power line carrier communication system and a power line carrier communication device of the present invention.

【図2】本実施例の電力線搬送通信方式の通信フレーム
の構成を示す図である。
FIG. 2 is a diagram showing the structure of a communication frame of the power line carrier communication system of the present embodiment.

【図3】本実施例の電力線搬送通信方式の通信フレーム
のフィールドの構成を示す図である。
FIG. 3 is a diagram showing the structure of fields of a communication frame of the power line carrier communication system of the present embodiment.

【図4】通信フレームの制御コードフィールドの構成を
示す図である。
FIG. 4 is a diagram showing the structure of a control code field of a communication frame.

【図5】通信フレームの再送信の場合のタイムチャート
である。
FIG. 5 is a time chart in the case of retransmission of communication frames.

【図6】送受信装置のエラー訂正部の動作の一例を示す
フローチャートである。
FIG. 6 is a flowchart illustrating an example of the operation of an error correction section of the transmitting/receiving device.

【図7】従来の電力線搬送通信方式の通信フレームの構
成を示す図である。
FIG. 7 is a diagram showing the structure of a communication frame of a conventional power line carrier communication system.

【図8】従来の電力線搬送通信方式の通信フレームのフ
ィールドの構成を示す図である。
FIG. 8 is a diagram showing a field configuration of a communication frame of a conventional power line carrier communication system.

【符号の説明】[Explanation of symbols]

1,2    送受信装置 3    電灯線 11    結合器 12    送信フレームメモリ 13    送信フレーム生成部 14    変調部 15    PN信号生成部 16    ドライバ 17    レシーバ 18    復調部 19    エラー訂正部 20    受信フレームメモリ 21    受信フレーム判定部 22    アクノリッジ生成部 23    アクノリッジ検出部 24    送信制御部 1, 2 Transmitting/receiving device 3. Electric light line 11 Coupler 12 Transmission frame memory 13 Transmission frame generation unit 14 Modulation section 15 PN signal generation section 16 Driver 17 Receiver 18 Demodulation section 19 Error correction section 20 Receive frame memory 21 Received frame determination unit 22 Acknowledge generation section 23 Acknowledge detection section 24 Transmission control section

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  第一の送受信装置からディジタルデー
タに制御情報とアドレス情報および誤りチエック情報と
を付加して生成した予め定めたフィールド周期の複数の
フィールドからなる第一の通信フレームを電気信号とし
て電力線に送出するとともに、第二の送受信装置が電力
線上の前記電気信号を受信し前記第一の通信フレームを
検出し前記制御情報とアドレス情報により前記第一の通
信フレームの前記ディジタルデータを選択的に抽出し、
誤りチエックにより抽出した前記ディジタルデータを正
しく受信したことを確認すると肯定応答信号を前記第一
の送受信装置に返送する電力線搬送通信方式において、
前記第一の送受信装置が前記肯定応答信号を検出できな
いときは前記第一の送受信装置は送出した前記第一の通
信フレームと同一の前記ディジタルデータと前記アドレ
ス情報および前記誤りチエック情報とを有する第二の通
信フレームを前記第一の通信フレームの送信開始時刻か
らの前記電力線を流れる交流の半周期の整数倍ごとの遅
延時間に対し少なくとも前記フィールド周期の分の時間
を加算または減算した時間の範囲を除く時間の範囲内に
設定した再送信時刻に再送信することを特徴とする電力
線搬送通信方式。
Claim 1: A first communication frame consisting of a plurality of fields with a predetermined field period, which is generated by adding control information, address information, and error check information to digital data from a first transmitting/receiving device, as an electrical signal. At the same time, a second transmitting/receiving device receives the electric signal on the power line, detects the first communication frame, and selectively converts the digital data of the first communication frame based on the control information and address information. Extract to
In a power line carrier communication system in which an acknowledgment signal is returned to the first transmitting/receiving device when it is confirmed that the extracted digital data has been correctly received through an error check,
When the first transmitting/receiving device cannot detect the acknowledgment signal, the first transmitting/receiving device sends a first communication frame having the same digital data, the address information, and the error check information as the transmitted first communication frame. The range of time obtained by adding or subtracting at least the field period from the transmission start time of the second communication frame to the delay time for each integral multiple of the half period of the alternating current flowing through the power line. A power line carrier communication system characterized by retransmission at a retransmission time set within a time range excluding.
【請求項2】  請求項1記載の電力線搬送通信方式に
用いる電力線搬送通信装置において、前記第一および第
二の送受信装置は前記ディジタルデータと前記制御情報
である制御データと前記アドレス情報であるアドレスデ
ータとを格納する送信フレームメモリと、前記送信フレ
ームメモリから出力される送信フレームメモリ出力デー
タにフィールド誤りチエックデータおよびフレーム誤り
チエックデータを含む前記誤りチエック情報を付加して
前記第一の通信フレームである第一の送信フレームを生
成する送信フレーム生成部と、前記第一の送信フレーム
を受信し復調した受信フレームを格納する受信フレーム
メモリと、前記フィールド誤りチエックデータにより前
記受信フレームを前記フィールドごとにフィールド誤り
チエックし誤りがない場合は前記受信フレームメモリに
順次格納し、前記受信フレームメモリに前記受信フレー
ムの1フレーム分が完全に格納されたときに前記フレー
ム誤りチエックデータによりフレーム誤りチエックをす
るエラー訂正部と、前記エラー訂正部の出力を受け前記
受信フレームの前記アドレスデータと前記制御データと
を解析して自局あての受信フレームであることを判定し
受信フレーム判定出力を出力する受信フレーム判定部と
、前記受信フレーム判定出力により前記肯定応答信号を
生成するアクノリッジ生成部と、前記肯定応答信号を検
出するアクノリッジ検出部と、前記アクノリッジ検出部
が前記肯定応答信号を検出しないとき前記第二の通信フ
レームである第二の送信フレームを前記再送信時刻に再
送信する送信制御部とを備えることを特徴とする電力線
搬送通信装置。
2. The power line carrier communication device used in the power line carrier communication system according to claim 1, wherein the first and second transmitting/receiving devices transmit the digital data, the control data that is the control information, and the address that is the address information. a transmission frame memory for storing data, and a transmission frame memory that adds the error check information including field error check data and frame error check data to the transmission frame memory output data output from the transmission frame memory, and adds the error check information including field error check data and frame error check data to the transmission frame memory output data output from the transmission frame memory, a transmission frame generation unit that generates a certain first transmission frame; a reception frame memory that stores a reception frame obtained by receiving and demodulating the first transmission frame; and a reception frame memory that stores the reception frame obtained by receiving and demodulating the first transmission frame; A field error check is performed, and if there is no error, the received frame is sequentially stored in the received frame memory, and when one frame of the received frame is completely stored in the received frame memory, a frame error check is performed using the frame error check data. a correction unit; and a reception frame determination unit that receives the output of the error correction unit, analyzes the address data and the control data of the reception frame, determines that the reception frame is addressed to the local station, and outputs a reception frame determination output. an acknowledge generation unit that generates the acknowledgment signal based on the reception frame determination output; an acknowledge detection unit that detects the acknowledgment signal; and when the acknowledge detection unit does not detect the acknowledgment signal, the second A power line carrier communication device comprising: a transmission control unit that retransmits a second transmission frame that is a communication frame at the retransmission time.
JP03090920A 1991-04-23 1991-04-23 Power line communication system and power line communication device Expired - Fee Related JP3084777B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03090920A JP3084777B2 (en) 1991-04-23 1991-04-23 Power line communication system and power line communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03090920A JP3084777B2 (en) 1991-04-23 1991-04-23 Power line communication system and power line communication device

Publications (2)

Publication Number Publication Date
JPH04322519A true JPH04322519A (en) 1992-11-12
JP3084777B2 JP3084777B2 (en) 2000-09-04

Family

ID=14011864

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03090920A Expired - Fee Related JP3084777B2 (en) 1991-04-23 1991-04-23 Power line communication system and power line communication device

Country Status (1)

Country Link
JP (1) JP3084777B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11163813A (en) * 1997-09-26 1999-06-18 Technical Maintenance Corp Digital radio transmission system for speaker
JP2009055282A (en) * 2007-08-27 2009-03-12 Toa Corp Private broadcast system
CN113483462A (en) * 2021-04-30 2021-10-08 佛山市顺德区美的电子科技有限公司 Air conditioner and data transmission method and storage medium thereof based on power line communication

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11163813A (en) * 1997-09-26 1999-06-18 Technical Maintenance Corp Digital radio transmission system for speaker
JP2008072752A (en) * 1997-09-26 2008-03-27 Touchtunes Music Corp Digital transmission system for loudspeaker
JP2009055282A (en) * 2007-08-27 2009-03-12 Toa Corp Private broadcast system
CN113483462A (en) * 2021-04-30 2021-10-08 佛山市顺德区美的电子科技有限公司 Air conditioner and data transmission method and storage medium thereof based on power line communication
CN113483462B (en) * 2021-04-30 2022-12-16 佛山市顺德区美的电子科技有限公司 Air conditioner and data transmission method and storage medium thereof based on power line communication

Also Published As

Publication number Publication date
JP3084777B2 (en) 2000-09-04

Similar Documents

Publication Publication Date Title
CA1301309C (en) Protocol for handling transmission errors over asynchronous communication lines
US4888767A (en) Repeat request signal transmission method for multi-station packet communication
EP0465533A4 (en) Error correction for infrared data communication
PL180350B1 (en) Error-free method of and apparatus for enabling multi-mode optical conductors-less communication
JP3284177B2 (en) Data transmission method
JP3084777B2 (en) Power line communication system and power line communication device
JPH09247132A (en) Radio packet communication equipment and transmitting device
US5592623A (en) System for a distributed wireless star network with terminal devices and a concentrator including start bits and ORing logic for resolving transmission contention
JP2002026984A (en) Communication system
JP3817367B2 (en) Line state adaptive communication method
JP3460715B2 (en) Communication system and communication method
JP3324674B2 (en) Transponder device and information transmission device
JP3059970B2 (en) Power line communication control device
JP2891267B2 (en) Data retransmission transmission method
JPH08172425A (en) Carrier changeover type automatic retransmission method and device
KR100188681B1 (en) Communication method to improve the fault of receiving acknowledge signal in the data communication
JPS61216542A (en) Transmission method of resending request signal
JPH06104923A (en) Data transmitter using radio channel
JPH0690239A (en) Communication control equipment and optical communication system using the same
JP2697502B2 (en) Spread spectrum receiver
JPH07288515A (en) Data transmission method
JPS62207042A (en) Transmitter receiver module
JPS61154240A (en) Transmission method of retransmission request signal
JP2000341251A (en) Data transmission method
JP2001127829A (en) Communication system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000606

LAPS Cancellation because of no payment of annual fees