KR100442853B1 - Communication method between optical disc servo and micom - Google Patents

Communication method between optical disc servo and micom Download PDF

Info

Publication number
KR100442853B1
KR100442853B1 KR1019970047606A KR19970047606A KR100442853B1 KR 100442853 B1 KR100442853 B1 KR 100442853B1 KR 1019970047606 A KR1019970047606 A KR 1019970047606A KR 19970047606 A KR19970047606 A KR 19970047606A KR 100442853 B1 KR100442853 B1 KR 100442853B1
Authority
KR
South Korea
Prior art keywords
command
servo
microcomputer
digital signal
sense
Prior art date
Application number
KR1019970047606A
Other languages
Korean (ko)
Other versions
KR19990025822A (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 KR1019970047606A priority Critical patent/KR100442853B1/en
Publication of KR19990025822A publication Critical patent/KR19990025822A/en
Application granted granted Critical
Publication of KR100442853B1 publication Critical patent/KR100442853B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/124Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine
    • G06F13/126Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine and has means for transferring I/O instructions and statuses between control unit and main processor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements
    • G06F9/226Microinstruction function, e.g. input/output microinstruction; diagnostic microinstruction; microinstruction format

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

본 발명은 광학 시스템 회로의 제어 방법에 관한 것으로서 보다 상세하게는, 광 디스크 서보와 마이콤과의 통신 방법에 관한 것이다. 광 디스크 서보와 마이콤과의 통신 방법은 마이콤에서 광 디스크 서보와 디지털 신호 처리부로 전송되는 명령을 분석하여 분석한 명령에 따라 그 명령 처리 여부를 출력하는 센스 신호를 공유한 상기 서보, 상기 디지털 신호처리부 및 상기 마이콤간에 통신을 하기 위한 방법에 있어서, 상기 마이콤으로부터 상기 서보 및 디지털 신호처리부에 명령을 전송하는 제1단계, 상기 제1단계의 명령 전송 완료 후에 상기 마이콤으로부터 명령이 전송되었다는 것을 서보에게 알리는 레지스터의 신호를 변환시키고 상기 서보의 센스 신호를 변환시켜 상기 마이콤으로부터 다음 명령이 전송되지 않도록 하는 제2단계, 상기 제2단계 실행 후에 상기 서보에서 상기 마이콤에서 전송한 명령을 분석하는 제3단계, 상기 제3단계에서 분석한 명령을 처리하고 그 처리 여부를 상기 센스 신호를 통하여 상기 마이콤에 전송하는 제4단계를 포함한다. 본 발명에 따르면, 마이콤에서 인가되는 명령에 따라 센스 신호를 선택하기 때문에 하나의 센스 핀을 공유하는 서보와 디지털 신호 처리부 간에 센스 신호의 충돌을 막을 수 있는 효과가 있다. The present invention relates to a control method of an optical system circuit, and more particularly, to a communication method between an optical disc servo and a microcomputer. The communication method between the optical disc servo and the microcomputer includes the servo sharing the sense signal outputting whether or not the command is processed according to the command analyzed by the command transmitted from the microcomputer to the optical disk servo and the digital signal processing unit, the digital signal processing unit. And a method for communicating between the microcomputers, the first step of transmitting a command from the microcomputer to the servo and the digital signal processor, and notifying the servo that the command has been transmitted from the microcomputer after completion of the first command transmission. A second step of converting a signal of a register and converting a sense signal of the servo to prevent the next command from being transmitted from the micom; a third step of analyzing the command transmitted from the microcomputer after the execution of the second step; Process the command analyzed in the third step and determine whether And transmitting to the microcomputer through the sense signal. According to the present invention, since the sense signal is selected according to a command applied from the microcomputer, the collision of the sense signal between the servo and the digital signal processor sharing one sense pin can be prevented.

Description

광 디스크 서보와 마이콤과의 통신 방법Communication method between optical disc servo and micom

본 발명은 광학 시스템 회로의 제어 방법에 관한 것으로서 보다 상세하게는, 광 디스크 서보와 마이콤과의 통신 방법에 관한 것이다.The present invention relates to a control method of an optical system circuit, and more particularly, to a communication method between an optical disc servo and a microcomputer.

도 1은 종래의 광 디스크 서보와 마이콤과의 통신을 위한 구성을 보이는 블록도 이다.1 is a block diagram showing a configuration for communication between a conventional optical disk servo and a microcomputer.

도 2는 도 1에 도시된 광 디스크 서보와 마이콤과의 통신 동작을 보이는 타이밍도 이다.FIG. 2 is a timing diagram showing a communication operation between the optical disc servo and the microcomputer shown in FIG.

광 디스크 플레이어(CDP : Compact Disc Player)는 광 디스크로부터 신호를 얻기 위해 픽업을 구동하는 서보(Servo)(100)와 이에 따라 얻어진 신호로부터 원하는 오디오(Audio) 정보를 얻기 위한 디지털 신호 처리부(DSP : Digital Signal Processing)(110)로 구성되어 있다. 이들을 제어하는 기능을 마이콤(Micom)(120)이 수행하며, 센스(Sense)라는 하나의 핀(Pin)만을 사용하여 서보(100)/디지털 신호 처리부(110)는 마이콤(120)으로부터 전송된 명령을 처리하고 그 명령 처리 여부를 출력한다. 따라서, 마이콤(120)이 서보(100)에 명령을 내리고 나서 다음 명령을 내리기 전에 이 센스 신호를 체크하여 센스 신호가 하이(High)인 경우에만 다음 명령을 내리게 된다. 센스 신호가 로우(Low)인 경우에는 아직 전에 내린 명령에 대한 수행이 완료되지 않은 상태임을 가리키게 된다. An optical disc player (CDP: Compact Disc Player) includes a servo (Servo) 100 for driving pickup to obtain a signal from an optical disc, and a digital signal processor (DSP :) for obtaining desired audio information from the obtained signal. Digital Signal Processing (110). The function of controlling them is performed by the Micom 120, and the servo 100 / digital signal processor 110 transmits a command transmitted from the microcomputer 120 by using only one pin called sense. Process and output whether the command is processed. Therefore, after the microcomputer 120 commands the servo 100 and before the next command, the sense signal is checked and the next command is issued only when the sense signal is high. When the sense signal is low, it indicates that the execution of the command issued before has not been completed.

종래의 광 디스크 플레이어는 마이콤(120)의 제어 핀을 감소시키기 위해 서보(100)와 디지털 신호 처리부(110)의 센스 선을 공유할 수 있도록 와이어드-OR(Wired-OR)하여 서보(100)와 디지털 신호 처리부(110)의 센스 신호에 대한 충돌을 막으려 하였다. 따라서 마이콤(120)이 명령 및 데이터를 서보(100) 및 디지털 신호 처리부(110)에 전송하고 센스 신호를 하이로 함과 동시에 이 명령이 디지털 신호 처리부(110)의 명령이면 서보(100)를 하이 임피던스(Hi-Impendence) 상태로 전환하고, 센스 신호의 상태를 유지하면서 명령 처리 여부에 대한 신호를 마이콤(120)으로 출력하였다. 그러나 이 명령이 서보(100)의 명령이면 디지털 신호 처리부(110)를 하이 임피던스 상태로 전환하고, 센스 신호를 로우로 변화시켜 명령에 따라 광 픽업을 이동시킨 후 명령 처리 여부에 대한 신호를 마이콤(120)으로 출력하였다. The conventional optical disc player is wired-OR (Wired-OR) so as to share the sense line of the servo 100 and the digital signal processing unit 110 to reduce the control pin of the microcomputer 120 and the servo (100) An attempt was made to prevent a collision with the sense signal of the digital signal processor 110. Therefore, if the microcomputer 120 transmits the command and data to the servo 100 and the digital signal processing unit 110 and makes the sense signal high, and the command is the command of the digital signal processing unit 110, the servo 100 is turned high. After switching to the impedance (Hi-Impendence) state, and outputting a signal to the microcomputer 120 whether or not command processing while maintaining the state of the sense signal. However, if the command is a command of the servo 100, the digital signal processing unit 110 is switched to a high impedance state, the sense signal is changed low, and the optical pickup is moved according to the command, and then a signal for processing the command is received by the microcomputer ( 120).

도 2에 도시된 타이밍도의 전송 클록(Micom ClocK 이하 MCK라고 지칭함)(200)은 평상시에는 발생하지 않다가 마이콤이 명령을 리드(Read)하거나 라이트(Write) 할 경우에 발생하는 클록이다. 마이콤 데이터 트랜스퍼(Micom Data Transfer 이하 MDAT라고 지칭함)(210) 신호는 MCK(200)에 의해 명령 및 데이터의 전송을 나타내는 타이밍도이다. 전송 완료 신호(Micom Latch Transfer 이하 MLT라고 지칭함)(220)는 마이콤(120)이 MDAT(210)에 의해 명령 및 데이터 전송이 완료됨과 동시에 발생하는 신호이다. 센스 신호(230)는 마이콤(120)의 명령 처리 여부를 나타내는 신호로서, MLT(220)가 발생함과 동시에 하이로 출력되는 신호이다. 여기서 점선 부분은 마이콤(120)에서 인가한 명령이 디지털 신호 처리부(110)의 명령으로 이 명령의 처리를 수행하는 것을 나타내고 있는 부분이다.The transmission clock (referred to as MiCK ClocK or MCK) 200 of the timing diagram shown in FIG. 2 is a clock that does not normally occur but occurs when the microcomputer reads or writes a command. The Micom Data Transfer (hereinafter referred to as Micat Data Transfer) MDAT signal 210 is a timing diagram illustrating the transfer of commands and data by the MCK 200. The transmission completion signal (hereinafter, referred to as MLT (hereinafter referred to as MLT)) 220 is a signal that occurs at the same time that the microcomputer 120 completes the command and data transmission by the MDAT 210. The sense signal 230 is a signal indicating whether the command of the microcomputer 120 is processed, and is a signal that is output at the same time as the MLT 220 is generated. Here, the dotted line portion indicates that the command applied by the microcomputer 120 performs the processing of this command by the command of the digital signal processing unit 110.

센스 신호(230)의 ⓐ부분은 마이콤(120)이 명령을 보냈지만 서보(100)가 그 명령을 처리할 준비가 되지 않은 상태를 보인 실시 예로, 마이콤(120)이 MDAT(210)에 의해 명령과 데이터를 전송하고 MLT(220)가 로우로 떨어짐과 동시에 센스 신호(230)가 하이가 되었지만 실제로 서보(100)는 명령 처리를 끝내지 못한 상태이므로 다음 명령을 받아들일 준비가 되어있지 않으나 마이콤(120)은 단지 센스 신호(230)가 하이라는 이유로 다음 명령을 보낼 수 있는 문제점이 있었다. 그렇다고 센스 신호를 로우로 하게 되면 마이콤(120)에서 보낸 명령이 디지털 신호 처리부(110)의 명령일 경우에는 디지털 신호 처리부(110)가 마이콤(120)으로부터 받은 명령의 응답으로 하이를 내보내고자 할 경우에 충돌이 발생하는 문제점이 있었다. In the ⓐ portion of the sense signal 230, the microcomputer 120 sends a command but the servo 100 is not ready to process the command. The microcomputer 120 commands the MDAT 210. And the MLT 220 falls low and the sense signal 230 goes high, but the servo 100 is not ready to accept the next command. ) Has a problem that can send the next command only because the sense signal 230 is high. However, when the sense signal is set low, when the command sent from the microcomputer 120 is a command of the digital signal processor 110, the digital signal processor 110 attempts to emit a high in response to the command received from the microcomputer 120. There was a problem with the crash.

