KR100270696B1 - Apparatus for sector decoding and atapi controling in optic disk drive having within buffer memory - Google Patents

Apparatus for sector decoding and atapi controling in optic disk drive having within buffer memory Download PDF

Info

Publication number
KR100270696B1
KR100270696B1 KR1019970039166A KR19970039166A KR100270696B1 KR 100270696 B1 KR100270696 B1 KR 100270696B1 KR 1019970039166 A KR1019970039166 A KR 1019970039166A KR 19970039166 A KR19970039166 A KR 19970039166A KR 100270696 B1 KR100270696 B1 KR 100270696B1
Authority
KR
South Korea
Prior art keywords
data
sector
buffer memory
atapi
decoding
Prior art date
Application number
KR1019970039166A
Other languages
Korean (ko)
Other versions
KR19990016581A (en
Inventor
정병국
Original Assignee
윤종용
삼성전자주식회사
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 윤종용, 삼성전자주식회사 filed Critical 윤종용
Priority to KR1019970039166A priority Critical patent/KR100270696B1/en
Publication of KR19990016581A publication Critical patent/KR19990016581A/en
Application granted granted Critical
Publication of KR100270696B1 publication Critical patent/KR100270696B1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B20/1217Formatting, e.g. arrangement of data block or words on the record carriers on discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1833Error detection or correction; Testing, e.g. of drop-outs by adding special lists or symbols to the coded information
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/1062Data buffering arrangements, e.g. recording or playback buffers
    • G11B2020/10629Data buffering arrangements, e.g. recording or playback buffers the buffer having a specific structure
    • G11B2020/10638First-in-first-out memories [FIFO] buffers
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B20/1217Formatting, e.g. arrangement of data block or words on the record carriers on discs
    • G11B2020/1218Formatting, e.g. arrangement of data block or words on the record carriers on discs wherein the formatting concerns a specific area of the disc
    • G11B2020/1232Formatting, e.g. arrangement of data block or words on the record carriers on discs wherein the formatting concerns a specific area of the disc sector, i.e. the minimal addressable physical data unit
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B20/1217Formatting, e.g. arrangement of data block or words on the record carriers on discs
    • G11B2020/1259Formatting, e.g. arrangement of data block or words on the record carriers on discs with ROM/RAM areas
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • G11B2220/25Disc-shaped record carriers characterised in that the disc is based on a specific recording technology
    • G11B2220/2537Optical discs
    • G11B2220/2545CDs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • G11B2220/25Disc-shaped record carriers characterised in that the disc is based on a specific recording technology
    • G11B2220/2537Optical discs
    • G11B2220/2562DVDs [digital versatile discs]; Digital video discs; MMCDs; HDCDs

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE: An apparatus for controlling a sector decoding and an ATAPI(AT Attachment Packet Interface) of an ODD(Optical Disk Drive) embedding a buffer memory is provided to connect the buffer memory with a sector decoder to make the sector decoder speedily access to the buffer memory, and to buffer data stored in the buffer memory. Therefore, power consumption is minimized and the data are transmitted to a host at a high speed. CONSTITUTION: A sector decoder(22) converts frame-decoded serial data capable of being inputted at various speeds from an optical disk into parallel data of a predetermined bit unit. The sector decoder(22) records the converted data in a buffer memory(24) as a sector unit. An ATAPI(AT Attachment Packet Interface) controller(26) builds a data FIFO(First-In, First-Out)(230) therein. If a host requests data, the ATAPI controller(26) reads sector data from the buffer memory(24) and stores the sector data in the data FIFO(230). The ATAPI controller(26) reads the stored sector data and transmits the data to the host according to a predetermined transmission speed.

Description

버퍼 메모리를 내장하는 광 디스크 드라이브의 섹터 디코딩 및 아타피 제어장치{APPARATUS FOR SECTOR DECODING AND ATAPI CONTROLING IN OPTIC DISK DRIVE HAVING WITHIN BUFFER MEMORY}Sector Decoding and Atapi Control in Optical Disk Drives with Buffer Memory {APPARATUS FOR SECTOR DECODING AND ATAPI CONTROLING IN OPTIC DISK DRIVE HAVING WITHIN BUFFER MEMORY}

본 발명은 광 디스크 드라이브에 관한 것으로서, 특히 DRAM(Dynamic Random Access Memory)을 가지는 컴팩트 디스크 롬(Compact Disk Read Only Memory: 이하 CD 롬이라 함) 드라이브의 섹터 디코딩 및 아타피(AT Attachment Packet Interface: 이하 ATAPI라 함) 제어장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to an optical disk drive, and more particularly, to sector decoding and AT attachment packet interface of a compact disk read only memory (DRAM) drive having a dynamic random access memory (DRAM). ATAPI) control device.

개인 컴퓨터와 워크 스테이션은 대용량의 데이터를 저장할 수 있는 광 디스크 드라이브, 예를 들어 CD 롬이나 DVD 롬을 가진다. 통상 CD 롬 드라이브는 다수개의 섹터로 구분된 CD 롬에 데이터를 저장하며, CD 롬으로부터 리드한 데이터를 호스트로 전달하기 위한 구조를 가진다.Personal computers and workstations have optical disk drives, such as CD ROMs or DVD ROMs, that can store large amounts of data. In general, a CD ROM drive stores data in a CD ROM divided into a plurality of sectors, and has a structure for transferring data read from the CD ROM to a host.

