ClassA Motor

How do I control motor speed with a potentiometer or a 0-10 V signal? Wiring and scaling

Wire a potentiometer or 0-10 V analog input to a drive or microcontroller, scale the reference to speed, and avoid noise and loss-of-signal problems.

Updated 2026-11-28

The short answer

A potentiometer or a 0-10 V signal is a voltage that sets the speed command. For a VFD or speed controller, connect the reference to its analog input and map 0 V to minimum speed and 10 V to maximum speed. For a DC motor driver, the potentiometer usually goes to an analog input of a microcontroller, which then produces the PWM. Use shielded twisted cable, a common ground, and a reference supply from the drive itself.

Potentiometer wiring

  • Use a 10 kΩ linear potentiometer. Lower values draw more current, and higher values pick up more noise.
  • Connect one end to the reference supply (5 V, or 10 V on many drives), the other end to ground, and the wiper to the analog input.
  • Current through the pot is V / R, for example 5 V / 10 kΩ = 0.5 mA, so the reference barely loads.
  • If the speed rises in the wrong direction, swap the two outer leads.

0-10 V signal wiring

  • Connect the source's output to the analog input (AI+) and its return to AI− or the common ground.
  • Check the input impedance, usually tens of kΩ, and make sure the source can drive it.
  • Use shielded twisted pair, grounding the shield at one end only, usually the drive end.
  • Keep signal cables at least 30 cm from motor power cables, and cross them at right angles where they must meet.
  • Confirm the drive's input type. A 4 to 20 mA input detects a broken wire, but 0-10 V does not, so the drive may hold the last speed or fall to zero.

Worked example: scaling to speed

A VFD with a 0-60 Hz range drives a 4-pole motor. The synchronous speed at 60 Hz is n_s = 120 × f / p = 120 × 60 / 4 = 1800 rpm. A 0-10 V command maps linearly to frequency, so 6 V gives 36 Hz. At 36 Hz, n_s = 120 × 36 / 4 = 1080 rpm, and with about 3 percent slip the actual speed is near 1050 rpm. For an Arduino with a 10-bit ADC and a 5 V reference, the reading is raw × 5 / 1023 volts, so a raw value of 512 is about 2.5 V, or half speed.

Noise and drift

  • Average several readings, or add a 100 nF capacitor from the wiper to ground as a simple filter.
  • Add a small deadband near zero so the motor does not twitch when the knob is at its lowest position.
  • Set a minimum speed in the drive so that 0 V stops the motor, or sends a clear stop command, rather than running at its lowest setting.

Common mistakes

  • Mismatched reference: feeding 12 V into a 5 V analog input.
  • No common ground between controller and drive, so the 0-10 V reading is offset or noisy.
  • Long, unshielded pot leads that pick up motor noise.
  • Using a potentiometer to enable the drive. Use a separate run or enable input.

How to choose the signal

  • 0-10 V: simple and cheap for short runs in a clean environment.
  • 4 to 20 mA: better for long cables, noisy plants and broken-wire detection.
  • Digital networks: best for many drives on one line, with parameters and feedback.

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 →