flow "PrintedCircuitBoard" v1.0
# ---------- IDENTITY ----------
ENTITY_ID: "engineering.circuit_pcb.printed_circuit_board"
ENTITY_NAME: "Printed Circuit Board"
ENTITY_CLASS: "ElectronicInterconnectionSubstrate"
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/printed-circuit-board-ontology-2.html"
CITATION_BACKLINK: SOURCE
SOURCE_NOTE: "Independent Flow Algebra interpretation; not a verbatim extraction of hidden page specifications."
LICENCE_NOTE: "Refer to the source publication for applicable licence and attribution terms."
# ---------- PURPOSE ----------
PURPOSE:
represent the substrate, conductive paths, mounted components,
interfaces, fabrication state, testing, and failure behaviour
of a printed circuit board as a constrained engineering entity.
# ---------- STATE_MODEL ----------
STATE_MODEL:
states: [DESIGNED, FABRICATED, ASSEMBLED, INSPECTED, TESTED,
OPERATIONAL, DEGRADED, FAILED, REWORKED, RETIRED]
initial: DESIGNED
transitions:
DESIGNED -> FABRICATED when design_released and fabrication_complete
FABRICATED -> ASSEMBLED when components_placed and joints_formed
ASSEMBLED -> INSPECTED when inspection_performed
INSPECTED -> TESTED when inspection_passed
TESTED -> OPERATIONAL when electrical_tests_passed and safety_checks_passed
OPERATIONAL -> DEGRADED when anomaly_detected
DEGRADED -> REWORKED when approved_repair_completed
REWORKED -> TESTED when retest_required
OPERATIONAL -> FAILED when critical_failure_detected
FAILED -> REWORKED when repair_authorised
FAILED -> RETIRED when repair_not_viable
invariant:
OPERATIONAL requires validated_design and verified_connections
FAILED never implies safe_to_energise
# ---------- ENTITIES ----------
ENTITIES:
PrintedCircuitBoard: physical_substrate_with_patterned_conductors
Substrate: insulating_mechanical_support
CopperLayer: conductive_layer
Trace: patterned_conductive_path
Pad: component_or_test_connection_site
Via: interlayer_electrical_connection
PlatedThroughHole: conductive_hole_for_connection
SolderMask: protective_dielectric_coating
Silkscreen: identification_and_assembly_marking
Component: mounted_electronic_device
SolderJoint: electrical_and_mechanical_connection
Connector: external_electrical_interface
GroundPlane: reference_and_return_conductor
PowerPlane: supply_distribution_conductor
Net: intended_electrical_connectivity_group
Clearance: shortest_air_gap_between_conductors
Creepage: shortest_surface_path_between_conductors
ThermalVia: heat_transfer_structure
TestPoint: accessible_measurement_location
RELATIONSHIPS:
PrintedCircuitBoard contains Substrate
PrintedCircuitBoard contains CopperLayer
CopperLayer contains Trace
Trace connects Pad
Via connects CopperLayer
Component mounted_on PrintedCircuitBoard
Component connected_by SolderJoint
Connector interfaces_with ExternalSystem
Net groups electrically_connected_nodes
SolderMask covers selected_conductors
TestPoint observes Net
# ---------- PATHWAYS ----------
PATHWAYS:
design_to_manufacture:
input: schematic, netlist, stackup, constraints
verify: connectivity, trace_width, spacing, return_paths
output: validated_fabrication_data
electrical_conduction:
input: applied_voltage, net_topology, conductor_properties
evaluate: current_paths, voltage_drop, power_dissipation
output: expected_electrical_state
signal_integrity:
input: signal_edges, routing_geometry, impedance_targets
evaluate: discontinuities, crosstalk, return_path_quality
output: signal_integrity_assessment
thermal_management:
input: component_losses, ambient_conditions, copper_geometry
evaluate: heat_spreading, thermal_resistance, temperature_rise
output: thermal_risk_assessment
production_validation:
input: assembled_board, design_reference
evaluate: visual_inspection, continuity, shorts, functional_tests
output: accept_or_rework_decision
# ---------- ENGINEERING_RELATIONSHIPS ----------
RELATIONSHIPS_MODEL:
trace_resistance_ohm = resistivity_ohm_m * length_m / area_m2
trace_dissipation_w = current_a * current_a * trace_resistance_ohm
voltage_drop_v = current_a * trace_resistance_ohm
temperature_rise_k = power_dissipation_w * effective_thermal_resistance_k_per_w
# These are simplified models. Real PCB thermal and high-frequency behaviour
# depends on geometry, materials, coupling and operating conditions.
# ---------- MINI_RECURSION_ENGINE ----------
MINI_RECURSION_ENGINE:
input: observed_board_state, design_constraints, measurements
iterate:
1. map observations to components, nets and layers
2. compare measurements against expected states and tolerances
3. identify candidate open, short, thermal or signal faults
4. rank hypotheses using evidence and uncertainty
5. request non-destructive verification where possible
6. update fault hypotheses with new observations
stop_when: fault_isolated or evidence_insufficient or safety_limit_reached
output: traceable_diagnostic_assessment
# ---------- INFERENCE_RULES ----------
INFERENCE_RULES:
rule "OpenCircuitCandidate":
when expected_continuity and measured_discontinuity
infer possible_open_trace_or_joint
require confirmatory_measurement
rule "ShortCircuitCandidate":
when unintended_low_resistance_between_distinct_nets
infer possible_solder_bridge_or_insulation_failure
require isolation_and_confirmation
rule "ThermalOverstress":
when measured_temperature > validated_component_or_board_limit
infer thermal_risk
action recommend_safe_shutdown_and_engineering_review
rule "SignalIntegrityRisk":
when measured_waveform_outside_validated_tolerance
infer possible_termination_routing_or_coupling_issue
require waveform_and_layout_review
rule "InspectionFailure":
when inspection_detects_unacceptable_defect
infer not_ready_for_service
action block_operational_release
# ---------- CONFIDENCE ----------
CONFIDENCE:
evidence_priority: [direct_measurement, validated_test, design_document,
inspection_observation, analytical_estimate]
confidence_policy:
confirmed requires repeatable_measurement_or_validated_test
probable requires multiple_consistent_indicators
uncertain requires further_evidence
never_equate: inferred_fault with verified_root_cause
# ---------- SEMANTIC_EQUIVALENCE ----------
SEMANTIC_EQUIVALENCE:
"PCB" ~= "Printed Circuit Board"
"PWB" ~= "Printed Wiring Board" # related term; not always identical in usage
"track" ~= "conductive trace"
"through-hole via" is_a "via"
"ground pour" related_to "ground plane"
"board assembly" related_to "populated PCB"
distinguish: bare_board != assembled_board
distinguish: schematic_net != verified_physical_connection
# ---------- SAFETY_CONSTRAINTS ----------
SAFETY_CONSTRAINTS:
do_not_energise_when: exposed_hazardous_voltage_or_confirmed_short_or_unsafe_damage
isolate_power_before: invasive_inspection_or_rework
discharge_stored_energy_before: handling_where_applicable
verify: creepage_clearance, insulation, current_capacity, thermal_limits
require_qualified_review_for: mains_voltage, high_energy, safety_critical_design
no_automatic_authorisation_for_live_electrical_work: true
# ---------- FLOW_HASH ----------
FLOW_HASH:
algorithm: "SHA-256"
value: "UNCOMPUTED"
instruction: "Compute over final UTF-8 file bytes when a release is frozen; do not self-hash this field."
# ---------- UPDATE_MODEL ----------
UPDATE_MODEL:
version: "1.0"
revision_policy: "Increment version when ontology rules, scope or pathways change."
provenance: "Retain source URL, authorship and change history."
validation: "Engineering assertions require applicable design and test evidence."
end flow
Download Code
Copy to Clipboard