이러한 통상적인 CD 롬 드라이브는 모터에 의하여 회전하는 CD 롬으로부터 데이터를 리드하는 픽업부와, 상기 리드한 데이터를 CD 롬의 형태에 맞는 데이터로 변형하여 호스트로 전달하는 데이터 처리부로 구성된다. 외부(CD 데이터 처리부)에서 정보(리드한 데이터)가 입력되면, 상기 데이터 처리부는 이 정보를 분석하여 동기 신호를 검출하고, 동기 신호를 제외한 나머지 정보에 대하여 기록, 재생, 보관, 전송시 발생할 수 있는 에러를 보상한 다음, 외부에 구비된 버퍼 메모리인 DRAM에 섹터별로 분리하여 저장한다. 호스트의 데이터 요구시 상기 데이터 처리부는 호스트가 요구한 데이터가 상기 DRAM에 존재하는지를 확인한다. 만일 존재하면 해당 데이터를 ATAPI 프로토콜에 따라 일정한 속도로 호스트로 전송하고, 존재하지 않으면 CD 데이터 처리부에 해당하는 데이터를 요청한 후 동기 검출과 에러보상 및 DRAM 저장 등의 상기 절차들을 수행한다.Such a conventional CD ROM drive includes a pickup unit for reading data from a CD ROM rotated by a motor, and a data processing unit for converting the read data into data suitable for the form of the CD ROM and transferring the data to a host. When information (lead data) is input from the outside (CD data processing unit), the data processing unit analyzes this information to detect a synchronization signal, and may occur when recording, reproducing, storing, or transmitting the remaining information except the synchronization signal. After the error is compensated for, it is stored separately for each sector in DRAM, which is an externally provided buffer memory. When the host requests data, the data processor checks whether data requested by the host exists in the DRAM. If present, the data is transmitted to the host at a constant speed according to the ATAPI protocol. If the data does not exist, the CD data processing unit requests the data and performs the above-described procedures such as synchronization detection, error compensation, and DRAM storage.

이와 같이, 상기 데이터 처리부는 CD 롬으로부터 리드되어 프레임 디코딩된 데이터를 DRAM에 저장하였다가 에러보정 처리한 후 다시 DRAM에 저장하는 중간처리 과정을 반복한다.As described above, the data processor repeats an intermediate process of storing the data decoded from the CD ROM into the DRAM, and then storing the data in the DRAM, and then storing the data in the DRAM again.

CD 롬 드라이브의 속도증대(고배속화)를 위해서는 내부 구성소자들의 처리속도 증대는 물론 상기 DRAM의 처리속도도 증대되어야 하는데, 상기 DRAM은 외부에 구비되기 때문에 데이터를 리드/라이트하는 시간이 오래 걸렸다. 따라서 이를 위해서는 상기의 DRAM을 EDO DRAM으로 교체하고 이를 위한 제어부의 구성 또한 교체하여야 했으므로, 구성 및 실현상의 어려움이 발생하였으며 구성을 위한 비용도 증가하게 되었다는 문제점이 있었다. 게다가 CD 롬 드라이브의 속도증대를 위해서는 각 구성소자의 동작 주파수(동작 클럭)을 높이기 위한 구성을 필요로 하였다.In order to increase the speed of the CD ROM drive (higher speed), the processing speed of the internal components as well as the processing speed of the DRAM should be increased. Since the DRAM is provided externally, it takes a long time to read / write data. Therefore, in order to do this, the DRAM was replaced with the EDO DRAM and the configuration of the controller for this also had to be replaced. Therefore, difficulties in configuration and realization occurred, and there was a problem in that the cost for the configuration also increased. In addition, to increase the speed of the CD-ROM drive, a configuration was required to increase the operating frequency (operation clock) of each component.

따라서 상기한 바와 같이 동작되는 종래 기술의 문제점을 해결하기 위하여 창안된 본 발명의 목적은, 광 디스크 드라이브의 버퍼 메모리를 내부에 위치시키고 이에 적합한 제어장치를 제공하는 것이다.Accordingly, an object of the present invention, which was devised to solve the problems of the prior art operating as described above, is to place a buffer memory of an optical disc drive therein and provide a control device suitable for the same.

본 발명의 다른 목적은, DRAM을 내장하는 CD 롬 드라이브의 섹터 디코딩 및 ATAPI 제어장치를 제공하는 것이다.Another object of the present invention is to provide a sector decoding and ATAPI control apparatus for a CD ROM drive incorporating DRAM.

상기한 바와 같은 목적을 달성하기 위하여 창안된 본 발명에 따른 DRAM을 가지는 광 디스크 드라이브의 섹터 디코딩 및 ATAPI 제어장치의 실시예는, 광 디스크로부터 리드되어 프레임 디코딩된 데이터를 내장된 버퍼 메모리를 통해 호스트로 전송하는 광 디스크 드라이브의 섹터 디코딩 및 ATAPI 제어장치에 있어서,An embodiment of the sector decoding and ATAPI control apparatus of an optical disk drive having a DRAM according to the present invention, which was devised to achieve the above object, hosts a frame decoded data read from the optical disk through a built-in buffer memory. In the sector decoding and ATAPI control of the optical disk drive to transmit to the

상기 광 디스크로부터 다양한 속도로 입력될 수 있는 상기 프레임 디코딩된 직렬 데이터를 소정비트 단위의 병렬 데이터로 변환한 뒤, 상기 변환된 데이터를 상기 버퍼 메모리에 섹터 단위로 기록하는 섹터 디코더; 및A sector decoder for converting the frame decoded serial data, which can be input at various speeds, from the optical disk into parallel data of a predetermined bit unit, and then writing the converted data in the buffer memory sector by sector; And

