AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Troubleshooting

Why a Hydraulic Motor Oscillates Only at One Speed

Pneumatics and hydraulics Published 7 min read By AutomateDirectUSA engineering team

Short answer

A hydraulic motor that oscillates only in a band around one speed has a stability problem that lives at that speed: a resonance or a gain-margin dip. Capture one plot at a stable speed and one at the problem speed, compare command, output and feedback traces, and let the oscillation frequency decide whether the fix is tuning, a notch filter, or the hardware.

On this page
  1. Why does my hydraulic motor oscillate only at one speed?
  2. Which two plots should I capture first?
  3. Which trace tells me where the oscillation starts?
  4. Is the oscillation mechanical or a control-loop problem?
  5. What fixes a speed-specific hydraulic resonance?
  6. How do I verify the oscillation is actually fixed?
  7. Questions asked

An oscillation that appears only in a narrow band around one motor speed is not a random fault. It is the signature of a resonance or a gain-margin dip that lives at that shaft speed: the loop is stable everywhere else, so blind tuning changes just trade the problem for a new one. The fast path is diagnostic, not corrective. Capture one synchronized controller plot at a stable speed and one at 3301 rpm while the oscillation runs, compare the command, control output and feedback traces to see where the oscillation is born, and read the oscillation frequency off the plot. That frequency decides whether the cause is the control loop, the hydraulics, or the mechanics, and each answer points to a different fix. The method applies to any proportional-valve hydraulic motor speed loop; the reported case behind it was a motor on a D1FPE50MA9NS00 proportional valve driven by an RMC75S motion controller.

Why does my hydraulic motor oscillate only at one speed? #

Because at 3301 rpm the shaft spins at 55 Hz, and some element in the loop — trapped oil between valve and motor, a mechanical mode of the drivetrain, or the valve's own response lag — has a natural frequency or a gain-margin minimum there, so phase margin collapses only in that band.

Three families of cause fit a speed-specific oscillation. Hydraulic: the oil column between valve and motor plus the motor's displacement forms a spring-mass system whose natural frequency can sit near an excitation present at one shaft speed. Mechanical: imbalance, coupling misalignment, gear mesh or a load mode excites the drivetrain once per revolution or per tooth, and the excitation amplitude peaks where the structure is softest. Control: the speed loop's gain and phase margins are worst at that speed because valve lag, transport delay and any gain scheduling add up differently there. The oscillation frequency measured from a plot separates these three; everything after this section is about getting that measurement cleanly.

Which two plots should I capture first? #

Capture two synchronized plots with identical traces and scaling: one at a stable speed with no oscillation, and one at the problem speed with the oscillation present and sustained for at least ten cycles.

Select these traces in the controller's plot tool, at its own sample rate:

  • Commanded speed, taken from the controller, not from an HMI setpoint display
  • Actual speed feedback
  • Control output to the valve, in the units the controller uses internally
  • Supply pressure, if a sensor already exists

Keep scaling, sample rate, filter settings and operating conditions — load, oil temperature, supply pressure — identical between the two files, and change nothing in tuning or plumbing between captures; one changed variable is what makes the comparison readable. Record the commanded speed and whether the oscillation was present for each file. Most motion-controller plot tools also let you place digital and status traces beside the analog ones, and the procedure for displaying bit-state traces in RMCTools plots covers that same step when you want a valve-enable or fault bit next to the speed traces. If the comparison stalls in-house, send both files, with those notes, to the controller manufacturer's support channel.

Which trace tells me where the oscillation starts? #

The earliest trace that moves at the onset localizes the cause: if the control output grows before the speed feedback moves, the loop is driving the oscillation; if the feedback moves first, something external is exciting the motor.

Zoom into the moment the commanded speed crosses into the problem band. An output that grows while the feedback is still flat means the loop itself is going unstable — there is no disturbance to reject, so gain and phase margin at that speed are the problem. A feedback that starts moving first, with the output merely reacting, means a real excitation — pump ripple, a load step, a mechanical mode being struck — is entering the machine and the loop is fighting it. On a strip chart at full scale the two cases look identical, which is why the zoomed onset comparison, not the steady-state picture, is the one that decides.

Is the oscillation mechanical or a control-loop problem? #

Read the oscillation frequency off the plot and compare it with the frequencies the drivetrain and hydraulics can generate at that speed: a peak that stays at one frequency while speed changes is a resonance, and a peak that scales with shaft speed is a mechanical excitation.

Worked example, calculated for these inputs and not a measured result:

  • Shaft frequency at the problem speed: 3301 rpm ÷ 60 s/min = 55.0 Hz
  • Example gear motor with 12 teeth on the driven gear: tooth-mesh frequency 55.0 Hz × 12 = 660 Hz
  • Example fixed pump at 1500 rpm with 7 pistons: ripple frequency (1500 rpm ÷ 60 s/min) × 7 = 175 Hz

Now repeat a short oscillation record at a second speed — 2500 rpm in this example, a shaft frequency of 41.7 Hz. If the plot peak sits near 55.0 Hz in both records, a fixed resonance lives in the loop or the hydraulics. If the peak drops to 41.7 Hz, it moves with shaft speed and is once-per-rev mechanical: check the coupling, the mounts and the load. A peak near 660 Hz points at tooth mesh; a peak near 175 Hz points at pump ripple. A peak at none of these frequencies, at one that does not move with speed, is the strongest evidence for a closed-loop gain-margin problem at that speed.

