KR19990056099A - Data sector reallocation using error correction code threshold change - Google Patents

Data sector reallocation using error correction code threshold change Download PDF

Info

Publication number
KR19990056099A
KR19990056099A KR1019970076077A KR19970076077A KR19990056099A KR 19990056099 A KR19990056099 A KR 19990056099A KR 1019970076077 A KR1019970076077 A KR 1019970076077A KR 19970076077 A KR19970076077 A KR 19970076077A KR 19990056099 A KR19990056099 A KR 19990056099A
Authority
KR
South Korea
Prior art keywords
data
error
sector
recovery process
data read
Prior art date
Application number
KR1019970076077A
Other languages
Korean (ko)
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 KR1019970076077A priority Critical patent/KR19990056099A/en
Publication of KR19990056099A publication Critical patent/KR19990056099A/en

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

가. 청구범위에 기재된 발명이 속한 기술분야:하드 디스크 드라이브의 데이타섹터 재할당(reassignment) 방법에 관한 것이다.end. TECHNICAL FIELD OF THE INVENTION The invention described in the claims relates to a method of reallocating data sectors of a hard disk drive.

나. 발명이 해결하려고 하는 기술적 과제:하드 디스크 드라이브에 있어서 성장 가능성 있는 디펙섹터를 ECC 임계치의 변경을 통하여 검출하고, 검출된 디펙섹터에 기록되어 있는 데이타를 예비섹터에 기록함으로서 데이타의 손실을 방지할 수 있는 데이타섹터 재할당방법을 제공함에 있다.I. The technical problem to be solved by the present invention is to detect the potential defect sector by changing the ECC threshold in the hard disk drive, and to prevent the loss of data by recording the data recorded in the detected defect sector in the spare sector. It provides a method of reallocating data sectors.

다. 그 발명의 해결방법의 요지:기록데이타에 대한 에러검출 및 정정을 수행하는 에러정정 제어부를 구비하는 하드 디스크 드라이브의 데이타섹터 재할당방법에 있어서, 임의의 데이타섹터에 대한 데이타 리드에러 발생시 에러정정능력을 가변시키면서 데이타 리드에러를 복구하는 에러복구과정과, 상기 에러복구과정에서 데이타 리드에러가 복구되지 않으면 상기 에러정정능력을 최대 임계치로 재설정하여 데이타 리드에러를 복구하는 최종 에러복구과정과, 상기 최종 에러복구과정에서 데이타 리드에러가 복구되면 복구된 데이타를 재할당된 예비섹터에 기록하는 예비섹터 재할당과정으로 이루어짐을 특징으로 한다.All. SUMMARY OF THE INVENTION A method of reallocating a data sector of a hard disk drive having an error correction control section for performing error detection and correction on recorded data, wherein the error correction capability occurs when a data read error occurs for any data sector. An error recovery process for recovering a data read error while varying the final error recovery process; and a final error recovery process for restoring a data read error by resetting the error correction capability to a maximum threshold value if the data read error is not recovered in the error recovery process. When the data read error is recovered in the error recovery process, a pre-sector reassignment process is performed in which the recovered data is recorded in the reassigned spare sector.

라. 발명의 중요한 용도:하드 디스크 드라이브의 디펙섹터 대체에 사용될 수 있다.la. Significant Use of the Invention: Can be used to replace defect sectors in hard disk drives.

Description

에러정정코드 임계치 변경을 이용한 데이타섹터 재할당방법Data sector reallocation using error correction code threshold change

본 발명은 하드 디스크 드라이브의 데이타섹터 재할당(reassignment)방법에 관한 것으로, 특히 에러정정코드(Error Correction Code)의 임계치 변경에 의해 성장 가능성 있는 디펙섹터를 검출하고 검출된 디펙섹터를 예비섹터로 재할당하는 방법에 관한 것이다.The present invention relates to a data sector reassignment method of a hard disk drive, and more particularly, to detect potential defect sectors by changing thresholds of error correction codes, and to redetect detected defect sectors as spare sectors. It is about how to assign.

