KR19980077983A - How to process digital signals in a hard disk drive - Google Patents

How to process digital signals in a hard disk drive Download PDF

Info

Publication number
KR19980077983A
KR19980077983A KR1019970015333A KR19970015333A KR19980077983A KR 19980077983 A KR19980077983 A KR 19980077983A KR 1019970015333 A KR1019970015333 A KR 1019970015333A KR 19970015333 A KR19970015333 A KR 19970015333A KR 19980077983 A KR19980077983 A KR 19980077983A
Authority
KR
South Korea
Prior art keywords
signal processing
host computer
digital signal
disk drive
hard disk
Prior art date
Application number
KR1019970015333A
Other languages
Korean (ko)
Other versions
KR100465106B1 (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 KR1019970015333A priority Critical patent/KR100465106B1/en
Publication of KR19980077983A publication Critical patent/KR19980077983A/en
Application granted granted Critical
Publication of KR100465106B1 publication Critical patent/KR100465106B1/en

Links

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/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • 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
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0605Improving or facilitating administration, e.g. storage management by facilitating the interaction with a user or administrator
    • 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
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0674Disk device

Landscapes

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

Abstract

가. 청구범위에 기재된 발명이 속한 기술분야 : 본 발명은 하드 디스크 드라이브에 관한 것으로, 특히 호스트 컴퓨터와의 통신을 수행하여 디지털 신호처리 기능을 제공하는 방법에 관한 것이다.end. TECHNICAL FIELD The present invention relates to a hard disk drive, and more particularly, to a method for providing a digital signal processing function by communicating with a host computer.

나. 발명이 해결하려고 하는 기술적 과제 : 종래에는 입력되는 영상, 음성신호를 호스트컴퓨터의 CPU만으로 모든 연산을 처리하게 되므로 CPU의 성능이 신호 처리에 필요한 모든 연산을 처리하지 못할 경우 신호 처리 및 출력의 속도가 느려지게 되는 문제점이 있었다.I. The technical problem to be solved by the invention: conventionally, all the operations to process the input video and audio signal only with the CPU of the host computer, if the performance of the CPU does not process all the operations necessary for signal processing, the speed of signal processing and output There was a problem of slowing down.

다. 발명의 해결 방법의 요지 : 상기와 같은 문제점을 달성하기 위한 본 발명은 디지털 신호 처리 연산장치를 구비한 하드 디스크 드라이브에서 호스트컴퓨터와의 상호 통신에 의해 디지털 신호 처리하는 방법에 있어서; 상기 호스트컴퓨터로부터 전송되는 디지털 신호 처리 요구명령을 전송받아 상기 내부의 디지털 신호 처리 연산장치를 초기화한 후 이후에 상기 호스트컴퓨터로부터 전송되는 신호처리용 데이터를 연산처리하여 다시 상기 호스트컴퓨터에 전송함을 특징으로 한다.All. SUMMARY OF THE INVENTION The present invention provides a method for processing digital signals by mutual communication with a host computer in a hard disk drive having a digital signal processing unit; After receiving the digital signal processing request command transmitted from the host computer, initialize the internal digital signal processing unit, and then calculate and process the signal processing data transmitted from the host computer and transmit it to the host computer again. It features.

라. 발명의 중요한 용도 : 디지털 신호 처리 기능을 제공하는 보조 기억 장치.la. Important use of the invention: auxiliary storage providing digital signal processing function.

Description

하드 디스크 드라이브에서 디지털 신호 처리 방법How to process digital signals in a hard disk drive

본 발명은 하드 디스크 드라이브에 관한 것으로, 특히 호스트 컴퓨터와의 통신을 수행하여 디지털 신호처리 기능을 제공하는 방법에 관한 것이다.The present invention relates to a hard disk drive, and more particularly to a method for providing a digital signal processing function by performing communication with a host computer.

통상적으로, 개인용 컴퓨터 혹은 다른 각종 범용컴퓨터등에서 대용량의 데이터를 기록, 보존, 독취하기 위하여 사용되는 보조 기억 장치의 예로는 하드 디스크 드라이브, CD-ROM 드라이브, 테이프 드라이브, 플로피 디스크 드라이브 등등이 있다. 이러한 보조 기억장치의 응용예는 컴퓨터에서 데이터를 전송하여 보조기억장치의 특정 위치에 기록(WRITE)하거나, 보조기억 장치에서 특정 위치의 데이터를 독취(READ)하여 컴퓨터로 전송받는 작업을 주로 수행하며 그 외의 작업으로는 보조 기억 장치와 컴퓨터 사이의 전송방법을 정의하거나 보조 기억 장치의 사양을 보고하는 등의 간단한 명령만을 수행하는 것이 일반적이다. 이러한 작업을 위해서 컴퓨터 내부에서는 연산 및 제어기능을 담당하는 중앙 처리 장치(CENTRAL PROCESSING UNIT, 이하 CPU)가 상기의 일반적인 보조 기억 장치에서 독취, 전송하는 데이터를 읽어서 컴퓨터의 주 기억장치인 메모리(MEMORY)로 저장하거나 메모리에서 데이터를 읽어서 보조 기억 장치로 전송하여 보조 기억 장치가 데이터를 기록하도록 한다.In general, examples of auxiliary storage devices used for recording, storing, and reading a large amount of data in a personal computer or other general purpose computers include a hard disk drive, a CD-ROM drive, a tape drive, a floppy disk drive, and the like. The application example of the auxiliary storage device mainly transmits data from a computer to write to a specific location of the auxiliary memory device (WRITE), or reads data of a specific location from the auxiliary memory device to the computer and transfers the data to the computer. In other tasks, it is common to perform only simple commands such as defining a transfer method between the auxiliary storage device and the computer or reporting the specification of the auxiliary storage device. To do this, the central processing unit (CPU) in charge of arithmetic and control functions in the computer reads and reads data from the above general auxiliary storage device and stores the main memory of the computer (MEMORY). The data is stored in or read from the memory and transferred to the auxiliary storage device so that the auxiliary storage device writes the data.

한편, 컴퓨터에서 영상 및 음성등의 신호를 처리를 하고자 하는 경우, 그러한 영상 또는 음성 등의 정보는 디지털 신호의 일종이므로 디지털 신호 처리가 필수적이다. 그러므로, 상기의 디지털 신호처리의 연산을 위하여 CPU혹은 CPU와 보조 수치 연산 장치(이하 CPU로 통칭)가 연산 작업을 수행하거나 별도의 부가적인 연산 장치를 부착하여 작업을 수행한다. 이때, 상기 부가적인 연산 장치는 범용의 신호처리에 적합한 디지털 신호 처리 연산 장치( DSP : Digital Signal Processor) 혹은 특정 신호 처리 알고리듬을 하드웨어로 구현한 ASIC(Application Specific Integrated Circuit)등을 주축으로 하여 메모리와 부가 논리 회로등을 추가하여 구성하는 것이 일반적 이었다.On the other hand, when a computer wants to process signals such as video and audio, digital signal processing is essential because information such as video or audio is a kind of digital signal. Therefore, a CPU or a CPU and an auxiliary numerical operation device (hereinafter collectively referred to as CPU) perform a calculation operation or attach a separate additional calculation device to perform the digital signal processing. In this case, the additional arithmetic unit may include a digital signal processor (DSP) suitable for general purpose signal processing, or an ASIC (Application Specific Integrated Circuit) that implements a specific signal processing algorithm in hardware. It was common to add additional logic circuits and the like.

그 중 전자의 CPU만으로 영상 혹은 음성등의 디지털 신호 처리 연산을 하는 경우의 일반적인 실시예를 보면, 5단계의 과정을 거쳐 데이터를 연산처리 한다.Among the general embodiments in the case of performing digital signal processing operations such as video or audio using only the electronic CPU, data processing is performed through a five-step process.

그 첫단계로서, 데이터 연산처리 전의 디지털 신호 데이터가 보조 기억 장치에 저장되어 있는 경우 이를 독취하여 메모리에 저장하거나, 직접 신호의 입력 장치(예: 마이크와 음성 입력 장치, 비디오 카메라와 영상 입력 장치)로 부터 디지털 신호 데이터를 받아들여 메모리에 저장한다.As a first step, if the digital signal data before the data processing is stored in the auxiliary memory device, the digital signal data is read out and stored in the memory, or a direct signal input device (for example, a microphone and an audio input device, a video camera and an image input device). Receives digital signal data from and stores it in memory.

그런후, 두 번째 단계에서 메모리에 저장된 디지털 신호 데이터에 대해 전처리 과정(PRE-PROCESSING)을 수행한다. 이때, 상기와 같은 처리 과정은 CPU로 처리한다.Then, in the second step, PRE-PROCESSING is performed on the digital signal data stored in the memory. At this time, the above processing is performed by the CPU.

세 번째단계로서 상기 메모리에 저장된 디지털 신호에 대해서 상황에 따라 필요한 주 알고리듬-압축(encoding), 압축 복구(decoding), 변조(modulation), 변환(transform)등의 신호처리 알고리듬을 적용한다. 이때, 상기와 같은 처리 과정은 CPU로 처리한다.As a third step, a signal processing algorithm such as compression, decoding, modulation, transform, etc., which is necessary for a situation, is applied to the digital signal stored in the memory. At this time, the above processing is performed by the CPU.

네 번째로서 상기 메모리에 저장된 디지털 신호 데이터에 대해 후 처리 과정(POST-PROCESSING)을 수행한다. 이때, 상기와 같은 처리 과정은 CPU로 처리한다.Fourth, post-processing is performed on the digital signal data stored in the memory. At this time, the above processing is performed by the CPU.

다섯 번째로서 상기 처리가 끝난 디지털 신호 데이터를 메모리로부터 신호의 출력 장치(예: 영상출력 장치와 모니터 디스플레이, 음성 출력 장치와 스피커)에 출력하거나 보조 기억장치에 전송하여 기록한다.Fifth, the processed digital signal data is output from a memory to a signal output device (for example, an image output device and a monitor display, an audio output device and a speaker) or transmitted to an auxiliary storage device for recording.

또한, 후자의 부가적인 연산 장치를 부착하여 영상 혹은 음성등의 디지털 신호 처리 연산을 하는 경우의 실시예를 보면, 5단계의 과정을 거쳐 데이터를 연산처리 한다.In addition, when the latter additional arithmetic unit is attached to perform the digital signal processing operation such as video or audio, the data is processed through a five step process.

그 첫단계로서 데이터 연산처리하기 전의 디지털 신호 데이터가 보조 기억 장치에 저장되어 있는 경우 이를 독취하여 메모리에 저장하거나, 직접 신호의 입력 장치(예: 마이크와 음성 입력 장치, 비디오 카메라와 영상 입력장치)로부터 디지털 신호 데이터를 받아들여 메모리에 저장한다.As a first step, if the digital signal data before data processing is stored in the auxiliary memory device, it is read out and stored in the memory, or a direct signal input device (for example, a microphone and an audio input device, a video camera and an image input device). Digital signal data is received from the memory and stored in the memory.

두 번째로서 상기 메모리에 저장된 디지털 신호 데이터에 대해 전처리 과정9PRE-PROCESSING)을 수행한다. 이때, 상기 처리과정은 CPU에서 처리할 수도 있고, 부가적인 연산 장치로 처리할 수도 있다.Secondly, preprocessing 9 PRE-PROCESSING is performed on the digital signal data stored in the memory. In this case, the processing may be performed by a CPU or an additional computing device.

