4  Actuator Types and Comparison

In 60 Seconds

Actuators are classified by output type (mechanical, electrical, visual, audio, thermal) and selected based on application requirements. DC motors provide continuous rotation, servo motors offer precise angular positioning, and stepper motors deliver open-loop step-by-step control, each with distinct tradeoffs in cost, precision, and power efficiency.

Key Concepts
  • Actuator Classification by Output Type: Five output categories: mechanical (motors, solenoids — convert electrical to motion), visual (LEDs, displays — convert electrical to light), audio (buzzers, speakers — convert electrical to sound), thermal (heaters, Peltier coolers), and electrical (relays, SSRs — switch high-power circuits)
  • Linear vs. Rotary Actuator: Linear actuators produce straight-line motion (solenoids, linear servos, pneumatic cylinders); rotary actuators produce circular motion (DC motors, servo motors, stepper motors); selection depends on the required motion type
  • Continuous vs. Discrete Positioning: Continuous actuators (DC motors) produce motion without inherent position knowledge; discrete actuators (stepper motors, servo motors) can produce specific positions — steppers through counting steps, servos through PWM-commanded angle
  • Active vs. Passive Actuator: Active actuators require ongoing energy input to maintain their state (motor holding position against load); passive actuators require only a brief pulse to change state (bistable relays, latching solenoids, shape-memory alloys in some configurations)
  • Electromagnetic Actuation: Electromagnet-based actuators (solenoids, DC motors, stepper motors) use current-carrying coils to produce force through magnetic fields; all share the property that force increases with current and decreases with physical gap between armature and core
  • Pneumatic and Hydraulic Actuation: Fluid-powered actuators produce high force-to-weight ratios; pneumatic (compressed air) is used in factory automation; hydraulic (oil) is used for very high force; both require compressors/pumps that add system complexity
  • Smart Actuators: Actuators with integrated position sensing, force sensing, and control electronics; examples: smart servo motors with position feedback, stepper motor drivers with stall detection; reduce external component count and simplify system integration
  • Actuator Response Time: How quickly an actuator can change state: relays take 5-10 ms, solenoids 5-50 ms, DC motors 50-500 ms depending on load, thermal actuators seconds to minutes; response time determines minimum control loop frequency

Learning Objectives

After completing this chapter, you will be able to:

  • Classify actuators by output type (mechanical, electrical, visual, audio, thermal)
  • Compare different motor types and their characteristics
  • Apply decision trees to select appropriate actuators for specific applications
  • Evaluate tradeoffs between DC, servo, and stepper motors for a given scenario
  • Distinguish when to use open-loop vs closed-loop control

If sensors are the “eyes and ears” of an IoT device, actuators are the “hands and voice” – they are the parts that do things in the physical world. Motors spin fans, solenoids lock doors, LEDs display status, and buzzers sound alarms. This chapter helps you understand the different types of actuators and how to choose the right one for your project, much like picking the right tool from a toolbox.

4.1 Actuator Classifications

4.1.1 By Output Type

Actuator classification tree organized by output type: mechanical (motors, solenoids), electrical (relays), visual (LEDs, displays), audio (buzzers, speakers), and thermal (heaters, coolers)
Figure 4.1: Actuator Classification by Output Type: Mechanical, Electrical, Visual, Audio, Thermal
Actuator selection guide organized by application domain (smart home, industrial, healthcare, agriculture, transportation, retail, energy, wearables) showing recommended actuator types for each use case
Figure 4.2: Application-specific view: Different IoT domains use different actuator combinations.

4.1.2 Comparison of Common Actuators

Decision tree for selecting the right actuator based on motion type, precision, and power requirements
Figure 4.3: Actuator Selection Decision Tree: From Requirements to Component Choice

4.1.3 Actuator Comparison Table

Actuator Type Control Method Power Speed Precision Use Case
DC Motor PWM (speed) Medium-High Fast Low Fans, wheels, pumps
Servo Motor PWM (position) Low-Medium Medium High Robotic arms, steering
Stepper Motor Step pulses Medium Slow-Medium Very High 3D printers, CNC
Relay Digital ON/OFF Low (coil) / High (load) Slow N/A Appliances, lights
Solenoid Digital ON/OFF Medium-High Fast N/A Locks, valves
LED PWM (brightness) Very Low Instant N/A Indicators, lighting
Display I2C/SPI Low Medium N/A User interface
Buzzer PWM (tone) Very Low Fast N/A Alerts, alarms

