1. Problem Overview: SINAMICS S120 with 1FK7 Servo Motor Speed Ripple
When commissioning a SINAMICS S120 booksize drive system with a CU320-2 PN Control Unit driving a 1FK7 synchronous servo motor under no-load conditions, the actual speed display (r63) typically shows a periodic deviation from the setpoint. A common field observation is a speed window of ±2 RPM around a 1000 RPM setpoint, which raises the question of whether the fluctuation represents an actual mechanical speed error, a measurement artifact, or a control-loop issue.
This article documents the diagnostic procedure and root-cause analysis for this behavior on a system with the following components:
| Component | MLFB / Part Number | Function |
|---|---|---|
| Control Unit | 6SL3040-1MA01-0AA0 (CU320-2 PN) | Central drive control, PROFINET interface |
| Motor Module | 6SL3120-2TE21-0AD0 (Booksize) | Power stage (single-axis, internal air cooling) |
| Servo Motor | 1FK7083-2AC71-1RG1 (1FK7 series) | Permanent-magnet synchronous servo motor with integrated sin/cos encoder |
The key engineering question during commissioning is: is ±2 RPM a normal encoder-derived measurement artifact, or does it indicate a real speed fluctuation requiring remediation? Field tests at Siemens branch offices, comparing a 1FT7 motor (2048 pulses/revolution, ±0.15 RPM) and the 1FK7 motor (512 pulses/revolution, ±2 RPM) on the same drive platform, demonstrate that the bulk of the observed ripple is encoder-resolution dependent and not a control-loop malfunction.
r61 is the raw, unsmoothed value derived directly from the encoder evaluation. r63 is the smoothed actual speed, filtered through the time constant stored in p1441. Field tests confirm that a higher pulse-per-revolution (PPR) encoder dramatically reduces r61 ripple, which is the expected behavior for any digital encoder system.
2. Understanding r61 and r63: Two Distinct Speed Signals
The SINAMICS S120 firmware computes the actual speed in two separate paths with different post-processing characteristics. Misidentifying which parameter is being displayed or traced is a common source of confusion during commissioning.
| Parameter | Description | Source | Smoothing | When to Use |
|---|---|---|---|---|
| r61 | Actual speed value (raw, unsmoothed) | Direct from encoder evaluation (SMx) | None | Diagnostic traces, ripple analysis |
| r63 | Actual speed smoothed | r61 filtered by p1441 | p1441 PT1 time constant | Operator display, standard HMI readouts |
| r2169 | Actual speed smoothed for monitoring | r61 filtered by p2153 | p2153 PT1 time constant | Diagnostic comparison; no effect on control loop |
The relationship between r61 and r63 is governed entirely by p1441:
- If
p1441 = 0(default in many configurations):r63 = r61. Both parameters display the raw encoder value. - If
p1441 > 0:r63is a low-pass-filtered version ofr61, with the time constant in milliseconds set by p1441.
The raw value r61 carries every artifact of the incremental encoder evaluation chain: sinusoidal signal maxima and minima, analog zero crossings, and the quantization effect of the pulse count multiplied by the fine-resolution bits. This is why even a perfectly tuned and well-commissioned drive loop will show oscillation in r61 when traced with high time resolution. The oscillation is not a fault; it is a faithful representation of the encoder's discrete output.
3. Encoder Pulse Calculation and Resolution
The encoder pulse number stored in p408 is the line count per mechanical revolution of the motor's integrated encoder disc. The fine resolution in p418 determines the bit count of the interpolation stage that divides each analog sin/cos period into discrete increments inside the Sensor Module (SMx) or CUA32.
For the 1FK7083-2AC71-1RG1 motor referenced in this analysis:
| Parameter | Value | Meaning |
|---|---|---|
| p408 | 512 | Rotary encoder pulse number (lines per revolution) |
| p418 | 11 | Fine resolution bits (2^11 = 2048 increments per line) |
| Increments per revolution | 512 × 2^11 = 1,048,576 | Total position increments per mechanical revolution |
| Angular resolution | 360° / 1,048,576 | ≈ 3.43 × 10⁻⁴ ° per increment |
For the comparison 1FT7 motor (2048 pulses, 11-bit fine resolution), the total is 2048 × 2048 = 4,194,304 increments per revolution — exactly four times the resolution of the 1FK7. This resolution ratio (4:1) directly explains the observed speed-band ratio on r61 (1FT7 ≈ ±0.15 RPM vs 1FK7 ≈ ±2 RPM, a factor of ≈ 13; the additional factor beyond the 4× pulse-ratio advantage comes from the 1FT7's lower cogging torque, which removes a separate motor-dependent ripple contribution).
The position deviation visualized with the LSM (Limit-Switch / Motion) function in the trace tool yields the angular error directly:
Position deviation [°] = (Δinc / (p408 × 2^p418)) × 360°
A 100-increment deviation on a 1FK7 (p408 = 512, p418 = 11) equals 100 / 1,048,576 × 360° ≈ 0.034° — an extremely small angular error that does not produce visible mechanical vibration or affect workpiece quality in any but the most demanding precision applications.
4. Root Causes of Speed Ripple in 1FK7 Systems
The ripple observed in r61 has multiple contributing sources. To isolate them, trace r61 at a slow setpoint (60 RPM = 1 Hz mechanical = 1 rev/s) and apply a Fast Fourier Transform (FFT) to the captured buffer. This separates the dominant frequency components into distinct bins, each associated with a different physical source.
| Order / Frequency | Physical Source | Characteristic Signature | Remediation |
|---|---|---|---|
| 512 Hz @ 1 rev/s | Encoder line frequency (1FK7 PPR) | Always present on r61; dominant at low speed | Motor swap to 1FT7; or accept ±2 RPM display |
| 1024 Hz, 2048 Hz | Higher harmonics of sin/cos interpolation | Encoder electronics artifact; visible at all speeds | Use r2169 (1 ms monitoring filter) |
| 18× mechanical (18 Hz @ 1 rev/s) | Motor cogging torque (slot harmonics) | Motor design-dependent; lower in 1FT7 | Motor swap or mechanical decoupling |
| 1×, 2×, 3× mechanical | Load-side: gearbox errors, coupling misalignment, belt pitch | Mechanical assembly dependent | Verify alignment; check coupling concentricity |
| p0115[0] cycle orders (e.g., 8 kHz) | Quantization in current controller setpoint | Visible at current controller sampling | Application-dependent; rarely dominant |
5. Diagnostic Workflow: SINAMICS Trace and FFT Analysis
The following step-by-step procedure isolates the source of speed ripple on a 1FK7 system. It is suitable for execution with STARTER or SINAMICS Startdrive commissioning software.
- Set a low speed setpoint. Command 60 RPM (1 Hz mechanical). This slows the mechanical frequency components and separates the encoder harmonics in the FFT spectrum. Do not exceed 200 RPM during the diagnostic run.
-
Configure the trace buffer in STARTER / Startdrive:
- Trigger mode: free-running (no trigger)
- Duration: 1000 ms
- Sampling time: 125 µs (current controller cycle, p0115[0])
- Signals to record: r61 (raw actual speed), r479 (actual position value)
- Record r61 in the time domain. Inspect the waveform. Expect a high-frequency riding oscillation (encoder-line frequency) superimposed on a near-constant average value (the commanded speed). Note the peak-to-peak amplitude.
-
Apply FFT to the r61 buffer. Identify the dominant spectral peaks. Look for:
- 512 Hz (PPR fundamental of the 1FK7 encoder)
- 1024 Hz and 2048 Hz (sin/cos harmonics)
- 18 Hz (cogging at 18 slots × 1 rev/s)
- 1 Hz and 2 Hz (mechanical / coupling misalignment)
- Record r479 actual position in parallel. Use the trace tool's mathematical LSM function to derive the deviation from an ideal linear position curve. Convert the resulting peak deviation from increments to mechanical degrees using the formula in Section 3.
-
Record r2169 (monitoring-smoothed speed) for comparison. Set
p2153 = 1 msto enable the monitoring PT1 filter; trace r2169 in the same window at the same scale. The difference between r61 and r2169 represents the encoder-noise contribution alone, isolated from any mechanical or motor-related disturbance. - Interpret the FFT spectrum. If the 512 Hz peak dominates and the 18 Hz peak is small, the encoder is the dominant source. If the 18 Hz peak dominates, the motor cogging is the dominant contributor and a 1FT7 swap is the recommended remediation. If non-periodic disturbances appear, check cable routing and shielding (Section 8).
6. Position Deviation Analysis Using the LSM Function
The r479 parameter is the raw actual position value in encoder increments (range: 0 to p408 × 2^p418). Unlike r61, r479 is not differentiated over time; therefore, it does not amplify encoder quantization noise into the speed domain. r479 is the proper diagnostic signal when the application is sensitive to position errors (machining, indexing, printing registration).
Using the trace tool's mathematical functions, plot the deviation of r479 from a mathematically ideal linear position ramp over the trace window. This deviation, expressed in increments, converts directly to mechanical angle:
Δθ [°] = (Δinc / (p408 × 2^p418)) × 360°
For a 1FK7 with 1,048,576 inc/rev, a peak deviation of 100 inc equals 0.034° of mechanical angle. Even a peak deviation of 1000 inc (0.34°) — an order of magnitude larger than typical — is invisible on most machined surfaces and is irrelevant for general positioning tasks. This is the meaningful error to assess on the workpiece, not the speed display.
If the application requires sub-arc-minute position accuracy, the proper response is to upgrade the motor (e.g., to 1FT7 with 2048 PPR) or to add an external high-resolution encoder on the load side (load-side position control via SMC30 or similar Sensor Module), not to chase the r61 speed display.
7. Smoothing Strategies: Monitoring Filter vs. Control-Loop Filter
Two distinct smoothing mechanisms exist in the SINAMICS S120 firmware, and the choice between them has direct consequences for closed-loop behavior. Selecting the wrong filter can degrade the achievable bandwidth and introduce new oscillation modes downstream.
| Mechanism | Parameter | Filter Output | Effect on Control Loop | Recommended Use |
|---|---|---|---|---|
| Speed-controller input filter | p1441 | r63 (smoothed actual speed) | Adds phase lag inside the speed controller; degrades dynamics | Only when bandwidth requirement permits; never for masking ripple alone |
| Monitoring filter | p2153 | r2169 (smoothed for monitoring only) | No effect on control loop | Diagnostic traces, HMI display smoothing |
Recommended diagnostic procedure:
- Leave
p1441at the value established during commissioning (typically 0 or a small value such as 0.1 ms). - Set
p2153 = 1 msto activate the monitoring filter. - Trace
r61(raw) andr2169(monitoring-smoothed) simultaneously at identical vertical scale. - Compare the two waveforms. The difference represents the encoder-noise component alone, isolated from any control-loop interaction.
A 1 ms PT1 low-pass filter has a corner frequency of f_c = 1 / (2π × T) ≈ 159 Hz. At 512 Hz (the encoder-line fundamental), the attenuation is approximately 20·log₁₀(√(1 + (512/159)²)) ≈ 20·log₁₀(3.32) ≈ 10.4 dB per stage. Higher harmonics (1024 Hz, 2048 Hz) are attenuated more strongly. A 1 ms time constant is sufficient to remove the visible encoder ripple from r2169 without introducing perceptible lag into the operator display.
8. Cable Routing, Shielding, and EMI Considerations
In addition to the deterministic encoder-related ripple, field installations can introduce noise coupled into the encoder feedback cable from the parallel power cable. This produces non-periodic disturbances superimposed on r61 that differ from the deterministic sin/cos ripple described above. Coupling-related ripple is typically bursty, varies with load, and may correlate with the power module switching edges.
| Parameter | Recommendation | Source |
|---|---|---|
| Minimum spacing between power and feedback cables | ≥ 50 mm (≥ 200 mm preferred) | Siemens SINAMICS S120 installation manual |
| Preferred routing | Separate compartments in cable duct/trench with metal partition | Siemens EMC installation guideline |
| Shield bonding | Shield sleeve connected to earth bar at both ends; 360° bonding at cabinet entry via EMC backplane | Siemens S120 EMC guideline |
| Cable type | Siemens MOTION-CONNECT signal/power cables with pre-assembled connectors | Siemens S120 system documentation |
| Encoder cable maximum length | Per Sensor Module variant (e.g., SMC20: 100 m; SMC40: 300 m for HTL/TTL) | Sensor Module data sheets |
For further reading on speed fluctuation sources in industrial drives, refer to peer-reviewed analysis such as the IET paper Analysis of voltage fluctuation impact on induction motors, which documents how supply-side disturbances produce additional spectral content in the stator current that couples into the speed signal through the torque-producing current loop.
If p1300 (open-loop/closed-loop control mode) is set to a sensorless open-loop mode (e.g., p1300 = 0, 1, 2, 20, or 22 in V/f variants), the actual speed is reconstructed from the motor model rather than the encoder. In that case, the encoder-ripple source disappears entirely and the observed ±2 RPM is replaced by a much smaller model-error component. Verify p1300 with the commissioning engineer before assuming encoder-dependent ripple.
9. Verification and Acceptance Criteria
The acceptance test for a 1FK7 system should distinguish three separate criteria. Conflating them leads to unnecessary re-commissioning or motor swaps.
| Criterion | Measured Parameter | Typical Acceptable Value (1FK7 / 512 PPR) | Typical Acceptable Value (1FT7 / 2048 PPR) | Notes |
|---|---|---|---|---|
| Raw encoder speed display ripple | r61 at 1000 RPM no-load | ±2 RPM | ±0.15 RPM | Normal; not a fault; encoder-resolution limited |
| Smoothed speed display ripple | r63 with p1441 commissioning value | Lower than r61 by √(p1441-dependent factor) | Same formula | Function of p1441 setting |
| Position deviation at the workpiece | r479 LSM analysis | Application-dependent; typically < 0.1° for precision servo | Approximately 4× lower | Calculated from increment deviation |
| Closed-loop speed step response | Overshoot, settling time | Per application specification | Per application specification | Not degraded by encoder ripple if p1441 = 0 |
| Torque ripple (no-load) | r80 / current FFT | Higher than 1FT7 (cogging) | Significantly lower | Motor design dependent |
A practical field check: load the motor with a small inertia disc or coupling and observe r61. If the ripple magnitude remains unchanged, the source is encoder electronics. If the ripple reduces dramatically when load inertia is added, the source is dominantly mechanical or motor cogging. This test takes less than five minutes and does not require disconnecting the encoder cable.
10. 1FK7 vs 1FT7 Comparison and Motor Selection Guidance
For applications where low encoder noise is critical, motor selection matters as much as drive commissioning. The 1FK7 and 1FT7 series serve different market segments within the Siemens synchronous servo portfolio.
| Property | 1FK7 (e.g., 1FK7083) | 1FT7 (e.g., 1FT7083) |
|---|---|---|
| Encoder pulse number (typical) | 512 PPR | 2048 PPR |
| Fine resolution (typical) | 11 bits (2048) | 11 bits (2048) |
| Position increments per revolution | 1,048,576 | 4,194,304 |
| Observed r61 ripple at 1000 RPM no-load | ±2 RPM | ±0.15 RPM |
| Cogging torque (torque ripple) | Higher | Significantly lower (optimized magnetic circuit) |
| Typical application | Standard dynamic positioning, cost-optimized machinery, packaging | High-precision machining, semiconductor, optical assembly |
| Relative cost | Lower | Higher |
If the application cannot tolerate ±2 RPM in the display but does not require sub-degree position accuracy, the proper response is to clarify which signal is being observed (r61 vs r63 vs r2169) and apply the appropriate monitoring filter (p2153 = 1 ms) — not to substitute the motor. If the application requires sub-degree position accuracy or sub-arc-minute following error, the 1FT7 is the correct platform choice.
11. Sampling Rate, Trace Window, and FFT Bin Resolution
Diagnosing speed ripple correctly requires the trace configuration to match the frequency band of interest. Insufficient sampling rate aliases the high-frequency encoder harmonics into the low-frequency spectrum, producing misleading FFT results.
| Frequency Band of Interest | Sampling Time Required | Trace Window | FFT Bin Resolution |
|---|---|---|---|
| Mechanical (1–50 Hz) | 1 ms (speed controller cycle) | 2000 ms | 0.5 Hz |
| Encoder fundamental (512 Hz) | 125 µs (current controller cycle) | 1000 ms | 1 Hz |
| Encoder harmonics (1024–2048 Hz) | 31.25 µs (2× current controller rate) | 500 ms | 2 Hz |
| Current loop (8 kHz) | 125 µs | 250 ms | 4 Hz |
For the standard ±2 RPM ripple diagnostic on a 1FK7, the 1000 ms / 125 µs configuration is sufficient. The 8000 samples per channel yield a 1 Hz FFT bin, cleanly separating 1 Hz (mechanical), 18 Hz (cogging), and 512 Hz (encoder fundamental) into non-overlapping bins.
12. Diagnostic LED States on the CU320-2 PN
When commissioning a CU320-2 PN, the on-board LEDs provide coarse status information that complements the trace analysis.
| LED | State | Meaning |
|---|---|---|
| RDY (Ready) | Steady green | Drive object(s) ready; commissioning complete |
| RDY | Flashing green at 0.5 Hz | Commissioning or reset in progress |
| RDY | Steady red | At least one drive object in fault state |
| RDY | Flashing red at 2 Hz | At least one drive object in alarm state; check fault buffer |
| DP / PN | Steady green | PROFINET communication established |
| DP / PN | Off | No PROFINET communication — check cabling and PLC |
| OPT | Steady green | Option module (e.g., CBE20) ready |
If the RDY LED is not steady green during the ripple diagnostic, resolve the drive-object fault state before drawing conclusions from trace data. Fault codes can be read from the fault buffer (parameter r0945 / r0947) and cross-referenced against the SINAMICS S120 List Manual fault-code table.
13. Safety Function Interaction with Trace Recording
The SINAMICS S120 trace tool operates in a non-intrusive observation mode; it does not modify the closed-loop control path or disable any safety functions. However, several precautions apply during fault-state diagnostics:
- STO (Safe Torque Off): When STO is active (e.g., via terminals X131 or PROFINET PROFIsafe), the drive is in torque-free state and r61 reflects zero speed. Trace records captured during STO are not representative of normal operation.
- SS1 (Safe Stop 1): During SS1, the drive follows a controlled deceleration ramp. Trace records show the deceleration profile, not steady-state ripple.
- SBC (Safe Brake Control): The brake control outputs are independent of the trace tool. Ensure the motor is mounted safely (mechanically braked or coupled) when running the diagnostic at non-zero speed.
- Active faults: If the drive is in a fault state, the trace buffer may be invalidated. Clear the fault, acknowledge the drive, and re-record.
For more detailed safety integration guidance, refer to the SINAMICS S120 Safety Integrated Function Manual available via Siemens Industry Online Support and the 1FK7 motor documentation in the same portal.
14. Frequently Asked Questions
Is ±2 RPM ripple at 1000 RPM on a 1FK7 motor with SINAMICS S120 normal?
Yes. With a 512-pulse encoder and 11-bit fine resolution, r61 (the raw, unsmoothed actual speed) typically shows ±2 RPM ripple around a 1000 RPM setpoint under no-load conditions. This is encoder-dependent measurement noise and is not a fault in the drive or motor. The same drive with a 1FT7 motor (2048 pulses) shows only ±0.15 RPM on r61.
What is the difference between r61 and r63 on SINAMICS S120?
r61 is the raw actual speed directly from the encoder evaluation, unsmoothed. r63 is the smoothed actual speed value, filtered through the p1441 PT1 time constant. When p1441 = 0, r63 = r61. Use r61 for diagnostic traces and r63 for operator displays.
How is the position increment per revolution calculated for a 1FK7083-2AC71-1RG1 motor?
With p408 = 512 lines and p418 = 11 fine-resolution bits, the total position increments per revolution are 512 × 2^11 = 512 × 2048 = 1,048,576. A 100-increment position deviation therefore equals 100 / 1,048,576 × 360° ≈ 0.034° of mechanical angle.
Should I use p1441 to smooth the speed display ripple?
No, not for diagnostic or display-only purposes. p1441 inserts a filter into the speed control loop, adding phase lag that degrades closed-loop dynamics and may induce downstream position-loop oscillation. Use p2153 = 1 ms (monitoring filter, output r2169) to generate a smoothed display signal without affecting the control loop.
How do I isolate whether the ripple comes from the encoder, the motor, or the mechanics?
Command a low speed (60 RPM = 1 rev/s), trace r61 over 1000 ms at 125 µs sampling, and apply FFT. Encoder harmonics appear at 512 Hz, 1024 Hz, and 2048 Hz (and multiples). Motor cogging appears at low mechanical orders (e.g., 18× the 1 Hz mechanical = 18 Hz for an 18-slot motor). Mechanical sources (gearbox, coupling, belt) appear at the rotating frequency and its multiples. Compare with r2169 (1 ms monitoring filter) to confirm the encoder-noise contribution.
What minimum spacing is required between the power cable and encoder feedback cable?
Siemens installation guidelines specify a minimum of 50 mm between the power and encoder feedback cables, with a preferred spacing of 200 mm or a metal partition in the cable duct. Use Siemens MOTION-CONNECT cables with shield sleeves bonded to the earth bar at both ends and 360° bonding at the cabinet entry via the EMC backplane.
Does the ±2 RPM ripple affect the actual mechanical speed of the load?
No, the bulk of the ripple is in the displayed speed value derived from encoder increments. The actual mechanical speed is the time derivative of true angular position, and the encoder's discrete quanta average out over each mechanical revolution. For a 1FK7 at 1000 RPM, the actual position deviation at the workpiece is on the order of 0.034° peak — invisible to the load.