KR940001108B1 - Interface system for optical disc driver - Google Patents

Interface system for optical disc driver Download PDF

Info

Publication number
KR940001108B1
KR940001108B1 KR1019910010401A KR910010401A KR940001108B1 KR 940001108 B1 KR940001108 B1 KR 940001108B1 KR 1019910010401 A KR1019910010401 A KR 1019910010401A KR 910010401 A KR910010401 A KR 910010401A KR 940001108 B1 KR940001108 B1 KR 940001108B1
Authority
KR
South Korea
Prior art keywords
signal
data
output
host computer
optical disc
Prior art date
Application number
KR1019910010401A
Other languages
Korean (ko)
Other versions
KR930001179A (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 KR1019910010401A priority Critical patent/KR940001108B1/en
Publication of KR930001179A publication Critical patent/KR930001179A/en
Application granted granted Critical
Publication of KR940001108B1 publication Critical patent/KR940001108B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/02Control of operating function, e.g. switching from recording to reproducing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The interface of an optical disc driver comprises a pick-up for reading data from an optical disc, an amplifier for amplifying the data, a servo driver for controlling the spindle motor and the position of pick-up according to the amplified data, signal processing means for processing the amplified data, a ROM decoder for decoding the processed signal to store and reading the data to output, a CPU for controlling the system according to the output signal, and an interface for receiving from and transferring to the host the output data. Thus this invention enables host computer to do more job and to transfer data at high speed.

Description

광디스크 드라이브의 인터페이스 시스템Interface system of optical disc drive

제1도는 종래 광디스크 드라이브의 인터페이스에 대한 동작신호흐름도.1 is an operation signal flow diagram for an interface of a conventional optical disk drive.

제2도는 본 발명 광디스크 드라이브의 인터페이스 시스템 구성도.2 is a configuration diagram of an interface system of the optical disk drive of the present invention.

제3도는 제2도의 타겟트와 호스트컴퓨터와의 신호접속도.3 is a signal connection diagram of the target and host computer of FIG.

제4도는 제2도의 인터페이스부에 대한 상세회로도.4 is a detailed circuit diagram of the interface unit of FIG.

제5도는 제2도의 버스단계를 도시한 테이블도.FIG. 5 is a table showing the bus stage of FIG. 2. FIG.

제6도는 제2도의 명령데이타 블록포맷.6 is the command data block format of FIG.

제7도는 제2도의 상태데이타의 포맷.7 is the format of the state data of FIG.

제8도는 제2도의 선택단계 수행때의 입출력 파행도.8 is an input / output seam diagram when performing the selection step of FIG.

제9도는 제2도의 명령단계 수행때의 입출력 파행도.9 is an input / output breakdown diagram when the command step of FIG. 2 is executed.

제10도는 제2도의 재선택단계 수행때의 입출력 파행도.FIG. 10 is an input / output seam diagram when performing the reselection step of FIG.

제11도는 제2도의 데이타단계 수행때의 입출력 파행도.11 is an input / output breakdown diagram when performing the data step of FIG.

제12도는 제2도의 상태단계 수행때의 입출력 파행도.12 is an input / output seam diagram when performing the state step of FIG.

제13도는 동작설명에 대한 신호흐름도.13 is a signal flow diagram for the operation description.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

1 : 광디스크 2 : 픽업1: optical disc 2: pickup

3 : 고주파증폭부 4 : 광디스크 디지탈 신호처리부3: high frequency amplifier 4: optical disc digital signal processor

5 : 중앙처리장치 6 : 광디스크 롬 디코더부5: central processing unit 6: optical disc ROM decoder

7 : 버퍼램 8 : 인터페이스부7: buffer RAM 8: interface

9 : 서보구동부 10 : 호스트 컴퓨터9: Servo Drive 10: Host Computer

11 : 타겟트 12 : 스핀들모터11: target 12: spindle motor

본 발명은 퍼스널컴퓨터(이하 PC라 칭함)와 그 주변장치의 인터페이스에 관한 것으로, 특히 PC의 단일 연결버스에 다수의 주변장치를 연결하여 동시에 사용할 수 있도록 하고, 주변장치인 광디스크 드라이브가 데이타 전송에 필요한 신호를 생성하는 시간동안 PC가 데이타를 계속 기다리는 억세스타임을 고려하여 최적의 인터페이싱 운동으로 데이타를 고속전송하도록 한 광디스크 드라이브의 인터페이스 시스템에 관한 것이다.The present invention relates to an interface between a personal computer (hereinafter referred to as a PC) and a peripheral device. In particular, a plurality of peripheral devices can be connected to a single connection bus of a PC so that they can be used simultaneously. The present invention relates to an interface system of an optical disk drive that allows a PC to transmit data at high speed with an optimal interfacing movement in consideration of an access time for which a PC continuously waits for data for generating a required signal.

일반적으로 광디스크 롬 드라이브와 PC와의 인터페이스 방식에는 크게 두가지로 나눌 수 있는데 그 첫째로 소형컴퓨터 시스템 인터페이스라고 하는 표준방식으로, 호환성과 다양한 기능등을 장점으로 널리 사용되고 있는 반면에 호스트컴퓨터의 내부기능 및 성능을 고려하지 않아서 사장되는 기능들로 인한 오버스펙(over spec) 및 고가격이라는 단점이 있다. 둘째로 호스트컴퓨터를 하나 선정해서 그 PC의 내부구조 및 기능에 맞게 인터페이스 방식을 구성한 것으로, 이는 PC의 기능과 성능을 고려한 최적설계가 가능하고 가격이 저렴하다는 장점이 있는 반면에 호환성이 없다는 단점이 있다. 즉, 제1도에 도시된 바와 같이, 버스프리상태에서 호스트컴퓨터의 일방적인 선택만이 있어서, 타겟트(Target)가 되는 광디스크 롬 드라이브의 명령실행 시간동안 호스트컴퓨터가 계속 데이타를 기다려야 하는 비효율성이 많았다. 특히 광디스크 롬은 다른 기록 메디아(즉, 하드디스크 드라이브등)보다 억세스타임이 비교적 늦고(여기서 하드디스크 드라이브는 수십 msec이고, 광디스크 롬 드라이브는 500-900msec이다), 명령실행 시간이 길기 때문에 이 명령실행 시간동안 호스트컴퓨터는 다른일을 못하고 계속 데이타를 기다려야 하는 문제점이 있었다.In general, there are two types of interface between optical disk ROM drive and PC. First of all, it is a standard method called small computer system interface. It is widely used for its compatibility and various functions. It does not take into account the disadvantages of over spec and high price due to dead functions. Secondly, it selects a host computer and configures the interface method according to the internal structure and function of the PC. This has the advantage of being able to design optimally considering the function and performance of the PC and the low price, while having the disadvantage of incompatibility. have. That is, as shown in FIG. 1, there is only one-sided selection of the host computer in the bus-free state, and the inefficiency of the host computer continuously waiting for data during the command execution time of the optical disk ROM drive to be the target. There were a lot. In particular, the optical disk ROM has a relatively slower access time than other recording media (i.e., a hard disk drive, etc.) (where the hard disk drive is several tens of msec, and the optical disk ROM drive is 500-900 msec). During this time, the host computer could not do anything else and had to wait for data.

본 발명은 이와 같은 종래의 문제점을 감안하여 호스트컴퓨터에 연결되는 주변장치에 딥스위치를 구비한 후 각각의 식별신호를 부여하여 동시에 다수대의 주변장치를 연결 사용토록 함과 아울러 디스콘넥터/리셀렉션(Disconnect/Reselection) 동작을 통해 주변장치로 인터페이싱에 필요한 최소시간 만큼의 연결버스 사용권을 부여하여 호스트컴퓨터로 하여금 보다 많은 일을 수행하도록 하고 데이타를 고속전송하도록 광디스크 드라이브의 인터페이스 시스템을 창안한 것으로, 이하 본 발명을 첨부된 도면에 의거 상세히 설명하면 다음과 같다.SUMMARY OF THE INVENTION In view of the above problems, the present invention is provided with a dip switch in a peripheral device connected to a host computer, and then a plurality of peripheral devices are simultaneously connected to each other by giving a respective identification signal and using a disconnector / reselection ( The optical disk drive interface system was created to allow the host computer to perform more tasks and transfer data at high speed by granting the connection bus the minimum amount of time required for interfacing to peripheral devices through the Disconnect / Reselection operation. Referring to the present invention in detail based on the accompanying drawings as follows.

제2도는 본 발명 광디스크 드라이브의 인터페이스 시스템 구성도로서, 이에 도시한 바와 같이, 광비임을 조사하여 광디스크(1)로 부터 주파수변조된 엔코드정보를 읽어들이는 타겟트(11)의 픽업(2)과, 상기 픽업(2)으로 부터 검출된 광디스크(1)의 데이타신호를 소정레벨로 증폭하는 고주파증폭부(3)와, 상기 고주파증폭부(3)로 부터 출력되는 데이타신호에 따라 스핀들모터(12)의 회전수 및 픽업(2)의 위치를 제어하는 서보구동부(9)와, 상기 고주파증폭부(3)로 부터 출력되는 광디스크(1)의 데이타신호를 디지탈 데이타신호로 처리하는 광디스크 디지탈 신호처리부(4)와, 상기 광디스크 디지탈 신호처리부(4)의 디지탈 데이타신호를 디코딩하여 버퍼램(7)에 순차적으로 저장시킴과 아울러 그 저장된 데이타를 읽어들여 출력하는 광디스크 롬 디코더부(6)와, 상기 광디스크 롬 디코더부(6)로부터 출력된 데이타신호에 따라 전체 시스템동작을 제어하는 중앙처리장치(5)와, 상기 중앙처리장치(5) 및 광디스크 롬 디코더부(6)의 출력데이타신호를 호스트컴퓨터(10)에 전송 및 수신하는 인터페이스(8)로서 구성한다.2 is an interface system configuration diagram of an optical disk drive according to the present invention. As shown in the drawing, the pickup 2 of the target 11 that reads the frequency ratio and reads frequency-modulated encoded information from the optical disk 1 is shown in FIG. And a high frequency amplifier (3) for amplifying the data signal of the optical disc (1) detected by the pickup (2) to a predetermined level, and a spindle motor according to the data signal output from the high frequency amplifier (3). Servo drive unit 9 for controlling the number of revolutions of 12 and the position of pickup 2, and optical disc digital signal for processing the data signal of optical disc 1 output from the high frequency amplification unit 3 as a digital data signal. An optical disc ROM decoder unit 6 which decodes the digital data signal of the optical disc digital signal processor 4, stores the data sequentially in the buffer RAM 7, and reads and outputs the stored data; remind A central processing unit (5) for controlling the overall system operation according to the data signal output from the optical disc ROM decoder unit (6), and output data signals of the central processing unit (5) and the optical disc ROM decoder unit (6). It is comprised as the interface 8 which transmits and receives to 10. FIG.

제3도는 제2도의 광디스크 롬 드라이브(이하 타겟트(11)이라 칭함)와 호스트컴퓨터(10)간의 인터페이스 상태를 보인 설명도이고, 제4도는 제2도의 인터페이스부(8)에 대한 상세회로도로서, 이에 도시한 바와 같이, 사용자의 선택에 의하여 스위칭되어 8비트의 식별데이타신호(ID)를 출력하는 딥스위치(8a)와, 리섹렉션시 상기 딥스위치(8a)로 부터 출력되는 식별데이타신호를 버퍼링하여 호스트컴퓨터(10)의 데이타버스(HDΦ-HD7)에 전송하는 버퍼부(8b)와, 셀렉션시 상기 호스트컴퓨터(10)의 데이타버스(HDΦ-HD7)에서 출력되는 8비트 식별데이타신호 및 딥스위치(8a)로부터 출력되는 식별데이타신호를 비교하여 그에 따른 제어신호를 출력하는 비교부(8d)와, 상기 중앙처리장치(5)로부터 출력된 재선택개시신호(RESEL), 통화신호() 및 호스트컴퓨터(10)로 부터 출력된 선택신호(SEL)를 논리조합하여 식별데이타신호 및 통화신호()를 출력하는 엔드게이트(AND1)(AND2) 및 플립플롭(FF1)으로 된 통화신호 발생부(8e)와, 상기 통화신호 발생부(8e)로 부터 출력된 통화신호(), 비교부(8d)의 식별데이타신호 및 호스트컴퓨터(10)의 선택신호()를 오아링하고 앤드조합하여 중앙처리장치(5)에 인터럽트요구신호()를 출력하는 오아게이트(OR1)(OR2) 및 앤드게이트(AND3)로 된 재선택검출부(8f)아, 상기 중앙처리장치(5)로 부터 출력되는 명령데이타(Command Data)(C/D), 입출력요구신호(I/O) 및 광디스크 롬 디코더부(6)의 인터럽트신호()를 논리조합하여 상기 중앙처리장치(5)에 인터럽트요구신호를 출력하는 오아게이트(OR3)(OR4) 및 앤드게이트(AND4)로 된 인터럽트발생부(8g)와, 상기 중앙처리장치(5)로 부터 출력되는 입출력요구신호(I/O)의 레벨에 따라 광디스크 롬 디코더부(6)의 데이타버스(HDΦ-HD7)로 부터 출력되는 식별데이타신호를 버퍼링하여 호스트컴퓨터(10)의 데이타버스(HDΦ-HD7)상에 전송함과 아울러 그 호스트컴퓨터(10)의 식별데이타신호를 광디스크 롬 디코더부(6)의 데이타버스(HDΦ-HD7)상에 전송하는 버퍼부(8i)와, 상기 중앙처리장치(5)의 데이타요구신호, 광디스크 롬 디코더부(6)의 상태인에이블신호, 데이타요구신호및 호스트컴퓨터(10)의 인지신호를 논리조합하여 광디스크 롬 디코더부(6)에 호스트판독신호를 출력함과 아울러 요구신호를 출력하는 플립플롭(FF2)(FF3), 앤드게이트(AND5)(AND6) 및 인버터게이트(I1)로 된 제어신호생성부(8h)와, 상기 제어신호생성부(8h)로 부터 출력된 요구신호, 통화신호발생부(8e)의 통화신호, 중앙처리장치(5)의 명령데이타(C/D), 입출력요구신호(I/O) 및 호스트컴퓨터(10)의 인지신호를 버퍼링하여 그 호스트컴퓨터(10)로 출력하는 버퍼부(8c)로서 구성한 것으로, 도면중 미설명부호는 판독신호이고,는 기록신호이며는 칩선택신호이고,는 호스트 기록신호이다. 이와 같이 구성된 본 발명의 작용, 효과를 상세히 설명하면 다음과 같다.FIG. 3 is an explanatory diagram showing the interface state between the optical disk ROM drive (hereinafter referred to as the target 11) and the host computer 10 of FIG. 2, and FIG. 4 is a detailed circuit diagram of the interface unit 8 of FIG. As shown therein, a dip switch 8a switched by a user's selection to output an 8-bit identification data signal ID, and an identification data signal output from the dip switch 8a at the time of resection. A buffer unit 8b for buffering and transmitting the data to the data bus HD Φ -HD 7 of the host computer 10, and 8 bits output from the data bus HD Φ -HD 7 of the host computer 10 at the time of selection. A comparison unit 8d for comparing the identification data signal and the identification data signal output from the dip switch 8a and outputting a control signal according to the identification data signal, a reselection start signal RESEL output from the central processing unit 5; Call signal ( ) And the selection signal SEL output from the host computer 10 to identify the identification data signal and the call signal ( ) And a call signal generator 8e consisting of an end gate AND 1 (AND 2 ) and a flip-flop FF 1 , and a call signal output from the call signal generator 8e. ), The identification data signal of the comparison section 8d and the selection signal of the host computer 10 ( ) And end combination to the central processing unit 5 for the interrupt request signal ( ), The output Iowa gate (OR 1) (OR 2), and the AND gate (AND 3), the re-selected detector (8f) Oh, command data outputted from said central processing unit (5) (Command Data) ( C that / D), input / output request signal (I / O), and interrupt signal of optical disc ROM decoder 6 ( ), The interrupt request signal to the CPU 5 Iowa gate (OR 3) (OR 4), and the AND gate (AND 4), the interrupt generation part (8g) and the input output request signals (I / O) that is output from the central processing unit 5 to which outputs of the And buffers the identification data signal output from the data bus (HD Φ -HD 7 ) of the optical disc ROM decoder unit 6 according to the level and transmits the identification data signal on the data bus (HD Φ -HD 7 ) of the host computer 10. In addition, the buffer unit 8i for transmitting the identification data signal of the host computer 10 on the data bus HD Φ- HD 7 of the optical disc ROM decoder unit 6, and the data request of the central processing unit 5; signal Enable signal of the optical disc ROM decoder 6 Data request signal And the recognition signal of the host computer 10 To the optical disc ROM decoder 6 with a host read signal Outputs a request signal A control signal generator 8h including a flip-flop FF 2 , FF 3 , an AND gate AND 5 , AND 6 , and an inverter gate I 1 , and the control signal generator 8h. Request signal output from , The call signal of the call signal generator 8e Command data (C / D) of the central processing unit (5), input / output request signal (I / O), and acknowledgment signal of the host computer (10). Is configured as a buffer unit 8c for buffering and outputting the same to the host computer 10. Is the read signal, Is the recording signal Is the chip select signal, Is the host recording signal. Referring to the operation, effects of the present invention configured as described above in detail.

먼저 제2도에서와 같이, 픽업(2)이 스핀들모터(12)의 구동에 의해 일정한 선속도로 회전하는 광디스크(1)에 광비임을 조사하여 데이타신호를 검출하게 되고 그 검출된 데이타신호가 고주파증폭부(3)를 통하여 소정레벨로 증폭된 후 서보구동부(9) 및 광디스크 디지탈 신호처리부(4)에 입력되면 서보구동부(9)는 고주파증폭부(3)를 통한 데이타신호에 따라 픽업(2)의 이동 및 스핀들모터(12)의 회전수를 제어하게 되며, 광디스크 디지탈 신호처리부(4)는 중앙처리장치(5)로 부터 출력된 제어신호에 의해 고주파증폭부(3)의 데이타신호를 읽어들여와 이를 전송에 필요한 디지탈 데이타로 처리한 후 광디스크 롬 디코더부(6)에 입력시키게 된다. 따라서 상기 광디스크 롬 디코더부(6)는 중앙처리장치(5)의 제어신호에 의해 광디스크 디지탈 신호처리부(4)로 부터 출력된 디지탈 데이타신호를 데이타버스를 통하여 저장함과 아울러 버퍼램(7)에 저장된 직렬 데이타신호를 디코딩하여 이후에 설명될 인터페이스부(8)를 통해 제3,4도와 같이 호스트컴퓨터(10)에 명령데이타(C/D), 입출력요구신호(I/O), 요구신호및 데이타버스(HDΦ-HD7)상의 식별데이타신호를 전송하게 되고, 한편 호스트컴퓨터(10)는 인터페이스부(8)를 통해 선택신호, 인지신호및 데이타버스(HDΦ-HD7)상의 식별데이타신호를 타겟트(11), 즉, 광디스크 롬 드라이브의 중앙처리장치(5) 및 광디스크 롬 디코더부(6)에 전송하게 된다.First, as shown in FIG. 2, the pickup 2 irradiates an optical beam to the optical disk 1 rotating at a constant linear velocity by driving the spindle motor 12 to detect a data signal, and the detected data signal is a high frequency. After being amplified to a predetermined level through the amplifier 3 and input to the servo driver 9 and the optical disc digital signal processor 4, the servo driver 9 picks up in accordance with the data signal through the high frequency amplifier 3; ) And the number of rotations of the spindle motor 12 are controlled, and the optical disc digital signal processing unit 4 reads the data signal of the high frequency amplification unit 3 by the control signal output from the central processing unit 5. This is inputted into the optical disc ROM decoder 6 after processing it into digital data necessary for transmission. Therefore, the optical disc ROM decoder 6 stores the digital data signal output from the optical disc digital signal processor 4 by the control signal of the central processing unit 5 through the data bus and is stored in the buffer RAM 7. By decoding the serial data signal, the host computer 10 transmits command data (C / D), input / output request signal (I / O), and request signal to the host computer 10 through the interface unit 8 to be described later. And the identification data signal on the data bus HD φ- HD 7 , while the host computer 10 selects the selection signal via the interface unit 8. Acknowledgment And the identification data signal on the data bus HD φ- HD 7 is transmitted to the target 11, that is, the central processing unit 5 and the optical disc ROM decoder 6 of the optical disc ROM drive.

즉, 호스트컴퓨터(10)가 광디스크 롬 드라이브인 타겟트(11)로 부터 광디스크(1)의 데이타를 읽기 위해서는 먼저 최대 8대의 연결가능한 타겟트(11)를 선택하는 것이 필요한데 이를 선택단계(Selection Phase)라한다. 여기서 선택된 타겟트(11)는 인터페이스부(8)의 버스사용권을 갖고 제6도와 같이 호스트컴퓨터(10)가 내리는 명령데이타블록(CDB)을 요구하여 명령을 받는데, 이를 명령단계(Command Phase)라 한다. 또한 타겟트(11)는 명령을 받은 후 데이타 마련시간이 많이 걸릴것 같으면 제7도와 같이 디스컨넥트상태(Disconnect Status)를 보내고(여기서 호스트컴퓨터(10)가 내린 명령에 디스컨넥트 허용플래그가 제7도와 같이 "I"로 세트되어 있는 경우에만 가능하다), 버스를 프리상태로 하게 된다.That is, in order for the host computer 10 to read the data of the optical disc 1 from the target 11 which is an optical disc ROM drive, it is necessary to first select up to eight connectable targets 11. ) The selected target 11 receives a command by requesting a command data block (CDB) issued by the host computer 10 as shown in FIG. 6 and having a bus usage right of the interface unit 8, which is called a command phase. do. In addition, if the target 11 seems to take a lot of data preparation time after receiving the command, it sends a disconnect status as shown in FIG. 7 (where the disconnect permission flag is set to the command issued by the host computer 10). Only possible if set to "I" as shown in the diagram), the bus is freed.

