TroubleshootingBy Kezuriba Editorial Team

Measure and hear chatter frequency: get fc from a phone microphone or a machining video and choose the spindle speed

Change the speed a little and measure twice: the peak that stays put is chatter. Measure from outside the door!

Chips, the Kezuriba mascot
Measure and hear chatter frequency: get fc from a phone microphone or a machining video and choose the spindle speed

When you fight chatter by "changing the speed a little", the one number you most want is the chatter frequency fc. Once fc is known, the number of waves per tooth pass k and candidate speeds that tend to be stable follow by calculation. Yet even our chatter decision flow only said to measure fc "with a smartphone microphone and an FFT app". This article covers just the measuring. Right on this page, it splits microphone sound, a machining video shot on a phone, or a model's sound into frequencies, compares them with the tooth-passing lines, and picks out the chatter peak. First, listen to the difference between stable and chattering cuts.

Summary: measure → tell apart → choose the speed

  1. Measure4 s or more with a phone mic or video, from outside the door. Note the speed n and the number of teeth z.
  2. Tell apartPeaks on the tooth passing frequency and its multiples are forced vibration; a peak off those lines is a chatter candidate. If unsure, change the speed 5–10% and measure again.
  3. Choose the speedFrom fc, get the waves per tooth pass k and candidate speeds. What to try first is in the decision-flow article.

Measuring chatter frequency from sound is used in research and on the shop floor. Pick up the vibration with an accelerometer or a microphone, split it into frequencies with an FFT (fast Fourier transform), and chatter appears as a prominent peak that does not coincide with multiples of the tooth passing frequency in the spectrum[1]. In a thin-plate end milling experiment, the stable conditions showed peaks at the tooth passing frequency of 1,133 Hz and the related 566 and 2,266 Hz, while the chattering condition showed a peak at 1,300 Hz, matching none of its tooth passing frequency of 933 Hz or the related 466 and 1,866 Hz[5]. You can do the same with a smartphone microphone instead of an expensive analyzer. But a microphone only tells you which frequency is ringing. It cannot tell whether the tool or the workpiece is vibrating, or how much deeper you could cut.

Train your ear first: stable vs chatter

Press and move the dot on the chart below. The page solves the tool's vibration in time for that speed and depth, and turns it into sound and a surface pattern. Below the line (green), noise shakes the tool but the motion soon dies out and you only hear a dull tooth-passing hum. Above the line (red), each pass over the wave left by the previous revolution makes the vibration grow until the tool leaves the workpiece and it levels off, and a high tone just above the natural frequency keeps ringing[3][6]. The first example is the parting-off calculation example from a technical paper (natural frequency about 503 Hz)[7]. Press "To a stable point" and "To a chatter point" to hear and see the difference. The dot starts on the stable side. The sound fades in over 0.3 s after you press play, and switches over 0.3 s when you move the dot. For easier listening, the loudness gap between stable and chatter is reduced to about 15 dB (in real cutting the gap is much larger).

Surface pattern (one row = one revolution; lighter = the tool moved away and left more material)

A one-degree-of-freedom model (one vibration mode). The sound is the tool's deflection velocity plus a little cutting noise, not a real machine's sound. Real values need an impact hammer test.

Model assumptionsIt solves m·ẍ + c·ẋ + k·x = Kf·b·h(t), with chip thickness h(t) = max(0, h0 − x(t) + x(t − T)), at the audio sampling rate (x is the direction in which the tool moves away, T the tooth passing period; h at or below 0 means the tool has left the cut and the force is 0). The natural frequency, damping ratio, static stiffness, specific cutting force and number of teeth are the same values as in the stability lobe chart in the decision flow. We checked that the stable/unstable boundary from the time simulation matches the chart's limit at 23 speeds across the three examples (0.9× and 1.1× the limit, 46 points in all). This is a model with only one vibration mode. On a real machine the modes of tool, holder, spindle and workpiece overlap. Real values need an impact hammer test, tapping the tool tip to measure its frequency response.

Measure with a microphone: 4 seconds from outside the door, or from a video

Keep the door closed, measure from outsideOut of reach of chips and coolant
Illustrative: keep the phone out of the machine, near the window outside the door. A tripod or stand also keeps handling noise out.
  • Place it outside the door: inside the machine, chips and coolant can ruin the phone, and it could get caught by the spindle or tool. Close the door and place it near the window. Even through the door, chatter peaks above a few hundred Hz are visible
  • Compare from the same spot: when measuring twice, keep the phone's position and direction the same. Look at how the peak frequencies move, not at differences in loudness
  • Background sound: air blow, neighboring machines and compressors also make peaks. Record once while not cutting (idling or stopped) too, so you can rule those peaks out
  • Write down the speed and teeth: the check is a comparison with "tooth passing frequency = teeth × speed ÷ 60". If you are using the override, note the actual speed on the screen