하드 디스크 드라이브는 호스트컴퓨터로부터 데이타를 전송받아 헤드에 전류의 변화를 주어 디스크면에 데이타를 기록하고, 필요한 시기에 다시 디스크면의 자속변화를 헤드로 감지하여 기록된 데이타를 복원하는 데이타 기록재생장치이다. 하드 디스크 드라이브에서 데이타를 디스크면에 기록하는 과정을 데이타 라이트라하며, 디스크면에 기록된 데이타를 재생하는 과정을 데이타 리드과정이라 한다. 데이타 리드시에는 디스크면에 존재하는 마이크로 디펙(Micro Defect), 미립자(Particle), 외부 노이즈 등의 여러가지 요인에 의해 정상적으로 기록된 데이타를 리드할 수 없는 경우가 발생하기 때문에, 통상 데이타 라이트시 사용자 데이타 이외에 에러정정코드 ECC를 도 1에 도시한 바와 같이 데이타섹터에 추가하여 라이트한다.The hard disk drive receives data from the host computer, changes the current in the head, records the data on the disk surface, and detects the magnetic flux on the disk surface as a head to restore the recorded data. to be. The process of writing data on the disk surface in the hard disk drive is called data write, and the process of playing data recorded on the disk surface is called data read process. When reading data, normally recorded data cannot be read due to various factors such as micro defects, particles, and external noise present on the disk surface. In addition, the error correction code ECC is added to the data sector as shown in FIG.

도 1은 디스크면에 배열되는 데이타섹터의 포맷도를 도시한 것으로 정확한 스케일(scale)은 아니다. 도 1을 참조하면 데이타섹터는 데이타섹터의 ID정보가 기록되는 데이타 어드레스 마크(Address Mark:AM))영역과 실제 사용자 데이타가 기록되는 데이타영역 및 에러정정코드가 기록되는 ECC영역을 포함한다. 상술한 바와 같이 사용자 데이타에 추가되어 기록된 ECC는 데이타 리드시 데이타 오류를 검출하고 또한 제한된 범위내에서 에러정정을 수행하는데 활용된다. 이러한 ECC의 정정능력은 ECC의 종류, 길이 등에 의해 결정된다. 한편 데이타 리드시에 ECC의 정정능력내에서 발생하는 데이타 오류는 자동으로 정정되어 리드동작이 중단되지 않고 연속되는 다음 데이타섹터를 리드할 수 있으나, 데이타의 오류가 ECC 정정능력을 벗어나는 경우에는 리드동작을 멈추고 일반적인 에러복구 알고리즘을 통해 데이타를 재리드한다. 그러나 종래의 에러복구 알고리즘을 적용하여 데이타를 재리드하는 경우에도 데이타 오류가 ECC 정정능력을 벗어난다면 계속하여 리드에러가 발생할 수 있다. 즉, ECC 정정능력 이내의 데이타 오류에 대해서는 리드가 가능하지만, ECC 정정능력을 벗어나는 데이타 오류는 에러복구 알고리즘에 의해서도 복구할 수 없다. 일반적으로 디스크면에 존재하는 디펙은 제조공정의 디펙스캔공정에서 검출되므로, 사용자모드에서 발생되는 디펙의 초기상태는 매우 작은 양의 디펙에서부터 출발하게 된다. 따라서 계속적인 드라이브의 사용으로 매우 작은 마이크로 디펙등이 점차 소프트 디펙으로 천이됨에 따라서 데이타 오류의 크기가 ECC 정정능력을 벗어나게 된다. 이에 따라 데이타 오류가 ECC 정정능력을 벗어나기 전에 디펙섹터를 검출하고 검출된 디펙섹터를 예비섹터로 재할당함으로서 성장 가능성 있는 데이타섹터에 기록된 데이타를 보전시킬 필요가 있다.Fig. 1 shows a format diagram of data sectors arranged on a disk surface, and is not an accurate scale. Referring to FIG. 1, the data sector includes a data address mark (AM) area in which ID information of the data sector is recorded, a data area in which actual user data is recorded, and an ECC area in which an error correction code is recorded. As described above, the ECC recorded in addition to the user data is used to detect data errors when reading data and to perform error correction within a limited range. The ECC's correction capability is determined by the type, length, and the like of the ECC. On the other hand, data errors that occur within the ECC correction capability at the time of data reading are automatically corrected, and the next data sector can be read continuously without interrupting the read operation. However, if the data error is out of the ECC correction capability, the read operation is performed. Stops and reloads the data using the normal error recovery algorithm. However, even when reloading data by applying a conventional error recovery algorithm, read errors may continue if data errors deviate from ECC correction capability. That is, data errors within the ECC correction capability can be read, but data errors outside the ECC correction capability cannot be recovered by the error recovery algorithm. In general, since the defects present on the disk surface are detected in the defect scanning process of the manufacturing process, the initial state of the defects generated in the user mode starts from a very small amount of defects. As a result of the continued use of the drive, very small micro defects, etc. gradually transition to soft defects, so that the magnitude of the data error is out of the ECC correction capability. Accordingly, it is necessary to preserve the data recorded in the potential data sector by detecting the defect sector and reallocating the detected defect sector as a spare sector before the data error is out of ECC correction capability.

