3.3 Operational Amplifiers, Signal Conditioning & Digital Logic

Key Takeaways

  • In an ideal linear negative-feedback circuit, V+≈V−V_+\approx V_- and input current is negligible. Inverting gain is −Rf/Rin-R_f/R_{\text{in}} and non-inverting gain is 1+Rf/Rin1+R_f/R_{\text{in}}.

  • An instrumentation amplifier rejects signal shared by both inputs within its operating limits. Analog filtering before conversion suppresses frequencies that would otherwise alias.

  • Logic gates combine readiness signals. Active-low describes asserted polarity, while safe behavior on a broken wire depends on circuit design and validation.

  • An ideal nn-bit ADC has 2n2^n codes with step size equal to full-scale input span divided by 2n2^n. Baseband sampling requires a rate above twice the highest retained frequency.

  • Use a tested personnel grounding system and shielding packaging for sensitive boards at the designated workbench. A wrist strap is for static control and affords no high-voltage protection.

Last updated: November 2026

Operational Amplifiers & Analog Signal Conditioning

Detector signals can be small currents or voltages. An ion chamber produces a current, while a receive coil or transducer can supply a voltage to a receiver. Before a digital processor can analyze them, analog front-end circuitry built around operational amplifiers (op-amps) amplifies, integrates, and filters those signals.

Use the ideal op-amp rules for a stable negative-feedback circuit operating in its linear range. Saturation or operation outside the input common-mode range invalidates these assumptions.

  1. Zero differential input voltage: Negative feedback drives the output until V+≈V−V_+ \approx V_- (creating a virtual ground when V+V_+ is grounded).
  2. Zero input current: Infinite input impedance means virtually no current enters the inverting (−-) or non-inverting (++) pins.
Op-Amp ConfigurationTransfer EquationPrimary Imaging Role
Inverting AmplifierVout=−(RfRin)VinV_{\text{out}} = -\left(\frac{R_f}{R_{\text{in}}}\right) V_{\text{in}}Phase-inverting gain and signal scaling
Non-Inverting AmplifierVout=(1+RfRin)VinV_{\text{out}} = \left(1 + \frac{R_f}{R_{\text{in}}}\right) V_{\text{in}}High-ZinZ_{\text{in}} voltage amplification (e.g., Rf=0R_f = 0 gives a unity-gain buffer)
Instrumentation Amplifier (INA)Vout=G(V+−V−)V_{\text{out}} = G (V_+ - V_-)Differential amplification with high Common-Mode Rejection Ratio (CMRR) to suppress pickup shared by the two input leads, within bandwidth and input range
Transimpedance Amplifier (TIA)Vout=−IinRfV_{\text{out}} = -I_{\text{in}} R_fConverts photodiode or ion-chamber current directly to voltage
Op-Amp IntegratorVout(t)−Vout(0)=−1Cf∫0tIin(u) duV_{\text{out}}(t)-V_{\text{out}}(0)=-\frac{1}{C_f}\int_0^t I_{\text{in}}(u)\,duAccumulates Automatic Exposure Control (AEC) ion-chamber charge
ComparatorLogic-level state changes as the input crosses its referenceTrips when AEC ramp hits VrefV_{\text{ref}} or signals an over-kV/over-mA fault

Worked Calculation: Non-Inverting Gain & AEC Ion-Chamber Integrator

Part A (Non-Inverting Stage): A detector preamplifier uses Rin=2.0 kΩR_{\text{in}} = 2.0\text{ k}\Omega and Rf=18.0 kΩR_f = 18.0\text{ k}\Omega. With a 150 mV150\text{ mV} input signal:

Av=1+RfRin=1+18.0 kΩ2.0 kΩ=10Vout=10×0.150 V=1.50 VA_v = 1 + \frac{R_f}{R_{\text{in}}} = 1 + \frac{18.0\text{ k}\Omega}{2.0\text{ k}\Omega} = 10 \qquad V_{\text{out}} = 10 \times 0.150\text{ V} = 1.50\text{ V}

Part B (AEC Exposure Termination): In an idealized AEC circuit with the integrator reset to zero at exposure start, the ion chamber delivers a steady ionization current Iion=2.0 μAI_{\text{ion}} = 2.0\ \mu\text{A} (2.0×10−6 A2.0 \times 10^{-6}\text{ A}) into an integrator with Cf=0.010 μFC_f = 0.010\ \mu\text{F} (1.0×10−8 F1.0 \times 10^{-8}\text{ F}). If the comparator terminates the exposure when the integrator output magnitude reaches Vref=5.0 VV_{\text{ref}} = 5.0\text{ V}, how long is the exposure?

t=Vref⋅CfIion=5.0 V×1.0×10−8 F2.0×10−6 A=0.025 s=25 mst = \frac{V_{\text{ref}} \cdot C_f}{I_{\text{ion}}} = \frac{5.0\text{ V} \times 1.0 \times 10^{-8}\text{ F}}{2.0 \times 10^{-6}\text{ A}} = 0.025\text{ s} = 25\text{ ms}

Active Filters

An active filter uses a powered stage with frequency-selective elements. In a simple first-order design with one RCRC pole, fc=1/(2πRC)f_c=1/(2\pi RC) is the −3 dB-3\text{ dB} point relative to passband gain. Other topologies use their own transfer functions.

  • Low-pass filters act as anti-aliasing filters ahead of ADCs and smooth high-frequency switching noise on control feedback.
  • High-pass filters strip DC offsets and low-frequency motion clutter in ultrasound Doppler channels.
  • Band-pass and notch filters isolate narrow MRI/ultrasound receiver bands or reject 60 Hz60\text{ Hz} mains hum.

Digital Logic, Number Systems & Sequential Circuits

Modality controllers represent error codes, memory addresses, and pixel intensities in binary (base-2) and hexadecimal (base-16), where each hex digit encodes exactly 4 binary bits (a nibble). For example, the hex error code 0x2A converts to (2×16)+10=4210=001010102(2 \times 16) + 10 = 42_{10} = 00101010_2.

Basic Logic Gates & Active-Low Safety Interlocks

Input AAInput BBAND (A⋅BA \cdot B)OR (A+BA + B)NANDNORXOR (A⊕BA \oplus B)
00000000111100
00110011110011
11000011110011
11111111000000

A NOT gate (inverter) flips 0↔10 \leftrightarrow 1. NAND and NOR are universal gates capable of constructing any Boolean function. An active-low input is asserted at logic 0. The label alone says nothing about whether an open wire inhibits exposure. For example, an engineered continuity loop can require a valid signal to enable an exposure, so a broken wire removes permission. Use the actual wiring and fault-detection design to determine expected behavior.

Sequential Logic & Timing Blocks

  • Latches and flip-flops: A latch can respond while its enable is asserted, whereas an edge-triggered flip-flop samples at a clock edge. A latch can store a fault flag until an authorized reset. Clocked flip-flops can synchronize digital data to a local clock.
  • Counters: Divide clock frequencies, count CT gantry optical-encoder ticks for angular slice position, and run hardware backup timers.
  • Multiplexers (MUX): Route many analog channels (such as ultrasound transducer elements or flat-panel detector rows) sequentially into a smaller bank of shared amplifiers and ADCs.

ADC / DAC Resolution, Bit Depth & Nyquist Sampling

Analog-to-Digital Converters (ADCs) sample continuous analog signals into discrete binary numbers, while Digital-to-Analog Converters (DACs) turn digital generator setpoints (such as commanded kVp\text{kVp} and mA\text{mA}) into analog control voltages.

An ideal nn-bit ADC divides its full-scale voltage range VFSV_{\text{FS}} into 2n2^n quantization levels, with a step size (Least Significant Bit, LSB) of:

Levels=2nΔVLSB=VFS2n\text{Levels} = 2^n \qquad \Delta V_{\text{LSB}} = \frac{V_{\text{FS}}}{2^n}
Bit depthIdeal number of codesAt a fixed 4.096 V input span
8-bit25616 mV per code
10-bit1,0244 mV per code
12-bit4,0961 mV per code
14-bit16,3840.25 mV per code
16-bit65,5360.0625 mV per code

The ADC’s code width describes an input conversion. A stored image’s bit allocation, CT rescale parameters, and a display’s grayscale capability are separate settings. Extra nominal bits cannot recover information lost to noise, clipping, or an inadequate analog input range.

Worked Calculation: 14-Bit Digital Radiography ADC Step Size

A flat-panel digital radiography (DR) readout board in this exercise uses a 14-bit ADC with a 0-4.096 V0\text{-}4.096\text{ V} full-scale range. How many discrete levels can it resolve, and what voltage change corresponds to 1 LSB1\text{ LSB}?