데이터 FIFO를 내장하며, 상기 호스트의 데이터 요구시 상기 버퍼 메모리로부터 상기 섹터 데이터를 리드하여 상기 데이터 FIFO에 저장하고, 상기 데이터 FIFO에 저장된 데이터를 리드하여 미리 지정된 전송속도에 따라 상기 호스트로 전송하는 ATAPI 제어부를 포함한다.ATAPI that has a built-in data FIFO and reads the sector data from the buffer memory and stores the data in the data FIFO when the host requests data, and transmits the data stored in the data FIFO to the host according to a predetermined transmission rate. It includes a control unit.

도 1 은 본 발명의 바람직한 실시예에 따른 컴팩트 디스크 롬 드라이브의 블럭구성도,1 is a block diagram of a compact disc ROM drive according to a preferred embodiment of the present invention;

도 2 는 도 1 의 메모리를 내장한 섹터 디코드 및 ATAPI 제어부의 상세 블럭구성도.FIG. 2 is a detailed block diagram of a sector decode and ATAPI controller incorporating the memory of FIG. 1; FIG.

도 3 은 도 2 의 DRAM의 메모리맵을 도시한 도면,3 is a memory map of the DRAM of FIG. 2;

도 4 는 도 2 의 데이터 버퍼의 동작파형도.4 is an operational waveform diagram of the data buffer of FIG. 2;

이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대한 동작 원리를 상세히 설명한다. 하기에서 본 발명을 설명함에 있어 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다.Hereinafter, with reference to the accompanying drawings will be described in detail the operating principle of the preferred embodiment of the present invention. In the following description of the present invention, detailed descriptions of well-known functions or configurations will be omitted if it is determined that the detailed description of the present invention may unnecessarily obscure the subject matter of the present invention.

도 1 은 본 발명의 바람직한 실시예에 따른 CD 롬 드라이브의 블럭구성도를 도시한 것으로, 스핀들 및 슬레드 모터(Spindle, sled Motor)(12)는 서보(Servo)(18)의 제어에 따라 CD 롬(10)을 회전시키고, 픽업(14)을 이동시킨다. 상기 픽업(14)은 회전하는 CD 롬(10)에 기록된 신호를 리드한다. 앰프(16)는 상기 픽업(14)의 출력을 증폭하고 잡음과 왜곡(Distortion)을 제거한 후, 파형정형하여 재생데이터로서 출력한다. 상기 프레임 디코더(20)는 상기 재생데이터를 프레임화하여 출력한다. 상기 프레임 디코더(20)의 출력 데이터는 섹터 디코더(22)로 입력된다. 상기 섹터 디코더(22)와 버퍼 메모리(24) 및 ATAPI 제어부(26)는 상기 프레임 데이터를 제공받아 에러검출 및 정정한 후에 ATAPI 프로토콜에 따라 호스트로 전송한다. 마이컴(28)은 상기 CD 롬 드라이브의 동작을 전반적으로 제어한다.1 shows a block diagram of a CD ROM drive according to a preferred embodiment of the present invention, in which a spindle and a sled motor 12 are controlled by a servo 18 under the control of a servo 18. The ROM 10 is rotated and the pickup 14 is moved. The pickup 14 reads the signal recorded on the rotating CD ROM 10. The amplifier 16 amplifies the output of the pickup 14, removes noise and distortion, and then waveform-shapes it and outputs it as reproduction data. The frame decoder 20 frames and outputs the playback data. The output data of the frame decoder 20 is input to the sector decoder 22. The sector decoder 22, the buffer memory 24, and the ATAPI controller 26 receive the frame data, detect and correct the error, and transmit the error to the host according to the ATAPI protocol. The microcomputer 28 generally controls the operation of the CD ROM drive.

상기 섹터 디코더(22)와 버퍼 메모리(24) 및 ATAPI 제어부(26)의 상세구성을 도시한 도 2를 참조하여 본 발명에 의한 섹터 디코딩 및 아타피 제어동작에 대하여 상세히 설명하면 다음과 같다.Referring to FIG. 2, which shows the detailed configuration of the sector decoder 22, the buffer memory 24, and the ATAPI controller 26, the sector decoding and attaphy control operation according to the present invention will be described in detail as follows.

상기 섹터 디코더(22)는 프레임 디코더(20)의 출력데이터를 직렬로 입력받아 스크램블링(scrambling) 여부에 따라 디스크램블링(De-scrambling)를 수행한 후 병렬로 출력하는 프레임 디코더 인터페이스(100)와, 상기 프레임 디코더 인터페이스(100)의 출력데이터로부터 동기를 검출하는 동기검출부(110)와, 상기 동기가 검출될 때마다 섹터단위의 데이터를 입력받아 버퍼링하는 FIFO(First In First Out) 구조의 섹터 데이터 버퍼(120)와, 마이컴(28)으로부터 서브코드를 입력받아 버퍼링하는 서브코드 버퍼(130)와, 버퍼 메모리에 저장된 데이터에 대하여 ECC(Error Correction Code) 및 EDC(Error Detection and Correction) 처리를 수행하는 ECC 및 EDC 처리부(140)와, 플레인 분리를 위하여 메모리 어드레스를 제어하는 어드레스 발생부(150)와, 버퍼 메모리(24)의 데이터 리드/라이트를 제어하는 버퍼 메모리 제어부(180)와, 마이컴(28)과의 인터페이스를 수행하는 마이컴 인터페이스(170)와, 마이컴(28)의 요구에 따라 버퍼 메모리(24)의 데이터를 리드/라이트하는 마이컴 버퍼 메모리부(190)와, 버퍼 메모리(24)의 액세스 우선순위를 결정하는 각종 클럭을 발생하는 클럭 제너레이터(160)로 구성된다.The sector decoder 22 receives the output data of the frame decoder 20 in series and performs de-scrambling according to whether or not scrambling, and then outputs them in parallel. A sync detection unit 110 for detecting sync from the output data of the frame decoder interface 100 and a sector data buffer having a first in first out (FIFO) structure for receiving and buffering data in sector units whenever the sync is detected. And a subcode buffer 130 for receiving and buffering the subcode from the microcomputer 28, and performing error correction and error detection and correction (ECC) and error detection and correction (ECC) processing on the data stored in the buffer memory. ECC and EDC processing unit 140, address generator 150 for controlling memory addresses for plane separation, and buffers for controlling data read / write of buffer memory 24 The microcomputer interface 170 that interfaces with the memory controller 180, the microcomputer 28, and the microcomputer buffer memory 190 that reads / writes data of the buffer memory 24 in response to a request of the microcomputer 28. And a clock generator 160 for generating various clocks for determining the access priority of the buffer memory 24.