4.2 Motor Type Tradeoffs

Tradeoff: DC Motor vs Stepper Motor vs Servo Motor

Option A: DC Motor - Continuous rotation motor controlled by voltage/PWM, simplest but requires external feedback for position control

Option B: Stepper Motor - Discrete step rotation (typically 1.8 or 0.9 degrees/step), open-loop position control without feedback sensors

Option C: Servo Motor - DC or brushless motor with integrated feedback (encoder/resolver) and closed-loop position/velocity control

Decision Factors:

Factor DC Motor Stepper Motor Servo Motor
Position accuracy Poor (needs encoder) Good (1.8-0.9 degrees/step) Excellent (<0.01 degrees)
Speed range Wide (0-30,000 RPM) Limited (0-2000 RPM) Wide (0-10,000 RPM)
Torque at low speed Poor Excellent (full torque) Excellent
Torque at high speed Good Poor (drops rapidly) Good
Power efficiency Good (70-90%) Poor (30-60%, always energized) Excellent (85-95%)
Cost Low ($1-$20) Medium ($10-$50) High ($50-$500+)
Control complexity Simple PWM Medium (step/dir) Complex (PID tuning)
Noise/vibration Low High (cogging) Low

Choose DC Motor when: Continuous rotation needed (fans, pumps, wheels); speed control more important than position; cost-sensitive applications; high-speed operation required.

Choose Stepper Motor when: Precise positioning without feedback acceptable; holding position under load (no drift); cost matters more than efficiency; moderate speeds (3D printers, CNC, pan/tilt).

Choose Servo Motor when: Dynamic response critical; high efficiency required; smooth motion at all speeds; closed-loop accuracy mandatory; industrial/professional applications.

Real-world examples: Cooling fan (DC), 3D printer axis (stepper), robotic arm joint (servo), drone propeller (brushless DC with ESC).

When a motor spec says “0.4 Nm torque at 200 RPM,” you can calculate the lifting force. With a 50mm diameter pulley (\(r = 0.025\) m), the force is \(F = \tau / r = 0.4 / 0.025 = 16\) N (about 1.6 kg lift). Power delivered is \(P = \tau \times \omega = 0.4 \times (200 \times 2\pi/60) = 8.4\) W. A stepper at these specs draws 12W input power continuously (70% efficiency: 8.4W/0.7 ≈ 12W) because steppers maintain holding current 24/7 even when stationary – they must keep coils energized to prevent position drift. A servo only draws power during motion (90% efficiency: 8.4W/0.9 = 9.3W input). For a valve opening 10 times per day at 2s each (20s total active time), the stepper uses \(12 \times 24 = 288\) Wh/day (runs continuously) vs servo’s \(9.3 \times (20/3600) = 0.052\) Wh/day (only during motion) – a 5500× energy difference.

Try it yourself:

4.3 Open-Loop vs Closed-Loop Control

Tradeoff: Open-Loop vs Closed-Loop Actuator Control

Option A: Open-Loop Control - Command sent to actuator without feedback verification; assumes actuator follows command correctly (e.g., stepper motor step commands, timed relay cycles)

Option B: Closed-Loop Control - Sensor feedback continuously compared to setpoint; controller adjusts output to minimize error (e.g., PID-controlled servo, temperature regulation with thermocouple feedback)

Decision Factors:

Factor Open-Loop Closed-Loop
System complexity Low High
Cost Lower (no sensors) Higher (sensors + controller)
Response to disturbances Poor (drifts with load) Excellent (auto-corrects)
Accuracy Depends on actuator quality High (limited by sensor)
Stability concerns None (no feedback) Possible oscillation if poorly tuned
Debugging ease Simple (direct cause-effect) Complex (feedback interactions)
Power efficiency May waste energy overshooting Optimized to target
Failure modes Silent failures possible Detects and reports errors

Choose Open-Loop when: Actuator behavior highly predictable; load variations minimal; cost-critical applications; simple on/off or timed operations; stepper motors in low-load applications; actuator has inherent holding (magnetic latching).

