flow "OperationalAmplifier" v1.0
# ---------- IDENTITY ----------
id: "engineering.electronic_component.operational_amplifier"
category: "Electronic Component Entities"
entity_type: "Operational Amplifier"
locale: "en-GB"
# ---------- 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/operational-amplifier-ontology.html"
source.title: "Operational Amplifier Ontology"
source.revised: "2026-08-04"
source.mode: "Newly constructed semantic Flow Algebra; not a verbatim extraction"
# ---------- PURPOSE ----------
purpose: "Represent operational-amplifier structure, signal amplification, feedback, operating limits, diagnostic states and semantic relationships."
scope: ["analogue signal processing", "closed-loop feedback", "linear amplification", "comparative operation", "fault reasoning"]
# ---------- STATE_MODEL ----------
state S(t) = (I(t), R, B, K)
I(t): observed input voltages, output voltage, supply rails, load, temperature, feedback topology
R: electrical relationships and inference rules
B: absolute maximum ratings, operating ranges, stability and safety boundaries
K: component specifications, circuit topology and verified measurements
state.operating: ["unpowered", "powering_up", "linear", "saturated_high", "saturated_low", "slew_limited", "unstable", "fault", "shutdown"]
state.transition: "unpowered -> powering_up -> linear | saturated_high | saturated_low | fault"
state.recovery: "fault -> isolated -> inspected -> verified -> powering_up"
# ---------- ENTITIES ----------
entity OperationalAmplifier:
is_a: "Analogue Integrated Circuit"
has_terminal: ["non_inverting_input", "inverting_input", "output", "positive_supply", "negative_supply_or_ground"]
may_have: ["enable", "offset_null", "compensation", "shutdown"]
has_property: ["open_loop_gain", "input_offset_voltage", "input_bias_current", "input_impedance", "output_impedance", "gain_bandwidth_product", "slew_rate", "common_mode_rejection_ratio", "power_supply_rejection_ratio", "output_swing", "noise", "quiescent_current"]
participates_in: ["feedback_loop", "signal_conditioning", "filter", "integrator", "differentiator", "buffer", "comparator_like_application"]
entity FeedbackNetwork:
connects: ["output", "inverting_input_or_non_inverting_input"]
topology: ["negative_feedback", "positive_feedback", "open_loop"]
entity Load:
property: ["impedance", "capacitance", "required_output_current"]
entity PowerSupply:
property: ["positive_rail", "negative_rail", "supply_current", "decoupling"]
# ---------- PATHWAYS ----------
pathway "DifferentialInput":
read: [V_plus, V_minus]
derive: V_d = V_plus - V_minus
infer: "The ideal open-loop output tendency follows the sign of V_d."
pathway "OpenLoopModel":
precondition: "Valid operating supply and input common-mode range"
derive: V_out_ideal = A_OL * V_d
constrain: "Actual V_out is bounded by device-specific output swing and load capability."
note: "A_OL varies with frequency, temperature and operating point."
pathway "NonInvertingAmplifier":
precondition: "Stable negative feedback, linear operation, idealised model"
derive: A_CL = 1 + R_feedback / R_ground
derive: V_out_ideal = A_CL * V_in
validate: "Check supply rails, common-mode input range, output current, bandwidth and slew rate."
pathway "InvertingAmplifier":
precondition: "Stable negative feedback, linear operation, idealised model"
derive: A_CL = -R_feedback / R_input
derive: V_out_ideal = A_CL * V_in
validate: "Check bias current, offset, noise gain and signal range."
pathway "VoltageFollower":
precondition: "Device stable at unity gain"
derive: V_out_ideal = V_in
infer: "Closed-loop buffer provides high input impedance and lower output impedance."
pathway "DynamicResponse":
derive: max_abs_dVout_dt = slew_rate
infer: "A required output slope exceeding slew rate causes slew limiting."
note: "For a dominant-pole compensated amplifier, approximate closed-loop bandwidth depends on gain-bandwidth product and noise gain."
pathway "PowerAndThermal":
read: [supply_voltage, supply_current, output_current, output_voltage, ambient_temperature]
infer: "Estimate dissipation using the device's output stage and supply model."
constrain: "Junction temperature and output-current limits must remain within manufacturer ratings."
# ---------- MINI_RECURSION_ENGINE ----------
engine "OpAmpDiagnosticRecursion":
initialise: S(0)
expand: E(t) = expand(I(t), R)
filter: V(t) = {x in E(t) where satisfies(x, B)}
select: x_star = argmax P(x | I(t), R, B, K)
update: I(t+1) = integrate(I(t), x_star, verified_observations)
stop_when: ["stable_classification", "insufficient_evidence", "iteration_limit", "unsafe_condition"]
require: "Retain uncertainty and evidence provenance at every iteration."
# ---------- INFERENCE_RULES ----------
rule "SupplyAbsent":
when: "Supply outside minimum operating range"
then: "Classify output as unspecified or unpowered; do not assume zero volts."
rule "LinearFeedback":
when: "Negative feedback established AND output not saturated AND loop stable"
then: "Approximate V_plus ≈ V_minus for sufficiently high loop gain."
rule "OutputSaturation":
when: "Requested output exceeds achievable output swing"
then: "Classify saturation; flag invalid ideal gain prediction."
rule "CommonModeViolation":
when: "Input common-mode voltage outside specified range"
then: "Flag behaviour as potentially undefined."
rule "SlewLimit":
when: "abs(required_output_slope) > slew_rate"
then: "Classify slew-limited response."
rule "PossibleInstability":
when: "Oscillation or excessive ringing observed"
then: "Inspect phase margin, capacitive load, feedback network, layout and decoupling."
rule "OffsetError":
when: "Measured DC output error persists with nominal zero input"
then: "Evaluate input offset voltage, bias currents, resistor mismatch and drift."
rule "ThermalFault":
when: "Estimated junction temperature exceeds rated limit"
then: "Enter fault state; remove drive and require qualified verification."
# ---------- CONFIDENCE ----------
confidence.high: "Directly measured values with calibrated instruments and matching device datasheet"
confidence.medium: "Validated circuit model with bounded component tolerances"
confidence.low: "Unverified topology, unknown op-amp type or missing operating conditions"
confidence.policy: "Never present idealised equations as guaranteed real-device performance."
# ---------- SEMANTIC_EQUIVALENCE ----------
equivalent_terms: ["operational amplifier", "op amp", "op-amp", "differential voltage amplifier"]
related_entities: ["integrated circuit", "resistor", "capacitor", "feedback network", "voltage follower", "analogue filter", "comparator"]
not_equivalent_to: ["dedicated comparator", "power amplifier", "instrumentation amplifier"]
# ---------- SAFETY_CONSTRAINTS ----------
safety: "Check device-specific absolute maximum ratings, supply polarity, input voltage limits, thermal dissipation and ESD precautions."
safety: "Do not infer safe operation from idealised gain formulas alone."
safety: "De-energise equipment before modifying circuitry where required by applicable procedures."
# ---------- FLOW_HASH ----------
flow_hash.algorithm: "SHA-256"
flow_hash.scope: "Canonical UTF-8 content excluding the hash value itself"
flow_hash.value: "UNCOMPUTED — calculate after final publication"
# ---------- UPDATE_MODEL ----------
update.version: "1.0"
update.date: "2026-11-17"
update.trigger: ["source revision", "new verified component relationships", "corrected electrical models", "safety review"]
update.require: ["source attribution", "version increment", "change log", "hash regeneration"]
# ---------- END FLOW ----------
Download Code
Copy to Clipboard