N5JLD dot NET

What I do in my Spare Time

User Tools

Site Tools


electronics:components:ics

This is an old revision of the document!


Electronics Reference: Integrated Circuits (ICs)

<Note important> IC HANDLING & DESIGN MANDATE: Integrated Circuits combine thousands to billions of transistors, diodes, resistors, and capacitors onto a single monolithic silicon die. Always observe Electrostatic Discharge (ESD) precautions during handling, verify supply voltage ($V_{CC}$ / $V_{DD}$) tolerances before powering on, and place ceramic decoupling capacitors (`0.1 µF`) as close as physically possible to every power pin. </note>

1. Integrated Circuit Classifications

ICs are categorized by the type of electrical signals they process: Analog (Linear), Digital, or Mixed-Signal.

IC Category Signal Domain Core Function Common Sub-Types & Part Numbers
Analog / Linear ICs Continuous voltage & current Signal amplification, filtering, voltage regulation, comparators Op-Amps: `LM358`, `TL072`, `OPA2134` <br> Voltage Regulators: `LM7805` (Linear), `AMS1117-3.3` (LDO), `LM2596` (Buck) <br> Comparators: `LM393`, `LM339`
Digital Logic ICs Discrete binary states (`0` / `1`, `LOW` / `HIGH`) Boolean logic gates, counters, shift registers, level shifting, bus buffers 7400 Series (TTL / CMOS): `74HC00` (NAND), `74HC595` (Shift Register), `74LVC245` (Level Shifter) <br> 4000 Series (CMOS): `CD4017` (Decade Counter), `CD4066` (Analog Switch)
Microcontrollers (MCUs) Digital + integrated peripherals Programmable embedded control, PWM generation, sensor polling, UART/SPI/I2C `ATmega328P` (AVR), `STM32F4 / STM32H7` (ARM Cortex-M), `ESP32-S3` (Wi-Fi/BLE), `RP2040`
Mixed-Signal ICs Bridges Analog ↔ Digital Analog-to-Digital (ADC) and Digital-to-Analog (DAC) conversion, timing, audio codecs Timers: `NE555` / `TLC555` <br> ADCs: `ADS1115` (16-bit I2C), `MCP3008` (SPI) <br> Motor / Gate Drivers: `DRV8833`, `IR2104`
Power Management ICs (PMICs) High-current switching & battery control LiPo/Li-Ion charging, cell balancing (BMS), multi-rail DC-DC conversion `TP4056` (Li-Ion Charger), `BQ76940` (BMS Monitor), `TPS63020` (Buck-Boost)

2. IC Package Types (Through-Hole vs. Surface-Mount)

Selecting the right physical package impacts prototyping ease, PCB footprint, thermal dissipation, and high-frequency performance.

2.1 Through-Hole Technology (THT)

  • DIP (Dual In-Line Package): Two parallel rows of pins spaced at standard 0.1“ (2.54 mm) pitch (e.g., `DIP-8`, `DIP-16`). Ideal for breadboards, IC sockets, and hand-soldering, but has higher parasitic lead inductance and large board footprint.
  • TO-220 / TO-92: Single-row power packages commonly used for linear voltage regulators (`LM7805`) and power MOSFETs/transistors; TO-220 features a metal tab for mounting to an external heatsink.

2.2 Surface-Mount Devices (SMD / SMT)

  • SOIC (Small Outline Integrated Circuit): Gull-wing leads along two sides at 1.27 mm pitch. Easy to solder by hand with a fine-tip iron and flux.
  • TSSOP / MSOP / SSOP: Shrink-pitch gull-wing packages (0.5 mm to 0.65 mm pitch) used for high-density analog and mixed-signal ICs.
  • QFP / LQFP (Quad Flat Package): Gull-wing leads extending from all four sides (typically 32 to 144+ pins at 0.5 mm–0.8 mm pitch); standard for microcontrollers (`STM32`, `ATmega`).
  • QFN / DFN (Quad / Dual Flat No-Leads): Leadless package with flat metal pads underneath the perimeter and a large exposed thermal ground pad in the center. Requires hot-air rework or reflow oven soldering; offers superior thermal transfer and lowest parasitic inductance.
  • BGA (Ball Grid Array): Array of microscopic solder balls underneath the chip body used for high-pin-count processors, FPGAs, and DDR memory. Requires X-ray inspection and precision reflow profiles.

3. Pinout Identification & Numbering Rules

Installing an IC backwards almost always destroys the silicon die immediately upon applying power. Always verify Pin 1 using these universal orientation markers:

  1. U-Shaped Notch or Circular Dot: Hold the IC with the notch at the top (or the molded/laser-etched dot in the top-left corner).
  2. Counter-Clockwise Numbering: Pin 1 is always the top-left pin. Pin numbers count downward along the left side, cross over to the bottom-right, and count upward along the right side (ending at the highest pin number in the top-right corner opposite Pin 1).
  3. Beveled Edge (SOIC): On some SOIC packages without a dot, the longitudinal edge along Pin 1 has a sloped bevel/chamfer.

4. Essential Hardware Design & PCB Layout Rules

