Expand description
Four-arm delta of the Quattro / H4 type (Pierrot’s H4, the Adept/Omron Quattro): four motor-driven arms on the base at 90 degrees, arm k along the azimuth (k - 1) 90 degrees, each carrying a parallelogram of two forearms down to a travelling plate in two parts. Arms 1 and 2 carry part A, arms 3 and 4 part B. The tool is x, y, z and its turn c about +z.
Which arms share a part: two neighbouring ones. A parallelogram keeps its plate end parallel to its elbow’s axis, leaving the part one turn, about that axis; two neighbouring arms’ axes are at right angles, so a part on them cannot turn at all. Two opposite arms’ axes are parallel and would leave a part free to turn about them.
The two parts slide against each other along the horizontal d = (1, -1, 0) / sqrt 2, each by the half slide h from
the tool’s point the other way: part A at p - h d, part B at p + h d. A pinion between a rack on each part rolls by
h / r_p, its centre on a carriage that the parts guide between them stays at the tool’s point p, and a gear stage of
ratio i_p turns the tool: c = kappa h, kappa = i_p / r_p (Plate). d is across the line between the parts: along it,
d = (1, 1, 0) / sqrt 2, the slide would move the four forearms’ ends as the plate’s descent does at the centre, and
the Jacobian would be singular there.
Kinematics in x = (p, h), leg k at azimuth phi_k, side sigma_k (-1 on part A, +1 on part B), the plate parts’ radius folded into e = base radius - plate radius as on the D3, theta_k the arm angle (0 horizontal, positive down):
elbow c_k = R_z(phi_k) (e + L_a cos theta, 0, -L_a sin theta)
end q_k = p + sigma_k h d
constraint |q_k - c_k|^2 = L_b^2
inverse per leg the D3's closed form at q_k (elbow out)
forward Newton on the four constraints from the D3's trilateration of legs 1 to 3 at h = 0 (the lower point)
Jacobian J_x x' = J_q theta', J_x row k (u_k, sigma_k u_k . d), u_k = q_k - c_k, J_q = diag(u_k . dc_k/dtheta_k)
J_x x'' = J_q theta'' + w, w_k = theta_k'^2 (u_k . c_k'') - |q_k' - c_k' theta_k'|^2Dynamics, by virtual work as the D3’s (Codourey 1998, Olsson 2009): each forearm pair’s mass split, a share r at the elbow and 1 - r at its plate part (or, with effects.forearm_inertia, a rigid rod: a sixth at each end, two thirds at its middle, and its spin about its own axis), and every body a point with its Jacobian P (3 x 4) in the arm angles: the parts, m_part + 2 (1 - r) m_fb each, with P = J_p -+ d J_h; the carriage and the payload at p; the tool’s turn, I_t c’^2 / 2 = I_t kappa^2 h’^2 / 2; the arms about their joints. Each body adds m P^T P to M, m P^T a0 to the velocity term (a0 its acceleration at no arm acceleration) and -m g P_z to the gravity:
M(theta) theta'' = tau_gear + Q_g - v + tau_jointWith effects.amplifier_compliance the tool is a body of its own, its angle phi on the amplifier’s spring
(Amplifier, with effects.amplifier_backlash a dead band in it): tau_a = k (kappa h - phi) + c (kappa h’ - phi’),
I_t phi’’ = tau_a, and the arms feel -kappa J_h^T tau_a. Each joint is a RotaryJoint (gearbox with stiffness,
backlash and efficiency, motor with friction, ripple and brake, joint friction, stops), as on the D3.
With effects.arm_bending each upper arm bends as the D3’s does (effects.link_elasticity there): in the plane it turns
in, the elbow turns by delta_i against the arm’s root on a spring k_b = 3 E I / L_a (a cantilever’s tip deflection as
a turn about the shoulder) with a damper; out of it, the elbow moves by y_i along its axis on the tube’s lateral
spring k_l = 3 E I / L_a^3 with a damper, E I the arm tube’s ([upper_arm] tube_outer_diameter_m, tube_wall_m,
youngs_modulus_pa: I = pi (D^4 - (D - 2 s)^4) / 64). The tube (I_arm, m_arm l_cg) stays with the root, at the joint’s angle
theta; the elbow block and the forearms’ share, and all beyond, move with the elbow angle e = theta + delta and the
moves y: the forearm constraint is |q_k - c_k - y_k a_k|^2 = L_b^2 (a_k the elbow’s axis), so
J_x x’ = J_q e’ + J_y y’, J_y = diag(u_k . a_k), and w gains -|q’ - c’ e’ - a y’|^2 (Legs::velocity_term_moved).
The load beyond the tubes is 8 coordinates (e, y) with the same bodies as before on their Jacobian P (4 x 8):
M_d q’’ = Q_d - v_d - (k_b delta + c_b delta’, k_l y + c_l y’) - kappa P_h^T tau_a, and the joints carry the root
alone: I_arm theta’’ = tau_gear + g m_arm l_cg cos theta + k_b delta + c_b delta’. Energy: the root’s and the
distal kinetic energy, the springs’ (k_b delta^2 + k_l y^2) / 2, the weights; the dampers’ power is the loss
arm_bending.
With effects.arm_tube_inertia as well, the tube bends in the static shape of a cantilever under a tip load,
psi = (3 xi^2 - xi^3) / 2 (psi(L_a) = 1), the mode consistent with the springs’ 3 E I (Rayleigh), as the D3’s.
The tube is as much of the arm’s mass as its inertia allows a uniform tube, m = min(m_arm, 3 I_arm / L_a^2), the
rest a hub on the shoulder’s axis. 33/140 of its mass (int psi^2) moves with the elbow’s bend, so 33/140 m L_a^2 of
its inertia and 3/8 m L_a of its first moment (int psi) go from the root to the elbow; out of its plane 33/140 of its
mass moves with the elbow’s move y, and the elbow block turns with the tube’s tip slope, 3/2 y / L_a, about the arm’s
normal: its twist inertia (mass.elbow_twist_inertia_kgm2, and the forearms’ share at the rods’ ends, half the
spacing off its middle) counts J (1.5 / L_a)^2 on y. The tube’s kinetic energy in the plane, its sections at
s theta’ + psi(s) L_a delta’, is m L_a^2 (theta’^2 / 3 + 2 int(xi psi) theta’ delta’ + int(psi^2) delta’^2) / 2,
int(xi psi) = 11/40: in the root’s and the elbow’s angles theta and e = theta + delta that is
I_r theta’^2 / 2 + B theta’ e’ + 33/280 m L_a^2 e’^2 with B = (11/40 - 33/140) m L_a^2 and
I_r = I_arm - 33/140 m L_a^2 - 2 B. The coupling B joins the joints’ equation to the elbows’:
(I_r - B^2 (M_d^-1)_ee) theta’’ = tau + f_r - B (M_d^-1 f_d)_e (joint_load_at), then M_d q’’ = f_d - B theta’’ on
the elbows’ rows (bend_rates). (Moving only the mode’s share of the inertia without B, as the D3 once did (it takes
B the same way now, sim-netlist‘s spatial delta), puts the root’s inertia with the elbow held some 40 % low in the
gearboxes’ modes.) Until 22 November the tube took the first exact mode’s shape (int phi^2 = 1/4, int phi = 0.3915,
int(xi phi) = 0.2844, tip slope 1.3765) with the static stiffness: against the exact Euler-Bernoulli cantilever with
the elbow at its tip (beam::cantilever_first_frequency) the arm’s mode read 0.95 % low, and its sag under its own
weight and the elbow’s 2.3 % high; with the static shape +0.23 % and exact.
Structs§
- Amplifier
- The amplifier’s spring between the slide and the tool (effects.amplifier_compliance), at the tool: N m/rad, N m s/rad, and half its play (effects.amplifier_backlash; 0 without), rad.
- H4
- Legs
- The leg 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.
- SIDE
- Which side of the slide each leg’s plate part is on: -1 for part A (arms 1 and 2), +1 for part B (arms 3 and 4).
Statics§
Functions§
- condition_
number - The 2-norm condition number of the 4 x 4 Jacobian in (x, y, z, h): the square root of the largest over the smallest eigenvalue of J^T J. In h, the half slide, a part moves as far as the plate does in x, y or z: the tool’s turn c, in rad, would weigh by the amplifier’s ratio instead.
- lossless_
config - The default config with every loss switched off.