AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Explainer

Why servo vibration stops near 30 Hz on a PLC move

Servo and stepper motion Published 6 min read By AutomateDirectUSA engineering team

Short answer

One discrete move per PLC scan caps clean, controllable vibration near 30 Hz, because every cycle waits on the scan and the motion engine. A 100 Hz sine needs synchronized setpoints at the servo loop rate, so generate it in the controller that closes the loop, or add a dedicated actuator such as a voice coil or an eccentric mass spinning at 6000 rpm.

On this page
  1. Why the move-per-scan method plateaus near 30 Hz
  2. The motion the waveform demands
  3. Loop rate is not scan rate
  4. Command paths that sustain the target
  5. What the target frequency does to the press mechanics
  6. Dedicated actuators when the press axis is the wrong tool
  7. The decision for each case
  8. Questions asked

If your vibration command is one discrete move issued every PLC scan, clean output stops near 30 Hz, and no gain change moves that ceiling: the limit is the command path, not the motor. The motion itself is affordable. A 100 Hz sine across a 0.010 in range needs about 50 m/s² of peak acceleration, double that if 0.010 in is the one-sided amplitude, so a press that can peak near 1000 m/s² is not running out of acceleration. The waveform has to be generated where the loop closes: a controller-native sine command, or a dedicated actuator such as a voice coil or an eccentric mass spinning at 6000 rpm.

Why the move-per-scan method plateaus near 30 Hz #

Every move you issue is planned and executed as its own trajectory. One sine cycle built this way waits, point by point, on task execution, instruction processing, trajectory generation, and delivery over the network to the drive, which then does its own interpolation. Your calculated sine can be perfect while the commanded position arrives as stair steps.

The plateau follows from sampling. Shaping a clean cycle from discrete points takes roughly ten points per cycle, the same sampling argument as the loop rule below. At the observed ceiling near 30 Hz that is about 300 command points per second, or 3.3 ms per point, which is where a fast periodic task plus motion-instruction overhead lands. A sub-millisecond task shrinks only one term; queueing, blending, the network update and drive-side interpolation still quantize the waveform. Moving the sine calculation to an external computer gains nothing while its result must return through the same instruction path.

The motion the waveform demands #

Size the move before touching code:

  • x(t) = A sin(2πft)
  • v_peak = 2πfA
  • a_peak = (2πf)²A
  • F_peak = m · a_peak

First resolve what the 0.010 in range means: peak-to-peak travel or one-sided peak amplitude. The choice doubles velocity, acceleration and force. At the target frequency, for the 20 lbm (9.07 kg) moving mass of this example:

"0.010 in range" means Peak amplitude A Peak velocity Peak acceleration Peak force
Peak-to-peak travel 0.005 in (0.000127 m) 0.0798 m/s 50.1 m/s² 455 N
One-sided peak 0.010 in (0.000254 m) 0.1596 m/s 100.3 m/s² 910 N

Worked example, the peak-to-peak case:

  • A = 0.005 in × 0.0254 m/in = 0.000127 m
  • v_peak = 2π × 100 Hz × 0.000127 m = 0.0798 m/s
  • a_peak = (2π × 100 Hz)² × 0.000127 m = 394,785 s⁻² × 0.000127 m = 50.1 m/s²
  • F_peak = 9.07 kg × 50.1 m/s² = 455 N

This is a calculated example for those inputs and covers translating inertia only. Add the screw's inertia, the motor inertia reflected through the screw, friction, preload, tooling and any material reaction before comparing with the actuator's limit, and read drive current, motor torque-speed data, screw thrust and bearing ratings under the real press load. A reported peak capability near 1000 m/s² clears the requirement many times over, which is why amplitude that falls as frequency rises points back at the command path first.

Loop rate is not scan rate #

A rule of thumb from sine-test practice: close the servo loop at least ten times per cycle. At the target that is a 1 kHz minimum loop update. If the drive's stated 4 kHz bandwidth is the real closed-loop update, the loop runs 40 updates per cycle, a four-times margin, so the loop is not the bottleneck; the command stream is. First confirm what that 4 kHz figure describes: servo-loop update, motion planner rate, network update rate or a published internal drive rate. Those are not interchangeable, and where the loop physically closes decides where the sine must be generated, the trade-off covered in servo control loops in the drive or the controller. The network's own update timing is a separate limit, explained in what a fieldbus command update rate decides for servo axes.

Command paths that sustain the target #

Electronic cam table. The motion engine executes a stored periodic profile, so the scan stops doing sine math. Use it for a fixed waveform with amplitude and frequency set before the run; changing either on the fly is awkward. Bench-trend following error at the target before calling it production-ready.

Native sine command. A full-featured motion controller generates the sine with amplitude, frequency, phase and offset adjustable at runtime. For amplitude regulation, measure actual displacement and adapt the command until the target is reached or the output saturates. Expect precise control to get progressively harder as frequency climbs, even on good controllers, so plan to close the vibration loop on a fast displacement sensor rather than on the press position alone. Moving waveform generation out of the PLC is the same step described in when multi-axis servo motion outgrows the PLC.

Direct analog command. A controller can output a sine voltage to a drive input that accepts one, adapting it until the desired amplitude holds or the output saturates at its rail. A drive that takes high-level motion commands over the network generates its low-level command internally and offers no raw analog input, so this path means choosing a different amplifier, not a drop-in signal.

