If you need to route, switch, or attenuate radio frequency (RF) signals, a standard rectifier or signal diode will fail you. At microwave and RF frequencies, a PIN diode stops acting like a one-way valve and instead behaves as a current-controlled variable resistor. By injecting a small DC forward bias current, you drop the diode's RF resistance to a fraction of an ohm; by removing the bias or applying a reverse voltage, it presents a high impedance. This makes it the foundational component for RF switches, phase shifters, and variable attenuators in everything from ham radio transceivers to 5G cellular infrastructure.

The safe default part numbers for general-purpose RF switching are the Skyworks SMP1345-085LF (high power, low frequency) and the NXP BAP64Q (general purpose, surface mount). For axial through-hole prototyping, the classic 1N5711 remains the bench standard.

Symbol, Pinout, and Safe Default Part Numbers

The schematic symbol for a PIN diode is the standard diode triangle and bar, but with a distinct vertical line or box drawn between the P and N regions to represent the wide, undoped Intrinsic (I) layer. Electrically, it still has two pins: the Anode (P-type) and the Cathode (N-type). Current flows from Anode to Cathode during forward bias.

When selecting a part, you must match the diode's carrier lifetime, maximum reverse voltage, and thermal dissipation to your specific RF power and frequency requirements. Below are the benchmark part numbers with their critical ratings.

Table 1: Safe Default PIN Diode Part Numbers and Ratings
Part Number Manufacturer Package Max Reverse Voltage (Vr) Max Forward Current (If) Typical RF Resistance (@ 10mA) Approx. Cost (1pc)
SMP1345-085LF Skyworks SOD-323 (SMT) 100V 1.0A 0.15Ω $0.65
BAP64Q NXP SOD-323 (SMT) 50V 100mA 0.70Ω $0.30
1N5711 ST / Microchip DO-35 (Axial) 50V 50mA 1.00Ω $1.80
Callout Tip: Carrier Lifetime Matters
The I-region thickness dictates the diode's "carrier lifetime" (how long injected holes and electrons survive before recombining). For low frequencies (under 10 MHz), you need a thick I-region (long carrier lifetime) to prevent the diode from rectifying the RF signal. For microwave frequencies (above 1 GHz), a thinner I-region reduces the zero-bias capacitance, improving isolation. Consult the Microwaves10 PIN diode encyclopedia for deep-dive physics on carrier transit times.

Operation Regions and Biasing for the Job

Unlike a 1N4007 that you just slap across a transformer secondary, a PIN diode requires deliberate DC biasing to set its RF impedance. The bias network must inject DC current without shorting your RF signal to ground. Here is how the diode behaves across its three operating regions.

Table 2: PIN Diode Operation Regions and Biasing Parameters
Bias State DC Condition RF Impedance Behavior Primary Application
Forward Bias (ON) +1mA to +100mA Low Resistance (0.1Ω to 5Ω). Acts as a near-short circuit to RF. RF Switch (Shunt "ON" / Series "OFF"), Variable Attenuator
Zero Bias 0V / 0mA High Impedance, dominated by junction capacitance (0.1pF to 2pF). RF Switch (Shunt "OFF" state), passive photodetection
Reverse Bias -5V to -100V Very High Resistance (>10kΩ). Depletes I-region of residual carriers. RF Switch (High isolation "OFF" state), High-speed Photodetector

How to select the bias current: For RF switching, you want the lowest possible "ON" resistance ($R_s$). The relationship is roughly inversely proportional to the square root of the bias current: $R_s \propto 1 / \sqrt{I_f}$. Pushing 50mA through an SMP1345 will yield a lower insertion loss than pushing 5mA, but it will cost you more DC power and generate more heat. For most 50-ohm systems, 10mA to 20mA is the optimal sweet spot for low insertion loss without excessive thermal dissipation.

Practical Application: Shunt SPST RF Switch Circuit

A Single-Pole Single-Throw (SPST) shunt switch is the most common PIN diode topology. In a shunt configuration, the diode is placed in parallel with the RF transmission line. When the diode is forward-biased (low impedance), it shorts the RF signal to ground, turning the switch OFF. When unbiased (high impedance), the RF signal passes through to the load, turning the switch ON.

Below is a complete, buildable circuit for a 50-ohm system operating between 100 MHz and 1 GHz.

Component List and Values

  • D1: Skyworks SMP1345-085LF (PIN Diode)
  • C1, C2: 100pF NP0/C0G Ceramic Capacitors (DC Blocking, 0603 SMT)
  • L1: 100nH Chip Inductor (RF Choke, 0603 SMT, SRF > 2GHz)
  • R1: 330Ω 1/4W Resistor (Bias current limiter)
  • Control Voltage (V_ctrl): 0V (Switch ON) or +5V (Switch OFF)

