Basic Fursuit Electronics Motors v2.0 Flfgf 21/11/2019 Floere T. - - PowerPoint PPT Presentation

basic fursuit electronics
SMART_READER_LITE
LIVE PREVIEW

Basic Fursuit Electronics Motors v2.0 Flfgf 21/11/2019 Floere T. - - PowerPoint PPT Presentation

Basic Fursuit Electronics Motors v2.0 Flfgf 21/11/2019 Floere T. Pillowbeaver, Devourer of Nuclear Submarines fmoere@robocow.be Disclaimer This presentation is intended for educational purposes only and does not replace independent


slide-1
SLIDE 1

Basic Fursuit Electronics Motors v2.0

Flüüfgf – 21/11/2019

Floere T. Pillowbeaver, Devourer of Nuclear Submarines fmoere@robocow.be

slide-2
SLIDE 2

2 / 58

Disclaimer

This presentation is intended for educational purposes only and does not replace independent professional judgement. The presenter, nor the convention, nor RoboCow Industries assume any responsibility for the content, accuracy or completeness of the information presented.

slide-3
SLIDE 3

3 / 58

What is this Talk About?

  • A basic introduction to:

– Small motors, RC servos, and how to drive them – Transmissions and mechanisms – Power solutions

  • The focus is on the WHAT and WHY, rather than on

the HOW

  • These slides can be downloaded after the talk:

– https://www.robocow.be/events/

slide-4
SLIDE 4

4 / 58

Let’s Watch Some Videos...

  • WMW66 Costumes – Animatronic Fursuit Head

https://www.youtube.com/watch?v=eEEZLMv56xQ

  • Hemms Fox – Coolest Fursuit Ever

https://www.youtube.com/watch?v=_stG5w_ExAs

  • ElminsCosplay – My Giant Motorized Aether Wing Kayle Cosplay

https://www.youtube.com/watch?v=BT5mDQA6gnY

  • mostudio – Animatronic Lion Full-Head Mask

https://www.youtube.com/watch?v=evcbnY3Cl90

  • Control is clearly the issue, but that’s for my other talk!
  • The good news: we don’t need Hollywood budgets
slide-5
SLIDE 5

5 / 58

The Electric Motion System

Energy Source Moving Field Generator Electrical to Mechanical Energy Conversion Transmission Or Output Feed-Back Control Input

slide-6
SLIDE 6

6 / 58

Content

  • Motion

T ypes of motors and how to control them

  • Transmission

Selection of mechanisms

  • Power

Power sources and stability

slide-7
SLIDE 7

7 / 58

Content

  • Motion

Types of motors and how to control them

  • Transmission

Selection of mechanisms

  • Power

Power sources and stability

slide-8
SLIDE 8

8 / 58

Types of (Geared) DC Motors

Plain motor

  • High speed
  • Low torque

Geared motor

  • Low speed
  • High torque

Linear actuator

  • Low speed
  • High force
  • Linear motion
slide-9
SLIDE 9

9 / 58

Anatomy of a DC Motor

https://learn.sparkfun.com/tutorials/motors-and-selecting-the-right-one/dc-brush-motors---the-classic

slide-10
SLIDE 10

10 / 58

Anatomy of a DC Motor

  • Advantages:

– Simple and generally “inexpensive” – Good starting torque – Geared versions readily available – Easy to drive

  • Disadvantages:

– Brushes wear out – Sparking causes interference – High stall current can cause issues

slide-11
SLIDE 11

11 / 58

DC Motor Stall Current

  • When the motor can’t

turn, the current becomes very high

– Only limited by the

resistance of the winding and brushes

  • When the motor runs,

the current is lower

– Given by the

resistance of the winding + brushes and the back-EMF

https://www.pololu.com/product/1117/faqs

Current S p e e d

slide-12
SLIDE 12

12 / 58

DC Motor Stall Current

  • Rule of thumb: limit the continuous operation of

small motors to 20-30% of the stall current