본 발명이 이루고자 하는 기술적인 과제는 하나의 센스핀 사용하여 서보와 디지털 신호 처리부 및 마이콤간에 통신을 가능하게 하는 광 디스크 서보와 마이콤과의 통신 방법을 제공하는데 있다.The technical problem to be achieved by the present invention is to provide a communication method between the optical disk servo and the microcomputer to enable communication between the servo, the digital signal processing unit and the microcomputer using a single sense pin.

본 발명이 이루고자 하는 기술적인 과제를 해결하기 위한 광 디스크 서보와 마이콤과의 통신 방법은 마이콤에서 광 디스크 서보와 디지털 신호 처리부로 전송되는 명령을 분석하여 분석한 명령에 따라 그 명령 처리 여부를 출력하는 센스 신호를 공유한 상기 서보, 상기 디지털 신호처리부 및 상기 마이콤간에 통신을 하기 위한 방법에 있어서, 상기 마이콤으로부터 상기 서보 및 디지털 신호처리부에 명령을 전송하는 제1단계; 상기 제1단계의 명령 전송 완료 후에 상기 마이콤으로부터 명령이 전송되었다는 것을 서보에게 알리는 레지스터의 신호를 변환시키고 상기 서보의 센스 신호를 변환시켜 상기 마이콤으로부터 다음 명령이 전송되지 않도록 하는 제2단계; 상기 제2단계 실행 후에 상기 서보에서 상기 마이콤에서 전송한 명령을 분석하는 제3단계; 및 상기 제3단계에서 분석한 명령을 처리하고 그 처리 여부를 상기 센스 신호를 통하여 상기 마이콤에 전송하는 제4단계를 포함하는 것이 바람직하다.The communication method between the optical disk servo and the microcomputer to solve the technical problem to be achieved by the present invention is to analyze whether the command transmitted from the microcomputer to the optical disk servo and the digital signal processing unit to output whether the command processing according to the analyzed command CLAIMS 1. A method for communicating between the servo, the digital signal processor, and the microcomputer that has sense signals shared, the method comprising: transmitting a command from the microcomputer to the servo and digital signal processor; A second step of converting a signal of a register informing a servo that a command has been transmitted from the micom after completion of the command transmission in the first step and converting a sense signal of the servo so that a next command is not transmitted from the micom; A third step of analyzing, by the servo, a command transmitted from the micom after the second step; And a fourth step of processing the command analyzed in the third step and transmitting whether the processing is performed to the microcomputer through the sense signal.

