Modeling & Control of a Longboard-Riding Robot Matt Keeter - - PowerPoint PPT Presentation

modeling control of a longboard riding robot
SMART_READER_LITE
LIVE PREVIEW

Modeling & Control of a Longboard-Riding Robot Matt Keeter - - PowerPoint PPT Presentation

Modeling & Control of a Longboard-Riding Robot Matt Keeter mkeeter@mit.edu 6.832 Final Project Spring 2012 Inspiration System Model Simplified Model State Variables Control Inputs System Parameters System Summary q = [ x , y ,


slide-1
SLIDE 1

Modeling & Control of a Longboard-Riding Robot

Matt Keeter mkeeter@mit.edu 6.832 Final Project Spring 2012

slide-2
SLIDE 2

Inspiration

slide-3
SLIDE 3

System Model

slide-4
SLIDE 4

Simplified Model

slide-5
SLIDE 5

State Variables

slide-6
SLIDE 6

Control Inputs

slide-7
SLIDE 7

System Parameters

slide-8
SLIDE 8

System Summary

  • q = [x, y, α]′
slide-9
SLIDE 9

System Summary

  • q = [x, y, α]′
  • u = [F, τ]′
slide-10
SLIDE 10

System Summary

  • q = [x, y, α]′
  • u = [F, τ]′
  • Gliding and pushing modes
  • ytoe ≤ 0 → pushing
  • ytoe > 0 → gliding
slide-11
SLIDE 11

Dynamics

  • Wrote tools to automatically solve dynamics
slide-12
SLIDE 12

Dynamics

  • Wrote tools to automatically solve dynamics
  • Written in Python using Sage
slide-13
SLIDE 13

Dynamics

  • Wrote tools to automatically solve dynamics
  • Written in Python using Sage
  • Solves for:
  • Second derivatives ¨

q

  • Co-located PFL equations
slide-14
SLIDE 14

Dynamics

  • Wrote tools to automatically solve dynamics
  • Written in Python using Sage
  • Solves for:
  • Second derivatives ¨

q

  • Co-located PFL equations
  • Exports as MATLAB scripts
slide-15
SLIDE 15

Feedback Linearization

  • Solve dynamics equations for ¨

x, F, τ

slide-16
SLIDE 16

Feedback Linearization

  • Solve dynamics equations for ¨

x, F, τ

  • Solutions are in terms of q, ˙

q, ¨ y, ¨ α (as well as constants)

slide-17
SLIDE 17

Feedback Linearization

  • Solve dynamics equations for ¨

x, F, τ

  • Solutions are in terms of q, ˙

q, ¨ y, ¨ α (as well as constants)

  • Plug in ¨

y, ¨ α for feedback linearization

  • ¨

y = ¨ ydesired

  • ¨

α = ¨ αdesired

slide-18
SLIDE 18

Feedback Linearization

  • Solve dynamics equations for ¨

x, F, τ

  • Solutions are in terms of q, ˙

q, ¨ y, ¨ α (as well as constants)

  • Plug in ¨

y, ¨ α for feedback linearization

  • ¨

y = ¨ ydesired

  • ¨

α = ¨ αdesired

  • Double integrator control
slide-19
SLIDE 19

Controller Strategy

High-level strategy breaks motion into stages

Push off Stand up Lower self

Switch to pushing state

Swing leg forward

Switch to gliding state

slide-20
SLIDE 20

Controller Strategy

Push off Stand up Lower self

Switch to pushing state

Swing leg forward

Switch to gliding state

slide-21
SLIDE 21

Controller Strategy

Push off Stand up Lower self

Switch to pushing state

Swing leg forward

Switch to gliding state

slide-22
SLIDE 22

Controller Strategy

Push off Stand up Lower self

Switch to pushing state

Swing leg forward

Switch to gliding state

slide-23
SLIDE 23

Controller Strategy

Push off Stand up Lower self

Switch to pushing state

Swing leg forward

Switch to gliding state

slide-24
SLIDE 24

Controller Strategy

Push off Stand up Lower self

Switch to pushing state

Swing leg forward

Switch to gliding state

slide-25
SLIDE 25

Demo

slide-26
SLIDE 26

Controller Parameters

Controller is parameterized by three terms: αhit Angle of collision αstand Angle ending push ¨ αswing Swinging acceleration

slide-27
SLIDE 27

Controller Parameters

αhit Angle of collision αstand Angle ending push ¨ αswing Swinging acceleration

slide-28
SLIDE 28

Controller Parameters

αhit Angle of collision αstand Angle ending push ¨ αswing Swinging acceleration

slide-29
SLIDE 29

Controller Parameters

αhit Angle of collision αstand Angle ending push ¨ αswing Swinging acceleration

slide-30
SLIDE 30

Stochastic Gradient Descent

Optimized for distance travelled in fixed time

slide-31
SLIDE 31

Stochastic Gradient Descent

Optimized for distance travelled in fixed time

20 40 60 80 100 36 38 40 42 44 46 48 50 Iteration Distance travelled

slide-32
SLIDE 32

Optimized Demo

slide-33
SLIDE 33

Optimized Demo

20% improvement!

slide-34
SLIDE 34

Summary

  • Developed simplified system model
  • Wrote dynamics-solving tools
  • Designed high-level controller behavior
  • Used gradient descent to optimize parameters
slide-35
SLIDE 35

Questions?