SINUMERIK 840D sl Waves and Chatter Diagnosed: Servo Trace, Bode Mechanical Zero, MD32410 Tuning and Contour Error

"Waves on the surface" is one of the most frequent shop-floor requests — and most people start by changing MD32410. That puts the cart before the horse: find the real vibration frequency first, then compute the filter time, and only then touch parameters. This article covers the diagnosis layer: how to use servo Trace, contour-error Trace and the speed-loop Bode plot to find the resonance frequency, and how to compute MD32410 once you have it. The companion setup layer article — 840D sl compressor + jerk + filter — covers how to fill in the commands and the full filter trio; the two cross-link.

Tuning examples come from a public Siemens CNC4YOU article (Bai Zhifu, 2020-03-24, citing the SINUMERIK 840D sl/828D Basic Functions manual 08/2018); machine-data definitions come from the official parameter manual (MD10061 POSCTRL_CYCLE_TIME etc.). Methods, parameter numbers and criteria only — actual values follow your machine’s measurements and manual.

38.1 Separate three kinds of wave first: witness marks / chatter / water waves

Diagnosis starts with classification — the three have different causes and tools:

广告
TypeFormSourceSpectral signature
Witness marksa fixed line at one spottransition deceleration, tool-change dwellsynchronous with blocks/tool changes, not continuously periodic
Chatterhigh frequency, ridged, felt by handmechanical resonance, tool overhang, cutting parametersclear spectral peak, frequency tied to speed/tooth count
Water wavesperiodic undulation along the surfaceservo following error, acceleration jumpsstable period, typically tens of Hz

Criterion: stable period → use Trace to measure frequency; proportional to speed/tooth count → check cutting and mechanics; fixed point → check transitions and tool change. The tools below mainly address the latter two kinds that have a clear frequency.

Three wave types and their spectral signatures

38.2 Tool one: servo Trace — the velocity / following error / position error curves

Servo Trace is the first tool for finding a frequency:

  1. Select signals: velocity setpoint / actual, following error, position error and others available in your Trace function.
  2. Run once on the segment that shows the problem; export the curve.
  3. Read the vibration period T (time between adjacent peaks) and amplitude. Period T → frequency f = 1/T.

Example: contour-deviation curve shows a stable vibration with period 0.075 s, so f = 1/0.075 ≈ 13.33 Hz. That frequency is the basis for the filter setting. Signal selection and sampling follow your HMI/manual — the core of curve reading is “is the period stable, and how large is the amplitude”.

38.3 Tool two: contour-error Trace — Control deviation vs Contour deviation

Contour-error Trace shows two curves with different roles:

  • Contour deviation: normal deviation of the actual tool path from the programmed contour — maps directly to shape error on the part.
  • Control deviation: the control loop’s internal deviation signal — closer to the servo layer.

Reading logic: both curves vibrate → control/servo issue (filter can help); only contour deviation vibrates while control deviation is clean → more likely mechanical, programming or measurement side. This distinction is the tool’s core value — it tells you “tune parameters or inspect mechanics”. The CNC4YOU example observes a 0.075 s period through these two variables before setting MD32410.

38.4 Tool three: speed-loop Bode plot + mechanical zero point — find the real resonance

The first two tools infer frequency from the *result* (the waveform); the Bode plot reads the resonance point from *system characteristics*:

  1. Open the speed-loop Bode plot screen.
  2. In curve/graph and signal settings, uncheck “calculated control loop”, check mechanical frequency and mechanical zero point.
  3. Confirm, then move the pointer to the first mechanical zero point; the screen shows the frequency — e.g. 68.989 Hz.

This is the machine’s real mechanical resonance, more reliable than inference from a waveform (if the Bode signal settings are right). Relationship of the three tools: servo Trace and contour Trace give the vibration period; the Bode plot gives the mechanical resonance point; both routes yield the frequency needed for the filter, and cross-checking is stronger.

Relationship of the three diagnostic tools

38.5 The formula and practice: two examples, two ways of writing it

This is the most often-garbled part online. MD32410 is not computed by a single formula — it depends on where the frequency came from:

Frequency sourceKnownMD32410 valueExample
Vibration period from contour Traceperiod TMD32410 = TT=0.075 s → MD32410=0.075
Bode mechanical zero pointfrequency fMD32410 = 1/ff=68.989 Hz → MD32410≈0.0145
Speed-loop oscillationfrequency fMD32410 = 1/ff=37 Hz → MD32410≈0.027

