Nonlinear Equations Nonlinear system of equations Robotic arms - - PowerPoint PPT Presentation

nonlinear equations nonlinear system of equations robotic
SMART_READER_LITE
LIVE PREVIEW

Nonlinear Equations Nonlinear system of equations Robotic arms - - PowerPoint PPT Presentation

Nonlinear Equations Nonlinear system of equations Robotic arms https://www.youtube.com/watch?v=NRgNDlVtmz0 (Robotic arm 1) https://www.youtube.com/watch?v=9DqRkLQ5Sv8 (Robotic arm 2) https://www.youtube.com/watch?v=DZ_ocmY8xEI (Blender)


slide-1
SLIDE 1

Nonlinear Equations

slide-2
SLIDE 2

Nonlinear system of equations

slide-3
SLIDE 3 https://www.youtube.com/watch?v=NRgNDlVtmz0 (Robotic arm 1) https://www.youtube.com/watch?v=9DqRkLQ5Sv8 (Robotic arm 2) https://www.youtube.com/watch?v=DZ_ocmY8xEI (Blender)

Robotic arms

slide-4
SLIDE 4

Inverse Kinematics

n

Given

:

a

i.ee#----*fflQl--oI

f- , ( Oi , 02,8) =

O

:*:::

Him.is

.

iterative

=

slide-5
SLIDE 5

Nonlinear system of equations

Goal: Solve P Q = R for P: ℛ; → ℛ;

=

=

Elk)

  • e

*⇒if

:c::

÷:

sew

ink . x. x

. .

. . . .
  • It?

If

?

  • 4

fi -42-24×2

  • ¥4 -
  • o
f-z =-2X, -3×2+5--0
slide-6
SLIDE 6

Newton’s method

Approximate the nonlinear function P Q by a linear function using Taylor expansion:

( ND)

Z

1-(Its) - I

t.IE) g

  • Ef 'T vector

vector

vector - vector

i:::÷÷÷÷÷i÷÷÷÷

:÷÷÷÷÷¥÷÷

slide-7
SLIDE 7

f-Ets) EEE) t EE) E

÷

O

O

ICI t EG) E

  • on

→ solve

for

E

|IEIE=-f

Linear

system

  • f equation

Io - initial

vector

  • IKH
  • Intf

, I

slide-8
SLIDE 8

Newton’s method

Algorithm: Convergence:

  • Typically has quadratic convergence
  • Drawback: Still only locally convergent

Cost:

  • Main cost associated with computing the Jacobian matrix and solving

the Newton step.

IE) -

  • e

Io

: initial guess

for i = I , R ,

  • -
  • ri
  • evaluate Jkr) -

an.÷÷÷÷÷¥¥÷÷

.:S

. Is:÷÷:÷÷÷
  • f equation

O

r

  • #
slide-9
SLIDE 9

Example

Consider solving the nonlinear system of equations 2 = 2) + + 4 = +$ + 4)$ What is the result of applying one iteration of Newton’s method with the following initial guess?

  • % = 1

µ E-

  • 0¥'t

. :D

E- rats

.

its:]

:¥¥¥**i::F÷¥÷÷

.

=L'oItfz.FI?oIs]

es.

slide-10
SLIDE 10

Newton’s method

!0 = #$#%#&' ()*++ ,-. / = 1,2, … Evaluate 4 = 5 !1 Evaluate 6 !1 Factorization of Jacobian (for example 78 = 5) Solve using factorized J (for example 78 91 = −6 !1 Update !123 = !1 + 91

we

slide-11
SLIDE 11

Newton’s method - summary

q Typically quadratic convergence (local convergence) q Computing the Jacobian matrix requires the equivalent of S) function evaluations for a dense problem (where every function of P Q depends

  • n every component of Q).

q Computation of the Jacobian may be cheaper if the matrix is sparse. q The cost of calculating the step T is U S< for a dense Jacobian matrix (Factorization + Solve) q If the same Jacobian matrix V Q. is reused for several consecutive iterations, the convergence rate will suffer accordingly (trade-off between cost per iteration and number of iterations needed for convergence)

  • E
slide-12
SLIDE 12

Inverse Kinematics

X, y , p → 9 , Oz , 03

^

a

= Nifty ✓

a.bgivezga.a.no

¥i¥ :

Eat

:

im r

i.←*# T

c'

= oftb
  • Iab cos Oz →

fi-E-a-bt2abcos.bz#b2--atE-2ac

cosa, →¥=b?aIt2accos(Oi-af=J

4/80-0 , -0e)tozt p+904940

  • da ) =360T
  • 69¥If

?If

,I

fffs=-9-0ztOstpTI