Expand description
A six-axis platform on six cranks (6-RSS): six servo motors with gearboxes on the base, each turning a crank in its own plane (R), each crank’s tip joined to the platform by a rod with a ball joint at both ends (S, S). The build of motion simulators and fast six-axis positioners. Six degrees of freedom: the tool pose is the centre of the platform joints’ plane x, y, z (m, z above the plane of the crank axes) and the platform’s orientation as a rotation vector rx, ry, rz (rad, axis times angle, in the base frame). Each joint coordinate is a crank angle theta_i (rad).
Geometry ([platform], [crank], [rod]): the crank axes’ centres B_i on a circle of base_radius_m in pairs at
120 k -+ base_half_angle_deg, the platform joints a_i (platform frame) on a circle of platform_radius_m at
120 k -+ (60 - platform_half_angle_deg), so that each leg runs from a base pair to the neighbouring platform pair.
Each crank axis k_i is horizontal: the base radius through B_i turned about z by -+ crank.axis_turn_deg (mirrored
in a pair). The crank turns in the vertical plane across it, spanned by d_i = k_i x z… written the other way round:
d_i is the horizontal direction in the crank’s plane that points away from the pair’s partner, and k_i = d_i x z, so
that a positive theta lifts the tip:
tip C_i = B_i + r (cos theta d_i + sin theta z), t_i = dC/dtheta = r (-sin theta d_i + cos theta z),
t2_i = d^2C/dtheta^2 = -r (cos theta d_i + sin theta z)
joint P_i = p + b_i, b_i = R a_i; the rod |P_i - C_i| = L, u_i = (P_i - C_i) / L
inverse e = P_i - B_i: a cos theta + b sin theta = c, a = e . d_i, b = e . z, c = (|e|^2 + r^2 - L^2) / (2 r),
theta = atan2(b, a) -+ acos(c / sqrt(a^2 + b^2)): "out" takes -, "in" takes + (`crank.branch`, once for all
legs); no solution where |c| > sqrt(a^2 + b^2) (the rod cannot reach)
rates A xi = diag(m) theta', A row i = (u_i, b_i x u_i), m_i = u_i . t_i (the crank's torque arm, m),
xi = (v, w) the platform's twist: xi = K theta', K = A^-1 diag(m)
A xi' = diag(m) theta'' + s, s_i = u_i . t2_i theta_i'^2 - |v_i - t_i theta_i'|^2 / L - u_i . (w x (w x b_i)),
v_i = v + w x b_i
forward Newton on the twist: xi = A^-1 (L - |P_i - C_i|), p += v, R = exp(w) R, from the home pose, until the rods'
lengths are within 1e-12 m, and one step more; refused (NaN) where it does not converge within 40 stepsThe dead centre: the rod in the plane of the crank and its axis, u_i . t_i = 0, where the motor’s torque arm m_i vanishes; the angle between the rod and the crank’s tangent, acos(|u_i . t_i| / r), is 90 degrees there.
Dynamics by virtual work in the crank angles (M theta’’ + h = tau at the cranks):
- the platform with the payload, one rigid body of mass m, first moment S = R s and inertia I = R I_p R^T about p: M_xi = [m 1, -[S]x; [S]x, I], its required wrench W = M_xi xi’ + (w x (w x S), w x I w) - (m g, S x g), through K: K^T M_xi K and K^T (M_xi xi0’ + c - G), xi0’ = A^-1 s the twist’s acceleration at theta’’ = 0;
- each rod a slender rigid rod (ball joints at both ends, its spin about its axis left out): a sixth of its mass at each end, two thirds at its middle, which is exact for a uniform rod’s mass, centre and inertia across; each a point with its Jacobian P (3 x 6) in theta: m P^T P and m P^T (a0 - g);
- each crank its inertia about its axis and its weight at
crank.cg_mfrom the axis.
The motor, its rotor through the ratio, the gearbox (stiffness, backlash, efficiency, drag) and the crank bearings’
friction are each a joint::RotaryJoint (chain::JointMachine), as on the arms and the delta pickers.
The force along each rod (rod_forces, compression positive) follows from the platform: A^T f = W plus the rods’
upper ends, the rod’s own mass carried by its nodes (its upper sixth and half its middle at the platform joint).
The rods’ spin about their own axes is free between two ball joints and nothing excites it, so it is not a state;
the ball joints’ friction has no published data and is left out.
Parts that cross are checked among the rods (workspace.min_rod_clearance_m, axis to axis) and each rod against the
platform’s and the base’s hexagon edges, the edges at its own two joints apart (workspace.min_body_clearance_m,
axis to edge line; the rod’s radius and the plate’s half thickness make it).
Structs§
- Crank
- A crank at its angle, which depends on the angle alone (not on the platform’s pose): the tip, the tangent, the second derivative and the cosine of the angle.
- Geometry
- The kinematics, apart from masses and drives.
- Leg
- One leg at a pose: the crank’s tip C, its tangent t and second derivative t2 by the crank angle, the platform joint P and its offset b = R a from the platform centre, the rod’s unit vector u from C to P and its length |P - C|, the torque arm u . t, and the cosine of the crank angle.
- Rotary
Platform - The mechanism: geometry, platform, payload, cranks and rods.
Constants§
- LOSSY_
EFFECTS - Effects that take energy out or put it in; the standard suite runs with them off.
Statics§
Functions§
- lossless_
config - The default config with every loss switched off.
- segment_
distance - The least distance between the segments p0-p1 and q0-q1.