세 번째로서 상기 메모리에 저장된 디지털 신호에 대해서 상황에 따라 필요한 주 알고리듬 압축(encoding), 압축복구 (decoding), 변조(modulation), 변환(transform)등의 신호처리 알고리듬을 적용한다. 이때, 상기 처리과정은 CPU에서 처리할 수도 있고, 부가적인 연산 장치로 처리할수도 있다.Third, the main algorithm required for the digital signal stored in the memory is applied to a signal processing algorithm such as encoding, decoding, modulation, and transformation. In this case, the processing may be performed by the CPU or may be processed by an additional computing device.

네 번째로서 상기 메모리에 저장된 디지털 신호 데이터에 대해 후처리 과정(POST-PROCESSING)을 수행한다. 이때, 상기 처리과정은 CPU에서 처리할 수도 있고, 부가적인 연산 장치로 처리할 수도 있다.Fourth, post-processing is performed on the digital signal data stored in the memory. In this case, the processing may be performed by a CPU or an additional computing device.

다섯 번째로서 상기 처리가 끝난 디지털 신호 데이터를 신호의 출력 장치(예: 영상 출력 장치와 모니터 디스플레이, 음성 출력 장치와 스피커)에 출력하거나 보조 기억장치에 전송하여 기록한다.Fifth, the processed digital signal data is output to a signal output device (for example, an image output device and a monitor display, an audio output device and a speaker) or transmitted to an auxiliary storage device for recording.

