Link width and layer interference: How many layers should you stack the plates in so they don't collide when moving?
Links made from plates are stacked in layers. You need to check that plates in the same layer do not overlap during motion and that plates do not pass over pins they are not connected to.
The four-bar linkage uses plates with a width of 10 mm. If you place the crank and output link on top (2) and the coupler below (1), the coupler passes over the crank's fixed pin O2. If you switch the layers, placing the crank and output link below (1) and the coupler on top (2), they do not collide.
Link width and layers: check for collisions throughout the motion
Diagram with the initial values (four-bar linkage, width 10 mm, pin radius 3 mm, layers 2, 1, 2). Enable JavaScript to change the mechanism, width, or layers and check again.
Assumptions: each plate is one layer thick. Pins pass between the layers of the connected plates (ground pins pass from the frame = layer 0). Pin heads, washers, frame shape, and manufacturing clearances are not considered. Poses are checked at 1° intervals.
Minimum clearance between plates on the same layer and pins (negative means collision; not overlap depth)
Try these 3 things
- Play it as isNear input 233°, the coupler and pin O2 turn red. Click "Assign layers automatically" to get 2 layers (crank and output link in layer 1, coupler in layer 2). They do not collide even when you set the width to 30 mm.
- Switch to the Watt-type six-bar linkageWith the initial layer assignment alternating between 2, 1, 2, 1, and 2, link A–B passes over the crank's fixed pin O2 in 36 positions. Automatic assignment also needs only 2 layers (six-bar linkage).
- Switch to Jansen's linkageThree plates meet at joint A: the crank, A–C, and A–D. They cannot be assembled in 2 layers, and automatic assignment gives 3 layers. If you increase the width from 4 to 14, B–C–E and D–F–G, B–D and E–F start to overlap in the same layer, and 5 layers are needed.
Fixed pins pass through the plates above the frame (layer 0), so plates in the layers in between collide with them. In the four-bar linkage, change "View orientation" to "Oblique" to see pin O2 pass through the coupler's layer and reach the crank above it.
Layers assigned automatically for Jansen's linkage: O–A: 1, A–C: 2, B–C–E: 1, A–D: 3, B–D: 2, E–F: 2, D–F–G: 1. The lengths in Jansen's linkage are ratios, so the width is also a value in the same ratio (Jansen's linkage).
The 3 rules being checked
- Plates connected by a pin must be in different layersTwo plates fit over the same pin, so they cannot be placed in the same layer. If 3 plates meet at one joint, at least 3 layers are needed.
- Plates in the same layer must not overlapThe shape of a plate is the polygon connecting its joints, expanded by half the width (a rounded bar for 2 joints, a rounded triangle for 3 joints). The distance between these shapes is measured at every position.
- Do not pass over pinsA pin passes through the plates from the lowest to the highest layer it connects (a fixed pin passes through from the frame, layer 0). A plate in any layer in between must stay at least the pin radius plus half the plate width away from the pin, unless it is connected to that pin.
How "Assign layers automatically" works
Starting with 1 layer, the number of layers is increased in order. Every possible assignment is tested (pruning branches using the connection rule), and the first assignment without collisions is returned. This works for up to 12 plates.
The result changes if the range of motion changes, so always check the actual range of motion (one input rotation here).
What this page does not show
- The plate thickness itself, pin heads, washers, collars, and the shape of the frame (base) are not included. Only the layer order and overlap in the plane are considered.
- Manufacturing clearance, flex, and joint play are not included. Assume that positions where clearance is near 0 will collide in a real mechanism.
- Positions are checked at 1° intervals, so a collision that occurs only momentarily in between may be missed.
- Strength (whether plates or pins can withstand the forces) is not calculated (limitations).
How the numbers are calculated
A general-purpose solver rotates the input in 1° increments and finds the position of each joint (The linkage builder uses the same method). At each position, it measures the distance between the shapes of the plates (convex hulls) and the distance between plates and pins.
In the calculation engine's automated tests, the number of colliding positions in an example with two colliding cranks is checked against an exhaustive calculation, and the two-layer result for the four-bar linkage is verified. The numbers in the text are recalculated and checked when this page is built (the number of positions where the coupler collides with pin O2 is also recounted using a separately written point-to-triangle distance calculation). The calculation engine version is 0.1.0.