상기 버퍼 메모리(24)는 고속 액세스를 위하여 16[Bit] 버스로 상기 섹터 디코더(22)와 연결되는 128[K]×16[Bit]구조(=2Mbit)를 가진다. 상기 버퍼 메모리(24)의 메모리 맵을 도시한 도 3을 참조하면, 상기 버퍼 메모리(24)는 섹터 데이터 중 사용자 데이터를 저장하기 위한 80[KWord]의 데이터 저장영역과, 마이컴(28)이 사용하기 위한 8[KWord]의 데이터 저장영역과, 섹터 데이터의 모드에 따라 서브코드 및 에러 플래그를 저장하기 위한 40[KWord]의 부가영역을 구비한다. 이때, 본 발명에 의한 상기 버퍼 메모리(24)의 대역폭(Band Width)은 CD 롬 드라이브가 고속화됨에 따라 최대 액세스 주기로 결정된다.The buffer memory 24 has a 128 [K] x 16 [Bit] structure (= 2 Mbit) connected to the sector decoder 22 by a 16 [Bit] bus for high speed access. Referring to FIG. 3, which shows a memory map of the buffer memory 24, the buffer memory 24 is used by the microcomputer 28 and a data storage area of 80 [KWord] for storing user data among sector data. A data storage area of 8 [KWord], and an additional area of 40 [KWord] for storing subcodes and error flags according to the mode of sector data. At this time, the bandwidth of the buffer memory 24 according to the present invention is determined as the maximum access period as the CD ROM drive is speeded up.

또한 도 2를 참조하면, 상기 ATAPI 제어부(26)는 데이터 전송상태를 관리하는 TR 플래그 블럭(Transfer Flag Block)(200)과, 자동 데이터 전송 모드인 오토 모드(Auto Mode) 제어를 위한 오토 플래그 블럭(Auto Flag Block)(210)과 전송 카운트부(Transfer Count)(220)와, 데이터의 연속적인 전송을 위한 데이터 FIFO(230)와, 호스트로 데이터를 직접 전송하기 위한 DMA(Direct Memory Access) 제어부(260)와, 호스트와의 커맨드 처리를 위한 커맨드 FIFO(280)와, 타스크(Task) 명령 처리와 관련 주소 제어를 위한 호스트 어드레스(240), 타스크(250) 및 인터페이스 플래그 블럭(270)으로 구성된다.Also, referring to FIG. 2, the ATAPI controller 26 may include a TR flag block 200 for managing a data transmission state and an auto flag block for auto mode control, which is an automatic data transmission mode. (Auto Flag Block) 210, Transfer Count 220, Data FIFO 230 for continuous transfer of data, Direct Memory Access (DMA) control unit for direct transfer of data to host 260, a command FIFO 280 for command processing with the host, a host address 240, a task 250, and an interface flag block 270 for task command processing and related address control. do.

이하 상기의 구성을 참조하여 섹터 디코딩 및 ATAPI 제어 동작을 상세히 설명한다.Hereinafter, the sector decoding and the ATAPI control operation will be described in detail with reference to the above configuration.

프레임 디코더(20)로부터 가변의 입력 스트림인 프레임 데이터가 최대 속도로 입력되면, 동기 검출부(110)는 상기 데이터로부터 동기를 검출하여 내부에서 생성한 동기신호에 대응하는 동기신호를 출력한다. 상기 동기신호를 제외한 나머지 데이터인 섹터 데이터는, 스크램블링 여부에 따라 프레임 디코더 인터페이스(100)에 구비된 디스크램블러에 의하여 디스크램블링된 후 바이트 단위의 병렬로 변환되어 섹터 데이터 버퍼(120)에 저장된다. 상기 섹터 데이터 버퍼(120)에 저장된 섹터 데이터는 버퍼 메모리 제어부(180)의 제어에 의해 버퍼 메모리(24)에 섹터 단위로 이븐/오드로 구분되어 저장된다.When frame data, which is a variable input stream, is input from the frame decoder 20 at a maximum speed, the synchronization detector 110 detects synchronization from the data and outputs a synchronization signal corresponding to an internally generated synchronization signal. The sector data, which is the remaining data except for the synchronization signal, is descrambled by the descrambler included in the frame decoder interface 100 according to the scrambling, and then converted into bytes in parallel and stored in the sector data buffer 120. Sector data stored in the sector data buffer 120 is stored in the buffer memory 24 and divided into even / odd units in sector units under the control of the buffer memory controller 180.

여기서, 상기 섹터 데이터는 사용자 데이터와 부가 데이터로 구성되며, 상기 부가 데이터로는 동기(Synchronous), 헤더(Header), 블랭크(Blank), ECC 및 EDC 등이 있으므로, 상기 버퍼 메모리(24)는 사용자 데이터와 부가 데이터를 분리하여 각각의 저장영역에 저장한다.Here, the sector data is composed of user data and additional data, and the additional data includes synchronous, header, blank, ECC, and EDC, so that the buffer memory 24 is a user. Data and additional data are separated and stored in each storage area.