– Unless the manufacturer data says otherwise

  • Gear boxes can be damaged at stall torque
  • Motor windings and brushes can overheat
  • Mind your electronics!

– Fuses will be too slow to protect the power

drivers, they may need active current limiting

  • Fuse and wire gauge selection is important with

high-current capable batteries

slide-13
SLIDE 13

13 / 58

Protecting (Geared) Motors

  • Mechanical: gear boxes

– Limit torque using a

slip clutch, spring, shear pin, etc…

– Magnetic torque

limiters are nice! → Simple to make yourself and re-setable

  • Electrical: over-heating

– Consider a PolyFuse to

protect against prolonged over-load

  • All of this also applies to

RC servo motors (later)

MCD Pro-Bite DAGU RS022

slide-14
SLIDE 14

14 / 58

Types of BLDC Motors

All images: HobbyKing

Inrunner BLDC Outrunner BLDC Ducted Fan (with BLDC motor)

slide-15
SLIDE 15

15 / 58

Anatomy of a BLDC Motor

  • Not actually DC

– 3-phase synchronous

permanent-magnet machine with internal star point

– Rotating fjeld

generated electronically

  • Requires an ESC

(Electronic Speed Controller)

  • Can be quiet with a

vector control ESC

Dave Wilson – Texas Instruments

slide-16
SLIDE 16

16 / 58

Anatomy of a BLDC Motor

  • Advantages:

– High effjciency with high power density – Good starting torque – No brushes to wear – ESC often has various types of protection

  • Disadvantages:

– Higher system cost (not always!) – ESC + PWM control source needed – Regenerative breaking can cause issues – External cooling may be required

slide-17
SLIDE 17

17 / 58

BLDC Fast Speed Reduction

  • Be careful with fast

speed reductions!

  • Kinetic energy is

converted back to the power supply (regenerative braking)

– Can cause the DC

bus voltage to rise

– May destroy the

ESC and/or other components!

  • The power system must

absorb the BEMF energy

– Not possible with:

  • Most benchtop

power supplies

  • Polarity protection

diode

– Use a brake chopper

if needed!

slide-18
SLIDE 18

18 / 58

External Cooling

  • Many cheap motors

are desigend for RC aircraft and drones:

– External cooling

from the propeller air stream

  • Other cooling methods:

– Internal cooling fan

(at reasonable RPM)

– Conduction cooling

Kenzi Mudge

  • Many cheap motors are

hugely over-rated!

  • Risk of overheating in

many costume applications

– Beware of high

torque operation!

– Still fjne for low duty-

cycles

  • Use an external fan if

the motor runs too hot!

slide-19
SLIDE 19

19 / 58

Types of RC Servo Motors

Regular servo

  • Rotation
  • < 10 ms for

60° exists! Linear servo

  • Push-pull
  • ~20 mm/s

max speed Control boards

  • For generic

actuators with feed- back pots

slide-20
SLIDE 20

20 / 58

Anatomy of a RC Servo

http://www.robotpark.com/academy/servo-motors-51057/

slide-21
SLIDE 21

21 / 58

Protecting the Gear Train

  • The gear train has

some fragility

– Forcing it can strip

gear teeth

  • Protect gears from

excessive force

– Servo saver – Spring linkage

  • Consider a re-

settable torque limiter (slip clutch)

Traxxas Kimbrough

slide-22
SLIDE 22

22 / 58

Content

  • Motion

T ypes of motors and how to control them

  • Transmission

Selection of mechanisms

  • Power

Power sources and stability

slide-23
SLIDE 23

23 / 58

Driving RC Servos and BLDC ESCs

  • Pulse-Width Modulation

The ratio between on and

  • fg is changed (modulated)

Expressed in % duty cycle

  • With RC servo/ESC: timing

defjnes the set-point (= desired position/speed)

Eg: 1.5 ms → 90° centre 1 ms – 2 ms → 0° - 180°

Usually updated every 20 ms (= 50 Hz)

  • Control sources:

MCU (eg: Arduino)

RC remote control Word of Warning

  • RC servos/ESCs are open-loop