따라서, 상기 부가적인 연산장치를 사용하는 경우에 신호 처리는 일부 연산 처리 과정은 CPU를 사용하여 수행하고 그외의 연산 처리 과정은 부가적인 연산 장치를 사용하여 수행하게 되며, 각 단계를 마친 후에 처리된 데이터를 다음단계를 처리하는 장치로 전송해주면 된다. 일례로 CPU에서 프리-프로세싱(pre-processing)과 포스트-프로세싱(post-processing)을 처리하고 부가적인 연산 장치로 주 알고리듬을 처리하는 경우에, 프리-프로세싱을 수행한 뒤에 신호 데이터를 부가적인 연산 장치로 전송해주고 또는 부가적인 연산 장치에서 주 알고리듬을 수행한 뒤의 신호 데이터를 다시 CPU가 포스트-프로세싱을 수행할 수 있도록 CPU의 메모리로 전송해주는 것이 필요하다.Therefore, in the case of using the additional arithmetic unit, signal processing is performed using a CPU and other arithmetic processing is performed using an additional arithmetic unit. Send the data to the device that handles the next step. For example, if the CPU handles pre-processing and post-processing and processes the main algorithm with an additional computing device, additional processing of signal data after performing pre-processing It is necessary to transfer the signal data from the device to the device or after performing the main algorithm on the additional computing device back to the memory of the CPU so that the CPU can perform post-processing.

