Study guide
4.4 Digital Logic Gates, Flip-Flops, ADC/DAC & Nyquist Sampling
Certified Biomedical Equipment Technician CBET
Track your progress as you read
Finished sections get a check mark.
1 Chapter 1: Medical Terminology & Cardiovascular Physiology
1.1 Medical Terminology, Prefixes, Suffixes & Anatomical Directions 1.2 Cardiovascular Anatomy & Cardiac Conduction System 1.3 Hemodynamics, Perfusion & Blood Pressure Calculations 1.4 Electrocardiography (ECG) Waveforms, Vectors & Lead Systems
2 Chapter 2: Respiratory, Nervous, Musculoskeletal & Organ Systems
2.1 Respiratory Anatomy, Mechanics of Breathing & Gas Exchange 2.2 Nervous System, Neuromuscular Junction & Electrophysiology 2.3 Renal Filtration, Gastrointestinal & Endocrine Systems
3 Chapter 3: Basic Electrical Theory & DC Circuit Analysis
3.1 Fundamental Electrical Laws, Ohm's Law & Power Calculations 3.2 DC Circuit Analysis, Kirchhoff's Laws & Bridge Circuits 3.3 Capacitors, Inductors & RC/RL Transient Analysis
4 Chapter 4: AC Circuits, Semiconductor Devices & Analog/Digital Electronics
4.1 AC Waveforms, RMS, Reactance & Total Impedance 4.2 Diodes, Rectifiers, Linear/Switching Power Supplies & Transistors 4.3 Operational Amplifiers, Active Filters & Instrumentation Bioamplifiers 4.4 Digital Logic Gates, Flip-Flops, ADC/DAC & Nyquist Sampling
5 Chapter 5: Clinical Networking & Infrastructure
5.1 Networking Fundamentals, OSI Model & IPv4/IPv6 Subnetting 5.2 Network Hardware, Structured Cabling & Clinical Topologies 5.3 Hospital Wi-Fi Standards & Wireless Medical Telemetry (WMTS)
6 Chapter 6: Interoperability, Cybersecurity & Connected Medical Devices
6.1 Medical Device Interoperability: HL7, FHIR, DICOM & Gateways 6.2 Healthcare Cybersecurity, MDS2, Patching & Legacy OS Hardening 6.3 Network Segmentation, VLANs, Zero Trust & IoMT Security 6.4 Troubleshooting Clinical System Hardware, Peripherals, Storage & Cable Plant
7 Chapter 7: Healthcare Electrical Safety & Facility Standards
7.1 NFPA 99 Health Care Facilities Code & Receptacle Grounding 7.2 Medical Device Leakage Current, IEC 60601-1 & Applied Parts (B/BF/CF) 7.3 Operating Room Isolated Power Systems & Line Isolation Monitors (LIM)
8 Chapter 8: Environmental Safety, Infection Control & Regulatory Compliance
8.1 Hospital Safety, OSHA HazCom, Fire Extinguishers & Medical Gas Systems 8.2 Infection Control, CDC Precautions, Spaulding Disinfection & PPE in HTM 8.3 Healthcare Accreditation (TJC EC), CMS CoP & FDA SMDA/MedWatch Reporting
9 Chapter 9: Physiological Monitoring & Diagnostic Modalities
9.1 Multi-Parameter Patient Monitors & ECG Signal Processing 9.2 Blood Pressure (NIBP/IBP Transducers) & SpO2 Pulse Oximetry 9.3 Capnography (EtCO2), Temperature Measurement & Neurodiagnostics (EEG/EMG) 9.4 Diagnostic Equipment (Otoscope, Ophthalmoscope, Audiometer, Spirometer, Scales, Stress Test) & Clinical Measurement Units 9.5 Fetal Monitoring: Ultrasound FHR Transducers, Tocodynamometry (TOCO), Internal Leads & Maternal-Fetal Telemetry
10 Chapter 10: Therapeutic, Surgical & Life-Support Equipment
10.1 Infusion Pumps, Syringe Pumps & Medication Delivery Safety 10.2 Defibrillators, Biphasic Waveforms, Cardioversion & Pacemakers 10.3 Mechanical Ventilators & Anesthesia Delivery Systems 10.4 Electrosurgical Units (ESU), Return Electrode Monitoring & Surgical Lasers 10.5 Perioperative Support Equipment: Pneumatic Tourniquets, Surgical Tables, Lights, Microscopes, Video Integration & Fluid Warmers 10.6 Intra-Aortic Balloon Pumps, Aspiration/Suction Systems, Neonatal Therapeutic Devices & Physical Therapy Modalities
11 Chapter 11: Laboratory, Sterilization & Biomedical Test Instrumentation
11.1 Laboratory Centrifuges, Analyzers & Patient Thermal Management 11.2 Steam Autoclaves, Sterilization Methods & Biological Indicators 11.3 Specialized Biomedical Test Equipment, Simulators & NIST Traceability 11.4 Histology & Cold-Chain Laboratory Equipment: Cryostats, Microtomes, Rockers, Water Baths, Refrigerators, Freezers & Microscopes
12 Chapter 12: Troubleshooting Methodologies & Monitoring Systems Repair
12.1 Systematic Troubleshooting Principles & Signal Tracing Methods 12.2 Troubleshooting Patient Monitors, ECG Artifacts & Sensor Faults 12.3 Troubleshooting Infusion Devices, Occlusions & Air Detection 12.4 Device Error vs. Use Error, Repair Prioritization & Clinical Staff Education
13 Chapter 13: Troubleshooting Life-Support, OR & Clinical IT Systems
13.1 Troubleshooting Defibrillators, Pacing & High-Voltage Discharge 13.2 Troubleshooting Ventilators, Gas Blenders & Flow Transducers 13.3 Troubleshooting Electrosurgical Generators & REM Circuit Faults 13.4 Troubleshooting Clinical Telemetry, Wireless & Gateway Interfaces 13.5 Troubleshooting Diagnostic & Therapeutic Equipment 13.6 Troubleshooting Laboratory & Perioperative Equipment
14 Chapter 14: Healthcare Technology Management (HTM) & Quality Assurance
14.1 Medical Equipment Management Plan (MEMP) & CMS AEM Programs 14.2 CMMS Work Order Management, Asset Lifecycle & HTM Metrics (MTBF/MTTR) 14.3 Calibration Quality Assurance, Documentation & Return to Service Protocols 14.4 ANSI/AAMI EQ56, EQ89, EQ93 & EQ103: The HTM Standards Framework
15 Chapter 15: CBET Exam Readiness — Blueprint, Eligibility & Logistics
15.1 The Official CBET Content Outline, Eligibility Pathways & Application Process 15.2 Test Day, Scoring, Results & Maintaining the CBET Credential
4.4 Digital Logic Gates, Flip-Flops, ADC/DAC & Nyquist Sampling
Key Takeaways Explain This Topic AI
Number systems in medical computing include Binary (base-2), Hexadecimal (base-16, where 4 bits = 1 nibble/hex character), and Two's Complement for signed integers; De Morgan's Laws state that ~(A·B) = ~A + ~B and ~(A+B) = ~A · ~B.
Logic families operate at standardized thresholds: TTL (5V logic: V_IL ≤ 0.8V, V_IH ≥ 2.0V) and CMOS (3.3V/5V rails with near-infinite input impedance and high noise immunity, but vulnerable to gate oxide electrostatic discharge).
Sequential logic devices include D Flip-Flops for data latching/registers, JK Flip-Flops for universal state toggling, and T Flip-Flops configured as divide-by-2 binary counters in timing/pacing systems.
Clinical ADC architectures span Flash (ultra-fast, 2^n - 1 comparators), SAR (Successive Approximation, 12-18 bit general monitoring), and Sigma-Delta (24-bit high resolution with oversampling for diagnostic ECG/EEG bioamplifiers).
The Nyquist-Shannon Sampling Theorem dictates that the sampling frequency must satisfy f_s ≥ 2·f_max to prevent aliasing; ADC quantization resolution is LSB = V_ref / 2^n, with an ideal Signal-to-Quantization-Noise Ratio of SQNR = 6.02·n + 1.76 dB.
Last updated: August 2026
Digital Logic Gates, Flip-Flops, ADC/DAC & Nyquist Sampling
Modern healthcare devices—from bedside patient monitors and automated external defibrillators (AEDs) to robotic surgical controllers—are embedded digital computing platforms. Continuous analog physiological phenomena (blood pressure, biopotentials, gas concentrations) must be precisely digitized, processed by microcontrollers or digital signal processors (DSPs), and converted back to analog therapeutic control voltages. The Certified Biomedical Equipment Technician (CBET) must understand the mathematics of binary systems, the mechanics of combinational and sequential logic, bus communications, and the fundamental rules of analog-to-digital conversion.
1. Number Systems, Binary Representation & Boolean Algebra +-----------------------------------------------------------------------------+
- | NUMBER SYSTEM CONVERSION MATRIX |
- | |
- | Decimal (Base-10): 0 1 2 3 4 5 6 7 8 9 10 11 12 ... |
- | Binary (Base-2): 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 ... |
- | Hex (Base-16): 0 1 2 3 4 5 6 7 8 9 A B C ... |
- | |
- | Example: Decimal 214 = Binary 11010110_2 = Hex 0xD6 |
- | Nibble High: 1101_2 = 13_10 = 'D' |
- | Nibble Low: 0110_2 = 6_10 = '6' |
- +-----------------------------------------------------------------------------+
Number Systems in Biomedical Computing:
Binary (Base-2): Digits 0 and 1 . Each position represents a power of 2 2 2 ( 2 0 = 1 , 2 1 = 2 , 2 2 = 4 , 2 3 = 8 , 2 4 = 16 , 2 5 = 32 , 2 6 = 64 , 2 7 = 128 2^0=1, 2^1=2, 2^2=4, 2^3=8, 2^4=16, 2^5=32, 2^6=64, 2^7=128 2 0 = 1 , 2 1 = 2 , 2 2 = 4 , 2 3 = 8 , 2 4 = 16 , 2 5 = 32 , 2 6 = 64 , 2 7 = 128 ). One byte = 8 bits 8\text{ bits} 8 bits ( 0 to 255 0\text{ to }255 0 to 255 decimal unsigned).
Hexadecimal (Base-16): Digits 0–9 and letters A–F ( A = 10 , B = 11 , C = 12 , D = 13 , E = 14 , F = 15 A=10, B=11, C=12, D=13, E=14, F=15 A = 10 , B = 11 , C = 12 , D = 13 , E = 14 , F = 15 ). Used to express memory addresses, CAN bus identifiers, and raw register dumps concisely (e.g., 1111 1111 2 = 0xFF = 255 10 1111\,1111_2 = \text{0xFF} = 255_{10} 1111 111 1 2 = 0xFF = 25 5 10 ).
Two's Complement Representation: The universal method for encoding signed integers in medical microprocessors. To negate a binary number: invert all bits (One's complement) and add 1 1 1 .
Example for + 5 +5 + 5 ( 0000 0101 2 0000\,0101_2 0000 010 1 2 ): Invert bits → 1111 1010 2 \to 1111\,1010_2 → 1111 101 0 2 ; add 1 → 1111 1011 2 = − 5 1 \to 1111\,1011_2 = -5 1 → 1111 101 1 2 = − 5 .
Boolean Algebra Fundamentals & De Morgan's Theorems:
Boolean algebra defines mathematical operations on binary truth values ( 1 = TRUE / HIGH , 0 = FALSE / LOW 1 = \text{TRUE / HIGH}, 0 = \text{FALSE / LOW} 1 = TRUE / HIGH , 0 = FALSE / LOW ):
- Identity Laws: A ⋅ 1 = A , A + 0 = A A \cdot 1 = A, \quad A + 0 = A A ⋅ 1 = A , A + 0 = A
- Null / Dominance Laws: A ⋅ 0 = 0 , A + 1 = 1 A \cdot 0 = 0, \quad A + 1 = 1 A ⋅ 0 = 0 , A + 1 = 1
- Idempotent Laws: A ⋅ A = A , A + A = A A \cdot A = A, \quad A + A = A A ⋅ A = A , A + A = A
Complement Laws: A ⋅ A ‾ = 0 , A + A ‾ = 1 A \cdot \overline{A} = 0, \quad A + \overline{A} = 1 A ⋅ A = 0 , A + A = 1
Involution Law: A ‾ ‾ = A \overline{\overline{A}} = A A = A
Distributive Law: A ⋅ ( B + C ) = ( A ⋅ B ) + ( A ⋅ C ) A \cdot (B + C) = (A \cdot B) + (A \cdot C) A ⋅ ( B + C ) = ( A ⋅ B ) + ( A ⋅ C ) De Morgan’s First Theorem: A ⋅ B ‾ = A ‾ + B ‾ \text{De Morgan's First Theorem: } \overline{A \cdot B} = \overline{A} + \overline{B} De Morgan’s First Theorem: A ⋅ B = A + B De Morgan’s Second Theorem: A + B ‾ = A ‾ ⋅ B ‾ \text{De Morgan's Second Theorem: } \overline{A + B} = \overline{A} \cdot \overline{B} De Morgan’s Second Theorem: A + B = A ⋅ B
Rule of thumb: "Break the bar, change the operator" (AND becomes OR, OR becomes AND).
2. Combinational Logic Gates & Logic Families
Combinational logic circuits produce outputs that depend purely on the instantaneous state of their inputs. +-----------------------------------------------------------------------------+
- | FUNDAMENTAL LOGIC GATES & TRUTH TABLES |
- | |
- | [AND GATE] [OR GATE] [NAND GATE] [NOR GATE] |
- | A ---\ A ---\ A ---\ o A ---\ o |
- | )--- Y >--- Y )--- Y >--- Y |
- | B ---/ B ---/ B ---/ B ---/ |
- | Y = A * B Y = A + B Y = ~(A * B) Y = ~(A + B) |
- | |
- | [XOR GATE] [XNOR GATE] [NOT INVERTER] [BUFFER] |
- | A --))\ A --))\ o |
- | )--- Y )--- Y A ----|>o--- Y A ----|>---- Y |
- | B --))/ B --))/ |
- | Y = A (+) B Y = ~(A (+) B) Y = ~A Y = A |
- +-----------------------------------------------------------------------------+
Comprehensive Logic Gate Truth Table Reference:
Input A Input B AND ( A ⋅ B A \cdot B A ⋅ B ) OR ( A + B A + B A + B ) NAND ( A ⋅ B ‾ \overline{A \cdot B} A ⋅ B ) NOR ( A + B ‾ \overline{A + B} A + B ) XOR ( A ⊕ B A \oplus B A ⊕ B ) XNOR ( A ⊕ B ‾ \overline{A \oplus B} A ⊕ B )
- 0 0 0 0 1 1 0 1
- 0 1 0 1 1 0 1 0
- 1 0 0 1 1 0 1 0
- 1 1 1 1 0 0 0 1
Universal Gates:
NAND and NOR gates are classified as universal gates because any Boolean function (AND, OR, NOT, XOR) can be constructed entirely from combinations of NAND gates alone or NOR gates alone.
Logic Voltage Families Comparison:
Parameter Standard TTL ( 5.0 V 5.0\text{ V} 5.0 V ) High-Speed CMOS (74HC, 5.0 V 5.0\text{ V} 5.0 V ) Low-Voltage CMOS ( 3.3 V 3.3\text{ V} 3.3 V ) Ultra-Low Voltage ( 1.8 V 1.8\text{ V} 1.8 V )
V I L V_{IL} V I L (Max Low Input) 0.80 V 0.80\text{ V} 0.80 V 1.50 V 1.50\text{ V} 1.50 V ( 0.3 ⋅ V C C 0.3 \cdot V_{CC} 0.3 ⋅ V CC ) 0.80 V 0.80\text{ V} 0.80 V 0.50 V 0.50\text{ V} 0.50 V
V I H V_{IH} V I H (Min High Input) 2.00 V 2.00\text{ V} 2.00 V 3.50 V 3.50\text{ V} 3.50 V ( 0.7 ⋅ V C C 0.7 \cdot V_{CC} 0.7 ⋅ V CC ) 2.00 V 2.00\text{ V} 2.00 V 1.20 V 1.20\text{ V} 1.20 V
V O L V_{OL} V O L (Max Low Output) 0.40 V 0.40\text{ V} 0.40 V 0.10 V 0.10\text{ V} 0.10 V 0.20 V 0.20\text{ V} 0.20 V 0.10 V 0.10\text{ V} 0.10 V
V O H V_{OH} V O H (Min High Output) 2.40 V 2.40\text{ V} 2.40 V 4.90 V 4.90\text{ V} 4.90 V 3.10 V 3.10\text{ V} 3.10 V 1.70 V 1.70\text{ V} 1.70 V
Static Power Dissipation Moderate ( m W mW mW ) Ultra-low ( ≈ n W \approx nW ≈ nW ) Ultra-low Negligible
Input Impedance Moderate ( 10 k Ω 10\text{ k}\Omega 10 k Ω ) High ( > 10 12 Ω >10^{12}\,\Omega > 1 0 12 Ω ) High ( > 10 12 Ω >10^{12}\,\Omega > 1 0 12 Ω ) High ( > 10 12 Ω >10^{12}\,\Omega > 1 0 12 Ω )
Caution
CMOS Electrostatic Discharge (ESD) Sensitivity: CMOS logic ICs possess ultra-thin silicon dioxide ( S i O 2 SiO_2 S i O 2 ) gate dielectric layers ( < 5 nm <5\text{ nm} < 5 nm thick). An electrostatic discharge of merely 100 V 100\text{ V} 100 V —imperceptible to human touch—will punch through the gate oxide, causing permanent gate leakage or latch-up failure. BMETs must strictly wear grounded ESD wrist straps ( 1.0 M Ω 1.0\text{ M}\Omega 1.0 M Ω series safety resistor) and use antistatic mats when servicing internal medical processor boards.
3. Sequential Logic: Flip-Flops, Registers & Counters
Unlike combinational circuits, sequential logic circuits contain internal memory. Output states depend on both current inputs and past states, governed by a clock synchronization pulse. +-----------------------------------------------------------------------------+
- | SEQUENTIAL LOGIC BUILDING BLOCKS |
- | |
- | [D FLIP-FLOP (DATA LATCH)] [JK FLIP-FLOP (UNIVERSAL)] |
- | +-------------+ +-------------+ |
- | D --->| D Q |---> Q J --->| J Q |---> Q |
- | | | | | |
- | CLK ->|> _ | CLK ->|> _ | |
- | | \Q |---> ~Q K --->| K \Q |---> ~Q |
- | +-------------+ +-------------+ |
- | Q_next = D (on clock edge) J=0,K=0: Hold | J=1,K=0: Set (Q=1)|
- | J=0,K=1: Reset | J=1,K=1: Toggle |
- | |
- | [T FLIP-FLOP (DIVIDE-BY-2 COUNTER)] |
- | T=1: Output toggles on every rising clock edge (f_out = f_clk / 2). |
- +-----------------------------------------------------------------------------+
Sequential Logic Applications in Medical Instrumentation:
D Flip-Flop (Data Register): Captures and holds digital multi-bit samples from ADC output buses before microcontrollers read them via parallel DMA.
T Flip-Flop (Frequency Dividers): Cascaded T flip-flops form ripple binary counters used in defibrillator pacing pulse timers, syringe pump optical encoder revolution counters, and clock prescalers.
Shift Registers (e.g., 74HC595): Convert serial data streams into parallel outputs to drive multi-segment LED numerical displays and relay banks in autoclaves.
4. Digital Bus Architectures: I2C, SPI & UART
Medical printed circuit boards integrate multiple peripheral chips (temperature sensors, EEPROMs, real-time clocks, DACs) using standard digital communication buses. +-----------------------------------------------------------------------------+
- | CLINICAL EMBEDDED SERIAL BUS ARCHITECTURES |
- | |
- | [I2C BUS: 2-Wire Multi-Drop] [SPI BUS: 4-Wire High-Speed] |
- | Master CPU SDA (Serial Data) Master CPU MOSI (Master Out Slave)|
- | o----------+----------+ o----------+---------+ |
- | | | | | MISO <--+<--------+ (Data In)|
- | | SCL (Serial Clock) | | SCLK ---+---------> (Clock) |
- | o----------+----------+ | CS1# ---o [Slave 1: ADC] |
- | | | | CS2# ------------o [Slave 2] |
- | [Slave 1] [Slave 2] +-------------------------------+|
- | (Temp IC) (EEPROM) Speed: Fast (10 - 50+ MHz) |
- | Speed: 100 kHz - 3.4 MHz Topology: Point-to-multipoint |
- +-----------------------------------------------------------------------------+
Bus Comparisons:
I 2 C I^2C I 2 C (Inter-Integrated Circuit): 2-wire half-duplex bus (SDA: Serial Data line, SCL: Serial Clock line). Uses open-drain lines pulled high by external resistors ( 2.2 k Ω to 4.7 k Ω 2.2\text{ k}\Omega\text{ to }4.7\text{ k}\Omega 2.2 k Ω to 4.7 k Ω ). Devices are addressed via 7-bit software addresses. Speeds: Standard ( 100 kbps 100\text{ kbps} 100 kbps ), Fast ( 400 kbps 400\text{ kbps} 400 kbps ), High-Speed ( 3.4 Mbps 3.4\text{ Mbps} 3.4 Mbps ). Used for reading battery gas gauges, board temperature sensors, and calibration EEPROMs.
SPI (Serial Peripheral Interface): 4-wire full-duplex synchronous bus (MOSI: Master Out Slave In, MISO: Master In Slave Out, SCLK: Serial Clock, CS#/SS#: Chip Select). High speed ( 10 to > 50 Mbps 10\text{ to }>50\text{ Mbps} 10 to > 50 Mbps ). Used for high-resolution medical ADCs, flash memory, and LCD graphical displays.
UART (Universal Asynchronous Receiver-Transmitter): Asynchronous point-to-point serial communication using two lines (TX: Transmit, RX: Receive) with defined baud rates (e.g., 9600 , 115200 baud 9600, 115200\text{ baud} 9600 , 115200 baud ), start bits, stop bits, and parity bits. Used in RS-232 patient monitor clinical data export ports.
5. Analog-to-Digital Converters (ADC) in Medical Instrumentation
An ADC samples a continuous physical analog voltage and converts it into a discrete binary number. +-----------------------------------------------------------------------------+
- | ADC ARCHITECTURES COMPARISON |
- | |
- | [1. FLASH ADC] [2. SAR ADC] [3. SIGMA-DELTA ADC] |
- | - 2^n - 1 comparators - Binary search DAC - Oversampling & DSP |
- | - Ultra-fast (<10 ns) - Medium speed (1 MSPS) - High res (24-bit) |
- | - Low resolution (6-8 bit) - 12 to 18-bit res - Diagnostic ECG/EEG |
- | - Ultrasound beamformers - Multi-parameter mon. - Audio/biosignals |
- +-----------------------------------------------------------------------------+
ADC Specifications & Formulas:
Quantization Levels ( N N N ): For an n n n -bit ADC, the total number of discrete output binary states is: N = 2 n N = 2^n N = 2 n
Resolution / Least Significant Bit ( V LSB V_{\text{LSB}} V LSB or Step Size): The smallest analog voltage change detectable by the converter: V LSB = V ref 2 n V_{\text{LSB}} = \frac{V_{\text{ref}}}{2^n} V LSB = 2 n V ref
Quantization Error ( e q e_q e q ): The inherent rounding error resulting from digitizing a continuous signal. The maximum quantization uncertainty is: Max Error = ± 0.5 ⋅ V LSB = ± V ref 2 n + 1 \text{Max Error} = \pm 0.5 \cdot V_{\text{LSB}} = \pm \frac{V_{\text{ref}}}{2^{n+1}} Max Error = ± 0.5 ⋅ V LSB = ± 2 n + 1 V ref
Theoretical Signal-to-Quantization-Noise Ratio (SQNR): SQNR dB = 6.02 ⋅ n + 1.76 dB \text{SQNR}_{\text{dB}} = 6.02 \cdot n + 1.76\text{ dB} SQNR dB = 6.02 ⋅ n + 1.76 dB
An 8-bit ADC achieves: 6.02 ( 8 ) + 1.76 = 49.92 dB 6.02(8) + 1.76 = 49.92\text{ dB} 6.02 ( 8 ) + 1.76 = 49.92 dB
A 16-bit ADC achieves: 6.02 ( 16 ) + 1.76 = 98.08 dB 6.02(16) + 1.76 = 98.08\text{ dB} 6.02 ( 16 ) + 1.76 = 98.08 dB
A 24-bit ADC achieves: 6.02 ( 24 ) + 1.76 = 146.24 dB 6.02(24) + 1.76 = 146.24\text{ dB} 6.02 ( 24 ) + 1.76 = 146.24 dB
6. The Nyquist-Shannon Sampling Theorem & Aliasing +-----------------------------------------------------------------------------+
- | NYQUIST SAMPLING & ALIASING ARTIFACT |
- | |
- | [ADEQUATE SAMPLING: fs >= 2 * fmax] |
- | Analog Sine Wave: ~~~~\~~~~/~~~~\~~~~/~~~~ |
- | Sample Points (fs): * * * * * * * * (Accurate waveform) |
- | |
- | [UNDER-SAMPLING: fs < 2 * fmax ---> ALIASING DISTORTION] |
- | High Freq Wave: /\/\/\/\/\/\/\/\/\/\/\/\/\/\/ |
- | Sample Points (fs): * * * * (Creates FALSE low-freq) |
- | Apparent Waveform: ~~~---\\_______//---~~~ (Lethal misdiagnosis!) |
- +-----------------------------------------------------------------------------+
The Nyquist Theorem Formulation:
To completely and accurately reconstruct a continuous analog bandlimited signal without aliasing distortion, the sampling frequency ( f s f_s f s ) must be at least twice the highest frequency component ( f max f_{\max} f m a x ) present in the input signal: f s ≥ 2 ⋅ f max f_s \ge 2 \cdot f_{\max} f s ≥ 2 ⋅ f m a x Nyquist Frequency (Folding Frequency): f N = f s 2 \text{Nyquist Frequency (Folding Frequency): } f_N = \frac{f_s}{2} Nyquist Frequency (Folding Frequency): f N = 2 f s
Aliasing Phenomenon in Medical Monitoring:
If an analog signal contains frequency components higher than the Nyquist limit ( f signal > f s / 2 f_{\text{signal}} > f_s / 2 f signal > f s /2 ), those high frequencies fold back into the lower frequency spectrum, appearing as false low-frequency phantom waves (aliases) . In clinical practice, if 60 Hz 60\text{ Hz} 60 Hz powerline interference or a 100 Hz 100\text{ Hz} 100 Hz pacemaker spike is sampled at only 80 Hz 80\text{ Hz} 80 Hz , it aliases into a false 20 Hz 20\text{ Hz} 20 Hz wave that mimics ventricular tachycardia or flutter.
The Role of Analog Anti-Aliasing Pre-Filters:
To enforce the Nyquist criterion, medical digitizers place an analog low-pass anti-aliasing filter directly before the ADC input to sharply attenuate all frequencies exceeding f s / 2 f_s / 2 f s /2 before conversion occurs.
Clinical Modality Highest Frequency ( f max f_{\max} f m a x ) Theoretical Nyquist ( 2 f max 2 f_{\max} 2 f m a x ) Clinical Sampling Rate ( f s f_s f s ) Standard ADC Resolution
Diagnostic 12-Lead ECG 150 Hz 150\text{ Hz} 150 Hz 300 Hz 300\text{ Hz} 300 Hz 500 to 1 , 000 Hz 500\text{ to }1,000\text{ Hz} 500 to 1 , 000 Hz 24 -bit Σ − Δ 24\text{-bit } \Sigma-\Delta 24 -bit Σ − Δ
Clinical EEG 70 Hz 70\text{ Hz} 70 Hz 140 Hz 140\text{ Hz} 140 Hz 250 to 500 Hz 250\text{ to }500\text{ Hz} 250 to 500 Hz 24 -bit Σ − Δ 24\text{-bit } \Sigma-\Delta 24 -bit Σ − Δ
Diagnostic EMG 500 Hz 500\text{ Hz} 500 Hz 1 , 000 Hz 1,000\text{ Hz} 1 , 000 Hz 2 , 000 to 5 , 000 Hz 2,000\text{ to }5,000\text{ Hz} 2 , 000 to 5 , 000 Hz 16 -bit SAR 16\text{-bit SAR} 16 -bit SAR
Invasive Blood Pressure (IBP) 40 Hz 40\text{ Hz} 40 Hz 80 Hz 80\text{ Hz} 80 Hz 200 to 400 Hz 200\text{ to }400\text{ Hz} 200 to 400 Hz 16 -bit SAR 16\text{-bit SAR} 16 -bit SAR
7. Digital-to-Analog Converters (DAC) & Medical DSP
Digital-to-Analog Converters (DACs) convert processed binary words back into continuous analog voltages to drive patient simulator test waveforms, speaker alarms, syringe pump motor speeds, and Defibrillator charge controllers.
R-2R Resistor Ladder DAC: Requires only two precision resistor values ( R R R and 2 R 2R 2 R ). Highly stable and immune to component drift.
Microcontroller Watchdog Timers (WDT): Safety-critical hardware counter that automatically resets the medical processor if firmware freezes or enters an infinite loop, ensuring patient life-support devices fail-safe within milliseconds.