상기 ECC 및 EDC 처리부(140)는 상기 버퍼 메모리(24)에 저장된 섹터 데이터를 제공받아 이븐/오드를 구분하여 바이트 단위로 ECC 및 EDC 처리한 후 다시 버퍼 메모리(24)에 저장하는데, 즉 ECC 및 EDC 처리는 입력 데이터의 정보에 의해 결정된다. 이러한 ECC 및 EDC의 처리는 본 출원인에 의하여 대한민국 특허청에 출원된 특허출원 제97-13200호에 개시되어 있는 바와 같다. 그러나 이러한 에러검출 및 정정 처리는 CD 롬 드라이브의 동작조건에 따라 생략될 수 있다.The ECC and EDC processing unit 140 receives the sector data stored in the buffer memory 24, divides even / odds, processes ECC and EDC in byte units, and stores the ECC and EDC again in the buffer memory 24. EDC processing is determined by the information of the input data. Such treatment of ECC and EDC is as disclosed in Korean Patent Application No. 97-13200 filed by the applicant with the Korean Patent Office. However, such error detection and correction processing may be omitted depending on the operating conditions of the CD ROM drive.

호스트의 데이터 요구가 있을 때까지 상기와 같은 데이터의 저장 및 에러보정 처리는 연속적으로 반복되어 버퍼 데이터(24)에는 최종 데이터가 쌓이게 된다.Until the data request from the host is made, the above data storage and error correction processing is continuously repeated, and the final data is accumulated in the buffer data 24.

마이컴 및 호스트의 데이터 전송 요구시, 원하는 데이터가 버퍼 메모리(24)에 존재하면, 상기 버퍼 메모리(24)에 저장되어 있던 ECC 및 EDC 처리된 섹터 데이터는 데이터 FIFO(230)를 통해 ATAPI 제어부(26)의 제어에 따라 ATAPI 프로토콜 속도로 호스트로 전송된다.When the data transmission request from the microcomputer and the host, the desired data exists in the buffer memory 24, the ECC and EDC processed sector data stored in the buffer memory 24 is transferred to the ATAPI controller 26 through the data FIFO 230. ) Is sent to the host at ATAPI protocol speed.

여기서, 버퍼 메모리(24)에서 호스트로 전송되는 섹터 데이터의 처리는 섹터 데이터 동기신호의 주기를 기준으로 한다. 즉, 섹터 데이터 동기신호 1주기(1클럭) 동안에 2352 바이트의 섹터 데이터가 입력되며, 이 시간동안 ECC, EDC, C2PO 데이터의 저장, 서브코드 데이터의 저장, 호스트의 데이터 전송 등이 모두 이루어져야 한다. 섹터 데이터 동기신호 1주기동안에 버퍼 메모리(24)를 액세스할 수 있는 구간은 총 18,816이며, 이중에서 호스트로 데이터를 전송하기 위하여 할당된 구간은 6,686구간이고, 그 외의 기능들을 위하여 할당되는 구간은 12,130구간이다. 상기 6,686구간동안 버퍼 메모리(24)에 저장된 데이터는 데이터 FIFO(230)로 전송된다. 상기 데이터 FIFO(230)는 버퍼 메모리(24)로부터 데이터를 제공받음과 동시에 호스트로 데이터를 전송한다.Here, the processing of the sector data transmitted from the buffer memory 24 to the host is based on the period of the sector data synchronization signal. That is, 2352 bytes of sector data are input during one period (1 clock) of the sector data synchronization signal, and during this time, ECC, EDC, C2PO data storage, subcode data storage, and host data transfer must all be performed. The period in which the buffer memory 24 can be accessed during one period of the sector data synchronization signal is 18,816 in total, of which 6,686 is allocated to transmit data to the host, and 12,130 is allocated for other functions. It is a section. Data stored in the buffer memory 24 during the 6,686 period is transmitted to the data FIFO 230. The data FIFO 230 receives data from the buffer memory 24 and simultaneously transmits data to the host.

본 발명에서는 버퍼 메모리(24)가 CD 롬 드라이브에 내장되기 때문에, 데이터 FIFO(230)는 풀(full) 또는 엠티(empty) 등의 이상 상태가 아닌 한 연속적으로 리드/라이트 동작을 수행하여, 최대 전송속도를 지원할 수 있도록 한다.In the present invention, since the buffer memory 24 is built in the CD-ROM drive, the data FIFO 230 continuously performs read / write operations unless there is an abnormal state such as full or empty. Enable to support the transmission speed.

상기 데이터 FIFO(230)의 동작상태 파형을 도시한 도 4 를 참조하면, 도 4 의 파형의 하이구간에서 데이터 FIFO(23)는 상기 버퍼 메모리(24)로부터 데이터를 전송받음과 동시에 전송받은 데이터를 호스트로 전송한다. 그리고 로우구간에서 데이터 FIFO(230)는 버퍼 메모리(24)로부터 데이터를 전송받지 않으면서 호스트로 데이터를 전송한다. 상기 하이구간 동안의 16HR은 16[WORD]를 버퍼 메모리(24)에서 데이터 FIFO(230)로 전송함을 나타내고, 5HT는 5[WORD]를 호스트로 전송함을 나타낸다. 또한 18 구간은 버퍼 메모리(24)의 액세스 구간이 18 구간임을 나타낸다.Referring to FIG. 4, which shows an operating state waveform of the data FIFO 230, in the high section of the waveform of FIG. 4, the data FIFO 23 receives data from the buffer memory 24 and simultaneously receives the data. Send to host. In the row section, the data FIFO 230 transmits data to the host without receiving data from the buffer memory 24. The 16HR during the high period indicates that 16 [WORD] is transmitted from the buffer memory 24 to the data FIFO 230, and 5HT indicates that 5 [WORD] is transmitted to the host. In addition, 18 sections indicates that the access section of the buffer memory 24 is 18 sections.

