JPH06326689A - Fm multiplex broadcasting receiver - Google Patents

Fm multiplex broadcasting receiver

Info

Publication number
JPH06326689A
JPH06326689A JP5115862A JP11586293A JPH06326689A JP H06326689 A JPH06326689 A JP H06326689A JP 5115862 A JP5115862 A JP 5115862A JP 11586293 A JP11586293 A JP 11586293A JP H06326689 A JPH06326689 A JP H06326689A
Authority
JP
Japan
Prior art keywords
error correction
data
error
horizontal
vertical
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
JP5115862A
Other languages
Japanese (ja)
Other versions
JP2561791B2 (en
Inventor
Masayuki Takada
政幸 高田
Toru Kuroda
徹 黒田
Kenichi Tsuchida
健一 土田
Tadashi Isobe
忠 磯部
Tsukasa Yamada
宰 山田
Takahiko Masumoto
隆彦 増本
Yoshikazu Tomita
義数 富田
Goji Tanaka
剛司 田中
Seiji Suzuki
勢治 鈴木
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.)
Sanyo Electric Co Ltd
Japan Broadcasting Corp
Original Assignee
Nippon Hoso Kyokai NHK
Sanyo Electric Co Ltd
Japan Broadcasting 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 Nippon Hoso Kyokai NHK, Sanyo Electric Co Ltd, Japan Broadcasting Corp filed Critical Nippon Hoso Kyokai NHK
Priority to JP5115862A priority Critical patent/JP2561791B2/en
Publication of JPH06326689A publication Critical patent/JPH06326689A/en
Application granted granted Critical
Publication of JP2561791B2 publication Critical patent/JP2561791B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PURPOSE:To more quickly and accurately perform error correction and detection processings by providing with a coincidence detection means for detecting the error of a longitudinal direction error corrected result by comparing the longitudinal direction error corrected result by an error correction means with a lateral error corrected result by the error correction means. CONSTITUTION:Data from a data memory 12 are up-loaded to an error correction circuit 18 and used for executing lateral direction error correction or longitudinal direction error correction. When the error correction in the error correction circuit 18 is correctly performed or when no error is present in the data from beginning, the result is inputted to an error correction control circuit 20 as an error status signal. Also, the data after the errors are corrected are inputted from the error correction circuit 18 to a CRC decoding circuit 22 and the error of the error corrected result is detected based on CRC codes. The detected result is inputted to the error correction control circuit 20 as CRC output.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明はFM多重放送受信機に
関し、特にたとえば1フレームが複数のデータパケット
と誤り訂正用のパリティパケットとによって構成される
ようなデータ構造の移動体FM多重放送受信機に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an FM multiplex broadcast receiver, and more particularly, to a mobile FM multiplex broadcast receiver having a data structure such that one frame is composed of a plurality of data packets and error correction parity packets. Regarding

【0002】[0002]

【従来の技術】移動体FM多重放送のデータ構造は、一
般に図7に示すように、誤り訂正用のパリティビット
(82ビット)とブロック同期信号(16ビット)等を
含む複数のデータパケットと、縦方向にも誤り訂正が行
えるように付加されたパリティパケットとによって1フ
レームのデータを構成している。
2. Description of the Related Art Generally, a data structure of a mobile FM multiplex broadcast is, as shown in FIG. 7, a plurality of data packets including parity bits (82 bits) for error correction, a block synchronization signal (16 bits), and the like. One frame of data is composed of a parity packet added so that error correction can be performed in the vertical direction.

【0003】データパケットおよびパリティパケットに
おいて、誤り訂正符号としては、文字放送と同じように
(272,190)短縮化差集合巡回符号を用いている
(NHK技術研究第37巻第1号参照)。また、データ
の誤り検出符号として、各データパケットのデータには
14ビットのCRC(Cyclic Redundancy Check )符号
が付加され、その生成多項式は次の通りとなっている。
In the data packet and the parity packet, the shortened difference set cyclic code is used as the error correction code (272, 190) as in the case of teletext (see NHK Technical Research Vol. 37, No. 1). As a data error detection code, a 14-bit CRC (Cyclic Redundancy Check) code is added to the data of each data packet, and the generating polynomial is as follows.

【0004】[0004]

【数1】G(X)=X14+X11+X2 +1 このCRC符号は各データパケット(パリティパケット
は除く。ただし、積符号化により結果的にパリティパケ
ットにもCRCが付加された形になる。)に付加されて
おり、誤り訂正が仮に間違って行われても、CRC符号
を復号することによりその間違いを検出することができ
る。したがって、間違って誤り訂正したデータをデータ
メモリに再ロードすることを防ぐことができる。
## EQU1 ## G (X) = X 14 + X 11 + X 2 +1 This CRC code is for each data packet (excluding the parity packet. However, the product coding results in the CRC being added to the parity packet as well. Even if the error correction is made by mistake, the error can be detected by decoding the CRC code. Therefore, it is possible to prevent the error-corrected data from being reloaded into the data memory.

【0005】そして、従来のFM多重放送受信機では、
受信されたデータは一旦横方向に誤り訂正が行われ、そ
の結果、フレーム内で1パケットでも訂正不能のパケッ
トがあった場合には、パリティパケットを用いてフレー
ム内で縦方向にも誤り訂正が行われる。そして、縦方向
誤り訂正の終了後、再び横方向誤り訂正が実行される。
このように、伝送されるデータブロックに対して誤り訂
正符号をフレーム毎に縦横方向に積符号化しているため
に、1回目の横誤り訂正で受信データのエラーを修復で
きなくても、縦方向に誤り訂正を行った後にもう一度横
方向に誤り訂正を行うので、多くの誤りが訂正できるよ
うになる。
Then, in the conventional FM multiplex broadcasting receiver,
The received data is temporarily subjected to error correction in the horizontal direction. As a result, if even one packet is uncorrectable in the frame, the parity packet is used to correct the error in the vertical direction as well. Done. Then, after the vertical error correction is completed, the horizontal error correction is performed again.
As described above, since the error correction code is product-coded in the vertical and horizontal directions for each frame of the transmitted data block, even if the error of the received data cannot be recovered by the first horizontal error correction, the vertical direction is corrected. Since the error correction is performed again in the horizontal direction after the error correction is performed, many errors can be corrected.

【0006】[0006]

【発明が解決しようとする課題】しかし、パリティパケ
ットには、縦方向誤り訂正におけるCRC復号のための
パケットがないため、縦方向誤り訂正においてはCRC
符号によるデータの誤り検出が行えない。したがって、
縦方向誤り訂正が間違って実行された場合、その間違っ
て訂正されたデータをデータメモリにロードすることに
なり、それまで正しく受信されていたデータを破壊する
という問題点があった。
However, since there is no packet for CRC decoding in the vertical error correction in the parity packet, the CRC is not used in the vertical error correction.
Error detection of data by code cannot be performed. Therefore,
If the vertical error correction is erroneously executed, the erroneously corrected data will be loaded into the data memory, and there has been a problem that the data which has been correctly received until then is destroyed.

【0007】また、まず横方向誤り訂正を行った後、フ
レーム内で1パケットでも訂正不能のパケットがあれば
さらに縦方向に誤り訂正を実行し、さらに、横方向誤り
訂正を実行するのみならず、誤り訂正後に誤り検出を行
っていたので、一連の誤り訂正および検出処理に時間が
かかってしまうという問題点があった。それゆえに、こ
の発明の主たる目的は、誤り訂正および検出処理をより
迅速かつ精度よく行える、FM多重放送受信機を提供す
ることである。
Further, after performing horizontal error correction first, if even one packet is uncorrectable in the frame, further error correction is performed in the vertical direction, and further horizontal error correction is performed. Since the error detection is performed after the error correction, there is a problem that a series of error correction and detection processing takes time. Therefore, a main object of the present invention is to provide an FM multiplex broadcast receiver capable of performing error correction and detection processing more quickly and accurately.

【0008】[0008]

【課題を解決するための手段】第1発明は、各々がブロ
ック同期信号,データブロック,誤り訂正用のパリティ
符号および誤り検出用のCRC符号を含む複数のデータ
パケットと縦方向の誤り訂正用のパリティパケットとに
よって1フレームを構成するデータが格納されるデータ
メモリ、データについて横方向または縦方向誤り訂正を
実行する誤り訂正手段、および誤り訂正手段による横方
向誤り訂正結果の誤り検出をCRC符号に基づいて行う
CRC復号手段を備える、FM多重放送受信機におい
て、誤り訂正手段による縦方向誤り訂正結果と誤り訂正
手段による横方向誤り訂正結果とを比較することによっ
て縦方向誤り訂正結果の誤り検出を行う一致検出手段を
含むことを特徴とする、FM多重放送受信機である。
According to a first aspect of the present invention, a plurality of data packets each including a block synchronization signal, a data block, a parity code for error correction and a CRC code for error detection and a vertical error correction are provided. A data memory in which data constituting one frame is stored with a parity packet, an error correction means for performing horizontal or vertical error correction on the data, and error detection of the horizontal error correction result by the error correction means is converted into a CRC code. In an FM multiplex broadcast receiver equipped with CRC decoding means based on the above, error detection of the vertical error correction result is performed by comparing the vertical error correction result by the error correction means with the horizontal error correction result by the error correction means. The FM multiplex broadcast receiver is characterized by including a coincidence detecting means for performing.

