me451 kinematics and dynamics of machine systems
DESCRIPTION
ME451 Kinematics and Dynamics of Machine Systems. Review of Linear Algebra and Differential Calculus 2.4, 2.5 September 09, 2013. Radu Serban University of Wisconsin-Madison. Before we get started…. Last time: D iscussed geometric and algebraic vectors Brief review of matrix algebra - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/1.jpg)
ME451 Kinematics and Dynamics
of Machine Systems
Review of Linear Algebra and Differential Calculus
2.4, 2.5September 09, 2013
Radu SerbanUniversity of Wisconsin-Madison
![Page 2: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/2.jpg)
2
Before we get started…
Last time: Discussed geometric and algebraic vectors Brief review of matrix algebra
Today: Transformation of coordinates: Rotation Matrix, Rotation + Translation Vector and Matrix Differentiation
HW 1 Due on Wednesday, September 11 Problems: 2.2.5, 2.2.8. 2.2.10 (from Haug’s book) Upload a file named “lastName_HW_01.pdf” to the Dropbox Folder
“HW_01” at Learn@UW. Dropbox Folder closes at 12:00PM
![Page 3: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/3.jpg)
Transformation of Coordinates2.4
![Page 4: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/4.jpg)
4
Vectors and Reference Frames (1)
Recall that an algebraic vector is just a representation of a geometric vector in a particular reference frame (RF)
Question: What if I now want to represent the same geometric vector in a different RF?
![Page 5: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/5.jpg)
5
Vectors and Reference Frames (2)
Transforming the representation of a vector from one RF to a different RF is done through (left) multiplication by a so-called “rotation matrix” A:
Notes We transform the vector’s representation and not the vector itself. What changes is the RF used to represent the vector. As such, the rotation matrix defines a relationship between RFs. A rotation matrix A is also called “orientation matrix”.
![Page 6: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/6.jpg)
6
The Rotation Matrix
Rotation matrices are orthogonal:
Geometric interpretation of a rotation matrix:
![Page 7: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/7.jpg)
7
Important Relation Expressing a vector given in one reference frame (local) in a
different reference frame (global):
This is also called a change of base.
Since the rotation matrix is orthogonal, we have
More acronyms: LRF: local reference frame () GRF: global reference frame ()
![Page 8: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/8.jpg)
8
Example 1
![Page 9: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/9.jpg)
9
Example 2
https://respond.cc
![Page 10: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/10.jpg)
10
Your answers…
![Page 11: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/11.jpg)
11
Example 2 - solution
![Page 12: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/12.jpg)
12
The Kinematics of a Rigid Body:Handling both Translation and Rotation
What we just discussed was re-expressing a vector from one coordinate frame (LRF) to another coordinate frame (GRF).
Recall that vectors for us are really “free vectors” and therefore independent of a translation of the reference frame.
What about position of a point P? Use the definition of position vector, the vector addition,
and the formula for changing base for vectors:
![Page 13: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/13.jpg)
13
More on Body Kinematics
Much of ME451 is based on the ability to look at the position of a point P in two different reference frames:
a local reference frame (LRF), typically fixed (rigidly attached) to a body that is moving in space
a global reference frame (GRF), which is the “world” reference frame and serves as the universal reference frame
In the LRF, the position of point is described by (sometimes, the notation is used)
In the GRF, the position of point is described by the position vector
![Page 14: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/14.jpg)
14
ME451 Important Slide
The position and orientation of a body (that is, position and orientation of the LRF)is completely defined by .
The position of a point P on the body is specified by:• in the LRF• in the GRF
![Page 15: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/15.jpg)
15
Example
1
D
y1′
x1′φ1
2
2Y
X
C
O
O′
![Page 16: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/16.jpg)
Vector and Matrix Differentiation2.5
![Page 17: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/17.jpg)
17
Derivatives of Functions
GOAL: Understand how to
Take time derivatives of vectors and matrices
Take partial derivatives of functions with respect to its arguments We will use a matrix-vector notation for computing these partial derivs. Taking partial derivatives might be challenging in the beginning It will be used a lot in this class
17
![Page 18: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/18.jpg)
18
Derivative, Partial Derivative,Total Derivative
The derivative of a function (of a single variable) is a measure of how much the function changes due to a change in its argument.
A partial derivative of a function of several variables is the function derivative with respect to one of its variables when all other variables are held fixed.
The total derivative of a function of several variables is the derivative of the function when all variables are allowed to change.
![Page 19: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/19.jpg)
19
Derivatives: Examples
Derivative
Partial derivative
Total derivative
![Page 20: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/20.jpg)
20
Time Derivative of a Vector
Consider a vector whose components are functions of time:
which is represented in a fixed (stationary) Cartesian RF.
In other words, the components of r change, but not the reference frame: the basis vectors and are constant.
Notation:
Then:
20
![Page 21: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/21.jpg)
21
Time Derivatives Vector-Related Operations
![Page 22: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/22.jpg)
22
Time derivatives of a matrix
![Page 23: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/23.jpg)
23
Partial Derivatives, Warming Up:Scalar Function of Two Variables
Consider a scalar function of two variables:
To simplify the notation, collect all variables into an array:
With this, the derivative of f with respect to q is defined as:
![Page 24: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/24.jpg)
24
Partial Derivatives, General Case:Vector Function of Several Variables
You have a set of “m” functions each depending on a set of “n” variables:
Collect all “m” functions into an array F and collect all “n” variables into an array q:
So we can write:
![Page 25: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/25.jpg)
25
Partial Derivatives, General Case:Vector Function of Several Variables
Then, in the most general case, we have
Example 2.5.2: The result is an m x n matrix!
![Page 26: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/26.jpg)
26
Collect the three generalized coordinates into the array q
Define the function r of q:
“Terse” notation
Partial DerivativesCompact Notation
Let x, y, and be three generalized coordinates
Define a (vector) function r of x, y, and as
“Verbose” notation
![Page 27: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/27.jpg)
27
Example
![Page 28: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/28.jpg)
28[handout]
Example (based on Example 2.4.1)
Find the partial derivative of the position of P with respect to the array of generalized coordinates q
![Page 29: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/29.jpg)
29
Partial Derivatives: Remember this…
In the most general case, you start with “m” functions in “n” variables, and end with an (m x n) matrix of partial derivatives. You start with a column vector of functions and then end up with a matrix
Taking a partial derivative leads to a higher dimension quantity Scalar Function – leads to row vector Vector Function – leads to matrix
In this class, taking partial derivatives can lead to one of the following: A row vector A full blown matrix
If you see something else chances are you made a mistake…
![Page 30: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/30.jpg)
30
Chain Rule of Differentiation
Formula for computing the derivative(s) of the composition of two or more functions: We have a function f of a variable q which is itself a function of x. Thus, f is a function of x (implicitly through q) Question: what is the derivative of f with respect to x?
Simplest case: real-valued function of a single real variable:
![Page 31: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/31.jpg)
31
Case 1 Scalar Function of Vector Variable
f is a scalar function of “n” variables: q1, …, qn
However, each of these variables qi in turn depends on a set of “k” other variables x1, …, xk.
The composition of f and q leads to a new function:
![Page 32: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/32.jpg)
32
Chain Rule Scalar Function of Vector Variable
Question: how do you compute x ?
Using our notation:
Chain Rule:
![Page 33: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/33.jpg)
33
Assignment[due 09/16]
![Page 34: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/34.jpg)
34
Case 2 Vector Function of Vector Variable
F is a vector function of several variables: q1, …, qn
However, each of these variables qi depends in turn on a set of k other variables x1, …, xk.
The composition of F and q leads to a new function:
![Page 35: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/35.jpg)
35
Question: how do you compute x ?
Using our notation:
Chain Rule:
Chain Rule Vector Function of Vector Variable
![Page 36: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/36.jpg)
36
Assignment[due 09/16]
![Page 37: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/37.jpg)
37
F is a vector function of 2 vector variables q and p :
Both q and p in turn depend on a set of k other variables:
A new function (x) is defined as:
Example: a force (which is a vector quantity), depends on the generalized positions and velocities
Case 3 Vector Function of Vector Variables
![Page 38: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/38.jpg)
38
Question: how do you compute ?
Using our notation:
Chain Rule:
Chain RuleVector Function of Vector Variables
![Page 39: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/39.jpg)
39[handout]
Example
![Page 40: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/40.jpg)
40
Case 4Time Derivatives
In the previous slides we talked about functions f depending on y, where y in turn depends on another variable x.
The most common scenario in ME451 is when the variable x is actually time, t You have a function that depends on the generalized coordinates q, and
in turn the generalized coordinates are functions of time (they change in time, since we are talking about kinematics/dynamics here…)
Case 1: scalar function that depends on an array of m time-dependent generalized coordinates:
Case 2: vector function (of dimension n) that depends on an array of m time-dependent generalized coordinates:
![Page 41: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/41.jpg)
41
Question: what are the time derivatives of and
Applying the chain rule of differentiation, the results in both cases can be written formally in the exact same way, except the dimension of the result will be different
Case 1: scalar function
Case 2: vector function
Chain RuleTime Derivatives
![Page 42: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/42.jpg)
42
ExampleTime Derivatives
![Page 43: ME451 Kinematics and Dynamics of Machine Systems](https://reader030.vdocument.in/reader030/viewer/2022012900/56816371550346895dd44f0c/html5/thumbnails/43.jpg)
43
A Few More Useful Formulas