따라서 본 발명의 목적은 하드 디스크 드라이브에 있어서 성장 가능성 있는 디펙섹터를 ECC 임계치의 변경을 통하여 검출하고, 검출된 디펙섹터에 기록되어 있는 데이타를 예비섹터에 기록함으로서 데이타의 손실을 방지할 수 있는 데이타섹터 재할당방법을 제공함에 있다.Accordingly, an object of the present invention is to detect a potential defect sector in a hard disk drive by changing an ECC threshold value and to record data recorded in the detected defect sector in a spare sector to prevent data loss. A sector reallocation method is provided.

상기 목적을 달성하기 위한 본 발명은 기록데이타에 대한 에러검출 및 정정을 수행하는 에러정정 제어부를 구비하는 하드 디스크 드라이브의 데이타섹터 재할당방법에 있어서, 임의의 데이타섹터에 대한 데이타 리드에러 발생시 에러정정능력을 가변시키면서 데이타 리드에러를 복구하는 에러복구과정과, 상기 에러복구과정에서 데이타 리드에러가 복구되지 않으면 상기 에러정정능력을 최대 임계치로 재설정하여 데이타 리드에러를 복구하는 최종 에러복구과정과, 상기 최종 에러복구과정에서 데이타 리드에러가 복구되면 복구된 데이타를 재할당된 예비섹터에 기록하는 예비섹터 재할당과정으로 이루어짐을 특징으로 한다.SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a data sector reallocation method of a hard disk drive including an error correction control unit that performs error detection and correction on recording data, wherein the error correction is performed when a data read error occurs for any data sector. An error recovery process for recovering a data read error with varying capabilities, and a final error recovery process for restoring a data read error by resetting the error correction capability to a maximum threshold value if the data read error is not recovered in the error recovery process, and When the data read error is recovered in the final error recovery process, a presector reassignment process is performed in which the recovered data is recorded in the reallocated spare sector.

도 1은 디스크면에 배열되는 데이타섹터의 포맷도.1 is a format diagram of data sectors arranged on a disk surface;

도 2는 본 발명의 실시예에 따른 하드 디스크 드라이브의 블럭구성도.2 is a block diagram of a hard disk drive according to an embodiment of the present invention.

도 3은 도 2중 디스크 데이타 컨트롤러(36)의 상세 구성도.FIG. 3 is a detailed configuration diagram of the disk data controller 36 in FIG. 2.

도 4는 본 발명의 실시예에 따른 에러정정코드 임계치 변경을 이용한 데이타섹터 재할당 처리흐름도.4 is a data sector reallocation process flow diagram using an error correction code threshold change according to an embodiment of the present invention.

이하 첨부한 도면을 참조하여 본 발명의 바람직한 일실시예에 따른 동작을 상세히 설명하기로 한다.Hereinafter, an operation according to an exemplary embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명의 실시예에 따른 하드 디스크 드라이브의 블럭구성도를 도시한 것으로 두장의 디스크(10)와 그에 대응하는 4개의 헤드(12)를 구비한 하드 디스크 드라이브의 예를 보인 것이다. 도 2를 참조하면, 디스크(10)들은 통상 스택(stack)형태로서 스핀들모터(34) 구동축에 장착되어 회전하며 각각의 디스크면은 하나의 헤드(12)에 대응되어 있다. 헤드(12)는 디스크(10)의 표면상에 위치하며 환상 보이스 코일 모터(Rotary Voice Coil Motor;VCM)(28) 암 어셈블리(Arm Assembly)로부터 신장된 암(14)에 설치된다. 전치증폭기(16)는 데이타 리드시 헤드들(12)중 하나의 헤드에 의해 픽업된 리드신호를 전치증폭하여 리드/라이트 채널회로(read/write channel circuit)(18)에 인가하며 데이타 라이트시에는 리드/라이트 채널회로(18)로부터 인가되는 부호화된 기록데이타(Encoded Write Data)를 헤드들(12)중 하나의 헤드를 구동시켜 디스크(10)면에 라이트되도록 한다. 이때 전치증폭기(16)는 디스크 데이타 콘트롤러(Disk Data Controller:DDC)(36)의 제어에 의해 헤드들(12)중 하나를 선택한다.Figure 2 shows a block diagram of a hard disk drive according to an embodiment of the present invention, showing an example of a hard disk drive having two disks 10 and four heads 12 corresponding thereto. Referring to FIG. 2, the disks 10 are mounted on a drive shaft of the spindle motor 34 in a stack form, and each disk surface corresponds to one head 12. The head 12 is located on the surface of the disk 10 and is mounted to an arm 14 extending from an annular voice coil motor (VCM) 28 arm assembly. The preamplifier 16 preamplifies and applies the read signal picked up by one of the heads 12 to the read / write channel circuit 18 when data is read. Encoded write data applied from the read / write channel circuit 18 is driven to one of the heads 12 to be written to the disk 10 surface. At this time, the preamplifier 16 selects one of the heads 12 under the control of a disk data controller (DDC) 36.