만일 18 구간동안 데이터 FIFO(230)에 쓰기 및 호스트 전송이 동시에 일어났다면 18 구간이후에 데이터 FIFO(230)에 남아 있는 데이터의 양은 11[WORD]이다. 또한 상기 로우구간의 28 구간동안에 나머지 7[WORD]가 호스트로 전송된다. 따라서 이전의 11[WORD]에서 28 구간에서 7[WORD]전송 후에 남아있는 데이터의 양은 4[WORD]이므로 다시 버퍼 메모리(24)로의 데이터 읽기 요구와 함께 앞의 동작이 반복된다. 이와 같은 동작이 연속하여 이루어졌을 경우에 ATAPI 프로토콜의 PIO 모드 4, 또는 DMA 모드 2의 전송속도를 유지할 수 있다.If the write and the host transfer to the data FIFO 230 occurs simultaneously for 18 sections, the amount of data remaining in the data FIFO 230 after 18 sections is 11 [WORD]. In addition, the remaining 7 [WORD] is transmitted to the host during the 28 periods of the row section. Therefore, since the amount of data remaining after 7 [WORD] transmissions in the 28 sections from the previous 11 [WORD] is 4 [WORD], the previous operation is repeated with the data read request to the buffer memory 24 again. When such an operation is performed continuously, the transmission rate of PIO mode 4 or DMA mode 2 of the ATAPI protocol can be maintained.

따라서 상기와 같은 데이터 FIFO(230)의 관리와 버퍼 메모리(24)의 내장으로 인하여 원하는 정보열의 형태를 쉽게 얻을 수 있으며, 상기와 같은 제반 동작에 의하여 전력소모를 최소화한다. 또한 상기 데이터 직렬/병렬 변환과 에러 보정(ECC, EDC 처리) 및 데이터의 호스트 전송 등의 동작은 버퍼 메모리(24)에 의하여 정해지는 하나의 클럭에 동기된다. 그러므로 1×, 2×, 8×, 16×, 20×, 24× 등의 다양한 전송속도로 입력되는 데이터열에 대응할 수 있고, 호스트로의 데이터 전송속도는 데이터 FIFO(230)의 동작에 의하여 최대 16.6MByte/sec까지 지원 가능하다.Therefore, due to the management of the data FIFO 230 and the built-in buffer memory 24, it is possible to easily obtain the form of the desired information string, minimizing power consumption by the above-described operation. Further, operations such as data serial / parallel conversion, error correction (ECC, EDC processing), and host transfer of data are synchronized to one clock determined by the buffer memory 24. Therefore, data strings input at various transmission speeds such as 1 ×, 2 ×, 8 ×, 16 ×, 20 ×, and 24 × may be applied, and the data transfer rate to the host may be at most 16.6 by the operation of the data FIFO 230. Up to MByte / sec can be supported.

한편 본 발명의 상세한 설명에서는 구체적인 실시예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이다. 예를 들어 본 발명의 구성은 CD 롬 드라이브뿐만이 아니라 DVD 롬 용 드라이브, DVD 램 용 드라이브, CD-R 및 CD-R/W 드라이브에 적용되는 CD 롬 디코더 및 아타피 제어기에 적용 가능하다. DVD 롬 및 DVD 램의 경우 도 2 의 섹터 디코더(22)는, 프레임 디코더 인터페이스(100) 블럭만을 포함하는 ATAPI 제어부로 대체되어야 하며, 특히 DVD 램의 경우 프레임 디코더 인터페이스 블럭은 양방향 데이터 전송이 가능하도록 직렬/병렬 변환뿐만 아니라 병렬/직렬 변환을 지원하여야 한다.Meanwhile, in the detailed description of the present invention, specific embodiments have been described, but various modifications are possible without departing from the scope of the present invention. For example, the configuration of the present invention can be applied not only to a CD ROM drive but also to a CD ROM decoder and an atapi controller applied to a DVD ROM drive, a DVD RAM drive, a CD-R and a CD-R / W drive. In the case of DVD ROM and DVD RAM, the sector decoder 22 of FIG. 2 should be replaced with an ATAPI control unit including only the frame decoder interface 100 block. In particular, in the case of DVD RAM, the frame decoder interface block may transmit bidirectional data. It should support parallel / serial conversion as well as serial / parallel conversion.

그러므로 본 발명의 범위는 설명된 실시예에 국한되지 않으며, 후술되는 특허청구의 범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다.Therefore, the scope of the present invention should not be limited to the described embodiments, but should be defined not only by the scope of the following claims, but also by those equivalent to the scope of the claims.

상술한 바와 같이 본 발명은 보통 속도의 버퍼 메모리인 DRAM을 CD 롬 디코더 IC의 내부에 위치시키고 DRAM과 섹터 디코더를 내부 버스로 연결하여, 섹터 디코더가 DRAM을 빠르게 액세스할 수 있도록 하며 전력손실을 최소화하고 16비트 변환처리를 용이하고 신속하게 수행할 수 있다. 또한 DRAM에 저장된 데이터를 버퍼링하면서 호스트측으로 고속전송할 수 있도록 하여 CD 롬 드라이브의 고배속화를 가능하도록 하는 이점이 있다.As described above, the present invention locates DRAM, which is a medium speed buffer memory, inside the CD ROM decoder IC and connects the DRAM and the sector decoder to an internal bus so that the sector decoder can access the DRAM quickly and minimize power loss. 16-bit conversion processing can be performed easily and quickly. In addition, the high speed transfer of the CD-ROM drive is possible by enabling high-speed transfer to the host while buffering data stored in the DRAM.