Choose Closed-Loop when: Position/speed accuracy critical; load varies significantly; disturbances expected (friction, wind, temperature); safety-critical applications; need to detect and respond to failures; continuous regulation required (temperature, pressure, flow).

Hybrid approach: Many systems use open-loop for fast coarse movement, then closed-loop for fine positioning (seek then settle). Smart home blinds: open-loop stepper for positioning + limit switches for end-of-travel detection.

Design tip: Start with closed-loop if budget allows - the feedback data is invaluable for debugging, maintenance, and remote diagnostics in IoT systems.

4.4 Worked Example: Actuator Selection for a Smart Greenhouse

Scenario: A smart greenhouse needs three actuators: (1) roof vent control, (2) drip irrigation valve, and (3) grow-light positioning arm.

Requirements Analysis:

Function Motion Type Force/Torque Precision Duty Cycle Budget
Roof vent Linear, 300mm travel 50N (against wind) Low (open/closed) 2-4 cycles/day < $25
Irrigation valve Rotary, 90 degrees 2 Nm Low (on/off) 6-12 cycles/day < $15
Grow-light arm Rotary, 180 degrees 0.5 Nm (light weight) Medium (15-degree steps) Continuous slow tracking < $40

Decision:

Function Selected Actuator Why Cost
Roof vent Linear actuator (12V DC motor + leadscrew) Needs linear motion + holding force. DC motor + worm gear provides self-locking. $18
Irrigation valve Solenoid valve (12V, normally closed) Binary on/off. Solenoid provides instant response. Normally-closed fails safe (water off). $8
Grow-light arm Stepper motor (28BYJ-48) Precise positioning (0.088°/step), self-holding, no encoder needed. Low cost. $4

Total actuator cost: $30 – well within the per-zone budget of $100 for a 50-zone greenhouse.

Power budget: Roof vent draws 2A for 15 seconds per cycle (8 cycles/day = 0.067 Ah). Solenoid draws 400mA continuously during watering (3 hours/day = 1.2 Ah). Stepper draws 200mA when moving (0.5 hours/day = 0.1 Ah). Total: 1.367 Ah/day – a 12V, 7Ah sealed lead-acid battery provides 5 days of autonomy with a 20W solar panel for indefinite operation.

4.5 Mechanical Actuator Types

4.5.1 Hydraulic Actuators

Hydraulic systems use incompressible fluid (typically oil) to transmit force with exceptional efficiency. In industrial IoT applications, hydraulic actuators provide force outputs ranging from hundreds to thousands of tons, making them essential for heavy machinery, construction equipment, and manufacturing automation where electric motors cannot match the required power density.

Characteristics:

  • Very high force output
  • Smooth, precise motion
  • Good for heavy lifting
  • Requires fluid reservoir and pump
  • Higher maintenance than electric

4.5.2 Pneumatic Actuators

Pneumatic systems use compressed air for clean, fast actuation in environments where hydraulic fluid contamination is a concern.

Characteristics:

  • Fast response time
  • Clean operation (no oil leaks)
  • Good for pick-and-place
  • Lower force than hydraulic
  • Requires air compressor

4.5.3 Magnetic Actuators (Solenoids)

Magnetic actuators convert electrical current to mechanical motion through electromagnetic principles, offering fast response times ideal for IoT control applications.

Characteristics:

  • Very fast response (5-20ms)
  • Binary operation (on/off)
  • Good for locks and valves
  • High inrush current
  • Requires flyback protection

4.6 Actuator Energy Conversion

Overview diagram of actuator types including DC motors, servos, stepper motors, solenoids, and relays
Figure 4.4: Overview of actuator input types and their corresponding physical outputs.

4.7 Application-Specific Selection Guide

4.7.1 Smart Home Applications

Application Recommended Actuator Reason
Door lock Servo or Solenoid Precise positioning or fast linear action
Smart blinds Stepper motor Precise position control, holds position
HVAC control Relay High-power switching for heating/cooling
Lighting LED driver + MOSFET PWM dimming, low power
Fan speed DC motor + PWM Variable speed, quiet operation

4.7.2 Industrial IoT Applications

Application Recommended Actuator Reason
Robot arm joints Servo motors Precise closed-loop positioning
Conveyor belt DC gearmotor Continuous rotation, high torque
Valve control Pneumatic actuator Fast, clean, high force
Emergency stop Relay + contactor Fail-safe, high reliability
CNC positioning Stepper or servo Sub-millimeter accuracy

4.7.3 Wearable and Mobile IoT

Application Recommended Actuator Reason
Haptic feedback Vibration motor (ERM/LRA) Compact, low power
Notification Buzzer or LED Minimal power draw
Display OLED Low power, high contrast
Micro-pump Piezoelectric Precise, low power

4.8 Code Example: PWM Motor Controller with Speed Ramping

This MicroPython example for ESP32 demonstrates controlling a DC motor and a servo from a single class, including soft-start ramping to prevent inrush current spikes that can brown out battery-powered IoT devices:

from machine import Pin, PWM
import time

class IoTActuatorController:
    """Control DC motors and servos with soft-start ramping."""
    def __init__(self):
        self.motors = {}
        self.servos = {}

    def add_dc_motor(self, name, pin, freq=1000):
        pwm = PWM(Pin(pin), freq=freq, duty=0)
        self.motors[name] = {"pwm": pwm, "duty": 0}

    def add_servo(self, name, pin):
        pwm = PWM(Pin(pin), freq=50, duty=0)
        self.servos[name] = {"pwm": pwm, "angle": 0}

    def set_motor_speed(self, name, target_pct, ramp_ms=500):
        """Ramp motor to target speed (0-100%) over ramp_ms."""
        motor = self.motors[name]
        target = int(target_pct * 1023 / 100)
        current = motor["duty"]
        steps = max(1, abs(target - current) // 10)
        for i in range(steps + 1):
            d = current + (target - current) * i // steps
            motor["pwm"].duty(d)
            time.sleep_ms(ramp_ms // steps)
        motor["duty"] = target

    def set_servo_angle(self, name, angle):
        """Move servo to 0-180 degrees (0.5-2.5ms pulse at 50Hz)."""
        angle = max(0, min(180, angle))
        duty = int(26 + (angle / 180) * 102)
        self.servos[name]["pwm"].duty(duty)

# Usage: Smart vent with fan and valve
ctrl = IoTActuatorController()
ctrl.add_dc_motor("fan", pin=25)
ctrl.add_servo("vent_flap", pin=26)

ctrl.set_servo_angle("vent_flap", 90)   # Open vent
time.sleep_ms(500)
ctrl.set_motor_speed("fan", 60, 1000)   # Ramp fan to 60% over 1s

Why soft ramping matters: A DC motor starting at full PWM draws 3-5x its running current (inrush). On a battery-powered IoT node sharing a 3.3V rail with the microcontroller, this spike can cause a brown-out reset. The 500ms ramp limits peak current to ~1.5x running current, keeping the MCU stable.

How It Works: Motor Selection for Different Applications

When choosing between DC, servo, and stepper motors, think of them like different types of transportation:

DC motors are like cars on a highway - they just keep moving forward or backward at whatever speed you set. Great for fans, wheels, or anything that needs continuous rotation.

Servo motors are like your arm pointing at something - you tell them “point to 90 degrees” and they snap there and hold. Perfect for robot arms or camera mounts where you need specific angles.

Stepper motors are like taking precise steps on a staircase - each pulse moves exactly 1.8 degrees, and by counting steps, you know exactly where you are. This makes them ideal for 3D printers where precision matters over long distances.

The key decision: Do you need speed (DC), specific angles (servo), or precise position tracking (stepper)?

4.9 Knowledge Check

    1. DC motor with PWM speed control
    1. Servo motor with angle control
    1. Stepper motor with step counting
    1. Relay for on/off switching

Answer: C) Stepper motor with step counting. Stepper motors provide precise open-loop positioning (1.8 degrees per step) over unlimited rotation range, making them ideal for 3D printers and CNC machines. Servo motors are limited to 0-180 degrees, and DC motors lack inherent position control.

    1. Lower cost because no sensors are needed
    1. Simpler system design and debugging
    1. Automatic correction of errors caused by load changes and disturbances
    1. Less power consumption in all cases

Answer: C) Automatic correction of errors caused by load changes and disturbances. Closed-loop control uses sensor feedback to detect and correct deviations from the desired setpoint, making it resilient to varying loads, friction, and other disturbances. Open-loop systems are simpler and cheaper but cannot detect or correct errors.

    1. NEMA 17 stepper motor
    1. Servo motor (SG90)
    1. DC motor with encoder
    1. Pneumatic actuator