리드/라이트 채널회로(18)는 전치증폭기(16)로부터 인가되는 리드신호를 디코딩하여 리드데이타 RDATA를 발생하며 DDC(36)로부터 인가되는 라이트데이타 WDATA를 인코딩하여 전치증폭기(16)에 인가한다. 리드/라이트 채널회로(18)는 또한 디스크(10)면에 라이트되어 있는 서보정보의 일부인 헤드위치정보를 복조(Demodulation)하여 PES(Position Error Signal)를 발생한다. 리드/라이트 채널회로(18)로부터 발생된 PES는 A/D 컨버터(20)에 인가되고, A/D컨버터(20)는 인가되는 PES를 그의 레벨에 대응하는 디지탈 단계값으로 변환하여 마이크로 콘트롤러(22)에 제공한다. DDC(36)는 도 3에 도시한 바와 같은 구성을 가지며 호스트컴퓨터로부터 수신되는 데이타를 리드/라이트 채널회로(18)와 전치증폭기(16)를 통해 디스크(10)면에 라이트하거나 디스크(10)로부터 리드된 데이타를 호스트컴퓨터로 전송한다. 또한 DDC(36)는 호스트컴퓨터와 마이크로 콘트롤러(22)간의 통신을 인터페이싱한다. 한편 마이크로 콘트롤러(22)는 메모리(40)에 저장된 제어프로그램에 따라 하드 디스크 드라이브의 전반적인 동작을 제어한다. 예를 들면, 마이크로 콘트롤러(22)는 호스트컴퓨터로부터 수신되는 데이타 리드/라이트 명령에 응답하여 DDC(36)를 제어하며 트랙탐색 및 트랙추종을 제어한다. 즉, A/D컨버터(20)로부터 입력되는 PES값을 이용하여 트랙추종을 제어하며 게이트어레이(Gate Array:도시하지 않았음)로부터 출력되는 각종 서보제어관련 신호에 대응하여 서보제어를 수행한다. 그리고 본 발명의 실시예에 따른 ECC 임계치를 변경을 통하여 디펙섹터를 예비섹터로 재할당한다. 한편 상기 메모리(40)는 본 발명의 실시예에 따른 제어프로그램이 저장된 롬과 제어동작시 발생하는 데이타를 일시 저장하기 위한 램으로 구성된다. D/A컨버터(24)는 마이크로 콘트롤러(22)로부터 발생되는 헤드들(12)의 위치제어를 위한 제어값을 아나로그신호로 변환하여 출력한다. VCM구동부(26)는 D/A컨버터(24)로부터 인가되는 신호에 의해 액츄에이터를 구동하기 위한 전류 I(t)를 발생하여 VCM(28)에 인가한다. 일측에 헤드들(12)이 부착된 액츄에이터의 타측에 위치하는 VCM(28)은 VCM구동부(26)로부터 입력되는 전류방향 및 전류레벨에 대응하여 헤드들(12)을 디스크(10)상에서 수평이동시킨다. 모터제어부(30)는 마이크로 콘트롤러(22)로부터 발생되는 디스크들(10)의 회전제어를 위한 제어값에 따라 스핀들모터 구동부(32)를 제어한다. 스핀들모터 구동부(32)는 모터제어부(30)의 제어에 따라 스핀들모터(34)를 구동하여 디스크들(10)을 회전시킨다. DDC(36)에 연결되어 있는 버퍼 메모리(38)는 상기 DDC(36)의 제어하에 디스크(10)와 호스트컴퓨터사이에 전송되는 데이타를 일시 저장한다.The read / write channel circuit 18 decodes a read signal applied from the preamplifier 16 to generate read data RDATA. The read / write channel circuit 18 encodes the write data WDATA applied from the DDC 36 and applies the read data WDATA to the preamplifier 16. The read / write channel circuit 18 also demodulates the head position information which is a part of the servo information written on the disk 10 surface to generate a position error signal (PES). The PES generated from the read / write channel circuit 18 is applied to the A / D converter 20, and the A / D converter 20 converts the applied PES into a digital step value corresponding to its level so as to provide a microcontroller ( 22). The DDC 36 has the configuration as shown in FIG. 3 and writes data received from the host computer to the disk 10 surface through the read / write channel circuit 18 and the preamplifier 16 or the disk 10. Transfer the data read from the host computer. The DDC 36 also interfaces the communication between the host computer and the microcontroller 22. The microcontroller 22 controls the overall operation of the hard disk drive according to a control program stored in the memory 40. For example, the microcontroller 22 controls the DDC 36 in response to data read / write commands received from the host computer and controls track search and track following. That is, the track tracking is controlled using the PES value input from the A / D converter 20 and the servo control is performed in response to various servo control signals output from a gate array (not shown). In addition, the defect sector is reassigned to the spare sector by changing the ECC threshold according to the embodiment of the present invention. On the other hand, the memory 40 is composed of a ROM for storing the control program according to an embodiment of the present invention and a RAM for temporarily storing data generated during the control operation. The D / A converter 24 converts a control value for position control of the heads 12 generated from the microcontroller 22 into an analog signal and outputs the analog signal. The VCM driver 26 generates a current I (t) for driving the actuator by a signal applied from the D / A converter 24 and applies it to the VCM 28. The VCM 28 located on the other side of the actuator having the heads 12 attached to one side moves the heads 12 horizontally on the disk 10 in response to the current direction and current level input from the VCM driver 26. Let's do it. The motor controller 30 controls the spindle motor driver 32 according to a control value for rotation control of the disks 10 generated from the microcontroller 22. The spindle motor driver 32 drives the spindle motor 34 to rotate the disks 10 under the control of the motor controller 30. The buffer memory 38 connected to the DDC 36 temporarily stores data transferred between the disk 10 and the host computer under the control of the DDC 36.

