Lecture 12: The Constraint Null Space The matrix C has M rows and N columns, M < N If we have set this up correctly, the rows of C are independent Nonholonomic.

Slides:



Advertisements
Similar presentations
Lecture 6: Constraints II
Advertisements

Lecture 5: Constraints I
Physics 430: Lecture 17 Examples of Lagrange’s Equations
Lecture 7 Rolling Constraints The most common, and most important nonholonomic constraints They cannot be written in terms of the variables alone you must.
Lecture 2. A Day of Principles The principle of virtual work d’Alembert’s principle Hamilton’s principle 1 (with an example that applies ‘em all at the.
1cs533d-term Notes  No lecture Thursday (apologies)
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
Lecture 19. The Method of Zs When problems get complicated numerical complexity makes computation SLOW The method of Zs speeds the computation up We will.
Physics 430: Lecture 16 Lagrange’s Equations with Constraints
Lecture 9 Hamilton’s Equations conjugate momentum cyclic coordinates Informal derivation Applications/examples 1.
ME 4135 Fall 2011 R. R. Lindeke, Ph. D. Robot Dynamics – The Action of a Manipulator When Forced.
Eigenvalues and Eigenvectors
Lagrangian and Hamiltonian Dynamics
Chapter 4.1 Mathematical Concepts. 2 Applied Trigonometry Trigonometric functions Defined using right triangle  x y h.
CSCE 590E Spring 2007 Basic Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
Mechanics.
CSC401 – Analysis of Algorithms Lecture Notes 12 Dynamic Programming
Lecture 10 Dimensions, Independence, Basis and Complete Solution of Linear Systems Shang-Hua Teng.
Subspaces, Basis, Dimension, Rank
Lecture 20: Putting it all together An actual mechanism A physical abstraction: links, springs, wheels, motors, etc. A mathematical model of the physical.
Last lecture summary Fundamental system in linear algebra : system of linear equations Ax = b. nice case – n equations, n unknowns matrix notation row.
Quantum One: Lecture 7. The General Formalism of Quantum Mechanics.
Separate multivariate observations
Math 3C Practice Midterm Solutions Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
Game Physics – Part IV Moving to 3D
ME 1202: Linear Algebra & Ordinary Differential Equations (ODEs)
1 Lecture 25: Modeling Diving I. 2 What do we need to do? Figure out what and how to simplify Build a physical model that we can work with Once that is.
Lecture 13: Stability and Control I We are learning how to analyze mechanisms but what we’d like to do is make them do our bidding We want to be able to.
4.1 Vector Spaces and Subspaces 4.2 Null Spaces, Column Spaces, and Linear Transformations 4.3 Linearly Independent Sets; Bases 4.4 Coordinate systems.
Section 4.1 Vectors in ℝ n. ℝ n Vectors Vector addition Scalar multiplication.
Lecture 8: Rolling Constraints II
Statistics and Linear Algebra (the real thing). Vector A vector is a rectangular arrangement of number in several rows and one column. A vector is denoted.
Lecture 14: Stability and Control II Reprise of stability from last time The idea of feedback control Remember that our analysis is limited to linear systems.
The Wrench: Let’s suppose that we have already reduced a complicated force system to single (resultant ) force,, and a single couple with the moment,,
Lecture 23 The Spherical Bicycle II 1 The story so far: We found the constraint matrix and the null space matrix We “cheated” a little bit in assessing.
ME451 Kinematics and Dynamics of Machine Systems Vel. And Acc. of a Fixed Point in Moving Frame Basic Concepts in Planar Kinematics February.
4.6: Rank. Definition: Let A be an mxn matrix. Then each row of A has n entries and can therefore be associated with a vector in The set of all linear.
Section 2.3 Properties of Solution Sets
Ch. 8: Hamilton Equations of Motion Sect. 8.1: Legendre Transformations Lagrange Eqtns of motion: n degrees of freedom (d/dt)[(∂L/∂q i )] - (∂L/∂q i )
D’Alembert’s Principle the sum of the work done by
Lagrange’s Equations with Undetermined Multipliers Marion, Section 7.5 Holonomic Constraints are defined as those which can be expressed as algebraic.
A website that has programs that will do most operations in this course (an online calculator for matrices)
Phy 303: Classical Mechanics (2) Chapter 3 Lagrangian and Hamiltonian Mechanics.
Module 10Energy1 Module 10 Energy We start this module by looking at another collision in our two inertial frames. Last time we considered a perfectly.
1 Lecture 15: Stability and Control III — Control Philosophy of control: closed loop with feedback Ad hoc control thoughts Controllability Three link robot.
Hamiltonian Mechanics (For Most Cases of Interest) We just saw that, for large classes of problems, the Lagrangian terms can be written (sum on i): L.
CSCE 552 Fall 2012 Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
Canonical Equations of Motion -- Hamiltonian Dynamics
Lecture 10 Reprise and generalized forces The Lagrangian Holonomic constraints Generalized coordinates Nonholonomic constraints Euler-Lagrange equations.
1 Lecture 24: Controlling the Uncontrollable Building the Unbuildable How do we deal with this uncontrollable system? Can we extend the method of Zs to.
5 5.1 © 2016 Pearson Education, Ltd. Eigenvalues and Eigenvectors EIGENVECTORS AND EIGENVALUES.
Solving Systems of Equations The Elimination Method.
Lecture 22 The Spherical Bicycle 1. 2 Some relative dimensions with the wheel radius and mass as unity sphere radius 2, mass 50 fork length 4, radius.
7.3 Linear Systems of Equations. Gauss Elimination
Section 1-3: Solving Equations 8/29/17
Eigenvalues and Eigenvectors
This is a trivial result:
Lecture 03: Linear Algebra
Quantum One.
Linear Equations in Linear Algebra
4.6: Rank.
Computer Graphics Lecture 36 CURVES II Taqdees A. Siddiqi
Quantum Two.
© Sharif University of Technology - CEDRA By: Professor Ali Meghdari
7.5 Solutions of Linear Systems:
Mathematics for Signals and Systems
Elementary Linear Algebra
Maths for Signals and Systems Linear Algebra in Engineering Lectures 4-5, Tuesday 18th October 2016 DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN.
Presentation transcript:

Lecture 12: The Constraint Null Space The matrix C has M rows and N columns, M < N If we have set this up correctly, the rows of C are independent Nonholonomic (including the pseudo ones) constraints (If not, do a row reduction and rewrite the constraints) 1

Each row is an N row vector The rate of change of q must be perpendicular to all the row vectors There can be K = N – M independent vectors perpendicular to the row vectors of C These vectors form the null space of C Let’s try to say this another way 2

The rows of C live in the same space lives in an N dimensional vector space The M rows of C form a partial basis in that space must be perpendicular to those basis vectors The vectors that are perpendicular to the rows of C make up the null space there will be K of them, call them s 1, s 2, etc. 3

u is a new vector; it is not the u vector we used in the Euler-Lagrange method S is an N x K matrix. Its columns are the basis of the null space. Let’s do a simple example of this before seeing how to use it. 4

Let’s look at the erect wheel Simple holonomic constraints Rolling constraints Generalized coordinates 5

The constraint matrix It’s obviously of full rank (rank = 2) There are two vectors in the null space we can work them out on the blackboard and combine them in the S matrix 6

The rate of change of q becomes If you expand this you will see that u 1 and u 2 denote the two rotation rates 7 The dimension of u is the true number of degrees of freedom taking the nonholonomic constraints into account.

8 Let’s move on and see where this can take us. is a function only of the qs the momentum equations the momentum combine in two steps

9 And finally we can get rid of the Lagrange multipliers 0! combine the momentum equationwith what we just did momentum equation in terms of u

10 Before multiplying by S the free index was i, which runs from 1 to N After multiplying by S, the free index becomes p which runs from 1 to K We have reduced the number of momentum equations to the number of degrees of freedom and gotten rid of the Lagrange multipliers. As usual, it is not as ghastly in practice as it looks in its full generality

11 We can go back to the erect coin to see how some of this plays out The momentum The velocity equations

12 differentiate None of the coordinates appears in the Lagrangian, so the dL/dq term is zero and there are no generalized forces and multiplication by S removes the Lagrange multipliers My equations are simply The momentum becomes

13 Let’s build it expand (continued on the next page)

14 A lot of trigonometric cancellation leads to the final equations substitute

15 ??

16 So, what is the drill? Lagrangian Holonomic constraints Generalized coordinates Nonholonomic constraints Constraint matrix — null space matrix The velocity equations

17 Hamilton’s momentum equations Eliminate p in favor of u Multiply by S to reduce the number of momentum equations Convert to explicit time dependence for the simulation

18 What’s new and what’s hard? The idea of the null space is new and finding it can be hard Mathematica can give you a null space, but it may not be what you want I generally work out my own The goal is to devise a null space such that the components of u have a useful interpretation

19 Multiply C and an arbitrary vector of length N This will give you K conditions from which you can choose K basis vectors Had I done this with the case just reviewed s 1 is associated with x, s 2 with y, s 3 with  and s 4 with  I’d like to have one vector for which s 3 is unity and one for which s 4 is unity

20 And that’s what I did and that’s why the equations came out so nicely (As it happens, this is the null space that Mathematica gives.)

21 Let’s look at the 3 x 6 matrix from the two wheel system We can multiply this one out

22 Do the multiplication and look at the three components of the product We can pick any three and find the others

23 recall We can take the three spins as fundamental and select bases such that s 4 = 1, s 5 =0, s 6 = 0; s 4 = 0, s 5 =1, s 6 = 0; s 4 = 0, s 5 =0, s 6 = 1

24 s 4 = 1, s 5 =0, s 6 = 0 and the base vector is

25 s 4 = 0, s 5 =1, s 6 = 0 and the base vector is

26 s 4 = 0, s 5 =0, s 6 = 1 and the base vector is

27 put it all together And the rank of this matrix is obviously three

28 The advantage of this is that there are fewer equations to deal with The disadvantage is that you do not get the constraint forces (through the Lagrange multipliers) The main consideration is then whether you need the constraint forces If you believe that, whatever they are, the ground will be able to provide them then you may as well adopt the constraint null space method. Let’s look at the two wheel cart using this method