게다가 버퍼 메모리인 DRAM을 광 디스크 드라이브에 내장시킴으로써 같은 크기의 IC에 디스크 드라이브의 모든 기능을 구현하여, 노트북 컴퓨터와 같이 내부공간이 협소하고 밀집화가 필요하며 전력 소모의 최소화가 필요한 제품에 쉽게 적용될 수 있도록 한다.In addition, by embedding the buffer memory DRAM in the optical disk drive, all the functions of the disk drive are implemented in the same size IC, so it can be easily applied to products that require narrow internal space, compactness and minimize power consumption, such as notebook computers. Make sure

Claims (8)

광 디스크로부터 리드되어 프레임 디코딩된 데이터를 내장된 버퍼 메모리를 통해 호스트로 전송하는 광 디스크 드라이브의 섹터 디코딩 및 ATAPI 제어장치에 있어서,In the sector decoding and ATAPI controller of the optical disk drive for transmitting the frame-decoded data read from the optical disk to the host through the built-in buffer memory, 상기 광 디스크로부터 다양한 속도로 입력될 수 있는 상기 프레임 디코딩된 직렬 데이터를 소정비트 단위의 병렬 데이터로 변환한 뒤, 상기 변환된 데이터를 상기 버퍼 메모리에 섹터 단위로 기록하는 섹터 디코더; 및A sector decoder for converting the frame decoded serial data, which can be input at various speeds, from the optical disk into parallel data of a predetermined bit unit, and then writing the converted data in the buffer memory sector by sector; And 데이터 FIFO를 내장하며, 상기 호스트의 데이터 요구시 상기 버퍼 메모리로부터 상기 섹터 데이터를 리드하여 상기 데이터 FIFO에 저장하고, 상기 데이터 FIFO에 저장된 데이터를 리드하여 미리 지정된 전송속도에 따라 상기 호스트로 전송하는 ATAPI 제어부를 포함하는, 버퍼 메모리를 내장하는 광 디스크 드라이브의 섹터 디코딩 및 ATAPI 제어장치.ATAPI that has a built-in data FIFO and reads the sector data from the buffer memory and stores the data in the data FIFO when the host requests data, and transmits the data stored in the data FIFO to the host according to a predetermined transmission rate. A sector decoding and ATAPI control apparatus for an optical disk drive having a buffer memory, comprising a control unit. 제 1 항에 있어서, 상기 섹터 디코더는,The method of claim 1, wherein the sector decoder, 가변 입력 스트림인 상기 프레임 디코딩된 데이터로부터 동기 신호를 검출하는 동기 검출부;A synchronization detector for detecting a synchronization signal from the frame decoded data which is a variable input stream; 상기 동기 검출부에서 동기 신호가 검출될 때마다, 상기 동기 신호 이후의 섹터 데이터를 상기 소정비트 단위의 병렬 데이터로 변환하여 출력하는 프레임 디코더 인터페이스; 및A frame decoder interface for converting and outputting sector data after the synchronization signal into parallel data in units of predetermined bits each time a synchronization signal is detected by the synchronization detection unit; And 상기 소정비트 단위의 병렬 데이터를 저장하였다가, 섹터 단위로 이븐/오드를 구분하여 상기 버퍼 메모리의 상위/하위 영역에 각각 기록하는 섹터 데이터 버퍼를 포함하는, 버퍼 메모리를 내장하는 광 디스크 드라이브의 섹터 디코딩 및 ATAPI 제어장치.A sector of an optical disc drive in which a buffer memory is stored, comprising a sector data buffer storing parallel data in a predetermined bit unit and separating even / ord into sectors and recording the data in an upper / lower region of the buffer memory. Decoding and ATAPI Controls. 제 2 항에 있어서, 상기 섹터 디코더는, 상기 버퍼 메모리에 기록된 섹터 데이터를 리드하여 상기 소정비트 단위로 에러검출 및 정정을 수행한 후 상기 버퍼 메모리에 다시 기록하는 동작을, 상기 호스트가 데이터 전송을 요구할 때까지 반복적으로 수행하는 에러검출 및 정정부를 더 포함하는, 버퍼 메모리를 내장하는 광 디스크 드라이브의 섹터 디코딩 및 ATAPI 제어장치.The data transmission method of claim 2, wherein the sector decoder reads sector data recorded in the buffer memory, performs error detection and correction in the predetermined bit unit, and writes the data back to the buffer memory. And an error detection and correction unit repeatedly performing a request until a request is made. The sector decoding and ATAPI control apparatus of an optical disk drive incorporating a buffer memory. 제 1 항에 있어서, 상기 ATAPI 제어부는, 상기 섹터 데이터 동기신호 1주기 동안에 상기 버퍼 메모리로부터 상기 호스트로의 데이터 전송을 처리하는, 버퍼 메모리를 내장하는 광 디스크 드라이브의 섹터 디코딩 및 ATAPI 제어장치.The apparatus of claim 1, wherein the ATAPI control unit processes data transfer from the buffer memory to the host during one period of the sector data synchronizing signal. 제 4 항에 있어서, 상기 데이터 FIFO는, 상기 버퍼 메모리의 속도에 적응하기 위하여, 풀(full) 또는 엠티(empty) 상태가 아닌 한 연속적으로 리드/라이트 동작을 수행하는, 버퍼 메모리를 내장하는 광 디스크 드라이브의 섹터 디코딩 및 ATAPI 제어장치.5. The optical memory of claim 4, wherein the data FIFO continuously performs read / write operations unless the data FIFO is in a full or empty state in order to adapt to the speed of the buffer memory. Sector decoding and ATAPI controls on disk drives. 제 1 항 내지 제 5 항 중 어느 한 항에 있어서, 상기 버퍼 메모리는, 상기 버퍼 메모리의 대역폭 크기에 해당하는 내부 버스를 사용하여 상기 섹터 디코더 및 ATAPI 제어부와 연결되는, 버퍼 메모리를 내장하는 광 디스크 드라이브의 섹터 디코딩 및 ATAPI 제어장치.The optical disk according to any one of claims 1 to 5, wherein the buffer memory is connected to the sector decoder and the ATAPI control unit by using an internal bus corresponding to the bandwidth size of the buffer memory. Sector decoding and ATAPI control of the drive. 제 1 항 내지 제 5 항 중 어느 한 항에 있어서, 상기 버퍼 메모리는, 최대 액세스 주기와 같은 대역폭을 가지는 DRAM(Dynamic RAM)인, 버퍼 메모리를 내장하는 광 디스크 드라이브의 섹터 디코딩 및 ATAPI 제어장치.6. The sector decoding and ATAPI control apparatus according to any one of claims 1 to 5, wherein the buffer memory is a DRAM (Dynamic RAM) having a bandwidth equal to a maximum access period. 제 1 항 내지 제 5 항 중 어느 한 항에 있어서, 상기 광 디스크 드라이브는, 컴팩트 디스크 롬(CD-ROM), DVD-ROM 및 DVD-RAM 가운데 하나인, 버퍼 메모리를 내장하는 광 디스크 드라이브의 섹터 디코딩 및 ATAPI 제어장치.A sector of an optical disc drive incorporating a buffer memory as claimed in any one of claims 1 to 5, wherein the optical disc drive is one of a compact disc ROM (CD-ROM), a DVD-ROM, and a DVD-RAM. Decoding and ATAPI Controls.
KR1019970039166A 1997-08-18 1997-08-18 Apparatus for sector decoding and atapi controling in optic disk drive having within buffer memory KR100270696B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970039166A KR100270696B1 (en) 1997-08-18 1997-08-18 Apparatus for sector decoding and atapi controling in optic disk drive having within buffer memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970039166A KR100270696B1 (en) 1997-08-18 1997-08-18 Apparatus for sector decoding and atapi controling in optic disk drive having within buffer memory