【0009】第2発明は、各々がブロック同期信号,デ
ータブロック,誤り訂正用のパリティ符号および誤り検
出用のCRC符号を含む複数のデータパケットと縦方向
の誤り訂正用のパリティパケットとによって1フレーム
を構成するデータが格納されるデータメモリ、データに
ついて横方向または縦方向誤り訂正を実行する誤り訂正
手段、および誤り訂正手段による横方向誤り訂正結果の
誤り検出をCRC符号に基づいて行うCRC復号手段を
備える、FM多重放送受信機において、1回目の横方向
誤り訂正によって全てのデータパケット内のデータブロ
ックに誤りがなくなれば、縦方向誤り訂正を行うことな
くそのフレームの誤り訂正を終了することを特徴とす
る、FM多重放送受信機である。
According to a second aspect of the present invention, one frame is composed of a plurality of data packets each including a block synchronization signal, a data block, a parity code for error correction and a CRC code for error detection, and a parity packet for vertical error correction. Memory for storing the data constituting the data, error correction means for performing horizontal or vertical error correction on the data, and CRC decoding means for performing error detection of the horizontal error correction result by the error correction means based on the CRC code. In the FM multiplex broadcast receiver including the above, if there is no error in the data blocks in all the data packets by the first horizontal error correction, the error correction of the frame is terminated without performing the vertical error correction. The feature is an FM multiplex broadcast receiver.

【0010】第3発明は、各々がブロック同期信号,デ
ータブロック,誤り訂正用のパリティ符号および誤り検
出用のCRC符号を含む複数のデータパケットと縦方向
の誤り訂正用のパリティパケットとによって1フレーム
を構成するデータが格納されるデータメモリ、データに
ついて横方向または縦方向誤り訂正を実行する誤り訂正
手段、および誤り訂正手段による横方向誤り訂正結果の
誤り検出をCRC符号に基づいて行うCRC復号手段を
備える、FM多重放送受信機において、CRC復号手段
は誤り訂正手段と並列接続され、誤り訂正手段での誤り
訂正と並行してCRC復号手段で誤り検出を実行するこ
とを特徴とする、FM多重放送受信機である。
According to a third aspect of the invention, one frame is composed of a plurality of data packets each containing a block synchronization signal, a data block, a parity code for error correction and a CRC code for error detection, and a parity packet for vertical error correction. Memory for storing the data constituting the data, error correction means for performing horizontal or vertical error correction on the data, and CRC decoding means for performing error detection of the horizontal error correction result by the error correction means based on the CRC code. In the FM multiplex broadcast receiver, the CRC decoding means is connected in parallel with the error correction means, and the error detection is executed by the CRC decoding means in parallel with the error correction by the error correction means. It is a broadcast receiver.

【0011】[0011]

【作用】第1発明では、誤り訂正手段による横方向誤り
訂正の結果、フレーム内で訂正不能のパケットが生じた
り、またはCRC復号手段でCRC符号に基づいて誤り
が検出されれば、エラーフラグが「1」となる。一方、
横方向誤り訂正の結果、訂正不能のパケットが生ずるこ
となく、CRC復号手段で誤りが検出されなければ、エ
ラーフラグは「0」となる。そして、縦方向誤り訂正が
実行された後、縦方向誤り訂正結果と、エラーフラグが
「0」であるすなわちエラーのない横方向誤り訂正結果
とを比較して、縦方向誤り訂正結果の誤り検出を行う。
両者が一致して誤りが検出されず、縦方向誤り訂正結果
が正しいものと判断された場合には、縦方向誤り訂正結
果をデータメモリに書き込む。両者が一致しない場合に
は、縦方向誤り訂正は誤訂正であると判断される。この
ように、横方向誤り訂正およびCRC復号によって正し
いデータであると認識された横方向誤り訂正結果と、縦
方向誤り訂正結果とを比較することによって、縦方向誤
り訂正が間違って行われた場合を検出することができ
る。すなわち、横方向誤り訂正で訂正が完了し、かつC
RC復号によってエラーなしと検出されたデータパケッ
ト内のデータは確実に正確なデータであると判断できる
ので、このデータを用いて縦方向誤り訂正の正当性を判
定できる。
According to the first aspect of the present invention, if an uncorrectable packet is generated in the frame as a result of the lateral error correction by the error correction means or an error is detected by the CRC decoding means based on the CRC code, an error flag is set. It becomes "1". on the other hand,
As a result of the lateral error correction, if an uncorrectable packet does not occur and no error is detected by the CRC decoding means, the error flag becomes "0". After the vertical error correction is performed, the vertical error correction result is compared with the horizontal error correction result in which the error flag is “0”, that is, there is no error, and the vertical error correction result is detected. I do.
If they match and no error is detected, and it is determined that the vertical error correction result is correct, the vertical error correction result is written to the data memory. If they do not match, the vertical error correction is determined to be an erroneous correction. In this way, when the vertical error correction is erroneously performed by comparing the horizontal error correction result recognized as correct data by the horizontal error correction and CRC decoding with the vertical error correction result. Can be detected. That is, the correction is completed by the lateral error correction, and C
Since the data in the data packet detected to be error-free by RC decoding can be determined to be accurate data with certainty, the validity of the vertical error correction can be determined using this data.

【0012】第2発明では、1回目の横方向誤り訂正に
よって、そのフレーム内の全てのデータパケットのデー
タブロックに関してのみ誤り訂正ができれば、データパ
ケットのパリティビットやパリティパケットにたとえ誤
りがあっても、その後縦方向誤り訂正を行うことなく、
誤り訂正を終了する。また、1回目の横方向誤り訂正に
よって、データブロックの誤りが訂正できなかったデー
タパケットがそのフレーム内に1つでもあれば、縦方向
誤り訂正を行い、再び横方向誤り訂正を行う。この2回
目の横方向誤り訂正は、パリティパケットに対しては行
わず、さらに、1回目の横方向誤り訂正によってそのデ
ータブロックの誤りが正しく誤り訂正されたデータパケ
ットに対しても行わない。
According to the second aspect of the invention, if the error correction can be performed only for the data blocks of all the data packets in the frame by the first horizontal error correction, even if the parity bit of the data packet or the parity packet has an error. , Then without vertical error correction,
Error correction ends. Further, if there is at least one data packet in the frame in which the error of the data block could not be corrected by the first horizontal error correction, vertical error correction is performed and horizontal error correction is performed again. The second horizontal error correction is not performed on the parity packet, and is not performed on the data packet in which the error of the data block is correctly corrected by the first horizontal error correction.

【0013】第3発明では、誤り訂正手段で誤り訂正を
実行すると同時にCRC復号手段で誤り検出を行う。
In the third aspect of the invention, the error correction means performs the error correction and the CRC decoding means simultaneously detects the error.

【0014】[0014]

【発明の効果】第1発明によれば、従来行えなかった縦
方向誤り検出が可能となる。この縦方向誤り検出では、
正しく横方向誤り訂正が行われたデータパケットのデー
タを用いることによって、簡単に縦方向誤り訂正が間違
いなく実行されたかどうかを確認することができ、縦方
向誤り訂正の精度を高くすることができる。
According to the first aspect of the present invention, it is possible to detect a vertical error which could not be performed conventionally. In this vertical error detection,
By using the data of the data packet for which the horizontal error correction has been correctly performed, it is possible to easily confirm whether or not the vertical error correction has been executed without fail, and it is possible to improve the accuracy of the vertical error correction. .

【0015】第2発明によれば、縦方向誤り訂正を実行
する前および2回目の横方向誤り訂正を実行する前に、
それぞれそれらの誤り訂正が必要か否かを判断し、必要
に応じて誤り訂正するので、誤り訂正処理が簡素化で
き、誤り訂正処理の処理速度が向上する。第3発明によ
れば、誤り訂正と誤り検出とを並行して行うので、処理
速度が向上する。
According to the second invention, before performing the vertical error correction and before performing the second horizontal error correction,
Since it is determined whether or not each of these error corrections is necessary and the error correction is performed if necessary, the error correction process can be simplified and the processing speed of the error correction process is improved. According to the third invention, the error correction and the error detection are performed in parallel, so that the processing speed is improved.

【0016】この発明の上述の目的,その他の目的,特
徴および利点は、図面を参照して行う以下の実施例の詳
細な説明から一層明らかとなろう。
The above-mentioned objects, other objects, features and advantages of the present invention will become more apparent from the detailed description of the following embodiments made with reference to the drawings.

