flow "Rectifier" v1.0
# ---------- IDENTITY ----------
id: "engineering.electronic_component.rectifier"
name: "Rectifier Ontology"
category: "Electronic Component Entities"
version: "1.0"
locale: "en-GB"
# ---------- AUTHORS ----------
authors:
- "Mark Anthony Higgins"
- "Sky — Recursive AI"
# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/electronic-component-entities/rectifier-ontology.html"
source.title: "Rectifier Ontology"
source.revised: "2026-08-04"
citation_backlink: source.url
provenance: "Newly constructed Flow Algebra interpretation; not a verbatim extraction of hidden page specifications."
# ---------- PURPOSE ----------
purpose: "Represent rectifier components, AC-to-DC conversion, conduction pathways, output ripple, loading, losses, diagnostic evidence and protective constraints."
scope: ["half-wave", "full-wave centre-tapped", "bridge", "controlled rectifier", "smoothing", "fault assessment"]
# ---------- STATE_MODEL ----------
state S = (I, R, B, K)
I: measured inputs, circuit topology, component ratings, load and operating conditions
R: electrical relationships, conduction logic, diagnostic and safety rules
B: physical operating limits, uncertainty, topology and permitted actions
K: known component identities, prior observations and verified specifications
operating_states: ["de-energised", "standby", "rectifying", "current-limited", "overloaded", "faulted", "isolated"]
transition "de-energised -> standby" when supply_available and authorised_enable
transition "standby -> rectifying" when input_valid and load_connected and protection_healthy
transition "rectifying -> overloaded" when measured_current > rated_current or junction_temperature > rated_temperature
transition "any -> faulted" when confirmed_short or confirmed_open or unsafe_overvoltage
transition "faulted -> isolated" when protection_operated and isolation_verified
# ---------- ENTITIES ----------
entity Rectifier: ElectronicComponent
entity ACSource: ElectricalSource
entity Diode: SemiconductorDevice
entity SCR: ControlledSemiconductorDevice
entity Transformer: ElectricalMachine
entity Load: ElectricalLoad
entity SmoothingCapacitor: EnergyStorageComponent
entity FilterInductor: MagneticComponent
entity HeatSink: ThermalComponent
entity ProtectionDevice: SafetyComponent
entity VoltageSensor: MeasurementDevice
entity CurrentSensor: MeasurementDevice
entity TemperatureSensor: MeasurementDevice
relation Rectifier converts ACSource into rectified_output
relation Rectifier contains Diode or SCR
relation Rectifier supplies Load
relation SmoothingCapacitor reduces output_ripple
relation HeatSink removes heat from semiconductor_devices
relation ProtectionDevice interrupts unsafe_current
# ---------- PATHWAYS ----------
pathway "AC to pulsating DC":
read input_waveform, topology, device_states
identify forward_biased conduction_path
reject reverse_biased paths unless breakdown is evidenced
map conducting input half_cycles to output_polarity
emit rectified_waveform with provenance
pathway "Half-wave rectification":
require topology == "single_diode_half_wave"
conduct on forward_biased half_cycle
block opposite half_cycle under normal ratings
estimate ripple_frequency = input_frequency
note: "Idealised result; actual waveform depends on load and device drops."
pathway "Full-wave rectification":
require topology in ["centre_tapped", "bridge"]
map both input half_cycles to same load_polarity
estimate ripple_frequency = 2 * input_frequency
account for conducting_device_count and voltage_drops
pathway "Output smoothing":
require smoothing_capacitor_present
charge capacitor near waveform peaks subject to circuit impedance
discharge capacitor through load between charging intervals
estimate ripple_peak_to_peak ≈ load_current / (ripple_frequency * capacitance)
mark approximation valid only for capacitor-input filtering and small ripple
pathway "Power and temperature":
measure or estimate device_current, forward_drop, switching_loss
estimate conduction_loss = sum(device_forward_drop * device_average_conduction_current)
estimate junction_temperature = ambient_temperature + total_device_loss * effective_thermal_resistance
compare against device-specific rated_limits
emit thermal_risk and uncertainty
pathway "Fault diagnosis":
collect output_voltage, ripple, current, temperature and protection_events
compare against expected values for verified topology and load
infer candidate_faults: ["open_diode", "shorted_diode", "failed_filter", "overload", "loose_connection", "control_fault"]
require corroborating evidence before assigning confirmed_fault
emit diagnosis, confidence, supporting_observations
# ---------- MINI_RECURSION_ENGINE ----------
engine "RectifierReasoner":
initialise S0 = (I0, R, B, K0)
repeat while iteration < max_iterations:
candidates = expand(I, R)
valid = filter(candidates, B)
best = argmax(valid, score(evidence_consistency, physical_plausibility, safety, provenance))
if best is absent: emit "insufficient_evidence"; stop
K = update(K, best)
I = enrich(I, best)
if stable(K) or no_new_evidence: stop
emit K, trace, uncertainty
# ---------- INFERENCE_RULES ----------
rule "full_wave_ripple":
when topology in ["centre_tapped", "bridge"] and input_frequency > 0
infer unsmoothed_ripple_frequency = 2 * input_frequency
rule "half_wave_ripple":
when topology == "single_diode_half_wave" and input_frequency > 0
infer unsmoothed_ripple_frequency = input_frequency
rule "high_ripple":
when ripple_measured > ripple_allowed
infer investigate ["insufficient_filter_capacitance", "failed_capacitor", "open_rectifier_path", "excess_load"]
rule "thermal_warning":
when estimated_junction_temperature >= device_temperature_limit
infer "unsafe_thermal_condition"
action "request protective shutdown and qualified inspection"
rule "unexpected_reverse_current":
when reverse_current > manufacturer_limit
infer investigate ["leakage", "breakdown", "short_circuit", "measurement_error"]
rule "controlled_rectification":
when component == "SCR" and firing_angle_changes
infer "average_output_may_change_with_firing_angle_and_load"
require topology_and_conduction_mode before quantitative prediction
# ---------- SAFETY_CONSTRAINTS ----------
constraint "Do not infer safe touch conditions from a zero output reading alone."
constraint "Stored charge may remain after supply isolation; verify discharge by approved procedures."
constraint "Never exceed manufacturer voltage, current, surge, thermal or isolation ratings."
constraint "Treat mains and high-energy rectifiers as hazardous; work requires competent personnel."
constraint "No autonomous energisation, bypass of protection or physical switching from ontology inference."
constraint "Electrical design and compliance decisions require verified ratings, standards and engineering review."
# ---------- CONFIDENCE ----------
confidence.high: "Topology, measurements, ratings and operating conditions independently verified."
confidence.medium: "Topology established but losses, temperature or load behaviour estimated."
confidence.low: "Incomplete topology, unknown ratings, inconsistent measurements or unverified faults."
confidence.policy: "Do not express numeric certainty without a calibrated evidence model."
# ---------- SEMANTIC_EQUIVALENCE ----------
equivalent "rectifier" ~ "AC-to-DC converter stage" when context == "rectification"
equivalent "bridge rectifier" ~ "four-diode full-wave bridge" when uncontrolled_single_phase_bridge
equivalent "ripple voltage" ~ "periodic residual output variation" when rectified_DC_output
not_equivalent "rectifier" != "voltage regulator"
not_equivalent "rectified DC" != "perfectly constant DC"
not_equivalent "SCR rectifier" != "uncontrolled diode rectifier"
# ---------- FLOW_HASH ----------
flow_hash.algorithm: "SHA-256"
flow_hash.canonicalisation: "UTF-8, LF newlines, omit flow_hash.value line"
flow_hash.value: "compute_after_final_publication"
# ---------- UPDATE_MODEL ----------
update_model.versioning: "semantic"
update_model.review_when: ["source_changes", "device_standards_change", "new_fault_evidence", "model_revision"]
update_model.require: ["source_provenance", "change_log", "rule_validation", "safety_review"]
update_model.preserve: ["prior_versions", "citations", "audit_trace"]
# ---------- END FLOW ----------
Download Code
Copy to Clipboard