Skip to main content

Crate machine_delta_d2

Crate machine_delta_d2 

Source
Expand description

Delta picker D2, the planar delta: two motor-driven arms in the vertical x-z plane, one at each side of the base, each carrying a pair of forearms down to a plate that keeps its orientation (a five-bar whose lower links are parallelograms, as in Codian’s D2 or ABB’s two-axis FlexPicker). The tool is the plate’s centre, x and z.

The D3’s equations with two legs at the azimuths 0 and 180 degrees and the plate in the plane y = 0. Leg i points along s_i x (s_1 = +1, s_2 = -1); e = base radius - platform radius (the plate’s offset folded into the base, as it never turns), the arm angle theta_i (0 horizontal, positive down), upper arm L_a, forearm L_b:

elbow     c_i = (s_i (e + L_a cos theta), -L_a sin theta)
constraint |p - c_i|^2 = L_b^2
inverse   A cos theta + B sin theta + C = 0, A = -2 L_a (x' - e), B = 2 L_a z, C = (x' - e)^2 + z^2 + L_a^2 - L_b^2
          theta = 2 atan((-B - sqrt(A^2 + B^2 - C^2)) / (C - A))     (elbow out; x' = s_i x)
forward   p = the lower of the two points at L_b from both elbows (two circles)
Jacobian  J_x p' = J_q theta', J_x rows u_i = p - c_i, J_q = diag(u_i . dc_i/dtheta_i); p' = J theta', J = J_x^-1 J_q
          J_x p'' = J_q theta'' + w, w_i = theta_i'^2 (u_i . c_i'') - |p' - c_i' theta_i'|^2

Dynamics as on the D3 (Codourey 1998, Olsson 2009): each forearm pair’s mass split, a share r at the elbow and 1 - r at the plate; two arms about their joints plus a point mass at the plate, m_nt = plate + payload + 2 (1 - r) m_fb, and

M(theta) theta'' = tau_gear + Q_g - m_nt J^T J_x^-1 w + tau_joint,   M = I_b 1 + m_nt J^T J
I_b = I_arm + L_a^2 (m_elbow + r m_fb),   Q_g,i = g m_LG cos theta_i - m_nt g J_zi,   m_LG = m_arm l_cg + L_a (m_elbow + r m_fb)

Each joint is a RotaryJoint, elastic or rigid (effects.joint_elasticity), as on the D3.

The machine is the planar linkage of machine files (sim_netlist::linkage::LinkageMachine), read from this crate’s tables ([geometry], [mass], [workspace], one [joint] for both arms): one implementation, so that a fix reaches both, and machines/planar-delta.toml gives this crate’s numbers.

Structs§

Legs
The legs’ geometry and the kinematics, apart from masses and drives.

Constants§

LOSSY_EFFECTS
Effects that take energy out or put it in; the standard suite runs with them off. The stops stay, without their damping.
SIDE
The side each arm points to along x.

Statics§

ENTRY

Functions§

condition_number
The 2-norm condition number of a 2 x 2 matrix: the square root of the larger over the smaller eigenvalue of J^T J, m +- sqrt(((a - c) / 2)^2 + b^2) with m = (a + c) / 2 for J^T J = [[a, b], [b, c]].
lossless_config
The default config with every loss switched off.

Type Aliases§

Delta2
The planar delta: the linkage machine of sim_netlist, built by Delta2::new from this crate’s config.