보통 광디스크 롬 드라이브가 광디스크(1)상의 어떤 데이타를 호스트컴퓨터(10)로 전송하기 까지는 억세스 또는 서치(Search)를 하기 위한 픽업(2) 이동과 데이타입력 및 에러정정, 검출 등을 하기 위한 동작에 소요되는 수백msec 내지 수sec 시간이 걸리게 된다. 이 멸령실행시간동안 호스트컴퓨터(10)는 디스컨넥트가 되면 다른 일들을 할 수가 있고, 디스컨넥트가 되어 있지 않으면 즉, 제8도에서와 같이 디스컨넥트가 "Φ"로 되면 선택한 타겟트(11)가 데이타전송을 할때까지 기다리고 있어야 한다. 이후 타겟트(11)는 데이타전송준비가 완료되면 호스트컴퓨터(10)로 전송준비완료라는 신호를 송출하게 되는데 이를 재선택단계(Reselection Phase)라 한다. 그리고 타겟트(11)는 재선택이 완료되어 다시 호스트컴퓨터(10)와 컨넥트되면 데이타를 전송하게 되는데 이를 데이타단계(Data phase)라 한다.Usually, the optical disk ROM drive transfers the pickup (2) for access or search and inputs data, corrects errors, and detects the data until the data on the optical disk (1) is transferred to the host computer (10). It takes several hundred msec to several sec time. During this execution time, the host computer 10 can do other things when disconnected. If the disconnection is not made, that is, as shown in FIG. 8, the selected target 11 Must wait for the data transfer. Then, the target 11 transmits a signal of completion of transmission to the host computer 10 when the data transmission preparation is completed, which is called a reselection phase. The target 11 transmits data when the reselection is completed and connected to the host computer 10 again. This is called a data phase.

상기 호스트컴퓨터(10)와 데이타전송이 끝나면 타겟트(11)는 명령실행결과인 상태단계(Status phase)를 보내고 버스프리상태로 들어간다. 그리고 만약 디스컨넥트된 상태에서 어떤 요인에 의해 타겟트(11)가 데이타 마련을 하지 못했을 경우에는 재선택을 한 후 바로 상태단계로 갈 수도 있다. 이때는 물론 제7도와 같이, 좋지 않음을 의미하는 상태데이타가 전송된다.After data transfer with the host computer 10 is completed, the target 11 sends a status phase which is a result of command execution and enters a bus free state. If the target 11 fails to prepare data due to a certain factor in the disconnected state, the target 11 may go to the state step immediately after reselection. At this time, of course, as shown in FIG. 7, status data indicating that the data is not transmitted is transmitted.

이를 구체적으로 제3도 내지 제13도를 참조하여 상세히 설명하면 다음과 같다.This will be described in detail with reference to FIGS. 3 to 13 as follows.

먼저 제13도에서와 같이, 호스트컴퓨터(10)가 타겟트(11)를 선택하기 위한 선택단계는 제8도와 같이 버스프리상태에서만 가능한 단계로서, 호스트컴퓨터(10)는 이 선택단계를 통해 사용할 타겟트(11)를 선택하게 된다. 즉, 호스트컴퓨터(10)는 제8도의 (가)와 같이 버스프리상태에서 선택할 타겟트(11)의 식별데이타신호를 데이타버스(HDΦ-HD7)상에 송출함과 아울러 선택신호()를 제8도의 (라)와 같이 로우(L)신호로 출력하게 되면, 상기 호스트컴퓨터(10)로 부터 송출된 8비트의 식별데이타신호는 비교부(8d)의 입력단자(Q)에 입력되고, 또한 제8도의 (다)와 같이 딥스위치(8a)로 부터 출력된 타겟트(11)의 식별데이타신호는 비교부(8d)의 입력단자(P)에 입력된다. 따라서 비교부(8d)는 호스트컴퓨터(10)의 식별데이타신호와 딥스위치(8a)로 부터 출력된 타겟트(11)의 식별데이타신호를 비교하여 그 값이 일치하면 제8도의 (마)와 같이 출력단자(P=Q)호 로우(L)신호가 입력되므로 오아게이트(OR1)(OR2)의 타측입력단자에는 중앙처리장치(5)로 부터 출력된 로우(L)인 선택신호()와 통화신호발생부(8e)의 플립플롭(FF1) 및 앤드게이트(AND2)로 부터 출력된 하이(H) 및 로우(L)신호가 입력되므로 오아게이트(OR1)의 출력에서는 하이신호가 출력되고, 오아게이트(OR2)의 출력에서는 로우신호가 출력되어 앤드게이트(AND3)를 통해 앤드화된 후, 중앙처리장치(5)에 제8도의 (바)와 같이 인터럽트요구신호를 액티브로우로 출력하게 된다.First, as shown in FIG. 13, the selection step for the host computer 10 to select the target 11 is a step available only in the bus-free state as shown in FIG. 8, and the host computer 10 uses this selection step. The target 11 is selected. That is, the host computer 10 transmits the identification data signal of the target 11 to be selected in the bus free state as shown in Fig. 8A on the data bus HD Φ HD 7 and the selection signal ( ) Is outputted as a low (L) signal as shown in (d) of FIG. 8, the 8-bit identification data signal sent from the host computer 10 is input to the input terminal Q of the comparator 8d. Further, as shown in FIG. 8C, the identification data signal of the target 11 output from the dip switch 8a is input to the input terminal P of the comparison section 8d. Therefore, the comparison unit 8d compares the identification data signal of the host computer 10 with the identification data signal of the target 11 outputted from the dip switch 8a, and if the values match, (d) of FIG. Likewise, the output terminal (P = Q) arc low (L) signal is input, so the other input terminal of the OR gate (OR 1 ) (OR 2 ) is a low signal L (output L) output from the central processing unit (5). ) And the high (H) and low (L) signals outputted from the flip-flop (FF 1 ) and the AND gate (AND 2 ) of the call signal generator 8e are input, so that the output of the OR gate (OR 1 ) is high. A signal is output, and a low signal is output at the output of the OR gate OR 2 and is ANDed through the AND gate AND 3 , and then an interrupt request signal is sent to the CPU 5 as shown in FIG. Will output active low.

