Lib-electronic-components powerintegrations

Power Integrations MPN encoding patterns, package decoding, and handler guidance. Use when working with Power Integrations SMPS controllers, LED drivers, or gate drivers.

install
source · Clone the upstream repo
git clone https://github.com/Cantara/lib-electronic-components
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/Cantara/lib-electronic-components "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/manufacturers/powerintegrations" ~/.claude/skills/cantara-lib-electronic-components-powerintegrations && rm -rf "$T"
manifest: .claude/skills/manufacturers/powerintegrations/SKILL.md
source content

Power Integrations Manufacturer Skill

Company Overview

Power Integrations is a leading supplier of high-voltage analog integrated circuits for energy-efficient power conversion. Their products include:

  • AC-DC Converters: Offline switching power supply ICs
  • LED Drivers: High-efficiency LED driver ICs
  • Gate Drivers: High-voltage gate driver ICs for motor control
  • Power Factor Correction: Active PFC controller ICs

Key differentiators:

  • Integrated high-voltage MOSFETs in many products
  • Patented EcoSmart energy-saving technology
  • FluxLink magnetically-coupled feedback (InnoSwitch)

MPN Structure

Power Integrations MPNs follow this general structure:

[PREFIX][GENERATION][NUMBER][PACKAGE]
   |         |         |        |
   |         |         |        +-- Package code (Y, G, K, C, etc.)
   |         |         +-- Part number within family (2-3 digits)
   |         +-- Generation indicator (single digit)
   +-- Family prefix (TOP, TNY, LNK, INN, PFS, LCS, CAP, SEN)

Example Decoding

TOP249YN
|  |  ||
|  |  |+-- N = Package variant (YN = TO-220 variant)
|  |  +-- Y = TO-220 package
|  +-- 249 = Part number (49 in generation 2)
+-- TOP = TOPSwitch family

INN3673C
|  |   |
|  |   +-- C = InSOP-24 package
|  +-- 3673 = InnoSwitch3 part number
+-- INN = InnoSwitch family

TNY268GN
|  |  ||
|  |  |+-- N = Package variant
|  |  +-- G = SMD-8 (SOIC-8) package
|  +-- 268 = Part number (68 in generation 2)
+-- TNY = TinySwitch family

Product Families

TOPSwitch (TOP)

High-power offline switchers with integrated MOSFET.

GenerationPatternPower RangeFeatures
TOP2xxTOP2[0-9]{2}10-250WOriginal TOPSwitch
TOP3xxTOP3[0-9]{2}10-250WEnhanced efficiency

Examples: TOP223Y, TOP249YN, TOP269KG

TinySwitch (TNY)

Low-power offline switchers for chargers and adapters.

GenerationPatternPower RangeFeatures
TNY2xxTNY2[0-9]{2}2-23WOriginal TinySwitch
TNY3xxTNY3[0-9]{2}2-28WTinySwitch-III

Examples: TNY263G, TNY264GN, TNY268PN

LinkSwitch (LNK)

Cost-optimized low-power switchers.

GenerationPatternPower RangeFeatures
LNK3xxLNK3[0-9]{2}0.5-4WCV/CC, LED driver
LNK4xxLNK4[0-9]{2}2-12WLinkSwitch-II
LNK6xxLNK6[0-9]{2}3-15WLinkSwitch-LP

Examples: LNK302GN, LNK304, LNK364DN

InnoSwitch (INN)

High-integration switchers with FluxLink isolated feedback.

GenerationPatternPower RangeFeatures
INN20xxINN20[0-9]{2}15-45WInnoSwitch original
INN30xxINN30[0-9]{2}27-65WInnoSwitch-CE
INN40xxINN40[0-9]{2}45-100WInnoSwitch-CP
INN3xxxINN3[0-9]{3}VariousInnoSwitch3 family

Examples: INN2023K, INN3166C, INN3673CJ

HiperPFS (PFS)

Power Factor Correction controllers.

PatternPower RangeFeatures
PFS7xx75-400WInterleaved PFC

