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
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---5
6# Semiconductor Component Skill
7
8Guidance for working with discrete semiconductor components (diodes, transistors, MOSFETs) in the lib-electronic-components library.
9
10## Diodes
11
12### Supported Manufacturers & Patterns
13
14| 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` |
20
21### ComponentTypes
22
23```java
24ComponentType.DIODE
25ComponentType.DIODE_VISHAY
26ComponentType.DIODE_ON
27ComponentType.DIODE_ROHM
28```
29
30### Common Diode Series
31
32| 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 |
40
41## Transistors
42
43### Supported Manufacturers & Patterns
44
45| 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` |
50
51### ComponentTypes
52
53```java
54ComponentType.TRANSISTOR
55ComponentType.TRANSISTOR_VISHAY
56ComponentType.TRANSISTOR_NXP
57ComponentType.BIPOLAR_TRANSISTOR_NEXPERIA
58```
59
60### Common Transistor Series
61
62| 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 |
69
70## MOSFETs
71
72### Supported Manufacturers & Patterns
73
74| 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` |
83
84### ComponentTypes
85
86```java
87ComponentType.MOSFET
88ComponentType.MOSFET_INFINEON
89ComponentType.MOSFET_VISHAY
90ComponentType.MOSFET_ONSEMI
91ComponentType.MOSFET_ST
92ComponentType.MOSFET_NEXPERIA
93ComponentType.MOSFET_TOSHIBA
94ComponentType.MOSFET_ROHM
95ComponentType.MOSFET_NXP
96ComponentType.MOSFET_DIODES
97```
98
99### MPN Structure - Infineon IRF Series
100```
101IRF 540 N
102│ │ │
103│ │ └── Package (N=TO-220, S=D2PAK, L=TO-262)
104│ └────── Part number (voltage/current encoding)
105└────────── Series (IRF=Standard, IRL=Logic Level)
106```
107
108### MOSFET Key Parameters
109
110| Parameter | Description |
111|-----------|-------------|
112| Vds | Drain-Source Voltage |
113| Rds(on) | On-Resistance |
114| Id | Continuous Drain Current |
115| Qg | Total Gate Charge |
116
117## IGBTs
118
119### ComponentTypes
120
121```java
122ComponentType.IGBT_INFINEON
123ComponentType.IGBT_ONSEMI
124ComponentType.IGBT_TOSHIBA
125```
126
127### Patterns
128- Infineon: `IKP#`, `IKW#`
129- Toshiba: `GT#`
130
131## Adding New Semiconductor Patterns
132
1331. In the manufacturer handler's `initializePatterns()`:
134```java
135registry.addPattern(ComponentType.MOSFET, "^NEWMOS[0-9].*");
136registry.addPattern(ComponentType.MOSFET_MANUFACTURER, "^NEWMOS[0-9].*");
137```
138
1392. Add to `getSupportedTypes()`:
140```java
141types.add(ComponentType.MOSFET);
142types.add(ComponentType.MOSFET_MANUFACTURER);
143```
144
145## Similarity Calculators
146
147- `DiodeSimilarityCalculator` - Compares voltage, current, type (rectifier/Schottky/Zener)
148- `TransistorSimilarityCalculator` - Compares hFE, Vce, Ic
149- `MosfetSimilarityCalculator` - Compares Vds, Rds(on), Id, package
150
151## Common Packages
152
153| 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 |
161
162---
163
164## Learnings & Quirks
165
166<!-- Record component-specific discoveries, edge cases, and quirks here -->