Skip to main content

Circuit Board Assembly 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 "CircuitBoardAssembly" v1.0

# ---------- IDENTITY ----------
ENTITY_ID: "engineering.circuit_pcb.circuit_board_assembly"
ENTITY_NAME: "Circuit Board Assembly"
ENTITY_CLASS: "ElectronicAssembly"
DOMAIN: "Engineering / Circuit and PCB Entities"
LANGUAGE: "en-GB"

# ---------- AUTHORS ----------
AUTHORS: ["Mark Anthony Higgins", "Sky — Recursive AI"]
SOURCE: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/circuit-and-pcb-entities/circuit-board-assembly-ontology.html"
CITATION_BACKLINK: SOURCE
SOURCE_REVISED: "2026-08-04"
VERSION: "1.0"
LICENCE_NOTE: "Refer to the Kireth Research Open Research Licence; attribution required."

# ---------- PURPOSE ----------
PURPOSE:
  represent a populated printed circuit board as a structured assembly
  relate components, pads, joints, nets, traces, vias and test evidence
  reason about assembly completeness, connectivity, quality and faults
  distinguish design intent from verified physical condition

# ---------- STATE_MODEL ----------
STATE_MODEL:
  states: [DESIGNED, FABRICATED, POPULATING, SOLDERED, INSPECTED, TESTED, ACCEPTED, REWORK, REJECTED]
  initial: DESIGNED
  transition DESIGNED -> FABRICATED when bare_board_available
  transition FABRICATED -> POPULATING when assembly_started
  transition POPULATING -> SOLDERED when placement_complete and joining_complete
  transition SOLDERED -> INSPECTED when inspection_performed
  transition INSPECTED -> TESTED when inspection_passed
  transition INSPECTED -> REWORK when inspection_failed and repair_authorised
  transition TESTED -> ACCEPTED when required_tests_passed and evidence_complete
  transition TESTED -> REWORK when test_failed and repair_authorised
  transition REWORK -> INSPECTED when rework_completed
  transition INSPECTED -> REJECTED when non_repairable_defect_confirmed
  transition TESTED -> REJECTED when non_repairable_defect_confirmed
  invariant ACCEPTED implies required_tests_passed and evidence_complete
  invariant unknown_test_result != passed

# ---------- ENTITIES ----------
ENTITIES:
  CircuitBoardAssembly: assembled electronic unit
  BarePCB: insulating substrate with conductive layers
  Component: fitted electrical or electronic part
  Footprint: intended component placement geometry
  Pad: conductive landing feature
  SolderJoint: mechanical and electrical connection
  Net: intended electrically connected node set
  Trace: patterned conductor
  Via: interlayer electrical connection
  Connector: external electrical interface
  Fastener: mechanical retention element
  Coating: optional environmental protective layer
  InspectionRecord: observed assembly condition
  TestRecord: recorded measurement and verdict
  Defect: observed or inferred nonconformity
  ReworkAction: authorised corrective operation

RELATIONSHIPS:
  CircuitBoardAssembly contains BarePCB
  CircuitBoardAssembly mounts Component
  Component occupies Footprint
  Component terminal joins Pad via SolderJoint
  Pad belongs_to Net
  Trace connects Pad
  Via connects conductive_layers
  Connector interfaces external_system
  InspectionRecord observes CircuitBoardAssembly
  TestRecord verifies CircuitBoardAssembly
  Defect affects Component | SolderJoint | Trace | Via | Connector
  ReworkAction addresses Defect

# ---------- INPUTS ----------
INPUTS:
  design: schematic, netlist, BOM, placement, fabrication_data, assembly_instructions
  observed: fitted_parts, polarity, orientation, solder_quality, continuity, shorts
  tests: visual_inspection, AOI, X_ray_if_required, in_circuit, functional
  environment: temperature, humidity, vibration, contamination
  constraints: rated_voltage, rated_current, thermal_limits, clearance, creepage

# ---------- PATHWAYS ----------
PATHWAYS:
  pathway "DesignToAssembly":
    schematic -> netlist -> PCB_layout -> bare_PCB
    BOM + placement_data -> component_population
    component_population + joining_process -> assembled_board

  pathway "ElectricalConnectivity":
    component_terminal -> solder_joint -> pad -> trace_or_via -> net
    require verified_continuity where specified
    require no_unintended_short between isolated_nets

  pathway "QualityAssurance":
    assembled_board -> visual_inspection -> electrical_test -> functional_test
    test_evidence -> acceptance_decision

  pathway "FaultDiagnosis":
    symptom -> observations -> candidate_causes
    candidate_causes -> targeted_non_destructive_tests
    tests -> confirmed_defect_or_unresolved
    confirmed_defect -> authorised_rework -> reinspection -> retest