with respect to the controller

  • There is no feed-back if the set-

point is not actually reached!

slide-24
SLIDE 24

24 / 58

Servo Tester and BEC

  • Adjustable PWM source
  • Cheap and very handy

when installing a servo

  • Mind the supply range!

(eg: 4.8 – 6V)

– Higher voltages

common with HV servos and BLDC

– Use a BEC or other

5V source (BEC = Battery Eliminator Circuit)

Images: HobbyKing

slide-25
SLIDE 25

25 / 58

Driving DC Motors: Switches

  • NC limit switches + diodes

+ DPDT switch

– Control direction and

travel

– Use relays for:

  • Bigger motors
  • MCU control
  • Switch variations

– on – on – on – ofg – on – (on) – ofg – (on)

  • DPDT = double-pole

double-throw

  • NC = normally-closed
slide-26
SLIDE 26

26 / 58

Driving DC Motors: PWM

  • H-Bridge using PWM

– Control speed and

direction

– Replaces DPDT switch

  • Position / travel control

– Use electronic position

feed-back (eg: pot)

– Keep the limit switches!

  • Protection is important

– Back-EMF (FWD) diodes – Over-current – Overheating

  • Best use COTS modules!

Word of Warning: avoid the old L298

  • No real over-current protection
  • High voltage drop (~4V @ 2A)

Lots of heat

Limited use with 1S, 2S LiPo

Acts as a current limiter...

slide-27
SLIDE 27

27 / 58

Content

  • Motion

T ypes of motors and how to control them

  • Transmission

Selection of mechanisms

  • Power

Power sources and stability

slide-28
SLIDE 28

28 / 58

Torque

  • Power = rotational

speed * torque

  • T
  • rque usually the

driving design factor in costumes

  • Expressed in:

– N.m

(Newton meter)

– Lb.ft

(pound foot)

– Force @ distance

  • It measures how hard

we twist on an axle

– 5 N.m= 0.5 kg @ 1 m

= 50 kg @ 1 cm

– Gets easier with a longer

lever, but we have to twist it further (slower)

  • How to measure?

– T

  • rque wrench

– Kitchen scale

  • Use a known lever
  • 1 N ~ 100g
slide-29
SLIDE 29

29 / 58

Reduction Gears

  • Small motors are very

high speed, low torque

– We need high torque

at a useful speed

– Gears can do that

  • Silent gear trains are

expensive!

– Precision cut – Gradual meshing

(helical, herringbone)

  • Many confjgurations!

Epicyclic Gear - Wapcaplet Cycloidal Gear - Mattmoses

slide-30
SLIDE 30

30 / 58

Belts and Pulleys

  • Much more quiet

than gears, and more forgiving

  • But:

– Wear & tear – T

  • rque limits

– T

  • othed (timing)

belts make noise

  • Much larger system

for same reduction ratio as gears

Sumray ServoCity

slide-31
SLIDE 31

31 / 58

Rotation ↔ Linear Motion

Slider-Crank Mechanism Quite easy to do with hobby means. Consider using PTFE to line the slider for low friction and low noise. Ballscrew Note: this is NOT just a piece of threaded rod from the hardware store. The thread is special, and the screw has ball bearings in it for low friction. A nylon screw with the proper thread is an affordable option.

Hiwin Roscrew

Rack and Pinion Classic mechanism, used often for steering in cars.

14Core

slide-32
SLIDE 32

32 / 58

Bowden Cables

  • Inexpensive and

fmexible way to transfer linear motion from one place to another

  • Friction and slop

limits the range

  • Minimize any bends
  • Minimize chafjng at

the case terminations

  • Cheap casing:

– 4 mm PTFE tube – Bicycle gear shift

casing

  • Cheap cable:

– Nylon fjlament – Dyneema or

Spectra braided fjshing line

– Bicycle gear shift

wire

Baran Ivo

slide-33
SLIDE 33

33 / 58

Bowden Cables - Examples

Animatronic . Robotic ADI zivvea

