KR100258331B1 - Selective input method for subcode data in a compact disc reproducer - Google Patents

Selective input method for subcode data in a compact disc reproducer Download PDF

Info

Publication number
KR100258331B1
KR100258331B1 KR1019970074149A KR19970074149A KR100258331B1 KR 100258331 B1 KR100258331 B1 KR 100258331B1 KR 1019970074149 A KR1019970074149 A KR 1019970074149A KR 19970074149 A KR19970074149 A KR 19970074149A KR 100258331 B1 KR100258331 B1 KR 100258331B1
Authority
KR
South Korea
Prior art keywords
data
subcode
input
microcomputer
subcode data
Prior art date
Application number
KR1019970074149A
Other languages
Korean (ko)
Other versions
KR19990054338A (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 KR1019970074149A priority Critical patent/KR100258331B1/en
Publication of KR19990054338A publication Critical patent/KR19990054338A/en
Application granted granted Critical
Publication of KR100258331B1 publication Critical patent/KR100258331B1/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/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
    • G11B20/1252Formatting, e.g. arrangement of data block or words on the record carriers on discs for discontinuous data, e.g. digital information signals, computer programme data
    • 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/10009Improvement or modification of read or write signals
    • G11B20/10268Improvement or modification of read or write signals bit detection or demodulation methods
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B7/00Recording or reproducing by optical means, e.g. recording using a thermal beam of optical radiation by modifying optical properties or the physical structure, reproducing using an optical beam at lower power by sensing optical properties; Record carriers therefor
    • G11B7/004Recording, reproducing or erasing methods; Read, write or erase circuits therefor
    • G11B7/005Reproducing
    • 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/14Digital recording or reproducing using self-clocking codes
    • G11B20/1403Digital recording or reproducing using self-clocking codes characterised by the use of two levels
    • G11B20/1423Code representation depending on subsequent bits, e.g. delay modulation, double density code, Miller code
    • G11B20/1426Code representation depending on subsequent bits, e.g. delay modulation, double density code, Miller code conversion to or from block codes or representations thereof
    • G11B2020/14618 to 14 modulation, e.g. the EFM code used on CDs or mini-discs
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

PURPOSE: A method for selectively inputting subcode data in a CDP(Compact Disk Player) is provided to selectively input necessary filed data only in the subcode data, so as to reduce time required in an interrupt routine performing process. CONSTITUTION: If an external interrupt for inputting subcode data from a signal processor is generated, a microcomputer(30) disables different external interrupt ports. The microcomputer(30) checks whether data applied from the signal processor are the first filed data of the subcode data. If so, the microcomputer(30) loads the filed data in a RAM. The microcomputer(30) checks whether a CDP(Compact Disk Player) is set up in a time display mode. If so, the microcomputer(30) inputs the loaded filed data. If the filed data inputting is started, the microcomputer(30) enables the disabled different external interrupt ports. If an inner interrupt generated in an input completion is recognized, the microcomputer(30) disables the different external interrupt ports, and receives the next filed data of the subcode data applied from the signal processor. If index filed data and filed data of an unused area in filed data except the first filed data are inputted, the microcomputer(30) does not receive the filed data.

Description

콤팩트 디스크 재생장치에서 서브코드 데이터의 선택적 입력방법Selective input method of subcode data in compact disc player

본 발명은 콤팩트 디스크(Compact Disk:이하 "CD"라 함) 재생장치에 관한 것으로, 특히 CD 재생시 CD로부터 재생되는 서브코드 데이터(Subcode Data)의 선택적 입력방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a compact disc (hereinafter referred to as "CD") playback apparatus, and more particularly, to a selective input method of subcode data reproduced from a CD during CD playback.

통상적으로 오디오용 CD는 곡의 실제 내용외에 연주될 곡의 정보를 저장하고 있다. 이를 보통 서브코드 데이터라 부르고 저장되어 있는 위치에 따라 크게 3가지로 분류될 수 있다. CD의 최내주 즉, 리드-인(Lead-in)영역은 CD상에 기록되어 있는 모든 노래의 시작 시간정보를 가지고 있으며 최외주 즉, 리드-아웃(Lead-out)영역은 물리적으로 CD의 마지막임을 알려주기 위한 정보를 저장하고 있다. 리드-인/아웃 영역의 사이에는 실제 연주될 곡의 내용이 저장되어 있고 그외에 곡의 연주 진행정보를 알려주는 서브코드 데이터가 저장되어 있다.Typically, an audio CD stores information of a song to be played in addition to the actual content of the song. This is usually called subcode data, and can be classified into three types according to the stored location. The innermost, or lead-in, area of a CD contains the start time information of all the songs recorded on the CD. The outermost, or lead-out, is the physical end of a CD. It stores information to let you know. The contents of the song to be actually played are stored between the lead-in / out areas, and sub-code data indicating the performance progress information of the song is stored.

도 1은 상기 서브코드 데이터중 곡의 연주 진행정보를 가지고 있는 서브코드 데이터의 데이터 포맷도를 도시한 것이다. 상기 도 1을 참조하면 서브코드 데이터는 총 80비트로 구성되며 80비트의 데이터는 다시 8비트씩 10개의 필드로 구성된다. 상기 각 데이터 필드는 CD에서 재생되는 곡의 진행시간 및 CD의 전체 진행누계시간, 현재 진행중인 곡의 번호등 각종 정보를 담고 있다.FIG. 1 shows a data format diagram of subcode data having performance progress information of a piece of the subcode data. Referring to FIG. 1, the subcode data consists of 80 bits in total, and the 80-bit data is composed of 10 fields of 8 bits each. Each of the data fields contains various information such as the progress time of a song played on a CD, the total progress time of a CD, and the number of a song currently in progress.

CD가 정상속도로 연주중일 때 상기 도 1의 데이터 필드 구성된 서브코드 데이터는 초당 75회씩 CD로부터 출력되며 신호처리부(Digital Signal Processor:이하 "DSP"라 함)는 이를 아날로그-디지털 컨버팅(Converting)하여 마이컴으로 입력시킨다. 마이컴은 상기 서브코드 데이터로부터 얻어지는 진행시간정보를 이용하여 프로그램의 수행 플로우를 결정하고 있다. 상기한 서브코드 데이터의 마이컴에로의 입력은 DSP의 요청에 의해 일정한 주기를 갖고 연속적으로 이루어진다. 이를 위하여 마이컴에서는 외부 인터럽트(External interrupt) 및 내부 인터럽트(Internal interrupt)를 설정하여 서브코드 데이터 준비완료시 DSP로부터 외부 인터럽트가 발생하면 상기 외부 인터럽트를 인식하여 마이컴은 수행중인 작업을 중단하고 서브코드 데이터 입력을 시작한다. 그리고 일단 서브코드 데이터 입력이 시작되면 마이컴은 중단되었던 작업을 다시 수행한다. 상기 서브코드 데이터 입력은 하드웨어 시리얼 인터페이스를 통해 통상 8비트 단위로 진행되며 데이터의 버퍼 입력이 완료되면 이 인터페이스는 내부적으로 내부 인터럽트를 발생시켜 마이컴에게 데이터 입력의 완료를 알린다. 이 통보를 받은 마이컴은 다시 수행중이던 작업을 중단하고 입력된 8비트 데이터를 다른 펑션 모듈(Function Module)에서 사용할 수 있도록 데이터 메모리로 로딩하는 일을 수행한다.When the CD is playing at the normal speed, the sub-coded data of the data field of FIG. 1 is output from the CD 75 times per second, and the digital signal processor (hereinafter referred to as "DSP") converts it to analog-digital conversion. Input to micom. The microcomputer determines the execution flow of the program by using the advancing time information obtained from the subcode data. The input of the subcode data to the microcomputer is continuously performed at a predetermined period by the request of the DSP. To this end, the microcomputer sets an external interrupt and an internal interrupt, and when an external interrupt occurs from the DSP when the subcode data is prepared, the microcomputer recognizes the external interrupt and stops the work being performed and the subcode data. Start typing. And once the subcode data input is started, the microcomputer performs the work which was interrupted again. The subcode data input is normally performed in units of 8 bits through a hardware serial interface. When the buffer input of data is completed, the interface internally generates an internal interrupt to inform the microcomputer of the completion of the data input. Upon receiving this notification, the microcomputer stops the work being performed again and loads the input 8-bit data into the data memory for use by another function module.

그런데 종래의 CD 재생장치의 마이컴은 DSP로부터 전송되는 서브코드 데이터를 받아들이기 위해 13.33msec 마다 즉, 초당 75번씩 실행중인 루틴을 중단하고 인터럽트 서비스 루틴을 수행하고 있다. 이 인터럽트 서비스 루틴 수행 시간은 약 770사이클로 CD재생시 소요되는 약 680사이클을 상회하고 있다. 이렇듯 마이컴은 서브코드 데이터 입력에 많은 시간을 할당하고 있지만 초당 75회 입력되는 회수에 비해 참조되는 서브코드 데이터는 대부분 곡번이나 곡의 진행시간에 대한 정보를 담고 있는 데이터 필드에 한정되어 있어 불필요한 데이터 입력에 많은 시간을 소비하는 문제점이 있었다.However, in the conventional CD player, the microcomputer interrupts a routine that is executed every 13.33 msec, that is, 75 times per second to receive the subcode data transmitted from the DSP, and performs an interrupt service routine. The execution time of this interrupt service routine is about 770 cycles, more than about 680 cycles for CD playback. As such, MICOM allocates a lot of time to subcode data input, but compared to the number of 75 inputs per second, the referenced subcode data is mostly limited to data fields that contain information on the song number or the duration of the song. There was an issue that spent a lot of time on.

또한 마이컴의 펑션을 서보 콘트롤러에 내장시킬 경우 재생시 서브코드 데이터 입력에 많은 시스템 성능을 요하게 되고, 이에따라 서보 콘트롤러내 DSP의 동작주파수를 높여야만 하는 결과를 초래하게 되는데 높은 동작주파수는 전력소모의 원인이되기 때문에 낮은 전력소모를 필요로 하는 포터블(Portable) CD 재생장치 제작에 많은 어려움이 있었다.In addition, if the function of microcomputer is embedded in the servo controller, a lot of system performance is required for the subcode data input during playback, and accordingly, the operating frequency of the DSP in the servo controller must be increased. High operating frequency causes power consumption. As a result, there have been many difficulties in manufacturing a portable CD player which requires low power consumption.

상술한 바와 같이 종래에 CD 재생장치의 마이컴은 DSP로부터 전송되는 서브코드 데이터를 받아들이기 위해 13.33msec 마다 즉, 초당 75번씩 실행중인 루틴을 중단하고 인터럽트 서비스 루틴을 수행하고 있다. 이 인터럽트 서비스 루틴의 수행 시간은 약 770사이클로 CD재생시 소요되는 약 680사이클을 상회하고 있다. 이렇듯 마이컴은 서브코드 데이터 입력에 많은 시간을 할당하고 있지만 초당 75회 입력되는 회수에 비해 참조되는 서브코드 데이터는 대부분 곡번이나 곡의 진행시간에 대한 정보를 담고있는 데이터 필드에 한정되어 있어 불필요한 데이터 입력에 많은 시간을 소비하는 문제점이 있었다.As described above, the microcomputer of the CD player conventionally interrupts a routine that is executed every 13.33 msec, that is, 75 times per second to receive the subcode data transmitted from the DSP and performs the interrupt service routine. The execution time of this interrupt service routine is about 770 cycles, more than about 680 cycles required for CD playback. As such, MICOM allocates a lot of time to subcode data input, but compared to the number of 75 inputs per second, the referenced subcode data is mostly limited to data fields that contain information about the song number or the duration of the song. There was an issue that spent a lot of time on.

또한 마이컴의 펑션을 서보 콘트롤러에 내장시킬 경우 재생시 서브코드 데이터 입력에 많은 시스템 성능을 요하게 되고, 이에따라 서보 콘트롤러내 DSP의 동작주파수를 높여야만 하는 결과를 초래하게 되는데 높은 동작주파수는 전력소모의 원인이되기 때문에 낮은 전력소모를 필요로 하는 포터블 CD 재생장치 제작에 많은 어려움이 있었다.In addition, if the function of microcomputer is embedded in the servo controller, a lot of system performance is required for the subcode data input during playback, and accordingly, the operating frequency of the DSP in the servo controller must be increased. High operating frequency causes power consumption. As a result, there have been many difficulties in manufacturing a portable CD player which requires low power consumption.

따라서 본 발명의 목적은 CD 재생장치에서 CD재생시 필요로 하는 서브코드 데이터 입력을 최소화하여 마이컴에 주는 로드를 줄여서 여분의 시스템성능을 다른 기능에 활용할 수 있도록하며 단일 칩으로 구현시는 DSP의 동작주파수를 낮추어서 칩의 전력소모를 최대한 줄일 수 있도록 하는 서브코드 데이터의 선택적 입력방법을 제공함에 있다.Therefore, an object of the present invention is to minimize the subcode data input required for CD playback in the CD playback device to reduce the load on the microcomputer to utilize the extra system performance for other functions, the operation of the DSP when implemented in a single chip The present invention provides a selective input method of subcode data that can reduce the power consumption of the chip as much as possible by lowering the frequency.

도 1은 통상적인 서브코드 데이터의 포맷도,1 is a format diagram of typical subcode data;

도 2는 본 발명이 적용되는 콤팩트 디스크 재생장치의 개략적인 블록구성도,2 is a schematic block diagram of a compact disc player according to the present invention;

도 3은 본 발명의 실시 예에 따른 서브코드 데이터의 선택적 입력 처리 흐름도.3 is a flowchart illustrating selective input processing of subcode data according to an embodiment of the present invention.

상술한 목적을 달성하기 위한 본 발명은 CD재생시 입력되는 80비트의 서브코드 데이터중 필요한 필드 데이터만을 선택적으로 데이터 메모리에 로딩함을 특징으로 한다.The present invention for achieving the above object is characterized in that only the necessary field data of the 80-bit subcode data input during CD playback is selectively loaded into the data memory.

이하 본 발명의 바람직한 실시 예를 첨부한 도면을 참조하여 상세히 설명한다. 하기 설명 및 첨부 도면에서 구체적인 처리 흐름과 같은 많은 특정 상세들이 본 발명의 보다 전반적인 이해를 제공하기 위해 나타나 있다. 이들 특정 상세들없이 본 발명이 실시될 수 있다는 것은 이 기술분야에서 통상의 지식을 가진자에게 자명할 것이다. 그리고 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. Many specific details are set forth in the following description and in the accompanying drawings to provide a more general understanding of the invention. It will be apparent to those skilled in the art that the present invention may be practiced without these specific details. And a detailed description of known functions and configurations that may unnecessarily obscure the subject matter of the present invention will be omitted.

우선 본 발명이 적용되는 일반적인 CD 재생장치의 블록 구성도를 도 1에 도시하였다. 상기 도 1을 참조하면 광픽업(14)는 스핀들모터(12)에 의해 회전되는 광디스크(10)의 데이터 기록면에 기록되어 있는 정보를 광학적으로 픽업하여 이를 전기적 신호인 고주파(RF)신호로 변환하여 RF증폭부(20)로 인가한다. 광픽업(14)은 이송모터(26)에 의해 지지되며, 광디스크(10)의 내곽과 외곽 방향으로 이동 가능하게 된다. RF증폭부(20)는 광픽업(14)으로부터 인가되는 RF신호를 증폭하고 증폭된 신호의 잡음 및 왜곡을 파형등화 회로에 의해 제거하고 파형정형된 RF신호(EFM신호: Eight to Fourteen Modulation 신호)를 DSP(Digital Signal Processor)부(18)에 인가한다. 그리고 RF증폭부(20)는 포커스서보 및 트래킹서보를 위한 신호들, 즉 포커스에러신호(FE; Focus Error signal)와, 트래킹에러신호(TE; Tracking Error signal)를 서보신호처리부(22)로 인가한다. 서보신호처리부(22)는 상기 포커스에러신호 및 트래킹에러신호에 의거하여 포커스서보를 위한 제어신호와, 트래킹서보를 위한 제어신호 등을 서보구동부(24)로 출력한다. 서보구동부(24)는 상기 서보신호처리부(22)에서 인가되는 각종 제어신호에 의거하여 광픽업(14) 및 이송모터(26)로 트래킹서보 및 포커스서보의 수행을 위한 동작전원을 인가한다.First, a block diagram of a general CD player to which the present invention is applied is shown in FIG. Referring to FIG. 1, the optical pickup 14 optically picks up information recorded on the data recording surface of the optical disk 10 rotated by the spindle motor 12, and converts the information into an electrical signal (RF) signal. It is applied to the RF amplifier 20. The optical pickup 14 is supported by the transfer motor 26 and is movable in the inner and outer directions of the optical disc 10. The RF amplifier 20 amplifies the RF signal applied from the optical pickup 14, removes the noise and distortion of the amplified signal by the waveform equalization circuit, and converts the waveform to the RF signal (EFM signal: Eight to Fourteen Modulation signal). Is applied to the DSP (Digital Signal Processor) unit 18. The RF amplifier 20 applies signals for focus servo and tracking servo, that is, a focus error signal (FE) and a tracking error signal (TE) to the servo signal processor 22. do. The servo signal processor 22 outputs a control signal for focus servo, a control signal for tracking servo, and the like to the servo driver 24 based on the focus error signal and the tracking error signal. The servo driver 24 applies an operating power for performing the tracking servo and the focus servo to the optical pickup 14 and the transfer motor 26 based on various control signals applied by the servo signal processor 22.

한편 DSP(18)은 상기 RF증폭부(20)에서 추출된 EFM데이터로부터 TOC(Table Of Contents)데이터를 복조해내고 CLV(Constant Linear Velocity)제어신호를 발생하여 출력한다. 또한 DSP부(18)는 스핀들모터구동부(28)로 스핀들모터구동 제어신호를 인가하여, 스핀들모터구동부(28)가 스핀들모터(12)를 구동하도록 제어한다.The DSP 18 demodulates the TOC (Table Of Contents) data from the EFM data extracted by the RF amplifier 20 and generates and outputs a CLV (Constant Linear Velocity) control signal. In addition, the DSP unit 18 applies the spindle motor drive control signal to the spindle motor driver 28 to control the spindle motor driver 28 to drive the spindle motor 12.

마이컴(30)은 각종 동작을 수행하기 위한 제어프로그램들이 저장된 롬(ROM)과, 각종 동작 수행에 요구되거나 동작 수행시 발생되는 각종 데이터를 일시 저장하기 위한 램(RAM)을 구비하며 CD 재생장치의 전반적인 동작을 총괄적으로 제어한다. 키입력부(32)는 각종 기능키들을 구비하며 키입력에 따른 키데이터를 마이컴(30)으로 출력한다. 표시부(34)는 마이컴(30)의 제어에 의해 CD 재생장치의 각종 상태를 디스플레이한다.The microcomputer 30 has a ROM for storing control programs for performing various operations, and a RAM for temporarily storing various data required for or performing various operations. Overall control of the overall operation. The key input unit 32 includes various function keys and outputs key data according to the key input to the microcomputer 30. The display unit 34 displays various states of the CD playback apparatus under the control of the microcomputer 30.

도 3은 본 발명의 실시 예에 따라 서브코드 데이터를 선택적으로 입력하는 처리 흐름도를 도시한 것이다. 상기 도 3의 흐름도에 따른 동작은 상기 도 2의 마이컴(30)에 의해 수행되도록 롬에 프로그램된다. 이제 상기 도 2와 도 3을 참조하여 본 발명의 실시 예를 상세히 설명한다.3 is a flowchart illustrating a process of selectively inputting subcode data according to an exemplary embodiment of the present invention. The operation according to the flowchart of FIG. 3 is programmed into the ROM to be performed by the microcomputer 30 of FIG. An embodiment of the present invention will now be described in detail with reference to FIGS. 2 and 3.

먼저 CD가 정상 재생되는 상태에서 DSP는 EFM(Eight to Fourteen Modulation)과정을 통해 CD내에 엔코딩되어 있는 80비트의 서브코드 데이터를 추출하고 마이컴(30)에게 외부 인터럽트를 발생하여서 서브코드 데이터가 전송준비 되었음을 알린다. 그러면 마이컴(30)은 이에 응답하여 도 3의 (300)단계에서 (302)단계로 진행하여 다른 외부 인터럽트 포트를 모두 디스에이블시키고 DSP에 준비된 80비트의 서브코드 데이터를 입력시키기 위한 하드웨어 시리얼 통신 인터페이스를 가동시킨다. 상기에서 시리얼 데이터 입력은 통상적으로 8비트 단위로 수행된다. 이어 마이컴(30)은 (304)단계로 진행하여 입력되는 8비트의 서브코드 데이터가 첫 번째 필드 데이터인지 여부를 검사한다. 이때 상기 8비트의 서브코드 데이터가 첫 번째 필드 데이터이면 마이컴(30)은 (306)단계로 진행하여 상기 8비트로 구성된 1필드의 서브코드 데이터를 로딩하여 램에 저장시킨다. 그리고 마이컴(30)은 (308)단계로 진행하여 CD 재생장치가 시간표시 모드로 설정되어 있는지 여부를 검사한다. 이때 상기 CD 재생장치가 시간표시 모드로 설정되어 있으면 마이컴(30)은 (310)단계로 진행하여 램에 저장되어 있는 1필드의 서브코드 데이터를 마이컴(30)내의 다른 펑션 모듈이 사용할 수 있도록 상기 1필드의 서브코드 데이터를 시리얼로 받아들인다. 이어 마이컴(30)은 (312)단계로 진행하여 상기 (302)단계에서 디스에이블 시켰던 외부 인터럽트 포트들을 다시 인에이블 시키고, (314)단계로 진행하여 서브코드 데이터 입력 내부 인터럽트가 발생하는지 여부를 검사한다. 상기 서브코드 데이터 입력 내부 인터럽트는 하드웨어 시리얼 인터페이스(도시하지 않았슴)가 8비트의 데이터 버퍼 입력이 완료되면 발생시키는 인터럽트를 의미한다. 따라서 마이컴(30)은 상기 (314)단계에서 상기 내부 인터럽트가 발생하면 8비트의 서브코드 데이터가 에러 없이 로딩된 것으로 판단하고 다시 상기 (302)단계로 돌아가서 다음 8비트의 서브코드 데이터를 로딩하는 과정을 수행한다. 이와 달리 상기 (314)단계에서 서브코드 데이터 입력 내부 인터럽트가 발생하지 않으면 마이컴(30)은 80비트의 서브코드 데이터의 입력이 모두 끝났음을 인식하고 (316)단계로 진행하여 상기 서브코드 데이터의 입력을 위한 서비스 루틴 수행으로 인해 중단되었던 작업을 다시 수행하게 된다.First, in the state where CD is normally played, DSP extracts 80-bit subcode data encoded in CD through EFM (Eight to Fourteen Modulation) process and generates an external interrupt to the microcomputer 30 to prepare the subcode data for transmission. Notify In response, the microcomputer 30 proceeds from step 300 to step 302 of FIG. 3 in order to disable all other external interrupt ports and input 80-bit subcode data prepared to the DSP. Start the operation. Serial data input is typically performed in units of 8 bits. Next, the microcomputer 30 proceeds to step 304 to check whether the input 8-bit subcode data is the first field data. In this case, if the 8-bit subcode data is the first field data, the microcomputer 30 proceeds to step 306 to load the subcode data of the 1 field composed of the 8 bits and stores it in the RAM. The microcomputer 30 proceeds to step 308 to check whether the CD player is set to the time display mode. At this time, if the CD player is set to the time display mode, the microcomputer 30 proceeds to step 310 so that the other function modules in the microcomputer 30 can use the subcode data of one field stored in the RAM. Accepts the subcode data of one field as serial. Next, the microcomputer 30 proceeds to step 312 to re-enable the external interrupt ports disabled in step 302, and proceeds to step 314 to determine whether an internal interrupt of the subcode data input occurs. do. The subcode data input internal interrupt refers to an interrupt generated when a hardware serial interface (not shown) completes an 8-bit data buffer input. Therefore, when the internal interrupt occurs in step 314, the microcomputer 30 determines that 8-bit subcode data is loaded without error, and returns to step 302 to load the next 8-bit subcode data. Perform the process. On the contrary, if the internal interrupt of the subcode data input does not occur in step 314, the microcomputer 30 recognizes that all 80-bit subcode data has been input, and proceeds to step 316 to input the subcode data. The work that was interrupted by the execution of the service routine for the task is performed again.

한편 상기 (304)단계에서 DSP로부터 입력되는 8비트의 서브코드 데이터가 첫 번째 필드 데이터가 아니면 마이컴(30)은 (318)단계로 진행하여 상기 필드 데이터가 인덱스 필드 데이터인지 여부를 검사한다. 이때 만일 입력되는 8비트의 서브코드 데이터가 인덱스 필드 데이터이면 마이컴(30)은 (310)단계로 진행하여 상기 인덱스 필드 데이터를 램에 로딩시키지 않는다. 이와 달리 상기 (318)단계에서 상기 입력되는 8비트의 서브코드 데이터가 인덱스 필드 데이터가 아니면 마이컴(30)은 (320)단계로 진행하여 상기 8비트의 서브코드 데이터가 미사용 영역의 필드 데이터인지 여부를 검사한다. 상기 미사용 영역의 데이터는 통상적으로 "0"으로 기록되어 있다. 이때 만일 상기 8비트의 서브코드 데이터가 미사용 영역의 필드 데이터이면 마이컴(30)은 상기 (310)단계로 진행하여 전술한 바와 같이 상기 미사용 영역의 필드 데이터를 램에 로딩시키지 않는다. 이와 달리 상기 (320)단계에서 상기 8비트의 미사용 영역의 필드 데이터가 아니면 마이컴(30)은 (322)단계로 진행하여 상기 1필드의 서브코드 데이터를 램으로 로딩한다. 그런 후 마이컴(30)은 (324)단계로 진행하여 상기 필드의 서브코드 데이터가 마지막 필드 데이터 인지를 검사한다. 이때 만일 상기 입력되는 8비트의 서브코드 데이터가 마지막 필드 데이터이면 마이컴(30)은 상기 (310)단계로 진행하여 전술한 바와 같이 램에 로딩된 1필드 데이터를 램으로부터 시리얼로 받아들인다. 이어 마이컴(30)은 전술한 바와 같이 상기 (310)∼(316)단계를 다시 수행한다.On the other hand, if the 8-bit subcode data input from the DSP in step 304 is not the first field data, the microcomputer 30 proceeds to step 318 to check whether the field data is index field data. If the 8-bit subcode data is index field data, the microcomputer 30 proceeds to step 310 and does not load the index field data into the RAM. In contrast, if the input 8-bit subcode data is not index field data in step 318, the microcomputer 30 proceeds to step 320 and whether the 8-bit subcode data is field data of an unused area. Check it. The data of the unused area is usually recorded as "0". In this case, if the 8-bit subcode data is field data of an unused region, the microcomputer 30 proceeds to step 310 and does not load field data of the unused region into the RAM as described above. On the contrary, if the field data of the 8-bit unused region is not included in the operation 320, the microcomputer 30 proceeds to operation 322 to load the subcode data of the one field into the RAM. Thereafter, the microcomputer 30 proceeds to step 324 to check whether the subcode data of the field is the last field data. In this case, if the input 8-bit subcode data is the last field data, the microcomputer 30 proceeds to step 310 and receives the 1 field data loaded in the RAM from the RAM as serial. Subsequently, the microcomputer 30 performs steps 310 to 316 again as described above.

따라서 곡의 진행시간을 표시하기 위한 정보로 초당 75회씩 입력받아 처리하여야 하였던 서브코드 데이터를 CD 재생장치가 시간표시 모드로 설정되어 있지 않으면 상기 초당 입력회수를 줄일 수 있으며 시간표시 모드로 설정되어 있더라도 80비트의 서브코드 데이터를 모두 입력하는 것이 아니라 시간표시에 필요한 필드 데이터만이 입력되게 함으로써 서브코드 데이터를 위한 인터럽트 루틴 수행시 걸리는 시간을 대폭 단축시킬 수 있다.Therefore, if the CD player is not set to the time display mode, the subcode data, which had to be input and processed 75 times per second as information for displaying the progress time of the song, can be reduced in the input times per second, even if the time display mode is set. By only inputting the field data necessary for time display instead of inputting all the 80-bit subcode data, the time required for performing the interrupt routine for the subcode data can be greatly reduced.

상술한 바와 같이 본 발명은 서브코드 데이터중 필요한 필드 데이터만 선택적으로 입력받음으로써 CD 재생장치의 마이컴에서 서브코드 데이터를 위한 인터럽트 루틴 수행시 걸리는 시간을 대폭 단축시킬 수 있는 이점이 있다.As described above, the present invention has an advantage in that the time required for performing the interrupt routine for the subcode data in the microcomputer of the CD reproducing apparatus is selectively reduced by selectively inputting only necessary field data among the subcode data.

Claims (3)

콤팩트 디스크 재생장치에서 콤팩크 디스크로부터 재생되어 인가되는 서브코드 데이터를 처리하는 방법에 있어서,A method of processing subcode data reproduced and applied from a compact disc in a compact disc playback apparatus, the method comprising: 상기 콤팩트 디스크 재생장치의 신호처리부로부터 상기 서브코드 데이터 입력을 위한 외부 인터럽트가 발생하면 다른 외부 인터럽트 포트들을 디스에이블시키는 과정과,Disabling other external interrupt ports when an external interrupt for the subcode data input is generated from a signal processor of the compact disc player; 상기 신호처리부로부터 인가되는 데이터가 상기 서브코드 데이터의 첫 번째 필드 데이터인지 여부를 검사하는 과정과,Checking whether data applied from the signal processor is first field data of the subcode data; 상기 인가되는 데이터가 상기 첫 번째 필드 데이터이면 상기 필드 데이터를 램에 로딩시키고 상기 콤팩트 디스크 재생장치가 시간표시 모드로 설정되어 있는지 여부를 검사하는 과정과,If the applied data is the first field data, loading the field data into the RAM and checking whether the compact disc player is set to a time display mode; 상기 콤팩트 디스크 재생장치가 시간표시 모드로 설정되어 있으면 상기 램에 로딩된 상기 서브코드 데이터의 필드 데이터를 입력으로 받아들이는 과정과,Receiving the field data of the subcode data loaded in the RAM as an input when the compact disc player is set to a time display mode; 상기 필드 데이터의 입력이 시작되면 상기 디스에이블 시켰던 다른 외부 인터럽트 포트들을 인에이블 시키는 과정과,Enabling other external interrupt ports that have been disabled when the input of the field data starts; 상기 입력 완료시 발생하는 내부 인터럽트를 인식하면 다시 상기 다른 외부 인터럽트 포트들을 디스에이블시켜서 상기 신호처리부로부터 인가되는 서브코드 데이터의 다음 필드 데이터를 받아들이는 과정과,Recognizing the internal interrupt occurring upon completion of the input, disabling the other external interrupt ports to receive the next field data of the subcode data applied from the signal processor; 상기 첫 번째 필드 데이터가 아닌 필드 데이터들중 인덱스 필드 데이터와 미사용 영역의 필드 데이터가 입력될 때는 이를 받아들이지 않는 과정을 구비함을 특징으로 하는 콤팩트 디스크 재생장치에서 서브코드 데이터의 선택적 입력방법.And when the index field data and the field data of the unused area are input among the field data other than the first field data, the sub code data is input in the compact disc reproducing apparatus. 제1항에 있어서, 상기 서브코드 데이터의 마지막 필드 데이터를 입력받으면 상기 서브코드 데이터 입력을 위한 인터럽트 루틴 수행을 종료하고 상기 인터럽트 루틴 수행으로 인해 중단되었던 메인 루틴의 작업을 다시 수행하는 과정을 더 구비함을 특징으로 하는 콤팩트 디스크 재생장치에서 서브코드 데이터의 선택적 입력방법.The method of claim 1, further comprising: terminating the interrupt routine for inputting the subcode data when the last field data of the subcode data is input, and performing the operation of the main routine which was interrupted due to the interrupt routine. An optional input method of subcode data in a compact disc playback apparatus characterized by the above-mentioned. 제1항에 있어서, 상기 서브코드 데이터의 첫 번째 필드 데이터 입력시 상기 콤팩트 디스크 재생장치가 시간표시 모드로 설정되어 있지 않으면 상기 서브코드 데이터의 나머지 72비트의 필드 데이터들을 모두 받아들이지 않고 상기 서브코드 데이터 입력을 위한 인터럽트 루틴 수행으로 인해 중단되었던 메인 루틴의 작업을 다시 수행하는 과정을 더 구비함을 특징으로 하는 콤팩트 디스크 재생장치에서 서브코드 데이터의 선택적 입력방법.The subcode data according to claim 1, wherein if the compact disc playback apparatus is not set to the time display mode when the first field data of the subcode data is input, all remaining 72-bit field data of the subcode data are not received and the subcode data is not received. And performing the operation of the main routine which was interrupted due to the execution of the interrupt routine for the input. The method of selectively inputting subcode data in the compact disc player.
KR1019970074149A 1997-12-26 1997-12-26 Selective input method for subcode data in a compact disc reproducer KR100258331B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970074149A KR100258331B1 (en) 1997-12-26 1997-12-26 Selective input method for subcode data in a compact disc reproducer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970074149A KR100258331B1 (en) 1997-12-26 1997-12-26 Selective input method for subcode data in a compact disc reproducer

Publications (2)

Publication Number Publication Date
KR19990054338A KR19990054338A (en) 1999-07-15
KR100258331B1 true KR100258331B1 (en) 2000-06-01

Family

ID=19528678

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970074149A KR100258331B1 (en) 1997-12-26 1997-12-26 Selective input method for subcode data in a compact disc reproducer

Country Status (1)

Country Link
KR (1) KR100258331B1 (en)

Also Published As

Publication number Publication date
KR19990054338A (en) 1999-07-15

Similar Documents

Publication Publication Date Title
KR100362567B1 (en) Synchronous information detection method for decoding the information recorded in the burst cutting area
EP1067552A2 (en) Optical disk recording apparatus and recording control method
JPS62107473A (en) Sub-code information taking-in method at the time of recording of pcm tape recorder
KR100258331B1 (en) Selective input method for subcode data in a compact disc reproducer
KR100434630B1 (en) Data reproduction apparatus, data reproduction method and data reproduction program recording medium
US7187627B2 (en) System for controlling recording and reproducing data using management information on the medium
US20040088062A1 (en) Audio device and optical disk device
US5617455A (en) Interface method and device in digital signal processing system
JP4259130B2 (en) Method and apparatus for CD format identification
KR100396886B1 (en) Method for providing subcode data of optical disc drive to host computer
JP2557351B2 (en) Disc playback device
KR100290605B1 (en) Multi-pick up optical disk reproduction system
JP2786937B2 (en) Digital signal recording medium playback device
KR0133858B1 (en) Selection and reservation apparatus and method thereof for
KR0121194B1 (en) Cd/cdg disk player discrimination method
KR100200214B1 (en) Play-back position control device & the method of a disc
KR100302838B1 (en) Method for reset flash memory
KR100269689B1 (en) Compact disc reproducer using mpeg compressed standard layer 3
JPH052839A (en) Reproducer for digital signal recording medium
JPH09106661A (en) Method for writing title information into audio system and sound recording medium
KR20000008065A (en) Audio outputting apparatus and data reproduction outputting method for optical disk driver
JPH05120695A (en) Method for discriminating the type of disk
JPH11203770A (en) Optical disk player
JPH052840A (en) Reproducer for digital signal recording medium
KR19980075511A (en) Data recording method in optical disc play system

Legal Events

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

Payment date: 20080228

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee