Troubleshooting
Why a counterbalanced servo head chatters during tuning
Short answer
Chatter on a hydraulically counterbalanced vertical axis is usually a force-balance and oil-flow problem, not a loop-gain problem. Record motor current at rest and at equal speeds up and down, set counterbalance pressure so total cylinder force equals the moving head weight, treat the original axis speed as the flow ceiling, and only then tune P and D one term at a time.

On this page
- Why does a counterbalanced head chatter when the other axes tuned cleanly?
- Which checks come first, cheapest to most expensive?
- What should the motor current read at rest, moving up, and moving down?
- How do you calculate the counterbalance pressure that balances the head?
- How fast can the counterbalance circuit let the axis move?
- How do you tell controller tuning from a drive or hydraulic problem?
- How do you tune the position loop once the force balance holds?
- Questions asked
A vertical head that chatters on every P and D setting is telling you the problem sits below the loop: on a hydraulically counterbalanced axis, gravity bias and oil flow decide whether the position loop can settle at all. Set the gains on the horizontal axes first, then treat the counterbalanced axis as a force-balance and flow problem: read current at rest and at equal speeds in both directions, calculate the counterbalance pressure that matches cylinder force to the moving head weight, hold the original axis speed as the flow ceiling, and only then tune the position loop one term at a time. This article walks that sequence and shows the arithmetic for a two-ram counterbalance on an example head.
Why does a counterbalanced head chatter when the other axes tuned cleanly? #
Chatter on a counterbalanced vertical axis is a force-balance problem before it is a gain problem: pressure that does not match the moving head weight makes the motor lift hard in one direction and brake or reverse torque in the other, and the position loop rings around that bias.
The mechanism is the torque reversal. An underbalanced head demands near-full motor torque on every up move; an overbalanced head makes the motor regenerate on every down move. At each direction change the torque passes through zero across the friction band, and any lost motion, coupling backlash or hydraulic compliance in that band arrives at the loop as a sudden load step. The loop answers with a burst of correction you hear as chatter along the whole axis.
A horizontal axis carries none of this gravity bias, which is why the gains that settled X and Z fail on the vertical axis. It is a different plant, not a tuning failure. If chatter appears only on the counterbalanced axis and changing the counterbalance pressure changes the chatter, fix the force balance first; no gain set removes a standing torque bias.
Which checks come first, cheapest to most expensive? #
Work the checklist below before opening the tuning software: it runs from a hose inspection and a gauge reading to a warm-oil repeat measurement, and each step has a confirming result that either clears that part of the axis or points the diagnosis at it.
- Mechanical inspection. Check ram rods, mountings, hose routing, guides, couplings and thrust hardware for binding, free play and misalignment. Confirming check: with the head mechanically supported, move it by hand and feel for stick-slip or lost motion before trusting any pressure reading.
- Counterbalance pressure at rest. Read the gauge on the counterbalance circuit with the axis stationary. Confirming check: compare the reading with the balance pressure calculated in the next section.
- Current at rest and in both directions. Record amplifier current stationary, moving up and moving down at the same commanded speed. Confirming check: a large gap between the up and down readings condemns the force balance or directional friction, not the gains.
- Pressure gauge during chatter. Watch the counterbalance gauge while the noise occurs. Confirming check: a gauge that oscillates with the sound directs the work at the hydraulic circuit.
- Warm-oil repeat. Re-run the current and pressure measurements after the oil reaches operating temperature. Confirming check: a tune that shifts markedly with temperature points at viscosity, leakage and damping in the circuit, and the final balance must be set warm.
One safety rule before any of this: support the head by the machine's approved mechanical means and put the axis in a safe service state before working under it, and never release a brake or bypass an interlock on a gravity-loaded axis to make a measurement easier.
What should the motor current read at rest, moving up, and moving down? #
Record motor current with the axis stationary, then moving up and moving down at the same commanded speed: on a correctly balanced axis the three readings sit close together, and a large gap between the up and down values condemns the force balance, not the gains.
At rest, the motor should hold only friction imbalance; anything more means the cylinders are not carrying the head. In motion, an underbalance shows up as elevated current on every up move; an overbalance shows up as elevated, regenerating current on every down move. Seal drag, guide friction and unequal ram behavior add a fixed offset that pressure cannot remove, so if a direction gap persists at the calculated balance pressure, suspect friction or one ram moving differently from the other. Where the axis advances in grabs while the current fluctuates, that is stick-slip, and the confirming steps match those in diagnosing a servo axis that jogs in steps with fluctuating current.
The decision is simple: trim pressure until the up and down currents are equal and both sit near the at-rest value, then leave the setting alone through the rest of the work.
How do you calculate the counterbalance pressure that balances the head? #
Set the counterbalance so total cylinder force equals the moving head weight: for the example head below that is about 1222 psi at each of two 2.5 in bore rams carrying 12000 lb, and then you trim pressure until the up and down currents read equal.
This is a calculated example for these inputs, not a rating for any particular machine, and it starts from the moving mass, not the machine weight. Worked example: a two-ram counterbalance carries an example head of 12000 lb.
- Ram bore 2.5 in gives a piston area of 0.7854 × 2.5² = 4.91 in² per ram.
- Each ram must carry half the head: 12000 lb / 2 = 6000 lb.
- Balance pressure: P = F / A = 6000 lb / 4.91 in² = 1222 psi per ram.
Check the arithmetic against a real setting. Suppose the gauge reads 1000 psi: cylinder force is 2 × 4.91 in² × 1000 psi = 9820 lb, leaving 2180 lb for the motor. Through a 2 in pinion radius and a 4:1 reduction, that is 2180 lb × 2 in / 4 = 1090 in-lb at the motor shaft, roughly five times an example 221 in-lb motor rating, so the up current saturates and the head sags between moves. Now suppose the setting is 1300 psi: force is 12766 lb, a surplus of 766 lb, which is 766 lb × 2 in / 4 = 383 in-lb of downward bias. The motor regenerates on every down move and reverses torque through zero at each direction change, which is exactly where chatter starts.
The decision: set pressure to the calculated balance point, then fine-tune it against the up and down current readings from the previous section.
How fast can the counterbalance circuit let the axis move? #
A counterbalance circuit caps axis speed at the oil flow the rams, valve and piping can pass, so a retrofit cannot outrun the original design: treat the machine's original rapid rate as the ceiling, and expect chatter to get worse as you push past it.
The limit is a flow calculation. Cylinder speed in in/min equals 231 times flow in gpm divided by piston area in in². For the example circuit, 25 gpm through the 4.91 in² ram area gives 231 × 25 / 4.91 = 1177 in/min, about 98 ipm; that figure, not the controller's maximum, is the ceiling for those inputs. Restrictions, valve behavior, trapped air and unequal cylinder action lower it further, and a counterbalance valve sized for the original speed resists attempts to run faster because the oil must enter and leave the cylinders at the commanded rate. A slower profile can hide a restriction without removing it, so chatter tied to speed points at flow, while chatter tied to acceleration points at force or current demand.
The decision: cap the retrofit's rapid at the original specification until a flow measurement proves more headroom.
How do you tell controller tuning from a drive or hydraulic problem? #
Command the amplifier by itself with the motion controller out of the loop, using the drive's documented service or jog reference and every limit, brake and stop function still active: smooth motion points at the position loop, chatter that survives points at the drive, feedback, mechanics or hydraulics.
Save the present controller and drive settings and mark the pressure starting point before you begin, so the cause-and-effect record survives. Run short moves in both directions at several speeds, recording current, velocity feedback and pressure, and change nothing during the series. Then classify: smooth independent motion moves the work to the position loop; chatter that persists under independent command belongs to the drive gains, feedback quality, mechanics or the counterbalance circuit. Work the drive and hydraulic sides first, because this is why gain changes cannot smooth a rough servo axis when the plant itself carries a bias the loop keeps fighting.
How do you tune the position loop once the force balance holds? #
Tune only after the axis moves smoothly under independent command, and change one loop term at a time with counterbalance pressure fixed: bring P up until the axis tracks without sustained oscillation, add D gradually for damping, and re-check the up and down currents after every change.
Use conservative acceleration and the same short move in both directions throughout the series. Raise the proportional term until the axis tracks without sustained oscillation, then back off; add derivative in small steps for damping, and watch for derivative amplifying feedback noise into a sound that mimics mechanical chatter. Expect to end with gains unlike the horizontal axes even on the same machine, because the velocity constant varies widely between tuned axes and a gravity-biased axis is its own plant. If the axis is quiet cold and chatters hot, stop tuning and correct the hydraulic circuit first.
The decision, case by case: chatter that responds to pressure is a force balance, so calculate it; chatter tied to speed is flow, so hold the original rapid; smooth under the drive and rough under the controller is the loop, so tune one term at a time with the pressure locked.
Questions asked
Does machine weight tell me the counterbalance pressure I need?
No. A machine's total weight, for example 40000 lb, includes the bed, column and fixed castings; the counterbalance must match only the moving head assembly. Weigh the moving mass or derive it from lifting force and acceleration measurements, then apply the pressure calculation. Guessing from machine weight over-pressurizes the rams and makes the motor fight a surplus on every down move.
Can higher derivative gain mask counterbalance chatter?
No. Derivative damping can quiet the loop for a while, but it cannot remove the static force mismatch that starts the oscillation, and it amplifies feedback noise as it grows. The chatter returns on the next direction change and the motor runs hotter. Set the force balance first; then the gains have a plant they can actually damp.
Why does the tune change as the hydraulic oil warms up?
Oil viscosity, internal leakage and line damping all shift with temperature, so cylinder response and the pressure behind a given valve setting drift through a shift. Take your current and pressure measurements after the machine reaches operating temperature, set the balance pressure warm, and re-verify the up and down currents warm before you call the loop tuned.
The axis is smooth under drive control but chatters under the controller, so what now?
The force balance and the drive are sound, so the position loop is the suspect. Verify feedback scaling and polarity against the commanded distance first, then raise the proportional term until the axis tracks without sustained oscillation and back off, add derivative for damping, and re-check the up and down currents after each change. Keep counterbalance pressure fixed through the whole series.