Examples: PFS714EG, PFS7624H

HiperLCS (LCS)

LLC resonant converter controllers.

PatternPower RangeFeatures
LCS7xx100-400WHigh-efficiency LLC

Examples: LCS708HG

CAPZero (CAP)

X-capacitor discharge ICs for no-load power reduction.

PatternFunction
CAP0xxSafety-compliant X-cap discharge

Examples: CAP002DG, CAP004DG

SENZero (SEN)

Lossless current sensing ICs.

PatternFunction
SEN0xxAccurate current sensing

Examples: SEN013DG


Package Codes

Through-Hole Packages

CodePackagePin CountThermalNotes
YTO-2203-7GoodStandard power
YNTO-2203-7GoodTO-220 variant
DDIP-88LowStandard DIP
DNDIP-88LowDIP variant
PPDIP-88LowPlastic DIP
PNPDIP-88LowPDIP variant

Surface Mount Packages

CodePackagePin CountThermalNotes
GSMD-8 (SOIC-8)8MediumStandard SMD
GNSMD-8 (SOIC-8)8MediumSMD variant
KeSOP-1212GoodInnoSwitch
KGeSOP-1212ExcellentWith heatsink
CInSOP-2424ExcellentInnoSwitch3
CJInSOP-2424ExcellentInSOP variant
HeSIP-77GoodHiperPFS/LCS
HGeSIP-77ExcellentWith heatsink
EeSIP7GoodeSIP package
EGeSIP-77ExcellenteSIP variant
DGSMD-88MediumCAPZero/SENZero

Package Selection Guide

Low Power (< 10W):     G, GN, D, DN, P, PN
Medium Power (10-50W): Y, YN, K, KG
High Power (50-100W+): C, CJ, H, HG, E, EG

Supported Component Types

The handler supports these

ComponentType
values:

TypeDescriptionFamilies
IC
Generic IC classificationAll families
VOLTAGE_REGULATOR
Power conversion ICAll families

Note: Power Integrations parts are classified as

VOLTAGE_REGULATOR
since they perform AC-DC conversion and voltage regulation functions, even though they are technically more complex SMPS controllers.


Handler Implementation Notes

Package Code Extraction

// Extract suffix after the last digit
// TOP249YN → YN
// INN3673C → C

// Check longer suffixes FIRST (e.g., "KG" before "K", "YN" before "Y")
for (int len = Math.min(suffix.length(), 2); len >= 1; len--) {
    String candidate = suffix.substring(0, len);
    if (PACKAGE_CODES.containsKey(candidate)) {
        return PACKAGE_CODES.get(candidate);  // Returns decoded name, not code
    }
}

Key Point: The handler returns the decoded package name (e.g., "TO-220") not the raw code (e.g., "Y").

Series Extraction

// Extract 3-letter prefix
if (upperMpn.startsWith("TOP")) return "TOP";
if (upperMpn.startsWith("TNY")) return "TNY";
if (upperMpn.startsWith("LNK")) return "LNK";
if (upperMpn.startsWith("INN")) return "INN";
if (upperMpn.startsWith("PFS")) return "PFS";
if (upperMpn.startsWith("LCS")) return "LCS";
if (upperMpn.startsWith("CAP")) return "CAP";
if (upperMpn.startsWith("SEN")) return "SEN";

Product Family Helper

The handler provides

getProductFamily(String mpn)
to get the marketing name:

SeriesFamily Name
TOPTOPSwitch
TNYTinySwitch
LNKLinkSwitch
INNInnoSwitch
PFSHiperPFS
LCSHiperLCS
CAPCAPZero
SENSENZero

Base Part Number Extraction

// extractBasePartNumber() returns series + number without package suffix
// TOP249YN → TOP249
// INN3673CJ → INN3673
// TNY268GN → TNY268

Replacement Compatibility

isOfficialReplacement()
checks:

  1. Same product family (series prefix)
  2. Same base part = same part, different package (always compatible)
  3. Same sub-family (first 4 chars) with numeric difference <= 10
