Contacts that only push

A constraint that only pushes

Every constraint on this site so far has been an equation: a pin holds two points together, a bar holds two apart, a mesh holds a ratio. A part resting against another part says only *do not come closer* — so what it may do is a cone rather than a subspace, and whether it can move at all stops being a rank.

Assumes Counting and measuring mobility and What each joint takes away.

Twenty fields of this site have been about mechanisms whose parts are fastened together. A pin holds two points at the same place, a bar holds two points at a fixed distance, a mesh holds one angle proportional to another, and a rolling wheel forbids a velocity. Every one of those is an equation, and everything the site does with them follows from that: a configuration is a root, the set of configurations has a tangent space, and mobility is the dimension of that space.

A part resting on a table is none of it.

Seven arrangements, one routine, and the two that hold. Every row is the same three steps: write down one row per contact — the moment of its normal about the origin, then the normal itself — take the convex hull of those rows, and ask whether the origin is inside it. The parts differ, the numbers of contacts differ, and the routine does not. Two of the seven hold. The other five leave the part something, and the interesting column is what: four rays of rotation for the pinwheel, a translation straight out of the vee, and for the last two a whole line rather than any number of rays, which is what a rank below three means and is the case a reader has to be warned about. Note that the four contacts of the second row are the four of the first row, on the same four edges of the same square, at the same distance along each. positioned by solving, not by drawing.
Fig. 1 Seven arrangements, one routine. The rank column is what the first twenty fields would have measured; the column beside it is what these contacts actually leave.

The table says do not come below this height. It says nothing whatever about going up. So the constraint is an inequality, and three things change at once — not as refinements of the picture the earlier fields drew, but as replacements for it.

A freedom stops being two-sided

Take the simplest case there is. One flat contact under a part, with the contact normal pointing up into it.

A velocity of the part is a twist t=(ω,vx,vy)t = (\omega, v_x, v_y) — an angular rate and the velocity of whichever material point is at the origin — and the rate at which the part separates from a contact at pp with inward normal nn is

s˙  =  nv(p)  =  ω(p×n)z+nxvx+nyvy.\dot s \;=\; n \cdot v(p) \;=\; \omega\,(p \times n)_z + n_x v_x + n_y v_y .

That is linear in the twist, so each contact contributes one row a=[(p×n)z,nx,ny]a = [(p \times n)_z,\, n_x,\, n_y], and the condition that the part does not drive into the obstacle is

at    0.a \cdot t \;\ge\; 0 .

An equation would have been at=0a \cdot t = 0, and the set of twists satisfying a stack of those is a subspace — closed under negation, with a dimension, and nothing else to say about it. The set satisfying a stack of inequalities is a cone. It has a dimension too, and it also has a shape, and it need not contain the negative of anything in it.

The three things one contact can be doing. One contact and three motions, with the separation rate under each. A contact is an inequality, so it distinguishes three cases where an equation distinguishes two: the part may leave the contact, in which case the rate is positive and the contact stops being one; it may slide along the surface, in which case the rate is exactly nought and the contact persists; or it may push into the surface, which is the case the inequality refuses. Only the middle case is what an equation would have described, and it is the one a reader who has spent nineteen fields on pins and bars will assume is the whole story. The rates here are 0.700, -0.000, -0.700, computed from the same row every other figure in this family is built on.
Fig. 2 An inequality distinguishes three cases where an equation distinguishes two. Only the middle one is what an equation would have described.

That is not a technicality about signs. It means the sentence the part has one degree of freedom has stopped being well formed. A part on a table can go up and cannot go down; whatever that is, it is not one freedom, and it is not half of one either.

The question stops being a rank

Mobility on this site has been the nullity of a constraint Jacobian since the first field, and everything about how that number behaves — that it is an upper bound, that a count can disagree with it, that it is a decision about where a spectrum stops being signal — has been argued about that quantity.

Ask the same question here and it does not parse. The cone {t:At0}\{t : At \ge 0\} is not determined by the rank of AA. The rank is a fact about the rows and the cone is a fact about their signs, and two arrangements can have identical ranks and opposite answers.

How far inside the hull the origin actually is. The same seven arrangements with their margins drawn rather than tabulated, because the shape of this chart is the argument: the quantity is not a probability and not a percentage, it is a distance — how far the origin sits from the nearest face of the hull of the contact rows, with every row a unit vector so the number is comparable across arrangements. The two that hold come in at 0.211 and 0.091; the five that do not come in at exactly nought, and they are drawn at nought rather than left off. A margin that falls smoothly to nothing is what makes this a measurement: an arrangement approaching one that lets go says so before it does.
Fig. 3 The margin on each of the seven, drawn rather than tabulated. Two positive, five exactly nought, and the ones at nought are drawn at nought rather than left off.

