CN100552468C - The method of testing of hard-disc state display lamp and test macro thereof - Google Patents

The method of testing of hard-disc state display lamp and test macro thereof Download PDF

Info

Publication number
CN100552468C
CN100552468C CNB200510129510XA CN200510129510A CN100552468C CN 100552468 C CN100552468 C CN 100552468C CN B200510129510X A CNB200510129510X A CN B200510129510XA CN 200510129510 A CN200510129510 A CN 200510129510A CN 100552468 C CN100552468 C CN 100552468C
Authority
CN
China
Prior art keywords
hard
magnetic head
display lamp
state display
magnetic
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CNB200510129510XA
Other languages
Chinese (zh)
Other versions
CN1979208A (en
Inventor
周翔
陈玄同
刘文涵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XUZHOU LIFANG ELECTROMECHANICAL EQUIPMENT MANUFACTURING CO., LTD.
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CNB200510129510XA priority Critical patent/CN100552468C/en
Publication of CN1979208A publication Critical patent/CN1979208A/en
Application granted granted Critical
Publication of CN100552468C publication Critical patent/CN100552468C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a kind of method of testing and test macro thereof of hard-disc state display lamp, whether its duty in order to the hard-disc state display lamp that detects a hard disk is normal, and the present invention at first obtains its total track number N according to the capacity of hard disk; The amplitude of the magnetic head swing when the setting magnetic head is searched for the first time is N, drives magnetic head according to above-mentioned setting then and does the pendulum model search to drive the hard-disc state display lamp flicker on hard disk; And whether the flicker of judging each hard-disc state display lamp at last is corresponding with each search.The present invention effectively reduces the flicker frequency of hard-disc state display lamp, and whether being easier to the testing staff, to observe its duty good, thereby has improved the accuracy to the hard-disc state display lamp test.

Description

The method of testing of hard-disc state display lamp and test macro thereof
Technical field
The present invention relates to a kind of method of testing and test macro of hard-disc state display lamp, particularly a kind of testing staff of making is easier to observe the method for testing and the test macro thereof of the hard-disc state display lamp of display lamp duty.
Background technology
Hard disk is the epochmaking part of computing machine, and all data all can be kept in the hard disk, in case mistake appears in hard disk, causes data to lose or damage, and the loss that its loss meeting is scrapped than whole computing machine is also big.
All information on the hard disk all are stored in the magnetic track (Track), and magnetic track is the concentric circles of different girths on the hard disc surface, and are closely similar with the annual ring of tree.When hard disk is read and write, head arm outer most edge from hard disk under the driving of voice coil motor (Voice Coil Motor) moves radially to inner edge, search with the magnetic head that drive is attached thereto, hard disc is high speed rotating under the drive of axis motor, is carried out the operation of reading and writing data by read-write head.The time of read-write head different inter-track search costs on disk is called search time, and it is the key factor in decision storage time.
In search process, head arm carries out radial motion above hard disk, magnetic head arrives before the specific track, the light emitting diode of computer housing outside (Light Emitting Diode, LED) state is dark, when magnetic head arrives specific track, the state of LED lamp is bright, therefore when hard disk carried out read-write operation, the LED lamp looked in continuous flicker, shows that hard disk is in duty, it is that search time is relevant that the speed of flicker arrives the used time of specific track with magnetic head from the place magnetic track, it is long more that magnetic head arrives the used time of specific track, and the flicker frequency of LED lamp is slow more, otherwise then glimmers soon more.User or testing staff can recognize the duty of current hard disk very intuitively, and in time understand whether operate as normal of hard disk, therefore, are important steps of hard disk test to the test of the LED that shows disk state.
Usually; test shows that the LED of disk state adopts to search in turn to read and write to glimmer with driving LED; the tester can be when judging each search LED whether normally flicker judge whether LED can accurately show the duty of hard disk; because reading writing harddisk is by the road search in turn; search time is very short; LED lamp flicker frequency is about about 20 hertz; can observe 24 hertz of the limiting frequencies differentiated a little less than naked eyes; be unfavorable for very much observing; the tester thinks the not flicker of LED lamp by mistake through regular meeting; cause false judgment easily, and frequently reading and writing concerning hard disk in the test also is a kind of unnecessary loss to test result.
Therefore, key issue is how to adopt a kind of method that can allow naked eyes be easy to accurately judge that hard-disc state display lamp is tested, and this also is that industry is endeavoured the technical bottleneck that solves always.
Summary of the invention
In order to solve problem and the shortcoming in the above-mentioned known technology, the object of the present invention is to provide a kind of can be simply, convenient and accurately detect the method for testing and the test macro thereof of hard-disc state display lamp.
Therefore, for achieving the above object, the method of testing of a kind of hard-disc state display lamp disclosed in this invention, whether its duty in order to the hard-disc state display lamp of detection hard disk is normal, and its method of testing comprises following steps: the capacity according to hard disk obtains its total track number N; The full swing amplitude of setting the magnetic head search is a N magnetic track, and the wobble amplitude of the magnetic head swing when setting magnetic head and searching for the first time is the full swing amplitude, and the wobble amplitude of each search is successively decreased successively later on; Set the driving magnetic head according to above-mentioned two and on hard disk, do the pendulum model search to drive the hard-disc state display lamp flicker; And whether the flicker of judging each hard-disc state display lamp is corresponding with each search.
According to the method for testing of hard-disc state display lamp of the present invention, the wobble amplitude of this magnetic head swing magnetic track that when each the search, successively decreases wherein.
According to the method for testing of hard-disc state display lamp of the present invention, wherein this magnetic head begins to search from this hard disk one first magnetic track, and final middle magnetic track to this hard disk is to finish the search to this DISK to Image.
According to the method for testing of hard-disc state display lamp of the present invention, wherein when this total track number N was even number, finally this magnetic head was searched to the N/2+1 magnetic track, and when this total track number N was odd number, finally this magnetic head was searched to (N+1)/2 magnetic track.
The test macro of a kind of hard-disc state display lamp disclosed in this invention, whether its duty in order to the hard-disc state display lamp that detects a hard disk is normal, and this test macro comprises: magnetic track sum acquisition module, it is used to obtain total track number N of hard disk; One magnetic head motion setting module, the full swing amplitude that its total track number N that obtains according to magnetic track sum acquisition module sets the magnetic head search is a N magnetic track, and the wobble amplitude of magnetic head swing when setting magnetic head and searching for the first time is the full swing amplitude, and each later on wobble amplitude of searching is successively decreased successively; And a magnetic head control module, its setting according to magnetic head motion setting module drives magnetic head and does the pendulum model search to drive the hard-disc state display lamp flicker on hard disk.
According to the test macro of hard-disc state display lamp of the present invention, the wobble amplitude of this magnetic head swing magnetic track that when each the search, successively decreases wherein.
According to the test macro of hard-disc state display lamp of the present invention, wherein this magnetic head control module drives head arm swing according to described setting by controlling a voice coil motor, and drives this magnetic head search by this head arm.
According to the test macro of hard-disc state display lamp of the present invention, wherein this head arm drives this magnetic head and begins to search from this hard disk one first magnetic track, finally to the middle magnetic track of this hard disk, to finish the search to this DISK to Image.
According to the test macro of hard-disc state display lamp of the present invention, wherein when this total track number N was even number, finally this magnetic head was searched to the N/2+1 magnetic track, and when this total track number N was odd number, finally this magnetic head was searched to (N+1)/2 magnetic track.
According to the test macro of hard-disc state display lamp of the present invention, wherein this hard-disc state display lamp is a light emitting diode.
In the method for testing and test macro of hard-disc state display lamp of the present invention, magnetic head begins swing search from the full swing amplitude, and the wobble amplitude of magnetic head swing is all successively decreased successively when searching at every turn, the scope that this method for searching makes magnetic head radially move is bigger, the time of magnetic head arrival specific track is long, therefore the flicker frequency of hard-disc state display lamp is slow, the testing staff is with the naked eye observed easily judge whether the duty of hard-disc state display lamp is good, be that can hard-disc state display lamp accurately show the duty of hard disk, thereby improved accuracy the hard-disc state display lamp test.
Description of drawings
Fig. 1 is the method flow diagram of the method for testing of hard-disc state display lamp of the present invention; And
Fig. 2 is the system block diagrams of the test macro of hard-disc state display lamp of the present invention.
Wherein, description of reference numerals is as follows:
Step 301 is obtained total track number N of hard disk
It is that N magnetic track and wobble amplitude are successively decreased successively that step 303 is set the full swing amplitude
Step 305 drives magnetic head and moves to the 1st magnetic track
Step 307 drives magnetic head and moves to the N magnetic track
Step 309 drives magnetic head and moves to the 2nd magnetic track
Step 311 drives magnetic head and moves to the N-1 magnetic track
Step 313 is according to above-mentioned rule, and magnetic head moves to the middle magnetic track of hard disk the most at last
Step 315 judges whether the flicker of hard disk display lamp searches corresponding with each hard disk
Step 317 is by test
Step 319 is not by test
The test macro of 500 hard-disc state display lamps
501 magnetic tracks sum acquisition module
503 magnetic head motion setting modules
505 magnetic head control modules
Embodiment
Below, part elaborates to better embodiment of the present invention in conjunction with the accompanying drawings.
Figure 1 shows that the method flow diagram of method of testing of the hard-disc state display lamp of the embodiment of the invention.The method of testing of hard-disc state display lamp of the present invention adopts the pendulum model method for searching, searching sequence is searched together last for first road of searching disk track earlier again, then from last together to second road, arrive road second from the bottom again, by that analogy, until the centre of disk track together, and hard disk is only searched and is not carried out read-write operation, this method for searching is because head arm can radially be done large-scale to-and-fro movement, the time of magnetic head arrival specific track is long, therefore the flicker frequency of display lamp is slow, and the tester observes its duty easily.Describe the method for testing of hard-disc state display lamp of the present invention in detail below with reference to Fig. 1.
At first obtain total track number N (step 301) of hard disk, hard disk has several thousand to the magnetic tracks that do not wait up to ten thousand, even reaches a hundreds of thousands magnetic track, and the capacity of hard disk is big more, and total track number is many more;
The full swing amplitude of setting the pendulum model search according to the total track number N that obtains is a N magnetic track, and from the wobble amplitude of the each swing of the swing beginning for the second time magnetic track that successively decreases successively, and store these setting datas (step 303), wherein total track number N is big more, magnetic track is many more, and wobble amplitude N is big more;
According to the search rule of setting, drive magnetic head by voice coil motor and move to the 1st magnetic track (step 305), usually, the magnetic head of hard disk all is to drive head arm by voice coil motor to drive it and move to interior edge from outer, so the 1st magnetic track herein is the outermost magnetic track of hard disk, so the most inboard magnetic track then is the N magnetic track;
Voice coil motor drives magnetic head and moves to N magnetic track (step 307), according to the full swing amplitude N that has set, voice coil motor with magnetic head along the moving radially of hard disk, because the swing first time that current swing is a magnetic head, so this time wobble amplitude of swing is full swing amplitude N to the N magnetic track;
Voice coil motor drives magnetic head and moves to the 2nd magnetic track (step 309), after magnetic head arrives the N magnetic track, to carry out the swing second time, according to the stored setting data of step 303, the wobble amplitude of swing is than the short magnetic track of the wobble amplitude first time for the second time, therefore, magnetic head is driven the 2nd magnetic track that moves to the outside;
Voice coil motor drives magnetic head and moves to N-1 magnetic track (step 311), and according to the characteristics of motion mentioned above, magnetic head should move to the N-1 magnetic track from the 2nd magnetic track;
According to above-mentioned rule, final magnetic head will move to the middle magnetic track (step 313) of hard disk, wherein when total track number N is even number, magnetic head will move to the N/2+1 magnetic track at last, when total track number N is odd number, magnetic head will move to (N+1)/2 magnetic track at last, thereby finish the search to DISK to Image;
The tester by observe judge hard-disc state display lamp flicker whether with each search corresponding (step 315), if, execution in step 317, execution in step 319 if not, when each magnetic head is searched, hard-disc state display lamp all glimmers once, and by tester's observation, whether hard-disc state display lamp can accurately show the duty of hard disk in the time of can judging hard disk work;
By test (step 317), the flicker of hard-disc state display lamp is corresponding with the seek actions of each hard disk, can draw the conclusion by test;
By test (step 319), the flicker of hard-disc state display lamp can't be not corresponding with the seek actions of each hard disk, and tested as can be known hard-disc state display lamp can't pass through this test, is non-certified products.
In an embodiment, we are example with Seagate (seagate) hard disk of 80G, utilize the method for testing of hard-disc state display lamp of the present invention to carry out actual test, the flicker frequency of hard-disc state display lamp is about 12 hertz, compare by 20 hertz of the road search in turn with prior art, be significantly less than 24 hertz of the limiting frequencies that naked eyes can offer an explanation, be easier to the tester and observe its duty, thereby reduced probability of miscarriage of justice.In addition, because method of testing of the present invention is not carried out the read-write operation of hard disk, magnetic head is just searched merely, has therefore reduced the meaningless loss of frequent read-write to hard disk.
Figure 2 shows that the system block diagrams of test macro of the hard-disc state display lamp of the embodiment of the invention.The test macro 500 of hard-disc state display lamp of the present invention is by the control voice coil motor, make it to swing according to the magnetic head characteristics of motion recited above by driving head arm drive magnetic head, promptly at first move to the N magnetic track from the 1st magnetic track, move to the 2nd magnetic track from the N magnetic track again, move to the N-1 magnetic track from the 2nd magnetic track then, by that analogy, behind the middle magnetic track that moves to disk, finish.
The test macro 500 of hard-disc state display lamp of the present invention comprises magnetic track sum acquisition module 501, magnetic head motion setting module 503 and magnetic head control module 505.
Wherein magnetic track sum acquisition module 501 obtains the magnetic track sum according to the capacity of hard disk, hard disk magnetic track capacious is many, the hard disk magnetic track that capacity is little is less relatively, after the magnetic track of the current hard disk of magnetic track sum acquisition module 501 acquisitions adds up to N, the magnetic track sum N that obtains is sent to magnetic head motion setting module 503;
The full swing amplitude setting that the magnetic track sum N that magnetic head motion setting module 503 obtains according to magnetic track sum acquisition module 501 swings magnetic head is a N magnetic track, and the setting magnetic head begins swing from outermost the 1st magnetic track, the wobble amplitude of swing is full swing amplitude N for the first time, a magnetic track successively decreases later at every turn, and after preserving these setting datas, magnetic head motion setting module 503 is notified to magnetic head control module 505 with these setting datas;
The swaying movement regularity that magnetic head control module 505 is set according to magnetic head motion setting module 503 sends controlling signal to voice coil motor, make it to drive head arm drive magnetic head and move to the N magnetic track from the 1st magnetic track, then move to the 2nd magnetic track from the N magnetic track, move to the N-1 magnetic track from the 2nd magnetic track then, by that analogy, until till the middle magnetic track of disk, wherein when total track number N is even number, magnetic head will move to the N/2+1 magnetic track at last, when total track number N is odd number, magnetic head will move to (N+1)/2 magnetic track at last, thereby finish the search to DISK to Image.
The test macro of hard-disc state display lamp of the present invention can drive the magnetic head search, and then drives the hard-disc state display lamp flicker, and the tester can see through visual inspection like this, and the duty whether hard-disc state display lamp can correspondence demonstration hard disk is made accurate judgement.
In the method for testing and test macro of hard-disc state display lamp of the present invention, the each swing of the magnetic head magnetic track that all successively decreases, this method for searching makes magnetic head bigger along the scope of disk sheet radial motion, the time of magnetic head arrival specific track is long, therefore the flicker frequency of hard-disc state display lamp is slow, the tester with the naked eye is easy to observe its duty, and magnetic head just searches merely, has therefore reduced the meaningless loss of frequent read-write to hard disk.
But the invention is not restricted to this, it also can be set at two or more magnetic tracks that successively decrease with swing at every turn, but obviously the flicker frequency of display lamp can be fast slightly, and observing effect can variation concerning the tester.
Though the present invention with aforesaid better embodiment openly as above, it is not in order to limit the present invention.Those skilled in the art will appreciate that change and the modification done under the situation that does not break away from disclosed scope of the present invention of appending claims of the present invention and design, all be included in the scope that claims of the present invention protect.Please refer to appending claims about the protection domain that the present invention defined.

Claims (10)

1, a kind of method of testing of hard-disc state display lamp, whether its duty in order to the hard-disc state display lamp that detects a hard disk is normal, and this method of testing comprises following steps:
Capacity according to this hard disk obtains its total track number N;
Setting the full swing amplitude that a magnetic head searches be this N magnetic track, and the wobble amplitude of magnetic head swing when setting this magnetic head and searching for the first time is this full swing amplitude, and the wobble amplitude of search is successively decreased successively at every turn later on;
Set this magnetic head of driving according to above-mentioned two and on this hard disk, do the pendulum model search to drive this hard-disc state display lamp flicker; And
Whether the flicker of judging each this hard-disc state display lamp is corresponding with each search.
2, the method for testing of hard-disc state display lamp as claimed in claim 1 is characterized in that, the wobble amplitude of this magnetic head swing magnetic track that successively decreases when each the search.
3, the method for testing of hard-disc state display lamp as claimed in claim 1 is characterized in that, this magnetic head begins to search from this hard disk one first magnetic track, and final middle magnetic track to this hard disk is to finish the search to this DISK to Image.
4, the method for testing of hard-disc state display lamp as claimed in claim 3, it is characterized in that when this total track number N was even number, finally this magnetic head was searched to the N/2+1 magnetic track, when this total track number N was odd number, finally this magnetic head was searched to (N+1)/2 magnetic track.
5, a kind of test macro of hard-disc state display lamp, whether its duty in order to the hard-disc state display lamp that detects a hard disk is normal, and this test macro comprises:
One magnetic track sum acquisition module, it is used to obtain total track number N of this hard disk;
One magnetic head motion setting module, the full swing amplitude that its this total track number N that obtains according to this magnetic track sum acquisition module sets a magnetic head search is a N magnetic track, and the wobble amplitude of the magnetic head swing when setting this magnetic head and searching for the first time is this full swing amplitude, and each later on wobble amplitude of searching is successively decreased successively; And
One magnetic head control module, its setting according to this magnetic head motion setting module drive this magnetic head and do the pendulum model search to drive this hard-disc state display lamp flicker on this hard disk.
6, the test macro of hard-disc state display lamp as claimed in claim 5 is characterized in that, the wobble amplitude of this magnetic head swing magnetic track that successively decreases when each the search.
7, the test macro of hard-disc state display lamp as claimed in claim 5, it is characterized in that, this magnetic head control module drives head arm swing according to the setting of described this magnetic head motion setting module by controlling a voice coil motor, and drives this magnetic head search by this head arm.
8, the test macro of hard-disc state display lamp as claimed in claim 7 is characterized in that, this head arm drives this magnetic head to begin to search from this hard disk one first magnetic track, and final middle magnetic track to this hard disk is to finish the search to this DISK to Image.
9, the test macro of hard-disc state display lamp as claimed in claim 8, it is characterized in that when this total track number N was even number, finally this magnetic head was searched to the N/2+1 magnetic track, when this total track number N was odd number, finally this magnetic head was searched to (N+1)/2 magnetic track.
10, the test macro of hard-disc state display lamp as claimed in claim 5 is characterized in that, this hard-disc state display lamp is a light emitting diode.
CNB200510129510XA 2005-12-05 2005-12-05 The method of testing of hard-disc state display lamp and test macro thereof Expired - Fee Related CN100552468C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200510129510XA CN100552468C (en) 2005-12-05 2005-12-05 The method of testing of hard-disc state display lamp and test macro thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200510129510XA CN100552468C (en) 2005-12-05 2005-12-05 The method of testing of hard-disc state display lamp and test macro thereof

Publications (2)

Publication Number Publication Date
CN1979208A CN1979208A (en) 2007-06-13
CN100552468C true CN100552468C (en) 2009-10-21

Family

ID=38130442

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200510129510XA Expired - Fee Related CN100552468C (en) 2005-12-05 2005-12-05 The method of testing of hard-disc state display lamp and test macro thereof

Country Status (1)

Country Link
CN (1) CN100552468C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108549042B (en) * 2018-04-02 2019-12-17 苏州浪潮智能科技有限公司 NVME LED detection system and detection method
CN111863116B (en) * 2020-06-29 2022-06-17 浪潮电子信息产业股份有限公司 Multi-disk indicator lamp testing method, system and device

Also Published As

Publication number Publication date
CN1979208A (en) 2007-06-13

Similar Documents

Publication Publication Date Title
US7839588B1 (en) Method of alternating track write for defect identification
KR20030040503A (en) Critical event log for a disc drive
US20020036850A1 (en) Enhanced short disc drive self test using historical logs
JP2002150721A (en) Hard disk drive, method for detecting defect pattern on disk and method for detecting defect
CN100552468C (en) The method of testing of hard-disc state display lamp and test macro thereof
CN112631848A (en) Intelligent diagnosis method and system for mechanical hard disk faults
CN101004918A (en) Method for preventing data loss in a hard disk drive
US7121133B2 (en) System, method, and apparatus for glide head calibration with enhanced PZT channel for very low qualification glide heights
CN1161782C (en) Disk drive device
JP2003091813A (en) Perpendicular magnetic recording medium inspecting method, and servo signal recording method
US20050076175A1 (en) System and method for determining hard disk drive performance
CN105590330B (en) Indoor plane drawing generating method, server and system based on intelligent perception
US6674589B2 (en) Method for harmonic frequency identification in a disc drive
US8184512B2 (en) Optical disk drive with embedded test medium
CN101714113A (en) Testing method of virtual equipment
CN101079303B (en) Method of detecting scratch defect in circumferential direction and magnetic disk detecting device
US20070074087A1 (en) System and method for writing information to an optical medium with predicting of defect characteristics
US20050030014A1 (en) Method for hard disk drive flip disk diagnostics
JP5692577B2 (en) Magnetic disk apparatus and self-diagnosis method
JPS63253242A (en) Inspecting device for flaw
TWI276072B (en) Method and system for testing hard drive status lights
CN102346699A (en) Method for testing hard disks
US6580266B2 (en) Thin film delamination detection for magnetic disks
CN113781480B (en) Steel rail surface detection method and system based on machine vision
JPS6284433A (en) Inspecting device for optical disk

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20191223

Address after: No. 99, University Road, high tech Zone, Xuzhou City, Jiangsu Province

Patentee after: XUZHOU LIFANG ELECTROMECHANICAL EQUIPMENT MANUFACTURING CO., LTD.

Address before: Taipei City, Taiwan, China

Patentee before: Yingda Co., Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091021

Termination date: 20191205

CF01 Termination of patent right due to non-payment of annual fee