【0017】[0017]

【実施例】図1を参照して、この実施例のFM多重放送
受信機10は、受信されてディジタルデータに復号され
たFM多重データ(以下単に、「受信データ」という)
が格納されるデータメモリ12を含む。データメモリ1
2は、後述する各種フラグが格納されるフラグエリア1
4を有する。そして、データメモリ12には、図7に示
すような1フレームのデータが格納される。また、受信
データおよびこれに同期したクロック信号は、同期検出
回路16に入力される。受信データは、同期検出回路1
6からの同期情報信号に基づいて、データメモリ12上
に書き込まれる。このとき、各パケット毎の後述するよ
うなフラグ情報をデータメモリ12内に割り当てられた
フラグエリア14に書き込んでおく。なお、同期情報信
号には、フレームの先頭を検出するフレーム先頭フラグ
や、ブロック同期信号が含まれる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to FIG. 1, an FM multiplex broadcasting receiver 10 of this embodiment receives FM multiplex data (hereinafter simply referred to as "received data") decoded into digital data.
A data memory 12 in which is stored. Data memory 1
2 is a flag area 1 in which various flags to be described later are stored
Have 4. Then, the data memory 12 stores one frame of data as shown in FIG. Further, the reception data and the clock signal synchronized with this are input to the synchronization detection circuit 16. The received data is the synchronization detection circuit 1
It is written in the data memory 12 on the basis of the synchronization information signal from 6. At this time, flag information as described later for each packet is written in the flag area 14 allocated in the data memory 12. The sync information signal includes a frame head flag for detecting the head of a frame and a block sync signal.

【0018】データメモリ12からのデータは誤り訂正
回路18にアップロードされ、横方向誤り訂正または縦
方向誤り訂正を実行するために用いられる。誤り訂正回
路18での誤り訂正が正しく行われた場合、または初め
からデータに誤りがなかった場合には、この結果がエラ
ーステータス信号(後述)として誤り訂正制御回路20
に入力される。また、誤り訂正回路18からCRC復号
回路22に誤り訂正後のデータが入力され、CRC符号
に基づいて誤り訂正結果の誤り検出が行われる。この検
出結果はCRC出力として誤り訂正制御回路20に入力
される。
The data from the data memory 12 is uploaded to the error correction circuit 18 and used to perform horizontal error correction or vertical error correction. When the error correction in the error correction circuit 18 is performed correctly, or when there is no error in the data from the beginning, the result is an error status signal (described later) and the error correction control circuit 20.
Entered in. Further, the error-corrected data is input from the error correction circuit 18 to the CRC decoding circuit 22, and the error detection of the error correction result is performed based on the CRC code. This detection result is input to the error correction control circuit 20 as a CRC output.

【0019】ここで、誤り訂正回路18およびCRC復
号回路22は、図2に示すように構成されてもよい。図
2に示す誤り訂正回路18は、82ビットのシンドロー
ムレジスタ24,272ビットのシフトレジスタ26お
よびデータ誤りを判定するための多数決論理回路28等
を含み、誤り訂正回路18にはCRC復号回路22が並
列に接続される。
Here, the error correction circuit 18 and the CRC decoding circuit 22 may be constructed as shown in FIG. The error correction circuit 18 shown in FIG. 2 includes an 82-bit syndrome register 24, a 272-bit shift register 26, a majority logic circuit 28 for determining a data error, and the like, and the error correction circuit 18 includes a CRC decoding circuit 22. Connected in parallel.

【0020】そして、データメモリ12から読み出され
たデータは、スイッチ30を介してシンドロームレジス
タ24に与えられ、スイッチ32を介してシフトレジス
タ26に与えられる。このデータ内の190ビットのデ
ータブロック中には、14ビットのCRC符号が含まれ
る。なお、このときスイッチ30,32および34は、
それぞれa側に接続される。272ビットのデータを入
力し終えると、スイッチ30,32および34はそれぞ
れb側に接続されて、シフトレジスタ26内の272ビ
ットのデータとシンドロームレジスタ24内のデータの
誤り訂正が、多数決論理回路28からの誤り訂正制御パ
ルスによって実行される。
Then, the data read from the data memory 12 is given to the syndrome register 24 via the switch 30 and given to the shift register 26 via the switch 32. A 190-bit data block in this data contains a 14-bit CRC code. At this time, the switches 30, 32 and 34 are
Each is connected to the a side. After inputting the 272-bit data, the switches 30, 32, and 34 are connected to the b side, respectively, and the error correction of the 272-bit data in the shift register 26 and the data in the syndrome register 24 is performed by the majority logic circuit 28. Performed by the error correction control pulse from.

【0021】多数決論理回路28は、シンドロームレジ
スタ24から各レジスタの値82ビットを受け取り、多
数決論理回路28によってシンドロームレジスタ24の
先頭ビットが誤りと判定されるとき、多数決論理回路2
8から誤り訂正制御パルスが出力され、この値に従って
シンドロームレジスタ24の先頭ビットの値が訂正され
る。このとき、誤り訂正制御パルスがEX−OR回路3
6に与えられ、シフトレジスタ26から出力された先頭
ビットの値も訂正される。このようにして、1ビット毎
にシンドロームレジスタ24およびシフトレジスタ26
をシフトしながら誤り訂正されていき、シンドロームレ
ジスタ24の全てのレジスタの値が0になるまで多数決
論理回路28の閾値を変えながら誤り訂正が実行され
る。
The majority logic circuit 28 receives the value 82 bits of each register from the syndrome register 24, and when the majority logic circuit 28 determines that the leading bit of the syndrome register 24 is an error, the majority logic circuit 2
8 outputs an error correction control pulse, and the value of the first bit of the syndrome register 24 is corrected according to this value. At this time, the error correction control pulse is the EX-OR circuit 3
The value of the first bit, which is given to 6 and output from the shift register 26, is also corrected. In this way, the syndrome register 24 and the shift register 26 are bit by bit.
The error correction is performed while shifting the value of .., and the error correction is executed while changing the threshold value of the majority logic circuit 28 until the values of all the registers of the syndrome register 24 become zero.

【0022】そして、誤り訂正が正しく行われた場合、
または初めからデータに誤りがなかった場合には、シン
ドロームレジスタ24の値が全て0となり、誤り訂正が
終了したものと判断され、エラーステータス信号が出力
される。そして、シフトレジスタ26から誤り訂正後の
データが出力される。このエラーステータス信号は、シ
ンドロームレジスタ24の各レジスタの値が全て0にな
ったときに、誤り訂正が終了したものとして出力され
る。
If the error correction is correctly performed,
Alternatively, if there is no error in the data from the beginning, all the values in the syndrome register 24 become 0, it is determined that the error correction is completed, and the error status signal is output. Then, the error-corrected data is output from the shift register 26. This error status signal is output as an end of error correction when the value of each register of the syndrome register 24 becomes 0.

【0023】このような誤り訂正処理と並行して、19
0ビットのデータブロックに対しCRC復号回路22に
よって誤り検出処理が行われる。すなわち、シフトレジ
スタ26からのデータが1ビット毎にEX−OR回路3
6に与えられ、誤り訂正制御パルスに基づいて誤り訂正
されるが、この誤り訂正後のデータがスイッチ32を介
して、CRC復号回路22に与えられる。したがって、
190ビットのデータブロックに対し誤り訂正処理が終
了した時点で、データブロックのCRC復号回路22へ
の入力は終了し、CRC復号回路22で誤り検出処理が
行われる。その結果がCRC出力として誤り訂正制御回
路20に与えられる。したがって、272ビットの誤り
訂正処理が終了する前に、誤り検出処理は終了してお
り、誤り訂正および検出処理が迅速となる。すなわち、
誤り訂正回路18での誤り訂正処理を行った後に、CR
C復号回路22での誤り検出を行う必要がないので、一
旦誤り訂正データをデータメモリ12に記憶させて、再
び読み出して誤り検出を行う必要がなく、処理時間を短
くできる。
In parallel with such error correction processing, 19
The CRC decoding circuit 22 performs error detection processing on the 0-bit data block. That is, the data from the shift register 26 is EX-OR circuit 3 bit by bit.
6 and the error is corrected based on the error correction control pulse. The data after the error correction is supplied to the CRC decoding circuit 22 via the switch 32. Therefore,
When the error correction processing is completed for the 190-bit data block, the input of the data block to the CRC decoding circuit 22 is completed, and the CRC decoding circuit 22 performs the error detection processing. The result is given to the error correction control circuit 20 as a CRC output. Therefore, the error detection process is completed before the 272-bit error correction process is completed, which speeds up the error correction and detection process. That is,
After performing error correction processing in the error correction circuit 18, CR
Since it is not necessary to detect the error in the C decoding circuit 22, it is not necessary to store the error correction data in the data memory 12 once and read it again to detect the error, and the processing time can be shortened.

