Expand description
Pneumatic cylinders beside the servo axes: a double-acting cylinder moved by a directional valve, not by a drive.
attach puts the cylinders of a config on any machine; each brings states of its own after the machine’s, its
signals (cylinder.<id>.*) and its checks (cushion-energy, load-factor). The cycle commands it by its valve
(a segment’s valves) and waits for its end-position sensors (a segment’s wait), see control.
The model (docs/model-reference.md, “Pneumatic cylinder”):
- Two chambers, cap side (1, area A1 = pi D^2 / 4) and rod side (2, A2 = A1 - pi d^2 / 4), each a control volume of
an ideal gas (R = 287.058 J/(kg K), kappa = 1.4) with its mass m and internal energy U as states:
V1 = V01 + A1 x, V2 = V02 + A2 (s - x), p = (kappa - 1) U / V, T = p V / (m R),
dm/dt = mdot, dU/dt = h_in mdot + Q - p dV/dt, h = cp T of the gas that flows (the port’s going in, the chamber’s
going out), Q = alpha A (T_wall - T) (
heat_transfer_w_k). alpha A = 0 is adiabatic; alpha A large against m cv / (the process’s time) is isothermal: the two limits. - Every flow path an ISO 6358 element of sonic conductance C and critical pressure ratio b: mdot = C p_up rho0
sqrt(T0 / T_up) psi, psi = 1 at p_down / p_up <= b (choked), sqrt(1 - ((r - b) / (1 - b))^2) above; rho0 =
1.185 kg/m3 and T0 = 293.15 K (ANR, ISO 8778). Elements in series (valve, tube, throttle) combine to
C = (sum C_i^-3)^(-1/3) and 1 - b = C^2 sum (1 - b_i) / C_i^2: the second keeps the sum of the pressure drops at
small drops, where the elliptic law is dp ~ mdot^2 (1 - b) / C^2 (
Flow::series). - A 5/2 valve (or a 5/3 with a closed centre) that switches
valve_switch_time_safter its command; inflow through valve and tube (the throttles’ and the cushions’ check valves open), outflow also through the meter-out throttle of that chamber, or within the cushion length of its end through the cushion’s bleed screw behind that throttle. - The piston: (m + payload) dv/dt = p1 A1 - p2 A2 - p_atm (A1 - A2) - F_load - m g sin(incline) - F_seal + F_stop,
the seal’s friction a Stribeck curve whose Coulomb level rises with the chambers’ mean gauge pressure, the end
stops
mech::HardStop(elastic bumpers).
shortcut: the flow law’s last 0.5 % before the pressures meet is a straight line through zero (LINEAR), not
the root: the root’s slope is infinite there, which no fixed step integrates. ISO 6358-3 has a laminar region of
its own there; take it in if a test against measured data ever needs the last 0.5 % of a pressure.
The cylinder rides on the machine without acting back on it: its weight and its reaction are in the masses of the
machine’s body that carries it. That is exact only for a cylinder at right angles to the linear axes that carry it
and on no rotary one, so attach checks it (along_carrying_axis): a cylinder extends in the x-z plane at
incline_deg above x, direction (cos, 0, sin), and a file whose cylinder has a component along the direction of a
linear axis that carries it, or rides on a rotary axis, is refused.
Structs§
- Cylinder
- A double-acting cylinder with its valve, throttles and cushions (see the module’s text).
- Cylinder
Node - The cylinder nodes of a machine file: id, translation key and the path of its table.
- Flow
- One ISO 6358 flow element: sonic conductance C, m^3/(s Pa) (ANR), and critical pressure ratio b.
- Flows
- What the flows are at a state: into chamber 1 and 2 (kg/s), and the supply’s and the exhaust’s share.
- Pneumatic
- A machine with pneumatic cylinders beside its axes. Its state is the machine’s, then
STATESper cylinder.
Constants§
- AIR
- CP
- CV
- DM3_
S_ BAR - A catalogue’s dm^3/(s bar) in m^3/(s Pa).
- EFFECTS
- The effect switches a file with cylinders has beside the shared ones.
- HEAT
- H_IN
- H_OUT
- KAPPA
- LOSS
- R
- Gas constant of air, J/(kg K), and its ratio of specific heats.
- RHO0
- ANR reference (ISO 8778, the reference of ISO 6358): density and temperature.
- SIGNALS
- The cylinder’s signals, after
cylinder.<id>., with their quantity keys (quantity-cylinder-<name>) and units. - STATES
- States per cylinder: position, speed, mass and internal energy of the cap and the rod chamber, then running totals for the balances: air drawn from the supply (kg), enthalpy from the supply and to the exhaust (J), heat from the wall (J), work lost to seal friction and the stops’ dampers (J).
- T0
- TABLE
- The keys of a cylinder’s table (
valuesof a[[machine.cylinder]]), with placeholder values: what a machine file’s schema adds for each cylinder. docs/config-reference.md tells them.