Algorithm Search⌘K

Definitioncore

Pfaffian constraint

Also called Pfaffian form.

A velocity constraint A(q) q' = 0, linear in the velocities with coefficients that depend on the configuration. It is holonomic if it integrates to a constraint on q, else nonholonomic.

A Pfaffian constraint is a set of kk equations A(q) q˙=0A(q)\,\dot q = 0 on the velocity q˙\dot q of a system with configuration qq, where the k×nk \times n matrix A(q)A(q) depends on the configuration only. The constraint is linear in the velocities. Each row is a differential form a1(q) dq1+⋯+an(q) dqna_1(q)\,dq_1 + \dots + a_n(q)\,dq_n, a Pfaffian form, named after Johann Friedrich Pfaff. Two sources give most constraints of this form in robotics. A constraint on positions h(q)=0h(q) = 0, such as the loop of a closed chain, gives one after differentiation in time. A contact that rolls without slipping, such as a wheel on the ground, gives one directly. A Pfaffian constraint is holonomic if it integrates back to a constraint on positions, and nonholonomic otherwise; the nonholonomic constraint page is about that property and its test, and this page is about the form.

Definition

Setting. The configuration space has dimension nn and local coordinates qq. A Pfaffian constraint is

A(q) q˙=0,A(q)∈Rk×n,A(q)\,\dot q = 0, \qquad A(q) \in \mathbb{R}^{k \times n},

with AA smooth and of rank kk at every qq under study. The jj-th row defines the one-form ωj=∑iaji(q) dqi\omega_j = \sum_i a_{ji}(q)\, dq_i, and the constraint says ωj(q˙)=0\omega_j(\dot q) = 0 for each jj.

Allowed velocities. At each qq the allowed velocities are the null space ker⁡A(q)\ker A(q), of dimension m=n−km = n - k. Choose smooth vector fields g1,…,gmg_1, \dots, g_m that span it, the columns of a matrix G(q)G(q) with A(q)G(q)=0A(q) G(q) = 0. Then the constrained motions are exactly the solutions of

q˙=G(q) u,u∈Rm,\dot q = G(q)\, u, \qquad u \in \mathbb{R}^m,

a driftless control-affine system. The constraint is the implicit form and GG the parametric form of the same set of motions. For a robot, uu is often a set of wheel or steering speeds.

Holonomic and nonholonomic. The constraint is holonomic if there are kk functions h(q)h(q) with independent differentials such that the rows of A(q)A(q) and of ∂h/∂q\partial h / \partial q span the same subspace, so that h(q(t))h(q(t)) stays constant on every allowed motion. It is nonholonomic otherwise. Holonomic does not mean that AA itself is a gradient: a row can need an integrating factor μ(q)≠0\mu(q) \ne 0 such that μ ωj\mu\,\omega_j is the differential of a function.

Tests (theorems). For one constraint, k=1k = 1, the form ω\omega is integrable if and only if ω∧dω=0\omega \wedge d\omega = 0. In three variables, with ω=a⋅dq\omega = a \cdot dq, this reads a⋅(∇×a)=0a \cdot (\nabla \times a) = 0. If moreover ∇×a=0\nabla \times a = 0 on a simply connected set, ω\omega is exact and hh is its potential, with no integrating factor. For any kk, the Frobenius theorem gives the test in terms of the fields gig_i: the constraint is holonomic if and only if every Lie bracket [gi,gj][g_i, g_j] stays in ker⁡A\ker A. The nonholonomic constraint page states the test and its consequences.

Forces of the constraint. In the dynamics, the constraint acts through forces in the row space of AA:

M(q) q¨+c(q,q˙)=τ+A(q)Tλ,A(q) q˙=0,M(q)\,\ddot q + c(q, \dot q) = \tau + A(q)^T \lambda, \qquad A(q)\,\dot q = 0,

with λ∈Rk\lambda \in \mathbb{R}^k a vector of Lagrange multipliers. These forces do no work on allowed motions, because q˙TATλ=0\dot q^T A^T \lambda = 0. This is the Lagrange-d'Alembert principle; it holds for holonomic and nonholonomic Pfaffian constraints alike. Differentiate the constraint once, Aq¨+A˙q˙=0A \ddot q + \dot A \dot q = 0, to solve for λ\lambda.

Close forms that are not Pfaffian. A constraint A(q) q˙+b(q,t)=0A(q)\,\dot q + b(q, t) = 0, with a moving support, is affine in the velocities. A constraint such as x˙2+y˙2≤vmax⁡2\dot x^2 + \dot y^2 \le v_{\max}^2 is a bound, not an equality. A constraint that is nonlinear in q˙\dot q is rare in robotics.

