Skip to main content

DC Motor Ontology

Electrical Machine Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 17 November 2026
Audio Overview
flow "DCMotorOntology" v1.0

# ---------- IDENTITY ----------
id: "engineering.electrical_machine.dc_motor"
type: "ElectricalMachineEntity"
category: "Electrical Machine Entities"
locale: "en-GB"

# ---------- AUTHORS ----------
authors: ["Mark Anthony Higgins", "Sky — Recursive AI"]
licence: "Kireth Research Open Research Licence — citation required"

# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/electrical-machine-entities/dc-motor-ontology.html"
source.title: "DC Motor Ontology"
source.revised: "2026-08-04"
source.relationship: "Newly constructed Flow Algebra interpretation; not a verbatim extraction"

# ---------- PURPOSE ----------
purpose: "Represent a DC motor as a stateful electromechanical energy converter, connecting electrical inputs, magnetic field, torque, shaft motion, losses, control and protection."
scope: ["brushed DC motors", "separately excited motors", "permanent-magnet DC motors", "series and shunt field arrangements"]
exclusions: ["assume every DC motor uses brushes", "assume constant flux under all operating conditions", "use this ontology as a certified protection design"]

# ---------- STATE_MODEL ----------
state S(t) = (I(t), R, B(t), K)
I(t): measured and estimated motor conditions
R: electromagnetic, mechanical and thermal relationships
B(t): operating limits, physical constraints and protective boundaries
K: motor topology, rated parameters, manufacturer data and validated observations

state.variables:
  supply_voltage_V: real?
  armature_current_A: real?
  armature_resistance_ohm: real?
  armature_inductance_H: real?
  back_emf_V: real?
  flux_Wb: real?
  angular_speed_rad_s: real?
  shaft_torque_Nm: real?
  load_torque_Nm: real?
  winding_temperature_C: real?
  commutator_condition: enum("normal", "worn", "arcing", "unknown")
  operating_mode: enum("off", "starting", "motoring", "generating", "braking", "fault", "unknown")
  protection_state: enum("healthy", "warning", "tripped", "unknown")

state.transition:
  expand(t) = expand(I(t), R)
  valid(t) = filter(expand(t), B(t), K)
  selected(t) = argmax(valid(t), confidence_and_consistency)
  I(t+1) = update(I(t), selected(t), observations(t+1))

# ---------- ENTITIES ----------
entity DCMotor: ElectricalMachine
entity Armature: ElectricalWinding
entity FieldSystem: MagneticFieldSource
entity PermanentMagnet: MagneticFieldSource
entity FieldWinding: ElectricalWinding
entity Commutator: ElectromechanicalSwitchingComponent
entity Brush: ElectricalContact
entity Rotor: RotatingComponent
entity Stator: StationaryComponent
entity Shaft: MechanicalPowerInterface
entity Bearing: MechanicalSupport
entity MotorController: ElectricalControlEntity
entity DCSource: ElectricalSource
entity Load: MechanicalLoad
entity ProtectionDevice: ElectricalProtectionEntity
entity TemperatureSensor: MonitoringEntity
entity SpeedSensor: MonitoringEntity

relation DCMotor.has_part -> Armature
relation DCMotor.has_part -> Rotor
relation DCMotor.has_part -> Stator
relation DCMotor.may_have -> Commutator
relation DCMotor.may_have -> Brush
relation DCMotor.has_field_source -> FieldSystem
relation FieldSystem.may_use -> PermanentMagnet
relation FieldSystem.may_use -> FieldWinding
relation DCMotor.drives -> Shaft
relation Shaft.transfers_power_to -> Load
relation MotorController.regulates -> DCMotor
relation ProtectionDevice.protects -> DCMotor

# ---------- PATHWAYS ----------
pathway "ElectricalToMechanicalConversion":
  input: [supply_voltage_V, armature_current_A, flux_Wb]
  process: ["energise armature", "develop electromagnetic torque", "rotate shaft", "transfer mechanical power"]
  output: [shaft_torque_Nm, angular_speed_rad_s]
  constraints: ["electrical ratings", "thermal ratings", "mechanical speed limit"]

pathway "BackEMFFeedback":
  when: operating_mode == "motoring"
  infer: back_emf_V ~= motor_constant_Ke * flux_Wb * angular_speed_rad_s
  note: "Ke must be defined consistently with the flux and unit convention"

pathway "ArmatureVoltageBalance":
  infer: supply_voltage_V = back_emf_V + armature_current_A * armature_resistance_ohm + armature_inductance_H * d(armature_current_A)/dt
  assumptions: ["lumped armature model", "brush voltage drop neglected or modelled separately"]

pathway "TorqueProduction":
  infer: shaft_electromagnetic_torque_Nm ~= motor_constant_Kt * flux_Wb * armature_current_A
  note: "Net shaft torque differs after friction and other mechanical losses"

pathway "MechanicalDynamics":
  infer: inertia_kg_m2 * d(angular_speed_rad_s)/dt = electromagnetic_torque_Nm - load_torque_Nm - loss_torque_Nm