【0024】なお、CRC復号回路22によって、CR
C符号を用いて訂正データの誤り検出を行うのは、正し
く誤り訂正が行われていないにも拘わらず、誤ってシン
ドロームレジスタ24の値がごく稀に全て0になり、エ
ラーステータス信号が出力され、訂正完了を示すことが
あるからである。CRC復号回路22による誤り検出
は、横方向誤り訂正の誤り検出にのみ用いられる。
The CRC decoding circuit 22 causes the CR
The error detection of the corrected data by using the C code erroneously causes all the values of the syndrome register 24 to become 0 erroneously even though the error correction is not correctly performed, and the error status signal is output. , It may indicate the completion of correction. The error detection by the CRC decoding circuit 22 is used only for the error detection of the lateral error correction.

【0025】図1に戻って、誤り訂正回路18からのエ
ラーステータス信号およびCRC復号回路22からのC
RC出力は、誤り訂正制御回路20に与えられ、正しく
訂正されたか否かが判断される。すなわち、誤り訂正制
御回路20に、エラーステータス信号およびデータ誤り
がない旨のCRC出力が与えられたとき、正しく横方向
誤り訂正されたと判断される。そして、この場合にの
み、訂正後のデータをデータメモリ12に上書きする。
Returning to FIG. 1, the error status signal from the error correction circuit 18 and the C from the CRC decoding circuit 22.
The RC output is given to the error correction control circuit 20 and it is determined whether or not it has been corrected correctly. That is, when the error correction control circuit 20 is provided with the error status signal and the CRC output indicating that there is no data error, it is determined that the horizontal error correction has been performed correctly. Then, only in this case, the corrected data is overwritten in the data memory 12.

【0026】また、一致検出回路38は、縦方向誤り訂
正後のデータの誤り検出を行うために用いられる。一致
検出回路38には、誤り訂正回路18から縦方向誤り訂
正後のデータが与えられる。これと同時に、データメモ
リ12に格納されている横方向誤り訂正後のデータが、
縦方向に読み出されて一致検出回路38に与えられると
ともに、各データが所属するデータパケットのフラグデ
ータが、フラグエリア14から読み出されて一致検出回
路38に与えられる。一致検出回路38では、誤り訂正
回路18からのデータとデータメモリ12からのデータ
との一致を、エラーフラグに従って判断し、一致検出信
号を誤り訂正制御回路20に出力する。
Further, the coincidence detection circuit 38 is used to detect an error in the data after vertical error correction. The data after vertical error correction is given from the error correction circuit 18 to the coincidence detection circuit 38. At the same time, the data after horizontal error correction stored in the data memory 12 is
The flag data of the data packet to which each data belongs is read from the flag area 14 and given to the match detection circuit 38 while being read in the vertical direction and given to the match detection circuit 38. The coincidence detection circuit 38 determines the coincidence between the data from the error correction circuit 18 and the data from the data memory 12 according to the error flag, and outputs a coincidence detection signal to the error correction control circuit 20.

【0027】すると、縦方向誤り訂正の場合には、誤り
訂正制御回路20は、誤り訂正回路18からのエラース
テータス信号と一致検出回路38からの一致検出信号と
によって、縦方向の誤り訂正が正しく行われたかどうか
を判断し、正しく誤り訂正された場合についてのみ、縦
方向誤り訂正後のデータをデータメモリ12に上書きす
る。
Then, in the case of vertical error correction, the error correction control circuit 20 performs correct vertical error correction based on the error status signal from the error correction circuit 18 and the match detection signal from the match detection circuit 38. It is determined whether the error has been corrected, and only when the error is corrected correctly, the data after the vertical error correction is overwritten on the data memory 12.

【0028】このように構成されるFM多重放送受信機
10の誤り訂正の動作を、図3ないし図6を参照して説
明する。誤り訂正の順序としては、1回目の横方向誤り
訂正が実行された後、縦方向誤り訂正が実行され、その
後2回目の横方向誤り訂正が実行される。以下に述べる
動作において、Faはフレーム同期フラグであり、
「1」でフレーム同期がとれていることを示し、「0」
でフレーム同期がとれていないことを示す。Fbはパリ
ティブロックフラグであり、「1」でパリティブロック
であることを示し、「0」でデータブロックであること
を示す。Fcはフレーム先頭フラグであり、「1」でフ
レーム先頭フラグあることを示し、「0」でフレーム先
頭フラグでないことを示す。Fdはデータ書き込みフラ
グであり、「1」で受信データのデータメモリ12への
書き込みが終了したことを示し、「0」で受信データの
書き込みが終了していないことを示す。Fhは1回目の
横方向誤り訂正終了フラグであり、「1」で1回目の横
方向訂正が終了したことを示し、「0」で1回目の横方
向訂正が終了していないことを示す。Feはエラーフラ
グを示し、「1」でエラー状態すなわち誤り訂正不能状
態を示し、「0」でエラー状態でないことを示す。な
お、フラグとしては、データ読み出し制御のために2回
目の横方向誤り訂正の終了フラグや、ブロック同期フラ
グも用いられ得る。
The error correction operation of the FM multiplex broadcast receiver 10 thus constructed will be described with reference to FIGS. 3 to 6. Regarding the order of error correction, after the first horizontal error correction is executed, the vertical error correction is executed, and then the second horizontal error correction is executed. In the operation described below, Fa is a frame synchronization flag,
"1" indicates that frame synchronization is established, and "0"
Indicates that the frame is not synchronized. Fb is a parity block flag, "1" indicates a parity block, and "0" indicates a data block. Fc is a frame head flag, "1" indicates that it is a frame head flag, and "0" indicates that it is not a frame head flag. Fd is a data write flag, and "1" indicates that the writing of the received data to the data memory 12 is completed, and "0" indicates that the writing of the received data is not completed. Fh is a first lateral error correction end flag, and "1" indicates that the first lateral correction is completed, and "0" indicates that the first lateral correction is not completed. Fe indicates an error flag, "1" indicates an error state, that is, an error correction impossible state, and "0" indicates that it is not an error state. As the flag, an end flag of the second horizontal error correction for data read control and a block synchronization flag may be used.

【0029】また、データメモリ12に受信データを書
き込むときに、各フラグFaないしFdはフラグエリア
14に書き込まれる。VCは誤り訂正制御用フレームカ
ウンタであり、誤り訂正を実行するデータメモリ12上
のブロックアドレスを示す。WAITは縦方向誤り訂正
を実行するか否かを示すフラグであり、「1」で実行
し、「0」で実行しない。SAは2回目の横方向誤り訂
正を実行するためのスタートアドレスを示す。
When writing the received data in the data memory 12, the flags Fa to Fd are written in the flag area 14. VC is an error correction control frame counter and indicates a block address on the data memory 12 for executing error correction. WAIT is a flag indicating whether or not vertical error correction is executed, and is executed by "1" and not executed by "0". SA indicates a start address for executing the second horizontal error correction.

【0030】まず、図3ないし図6に示す動作の前提と
して、受信データがデータメモリ12に書き込まれる際
に、フレーム同期フラグFa,パリティブロックフラグ
Fb,フレーム先頭フラグFcなどのパケットの各情報
がフラグエリア14の所定の領域に書き込まれる。この
際に、データ書込フラグFdも「1」に設定される。そ
して、図3に示すステップS1において、誤り訂正を開
始するにあたって、誤り訂正カウンタVCと縦誤り訂正
フラグWAITとを初期リセットする(VC=0,WA
IT=0)。そして、ステップS3において、誤り訂正
カウンタVCで指定されるブロックのフラグデータをフ
ラグエリア14から読み出し、ステップS5において、
まず、データ書込フラグFd=1であるか否かを判断す
る。Fd=1の場合、すなわち、受信データの書き込み
が終了している場合にはステップS7に進む。そうでな
い場合には、ステップS3に戻り再びフラグデータを読
み込んで、データ書き込みフラグFd=1になるまで待
機する。これは、誤り訂正カウンタVCがデータ受信書
き込みアドレスを飛び越えないように制御するルーチン
である。
First, on the premise of the operation shown in FIGS. 3 to 6, when the received data is written in the data memory 12, each information of the packet such as the frame synchronization flag Fa, the parity block flag Fb, the frame head flag Fc, etc. It is written in a predetermined area of the flag area 14. At this time, the data write flag Fd is also set to "1". Then, in step S1 shown in FIG. 3, when the error correction is started, the error correction counter VC and the vertical error correction flag WAIT are initially reset (VC = 0, WA.
IT = 0). Then, in step S3, the flag data of the block designated by the error correction counter VC is read from the flag area 14, and in step S5,
First, it is determined whether or not the data write flag Fd = 1. When Fd = 1, that is, when the writing of the reception data is completed, the process proceeds to step S7. If not, the process returns to step S3 to read the flag data again, and waits until the data write flag Fd = 1. This is a routine for controlling the error correction counter VC so as not to jump over the data reception write address.

