AutomateDirectUSAMotion LibraryShop the parts catalog

Troubleshooting

Stopping continuous rotation servo creep at zero command

Servo and stepper motion Published 7 min read

Short answer

A continuous rotation servo creeps at zero command when the commanded pulse width sits outside that unit's true neutral stop band, so center a per-servo software trim in the measured band and make the reference stable - two matched resistors in place of the internal potentiometer, or no pulses at all when a passive stop is acceptable. Re-trimming the pot every few days treats the symptom, not the drift.

On this page
  1. What the creep is telling you
  2. The convention you are working against
  3. Checks, cheapest first
  4. Worked example: placing a 1500 µs stop inside a 200 µs band
  5. Fixes, from least to most permanent
  6. Active stop or passive stop
  7. Questions asked

Creep at the zero command means the pulse your controller sends sits outside that servo's real neutral stop band. Fix it by centering a per-servo software trim in the measured band, then stopping the reference from drifting: two matched fixed resistors in place of the internal potentiometer, or no pulses at all when a passive stop is acceptable. Re-adjusting the pot inside the case every few days chases the symptom - it moves the reference once, and the next battery change, temperature swing or bout of vibration moves it again. The quantity that decides whether the wheel turns is the pulse width at the signal pin, in microseconds, not the zero shown on the phone.

What the creep is telling you #

A positional RC servo drives its motor until the shaft's measured position matches the position demanded by the incoming pulse width. A continuous-rotation unit breaks that link: the feedback potentiometer stops tracking the shaft and becomes a fixed comparison reference, and the sign and size of the difference between reference and command set direction and speed. Close to the balance point, a small error produces slow, quiet creep with nothing overheating and nothing tripping, which is why it survives for days before anyone notices.

The "0" your app sends is an interface number. What reaches the servo is a pulse train on the signal pin, and only its width in microseconds matters. Read the signal-generation code first, then measure the pin.

A sealed positional servo that buzzes while holding position is a different fault - the steps in why a servo motor oscillates between two positions address that one. Creep on a continuous-rotation unit is a reference-offset problem, not a loop-tuning problem.

The convention you are working against #

The timing comes from the radio-control servo convention: pulse widths run from about 1000 µs to 2000 µs across the travel, with neutral at 1500 µs. It is a de facto industry convention rather than a written standard, which is exactly why each unit's true neutral is measured, never assumed. The repetition period can vary between systems; the width is the quantity that decides.

The deadband is the band of pulse widths over which the motor stays stopped. One continuous-rotation servo specified at 4 µs deadband was reported to show an effective stop band about 200 µs wide once installed - the effective band on your units is a measured property, and the two numbers can be that far apart.

How the pulse is generated matters as much as its width. In one reported test, a servo held on a constant duty-cycled output meant to represent 1500 µs buzzed continuously and drew over 500 mA at rest. Generate the signal with a servo-timer output; a plain PWM duty is not a servo command.

Checks, cheapest first #

Lift the wheels clear or uncouple the driven mechanism, keep servo power removable by hand, and keep fingers out of anything the shafts can pinch.

  1. Capture the zero-command pulse. Scope or logic analyzer at the servo end of the cable, with the Bluetooth link active. It passes when the captured width matches what the code intends and does not shift while other tasks run. A multimeter cannot make this measurement.
  2. Measure the supply at the servo connector under load. Leads, connectors and shared rails drop volts when several motors draw at once, and a fresh pack is a different operating point from a partly discharged one. It passes when the voltage at the connector stays inside the unit's documented operating range under worst-case load - take that range from the datasheet of the exact servo.
  3. Bench the unit with the signal held low. No pulses at all. If the shaft stops dead, the creep is powered drive - a command-versus-reference mismatch. If it still turns, it is coasting or being back-driven, and no neutral trim will change that.
  4. Find both edges of the stop band. Step the commanded pulse width in small increments until rotation starts in each direction, and write down both edges. The true neutral is the midpoint of that interval, not the first value that happens to stop the wheel.
  5. Repeat after a battery change and after warm-up. A band center that moves between runs means the reference drifts. A stable center with a shifted pulse means the code or the signal path changed.

Worked example: placing a 1500 µs stop inside a 200 µs band #

Inputs, with sources:

  • Command interface: integers from -90 to +90, with 0 meaning stop - the robot's own Bluetooth command scale.
  • Assumption to verify on your build: the sketch maps that scale linearly onto the standard 1000-2000 µs range, so 0 sends 1500 µs and the endpoints send the extremes.
  • Stop band: the reported effective band of about 200 µs centered near neutral, to be replaced by your measured edges.

Rule in words: divide the pulse span by the number of command steps to get the microseconds each count represents, then divide the stop band by that to express the band in command counts.

The arithmetic:

  • Pulse span: 2000 µs - 1000 µs = 1000 µs.
  • Command steps: 90 - (-90) = 180.
  • Microseconds each count represents: 1000 µs ÷ 180 = 5.6 µs per count.
  • Half the stop band: 200 µs ÷ 2 = 100 µs.
  • Half band in command counts: 100 µs ÷ 5.6 µs per count ≈ 18 counts.

