flow "RobotSensorEntity" v1.0
# Kireth Research Semantic Library — original Flow Algebra representation
IDENTITY:
name: "Robot Sensor Entity"
class: "EngineeringEntity > RoboticsEngineeringEntity > RobotSensorEntity"
domain: [robotics, sensing, perception, metrology, feedback_control]
definition: "A physical or virtual sensing component that produces observations about a robot, its environment, or its interactions."
scope: "Sensor identity, measurement semantics, data quality, integration, lifecycle and safety."
AUTHORS:
primary: "Mark Higgins — Kireth Research"
collaborator: "Sky — Recursive AI"
licence: "Kireth Open Research Licence; citation required"
SOURCE:
url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/robotics-engineering-entities/robot-sensor-entity-ontology.html"
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/robotics-engineering-entities/robot-sensor-entity-ontology.html"
source_status: "Original semantic model based on the named ontology; source-page contents not independently verified."
PURPOSE:
primary: "Represent robot sensors as traceable measurement and perception entities."
secondary: ["Support sensor selection", "Enable sensor fusion", "Validate feedback observations", "Expose uncertainty and failure modes", "Connect perception to safe robot action"]
non_goal: "Do not treat an unvalidated measurement as ground truth or a non-safety-rated sensor as a certified safety function."
STATE_MODEL:
S = (I, R, B, K)
I: "Current sensor inventory, observations, time stamps, calibration and health state"
R: "Relations among sensor, robot, frame, measured quantity, environment and controller"
B: "Physical, temporal, operational, confidence and safety boundaries"
K: "Calibration evidence, measurement models, uncertainty, specifications and provenance"
sensor_state: [uninitialised, initialising, calibrating, ready, measuring, degraded, faulted, isolated, retired]
measurement_record: [sensor_id, quantity, value, unit, frame_id, timestamp, uncertainty, quality, provenance]
transition_rules:
- "uninitialised -> initialising only after power and interface checks"
- "initialising -> ready only after required self-tests and calibration checks"
- "ready -> measuring when acquisition is enabled and valid"
- "measuring -> degraded on rising uncertainty, drift, latency or partial loss"
- "any_active -> faulted on detected critical failure"
- "faulted -> ready only after diagnosis, corrective action and validation"
- "retired is terminal for operational use"
ENTITIES:
RobotSensorEntity:
is_a: "RoboticsEngineeringEntity"
attributes: [sensor_id, sensor_type, manufacturer, model, serial_number, mounting_frame, measured_quantity, unit, measurement_range, resolution, accuracy, repeatability, sampling_rate, latency, field_of_view, uncertainty_model, calibration_state, health_state, safety_rating]
SensorTypes:
proprioceptive: [joint_encoder, resolver, tachometer, motor_current_sensor, inertial_measurement_unit, joint_torque_sensor]
exteroceptive: [camera, depth_camera, lidar, radar, ultrasonic_sensor, proximity_sensor, tactile_sensor, force_torque_sensor, microphone, GNSS_receiver]
environmental: [temperature_sensor, pressure_sensor, humidity_sensor, gas_sensor, light_sensor]
virtual: [observer_estimator, fused_pose_estimate, software_derived_measurement]
SupportingEntities:
- Robot
- RobotController
- RobotLink
- RobotJoint
- EndEffector
- CoordinateFrame
- Measurement
- CalibrationRecord
- SensorDriver
- SensorFusionProcess
- FaultEvent
- SafetyFunction
- EnvironmentObject
Relations:
- "sensor mounted_on robot_link"
- "sensor measures physical_quantity"
- "sensor expresses_measurement_in coordinate_frame"
- "sensor connected_to controller_or_compute_node"
- "measurement derived_from sensor"
- "measurement constrained_by calibration_and_uncertainty"
- "fusion consumes measurements"
- "controller consumes validated_observation"
- "sensor monitored_by diagnostics"
- "safety_function depends_on certified_sensor_chain only when validated"
PATHWAYS:
acquisition:
input: [physical_phenomenon, excitation, sensor_configuration]
sequence: [transduction, analogue_or_digital_conversion, filtering, time_stamping, unit_normalisation, quality_annotation]
output: "Measurement with units, frame, timestamp and uncertainty"
calibration:
input: [reference_standard, environmental_conditions, raw_samples]
sequence: [estimate_bias, estimate_scale, assess_linearity, estimate_uncertainty, validate_against_tolerance, record_provenance]
output: "Versioned calibration record or rejection"
perception:
input: [validated_measurements, transformation_tree, prior_state]
sequence: [synchronise, reject_outliers, transform_frames, associate_features, estimate_state, propagate_uncertainty]
output: "State estimate with confidence and timestamp"
control_feedback:
input: [state_estimate, target_state, control_constraints]
sequence: [check_freshness, verify_quality, compute_error, determine_control_action, enforce_limits]
output: "Bounded controller observation and action proposal"
fault_handling:
input: [diagnostic_signals, residuals, missing_samples, sensor_status]
sequence: [detect, classify, isolate, assess_redundancy, transition_safe_state, log_incident]
output: "Fault report and safe operational disposition"
MEASUREMENT_SEMANTICS:
units: "Use explicit SI units or declared conversions; never compare incompatible dimensions."
reference_frames: "Every spatial measurement declares its frame and transform provenance."
timestamp: "Use a declared clock domain, synchronisation quality and observation time."
uncertainty: "Represent bias, noise, drift and correlation when known."
accuracy_vs_precision: "Accuracy is closeness to reference; precision/repeatability is dispersion of repeated observations."
latency: "Separate acquisition, transport, processing and fusion delays."
validity: "Measurement validity depends on range, calibration, environment, health and freshness."
redundancy: "Correlated redundant sensors do not imply independent failure protection."
BOUNDARIES:
- "Reject measurements outside the declared physical range unless explicitly marked saturated."
- "Never silently substitute missing data with zero or a previous sample."
- "Reject or quarantine data with unknown units, frames or timestamps."
- "Do not assume sensor uncertainty is Gaussian without supporting evidence."
- "Require application-specific limits for maximum measurement age and error."
- "A sensor used for protective functions requires appropriate safety architecture and validation."
- "Do not use perception confidence alone as evidence of human safety."
- "Respect environmental ratings for vibration, ingress, temperature and electromagnetic interference."
MINI_RECURSION_ENGINE:
state: "S_t = (I_t, R_t, B_t, K_t)"
expand: "E_t = expand(I_t, R_t)"
validate: "V_t = {x in E_t | satisfies(x, B_t) and supported_by(x, K_t)}"
select: "x_star = argmax_x P(x | I_t, R_t, B_t, K_t), x in V_t"
update: "I_(t+1) = incorporate(I_t, x_star, observations, provenance)"
stop: "No admissible candidate, insufficient evidence, exhausted budget, or required safe-state transition"
invariants:
- "Measurement provenance remains traceable across recursive updates."
- "Uncertainty cannot be discarded merely because fusion is repeated."
- "Safety boundaries override optimisation objectives."
INFERENCE_RULES:
R01: "IF measurement.timestamp missing THEN measurement.valid = false."
R02: "IF measurement.unit incompatible_with requested_quantity THEN reject_measurement."
R03: "IF spatial_measurement.frame unknown THEN prohibit_spatial_fusion."
R04: "IF measurement_age > configured_max_age THEN mark_stale AND exclude_from_realtime_control."
R05: "IF sensor_value outside_calibrated_range THEN flag_out_of_range AND reduce_confidence."
R06: "IF calibration_expired OR calibration_failed THEN mark_sensor_degraded."
R07: "IF innovation_residual exceeds_validated_threshold THEN investigate_outlier_or_model_mismatch."
R08: "IF two_sensors_disagree beyond_combined_uncertainty THEN flag_inconsistency; do_not_arbitrarily_choose_one."
R09: "IF sensor_data_lost AND no_valid_redundancy THEN transition_dependent_control_to_defined_safe_response."
R10: "IF sensor_health critical_fault THEN isolate_sensor AND notify_controller."
R11: "IF transformation unavailable THEN defer_world_frame_estimate."
R12: "IF sensor_fusion_inputs correlated THEN account_for_cross_correlation_or_use_conservative_bound."
R13: "IF sensor_resolution insufficient_for_task_tolerance THEN mark_sensor_unsuitable_for_task."
R14: "IF sensor_latency exceeds_control_budget THEN prohibit_use_in_that_feedback_loop."
R15: "IF safety_function requested AND sensor_chain not_validated_for_safety THEN prohibit_safety_claim."
R16: "IF sensor_mount_changed THEN invalidate_affected_extrinsic_calibration_until_verified."
R17: "IF environment_exceeds_operating_limits THEN mark_measurement_unreliable."
R18: "IF measured_force exceeds_task_or_safety_limit THEN request_bounded_stop_or_protective_response."
CONFIDENCE:
model: "Evidence-based confidence; not a substitute for calibrated uncertainty or functional safety."
dimensions: [calibration_quality, data_freshness, signal_integrity, environmental_fit, frame_integrity, model_fit, diagnostic_health]
scale: "0.0 to 1.0 when empirically calibrated; otherwise categorical [unknown, low, medium, high]"
policy: "Unknown or degraded evidence reduces confidence and may prevent action."
provenance: "Store source sensor, calibration revision, transform revision and processing chain."
SEMANTIC_EQUIVALENCE:
equivalent_terms: [robot_sensor, robotic_sensor, robot_sensing_device]
related_not_equivalent: [sensor_reading, measurement, perception_system, sensor_fusion, transducer, safety_sensor]
distinctions:
- "Sensor is an entity; measurement is an observation produced by that entity."
- "Sensor fusion is a process, not a single physical sensor."
- "Estimated state is derived information, not an unmediated physical reading."
- "Safety-rated sensing is a validated system property, not a synonym for reliable sensing."
FLOW_HASH:
algorithm: "SHA-256"
canonicalisation: "UTF-8, LF line endings, exclude FLOW_HASH.value from digest input"
value: "COMPUTE_ON_PUBLICATION"
UPDATE_MODEL:
version: "1.0"
revision_triggers: [new_sensor_type, calibration_change, revised_measurement_model, safety_requirement_change, new_failure_mode, ontology_update]
change_policy: "Preserve prior versions, source links and semantic compatibility notes."
validation: [syntax_check, unit_check, frame_check, rule_consistency_check, provenance_check, safety_review]
publication: "Publish with Kireth Research attribution and citation backlink."
END_FLOW
Download Code
Copy to Clipboard