2N3904 Transistors Datasheet: Specification, Pin configuration, Working Principle

Table of Contents

2N3904 Transistors

In the mid-1960s, Motorola Semiconductor registered the 2N3906 PNP and 2N3904 NPN transistors in plastic TO-92 packages. Since such transistors are widely available at low cost and robustness, they are available in large numbers to beginners and researchers. In this article, we’ll introduce the 2N3904 transistor specification, its’ working principle, applied circuit example, equivalent transistor, and applications.

2N3904 Transistors Description

2N3904 transistors are a NPN type bipolar junction transistor (BJT) made of silicon material. They are commonly used in electronic circuit applications as a switch or amplifier.

2N3904 Specification

  • Current – Collector (Ic) (Max): 200mA
  • DC current gain or hFE (Max): 300
  • DC current gain or hFE (Min): 100 @ 150mA, 10V
  • Collector to emitter voltage (Vce) : 40V
  • Base to emitter voltage (Vbe): 6V
  • Collector to base voltage (Vcb): 60V
  • Vce saturation (maximum) under Ib, Ic conditions: 500mV @ 50mA, 500mA
  • Power – Max: 800mW
  • Frequency – Conversion: 100MHz
  • Package/Case: TO-39-3, TO-205AD

2N3904 Pinout Configuration

2N3904 transistor pinout and symbol
2N3904 transistor pinout and symbol

The 2N3904 Transistor consists of three pins:

  1. Pin1 (Emitter): Current will flow through this terminal.
  2. Pin2 (Base): This pin controls the transistor bias.
  3. Pin3 (Collector): Current supply for the entire terminal.

2n3904 Transistors Working Principle

In a 2N3904 transistor, most of the charge carriers are electrons, so they are always negatively charged. The state of this transistor can change from reverse biased to forward biased to conduct depending on a small voltage at the base terminal ( such as 0.7V).

NPN transistor working principle diagram
2N3904 NPN transistor working principle diagram

Normal operating conditions:

  • Base voltage (Vb) > emitter voltage (Ve).
  • Collector voltage (Vc) > Base voltage (Vb).

If the base pin is connected to the GND terminal, both the emitter and collector terminals are reverse biased or left open. Similarly, once a signal is given to the base pin, it will be forward biased.

The high gain value of the 2N3904 transistor is 300, which determines its amplification ability. The maximum current supply across the collector terminal is 200mA, so loads consuming more than 200mA cannot be connected via this transistor. Once the current supply is given to the base terminal, the transistor can be biased. This IB current must be limited to 5mA.

When the 2N3904 NPN transistor is completely biased, it permits a maximum of 200mA to flow through two specific terminals, namely emitter and collector. This particular stage is referred to as the saturation region. Moreover, the collector-emitter/collector-base terminals are capable of handling typical voltages of 40V and 60V respectively.

Once the base current separates, the transistor will turn off, so this phase is called the cutoff region, and the VBE may be around 600mV.

2n3904 Circuit Example

The LED flash circuit using 2N3904 transistor is shown in the figure below. The circuit can be built using basic components like a breadboard, hookup wires, 9V battery, capacitor, 5mm LED, LED flash, 1K, 10K and 4.7K resistors.

LED flash circuit using 2N3904 transistor
LED flash circuit using 2N3904 transistor

This circuit uses a 6V DC battery to power the circuit. Since there is an NPN transistor in this circuit, once the base pin of this transistor is connected to GND, the terminals like emitter and collector are reverse biased. Also, once a signal is supplied to the base pin of this transistor, then it is connected to be forward biased. This simple LED blinking circuit is used in different devices such as doorbells, alarm systems or strobe lights.

2N3904 Vs. 2N2222A Transistors

Here is a comparison of 2N3904 and 2N2222A transistors below:

Specification2N39042N2222A
Transistors TypeNPNNPN
Maximum Collector Current200 mA800 mA
Maximum Collector-Emitter Voltage40V40V
Maximum Collector-Base Voltage50V50V
Maximum Emitter-Base Voltage5V6V
Maximum Frequency300 MHz500 MHz
Package TypeTO-92TO-18, TO-92

2n3904 Equivalent Transistors

Some equivalent transistors to the 2N3904 are:

BC636, BC547, BC549, BC639, 2N2222 TO-18, 2N2222 TO-92, 2N2369, 2N3906, 2N3055, 2SC5200, etc.

2N3904 Application

  • Amplifiers
  • Drivers modules (LED, Motor, or relay drivers)
  • Switches
  • Voltage Regulators
  • Converters
  • Timers
  • Frequency Modulators
  • PWM (Pulse Width Modulation)
  • Signal Processing Circuits
  • Audio Circuits
  • Power Supply Circuits
  • Comparators

2N3904 Transistor Characteristic Frequency Testing

Required equipment:

  1. Tektronix MSO34-BW500 oscilloscope
  2. Tektronix AFG31251 signal generator
  3. Digital multimeter
  4. Digital source meters *2
  5. Transistor DC/AC parameter comprehensive experimental board

The characteristic frequency of 2N3904 transistor can be measured by using Tektronix oscilloscopes, signal generators, and Keithley source meter products for AC parameter testing of transistor devices. As the actual operating frequency of the transistor is much higher than the low-frequency current gain cutoff frequency fβ, the AC current gain is inversely proportional to the operating frequency, and the “gain-bandwidth product” of the transistor is constant, approximately equal to the working frequency when the modulus of the common-emitter current gain is 1.