하지만, 상술한 전자와 같이 디지털 신호 처리 기능을 CPU에서 처리할 경우 컴퓨터에 추가의 하드웨어를 장착하기 않고 소프트웨어 만으로 연산 처리 기능을 수행하므로 융통성있는 신호 처리 알고리듬을 구현하는 것이 가능하나, CPU만으로 모든 연산을 처리하게 되므로 CPU의 성능이 신호 처리에 필요한 모든 연산을 처리하지 못할 경우 신호 처리 및 출력의 속도가 느려지게 되는 문제점이 있었다.However, when the digital signal processing function is processed by the CPU as described above, it is possible to implement a flexible signal processing algorithm because only the software performs the calculation processing function without attaching additional hardware to the computer. Since the processing of the CPU can not process all the operations necessary for signal processing, the signal processing and output speed is slowed.

다른 문제점으로서, 상술한 후자와 같이 부가적인 연산 장치를 사용하는 경우에는 융통성있는 신호 처리 알고리듬을 구현하는 것은 어려우나, 부가적인 연산 장치가 CPU의 연산 부담을 덜어주게 되어 신호 처리 및 출력 속도를 고속화할 수 있었다. 하지만, 추가의 하드웨어를 장착해야 하는 비용 상승의 문제점이 있엇다.As another problem, it is difficult to implement a flexible signal processing algorithm in the case of using an additional computing device such as the latter described above, but the additional computing device can reduce the computational burden of the CPU and speed up the signal processing and output speed. Could. However, there has been a problem of increased cost to install additional hardware.

따라서, 본 발명의 목적은 추가의 하드웨어를 별도로 구성하지 않고도 영상, 음성등의 신호를 고속화하기 위해 모든 컴퓨터에 필수적으로 장착되는 보조 기억 장치에서 디지털 신호 처리 기능을 대신 수행하도록 하는 방법을 제공함에 있다.Accordingly, it is an object of the present invention to provide a method for performing a digital signal processing function in an auxiliary storage device, which is essentially installed in all computers, for speeding up signals such as video and audio without additional hardware. .

상기와 같은 목적을 달성하기 위한 본 발명은 디지털 신호 처리 연산장치를 구비한 하드 디스크 드라이브에서 호스트컴퓨터와의 상호 통신에 의해 디지털 신호 처리하는 방법에 있어서; 상기 호스트컴퓨터로부터 전송되는 디지털 신호 처리 요구명령을 전송받아 상기 내부의 디지털 신호 처리 연산장치를 초기화한 후 이후에 상기 호스트컴퓨터로부터 전송되는 신호처리용 데이터를 연산처리하여 다시 상기 호스트컴퓨터에 전송함을 특징으로 한다.The present invention for achieving the above object is a method for digital signal processing by mutual communication with a host computer in a hard disk drive having a digital signal processing operation apparatus; After receiving the digital signal processing request command transmitted from the host computer, initialize the internal digital signal processing unit, and then calculate and process the signal processing data transmitted from the host computer and transmit it to the host computer again. It features.

도 1은 본 발명에 적용되는 일반적인 하드 디스크 드라이브의 블럭구성도이다.1 is a block diagram of a general hard disk drive according to the present invention.

도 2는 본 발명의 일 실시예에 따른 호스트와 연계하여 상기 호스트로부터 입력되는 디지털 신호처리 데이터를 연산처리하는 제어흐름도이다.FIG. 2 is a control flowchart illustrating arithmetic processing of digital signal processing data input from the host in association with a host according to an embodiment of the present invention.

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

