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):
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:
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:
10to2000(step size10)
- Default:
- Max Ic (
Ic_max): Sets the maximum safe collector current.- Default:
0.1A - Range:
0.05A to10A (step size0.05A)
- Default:
- Max Vce (
Vce_max): Sets the maximum safe collector-emitter voltage rating.- Default:
40V - Range:
10V to200V (step size5V)
- Default:
[!NOTE]
Vce_maxis currently a label-only property, same as the NPN Transistor — onlyIc_maxhas an enforced fault in the realfaults: [...]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=…mAonce current exceeds ~1mA, glowing while conducting, orange warning near 80% ofIc_max. - One Real Fault: exceeding
Ic_maxtriggers anOVERCURRENTfault;Vce_maxis not enforced.

