Skip to main content

Crate machine_wafer_handler

Crate machine_wafer_handler 

Source
Expand description

Wafer handler: the R-theta-Z arm of semiconductor and flat-panel handling. A column lifts (Z, motor 3, on a ball screw) and turns (theta, motor 1) an arm of two links of equal length L in the horizontal plane. The upper arm turns on the column (motor 2, riding on the column); inside it a band from a pulley fixed to the column to one on the forearm turns the forearm against the upper arm at 2:1, and inside the forearm a band from a pulley fixed to the upper arm to one on the end effector turns the effector against the forearm at 1:2. So the one motor 2 runs the wrist along the radial line and the effector keeps pointing outwards along it. The tool pose is (r, theta, z): r the wafer centre’s distance from the column axis along the effector’s direction, theta that direction, z the lift.

Angle convention: phi is the upper arm’s angle from the radial line (the column’s direction theta), positive anticlockwise; the links’ absolute angles are

upper arm  a1 = theta + phi
forearm    a2 = theta - phi + beta      (2:1 against the upper arm: a2 - a1 = -2 phi)
effector   a3 = theta + gamma           (1:2 against the forearm: a3 - a2 = phi)
wrist      W = L u(a1) + L u(a2) = 2 L cos(phi) u(theta)          (beta = gamma = 0)
wafer      C = W + e u(a3),  r = 2 L cos(phi) + e

with u(a) = (cos a, sin a) and e the effector’s length from the wrist to the wafer centre. beta and gamma are the bands’ stretch (effects.band_elasticity), zero where they are rigid. dr/dphi = -2 L sin(phi): zero at full extension (phi = 0, r = 2 L + e), the singular pose; largest at phi = 90 degrees (the wrist over the column). The working range keeps phi above the angle where 1 / sin(phi) (condition) passes workspace.max_condition_number.

Dynamics: four bodies in the plane (upper arm, forearm, effector, wafer) and the column’s turn, each body’s kinetic energy 1/2 m |v|^2 + 1/2 I w^2 with v = J_v q’ and w = a_k . q’ over q = [theta, phi, beta, gamma] (Kane’s method):

M(q) q'' + h(q, q') = Q,   M = J_c + sum m J_v^T J_v + I a_k a_k^T,   h = sum m J_v^T (dJ_v/dt q')

h carries the centrifugal and Coriolis coupling of theta and phi: turning at theta’ pushes the arm outwards (the classic handler error, the wafer pushed out in a fast turn, held by motor 2), and extending at phi’ during a turn drags on motor 1. Gravity acts along -z, on the joints’ bearings: it loads the Z motor alone. Each band is a loop of two spans of stiffness k and pretension T0 over a distal pulley of radius r_b (the proximal one 2 r_b at the elbow band, r_b / 2 at the wrist band); its stretch s1 = -r_b1 beta, s2 = r_b2 (beta / 2 - gamma), the spans’ tensions T0 +- k s (none once a span runs slack), and its torques on beta and gamma r_b1 dT1 - r_b2 dT2 / 2 and r_b2 dT2. Motors 1 and 2 drive theta and phi through RotaryJoints, elastic or rigid (effects.joint_elasticity); the Z stroke is a RotaryJoint on a BallScrew (motor 3’s own config) that lifts the column, the links and the wafer, elastic or rigid by the same switch: elastic, the coupling’s and the screw’s stiffness in series is a spring between the rotor and the column (Lift), whose mode with the rotor held is sqrt(K / m) / 2 pi.

Structs§

Arm
The arm’s geometry and masses, apart from drives and bands.
Band
A band in a link: a loop of two spans over a distal pulley of radius radius (the proximal pulley’s radius is the coupling’s ratio times it), each span of stiffness and damping, tensioned to pretension.
Body
A rigid body of the arm: its mass, its inertia about its own centre (about z), and its centre’s distance from the joint it turns about, along its link.
WaferHandler

Enums§

Hold
How the effector holds the wafer ([wafer]), for the verdict “wafer-slip”.

Constants§

LINK_ANGLES
The links’ absolute angles over q = [theta, phi, beta, gamma]: upper arm, forearm, effector.
LOSSY_EFFECTS
Effects that take energy out or put it in; the standard suite runs with them off.

Statics§

ENTRY

Functions§

generalised_eigenvalues
The eigenvalues of the symmetric generalised problem K v = lambda M v over the leading n coordinates, lowest first: M = L L^T (Cholesky), then the symmetric L^-1 K L^-T by Jacobi rotations.
lossless_config
The default config with every loss switched off: the effects above, the dampers of the gearboxes, the stops and the bands.
modal_damping
The damping ratio of the mode of K v = lambda M v at lambda under the damping matrix C, over the leading n coordinates: v’Cv / (2 w v’Mv), w = sqrt(lambda), the shape v by inverse iteration on K - lambda (1 + 1e-9) M.
solve
Solves the leading n x n system m x = b by Gaussian elimination with partial pivoting; None where it is singular. The entries beyond n come out zero.

Type Aliases§

Mat
A 4 x 4 matrix over them.
Q
The arm’s coordinates [theta, phi, beta, gamma], or rates of them.
V2
A vector in the plane, (x, y).