Semiconductor Component Skill
Guidance for working with discrete semiconductor components (diodes, transistors, MOSFETs) in the lib-electronic-components library.
Diodes
Supported Manufacturers & Patterns
| Manufacturer |
Handler |
MPN Patterns |
Example |
| Vishay |
VishayHandler |
1N4###, 1N5###, BAT#, BZX# |
1N4007, BAT54S |
| ON Semi |
OnSemiHandler |
1N47##, MUR### |
1N4742A |
| Diodes Inc |
DiodesIncHandler |
1N#, BAV#, BAS# |
1N4148W |
| Nexperia |
NexteriaHandler |
BZX#, BAT#, BAV# |
BZX84C5V1 |
ComponentTypes
ComponentType.DIODE
ComponentType.DIODE_VISHAY
ComponentType.DIODE_ON
ComponentType.DIODE_ROHM
Common Diode Series
| Series |
Type |
Typical Specs |
| 1N400x |
Rectifier |
1A, 50-1000V |
| 1N5400 |
Rectifier |
3A, 50-1000V |
| 1N4148 |
Signal |
100mA, 75V |
| 1N47xx |
Zener |
Various voltages |
| BAT54 |
Schottky |
200mA, 30V |
| BZX84 |
Zener SMD |
Various voltages |
Transistors
Supported Manufacturers & Patterns
| Manufacturer |
Handler |
MPN Patterns |
Example |
| Vishay |
VishayHandler |
2N####, BC### |
2N2222A, BC547B |
| ON Semi |
OnSemiHandler |
2N####, BC###, MMBT# |
MMBT3904 |
| Nexperia |
NexteriaHandler |
PMBT#, PBSS# |
PMBT2222A |
ComponentTypes
ComponentType.TRANSISTOR
ComponentType.TRANSISTOR_VISHAY
ComponentType.TRANSISTOR_NXP
ComponentType.BIPOLAR_TRANSISTOR_NEXPERIA
Common Transistor Series
| Series |
Type |
Typical Use |
| 2N2222 |
NPN |
General purpose |
| 2N3904 |
NPN |
Low power |
| 2N3906 |
PNP |
Low power |
| BC547 |
NPN |
General purpose SMD |
| MMBT3904 |
NPN |
SMD version of 2N3904 |
MOSFETs
Supported Manufacturers & Patterns
| Manufacturer |
Handler |
MPN Patterns |
Example |
| Infineon |
InfineonHandler |
IRF#, IRL#, IRFP#, IRFB# |
IRF540N, IRL3803 |
| Vishay |
VishayHandler |
SI#, SIS#, SIR# |
SI2302CDS |
| ON Semi |
OnSemiHandler |
FQP#, NTD# |
FQP30N06L |
| ST |
STHandler |
STF#, STP#, STD# |
STP55NF06 |
| Nexperia |
NexteriaHandler |
PMV#, PSMN# |
PMV45EN |
| Toshiba |
ToshibaHandler |
TPC#, TPN# |
TPC8107 |
| ROHM |
RohmHandler |
RQ#, RGT# |
RQ5E050AJ |
ComponentTypes
ComponentType.MOSFET
ComponentType.MOSFET_INFINEON
ComponentType.MOSFET_VISHAY
ComponentType.MOSFET_ONSEMI
ComponentType.MOSFET_ST
ComponentType.MOSFET_NEXPERIA
ComponentType.MOSFET_TOSHIBA
ComponentType.MOSFET_ROHM
ComponentType.MOSFET_NXP
ComponentType.MOSFET_DIODES
MPN Structure - Infineon IRF Series
IRF 540 N
│ │ │
│ │ └── Package (N=TO-220, S=D2PAK, L=TO-262)
│ └────── Part number (voltage/current encoding)
└────────── Series (IRF=Standard, IRL=Logic Level)
MOSFET Key Parameters
| Parameter |
Description |
| Vds |
Drain-Source Voltage |
| Rds(on) |
On-Resistance |
| Id |
Continuous Drain Current |
| Qg |
Total Gate Charge |
IGBTs
ComponentTypes
ComponentType.IGBT_INFINEON
ComponentType.IGBT_ONSEMI
ComponentType.IGBT_TOSHIBA
Patterns
- Infineon:
IKP#, IKW#
- Toshiba:
GT#
Adding New Semiconductor Patterns
- In the manufacturer handler's
initializePatterns():
registry.addPattern(ComponentType.MOSFET, "^NEWMOS[0-9].*");
registry.addPattern(ComponentType.MOSFET_MANUFACTURER, "^NEWMOS[0-9].*");
- Add to
getSupportedTypes():
types.add(ComponentType.MOSFET);
types.add(ComponentType.MOSFET_MANUFACTURER);
Similarity Calculators
DiodeSimilarityCalculator - Compares voltage, current, type (rectifier/Schottky/Zener)
TransistorSimilarityCalculator - Compares hFE, Vce, Ic
MosfetSimilarityCalculator - Compares Vds, Rds(on), Id, package
Common Packages
| Package |
Description |
| TO-220 |
Through-hole power |
| TO-247 |
High power |
| D2PAK |
SMD power |
| SOT-23 |
Small SMD |
| SOT-223 |
Medium SMD |
| DPAK |
SMD power |
Learnings & Quirks
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: semiconductor3description: Use when working with discrete semiconductor components - diodes, transistors, MOSFETs, IGBTs. Includes adding patterns, parsing MPNs, extracting voltage/current ratings, and package codes.4---56# Semiconductor Component Skill78Guidance for working with discrete semiconductor components (diodes, transistors, MOSFETs) in the lib-electronic-components library.910## Diodes1112### Supported Manufacturers & Patterns1314| Manufacturer | Handler | MPN Patterns | Example |15|--------------|---------|--------------|---------|16| Vishay | `VishayHandler` | `1N4###`, `1N5###`, `BAT#`, `BZX#` | `1N4007`, `BAT54S` |17| ON Semi | `OnSemiHandler` | `1N47##`, `MUR###` | `1N4742A` |18| Diodes Inc | `DiodesIncHandler` | `1N#`, `BAV#`, `BAS#` | `1N4148W` |19| Nexperia | `NexteriaHandler` | `BZX#`, `BAT#`, `BAV#` | `BZX84C5V1` |2021### ComponentTypes2223```java24ComponentType.DIODE25ComponentType.DIODE_VISHAY26ComponentType.DIODE_ON27ComponentType.DIODE_ROHM28```2930### Common Diode Series3132| Series | Type | Typical Specs |33|--------|------|---------------|34| 1N400x | Rectifier | 1A, 50-1000V |35| 1N5400 | Rectifier | 3A, 50-1000V |36| 1N4148 | Signal | 100mA, 75V |37| 1N47xx | Zener | Various voltages |38| BAT54 | Schottky | 200mA, 30V |39| BZX84 | Zener SMD | Various voltages |4041## Transistors4243### Supported Manufacturers & Patterns4445| Manufacturer | Handler | MPN Patterns | Example |46|--------------|---------|--------------|---------|47| Vishay | `VishayHandler` | `2N####`, `BC###` | `2N2222A`, `BC547B` |48| ON Semi | `OnSemiHandler` | `2N####`, `BC###`, `MMBT#` | `MMBT3904` |49| Nexperia | `NexteriaHandler` | `PMBT#`, `PBSS#` | `PMBT2222A` |5051### ComponentTypes5253```java54ComponentType.TRANSISTOR55ComponentType.TRANSISTOR_VISHAY56ComponentType.TRANSISTOR_NXP57ComponentType.BIPOLAR_TRANSISTOR_NEXPERIA58```5960### Common Transistor Series6162| Series | Type | Typical Use |63|--------|------|-------------|64| 2N2222 | NPN | General purpose |65| 2N3904 | NPN | Low power |66| 2N3906 | PNP | Low power |67| BC547 | NPN | General purpose SMD |68| MMBT3904 | NPN | SMD version of 2N3904 |6970## MOSFETs7172### Supported Manufacturers & Patterns7374| Manufacturer | Handler | MPN Patterns | Example |75|--------------|---------|--------------|---------|76| Infineon | `InfineonHandler` | `IRF#`, `IRL#`, `IRFP#`, `IRFB#` | `IRF540N`, `IRL3803` |77| Vishay | `VishayHandler` | `SI#`, `SIS#`, `SIR#` | `SI2302CDS` |78| ON Semi | `OnSemiHandler` | `FQP#`, `NTD#` | `FQP30N06L` |79| ST | `STHandler` | `STF#`, `STP#`, `STD#` | `STP55NF06` |80| Nexperia | `NexteriaHandler` | `PMV#`, `PSMN#` | `PMV45EN` |81| Toshiba | `ToshibaHandler` | `TPC#`, `TPN#` | `TPC8107` |82| ROHM | `RohmHandler` | `RQ#`, `RGT#` | `RQ5E050AJ` |8384### ComponentTypes8586```java87ComponentType.MOSFET88ComponentType.MOSFET_INFINEON89ComponentType.MOSFET_VISHAY90ComponentType.MOSFET_ONSEMI91ComponentType.MOSFET_ST92ComponentType.MOSFET_NEXPERIA93ComponentType.MOSFET_TOSHIBA94ComponentType.MOSFET_ROHM95ComponentType.MOSFET_NXP96ComponentType.MOSFET_DIODES97```9899### MPN Structure - Infineon IRF Series100```101IRF 540 N102│ │ │103│ │ └── Package (N=TO-220, S=D2PAK, L=TO-262)104│ └────── Part number (voltage/current encoding)105└────────── Series (IRF=Standard, IRL=Logic Level)106```107108### MOSFET Key Parameters109110| Parameter | Description |111|-----------|-------------|112| Vds | Drain-Source Voltage |113| Rds(on) | On-Resistance |114| Id | Continuous Drain Current |115| Qg | Total Gate Charge |116117## IGBTs118119### ComponentTypes120121```java122ComponentType.IGBT_INFINEON123ComponentType.IGBT_ONSEMI124ComponentType.IGBT_TOSHIBA125```126127### Patterns128- Infineon: `IKP#`, `IKW#`129- Toshiba: `GT#`130131## Adding New Semiconductor Patterns1321331. In the manufacturer handler's `initializePatterns()`:134```java135registry.addPattern(ComponentType.MOSFET, "^NEWMOS[0-9].*");136registry.addPattern(ComponentType.MOSFET_MANUFACTURER, "^NEWMOS[0-9].*");137```1381392. Add to `getSupportedTypes()`:140```java141types.add(ComponentType.MOSFET);142types.add(ComponentType.MOSFET_MANUFACTURER);143```144145## Similarity Calculators146147- `DiodeSimilarityCalculator` - Compares voltage, current, type (rectifier/Schottky/Zener)148- `TransistorSimilarityCalculator` - Compares hFE, Vce, Ic149- `MosfetSimilarityCalculator` - Compares Vds, Rds(on), Id, package150151## Common Packages152153| Package | Description |154|---------|-------------|155| TO-220 | Through-hole power |156| TO-247 | High power |157| D2PAK | SMD power |158| SOT-23 | Small SMD |159| SOT-223 | Medium SMD |160| DPAK | SMD power |161162---163164## Learnings & Quirks165166<!-- Record component-specific discoveries, edge cases, and quirks here -->167168---169> Converted and distributed by [TomeVault](https://tomevault.io/claim/cantara) — claim your Tome and manage your conversions.170<!-- tomevault:4.0:skill_md:2026-04-13 -->