도 3은 도 2중 DDC(36)의 상세 구성도를 도시한 것으로, 상기 DDC(36)는 호스트컴퓨터와 마이크로 콘트롤러(22), 디스크(10) 및 버퍼 메모리(38)와 송,수신되는 신호를 인터페이싱하기 위한 다수개의 인터페이스부(InterFace:I/F라함)를 구비하고 있다. 그리고 상기 I/F부들은 각각 호스트 I/F 제어부(44), 버퍼 제어부(46), 디스크 제어부(48)에 의해 제어된다. 한편 디스크 ECC 제어부(50)는 데이타 라이트시 호스트컴퓨터로부터 전송된 데이타를 이용하여 ECC를 만들고, 데이타 리드시에는 리드된 데이타와 ECC를 활용하여 데이타에 오류가 있는지 판단하고 오류가 ECC 정정능력내에서 정정가능하다면 실시간으로 정정하는 기능을 수행한다. 이때 디스크 ECC 제어부(50)의 ECC 정정능력은 필요에 따라 가변할 수 있으며 ECC 정정능력을 가변 설정할 수 있는 장치는 디스크 ECC 제어부(50)내에 구비한다. 따라서 마이크로 콘트롤러(22)는 DDC(36) 내부의 디스크 ECC 제어부(50)를 제어하여 ECC 정정능력을 변경 설정할 수 있다.3 illustrates a detailed configuration diagram of the DDC 36 in FIG. 2, wherein the DDC 36 transmits and receives signals to and from a host computer, a microcontroller 22, a disk 10, and a buffer memory 38. It is provided with a plurality of interface units (InterFace: I / F) for interfacing. The I / F units are controlled by the host I / F controller 44, the buffer controller 46, and the disk controller 48, respectively. On the other hand, the disk ECC control unit 50 uses the data transmitted from the host computer to write the ECC. When the data is read, the disk ECC control unit 50 determines whether there is an error in the data by using the read data and the ECC. If correctable, a function to correct in real time is performed. At this time, the ECC correction capability of the disc ECC control unit 50 may vary as needed, and a device capable of variably setting the ECC correction capability is provided in the disc ECC control unit 50. Accordingly, the microcontroller 22 may change and set the ECC correction capability by controlling the disc ECC control unit 50 inside the DDC 36.

도 4는 본 발명의 실시예에 따른 에러정정코드 임계치 변경을 이용한 데이타섹터 재할당 처리흐름도를 도시한 것이다.4 is a flowchart illustrating a data sector reallocation process using an error correction code threshold change according to an embodiment of the present invention.

이하 도 2 내지 도 4를 참조하여 본 발명의 실시예에 따른 데이타섹터 재할당 처리방법을 상세히 설명하면 다음과 같다.Hereinafter, a data sector reallocation processing method according to an embodiment of the present invention will be described in detail with reference to FIGS. 2 to 4.

