1. Problem Statement: Speed Oscillation on a SINAMICS S120 U/f-Driven Stirrer
A reactor stirrer driven by a 4 kW / 1500 rpm induction motor through a SINAMICS S120 drive system (CU310 DP + PM340) was reported to run cleanly at very low speeds but develop severe oscillation once the setpoint rose above approximately 25 rpm. The user-visible behavior was a speed fluctuation swinging between approximately +150 rpm and -150 rpm of setpoint, with the mechanical agitator visibly bouncing in the positive (drive) direction only while the setpoint itself remained constant. The fault was diagnosed as residing somewhere downstream of r1119 but upstream of r1150, persisted after the PM340 Power Module was replaced, and was ultimately eliminated by upgrading the firmware stored on the Control Unit's flash card to V2.6. This article reconstructs that fault, maps the diagnostic chain parameter by parameter, and documents the corrective procedure plus the long-term control-mode recommendation that emerged from the field.
2. System Configuration and Hardware Identification
The reported installation is a classic low-power SINAMICS S120 AC/AC drive built from a separate Control Unit and a Blocksize power module. The catalog numbers reported in the source post and their meaning are summarized below.
| Component | Part Number | Function | Field Notes |
|---|---|---|---|
| Control Unit | 6SL3040-0LA00-0AA0 | CU310 DP — single-axis Control Unit with PROFIBUS DP interface, drives the setpoint channel and closed-loop functions. | Fitted with CompactFlash card that stores firmware and parameter set. |
| Power Module | 6SL3210-1SE21-0AA0 | PM340 Blocksize, 1-axis, 3-ph 380–480 V input, internal air cooling. | Already replaced by the time the firmware issue was diagnosed — confirmed not the root cause. |
| Motor | 4 kW induction, 1500 rpm rated | Coupled to the stirrer shaft through a gearbox. | Mechanical side (gearbox, bearings, couplings) verified intact by the user. |
| Control mode | U/f (open loop, V/Hz) | Linear V/f characteristic selected via p1300. |
Sub-optimal for variable-torque mixers; see Section 8. |
Refer to the SINAMICS S120 with CU310-2 DP Operating Instructions and the SINAMICS S120/S150 List Manual for the canonical parameter descriptions used throughout this article.
3. Symptom Description and Operational Boundaries
The user reported a very clean operating boundary:
- Setpoint ≤ 25 rpm: speed is steady, torque stable, no audible or visible oscillation.
- Setpoint > 25 rpm: actual speed oscillates with an amplitude of approximately ±150 rpm around setpoint; the mechanical shaft is visibly reciprocating in the positive direction only.
- Directionality: oscillation is biased positive — the drive overshoots in the drive direction and undershoots in the regenerative direction, ruling out a pure mechanical unbalance.
-
Setpoint tracking: the value visible at
r1119tracks the commanded setpoint exactly; the value visible atr1150shows the oscillation. The fault is therefore introduced between those two diagnostic parameters. -
Ramp-function generator bypass: bypassing the RFG (e.g., toggling
p1115or forcing the setpoint directly into the V/f modulator) did not clear the oscillation, ruling out the RFG itself. - Hardware swaps: replacing the PM340 made no change, ruling out power-stage failure. Motor insulation, winding resistance, gearbox, and bearings were checked by the user.
4. SINAMICS S120 Setpoint Chain — Where the Fault Lived
The setpoint path inside a CU310-configured S120 running U/f control is a fixed sequence of function blocks. Understanding which parameters the user compared is essential to narrowing the fault domain.
| Stage | Parameter(s) | Function | Oscillation present? |
|---|---|---|---|
| 1. Setpoint source |
p1070 (main), p1075 (additional) |
Connector input selecting the setpoint source (PROFIBUS, analog, fixed setpoint). | No |
| 2. Setpoint conditioning |
r1078, r1079
|
Total setpoint, includes motorized potentiometer and jog. | No |
| 3. Direction reversal / negation | p1113 |
BI: Setpoint inversion. | No |
| 4. Ramp-function generator (RFG) |
p1115, p1120, p1121, p1130-p1135
|
Acceleration/deceleration ramp with rounding. | Bypassed — fault persists. |
| 5. RFG output | r1119 |
Speed/frequency setpoint after the ramp. | No — clean trace |
| 6. Setpoint filter / Imax controller |
r1150, p1340-p1349
|
Frequency-controller pre-control and current-limit intervention. | YES — oscillation first visible here |
| 7. V/f characteristic |
p1300, p1310-p1325
|
Linear/quadratic V/f + voltage boosts + slip comp. | Modulates output frequency from r1150
|
| 8. Power module | PM340 | IGBT inverter → motor terminals. | No (PM340 already swapped) |
The signal therefore becomes unstable in the slice between r1119 (clean) and r1150 (oscillating). This is the Imax / frequency-controller pre-control region, governed by:
-
p1340— Imax frequency-controller proportional gain -
p1341— Imax frequency-controller integral time -
p1349— Imax frequency-controller speed-setpoint damping -
p1082— maximum speed -
p1138/p1139— ramp-time scaling
Above 25 rpm, the drive entered the active range of the Imax controller (typical with a load that produces a variable reaction torque as the agitator blades bite into the medium). With the firmware shipped on a 2007-vintage CU310, this controller's pre-control path was known to oscillate under certain motor-data / load-inertia combinations — a defect that was corrected in firmware V2.6 and forward.
5. Root Cause: Outdated Firmware on the CU310 CompactFlash Card
The drive had been commissioned in 2007. The CompactFlash card inside the CU310 still carried the firmware that was current at that time (most likely a V2.4 or V2.5 line of the SINAMICS S120 firmware). When the firmware was upgraded to V2.6 (using STARTER / Startdrive with the new firmware image copied to the CF card and a CU warm restart), the oscillation disappeared without any parameter change. The PM340, motor, gearbox, and mechanical train were retained.
This is consistent with documented SINAMICS S120 firmware-2.6 release notes, which explicitly address closed-loop behavior of the V/f characteristic and Imax pre-control on small-block PM340 modules. See the SINAMICS S120 firmware release notes index for the canonical changelog. The root cause is therefore:
- Time-domain instability in the Imax / frequency-controller pre-control region of the firmware version loaded on the CF card.
- Symptom amplification by the variable reaction torque of the stirrer blades (load-dependent torque demand acting on an open-loop V/f drive without torque pre-control).
- No hardware fault — the PM340 swap correctly exonerated the power stage.
6. Resolution: Flash Card Firmware Upgrade to V2.6
The corrective action is a standard CU310 firmware update. Procedure summary, with the assumption that STARTER or Startdrive is already installed on the engineering station.
6.1 Prerequisites
- STARTER ≥ V5.x or Startdrive in TIA Portal, with current SINAMICS S120 Support Package.
- Firmware image file for V2.6 (e.g.
SINAMICS_S120_CU310_DP_V2.6.exeor the equivalent.zipwith*.awl/*.bincontents). - The exact saved project backup (so parameters can be restored after the upgrade).
- Empty CompactFlash card (Siemens 6SL3054-0AA00-1BA0, ≥ 1 GB) or the existing card if only the firmware is being replaced in-place.
6.2 Step-by-Step Procedure
-
Back up the project. Connect the CU310 via PROFIBUS or Ethernet (service interface X127) to the engineering PC. In STARTER / Startdrive select Project → Save project to PG and additionally Drive → Upload → From CF card to PG. Confirm the offline backup contains parameters
p0010=0,r0021=0, and a complete parameter dump. -
Power down the drive per LOTO; wait for the DC-bus discharge time on the PM340 (typically 5 min, until the
READYLED extinguishes). - Remove the CF card. The slot is on the front of the CU310 under the small access cover. Eject gently; do not force.
-
Re-write the card with the V2.6 image using one of:
- STARTER → Target system → Firmware update (writes directly to the inserted CF card via a USB card reader), or
- Manual: extract the firmware ZIP to the card's root directory; the card must contain at minimum
fwdata.bin,cmdfile.txt, and the licence folder.
- Re-insert the CF card into the CU310, restore power, and observe the boot LEDs. The CU will auto-detect the new firmware on the next power-on.
-
First commissioning step after FW update. STARTER will prompt for a factory reset. Accept; then Download the saved parameter set back to the drive. Confirm
p0010returns to 0 (Ready) andr0019.0showsOperation. -
Verify motor identification if any motor data field shows
[0]or[?]: run Motor identification viap1910 = 1(still) orp1960 = 1(rotating, requires the drive to be safe to spin unloaded). Re-enter nameplate values intop0304,p0305,p0307,p0310,p0311. -
Re-acceptance test. Run the stirrer at the previously problematic setpoints (50, 100, 200 rpm). Observe
r0021,r0023,r1119, andr1150on the trace — the three must coincide and remain stable.
7. Alternative Tuning Steps if Firmware Cannot Be Upgraded
If a firmware upgrade is operationally blocked (e.g. obsolete plant approval cycle, no licence available), the oscillation can be damped by parameter manipulation alone. None of these are as clean as the firmware fix, but they are useful in an emergency.
| Parameter | Default | Field-tested Mitigation | Effect |
|---|---|---|---|
p1340 — Imax controller Kp |
0.000 | Reduce to 0 if possible; raise by 0.05 steps if Imax response is sluggish. | Lowers controller bandwidth that drives the oscillation. |
p1341 — Imax controller Tn |
0.300 s | Increase toward 2.0–3.0 s. | Adds integral damping, attenuates oscillation. |
p1349 — speed-setpoint damping |
0.000 s | Raise to 0.5–1.0 s. | First-order low-pass on r1150, kills HF loop gain. |
p1082 — maximum speed |
1500 rpm | Cap at the stirrer's mechanical limit (often 300–500 rpm). Avoid driving the V/f curve into the field-weakening region unnecessarily. | Keeps loop gain in the linear V/f band. |
p290 — speed setpoint filter (legacy / OEM) |
0 | Confirm setting during the audit; some OEM commissioning scripts write a non-zero smoothing value here. | Surfaces hidden pre-control filters that may have been changed by an integrator. |
p1310 / p1311 / p1312 — voltage boosts |
50 % / 0 / 0 | Verify values match the 2007 commissioning sheet. Wrong boost values cause torque ripple that interacts with the Imax loop. | Removes load-dependent ripple that excites the loop. |
p1335 — slip compensation scaling |
0 % | Disable slip comp for a clean test; re-enable at 50–80 % only if speed droop under load is unacceptable. | Removes a known oscillation contributor in U/f with high slip comp. |
p290. This parameter is not a fixed identifier across all S120 firmware lines; depending on the FW image loaded, it can be a speed-setpoint filter time, a legacy OEM-specific value, or a deactivated parameter. Treat any non-default value as suspect and restore to commissioning-sheet default unless the OEM documentation explicitly confirms the use.
8. Why U/f Control Is Suboptimal for Reactor Stirrers
U/f (open-loop V/Hz) control was originally intended for fans, pumps, and conveyors — applications where the load torque varies slowly with speed and where a small steady-state speed error is acceptable. A reactor stirrer is the opposite of that profile:
- Highly variable reaction torque. The impeller pushes against a viscous medium. As the medium aerates, heats, or reacts chemically, viscosity drops and load torque can swing by a factor of 3–10 within seconds.
- No torque pre-control. The V/f curve is a static voltage-to-frequency mapping; the drive has no knowledge of actual shaft load. Speed droops under load and recovers only through the slow Imax controller.
- Stall behaviour. At low frequency (25 rpm is ≈ 1.7 % of nominal), the V/f curve has very little voltage headroom and is dominated by stator-resistance drop and the configured boost. Any load step easily pushes the drive into the Imax loop, which is exactly the region that oscillated in this incident.
- Asymmetric load reaction. When an impeller clears a viscous pocket, the reaction torque releases asymmetrically, producing the very "positive-only" oscillation that was reported.
The cure is to move the drive to sensorless vector control (SLVC), which observes rotor flux via the motor model and actively regulates torque. With SLVC enabled via p1300 = 20 (or 21 for SLVC with FCC), the drive handles the variable torque demand in the torque-control inner loop rather than reacting through the slow outer V/f path. The required steps are documented in the SINAMICS S120 Commissioning Manual and summarized below.
9. Migration Path: U/f → Sensorless Vector Control (SLVC)
- Capture the existing parameter set (Step 6.1 above).
- Verify motor nameplate data in
p0301–p0311; resolve to a Siemens 1PH/1LE/1LA code or enter equivalent values. - Run Motor data identification with
p1910 = 1(still) andp1960 = 1(rotating) to populatep0350–p0369automatically. The rotating test requires a safe spin condition; lock the impeller mechanically if needed. - Switch control mode:
p1300 = 20(SLVC without encoder) or= 21(SLVC with FCC). - Tune speed controller:
p1460(Kp),p1462(Tn). Run the SINAMICS auto-tuning routine (Drive → Controller → Speed controller auto-tuning) which sets these values based on the measured inertia. - Adjust torque limits:
p1520(upper torque limit),p1521(lower torque limit) — typically ±150 % of rated motor torque for a stirrer. - Enable torque pre-control:
p1496 = 1for acceleration torque pre-control. - Verify under load. Trace
r0021,r0023,r0080,r0084, andr1119/r1150. Speed deviation between setpoint and actual should stay inside ±1 % under full-load steps.
SLVC requires no encoder on this 4 kW motor — the drive estimates rotor position from the stator current model. If the application later demands <0.5 % speed accuracy at very low speeds, fit an incremental encoder and use p1300 = 22 (vector control with encoder).
10. Verification Procedure After the Fix
After a firmware update or a control-mode migration, a structured re-acceptance proves the fault is gone.
| Step | Action | Pass Criterion |
|---|---|---|
| 1 | Display r1119 and r1150 on the trace; record a 60 s sweep at 25, 50, 100, 200, 500 rpm. |
The two traces overlay within ±1 rpm. |
| 2 | Check r0023 (actual speed smoothed) against setpoint across the same sweep. |
Deviation < ±2 % of setpoint at all speeds > 25 rpm. |
| 3 | Apply a load step (e.g. briefly engage gearbox brake or increase medium viscosity) and trace recovery time. | Speed recovers to within 5 % of setpoint within 1.5 s. |
| 4 | Capture r0080 (torque utilization) under steady-state load. |
Stays between 30 % and 120 %, no clipping at Imax. |
| 5 | Check fault buffer r0945/r0947 and alarm buffer r2110. |
No new F30002 (DC-link overvoltage), F30005 (power unit overload), F07900 (speed controller), or F01151/F08501 (CU faults). |
| 6 | Confirm CU firmware version with r0018. |
Reads 2.6.x (matching the upgrade target). |
| 7 | Sign off the change in the maintenance log: firmware version, date, technician, parameter-dump checksum. | Log entry present and auditable. |
11. Field-Proven Caveats and Lessons Learned
- Old firmware on long-life assets is a known failure mode. Drives commissioned in 2007 with V2.4 / V2.5 firmware will reach end-of-corrective-support for many bug classes. Plant owners should schedule a firmware-upgrade audit on a 5-year cycle, even if the drive appears to run correctly — once support lapses, the firmware becomes a single point of failure.
- PM340 swap did not fix it, but that was a correct diagnostic step. Whenever a drive misbehaves in a way that looks like a power-stage problem, swap the power module first (5-minute job) to eliminate that domain, then move to the Control Unit / firmware.
- Directionality of the oscillation is a powerful clue. Pure mechanical unbalance produces oscillation in both directions; a control-loop oscillation driven by the Imax pre-control biased toward the drive (positive) direction is the signature of a V/f instability under variable torque load.
-
The "delay of the ramp generator" hypothesis floated in the discussion is incorrect on its own — the user reported the oscillation persists with the RFG bypassed, and the divergence between
r1119(clean) andr1150(oscillating) places the fault downstream of the RFG. - The "module too small" hypothesis raised at the end of the discussion deserves attention: the PM340 catalog number reported (6SL3210-1SE21-0AA0) is the 1.0 kW variant. If that part number is correct, the drive has been operating in continuous Imax limitation, which both accelerates the failure mode of the firmware instability and indicates a sizing error that must be addressed separately. Cross-check the part number against the PM340 Blocksize Datasheet.
- Switch to SLVC as a follow-on improvement. U/f is structurally inadequate for mixers; even with the firmware fix, the drive will continue to droop under sudden load changes because it has no torque pre-control.
12. Frequently Asked Questions
What is the most likely cause of ±150 rpm speed oscillation on a SINAMICS S120 U/f stirrer drive above 25 rpm?
A bug in the Imax frequency-controller pre-control path of the older firmware loaded on the CU310's CompactFlash card. The fault is reproducible above ~1.7 % of nominal speed and disappears after a firmware upgrade to V2.6 or later. Confirm by upgrading the firmware and re-running the original failure setpoint sweep.
Why does r1119 track the setpoint cleanly while r1150 oscillates?
r1119 is the output of the ramp-function generator (the user-side setpoint after acceleration/deceleration). r1150 is the setpoint after the Imax frequency-controller pre-control. The instability lives in the slice between them, which is exactly where older S120 firmware lines have a documented closed-loop bug under variable torque load.
Can I keep the existing PM340 after upgrading the firmware?
Yes. The PM340 (6SL3210-1SE21-0AA0) is firmware-independent of the CU310 in this configuration — the Control Unit executes all closed-loop and Imax calculations and drives the power module through DRIVE-CLiQ. After the firmware update, no PM340 replacement is required. However, verify the part number against the datasheet; the suffix 1SE21 decodes to the 1.0 kW variant, which is undersized for a 4 kW motor and may itself be a separate fault domain.
How do I upgrade the CU310 DP firmware to V2.6?
Back up the project in STARTER or Startdrive, de-energize the drive, remove the CompactFlash card, write the V2.6 image (e.g. via Target system → Firmware update), re-insert the card, power up, accept the factory reset prompt, download the saved parameter set, run motor identification (p1910 / p1960), and re-accept. The CU's running firmware version can be confirmed at any time via parameter r0018.
Should I migrate from U/f to sensorless vector control for a stirrer?
Yes. U/f is structurally inadequate for variable-torque agitator loads because the drive has no torque pre-control and reacts to load steps only through the slow Imax controller. Switch p1300 from 0 (linear V/f) to 20 (sensorless vector control without encoder), run motor identification with p1910/p1960, auto-tune the speed controller (p1460/p1462), and set torque limits (p1520/p1521) to about ±150 % of rated motor torque. This eliminates speed droop under load and removes the load-dependence that originally excited the firmware bug.
Is the "positive-only" oscillation a mechanical or a control symptom?
Control. A pure mechanical unbalance produces symmetric oscillation about the setpoint in both directions. The asymmetric "positive-only" signature reported here is the footprint of a torque-driven instability: the drive is being pushed in the drive direction by a torque pulse from the impeller biting into the medium, and recovering only partially in the regenerative direction because the Imax controller has too little authority in that quadrant.