Skip to main content

PCB Via 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 "PCBViaOntology" v1.0

# ---------- IDENTITY ----------
ENTITY_ID: "engineering.circuit_pcb.pcb_via"
ENTITY_NAME: "PCB Via"
ENTITY_CLASS: "CircuitAndPCBEntity"
LANGUAGE: "en-GB"
VERSION: "1.0"

# ---------- AUTHORS ----------
AUTHORS: ["Mark Anthony Higgins", "Sky — Recursive AI"]

# ---------- SOURCE ----------
SOURCE: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/circuit-and-pcb-entities/pcb-via-ontology.html"
SOURCE_TITLE: "PCB Via Ontology"
SOURCE_REVISED: "2026-08-04"
CITATION_BACKLINK: SOURCE

# ---------- PURPOSE ----------
PURPOSE: "Represent plated or conductive PCB inter-layer connections and reason about continuity, geometry, manufacturing integrity, thermal loading and failure."
SCOPE: "Through, blind, buried, microvia and thermal-via structures; actual construction and ratings depend on fabrication specification."

# ---------- STATE_MODEL ----------
STATE_MODEL:
  identity: {via_id, board_id, net_id, via_type}
  geometry: {drill_diameter_m, finished_hole_diameter_m, pad_diameter_m, barrel_length_m, plating_thickness_m}
  connectivity: {start_layer, end_layer, connected_layers, net_continuity}
  electrical: {current_A, resistance_ohm, voltage_drop_V, dissipated_power_W}
  thermal: {ambient_temperature_K, estimated_temperature_K, thermal_path}
  integrity: {plating_quality, annular_ring_integrity, voids, cracks, delamination}
  lifecycle: {designed, fabricated, inspected, tested, operational, degraded, failed, retired}
  evidence: {measurement_source, timestamp, confidence}

# ---------- ENTITIES ----------
ENTITIES:
  PCBVia -> part_of -> PrintedCircuitBoard
  PCBVia -> connects -> ConductiveLayer
  PCBVia -> belongs_to -> ElectricalNet
  PCBVia -> joins -> PCBTrack
  PCBVia -> may_join -> PCBPad
  PCBVia -> has_structure -> ConductiveBarrel
  ConductiveBarrel -> uses_material -> CopperPlating
  PCBVia -> subject_to -> ManufacturingTolerance
  PCBVia -> inspected_by -> ElectricalContinuityTest
  PCBVia -> may_exhibit -> OpenCircuitFault
  PCBVia -> may_exhibit -> IntermittentConnectionFault
  PCBVia -> may_exhibit -> ShortCircuitFault

# ---------- PATHWAYS ----------
PATHWAYS:
  pathway "LayerConnectivity":
    input: [start_layer, end_layer, connected_layers, net_id]
    require: start_layer != null and end_layer != null
    infer: electrically_connected_layers = connected_layers
    output: [electrically_connected_layers, net_id]

  pathway "ApproximateBarrelResistance":
    input: [barrel_length_m, finished_hole_diameter_m, plating_thickness_m, copper_resistivity_ohm_m]
    require: barrel_length_m > 0 and finished_hole_diameter_m > 0
    require: plating_thickness_m > 0 and copper_resistivity_ohm_m > 0
    derive: mean_diameter_m = finished_hole_diameter_m + plating_thickness_m
    derive: conductive_area_m2 = pi * mean_diameter_m * plating_thickness_m
    derive: resistance_ohm = copper_resistivity_ohm_m * barrel_length_m / conductive_area_m2
    output: [resistance_ohm]
    note: "Thin-wall uniform-plating approximation; exclude pad, spreading and contact resistance."

  pathway "VoltageAndJouleLoss":
    input: [current_A, resistance_ohm]
    require: resistance_ohm >= 0
    derive: voltage_drop_V = current_A * resistance_ohm
    derive: dissipated_power_W = current_A * current_A * resistance_ohm
    output: [voltage_drop_V, dissipated_power_W]

  pathway "IntegrityAssessment":
    input: [net_continuity, plating_quality, voids, cracks, annular_ring_integrity]
    when: net_continuity == false
    infer: fault_candidate = "open_or_intermittent_via"
    when: cracks == true or voids == true
    infer: inspection_required = true
    when: annular_ring_integrity == "failed"
    infer: connection_risk = "high"
    output: [fault_candidate, inspection_required, connection_risk]

  pathway "ThermalAssessment":
    input: [dissipated_power_W, ambient_temperature_K, thermal_resistance_K_per_W]
    require: thermal_resistance_K_per_W >= 0
    derive: estimated_temperature_K = ambient_temperature_K + dissipated_power_W * thermal_resistance_K_per_W
    output: [estimated_temperature_K]
    note: "Lumped thermal estimate; requires validated thermal resistance and boundary conditions."