What the target frequency does to the press mechanics #

A ball screw can make short-stroke cyclic motion, but at the target it reverses twice per cycle: 200 load reversals every second. Check screw preload, support bearings, couplings, platen stiffness, lubrication, thermal rise, backlash and structural modes. A motor with enough calculated acceleration can still fail mechanically or lose displacement control at a resonance, and tuning changes that produce ringing are exciting that resonance, not commanding vibration.

Dedicated actuators when the press axis is the wrong tool #

Voice coil #

Best where the stroke is short and displacement must be precise. Size continuous and peak force from the complete moving mass plus the material reaction; confirm usable stroke, force at stroke end, coil heating through the 1-5 s burst, platen mounting stiffness, the reaction-force path, and a displacement sensor fast enough to close the vibration loop. Bolted to a compliant platen with no reaction control, the coil moves itself instead of the tool.

Eccentric mass #

Right when the process needs vibration energy rather than precise sinusoidal position. Shaft speed is 60 × frequency, so 6,000 rpm at the target, and the approximate alternating force is F = m_e · r · (2πf)². Worked example: 1.0 kg at a 10 mm eccentric radius gives F = 1.0 kg × 0.010 m × 394,785 s⁻² ≈ 3,950 N. You command force, not displacement: the resulting amplitude is set by the mass and stiffness of the platen assembly, so changing amplitude means changing eccentric mass, eccentric radius or speed. Bearings, balance, attachment fatigue, guards and the machine's reaction structure become the primary design items, and that kilonewton alternating force makes this a machine-safety risk-assessment item: interlocked guarding validated to the machine's safety standard before a burst runs near people. If the exciter shares the platen with the press loop, filter its motion out of the slower press feedback and keep one unfiltered diagnostic channel so the filter cannot hide an overload.

The decision for each case #

  • Amplitude fixed before the run, cam engine available: program the waveform as an electronic cam and verify following error on the bench at the target frequency.
  • Amplitude regulated during the run: move to a motion controller with a native sine command, close the vibration loop on a fast displacement sensor, and adapt amplitude until the target holds.
  • The process needs vibration energy, not precise position: mount an eccentric mass on its own motor at 6,000 rpm and filter the press feedback.
  • Short stroke with precise force and displacement: a voice coil with its own amplifier and sensor is the cleanest mechanics.
  • One move per scan: stays capped near 30 Hz. No task-rate or gain change turns separate moves into a synchronized sine; change the command architecture or the actuator.

Questions asked

Will changing the servo tuning make the axis vibrate at 100 Hz?

No. Gain-induced oscillation is instability, not a waveform you control: its amplitude and phase drift with load, the drive can trip on following error, and nothing holds amplitude to a setpoint. Deliberate vibration has to come from the command while the loop stays stable. Tuning can raise bandwidth so the axis tracks a fast sine better, but it cannot create setpoints the scan never delivers.

How fast does the displacement sensor need to be for amplitude control?

Sample at least ten times per cycle by the same rule of thumb as the loop, so 1 kHz or faster at the target frequency, with as little filtering lag as possible. A slow or heavily filtered position reading reports amplitude late, so the adaptive command hunts or overshoots. A laser displacement sensor or a high-resolution encoder on the vibrating mass is the usual choice; the press's own position feedback is often too filtered to serve.

What does a vibration burst do to the ball screw?

At the target frequency the screw sees two load reversals per cycle, so a 5 s burst is about 1,000 reversals in a few seconds. That pumps heat into the nut, can break down the lubrication film, and works the preload and support bearings. Keep bursts to the specified seconds, check screw temperature between runs, and re-check preload and lost motion after the first bursts.

Can a small external microcontroller generate the sine instead?

Only if its output feeds a drive input that accepts a raw analog or step command directly. Routing the signal back through the PLC's move instructions puts it behind the same scan-time wall, and a general-purpose operating system adds timing jitter of its own. The generator must produce evenly spaced setpoints at the loop rate, which is exactly what a motion controller's native sine command already does.

Keep reading

  • Explainer

    Servo pulse rate required for 2500 rpm from a 100 kHz PLC output

    Hz and pulses per second are the same unit on a pulse train: 2500 rpm at 10,000 command pulses per revolution needs 416,667 Hz, past the 100 kHz output of a CP1H-Y20DT-D, which tops that scaling out at 600 rpm. Cut the effective scaling to 2400 pulses per revolution or less and the same output reaches 2500 rpm exactly.

    Servo and stepper motion

  • Troubleshooting

    What causes a PLC servo axis to lag or stop off position

    Sort the fault into three cases before touching a parameter: a move that arrives late but on target is a timing problem; a stop at the same wrong position is a scaling or target problem; a stop that varies is sensor, mechanics or tuning. Capture one move end to end, change one element per test, and tune last.

    Servo and stepper motion

  • Explainer

    Why a hobby servo moves briefly then stops on a fixed pulse command

    A fixed pulse width is a position command, not a run command: repeating one width asks a hobby servo for one angle and holds it there, so the stop you see is the servo working correctly. Identify whether the unit is positional or continuous rotation, measure the frame your controller really sends, and move the commanded width — or pick a continuous-rotation type — to get five seconds of travel.

    Servo and stepper motion