Technical Field
This disclosure relates to resonance frequency detectors and more particularly to a method and a circuit for determining resonance frequencies of a resonant device, and a method of filtering an output of a resonant device.
Description of the Related Art
Hard disk drive (HDD) applications use shock sensors (SS) in order to avoid unwanted write-read errors due to voice coil motor (VCM) harm caused by disk displacements that are due external causes (i.e. bumps, kicks, motor driving, mechanical stresses).
Unfortunately, these sensors have a mechanical resonance frequency that is close to their signal bandwidth and with amplitude that is several decibels above sensor sensitivity. Therefore, noise at this resonance frequency may be amplified and may even dangerously saturate amplification channels causing distortion of useful signals and long recovery times.
Different approaches are known in literature to prevent saturation caused by unwanted resonance peaking. They consist substantially in either:
The first technique reduces the useful signal bandwidth, and the second technique may be correctly implemented only if the information about the resonance frequency is known.
The electrical equivalent circuit of a piezoelectric shock sensor is substantially a capacitor Cp connected electrically in parallel with a RLC series circuit (Cs-Rp-Ls), as shown in
wherein, for sake of clarity, zeros and poles of the impedance Zsensor are the zeroes of the polynomials Z(jω) and P(jω), respectively.
wherein vnoise is a noise voltage in input to the sensor.
For the above reasons, a reliable method of determining a resonance frequency of a device would be desirable.
The published US Patent Application No. 2010/0064809 discloses a system and a method for determining a mechanical resonance frequency of a sensor, consisting in applying a bias pulse signal to the sensor, detecting zero crosses of the voltage response of the sensor and determining the resonance frequency of the sensor in function of the detected zero-crosses.
Unfortunately, this prior method is not very accurate. Indeed, it is relatively difficult to determine with a high precision the instants in which the output voltage of the sensor nullifies, because of external disturbances (i.e., RF interferences, running clocks) and of the limited sensitivity of zero-cross detectors.
A simple and very accurate method of determining a resonance frequency has been devised. The novel method may be applied for determining a resonance frequency of any resonant device, such as a shock sensor or an accelerometer.
According to this disclosure, the resonant device is stimulated with a periodic input signal having a frequency chosen in a pre-established frequency interval, a frequency value for the periodic input signal is determined in the pre-established frequency interval for which the phase-difference between the periodic input signal and a corresponding periodic output signal of the resonant device is minimum, and a flag adapted to indicate that a resonance frequency has been determined and signals representing the value of the frequency of the periodic input signal are generated.
According to an embodiment of the novel method, the phase-difference between the periodic input signal and the corresponding periodic output signal is compared with a threshold. Depending on whether the threshold is crossed or not, a flag that a resonance frequency has been determined and signals representing the value of the frequency of the periodic input signal are generated, otherwise the method restarts using a periodic input signal having a different frequency chosen in the pre-established frequency interval.
According to yet another embodiment, the periodic input signal is a square-wave.
A particularly simple and accurate circuit for determining the resonance frequency of a resonant device, comprises:
a square-wave generator configured to stimulate the resonant device with a square-wave input signal;
an XOR gate configured to be input with the square-wave input signal and with the corresponding periodic output signal of the resonant device;
a processor configured to receive a logic XOR signal output by the XOR gate, and adapted to determine the duty-cycle of said logic XOR signal, to determine the phase-difference upon the duty-cycle and to control the square-wave generator for adjusting the frequency of the square-wave input signal.
A method of filtering an output of a resonant device is also disclosed.
In the ensuing description reference will be made to the particular case in which the resonant device, the resonance frequency of which is to be determined, is a shock sensor coupled to a respective amplification stage as shown in
The proposed method can be used to get information about resonance frequency for shock sensors used in hard disk drive (HDD) applications. In general, it may be used to detect a resonance frequency of a piezoelectric motion detection sensor and it can be used in conjunction with a tunable notch filter inserted at an intermediate gain stage in order to realize a system with large bandwidth and gain substantially without risks of saturating because of input noise at the resonance frequency.
Exemplary amplitude and phase spectra of the known circuit of
A method according to one embodiment of the present disclosure is substantially based on a phase lag measurement using periodic signals, such as for example sinusoidal signals or square wave signals, and allows to determine a resonance frequency with an enhanced noise immunity with respect to prior methods.
According to the proposed method, a resonant device (e.g., a shock sensor) is stimulated with a periodic signal. If the frequency is lower than resonance frequency, the electrical response of the shock sensor is similar to that of a capacitor (i.e., 90° delay with respect to the driving signal). By varying the frequency of the stimulation signal from low frequencies up to frequencies close to the resonance frequency of the shock sensor, the phase lag between the input and output signals of the shock sensor decreases till reaching a minimum value in proximity of the resonance frequency. By increasing further the frequency of the stimulation signal, the phase lag increases again and tends toward 90° at frequencies far from the resonance frequency. According to this disclosure, the resonance frequency is determined by determining the frequency at which this minimum is attained, which in one embodiment is determined to be a frequency at which this phase lag is smaller than a certain threshold.
A circuit for implementing the novel method is shown in
Another detection circuit 10 that could be used to detect a resonance frequency of a device, such as the shock sensor 1, is shown in
The stimulus generator 14 provides a stimulus signal (STIMULUS WAVEFORM) to the driving circuit 22 and the phase measurement block 16, and provides to the phase check block 18 a digital word (FREQUENCY WORD) representing the frequency of the stimulation signal. The phase measurement block 16 measures the phase modulus and sign of a phase difference between the stimulus signal and the response signal. In particular, phase measurement block 16 outputs to the phase check block 18 a phase modulus signal (PHASE MODULUS) representing the absolute value of the phase lag between the response signal and the stimulation signal, and a phase sign signal (PHASE SIGN) representing the sign of the phase lag between the response signal and the stimulation signal. The phase check block 18 uses the values coming from the stimulus generator 14 and the phase measurement block 16 to detect the resonance frequency. The start/stop module 20 handles start and stop routine conditions.
The driving circuit 22 stimulates the sensor 1 with a periodic signal, for example a square wave signal, based on the stimulus signal received from the stimulus generator 14. The comparator (low noise amplifier 2) provides a square wave having a phase equal to the phase of the signal input to the sensor, and the digital circuit 12 evaluates the phase lag between the input stimulus and the sensor output signal. The input stimulation signal frequency is varied in a frequency range. Once the output signal of the sensor reaches a target phase lag with respect to the input driving signal (for example 60°, or 45°), the input signal stimulation frequency corresponding to the target phase lag is assumed to be equal to the sensor amplifier peaking frequency.
The sensor driving circuit 22 is connected to the sensor terminals and to the sensor amplifier terminals (INM and INP) and it injects into the sensor the stimulation signal STIMULUS WAVEFORM. A possible implementation of this circuit may be as shown in
A similar function to that one implemented by the circuit shown in
To perform this function, it is possible to use either a dedicated comparator or the sensor amplifier itself in open loop configuration. In the latter case, a switch between the OUT pin and the output of the sensor amplifier is opened, the OUT terminal being connected to an internal reference buffer driving pin REF. With the proposed switches connection, the external components constitute a balanced network that, approximately, does not affect sensor singularities. Therefore, the transient behavior of the signals INM and INP will be related to shock sensor singularities.
According to common techniques, it is possible to arrange sensor driving circuit and the comparator circuit in order to get a single ended driving and reading system, that may be useful when the INP terminal is connected directly to the REF terminal.
A snapshot of signal applied to the sensor and phase information is shown in
When the driving signal frequency is close to sensor poles and zeros, the energy transferred from driving circuit to sensor itself causes large oscillation at sensor terminals and, after a phase settling transient, the phase difference between driving signal and sensor signal (STIMULUS WAVEFORM vs RESPONSE WAVEFORM) tends to decrease from 90° toward 0° depending on sensor loss resistor (i.e. Rp in RLC series equivalent, refer to
According to the embodiment shown in
The purpose of the stimulus generator block 14 is to create a stimulus waveform having a frequency ranging from a start frequency to a stop frequency. The stimulus waveform is generated with a frequency value maintained for a programmable time interval. This time interval will be sufficient to allow the sensor to settle. The frequency variation can be performed in both directions (from minimum to maximum frequency or from maximum to minimum frequency). The frequency step resolution will be fixed depending on the sensor characteristics.
As shown in
The frequency sweep counter 28 indicates the period of the output waveform at each step, the pulse repetition counter 26 controls the step duration and the stimulus counter 24 increments its value until the frequency sweep counter value is reached, as depicted in the waveforms shown in
The meaning of the signals of
The phase threshold algorithm compares the measured phase with the selected threshold. When the phase is less than the threshold the routine is stopped and the resonance frequency word is determined by the current frequency word.
In the minimum phase algorithm 38, a frequency range is swept and the algorithm stores the frequency word corresponding to the minimum phase evaluated. At the end of the sweep the resonance frequency word represents the stored frequency. In particular, step 44 determines whether the sweeping has reached the end of the frequency range. When the end of the frequency range is reached, the algorithm stops in step 46. The algorithm 38 then checks in step 48 whether the phase received from the phase measurement block 16 is less than a minimum phase threshold. If not, then the algorithm returns to step 44. If the phase received from the phase measurement block 16 is less than the minimum phase threshold, then, in step 50, the algorithm stores the frequency word corresponding to the phase received from the phase measurement block 16 and returns to step 44.
A target lag phase is used by resonance detection circuit 10 in order to stop the frequency sweeping when a certain target phase lag threshold is reached. Once this condition is met, the detection circuit provides a digital representation of sensor zeros frequency that can be used in conjunction with a proper clock generator and a switched capacitor notch filter in order to attenuate resonance tones that may be injected into the amplification channel.
Using different shock sensors, the phase at zeros frequency changes mainly depending on sensor poles and zeros relationship but also on loss resistance (i.e. the resistance RP in the equivalent circuit of
Method Validation
The proposed method has been tested using an ASIC (Application Specific Integrated Circuit) that implements the proposed algorithm and the desired filtering strategy.
The novel resonance detection circuit may be used alone in order get information about shock sensor resonance frequency but also in conjunction with a filter (such as a notch filter, a switched capacitor filter, etc.) in order to filter out in a refined manner resonance tones that may be present on the sensor amplifier output node (OUT) for avoiding saturation of the signal processing channel.
The novel method for determining a resonant frequency of a resonant device may be used for filtering an output of a resonant device using a generic notch filter.
With the shown circuit, the notch filter notched frequency will correspond accurately to the resonance frequency of the shock sensor amplifier 2 and thus eventual noise at the resonance frequency of the sensor is filtered out.
The various embodiments described above can be combined to provide further embodiments. These and other changes can be made to the embodiments in light of the above-detailed description. In general, in the following claims, the terms used should not be construed to limit the claims to the specific embodiments disclosed in the specification and the claims, but should be construed to include all possible embodiments along with the full scope of equivalents to which such claims are entitled. Accordingly, the claims are not limited by the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
MI2011A002421 | Dec 2011 | IT | national |
Number | Name | Date | Kind |
---|---|---|---|
3374663 | Morris | Mar 1968 | A |
4015202 | Fredriksson et al. | Mar 1977 | A |
4201077 | Froidevaux | May 1980 | A |
5414406 | Baxter | May 1995 | A |
7053798 | Popineau | May 2006 | B2 |
8132459 | Toga | Mar 2012 | B2 |
20030151400 | Petrovich | Aug 2003 | A1 |
20100064809 | Toga et al. | Mar 2010 | A1 |
20100198528 | McCauley | Aug 2010 | A1 |
20130162365 | Otaguro | Jun 2013 | A1 |
20140063652 | Otani | Mar 2014 | A1 |
Number | Date | Country |
---|---|---|
832352 | May 1981 | SU |
Number | Date | Country | |
---|---|---|---|
20130167643 A1 | Jul 2013 | US |