Skip to main content

Diode Ontology

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

# ---------- IDENTITY ----------
id: "electronic-component.diode"
name: "Diode Ontology"
category: "Engineering Entities / Electronic Component Entities"
locale: "en-GB"
representation: "Flow Algebra — declarative reasoning rules"

# ---------- 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/electronic-component-entities/diode-ontology.html"
source.title: "Diode Ontology"
source.revised: "2026-08-04"
source.note: "Newly constructed semantic representation; not a verbatim extraction of embedded specifications."

# ---------- PURPOSE ----------
purpose:
  define a diode as a two-terminal electronic component with polarity-dependent conduction
  model forward bias, reverse bias, breakdown, switching and thermal limits
  connect diode behaviour to circuit function, observation and fault reasoning
  preserve device-specific ratings and avoid universal fixed voltage assumptions

# ---------- STATE_MODEL ----------
state D = (identity, device_type, anode, cathode, V_AK, I_D, T_J, ratings, mode, health)
state.mode in [unbiased, forward_blocking, forward_conducting, reverse_blocking,
               reverse_breakdown, failed_open, failed_short, degraded, unknown]
state.health in [normal, warning, unsafe, failed, unknown]

input V_AK:volt?           # anode potential minus cathode potential
input I_D:ampere?          # conventional anode-to-cathode current
input T_J:kelvin?          # junction temperature
input ratings:map?         # datasheet limits for the particular device
input device_type:str?     # rectifier, signal, Schottky, Zener, LED, TVS, etc.

# ---------- ENTITIES ----------
entity Diode is_a SemiconductorDevice
entity Anode is_a ElectricalTerminal
entity Cathode is_a ElectricalTerminal
entity PNJunction is_a SemiconductorJunction
entity ForwardBias is_a OperatingCondition
entity ReverseBias is_a OperatingCondition
entity Breakdown is_a OperatingCondition
entity LeakageCurrent is_a ElectricalQuantity
entity JunctionTemperature is_a ThermalQuantity
entity DiodeRating is_a DeviceConstraint
entity Rectifier is_a CircuitFunction
entity VoltageReference is_a CircuitFunction
entity TransientSuppressor is_a ProtectionFunction

relation Diode has_terminal Anode
relation Diode has_terminal Cathode
relation Diode may_contain PNJunction
relation Diode has_property ForwardVoltage
relation Diode has_property ReverseLeakage
relation Diode constrained_by DiodeRating
relation Diode participates_in ElectricCircuit
relation Diode may_implement Rectifier
relation Diode may_implement VoltageReference
relation Diode may_implement TransientSuppressor

# ---------- PATHWAYS ----------
pathway "PolarityClassification":
  read V_AK
  if V_AK > 0 then infer forward_bias_candidate
  if V_AK < 0 then infer reverse_bias_candidate
  if V_AK == 0 then infer zero_terminal_bias
  note "Bias polarity alone does not establish actual conduction current."

pathway "ForwardConduction":
  require device_type, V_AK, T_J, device_characteristic
  infer I_D from device_characteristic(V_AK, T_J)
  if I_D > forward_current_threshold then classify forward_conducting
  else classify forward_blocking_or_low_current
  note "Forward voltage varies with current, temperature and diode technology."

pathway "ReverseBlocking":
  require V_AK < 0, device_characteristic
  estimate reverse_leakage from device_characteristic(V_AK, T_J)
  if abs(V_AK) within permitted_reverse_range then classify reverse_blocking
  else evaluate reverse_breakdown

pathway "BreakdownEvaluation":
  require ratings, V_AK, I_D, device_type
  if reverse_voltage reaches device_breakdown_region then classify reverse_breakdown
  if device_type in [Zener, TVS] then evaluate rated_breakdown_energy_and_current
  else flag potentially_damaging_breakdown
  note "Intentional breakdown is safe only within specified device ratings."

pathway "PowerAndThermalAssessment":
  require V_AK, I_D
  derive P_D = V_AK * I_D
  require thermal_model, ambient_temperature, thermal_conditions
  estimate T_J from P_D and thermal_model
  if T_J exceeds rated_junction_temperature then flag unsafe_thermal_condition
  note "Instantaneous and transient thermal behaviour require appropriate models."