Publications (2)

Publication Number Publication Date
KR19990016581A KR19990016581A (en) 1999-03-15
KR100270696B1 true KR100270696B1 (en) 2000-12-01

Family

ID=19517675

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970039166A KR100270696B1 (en) 1997-08-18 1997-08-18 Apparatus for sector decoding and atapi controling in optic disk drive having within buffer memory

Country Status (1)

Country Link
KR (1) KR100270696B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100546268B1 (en) * 1998-02-23 2006-04-06 삼성전자주식회사 Data transmission method of compact disk ROM using error detection code
JP2001273094A (en) * 2000-03-28 2001-10-05 Sanyo Electric Co Ltd Cd-rom decoder
JP2001273710A (en) * 2000-03-28 2001-10-05 Sanyo Electric Co Ltd Cd-rom decoder

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970003103A (en) * 1995-06-30 1997-01-28 김주용 Apparatus and method for data decoder for digital video disc
KR970002860A (en) * 1995-06-30 1997-01-28 다까노 야스아끼 A CD player and a CD-ROM decoder

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970003103A (en) * 1995-06-30 1997-01-28 김주용 Apparatus and method for data decoder for digital video disc
KR970002860A (en) * 1995-06-30 1997-01-28 다까노 야스아끼 A CD player and a CD-ROM decoder

Also Published As

Publication number Publication date
KR19990016581A (en) 1999-03-15

Similar Documents

Publication Publication Date Title
KR100270594B1 (en) Cd-rom reproducing device and method for controlling the same
US5818801A (en) Shockproof optical reproduction device
KR100223634B1 (en) Memory control method
US6466736B1 (en) Integrated DVD/CD controller
US6064639A (en) High speed data recording and/or reproducing method and apparatus with increased data sector access speed
US6282367B1 (en) System decoder for high-speed data transmission and method for controlling track buffering
KR100270696B1 (en) Apparatus for sector decoding and atapi controling in optic disk drive having within buffer memory
KR100568110B1 (en) A compact disk player with an MP3 module and its control method
KR0183748B1 (en) High-speed memory control circuit of cd-rom driving system
KR19990060321A (en) Processing Method of Defect Sector Data in Digital Video Disc-RAM System
JPH09259532A (en) Data-processing system
EP0800700B1 (en) Information retrieveal system with serial access data storage and random access data retrieval
JP2001291326A (en) Optical disk reproducing device and semiconductor integrated circuit used for the same
US5815691A (en) Method for controlling an external memory for a CD-ROM decoder and apparatus therefor
JPH11120124A (en) Bus access device, bus arbitration system, cd-rom decoder, dvd-rom decoder and cd-rom drive
CN1202690A (en) Optic disc recording transrecording of optic disc data, format of optic disc and replayer for optic disc
JP2859050B2 (en) Information playback device
GB2314668A (en) Device and method for controlling a multidomain memory in an optical disc player
JPH08185666A (en) Disk reproducing device and its signal processing circuit
KR19990042818A (en) Parallel data interface device
KR100498408B1 (en) CD-ROM driver that supports CAV using Atapi decoder
JP3092387B2 (en) Information playback device
KR100200096B1 (en) Interface for transmission data of memory
KR0183298B1 (en) Apparatus and method for controlling a memory
JPH11296310A (en) Buffer access device and cd-rom decoder, dvd decoder, cd-rom drive and dvd drive using the same device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20080731

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee