Logic families: characteristics of digital ICs
Characteristics of digital IC logic families: voltage levels, noise margins, speed, power, fan-out, input/output currents and other parameters that determine which family (TTL, CMOS, etc.) is right for a design.
Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.
Why it matters
Digital engineers choose a logic family (for example TTL or CMOS) when designing gates, counters, registers and interfaces. The family determines the required supply voltage, how fast signals switch, how much power is consumed, what voltage levels count as logical 0 and 1, and how many inputs one output can drive (fan‑out). Wrong choices can make a circuit unreliable, too slow, or power hungry.
Key ideas
All terms below are defined first, then used.
Logic family — a group of integrated circuits that use the same internal transistor topology and have compatible electrical characteristics (supply voltage, input/output levels, drive capability, timing and power). Examples: TTL (Transistor–Transistor Logic), CMOS (Complementary MOS), ECL (Emitter Coupled Logic), and sub-families like 74LS, 74HC.
Supply voltage (VCC) — the DC voltage required by the IC for normal operation. Specify the nominal value and allowed range. Example: classic TTL uses VCC = 5 V (nominal, typical operating range 4.75–5.25 V). Always list the allowed tolerance when designing.
Input and output logic levels — four voltages that define switching thresholds and guaranteed outputs: VIH (minimum input voltage guaranteed to be read as logic 1), VIL (maximum input voltage guaranteed to be read as logic 0), VOH (minimum output voltage guaranteed when output is driving logic 1), VOL (maximum output voltage guaranteed when output is driving logic 0). When giving these, state whether values are guaranteed (worst-case) or typical.
Noise margin — margin available to tolerate noise on a signal without changing the logical interpretation. Exact definitions used in exams:
- Noise margin high (NMH) = VOH_min − VIH_min. This is the minimum guaranteed voltage margin above the minimum input-high threshold.
- Noise margin low (NML) = VIL_max − VOL_max. This is the minimum guaranteed margin below the maximum input-low threshold. These must be non‑negative for reliable communication between devices.
Fan‑out — the maximum number of standard inputs that a single output can drive while keeping outputs and inputs within guaranteed logic levels. Compute separately for HIGH and LOW states using steady currents:
- Fan‑out_high = |IOH_max| / IIH_max, where IOH_max is the available source current (magnitude) at the output when logic is HIGH, and IIH_max is the input current required by each driven input when it is HIGH.
- Fan‑out_low = |IOL_max| / IIL_max, using sink current and input ground current. The practical fan‑out is the smaller of these two.
Propagation delay (t_pd) — the time between an input transition and the corresponding output reaching a specified fraction (usually 50%) of its final value. Two commonly quoted values:
- t_PLH — propagation delay for a low-to-high output transition.
- t_PHL — propagation delay for a high-to-low output transition. Manufacturers specify both; the larger one often limits speed.
Transition times (tr, tf) — the output rise time (tr) and fall time (tf) are the times for the output to change between specified percentages (usually 10% to 90% or 20% to 80%) of VCC.
Power dissipation — energy converted to heat. Two parts:
- Static (quiescent) power: P_static = VCC × ICC_static, where ICC_static is the quiescent supply current when inputs are static.
- Dynamic power (important for CMOS): P_dynamic ≈ α·C_L·VCC^2·f, where α is activity factor (fraction of cycles with a 0→1 transition), C_L is load capacitance, and f is clock (switching) frequency.
Input capacitance (C_in) and output capacitance — the capacitive load that must be charged or discharged during switching; these affect propagation delay and dynamic power.
Transfer characteristic — plot of Vout versus Vin for a gate. To draw: x-axis labelled Vin (0 to VCC), y‑axis labelled Vout (0 to VCC). Mark VIH and VIL on x-axis and VOH, VOL on y-axis. Show hysteresis for Schmitt inputs if present.
Open‑collector / open‑drain outputs — outputs that can only pull the line to LOW; a pull‑up resistor or active pull‑up is needed to make it HIGH. Used for wired‑AND or bus sharing.
Tri‑state (three‑state) outputs — push–pull drivers that can be placed in a high‑impedance (Hi‑Z) state to disconnect from a bus; required for high‑speed bus sharing. When enabled they behave like totem‑pole outputs; never tie two enabled totem‑pole outputs together.
Totem‑pole output — push–pull output stage that can both source and sink current (faster switching, but cannot be wire‑ORed without care).
Where assumptions apply: guaranteed values are worst‑case across temperature and process as stated in the IC datasheet; typical values are only for guidance.
Formulas
NMH = VOH_min − VIH_min — NMH is noise margin for logic HIGH; volts; applies to guaranteed worst‑case levels.
NML = VIL_max − VOL_max — NML is noise margin for logic LOW; volts; applies to guaranteed worst‑case levels.
FanOut_high = |IOH_max| ÷ IIH_max — IOH_max is maximum source current available at logic HIGH (A), IIH_max is input current per driven gate at HIGH (A).
FanOut_low = |IOL_max| ÷ IIL_max — IOL_max is maximum sink current available at logic LOW (A), IIL_max is input current per driven gate at LOW (A).
P_static = VCC × ICC_static — static power in watts; ICC_static in amperes.
P_dynamic ≈ α × C_L × VCC^2 × f — dynamic switching power for CMOS; α dimensionless, C_L in farads, VCC in volts, f in Hz.
t_pd = time(output reaches 50% of final) − time(input crosses 50%) — propagation delay per definition used by the manufacturer; seconds.
t_rise (tr) = time for Vout to go from 10% to 90% of VCC — seconds; similarly for t_fall (tf).
Worked examples
Example 1 — noise margins for standard TTL levels (numerical, exam style). Given (worst‑case guaranteed): VOH_min = 2.4 V, VOL_max = 0.4 V, VIH_min = 2.0 V, VIL_max = 0.8 V. Compute NMH and NML.
- Write formulas: NMH = VOH_min − VIH_min ; NML = VIL_max − VOL_max.
- Numbers: NMH = 2.4 − 2.0 = 0.4 V. NML = 0.8 − 0.4 = 0.4 V.
- Final: NMH = 0.4 V, NML = 0.4 V. These are the minimum guaranteed noise margins for the interface.
Example 2 — fan‑out calculation (method shown; numbers are typical for TTL families; check datasheet for exact values). Given: a single output can source IOH_max = 0.4 mA when HIGH, and can sink IOL_max = 8.0 mA when LOW. Each input presents IIH_max = 40 μA when HIGH and IIL_max = 0.16 mA when LOW. Find maximum fan‑out.
- Compute fan‑out for HIGH: FanOut_high = 0.4 mA ÷ 0.04 mA = 10.
- Compute fan‑out for LOW: FanOut_low = 8.0 mA ÷ 0.16 mA = 50.
- Practical fan‑out = min(10, 50) = 10. So the HIGH side limits the fan‑out.
Example 3 — dynamic power for a CMOS gate chain. Given: VCC = 5.0 V, C_L per gate = 10 pF, α = 0.5 (every cycle half the time a 0→1 occurs), f = 10 MHz, N = 20 gates switching similarly. Compute P_dynamic_total.
- P per gate = α·C_L·VCC^2·f = 0.5 × 10e−12 F × (5)^2 × 10e6 Hz = 0.5 × (10e−12 × 25 × 10e6) = 0.5 × 2500e−6 W = 1250e−6 W = 1.25e−3 W = 1.25 mW.
- For 20 gates: P_total = 20 × 1.25 mW = 25 mW.
- Report: P_dynamic_total = 25 mW for the 20‑gate block (idealised calculation).
Note: check C_L, α and f values from your design; ICC_static must be added for total power.
Common mistakes
- Forgetting to take absolute value of currents when computing fan‑out (signs may be negative for sourcing current).
- Mixing up units (μA vs mA) when calculating fan‑out — always convert to the same unit.
- For CMOS dynamic power, forgetting the activity factor α or using VCC instead of VCC^2.
- Quoting propagation delay as a single number without stating whether it is t_PLH or t_PHL or the 50% reference point.
- Leaving CMOS inputs floating; always tie unused CMOS inputs to a defined logic level (through resistors if necessary).
For your exam
Question types you will see: definitions (VIH, VIL, VOH, VOL, NM), short notes (compare TTL vs CMOS on speed/power), derivations (noise margin formulas, power expressions), numericals (compute NM, fan‑out, power), and diagrams (transfer characteristic, output stage). A full‑marks answer should:
- State definitions clearly and use correct symbols.
- Show whether values are guaranteed or typical.
- For numericals, show formulas, units and stepwise substitution, and give final result with units and qualification (worst‑case or typical).
- For diagrams, label axes, thresholds (VIH, VIL) and outputs (VOH, VOL). If asked to compare families, tabulate or list typical differences in power, speed, and voltage ranges.
Quick check
- Define VOH and VOL in one sentence each.
- Write the formula for noise margin high (NMH).
- If IOH_max = 1.2 mA and IIH_max = 0.12 mA, what is fan‑out_high? Answers: VOH = minimum guaranteed output voltage for a logic HIGH; VOL = maximum guaranteed output voltage for a logic LOW. NMH = VOH_min − VIH_min. Fan‑out_high = 1.2 mA ÷ 0.12 mA = 10.
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?