LBCW AYBZ
│ │
│ └── Variant/spec codes
└── LBCW = RGBW LED (RGB + White die)
Series: LBCW
Series Extraction Logic
The handler extracts series using these rules:
Standard/SMD LEDs (LS, LW, LA, LY, LB, LR, LG prefix):
Extract first 3-4 alphanumeric characters
Example: LWE6SG-G4 -> LWE6
High-Power LEDs (OSLON, DURIS):
Extract up to first space
Example: OSLON SSL 80 -> OSLON
Example: DURIS E5 -> DURIS
RGB LEDs (LRTB, LBCW):
Extract first 4 characters
Example: LRTB G6SG -> LRTB
Package Code Extraction Logic
The handler extracts package codes based on prefix:
LS prefix (Standard): Returns THT
SMD LEDs (LW, LA, LY, LB, LR, LG):
Strips leading alphanumerics to find suffix
Maps suffix to package name using switch statement
High-Power LEDs (OSLON, DURIS):
Strips series name to find suffix
Maps to package (SX, SSL, S5, P3)
Replacement Logic
isOfficialReplacement() returns true when:
Same series - Both MPNs have the same extracted series
Color LEDs - Same color code (second character matches for L-prefix)
OSLON/DURIS - Same series family
// Same color, same series = replacement"LR E6SP-G4" vs "LR E6SP-G6"// Both red, same series -> true"LW E6SG-G4" vs "LR E6SG-G4"// Different colors -> false// High-power same family"OSLON SSL 80" vs "OSLON SSL 150"// Both OSLON SSL -> true
Related LED Families
OSRAM LED Series Comparison
Series
Application
Features
LS
Indicators
Through-hole, low power
LW/LR/LG/etc.
SMD indicators
Various packages
OSLON
Automotive, general
High efficiency
DURIS
General illumination
Mid-power
TOPLED
SMD indicators
Top-emitting
Cross-Manufacturer Equivalents
OSRAM Series
Similar Products
OSLON
Cree XP, Lumileds LUXEON
DURIS
Samsung LM series
TOPLED
Vishay VLMX, Lite-On LTL
Handler Implementation Notes
Known Bugs/Limitations
HashSet in getSupportedTypes(): Uses mutable HashSet instead of Set.of()
Should be fixed to use Set.of() for immutability
Package extraction for high-power LEDs:
Uses replaceAll("^[A-Z0-9]+", "") which may not correctly isolate suffix
Works for named series (OSLON, DURIS) but may need refinement
No optocoupler patterns:
OSRAM makes optocouplers but handler only covers LEDs
Could add patterns like SFH.* for optocouplers
Color temperature not extracted:
White LEDs (LW) have CCT variants not currently parsed
Package Code Extraction Quirk
For SMD LEDs, the regex ^[A-Z0-9]+ is used to strip the prefix:
Stringsuffix= mpn.replaceAll("^[A-Z0-9]+", "");
This removes ALL leading alphanumerics, leaving only the package suffix if separated by a hyphen or if it starts with a non-alphanumeric. For MPNs like LWE6SG-G4, the hyphen separates the suffix properly.