Why does one example equal the period and another equal the reciprocal of frequency? Because T and f are reciprocals (T = 1/f) — the contour Trace measures period T directly, so use it; the Bode plot gives frequency f, so take its reciprocal. Both arrive at the same thing: set the filter time constant to one period of the vibration to be removed. Once you understand this, the three CNC4YOU examples (0.075 / 0.0145 / 0.027) stop looking contradictory.

General steps: MD32400=1 to activate → compute MD32410 → enter it → re-test. The official recommended range for MD32410 is about 1 to 127 position-control cycles (about 0.002–0.254 s at a 2 ms cycle); be cautious outside it.

38.6 MD32402 mode selection: the five official types

The filter type is chosen by MD32402; official definitions (828D Axes and spindles manual 10/2020 / CNC4YOU 3109):

TypeNameExtra parametersTraits
1Arithmetic-average filterMD32410large contour deviation, kept for compatibility, not recommended
2Single moving averageMD32410recommended: lower contour error at the same smoothing
3Band-stopMD32410 + MD32412 + MD32414suited to a known single frequency, official not recommended for routine use
4Double moving averageMD32410 + MD32411two type-2 filters in series, stronger smoothing, larger contour distortion
5FIR lowpassMD32407 + MD32408 + MD32409 + Top speed optionrarely used, needs option licence

Selection discipline: default to type 2; consider type 3 band-stop only for a known single resonance when normal methods fail; type 4 smooths more but distorts contour more; type 5 needs an option. The circulating “type 1 = second-order, type 2 = moving average, type 3 = band-stop” description is imprecise — official type 1 is an arithmetic average already superseded by type 2.

38.7 Two hard constraints on MD32410 and how activation works

Two hard conditions — miss one and the filter does nothing or misbehaves:

广告
  1. MD32410 must exceed MD10061 (position controller cycle). MD10061 POSCTRL_CYCLE_TIME is a read-only displayed value computed internally from SYSCLOCK_CYCLE_TIME etc. (the parameter manual marks it non-modifiable). A time constant shorter than one position cycle is equivalent to no setting.
  2. Changing MD32402 from type 1 to type 2 requires a power-on cycle; if another filter mode was already active, “enable machine data” or panel RESET is usually enough (version-dependent). MD32410 changes also need “enable machine data” or RESET to take effect.

One consequence to expect: enabling the position setpoint filter slightly lowers position-loop gain — the axis feels “softer” — an inherent cost of filtering, not a mistake (see 38.8).

38.8 The axis feels soft after enabling the filter — do not raise gain to compensate

Classic misoperation: after enabling MD32400/32410 the axis feels slower and the cut “soft”, so you raise position-loop gain to compensate. Filtering suppresses vibration while higher gain amplifies it — they fight, and the waves come back.

The right mental model: filtering trades a little response/contour accuracy for vibration suppression. If softness actually hurts the job: ① check whether MD32410 is set too large (well beyond the necessary period, causing visible contour distortion); ② use type 2 rather than type 1 (lower contour error at the same smoothing); ③ reconsider — maybe the resonance should be solved mechanically (overhang, fixture, tool) instead of by heavy filtering. Never “fight” the filter with gain.

The filter's cost and the misoperation

38.9 Re-test after tuning: before/after Trace on the same program

Tuning is not complete until verified:

  1. Run the same program segment with the same cutting parameters — change only the filter, so the comparison is valid.
  2. Record the same Trace signals (Contour deviation / Control deviation) and compare vibration period and amplitude before/after.
  3. Criterion: amplitude clearly lower and curve smoother, and contour error has not grown to an unacceptable level — both must hold.

A single run is not conclusive: filter behaviour depends on real conditions (load, attitude, temperature); run several times and use a stable result.

38.10 Division of labour, and four checks when no frequency is found

Division: this is the “diagnosis layer” — how to find the frequency, read the waveform and compute MD32410; 840D sl compressor + jerk + filter is the “setup layer” — the full compressor, BRISK/SOFT and filter-trio settings. The two cross-link; diagnose first, then set up.

If no frequency can be found or the filter does nothing, rule out four things before returning to filtering:

  1. Mechanical looseness: clearance and preload of guides, ballscrew, couplings, bearings.
  2. Excessive tool overhang: the longer the overhang the easier resonance — shorten it and use a more rigid holder first.
  3. Fixture rigidity: is the workpiece clamped solidly, does a thin wall resonate?
  4. Mismatched servo gains: speed/position loop gains not matched to the machine mechanics — see servo vibration, overshoot and noise and drive-side tuning.