What fixes a speed-specific hydraulic resonance? #

Fix the cheapest thing first: cut the speed-loop proportional gain by 30 percent as a test, and if the oscillation dies, the loop was marginal at that speed and the permanent fix is a notch or a gain schedule, not a globally slower axis.

Work down this list, cheapest first, and verify after each step:

  1. Reduce the proportional gain by about 30 percent and re-run the problem-speed plot. A loop that stabilizes under this test confirmed its own diagnosis.
  2. Add a notch at the measured peak frequency. A notch removes gain in a narrow band without paying bandwidth everywhere else, and what a notch filter can fix on a resonant hydraulic axis shows the placement and verification for exactly this fault.
  3. Schedule the loop gain with speed, reducing it only in the band around the problem speed, if the resonance band is wider than a notch can cover or moves with load.
  4. Change the hydraulics only if the loop-level fixes do not hold: an accumulator close to the motor port, or shorter and stiffer lines between valve and motor, shifts the oil-column natural frequency away from the excitation. Before opening the hydraulic circuit, pump down and lock out the stored pressure per your machine's risk assessment and the applicable safety standard.
  5. Check the mechanics when the peak scales with speed: coupling balance and alignment, mount stiffness, and the load's own modes.

Cutting gain everywhere buys stability at the cost of response everywhere, and why PI tuning is slow on a high-inertia hydraulic drive describes that trade. A notch or a schedule keeps the bandwidth you already paid for.

How do I verify the oscillation is actually fixed? #

Repeat the plot at the problem speed after every change: a fix counts only when the oscillation is gone at that speed and the previously stable reference speed shows no new instability, with identical traces and scaling in both records.

As an example acceptance limit, hold the problem speed for ten minutes and require peak-to-peak speed ripple below 1 percent of the commanded speed, with no recurring burst at the old oscillation frequency anywhere in the record; set the final number from what your machine's process actually tolerates. If the reference-speed capture shows a new oscillation after the change, the margin was moved, not added, and the previous setting was the better starting point.

The decision, case by case:

  • Peak at a fixed frequency, output grows before feedback: loop resonance — notch or gain schedule, then verify at both speeds.
  • Peak scales with shaft speed: mechanical excitation — coupling, alignment, mounts, load; tuning will not fix it.
  • Peak at the pump ripple frequency: supply side — damping or an accumulator at the pump, not motor-loop tuning.

Questions asked

Why does the oscillation show up only at 3301 rpm?

That speed puts the shaft at 55 Hz, and something in the loop loses phase margin there: the oil column, a mechanical mode, or the valve's own response lag. Capture a stable-speed plot and one at that speed, compare the traces, and let the oscillation frequency choose between loop, hydraulic and mechanical causes.

What if the oscillation frequency changes with speed?

A peak that tracks shaft speed is a mechanical excitation such as once-per-rev imbalance, coupling misalignment or tooth mesh, not a loop problem. Confirm it by recording the peak at two speeds; the ratio of the peaks should match the ratio of the speeds. Work on the coupling, mounts and load before touching tuning.

Is a notch filter safe to add on a hydraulic speed loop?

A notch removes gain only in a narrow band around one frequency, so it is the standard fix for a loop resonance that sits at a fixed frequency. Make the notch deeper and wider than the resonance band you measured from the plot, then re-plot at both the problem speed and the reference speed. If the resonance drifts with temperature or load, widen the notch or schedule it with speed.

What should I send to the controller manufacturer's support channel?

Two saved plot files from the same tool with identical traces and scaling: one at a stable speed and one at the problem speed with the oscillation present. Note the commanded speed, supply pressure, load and oil temperature for each file, and list which traces you plotted so support can ask for additions from the controller's existing signals.

Keep reading

  • How-to

    PID control of a ±10 V proportional valve from a PLC

    Run the valve from a PID loop whose signed output is clamped to -100% to 100% and scaled linearly so +100% gives +10 V and -100% gives -10 V. Derive cylinder speed from the linear transducer, command speed as a curve of stroke position, and start the stop deadband at 2 mm so the valve does not chatter at target.

    Pneumatics and hydraulics

  • Troubleshooting

    Why PI Tuning Is Slow on a High-Inertia Hydraulic Drive

    Your manual voltage-decrement test took the motor from 2100 to 2000 RPM in about 1 s, while the tuned PI loop manages about 3.3 RPM/s — roughly 30 times slower — so the hydraulics can respond and the slowness points to output scaling, output limits or valve-command mismatch. Fix those, then retune against the measured benchmark.

    Pneumatics and hydraulics

  • Explainer

    Alternator frequency control of a hydraulic proportional valve

    A hydraulic-motor-driven alternator is a speed sensor: output frequency in hertz equals rpm times pole count divided by 120. Convert that frequency to a DC command with a 555 timer or a CD4046 phase-locked loop against a quartz reference, filter it, amplify the error, and drive the proportional valve with current. The loop holds flow constant while a PTO pump's speed follows the road.

    Pneumatics and hydraulics