PNP Transistor

A PNP transistor is the complementary counterpart to an NPN — current flows from emitter to collector, and the device turns ON when its base is pulled low (below the emitter) rather than high.

PNP Transistor

At a glance

Pins and properties exactly as the circuit editor and simulator define this part. The text below explains how to use them.

Pinout

Pinout of the PNP Transistor, drawn as in the circuit editor. Select a label to see that pin in the table below.

Pins

Pins of this part
PinLabelType
EMITTERESignal in
BASEBSignal in
COLLECTORCSignal out

Properties

What you can change in the Property Inspector.

Properties of this part
PropertyRange or choicesDefault
hFE (Gain)10 to 2000100
Max Ic0.05 to 10 A0.1 A
Max Vce10 to 200 V40 V

A PNP transistor is the complementary counterpart to an NPN — current flows from emitter to collector, and the device turns ON when its base is pulled low (below the emitter) rather than high. In Open Maker Studio, it does not have Blockly code blocks — it interacts directly with the real-time SPICE analog simulator.


1. Schematic Symbol

Standard PNP symbol — emitter arrow points inward (current flows into the emitter, opposite of NPN):

B C E

2. Real Model & Characteristics

OMS's PNP Transistor's SPICE model is calibrated against the real 2N3906 (Fairchild/onsemi) — 2N3904's real industry-standard PNP complement, same manufacturer/era/package family. Importantly, the real pair is not a mirror-image complement: VAF=18.7V here vs. the NPN's 74.03V (a genuine 4× difference for this real Fairchild pair, not a copy-paste inconsistency), and IS/BR/RC/CJE/CJC all differ too — real PNP and NPN dies use different process geometries even within one manufacturer's "matched pair" marketing.


3. Core Calculations & Math

  • Current Gain (hFE / β): same relationship as the NPN, current still flows collector-to-emitter in magnitude terms:

    IC=β×IBI_C = \beta \times I_B

    The key practical difference from NPN: this transistor turns ON when the base is pulled below the emitter voltage, not above it.


4. Component Properties (Property Inspector)

When you select a PNP Transistor on the canvas, you can modify the following parameters in the Property Inspector panel:

  • hFE / Gain (beta): Sets the current gain.
    • Default: 100
    • Range: 10 to 2000 (step size 10)
  • Max Ic (Ic_max): Sets the maximum safe collector current.
    • Default: 0.1 A
    • Range: 0.05 A to 10 A (step size 0.05 A)
  • Max Vce (Vce_max): Sets the maximum safe collector-emitter voltage rating.
    • Default: 40 V
    • Range: 10 V to 200 V (step size 5 V)

[!NOTE] Vce_max is currently a label-only property, same as the NPN Transistor — only Ic_max has an enforced fault in the real faults: [...] array.


5. Programming Notes

Transistors have no associated Blockly blocks. A PNP transistor only influences the electrical behavior of connected components — commonly used for high-side switching (e.g. switching power to a load from the positive rail) where an NPN would need an extra inverting stage.


6. Simulator Behavior

  • Real-time Collector Current Readout: Same live-overlay behavior as the NPN — shows Ic=…mA once current exceeds ~1mA, glowing while conducting, orange warning near 80% of Ic_max.
  • One Real Fault: exceeding Ic_max triggers an OVERCURRENT fault; Vce_max is not enforced.
PNP Transistor — OMS Parts