Diagnosis layer versus setup layer

Frequently Asked Questions

Regular waves on a 840D sl surface — what screen do I look at first?

Start with servo Trace or contour-error Trace to find the vibration period T (time between adjacent peaks); a stable period means a vibration with a definite frequency, and you can then use the Bode mechanical zero point to find the resonance. Do not change MD32410 before looking at the waveform.

Should MD32410 be computed from the resonance frequency or from 1/f — what is the relationship?

They are the same thing: period T and frequency f are reciprocals (T=1/f). If contour Trace gives period T directly, set MD32410=T (e.g. 0.075 s); if the Bode plot gives frequency f, take the reciprocal MD32410=1/f (e.g. 68.989 Hz→0.0145 s). Both set the filter time to one period of the vibration to be removed.

The axis feels soft after enabling the position filter — is something wrong?

No, it is the inherent cost of filtering — a little response/contour accuracy traded for vibration suppression. Do not raise position-loop gain to “compensate”; filtering and gain then fight each other. If softness hurts the job, check whether MD32410 is too large, use filter type 2, or solve the resonance mechanically.

Last updated: 2026-11-24

Where to go next

Read the guide, get the right instrument, or walk the diagnosis through with someone — pick whichever you need.

Also available in Chinese: 840D sl 曲面波纹 / 振纹怎么诊断?伺服 Trace + 机械零点找共振频率 + MD32410 整定 + 轮廓误差判读(排查顺序表)
The original Chinese version — same procedure, with the full field notes.
© 版权声明
THE END
喜欢就支持一下吧
点赞5赞赏 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容

CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
SINUMERIK 840D sl Waves and Chatter Diagnosed: Servo Trace, Bode Mechanical Zero, MD32410 Tuning and Contour Error-CNCShare | 数控电气技术中心
840D sl 曲面波纹 / 振纹怎么诊断?伺服 Trace + 机械零点找共振频率 + MD32410 整定 + 轮廓误差判读(排查顺序表)-CNCShare | 数控电气技术中心
SINUMERIK 840D sl Surface Waves and Chatter: Compressor (COMPCAD / COMPSURF) + BRISK / SOFT + Jerk Filter MD32400 / 32402 / 32410-CNCShare | 数控电气技术中心
840D sl 曲面加工波纹 / 振纹怎么消?压缩器(COMPCAD / COMPSURF)+ BRISK / SOFT + MD32400 / 32402 / 32410 急动滤波一次配齐-CNCShare | 数控电气技术中心
HEIDENHAIN FUNCTION TCPM vs M128: Four Selectors Explained, Plus G43.4 / TRAORI Comparison-CNCShare | 数控电气技术中心
海德汉 FUNCTION TCPM 与 M128 怎么选?四个选择器逐项对照 + 与 G43.4 / TRAORI 一页对照-CNCShare | 数控电气技术中心
Cross-Brand Tool Centre Point Control Reference: FANUC G43.4 / SINUMERIK TRAORI / HEIDENHAIN TCPM / M128-CNCShare | 数控电气技术中心
五轴刀尖跟随指令跨品牌对照表:FANUC G43.4 / 西门子 TRAORI / 海德汉 TCPM / M128 —— 指令、参数落点、旋转中心标定口径、取消方式与三个共同陷阱-CNCShare | 数控电气技术中心
FANUC Five-Axis Tool Centre Point Control (G43.4 / RTCP): Parameters 19680–19714 Explained, Calibration and PS5420-CNCShare | 数控电气技术中心
FANUC 五轴刀尖跟随(G43.4 / RTCP)怎么设?参数族 19680–19714 逐条 + 旋转中心实测标定 + PS5420 报警三步排查-CNCShare | 数控电气技术中心
SINUMERIK 828D / 840D sl vs FANUC vs Mitsubishi M80 Parameter Cross-Reference (Aligned by Function)-CNCShare | 数控电气技术中心
828D / 840D sl ↔ FANUC ↔ 三菱 M80 常用参数三方对照总表(按功能对齐,不按号段对齐)-CNCShare | 数控电气技术中心
文章精选
专心做好一件事
打造更优雅的WordPress主题-CNCShare | 数控电气技术中心
专心做好一件事
打造更优雅的WordPress主题