“Face Hugger” – 30 Axis of Motion!

slide-34
SLIDE 34

34 / 58

Animatronics

  • Huge subject in itself, and for another time…

...such as my talk on animatronic jaws tomorrow!

  • That said, let’s quickly look at some cool

techniques

slide-35
SLIDE 35

35 / 58

Compliant Mechanisms

  • Soft robotics and

compliant mechanisms are interesting!

– Silent, soft, fmexible

→ hard to break!

– Many work well,

even when made inaccurately!

– Often 3D printable – Often well suited to

bowden cables

CarlTronic – Jakob Welner

slide-36
SLIDE 36

36 / 58

Tails and Tentacles

  • Combines Bowden cables

and fmexible mechanisms

  • Usually: cable guiding disks

spaced on a fmexible, non- compressable, non-twisting core (eg: speedometer cable casing → double-wound)

  • Many good tutorials on-line.

Eg: “Cable Mechanism Basics – T entacles,” Richard Landon, Stan Winston School of Character Arts (Not free, but very good)

  • 3D printable version on

Thingiverse and others

Mark Valentijn Tail for “Where the Wild Things Are” - Adam Keenan

slide-37
SLIDE 37

37 / 58

Content

  • Motion

T ypes of motors and how to control them

  • Transmission

Selection of mechanisms

  • Power

Power sources and stability

slide-38
SLIDE 38

38 / 58

Danger Will Robinson!

  • There are many things that can go wrong

when adding electricity, electronics and mechanisms to a costume.

  • A non-exhaustive discussion can be found in

my earlier talks:

– “Fur in Motion v1.1” – “Silly Electronics for Fun and Absolutely no Profjt”

Both the V1 and V2 series of talks

– “Paws-On Basic Fursuit Electronics Workshop WIP”

slide-39
SLIDE 39

39 / 58

Power System Stability

  • Battery and wiring

have resistance

  • High motor start

current will cause bus voltage to drop

– Deeper, partial dips

are “brown-outs”

– This has an adverse

impact on the other system components

  • Impact of voltage

fmuctuations:

– MCUs can crash – Analog circuits

can have their

  • perating points

disturbed

– General undefjned

and unexpected behaviours and interactions

slide-40
SLIDE 40

40 / 58

Basic Suit Power Bus Design

  • Star Ground
  • Bufger capacitors
  • Isolate sections

(diode + capacitor)

  • Suffjcient source performance

(low impedance, higer voltage)

  • Suffjcient wire gauge
  • POL DC/DC converters

– Eg: buck-boost

  • Multiple power sources

(method of last resort)

slide-41
SLIDE 41

41 / 58

Stupidity Diode

  • If your batteries are:

– Loose cells – Can be connected

in reverse

  • Put a Schottky diode

in series! (After the battery fuse)

  • Not always practical

– Voltage drop

(0.2 V – 2 V)

  • Consider P-MOS

protection circuit

– Use FET with low

enough Vth!

Infineon: “Automotive MOSFETs – Reverse Battery Protection” June 2009

slide-42
SLIDE 42

42 / 58

Sources of Energy

  • Batteries for now…

...which are a mess

  • Motors require:

– Signifjcant energy

→ Watt-hours

– High peak current

→ Amps or xxC

  • Fuses require high

short-circuit currents

  • Most costumes need

small power packs

  • Usable battery types

– NiMH – LiFePO4 – LiPo – Alcaline + supercap – Pb gell cell / AGM

  • Usable ≠ safe!
  • Air travel restrictions
slide-43
SLIDE 43

43 / 58

Sources of Energy

  • In practice:

– NiMH – LiFePO4 – LiPo

  • First two are much

safer than LiPo

  • Last has ~double

the energy density

  • All exist in versions

that can source high (peak) currents

  • Battery internal

resistance is key

– Cell voltage drops

when loaded

– Udrop = Rcell x Iload

  • Maximum discharge

current is important

– In Amps or xxC

  • Read the battery

data sheet!