214=16,384 levelsΔVLSB=4.096 V16,384=0.00025 V=250 μV (0.25 mV)2^{14} = 16,384\text{ levels} \qquad \Delta V_{\text{LSB}} = \frac{4.096\text{ V}}{16,384} = 0.00025\text{ V} = 250\ \mu\text{V}\ (0.25\text{ mV})

Nyquist-Shannon Sampling Theorem

For a band-limited baseband signal and ideal reconstruction, the ADC sampling frequency fsf_s must strictly exceed twice the highest frequency component fmaxf_{\text{max}} retained at the input. A practical analog anti-alias filter attenuates out-of-band components before conversion.

fs>2fmaxf_s > 2 f_{\text{max}}

Pulsed-wave Doppler samples the Doppler shift at the pulse repetition frequency (PRF). A shift beyond the unambiguous interval around zero can wrap on a spectral display and appear at a misleading frequency or direction.


Microcontroller / FPGA Control Buses & ESD Protection

Imaging subsystems communicate internally over standardized digital buses:

  • SPI (Serial Peripheral Interface): High-speed, full-duplex synchronous bus (SCLK, MOSI, MISO, CS) used to stream fast ADC conversions and update DAC kVp/mA\text{kVp/mA} references.
  • I2C (Inter-Integrated Circuit): Two-wire addressed bus (SDA, SCL) used for board temperature monitors, EEPROM calibration data, and power-rail telemetry.
  • UART and serial links: A Universal Asynchronous Receiver/Transmitter (UART) frames asynchronous bits. A transceiver can adapt those signals to single-ended RS-232 or differential RS-422. Controller Area Network (CAN) is a separate bus with its own framing and arbitration.
  • FPGAs (Field-Programmable Gate Arrays): Hardware-programmable logic arrays that perform deterministic parallel timing—such as ultrasound receive beamforming delays, CT DAS packet framing, and sub-millisecond interlock watchdogs.

Electrostatic Discharge (ESD) Protection

CMOS logic, insulated gates and detector electronics can be damaged by electrostatic discharge below the level a person notices. Susceptibility depends on the part and the discharge model. Damage may be immediate or latent. Use an approved static-control workstation and packaging designed to shield the device during transport.

Caution

At an approved de-energized bench, connect personnel and the dissipative work surface to the designated common point per the ESD program. A typical wrist cord includes 1 MΩ1\text{ M}\Omega of series resistance. A wrist strap provides static control and must stay off during energized high-voltage or mains work.

Sources

Loading diagram...
Example Detector Readout and Analog Exposure Control Paths
Test Your Knowledge

An Automatic Exposure Control (AEC) ionization chamber outputs a constant 1.5 μA1.5\ \mu\text{A} current into an ideal op-amp integrator reset to zero with a feedback capacitor of 0.015 μF0.015\ \mu\text{F} (1.5×10−8 F1.5 \times 10^{-8}\text{ F}). If the comparator terminates the exposure when the integrator output magnitude reaches 6.0 V6.0\text{ V}, what is the exposure time?

A

15 ms15\text{ ms}

B

30 ms30\text{ ms}

C

45 ms45\text{ ms}

D

60 ms60\text{ ms}

Test Your Knowledge

A digital radiography detector board uses an ideal 12-bit ADC with a 0-4.096 V0\text{-}4.096\text{ V} full-scale range. What are the total number of quantization levels and the voltage resolution per step (1 LSB1\text{ LSB})?

A

2,0482,048 levels and 2.0 mV/step2.0\text{ mV/step}

B

16,38416,384 levels and 0.25 mV/step0.25\text{ mV/step}

C

4,0964,096 levels and 1.0 mV/step1.0\text{ mV/step}

D

65,53665,536 levels and 0.0625 mV/step0.0625\text{ mV/step}

Test Your Knowledge

At an approved de-energized service bench, how should a technician protect a sensitive CMOS beamformer board from static discharge?

A

Only discharges above 3,000 V3,000\text{ V} that a technician can feel are capable of damaging modern CMOS ICs

B

Use the tested wrist strap with its typical 1 MΩ1\text{ M}\Omega series resistor and the designated dissipative work surface.

C

A zero-ohm direct copper strap with no series resistor provides the safest protection on energized equipment

D

Standard pink polyethylene bags fully shield boards from external electrostatic fields during transport

Sections you finish are checked off in the contents.