따라서, 타겟트(11)의 중앙처리장치(5)는 액티브로우인 인터럽트요구신호가 발생되면 호스트컴퓨터(10)가 자신을 선택했음을 인지하고 제8도의 (나)와 같이 로우인 통화신호를 통화신호발생부(8e)의 앤드게이트(AND2)를 통해 출력하여 버퍼부(8b)(8c)를 인에이블 시킴과 아울러 그 버퍼부(8c)를 통해 버퍼링되어 호스트컴퓨터(10)에 응답하게 된다. 이후 호스트컴퓨터(10)는 타겟트(11)가 통화신호를 로우로 출력하면 선택이 정상적으로 이루어졌다고 인식하고 송출한 식별데이타신호와 선택신호를 거두어 들이고 다시 선택신호를 하이(H)로 출력하게 되므로서, 재선택검출부(8f)의 앤드게이트(AND3)의 출력이 하이상태가 되어 중앙처리장치(5)에 인터럽트요구신호를 하이로 출력하게 된다.Therefore, the central processing unit 5 of the target 11 is an active low interrupt request signal. Is generated, the host computer 10 recognizes that it has selected itself, and the call signal is low as shown in (b) of FIG. Is output through the AND gate AND 2 of the call signal generator 8e to enable the buffer units 8b and 8c, and is buffered through the buffer unit 8c to respond to the host computer 10. Done. The host computer 10 then the target 11 is a call signal Output low, the identification data signal and selection signal And pick again Is output high (H), the output of the AND gate (AND 3 ) of the reselection detection section (8f) becomes a high state, the interrupt request signal to the central processing unit (5) Will output high.

