Servo Load Inertia Ratio: Tuning SINAMICS S120 p0342 for Performance
Load inertia ratio is one of the most influential parameters in a closed-loop servo system, yet it is also one of the most commonly mis-set values on commissioning day. In Siemens SINAMICS S120 drives, the parameter that represents it is p0342. A correct value lets the speed controller pre-control reject load disturbances, the ramp function generator produce linear acceleration profiles, and the auto-tuning routine converge on usable Kp/Tn values. A wrong value produces overshoot, sluggish following error, vibration at coupling natural frequency, or — in the worst case — a tripped drive during acceleration. This reference covers the mechanical meaning, the parameter mechanics, the calculation, the STARTER auto-measurement, and the field verification procedure for the load inertia ratio.
What Is Load Inertia Ratio
The load inertia ratio is the dimensionless quotient of the total inertia referred to the motor shaft and the rotor's own inertia:
J_ratio = J_total / J_motor = (J_motor + J_load_reflected) / J_motor
Expressed differently, a ratio of 5.0 means the coupled load has five times the inertia of the motor rotor. The value is unitless because the units of inertia (kg·m²) cancel on the numerator and denominator. For a coupling with no gearing:
J_ratio = 1 + J_load / J_motor
When a gear reducer is present, reflect the load inertia to the motor shaft before applying the formula:
J_load_reflected = J_load / i²
where i = n_motor / n_load is the speed ratio of the reducer. A 10:1 reducer divides the reflected inertia by 100, which is why adding a gearbox is one of the cheapest ways to reduce the apparent load inertia ratio seen by the controller.
Mechanical examples typically encountered in the field:
| Application | Typical J_ratio range | Notes |
|---|---|---|
| Direct-drive rotary table | 3 – 30 | No gearing; high load inertia |
| Ball screw axis (linear load) | 1 – 5 | Coupling compliance can dominate |
| Belt-driven conveyor | 5 – 20 | Compliance + reflected roll inertia |
| Geared servo (10:1 reducer) | 0.1 – 1 | Reflected inertia is small |
| Winder / unwinder | 2 – 10 (steady state) | Effective ratio grows as roll builds |
Mechanical and Control Significance
The rotor and load are joined by a shaft, coupling, or gearbox. As the Mitsubishi Electric knowledge base article "Understanding Inertia Ratio and Its Effect on Machine Performance" describes, when the rotor turns, the inertia of the load winds up the spring (the coupling). The higher the load inertia, the greater the wind-up, and that compliance degrades the bandwidth the controller can achieve before the coupling's natural frequency becomes a hard limit.
Two effects cascade from a mis-set inertia ratio:
-
Speed pre-control error. The current setpoint is calculated as
i_q_ref ≈ J_total · α / k_t. IfJ_totalis wrong, the pre-control is wrong, and following error grows with acceleration. - Auto-tuning convergence. Speed-controller Kp and Tn are typically derived from the inertia estimate. A wrong J_ratio gives a wrong Kp, producing either sluggish response (too low) or audible humming and overshoot (too high).
At the mechanical level, an excessively high load inertia also lowers the natural frequency of the drive shaft system, which — combined with controller bandwidth — defines a stability margin that the engineer must protect.
SINAMICS S120 Parameter p0342
In SINAMICS S120 firmware (Servo and Vector control modes), the parameter that captures the load inertia ratio is p0342. Source documentation and Siemens forum responses on parameter usage confirm:
-
p0342= Load moment of inertia / motor moment of inertia (decimal multiplier) - Default factory value: 1.0 (uncommissioned)
- Modifiable online; takes immediate effect on pre-control and ramp generator
- Used as input to
p0341(motor moment of inertia) and feed-forward calculations in the speed controller
The parameter can be entered in two ways:
-
Manually, by computing the ratio from drawings or measured load data, and entering the value directly into
p0342from the Parameter view in STARTER (or commissioning tool) or from the operator panel AOP30. - Automatically, by running the rotating inertia identification routine, which executes a programmed acceleration profile and back-calculates the inertia from the resulting current.
Effect on the Speed Controller Pre-Control
The dominant effect of p0342 is on the acceleration torque pre-control branch. The simplified feed-forward calculation is:
M_ff = (J_motor + J_load_reflected) × α = p0342 × J_motor × α
where α is the angular acceleration in rad/s². If p0342 is set too low, the drive under-compensates; the proportional branch must supply the missing torque, producing a velocity lag proportional to acceleration:
v_error ∝ (1 − p0342 / p0342_actual) × α / Kp
If p0342 is set too high, the drive over-compensates; an overshoot in velocity appears at the end of each acceleration phase. In contouring applications this manifests as a path deviation; in point-to-point motion it appears as a position overshoot that the integral term has to walk back, lengthening settling time.
Effect on the Ramp Function Generator
The ramp function generator in SINAMICS produces a velocity profile from the operator command using:
-
p1120[0]— ramp-up time (s) -
p1121[0]— ramp-down time (s) -
p1125[0]— initial and final rounding time (s)
The peak acceleration the drive must deliver is:
α_peak = Δn / (p1120[0] − 2 · p1125[0])
where Δn is the speed step (rpm). The drive must produce torque M = J_total × α_peak plus friction. The inertia ratio does not change the ramp profile, but it changes whether the motor can deliver the required torque without saturating. STARTER does not issue an error when ramp times are too aggressive for a given p0342; the engineer must check current headroom in the trace.
Source commentary on the relationship:
"The parameter influences mainly the acceleration/deceleration time and the pre-control." — Ajay Gupta, SINAMICS S120 commissioning
"Starter will not give any error for setting this values. You have to check their effects on performance of Servo by yourself." — Devesh Vithani, on ramp/inertia interaction
Manual Calculation of Load Inertia
For a rotating cylindrical load with the rotation axis along its symmetry axis:
J_load = 0.5 × m × r² (solid cylinder)J_load = 0.5 × m × (r_o² + r_i²) (hollow cylinder)
For a linear load moved by a ball screw of lead L (m/rev) and mass m (kg):
J_load_reflected = m × (L / (2π))²
Add the screw's own inertia (often provided by the manufacturer) and the inertia of any pulleys, gears, or couplings on the same shaft.
For a winder, the effective inertia grows as material is added. Engineers commonly enter a mid-roll value into p0342 and accept some loss of pre-control accuracy at empty and full roll diameters. Tight applications use the "p0342 as a function of position" technique by switching from a DS (Drive Data Set) or by writing to p0342 from the application program.
Automatic Inertia Identification with STARTER
STARTER (Sinamic commissioning tool, replaced by Startdrive for newer projects) ships with a one-button auto-identification routine for Servo control. The motion sequence is:
- Drive is enabled, controller inhibited, motor at standstill.
- Drive accelerates to a low speed (default ~10% rated), holds, then decelerates, all with controlled current.
- The integrator observes the current required for the commanded acceleration and back-calculates inertia from
J = M / α. - Result is written to
p0342; the engineer is prompted to save to non-volatile (RAM → ROM).
Pre-conditions before running the routine:
- Mechanically safe travel for the programmed motion envelope
- Mechanical brake released if present
- Position limit switches active and tested
- Motor encoder functioning (inertia routine uses encoder feedback for closed-loop acceleration)
- Drive in "commissioning" mode — operation inhibited in higher-level control
After the routine, examine the trace of the speed setpoint versus the actual speed and the torque setpoint. A correctly identified inertia produces a torque step that mirrors the acceleration step, with the speed pre-control dominating the response.
Step-by-Step Commissioning Procedure
The recommended sequence to populate p0342 on a new SINAMICS S120 axis:
-
Confirm motor data. Verify
p0300(motor code),p0301,p0304,p0305,p0310,p0311. The motor's own rotor inertiap0341is automatically populated from the motor data set once these are correct. -
Set the encoder. Configure
p0400–p0421and validate the encoder direction with a slow manual jog. -
Run motor identification. Execute the stationary and (if safe) rotating motor-data identification to refine
p0350–p0369. -
Compute the load inertia ratio. From drawings, or — preferably — run the inertia routine. Enter the result into
p0342and RAM-to-ROM. -
Run auto-tuning of the speed controller. The Kp and Tn values selected by the auto-tuner depend on
p0342; running the auto-tuner with an incorrect ratio is the most common cause of sluggish or unstable motion. -
Verify with a square-wave velocity step. Use the trace function to record n_set, n_act, and iq. Over- or under-shoot in n_act versus n_set at the end of the ramp indicates an incorrect
p0342. -
Iterate. If the pre-control is consistently late, increase
p0342in 5–10% steps. If overshoot is observed, decrease it. Re-run the auto-tuner after a large change.
Cross-Platform Parameter Mapping
Load inertia ratio is a fundamental quantity, so nearly every servo platform exposes it under a parameter number. The table below shows the corresponding field for several common platforms, for cross-training reference only. Always verify with the active firmware's documentation.
| Manufacturer | Parameter | Name | Units / Format | Default |
|---|---|---|---|---|
| Siemens SINAMICS S120 | p0342 |
Load moment of inertia / motor moment of inertia | Decimal multiplier (e.g. 5.0 = 5×) | 1.0 |
| Mitsubishi MELSERVO MR-J5 |
PB06 (ext.) / Pr0.11 / Pr0.12
|
Load to motor inertia ratio | Multiplier | 7.0 |
| Yaskawa Sigma-7 | Pn103 |
Load inertia ratio | × 1 (1 = unit ratio) | 0 |
| Allen-Bradley Kinetix 5700 | IDN P-0-0089 / MotorCat
|
Load inertia | kg·cm² | 0 |
Verification and Field Tuning
After populating p0342, perform the following verification checks before releasing the axis to production:
-
Square-wave velocity step. Command a 100 rpm step at 25% and at 100% of rated speed. Compare the area between the actual speed and the setpoint during the ramp. A balanced
p0342makes the actual speed track the setpoint with a flat small following error proportional to friction. - Following-error test under acceleration. With the drive in position control, command a trapezoidal move and record following error. A correct ratio gives a triangular following-error profile that returns to near zero at constant velocity. An incorrect ratio gives a steady offset during acceleration.
- Coupling-stress check. A spectrum of the velocity feedback should not show a sharp peak at the coupling's natural frequency. If it does, the controller is exciting the coupling, and the bandwidth must be lowered or the inertia ratio re-evaluated (often a sign of reflected inertia that was miscalculated).
-
Current headroom check. With the load inertia known, compute
M_required = (J_motor + J_load) × α_peak. Confirm that the drive is not reaching the torque limit during the ramp; if it is, either reduce acceleration (lengthenp1120) or upsize the motor.
Troubleshooting Matrix
| Symptom | Most likely cause | Action |
|---|---|---|
| Velocity lags setpoint during ramp; integral term winds up |
p0342 too low |
Increase ratio in 5–10% steps; re-run auto-tuning |
| Velocity overshoots at end of ramp; settling time is long |
p0342 too high |
Decrease ratio; re-run auto-tuning |
| Audible hum or vibration at constant speed | Speed controller Kp too high (often a downstream effect of wrong p0342) |
Reduce Kp, or repeat auto-tuning with corrected ratio |
| Drive trips with F07900 / F30001 / F30002 during acceleration | Torque limit reached because estimated J is too low | Lower p1120 (extend ramp), or correct p0342, or upsize motor |
| STARTER auto-identification result is unrealistic (e.g. negative or 1000+) | Encoder direction reversed, or mechanical binding during test | Verify p0410 encoder polarity, free the mechanism, re-run |
| J_ratio changes with operating condition (winder, roll build-up) | Application inherently variable | Enter a mid-range value, or write p0342 from the controller as a function of diameter |
| Coupling resonance peak in velocity spectrum | Reflected inertia underestimated; coupling compliance not modeled | Lower speed-controller bandwidth, or use a stiffer coupling |
Frequently Asked Questions
What does p0342 represent in a SINAMICS S120 drive?
p0342 is the ratio of the total inertia referred to the motor shaft to the motor's own rotor inertia. A value of 5.0 means the load is five times heavier than the rotor. The parameter drives the acceleration pre-control and the auto-tuning of the speed controller.
Should I run automatic inertia identification or enter p0342 manually?
Run the automatic routine whenever mechanical travel is available and safe. Enter the value manually only when automatic identification is not feasible — restricted axis travel, vertical axis without counterbalance, fragile load, or risk of mechanical damage. Manual values must be computed from drawings and include the reflected inertia through any gear reducer.
Why does my servo overshoot at the end of every move?
The most common cause is an over-large p0342 producing excessive acceleration pre-control. Reduce the value in 5–10% steps and re-run the speed-controller auto-tuning. Also check that the ramp function generator times p1120 and p1121 are not set to zero, which would remove the smoothing the drive otherwise applies.
Does an incorrect p0342 cause ramp-function generator faults?
No. STARTER does not raise an error or fault on the basis of p0342 alone, and the ramp times in p1120, p1121, and p1125 are not validated against inertia. The engineer must verify in the trace that the torque required for the commanded ramp is within the drive's current limits.
How often should p0342 be re-identified?
Once during commissioning is the baseline. Re-identification is required after a mechanical change to the load (new tooling, new coupling, new gear ratio) or when commissioning a process with variable inertia such as a winder. For winder applications, p0342 is often written from the PLC as a function of current roll diameter to keep pre-control accurate across the operating range.