slide-44
SLIDE 44

44 / 58

slide-45
SLIDE 45

45 / 58

slide-46
SLIDE 46

46 / 58

Panasonic

Charge Time (min.)

slide-47
SLIDE 47

47 / 58

Enix Energies

slide-48
SLIDE 48

48 / 58

Enix Energies

slide-49
SLIDE 49

49 / 58

Battery Selection

  • NiMH

– Restrained failure

modes

– Resistant to much

abuse

– Energy density ½ LiPO – Weight at least 2x LiPO – Lower discharge

current vs LiPO

– Long life (1000 cycles) – Caution: may still vent,

explode, etc…

  • LiPo

– Vigorous failure

modes

– Highly sensitive to

abuse

– High energy density – Light-weight – 50C and up discharge

current

– Short life (few 100 cycles)

https://rogershobbycenter.com/lipoguide/

Consider LiFePO4as a safer middle-ground

slide-50
SLIDE 50

50 / 58

Batteries - SSDD

  • Consider them all as dangerous and follow LiPo

handling safety recommendations

  • Isolate them from your body and by-standers

– Mechanically

going in → impacts, deformation going out → shrapnel, fmames, smoke, fumes

– Thermally

  • Implement a safety “pack eject” procedure
  • Store and charge them in a suitable, fjre-proof

container

slide-51
SLIDE 51

51 / 58

LiPo Battery Fire

  • Do not abuse
  • DO NOT ABUSE!
  • FOR THE LOVE OF ALL

THAT IS DEAR, DO NOT ABUSE A LiPo!!!

  • Use protected cells if at

all possible

– Usually limited to 2C

and much less…

  • But, really, just DO NOT

use LiPo in a costume!

https://www.youtube.com/watch?v=gisdMQbtJqk Also, have a good look at the link below. It is a series of test of various, common LiPO storage options: https://www.youtube.com/watch?v=CnNId0mDnBo https://www.youtube.com/watch?v=gz3hCqjk4yc Adafruit Industries

slide-52
SLIDE 52

52 / 58

LiPo (and others) Safety

  • Insure mechanical +

thermal protection

  • Always use a LiPo bag
  • Use the smallest

possible battery

  • Use a battery fuse
  • Use an under-voltage

detector (+ cut-out)

  • Keep the pack external

to your suit

  • Have a quick-eject for

the pack (and use a separable connector)

HobbyKing

slide-53
SLIDE 53

53 / 58

Power Distribution Fusing

  • Battery fuse protects the

battery and main bus wire

– It does usually not

protect the various loads, (if more than

  • ne)
  • You need a fused power

distribution box!

– Ofgers selectivity!

→ a section can fail without taking-down the rest of the system

slide-54
SLIDE 54

54 / 58

Basic Fuse Selection

  • Automotive ATO blade

fuses are convenient

– Up to 30 A (40 A) – Fairly slow-blow

  • Some voltage drop is

inevitable

  • Understand I²t curves!

LittleFuse

slide-55
SLIDE 55

55 / 58

Safety: Sources of Fire

  • Batteries
  • Wiring
  • Electronics
  • Electro-mechanical

components

  • Root Causes:

– Joule heating

P = R x I²

– Chemical

  • Thermal

runaway

  • Ignition of H2
  • Ignition of Li

– Arcing

slide-56
SLIDE 56

56 / 58

Safety: Mechanical Risks

  • Mechanism

– Guard against the

intrusion of body parts (yours + others)

– Beware of long hair – Parts can break and

shatter → shrapnel

– Limit maximum force

and speed

– If, say, a wing hinge

pivot breaks, do you end-up with a rapier going into your body?

  • System Build: what if you

fall or others fall on you?

– Sharp edges – Long, narrow

structures can impale you + others

  • Screws, horns, etc...
  • Trim, cap, or mount

so they collapse or easily detach

– Padding compresses

when you fall on it!

slide-57
SLIDE 57

57 / 58

Questions? Ideas? Let’s Talk!

slide-58
SLIDE 58