Skip to main content

Electronic Circuit Ontology

Circuit and PCB Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 18 November 2026
Audio Overview
flow "ElectronicCircuit" v1.0

# ---------- IDENTITY ----------
id: "engineering.circuit_and_pcb.electronic_circuit"
label: "Electronic Circuit"
category: "Circuit and PCB Entities"
locale: "en-GB"
representation: "Flow Algebra"

# ---------- AUTHORS ----------
authors:
  - "Mark Anthony Higgins"
  - "Sky — Recursive AI"

# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/circuit-and-pcb-entities/electronic-circuit-ontology.html"
source.title: "Electronic Circuit Ontology"
source.revised: "2026-08-04"
source.mode: "newly constructed semantic representation; not a verbatim extraction"
citation_backlink: source.url

# ---------- PURPOSE ----------
purpose: "Represent electronic circuits as connected components, nodes, branches, signals and energy pathways; support structured reasoning, analysis and fault interpretation."

# ---------- STATE_MODEL ----------
state S = (I, R, B, K)
I: observed circuit topology, component values, sources, measured signals, operating conditions
R: connectivity, conservation laws, device equations, timing and functional rules
B: voltage, current, power, temperature, tolerance and safe-operating boundaries
K: component models, circuit theory, reference designs and measurement provenance

state.operating_modes: [unpowered, energising, steady_state, transient, standby, faulted, isolated]
state.unknown: "insufficient measurements or model evidence"

# ---------- ENTITIES ----------
entity ElectronicCircuit: contains -> [Node, Branch, Component, Connection]
entity Node: carries -> [ElectricPotential]
entity Branch: connects -> [Node, Node]
entity Component: has -> [Terminals, Ratings, ElectricalBehaviour]
entity Source: supplies -> [Voltage, Current, Energy]
entity Load: consumes_or_transforms -> [ElectricalEnergy]
entity Signal: has -> [Amplitude, Frequency, Phase, Timing]
entity GroundReference: defines -> [ReferencePotential]
entity Protection: monitors -> [FaultCondition]
entity PCB: realises -> [CircuitTopology]

component.types: [resistor, capacitor, inductor, diode, transistor, integrated_circuit, connector, switch, sensor]
circuit.types: [analogue, digital, mixed_signal, power, control, measurement]

# ---------- PATHWAYS ----------
pathway "ConstructCircuitGraph":
  input: [components, terminal_connections, netlist]
  validate: "Every terminal reference resolves; connections and component identities are unambiguous"
  transform: "Map terminals to nodes and components to directed or undirected branches as appropriate"
  output: [topology_graph, unresolved_connections]

pathway "EvaluateSteadyState":
  input: [topology_graph, source_conditions, component_models]
  require: "Model assumptions and boundary conditions are explicit"
  apply: [kirchhoff_current_law, kirchhoff_voltage_law, component_constitutive_relations]
  output: [node_voltages, branch_currents, power_balance, residuals]

pathway "EvaluateTransient":
  input: [initial_conditions, capacitance, inductance, switching_events]
  apply: "Solve time-dependent circuit equations within specified model validity"
  output: [time_series, transient_extrema, settling_characteristics]

pathway "AssessSignal":
  input: [input_waveform, transfer_function, noise_model]
  evaluate: [gain, phase_shift, bandwidth, distortion, noise]
  output: [signal_response, limitations]

pathway "AssessIntegrity":
  input: [measured_values, expected_values, ratings, thermal_conditions]
  compare: [voltage_limits, current_limits, power_limits, component_tolerances]
  output: [normal, degraded, fault_suspected, unknown]

# ---------- MINI_RECURSION_ENGINE ----------
engine "ElectronicCircuitReasoner":
  initialise: S = (I, R, B, K)
  expand: E_t = expand(I_t, R)
  filter: V_t = {x in E_t | satisfies(x, B) and supported_by(x, K)}
  select: x_star = argmax(x in V_t) P(x | I_t, R, B, K)
  update: I_(t+1) = integrate(I_t, x_star, new_measurements)
  stop_when: [stable_inference, no_new_evidence, boundary_violation, iteration_limit]
  on_empty: "Return unknown or unsafe; do not invent a valid operating state"

# ---------- INFERENCE_RULES ----------
rule "KCL":
  when: "Node is defined and current directions are assigned"
  infer: "Algebraic sum of currents at the node equals zero within measurement and model tolerance"

rule "KVL":
  when: "Closed loop and lumped-circuit assumptions are valid"
  infer: "Algebraic sum of loop voltages equals zero within tolerance"

rule "OhmicBranch":
  when: "Branch is modelled as a linear resistor"
  infer: "V = I * R; P = I^2 * R"

rule "CapacitiveBranch":
  when: "Ideal lumped capacitance model is valid"
  infer: "i(t) = C * dV(t)/dt; E = 0.5 * C * V^2"

rule "InductiveBranch":
  when: "Ideal lumped inductance model is valid"
  infer: "v(t) = L * di(t)/dt; E = 0.5 * L * I^2"

rule "PowerBalance":
  when: "All material energy pathways are represented"
  infer: "Input power equals useful output plus losses and rate of stored-energy change"

rule "OpenCircuitSuspected":
  when: "Expected conduction path shows near-zero current under a valid applied stimulus"
  infer: "Possible open connection, failed component or disabled control; request corroborating evidence"

rule "ShortCircuitSuspected":
  when: "Abnormally low impedance or excessive current is observed"
  infer: "Potential short or component failure; prioritise safe isolation and qualified assessment"

rule "Overstress":
  when: "Measured or predicted stress exceeds verified component rating"
  infer: "Unsafe or degraded operating condition; flag boundary violation"

# ---------- CONFIDENCE ----------
confidence.inputs: [measurement_quality, model_fit, component_identification, topology_completeness, provenance]
confidence.high: "Independent measurements agree with a validated model"
confidence.medium: "Model supported but some parameters or conditions remain uncertain"
confidence.low: "Incomplete topology, conflicting readings or unverified assumptions"
confidence.policy: "Report uncertainty explicitly; never present inferred faults as confirmed"

# ---------- SEMANTIC_EQUIVALENCE ----------
equivalent_terms:
  electronic_circuit: [electrical_circuit_assembly, circuit_network]
  node: [net, electrical_junction]
  branch: [circuit_path, element_connection]
  ground_reference: [zero_volt_reference, circuit_common]
  pcb: [printed_circuit_board]
semantic_distinctions:
  - "Circuit ground is not necessarily protective earth"
  - "Schematic connectivity is not identical to physical PCB layout"
  - "A component rating is not an operating setpoint"
  - "Simulation evidence is not equivalent to verified physical measurement"

# ---------- SAFETY_CONSTRAINTS ----------
safety:
  - "Never infer that a circuit is de-energised solely from a switch position"
  - "Stored charge can persist after supply disconnection"
  - "Electrical isolation, verification and work must follow applicable standards and qualified procedures"
  - "High-voltage and mains-connected systems require appropriate protection and competent personnel"
  - "Do not use inferred analysis as a substitute for certified design or safety verification"

# ---------- FLOW_HASH ----------
flow_hash.algorithm: "SHA-256"
flow_hash.scope: "Canonical UTF-8 flow content, excluding the computed hash value"
flow_hash.value: "compute-on-publication"

# ---------- UPDATE_MODEL ----------
update.version: "1.0"
update.trigger: [source_revision, new_component_model, new_measurement, corrected_rule, safety_revision]
update.process: "Validate provenance, review rule changes, re-run consistency checks, increment version and regenerate hash"
update.provenance: "Preserve original source URL and revision history"

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