Wiring and Assembly Steps

  1. Lay out the microstrip: Route a 50-ohm microstrip trace on your PCB. Place a gap in the trace to accommodate C1 (Input) and C2 (Output) in series. The node between C1 and C2 is your RF junction (Node A).
  2. Mount the PIN diode: Solder D1 in a shunt configuration. Connect the Anode of D1 directly to Node A. Connect the Cathode of D1 to a low-inductance ground via (place the via as close to the cathode pad as physically possible).
  3. Install the RF choke: Connect L1 between Node A and the bias control pad. This inductor prevents the RF signal from leaking into your DC control circuit.
  4. Complete the bias network: Connect R1 between your V_ctrl source and the bias control pad (the other side of L1). R1 limits the forward current to a safe level. At 5V V_ctrl, the forward voltage drop across D1 is roughly 1V. The current is $I = (5V - 1V) / 330\Omega \approx 12mA$, which is perfect for low-loss switching.
  5. Verify DC isolation: Before applying RF, use a multimeter to ensure Node A is not shorted to ground through the inductor or control circuit. The DC resistance from Node A to ground should read as an open circuit (the DMM cannot forward-bias the diode through the 100nH choke and 330Ω resistor effectively).

Failure Modes and Multimeter Testing

PIN diodes rarely fail from old age; they fail from thermal abuse or electrostatic discharge (ESD). Understanding how they break helps you troubleshoot a dead RF board on the bench.

Common Failure Modes

  • Thermal Runaway (I²R Heating): If you pass high RF power through the diode while it is in the forward-biased "ON" (low resistance) state, the residual resistance (e.g., 0.5Ω) dissipates heat. If the PCB lacks adequate thermal vias under the cathode pad, the junction overheats, the intrinsic region breaks down, and the diode melts into a permanent short circuit.
  • Reverse Breakdown Punch-Through: Applying an RF signal with high peak-to-peak voltage while the diode is reverse-biased can cause the RF peaks to exceed the diode's $V_r$ rating. This punches through the I-region, permanently destroying the junction and leaving it as an open circuit.
  • ESD Damage: The thin intrinsic region is highly susceptible to static discharge. A zap that a standard 1N4148 would easily absorb will puncture a PIN diode's junction, resulting in a leaky, high-resistance short.

How to Test a PIN Diode with a Multimeter

You cannot measure the RF variable resistance with a standard multimeter. A DMM only tests the basic DC PN junction health. Use a Fluke 87V or equivalent in Diode Test Mode.

  1. Isolate the component: Desolder at least one pad of the PIN diode from the PCB. Testing in-circuit will yield false readings due to parallel RF chokes and bias resistors.
  2. Forward Bias Test: Place the red probe on the Anode and the black probe on the Cathode. A healthy silicon PIN diode will read between 0.400V and 0.700V. (If it reads OL, the junction is open).
  3. Reverse Bias Test: Swap the probes (red to Cathode, black to Anode). The meter must read OL (Over Limit). If it reads any voltage drop or a low resistance, the junction has suffered thermal or ESD punch-through and the part is dead.
  4. RF Verification (Advanced): To verify the diode actually modulates RF, you must place it in a test fixture and measure insertion loss with a Vector Network Analyzer (VNA) while toggling a DC bias current between 0mA and 20mA. Refer to Electronics Notes for standard VNA test setups.
Warning: Beware of Soldering Heat
Surface-mount PIN diodes like the SOD-323 packaged SMP1345 are highly sensitive to prolonged heat. When soldering the cathode to a large ground plane, use a pre-heated PCB or apply heat for no more than 3 seconds per pad. Excessive soldering iron dwell time will delaminate the internal semiconductor die from the leadframe, causing an intermittent open circuit that only fails when the board vibrates.

Frequently Asked Questions

Can I use a standard 1N4148 signal diode instead of a PIN diode for RF switching?

No. A 1N4148 has a very narrow depletion region and a short carrier lifetime. At RF frequencies (above 10 MHz), the 1N4148 will simply rectify the RF signal, generating unwanted DC offsets, intermodulation distortion (IMD), and harmonics. A PIN diode's wide intrinsic region stores the injected charge carriers, effectively "averaging out" the RF cycles so the diode acts as a linear resistor rather than a non-linear rectifier. If you try to switch a 100 MHz signal with a 1N4148, your switch will leak RF heavily and distort the waveform.

Why does my PIN diode RF switch have high insertion loss at low frequencies?

If your switch works perfectly at 1 GHz but has terrible insertion loss (signal attenuation) at 10 MHz, your DC blocking capacitors (C1, C2) are likely too small, or your RF choke (L1) is too small. At low frequencies, the reactance of a 100pF capacitor rises significantly, choking the RF signal. Furthermore, if your RF choke inductance is too low, the RF signal will bleed into the DC bias network and dissipate as heat in your bias resistor. For operation below 50 MHz, increase the DC blocks to 1000pF (1nF) and the RF choke to at least 1µH.

How do I calculate the DC bias resistor value for a PIN diode attenuator?

In a variable attenuator circuit, you modulate the DC bias current to change the RF resistance. First, determine the target RF resistance ($R_s$) needed for your desired attenuation level using your attenuator topology equations (e.g., Pi or T-network). Next, consult the manufacturer's datasheet graph for $R_s$ vs. Forward Current ($I_f$). Once you have the required $I_f$, calculate the bias resistor using Ohm's Law: $R_{bias} = (V_{control} - V_f) / I_f$. For example, if your control voltage is 12V, the diode forward voltage ($V_f$) is 1.1V, and you need 30mA of bias current to achieve 10dB of attenuation, your resistor should be $(12 - 1.1) / 0.030 = 363\Omega$. Use a standard 360Ω 1/2W resistor.