도 1은 본 발명에 적용되는 일반적인 하드 디스크 드라이브의 블럭구성도이다. 도 1을 참조하면, 디스크들(110)은 스핀들(spindle) 모터(134)에 의해 회전한다. 자기헤드들(112)은 디스크들(110)중 대응하는 하나의 디스크면상에 위치하며, 환형 보이스 코일(rotary voice coil) 액츄에이터(130)와 결합된 E-블럭 어셈블리(114)로 부터 디스크들(110)쪽으로 신장된 서포트 암들에 각각 대응되게 설치된다. 전치증폭기(116)는 리드시에는 헤드들(112) 중 하나에 의해 픽업된 신호를 전치증폭하여 아나로그 리드신호를 리드/라이트 채널(read/write channel)회로(118)에 인가하며, 라이트시에는 리드/라이트 채널회로(118)로부터 인가되는 부호화된 라이트데이타를 헤드들(112)중 대응하는 하나의 헤드를 통해 디스크 상에 라이트되도록 한다. 리드/라이트 채널회로(118)는 전치증폭기(116)로부터 인가되는 리드신호로부터 데이타 펄스를 검출하고 디코딩하여 DDC(Disk Data Controller)(120)에 인가하며, DDC(120)로부터 인가되는 라이트데이타를 디코딩하여 전치증폭기(116)에 인가한다. DDC(120)은 서보라이터로부터 수신되는 데이타를 리드/라이트 채널회로(118)와 전치증폭기(116)를 통해 디스크상에 라이트 한다. 또한 DDC(120)는 호스트컴퓨터와 마이크로 콘트롤러(124)간의 통신을 인터페이스한다. 버퍼 램(122)은 호스트컴퓨터와, 마이크로 콘트롤러(124)와, 리드/라이트 채널회로(118) 사이에 전송되는 데이타를 일시 저장한다. 마이크로 콘트롤러(126)는 호스트컴퓨터로 부터 수신되는 리드 또는 라이트 명령에 응답하여 DDC(120)를 제어하며 트랙 탐색 및 트랙 추종을 제어하고, 상기 호스트 컴퓨터로부터 디지털 신호 처리 기능에 대한 요구신호가 있을 시 내부의 디지털 신호 처리 연산 장치(DSP)를 사용하여 상기 호스트컴퓨터로부터 전송되는 데이터를 연산처리 한다. PROM(126)은 마이크로 콘트롤러(124)의 수행 프로그램 및 각종 설정값들을 저장한다. 서보구동부(128)는 마이크로 콘트롤러(124)로부터 발생되는 헤드들(112)의 위치 제어를 위한 신호에 의해 액츄에이터(130)를 구동하기 위한 구동전류를 발생하여 액츄에이터(130)의 보이스 코일에 인가한다. 액츄에이터(130)는 서보구동부(128)로부터 인가되는 구동전류의 방향 및 레벨에 대응하여 헤드들(112)을 디스크들(110)상에서 이동시킨다. 스핀들 모터 구동부(132)는 마이크로 콘트롤러(124)로부터 발생되는 디스크들(110)의 회전 제어를 위한 제어값에 따라 스핀들 모터(134)를 구동하여 디스크들(110)을 회전시킨다. 디스크신호 제어부(236)는 마이크로 콘트롤러(124)의 제어에 의거하여 리드/라이트에 필요한 각종 타이밍신호들을 발생하며 서보정보를 디코딩하여 마이크로 콘트롤러(124)에 인가한다.1 is a block diagram of a general hard disk drive according to the present invention. Referring to FIG. 1, the disks 110 are rotated by a spindle motor 134. The magnetic heads 112 are located on the corresponding one of the disks 110 and face the disks from the E-block assembly 114 coupled with the rotary voice coil actuator 130. Corresponding to the support arms extending toward 110, respectively. The preamplifier 116 preamplifies the signal picked up by one of the heads 112 and applies the analog read signal to the read / write channel circuit 118 at the time of read. Encoded write data applied from the read / write channel circuit 118 is written onto the disc through a corresponding one of the heads 112. The read / write channel circuit 118 detects and decodes a data pulse from a read signal applied from the preamplifier 116 and applies it to the disk data controller (DDC) 120. The read / write channel circuit 118 applies the write data applied from the DDC 120. Decode and apply to preamplifier 116. The DDC 120 writes the data received from the servo writer on the disk through the read / write channel circuit 118 and the preamplifier 116. The DDC 120 also interfaces the communication between the host computer and the microcontroller 124. The buffer RAM 122 temporarily stores data transferred between the host computer, the microcontroller 124 and the read / write channel circuit 118. The microcontroller 126 controls the DDC 120 in response to a read or write command received from the host computer, controls track search and track following, and when there is a request signal for a digital signal processing function from the host computer. An internal digital signal processing unit (DSP) is used to process the data transmitted from the host computer. The PROM 126 stores a program executed by the microcontroller 124 and various setting values. The servo driver 128 generates a driving current for driving the actuator 130 by a signal for controlling the position of the heads 112 generated from the microcontroller 124 and applies it to the voice coil of the actuator 130. . The actuator 130 moves the heads 112 on the disks 110 corresponding to the direction and level of the driving current applied from the servo driver 128. The spindle motor driver 132 rotates the disks 110 by driving the spindle motor 134 according to a control value for the rotation control of the disks 110 generated from the microcontroller 124. The disk signal controller 236 generates various timing signals necessary for read / write under the control of the microcontroller 124, decodes the servo information, and applies the decoded servo information to the microcontroller 124.

그러면, 상기와 같은 하디 디스크 드라이브를 이용하여 디지털 연산처리를 대신 수행하도록 동작하는 제어흐름을 도 2를 통해 설명한다.Next, a control flow that operates to perform digital arithmetic processing using the hard disk drive as described above will be described with reference to FIG. 2.