pathway "PowerAndLosses":
  infer: electrical_input_W = supply_voltage_V * armature_current_A
  infer: shaft_output_W = shaft_torque_Nm * angular_speed_rad_s
  infer: armature_copper_loss_W = armature_current_A^2 * armature_resistance_ohm
  infer: efficiency = shaft_output_W / electrical_input_W
  require: electrical_input_W > 0 and operating_mode == "motoring"
  note: "Field power, brush, iron, windage and bearing losses must be included when applicable"

pathway "StartAndSpeedControl":
  input: [speed_setpoint, measured_speed, motor_ratings]
  process: ["validate command", "limit starting current", "adjust armature voltage or approved field control", "observe speed and temperature"]
  output: [controller_command, operating_mode]
  guard: "Do not weaken the field without validated overspeed protection"

pathway "FaultResponse":
  monitor: [armature_current_A, winding_temperature_C, angular_speed_rad_s, protection_state]
  detect: ["overcurrent", "stall", "overtemperature", "overspeed", "brush arcing", "loss of field where applicable"]
  action: ["raise diagnostic event", "request protective shutdown through rated hardware", "retain fault evidence"]
  guard: "Do not auto-reset a trip without approved safety logic"

# ---------- MINI_RECURSION_ENGINE ----------
engine "DCMotorReasoner":
  observe -> normalise_units -> identify_motor_type -> expand_relationships
  expand_relationships -> evaluate_constraints -> compare_evidence
  compare_evidence -> select_supported_inferences -> update_state
  update_state -> monitor_changes -> observe
  stop_when: ["evidence exhausted", "stable state", "safety boundary reached", "iteration limit reached"]
  on_missing_data: "return unknown and request rated or measured parameters"
  on_conflict: "preserve conflicting observations and lower confidence"

# ---------- INFERENCE_RULES ----------
rule "R01_Stall":
  if: angular_speed_rad_s ~= 0 and armature_current_A > rated_current_A and supply_voltage_V > 0
  then: infer("possible stall or excessive mechanical load")
  confidence: "conditional"

rule "R02_CopperHeating":
  if: armature_current_A increases and armature_resistance_ohm > 0
  then: infer("armature copper heating increases approximately with current squared")
  confidence: "high under fixed resistance"

rule "R03_BackEMF":
  if: flux_Wb approximately_constant and angular_speed_rad_s increases
  then: infer("back EMF increases")
  confidence: "high under model assumptions"

rule "R04_FieldLoss":
  if: field_type == "wound" and field_current_A < validated_min_field_current_A
  then: infer("loss-of-field risk; possible overspeed depending on motor and load")
  confidence: "conditional"

rule "R05_ExcessiveTemperature":
  if: winding_temperature_C > manufacturer_limit_C
  then: infer("thermal limit exceeded; protective intervention required")
  confidence: "high if sensor and limit validated"

rule "R06_GeneratorMode":
  if: mechanical_drive_supplies_shaft and electrical_power_flows_out
  then: infer("DC machine operating in generating mode")
  confidence: "conditional on measured power direction"

# ---------- CONFIDENCE ----------
confidence.policy:
  measured_validated: "high"
  inferred_with_known_parameters: "medium_to_high"
  inferred_with_missing_parameters: "low"
  unverified_fault_hypothesis: "provisional"
confidence.require: ["traceable evidence", "units", "assumptions", "operating mode", "model applicability"]

# ---------- SEMANTIC_EQUIVALENCE ----------
equivalent("DC motor", "direct-current motor")
equivalent("back EMF", "counter electromotive force")
equivalent("armature winding", "armature circuit winding")
related("DC motor", "electric motor")
related("DC motor", "motor controller")
related("DC motor", "electromechanical energy conversion")
not_equivalent("DC motor", "AC induction motor")
not_equivalent("brushless DC motor", "brushed commutator DC motor")

# ---------- SAFETY_CONSTRAINTS ----------
safety.require: ["manufacturer ratings", "suitable overcurrent protection", "safe isolation", "guarding of rotating parts", "thermal protection where required"]
safety.prohibit: ["bypass protective interlocks", "assume de-energised without verification", "operate beyond validated speed and current limits"]
safety.note: "Conceptual ontology only; engineering decisions require competent assessment and applicable standards."

# ---------- FLOW_HASH ----------
flow_hash.algorithm: "SHA-256"
flow_hash.scope: "canonical UTF-8 file content excluding generated digest field"
flow_hash.digest: "not_computed"

# ---------- UPDATE_MODEL ----------
update.version: "1.0"
update.date: "2026-11-17"
update.trigger: ["ontology revision", "new validated measurements", "manufacturer data change", "model correction", "safety review"]
update.method: "preserve provenance, review affected rules, increment version and recompute digest"

# ---------- CITATION ----------
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/electrical-machine-entities/dc-motor-ontology.html"
citation: "Mark Anthony Higgins and Sky — Recursive AI, DC Motor Ontology, Kireth Research."

end flow
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