【0031】ステップS7において、縦方向誤り訂正フ
ラグWAIT=1でありかつフレーム同期フラグFa=
1およびフレーム先頭フラグFc=1であるか否か、す
なわち、縦方向の誤り訂正を実行するように制御され、
かつフレーム同期のかかったフレーム先頭を検出してい
るか否かが判断される。ステップS7の条件を満たさな
い場合には、ステップS9に進み、ステップS9におい
て1回目の横方向訂正終了フラグFh=0であるか否
か、すなわち、1回目の横方向訂正が終了していないか
否かが判断される。
In step S7, the vertical error correction flag WAIT = 1 and the frame synchronization flag Fa =
1 and whether or not the frame head flag Fc = 1, that is, control is performed to execute error correction in the vertical direction,
Moreover, it is determined whether or not the beginning of the frame to which the frame synchronization is applied is detected. If the condition of step S7 is not satisfied, the process proceeds to step S9, and it is determined in step S9 whether the first horizontal direction correction end flag Fh = 0, that is, whether the first horizontal direction correction is completed. It is determined whether or not.

【0032】1回目の横方向誤り訂正がまだ終了してい
ないブロックである場合には、Fh=0となり、図4に
示す1回目の横方向誤り訂正のルーチンに入る。図4の
ステップS11において、1回目の横方向誤り訂正が実
行され、誤り訂正制御回路20は、誤り訂正回路18か
らのエラーステータス信号とCRC復号回路22からの
CRC出力とを受け取り、両者ともエラーなしと判定さ
れた場合にのみ、誤り訂正制御回路20はデータメモリ
12にアドレスを指定する信号を与える。そして、誤り
訂正結果の272ビットのデータをデータメモリ12の
所定のアドレスにダウンロードする。このようにするこ
とによって、受信データに誤りがあっても、誤り訂正に
よって間違いなく訂正されたデータのみをデータメモリ
12に書き込むことができる。そして、ステップS13
において誤りが訂正できたか否かが判断され、誤りが訂
正された場合にはステップS15において1回目の横方
向誤り訂正終了フラグFh=1とし、エラーフラグFe
=0として、ステップS17に進む。
If the block is one in which the first horizontal error correction has not been completed, Fh = 0 and the routine for the first horizontal error correction shown in FIG. 4 is entered. In step S11 of FIG. 4, the first horizontal error correction is executed, and the error correction control circuit 20 receives the error status signal from the error correction circuit 18 and the CRC output from the CRC decoding circuit 22, and both of them receive an error. Only when it is determined that there is none, the error correction control circuit 20 gives a signal for designating an address to the data memory 12. Then, the 272-bit data of the error correction result is downloaded to a predetermined address of the data memory 12. By doing so, even if there is an error in the received data, it is possible to write only the data that has been corrected without error by the error correction into the data memory 12. Then, step S13
In step S15, it is determined whether or not the error can be corrected. If the error is corrected, the first lateral error correction end flag Fh = 1 is set in step S15, and the error flag Fe is set.
= 0, the process proceeds to step S17.

【0033】一方、ステップS13において訂正不能で
あると判断された場合には、ステップS19において1
回目の横方向誤り訂正終了フラグFh=1,エラーフラ
グFe=1としてステップS21に進む。すなわち、誤
り訂正後のデータをデータメモリ12にダウンロードす
る際には、誤りの訂正状況を、各パケット毎に対応した
所定のフラグエリア14にエラーフラグFeとして書き
込んでおく。1回目の横方向誤り訂正が正しく行われた
パケットまたは受信データに始めから誤りが存在しなか
ったパケットでは、誤りのないパケットであることを示
し(Fe=0)、誤り訂正のできなかったパケットでは
誤りデータの存在するパケットであることを示す(Fe
=1)。
On the other hand, if it is determined in step S13 that the correction is impossible, 1 is set in step S19.
The second horizontal error correction end flag Fh = 1 and the error flag Fe = 1 are set, and the process proceeds to step S21. That is, when the error-corrected data is downloaded to the data memory 12, the error correction status is written as an error flag Fe in a predetermined flag area 14 corresponding to each packet. A packet for which the first horizontal error correction has been correctly performed or a packet in which received data has no error from the beginning indicates that the packet has no error (Fe = 0), and a packet for which error correction cannot be performed. Indicates that the packet has erroneous data (Fe
= 1).

【0034】そして、ステップS21においてパリティ
ブロックフラグFb=1であるか否か、すなわちパリテ
ィブロックであるか否かが判断され、パリティブロック
であればステップS17に進む。パリティブロックでな
ければ、データブロックと判断される。このデータブロ
ックは訂正不能なデータブロックであるので、縦方向誤
り訂正を行う必要がある。したがって、ステップS23
において、縦誤り訂正フラグWAIT=1に設定すると
ともに、誤り訂正カウンタVCを2回目の誤り訂正を開
始するスタートアドレスSAとして取り込む(SA=V
C)。そして、ステップS17では、誤り訂正カウンタ
VCを「1」インクリメントして(VC=VC+1)、
ステップS3に戻る。
Then, in step S21, it is determined whether or not the parity block flag Fb = 1, that is, whether or not it is a parity block. If it is a parity block, the process proceeds to step S17. If it is not a parity block, it is determined to be a data block. Since this data block is an uncorrectable data block, it is necessary to perform vertical error correction. Therefore, step S23
, The vertical error correction flag WAIT = 1 is set, and the error correction counter VC is fetched as the start address SA for starting the second error correction (SA = V
C). Then, in step S17, the error correction counter VC is incremented by "1" (VC = VC + 1),
Return to step S3.

【0035】ここで、図4に示すルーチンによって、全
てのデータパケットのデータブロックについて1回目の
横方向誤り訂正が正しく行われた場合には、それぞれの
データブロックの1回目の横方向誤り訂正終了フラグF
hおよびエラーフラグFeは、ステップS15において
Fh=1,Fe=0に設定される。このとき、たとえパ
リティブロックが誤り訂正不能となっても、そのエラー
フラグFe=1に設定されるだけで、縦方向誤り訂正フ
ラグWAIT=1とはならず、縦方向誤り訂正は実行さ
れない。すなわち、図5に示すルーチンには進まない。
また、データパケットのパリティ符号に誤りがあって
も、縦方向誤り訂正は実行されない。
Here, when the first horizontal error correction is correctly performed on the data blocks of all the data packets by the routine shown in FIG. 4, the first horizontal error correction of each data block is completed. Flag F
The h and the error flag Fe are set to Fh = 1 and Fe = 0 in step S15. At this time, even if the parity block cannot be error-corrected, only the error flag Fe = 1 is set, the vertical-direction error correction flag WAIT = 1 is not obtained, and the vertical-direction error correction is not executed. That is, the routine shown in FIG. 5 does not proceed.
Further, even if there is an error in the parity code of the data packet, vertical error correction is not executed.

【0036】また、1回目の横方向誤り訂正で訂正不能
となるデータブロックがある場合には、ステップS23
において縦方向誤り訂正フラグWAIT=1となり、誤
り訂正カウンタVCが2回目の横方向誤り訂正を始める
スタートアドレスSAとして取り込まれる(SA=V
C)。その後、フレーム同期のかかったフレーム先頭を
検出するまで図4に示すルーチンが繰り返されるが、再
び訂正不能のデータブロックがあってもスタートアドレ
スSAは誤り訂正カウンタVCを再び取り込まない。す
なわち、スタートアドレスSAは、最初に訂正不能とな
るデータブロックが検出された場合にのみその誤り訂正
カウンタVCを取り込む。そして、フレーム同期のかか
ったフレーム先頭が検出され、ステップS7の条件を満
たすと、図5に示すルーチンに進み、縦方向誤り訂正が
実行される。
If there is a data block that cannot be corrected by the first horizontal error correction, step S23.
, The vertical error correction flag WAIT becomes 1, and the error correction counter VC is fetched as the start address SA for starting the second horizontal error correction (SA = V
C). After that, the routine shown in FIG. 4 is repeated until the beginning of the frame synchronized with the frame is detected, but the start address SA does not fetch the error correction counter VC again even if there is an uncorrectable data block again. That is, the start address SA fetches the error correction counter VC only when the uncorrectable data block is first detected. Then, when the frame head subjected to frame synchronization is detected and the condition of step S7 is satisfied, the routine proceeds to the routine shown in FIG. 5 and vertical error correction is executed.

