From f091baeeec49dac016519d0b583e6fe26232d2ff Mon Sep 17 00:00:00 2001 From: Maciej Brencz Date: Sat, 14 Oct 2017 11:27:51 +0200 Subject: [PATCH] Handle I2PAK (TO-262) packages --- src/Elecena/Utils/PackageInfo.php | 6 ++++++ tests/PackageInfoTest.php | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/src/Elecena/Utils/PackageInfo.php b/src/Elecena/Utils/PackageInfo.php index cd45acd..2faaabb 100644 --- a/src/Elecena/Utils/PackageInfo.php +++ b/src/Elecena/Utils/PackageInfo.php @@ -119,6 +119,8 @@ public static function getPackage($desc) { // DPAK (TO-252) / https://en.wikipedia.org/wiki/TO-263 '(D-?PAK|D2PAK|DDPAK)-?(3|5)?', 'TO-?(252|252-3|252-5|263|263-5)(AA|AB)?', + // I2PAK (TO-262) PACKAGE / https://www.vishay.com/mosfets/i2pak-to-262-package/ + 'I2PAK', // SON '(PG-TD|W|V|X|X2)?SON-?(4|6|8|10)', // Leadframe Chip Scale Package / https://en.wikipedia.org/wiki/Chip-scale_package @@ -252,6 +254,10 @@ public static function getPackage($desc) { 'DDPAK5' => 'TO-263', 'D2PAK' => 'TO-263', + // I2PAK (TO-262) + // https://www.vishay.com/mosfets/i2pak-to-262-package/ + 'I2PAK' => 'TO-262', + // ... widely used TO-247 (or TO-3P) // @see http://www.nxp.com/packages/SOT429.html 'TO-3' => 'TO-247', diff --git a/tests/PackageInfoTest.php b/tests/PackageInfoTest.php index e6bc347..c5f662b 100644 --- a/tests/PackageInfoTest.php +++ b/tests/PackageInfoTest.php @@ -75,6 +75,11 @@ public function getPackageProvider() { [ 'Tyrystor; 50RIA120M; 50A; 1200V; TO65 M6; przewlekany (THT); 200mA; Greegoo; RoHS', 'TO-65' ], [ 'Wzmacniacz operacyjny OPA128LM 1MHz TO-99, 8-Pin', 'TO-99' ], + # I2PAK (TO-262) + [ 'STD1NK60-1 Tranzystor: N-MOSFET; unipolarny; 600V; 0,63A; 30W; I2PAK', 'TO-262' ], + [ 'IPI65R310CFD high voltage CoolMOS™ MOSFETs with integrated fast body diode I2PAK' , 'TO-262' ], + [ 'IPI80N06S4L07AKSA1 Trans MOSFET N-CH 60V 80A Automotive 3-Pin(3+Tab) TO-262 Tube', 'TO-262' ], + # T packages [ 'Tyrystor; T63-200-04-50; 200A; 400V; T63; przykręcany; Lamina', 'SOT-23' ],