When using the microphone, the instrument below asks the browser to turn off echo cancellation, noise suppression and automatic gain control for the recording[9]. A phone's OS may process the input to suit phone calls or adjust the level automatically, which gets in the way of measuring[8]. Some models cannot turn these off, though. You can check the reading with the "Test tone 1,000 Hz" button (it records 1,000 Hz played through the speaker and checks the reading falls within 1,000 ± 3 Hz).

Measuring from a phone video: if you have a video of the cut, you can measure its sound. Open the video file in the instrument and it extracts just the audio and shows the waveform. Four steps:

  1. RecordWith the door closed, shoot about 10 seconds of video near the window. Note the program's S (speed) and the tool's number of teeth.
  2. Pick a rangeOpen the video file in the instrument below and move the yellow range onto the cutting (leave out idling and rapid traverse).
  3. Read the peaksRed dots are chatter candidates, green ones are tooth passing. Press a peak to use it as fc.
  4. To the speedYou get a table of candidates and a link to the calculator with the values filled in. After changing the speed, record again from the same spot to confirm.

Chatter frequency meter

Sound is processed only inside this browser. Nothing is saved or sent.

Put it in

Add a sound and the frequency peaks appear here.

chatter candidate chatter harmonic small peak tooth passing (forced) spindle rotation (forced) cannot tell by frequency alone multiples of the tooth passing frequency