Answer: B) Servo motor (SG90). Servos consume power only when moving to a new position, making them 5-10x more energy efficient than steppers for intermittent positioning. A stepper motor draws holding current continuously even when stationary, which drains batteries quickly. The SG90 servo also covers the 0-180 degree range needed for a vent.

4.10 Concept Relationships

Concept Relates To Connection Type
Motor Selection PWM Control DC motor speed controlled via PWM duty cycle
Closed-Loop Control Sensor Fundamentals Feedback sensors enable PID control loops
Actuator Power Electricity Fundamentals Current requirements determine driver circuits
H-Bridge Drivers Electronics Transistor circuits for bidirectional motor control
Key Takeaway

Actuator selection depends on the specific application requirements: DC motors for continuous rotation, servo motors for precise angular positioning within 180 degrees, stepper motors for unlimited-range precision, relays for high-power switching, and solenoids for fast linear motion. The choice between open-loop and closed-loop control depends on whether accuracy, disturbance rejection, and failure detection justify the added cost and complexity of feedback sensors.

4.11 See Also

“Welcome to the Actuator Talent Show!” announced Max the Microcontroller. “Each actuator will show off their special skill!”

First up was DC Danny the Motor. “I spin round and round like a fan! I’m great at things that need to keep spinning – like cooling you down on a hot day!” He whirred happily.

Next was Servo Sam. “Watch this – I can point to EXACTLY 90 degrees and hold perfectly still!” He snapped to position like a compass needle. “I’m like a robot arm joint – tell me the angle and I’ll get there!”

Then came Stepper Stella. “I take tiny, precise baby steps – tick, tick, tick! I can move exactly 1.8 degrees at a time. That’s how 3D printers build things layer by layer!” She demonstrated her careful, measured movements.

Relay Ray clicked loudly. “CLICK! I’m the light switch of the group! I turn big things on and off – like your house heater or the garden sprinkler pump!”

“See?” said Sammy the Sensor from the audience. “Every actuator has their own superpower. The trick is picking the right one for the job!”

Bella the Battery added, “And some use more of my energy than others, so choose wisely!”

Common Pitfalls

Stepper and servo motor datasheets specify holding torque (resistance to movement when powered but stationary) and detent torque (resistance when unpowered). Running torque is typically 30-70% of holding torque at low speeds and drops further at high speeds. Always verify torque at the actual operating speed, not just the maximum holding torque value.

A 12 V relay coil requires a driver circuit that can source 12 V, not just the microcontroller’s 3.3 V logic level. Similarly, a 24 V solenoid valve requires a 24 V power supply in addition to a suitable driver. Always confirm the complete power path from supply through driver to actuator before designing the circuit.

An actuator selected for its peak force or torque rating may fail in practice due to load inertia, friction, duty cycle, and operating temperature. A small DC motor rated for 200 mA continuous draw may draw 2 A at stall, burning out the driver. Always characterize the actual mechanical load profile, not just the theoretical steady-state requirement.

Many real IoT applications combine multiple actuator types — a robot arm might use servo motors (rotary, discrete position) with pneumatic grippers (linear, continuous force). Each actuator type has different interface requirements, driver circuits, and control algorithms. Design the system architecture to accommodate mixed actuator types from the beginning.

4.12 What’s Next?

Now that you can classify actuators and select the right type for a given application, explore each actuator category in depth.

Chapter Focus
DC Motors Continuous rotation control with PWM speed regulation
Servo Motors Precise angular positioning (0-180 degrees) with feedback
Stepper Motors Step-by-step open-loop positioning for CNC and 3D printing
Relays and Solenoids High-power switching and linear push/pull actuation
PWM Control Pulse-width modulation techniques for motor and LED dimming
Actuator Assessment Decision frameworks for real-world actuator selection