Expand description
The machine interface: the one trait a kinematics has to implement.
Structs§
- Axis
Info - A tool-side axis.
keyis a translation key,idis used in signal ids and config paths. - Belt
Section - A belt section for the belt view: the id its signals start with,
<id>.tension(N) and<id>.stretch(m, its length less that of its belt unstretched), who it is as a translation key, and the tension it has at rest. - CamMaster
- The master of an electronic cam that a machine runs as its cycle instead of
[[cycle.segment]](Machine::cam): its steady speed (its unit per second), its travel per pass of the cycle, and how long it takes from rest to that speed and back (a sin^2 ramp,sim_components::cam::master_at). - Frame
Momentum - What everything that moves on a machine’s base does to it, for effects.base_compliance (
Machine::frame_momentum). In the frame of the tool pose’s x, y and z (m; an axis the machine lacks stands at 0), about its origin. A part whose mass does not change may leave out what of it does not move (its mass at a joint, the frame’s own): the base takes the load against that at rest at the start pose, so a constant cancels. - Friction
Contact - A friction contact with a Coulomb, viscous and Stribeck model, for the friction view: the id its signals start
with (see
FRICTION_SIGNALS) and who it belongs to, as a translation key. - Machine
Entry - One line of the registration list.
- Mode
- A structural mode of a machine at a pose, from
Machine::modes. - Motor
Info - Rating
Check - A rating of one of the machine’s own parts that the cycle is judged against (
Machine::rating_checks), beside the checks every machine gets from its motors, drives, gearbox, guides and belts. The analysis follows the signalsignal(one ofsignal_infos, among the base signals) over the measured pass. - Signal
Info - One scope trace and one PLC variable. The label is built from two translation keys.
- Thermal
Part - A part that warms with one of the machine’s loss powers,
power.<id>, with effects.part_heating: of which kind (THERMAL_KINDS), who it belongs to as a translation key, and which part of the scene shows it: thescene_index-th part with the idscene_part. - Train
- A motor’s elastic drive train as the time-optimal plan allows for it (
Machine::trains), reduced to two masses on a spring: the rotor’s side and the load’s, referred to the motor.
Constants§
- BASE_
AXES - The tool axes a base’s motion moves (
Machine::base_shift): those with these ids, by translation [x, y, z] and by tilt about [x, y, z]. - ENERGY_
PARTS - The machine’s energy split, as the signals
energy.<part>(J), quantity keysquantity-energy-<part>. They add up toMachine::energy. - FRICTION_
SIGNALS - What the signals of a friction contact end with, after its id (
<id>.friction_<part>): its sliding speed, its force split into Coulomb, viscous and stiction parts (they add up to the signal<id>.friction), and the factor its levels are scaled with by the load. - LOSS_
PREFIX - Signals whose id starts with this are powers lost (W) in one place of the machine: a friction contact, a damper,
the gearbox. Together with the energy signals they close the machine’s energy balance: the work of the motor
torques equals the change of
energy.*plus the time integral of everypower.*. - TEMPERATURE_
PREFIX - What the simulation calls the temperature rise of a
ThermalPart(temperature.<id>, K). - THERMAL_
KINDS - The kinds of part that can warm with their loss power (
ThermalPart); each has the config keysthermal.<kind>_resistance_k_w,thermal.<kind>_time_constant_sandthermal.<kind>_max_rise_k, and the quantity keyquantity-<kind>-temperature. - TORQUE_
PARTS - The parts of a motor’s torque that a machine can report as the signals
motor.<id>.torque_<part>(N m), with the quantity keysquantity-torque-<part>: what accelerates the moved masses and the rotors, what holds them against gravity, what friction takes (guides, shafts, gearbox losses, idlers, cable chain), and the rest (belt elasticity and vibration, ripple, tooth meshing, process force, end stops). The rest is the motor torque less the other three, so the four add up to the motor torque.
Traits§
Functions§
- tool_
force_ on_ rates - The generalised force of a force on the contact coordinates (
Machine::set_tool_force, by default the tool’s) on each of the state’s ratesrates: its virtual power per unit of each rate, F . d v / d s_j, with their rates v ascontact_stategives them, linear in the state’s rates (a unit step on each is exact). Its power on the rates is then F . v, what the simulation books as the obstacles’ work.Nonewhere the force is zero.
Type Aliases§
- CamCurve
- An electronic cam’s curve as
Machine::cam_atreads it, on its own (Machine::cam_curve): each slave at a master position, as [s, s’, s’‘, s’‘’].