Skip to main content

Oscillator 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 "Oscillator" v1.0

# ---------- IDENTITY ----------
id: "electronic-component.oscillator"
category: "Engineering Entities / Electronic Component Entities"
entity_type: "Oscillator"
locale: "en-GB"
status: "constructed semantic flow"

# ---------- AUTHORS ----------
authors: ["Mark Anthony Higgins", "Sky — Recursive AI"]
licence: "Open Research Licence; citation required"

# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/electronic-component-entities/oscillator-ontology.html"
source.title: "Oscillator Ontology"
source.revised: "2026-08-04"
source_note: "Newly constructed Flow Algebra representation; not a verbatim extraction of hidden page specifications."
citation_backlink: source.url

# ---------- PURPOSE ----------
purpose: "Represent electronic oscillators, their signal-generation mechanisms, operational states, measurable properties, relationships and diagnostic reasoning."
scope: ["sinusoidal oscillators", "relaxation oscillators", "crystal oscillators", "ring oscillators", "clock generators", "voltage-controlled oscillators"]

# ---------- STATE_MODEL ----------
state S = (I, R, B, K)
I: observed inputs, component measurements and operating conditions
R: relationships between supply, feedback, timing network and output
B: electrical ratings, physical limits and validity boundaries
K: established electronic principles and validated device specifications

operating_states: ["unpowered", "starting", "oscillating", "frequency-drift", "unstable", "stalled", "fault", "isolated"]
initial_state: "unpowered"

transition "power_on": unpowered -> starting when supply_valid and enable_active
transition "start_complete": starting -> oscillating when sustained_periodic_output and amplitude_within_limits
transition "drift": oscillating -> frequency-drift when abs(f_measured - f_target) > tolerance_hz
transition "instability": oscillating -> unstable when excessive_jitter or excessive_amplitude_variation
transition "stall": starting -> stalled when startup_timeout and not sustained_periodic_output
transition "fault_detected": any_operating_state -> fault when electrical_limit_exceeded or component_failure_evidence
transition "safe_isolation": fault -> isolated when power_removed and stored_energy_verified_safe

# ---------- ENTITIES ----------
entity Oscillator: ElectronicComponent
entity PowerSupply: ElectricalSource
entity AmplifyingElement: ActiveElectronicComponent
entity FeedbackNetwork: CircuitNetwork
entity TimingNetwork: CircuitNetwork
entity Resonator: FrequencySelectiveElement
entity OutputSignal: ElectricalSignal
entity Load: ElectricalLoad
entity ControlInput: ElectricalSignal
entity MeasurementInstrument: MeasurementDevice
entity Fault: ElectricalFaultEntity

relationship Oscillator receives PowerSupply
relationship Oscillator contains AmplifyingElement
relationship Oscillator may_contain FeedbackNetwork
relationship Oscillator may_contain TimingNetwork
relationship Oscillator may_contain Resonator
relationship Oscillator produces OutputSignal
relationship OutputSignal drives Load
relationship ControlInput may_adjust Oscillator.frequency
relationship MeasurementInstrument measures OutputSignal
relationship Fault may_affect Oscillator

# ---------- PARAMETERS ----------
parameter supply_voltage: V
parameter output_frequency: Hz
parameter target_frequency: Hz
parameter output_amplitude: V
parameter duty_cycle: ratio
parameter period: s
parameter phase_noise: dBc_per_Hz
parameter frequency_stability: ppm
parameter jitter: s
parameter load_impedance: ohm
parameter ambient_temperature: degC
parameter supply_current: A
parameter startup_time: s

# ---------- PATHWAYS ----------
pathway "supply_to_signal":
  PowerSupply -> Oscillator -> OutputSignal -> Load
  require supply_voltage within device_rated_range
  infer output_possible when startup_conditions_met

pathway "feedback_oscillation":
  AmplifyingElement -> FeedbackNetwork -> AmplifyingElement
  require frequency_selective_positive_feedback_at_operating_frequency
  require nonlinear_amplitude_limitation_or_other_stabilisation
  infer sustained_oscillation_possible when loop_startup_and_stability_conditions_met
  note "Unity loop gain and appropriate phase are design checks, not sufficient universal guarantees of startup or stable oscillation."

pathway "resonator_frequency":
  Resonator -> Oscillator -> OutputSignal
  infer frequency_selected_by_resonator_and_loading
  require device_specific_model_for_numerical_prediction

pathway "control_to_frequency":
  ControlInput -> Oscillator -> OutputSignal
  when oscillator_type == "VCO"
  infer frequency_change_from_calibrated_tuning_curve

