ClassA Motor

Why does my servo motor run away on power-up?: causes and fixes

A servo that accelerates on its own after power-on or enable is in a positive feedback loop, has wrong phase or feedback polarity, or has a command offset. How to make it safe first, then find the wiring or parameter error.

Updated 2026-11-28

Short answer

A runaway servo has a control loop that drives it away from the target instead of toward it. The usual causes are reversed feedback direction, wrong motor phase order, a sign error in the command, or gains high enough to make the loop unstable. Make the machine safe first: cut drive power through the hardwired emergency stop, because a software disable may not stop the motor. Then check feedback direction and phase order before touching the gains.

Safety first

  • Keep hands and tools clear of the axis during the first power-up after any wiring change.
  • Remove the load or the coupling if that is safe to do.
  • Use a hardwired emergency stop or a contactor that removes power, not only a drive enable input.
  • Set software limits and hardware overtravel limit switches before the first test.
  • Have one person stand at the emergency stop during every test.

Causes to check

  • Feedback sign reversed: the drive thinks the motor moves the wrong way, so it pushes harder as the error grows. The encoder direction parameter, or swapped encoder channels, is the usual cause.
  • Motor phase order wrong: U, V and W reversed or mismatched with the encoder. Torque pushes the rotor in the wrong direction relative to the feedback.
  • Command polarity: an analog command with reversed sign or an offset sends the axis to one end, or a positive command is treated as negative.
  • Gains too high, or wrong inertia settings. An unstable loop turns oscillation into motion.
  • Wrong motor data after a motor change, such as pole pairs, the encoder line count or the commutation angle.

Worked example: a sign error grows the error

Take a position error of 1000 counts and a proportional gain of 0.5 per count. With correct negative feedback, the command is -500 counts and the error shrinks each cycle. With the feedback sign reversed, the error becomes 1000 + 500 = 1500 counts, then 2250, so it is multiplied by 1.5 each cycle. The motor speeds up until a clamp stops it. Halving the gain only slows the runaway; it does not fix the sign.

Find the cause with a test

  • With zero command and the drive enabled, turn the shaft slowly by hand. The position feedback should count up one way and down the other, matching the drive's direction setting.
  • If the feedback direction is reversed, change the encoder direction parameter or swap the encoder A and B channels, but not both.
  • Command a very small move at low gain. The shaft should move in the commanded direction. If it moves the other way, check the phase order and the commutation or Hall setup.
  • Check the motor parameters in the drive against the nameplate and the datasheet, especially the pole pairs and the encoder line count.
  • Check the analog command polarity with a meter at the drive input, and check the zero offset in the drive.

Fixes

  • Correct the feedback direction, then check it again with a hand turn.
  • Correct the phase sequence by swapping two motor phases, then verify the commutation angle or run the drive's auto-tuning.
  • Reset the command offset to zero and check the input range.
  • Lower the gains, then raise them step by step once the direction is right.
  • Set the software limits and install hardware limit switches before enabling again.

Common mistakes

  • Changing gains to fix a runaway caused by wiring. Tuning cannot correct a reversed sign.
  • Rotating all three phase wires one place (U to V, V to W, W to U). That keeps the direction the same; swapping any two phases reverses it.
  • Relying on the software disable to stop the axis.
  • Testing with the load attached before checking the feedback direction.

Synchronous speed, slip and VFD speed

nₛ = 120·f / p · s = (nₛ − n) / nₛ

Synchronous speed1,500rpm
Slip2.67%
Speed at VFD frequency, rated torque1,010rpm

V/f control keeps slip in rpm roughly constant at the same torque, so speed = 120·f/p − rated slip. At light load the motor runs closer to synchronous speed. Above base frequency torque falls (field weakening).

Sourcing a motor or production equipment from China? We can find and contact the right factories for you in Chinese. Ask on WhatsApp →