【0037】このように縦方向誤り訂正を実行するの
は、パケット中に存在する誤りが多すぎたり、同期がか
かっていなかったりすると、先に述べた1回目の横方向
誤り訂正を行っても、それだけではデータ誤りが訂正さ
れない場合が生じるからである。縦方向誤り訂正の動作
は以下のようになる。同期検出回路16によって、フレ
ームの先頭パケットに到達したことが検出されると、縦
方向の誤り訂正が実行される。横方向誤り訂正後のデー
タがデータメモリ12から縦方向に読み出されて、誤り
訂正回路18に入力され、横方向と同様に、上述のよう
に誤り訂正が実行される。縦方向誤り訂正の終了後、誤
り訂正回路18からのエラーステータス信号が誤り訂正
制御回路20に入力される。このエラーステータス信号
が出力されても、横方向誤り訂正と異なり、CRC復号
回路22による訂正結果の誤り検出は行えないため、一
致検出回路36によって誤り検出を行う。すなわち、縦
方向誤り訂正後のデータを一致検出回路36に入力し、
これと同時に横方向誤り訂正後のデータをデータメモリ
12から縦方向に読み出して、一致検出回路36に入力
する。また、データメモリ12のフラグエリア14か
ら、縦方向に読み出した各1ビット毎のデータの所属す
るパケットにおける横方向誤り訂正結果を示すエラーフ
ラグFeを読み出し、同様に一致検出回路36に与え
る。
The vertical error correction is performed in this manner even if the first horizontal error correction described above is performed if too many errors are present in the packet or if synchronization is not applied. This is because the data error may not be corrected by that alone. The operation of vertical error correction is as follows. When the synchronization detection circuit 16 detects that the first packet of the frame has been reached, vertical error correction is executed. The data after horizontal error correction is read out vertically from the data memory 12 and input to the error correction circuit 18, and the error correction is executed as described above in the same manner as in the horizontal direction. After the vertical error correction is completed, the error status signal from the error correction circuit 18 is input to the error correction control circuit 20. Even if this error status signal is output, unlike the horizontal error correction, the error detection of the correction result by the CRC decoding circuit 22 cannot be performed, and therefore the coincidence detection circuit 36 performs the error detection. That is, the data after vertical error correction is input to the coincidence detection circuit 36,
At the same time, the data after horizontal error correction is read out vertically from the data memory 12 and input to the coincidence detection circuit 36. Further, from the flag area 14 of the data memory 12, the error flag Fe indicating the horizontal error correction result in the packet to which the data of each 1-bit read in the vertical direction belongs is read out and is similarly given to the coincidence detection circuit 36.

【0038】一致検出回路36では、誤り訂正回路18
からのデータとデータメモリ12からのデータとが一致
するかどうかを、エラーフラグFeに応じて判断する。
すなわち、データメモリ12から一致検出回路36に入
力される横方向誤り訂正後のデータが、エラーフラグF
eによって誤りがないことが確認されたビットである場
合には、誤り訂正回路18からの対応する縦方向誤り訂
正後のデータと比較して一致しているかどうかを確認す
る。もし、正しく縦方向誤り訂正が行われていれば、2
つのデータは一致するはずである。エラーフラグFe
が、横方向誤り訂正後のデータが誤りの存在するパケッ
トのデータであることを示す場合には、2つのデータは
比較されない。このようにして、縦方向の全ビット(2
72ビット)にわたり、誤り訂正回路18からのデータ
とデータメモリ12からのデータとの一致を検出する。
In the coincidence detection circuit 36, the error correction circuit 18
It is determined according to the error flag Fe whether or not the data from 1 and the data from the data memory 12 match.
That is, the horizontal error-corrected data input from the data memory 12 to the match detection circuit 36 is the error flag F.
If the bit has been confirmed to have no error by e, it is compared with the corresponding data after vertical error correction from the error correction circuit 18 to confirm whether or not there is a match. If the vertical error correction is correct, 2
The two data should match. Error flag Fe
, Indicates that the data after horizontal error correction is data of a packet in which an error exists, the two data are not compared. In this way, all vertical bits (2
72 bits), a match between the data from the error correction circuit 18 and the data from the data memory 12 is detected.

【0039】この結果、データメモリ12から一致検出
回路36に与えられたデータ(1回目に正しく横方向誤
り訂正された)と、対応する縦方向誤り訂正後のデータ
とが全ビット一致した場合には、縦方向誤り訂正後のデ
ータは誤りがないものと確認され、一致検出回路36か
らは一致検出信号を誤り訂正制御回路20に出力する。
As a result, when all the bits of the data given from the data memory 12 to the coincidence detection circuit 36 (corrected horizontally in the first horizontal direction error correction) and the corresponding data after the vertical direction error correction are matched, Is confirmed to have no error in the data after vertical error correction, and the coincidence detection circuit 36 outputs a coincidence detection signal to the error correction control circuit 20.

【0040】この場合に、縦方向誤り訂正後のデータに
ついて誤り検出するのは以下の理由による。誤り訂正回
路18によって正しく誤り訂正されていないにも拘わら
ず、誤って訂正終了を示した場合、すなわち誤り訂正回
路18のシンドロームレジスタ24のレジスタが全て0
となるような場合には、一般に、縦方向誤り訂正後のデ
ータは正しいデータとは著しく異なったデータとなるこ
とが多い。このような誤ったデータをデータメモリ12
にロードされることを防ぐことが必要となる。そこで、
このような場合に、1回目の横方向誤り訂正後のデータ
と縦方向誤り訂正後のデータとが全ビット間にわたって
一致することは確率的に非常に起こりにくいと考えられ
ることを利用し、対応する両データが一致しないときに
は、その縦方向誤り訂正後のデータは誤りであるとし、
誤ったデータをデータメモリ12にロードしないように
したのである。
In this case, the reason for error detection of the data after vertical error correction is as follows. Although the error correction circuit 18 does not correct the error correctly, the error correction circuit 18 erroneously indicates the end of correction, that is, all the syndrome registers 24 of the error correction circuit 18 are 0.
In such a case, in general, the data after vertical error correction is often significantly different from the correct data. Such incorrect data is stored in the data memory 12
It is necessary to prevent it from being loaded into. Therefore,
In such a case, it is considered that it is very unlikely that the data after the first horizontal error correction and the data after the vertical error correction match all the bits stochastically. If the two data do not match, the data after vertical error correction is regarded as an error,
The wrong data is not loaded into the data memory 12.

【0041】したがって、誤り訂正制御回路20は、縦
方向誤り訂正の場合には、誤り訂正回路18からのエラ
ーステータス信号と一致検出回路36からの一致検出信
号とによって、縦方向の誤り訂正が正しく行われたかど
うかを判断し、正しく誤り訂正された場合についての
み、誤り訂正回路18からの縦方向誤り訂正後のデータ
をデータメモリ12にロードする。このとき、訂正後の
データが格納されるデータメモリ12上のアドレスは、
誤り訂正制御回路20によって指示される。
Therefore, in the case of vertical error correction, the error correction control circuit 20 performs correct vertical error correction by the error status signal from the error correction circuit 18 and the match detection signal from the match detection circuit 36. Whether or not the error has been corrected is determined, and only when the error is corrected correctly, the data after the vertical error correction from the error correction circuit 18 is loaded into the data memory 12. At this time, the address on the data memory 12 in which the corrected data is stored is
It is instructed by the error correction control circuit 20.

【0042】このようにして縦方向誤り訂正が実行され
た後、ステップS27に進み、ステップS23で取り込
んだスタートアドレスSAに、誤り訂正カウンタVCを
設定する(VC=SA)とともに、縦方向誤り訂正フラ
グWAITをリセットして(WAIT=0)、ステップ
S3に戻る。そして、2回目の横方向誤り訂正が実行さ
れる。
After the vertical error correction is executed in this way, the process proceeds to step S27, where the error correction counter VC is set to the start address SA fetched in step S23 (VC = SA), and the vertical error correction is performed. The flag WAIT is reset (WAIT = 0) and the process returns to step S3. Then, the second horizontal error correction is executed.

【0043】すなわち、縦方向誤り訂正が終了したの
で、ステップS7においてWAIT=0となり、ステッ
プS9に進む。そして、1回目の横方向誤り訂正が終了
しているので、ステップS9においてFh=1となり、
ステップS29に進む。ステップS29において、パリ
ティブロックフラグFb=0であり、かつエラーフラグ
Fe=1であるか、すなわちデータブロックでありかつ
1回目の横方向誤り訂正の際に訂正不能のブロックがあ
ったか否かが判断される。データブロックでありかつ1
回目の横方向誤り訂正では訂正不能のブロックであれ
ば、図6に示すルーチンに進む。
That is, since the vertical error correction is completed, WAIT = 0 in step S7, and the process proceeds to step S9. Since the first horizontal error correction has been completed, Fh = 1 in step S9,
It proceeds to step S29. In step S29, it is determined whether the parity block flag Fb = 0 and the error flag Fe = 1, that is, whether there is a block that is a data block and cannot be corrected during the first horizontal error correction. It Data block and 1
If the block cannot be corrected by the horizontal error correction for the next time, the routine proceeds to the routine shown in FIG.

【0044】ステップS31において、このデータブロ
ックが誤り訂正回路20にアップロードされ、2回目の
横方向誤り訂正が実行される。すなわち、誤り訂正カウ
ンタVCがスタートアドレスSAに戻るため、1回目の
誤り訂正を経たブロックを処理することになる。2回目
の横方向誤り訂正が実行された後、ステップS33にお
いて正しく訂正されたか否かが判断される。正しく訂正
されていれば、ステップS35においてエラーフラグF
e=0とし、ステップS37に進む。ステップS33に
おいて正しく訂正されなかった場合には、ステップS3
9においてエラーフラグFe=1として、ステップS3
7に進む。ステップS37において、誤り訂正カウンタ
VCを「1」インクリメントして(VC=VC+1)、
ステップS3に戻る。
In step S31, this data block is uploaded to the error correction circuit 20 and the second horizontal error correction is executed. That is, since the error correction counter VC returns to the start address SA, the block after the first error correction is processed. After the second horizontal error correction is executed, it is determined in step S33 whether the error has been corrected correctly. If it is correctly corrected, the error flag F is determined in step S35.
e = 0, and the process proceeds to step S37. If not corrected in step S33, step S3
9, the error flag Fe = 1 is set, and step S3 is performed.
Proceed to 7. In step S37, the error correction counter VC is incremented by "1" (VC = VC + 1),
Return to step S3.

【0045】そして、1回目の横方向誤り訂正の際に訂
正不能があった全てのデータパケットについて、2回目
の横方向誤り訂正が終了するまで図6のルーチンが繰り
返される。そして、正しく誤り訂正されると、そのデー
タはデータメモリ12にダウンロードして書き込まれ
る。なお、2回目の横方向誤り訂正の結果についても、
1回目と同様に誤り検出されることはいうまでもない。
Then, the routine shown in FIG. 6 is repeated until the second horizontal error correction is completed for all the data packets that cannot be corrected at the first horizontal error correction. When the error is corrected correctly, the data is downloaded and written in the data memory 12. As for the result of the second horizontal error correction,
It goes without saying that an error is detected as in the first time.

【0046】また、ステップS29の条件を満たさない
場合には、2回目の横方向誤り訂正をすることなしに、
ステップS41に進む。ステップS41において、誤り
訂正カウンタVCを「1」インクリメントして、ステッ
プS3に戻る。この場合は、Fb=1(そのブロックが
パリティブロック)であるか、Fb=0(そのブロック
がデータブロック)であってもFe=0(誤りが1回目
の横方向誤り訂正で完全に訂正された)の場合である。
そして、2回目の横方向誤り訂正が終了すると、データ
の誤り訂正が完了する。
When the condition of step S29 is not satisfied, the second horizontal error correction is not performed,
It proceeds to step S41. In step S41, the error correction counter VC is incremented by "1", and the process returns to step S3. In this case, Fb = 1 (the block is a parity block), or even if Fb = 0 (the block is a data block), Fe = 0 (the error is completely corrected by the first horizontal error correction). It was the case.
Then, when the second horizontal error correction is completed, the data error correction is completed.

【0047】このように動作するFM多重放送受信機1
0では、1回目の横方向誤り訂正によって、1フレーム
内の全てのデータパケットのデータブロックについての
み誤り訂正できれば、データパケットのパリティビット
部やパリティパケットにたとえ誤りがあっても、誤り訂
正を終了することができる。また、1回目の横方向誤り
訂正によって、データブロックの誤りが訂正できなかっ
たデータパケットが1フレーム内に1つでもあれば、縦
方向誤り訂正を行い、再び横方向誤り訂正を行うが、こ
の2回目の横方向の誤り訂正は、パリティパケットに対
しては行わず、さらに、1回目の横方向誤り訂正によっ
てそのデータブロックの誤りが正しく訂正されたデータ
パケットに対しても行わないので、誤り訂正の処理速度
を向上できる。
FM multiplex broadcast receiver 1 operating in this way
With 0, if error correction can be performed only on the data blocks of all data packets in one frame by the first horizontal error correction, error correction ends even if there is an error in the parity bit part or parity packet of the data packet. can do. Further, if there is at least one data packet in the frame in which the error of the data block cannot be corrected by the first horizontal error correction, vertical error correction is performed and horizontal error correction is performed again. The second horizontal error correction is not performed on the parity packet, and is not performed on the data packet in which the error of the data block is correctly corrected by the first horizontal error correction. The correction processing speed can be improved.

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

【図1】この発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】この実施例の誤り訂正回路およびCRC復号回
路の一例を示すブロック図である。
FIG. 2 is a block diagram showing an example of an error correction circuit and a CRC decoding circuit of this embodiment.

【図3】この実施例の動作のメインルーチンを示すフロ
ー図である。
FIG. 3 is a flowchart showing a main routine of operation of this embodiment.

【図4】1回目の横方向誤り訂正を実行する場合のルー
チンを示すフロー図である。
FIG. 4 is a flowchart showing a routine for executing a first horizontal error correction.

【図5】縦方向誤り訂正を実行する場合のルーチンを示
すフロー図である。
FIG. 5 is a flowchart showing a routine for executing vertical error correction.

【図6】2回目の横方向誤り訂正を実行する場合のルー
チンを示すフロー図である。
FIG. 6 is a flowchart showing a routine for executing a second horizontal error correction.

【図7】FM多重放送における一般的なデータ構造を示
す図解図である。
FIG. 7 is an illustrative view showing a general data structure in FM multiplex broadcasting.

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

10 …FM多重放送受信機 12 …データメモリ 14 …フラグエリア 18 …誤り訂正回路 20 …誤り訂正制御回路 22 …CRC復号回路 24 …シンドロームレジスタ 26 …シフトレジスタ 28 …多数決論理回路 36 …一致検出回路 10 ... FM multiplex broadcast receiver 12 ... Data memory 14 ... Flag area 18 ... Error correction circuit 20 ... Error correction control circuit 22 ... CRC decoding circuit 24 ... Syndrome register 26 ... Shift register 28 ... Majority decision logic circuit 36 ... Match detection circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 土田 健一 東京都世田谷区砧一丁目10番11号 日本放 送協会放送技術研究所内 (72)発明者 磯部 忠 東京都世田谷区砧一丁目10番11号 日本放 送協会放送技術研究所内 (72)発明者 山田 宰 東京都世田谷区砧一丁目10番11号 日本放 送協会放送技術研究所内 (72)発明者 増本 隆彦 大阪府守口市京阪本通2丁目18番地 三洋 電機株式会社内 (72)発明者 富田 義数 大阪府守口市京阪本通2丁目18番地 三洋 電機株式会社内 (72)発明者 田中 剛司 大阪府守口市京阪本通2丁目18番地 三洋 電機株式会社内 (72)発明者 鈴木 勢治 大阪府守口市京阪本通2丁目18番地 三洋 電機株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Kenichi Tsuchida 1-10-11 Kinuta, Setagaya-ku, Tokyo Inside the broadcasting technology research institute of Japan Broadcasting Corporation (72) Tadashi Isobe 1-10-11 Kinuta, Setagaya-ku, Tokyo Broadcasting Technology Institute, Japan Broadcasting Corporation (72) Inventor Satoshi Yamada 1-10-11 Kinuta, Setagaya-ku, Tokyo Inside Broadcasting Technology Laboratory, Japan Broadcasting Association (72) Takahiko Masumoto 2 Keihanhondori, Moriguchi-shi, Osaka Chome 18 Sanyo Electric Co., Ltd. (72) Inventor Yoshida Tomita 2-18 Keihan Hondori, Moriguchi City, Osaka Prefecture Sanyo Electric Co., Ltd. (72) Takeshi Tanaka 2-18 Keihan Hondo, Moriguchi City, Osaka Prefecture Sanyo Electric Co., Ltd. (72) Inventor Seiji Suzuki 2-18 Keihan Hondori, Moriguchi City, Osaka Prefecture Sanyo Electric Co., Ltd.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】各々がブロック同期信号,データブロッ
ク,誤り訂正用のパリティ符号および誤り検出用のCR
C符号を含む複数のデータパケットと縦方向の誤り訂正
用のパリティパケットとによって1フレームを構成する
データが格納されるデータメモリ、前記データについて
横方向または縦方向誤り訂正を実行する誤り訂正手段、
および前記誤り訂正手段による横方向誤り訂正結果の誤
り検出を前記CRC符号に基づいて行うCRC復号手段
を備える、FM多重放送受信機において、 前記誤り訂正手段による縦方向誤り訂正結果と前記誤り
訂正手段による横方向誤り訂正結果とを比較することに
よって前記縦方向誤り訂正結果の誤り検出を行う一致検
出手段を含むことを特徴とする、FM多重放送受信機。
1. A block synchronization signal, a data block, a parity code for error correction, and a CR for error detection, respectively.
A data memory in which data constituting one frame is stored by a plurality of data packets including a C code and a parity packet for vertical error correction; error correction means for performing horizontal or vertical error correction on the data;
And an FM multiplex broadcast receiver comprising CRC decoding means for performing error detection of the horizontal error correction result by the error correction means based on the CRC code, wherein the vertical error correction result by the error correction means and the error correction means An FM multiplex broadcast receiver, characterized in that it includes coincidence detection means for detecting an error in the vertical error correction result by comparing it with the horizontal error correction result.
【請求項2】データの誤り訂正および誤り検出の結果に
基づいて前記データは正しいデータであるか否かを示す
エラーフラグを含み、 前記エラーフラグが正しいデータであることを示してい
るデータのみを前記1回目の横方向誤り訂正結果として
用いることを特徴とする、請求項1記載のFM多重放送
受信機。
2. An error flag indicating whether or not the data is correct data based on a result of error correction and error detection of the data, and only data indicating that the error flag is correct data is included. The FM multiplex broadcast receiver according to claim 1, wherein the FM multiplex broadcast receiver is used as a result of the first horizontal error correction.
【請求項3】前記一致検出手段で誤りが検出されなかっ
た場合前記縦方向誤り訂正結果に従って前記データメモ
リを書き換える、請求項1または2記載のFM多重放送
受信機。
3. The FM multiplex broadcast receiver according to claim 1, wherein the data memory is rewritten according to the vertical error correction result when no error is detected by the coincidence detecting means.
【請求項4】各々がブロック同期信号,データブロッ
ク,誤り訂正用のパリティ符号および誤り検出用のCR
C符号を含む複数のデータパケットと縦方向の誤り訂正
用のパリティパケットとによって1フレームを構成する
データが格納されるデータメモリ、前記データについて
横方向または縦方向誤り訂正を実行する誤り訂正手段、
および前記誤り訂正手段による横方向誤り訂正結果の誤
り検出を前記CRC符号に基づいて行うCRC復号手段
を備える、FM多重放送受信機において、 1回目の横方向誤り訂正によって全ての前記データパケ
ット内の前記データブロックに誤りがなくなれば、縦方
向誤り訂正を行うことなくそのフレームの誤り訂正を終
了することを特徴とする、FM多重放送受信機。
4. A block sync signal, a data block, a parity code for error correction, and a CR for error detection, respectively.
A data memory in which data constituting one frame is stored by a plurality of data packets including a C code and a parity packet for vertical error correction; error correction means for performing horizontal or vertical error correction on the data;
In an FM multiplex broadcast receiver, which comprises CRC decoding means for performing error detection of a horizontal error correction result by the error correction means based on the CRC code, a first horizontal error correction is performed in all the data packets. An FM multiplex broadcast receiver characterized by terminating error correction of the frame without performing vertical error correction when the data block has no error.
【請求項5】1回目の横方向誤り訂正によって前記1フ
レーム内にデータブロックの誤り訂正できなかったデー
タパケットがあれば縦方向誤り訂正を行う、請求項4記
載のFM多重放送受信機。
5. The FM multiplex broadcast receiver according to claim 4, wherein vertical error correction is performed if there is a data packet in which a data block error cannot be corrected in the one frame by the first horizontal error correction.
【請求項6】前記縦方向誤り訂正後に行う2回目の横方
向誤り訂正を、前記パリティパケットおよび前記1回目
の横方向誤り訂正によってそのデータブロックの誤りが
訂正されたデータパケットに対しては行わないようにし
た、請求項5記載のFM多重放送受信機。
6. The second horizontal error correction performed after the vertical error correction is performed on the parity packet and the data packet in which the error of the data block is corrected by the first horizontal error correction. The FM multiplex broadcast receiver according to claim 5, wherein the FM multiplex broadcast receiver is not provided.
【請求項7】各々がブロック同期信号,データブロッ
ク,誤り訂正用のパリティ符号および誤り検出用のCR
C符号を含む複数のデータパケットと縦方向の誤り訂正
用のパリティパケットとによって1フレームを構成する
データが格納されるデータメモリ、前記データについて
横方向または縦方向誤り訂正を実行する誤り訂正手段、
および前記誤り訂正手段による横方向誤り訂正結果の誤
り検出を前記CRC符号に基づいて行うCRC復号手段
を備える、FM多重放送受信機において、 前記CRC復号手段は前記誤り訂正手段と並列接続さ
れ、前記誤り訂正手段での誤り訂正と並行して前記CR
C復号手段で誤り検出を実行することを特徴とする、F
M多重放送受信機。
7. A block synchronization signal, a data block, a parity code for error correction, and a CR for error detection, respectively.
A data memory in which data constituting one frame is stored by a plurality of data packets including a C code and a parity packet for vertical error correction; error correction means for performing horizontal or vertical error correction on the data;
And an FM multiplex broadcast receiver comprising CRC decoding means for performing error detection of a lateral error correction result by the error correcting means based on the CRC code, wherein the CRC decoding means is connected in parallel with the error correcting means, and In parallel with the error correction by the error correction means, the CR
F is characterized in that the C decoding means performs error detection.
M multiplex broadcast receiver.
JP5115862A 1993-05-18 1993-05-18 FM multiplex broadcast receiver Expired - Lifetime JP2561791B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5115862A JP2561791B2 (en) 1993-05-18 1993-05-18 FM multiplex broadcast receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5115862A JP2561791B2 (en) 1993-05-18 1993-05-18 FM multiplex broadcast receiver

Publications (2)

Publication Number Publication Date
JPH06326689A true JPH06326689A (en) 1994-11-25
JP2561791B2 JP2561791B2 (en) 1996-12-11

Family

ID=14672995

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5115862A Expired - Lifetime JP2561791B2 (en) 1993-05-18 1993-05-18 FM multiplex broadcast receiver

Country Status (1)

Country Link
JP (1) JP2561791B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU698574B2 (en) * 1995-04-20 1998-11-05 Alcatel N.V. Transmission network error correction
US6986095B2 (en) 1999-09-03 2006-01-10 Matsushita Electric Industrial Co., Ltd. Error correction device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63197122A (en) * 1987-02-10 1988-08-16 Sony Corp Error correcting and checking device
JPH04205497A (en) * 1990-11-30 1992-07-27 Nippon Syst Kenkyusho:Kk Signal transmitting equipment
JPH0621921A (en) * 1992-06-30 1994-01-28 Nippon Hoso Kyokai <Nhk> Decoding circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63197122A (en) * 1987-02-10 1988-08-16 Sony Corp Error correcting and checking device
JPH04205497A (en) * 1990-11-30 1992-07-27 Nippon Syst Kenkyusho:Kk Signal transmitting equipment
JPH0621921A (en) * 1992-06-30 1994-01-28 Nippon Hoso Kyokai <Nhk> Decoding circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU698574B2 (en) * 1995-04-20 1998-11-05 Alcatel N.V. Transmission network error correction
US6986095B2 (en) 1999-09-03 2006-01-10 Matsushita Electric Industrial Co., Ltd. Error correction device

Also Published As

Publication number Publication date
JP2561791B2 (en) 1996-12-11

Similar Documents

Publication Publication Date Title
US4852099A (en) Error correction method using Reed-Solomon code
JPH0812612B2 (en) Error correction method and apparatus
US4858235A (en) Information storage apparatus
JP4844629B2 (en) Apparatus and method for error correction in mobile wireless applications incorporating erasure table data
KR100309885B1 (en) Method and apparatus for performing error correction processing in small capacity
JP3169832B2 (en) Data error correction method for frame-structured digital signal and apparatus used therefor
JPH08204583A (en) Method and device for digital signal processing
EP0162612B1 (en) Receiver for a character broadcasting system
JP2561791B2 (en) FM multiplex broadcast receiver
US6006352A (en) Bitstream decoding apparatus with reduced error correction processing and decoding method
JP2005012452A (en) Device, method, and program for receiving digital signal
JPS61262333A (en) Synchronization system for digital information signal
JPH05284044A (en) Transmitter for performing random error and burst error correction, receiver, decoder and video phone
JP3311463B2 (en) Error correction device
JP4280005B2 (en) Error correction apparatus and receiver using the error correction apparatus
JPS6322736B2 (en)
JP3811498B2 (en) Synchronization detection method and synchronization detection circuit
JPH05260021A (en) Communication control system
JPH10262034A (en) Coding and decoding device
JPS59131237A (en) Decoding circuit
JP2001160761A (en) Error correction device and error correction method
JPH01120130A (en) Error correcting and detecting circuit
KR19980066078A (en) Circuits and Methods for Detecting Errors in Received Data
JP2007243826A (en) Teletext decoding apparatus, and television receiver and personal computer incorporated therein
JPH0621921A (en) Decoding circuit

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080919

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080919

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090919

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090919

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100919

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100919

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110919

Year of fee payment: 15

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120919

Year of fee payment: 16

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130919

Year of fee payment: 17

EXPY Cancellation because of completion of term