2019 Lecture4 - Motors
2019 Lecture4 - Motors
Lecture 4: Motors
• Motor Types
– AC, DC, Stepper, Servo
Lecture 3:
– Basic Theory Kinematics
– Control Requirements
– Applications
• Measuring Motor position and velocity Lecture 4:
• Sizing Motors
r
Pm : Output Mechanical Power
Pm T
T Fr is the torque;it is the tangential force F
delivered at a distance r from shaft center [N m]
: Angular velocity of shaft [radians / sec]
Efficiency e Pm / Pe
Gearing Down
• Gearbox:
– Transmits power mechanically
– Transforms shaft angular
velocity and torque T
• Gear ratio Pinion A (driver):
R = # teeth out / # teeth in in, Tin
• So out = in / R
Wheel B
• Tout = e (Tin . R) (follower):
out, Tout
• What is e ?
– Gearbox efficiency, 0 < e < 1
How can we
interpret it?
7
Load vs. RPM, Power, and Torque
• Increase load on the shaft
– RPM drops
– Rotation-induced voltage across
armature (opposing PS) decreases
– Thus (since V=IR) more current
will flow from the power supply
– Thus more torque will be produced
Function
• DC engages an electromagnet on rotor.
• This aligns with permanent magnet on
stator
• Split ring commutator reverses polarity to
continue the rotation.
Control Mechanism
• DC, Variable current, PWM
Applications
• RC cars, DC fans, small robots
• Very cheap motor architecture
DC Motor
Brushless DC Motors
Function
• 3 DC stator windings driven with 120°
separated sinusoids.
• This creates a rotating magnetic field in the
stator.
• This causes the rotor to follow the field and
rotate.
• This can also hold its position.
Control Mechanism
• DC, 3 phase variable frequency
Applications
• Drones, electric skateboards
• High power, high torque, complex to run
AC Motors
Function
• AC stator switches magnetic field and causes
rotor to repel / attract every half cycle.
• Must be soft started to begin the rotation.
• Single / 3phase requires different starting
conditions.
Control Mechanism
• AC, Variable frequency drive, phase angle
control (beyond scope of this lecture)
Applications
• Machinery drive motors, microwave turntable
• Very common in mains operated devices.
Synchronous Motors
General Stepper Motors
Function
• 90° digital quadrature input to phase 0 and 1.
• Creates discrete stepped rotating magnetic field in
stator
• Rotor follows to rotate the drive shaft
• Can hold position if windings stay magnetised
• Can hold between steps by magnetising multiple
windings at different currents
Control Mechanism
• DC, quadrature, variable current, variable frequency
Applications
• CNC machines and robot arms
• Very common in indexing devices such as printers
and disk drives
Stepper Motor
Multipurpose Stepper Motors
• 4, 5, 6, and 8 lead variants available
• 8 Leads are multipurpose.
• Series windings for more Torque ( full current in each winding )
• Parallel for more speed ( Less inductance in parallel winding )
Servo Motors
Function
• DC motor with 3 additional elements:
– Gearbox between motor shaft and output shaft
• Provides low-speed, high-torque output
– Feedback-based position control circuit (pulse-width control)
• Drives servo to commanded “position” (shaft angle)
• Shaft angle sensing (potentiometer)
• Current sense for torque sensing
– Limit stops on output shaft
• These mechanically delimit servo’s minimum & maximum “position”
Control Mechanism
• PWM for Servo Motors (Differs from normal PWM)
Applications
• Walking robots and scanning sensors
Agilent
• 10000 pulses
= 100 revolutions of motor shaft
= 100/48 revolutions of the gearbox output / wheel.
Wheel circumference = D = 157.1mm
• Option 1:
– Count pulses in a fixed duration (also for stepper motor)
• Option 2:
– 1 / duration between pulses.
• Option 3:
– Measure Back EMF (DC only)
– https://www.precisionmicrodrives.com/content/ab-021-
measuring-rpm-from-back-emf/
Sizing Motors
DC Example
Demystifying Datasheets
Example gear motor datasheet (detail)
Physical Specification
Parameter Specification Condition
Max body diameter or
Body Diameter 10 mm max face dimension
where non-circular Momentary stall
Excl. shafts, leads and Max. Stall Current 320 mA condition current at rated
Body Length 24.1 mm
terminals voltage
Unit Weight 7.5 g At rated voltage and at
No. of Output Shafts 1 Max. Rated Load Current 100 mA
rated load
Shaft Diameter 2.5 mm Typical Performance Characteristics
Shaft Orientation Inline Parameter Specification Condition
Measured from motor Typical Rated Load Power
Shaft Length 10 mm 410 mW At rated voltage and load
body face Consumption
Construction Specification Typical N/L Current 25 mA At rated voltage
Parameter Specification Condition Typical Peak Efficiency 33 %
Gear Ratio 100.0 :1 Typical Peak Eff. Torque 10.6 mN·m
Gearhead Type Spur Typical Peak Eff. Speed 135 rpm
No. of Poles 3 Typical Peak Eff. Current 78 mA
Operational Specification Power out at rated
Parameter Specification Condition Typical Peak Eff. Power
150 mW voltage at the peak
Rated Operating Voltage 6 V Out
efficiency torque point
Maximum continuous Typical Max. Output
Rated Load 8 mN·m 205 mW
torque Power
At rated voltage under Typical Terminal
Rated Load Speed 144 rpm 20 Ohm
fixed torque at rated load Resistance
Measured at rated Typical Terminal
N/L Speed 170 rpm 3,020 uH
voltage Inductance
At rated voltage. Environmental Characteristics
Max. N/L Current 40 mA
Measured at no load Parameter Specification Condition
Certified starting voltage. Max. Operating Temp. 60 Deg.C
Max. Start Voltage 1V Measured at no load, Min. Operating Temp. -10 Deg.C
where applicable Max. Storage &
Max. Operating Voltage 9V 80 Deg.C
Transportation Temp.
Min. Storage &
-30 Deg.C
Transportation Temp.
Example gear motor datasheet (detail)
Motor Sizing Example
v
• Differential drive robot’s task: climb ramp of r
inclination
at constant velocity v = 10 mm/s
Ft = w sin
• How much torque must each wheel motor w
deliver? (Current, power needed?)
• What else do you need to know?
– Weight w = ~0.3N;
– Wheel radius r = 50mm.
• Ft = w sin (tangential component)
• Equate power terms: Ft v = 2 T
• Since v=r
• Then Ft r = 2 T
• So that T = Ft r /2
= w sin r / 2
= (0.3N)(0.5)(0.05m) / 2
= 3.75mNm required torque
• Current (from datasheet) = 40mA; Power = I V = 0.04A * 6V = ~0.24 W
Motor Drivers
And Traps for Young Players
DC Motor speed control - PWM
• Forward
– Vin applied
left to right across M
• Reverse
– Vin applied right to left across M
• Brushless DC Drivers
– Electronic speed controllers (ESC)
– Matched to specific motor classes
– Self contained circuitry
– Take extreme care if rolling your own, they are complicated!
• Premade purpose built drivers will usually be better for you than
custom ones.
Caveats Explained
• Caveat 1 – Inductive Spikes
– PWM for motors involves switching inductive loads
– Freewheel diodes must be used to protect circuitry
– Applies to H-bridges too!
5x5 mm grid
Case Study Differential Drive
Inspection Robot
Case Study Differential Drive
Inspection Robot
Case Study Differential Drive
Inspection Robot
What You Should Have Learnt!
• Motor Types
– AC, DC, Stepper, Servo
– Basic Theory
– Control Requirements
– Applications
• Measuring Motor position and velocity
• Sizing
– Worked example to choose a motor
– Demystifying datasheets
– Gears
• Motor Drivers
– Electronic design tips
– Caveats and how to avoid them
• Application case study
Questions?