Expand description
Mechanical components: belt, guide friction, shaft friction, gearbox, torque ripple, tooth meshing, hard stops, cable chain, holding brake. Each reads its own parameters and its own switch from the config and knows no machine.
Structs§
- Belt
- A toothed belt. A section is the belt between two points that hold it (a driven pulley or a clamp); idlers in between are free, so the tension is the same along the whole section.
- Cable
Chain - A cable chain along an axis, fixed at the x = 0 end: half of every metre the carriage travels joins the run that moves with it. It drags with a constant force. All zero with the effect off.
- Gear
Drag - A gearbox’s no-load running torque at its input (gearbox makers’ T0 or T012): what it takes to turn the gearbox with nothing on its output, from the churning of its lubricant, its bearings and its seals. Makers quote it at a reference input speed and 20 °C (Neugart: average idle torque; B&R’s 8G planetary gearboxes: “at 20 °C and 3000 rpm”). It scales with speed and the lubricant’s viscosity by Palmgren’s law: T0(n, nu) = T0_ref (nu / nu_ref * |n| / n_ref)^(2/3). Zero with effects.gearbox_drag off and on a coupling.
- Gear
Torque - Gearbox
- Gearbox between motor shaft and pulley: ratio, torsional stiffness, backlash as a dead zone, efficiency. Stiffness, damping and backlash are given at the output side.
- Hard
Stop - End stops of an axis whose stroke runs from 0 to
stroke: a spring and a damper at both ends that act only beyond it. - Holding
Brake - Holding brake on a motor shaft, engaged while the drives are disabled. A machine keeps one state per brake, its deflection s.
- Lugre
- LuGre friction contact: Coulomb, viscous, stiction and the Stribeck drop between them, with one internal state s (the bristle deflection).
- Ripple
- Position-dependent motor torque: ripple proportional to the torque, cogging independent of it.
- Section
Force - Shaft
Friction - Motor and bearing friction on the shaft, with what the gearbox’s input adds to it: a Coulomb level that breaks away
from a higher stiction level along a Stribeck curve (effects.motor_stiction), viscous friction, and the gearbox’s
no-load running torque (
GearDrag). The Coulomb step is smoothed with tanh so a shaft at rest sees no chattering torque. - Thermal
Feedback - With effects.thermal_feedback: what the temperatures of the parts do to friction, gearbox losses and belt
stiffness. The config’s values hold at
reference(gearbox makers quote their no-load torque at 20 °C); the machine stands in air atambient, and a part is at ambient plus its rise (effects.part_heating; without it the rises stay 0). - Tooth
Jump - With effects.belt_tooth_jump: the belt’s teeth jump over a driven pulley.
- Tooth
Mesh - Tooth meshing: a small periodic force at the tooth-pass frequency.
- Travel
Compliance - A ball screw shaft’s axial compliance as the nut travels (effects.screw_stiffness_with_position): the shaft between
the fixed bearing and the nut, a / (E A) with the nut
afrom it, or a (L - a) / (E A L) where both ends hold it axially (fixed-fixed); a = |q - fixed_bearing_at| for the joint’s travel q. The gear’s springs were put in series with the screw atreference(m/N, the shaft’s compliance there); at q they are in series with the difference too (Gearbox::at). The nut’s distance is clamped astransmission::BallScrew::stiffnessclamps it.
Constants§
- BRISTLE_
RATE_ MAX - The fastest the bristles of a friction contact settle, 1/s. The bristle state settles at the rate sigma0 |v| / level, which a stiff bristle on a light contact at speed takes beyond what the integrator can follow (1e6 N/m, 12 N and 2.5 m/s: 2.1e5 1/s, against a limit of 2.8 over the 15.6 us step = 1.8e5 1/s for RK4): the friction force then grew without bound. No config shipped reaches the cap with its own values.
- DRAG_
EXPONENT - The exponent of the no-load running torque on viscosity times speed: Palmgren’s law for the drag of rolling bearings running in oil, M0 ~ (nu n)^(2/3) (SKF’s rolling bearing catalogue, the drag term f0 (nu n)^(2/3) dm^3), which the planet bearings and the churning of a gearbox follow.
- JUMP_
STATES - States per driven pulley with effects.belt_tooth_jump: the slip of the belt over the pulley u (m of belt, a whole number of pitches while the teeth are in mesh), its rate, the direction of a jump under way (+1, -1; 0 while in mesh), u where the jump began, the jumps counted, and the ridge force of the jump under way.
- MESH_
STIFFNESS - The mesh friction’s bristle stiffness over K1 where
gearbox.mesh_stiffness_factoris absent: K1 itself, as the hysteresis’s Dahl stiffness (gearbox.hysteresis_stiffness_factor). Presliding then takes mu of the gear’s twist under the same torque (20 % at an efficiency of 0.8), and the friction a reversal of 2 mu of an amplitude to turn round, which lowers the damping of a small ring below the friction law’s (see the tests). The energy budget does not choose it: with the friction booked as its whole power the belt axes, whose light pulleys stick to the housing first, close their passes at K1, 3 K1 and 10 K1 alike (the one-axis belt drive under 1e-6 unaccounted, gearbox loss 3.04659 J at all three; the T-shaped belt gantry 4e-6, 8.70004, 8.70027 and 8.70029 J; with the friction off 3.04944 and 8.82445 J). (The 1.4 and 2.0 % they missed at 10 K1 were the earlier bookkeeping’s, of the store’s rate.) - STOP_
SUBSTEPS - The parts a sub-step is cut into where a stop is met within the base step (
HardStop::met_within). The stop’s damper takes hold at once as the axis touches, a step in the force that a sub-step across it integrates with an error in steps at each contact, falling with about the third power of the sub-step: an arm’s upper link, swinging into its joint’s stop with a bending link and parallelogram bars, kept its energy to 1.3e-5 J of 2.8 mJ over 10 s at the 15.6 us sub-steps, 3.2e-7 J cut by 4 and 5.3e-9 J by 16 (1.8e-8 J with the stops off); three carriages pulsed into their stops, on springs alone, 7.7e-9 J, 2.6e-11 J cut by 16. An axis resting in a stop is cut all the while.
Functions§
- drive_
excitations - The frequencies one drive excites the belt with, Hz: the tooth mesh |v| / p at the pulley (v its belt speed), and with effects.torque_ripple the motor’s ripple and cogging orders times its turns per second.
- fade_
substeps - The sub-steps a sub-step
h(s) is to be cut into, at least 1, for a switch’s damperdamping(Gearbox:: fade_damping) on the inertiajits gear drives (kg m^2, or kg on a travel): c h’ / J withinFADE_KAPPA. - series_
dampers - Two damped springs in series with a massless node between them (
transmission::Converter::apply_back): the gear’s K_g with c_g across it alone, the converter’s K_c with c_c across it alone. Beside their series spring they are a damper b = c_g c_c / C and a Maxwell arm K_m = (K_g c_c - K_c c_g)^2 / (S C^2) of time constant tau = C / S, with S = K_g + K_c and C = c_g + c_c: (b, K_m, tau). All 0 where neither has a damper. - settled_
loss - A rigid solve’s loss factors (
Gearbox::loss_factor) at their fixed point: each is taken of the torque going into its gearbox, which depends on the acceleration the factors give, sonextgives the factors at the acceleration solved withloss, fromstart(all 1, loss-free) until they settle to rounding. The efficiency’s fade over the power is weak (each round takes some 0.1 of what is left, on the linkage at 0.01 m/s), so a few rounds do; a loss-free one settles in one. - span_
detuning - How far a span’s first mode is from the nearest excitation, as a share of the mode: min |f1 - f_e| / f1. 1 for a slack span or none.
- span_
frequency - First transverse mode of a free belt span as a string: f1 = sqrt(T / mu) / (2 L). The belt’s own speed lowers it by the factor 1 - v² / c² (c = sqrt(T / mu)), below 0.2 % at the speeds and tensions here, left out. 0 for a slack span.
- wrap_
angle - The angle (rad) by which a belt wraps a pulley of radius
r(effects.belt_wrap), the pulley’s centre at the origin and its two spans leaving towards +x, one over the top, one under the bottom. Each span runs to the next wheel, given as (d, h, r2): its centre d along +x and h out on the span’s own side (up for the upper span, down for the lower), and its radius r2, positive where pulley and wheel lie on either side of the belt (an inner tangent), negative where on the same side (an outer tangent), 0 for a clamp. A span leans away from the pulley by atan2(h, d) - asin((r + r2) / D), D the distance of the centres (0 for a span that leaves level), and takes as much off the half turn: wrap = pi - lean_upper - lean_lower.