pathway "measurement_to_diagnosis":
  OutputSignal -> MeasurementInstrument -> observed_metrics
  observed_metrics -> compare_against_ratings -> diagnosis
  require measurement_bandwidth_and_loading_adequate

# ---------- PHYSICAL_RELATIONSHIPS ----------
rule "period_frequency":
  when output_frequency > 0
  derive period = 1 / output_frequency

rule "frequency_error":
  when target_frequency > 0
  derive relative_frequency_error = (output_frequency - target_frequency) / target_frequency
  derive frequency_error_ppm = relative_frequency_error * 1000000

rule "duty_cycle":
  when period > 0 and high_time >= 0 and high_time <= period
  derive duty_cycle = high_time / period

rule "ideal_lc_resonance":
  when oscillator_type == "LC" and inductance > 0 and capacitance > 0
  derive ideal_resonant_frequency = 1 / (2 * pi * sqrt(inductance * capacitance))
  note "Parasitics, loading and active-device effects can shift actual frequency."

rule "ideal_rc_time_constant":
  when resistance > 0 and capacitance > 0
  derive tau = resistance * capacitance
  note "Oscillation frequency depends on topology and thresholds, not tau alone."

# ---------- MINI_RECURSION_ENGINE ----------
engine "OscillatorReasoner":
  input: observed_metrics, circuit_topology, component_ratings, prior_state
  expand: candidate_states = infer_states(observed_metrics, circuit_topology, prior_state)
  filter: valid_states = reject_candidates_violating(B, candidate_states)
  rank: selected_state = argmax confidence(candidate | I, R, B, K)
  update: next_state = reconcile(prior_state, selected_state, new_evidence)
  repeat: while new_measurements_available and iteration_count < configured_limit
  stop: when stable_classification or insufficient_evidence or safety_limit_reached
  output: next_state, explanation, confidence, unresolved_questions

# ---------- INFERENCE_RULES ----------
rule "normal_oscillation":
  when periodic_output and frequency_within_tolerance and amplitude_within_limits
  infer operating_state = "oscillating"

rule "frequency_drift":
  when output_periodic and frequency_outside_tolerance
  infer candidate_fault = "frequency_drift"
  investigate ["temperature variation", "component tolerance", "supply variation", "resonator ageing", "load pulling"]

rule "no_output":
  when supply_valid and enable_active and startup_timeout and not periodic_output
  infer operating_state = "stalled"
  investigate ["feedback path", "timing components", "resonator", "bias conditions", "output loading"]

rule "output_instability":
  when excessive_jitter or intermittent_output or amplitude_instability
  infer operating_state = "unstable"
  investigate ["power supply noise", "grounding", "feedback margin", "temperature", "external interference"]

rule "unsafe_operation":
  when supply_outside_rating or temperature_exceeds_rating or excessive_current
  infer operating_state = "fault"
  action: "disable and isolate using approved procedures; do not automatically restart"

# ---------- CONFIDENCE ----------
confidence.evidence_levels: ["measured", "datasheet-supported", "modelled", "hypothesised"]
confidence.rule: "Prefer calibrated measurements and manufacturer ratings over generic assumptions."
confidence.unknown: "Return insufficient_evidence rather than inventing component-specific thresholds."
confidence.propagation: "Lower confidence when input data, topology or calibration is uncertain."

# ---------- SEMANTIC_EQUIVALENCE ----------
equivalent_terms:
  "electronic oscillator" ~ "oscillator circuit"
  "clock oscillator" ~ "periodic clock source" when output_is_clock
  "VCO" ~ "voltage-controlled oscillator"
  "crystal oscillator" ~ "quartz-resonator oscillator" when resonator_is_quartz
not_equivalent:
  "oscillator" != "amplifier"
  "oscillator" != "resonator"
  "oscillator" != "signal generator instrument"

# ---------- SAFETY_CONSTRAINTS ----------
safety.require: "Observe device voltage, current, power, temperature and electrostatic-discharge limits."
safety.require: "Discharge stored energy and verify isolation before physical work."
safety.require: "Use appropriately rated and calibrated test equipment."
safety.prohibit: "Do not infer safety or regulatory compliance solely from this ontology."

# ---------- FLOW_HASH ----------
flow_hash.algorithm: "SHA-256"
flow_hash.scope: "Canonical UTF-8 flow content excluding the externally computed digest field"
flow_hash.digest: "UNCOMPUTED"

# ---------- UPDATE_MODEL ----------
update.version: "1.0"
update.date: "2026-11-17"
update.trigger: ["source ontology revision", "verified new evidence", "component model changes", "rule correction"]
update.policy: "Retain provenance, compare revisions, revalidate relationships and regenerate digest."

end flow
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