Skip to main content

Crate machine_delta_d4

Crate machine_delta_d4 

Source
Expand description

Delta picker D4: the three-arm delta of machine-delta-d3 with a fourth axis that turns the tool about the vertical, as in the four-axis pickers (ABB IRB 360 with its fourth axis, Autonox’s four-axis deltas): a fourth motor with its gearbox on the base, in its centre, drives a telescopic shaft through a cardan (universal) joint, and the shaft drives the tool’s shaft in a bearing of the platform through a second cardan joint. The tool is the platform’s centre and the tool’s turn, x, y, z, c.

The arms are the D3’s (machine_delta_d3::Delta, its kinematics, dynamics, rods, bending arms, modes, collision rods), built from this config with the shaft’s share of mass at the platform added to it. What the fourth axis adds:

shaft     d = p + (0, 0, h) - (0, 0, z_u)      upper cardan on the base's axis at z_u, lower one h above the platform
          L = |d|,  beta = angle(d, -z),  psi = atan2(d_y, d_x)    (length, cardan angle at both joints, bending plane)
cardan    tan chi = tan phi / cos beta     one joint, phi and chi from the bending plane (the input yoke's pin in it
          chi' / phi' = cos beta / (1 - sin^2 beta cos^2 phi)       at phi = 0): the shaft turns unevenly
pair      tan phi_out = cos beta tan chi = tan phi                 the second joint in phase undoes the first

The pair cancels exactly here: the motor’s shaft and the tool’s shaft are both vertical (the platform never tilts), so the two joints are bent by the same beta in one plane, the Z arrangement; with the intermediate shaft’s yokes in phase the tool turns as the gearbox’s output, c = theta_out, at any pose. Only the intermediate shaft turns unevenly, between cos beta and 1 / cos beta of the tool’s speed (the signal shaft.speed).

Dynamics. The tool’s turn is a rotary joint (RotaryJoint: motor, gearbox, brake, the tool bearing’s friction), its load the tool and gripper, the payload (with effects.payload) and the shaft’s spin, J_c = J_tool + J_payload + J_s, with no stops (the turn is endless):

J_c c'' = tau_gear + tau_bearing

Nothing turns the arms’ parallelograms, so the turn and the arms are coupled only through the shaft: its weight at the platform (a share of its mass, effects.shaft_mass, added to the D3’s platform mass) and the telescope’s sliding friction along the shaft against its lengthening, F = -f(L’) u (effects.telescope_friction, a PlatformDrag on the D3, J^T F at the arms). The torque the shaft passes and the cardans’ bending moments on the platform do no work on the arms: the parallelograms hold the platform level.

Each arm reads its own [motor.<id>], [gearbox.<id>] and [parts.<id>] over the shared tables (ids 1 to 3, the tool’s 4); without them the three share [motor] and [gearbox]. Each arm’s modes take its own gearbox.

With effects.joint_elasticity the tool’s gearbox twists, and with effects.shaft_torsion the shaft twists in series with it: one spring 1 / (1/k_gear + 1/k_shaft) between the gearbox and the tool, with the shaft’s damping (the shaft’s spin inertia sits at the tool and the gearbox’s output has none, so the two springs are one). The shaft is in series with the whole gear as a screw’s or a rack’s converter is (transmission::Converter, lever 1): with effects.gearbox_lost_motion it stretches over the band too (Gearbox::band_compliance) and the hysteresis and its reversal stiffness are those of the series spring.

With effects.tool_gearbox_body (and both of those) the gearbox’s output is a body of its own, J_o (tool.gearbox_output_inertia_kgm2: the planet carrier and output flange), between the two springs. The catalogue’s inertia at the input holds it as J_o / i^2, so that much leaves the rotor: the chain’s inertia is the same with the body as without it.

J_o th_o'' = T_gear(rotor, th_o) - T_s        T_s = k_s (th_o - c) + c_s (th_o' - c')   the shaft's torque
J_c  c''   = T_s + tau_bearing                 the gearbox keeps its own stiffness and damping
rotor held:  det(K - lambda M) = 0,  M = diag(J_o, J_c),  K = [[k_g + k_s, -k_s], [-k_s, k_s]]
             J_o J_c lambda^2 - (J_c (k_g + k_s) + J_o k_s) lambda + k_g k_s = 0

Two modes: the tool’s (the lower, the series spring’s when J_o -> 0: lambda -> k_g k_s / (J_c (k_g + k_s))) and the gearbox’s against the shaft’s spring (about (k_g + k_s) / J_o, above 1 kHz). Energy: the shaft’s spring and J_o’s kinetic energy are stored, the shaft’s damping c_s (th_o’ - c’)^2 is booked with the gearbox’s loss. The damping ratios are the undamped shapes’ (phi^T C phi / (2 w phi^T M phi)): the tool’s 0.02272 against 0.02267 of the damped system’s roots (41.068 Hz against 41.083), and the gearbox’s own 2.7 says it is overdamped (the roots are real, -1786 and -48963 1/s, with the gearbox’s 5 N m s/rad on J_o = 1e-4). RK4 at the 15.6 us sub-step holds the fast root for h lambda < 2.785: 0.77 as shipped, 2.17 at the bounds’ corner (10 N m s/rad on 7.2e-5 kg m^2).

Structs§

Delta4
Shaft
The telescopic shaft between its two cardan joints.

Constants§

LOSSY_EFFECTS
Effects that take energy out or put it in; the standard suite runs with them off: the D3’s and the telescope’s sliding friction.

Statics§

ENTRY

Functions§

cardan
One cardan joint bent by beta: the output’s angle for the input’s phi, both from the bending plane (the plane of the two shafts), the input yoke’s pin lying in that plane at phi = 0: tan chi = tan phi / cos beta.
cardan_back
The second joint of a pair whose intermediate shaft has its yokes in phase, bent by the same beta in the same plane: the output’s angle for the intermediate shaft’s chi, tan phi_out = cos beta tan chi (the first joint backwards).
cardan_speed_ratio
The speed of a cardan joint’s output over its input’s at the input’s angle phi from the bending plane: cos beta / (1 - sin^2 beta cos^2 phi), between cos beta (phi = 90 degrees) and 1 / cos beta (phi = 0).
lossless_config
The default config with every loss switched off.