우선 마이크로 콘트롤러(22)는 60단계에서 소정 데이타섹터에 대한 데이타 리드명령이 수신되는가를 검사하여 데이타 리드명령이 수신되면 62단계로 진행한다. 62단계에서 마이크로 콘트롤러(22)는 목표 데이타섹터를 탐색한후 64단계로 진행하여 ECC 정정능력을 최대치의 1/3로 설정한다. 그리고 66단계에서 목표 데이타섹터에 기록되어 있는 데이타를 리드하기 시작한다. 이러한 경우 마이크로 콘트롤러(22)는 상기 목표 데이타섹터에서 데이타 리드에러가 발생하는가를 68단계에서 검사한다. 검사결과 데이타 리드에러가 발생하지 않으면 마이크로 콘트롤러(22)는 82단계로 진행하여 다음 데이타섹터를 계속적으로 리드한다. 그러나 68단계에서 데이타 리드에러가 발생하면 마이크로 콘트롤러(22)는 70단계로 진행하여 정해진 횟수만큼의 일반적인 에러복구 알고리즘을 수행한다. 이때 ECC 정정능력은 변경되지 않는다. 이후 마이크로 콘트롤러(22)는 72단계에서 에러복구 알고리즘에 의해 에러가 복구되었는가를 검사하여 복구되지 않았으면 74단계로 진행하고, 에러가 복구되었으면 82단계로 진해아여 계속적으로 다음 데이타섹터를 리드한다. 한편 74단계로 진행한 마이크로 콘트롤러(22)는 현재 1/3로 설정된 ECC 정정능력을 최대치로 변경 설정한후 76단계로 진행하여 상기 목표 데이타섹터를 재리드한다. 그리고 78단계에서 에러가 복구되는가를 검사한다. 만약 78단계에서 에러가 정상적으로 복구되었다면 마이크로 콘트롤러(22)는 80단계로 진행하여 데이타섹터를 재할당한다. 데이타섹터 재할당이라함은 마이크로 디펙을 가지는 상기 목표 데이타섹터가 디펙섹터로 성장할 가능성이 있으므로 상기 목표 데이타섹터에 기록된 데이타를 리드한후 이를 재할당된 예비섹터에 재기록하는 과정까지의 동작을 의미한다. 데이타섹터를 재할당한 마이크로 콘트롤러(22)는 이후 82단계로 진행하여 다음 데이타섹터를 연속적으로 리드하는 방식으로 데이타 리드명령에 따른 일련의 동작을 수행한다. 이후 마이크로 디펙을 가지는 상기 목표 데이타섹터에 대한 리드/라이트 동작은 리맵핑(Remapping)된 상기 예비섹터를 대상으로 하여 이루어진다.First, the microcontroller 22 checks whether a data read command for a predetermined data sector is received in step 60 and proceeds to step 62 when a data read command is received. In step 62, the microcontroller 22 searches for the target data sector and proceeds to step 64 to set the ECC correction capability to 1/3 of the maximum value. In step 66, the data recorded in the target data sector is started to be read. In this case, the microcontroller 22 checks in step 68 whether a data read error occurs in the target data sector. If no data read error occurs, the microcontroller 22 proceeds to step 82 to continuously read the next data sector. However, if a data read error occurs in step 68, the microcontroller 22 proceeds to step 70 to perform a general error recovery algorithm a predetermined number of times. At this time, the ECC correction capability is not changed. Thereafter, the microcontroller 22 checks whether the error has been recovered by the error recovery algorithm in step 72, and proceeds to step 74 if it does not recover, and proceeds to step 82 if the error is recovered, and continues reading the next data sector. On the other hand, the microcontroller 22 proceeds to step 74 and changes the ECC correction capability currently set to 1/3 to the maximum value and proceeds to step 76 to reread the target data sector. In step 78, the error is repaired. If the error is normally recovered in step 78, the microcontroller 22 proceeds to step 80 to reallocate the data sectors. Data sector reallocation means an operation from reading the data recorded in the target data sector to rewriting the data sector in the reallocated spare sector since the target data sector having the microdefect may grow into the defect sector. do. The microcontroller 22 reallocating the data sector then proceeds to step 82 to perform a series of operations according to the data read command by continuously reading the next data sector. Thereafter, the read / write operation on the target data sector having the microdefect is performed on the remapping the spare sector.