이하, 첨부된 도면들을 참조하여 본 발명을 상세히 설명한다. Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도 3은 광 디스크 서보와 마이콤과의 통신을 위한 구성을 보이는 블록도 이다.3 is a block diagram showing a configuration for communication between an optical disc servo and a microcomputer.

도 3에 도시된 장치는 광학 시스템을 구동시키기 위해 명령을 전송 및 전송된 명령을 처리한 데이터를 수신하는 마이콤(300), 마이콤(300)으로부터 전송된 명령에 따라 광 픽업을 이동시키고 명령 처리 여부를 센스 신호로 출력하는 서보(310), 마이콤(300)으로부터 전송된 명령에 따라 광학 시스템을 구동하는 디지털 데이터를 처리하고 명령 처리 여부를 센스 신호로 출력하는 디지털 신호 처리부(320), 서보(310) 및 디지털 신호 처리부(320)로부터 출력되는 센스 신호들을 서보(310)의 제어 신호에 의해 선택하는 멀티플렉서(330)로 구성된다.The apparatus shown in FIG. 3 transmits a command to drive an optical system and receives the data processing the transmitted command, the optical pickup moves the optical pickup according to the command transmitted from the microcomputer 300 and whether the command is processed. Servo 310 to output the sense signal, the digital signal processing unit 320, the servo 310 to process the digital data for driving the optical system according to the command transmitted from the microcomputer 300, and outputs whether or not the command processing as a sense signal ) And a multiplexer 330 that selects sense signals output from the digital signal processor 320 by a control signal of the servo 310.

도 4는 도 3에 도시된 블록도 중 멀티플렉서의 선택 신호를 출력하는 상세도 이다.4 is a detailed diagram of outputting a selection signal of a multiplexer in the block diagram of FIG. 3.

도 5는 도 3에 도시된 광 디스크 서보와 마이콤과의 통신 동작을 보이는 타이밍도 이다.FIG. 5 is a timing diagram illustrating a communication operation between the optical disc servo and the microcomputer shown in FIG. 3.