이때 선택단계의 경우에 타겟트(11)의 중앙처리장치(5)의 명령데이타(C/D), 입출력요구신호(I/O), 요구신호및 호스트컴퓨터(10)의 인식신호는 하이(H)로 출력되고, 아울러 호스트컴퓨터(10)의 리세트신호(RESEL)는 로우로 출력된다.At this time, the command data (C / D), the input / output request signal (I / O), and the request signal of the central processing unit 5 of the target 11 in the selection step. And the recognition signal of the host computer 10 Is output high (H), and the reset signal RESEL of the host computer 10 is output low.

이와 같이 선택단계가 끝나면 타겟트(11)는 명령단계를 하게 되는데, 이 명령단계는 호스트컴퓨터(10)가 선택한 타겟트(11)에 일련의 명령세트를 전송하는 단계로서, 이때 전송되는 명령세트를 명령데이타블록(CDB : Command Description Block)라 부르고 보통 수바이트로 구성되며, 그 명령데이타블록(CDB)의 전송경로는 호스트컴퓨터(10)→버퍼부(8i)→광디스크 롬 디코더부(6)→중앙처리장치(5)로 전송된다. 즉, 타겟트(11)의 중앙처리장치(5)는 선택단계가 끝나면 제9도의 (나) 및 (다)와 같이 명령데이타(C/D) 및 입출력요구신호(I/O)를 각각 하이 및 로우로 하여 명령단계를 시작하게 되는데, 먼저 타겟트(11)의 중앙처리장치(5)는 제9도의 (라)와 같이 데이타요구신호()를 로우로 하여 호스트컴퓨터(10)에 제6도와 같은 명령데이타블록(CDB)을 요구하게 된다. 즉, 중앙처리장치(5)로 부터 출력된 데이타요구신호()인 로우신호가 제어신호생성부(8h)의 앤드게이트(AND5를 통하고 버퍼부(8c)를 통해 버퍼링된 후 호스트컴퓨터(10)로 제9도의 (라)와 같이 로우신호인 요구신호()를 출력하게 된다. 따라서 호스트컴퓨터(10)는 명령단계에서 요구신호()가 로우로 되면 제9도의 (마)와 같이 데이타버스(HDΦ-HD7)상에 명령데이타블록(CDB)의 한 바이트를 송출하고 인식신호(ACK)를 로우로 송출하게 된다. 상기 호스트컴퓨터(10)로 부터 송출된 인식신호는 버퍼부(8c)를 통해 버퍼링되어 인터럽트발생부(8g)에 구성된 오아게이트(OR4)의 일측입력단자에 입력됨과 아울러 제어신호생성부(8h)에 구성된 인버터게이트(I1) 및 플립플롭(FF2)의 클럭단자(CK)에 입력되고, 또한 상기 중앙처리장치(5)로 부터 출력된 하이신호인 명령데이타(C/D) 및 로우신호인 입출력요구신호(I/O)가 상기 인터럽트발생부(8g)의 오아게이트(OR3)의 양입력단자에 입력되고 아울러 버퍼부(8c)를 통해 버퍼링되어 호스트컴퓨터(10)에 입력된다. 따라서 인터럽트발생부(8g)의 오아게이트(OR3)는 명령데이타(C/D) 및 입출력요구신호(I/O)를 오아링하여 오아게이트(OR4)의 타측입력단자에 로우신호를 출력하게 되고, 상기 오아게이트(OR4)는 그의 일측입력단자에 인가되는 인가신호와 오아링하여 제9도의 (사)와 같이 로우인 인터럽트요구신호(IRQ2)를 앤드게이트(AND4)를 통해 중앙처리장치(5)에 입력하게 된다. 이에 따라 타겟트(11)의 중앙처리장치(5)는 인터럽트발생부(8g)로 부터 로우인 인터럽트요구신호(IRQ2)가 발생되면 제9도의 (아)와 같이 호스트기록신호를 로우로 광디스크 롬 디코더부(6)에 입력하여 제9도의 (마)와 같이 데이타버스(HDΦ-HD7)상의 명령데이타블록(CDB)을 광디스크 롬 디코더부(6)내의 선입선출(FIFO) 명령으로 입력시킨 후 판독신호를 이용하여 명령데이타블록(CDB)을 판독하게 된다.When the selection step is completed as described above, the target 11 performs a command step. The command step transmits a set of commands to the selected target 11 by the host computer 10. Is called a command description block (CDB) and is usually composed of several bytes. The transmission path of the command data block (CDB) is the host computer 10 → the buffer section 8i → the optical disk ROM decoder section 6. → sent to the central processing unit (5). That is, after the selection step is finished, the central processing unit 5 of the target 11 highs the command data (C / D) and the input / output request signal (I / O) as shown in (b) and (c) of FIG. And low to start the command step. First, the central processing unit 5 of the target 11 performs a data request signal (D) as shown in FIG. (Low), the host computer 10 requests the command data block CDB as shown in FIG. That is, the data request signal output from the central processing unit 5 ( A low signal is buffered through the AND gate AND 5 of the control signal generation unit 8h and the buffer unit 8c, and then the request signal as a low signal as shown in FIG. ( ) Will be printed. Therefore, the host computer 10 sends a request signal at the command step. When () becomes low, as shown in Fig. 9 (e), one byte of the command data block CDB is transmitted on the data bus HD φ- HD 7 and the recognition signal ACK is sent low. Recognition signal sent from the host computer 10 Is buffered through the buffer unit 8c and input to one input terminal of the OR gate OR 4 configured in the interrupt generator 8g, and the inverter gate I 1 and the flip-flop configured in the control signal generation unit 8h. The command data C / D which is input to the clock terminal CK of FF 2 and output from the central processing unit 5 and the input / output request signal I / O which is the low signal are It is input to both input terminals of the OR gate OR 3 of the interrupt generator 8g, and is buffered through the buffer unit 8c and input to the host computer 10. Therefore, the OR gate OR 3 of the interrupt generator 8g outputs a low signal to the other input terminal of the OR gate OR 4 by ORing the instruction data C / D and the I / O request signal I / O. The oA gate OR 4 is applied to the one input terminal thereof. The interrupt request signal IRQ 2 , which is low as shown in FIG. 9A, is inputted to the CPU 5 through the AND gate AND 4 . Accordingly, the central processing unit 5 of the target 11 generates a host write signal as shown in FIG. 9A when the interrupt request signal IRQ 2 which is low from the interrupt generator 8g is generated. To the optical disc ROM decoder unit 6 in a row, and the instruction data block CDB on the data bus HD Φ- HD 7 is first-in first-out (FIFO) in the optical disc ROM decoder unit 6 as shown in FIG. Read signal after inputting The command data block CDB is read using.

Claims (1)

..
KR1019910010401A 1991-06-22 1991-06-22 Interface system for optical disc driver KR940001108B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019910010401A KR940001108B1 (en) 1991-06-22 1991-06-22 Interface system for optical disc driver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019910010401A KR940001108B1 (en) 1991-06-22 1991-06-22 Interface system for optical disc driver

Publications (2)

Publication Number Publication Date
KR930001179A KR930001179A (en) 1993-01-16
KR940001108B1 true KR940001108B1 (en) 1994-02-14

Family

ID=19316152

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019910010401A KR940001108B1 (en) 1991-06-22 1991-06-22 Interface system for optical disc driver

Country Status (1)

Country Link
KR (1) KR940001108B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100279120B1 (en) * 1997-11-25 2001-01-15 윤종용 Method for testing operation ata-command in optical disc drive

Also Published As

Publication number Publication date
KR930001179A (en) 1993-01-16

Similar Documents

Publication Publication Date Title
EP1389760B1 (en) Data transfer control system, program and data transfer control method
US6901465B2 (en) Data transfer control device, electronic equipment, and data transfer control method
KR100485294B1 (en) Data transfer control device, electronic equipment, and data transfer control method
KR19980025151A (en) Automatically Operated Record Data Transfer with Selective Skip
US20060168366A1 (en) Direct memory access control method, direct memory access controller, information processing system, and program
JP3680763B2 (en) Data transfer control device and electronic device
US7102671B1 (en) Enhanced compact flash memory card
KR100579203B1 (en) Streamlining ata device initialization
US6289402B1 (en) Bidirectional data transfer protocol primarily controlled by a peripheral device
KR940001108B1 (en) Interface system for optical disc driver
US7149840B1 (en) Universal serial bus interface to mass storage device using speculative write commands
US5954806A (en) Method to handle SCSI messages as a target
KR930001923B1 (en) Interface circuit between pc and its other device
KR930001925B1 (en) Interface circuit and its method between pc and compact disk player
KR20030044373A (en) Universal serial bus device for using direct memory access interface
KR0135870B1 (en) Input/output interface device
US20080109583A1 (en) High performance serial bus data recorder
JPH069036B2 (en) I / O controller
KR100247971B1 (en) Method for interfacing between host and optical disk drive
KR0166876B1 (en) Device and method for converting interface of a cd-rom drive
JPS61253570A (en) Bus control system
JPH10334031A (en) Card device
JPS61115158A (en) I/o interface control system
JP2003242096A (en) Usb controller
JPH05128043A (en) Data transfer control system

Legal Events

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

Payment date: 20040722

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee