Skip to content

Commit

Permalink
Handle I2PAK (TO-262) packages
Browse files Browse the repository at this point in the history
  • Loading branch information
macbre committed Oct 14, 2017
1 parent 0c6f254 commit f091bae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Elecena/Utils/PackageInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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',
Expand Down
5 changes: 5 additions & 0 deletions tests/PackageInfoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' ],

Expand Down

0 comments on commit f091bae

Please sign in to comment.