4.1 Power Supply Decoupling (Bypass Capacitors)

High-speed digital ICs switch internal transistors in nanoseconds, causing sudden current spikes that create voltage droop and ground bounce on PCB traces:

  • Local High-Frequency Bypass (`0.1 µF` / `100 nF`): Place an X7R or X5R multilayer ceramic capacitor (MLCC) within 2–3 mm of every single $V_{CC}$ / $V_{DD}$ pin, routed directly to the ground plane with short, wide traces.
  • Bulk Decoupling (`10 µF` – `47 µF`): Place one larger tantalum or ceramic bulk capacitor near the power entry point of complex ICs (MCUs, motor drivers, RF transceivers) to absorb lower-frequency current surges.

4.2 Logic Families & Voltage Level Compatibility

Never connect `5.0 V` logic outputs directly into `3.3 V` microcontroller inputs unless the datasheet explicitly lists the pin as “5V-Tolerant (FT)”:

  • 74HC Series: High-speed CMOS (`2.0 V – 6.0 V` supply); input thresholds scale with $V_{CC}$ (`HIGH` ≥ $0.7 \times V_{CC}$).
  • 74HCT Series: CMOS with TTL-compatible input thresholds (`HIGH` ≥ `2.0 V`); ideal for safely translating `3.3 V` logic signals up to `5.0 V` inputs.
  • 74LVC Series: Low-voltage CMOS (`1.65 V – 3.6 V`) with 5V-tolerant inputs when powered at `3.3 V`; ideal for stepping `5.0 V` sensor signals down to `3.3 V` MCUs.
  • Unused CMOS Inputs: Never leave unused CMOS logic input pins floating. Floating inputs oscillate unpredictably, causing excessive heat and erratic circuit behavior. Tie unused inputs directly to $V_{CC}$ or `GND` (or through a `10 kΩ` pull-up/pull-down resistor).

4.3 Thermal Management

Calculate internal power dissipation ($P_D$) to ensure the silicon junction temperature ($T_J$) stays safely below its absolute maximum rating (typically 125°C to 150°C):

  • Linear Regulator Dissipation: $P_D = (V_{IN} - V_{OUT}) \times I_{LOAD}$. Example: Dropping `12 V` down to `5 V` at `0.5 A` dissipates $(12 - 5) \times 0.5 = 3.5\text{ W}$ as pure heat—requiring a substantial heatsink or switching buck converter instead.
  • Thermal Vias: For QFN/SOIC packages with exposed thermal pads, place an array of small copper vias (`0.3 mm` drill) directly beneath the pad connecting to an internal or bottom ground plane to wick heat away from the die.

5. Reading IC Datasheets (Critical Sections)

Before designing an IC into a schematic or replacing a part on a board, inspect these five datasheet sections in order:

  1. Pin Configuration & Functions: Confirm exact pinout for your specific package suffix (e.g., `DIP-8` vs. `SOIC-8` vs. `TSSOP-8` sometimes have different pin assignments).
  2. Absolute Maximum Ratings: Stress limits ($V_{CC(max)}$, pin input voltage, storage/junction temperature) that will permanently damage the chip if exceeded—never design a circuit to operate near these values.
  3. Recommended Operating Conditions: Nominal voltage, current, and temperature ranges where datasheet performance is guaranteed.
  4. Electrical Characteristics: Key performance metrics such as quiescent current ($I_Q$), input offset voltage ($V_{OS}$), propagation delay ($t_{pd}$), and output drive current ($I_{OH}$ / $I_{OL}$).
  5. Typical Application Circuit & Layout Guidelines: Manufacturer-proven reference schematic showing required external resistors, capacitors, inductors, and PCB trace routing.

6. IC Troubleshooting & Failure Diagnosis

When debugging a malfunctioning circuit board, check integrated circuits in this sequence:

  1. Visual & Odor Inspection: Look under magnification for cracked epoxy packages, blistered/bubbled plastic tops (“magic smoke” eruption), lifted pins, or solder bridges between fine-pitch legs.
  2. Supply Rail & Ground Check: Measure voltage directly across the IC's $V_{CC}$ and `GND` pins with a multimeter. A reading near `0.0 V` or excessive regulator heating indicates an internal short circuit inside the IC.
  3. Thermal Touch / IR Camera Check: Power on briefly and check for abnormally hot ICs (> 70°C / 160°F under light load). An IC that heats up immediately at idle almost always has a damaged ESD protection diode or internal latch-up fault.
  4. Reset, Enable & Clock Verification: For microcontrollers and digital ICs, verify with an oscilloscope or logic analyzer that:
    • The `RESET` pin is held in its inactive state (typically pulled `HIGH` to $V_{CC}$).
    • Any `ENABLE` (`EN`) or `CHIP SELECT` (`CS`) pins are driven to their active state.
    • External crystal oscillators (`8 MHz`, `16 MHz`, `32.768 kHz`) are oscillating cleanly.

Electronics Reference: 1. Diodes & Transistors | 2. Integrated Circuits (ICs)

electronics/components/ics.1795116274.txt.gz · Last modified: by Jon