상술한 바와 같이 본 발명은 데이타 리드시 데이타 리드에러가 발생하면 설정된 횟수까지는 정상적인 에러복구 알고리즘을 수행하여 데이타를 복구시키지만, 정상적으로 데이타 에러가 복구되지 않을 경우에는 ECC 정정능력을 최대치로 설정하여 데이타 에러를 복구한다. 그리고 이와 같이 복구된 데이타를 재할당된 예비섹터에 재 기록함으로서 추후 디펙판정될 수 있는 데이타섹터에 기록된 데이타의 손실을 방지하게 된다.As described above, the present invention recovers data by performing a normal error recovery algorithm up to a set number of times when a data read error occurs during data read. However, when the data error is not normally recovered, the ECC correction capability is set to the maximum value so that the data error occurs. To recover. By rewriting the recovered data in the reallocated spare sector, the data recorded in the data sector that can be later defected is prevented.

상술한 바와 같이 본 발명은 ECC 정정능력을 최대치로 설정하여 데이타 리드에러를 복구함으로서 추후 성장 가능성 있는 디펙섹터를 사전에 검출할 수 있으며, 복구된 데이타를 재할당된 예비섹터에 재기록함으로서 데이타의 손실을 막을 수 있는 잇점이 있다.As described above, the present invention can detect a potential defect sector in advance by recovering a data read error by setting the ECC correction capability to the maximum value, and loss of data by rewriting the recovered data in the reallocated spare sector. There is an advantage to prevent this.

Claims (2)

기록데이타에 대한 에러검출 및 정정을 수행하는 에러정정 제어부를 구비하는 하드 디스크 드라이브의 데이타섹터 재할당방법에 있어서,A data sector reallocation method of a hard disk drive, comprising: an error correction control unit that detects and corrects recorded data; 임의의 데이타섹터에 대한 데이타 리드에러 발생시 에러정정능력을 가변시키면서 데이타 리드에러를 복구하는 에러복구과정과,An error recovery process for recovering a data read error while varying the error correction capability when a data read error occurs for an arbitrary data sector; 상기 에러복구과정에서 데이타 리드에러가 복구되지 않으면 상기 에러정정능력을 최대 임계치로 재설정하여 데이타 리드에러를 복구하는 최종 에러복구과정과,A final error recovery process of restoring the data read error by resetting the error correction capability to a maximum threshold if the data read error is not recovered in the error recovery process; 상기 최종 에러복구과정에서 데이타 리드에러가 복구되면 복구된 데이타를 재할당된 예비섹터에 기록하는 예비섹터 재할당과정으로 이루어짐을 특징으로 하는 데이타섹터 재할당방법.And a presector reassignment process of recording the recovered data in the reassigned spare sector when the data read error is recovered in the final error recovery process. 기록데이타에 대한 에러검출 및 정정을 수행하는 에러정정 제어부를 구비하는 하드 디스크 드라이브의 데이타섹터 재할당방법에 있어서,A data sector reallocation method of a hard disk drive, comprising: an error correction control unit that detects and corrects recorded data; 데이타 리드에러 발생시 에러정정능력을 최대 임계치 보다 작은 값으로 설정하여 데이타 리드에러를 복구하는 제1에러복구과정과,A first error recovery process for recovering a data read error by setting the error correction capability to a value smaller than the maximum threshold when a data read error occurs; 상기 제1에러복구과정에서 에러복구가 불가능한 경우 상기 에러정정능력을 최대 임계치로 설정하여 데이터 리드에러를 복구하는 제2에러복구과정과,A second error recovery process of recovering a data read error by setting the error correction capability to a maximum threshold value when error recovery is impossible in the first error recovery process; 상기 제2에러복구과정에서 에러복구된 경우 해당 데이타섹터를 예비섹터로 재할당하는 예비섹터 재할당과정으로 이루어짐을 특징으로 하는 데이타섹터 재할당방법.The data sector reallocation method of claim 2, wherein the error recovery process is performed by a presector reassignment process in which the data sector is reassigned as a preliminary sector.
KR1019970076077A 1997-12-29 1997-12-29 Data sector reallocation using error correction code threshold change KR19990056099A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970076077A KR19990056099A (en) 1997-12-29 1997-12-29 Data sector reallocation using error correction code threshold change

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970076077A KR19990056099A (en) 1997-12-29 1997-12-29 Data sector reallocation using error correction code threshold change

Publications (1)

Publication Number Publication Date
KR19990056099A true KR19990056099A (en) 1999-07-15

Family

ID=66171790

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970076077A KR19990056099A (en) 1997-12-29 1997-12-29 Data sector reallocation using error correction code threshold change

Country Status (1)

