Advanced Dynamics -- Lecture 18: Constrained Dynamics Examples
Overview
Christian Hubicki compares minimal and maximal coordinates for a wheel rolling without slipping, deriving the minimal-coordinate equation (mR² + I)θ̈ = 0 and the constrained maximal-coordinate formulation with Lagrange multipliers. He also explains when maximal coordinates help, how constraint Jacobians encode reaction forces, and how three ordered axis rotations form an Euler-angle representation.
Key takeaways
- For a wheel rolling without slipping, x = −Rθ and ẋ = −Rθ̇; substituting the velocity relation into the kinetic energy produces the effective rotational inertia mR² + I.
- The unforced, lossless rolling-wheel model has equation (mR² + I)θ̈ = 0, so its angular velocity remains constant.
- Maximal coordinates use Q = [x, y, θ] and the constraints y − R = 0 and x + Rθ = 0; their Jacobian supplies the directions in which constraint multipliers act.
- A constrained dynamics solve can combine three coordinate accelerations and two constraint multipliers into a 5-by-5 linear system for this wheel example.
- Minimal coordinates suit simple, stable constraints that can be substituted easily; maximal coordinates are advantageous when constraints change or reaction forces are needed.
- Euler angles represent 3D orientation through three successive axis rotations, and changing the rotation order can change the resulting orientation.
Chapters
- Christian Hubicki says the Veterans Day lecture is canceled and plans an optional asynchronous exam review at the usual time.
- Exam Two's date is corrected during class to November 20; the following Monday also requires an alternative exam-preparation lesson.
- After Exam Two, the course will shift toward projects and advanced topics such as quaternions and Featherstone algorithms used in physics simulation.
- For a beam project, Hubicki recommends using mechanics-of-materials beam theory to calculate deflection from loading, elastic modulus, and moment of inertia.
- Integrating force over deflection gives stored elastic energy; a linearized model can take the spring form ½KX².
- The lecture's upcoming examples focus on constrained mechanical systems, 3D rotation matrices, and inertial tensors.
- The example models a rigid wheel with mass m, radius R, and center-of-mass rotational inertia I on flat ground.
- Rolling without slipping leaves one degree of freedom, represented by the minimal coordinate θ.
- Maximal coordinates instead use Q = [x, y, θ], so two constraints are needed to reduce three coordinates to one degree of freedom.
- Hubicki sets up the Euler-Lagrange equation for q = θ, with L = T − V.
- The kinetic energy includes both center-of-mass translation, ½m vᵀv, and rotation about the wheel center, ½ωᵀIω.
- Because the wheel's height stays constant on level ground, gravitational potential energy is constant and can be set to zero by choosing a datum.
- The rolling constraint relates wheel rotation to translation: x = −Rθ for the sign convention drawn in class.
- The constraint is holonomic because it depends on position rather than velocity.
- Differentiating the position relation gives ẋ = −Rθ̇, so translational speed must be included even though x is not a minimal generalized coordinate.
- Substituting ẋ = −Rθ̇ into translational kinetic energy gives ½mR²θ̇²; rotational energy adds ½Iθ̇².
- The resulting Lagrangian depends on θ̇ but not θ, so ∂L/∂θ = 0.
- The minimal-coordinate equation is (mR² + I)θ̈ = 0, meaning the wheel has constant angular velocity without dissipative losses or applied forces.
- Maximal coordinates retain all positions and introduce Lagrange multipliers, making constraint forces available directly from the formulation.
- Hubicki describes a research example involving a wheel-like robot with an elliptical rather than circular rolling profile.
- An ellipse's circumference involves an elliptic integral and lacks an elementary closed form, motivating a maximal-coordinate approach that avoids direct arc-length substitution.
- For Q = [x, y, θ], the ground-contact condition fixes the center height at y = R.
- The no-slip relation is x = −Rθ, or x + Rθ = 0.
- The constraint vector can therefore be written φ(Q) = [y − R, x + Rθ]ᵀ = 0; changing constraint order or sign changes multiplier interpretation but not the physical result when used consistently.
- Differentiating the two constraints with respect to Q gives J = [[0, 1, 0], [1, 0, R]].
- The Jacobian has two rows for the two constraints and three columns for x, y, and θ.
- Differentiating φ(Q) = 0 once gives JQ̇ = 0; differentiating again introduces JQ̈ + J̇Q̇ = 0.
- The maximal-coordinate dynamics combine the 3-by-3 mass matrix, the 3-by-2 transpose Jacobian, and a 2-by-3 constraint Jacobian in a block system.
- The unknown vector contains three accelerations and two Lagrange multipliers, making the assembled system 5-by-5.
- For this single rigid body, the mass matrix is diagonal with translational mass terms and rotational inertia; J̇ is zero for the linear wheel constraints.
- Solving the linear system at each time step yields Q̈ and the constraint multipliers, as in the MATLAB constrained-motion examples.
- Minimal coordinates are practical when constraints are easy to substitute and the eliminated variables or forces are not needed.
- Maximal coordinates are useful when constraints change, such as a rope switching between slack and taut, or when multipliers are needed inside an ODE45 simulation.
- For the wheel, the first constraint's Jacobian row [0, 1, 0] shows that its multiplier acts in the y direction to keep the wheel above the ground.
- The second row [1, 0, R] shows how its multiplier contributes in the x and θ directions, corresponding to a force and torque.
- A 3D body's orientation can be represented with three successive rotations about orthogonal axes, using rotation matrices such as Rx, Ry, and Rz.
- The lecture names the three angles α, β, and γ and relates the representation to familiar yaw, pitch, and roll descriptions.
- Euler angles are intuitive for specifying orientation, but the order of the rotation matrices matters.
- The sequence Rx(α), Ry(β), and Rz(γ) represents successive rotations, not three interchangeable operations.
- Swapping rotation order arbitrarily can produce a different final orientation, so the chosen convention must be followed consistently.
- Hubicki closes by reminding students that the optional Veterans Day exam-review livestream will provide additional exam-style examples.
Transcript excerpt
0:02 All right, folks. So, today hope that quiz wasn't too bad. Hopefully, we're just testing the concepts. All right, but these are the exact concepts that are going to be on the exam. Okay, the exam is of course Wednesday of next week. Uh tomorrow Wednesday this Wednesday is Veterans Day. So, there will not be a lecture. It's canceled, okay. But because I can't get enough of you, what I'm going to do is on my own time because that's how I celebrate veterans is to do exam reviews, okay. So, on Wednesday I'm going to record asynchronously. I'll live stream it like a typical lecture. You're under no obligation to come at all. It's a holiday. It's just how I spend my holidays and if it happens to help you
0:50 all with the supplemental exam review that you can watch on your own time, happy to do it. Does that work for you? Give you some more examples for for the upcoming exam. Okay. All right. So, so that's so next class so here we go. Do All right. So, today 2026 09 09 11 11 09 Okay. All right. So, so how so so how's keeping? So, next class is canceled due to Veterans Day. Okay. I'm going to do a asynchronous
1:43 exam review. Now, next Monday I will not be in town. I have a visit to a program sponsor I have to go to. But we'll arrange some kind of to be available on Monday as that's the last class before the exam. Okay? Basically, over the next week and a half-ish, I want to make sure that you're as ready for your exam and your homework as you can be. Okay? So Monday, I I will be and I can't even do a remote
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Christian Hubicki.