Skip to main content

Pneumatic Cylinder Ontology

Pneumatic Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 16 November 2026
Audio Overview
FLOW ALGEBRA — PNEUMATIC CYLINDER ONTOLOGY
Version: 1.1
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/pneumatic-entities/pneumatic-cylinder-ontology.html
Source revised: 04 August 2026
Generated: 16 November 2026
Status: Original semantic interpretation; not a verbatim extraction of the source's downloadable code.
Licence: Refer to the source's published Open Research Licence for reuse conditions.

flow "PneumaticCylinderOntology" v1.1

# ---------- PURPOSE ----------
PURPOSE:
  Model a pneumatic cylinder as an actuator that converts the energy
  of compressed gas into controlled linear mechanical movement.
  Distinguish observed behaviour, calculated estimates, and faults.

# ---------- ENTITY IDENTITY ----------
ENTITY PneumaticCylinder:
  is_a -> PneumaticActuator
  part_of -> PneumaticSystem
  receives -> CompressedAir
  produces -> LinearDisplacement
  produces -> LinearForce
  governed_by -> Pressure, PistonArea, Friction, Load, Stroke

ENTITIES:
  CylinderBarrel -> contains -> Piston
  Piston -> separates -> ChamberA, ChamberB
  PistonRod -> transmits -> MechanicalForce
  EndCap -> closes -> CylinderBarrel
  Seal -> limits -> Leakage
  PortA -> connects -> ChamberA
  PortB -> connects -> ChamberB [when double_acting]
  DirectionalControlValve -> routes -> CompressedAir
  FlowControlValve -> influences -> ActuationSpeed
  PositionSensor -> observes -> RodPosition [optional]
  EndCushion -> moderates -> EndOfStrokeImpact [optional]

# ---------- STATE MODEL ----------
STATE_MODEL:
  S(t) = (I(t), R, B, K)
  I(t) = observed cylinder and pneumatic conditions at time t
  R = transition and inference rules
  B = physical, design and safety boundaries
  K = known component specifications and validated observations

STATE_VARIABLES:
  pressure_A : Pa
  pressure_B : Pa
  piston_area_A : m^2
  piston_area_B : m^2
  rod_position : m
  rod_velocity : m/s
  stroke_limit : m
  load_force : N
  friction_force : N
  temperature : K
  valve_command : {extend, retract, hold, vent}
  cylinder_state : {retracted, extending, extended, retracting,
                    holding, stalled, fault, unknown}

# ---------- PATHWAYS ----------
PATHWAY Extend:
  command.extend
    -> valve_routes_supply_to_A
    -> chamber_A_pressure_rises
    -> net_force_towards_extension
    -> rod_extends [if net_force exceeds opposing load and friction]
    -> extended [when end position is reached]

PATHWAY Retract:
  command.retract
    -> valve_routes_supply_to_B [double_acting]
    -> chamber_B_pressure_rises
    -> net_force_towards_retraction
    -> rod_retracts [if sufficient force]
    -> retracted [when home position is reached]

PATHWAY SingleActingReturn:
  supply_vented -> spring_or_external_load_returns_rod
  condition -> single_acting_design

PATHWAY Hold:
  valve_command.hold -> evaluate_leakage_and_load
  -> holding [only if position remains within tolerance]

# ---------- PHYSICAL RELATIONS ----------
RELATION NetExtensionForce:
  F_net = pressure_A * piston_area_A
          - pressure_B * piston_area_B
          - opposing_load_force - friction_force
  note -> pressures must be consistent gauge or absolute differences

RELATION IdealVelocity:
  v = Q / A
  condition -> volumetric_flow_Q defined at chamber conditions
  note -> compressibility, leakage and dynamics modify actual velocity

RELATION PositionBoundary:
  0 <= rod_position <= stroke_limit

RELATION GasBehaviour:
  p * V = m * R_specific * T
  condition -> ideal-gas approximation applicable

# ---------- INFERENCE RULES ----------
RULE R01:
  IF command = extend AND F_net > 0 AND rod_velocity > 0
  THEN infer cylinder_state = extending

RULE R02:
  IF command = retract AND rod_velocity < 0
  THEN infer cylinder_state = retracting

RULE R03:
  IF command = extend AND rod_position >= stroke_limit - tolerance
  THEN infer cylinder_state = extended

RULE R04:
  IF command = retract AND rod_position <= tolerance
  THEN infer cylinder_state = retracted

RULE R05:
  IF motion_commanded AND abs(rod_velocity) <= velocity_tolerance
     AND measured_pressure_is_sufficient
  THEN flag possible_stall_or_mechanical_obstruction

RULE R06:
  IF position_drift_when_holding AND no_motion_command
  THEN flag possible_leakage_or_external_load_movement

RULE R07:
  IF pressure_exceeds_rated_limit
  THEN flag overpressure_fault AND require_safe_response

RULE R08:
  IF rod_position_outside_valid_range
  THEN flag sensor_or_model_inconsistency

# ---------- MINI RECURSION ENGINE ----------
MINI_RECURSION_ENGINE:
  I(t) -> observe pressures, position, command, load
  E(t) = expand(I(t), R)
  V(t) = filter(E(t), B, K)
  candidate(t) = argmax P(x | I(t), R, B, K)
  I(t+1) = update(I(t), candidate(t), new_observations)
  repeat -> until stable, fault_detected, or iteration_limit
  guarantee -> no inferred state overrides an observed safety violation

# ---------- SEMANTIC EQUIVALENCE ----------
SEMANTIC_EQUIVALENCE:
  pneumatic_ram ~ pneumatic_cylinder [context_dependent]
  air_cylinder ~ pneumatic_cylinder
  linear_pneumatic_actuator ~ pneumatic_cylinder [when linear]
  hydraulic_cylinder != pneumatic_cylinder
  cylinder_position != valve_position

# ---------- VALIDATION ----------
VALIDATION:
  pressure_units -> Pa
  force_units -> N
  displacement_units -> m
  temperature_units -> K
  area_units -> m^2
  require -> positive_piston_area
  require -> nonnegative_stroke_limit
  require -> pressure_within_component_rating
  require -> consistent_port_and_actuation_configuration
  reject -> negative_absolute_pressure
  unknown -> retain uncertainty rather than inventing readings

# ---------- CONFIDENCE ----------
CONFIDENCE:
  measured_sensor_state -> high_when_calibrated_and_current
  physically_derived_state -> conditional_on_model_assumptions
  inferred_fault_cause -> provisional_until_diagnosed

# ---------- UPDATE MODEL ----------
UPDATE_MODEL:
  trigger -> new_sensor_data | design_revision | calibration_change
             | component_replacement | validated_fault_report
  action -> revise K, re-evaluate R and B, record provenance
  preserve -> source attribution and prior version history

# ---------- CITATION ----------
CITATION_BACKLINK:
  https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/pneumatic-entities/pneumatic-cylinder-ontology.html

END FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