Skip to main content

Crate machine_mover_track

Crate machine_mover_track 

Source
Expand description

A linear transport system with independent movers on a closed track, as Beckhoff XTS or B&R ACOPOStrak: motor segments (modules) of linear-motor coils in a loop of two straights and two 180 degree curves, and on them movers, each a mass on rollers carrying the magnet plate, each driven by the coils under it with a position loop of its own.

Each mover is a joint of sim_components::chain::JointMachine: its coordinate is s, the distance along the track’s centre line (m), unwrapped (one loop adds the track’s length L); its “motor” the coils under it, read in N for N m and m for rad as on the linear motor axis (force constant in N/A, the magnet plate’s mass as the rotor’s inertia, the cogging once per pole pitch). The rollers’ rolling resistance is the joint’s friction, with the attraction between magnet plate and coils pressing on them as the linear motor axis has it. The track lies level: its movers’ weight does no work, M = m (body plus payload) per mover, no bias.

The track (Track): straight, curve, straight, curve, the movers running anticlockwise seen from above, on the outside of the loop with the magnet plate facing the coils. A curve turns by pi either at a constant radius R or with a clothoid at each end (curvature rising linearly over track.clothoid_m, an arc of R between). A mover’s rollers span its wheelbase w, so the curvature its body follows is the mean over it, k(s) = (theta(s + w/2) - theta(s - w/2)) / w with theta the heading: the lateral acceleration v^2 k rises over the wheelbase where a constant-radius curve begins, over the clothoid where one has it, and its rate, the lateral jerk 2 v a k + v^3 dk/ds, is what the clothoid takes down.

The rollers carry the attraction F_a less the centrifugal force m v^2 k across the track (the mover sits outside the curve, so the centrifugal force pulls it off the coils) and the weight m g along the rollers’ other axis: guide load sqrt((F_a - m v^2 k)^2 + (m g)^2). Above m v^2 k = F_a the mover lifts off its rollers (mover.<k>.liftoff_ratio). The mass centre sits mass.centre_offset_m = e outside the centre line (0 ships, the drawn mover is 35 mm out): it runs on R + e at v (1 + e k), the lateral acceleration is v^2 k (1 + e k) and the mass m (1 + e k)^2.

The coils (MoverTrack): a mover’s current is that of its force, I = F / k_t less what saturation takes towards the maximum current (DriveParams::current_for), and it flows in the coils under its magnet plate, shared among the segments by the plate’s length on each. A segment’s current is the sum of |I| of the movers on it in those shares; its copper loss R I^2 per mover in those shares (R the coil set under one mover, motor.resistance_ohm). Each segment warms with its loss through one thermal resistance and time constant (segment.temperature_rise); the verdict judges the rise it settles at, the loss averaged over about one pass of the cycle times the thermal resistance: several movers stopping on one segment heat it.

The cycle is an electronic cam ([cam], track.cycle): “index” moves every mover on by one station pitch L / n (track.index_law) and stands it at its station for the rest of the period, at track.index_rate_hz; “flying” runs each mover once round the loop per n products of a conveyor (the master, m), synchronous with it over track.process_length_m and back to the start of the process along the rest of the loop, the movers a product apart. With cam.run = false (default.toml, as the crank and cam machines ship) the config’s [[cycle.segment]] move the movers instead, as on every machine; flying.toml runs its cam, and --set cam.run=true the index cam.

Structs§

Cycle
The cycle’s cam: every mover’s (Movers::cam_at), its master and which cycle it is; pitch the master’s travel between neighbouring movers (“flying”), 0 where all run the same cam (“index”).
MoverTrack
The machine: the movers’ JointMachine, with the coils’ currents and the segments’ warmth around it.
Movers
The load the JointMachine drives: the movers on the track.
Track
The closed track’s centre line: straight 1 from the origin along +x, curve 1, straight 2 back along -x at the track’s width, curve 2; and its motor segments (each straight cut into modules, each curve one).

Enums§

Kind

Constants§

FLYING_CONFIG
The flying-process cycle: the default config with track.cycle = "flying" and its start poses (a test keeps the two files the same but for those). Load it as a whole config with --config.
LOSSY_EFFECTS
Effects that take energy out or put it in; the standard suite runs with them off.
MAX_MOVERS

Statics§

ENTRY

Functions§

lossless_config
The default config with every loss switched off.