glue lecture 1 slides

28
Smriti Chopra ECE Ph.D. Candidate Georgia Tech Control of Mobile Robots: Glue Lectures Instructor:

Upload: yashar2500

Post on 11-Dec-2015

218 views

Category:

Documents


2 download

DESCRIPTION

Glue Lecture 1 Slides

TRANSCRIPT

Page 1: Glue Lecture 1 Slides

Smriti Chopra ECE Ph.D. Candidate Georgia Tech

Control of Mobile Robots: Glue Lectures

Instructor:

Page 2: Glue Lecture 1 Slides

Purpose •  To connect lectures to quizzes •  To give helpful hints about the quizzes •  To clarify and repeat key concepts There will be one Glue Lecture every week

2 Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

Amy LaViers Assistant Professor University of Virginia

Last year’s instructor

Page 3: Glue Lecture 1 Slides

Glue Lecture 1: Dynamical Models Pay attention, this lecture will help you all with Quiz 1!

3 Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

Page 4: Glue Lecture 1 Slides

An example: Position…

4 Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

0 0.2 0.4 0.6 0.8 10

10

20

30

40

50

60

70

80

Time

Position

t0 = 0, x0 = 10 a = 2

x(t) = x0 ea(t�t0)

Page 5: Glue Lecture 1 Slides

Velocity…

5 Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

0 0.2 0.4 0.6 0.8 10

20

40

60

80

100

120

140

Time

Velocity

t0 = 0, x0 = 10 a = 2

x(t) = x0 ea(t�t0)

= ax(t)

x(t) = ax0 ea(t�t0)

Page 6: Glue Lecture 1 Slides

And further on…

6 Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

0 0.2 0.4 0.6 0.8 10

50

100

150

200

250

300

Time

Acceleration

t0 = 0, x0 = 10 a = 2

x(t) = x0 ea(t�t0)

= ax(t)

= a

2x(t)

x(t) = ax0 ea(t�t0)

x(t) = a

2x0 e

a(t�t0)

Page 7: Glue Lecture 1 Slides

7 Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

x(t) = x0 e2(t�t0)In Action…

= 10e2t

x10

Page 8: Glue Lecture 1 Slides

Using the differential equation …

8 Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

x(t) = 2x

x(0) = 10

x10

Page 9: Glue Lecture 1 Slides

9

Let’s discretize the world…

t0 0.5 1 1.5 2 2.5 3

t = k�t�t = 0.5

k = 0

Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

Page 10: Glue Lecture 1 Slides

10

t0 0.5 1 1.5 2 2.5 3

t = k�t�t = 0.5

k = 0 k = 1

Let’s discretize the world…

Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

Page 11: Glue Lecture 1 Slides

11

k = 2t0 0.5 1 1.5 2 2.5 3

t = k�t�t = 0.5

k = 0 k = 1

Let’s discretize the world…

Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

Page 12: Glue Lecture 1 Slides

12

k = 3k = 2t0 0.5 1 1.5 2 2.5 3

t = k�t�t = 0.5

k = 0 k = 1

Let’s discretize the world…

Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

Page 13: Glue Lecture 1 Slides

13

Now… how’s the ball moving?

x

t0 0.5 1 1.5 2 2.5 3k = 0 k = 1 k = 2 k = 3

continuous time discrete time xk+1 = xk + �txk +

�t

2

2!xk + ..

Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

x(t) = 2x

10

Page 14: Glue Lecture 1 Slides

14

Now… how’s the ball moving?

x

t0 0.5 1 1.5 2 2.5 3k = 0 k = 1 k = 2 k = 3

t = k�t�t = 0.5

discrete time xk+1 = xk + �txk +�t

2

2!xk + ..

Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

x(t) = 2x

10

Page 15: Glue Lecture 1 Slides

15

Now… how’s the ball moving?

x

t0 0.5 1 1.5 2 2.5 3k = 0 k = 1 k = 2 k = 3

t = k�t�t = 0.5

Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

x(t) = 2x

xk+1 = 2xk

10

Page 16: Glue Lecture 1 Slides

16

Now… how’s the ball moving?

x

t0 0.5 1 1.5 2 2.5 3k = 0 k = 1 k = 2 k = 3

Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

xk+1 = 2xk

x1 = 2x0

10

x0 = 10

Page 17: Glue Lecture 1 Slides

17

Now… how’s the ball moving?

x

t0 0.5 1 1.5 2 2.5 3k = 0 k = 1 k = 2 k = 3

Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

10

x1 = 20xk+1 = 2xk

20

x0 = 10

Page 18: Glue Lecture 1 Slides

18

Now… how’s the ball moving?

x

t0 0.5 1 1.5 2 2.5 3k = 0 k = 1 k = 2 k = 3

Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

10 20

x1 = 20xk+1 = 2xkx2 = 2x1

Page 19: Glue Lecture 1 Slides

19

Now… how’s the ball moving?

x

t0 0.5 1 1.5 2 2.5 3k = 0 k = 1 k = 2 k = 3

Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

10 20

x2 = 40

xk+1 = 2xk

x1 = 20

40

Page 20: Glue Lecture 1 Slides

20

Now… how’s the ball moving?

x

t0 0.5 1 1.5 2 2.5 3k = 0 k = 1 k = 2 k = 3

Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

10 20 40

x2 = 40xk+1 = 2xk

x3 = 2x2

Page 21: Glue Lecture 1 Slides

21

Now… how’s the ball moving?

x

t0 0.5 1 1.5 2 2.5 3k = 0 k = 1 k = 2 k = 3

Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

10 20 40 80

x3 = 80

x2 = 40xk+1 = 2xk

Page 22: Glue Lecture 1 Slides

22

And …. that’s a dynamical model!

Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

x(t) = 2x

x(0) = 10

In general, x(t) = f(x, t)

x(t⇤) = x

Page 23: Glue Lecture 1 Slides

23

Punchline: Given the following dynamical model ….

… you know how evolves J x

… numerically

Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

x(t) = 2x

x(0) = 10

Page 24: Glue Lecture 1 Slides

24

Punchline: Given the following dynamical model ….

To get the mathematical expression for , we integrate! x(t)

Hint : we already know the solution

Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

x(t) = x0 e2(t�t0) = 10e2t

x(t) = 2x

x(0) = 10

Page 25: Glue Lecture 1 Slides

Integration

25

woohoo !! Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

x(t) = 2x

x(0) = 10

Page 26: Glue Lecture 1 Slides

26

“Candidate” solution…

Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

x(t) = 2x

x(0) = 10

x(t) = 10e2t

perform the following two checks to confirm candidate is indeed the solution … (a)  Initial condition (b) Differential equation

Page 27: Glue Lecture 1 Slides

27

Take home message : 1)   Dynamical models

2) Solving them (i) Numerically (ii) Analytically (integration)

3) Checking a candidate solution (a) initial condition (b) differential equation

4) Equilibrium point x(t) = 0

Smriti Chopra - Control of Mobile Robots: Glue Lecture 1

x(t) = 9x+ 3

x(3) = 5x = �1/3

x(t) =16

3e

9(t�3) � 1

3

Page 28: Glue Lecture 1 Slides

Check the forums, and good luck with Quiz 1!

28 Smriti Chopra - Control of Mobile Robots: Glue Lecture 1