The right question is whether the cone is trivial — whether the only twist every contact permits is the zero twist. When it is, the part is held, and the word for that condition is form closure: the shape of the contacts closes around the part, with nothing said about how hard anything is pressed.

There is a clean way to see when it happens. {t:At0}={0}\{t : At \ge 0\} = \{0\} exactly when the rows of AA positively span the whole twist space — when every direction is refused by somebody — and that is the same statement as: the origin is in the interior of the convex hull of the rows, taken as unit vectors.

So the routine for every arrangement in this field is three steps. Write one row per contact. Take the convex hull of those rows. Ask whether the origin is inside it.

The rank decision, and how close it is. Every singular value of every arrangement's rows, as a fraction of that arrangement's largest, on a logarithmic scale. Five of the seven have three ordinary values and a rank of three; two of them have two ordinary values and a third at the arithmetic's own floor, sixteen orders of magnitude down. The decision is not close on any row, which is what makes a rank quoted here a measurement rather than an opinion — and it is worth saying because the two rows with a deficient rank are the two the field's most surprising arguments are about, so a reader is entitled to ask whether the deficiency is real. It is: every normal of a circular or elliptical part passes through the part's centre, so the moment entry is exactly nought rather than nearly so.
Fig. 4 The rank decision on all seven, with the gap it was made across. Five have rank three and two do not, and the deficiency is exact rather than nearly so.

The row, and the two conventions inside it

The row is the whole of the machinery, so it is worth being explicit about what goes into it, because two conventions are buried there and each of them is invisible when it is wrong.

The normal points into the part. It is the direction the part is free to move at that contact, not the direction anything pushes — there is nothing pushing. Reverse every normal in an arrangement and every row is negated, so the cone {t:At0}\{t : At \ge 0\} becomes its own negative: the same dimension, the same number of extreme rays, the same answer to whether anything is left. Every count printed in this field is unchanged and every escape direction is reversed. That is a defect no count can see, and the only test that catches it builds both and requires the escapes to be negatives of one another.

And the moment is divided by something. A row mixes a moment with a direction, so its three numbers do not share units, and a hull taken from a stack of them is a statement about numbers whose relative size depends on whether the part was drawn in millimetres or metres. Every row here is built with the moment divided by the part’s own size, which makes the matrix dimensionless — and the check is to build the same arrangement at a thousandfold difference and require the same margin, which is the discipline the seating essays earned for the same reason and by meeting the same trap.

Neither of those is a subtlety about the subject. Both are places where a figure would have been drawn, published and believed, and where the number underneath it would have been about the draughtsman’s choice of units or the order in which somebody happened to list the contacts.

The counts change

Six independent constraints fix a body in space, and the whole of exact-constraint design is built on it: three balls in three vee-grooves, six contacts, six freedoms removed, and a part that returns to the same place every time it is put down.

Six unilateral contacts fix nothing at all.

6 contacts, and the box lifts straight off. 3-2-1, six contacts. Each pad is a contact and each arrow the direction the box is free to move there — the inward normal, and the whole of what the contact contributes. The rank is 6, which is full: these 6 contacts are 6 independent constraints and a bilateral version of them would fix the box completely. The margin is nought, so the box is free to leave, and no amount of tightening the tolerances on where the pads are would change that. Rank and hold are different questions and this is the pair of pictures that separates them. positioned by solving, not by drawing.
Fig. 5 The machinist’s 3-2-1 scheme. Six contacts, rank six, and the part lifts straight off.

The reason is arithmetic and it has no exceptions. dd vectors can span dd dimensions and they cannot positively span them: a positive combination of dd independent vectors is never zero, because the only combination that is zero is the trivial one. Positively spanning Rd\mathbb{R}^d takes at least d+1d+1 vectors. So the minimum is four in the plane and seven in space, and the classical numbers are not empirical.

The pair of pictures above is worth reading twice, because it separates two things this site has been treating as one. Both arrangements have rank six. Both are, read as bilateral constraints, complete: a version of either with the contacts glued down would fix the box exactly. One of them holds the box and the other does not, and nothing in the rank says which.

The seven arrangements

The ledger at the top of this essay is seven parts and their contacts, chosen so that between them they produce every answer the routine can give. It is worth going through them, because five of the seven are cases a reader would have called held.

A square on four contacts is the minimum, and it works: one contact on each edge, opposite edges taken at opposite ends. Margin 0.211, no escape, and no contact that can be removed.

Four contacts, and no centre of rotation left anywhere. A square on four contacts. One contact on each edge, opposite edges taken at opposite ends. Four is the minimum in the plane and this is what the minimum looks like when it works: nothing escapes, and no contact can be removed. Each contact contributes one half-plane of permitted centres per sense, and the shaded regions are what survives all 4 of them: the darker one is where an anticlockwise rotation is still permitted and the lighter one where a clockwise one is. Both are empty. There is no point of the plane, and no direction of translation, that this part can move about or along, and the margin — the origin's clearance inside the hull of the four rows — is 0.211. That is the whole content of the word hold, and it takes four contacts because three half-planes cannot cover the plane twice over. positioned by solving, not by drawing.
Fig. 6 Four contacts and no centre of rotation left anywhere in the plane. Both shaded regions are empty, which is the whole content of the word hold.

The same four, placed pinwheel is the same square, the same four edges, the same distance along each — and taken the same way round rather than alternately. Every row’s moment then has the same sign, no positive combination can cancel it, and the part turns.

A square in a vee has four contacts on two edges. The count is right and the directions repeat, so the part slides out of the open side. A square on three contacts cannot hold whatever is done with it. A hexagon on five holds, with one contact spare — which turns out to matter, and has an essay of its own.

And then two whose rank is not three at all.

A disc cannot be held by any number of frictionless contacts. Every normal of a circular part passes through its centre, so every row’s moment entry is exactly nought, the rows lie in a plane through the origin, and the origin can never be interior to their hull. Three contacts, eight, twenty-four: the answer is the same and it is the same for a reason about the shape rather than the count.

An ellipse in its own bounding box has the same rank deficiency and the opposite behaviour, which is the subject of the rung about second order: the first-order analysis says it spins, and it cannot turn by any amount whatever.

What this field does not take

The dual of everything above is a statement about forces — a set of contacts is form-closed exactly when it can resist any wrench — and that statement is structural-engineering-statics.com’s rather than this site’s. The boundary is worth drawing precisely, because this is the closest this site has come to crossing it, and because the temptation to reach for the force reading is strong: the phrase the contacts take the load is how the subject is usually explained.

The separating test is the one the network field applied to a state of self-stress, and it is the same test. Every number in this field survives with every force in the assembly unknown. A margin is a distance between a point and a hull. An escape is a solution of a system of inequalities in velocities. Neither changes if the part is made of something else, neither needs a stiffness, and neither has a unit of force anywhere in it.

What the count is right about. Freedoms minus dependencies, against what the count predicts, on seven assemblies from three different representations. The difference is exact every time and it is exact for a reason that has nothing to do with mechanisms: the count is unknowns minus constraints, the rank is a number no larger than either, and the two nullities are what each of them has left over. So a count is not wrong in the way a mismeasurement is wrong. It is a statement about a difference being read as a statement about one of the terms — and on four of these seven rows both terms are large and the difference is nearly meaningless.
Fig. 7 The same discipline in the field next door: a dependency among constraints is a combination of rows, and it needs no material.

Friction is out for the same reason and more strongly. A contact with friction permits a cone of contact forces rather than a single direction, which is a different object from the one above and belongs to the same neighbours; every contact here is frictionless, and that is a restriction rather than an approximation. A frictionless hold is a hold under any friction, so everything this field measures is a lower bound on what a real fixture does, which is the right side to be wrong on.

What the site already had, unnamed

Reading back, the inequality has been in this site twice before and both times it was allowed to collapse into an equation as quickly as possible.

A strand is slack or taut, and taut is an equation. The field made real use of the switching — a mechanism with a belt has different mobility in different places — but each individual configuration was solved with the strand either doing nothing or holding a distance exactly.

A pawl on a ratchet is the other one, and it is closer: whether the pawl holds is decided by two lines through the contact, and the argument is entirely about which side of them things fall on. What that essay did not do is ask what the set of permitted motions is, because with one contact the answer is a half-plane and there is nothing to compute.

The difference here is that there are several contacts at once, and the interesting object is what they leave between them. One inequality is a half-space and a reader can see it. Four of them intersect in something that has to be computed, and the answer is not the intersection of four intuitions.

How the rest of the field goes

The ladder from here has a shape, and it is worth stating so a reader can see where each rung is going.

The next two rungs are the object itself: what one contact rules out, and why the minimum is d+1d+1. Then two on how the question is answered — the test is a linear program rather than a rank, and an escape is best drawn as a place rather than a direction, which is Reuleaux’s own picture and is what every figure in this family is built on.

Then two rungs on where the first-order answer stops: an ellipse that is free at first order and cannot move at all, and the contact that is free not to touch. Then the boundary of what any of it measures — a part that can move in every direction and cannot get out. Then three on assemblies rather than parts: which way something comes out, why neither of two parts comes out first, and where a chuck’s jaws put a bar.

And last, the two rungs about tolerances, which are where the field turns out to say something a workshop can use. A hold makes the set of poses a part can occupy finite, and a clearance gives that set a size; and a hold turns a set of contact tolerances into a single inequality whose weights say which contact is worth making accurately.

Convexity is what makes any of it computable

Replacing an equation by an inequality sounds as though it should make everything harder, and on most problems it would. It does not here, and the reason is worth naming because the whole field’s tractability rests on it.

The separation rate at a contact is linear in the twist — one row, one dot product, one sign. So each contact contributes a half-space, the permitted set is an intersection of half-spaces, and an intersection of half-spaces is a convex polyhedral cone. Not a general set, not a curved region, not something that has to be sampled: a convex cone with flat faces and finitely many extreme rays.

That single property buys everything the field does. Whether the cone is trivial is a linear program. Its extreme rays are enumerated by taking subsets of the rows. The margin is a distance from a point to a convex hull, which is another linear program. Whether one row lies inside the hull of the others is a third. Every question the field asks has an exact answer from a routine that terminates, and none of them needs a search or a tolerance chosen by hand.

Compare what would happen if the rate were not linear. A contact between two curved bodies at second order, a contact with friction, a contact that can also slide along a rough surface — each of those turns a half-space into a curved region, the intersection stops being convex, and the questions become optimisations over a set that can have several local answers. That is the situation the second-order rungs step into, and it is exactly why they are a separate and much smaller part of the field.

So the honest account of what changed when the equations became inequalities is not the problem got harder. A subspace became a cone, both are convex, and the whole apparatus of exact computation survived the change intact — which is why a field about parts resting on other parts has more closed-form answers in it than most of the fields about parts pinned together.

Why this is a field and not a footnote

The honest objection to all of this is that a fixture is a specialised thing, and that a site about linkages does not need a field about it.

What answers it is the ledger. Five of those seven arrangements are things somebody would draw and call held, and one of them — the pinwheel — differs from a working hold only in which end of each edge the contacts sit at. Nothing about the drawing distinguishes them. The count is the same, the rank is the same, the parts are the same, and the answers are opposite.

Where the first-order answer is the answer, and where it is not. The ledger with a column added. On five of the seven rows the linear answer is the whole answer: what the cone says the part can do, the part does, and following the escape takes it as far as it likes. On the last two the rank is the same number for opposite reasons — both leave a line, both are the spin of a part whose normals all point at its centre — and the disc turns for ever while the ellipse cannot turn at all. Nothing in the rank distinguishes them, and the thing that does is a second derivative. This is the same asymmetry the network field's obstruction has, arrived at from a different direction: a cone is an upper bound on what a part can do, exact when there is nothing to check and a candidate list when there is.
Fig. 8 Where the first-order answer is the answer and where it is not, across the whole ledger.

That is the same shape as every argument this site has made from its first field: a count of freedoms can be confidently wrong, and the thing that catches it is a computation on the geometry rather than on the numbers of parts. What is new is which computation. For a linkage it is the rank of a Jacobian; for a set of contacts it is where the origin sits inside a hull, and no amount of familiarity with the first prepares anybody for the second.

There is one more reason, and it is about what a mechanism is. The site has spent twenty fields on the position of parts that are joined, and every joint in every one of them is an idealisation of surfaces in contact: a pin is a shaft in a hole, a slider is a block in a way, a cam pair is two profiles touching. The equation is what those surfaces become once somebody has decided that they never separate. That decision is usually right and it is a decision, and the field below the decision is this one — which is why the first thing it finds is that a part with more contacts than a hinge has is not necessarily held by any of them.

What each kind of joint takes away. Grübler's formula is M = 3(n − 1) − 2j₁ − j₂, and the 2 and the 1 in it are not conventions. A lower pair — a pin or a slide — holds two bodies together over a surface and leaves one relative freedom, so it costs 2. A higher pair — a cam against a follower, a wheel on a rail — touches at a point, the contact travels along both surfaces, and it costs 1. Five chains, each built and each measured from the rank of its constraint Jacobian, which has never heard of the formula. The last row is the one worth having: count that cam contact as a pin, as is very easily done, and the formula returns 0 where the mechanism has 1. The Jacobian does not move.
Fig. 9 The joint table the constraint field opens with. Every row of it is an idealisation of surfaces touching, made by assuming they never come apart.

The rest of the field is what that computation says.

What this makes readable

Essays that name this one as a prerequisite.

About the same objects

Not linked from either essay — found by the objects both name.

What links here

The 8 of 16 essays linking to this one that name the most of the same objects.

The objects this essay names

Each one links to every other essay that touches it.

ConstraintContact normalDegrees of freedomEscape coneForm closureMobilityPositive spanRankTwistUnilateral constraint