JPH1186465A - Signal processor - Google Patents

Signal processor

Info

Publication number
JPH1186465A
JPH1186465A JP9251333A JP25133397A JPH1186465A JP H1186465 A JPH1186465 A JP H1186465A JP 9251333 A JP9251333 A JP 9251333A JP 25133397 A JP25133397 A JP 25133397A JP H1186465 A JPH1186465 A JP H1186465A
Authority
JP
Japan
Prior art keywords
data
area
address
redundant
correction
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.)
Pending
Application number
JP9251333A
Other languages
Japanese (ja)
Inventor
Kazumi Iwata
和己 岩田
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan Ltd
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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP9251333A priority Critical patent/JPH1186465A/en
Publication of JPH1186465A publication Critical patent/JPH1186465A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the ratio of the redundant data and to improve vibration- proof, impact resistance by writing the main data on an error correction block in a first area of a memory area, writing all or its parts of the redundant data in a second area and performing the error correction of the main data stored in the first area based on the redundant data recorded on the second area. SOLUTION: A control part 20 secures a data amount much of a PO parity of a 2 ECC block on a DRAM 21 as a redundant data area, and toggles at every ECC block, and superscribes the PO parity of respective 13 rows to write in. Further, when the control part 20 receives a write-in request signal, the part 20 sends successively a data area write-in address INC, request signal and a redundant area write-in address INC, request signal respectively to a disk data area write-in address counter 106a, and a redundant area write-in address counter 106b for an address generation part 22 to count respective addresses.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、DVD(デジタル
ビデオディスク)などの媒体から再生された信号を処理
する信号処理装置に関し、特にメインデータに対してE
CC(エラーコレクションコード)訂正処理用の冗長デ
ータ(パリティ)が付加されたデータを処理する信号処
理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal processing apparatus for processing a signal reproduced from a medium such as a DVD (Digital Video Disk), and more particularly to a signal processing apparatus for processing main data.
The present invention relates to a signal processing device that processes data to which redundant data (parity) for CC (error correction code) correction processing is added.

【0002】[0002]

【従来の技術】一般に、DVDディスクでは、複雑で動
きの早い画像には転送レートを高く(単位時間当たりの
データ量を多く)、他方、簡単で動きの少ない画像には
転送レートを低く(単位時間当たりのデータ量を少な
く)した可変転送レートを採用している。そのため、通
常のDVDドライブ装置では、ECC処理用のワークR
AMと上記の可変転送レート用のバッファRAMの2つ
のRAMが用いられるが、コストを低下させるために1
つのバッファで共有することも行われる。一般にバッフ
ァRAMは容量が大きい(4Mビット)ものを必要とす
るのでDRAMが用いられる。
2. Description of the Related Art In general, on a DVD disk, a transfer rate is high (a large amount of data per unit time) for a complicated and fast-moving image, while a transfer rate is low (a unit for a simple and little-moving image). (The amount of data per hour is reduced). Therefore, in a normal DVD drive device, the work R for ECC processing is performed.
Two RAMs, the AM and the buffer RAM for the variable transfer rate, are used.
Sharing by one buffer is also performed. Generally, a buffer RAM requires a large capacity (4 Mbits), so a DRAM is used.

【0003】ECCブロックは複数のセクタに対してP
IパリティとPOパリティが付加されてインターリーブ
され、これをバッファRAMに書き込む場合には次の2
通りがある。第1はインターリーブを解いた後(デ・イ
ンターリーブした後)書き込む方法であり、第2はイン
ターリーブを解かずに書き込み、ECC処理などのため
の読み出しの際にインターリーブを解く方法である。い
ずれも、ECCブロック内のメインデータとパリティデ
ータをフォーマット上の比率そのままでメモリに書き込
み、ECC訂正が終了した後に画像・音声デコーダに転
送する際にパリティを飛ばしながらメインデータをメモ
リから読み出す。
An ECC block has a P
I parity and PO parity are added and interleaved, and when this is written to the buffer RAM, the following 2 is used.
There is a street. The first is a method of writing after deinterleaving (after deinterleaving), and the second is a method of writing without deinterleaving and deinterleaving at the time of reading for ECC processing or the like. In each case, the main data and the parity data in the ECC block are written in the memory at the same ratio as in the format, and the main data is read from the memory while skipping the parity when the data is transferred to the image / audio decoder after the ECC correction is completed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来の方法では、ECCブロック内のメインデータとパリ
ティデータをフォーマット上の比率そのままでメモリに
書き込むので、例えばDVDの場合にはメモリ中にパリ
ティが占める割合が約13%もあり、したがって、メモ
リを有効に使用することができないという問題点があ
る。
However, in the above-mentioned conventional method, the main data and the parity data in the ECC block are written into the memory at the same ratio in the format. For example, in the case of a DVD, the parity occupies in the memory. The ratio is about 13%, so that there is a problem that the memory cannot be used effectively.

