Text from the interactive explanation
Reducing resonance peaks and drive tones from a micro-electro-mechanical system gyroscope response
Vadim Tsinker (inventor); InvenSense, Inc. (applicant and assignee)
US 9,885,577 B2 A patent, made playable
Your phone camera steadies a shaky hand by reading a tiny vibrating gyroscope and moving the lens to cancel the shake. Cleaning that gyroscope's signal usually costs time, and a late correction is a worse correction. This patent asks: can you remove the noise without making the signal late? Its answer: don't muffle everything. Cut out exactly the few spikes you can predict.
01 The sensor
How does a vibrating mass feel rotation?
Inside the gyroscope is a proof mass , a slab of silicon a fraction of a millimetre across, hung on springs. Electrodes keep it swinging back and forth at its natural drive frequency , tens of thousands of times a second, with a feedback loop holding the swing at constant size.
Now picture walking straight across a spinning merry-go-round. You feel shoved sideways, but only while you are moving, and the faster it spins, the harder the shove. That is the Coriolis force . When the phone turns, the vibrating mass gets the same sideways shove, first one way and then the other as its motion reverses. So it starts to wobble across its drive direction, by an amount proportional to the rotation rate.
Electrodes beside the mass sense that wobble as a tiny change in capacitance . The chip then demodulates it: it multiplies the sense signal by its own drive beat and averages. Only wiggles in step with the drive survive, like picking one voice out of a crowd because you know its rhythm. What remains is a slow signal proportional to the rotation.
Illustrative. Time is slowed so you can see individual drive cycles. The sense wobble grows with rotation and flips phase when the rotation reverses; multiplying by the drive clock turns that into a steady, signed number.
02 The first spike
Two notes, one wobble
The sideways direction is a spring too, so it has its own natural note, the sense resonance Fsense . Designers put it close to the drive note Fdrive, because a nearby resonance makes the sideways wobble bigger and the sensor more sensitive. The patent's Fig. 4 sketches this: a tall peak at Fsense (its height set by the quality factor Q), with Fdrive sitting on its slope.
Two nearby notes beat, like two slightly mistuned guitar strings. Hit the gyroscope with a sudden twist and its output overshoots, then rings at exactly the gap between the notes, |Fsense − Fdrive| , before dying away.
Predict first: move Fsense further away from Fdrive. Will the ringing get faster or slower?
Illustrative values: Fdrive = 24.0 kHz, Q = 400. The ring decays in about 5 ms; the trace is slowed about 300× and repeats every few seconds.
After demodulation, the same physics shows up in the output spectrum as a peak at |Fsense − Fdrive| (the patent's Fig. 5). That peak is a problem even when nothing is jolting the phone. The mass is constantly jostled by gas molecules and heat, a hiss called Brownian noise , and the peak amplifies that hiss. In the patent's words, it "contributes significantly to total system noise, unless filtered."
03 The full picture
Three spikes
Look at the gyroscope's output as a spectrum, from slow wiggles on the left to fast ones on the right. The useful rotation signal lives in the flat region at the left. Then come the troublemakers: the resonance peak, plus drive tones , leftovers of the drive vibration at its frequency and its multiples (the patent's Fig. 6 marks Fdrive and 3·Fdrive). Switch the noise sources off and on to see which spike comes from where, and tap a spike for an explanation.
Tap a spike on the spectrum, or a button above, to see where it comes from.
Simulated output with the phone held still: Welch-averaged spectrum (Hann window) of the live signal at 192 kHz sampling. Noise levels are illustrative.
04 The core idea
Muffle or carve?
The conventional fix is a low-pass filter: let slow wiggles through and muffle everything fast. Set it low enough to bury the spikes and the output gets clean, but a filter that ignores fast changes also reacts slowly to real ones. The patent puts it plainly: this approach can "increase filter settling time and system latency," which hurts stability.
The patent's fix is a programmable notch filter . It places "zeros" exactly at |Fsense − Fdrive| and at the drive tones, cutting out those few frequencies and leaving the rest alone. A low-pass can still follow, but with a much higher cut-off. Try both below and watch where the dot lands.
—
Illustrative simulation, computed from the actual filter chain: noise is the rms output with the phone still (Brownian hiss, resonance peak and drive tones, integrated over the spectrum); delay and settling come from the noise-free step response. Low-pass: 2nd-order Butterworth. Notches at the stored |Fsense−Fdrive| = 1.2 kHz, Fdrive = 24 kHz and 3·Fdrive = 72 kHz. In this model the resonance notch's zeros sit right on the stored resonance, so they remove its ringing as well as its peak; the patent does not specify the notch shape. The dashed curve shows every possible low-pass setting without notches.
05 Making it work in mass production
Every chip sings its own note
A notch only works if it sits exactly on its spike, and manufacturing is never perfect: every chip, and each of its x, y and z axes with its own proof mass, comes out with slightly different drive and sense frequencies. Notches set to "typical" values miss on many chips.
So the patent adds a configuration system (its Figs. 8 and 10): a frequency identification component measures each gyroscope's drive and sense resonance frequencies, and a programming component stores them in the chip's memory . The gyroscope then places its notches using its own stored values, axis by axis.
Holding factory-default typical values.
—
Illustrative chips: Fdrive drawn between 23.2 and 24.8 kHz and Fsense−Fdrive between 0.9 and 1.6 kHz per axis. Each row zooms in on that axis's resonance peak (magenta) and the notch placed from memory (amber); cyan is the output after the notches and a 2 kHz low-pass, as in the lab above. Noise figures include the drive tones.
06 Back to the camera
Steady shot
Optical image stabilization is a closed loop : read the gyroscope, work out how far the phone has tilted, move the lens the opposite way, repeat. Your hand trembles a few to about fifteen times a second, so even a delay of a couple of milliseconds lets the correction trail behind the shake. The patent names optical image stabilization as an example of the closed-loop applications that benefit from lower latency.
Below, the same simulated hand shakes a camera pointed at a night street. Choose how the gyroscope signal is cleaned, then press the shutter to take a long exposure with both filters on the same shake.
Illustrative simulation, not a measurement: the patent reports no camera tests. Hand tremor is a mix of 2 to 14 Hz sways; the lens follows the integrated gyroscope signal from each filter chain, including its noise. Shake in the viewfinder and photos is exaggerated so the difference is visible.
07 The source
What the patent proposes
The method of Fig. 9, step by step:
Vibrate the sensor mass at the drive resonance frequency.
Detect its deflection from the Coriolis force, via changing capacitance.
Demodulate it with the drive clock to get the rotation output.
Receive the frequency set: Fdrive, Fsense (or Fsense−Fdrive) and the drive-tone multiples.
Notch : apply the notch filter at those frequencies.
Drawings from US 9,885,577 B2 (Tsinker / InvenSense), cropped and rotated.
What is claimed, in plain language
The gyroscope (claim 1). A MEMS gyroscope with a drive component that vibrates a sensor mass at its drive resonance, a sense circuit that turns the Coriolis deflection into a demodulated output, and a signal processor that receives a set of frequencies (a value for Fdrive, a value for Fsense or the difference, and drive-tone values) and applies a notch filter based on them. Dependent claims add the analog-to-digital converter before the notch and an optional low-pass afterwards.
The method. Vibrate, detect, demodulate, receive the frequencies, apply the notch filter (Fig. 9).
The configuration system (claims 19 onward). A frequency identification component that determines the drive and sense resonance frequencies, and a programming component that stores them in memory so the gyroscope can use them for its notch filters, including separate values for the x, y and z axes.
How to read this page
This is a patent disclosure: a proposed design . Its waveform figures are schematic sketches, and it reports no measurements and no specific frequencies, Q values or latencies. Every number on this page (24 kHz drive, 1.2 kHz gap, Q = 400, the noise levels and delays) is an illustrative value from our own simulation, chosen to make the patent's qualitative argument visible.
Back to the photo
A camera's stabilizer can only cancel the shake it hears about in time. Muffling the gyroscope's noise with a heavy low-pass makes the news arrive late; carving out its few predictable spikes keeps it clean and prompt. That is the patent's bet: "significantly lower system latency," and better performance in closed loops like optical image stabilization.
Source Citation
Vadim Tsinker (inventor); InvenSense, Inc., San Jose, CA (assignee). Reducing resonance peaks and drive tones from a micro-electro-mechanical system gyroscope response. United States Patent US 9,885,577 B2, granted Feb. 6, 2018. Filed Jul. 30, 2015 (Appl. No. 14/814,016). Prior publication US 2017/0030714 A1 (Feb. 2, 2017). 22 claims.
Read the patent: patents.google.com/patent/US9885577B2
Topics in this iPaper
Engineering
gyroscope output using a notch filter is presented herein
Abstract, page 1
microelectromechanical systems
reducing resonance peaks and drive tones from a micro-electro-mechanical system (MEMS) gyroscope response
Technical Field, column 1
gyroscope
corresponding to a coriolis force applied to the MEMS gyroscope
Detailed Description, column 2
notch filter
improve system stability by utilizing a programmable notch filter to "notch out" frequencies corresponding to such peaks
Detailed Description, column 2
digital signal processing
apply the notch filter to the digital value, e.g., utilizing a digital filter, to obtain the filtered output
Detailed Description, column 4