도 2는 본 발명의 일 실시예에 따른 호스트와 연계하여 상기 호스트로부터 입력되는 디지털 신호처리 데이터를 연산처리하는 제어흐름도이다. 도 2를 참조하면,FIG. 2 is a control flowchart illustrating arithmetic processing of digital signal processing data input from the host in association with a host according to an embodiment of the present invention. 2,

먼저 ①단계에서 호스트컴퓨터의 프로그램에서 응용 동작에 필요한 데이터의 입/출력등을 수행하기 위하여 컴퓨터의 인터페이스를 통하여 하드 디스크 드라이브에 요구명령을 전송한다. 그런후, ②단계에서 호스트컴퓨터의 인터페이스와 연결되어 있는 하드 디스크 드라이브 내부의 인터페이스 콘트롤러(DDC)(120)는 명령의 전송을 인지하여 마이크로 콘트롤러(124)에 이를 통지한다. 이러한 통지를 위하여 통상적으로 사용되는 방법은 마이크로 콘트롤러의 인터럽트 입력단에 인터럽트 신호를 활성화하여 통지하는 방법과 마이크로 콘트롤러가 인터페이스 콘트롤러의 내부 상태를 기록한 레지스터를 읽어 갈때까지 기다리는 방법등이 있다.First, in step ①, the host computer program sends a request command to the hard disk drive through the computer interface in order to perform input / output of data necessary for the application operation. Then, in step ②, the interface controller (DDC) 120 inside the hard disk drive connected to the interface of the host computer recognizes the transmission of the command and notifies the microcontroller 124 of this. Commonly used methods for such notification include a method of activating and notifying an interrupt signal at the interrupt input of the microcontroller, and a method of waiting for the microcontroller to read a register that records the internal state of the interface controller.

그런후, 마이크로 콘트롤러(124)의 펌 웨어(F/W)는 인터페이스 콘트롤러로부터 명령을 읽어서 이를 디코드하고 각 명령에 필요한 작업을 수행한다. 이때, 필요한 작업들은 자기헤드등의 물리적인 위치를 제어하여 자기디스크상의 원하는 위치로 이동하는 SEEK작업, 컴퓨터로부터의 데이터를 입력받는 작업, 컴퓨터로 데이터를 출력하는 작업, 자기디스크 상의 원하는 위치로부터 데이터를 읽는 작업, 자기디스크상의 위치에 데이터를 쓰는 작업 등이 있다. 그런후, 상기와 같이 명령 수행 작업을 완료한 후에 하드 디스크 드라이브의 상태를 호스트컴퓨터로 전송하고 다음 명령을 받을 준비를 한다.Thereafter, the firmware F / W of the microcontroller 124 reads commands from the interface controller, decodes them, and performs operations required for each command. At this time, necessary tasks include the SEEK operation to move to the desired position on the magnetic disk by controlling the physical position of the magnetic head, the operation of receiving data from the computer, the operation of outputting data to the computer, and the data from the desired position on the magnetic disk. Reading data, writing data to a location on a magnetic disk, and so on. Then, after completing the command execution operation as described above, the state of the hard disk drive is transmitted to the host computer and ready to receive the next command.

이때, 상기 동작예에서 컴퓨터와 보조 기억 장치 사이의 구체적인 데이터 전송 방법이나, 명령 전송방법, 상태 전송 방법 등은 보조 기억 장치와 컴퓨터가 채택하고 있는 인터페이스 규격에 따라 판이하게 다르므로, 그 구체적이고 상세한 방법의 서술은 생략하도록 한다.At this time, the specific data transfer method, command transfer method, state transfer method, etc. between the computer and the auxiliary storage device in the above-described operation are different depending on the interface standard adopted by the auxiliary storage device and the computer. The description of the method is omitted.

