flow "Converter" v1.0
# ---------- IDENTITY ----------
id: "engineering.electronic_component.converter"
name: "Converter Ontology"
category: "Electronic Component Entities"
locale: "en-GB"
representation: "Flow Algebra semantic model"
# ---------- AUTHORS ----------
authors: ["Mark Anthony Higgins", "Sky — Recursive AI"]
licence: "Kireth Research Open Research Licence; attribution required"
# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/electronic-component-entities/converter-ontology.html"
source.title: "Converter Ontology"
source.revised: "2026-08-04"
source.note: "Newly constructed semantic representation; not a verbatim extraction of embedded specifications."
citation_backlink: source.url
# ---------- PURPOSE ----------
purpose: "Model electronic power converters, their energy transformations, operating states, control relationships, limits, and fault reasoning."
scope: ["DC-DC", "AC-DC", "DC-AC", "AC-AC", "isolated", "non-isolated"]
# ---------- STATE_MODEL ----------
state S(t) = (I(t), R, B, K)
I(t) = observed electrical quantities, commands, temperatures, and alarms
R = conversion and protection rules
B = component ratings, operating limits, and topology constraints
K = known converter type, circuit structure, and historical observations
states = [OFF, INITIALISING, STANDBY, STARTING, REGULATING, DERATED, FAULT, SHUTDOWN]
transition OFF -> INITIALISING when enable and input_present
transition INITIALISING -> STANDBY when self_test_pass
transition STANDBY -> STARTING when start_command and interlocks_ok
transition STARTING -> REGULATING when output_stable and limits_ok
transition REGULATING -> DERATED when thermal_or_current_margin_low
transition [STARTING, REGULATING, DERATED] -> FAULT when protection_trip
transition FAULT -> SHUTDOWN when output_disabled
transition SHUTDOWN -> STANDBY when reset_authorised and fault_cleared
# ---------- ENTITIES ----------
entity Converter: electronic_power_conversion_device
entity InputPort: electrical_energy_input
entity OutputPort: electrical_energy_output
entity SwitchingStage: controlled_semiconductor_stage
entity EnergyStorage: capacitor_or_inductor
entity MagneticComponent: optional_transformer_or_inductor
entity Controller: feedback_and_gate_command_generator
entity Sensor: voltage_current_temperature_measurement
entity Protection: overcurrent_overvoltage_undervoltage_thermal_protection
entity Load: output_energy_consumer
entity HeatSink: thermal_dissipation_path
relation Converter has InputPort, OutputPort, SwitchingStage, Controller
relation Converter may_have EnergyStorage, MagneticComponent, HeatSink
relation Sensor observes Converter
relation Controller commands SwitchingStage
relation Protection constrains Controller
relation OutputPort supplies Load
# ---------- PATHWAYS ----------
pathway "EnergyConversion":
input -> input_conditioning -> switching_or_rectification
-> filtering -> regulated_output -> load
guard input_within_rating and protection_clear
pathway "FeedbackRegulation":
measure(output_voltage, output_current)
-> compare(reference, measured_output)
-> compute(control_error)
-> constrain(duty_cycle_or_phase_or_frequency)
-> update(switching_command)
-> observe(output_response)
pathway "ThermalManagement":
estimate(conduction_loss, switching_loss, magnetic_loss)
-> calculate(total_loss)
-> monitor(junction_temperature, ambient_temperature)
-> derate_or_trip_if_limits_exceeded
pathway "FaultResponse":
detect(abnormal_measurement)
-> classify(fault_type)
-> apply(protective_action)
-> record(event, timestamp, measurements)
-> require(verified_clearance_before_restart)
# ---------- PHYSICAL_RELATIONSHIPS ----------
rule "InputPower": P_in = V_in * I_in when dc_input
rule "OutputPower": P_out = V_out * I_out when dc_output
rule "Efficiency": efficiency = P_out / P_in when P_in > 0
rule "Loss": P_loss = P_in - P_out when measurement_boundaries_match
rule "EnergyBalance": P_in = P_out + P_loss for steady_state_consistent_boundary
rule "IdealBuck": V_out = duty_cycle * V_in when ideal_continuous_conduction_buck
rule "IdealBoost": V_out = V_in / (1 - duty_cycle) when ideal_continuous_conduction_boost and 0 <= duty_cycle < 1
note: "AC quantities require RMS, phase and power-factor treatment; ideal equations are topology-specific approximations."
# ---------- MINI_RECURSION_ENGINE ----------
engine "ConverterReasoning":
seed = S(t)
expand = infer(candidate_operating_states, observed_measurements, R, K)
filter = reject(candidates_violating(B))
rank = prefer(candidates_with_consistent_measurements_and_protection_evidence)
update = merge(K, selected_candidate, observation_provenance)
repeat until stable_state or iteration_limit
output = (state_estimate, diagnosis, confidence, evidence)
# ---------- INFERENCE_RULES ----------
if enable and input_present and not protection_trip then infer STARTING_or_REGULATING
if output_error_within_tolerance and temperature_within_limit then infer REGULATING
if output_voltage_low and input_voltage_low then infer possible_input_undervoltage
if output_voltage_low and output_current_high then infer possible_overload
if temperature_high and loss_estimate_high then infer possible_thermal_stress
if overcurrent_trip then infer FAULT and command_disable
if sensor_disagreement then infer uncertain_state and request_independent_measurement
if protection_trip then prohibit_automatic_restart_until_authorised
if isolation_required then verify_isolation_barrier_rating_and_integrity
# ---------- CONFIDENCE ----------
confidence.inputs: [sensor_validity, calibration, temporal_consistency, topology_match, corroboration]
confidence.high: multiple_independent_valid_observations_agree
confidence.medium: partial_evidence_or_model_uncertainty
confidence.low: missing_data_or_conflicting_observations
confidence.rule: never_treat_estimated_state_as_verified_safe_state
# ---------- SEMANTIC_EQUIVALENCE ----------
equivalent "power converter" ~ "electronic energy converter" when context=power_electronics
equivalent "DC-DC converter" ~ "DC voltage converter" when topology_and_function_match
distinct "converter" != "inverter" unless converter_type=DC_to_AC
distinct "converter" != "rectifier" unless converter_type=AC_to_DC
distinct "regulation" != "isolation"
# ---------- SAFETY_CONSTRAINTS ----------
constraint never_exceed(component_voltage_current_temperature_ratings)
constraint maintain_required_creepage_clearance_and_isolation
constraint protect_against_short_circuit_and_overtemperature
constraint verify_de_energisation_and_discharge_before_servicing
constraint do_not_assume_output_safe_when_input_removed
constraint require_qualified_engineering_review_for_real_installations
# ---------- FLOW_HASH ----------
flow_hash.algorithm: "SHA-256"
flow_hash.scope: "canonical UTF-8 content excluding the flow_hash.value line"
flow_hash.value: "UNCOMPUTED; generate after canonicalisation"
# ---------- UPDATE_MODEL ----------
update.version: "1.0"
update.strategy: "revise on source changes, new verified evidence, or corrected engineering rules"
update.require: [source_provenance, change_log, validation, new_hash]
update.validation: [unit_consistency, topology_conditions, safety_limits, state_transition_consistency]
# ---------- END FLOW ----------
Download Code
Copy to Clipboard