# ---------- ENGINEERING_RELATIONSHIPS ----------
RELATIONSHIPS_MODEL:
  conductor_voltage_drop: V_drop = I * R
  conductor_resistive_loss: P_loss = I^2 * R
  current_balance_at_node: sum(I_entering) = sum(I_leaving)
  thermal_margin: T_limit - T_observed
  note: equations apply only under their physical modelling assumptions
  note: nominal ratings and thresholds must come from design and component data

# ---------- MINI_RECURSION_ENGINE ----------
MINI_RECURSION_ENGINE:
  input: assembly_state, evidence, design_intent
  cycle:
    1. compare observed placement and orientation with design_intent
    2. compare verified connectivity with netlist
    3. identify missing evidence and potential defects
    4. rank hypotheses by evidence and safety impact
    5. request permissible targeted inspection or test
    6. update confidence and assembly_state
    7. repeat until acceptance criteria met or unresolved status reported
  stop_when: accepted | rejected | no_safe_test_available | evidence_exhausted
  prohibit: assume_pass_from_missing_evidence

# ---------- INFERENCE_RULES ----------
INFERENCE_RULES:
  rule "MissingPart":
    if required_component absent then infer assembly_incomplete
  rule "OrientationMismatch":
    if polarised_component orientation != approved_placement then infer orientation_defect
  rule "OpenConnection":
    if intended_net_path measured_open and test_valid then infer probable_open_connection
  rule "UnintendedShort":
    if separate_nets measured_short and test_valid then infer probable_short_circuit
  rule "JointConcern":
    if solder_joint inspection_failed then infer joint_requires_review
  rule "ThermalConcern":
    if observed_temperature > approved_limit then infer thermal_nonconformity
  rule "EvidenceGate":
    if mandatory_inspection_missing or mandatory_test_missing then deny ACCEPTED
  rule "RepairGate":
    if defect_confirmed and rework_authorised then permit controlled_rework
  rule "RetestGate":
    if rework_completed then require reinspection and affected_tests_repeated

# ---------- SAFETY_CONSTRAINTS ----------
SAFETY_CONSTRAINTS:
  never_energise_unverified_assembly_where_risk_unacceptable
  isolate_power_before_physical_rework
  account_for_stored_charge_and_ESD_sensitive_components
  do_not_override_protection_or_acceptance_criteria
  require_qualified_review_for_mains_voltage_or_safety_critical_assemblies
  apply_relevant_product_standards_and_manufacturer_limits

# ---------- CONFIDENCE ----------
CONFIDENCE:
  direct_validated_measurement: high
  corroborated_inspection: medium_to_high
  single_unverified_observation: low_to_medium
  inferred_fault_without_test: low
  missing_evidence: unknown
  rule: never_convert_unknown_to_pass

# ---------- SEMANTIC_EQUIVALENCE ----------
SEMANTIC_EQUIVALENCE:
  "PCB assembly" ~= "printed circuit board assembly"
  "PCBA" ~= "populated printed circuit board"
  "board population" ~= "component placement and assembly"
  "solder bridge" ~= "unintended solder connection"
  distinguish "bare PCB" from "assembled PCB"
  distinguish "electrical continuity" from "functional correctness"

# ---------- FLOW_HASH ----------
FLOW_HASH:
  method: "SHA-256 over canonical UTF-8 text when published"
  value: "UNCOMPUTED; generate after final editorial approval"

# ---------- UPDATE_MODEL ----------
UPDATE_MODEL:
  revision: "1.0"
  review_when: design_change | component_substitution | process_change | new_fault_evidence
  preserve: source_url, authorship, version_history, inspection_evidence
  require: regression_testing_after_material_change

# ---------- PROVENANCE ----------
PROVENANCE:
  type: "Newly constructed Flow Algebra representation"
  page_title_verified: "Circuit Board Assembly Ontology"
  note: "The live page exposes its heading and attribution, but not its embedded formal specification in retrieved text. This flow is not a verbatim transcription."
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