Result: with the trim centered on the measured midpoint, commands from roughly -18 to +18 counts around the true neutral still stop the wheel. Against that margin, the 4 µs deadband on the specified unit is under one command count (5.6 µs), so a one-count error can start rotation if the effective band collapses toward the specification. This is a calculated example for these inputs, not a measured result.

Decision: park each servo's stop command at the measured midpoint of its own band, at least 50 µs (about 9 counts on this scale) from either measured edge. When the measured center moves by more than 100 µs - half the band, about 18 counts - between calibrations, the reference is drifting faster than trim can follow, so replace the potentiometer. If the band you measure is near the 4 µs specification instead of the reported 200 µs, skip software trim as the primary fix and change the hardware reference first.

Fixes, from least to most permanent #

Fix What it changes Limit
Per-servo neutral trim in software The commanded pulse width, per servo Does nothing for a drifting reference; recalibrate when drift shows
Potentiometer secured at center Removes wiper movement from vibration Electrical and thermal drift remain; the creep has been reported to return after gluing
Two matched resistors in place of the pot Replaces the moving reference with a fixed divider Does not remove drift elsewhere in the servo electronics or the command path
Passive stop: signal driven low, no pulses Removes the command entirely at rest No holding drive; gear friction and the load decide what happens

For the resistor fix: measure the potentiometer end-to-end with the servo unpowered - small units commonly use a 1 kΩ or 5 kΩ pot - then fit two fixed resistors, each half that value, matched as closely as you can, in series across the two end holes with their junction in the center hole.

Active stop or passive stop #

Let the application decide between them, case by case:

  • Flat floor, nothing held, coasting harmless: stop sending pulses when the command is 0. It is immune to neutral drift by construction, because there is no command to mismatch. Test each unit's signal-loss behavior first; the usual result is that drive releases.
  • The machine must resist torque at rest - incline, suspended load, windup: keep the pulse stream, trim each neutral in software, and replace the pot with the matched pair so the reference stops moving.
  • The axis must actually hold a position: a continuous-rotation servo with no external feedback cannot verify position. Add an encoder or scale and close the loop in the controller, the route taken in tuning a closed-loop stepper with linear scale feedback.

The commit rule for this fault: one re-trim after a battery change is calibration; a second within days means the reference is moving, so fix the hardware and stop adjusting the trim.

Questions asked

How do I find the stop band without an oscilloscope?

Sweep the command value in single steps around zero on the bench and watch the wheel: note the count where rotation starts clockwise and the count where it starts counter-clockwise. The midpoint between those two counts is that servo's neutral trim. The method only resolves to one command step, but it is enough to center the trim and to log how far the neutral moves from week to week.

Why does the servo buzz and draw current at zero command?

Either the servo is actively driving a small neutral error, which is the creep itself, or the pulses are malformed. Generate the stop signal with a servo-timer output rather than a plain PWM duty cycle, then listen and measure the resting current again: if the buzz and the draw fall away, the signal was the problem, not the reference.

What resistors replace the internal potentiometer?

Two fixed resistors wired as the divider described in the fixes section: each half the measured pot value, matched to each other as closely as you can. Match quality matters more than absolute value, because a small mismatch only offsets the neutral, and the per-servo software trim absorbs that. Take the pot value from a measurement with the servo unpowered, never from a guess at its size class.

Why does the neutral move after a battery change?

The servo's internal reference rides on the supply rail, so a pack at a different voltage - fresh versus partly discharged - is a different operating point, and temperature shifts it the same way. With a stop band that may be only a few microseconds to a few hundred microseconds wide, a small shift pushes the command outside the band and the wheel creeps. Measure the rail at the servo connector, not at the battery.

Is stopping the pulses safe if the robot sits on a slope?

No. With the signal low the servo releases its drive, and only gear friction and the load decide what happens; on an incline the robot can roll. Use the passive stop only where coasting is harmless. Where the machine must resist gravity at rest, keep the pulse stream, trim the neutral, and hold the load mechanically - a brake or a chock - during any service work.

Keep reading

  • Troubleshooting

    Diagnosing Servo Axis Position Drift in the Drivetrain

    The drift is lost motion between the motor encoder and the load: the position loop closes at the motor shaft, so the gearbox, coupling, pulleys and belt sit outside it. Split motor-reported position from an independently measured load position at one reference with witness marks on every hub. A one-direction offset that grows for hours while the motor reads on target is index loss — slip or jumped teeth — until the marks prove otherwise.

    Servo and stepper motion

  • How-to

    Synchronizing Two Servo Axes on One Heavy Lift

    Yes, two servos can raise one 900 lbf fixture — gear both real axes to one virtual master, trip a cross-axis position fault that halts the master when either side strays, watch the two motor currents separately, and counterbalance each side so the holding brakes stop drifting the level away. Identical independent commands are not synchronization.

    Servo and stepper motion

  • Selection guide

    Counting Real Axes Before Selecting a Gantry Motion Controller

    Count independent servos, not marketing axes: this machine is 13 controlled axes (1 X, 4 Y, 4 Z, 4 C), so the controller must coordinate 13. Size the payload forces first — 300 N horizontal and about 1,772 N accelerating up on Z — then use a PLC with integrated motion driving servos on one deterministic fieldbus unless robot-style kinematics or conveyor tracking saves real development time.

    Servo and stepper motion