【0005】ここで、ドライブ装置に対してシーク中に
振動、衝撃などが加わった場合には、媒体からの再生デ
ータをメモリに書き込む処理は停止されるが、画像・音
声デコーダへの出力(メモリからの読み出し)は停止さ
れないので、メモリ内には有効なデータを多く蓄積して
いた方がよい。また、シーク距離が長くシーク時間が長
いときや大きな振動、衝撃などが加わったときには、メ
モリ内が空になり、画像・音声の再生が途切れることも
あり、特に携帯用の再生装置では、振動などが加わり易
い。なお、メモリが4Mバイト、平均転送レートが4M
bpsの場合、8秒分のデータの内、1.04秒分が冗
長領域であるので、実質的な再生は約7秒分となり、約
1秒分が無駄になる。
[0005] When vibration or shock is applied to the drive device during a seek operation, the process of writing the reproduced data from the medium to the memory is stopped, but the output to the image / audio decoder (memory) is stopped. ) Is not stopped, so it is better to accumulate a lot of valid data in the memory. Also, if the seek distance is long and the seek time is long, or if a large vibration or impact is applied, the memory may be emptied and the reproduction of images and sounds may be interrupted. Is easy to join. Note that the memory is 4 Mbytes and the average transfer rate is 4 M
In the case of bps, since 1.04 seconds of data for 8 seconds is a redundant area, substantial reproduction is about 7 seconds, and about 1 second is wasted.

【0006】本発明は上記従来の問題点に鑑み、メモリ
内の冗長データの割合を減少して耐振動性、耐衝撃性に
優れた信号処理装置を提供することを目的とする。
The present invention has been made in view of the above-mentioned conventional problems, and has as its object to provide a signal processing device which is excellent in vibration resistance and shock resistance by reducing the ratio of redundant data in a memory.

【0007】[0007]

【課題を解決するための手段】本発明は上記目的を達成
するために、メモリの領域を、エラー訂正ブロック上の
メインデータを少なくとも書き込む(メインデータの
み、あるいはメインデータ+PIデータを書き込む)第
1の領域と、冗長データの全て又はその一部を書き込む
(PI,POデータあるいはPOデータのみを書き込
む)第2の領域に分割してメインデータと冗長データを
それぞれ第1、第2の領域に書き込むようにしたもので
ある。すなわち本発明によれば、メインデータとエラー
訂正用の冗長データが所定の比率で構成されたエラー訂
正ブロックが記録された媒体から再生された信号を処理
する信号処理装置において、前記媒体から再生されたデ
ータを一時記憶するメモリと、前記メモリの領域を、エ
ラー訂正ブロック上のメインデータを少なくとも第1の
領域と、冗長データの全て又はその一部を書き込む第2
の領域に分割して、前記媒体から再生されたメインデー
タと冗長データをそれぞれ前記第1、第2の領域に書き
込むメモリ制御手段と、前記メモリの第2の領域に記憶
された冗長データに基づいて、第1の領域に記憶された
そのエラー訂正ブロック内のメインデータのエラーを訂
正するエラー訂正手段とを、有することを特徴とする信
号処理装置が提供される。
According to the present invention, in order to attain the above object, a memory area is written in at least main data on an error correction block (only main data or main data + PI data is written). Area and a second area for writing all or a part of redundant data (for writing PI, PO data or only PO data) and writing main data and redundant data to the first and second areas, respectively. It is like that. That is, according to the present invention, in a signal processing apparatus for processing a signal reproduced from a medium on which an error correction block in which main data and redundant data for error correction are configured at a predetermined ratio is recorded, the signal is reproduced from the medium. A memory for temporarily storing the redundant data, an area of the memory for storing at least a first area for main data on the error correction block, and a second area for writing all or a part of redundant data.
Memory control means for writing main data and redundant data reproduced from the medium into the first and second areas, respectively, based on the redundant data stored in the second area of the memory. An error correction unit that corrects an error of the main data in the error correction block stored in the first area.

【0008】[0008]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。図1は本発明に係る信号処理装置
の一実施形態を示すブロック図、図2は図1のDVDの
ECCブロックとインターリーブを示す説明図、図3は
図1のDVDの物理セクタを示す説明図、図4は図1の
DRAMの領域と書き込み及びECC訂正処理を示す説
明図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the signal processing device according to the present invention, FIG. 2 is an explanatory diagram showing ECC blocks and interleaving of the DVD of FIG. 1, and FIG. 3 is an explanatory diagram showing physical sectors of the DVD of FIG. FIG. 4 is an explanatory view showing the area of the DRAM of FIG. 1 and the write and ECC correction processing.

【0009】図1において、ディスク11からピックア
ップ12により読み取られた信号はRFアンプ/スライ
サ/イコライザ(EQ)/ビットPLL回路13に印加
されてビットクロックが抽出される。続くNRZ変換/
シンク検出・保護回路14では、再生データがビットク
ロックに基づいてNRZ変換され、フレームシンク(同
期)信号とセクタシンク信号が検出され、また、ディフ
ェクトなどによりシンク信号が欠落している時には疑似
シンク信号が挿入などされて保護される。このデータは
8/16復調部15を介してデータ入出力制御部16と
ID検出/訂正部17に送られる。ID検出/訂正部1
7ではセクタアドレスなどを含むIDが検出され、続く
ECCブロックシンク生成部18ではECCブロックの
先頭のECCブロックシンク信号が検出される。
In FIG. 1, a signal read from a disk 11 by a pickup 12 is applied to an RF amplifier / slicer / equalizer (EQ) / bit PLL circuit 13 to extract a bit clock. Following NRZ conversion /
The sync detection / protection circuit 14 performs NRZ conversion of the reproduced data based on the bit clock, detects a frame sync (synchronization) signal and a sector sync signal, and when a sync signal is missing due to a defect or the like, a pseudo sync signal. Is inserted and protected. This data is sent to the data input / output control unit 16 and the ID detection / correction unit 17 via the 8/16 demodulation unit 15. ID detection / correction unit 1
7, an ECC block sync generation unit 18 detects an ID including a sector address and the like, and detects an ECC block sync signal at the head of the ECC block.