Reading the dot colors: red is a chatter candidate, green is tooth passing (forced vibration), gray is spindle rotation (forced vibration from runout or unbalance). Light red "chatter harmonics" are peaks at 2, 3 … times the largest chatter candidate; grown chatter distorts the waveform, so they appear with it. Brown "small peaks" are off the lines but 6 dB or more below the largest peak (this instrument's rule of thumb). dB (decibel) expresses a ratio of sizes on a log scale: 6 dB smaller is about half the amplitude, 20 dB is one tenth. Yellow peaks "cannot be told apart by frequency alone", covered in the next section.

For those who want the details: how this instrument analyzes sound

The selected range is cut into 16,384-point segments overlapping by half, each is tapered smoothly at both ends with a Hann window, transformed by FFT, and the spectra are averaged (Welch's method). For sound recorded at 48 kHz, the frequency step (resolution) is about 2.9 Hz, and each peak top is read finer than that by fitting a parabola to the three points around it. Only peaks standing 10 dB or more above their surrounding floor (the median over ±1/3 octave, about 0.8 to 1.26 times the frequency) are picked. With synthetic sound (tooth-passing harmonics, one chatter tone and noise) we confirmed the chatter frequency is recovered within ±1%.

Telling peaks apart: tooth-passing lines and measuring twice

Telling them apart in one run: peaks on the tooth passing frequency f_tp = z × n ÷ 60 and its multiples are forced vibration from each tooth's impact. Peaks on multiples of the spindle frequency n ÷ 60 are also forced vibration, from runout or unbalance. A large peak off both sets of lines is a chatter candidate[1][3].

In the listening model's sound, the natural-frequency peak at a stable point was 8–13 dB below the largest peak, and at a chatter point it became the largest peak in the sound. So inconspicuous peaks off the lines are set aside as "small peaks" and not counted as chatter candidates.

Example: a 4-flute end mill at 6,000 min⁻¹ gives f_tp = 4 × 6,000 ÷ 60 = 400 Hz. If peaks line up at 400, 800, 1,200, 1,600 Hz … and there is also a large peak at 1,234 Hz, then 1,234 Hz is the chatter candidate (34 Hz off the 1,200 Hz line).

At low speed you cannot tellWith a single-point lathe tool at 300 min⁻¹, the spindle lines are 5 Hz apart. Once the tolerance band from the resolution (about 3 Hz) and the speed reading error (we assume 0.5%) exceeds 30% of the line spacing, every peak seems to sit on some line. The instrument then shows a yellow dot: "cannot tell by frequency alone". When the chatter frequency happens to fall near a multiple of the tooth passing frequency, a single run cannot separate it from forced vibration either. If a peak on a line stands 12 dB or more above its neighboring harmonics (the multiples just above and below), the instrument marks it yellow instead of silently calling it forced. Chatter that overlaps less strongly than that looks like a tooth-passing peak. In both cases, confirm with the two-run comparison below.

A: 6,000 min⁻¹ (f_tp 400 Hz)B: 6,480 min⁻¹ (+8%, f_tp 432 Hz)4008001,6003,2004328641,7283,456chatter 1,234 Hz1,241 Hz (only 0.6%)frequency Hz (log)
Schematic of the two-run comparison (drawn with the numbers from the example). The green tooth-passing peaks move right by the speed ratio (8%); the red chatter peak barely moves.

Measure twice and compare (the reliable way): change only the speed by 5–10% and measure again from the same spot. Forced-vibration peaks move by the same ratio as the speed, while the chatter peak stays almost where it was, near the natural frequency[3][1]. In a report that measured the sound of end-mill slotting at different speeds, the chatter tone appeared near the tool's second natural frequency (about 955 Hz) at every speed[4]. With Run A and Run B filled in, the instrument checks for each A peak whether B has a peak where it would have moved by the speed ratio or where it stays, and takes whichever is off by less than 35% of the speed change (for an 8% change, "stays" allows 2.8%). It gives no verdict if the speeds differ by less than 2%.

This "change the speed and re-measure fc" approach is the same idea as Discrete Spindle Speed Tuning, which adjusts the spindle speed in discrete steps: change the speed so a multiple of the tooth passing frequency matches the measured chatter frequency, and repeat until the chatter disappears or its frequency stops changing over two consecutive tries[1].

Choosing the speed: k, speed zones and candidate speeds

Once fc is fixed, compute the waves per tooth pass k = fc ÷ f_tp and the candidate speeds n_j = 60 × fc ÷ (z × (j + 1)). Why chatter tends to stop where k is a whole number is explained in the decision flow's how regenerative chatter works. Here a stability pocket is a speed range where the stability limit rises into a peak and you can cut deeper, and j is its number (j = 0 on the highest-speed side). In the example above (fc 1,234 Hz, 4 flutes, 6,000 min⁻¹), k = 1,234 ÷ 400 = 3.08, and the candidates are as follows (same formula as the calculator).

Pocket number jCandidate speedChange from now (6,000 min⁻¹)
018,510 min⁻¹+209%
19,255 min⁻¹+54%
26,170 min⁻¹+3%
34,628 min⁻¹-23%
43,702 min⁻¹-38%

Candidates are only a guideCheck the machine's maximum speed, the rated speeds of the tool and holder, and on a lathe the chuck's maximum speed and the loss of gripping force at higher speed (from its manual). Do not use a candidate directly as a cutting condition. In the instrument above, entering the machine's maximum speed greys out candidates above it as "over the limit", and marks candidates more than 30% away from the current speed.

In this example the closest is j = 2 at 6,170 min⁻¹ (3% higher). But k is just above 3 and near a zone boundary (3 and 10), so speed alone may not stop it. The instrument adds "near a zone boundary" when k is within ±10% of a boundary. Candidates come out slightly above the true pocket, so after changing the speed, measure again and fine-tune[3].

05,00010,00015,00020,000j=0j=1j=2j=3j=4now 6,000green band = within ±30% of nowover the limit (e.g. max 12,000)spindle speed min⁻¹
The example's candidates on a speed axis. Illustrative, for a machine with a maximum of 12,000 min⁻¹; j = 0 (18,510 min⁻¹) cannot be used on it.

How to act in each k zone (lower the speed in the low-speed zone, move to a pocket in the high-speed zone, depth and stiffness first in between) is summarized under "(2) Spindle speed" in the decision flow's fixes in order of cost section. To just get candidates from a measured value, use the chatter RPM calculator; pressing "Open the chatter speed calculator with these values" in the instrument's result opens it with fc, teeth and speed filled in.

When it doesn't work: low frequencies, auto gain, nearby machines, model limits

Machine structure chatter (20–200 Hz)Tool and spindle chatter (0.5–10 kHz)Range this instrument searches (80 Hz–8 kHz)Low sounds phone mics often handle poorly (depends on model and settings)101001k10kHz (log)
Chatter frequency bands and what microphones handle well or poorly (band positions from Munoa et al. 2016; phone mics at low frequency from Faber 2017. Where the weak band ends depends on model, OS and settings).
  • Low frequencies: structural chatter, where large parts of the machine such as the bed and column vibrate, appears low, at 20–200 Hz. Tool and spindle chatter is at 0.5–10 kHz[1]. Phones may apply a filter that cuts low sounds; on iPhones before iOS 6, the microphone input was reported to be of little use for measurement below about 200 Hz[8]. Low-frequency chatter is measured more reliably with an accelerometer or the CNC's internal signals (servo data)[1]
  • Automatic gain control: processing that raises and lowers the level on its own changes peak heights (peak positions rarely change). The instrument asks for it to be off, but some models cannot. When comparing two runs, judge by peak positions
  • Nearby machines: neighboring machines, pumps and air also make peaks. Compare with the sound when stopped or idling, and look for peaks that appear only while cutting
  • Small vibration: when vibration is small, as with small-diameter tools, even a machine's built-in chatter detection may miss it[10]. A microphone is no different: a peak that does not stand 10 dB above the floor is not picked
  • Model limits: the listening sounds come from a one-degree-of-freedom model. The pitch trend (just above the natural frequency) matches real machines, but tone color and loudness do not

In industry: functions that set speed from sound or vibration

Illustrative: picking up spindle vibration and viewing the chatter frequency and speed on the operator panel. Sensor types and mounting differ by product.

Tuning the speed from a measured chatter frequency is a method devised in the early 1990s, and the only measurement it needs is the chatter frequency. Portable retrofit devices that pick up vibration with an accelerometer or microphone and output a speed include Manufacturing Laboratories' (MLI) Harmonizer and Kennametal's BestSpeed. Among machine tool builders, Okuma offers a function that uses speed tuning and periodic spindle speed variation in turning and milling, and Makino Milling Machine has also built speed tuning into its CNC[1].

A review of chatter avoidance in turning summarizes Harmonizer as finding the chatter frequency from the cutting sound and a chatter-free speed in two or three iterations, but struggling when the initial depth is too large or the vibration modes keep changing as in finishing, so it is most useful for near single-degree-of-freedom systems and roughing. Okuma's Machining Navi is described as a function built into the CNC that changes the speed based on the vibration amplitude and frequency from a sensor, the number of cutting edges and the allowed speed range, and that the operator can switch on or off[2]. The instrument in this article lets you try, in a browser, the part of such functions that "gets fc from sound and calculates candidate speeds". It does not change the speed automatically or protect the machine.

FAQ

Can I measure the chatter frequency from a video of the cut shot on a phone?
Yes. Open the video with "Audio or video file" in the instrument and it extracts the audio and splits it into frequencies. Move the yellow range onto the cutting. When shooting, keep the door closed, stay near the window, and note the speed (the program's S) and the number of teeth. Videos without sound (recorded muted) cannot be used.
Sound from other machines or a compressor gets in.
Record once more at the same spot while not cutting (idling or stopped) and ignore peaks that also appear then. For peaks you are still unsure about, change only the speed by 5–10% and put the result in Run B: peaks that move with the speed (forced vibration) separate from those that barely move (chatter)[3][4]. Noise from other machines does not move when you change your own speed either, so tell it apart by whether it is also there while you are not cutting.
Low-frequency chatter (tens of Hz to 200 Hz) is not picked up.
Chatter of large machine parts such as the bed and column is low, at 20–200 Hz[1], and phones handle it poorly because they may apply a filter that cuts low sounds[8]. This instrument also does not search for peaks below 80 Hz. Low-frequency chatter is measured more reliably with an accelerometer or the CNC's servo data[1].
Is the recorded sound sent anywhere?
No. All analysis runs inside this page (your browser); recordings are neither saved nor sent. They disappear when you close the page. Recording and the listening sound stop when you switch to another tab.

The list of chatter causes and fixes is in Troubleshooting: chatter, and how to choose tools and holders in Tooling.

Sources

  1. J. Munoa et al., "Chatter suppression techniques in metal cutting", CIRP Annals 65(2) pp.785-808 (2016)
  2. G. Urbikain et al. "Prediction Methods and Experimental Techniques for Chatter Avoidance in Turning Systems: A Review" Applied Sciences 9(21) 4718 (2019)
  3. E. Shamoto, "Mechanisms and suppression of chatter vibration in cutting", Denki-Seiko 82(2) pp.143-155 (2011, in Japanese)
  4. E. Budak "An Analytical Design Method for Milling Cutters With Nonconstant Pitch to Increase Stability, Part 2: Application" J. Manuf. Sci. Eng. 125 pp.35-38 (2003)
  5. S. Yildiz, "Modeling milling of thin-walled parts considering dynamic structure-process interactions", PhD thesis, Sabanci University
  6. Y. Altintas, G. Stepan, E. Budak, T. Schmitz, Z.M. Kilic, "Chatter Stability of Machining Operations", J. Manuf. Sci. Eng. 142(11) 110801 (2020)
  7. T. Hashimoto, "Effect of the dynamic characteristic balance of a cutting system on vibration stability", JTEKT Engineering Journal No.1020 (in Japanese)
  8. B.M. Faber "Acoustical Measurements with Smartphones: Possibilities and Limitations" Acoustics Today 13(2) (2017)
  9. MDN Web Docs "MediaTrackConstraints" (echoCancellation, noiseSuppression, autoGainControl)
  10. T. Nishikawa et al., "Development of a high-precision die machining system (8th report)", Hiroshima Prefectural Technology Research Institute, Western Region Industrial Research Center Report No.63 (2020, in Japanese)

More articles