2N3904
The 2N3904 is a widely used NPN bipolar junction transistor (BJT) designed for general-purpose amplification and switching in low-power electronic applications, featuring a maximum collector current of 200 mA and a collector-emitter voltage rating of 40 V.[1] Introduced by Motorola Semiconductor in the mid-1960s, the 2N3904 quickly became a standard "jellybean" component due to its reliable performance across a broad range of temperatures (-55°C to +150°C) and its compact TO-92 plastic package, which facilitates easy integration into circuits.[2][1] Its enduring popularity stems from consistent availability from multiple manufacturers, including onsemi and NXP, and its ability to handle dynamic ranges up to 100 mA in switching modes and 100 MHz in amplification, making it a staple in both prototyping and production designs even after nearly 60 years.[2][1] Key electrical characteristics include a DC current gain (h_FE) ranging from 30 to 300 depending on collector current, a current-gain-bandwidth product (f_T) of 300 MHz at I_C = 10 mA and V_CE = 20 V, and low saturation voltages such as V_CE(sat) = 0.2 V at I_C = 10 mA and I_B = 1 mA.[1] Absolute maximum ratings specify a collector-base voltage (V_CBO) of 60 V, an emitter-base voltage (V_EBO) of 6.0 V, and a power dissipation (P_D) of 625 mW at an ambient temperature of 25°C, ensuring robust operation in diverse environments.[1] These specifications position the 2N3904 as ideal for applications requiring fast switching and moderate gain without excessive power consumption.[1] Common uses encompass signal amplification in audio and RF circuits, digital logic switching, oscillator stages, and driving small loads like LEDs or relays, often paired with its complementary PNP counterpart, the 2N3906.[1] Despite the advent of more specialized transistors, the 2N3904's simplicity, low cost (typically under $0.10 in bulk), and proven reliability continue to make it a go-to choice for hobbyists, educators, and engineers in fields from consumer electronics to industrial controls.[2]Overview
Description
The 2N3904 is a silicon NPN bipolar junction transistor (BJT) characterized by two n-type semiconductor regions separated by a thin p-type base region.[3][4] This structure enables current amplification through the forward biasing of the base-emitter junction and reverse biasing of the collector-base junction.[5] The device includes three terminals—emitter, base, and collector—that form two PN junctions, allowing control of a larger collector-emitter current via a smaller base current.[6] It serves as a general-purpose component for low-power amplification and switching, supporting collector currents up to 200 mA.[6][5] Registered by JEDEC as a standard general-purpose transistor, the 2N3904 is widely available in the TO-92 package.[7] Its complementary PNP counterpart is the 2N3906.[8]History
The 2N3904 NPN bipolar junction transistor was registered by Motorola Semiconductor in the mid-1960s through the Joint Electron Device Engineering Council (JEDEC) standardization process, alongside its complementary PNP counterpart, the 2N3906.[9] This registration established it as a standardized general-purpose device for low-power amplification and switching, reflecting the rapid expansion of the semiconductor industry during the 1960s boom, when transistor production surged to meet demands in emerging consumer and military electronics.[2] Positioned as a versatile option for broader low-power applications, it built upon earlier designs like the 2N2222, which had been introduced in the early 1960s for higher-current needs but was less optimized for everyday small-signal tasks.[2] Initially packaged in the robust TO-5 metal can for better thermal performance, the 2N3904 appeared in Motorola's 1966 Semiconductor Data Book, marking its commercial debut and highlighting improvements in silicon epitaxial planar construction for enhanced speed and reliability.[2] By the late 1960s and into the 1970s, it transitioned to the more cost-effective TO-92 epoxy plastic package, which reduced manufacturing expenses and facilitated widespread integration into compact circuits.[2] This shift aligned with the era's push toward miniaturization and affordability, enabling rapid adoption in consumer electronics such as radios, televisions, and early computing peripherals.[2] The transistor's enduring popularity stems from its proven reliability, minimal cost—often under 10 cents per unit—and broad versatility across amplification and switching roles, resulting in billions of units produced cumulatively since its introduction, with high-volume manufacturing continuing into 2025.[2] Its design's simplicity and consistent performance have ensured it remains a staple in prototyping, education, and legacy systems, even as integrated circuits dominate modern applications.[2]Electrical Characteristics
Key Specifications
The 2N3904 is an NPN bipolar junction transistor designed for general-purpose amplification and switching, with absolute maximum ratings that define its safe operating limits under specified conditions. The collector-emitter voltage (V<sub>CEO</sub>) is rated at 40 V, the collector-base voltage (V<sub>CBO</sub>) at 60 V, the emitter-base voltage (V<sub>EBO</sub>) at 6.0 V, the continuous collector current (I<sub>C</sub>) at 200 mA, and the total power dissipation (P<sub>D</sub>) at 625 mW when the ambient temperature (T<sub>A</sub>) is 25°C. Additionally, the operating and storage junction temperature range spans from -55°C to +150°C. Exceeding these ratings can lead to device failure due to avalanche breakdown or thermal runaway.[1] Typical electrical characteristics include a DC current gain (h<sub>FE</sub>, also denoted as β) of 100 at a collector current of 10 mA and V<sub>CE</sub> = 1.0 V, providing a measure of the transistor's amplification capability in common-emitter configuration. The relationship between collector current and base current is given by the equation I_C = \beta I_B, where β represents the current gain factor, which varies with operating conditions but typically falls between 100 and 300 for moderate currents in this device. The transition frequency (f<sub>T</sub>), a key indicator of high-frequency performance, is 300 MHz at I<sub>C</sub> = 10 mA, V<sub>CE</sub> = 20 V, and test frequency of 100 MHz; this value approximates both the cutoff frequency and the gain-bandwidth product for small-signal operation.[1] Thermal management is critical for reliable operation, with junction-to-ambient thermal resistance (R<sub>θJA</sub>) specified at 200°C/W and junction-to-case thermal resistance (R<sub>θJC</sub>) at 83.3°C/W, both measured under mounted conditions. Power derating curves indicate a linear reduction in allowable dissipation above 25°C, typically at a rate of 5 mW/°C for ambient temperatures up to 150°C, derived from the thermal resistance to prevent junction overheating. These parameters ensure the 2N3904 maintains performance in environments with moderate thermal loads, such as consumer electronics.[1]| Parameter | Symbol | Value | Conditions | Unit |
|---|---|---|---|---|
| Collector-Emitter Voltage | V<sub>CEO</sub> | 40 | I<sub>B</sub> = 0 | V |
| Collector-Base Voltage | V<sub>CBO</sub> | 60 | I<sub>E</sub> = 0 | V |
| Emitter-Base Voltage | V<sub>EBO</sub> | 6.0 | I<sub>C</sub> = 0 | V |
| Collector Current - Continuous | I<sub>C</sub> | 200 | - | mA |
| Total Power Dissipation | P<sub>D</sub> | 625 | T<sub>A</sub> = 25°C | mW |
| Operating Temperature Range | T<sub>J</sub> | -55 to +150 | - | °C |
| DC Current Gain | h<sub>FE</sub> | 100 | I<sub>C</sub> = 10 mA, V<sub>CE</sub> = 1 V | - |
| Transition Frequency | f<sub>T</sub> | 300 | I<sub>C</sub> = 10 mA, V<sub>CE</sub> = 20 V, f = 100 MHz | MHz |
| Thermal Resistance, Junction-to-Ambient | R<sub>θJA</sub> | 200 | Mounted on 1" × 1" × 0.2" FR-4 board | °C/W |
Pinout and Operation
The 2N3904, an NPN bipolar junction transistor, features a standard TO-92 package with the following pinout: when the flat side faces the viewer, Pin 1 (left) is the emitter, Pin 2 (center) is the base, and Pin 3 (right) is the collector.[1] This orientation ensures consistent connectivity in circuit designs, with the emitter typically connected to the lower potential side, the base for control input, and the collector to the load.[5] The transistor operates in three fundamental modes depending on biasing conditions. In the active mode, suitable for signal amplification, the base-emitter junction is forward-biased (V_BE ≈ 0.7 V), while the collector-base junction remains reverse-biased (V_CB > 0 V), enabling the collector current I_C to be approximately β times the base current I_B, where β is the current gain.[5] Saturation mode occurs when the device acts as a fully on switch, with both junctions forward-biased, resulting in a low collector-emitter voltage drop (V_CE ≈ 0.2 V) and I_C limited primarily by the external circuit rather than β.[1] In cutoff mode, the transistor functions as an off switch, with I_B = 0 and both junctions reverse-biased, yielding negligible I_C (typically < 10 nA).[5] For normal active-region operation, the base-emitter junction requires forward bias (V_BE > 0.5–0.6 V to initiate conduction), and the collector-base junction must be reverse-biased (V_CB > 0 V) to maintain high output resistance and linear amplification.[1] Exceeding these conditions can shift the transistor into saturation or cutoff, altering its behavior from amplification to switching. A simple equivalent circuit for the 2N3904 is described by the Ebers-Moll model, which represents the device as two diodes (one for each junction) interconnected with current-controlled current sources to capture forward and reverse current flows.[10] Key parameters include the transport saturation current I_S ≈ 6.7 × 10^{-15} A, forward current gain β_F ≈ 416, and reverse current gain β_R ≈ 0.737, allowing simulation of DC and small-signal behavior without detailed internal physics.[10] Safe operating area (SOA) considerations are essential to prevent damage, particularly second breakdown—a localized thermal runaway mechanism that can occur at high V_CE and I_C combinations, leading to premature failure.[1] The 2N3904's SOA is bounded by maximum ratings such as V_CEO = 40 V, continuous I_C = 200 mA, and power dissipation P_D = 625 mW (at T_A = 25°C), ensuring operation stays within these limits to avoid second breakdown and maintain reliability.[1]Physical Aspects
Packaging Options
The 2N3904 transistor is primarily housed in the TO-92 plastic through-hole package, which features three leads in a cylindrical epoxy body designed for easy insertion into breadboards or printed circuit boards (PCBs). This package has a body diameter of approximately 5 mm and leads extending to an overall length of about 19.7 mm for straight-lead variants, providing a compact form factor suitable for general-purpose applications.[1] The TO-92's plastic encapsulation offers adequate protection against environmental factors while enabling cost-effective mass production. Alternative packaging options include surface-mount variants such as the SOT-23, which is a smaller plastic package with three leads arranged for automated assembly on PCBs, commonly designated as MMBT3904 to indicate the surface-mount configuration. This option measures roughly 2.9 mm by 1.3 mm by 1.0 mm, making it ideal for space-constrained designs. While metal can packages like the TO-5 were used in earlier general-purpose transistors for enhanced thermal performance and reliability in harsh environments, the 2N3904 was originally introduced in the TO-5 metal can package before migrating to the plastic TO-92 to achieve reductions in size and manufacturing costs.[11][2] Lead configurations for the TO-92 package vary to suit different assembly needs: straight leads are typically provided for prototyping and breadboarding, while pre-formed or bent leads facilitate secure insertion and soldering onto PCBs. These options are available in bulk, tape-and-reel, or ammo pack formats to support high-volume production.[1] The 2N3904 packages meet modern environmental standards, including a moisture sensitivity level (MSL) of 1, indicating unlimited floor life at 30°C and 85% relative humidity without baking, and compliance with RoHS directives for lead-free construction since the early 2000s.[12][1]Markings and Identification
The 2N3904 transistor in the standard TO-92 through-hole package typically bears markings on the flat side, including the device identifier "2N3904", a manufacturer-specific logo or code such as "ON" for onsemi, and a date code in the YYWW format representing the year (YY) and work week (WW) of production.[1] An additional assembly or lot code may precede these elements to aid in manufacturing traceability.[1] These markings ensure compliance with JEDEC standards for part identification and enable traceability throughout the supply chain.[13] In some variants of the TO-92 package, color bands or dots appear on the reverse side for rapid visual identification, often denoting current gain (h_FE) binning groups to facilitate selection in applications requiring specific performance ranges.[14] To detect counterfeit 2N3904 devices, inspect the markings for consistent font style, alignment, and legibility, as fakes often exhibit irregular printing or spelling errors. Verify lead plating for a uniform matte tin finish typical of genuine Pb-free components, avoiding overly shiny or mismatched coatings common in counterfeits. Functional confirmation involves h_FE testing, where authentic devices measure a minimum of 70 (up to 300) under specified conditions (VCE=1V, IC=0.1mA).[1] Packaging labels for 2N3904 devices vary by format: through-hole TO-92 versions are commonly supplied in bulk bags with lot and quantity details printed on external tags, while surface-mount equivalents like MMBT3904 use tape-and-reel carriers featuring barcodes, part numbers, and manufacturer information for automated handling and traceability.[1] All packaging adheres to JEDEC lot numbering conventions to support quality control and recall processes if needed.[13]Applications
Switching Uses
The 2N3904 transistor serves as an effective low-power switch in digital circuits, where a logic-level signal applied to the base through a current-limiting resistor turns the transistor on or off to control loads such as LEDs or small relays. With a maximum continuous collector current of 200 mA, it can reliably switch these loads while operating in saturation mode, where the collector-emitter voltage drops to a low value to minimize power loss.[1] For example, in a basic LED driver circuit, a 5 V logic high at the base (with a 1 kΩ resistor) saturates the transistor, allowing up to 20 mA through the LED connected to the collector, while a logic low turns it off completely.[5] To achieve higher current gain for switching applications with very low base drive currents, two 2N3904 transistors can be arranged in a Darlington pair configuration, with the emitter of the first connected to the base of the second and a small resistor (typically 1–10 kΩ) between them to enhance stability. This setup multiplies the current gain (h_FE) of individual transistors—typically 100–300 each—resulting in a composite gain exceeding 10,000, ideal for interfacing low-current logic signals to higher-current loads like relays drawing near the 200 mA limit.[1] In pulse-width modulation (PWM) applications, the 2N3904 handles modulated signals to control motor speed or LED brightness by varying the duty cycle of the base drive, leveraging its transition frequency of 300 MHz for efficient operation at PWM frequencies up to several kilohertz without significant distortion. The transistor's fast switching characteristics ensure low losses during rapid on-off transitions, making it suitable for simple DC motor drivers where the collector connects to the motor via a flyback diode for protection.[1] For timing circuits, the 2N3904 is frequently used in astable multivibrator configurations, where two transistors are cross-coupled with RC timing networks to generate continuous square-wave pulses for applications like LED blinkers or basic oscillators. The circuit oscillates freely between states, with the frequency determined by the RC time constants (typically f ≈ 1/(1.38 RC)), producing symmetric or asymmetric waveforms depending on resistor values.[15] Key advantages of the 2N3904 in switching include its low collector-emitter saturation voltage of 0.3 V maximum at 50 mA collector current and 5 mA base current, which reduces heat generation and improves efficiency in battery-powered designs, along with a fast turn-off time of approximately 250 ns (combining 200 ns storage time and 50 ns fall time under low-current conditions).[1] These traits make it a staple for low-voltage, high-speed binary control in embedded systems and consumer electronics.Amplification Uses
The 2N3904 transistor is widely employed in common-emitter amplifier configurations for linear signal amplification, where it provides voltage gain while inverting the input signal. The voltage gain A_v in this setup, assuming no emitter degeneration, is approximated by A_v = -\frac{R_C}{r_e}, with the intrinsic emitter resistance r_e = \frac{26 \, \mathrm{mV}}{I_E} at room temperature (where I_E is the emitter current in mA). This formula derives from the transistor's small-signal model and allows designers to achieve gains of 10 to 100 by selecting appropriate collector resistor R_C values, typically in the range of 1 kΩ to 10 kΩ for low-power applications.[16] In audio preamplifiers, the 2N3904 handles small input signals effectively, offering low noise performance suitable for microphone or sensor amplification. Its noise figure is approximately 5 dB at collector currents around 100 µA and frequencies from 10 Hz to 15.7 kHz, enabling clean amplification of weak audio signals up to the device's bandwidth limit of 100 MHz for general small-signal operation.[1] For RF applications, the 2N3904 serves in low-power stages such as simple oscillators or intermediate frequency (IF) amplifiers in radio receivers, leveraging its current-gain bandwidth product f_T of 300 MHz at 10 mA collector current. These uses are common in hobbyist and educational radio circuits, where the transistor amplifies signals in the VHF range without requiring specialized RF components.[1] Stability in amplification circuits is often achieved using voltage divider bias configurations, which provide a consistent base voltage independent of the transistor's current gain h_{FE} (ranging from 100 to 300 at 10 mA). This biasing method minimizes thermal runaway and drift, making it ideal for reliable analog gain in varying environmental conditions.[16] However, the 2N3904 exhibits limitations in high-frequency amplification, including increased distortion due to output capacitance of 4 pF, which reduces gain above 100 MHz. Additionally, for collector currents exceeding 100 mA, heat sinking is necessary to prevent exceeding the maximum power dissipation of 625 mW at 25°C, as derating occurs at 5 mW/°C above this temperature.[1]Variants and Equivalents
Related Transistors
The 2N3906 serves as the complementary PNP transistor to the 2N3904, sharing nearly identical electrical characteristics to enable paired use in push-pull amplifier configurations and complementary switching circuits. Both devices feature a collector-emitter voltage rating of 40 V, a continuous collector current of 200 mA, and a DC current gain (hFE) minimum of 100 at 10 mA collector current, all housed in the TO-92 package for straightforward substitution in designs requiring balanced NPN-PNP operation.[17] For applications demanding higher current handling, the 2N2222 emerges as a suitable NPN equivalent, capable of supporting up to 800 mA continuous collector current while maintaining a 40 V collector-emitter voltage rating and comparable hFE values around 100 minimum at 10 mA. This makes it ideal for upgrading from the 2N3904 in scenarios where increased load capacity is needed without significantly altering voltage tolerances or gain profiles, though its TO-18 or TO-92 packaging may require minor board adjustments. European alternatives include the BC547 as a low-power NPN transistor with similar general-purpose attributes to the 2N3904, offering a 45 V collector-emitter voltage, 100 mA collector current, and hFE minimum of 110 at 2 mA, often in the TO-92 package for direct compatibility in amplification and switching roles. Its PNP counterpart, the BC557, mirrors these specifications with reversed polarity (45 V, -100 mA), facilitating complementary pairings akin to the 2N3904/2N3906 duo in regional designs adhering to JEDEC standards. Surface-mount device (SMD) variants of the 2N3904 include the MMBT3904 and FMMT3904, both NPN transistors optimized for compact PCB layouts while preserving core performance metrics such as 40 V collector-emitter voltage and 200 mA collector current. The MMBT3904, in an SOT-23 package, delivers hFE minimum of 100 at 10 mA and supports frequencies up to 300 MHz, making it a drop-in replacement for through-hole designs transitioning to SMD. Similarly, the FMMT3904 in SOT-23 offers equivalent ratings with enhanced power dissipation up to 330 mW, suitable for space-constrained amplification tasks.[11][18] When selecting substitutes for the 2N3904, key criteria include ensuring compatibility in DC current gain (hFE) to maintain amplification efficiency, collector-emitter voltage (VCEO) to avoid breakdown under operating conditions, and package type to fit mechanical constraints without redesign. For instance, mismatches in hFE could degrade signal integrity in linear applications, while VCEO below 40 V risks failure in higher-voltage circuits; prioritizing devices with verified alignment in these parameters from manufacturer datasheets ensures reliable performance across substitutions.[1]| Parameter | 2N3904 (NPN) | 2N3906 (PNP) | 2N2222 (NPN) | BC547 (NPN) | BC557 (PNP) | MMBT3904 (NPN) | FMMT3904 (NPN) |
|---|---|---|---|---|---|---|---|
| VCEO | 40 V | -40 V | 40 V | 45 V | -45 V | 40 V | 40 V |
| IC (max) | 200 mA | -200 mA | 800 mA | 100 mA | -100 mA | 200 mA | 200 mA |
| hFE (min at 10 mA) | 100 | 100 | 100 | 110 (at 2 mA) | 100 (at 2 mA) | 100 | 100 |
| Package | TO-92 | TO-92 | TO-92/TO-18 | TO-92 | TO-92 | SOT-23 | SOT-23 |