1. Field of the Invention
The present invention relates to a servo routine of a hard disk drive.
2. Background Information
Hard disk drives contain a plurality of magnetic heads that are coupled to rotating disks. The heads write and read information by magnetizing and sensing the magnetic fields of the disk surfaces. Each head is attached to a flexure arm to create a subassembly commonly referred to as a head gimbal assembly (“HGA”). The HGA's are suspended from an actuator arm. The actuator arm has a voice coil motor that can move the heads across the surfaces of the disks.
Information is typically stored in radial tracks that extend across the surface of each disk. Each track is typically divided into a number of segments or sectors. The voice coil motor and actuator arm can move the heads to different tracks of the disks.
Each sector may have also a servo field 5 located adjacent to a data field 6. The servo field 5 contains a plurality of servo bits A, B, C and D that are read and utilized in a servo routine to position the head 7 relative to the track. By way of example, the servo routine may utilize the algorithm of ((A−B)−(C−D)) to create a position error signal (“PES”). The PES is used to create a drive signal for the voice coil motor to position the head on the track.
The drive can enter a seek routine to access data at different disk tracks. During a seek routine a requested address location is provided and a corresponding seek time and drive current is calculated to drive the voice coil motor and move the heads to the desired location. There are typically two types of seek trajectories utilized to move the heads, bang-bang and sinusoidal. Bang-bang trajectories tend to introduce unwanted vibration in the drive. Sinusoidal trajectories introduce less vibration but typically require longer seek times. It would be desirable to provide a seek trajectory that minimized seek times and unwanted vibration.
A hard disk drive that contains a servo that controls a voice coil motor. The servo provides a driving current to the voice coil motor that has multiple sinusoidal waveforms.
Described is a hard disk drive that includes a voice coil motor controlled by a servo. The servo provides a driving current that has multiple sinusoidal waveforms. The multi-sinusoidal waveforms minimize seek time and vibrations in the drive.
Referring to the drawings more particularly by reference numbers,
The disk drive 10 may include a plurality of heads 20 located adjacent to the disks 12. As shown in
Referring to
The hard disk drive 10 may include a printed circuit board assembly 38 that includes one or more integrated circuits 40 coupled to a printed circuit board 42. The printed circuit board 40 is coupled to the voice coil 32, heads 20 and spindle motor 14 by wires (not shown).
The read/write channel circuit 58 is connected to a controller 64 through read and write channels 66 and 68, respectively, and read and write gates 70 and 72, respectively. The read gate 70 is enabled when data is to be read from the disks 12. The write gate 72 is enabled when writing data to the disks 12. The controller 64 may be a digital signal processor that operates in accordance with a software routine, including a routine(s) to write and read data from the disks 12. The read/write channel circuit 58 and controller 64 may also be connected to a motor control circuit 74 which controls the voice coil motor 36 and spindle motor 14. The controller 64 may be connected to a non-volatile memory device 76. By way of example, the device 76 may be a read only memory (“ROM”) that contains instructions that are read by the controller 64.
Each sector of a disk track typically has servo bits A, B, C and D as shown in
A Fourier Coefficient Calculator 110 then calculates position Fourier coefficients xc,m and xs,m, velocity Fourier coefficients vc,m and vs,m, and current Fourier coefficients uc,m and us,m. The Fourier coefficients are provided to a Seek Trajectory Calculator 112.
The servo 100 includes a Sine Lookup Table 114 and Sinusoidal Wave Generator 116 that generate multiple sinusoidal waveforms. The Seek Trajectory Calculator 112 outputs position x*(t), velocity v*(t) and current u*(t) trajectories using the Fourier coefficients and multi-sinusoidal waveforms.
Neglecting high-frequency flexible modes, we can express the dynamic model of a voice coil motor actuator as:
{umlaut over (x)}={dot over (v)}=Kau (1)
Here, Ka is VCM actuator acceleration constant. The variables x, v, u are position, velocity, and current of VCM, respectively. The VCM current dynamics are decribed by:
z=L{dot over (u)}+Ru+Kev (2)
The constants L, R, and Ke represent VCM coil inductance, VCM coil resistance, and back EMF constant, respectively. The variable z is VCM coil voltage. An embodiment of a seek projectory of the present invention is derived as follows:
The VCM current can be provided in the form of a finite Fourier series with unknown Fourier coefficients.
where tsk is seek time and M is the number of harmonics. The unknown cosine coefficients uc,m,m=1,2, . . . ,M and sine coefficients us,m,m=1,2, . . . ,M will be determined such that seek time is minimized. Integrating current trajectory in equation (3) over time successively provides the following velocity and position trajectories:
Using the position trajectory, it can be seen that seek time tsk for seek length xsk is:
There are practical constraints imposed on VCM current. First, VCM voltage is limited to the finite power supply voltage Vs. Substituting equations (3) and (4) into equation (2), the first constraint on VCM current can be expressed as:
Another constraint is that VCM current should be zero at the start and finish time of seek for its continuity.
The optimization can be achieved by finding the unknown coefficients uc,m,us,m such that the seek time equation (6) is minimized under two constraints defined by equations (7) and (8). The optimization problem can be described as:
Minimize f(x)
subject to c1(x)≦0 and c2(x)=0 (9)
Here, vector x and functions f(x), c1(x), c2(x) are defined by:
x=[us,1 us,2 . . . us,M uc,1 uc,2 . . . uc,M] (10)
This is a constrained nonlinear optimization problem. It is almost impossible to find the closed-form solution to the optimization problem. The Matlab command FMINCON(FMIN,X0,NONCON) is quite well suited to the numerical solution of the constrained optimization problem. Here, FMIN, X0, and NONCON are used for setting objective function, initial solution, and nonlinear constraints, respectively. The optimization problem is solved to find the current Fourier coefficients uc,m,us,m for each seek length xsk.
Optimization of the seek trajectory can be found in the following manner. The seek time tsk in equation (6) is calculated from the solution uc,m,ux,m at each seek length. The seek time is divided by sampling period Ts to be converted to discrete seek time nsk=tsk/Ts. The discrete seek time is saved in Seek Time Table 102. The current amplitude is defined as the first sine Fourier coefficient uamp=us,1 and each Fourier coefficient is normalized by the current amplitude.
The relative coefficients determine the shape of the seek trajectory and are different for each seek length. The first order curve fitting is used to approximate the variation of relative coefficients with seek length.
rs,m=αs,mxsk+βs,m, rc,m=αc,mxsk+βc,m, m=1, 2, . . . , M (15)
Here, αs,m,βs,m,αc,m,βc,m,m=1,2, . . . ,M denote curve fitting parameters. They are determined at each seek length and saved in table 106. The Current Shape Coefficient Calculator 104 computes the relative coefficients with the parameters αs,m,βs,m,αc,m,βc,m provided by the Table 106 and using equation (15).
A discrete version of equation (14) can be written as:
Here, k is discrete time. If some seek length xsk is specified, the corresponding seek time nsk is determined by reading Seek Time Table 102. The Current Shape Coefficient Calculator 104 reads curve fitting parameters αs,m,βs,m,αc,m,βc,m from α,β table 106 and computes relative Fourier coefficients rc,m,rs,m using equations (15). The Amplitude Calculator 108 determines current amplitude, velocity amplitude, and position amplitude from seek length, seek time, and relative Fourier coefficents. Combining equations (6) and (14), the current amplitude uamp can be computed from the following equation:
Velocity amplitude vamp and position amplitude xamp can be computed with the following equations:
Fourier Coefficient Calculator 110 determines Fourier coefficients from relative Fourier coefficients and amplitudes using the following equations:
The coefficient of position ramp signal is computed as:
Sinusoidal signal generator 116 generates two fundamental signals cos(2πn/nsk) and sin(2πn/nsk) by reading Sine Lookup Table 104. The harmonic signals can be generated from a fundamental signal by using the following recursive equation:
The Trajectory Calculator 112 generates current trajectory, velocity trajectory, and position trajectory by multiplying sinusoidal signals and Fourier coefficients in accordance with the following equations:
An embodiment of a seek trajectory in the case of coast mode seek is derived as follows. Coast mode is between acceleration mode and deceleration mode. Coast mode is where VCM is kept at allowable maximum speed. vmax, xmax, and Δx denote maximum velocity, minimum seek seek length to reach maximum velocity, and increment of position per servo sample at maximum velocity, respectively. naccel, ndecel, and naccel
and seek time nsk is:
nsk=naccel
Travel length during coast mode xcoast and the remaining travel length xaccel
xcoast=ncoastΔc (25)
xXaccel
Using equations (17) and (18), current amplitude, velocity amplitude, and position amplitude can be computed with the following equations:
where rc,m,max,rs,m,max are relative Fourier coefficients of current trajectory for seek length xmax. From equation (19), the Fourier coefficients can be computed for each trajectory as follows:
The final seek trajectories can be written as:
Position trajectory tracking controller is constructed to make VCM actuator follow the desired position trajectory x*(n).
The current trajectory u(n) is provided to the voice coil motor 36 to move the heads to the desired track. The servo system may include a state estimator 118 for feed forward control of the system. The estimator 118 may provide position {circumflex over (x)}(t), velocity {circumflex over (v)}(t) and torque ŵ(t) estimates to adders 120, 122 and 124.
While certain exemplary embodiments have been described and shown in the accompanying drawings, it is to be understood that such embodiments are merely illustrative of and not restrictive on the broad invention, and that this invention not be limited to the specific constructions and arrangements shown and described, since various other modifications may occur to those ordinarily skilled in the art.
Number | Name | Date | Kind |
---|---|---|---|
5299149 | Morita et al. | Mar 1994 | A |
6563663 | Bi et al. | May 2003 | B1 |
6618218 | Kadowaki et al. | Sep 2003 | B1 |
6825622 | Ryan et al. | Nov 2004 | B1 |
7088546 | Ehrlich | Aug 2006 | B2 |
7088547 | Wang et al. | Aug 2006 | B1 |
7265931 | Ehrlich | Sep 2007 | B2 |
7265933 | Phan et al. | Sep 2007 | B1 |
7304817 | Kang et al. | Dec 2007 | B1 |
7315432 | Lee | Jan 2008 | B2 |
20040257693 | Ehrlich | Dec 2004 | A1 |
20060066986 | Shih | Mar 2006 | A1 |
20060077588 | Shih | Apr 2006 | A1 |
20060082922 | Shih | Apr 2006 | A1 |
20060158772 | Lee et al. | Jul 2006 | A1 |
Number | Date | Country | |
---|---|---|---|
20080106817 A1 | May 2008 | US |