The measurement of the characteristic frequency of bipolar transistors is to couple a high-frequency small AC input signal of a specific frequency to the base through a capacitor, change the DC bias conditions of the common-emitter configuration transistor, and thereby change the AC current gain to study the relationship between the characteristic frequency of the transistor and the DC operating point.

Setting and Testing the Static Operating Point

The working range of the 2N3904 is shown in the following figure:

Working range of 2N3904 transistor
Working range of 2N3904 transistor

To ensure that the transistor operates in the amplification region, the DC operating point of the transistor is set to IC=1mA. When no AC signal is connected, the static working circuit diagram of the transistor is shown in the following figure:

Static working circuit diagram of 2N3904 transistor
Static working circuit diagram of 2N3904 transistor

Adjust the IB output of SMU1 and observe that the IC current value of SMU2 is approximately 1mA to ensure that the transistor operates in the amplification region. The IB is approximately 2.8uA, and the BE voltage VBE is 0.636V as measured by a multimeter.

Testing the H-parameters of the 2N3904 Transistor: HIE and HFE

With a reasonable setting of the static operating point and an AC small signal input, the transistor can be equivalent to a linear two-port circuit, represented by AC components of current and voltage. Where Ib and Vbe are the input variables of the transistor, and Ic and Vce are the output variables. The h-parameters of the transistor reflect the small-signal AC characteristics of the transistor under certain fixed static conditions.

Connect the signal generator output to the BNC interface on the left side of the experimental board’s AC IN, and connect the oscilloscope Channel 1 to the BNC interface on the right side of the experimental board’s AC OUT.

Set the signal source output to a 1 kHz sine wave, adjust the signal source output signal amplitude, and use oscilloscope channel 2 to test the voltage waveform between the two terminals of R1 (connect the banana head interface marked as Input). Calculate the effective value of Ib current so that Ib is approximately equal to 0.5 uA.

Set the signal source output to a 1 kHz sine wave and change the output amplitude. When the effective value of the voltage between the two terminals of R1 measured by the oscilloscope is 50 mVrms, and since R1 = 100 kohms, Ib is approximately equal to 0.5 uA.

HIE

hie” is the input resistance when the output is short-circuited and reflects the ability of the base voltage to control the base current with output voltage Vce unchanged.

ℎ𝑖𝑒 = 𝑣𝑏𝑒/𝑖𝑏 = 𝑣𝑏𝑒/𝑣𝑖𝑛𝑝𝑢𝑡∗ 𝑅1

Under the condition that the above test conditions remain unchanged, the effective value of Vbe measured by 2 channels of the oscilloscope is 5.7mVrms.

hie = Vbe/ib = Vbe/Vib * R1 = 5.7/50 * 100K = 11400, where Vbe is the effective value of the Vbe and Vib is the effective value of the input voltage under the above test conditions.

HFE

HFE is a term commonly used to refer to the “DC current gain” of a bipolar junction transistor (BJT). It reflects the ability of the base current ib to control the collector current ic. Below is the formula of HFE:

ℎ𝑓𝑒 = 𝑖𝑐/𝑖𝑏

𝑖𝑐= voutput / R2

where “𝑖𝑐” stand for the collector current, and “𝑖𝑏” stand for the base current, “voutput” is the effective value of the output voltage, and “R2” is the resistance of the load connected between the collector and the power supply.

Result:

𝑖𝑐= voutput / R2 = 17.3 mV / 100 ohms = 0.173 mA

Calculating Characteristic Frequency (fT)

Measure the transistor’s cut-off frequency fβ and calculate its characteristic frequency fT using the “gain-bandwidth product” method.

Gradually increase the output frequency of the signal source from 1 kHz, and observe the amplitude of the AC OUT signal on the right side of the experimental board using the oscilloscope. When the output signal amplitude drops by 3 dB (peak-to-peak value drops by half), record the output frequency fβ of the signal source, indicating the cut-off frequency of the transistor at the current working point.

At 1 kHz, the AC OUT output peak-to-peak value is approximately 38 mV, and at 1.4 MHz, the AC OUT output peak-to-peak value is approximately 19.2 mV.

Calculate the characteristic frequency fT of the transistor using the gain-bandwidth product formula:

fT = hfe × fβ
fT = 228 * 1.4 = 319.2 MHz

where fβ is approximately equal to 1.4 MHz.

Verify the characteristic frequency fT of the transistor using a high-frequency signal source and a 500 MHz bandwidth oscilloscope. If the bandwidth of the oscilloscope and signal source is greater than 200 MHz, you can use the signal source to scan the input signal in the frequency range above DC-200MHz, and test the amplitude-frequency characteristics of the output signal (AC OUT) on the oscilloscope, and calculate the current magnification down to 1 manually find the characteristic frequency point fT. Verify that the eigenfrequency values calculated by the gain-bandwidth product method are accurate.

Subscribe

Join our subscribers list to get monthly blog updates, technology news, case studies. We will never send spam, and you can unsubscribe at any time.

About Author

Picture of Aidan Taylor
Aidan Taylor

I am Aidan Taylor and I have over 10 years of experience in the field of PCB Reverse Engineering, PCB design and IC Unlock.

Need Help?

Don't hesitate - Get in touch today to find out how we can help take your project to the next level.

Scroll to Top
welldone pcb manufacturer

Start to Achieve Your PCB Project