# ---------- MINI_RECURSION_ENGINE ----------
MINI_RECURSION_ENGINE:
  initialise: state = observe(PCBVia)
  repeat:
    state = merge(state, inspect_geometry(), inspect_connectivity(), inspect_thermal_evidence())
    hypotheses = infer_faults(state)
    hypotheses = filter(hypotheses, physical_constraints, evidence_quality)
    next_test = select_test(hypotheses, expected_information_gain)
    state = update(state, next_test.result)
  until: evidence_sufficient or test_budget_exhausted or unsafe_to_continue
  output: [state, ranked_hypotheses, recommended_verification]

# ---------- INFERENCE_RULES ----------
INFERENCE_RULES:
  R01: IF start_layer != end_layer THEN via_function = "interlayer_connection"
  R02: IF continuity_test == "open" THEN suspect = "barrel_or_pad_connection_failure"
  R03: IF measured_resistance_ohm > validated_resistance_limit_ohm THEN flag = "excess_resistance"
  R04: IF plating_crack_detected THEN flag = "mechanical_or_thermal_fatigue_risk"
  R05: IF current_A > validated_current_limit_A THEN flag = "current_capacity_exceeded"
  R06: IF estimated_temperature_K > validated_temperature_limit_K THEN flag = "thermal_limit_exceeded"
  R07: IF adjacent_net_short_detected THEN flag = "insulation_or_manufacturing_fault"
  R08: IF evidence_missing THEN confidence = "insufficient"
  R09: IF via_type == "microvia" THEN require = "microvia_specific_reliability_validation"
  R10: IF thermal_via_array == true THEN assess = "array_thermal_resistance_and_copper_connectivity"

# ---------- SAFETY_CONSTRAINTS ----------
SAFETY_CONSTRAINTS:
  - "Do not assign universal via current limits without copper thickness, geometry, temperature rise and fabrication evidence."
  - "Do not infer electrical safety from a visual inspection alone."
  - "High-voltage spacing, isolation and creepage require applicable design standards."
  - "Confirm test conditions and de-energisation before physical inspection or repair."
  - "Calculated values are engineering estimates, not manufacturing acceptance certificates."

# ---------- CONFIDENCE ----------
CONFIDENCE:
  high: "Direct verified measurement and validated fabrication data agree."
  medium: "Consistent calculations and partial inspection evidence."
  low: "Assumptions dominate or test evidence is absent."
  rule: "Never elevate inferred results above source evidence."

# ---------- SEMANTIC_EQUIVALENCE ----------
SEMANTIC_EQUIVALENCE:
  PCBVia ~= "printed circuit board via"
  PCBVia ~= "inter-layer conductive connection"
  ThroughVia ~= "plated through-hole via" when plated == true
  BlindVia != BuriedVia
  Via != PCBTrack
  Via != ComponentLeadHole

# ---------- FLOW_HASH ----------
FLOW_HASH:
  method: "SHA-256 of canonical UTF-8 text excluding FLOW_HASH value"
  value: "UNCOMPUTED"
  note: "Compute after final canonicalisation and publication."

# ---------- UPDATE_MODEL ----------
UPDATE_MODEL:
  version: "1.0"
  review_on: ["ontology_revision", "new_fabrication_standard", "validated_measurement", "failure_evidence"]
  preserve: ["source_attribution", "version_history", "measurement_provenance"]
  policy: "Change rules only with traceable rationale and incremented version."

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