Expand description
Crank and cam mechanisms, the core cases of a servo sizing tool, each a motor-driven joint
(sim_components::chain::JointMachine) that can run an electronic cam (sim_components::cam) as its cycle:
slider-crank: a crank, a connecting rod and a slider on a guide, as in presses and pushers (crank).rotary-knife: a knife roll cutting a moving web to format (knife).flying-saw: a saw on a carriage that runs with the material while it cuts and returns (saw).disc-cam: a cam disc turned by the servo lifting a roller follower on a slide against its spring (disc): the mechanical cam, its lift law, contact force and pressure angle.toggle-press: a crank pushing the knee of two links in line between the frame and the ram, a knuckle-joint press: the force amplification towards the links’ dead centre, the frame’s stretch, the force capacity over the stroke (toggle).geneva-driveandcam-indexer: a rotary indexing table stepped on a station per turn of its driver, by a Geneva wheel (its infinite jerk at the pin’s entry) or by a cam index drive with the modified sine (indexer): the contact force, the index accuracy in the dwell and the table’s settling after each index.
With cam.run = false (as shipped) the cycle is the config’s [[cycle.segment]], as on every machine: the crank
swings through its working stroke and back as a servo press in pendulum mode does, the knife indexes, the saw’s
carriage moves. With cam.run = true the controller runs the mechanism’s cam instead: the master (virtual, or the
web or material) comes up to speed in cam.ramp_s and the slave follows; one pass is one master period.
Each has its config in config/: config/common.toml with what all share, then the machine’s file; beside it
<id>-cam.toml, the same config with cam.run = true, a whole config to load.
Structs§
Enums§
- Drive
- How the driver moves the wheel.
Constants§
- LOSSY_
EFFECTS - Effects that take energy out or put it in; the standard suite runs with them off.
Statics§
Functions§
- lossless_
config - The default config with every loss switched off.
- modified_
sine - The modified sine over u in [0, 1]: its lift s, ds/du and d2s/du2 (VDI 2143; peak d2s/du2 4 pi^2 / (4 + pi) = 5.528 at u = 1/8 and 7/8, peak ds/du 4 pi / (4 + pi) = 1.760 at u = 1/2): a quarter sine of acceleration over the first and last eighth, a half sine of a third of its frequency between.