Examples and non-examples

A pendulum (holonomic, from a position constraint). A point at distance ll from a pivot satisfies h(x,y)=x2+y2−l2=0h(x, y) = x^2 + y^2 - l^2 = 0. Differentiation gives xx˙+yy˙=0x\dot x + y\dot y = 0, so A=[x,y]A = [x, y]. At (x,y)=(0.6,−0.8)(x, y) = (0.6, -0.8) with l=1l = 1, the allowed velocities are the multiples of (0.8,0.6)(0.8, 0.6), tangent to the circle.

A wheel on a line (holonomic, from rolling). A wheel of radius rr that rolls on a straight line, with center xx and angle φ\varphi, obeys x˙−rφ˙=0\dot x - r\dot\varphi = 0. This is the differential of x−rφx - r\varphi, so the constraint integrates to x−rφ=cx - r\varphi = c.

An integrating factor (holonomic, not exact). In the variables (x,y,z)(x, y, z), the constraint yx˙−xy˙=0y\dot x - x\dot y = 0 has a=(y,−x,0)a = (y, -x, 0) and ∇×a=(0,0,−2)\nabla \times a = (0, 0, -2), which is not zero, so the form is not exact. But a⋅(∇×a)=0a \cdot (\nabla \times a) = 0, so it is integrable. With μ=−1/(x2+y2)\mu = -1/(x^2 + y^2), μ ω=dϕ\mu\,\omega = d\phi where ϕ\phi is the polar angle of (x,y)(x, y). Each motion keeps ϕ\phi constant: the point moves along a ray from the zz axis, and zz is free.

The rolling unicycle (nonholonomic). For the unicycle with q=(x,y,θ)q = (x, y, \theta), no sideways slip is x˙sin⁡θ−y˙cos⁡θ=0\dot x\sin\theta - \dot y\cos\theta = 0. Here a=(sin⁡θ,−cos⁡θ,0)a = (\sin\theta, -\cos\theta, 0) and ∇×a=(−sin⁡θ,cos⁡θ,0)\nabla \times a = (-\sin\theta, \cos\theta, 0), so a⋅(∇×a)=−1a \cdot (\nabla \times a) = -1 at every qq. No integrating factor exists, and the constraint is nonholonomic. The parametric form is q˙=(cos⁡θ,sin⁡θ,0) v+(0,0,1) ω\dot q = (\cos\theta, \sin\theta, 0)\, v + (0, 0, 1)\, \omega.

The constraint force of the unicycle. Take a body of mass mm with a forward force FF and the constraint above. The equations are mx¨=Fcos⁡θ+λsin⁡θm\ddot x = F\cos\theta + \lambda\sin\theta and my¨=Fsin⁡θ−λcos⁡θm\ddot y = F\sin\theta - \lambda\cos\theta. Differentiating the constraint gives x¨sin⁡θ−y¨cos⁡θ=−vω\ddot x\sin\theta - \ddot y\cos\theta = -v\omega with vv the forward speed, so λ=−mvω\lambda = -m v \omega. This is the sideways force of the ground on the wheel, mv2/Rm v^2 / R toward the center of the turn: for m=20m = 20 kg, v=1v = 1 m/s and ω=0.5\omega = 0.5 rad/s, it is 10 N. The kinematic model holds only while friction can supply this force.

A car (two constraints). The kinematic bicycle model with the steering angle in the state has one no-slip constraint for the rear wheel and one for the front wheel. Both are Pfaffian, and both are nonholonomic.

A closed chain. The loop closure of a four-bar linkage is a set of equations on the joint angles. Its time derivative is a Pfaffian constraint, holonomic by construction.

References

  1. Kevin M. Lynch and Frank C. Park, Modern Robotics: Mechanics, Planning, and Control, Cambridge University Press, 2017, Section 2.4 (configuration and velocity constraints, Pfaffian constraints, holonomic and nonholonomic), Chapter 8 (dynamics with constraints) and Section 13.3.1 (the constraints of wheeled robots)
  2. Richard M. Murray, Zexiang Li and S. Shankar Sastry, A Mathematical Introduction to Robotic Manipulation, CRC Press, 1994, Chapter 7 (Pfaffian constraints, their integrability and Frobenius' theorem)
  3. Steven M. LaValle, Planning Algorithms, Cambridge University Press, 2006, Section 13.1 (velocity constraints in implicit form and the parametric form q' = G(q) u)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/XZQQBC/text.yaml