도 5에 도시된 타이밍도에는 마이콤(300)이 명령을 전송하거나 수신할 때 발생하는 MCK(500), MCK(500)에 의해 마이콤(300)의 명령 및 데이터를 전송하는 MDAT(510), 마이콤(300)의 명령 및 데이터의 전송이 완료되었을 때 발생하는 MLT(520), MLT(520)가 발생할 경우에 동시에 발생하는 신호로 마이콤(300)에서 전송된 명령의 처리 여부를 나타내는 센스 신호(530), 마이콤(300)의 명령이 전송되었음을 서보(310)에게 알리는 신호(이하 USR0라고 지칭함)(540)가 도시된다.In the timing diagram illustrated in FIG. 5, the MCK 500, the MAT 500, and the microcomputer 300 that transmit commands and data of the microcomputer 300 by the MCK 500 and the MCK 500 generated when the microcomputer 300 transmits or receives a command. A sense signal 530 indicating whether the command transmitted from the microcomputer 300 is processed as a signal simultaneously generated when the MLT 520 and the MLT 520 occur when the command and data transmission of 300 are completed. ), A signal (hereinafter referred to as USR0) 540 informing the servo 310 that the command of the microcomputer 300 has been transmitted is shown.

도 6은 본 발명에 따른 광 디스크 서보와 마이콤과의 통신 방법을 보이는 흐름도 이다.6 is a flowchart illustrating a communication method between an optical disc servo and a microcomputer according to the present invention.

도 6도시된 흐름도는 마이콤으로부터 서보 및 디지털 신호처리부에 명령을 전송하는 단계(600), 명령 전송이 완료되었는지 판단하는 단계(605), 명령 전송이 완료되었으면 MLT 신호를 로우 상태로 변환시키는 단계(610), MLT 신호가 로우 상태로 변환됨과 동시에 서보의 USR0 및 센스 신호를 로우 상태로 변환시키는 단계(615), 마이콤으로부터 전송된 명령이 서보 명령인지를 판단하는 단계(620), 마이콤으로부터 전송된 명령이 서보 명령인 경우에 센스 신호가 서보 센스 신호로 전환하는 단계(625), 서보 명령을 처리하는 단계(630), 서보 명령의 처리가 완료되었는지 판단하는 단계(635), 서보 명령의 처리가 완료되었으면 서보 센스를 하이 상태로 변환하는 단계(640), 마이콤으로부터 전송된 명령이 서보 명령이 아니면 센스 신호가 디지털 신호 처리부의 센스 신호로 전환하는 단계(645), 디지털 신호 처리부의 명령을 처리한 후 그 명령 처리여부를 센스 신호를 통해 출력하는 단계(650)로 구성된다.The flowchart shown in FIG. 6 includes the steps 600 of transmitting a command from the microcomputer to the servo and digital signal processing unit, determining whether the command transmission is completed (605), and converting the MLT signal to a low state when the command transmission is completed ( 610), the MLT signal is converted to the low state and at the same time to convert the USR0 and sense signals of the servo to the low state (615), determining whether the command sent from the micom is a servo command (620), transmitted from the micom When the command is a servo command, the step of converting the sense signal into the servo sense signal (625), processing the servo command (630), determining whether the processing of the servo command is completed (635), the processing of the servo command In step 640, the servo sense is converted to a high state. If the command transmitted from the microcomputer is not a servo command, the sense signal is converted into a sense signal of the digital signal processor. Step 645 of converting, and processing the command of the digital signal processing unit and outputting whether or not the command processing through the sense signal (650).

이어서, 도 3 ∼ 도 6을 참조하여 본 발명을 상세히 설명한다.Next, the present invention will be described in detail with reference to FIGS. 3 to 6.

마이콤(300)은 서보(310) 및 디지털 신호 처리부(320)에 광학 시스템을 구동시키기 위한 명령 및 데이터를 전송한다(600단계). 마이콤(300)은 광학 시스템을 구동시키기 위해 명령을 전송하거나 전송된 명령을 처리한 데이터를 수신한다. 여기서 마이콤(300)은 명령을 전송하거나 수신할 때 발생하는 MCK(500)에 따라서 광학 시스템을 구동시키기 위한 명령 및 데이터를 MDAT(510)와 같이 서보(310)와 디지털 신호 처리부(320)로 전송한다. 서보(310)는 마이콤(300)으로부터 전송된 명령에 따라 광 픽업을 이동시키고 명령 처리 여부를 센스 신호로 출력하고, 디지털 신호 처리부(320)는 마이콤(300)으로부터 전송된 명령에 따라 광학 시스템을 구동하는 디지털 데이터를 처리하고 명령 처리 여부를 센스 신호로 출력한다. The microcomputer 300 transmits commands and data for driving the optical system to the servo 310 and the digital signal processor 320 (step 600). The microcomputer 300 sends a command to drive the optical system or receives data processing the transmitted command. Here, the microcomputer 300 transmits commands and data for driving the optical system to the servo 310 and the digital signal processor 320, such as the MDAT 510, according to the MCK 500 generated when the command is transmitted or received. do. The servo 310 moves the optical pickup according to the command transmitted from the microcomputer 300 and outputs whether the command is processed as a sense signal, and the digital signal processor 320 controls the optical system according to the command transmitted from the microcomputer 300. It processes the digital data to drive and outputs whether the command is processed as a sense signal.

마이콤(300)이 서보(310)와 디지털 신호 처리부(320)에 명령 및 데이터의 전송을 완료하였는지 판단한다(605단계). 마이콤(300)이 명령 및 데이터의 전송을 완료하지 않았을 경우 계속해서 서보(310)와 디지털 신호 처리부(320)에 명령 및 데이터를 전송한다.The microcomputer 300 determines whether the command 310 and the data transmission are completed to the servo 310 and the digital signal processor 320 in step 605. If the microcomputer 300 does not complete the transmission of the command and data, the microcomputer 300 continuously transmits the command and data to the servo 310 and the digital signal processor 320.

마이콤(300)이 서보(310)와 디지털 신호 처리부(320)에 명령 및 데이터의 전송을 완료한 경우 MLT(520)를 로우 상태로 변환시킨다(610단계). 여기서 MLT(520)는 마이콤(300)이 서보(310) 및 디지털 신호 처리부(320)에 명령 및 데이터의 전송을 완료시킴과 동시에 발생한다. 즉 로우 상태로 변환한다.When the microcomputer 300 completes the transmission of the command and data to the servo 310 and the digital signal processor 320, the microcomputer 300 converts the MLT 520 to a low state (step 610). The MLT 520 is generated at the same time as the microcomputer 300 completes the transmission of the command and data to the servo 310 and the digital signal processor 320. That is, it transitions to the low state.

MLT(520)가 로우 상태가 됨과 동시에 서보(310)의 센스 신호(530)와 USR0 신호(540)를 로우 상태로 변환시킨다(615단계). 여기서 센스 신호(530)를 보면, 종래에는 하이 상태였는데 본 발명에서를 로우 상태로 변환되었다. 센스 신호(530)가 로우 상태라는 의미는 마이콤(300)으로부터 다음 명령이 전송되지 못한다는 의미이다. USR0 신호는 마이콤(300)의 명령이 전송되었음을 서보(310)에게 알리는 신호로서 서보(310) 내부에 있는 레지스터(Register)이다. 마이콤(300) 명령의 전송을 확인하는 방법은 일정 주기마다 인터럽트(Interrupt)를 발생시켜 USR0를 체크하여 확인할 수 있다. 'A'는 마이콤(300)으로부터 명령 또는 데이터가 모두 전송되었지만 서보(310)가 아직 명령 체크를 하지 않은 시간이다. 이와 같은 현상은 서보(310) 자체가 마이콤(300)으로부터 전송되는 명령에 대해서 인터럽트와 같이 명령 전송과 동시에 그에 대한 처리를 수행하는 것이 아니라 이전의 명령 처리가 다 끝난 후에 이번에 전송된 명령을 체크하여 처리를 하기 때문이다. 만약 이번에 전송된 명령 처리 도중에 다음 명령이 전송될 경우 이번에 전송된 명령 처리를 끝낸 후에 다음에 전송된 명령을 처리한다. The MLT 520 goes low and simultaneously converts the sense signal 530 and the USR0 signal 540 of the servo 310 to the low state (step 615). Here, the sense signal 530, which was conventionally high, was converted to low in the present invention. The sense state that the sense signal 530 is low means that the next command cannot be transmitted from the microcomputer 300. The USR0 signal is a signal informing the servo 310 that the command of the microcomputer 300 has been transmitted, and is a register inside the servo 310. The method of confirming the transmission of the microcomputer 300 command can be confirmed by generating an interrupt every predetermined period and checking USR0. 'A' is a time when all commands or data are transmitted from the microcomputer 300 but the servo 310 has not yet checked the command. Such a phenomenon is not performed by the servo 310 itself and the processing of the command transmitted from the microcomputer 300 at the same time as the interrupt, but by checking the command transmitted this time after the previous command processing is finished. This is because it is processed. If the next command is sent in the middle of the current command processing, the next command is processed after finishing the current command processing.

'A' 시간이 지나면, 즉 서보(310)가 마이콤(300)으로부터 전송된 명령을 체크하는 시간이 지나면 마이콤(300)으로부터 전송된 명령이 서보(310)의 명령인가를 판단한다(620단계). 이 시간이 USR0 신호(540)의 'B' 시간이다. USR0 신호(440)는 명령을 판단하기 위해 리드함과 동시에 하이 상태가 되어 명령 처리가 끝날 때까지 이 상태를 계속 유지한다. 이 시간이 'C' 시간이다. 여기서 마이콤(300)으로부터 전송된 명령 값이 00∼5F 사이의 값이면 서보(310)의 명령으로 인식하고, 60 이상인 경우에는 디지털 신호 처리부(320)의 명령으로 인식한다. When the 'A' time passes, that is, when the time when the servo 310 checks the command transmitted from the microcomputer 300 passes, it is determined whether the command transmitted from the microcomputer 300 is the command of the servo 310 (step 620). . This time is the 'B' time of the USR0 signal 540. The USR0 signal 440 goes high at the same time as the read to determine the command, and remains in this state until the command processing is completed. This time is the 'C' time. If the command value transmitted from the microcomputer 300 is a value between 00 and 5F, it is recognized as a command of the servo 310, and if it is 60 or more, it is recognized as a command of the digital signal processor 320.

마이콤(300)으로부터 전송된 명령이 서보(310) 명령인 경우, 센스 신호를 서보(310) 센스 신호로 전환한다(625단계). 이때 서보(310)의 센스 신호를 선택할 것인가 디지털 신호 처리부(320)의 센스 신호를 선택할 것인가 하는 것은 멀티플렉서(330)의 제어 신호에 의해서이다. 이 제어 신호가 0일 경우에는 서보(310) 센스 신호를 선택하고 이 제어 신호가 1일 경우에는 디지털 신호 처리부(320) 센스 신호를 선택한다. 도 4에 도시된 바와 같이 마이콤(300)으로부터 전송되는 핵사(HEXA) 명령 값을 8자리의 2진수로 고쳐 마지막 7번째(CMD7), 6번째(CMD6), 5번째(CMD5) 비트를 조합하여 멀티플렉서(330)의 선택 제어 신호를 출력할 수 있다. 예를 들어 마이콤(300)으로부터 전송되는 핵사 명령 값이 서보(310) 명령 값인 4Ah라고 가정하고 이를 2진수로 고치게 되면 01001010B이 된다. 이진수(1001010B) 중 7번째, 6번째, 5번째 비트인 0,1,0을 조합하면 되는데 먼저 6번째 5번째 비트인 1,0을 논리곱에 통과시켜 출력되는 값인 0과 7번째 비트인 0과 논리합을 시켜 출력되는 값인 0으로 서보(310) 센스를 선택하는 제어 신호를 출력하게 된다.If the command transmitted from the microcomputer 300 is the servo 310 command, the sense signal is converted into the servo 310 sense signal (step 625). At this time, whether to select the sense signal of the servo 310 or the sense signal of the digital signal processor 320 is determined by the control signal of the multiplexer 330. If the control signal is 0, the servo 310 sense signal is selected. If the control signal is 1, the digital signal processor 320 sense signal is selected. As shown in FIG. 4, the nucleus (HEXA) command value transmitted from the microcomputer 300 is changed to an eight-digit binary number, and the last seventh (CMD7), sixth (CMD6) and fifth (CMD5) bits are combined. The selection control signal of the multiplexer 330 may be output. For example, assuming that the nucleus command value transmitted from the microcomputer 300 is 4Ah, which is the servo 310 command value, and is corrected in binary, the value is 01001010B. You can combine the 7th, 6th, and 5th bits 0,1,0 of binary numbers ( 100 1010B). First, the 6th 5th bit, 1,0, is passed through the logical product. A control signal for selecting the servo 310 sense is output as 0, which is a logical sum of 0 and is output.

서보 센스로 전환한 후에 서보(310)는 명령을 처리한다(630단계). 여기서 서보(310)는 마이콤(300)으로부터 전송되는 명령에 의해 광 픽업을 구동시킨 후에 데이터를 전송하기 때문에 디지털 신호 처리부(320)에서 명령 처리 데이터를 전송하는 시간보다 더 오래 걸린다.After switching to the servo sense, the servo 310 processes the command (step 630). Since the servo 310 transmits data after driving the optical pickup by a command transmitted from the microcomputer 300, the servo 310 takes longer than the time for transmitting the command processing data from the digital signal processor 320.

명령 처리가 완료되었는지 판단하여 명령 처리가 완료되었을 경우 서보(310) 센스를 하이 상태로 변환시킨다(635, 640단계). 이는 명령 처리가 다 끝났기 때문에 마이콤(300)으로부터 다음 명령을 전송하라는 의미가 된다. 명령 처리가 완료되었는지 판단하여 명령 처리가 완료되지 않았을 경우에는 계속해서 명령을 처리한다. It is determined whether the command processing is completed, and when the command processing is completed, the servo 310 is converted into a high state (steps 635 and 640). This means that since the command processing is completed, the next command is transmitted from the microcomputer 300. If it is determined that the instruction processing is completed, the instruction processing continues if the instruction processing is not completed.

마이콤(300)으로부터 전송된 명령이 디지털 신호 처리부(320) 명령인 경우, 센스 신호를 디지털 신호 처리부(320) 센스 신호로 전환한다(645단계).If the command transmitted from the microcomputer 300 is the digital signal processor 320 command, the sense signal is converted into the digital signal processor 320 sense signal (step 645).

여기서도 멀티플렉서(330)의 제어 신호에 의해 디지털 신호 처리부(320)의 센스 신호가 선택된다. 예를 들어 마이콤(300)으로부터 전송되는 핵사 명령 값이 디지털 신호 처리부(320) 명령 값인 7Ah라고 가정하고 이를 2진수로 고치게 되면 01111010B이 된다. 이진수(1111010B) 중 7번째, 6번째, 5번째 비트인 0,1,1을 조합하면 되는데 먼저 6번째 5번째 비트인 1,1을 논리곱에 통과시켜 출력되는 값인 1과 7번째 비트인 0과 논리합을 시켜 출력되는 값인 1로 디지털 신호 처리부(320) 센스를 선택하는 제어 신호를 출력하게 된다.Here, the sense signal of the digital signal processor 320 is selected by the control signal of the multiplexer 330. For example, assuming that the nucleus command value transmitted from the microcomputer 300 is 7Ah, which is the digital signal processor 320 command value, and is corrected in binary, the value is 01111010B. You can combine the 7th, 6th, and 5th bits 0,1,1 among binary numbers ( 11 11010B). First, the 1st and 7th bits, which are the values output by passing the 6th 5th bit 1,1 through the logical product, The control signal for selecting the sense of the digital signal processor 320 is output as 1, which is a logical sum of 0 and is output.

센스 신호를 디지털 신호 처리부(320)의 센스 신호로 전환시킨 후에 디지털 신호 처리부(320)의 명령을 처리하고 명령 처리 여부를 센스 신호를 통하여 출력한다(650단계). 여기서 디지털 신호 처리부(320)의 센스 신호는 도 5의 센스 신호(530)중 점선 부분에 해당하는 것으로 서보(310)는 광 픽업을 구동해야하기 때문에 명령 처리 시간이 오래 걸리지만 디지털 신호 처리부(320)는 명령 처리 데이터를 가지고 있기 때문에 서보(310) 보다 명령 처리 시간이 적게 걸리게 된다. After converting the sense signal into the sense signal of the digital signal processor 320, the digital signal processor 320 processes the command and outputs whether the command is processed through the sense signal (step 650). Here, the sense signal of the digital signal processor 320 corresponds to the dotted line of the sense signal 530 of FIG. 5, and the servo 310 needs to drive the optical pickup, so that the command processing time is long, but the digital signal processor 320 is used. ) Takes less time than the servo 310 because it has command processing data.

상술한 바와 같이 본 발명에 따르면, 마이콤에서 인가되는 명령에 따라 센스 신호를 선택하기 때문에 하나의 센스 핀을 공유하는 서보와 디지털 신호 처리부 간에 센스 신호의 충돌을 막을 수 있는 효과가 있다. As described above, according to the present invention, since the sense signal is selected according to a command applied from the microcomputer, the collision of the sense signal between the servo and the digital signal processor sharing one sense pin can be prevented.

도 1은 종래의 광 디스크 서보와 마이콤과의 통신을 위한 구성을 보이는 블록도 이다.1 is a block diagram showing a configuration for communication between a conventional optical disk servo and a microcomputer.

도 2는 도 1에 도시된 광 디스크 서보와 마이콤과의 통신 동작을 보이는 타이밍도 이다.FIG. 2 is a timing diagram showing a communication operation between the optical disc servo and the microcomputer shown in FIG.

도 3은 광 디스크 서보와 마이콤과의 통신을 위한 구성을 보이는 블록도 이다.3 is a block diagram showing a configuration for communication between an optical disc servo and a microcomputer.

도 4는 도 3에 도시된 블록도 중 멀티플렉서의 선택 신호를 출력하는 상세도 이다.4 is a detailed diagram of outputting a selection signal of a multiplexer in the block diagram of FIG. 3.

도 5는 도 3에 도시된 광 디스크 서보와 마이콤과의 통신 동작을 보이는 타이밍도 이다.FIG. 5 is a timing diagram illustrating a communication operation between the optical disc servo and the microcomputer shown in FIG. 3.

도 6은 본 발명에 따른 광 디스크 서보와 마이콤과의 통신 방법을 보이는 흐름도 이다.6 is a flowchart illustrating a communication method between an optical disc servo and a microcomputer according to the present invention.

Claims (4)

마이콤에서 광 디스크 서보와 디지털 신호 처리부로 전송되는 명령을 분석하여 분석한 명령에 따라 그 명령 처리 여부를 출력하는 센스 신호를 공유한 상기 서보, 상기 디지털 신호처리부 및 상기 마이콤간에 통신을 하기 위한 방법에 있어서,A method for communicating between the servo, the digital signal processing unit and the microcomputer sharing a sense signal outputting whether or not the command processing according to the command analyzed by analyzing the command transmitted from the microcomputer to the optical disk servo and the digital signal processing unit In 상기 마이콤으로부터 상기 서보 및 디지털 신호처리부에 명령을 전송하는 제1단계;A first step of transmitting a command from the microcomputer to the servo and digital signal processor; 상기 제1단계의 명령 전송 완료 후에 상기 마이콤으로부터 명령이 전송되었다는 것을 서보에게 알리는 레지스터의 신호를 변환시키고 상기 서보의 센스 신호를 변환시켜 상기 마이콤으로부터 다음 명령이 전송되지 않도록 하는 제2단계;A second step of converting a signal of a register informing a servo that a command has been transmitted from the micom after completion of the command transmission in the first step and converting a sense signal of the servo so that a next command is not transmitted from the micom; 상기 제2단계 실행 후에 상기 서보에서 상기 마이콤에서 전송한 명령을 분석하는 제3단계; 및A third step of analyzing, by the servo, a command transmitted from the micom after the second step; And 상기 제3단계에서 분석한 명령을 처리하고 그 처리 여부를 상기 센스 신호를 통하여 상기 마이콤에 전송하는 제4단계를 포함하는 광 디스크 서보와 마이콤과의 통신 방법.And a fourth step of processing the command analyzed in the third step and transmitting whether the command is processed or not to the micom through the sense signal. 제1항에 있어서, 상기 제 3단계의 명령 분석 단계는 상기 마이콤에서 전송되는 명령이 상기 서보 명령인지 상기 디지털 신호 처리부 명령인지를 분석하는 것을 특징으로 하는 광 디스크 서보와 마이콤과의 통신 방법.The method according to claim 1, wherein the command analyzing step of the third step analyzes whether the command transmitted from the microcomputer is the servo command or the digital signal processor command. 제2항에 있어서, 상기 제3단계에서 분석한 명령이 상기 디지털 신호 처리부의 명령인 경우, The method of claim 2, wherein when the command analyzed in the third step is a command of the digital signal processor, 상기 센스 신호를 디지털 신호 처리부 센스 신호로 전환하는 제3-1단계;Step 3-1 of converting the sense signal into a digital signal processor sense signal; 상기 디지털 신호 처리부의 명령을 처리한 후 그 명령 처리 여부를 상기 센스 신호를 통하여 상기 마이콤에 전송하는 제3-2단계를 더 포함하는 광 디스크 서보와 마이콤과의 통신 방법.And a step 3-2 of processing the command of the digital signal processor and transmitting whether the command is processed to the micom via the sense signal. 제2항에 있어서, 상기 제3단계에서 분석한 명령이 상기 서보의 명령인 경우, The method of claim 2, wherein when the command analyzed in the third step is a command of the servo, 상기 센스 신호를 서보 센스 신호로 전환하는 제4-1단계;Step 4-1 of converting the sense signal into a servo sense signal; 상기 명령을 리드함과 동시에 상기 서보의 상태를 나타내는 레지스터를 변화시켜 명령을 처리하는 제4-2단계;Step 4-2 of reading the command and simultaneously changing a register indicating the servo state to process the command; 상기 제4-2단계의 명령 처리가 완료된 후 상기 서보의 센스 신호를 변환시켜 마이콤으로부터 다음 명령이 전송되도록 하는 제4-3단계를 더 포함하는 광 디스크 서보와 마이콤과의 통신 방법.And a fourth to third step of converting the sense signal of the servo to transmit the next command from the micom after the command processing of the fourth to second step is completed.
KR1019970047606A 1997-09-18 1997-09-18 Communication method between optical disc servo and micom KR100442853B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970047606A KR100442853B1 (en) 1997-09-18 1997-09-18 Communication method between optical disc servo and micom

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970047606A KR100442853B1 (en) 1997-09-18 1997-09-18 Communication method between optical disc servo and micom

Publications (2)

Publication Number Publication Date
KR19990025822A KR19990025822A (en) 1999-04-06
KR100442853B1 true KR100442853B1 (en) 2005-05-24

Family

ID=37302634

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970047606A KR100442853B1 (en) 1997-09-18 1997-09-18 Communication method between optical disc servo and micom

Country Status (1)

Country Link
KR (1) KR100442853B1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR930014045A (en) * 1991-12-24 1993-07-22 이헌조 Micom interface device of digital servo IC
KR930015284A (en) * 1991-12-27 1993-07-24 강진구 Output Limit Circuit of Controller
KR940012158A (en) * 1992-11-13 1994-06-22 배순훈 Serial data communication method between microcomputers
JPH08147909A (en) * 1994-11-25 1996-06-07 Sharp Corp Optical disk drive device
KR970008011A (en) * 1995-07-31 1997-02-24 김광호 Digital Spindle Servo for Precise Rotational Control of Discs
KR970024491A (en) * 1995-10-31 1997-05-30 배순훈 SPINDLE MOTOR CONTROL APPARATUS

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR930014045A (en) * 1991-12-24 1993-07-22 이헌조 Micom interface device of digital servo IC
KR930015284A (en) * 1991-12-27 1993-07-24 강진구 Output Limit Circuit of Controller
KR940012158A (en) * 1992-11-13 1994-06-22 배순훈 Serial data communication method between microcomputers
JPH08147909A (en) * 1994-11-25 1996-06-07 Sharp Corp Optical disk drive device
KR970008011A (en) * 1995-07-31 1997-02-24 김광호 Digital Spindle Servo for Precise Rotational Control of Discs
KR970024491A (en) * 1995-10-31 1997-05-30 배순훈 SPINDLE MOTOR CONTROL APPARATUS

Also Published As

Publication number Publication date
KR19990025822A (en) 1999-04-06

Similar Documents

Publication Publication Date Title
US5587957A (en) Circuit for sharing a memory of a microcontroller with an external device
EP1979822B1 (en) Data bus interface with interruptible clock
EP0619548B1 (en) Interface circuit between a control bus and an integrated circuit suitable for two different protocol standards
US20050188137A1 (en) Matrix type bus connection system and power reduction method therefor
JPH1083375A (en) Scsi system
US6357015B1 (en) Data interface and high-speed communication system using the same
US6253259B1 (en) System for controlling operation of an external storage utilizing reduced number of status signals for determining ready or busy state based on status signal level
US6381675B1 (en) Switching mechanism and disk array apparatus having the switching mechanism
KR100442853B1 (en) Communication method between optical disc servo and micom
US5448700A (en) Method and system for interfacing PC to CD-ROM drives
US4511968A (en) Communication channel interface unit
KR970005742B1 (en) Interface circuit for data transfer control
US5812878A (en) System for DMA transfer wherein controller waits before execution of next instruction until a counter counts down from a value loaded by said controller
US6052746A (en) Integrated circuit having programmable pull device configured to enable/disable first function in favor of second function according to predetermined scheme before/after reset
US6976143B2 (en) Systems and methods for controlling communication with nonvolatile memory devices
US20030097515A1 (en) Circuit system and method for data transmission between LPC devices
EP0385703A2 (en) Keyboard interface control
KR19990008189A (en) Method and apparatus for reducing the latency of an interface by overlapping transmitted packets
JP3272394B2 (en) Communication device
US8006012B2 (en) Data storage system
JP3059784B2 (en) Optical playback device
JP3172021B2 (en) Data bus signal conversion circuit
JPH10198524A (en) Hard disk controller
JPH1174893A (en) Data communication equipment and its communication method
JP2562207B2 (en) Two-way communication device

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

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee