Skip to main content
Robotics & Embodied AI

⏱ About 15 min15 XP

Motors and Servos

Every robot that moves has actuators — devices that turn electrical energy into mechanical motion. But not all actuators are the same. The motor spinning a toy car, the servo positioning a drone's propeller angle, and the stepper motor that moves a 3D printer's printhead are all doing the same fundamental job, yet they achieve it very differently and have very different strengths. Choosing the right actuator for a job is one of the first design decisions a robotics engineer makes.

DC Motors: Speed and Power

A DC motor — short for Direct Current motor — is the simplest and most common electric motor. Run current through it, and the shaft spins. Reverse the current, and the shaft spins the other way. Increase the voltage, and it spins faster. DC motors are cheap, powerful, and fast-spinning. They are the right choice when you need to drive wheels, run a fan, or power a conveyor belt — situations where continuous rotation at high speed matters more than precise positioning. A robot car's drive wheels typically use DC motors. The downside is that a plain DC motor has no built-in way to know where it stopped. If you tell it to spin for half a second, and then something slows it down, it stops in the wrong position. Getting precise positioning out of a DC motor requires adding a sensor called an encoder that counts how far the shaft has turned.

Encoder

An encoder is a sensor attached to a motor shaft that measures rotation. It sends pulses to the controller as the shaft turns — counting pulses tells the controller exactly how many degrees the shaft has rotated. Encoders transform a dumb DC motor into a position-aware actuator.

Stepper Motors: Precision Without Sensing

A stepper motor moves in discrete, fixed-size steps rather than spinning continuously. Each electrical pulse delivered to the motor advances the shaft by one step — typically 1.8 degrees in common models, meaning 200 pulses equals one full revolution. By counting pulses, the controller always knows the exact position without needing an external encoder. Stepper motors are the workhorses of 3D printers, CNC machines, and camera sliders. They are not the fastest or most powerful motors, but their step-by-step precision makes them ideal for any application that requires moving to an exact position repeatably. The trade-off: steppers can miss steps if the load is too heavy. If they miss a step, the controller does not know — the count is now wrong, and all future positions are off by the missed step.

Servo Motors: Closed-Loop Control Built In

A servo motor combines a motor, a gearbox, and a position sensor all in one package. You send a command saying go to 90 degrees, and the servo's internal electronics handle everything needed to get there and hold that position. If an outside force pushes the joint away from 90 degrees, the servo actively resists and returns. Servos come in two flavors. Standard servos rotate within a limited range — typically 0 to 180 degrees — which makes them perfect for robot joints, control surfaces on model aircraft, and grippers. Continuous-rotation servos remove the stop and spin indefinitely like a DC motor but with speed control via the same pulse-width signal. High-end industrial servos are fast, accurate, and powerful enough to operate factory robot arms. The key advantage of a servo over a plain DC motor or a stepper is built-in position control: the servo closes its own control loop internally, which simplifies the work the main controller has to do.

Servo vs. DC Motor vs. Stepper

DC motor: fast rotation, needs encoder for position. Stepper: step-counted precision, no sensor needed, can miss steps under load. Servo: built-in position control, fights external forces, ideal for joints.

Flashcards — click each card to reveal the answer

Beyond Electric: Hydraulics and Pneumatics

Electric motors dominate most robotics, but some situations call for different actuator types. Hydraulic actuators use pressurized oil to produce enormous force — construction equipment, heavy industrial robots, and some legged research robots use hydraulics because no electric motor of the same size can match the force. The trade-off is complexity: you need pumps, hoses, seals, and fluid management. Pneumatic actuators use compressed air instead of oil. They are lighter than hydraulics, fast-acting, and common in factory automation for grippers and simple push-pull motions. Their weakness is the difficulty of controlling intermediate positions — pneumatics tend to snap to fully extended or fully retracted, not smoothly to any angle. For most middle-school and hobbyist robots, servo and DC motors are the right tools. Industrial arms and heavy machinery often layer hydraulics on top or in place of electric motors.

Match each actuator type to its key characteristic.

Terms

DC motor with encoder
Stepper motor
Standard servo
Hydraulic actuator
Pneumatic actuator

Definitions

Uses pressurized fluid to produce very large forces beyond what electric motors can match
High-speed rotation with position tracked by counting shaft pulses
Moves in fixed angular increments; position counted from pulses without a separate sensor
Holds a commanded angle within a limited range using internal position feedback
Uses compressed air for fast snap-to-end-position motions in factory grippers

Drag terms onto their definitions, or click a term then click a definition to match.

A robotics student wants to build a robot arm joint that must hold any angle from 0 to 180 degrees precisely and resist being pushed away from that angle. Which actuator is the best match?

Which statement correctly identifies a limitation of stepper motors?

Actuator Selection Challenge

  1. Step 1: Read each robot design scenario below.
  2. Step 2: Choose the best actuator type (DC motor, stepper motor, or servo motor) for each and write your reasoning in one sentence.
  3. A) The drive wheels of a small wheeled robot that needs to run at full speed across a room.
  4. B) The extruder carriage of a desktop 3D printer that must position itself within 0.1 mm.
  5. C) The elbow joint of a robotic arm that must hold a specific angle while carrying a heavy load.
  6. D) A rotating turntable on a robotic camera platform that needs smooth continuous spin at variable speed.
  7. Step 3: For one scenario, describe what would go wrong if you chose the wrong actuator.