// Same base part, different package = compatible
TOP249Y and TOP249YN → true (same part)

// Same sub-family, close numbers = potentially compatible
TOP223Y and TOP224Y → true (within 10)
TOP223Y and TOP249Y → false (26 apart)

Pattern Matching Details

Registered Patterns

TOPSwitch: ^TOP[23][0-9]{2}[A-Z0-9]*$
TinySwitch: ^TNY[23][0-9]{2}[A-Z0-9]*$
LinkSwitch: ^LNK[346][0-9]{2}[A-Z0-9]*$
InnoSwitch: ^INN[234]0[0-9]{2}[A-Z0-9]*$ and ^INN3[0-9]{3}[A-Z0-9]*$
HiperPFS: ^PFS7[0-9]{2}[A-Z0-9]*$
HiperLCS: ^LCS7[0-9]{2}[A-Z0-9]*$
CAPZero: ^CAP0[0-9]{2}[A-Z0-9]*$
SENZero: ^SEN0[0-9]{2}[A-Z0-9]*$

Explicit matches() Implementation

The handler implements explicit pattern matching in

matches()
rather than relying solely on registry lookup. This provides:

  • Better performance (direct regex)
  • More predictable behavior
  • Explicit fallback to registry

Example MPN Reference

MPNFamilyBase PartPackageNotes
TOP223YTOPSwitchTOP223TO-220Entry-level TOPSwitch
TOP249YNTOPSwitchTOP249TO-220High-power TOPSwitch
TOP269KGTOPSwitchTOP269eSOP-12SMD with heatsink
TNY263GTinySwitchTNY263SMD-8Low-power adapter
TNY268PNTinySwitchTNY268PDIP-8Higher power variant
LNK302GNLinkSwitchLNK302SMD-8LED driver application
LNK364DNLinkSwitchLNK364DIP-8General purpose
INN2023KInnoSwitchINN2023eSOP-12Original InnoSwitch
INN3166CInnoSwitchINN3166InSOP-24InnoSwitch-CE
INN3673CJInnoSwitch3INN3673InSOP-24High-power InnoSwitch3
PFS714EGHiperPFSPFS714eSIP-7PFC controller
PFS7624HHiperPFSPFS7624eSIP-7High-power PFC
LCS708HGHiperLCSLCS708eSIP-7LLC controller
CAP002DGCAPZeroCAP002SMD-8X-cap discharge
SEN013DGSENZeroSEN013SMD-8Current sensing

Related Files

  • Handler:
    manufacturers/PowerIntegrationsHandler.java
  • Component types:
    ComponentType.IC
    ,
    ComponentType.VOLTAGE_REGULATOR

Learnings & Quirks

  • Integrated MOSFET: Many Power Integrations parts (TOPSwitch, TinySwitch, LinkSwitch) have an integrated high-voltage MOSFET, making them single-chip solutions
  • FluxLink Technology: InnoSwitch family uses magnetic coupling for isolated feedback, eliminating optocouplers
  • Package suffix ordering: Handler correctly checks 2-character suffixes (KG, YN, GN) before 1-character (K, Y, G)
  • Not true voltage regulators: While classified as VOLTAGE_REGULATOR, these are SMPS controllers that perform AC-DC conversion, not linear regulators
  • Generation numbering: The digit after the prefix (e.g., TOP249, TNY368) indicates product generation, not always strictly numeric progression
  • InnoSwitch3 vs InnoSwitch: INN3xxx (4 digits after INN) is InnoSwitch3, while INN20xx/30xx/40xx (with leading 0) are earlier InnoSwitch generations
  • Package heatsink variants: Suffix "G" after package letter (KG, HG, EG) typically indicates enhanced thermal performance with integrated heatsink
  • CAPZero/SENZero special: These are auxiliary ICs (not SMPS) for power supply optimization - CAPZero discharges safety X-caps, SENZero provides lossless current sensing
<!-- Add new learnings above this line -->