Skip to main content
ClaudeWave
Skill65 estrellas del repoactualizado yesterday

semiconductor-device-physics

Physical principles underlying diodes, bipolar junction transistors, and MOSFETs — carrier concentrations, drift and diffusion, the pn junction, forward and reverse bias, the Shockley diode equation, BJT operating regions, MOSFET threshold and saturation, small-signal models, and temperature effects. Use when reasoning about device-level behavior, designing bias networks, selecting transistor operating points, interpreting datasheets, or diagnosing nonlinear device failures.

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/Tibsfox/gsd-skill-creator /tmp/semiconductor-device-physics && cp -r /tmp/semiconductor-device-physics/examples/skills/electronics/semiconductor-device-physics ~/.claude/skills/semiconductor-device-physics
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

SKILL.md

# Semiconductor Device Physics

Before a transistor can be used, it must be biased. Before it can be biased correctly, its underlying physics must be understood well enough to predict what happens when temperature changes, when the supply sags, or when the input drives it out of its intended operating region. This skill provides the bridge between the linear, idealized circuit analysis of the previous skill and the messy, nonlinear, temperature-sensitive reality of actual silicon.

**Agent affinity:** shockley (junction physics and bias), bardeen (surface physics and transistor action), brattain (experimental device characterization)

**Concept IDs:** elec-diode-rectification, elec-transistor-amplifiers, elec-semiconductor-physics

## What a Semiconductor Is

A semiconductor is a crystalline material (silicon, germanium, gallium arsenide) whose conductivity lies between that of a metal and that of an insulator, and — crucially — can be controlled by doping with impurities and by applied electric fields. At absolute zero, pure silicon has a filled valence band and an empty conduction band separated by a 1.12 eV bandgap. Above zero temperature, a small number of electrons are thermally excited into the conduction band, leaving holes behind in the valence band. Both electrons and holes act as mobile charge carriers.

Doping introduces atoms with either one extra valence electron (donors, producing n-type material) or one fewer (acceptors, producing p-type material). The equilibrium carrier concentrations satisfy the mass-action law n * p = n_i^2, where n_i is the intrinsic carrier concentration (≈ 1.5e10 cm^-3 for silicon at room temperature).

Current flows by two mechanisms: **drift** (carriers accelerated by an electric field, limited by mobility) and **diffusion** (carriers moving from regions of high to low concentration). The diffusion coefficient and mobility are related by the Einstein relation D = μ * kT / q.

## The pn Junction at Thermal Equilibrium

When p-type and n-type silicon are brought into contact, holes diffuse from the p side into the n side and electrons diffuse the other way. The diffused carriers leave behind uncompensated ionized dopants, forming a depletion region with a built-in electric field that opposes further diffusion. At equilibrium, drift and diffusion exactly cancel, and a built-in potential V_bi ≈ (kT/q) * ln(N_A * N_D / n_i^2) appears across the junction (typically 0.6-0.8 V for silicon).

**Key geometric facts:**

- The depletion region width scales as 1/sqrt(N_dopant). Heavily doped junctions have narrow depletion regions.
- The junction capacitance C_j scales as sqrt(1/(V_bi - V_applied)). Forward bias shrinks the depletion region and increases capacitance; reverse bias widens it and decreases capacitance.
- Almost all the applied voltage drops across the depletion region because the bulk semiconductor has low resistance.

## Technique 1 — Forward and Reverse Bias

**Forward bias.** Apply a positive voltage to the p side relative to the n side. The applied field opposes the built-in field, shrinking the depletion region and allowing majority carriers to diffuse across the junction. Current rises exponentially with voltage above the turn-on point (~0.6 V for silicon, ~0.3 V for germanium, ~1.8 V for blue LEDs).

**Reverse bias.** Apply a negative voltage. The applied field reinforces the built-in field, widening the depletion region. Only a tiny saturation current flows, dominated by minority carrier diffusion and thermal generation.

**Breakdown.** At sufficiently high reverse voltage the junction breaks down via avalanche multiplication (above ~6 V) or Zener tunneling (below ~6 V). Breakdown is non-destructive as long as the total power dissipated stays within the device's rating — this is how Zener diodes produce precise reference voltages.

## Technique 2 — The Shockley Diode Equation

The ideal diode I-V relationship is:

    I = I_s * (exp(V / (n * V_T)) - 1)

where V_T = kT/q ≈ 25.85 mV at room temperature, I_s is the reverse saturation current, and n is the ideality factor (1 for ideal diffusion, 2 for recombination-dominated).

**Worked example.** A silicon diode has I_s = 1e-14 A and n = 1. What voltage corresponds to 1 mA of forward current?

    V = V_T * ln(I / I_s + 1) ≈ 0.02585 * ln(1e11) ≈ 0.655 V

The characteristic curve is very steep: the voltage changes by only about 60 mV per decade of current change (V_T * ln(10) ≈ 59.5 mV). This is why a diode is often approximated as a 0.7 V drop in first-pass analysis.

**Temperature dependence.** I_s roughly doubles every 10 °C. At fixed current, the forward voltage drops by about -2 mV/°C. This is the dominant temperature effect in transistor circuits and must be compensated in precision designs.

## Technique 3 — Bipolar Junction Transistor (BJT) Operation

A BJT has three terminals (emitter, base, collector) and two junctions. In an NPN device, the base is a thin p-type region between two n-type regions. With the base-emitter junction forward biased and the base-collector junction reverse biased, electrons injected from the emitter diffuse across the thin base and are swept into the collector by the reverse field.

**Operating regions:**

| Region | V_BE | V_CE | I_C relationship |
|---|---|---|---|
| Cutoff | < 0.5 V | any | ≈ 0 (both junctions off) |
| Active | ≈ 0.7 V | > 0.2 V | I_C = β * I_B = I_S * exp(V_BE / V_T) |
| Saturation | ≈ 0.7-0.8 V | < 0.2 V | V_CE pinned ≈ 0.1-0.2 V, large I_B |
| Reverse active | (rarely used) | | |

**Key parameters:**

- β (current gain, also called h_FE): typically 50-500, varies with device, temperature, and I_C. Wide tolerance is the main reason BJT designs use emitter degeneration.
- V_BE(on): ≈ 0.6-0.7 V, temperature coefficient -2 mV/°C.
- V_CE(sat): ≈ 0.1-0.2 V when driven hard into saturation.
- I_S: exponentially temperature-dependent; the active-region current equation is more reliably temperature-stable than it first appears because β roughl
art-history-movementsSkill

Major art movements and their historical context for art education. Covers 12 movements from the Renaissance to contemporary art, their defining characteristics, key artists, signature works, and the intellectual/social forces that produced them. Use when analyzing artworks in historical context, understanding stylistic lineages, identifying influences across periods, or connecting studio practice to art-historical precedent.

color-theorySkill

Color theory principles for art education. Covers the three color properties (hue, saturation, value), color mixing systems (subtractive and additive), color relationships (complementary, analogous, triadic, split-complementary), color temperature, simultaneous contrast and the relativity of color perception, and practical palette construction. Use when analyzing color in artworks, planning color schemes, understanding optical phenomena in painting, or investigating Albers's Interaction of Color experiments.

creative-processSkill

The creative process in art from idea to exhibition. Covers five phases of creative work (inspiration, incubation, exploration, execution, reflection), sketchbook practice, artist statements, critique methodology (formal and conceptual), portfolio development, and the studio as a working environment. Use when guiding students through project development, facilitating critique sessions, developing artist statements, curating portfolios, or understanding how professional artists structure their creative practice.

digital-artSkill

Digital art tools, techniques, and workflows for art education. Covers raster and vector workflows, digital painting, photo manipulation, generative and procedural art, 3D modeling and rendering, pixel art, the relationship between traditional skills and digital execution, and ethical considerations of AI-generated imagery. Use when working with digital tools, evaluating digital art, or bridging traditional art concepts into digital practice.

drawing-observationSkill

Observational drawing and visual perception techniques for art education. Covers contour drawing, gesture drawing, negative space, proportion and measurement, value mapping, spatial depth cues, and the cognitive shift from symbolic to perceptual seeing. Use when teaching drawing fundamentals, analyzing observational accuracy, or developing visual literacy in any medium.

sculpture-3dSkill

Three-dimensional art and sculptural thinking for art education. Covers additive and subtractive sculptural processes, armature construction, modeling in clay, carving principles, casting and moldmaking, assemblage and found-object sculpture, installation art as expanded sculpture, and the conceptual transition from pictorial to spatial thinking. Use when working with three-dimensional media, analyzing sculptural form, understanding spatial composition, or investigating the relationship between sculpture and site.

celestial-coordinatesSkill

Celestial coordinate systems and sky positioning. Covers horizon (altitude-azimuth), equatorial (right ascension-declination), ecliptic, and galactic systems; epoch and precession; coordinate transformations; planisphere use; and practical sky-locating from any latitude and date. Use when locating objects, planning observations, converting catalog coordinates, or teaching the geometry of the sky.

cosmological-observationSkill

Observational cosmology from Hubble's law to the CMB. Covers redshift, Hubble expansion, the cosmological parameters, the cosmic microwave background, large-scale structure, galaxy rotation curves and dark matter, Type Ia SNe and dark energy, and the current state of Lambda-CDM. Use when reasoning about the large-scale universe, interpreting cosmological surveys, or teaching the Big Bang evidence chain.