This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2022-152352, filed Sep. 26, 2022, the entire contents of which are incorporated herein by reference.
Embodiments described herein relate generally to a magnetic disk drive and a method of setting a notch filter of the drive.
In a magnetic disk drive mounted on a server or the like, the rotation speed of a magnetic disk may be changed. In this case, the sampling period of positional information recorded on the magnetic disk changes according to the rotation speed of the magnetic disk. In a prior art magnetic disk drive, even if a sampling period changes, the parameters, filter coefficient of a controller that controls positioning of a magnetic head is not changed. In the controller, therefore, the frequency characteristics of a notch filter, which suppresses mechanical resonance of an actuator, are changed from desired one, which adversely affects the accuracy of positioning control of the magnetic head.
Embodiments described herein aim to provide a magnetic disk drive that is capable of maintaining the frequency characteristics of a notch filter satisfactorily and contributing to improving the accuracy of positioning control of a magnetic head even though the sampling period of positional information changes, and a method of setting the notch filter.
Embodiments will be described hereinafter with reference to the accompanying drawings.
In general, according to one embodiment, a magnetic disk drive in which a sampling period of positional information recorded on a magnetic disk changes according to a rotation speed of the magnetic disk includes a notch filter provided in a controller which controls positioning of the magnetic head to suppress a specific angular frequency by setting a set of parameters related to at least a suppression angular frequency, a damping ratio and a depth in consideration of the sampling period; a parameter storage unit which stores a set of parameters of the notch filter and a first sampling period assumed when the first set of parameters is designed; and a computation unit that computes a discrete-time system transfer function from the sampling period and the set of parameters using a continuous-time system transfer function and a bilinear transform, wherein: when the sampling period changes from the first sampling period to a second sampling period, the computation unit computes a damping ratio parameter related to the damping ratio in a second set of parameters at the second sampling period, based on a first absolute value at a first angular frequency of a first transfer function computed from the first set of parameters at the first sampling period and a second absolute value at the first angular frequency of a second transfer function computed from the first set of parameters at the second sampling period; and the notch filter is set with the second set of parameters at the second sampling period is computed.
Note that the disclosure is merely an example, and proper changes within the spirit of the invention, which are easily conceivable by a skilled person, are included in the scope of the invention as a matter of course. In addition, in some cases, in order to make the description clearer, the widths, thicknesses, shapes, etc., of the respective parts are schematically illustrated in the drawings, compared to the actual modes. However, the schematic illustration is merely an example, and adds no restrictions to the interpretation of the invention. Besides, in the specification and drawings, the same or similar elements as or to those described in connection with preceding drawings or those exhibiting similar functions are denoted by like reference numerals, and a detailed description thereof is omitted unless otherwise necessary.
The magnetic disk drive 1 includes a head disk assembly (HDA) 10, a head amplifier integrated circuit (hereafter referred to as a head amplifier IC) 17 and a system on chip (SOC) 20.
The HDA 10 includes a magnetic disk 11, a spindle motor (SPM) 12, an arm 13 and a voice coil motor (VCM) 16. The magnetic disk 11 is rotated by the SPM 12. A load beam 14 is attached to the tip of the arm 13, and a magnetic head 15 is attached to the tip of the load beam 14. The VCM 16 is driven to cause the arm 13 to move the magnetic head 15 to a specific position on the magnetic disk 11.
The magnetic head 15 is so configured that a read head element and a write head element are separately mounted on a single slider. The read head element reads data out of the magnetic disk 11. The write head element writes data to the magnetic disk 11.
The head amplifier IC 17 includes a read amplifier and a write driver. The read amplifier amplifies a read signal read out by the read head element and transmits the amplified read signal to a read/write (R/W) channel 22. The write driver transmits a write current, which corresponds to write data output from the R/W channel 22, to the write head element.
The SOC 20 includes a microprocessor (CPU) 21, the R/W channel 22, a disk controller 23 and a positioning controller 24. The CPU 21 is a main controller of drive to perform servo control for positioning the magnetic head 15 via the positioning controller 24 and to perform data read/write control via the head amplifier IC 17. The R/W channel 22 includes a read channel for signal processing of read data and a write channel for signal processing of write data. The disk controller 23 performs interface control to control data transfer between a host system (not shown) and the R/W channel 22. Note that the positioning controller 24 may be implemented as hardware or software (firmware).
A memory 25 includes a volatile memory and a nonvolatile memory. The memory 25 includes, for example, a buffer memory including DRAMs and a flash memory. The nonvolatile memory of the memory 25 includes a storage unit (not shown) that stores, for example, programs necessary for processing by the CPU 21 and a parameter storage unit 26 that stores parameters when a parameter setting process described later is performed.
In the present embodiment, the memory 25 stores programs for setting a notch filter, and the parameter storage unit 26 stores parameters required to set and execute the notch filter. Note that the parameter storage unit 26 has only to be stored in any storage area in the magnetic disk drive 1, not in the memory 25.
The notch filter setting process will be described with reference to
In the design of notch filters in magnetic disk drives, sets of parameters may be designed on the basis of continuous-time system transfer functions to obtain desired frequency characteristics of discrete-time transfer functions from a broad perspective of the design. Several methods are known for the discretization, but in the present embodiment, a bilinear transform (Tustin transform) is used for the discretization in consideration of frequency characteristics, computational efficiency, and the like.
First, as shown in
That is, in the present embodiment, when the sampling period becomes the second sampling period other than the first sampling period, the damping ratio parameter in the first set of parameters is changed into the second set of parameters such that the first absolute value at the first angular frequency of the first transfer function computed from the first sampling period and the first set of parameters becomes the same as the second absolute value at the first angular frequency of the second transfer function computed from the second sampling period and the second set of parameters. Assume here that the first transfer function is a continuous-time system transfer function computed from the first set of parameters if the first sampling period is 0.
In the bilinear transform (Tustin transform), first, the parameters ωn, ζ, dp (ωn: suppression angular frequency, ζ: damping ratio, dp: depth) of the continuous-time system transfer function of the notch filter expressed by the equation (1) are so determined to obtain desired characteristics in a sampling period T.
Then, in consideration of frequency distortion due to the bilinear transform (Tustin transform), a suppression angular frequency ωnT after “prewarp” is obtained by the equation (2) and is converted from an s domain to a z domain by the equation (3)
The transfer function N[z, T] of a discrete-time notch filter obtained by the above transform is given by the equation (4).
If the coefficient of the first transfer function computed by the equation (4) using T1 as the first sampling period and using ωn, ζ1 and dp as the first set of parameters, is used as it is at the second sampling period T2 other than the first sampling period T1, the suppression frequency deviates. Thus, the coefficient of the transfer function needs to be computed again each time the sampling period changes.
However, the frequency characteristics of the transfer function obtained by the equation (4) using T2 as the second sampling period and using ωn, ζ1 and dp as the first set of parameters are gain characteristics shown in
Therefore, in the present embodiment, even though the sampling period changes, the damping ratio parameter ζ is changed by the sampling period such that the frequency characteristics are almost unchanged at the first angular frequency ω≠ωn. Specifically, the damping ratio parameter ζ2 of the second set of parameters is determined such that a first difference between the first absolute value of the first transfer function N[z, T1], which is obtained by the equation (4) using T1 as the first sampling period and using ωn, ζ1 and dp as the first set of parameters, at the first angular frequency ω≠ωn and the second absolute value of the second transfer function N[z, T2], which is obtained by the equation (4) using T2 as the second sampling period and using ωn, ζ2 and dp as the second set of parameters, at the first angular frequency, is 0 when the first angular frequency is at one point and the sum of absolute values of first differences at the first angular frequency is minimized when the first angular frequency is at a plurality of points.
If there is another notch filter in the angular frequency range corresponding to the minimum depth (quantization level) in terms of implementation, for example, the angular frequency of the notch filter is set as the first angular frequency. If there is no other notch filter in the angular frequency range, an angular frequency corresponding to the minimum depth in terms of implementation is set.
An approximation may be used to compute the parameter ζ2 in accordance with the first angular frequency ω set in accordance with the angular frequency of another notch filter.
As another embodiment, when the first sampling period is 0, that is, when it is a continuous-time system, the first transfer function may be a continuous-time system transfer function as expressed by the equation (1), and the damping ratio parameter ζ may be changed by the sampling period such that the absolute value of the continuous-time system transfer function and the discrete-time system transfer function are the same at the first angular frequency.
According to the present embodiment, a notch filter with desired characteristics can always be obtained even though the sampling period changes, as shown as gain characteristics in
Specific examples will be described below.
The relationship between the damping ratio parameter ζ1 of the first set of parameters and the damping ratio parameter ζ2 of the second set of parameters at the first angular frequency ω of one point satisfying the equation (5) is given by the equation (6). When the first sampling period T1 differs from the second sampling period T2, the damping ratio parameter ζ2 of the second set of parameters obtained from the equation (6) and the second transfer function obtained from the equation (4) using ωn, ζ2 and dp and the second sampling period T2 are set as a notch filter.
|N[ejωT
Ψ1:=
When the first angular frequency ω of one point is near the suppression angular frequency ωn, the damping ratio parameter ζ2 of the second set of parameters expressed by the equation (6) is approximated by the equation (7).
The frequency characteristics of the notch filter designed in this example when the sampling period T changes are shown as gain characteristics in
The damping ratio parameter ζ2 of the second set of parameters expressed by the equation (6) is approximated by the equation (8).
Then, it is determined whether the suppression angular frequencies ωnk, k≠i (ωil≤ωnk≤ωih) of notch filters at other stages are present within the frequency range in which the gain at the i-th stage is equal to or higher than a certain value (for example, the quantization level of parameter dp at the time of implementation) in the first sampling period T1 (step 22). If they are present, the equation (6) is used with the first angular frequency ω as ωnk (step S23).
If there are no notch filters at the other stages within the frequency range, it is determined that the suppression angle frequency ωni is sufficiently low (step S24). If it is low, the approximation of the equation (8) is used (step S25). If it is not sufficiently low, the approximation of the equation (7) is used (step S26). This allows desired characteristics to be obtained with a less computational effort.
At the first angular frequencies ω1 . . . , ωk of a plurality of points, when the sampling period is the second sampling period T2 other than the first sampling period T1, a second transfer function is set from the equation (4) using the damping ratio parameter ζ2 of the second set of parameters, which minimizes the equation (9), and ωn, dp, and the second sampling period T2 as notch filters.
At the first angular frequency ω of one point, the relationship between the damping ratio parameters ζ1 and ζ2 of the first and second set of parameters, which satisfy the equation (10), is given by the equation (11). Thus, when discretized at the sampling period T2, a second transfer function is set from the equation (4) using the damping ratio parameter ζ2 of the second set of parameters obtained from the equation (11) and ωn, dp, and the sampling period T2 as a notch filter.
|N(jω)|−|N[ejωT
Y:=ω
nω,Ψ2:=
Y:=ω
nω,Ψ2:=
When the first angular frequency ω of one point is near the suppression angular frequency ωn, the damping ratio parameter ζ2 of the second set of parameters expressed by the equation (11) is approximated by the equation (12).
The frequency characteristics of the notch filter set in this example when discretized at the sampling period T are shown as gain characteristics in
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2022-152352 | Sep 2022 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
6996592 | Ikai | Feb 2006 | B2 |
7023646 | Bahirat | Apr 2006 | B2 |
9047900 | Goker | Jun 2015 | B2 |
Number | Date | Country |
---|---|---|
2004-80141 | Mar 2004 | JP |
Number | Date | Country | |
---|---|---|---|
20240112699 A1 | Apr 2024 | US |