본 발명을 사용하여 신호 처리 기능을 보조 기억 장치에서 제공하는 경우, 신호 처리 명령 수행시의 동작예를 들어보면, ③∼⑤단계에서 먼저 컴퓨터의 소프트웨어에서 신호 처리에 필요한 기능을 나타내는 명령 코드와 데이터를 하드 디스크 드라이브에 전송한다. 그런후, 호스트컴퓨터의 인터페이스와 연결되어 있는 하드 디스크 드라이브내부의 인터페이스 콘트롤러(120)는 명령의 전송을 인지하여 마이크로 콘트롤러(124)에 이를 통지한다. 그런후, 마이크로 콘트롤러(124)의 펌웨어(F/W)는 인터페이스 콘트롤러(120)로부터 명령을 읽어서 이를 디코드하고 각 명령에 필요한 작업을 수행한다. 이때, 상기 마이크로 콘트롤러(120)에서 읽은 명령이 나타내는 신호 처리 기능을 전송받은 데이터에 연산 처리한다. 그런후, 상기 연산 처리된 데이터는 호스트컴퓨터로 전송하기 전까지는 상기 하드 디스크 드라이브의 내부에 보존한다. 이때, 상기 호스트컴퓨터의 소프트웨어에서는 이미 연산 처리된 데이터에 추가적인 신호처리를 수행하기 위해 다른 명령을 전송하고 위의 과정을 되풀이 할 수도 있다. 그런후, ⑥단계에서 신호 처리 명령 수행 작업을 완료한 후에 마이크로콘트롤러(124)는 자체의 상태를 상기 호스트컴퓨터로 전송하고 다음 명령을 받을 준비를 한다. 그런후, ⑦단계에서 상기 호스트컴퓨터의 소프트웨어에서 신호 처리가 완료된 데이터를 전송 받기 위한 명령 코드를 하드 디스크 드라이브로 전송한다. 그런후, 상기 호스트컴퓨터의 인터페이스와 연결되어 있는 하드 디스크 드라이브 내부의 인터페이스 콘트롤러(120)는 명령의 전송을 인지하여 마이크로 콘트롤러(124)에 이를 통지한다. 이때, ⑧단계에서 상기 마이크로 콘트롤러(124)의 펌 웨어(F/W)는 인터페이스 콘트롤로(124)부터 명령을 읽고 신호 처리가 완료된 데이터를 호스트컴퓨터에 전송하고 하드 디스크 드라이브의 상태를 전송한 뒤 다음 명령을 받을 준비를 한 후 프로그램을 종료한다.In the case where the signal processing function is provided by the auxiliary storage device using the present invention, for example, when the signal processing instruction is executed, the command code and the data indicating the functions required for the signal processing in the software of the computer are first shown in steps 3 to 5. Is transferred to the hard disk drive. Then, the interface controller 120 in the hard disk drive connected to the interface of the host computer recognizes the transmission of the command and notifies the microcontroller 124 of this. Thereafter, the firmware F / W of the microcontroller 124 reads commands from the interface controller 120, decodes them, and performs operations required for each command. In this case, the microprocessor 120 performs arithmetic processing on the data received by the signal processing function indicated by the command read. The computed data is then stored in the hard disk drive until it is transferred to the host computer. In this case, the software of the host computer may transmit another command and repeat the above process to perform additional signal processing on the data already processed. Then, after completing the signal processing command execution task in step ⑥, the microcontroller 124 transmits its own state to the host computer and prepares to receive the next command. Then, in step ⑦, the software of the host computer transmits a command code for receiving the data whose signal processing is completed to the hard disk drive. Then, the interface controller 120 inside the hard disk drive connected to the interface of the host computer recognizes the transmission of the command and notifies the microcontroller 124 of this. At this time, in step ⑧, the firmware (F / W) of the microcontroller 124 reads a command from the interface controller 124, transmits data on which signal processing is completed, to the host computer, and transmits the state of the hard disk drive. Exit the program after preparing to receive the next command.

상술한 바와 같은 본 발명은 추가의 하드웨어를 별도로 구성하지 않고도 영상,음성등의 신호를 고속화하기 위해 모든 컴퓨터에 필수적으로 장착되는 보조 기억 장치에서 디지털 신호 처리 기능을 대신 수행하도록 하는 방법을 제공함으로서, 복잡한 연산 혹은 음성 등의 신호를 고속 처리 할 수 있다.As described above, the present invention provides a method for performing a digital signal processing function in an auxiliary storage device, which is essentially installed in all computers, for speeding up signals such as video and audio, without additional hardware. It can process complex operation or voice signals at high speed.

Claims (2)