【0010】ここで、DVDでは図2及び図3に示すよ
うに、1セクタが13行で構成され、第1〜第12行の
各々は172(91+81)バイトのメインデータに対
してフレームシンク信号(フレームSync)及びセク
タシンク信号(セクタSync)と10バイトのPIパ
リティが付加(インターリーブ)されて構成され、第1
3行はフレームシンク信号及びセクタシンク信号と17
2バイトのPOパリティと10バイトのPIパリティに
より構成されている。そして、この16セクタは1EC
Cブロックを構成され、このECCブロック単位でEC
C訂正処理が行われる。メインデータとはDVDのフォ
ーマットでは2048バイトを言うが、本明細書ではデ
ータセクタのID、IEC、RSV、EDCを含むデー
タ、すなわちPI、POパリティを除くデータを言う。
そして、このフォーマット上のPI、POパリティの割
合(シンク信号を除く)は、(182+10×12)/
(182×13)≒12.8%となる。
Here, in the DVD, as shown in FIGS. 2 and 3, one sector is composed of 13 rows, and each of the first to twelfth rows has a frame sync signal for 172 (91 + 81) bytes of main data. (Frame Sync), a sector sync signal (Sector Sync) and a 10-byte PI parity are added (interleaved).
The third row contains the frame sync signal and the sector sync signal and 17
It is composed of 2-byte PO parity and 10-byte PI parity. And these 16 sectors are 1EC
A C block is configured, and an EC
C correction processing is performed. The main data refers to 2048 bytes in the DVD format, but in this specification, data including data sector ID, IEC, RSV, and EDC, that is, data excluding PI and PO parities.
Then, the ratio of the PI and PO parities in this format (excluding the sync signal) is (182 + 10 × 12) /
(182 × 13) ≒ 12.8%.

【0011】そこで、制御部20は図4に示すように、
DRAM21上に2ECCブロックのPOパリティのデ
ータ量分(16セクタの各第13行×2ECCブロック
分で182×16×2バイト)を冗長データ領域として
確保し、この16セクタの各第13行分の領域をECC
ブロック毎にトグルして16セクタの各第13行のPO
パリティ(及びPIパリティ)を上書きして書き込む。
また、他の領域を第1〜第12行のセクタ内のメインデ
ータとPIパリティデータ用として確保する。また、第
1〜第12行のPIパリティも同様に冗長データ領域に
書き込めばパリティの割合が少なくなるが、第13行の
POパリティデータ(及びPIパリティデータ)のみの
方がアドレス管理が簡単になる。
Therefore, the control unit 20, as shown in FIG.
A data amount of PO parity of 2 ECC blocks (182 x 16 x 2 bytes in each of 13 sectors of 16 sectors x 2 ECC blocks) of 2 ECC blocks is secured in the DRAM 21 as a redundant data area, and the 13 th rows of each of the 16 sectors are secured. ECC area
Toggle for each block, PO for 13th row of 16 sectors
Overwrite parity (and PI parity).
Another area is reserved for main data and PI parity data in the sectors in the first to twelfth rows. Similarly, if the PI parities in the first to twelfth rows are similarly written in the redundant data area, the ratio of the parity is reduced. However, only the PO parity data (and the PI parity data) in the thirteenth row is easier to manage the address. Become.

【0012】NRZ変換/シンク検出・保護回路14に
より検出されたフレームシンク信号及びセクタシンク信
号と、8/16復調部15からの書き込みリクエスト信
号と、ECCブロックシンク生成部18により検出され
たECCブロックシンク信号が制御部20に送られる。
制御部20はこれらの信号に基づいて、図3に示すEC
Cブロックの先頭から24フレームシンク信号分のデー
タ、すなわち第1行〜第12行分のメインデータ、PI
パリティデータをDRAM(以下、メモリ)21のメイ
ンデータ、PIパリティデータ領域に書き込み、残りの
2フレームシンク信号分、すなわち第13行のPOデー
タをメモリ21の冗長データ領域に書き込むようにデー
タ入出力制御部16、アドレス生成部22などを制御す
る。また、制御部20は各ブロックからのリクエスト信
号に基づいてメモリ21へのデータアクセスが重ならな
いようにアドレスを監視し、例えばECC部23による
読み出しが媒体からの書き込みより先行しないように制
御する。
The frame sync signal and the sector sync signal detected by the NRZ conversion / sync detection / protection circuit 14, the write request signal from the 8/16 demodulation unit 15, and the ECC block detected by the ECC block sync generation unit 18 The sync signal is sent to the control unit 20.
The control unit 20 controls the EC shown in FIG. 3 based on these signals.
Data for 24 frame sync signals from the beginning of the C block, that is, main data for the first to twelfth rows, PI
Parity data is written to the main data and PI parity data area of a DRAM (hereinafter, memory) 21 and data input / output is performed so that the remaining two frame sync signals, that is, PO data of the thirteenth row are written to the redundant data area of the memory 21 It controls the control unit 16, the address generation unit 22, and the like. Further, the control unit 20 monitors addresses so that data accesses to the memory 21 do not overlap based on a request signal from each block, and controls, for example, that reading by the ECC unit 23 does not precede writing to the medium.

【0013】図4を参照してDRAM21に対する再生
データの書き込みとECC部23によるアクセスを説明
する。まず、ディスク11からの最初のECCブロック
のメインデータ、PIパリティデータとPOパリティデ
ータをDRAM21に書き込み、次いで次のECCブロ
ックのメインデータ、PIパリティデータ及びPOパリ
ティデータをDRAM21に書き込むと共にECC部2
3が最初のECCブロックのデータをDRAM21から
読み出してエラーを検出し、訂正(ECC訂正処理)を
行う。次いで3番目のECCブロックのメインデータ、
PIパリティデータ及びPOパリティデータをDRAM
21に書き込むが、このときPOパリティは最初のEC
CブロックのPOパリティが記憶されている16セクタ
の第13行分の領域に上書きし、また、この時に2番目
のECCブロックのECC訂正処理を行う。
Referring to FIG. 4, writing of reproduction data to the DRAM 21 and access by the ECC unit 23 will be described. First, the main data, PI parity data, and PO parity data of the first ECC block from the disk 11 are written into the DRAM 21, and then the main data, PI parity data, and PO parity data of the next ECC block are written into the DRAM 21, and the ECC unit 2
3 reads the data of the first ECC block from the DRAM 21, detects an error, and performs correction (ECC correction processing). Next, the main data of the third ECC block,
PI parity data and PO parity data in DRAM
21, the PO parity is set to the first EC
Overwrite the area of the 13th row of 16 sectors where the PO parity of the C block is stored, and at this time, perform the ECC correction processing of the second ECC block.

【0014】同様に、4番目のECCブロックのPOパ
リティを2番目のECCブロックのPOパリティが記憶
されている領域に上書きし、同時に3番目のECCブロ
ックのECC訂正処理を行う。すなわち、ECC訂正処
理を行った後にはそのECCブロックのPOパリティは
不要であるので、k番目のECCブロックのPOパリテ
ィをk−2番目のECCブロックのPOパリティが記憶
されている領域に上書きし、同時にk−1番目のECC
ブロックのECC訂正処理を行う。
Similarly, the PO parity of the fourth ECC block is overwritten on the area where the PO parity of the second ECC block is stored, and the ECC correction processing of the third ECC block is performed at the same time. That is, since the PO parity of the ECC block is unnecessary after performing the ECC correction processing, the PO parity of the k-th ECC block is overwritten on the area storing the PO parity of the (k-2) -th ECC block. , And at the same time the k-1st ECC
ECC correction processing of the block is performed.

【0015】次に、具体的な動作について説明する。ま
ず、制御部20が8/16復調部15からの書き込みリ
クエスト信号を受けると、アドレス生成部22に対し
て、データ領域書き込みアドレスINC.要求信号と冗
長領域書き込みアドレスINC.要求信号を順次それぞ
れディスクデータ書き込みアドレス生成部106内のデ
ータ領域書き込みアドレスカウンタ106aと冗長領域
書き込みアドレスカウンタ106bに送り、これにより
カウンタ106a、106bがイネーブル状態になって
それぞれデータ書き込み領域アドレス、冗長領域書き込
みアドレスをカウントする。
Next, a specific operation will be described. First, when the control unit 20 receives a write request signal from the 8/16 demodulation unit 15, it sends a data area write address INC. To the address generation unit 22. Request signal and redundant area write address INC. The request signals are sequentially sent to the data area write address counter 106a and the redundant area write address counter 106b in the disk data write address generator 106, whereby the counters 106a and 106b are enabled, and the data write area address and the redundant area Count write addresses.

【0016】同時に、制御部20がマルチプレクサ(M
PX)108に対して、カウンタ106a、106bを
選択するアドレス選択信号を送ることにより、カウンタ
106a、106bのデータ書き込み領域アドレス、冗
長領域書き込みアドレスがマルチプレクサ108により
選択されてDRAM21に送られる。
At the same time, the control unit 20 controls the multiplexer (M
By sending an address selection signal for selecting the counters 106 a and 106 b to the PX) 108, the data write area address and the redundant area write address of the counters 106 a and 106 b are selected by the multiplexer 108 and sent to the DRAM 21.

【0017】また、制御部20がデータ入出力制御部1
6に対してデータ選択信号を送ることにより、8/16
復調部15の出力データがデータ入出力制御部16を介
してDRAM21に送られる。更に制御部20からDR
AM21に対して書き込みイネーブル信号WEとストロ
ーブ信号が送られ、これにより8/16復調部15の出
力データがDRAM21内のメインデータ、PIデータ
領域と冗長データ領域に書き込まれる。なお、図示され
ていないが、DRAM21では通常、ストローブ信号は
RAS(row address strobe)信号とCAS(column a
ddress strobe)信号より成り、上位アドレスをRAS
信号でストローブし、下位アドレスをCAS信号でスト
ローブするので、アドレス生成部22内の各カウンタは
上位アドレスと下位アドレスに分けて出力する。
Further, the control unit 20 is a data input / output control unit 1
6 by sending a data selection signal to 8/16
Output data of the demodulation unit 15 is sent to the DRAM 21 via the data input / output control unit 16. Further, from the control unit 20 to the DR
The write enable signal WE and the strobe signal are sent to the AM 21, whereby the output data of the 8/16 demodulation unit 15 is written to the main data, the PI data area, and the redundant data area in the DRAM 21. Although not shown, in the DRAM 21, a strobe signal is usually a RAS (row address strobe) signal and a CAS (column a).
ddress strobe) signal and the upper address is RAS
Since the signal is strobed and the lower address is strobed by the CAS signal, each counter in the address generator 22 outputs the upper address and the lower address separately.

【0018】次に、ECC部23がDRAM21から第
1〜第13行×16セクタ分のデータを読み出し、メイ
ンデータをPIパリティデータとPOパリティデータに
基づいてエラー訂正処理を行う。この場合、制御部20
はECC部23からECC読み出しリクエストを受けた
後、1ECCブロック分のデータがDRAM21に書き
込まれていれば、PIコードワードのアドレスを生成す
るPI読み出しアドレスカウンタ101と、POコード
ワードのアドレスを生成するPO読み出しアドレスカウ
ンタ102に対してECC読み出しアドレスINC.要
求信号と、PI訂正かPO訂正かを示すPI/PO信号
を送出し、カウンタ101、102がイネーブル状態に
なってECC読み出しアドレスを発生する。このとき同
様に、制御部20がアドレス選択信号をマルチプレクサ
108に送ることによりECC読み出しアドレスがマル
チプレクサ108により選択されてDRAM21に送ら
れる。
Next, the ECC unit 23 reads data of the first to thirteenth rows × 16 sectors from the DRAM 21 and performs an error correction process on the main data based on the PI parity data and the PO parity data. In this case, the control unit 20
After receiving an ECC read request from the ECC unit 23, if data for one ECC block has been written to the DRAM 21, a PI read address counter 101 for generating a PI code word address and a PO code word address are generated. PO read address counter 102 with ECC read address INC. A request signal and a PI / PO signal indicating PI correction or PO correction are transmitted, and counters 101 and 102 are enabled to generate an ECC read address. At this time, similarly, the control unit 20 sends an address selection signal to the multiplexer 108 so that the ECC read address is selected by the multiplexer 108 and sent to the DRAM 21.

【0019】同時に、制御部20はECC部23に対し
て、PI訂正、PO訂正のどれを行うかを指示するため
にPI/PO信号を送る。また、制御部20はDRAM
21に対して読み出しイネーブル信号OEを送る。更
に、制御部20はデータ入出力制御部16に対してデー
タ選択信号を送ることにより、DRAM21から読み出
されたデータがデータ入出力制御部16を介してECC
部23に送られる。
At the same time, the control unit 20 sends a PI / PO signal to the ECC unit 23 to instruct whether to perform PI correction or PO correction. The control unit 20 is a DRAM
21 and a read enable signal OE is sent. Further, the control unit 20 sends a data selection signal to the data input / output control unit 16 so that the data read from the DRAM 21 is transmitted to the data input / output control unit 16 via the ECC.
Sent to the unit 23.

【0020】ただし、図示されていないが、POコード
ワード読み出しの場合には、セクタの第1〜第12行の
データが記録されているメインデータ、PIデータ領域
のデータを列方向に16セクタ分読み出した後に、セク
タの第13行目のデータが記録されている冗長データ領
域のPOデータを列方向に16セクタ分読み出すよう
に、データ領域読み出しカウンタがメインデータ、PI
データの読み出しアドレスをカウントし、また、冗長領
域読み出しカウンタがPOデータの読み出しアドレスを
カウントする。
Although not shown, in the case of PO code word reading, the main data in which the data of the first to twelfth rows of the sector are recorded and the data in the PI data area for 16 sectors are arranged in the column direction. After the read, the data area read counter reads the main data, the PI data and the PI data so that the PO data of the redundant data area in which the data of the thirteenth row of the sector is recorded is read for 16 sectors in the column direction.
The data read address is counted, and the redundant area read counter counts the PO data read address.

【0021】また、DRAM1に対してデータ入力順
(PI方向順)に書き込む場合には、データ領域読み出
しカウンタと冗長領域読み出しカウンタはPIワードコ
ード読み出し時には+1ずつカウントアップし、POワ
ードコード読み出し時には+182ずつカウントアップ
する。また、データ領域読み出しカウンタは冗長領域を
飛ばしてカウントアップし、冗長領域読み出しカウンタ
はデータ領域を飛ばしてカウントアップする。例えば冗
長領域読み出しカウンタは2ECCブロックの書き込み
終了後に冗長領域読み出しカウンタの出力をデコード
し、冗長領域及び初期アドレスをロードする。
When writing data to the DRAM 1 in the order of data input (in the order of PI direction), the data area read counter and the redundant area read counter count up by +1 each time a PI word code is read, and +182 when reading a PO word code. Count up by one. The data area read counter skips the redundant area and counts up, and the redundant area read counter skips the data area and counts up. For example, the redundant area read counter decodes the output of the redundant area read counter after the completion of the writing of the two ECC blocks, and loads the redundant area and the initial address.

【0022】次に、ECC部23ではDRAM1からの
ECC読み出しデータに対し、制御部20からのPI/
PO信号に基づいてPI訂正又はPO訂正の処理を行
う。この場合、エラー検出部23aでは入力したデータ
系列からエラーを検出し、エラーが存在する場合に何番
目のデータにエラーが存在するかを示すエラーロケーシ
ョン(PI:0〜181,PO:0〜287)とエラー
値(正常な値と間違っている値の差分値)を計算する。
エラー訂正部23bはエラーのあるデータをDRAM1
から読み出して訂正後、訂正データをDRAM1に書き
込むために、エラーロケーションを訂正アドレス生成部
103に送るとともに訂正読み出しリクエスト信号を制
御部20に送る。
Next, the ECC unit 23 responds to the ECC read data from the
PI correction or PO correction is performed based on the PO signal. In this case, the error detection unit 23a detects an error from the input data sequence and, if an error exists, an error location (PI: 0 to 181; PO: 0 to 287) indicating in which data the error exists. ) And an error value (difference between a normal value and an incorrect value).
The error correction unit 23b outputs the data having an error to the DRAM 1
After reading and correcting the error data, the error location is sent to the correction address generation unit 103 and a correction read request signal is sent to the control unit 20 in order to write the correction data to the DRAM 1.

【0023】制御部20は訂正読み出しリクエスト信号
を受けると、訂正アドレス要求信号をアドレス生成部2
2に送るとともに、訂正アドレス生成部103を選択す
るアドレス選択信号をマルチプレクサ108に送る。訂
正アドレス生成部103はエラーロケーションとECC
データ読み出し時のPIコードワード又はPOコードワ
ードのスタートアドレス(PI訂正の場合には各行の先
頭アドレス、PO訂正の場合には各列の先頭アドレス)
を用いて訂正アドレスを生成し、これを出力する。
When the control unit 20 receives the corrected read request signal, the control unit 20 sends the corrected address request signal to the address generation unit 2.
2 and an address selection signal for selecting the correction address generator 103 to the multiplexer 108. The correction address generation unit 103 determines the error location and the ECC
Start address of PI code word or PO code word at the time of data reading (top address of each row in case of PI correction, top address of each column in case of PO correction)
To generate a correction address and output it.

【0024】ここで、PI訂正では単純に、エラーロケ
ーションとスタートアドレスを加算すればよいが、PO
訂正ではエラーロケーションを用いて、エラーのある位
置がメインデータ、PIデータ領域のデータか又は冗長
データ領域のデータを判別して訂正アドレスを生成す
る。簡単には、スタートアドレスとしてECC読み出し
の際のデータ領域読み出しカウンタのスタートアドレス
と冗長領域のスタートアドレスを用い、エラーロケーシ
ョンNが0〜191まではデータ領域読み出しカウンタ
のスタートアドレスにN×182を加算し、エラーロケ
ーションNが192〜207のときには冗長領域読み出
しカウンタのスタートアドレスに(N−192)×18
2を加算すればよい。
Here, in PI correction, an error location and a start address may be simply added.
In the correction, an error location is determined using the error location to determine whether an error is present in the main data, the data in the PI data area, or the data in the redundant data area to generate a correction address. Briefly, the start address of the data area read counter at the time of ECC read and the start address of the redundant area are used as the start address, and N × 182 is added to the start address of the data area read counter until the error location N is 0 to 191. When the error location N is 192 to 207, the start address of the redundant area read counter is (N-192) × 18.
What is necessary is just to add 2.

【0025】制御部20はデータ入出力制御部16に対
し、DRAM1から読み出されたエラーのあるデータ
(訂正前データ)をエラー訂正部23bに送るためのデ
ータ選択信号を送出し、また、読み出しイネーブル信号
OEとストローブ信号をDRAM1に送出する。エラー
訂正部23bは入力データにエラー値を加算して正常な
データを計算した後、訂正書き込みリクエスト信号を制
御部20に送る。制御部20はこれを受けて、訂正アド
レス生成部103を選択するアドレス選択信号をマルチ
プレクサ108に送り、また、書き込みイネーブル信号
WEとストローブ信号をDRAM1に送出する。このと
き、訂正アドレス生成部103により生成される書き込
みアドレスは読み出し時と同一であり、したがって、エ
ラー訂正部23bが訂正データをDRAM1に書き込む
ことができる。
The control section 20 sends a data selection signal to the data input / output control section 16 to send the data with error (data before correction) read from the DRAM 1 to the error correction section 23b. An enable signal OE and a strobe signal are sent to the DRAM 1. The error correction unit 23b adds an error value to the input data to calculate normal data, and then sends a correction write request signal to the control unit 20. In response to this, the control unit 20 sends an address selection signal for selecting the correction address generation unit 103 to the multiplexer 108, and sends a write enable signal WE and a strobe signal to the DRAM 1. At this time, the write address generated by the correction address generation unit 103 is the same as that at the time of reading, so that the error correction unit 23b can write correction data to the DRAM 1.

【0026】ECC訂正処理では、1組のPI訂正とP
O訂正で終了する場合には、PI訂正を1ECCブロッ
ク当たり208回(208行=13行×16セクタ分)
行った後にPO訂正処理に移行する。PIパリティ(1
73〜182列目)に対するPO訂正は行う必要がない
ので、1ECCブロック当たり172回行われる。PO
訂正が終了するとデータをDRAM1からデ・スクラン
ブルしながら(図示24)EDC(エラーディテクショ
ンコード)部25に読み出し、ECC訂正によるデータ
の誤訂正を判別する。ここで、制御部20はEDC読み
出しアドレスINC.要求信号をEDCアドレスカウン
タ104に出力し、また、そのアドレス選択信号をマル
チプレクサ108に送り、また、読み出しイネーブル信
号OEとストローブ信号をDRAM1に送出する。ま
た、詳述しないが、EDCはIDやパリティを除くメイ
ンデータのみに対して行われる。
In the ECC correction process, one set of PI correction and P
When ending with O correction, PI correction is performed 208 times per ECC block (208 rows = 13 rows × 16 sectors).
After performing, the process proceeds to the PO correction process. PI parity (1
Since the PO correction for the 73rd to 182nd columns) does not need to be performed, it is performed 172 times per ECC block. PO
When the correction is completed, the data is read out to the EDC (error detection code) unit 25 while descrambling the data from the DRAM 1 (shown in FIG. 24), and the erroneous correction of the data by the ECC correction is determined. Here, the control unit 20 sends the EDC read address INC. The request signal is output to the EDC address counter 104, the address selection signal is sent to the multiplexer 108, and the read enable signal OE and the strobe signal are sent to the DRAM 1. Although not described in detail, EDC is performed only on main data excluding ID and parity.

【0027】EDC訂正が終了した後、制御部20はM
PEGデコーダからデコーダ読み出しリクエスト信号を
受けると、データをDRAM1からデ・スクランブルし
ながら(図示26)MPEGデコーダに読み出すため
に、デコーダデータ読み出しアドレスカウンタ107を
選択する信号をマルチプレクサ108に送り、また、読
み出しイネーブル信号OEとストローブ信号をDRAM
1に送出する。なお、この例ではDRAM1へのアクセ
ス回数を減らすために、DRAM1上ではデータをスク
ランブルされた状態で記憶し、EDC部25やMPEG
デコーダへの読み出し時にデ・スクランブルしている
が、本発明はこれに限定されない。
After the EDC correction is completed, the control unit 20
When a decoder read request signal is received from the PEG decoder, a signal for selecting the decoder data read address counter 107 is sent to the multiplexer 108 in order to read the data from the DRAM 1 while descrambling the data (FIG. 26) to the MPEG decoder. Enable signal OE and strobe signal to DRAM
Send to 1. In this example, in order to reduce the number of accesses to the DRAM 1, data is stored in a scrambled state on the DRAM 1, and the data is stored in the EDC unit 25 or the MPEG.
Although descrambling is performed at the time of reading to the decoder, the present invention is not limited to this.

【0028】また、上記実施形態によれば、POパリテ
ィについて32行分のみをDRAM1に書き込み、EC
C訂正処理後にこれをECCブロック毎に上書きするこ
とにより、DRAM1内の冗長データの割合を約7.7
%少なくすることができ、また、PIパリティについて
も行えば約13%少なくすることができるので、耐振動
性、耐衝撃性を向上させることができる。また、本発明
は上記実施形態に限定されず、エラー訂正用のパリティ
が付加されたデータを処理する場合全てに適用すること
ができる。
Further, according to the above embodiment, only 32 rows of PO parity are written in the DRAM 1 and the
By overwriting this for each ECC block after the C correction processing, the ratio of redundant data in the DRAM 1 is reduced to about 7.7.
%, And about 13% can be reduced by performing PI parity, so that vibration resistance and shock resistance can be improved. Further, the present invention is not limited to the above embodiment, and can be applied to all cases where data to which parity for error correction is added is processed.

【0029】[0029]

【発明の効果】以上説明したように本発明によれば、メ
モリの領域をエラー訂正ブロック上のメインデータを少
なくとも書き込み第1の領域と、冗長データの全て又は
その一部を書き込む第2の領域に分割してメインデータ
と冗長データをそれぞれ第1、第2の領域に書き込むよ
うにしたので、メモリ内の冗長データの割合を減少して
耐振動性、耐衝撃性を向上させることができる。
As described above, according to the present invention, the memory area is divided into at least the first area for writing the main data on the error correction block and the second area for writing all or a part of the redundant data. The main data and the redundant data are written in the first and second areas, respectively, so that the ratio of the redundant data in the memory can be reduced, and the vibration resistance and shock resistance can be improved.

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

【図1】本発明に係る信号処理装置の一実施形態を示す
ブロック図である。
FIG. 1 is a block diagram illustrating an embodiment of a signal processing device according to the present invention.

【図2】図1のDVDのECCブロックとインターリー
ブを示す説明図である。
FIG. 2 is an explanatory diagram showing ECC blocks and interleaving of the DVD of FIG. 1;

【図3】図1のDVDの物理セクタを示す説明図であ
る。
FIG. 3 is an explanatory diagram showing physical sectors of the DVD of FIG. 1;

【図4】図1のDRAMの領域と書き込み及びECC訂
正処理を示す説明図である。
FIG. 4 is an explanatory diagram showing a DRAM area of FIG. 1 and write and ECC correction processing;

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

16 DRAM(メモリ) 20 制御部(アドレス生成部とともにメモリ制御手段
を構成する。) 22 アドレス生成部 23 ECC部(エラー訂正手段)
Reference Signs List 16 DRAM (memory) 20 Control unit (constitutes memory control unit with address generation unit) 22 Address generation unit 23 ECC unit (error correction unit)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 メインデータとエラー訂正用の冗長デー
タが所定の比率で構成されたエラー訂正ブロックにより
情報が記録された媒体から再生された信号を処理する信
号処理装置において、 前記媒体から再生されたデータを一時記憶するメモリ
と、 前記メモリの領域を、エラー訂正ブロック上のメインデ
ータを少なくとも第1の領域と、冗長データの全て又は
その一部を書き込む第2の領域に分割して、前記媒体か
ら再生されたメインデータと冗長データをそれぞれ前記
第1、第2の領域に書き込むメモリ制御手段と、 前記メモリの第2の領域に記憶された冗長データに基づ
いて、第1の領域に記憶されたそのエラー訂正ブロック
内のメインデータのエラーを訂正するエラー訂正手段と
を、 有することを特徴とする信号処理装置。
1. A signal processing apparatus for processing a signal reproduced from a medium in which information is recorded by an error correction block in which main data and redundant data for error correction are configured at a predetermined ratio, wherein the signal is reproduced from the medium. A memory for temporarily storing the data, and an area of the memory, the main data on the error correction block is divided into at least a first area and a second area for writing all or a part of the redundant data, Memory control means for writing main data and redundant data reproduced from the medium to the first and second areas, respectively; and storing the main data and redundant data in the first area based on the redundant data stored in the second area of the memory. And an error correcting means for correcting an error of the main data in the error correction block.
【請求項2】 前記メモリ制御手段は、前記エラー訂正
手段によるエラー訂正ブロックの訂正が終了する毎に、
前記第2の領域に次のエラー訂正ブロックの冗長データ
を上書きすることを特徴とする請求項1記載の信号処理
装置。
2. The method according to claim 2, wherein the memory control unit is configured to perform the following steps each time the error correction block is corrected by the error correction unit.
2. The signal processing apparatus according to claim 1, wherein the second area is overwritten with redundant data of a next error correction block.
【請求項3】 前記メモリの第2の領域は、エラー訂正
を行うために必要な冗長データ量の2倍以内であること
を特徴とする請求項1又は2記載の信号処理装置。
3. The signal processing device according to claim 1, wherein the second area of the memory is within twice the amount of redundant data required for performing error correction.
JP9251333A 1997-09-01 1997-09-01 Signal processor Pending JPH1186465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9251333A JPH1186465A (en) 1997-09-01 1997-09-01 Signal processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9251333A JPH1186465A (en) 1997-09-01 1997-09-01 Signal processor

Publications (1)

Publication Number Publication Date
JPH1186465A true JPH1186465A (en) 1999-03-30

Family

ID=17221270

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9251333A Pending JPH1186465A (en) 1997-09-01 1997-09-01 Signal processor

Country Status (1)

Country Link
JP (1) JPH1186465A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100335438B1 (en) * 1999-03-22 2002-05-04 윤종용 Error correction code block structure for high density disc and error correction method therefor
KR100378098B1 (en) * 1999-05-17 2003-03-29 가부시끼가이샤 도시바 A signal processing circuitry and an information recording apparatus
WO2003079354A1 (en) * 2002-03-20 2003-09-25 Reigncom Method and system for sensing a shock in optical disk device
US7627725B2 (en) 2006-09-22 2009-12-01 Fujitsu Limited Stored data processing apparatus, storage apparatus, and stored data processing program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0877727A (en) * 1994-09-07 1996-03-22 Toshiba Corp Cd-rom disk reproducing device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0877727A (en) * 1994-09-07 1996-03-22 Toshiba Corp Cd-rom disk reproducing device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100335438B1 (en) * 1999-03-22 2002-05-04 윤종용 Error correction code block structure for high density disc and error correction method therefor
KR100378098B1 (en) * 1999-05-17 2003-03-29 가부시끼가이샤 도시바 A signal processing circuitry and an information recording apparatus
WO2003079354A1 (en) * 2002-03-20 2003-09-25 Reigncom Method and system for sensing a shock in optical disk device
US7627725B2 (en) 2006-09-22 2009-12-01 Fujitsu Limited Stored data processing apparatus, storage apparatus, and stored data processing program

Similar Documents

Publication Publication Date Title
JP2569478B2 (en) Data recording device
US7047476B2 (en) Code error corrector
KR100580988B1 (en) Data reproduction control apparatus
JPH1186465A (en) Signal processor
KR100494252B1 (en) Information reproduction apparatus
JPH11102576A (en) Data-reproducing apparatus
US5931921A (en) System for CD-ROM audio playback utilizing blocking of data writing, resuming writing responsive to detecting data in response to difference between desired address and present address
JP3564910B2 (en) Data reproducing apparatus and data reproducing method
JP3520156B2 (en) Digital signal reproducing method and digital signal reproducing apparatus
US5805618A (en) Reproducing apparatus for reproducing video information recorded together with error correction codes
JPH09265730A (en) Data reproducing device and method therefor
US6775721B1 (en) Method and system for handling a data stream from optical media utilizing automatic link sector detection
JP3759992B2 (en) Recorded information playback device
JP4004102B2 (en) Code error correction detection device
US5815691A (en) Method for controlling an external memory for a CD-ROM decoder and apparatus therefor
JPH0877727A (en) Cd-rom disk reproducing device
KR100195016B1 (en) Memory Control Circuit and Method of Digital Video Disc Playback Device
JP2000090595A (en) Descrambling device
JP3995693B2 (en) Code error correction detection device
JPH1186464A (en) Signal processor
JP2003091942A (en) Digital information reproducing device
JP2005166117A (en) Error correction circuit
KR100214310B1 (en) Data processing method in a defect sectar at rewritable digital video disc reproducing
JP3628532B2 (en) Digital playback device
JPH1116298A (en) Code error correcting device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050624

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20051104