pathway "Rectification":
  connect ACSource -> Diode -> Load
  evaluate conducting_intervals from applied_waveform and circuit_topology
  infer unidirectional_current_path_when_forward_biased
  account_for forward_drop, reverse_leakage, switching_and_recovery

pathway "DiagnosticObservation":
  observe forward_voltage, reverse_leakage, current, temperature
  compare measurements with datasheet_and_test_conditions
  infer candidate_faults in [open_circuit, short_circuit, leakage_increase,
                              thermal_damage, intermittent_connection]
  require corroborating_measurements before confirmed_fault

# ---------- MINI_RECURSION_ENGINE ----------
engine "DiodeReasoning":
  initialise D from observed_evidence
  repeat until stable_or_iteration_limit:
    expand candidate_states from D, device_characteristic, circuit_context
    reject candidates violating measured_polarity_or_current
    evaluate rating_constraints and thermal_constraints
    rank remaining_candidates by evidence_support and consistency
    update D.mode, D.health, uncertainty
  return D, candidate_explanations, evidence_gaps

# ---------- INFERENCE_RULES ----------
rule F01: if forward_bias and measured_forward_current then infer conducting_candidate
rule F02: if reverse_bias and low_leakage and within_rating then infer reverse_blocking
rule F03: if reverse_breakdown and current_exceeds_rating then infer damage_risk
rule F04: if measured_current_near_zero under verified_forward_test then infer open_fault_candidate
rule F05: if low_resistance_both_directions under valid_isolated_test then infer short_fault_candidate
rule F06: if power_dissipation_exceeds_rating then infer thermal_risk
rule F07: if T_J_exceeds_maximum then infer unsafe_operation
rule F08: if observations_conflict then infer measurement_or_model_review_required
rule F09: if ratings_missing then prohibit definitive_safe_operating_claim
rule F10: if device_type_is_LED then infer optical_output_possible_under_forward_drive
rule F11: if device_type_is_Zener and rated_breakdown_operation then infer voltage_reference_possible
rule F12: if device_type_is_TVS and rated_transient_operation then infer transient_clamping_possible

# ---------- CONFIDENCE ----------
confidence.high: "Device identified; measurements repeatable; datasheet and conditions known."
confidence.medium: "Behaviour consistent but one or more relevant conditions estimated."
confidence.low: "Device identity, ratings, circuit topology or measurements missing."
confidence.rule: "Do not assign numerical certainty without calibrated evidence."

# ---------- SEMANTIC_EQUIVALENCE ----------
equivalent "diode" ~ "two-terminal rectifying device" when context=general_rectification
related "diode" -> "semiconductor junction"
related "diode" -> "rectifier"
related "diode" -> "Zener diode"
related "diode" -> "Schottky diode"
related "diode" -> "light-emitting diode"
related "diode" -> "transient-voltage-suppression diode"
not_equivalent "diode" != "ideal one-way switch"
not_equivalent "reverse breakdown" != "automatic device failure"

# ---------- SAFETY_CONSTRAINTS ----------
constraint S01: never assume a universal forward voltage drop
constraint S02: enforce device-specific voltage, current, power and temperature limits
constraint S03: evaluate stored energy and isolation before physical testing
constraint S04: treat high-voltage circuits as hazardous; qualified personnel required
constraint S05: no operational switching or protection decisions from ontology alone
constraint S06: manufacturer specifications and applicable standards take precedence

# ---------- FLOW_HASH ----------
flow_hash.algorithm: "SHA-256"
flow_hash.value: "UNCOMPUTED — calculate from canonical final flow text"
flow_hash.scope: "canonical text excluding flow_hash.value"

# ---------- UPDATE_MODEL ----------
update.version: "1.0"
update.date: "2026-11-17"
update.trigger: [datasheet_revision, new_measurement, ontology_revision,
                 corrected_inference, new_device_variant]
update.policy: "Preserve provenance, revise affected rules, recalculate canonical hash."

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