Country Link
KR (1) KR19990056099A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100568422B1 (en) * 1998-01-16 2006-05-25 삼성전자주식회사 Read data error correction method
KR20100109445A (en) * 2009-03-30 2010-10-08 가부시끼가이샤 도시바 Memory controller and semiconductor memory apparatus
US8335048B2 (en) 2009-11-03 2012-12-18 Seagate Technology Method of managing defect and apparatuses using the same

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06291682A (en) * 1993-04-06 1994-10-18 Sony Corp Error correcting device
US5444719A (en) * 1993-01-26 1995-08-22 International Business Machines Corporation Adjustable error-correction composite Reed-Solomon encoder/syndrome generator
JPH07311906A (en) * 1994-05-19 1995-11-28 Toshiba Corp Data-recording/reproducing apparatus and method for processing error
JPH08195046A (en) * 1995-01-13 1996-07-30 Internatl Business Mach Corp <Ibm> Method and equipment for data processing
KR980004788A (en) * 1996-06-12 1998-03-30 김광호 How to recover from a hard disk drive
KR19980041826A (en) * 1996-11-19 1998-08-17 제프리엘.포맨 How to run an error recovery procedure
KR19990012103A (en) * 1997-07-26 1999-02-25 윤종용 Reallocating Data Sector by Soft Defect Detection
KR0170261B1 (en) * 1992-09-02 1999-04-15 김광호 The most appropriate recording/reproducing apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0170261B1 (en) * 1992-09-02 1999-04-15 김광호 The most appropriate recording/reproducing apparatus
US5444719A (en) * 1993-01-26 1995-08-22 International Business Machines Corporation Adjustable error-correction composite Reed-Solomon encoder/syndrome generator
JPH06291682A (en) * 1993-04-06 1994-10-18 Sony Corp Error correcting device
JPH07311906A (en) * 1994-05-19 1995-11-28 Toshiba Corp Data-recording/reproducing apparatus and method for processing error
JPH08195046A (en) * 1995-01-13 1996-07-30 Internatl Business Mach Corp <Ibm> Method and equipment for data processing
KR980004788A (en) * 1996-06-12 1998-03-30 김광호 How to recover from a hard disk drive
KR19980041826A (en) * 1996-11-19 1998-08-17 제프리엘.포맨 How to run an error recovery procedure
KR19990012103A (en) * 1997-07-26 1999-02-25 윤종용 Reallocating Data Sector by Soft Defect Detection

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100568422B1 (en) * 1998-01-16 2006-05-25 삼성전자주식회사 Read data error correction method
KR20100109445A (en) * 2009-03-30 2010-10-08 가부시끼가이샤 도시바 Memory controller and semiconductor memory apparatus
US8335048B2 (en) 2009-11-03 2012-12-18 Seagate Technology Method of managing defect and apparatuses using the same

Similar Documents

Publication Publication Date Title
US6781780B1 (en) Method and system for preventing data loss from an off-track write condition in a disk drive by rewriting data buffered from an adjacent track
KR100233319B1 (en) Method for executing an error recovery procedure
US6735033B1 (en) Method for recovering from shock events occurring to a disk drive during data write operations to improve data reliability
US6239931B1 (en) Technique for reassigning data sector by detecting soft defect
US7487388B2 (en) Method of recovering reallocation sectors in data storage system and disc drive using the same
US7490261B2 (en) Background media scan for recovery of data errors
KR100265283B1 (en) Method for enhancing reliability of hard disk drive by use of head mapping
US5896547A (en) Method of executing an initialization and calibration routine of a hard disk drive
JPH08255432A (en) Recording/reproducing apparatus and alternate processing method
JPH10162494A (en) Error recoverying method
US6993688B2 (en) Data sector error tracking and correction mechanism
JP5598984B2 (en) Write defect recovery method, data storage device and recording medium
KR19990056099A (en) Data sector reallocation using error correction code threshold change
US7649705B2 (en) Data read retry with read timing adjustment for eccentrity of disc in data storage device
US7454560B2 (en) Method and apparatus to perform improved retry in data storage system
KR100233673B1 (en) Method for protecting defect of data sector
KR100568421B1 (en) Sector Reallocation Method When Search Error Occurs
KR100217750B1 (en) Prevention method for data transmission error
KR100392613B1 (en) Method for processing defect sectors of hard disk drive
JP3754199B2 (en) Disc recording / reproducing apparatus and error processing method applied to the same
KR100271617B1 (en) Beforehand searching method for minimizing drop down
KR100264796B1 (en) Method for improving drive credibility by head mapping
KR100265123B1 (en) Method for improving hard disc drive through head mapping
KR100474732B1 (en) Maintenance Area Pull Prevention Method
KR100417227B1 (en) Method for improving quality of hard disk drive by re-writing data having correctable error

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application