디지털 신호 처리 연산장치를 구비한 하드 디스크 드라이브에서 호스트컴퓨터와의 상호 통신에 의해 디지털 신호 처리하는 방법에 있어서, 상기 호스트컴퓨터로부터 전송되는 디지털 신호 처리 요구명령을 전송받아 상기 드라이브의 디지털 신호 처리 연산장치를 초기화한 후 이후에 상기 호스트컴퓨터로부터 전송되는 신호처리용 데이터를 연산처리하여 다시 상기 호스트컴퓨터에 전송함을 특징으로 하는 디지털 신호 처리하는 방법.A method for digital signal processing by mutual communication with a host computer in a hard disk drive having a digital signal processing device, the digital signal processing device of the drive receiving a digital signal processing request command transmitted from the host computer. And processing the signal processing data transmitted from the host computer thereafter after initializing the data to be transmitted to the host computer. 디지털 신호 처리 연산장치를 구비한 하드 디스크 드라이브에서 호스트컴퓨터와의 상호 통신에 의해 디지털 신호 처리하는 방법에 있어서, 초기에 상기 호스트컴퓨터가 상기 하드 디스크 드라이브에 시스템 초기화 명령을 전송하여 상기 하드 디스크 드라이브를 초기화 시키는 제1과정과, 상기 하드 디스크 드라이브는 상기 초기화 명령을 수신하여 시스템을 초기화 시킨 후 상기 호스트컴퓨터에 초기화 응답신호를 전송하는 제2과정과, 상기 호스트컴퓨터가 초기화 응답신호를 수신한 후 상기 하드 디스크 드라이브에 디지털 신호 처리 요구명령 코드을 상기 하드 디스크 드라이브에 전송하는 제3과정과, 상기 하드 디스크 드라이브가 디지털 신호 처리 요구명령 코드를 수신한 후 상기 호스트컴퓨터에 디지털 신호 처리 응답신호를 전송하는 제4과정과, 상기 호스트컴퓨터가 초기화 응답신호를 수신한 후 상기 하드 디스크 드라이브에 데이터를 전송하는 제5과정과, 상기 하드 디스크 드라이브가 상기 데이터를 수신한 후 내부의 디지털 신호 처리 연산장치를 통해 연산처리한 후 상기 호스트컴퓨터에 전송하는 제6과정을 수행함을 특징으로 하는 디지털 신호 처리하는 방법.A method for digital signal processing by mutual communication with a host computer in a hard disk drive having a digital signal processing unit, the host computer initially transmits a system initialization command to the hard disk drive to provide the hard disk drive. A first process of initializing, a second process of receiving the initialization command, initializing the system, and transmitting an initialization response signal to the host computer; and after the host computer receives the initialization response signal, A third step of transmitting a digital signal processing request command code to the hard disk drive; and a step of transmitting a digital signal processing response signal to the host computer after the hard disk drive receives the digital signal processing request command code. 4 courses And a fifth process of transmitting data to the hard disk drive after the host computer receives the initialization response signal, and after the hard disk drive receives the data, processes the data through an internal digital signal processing device. And a sixth process of transmitting to the host computer.
KR1019970015333A 1997-04-24 1997-04-24 How to Process Digital Signals from Hard Disk Drives KR100465106B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970015333A KR100465106B1 (en) 1997-04-24 1997-04-24 How to Process Digital Signals from Hard Disk Drives

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970015333A KR100465106B1 (en) 1997-04-24 1997-04-24 How to Process Digital Signals from Hard Disk Drives

Publications (2)

Publication Number Publication Date
KR19980077983A true KR19980077983A (en) 1998-11-16
KR100465106B1 KR100465106B1 (en) 2005-04-08

Family

ID=37302031

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970015333A KR100465106B1 (en) 1997-04-24 1997-04-24 How to Process Digital Signals from Hard Disk Drives

Country Status (1)

Country Link
KR (1) KR100465106B1 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05298231A (en) * 1992-04-13 1993-11-12 Nec Corp Intelligent secondary storage
JPH0659952A (en) * 1992-08-07 1994-03-04 Toshiba Corp Magnetic disk device
GB2298296B (en) * 1995-02-23 1999-12-22 Sony Uk Ltd Data processing

Also Published As

Publication number Publication date
KR100465106B1 (en) 2005-04-08

Similar Documents

Publication Publication Date Title
US7631117B2 (en) Method for communicating between host and storage device, storage device, host, and system comprising storage device and host
JP4679943B2 (en) Data storage device and data rewrite processing method in nonvolatile memory thereof
JP4511641B2 (en) Hard disk drive initialization calibration routine execution method
JPS6292022A (en) Control system for transfer of data
EP0017666B1 (en) Methods of operating direct access storage means
KR100465106B1 (en) How to Process Digital Signals from Hard Disk Drives
JP2837155B2 (en) How to copy hard disk drive
US20040022096A1 (en) Method and apparatus for rewriting program executed in disk drive
JP2003186818A (en) Integrated drive controller for systems with integrated mass storage
JP2002183675A (en) Control device of data recording medium and method therefor, data recorder and control device
US7389378B2 (en) Write processing method for stream type commands and medium storage apparatus
JPH0793101A (en) Data backup device
JP3147575B2 (en) Data writing device and data block writing method
JP2641222B2 (en) Information processing device
JP2835844B2 (en) Magnetic tape unit
JP2621282B2 (en) Disk drive
JP2861777B2 (en) Disk device and disk control microcomputer
KR100365345B1 (en) Interface circuit of hard disk drive
JP2001084216A (en) Data prefetch system, prefetch method and recording medium
JP2008083978A (en) Data processor
JPS60159927A (en) Controlling lsi of large capacity auxiliary storage device
JPS58171724A (en) Copy controller of magnetic disc tape
JPH11305951A (en) Magnetic disk device
JPH03111959A (en) External device controller
JPS59168558A (en) Converting system of address mode

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee