2010-10-16 16:55:11 +03:00
|
|
|
#GEN
|
|
|
|
|
|
|
|
# http://www.yageo.com/documents/recent/Product Selection Guide 2009.pdf
|
2010-10-17 05:46:11 +03:00
|
|
|
# http://www.yageo.com/documents/recent/PYu-RC0402_51_RoHS_L_5.pdf
|
2010-10-16 16:55:11 +03:00
|
|
|
|
|
|
|
RC* -> T=R {
|
|
|
|
RC(????)([FJ])[RK]-(07|10|13)(*)L* ->
|
|
|
|
FP=$REF:1 _TOL=$REF:2 _R=$REF:4
|
|
|
|
|
2010-10-18 00:22:16 +03:00
|
|
|
include ../../lib/rtol.inc
|
2010-10-16 16:55:11 +03:00
|
|
|
|
2010-10-17 23:03:13 +03:00
|
|
|
FP=0100 -> FP=01005
|
|
|
|
FP=01005 -> P=1/32W V=15 TC=250ppm/K
|
|
|
|
FP=0201 -> P=1/20W V=25V TC=-200/+350ppm/K # TC is worst case
|
|
|
|
FP=0402 -> P=1/16W V=50V TC=200ppm/K # TC is worst case
|
|
|
|
FP=0603 -> P=1/10W V=50V TC=200ppm/K # TC is worst case
|
|
|
|
FP=0805 -> P=1/8W V=150V TC=300ppm/K # TC is worst case
|
|
|
|
FP=1206 -> P=1/4W V=200V TC=300ppm/K # TC is worst case
|
2010-10-18 00:19:13 +03:00
|
|
|
}
|
2010-10-17 05:46:11 +03:00
|
|
|
|
2010-10-18 00:19:13 +03:00
|
|
|
RT* -> T=R {
|
|
|
|
RT(????)([D])[RK]([DE])(07|10|13)(*)L* ->
|
|
|
|
FP=$REF:1 _TOL=$REF:2 _TC=$REF:3 _R=$REF:4
|
2010-10-17 05:46:11 +03:00
|
|
|
|
2010-10-18 00:19:13 +03:00
|
|
|
include ../../lib/rtol.inc
|
2010-10-17 05:46:11 +03:00
|
|
|
|
2010-10-18 00:19:13 +03:00
|
|
|
FP=0402 -> P=1/16W V=50V
|
|
|
|
FP=0603 -> P=1/10W V=75V
|
|
|
|
FP=0805 -> P=1/8W V=150V
|
2010-10-17 05:46:11 +03:00
|
|
|
|
2010-10-18 00:19:13 +03:00
|
|
|
_TC=D -> TC=25ppm/K
|
|
|
|
_TC=E -> TC=50ppm/K
|
2010-10-16 16:55:11 +03:00
|
|
|
}
|
|
|
|
|
2010-10-18 00:19:13 +03:00
|
|
|
# Adjust multipliers
|
|
|
|
|
|
|
|
_R=(*)R(*) -> _R=0$_R:1.$_R:2
|
|
|
|
_R=(*)K(*) -> _R=$_R:1.${_R:2}k
|
|
|
|
_R=(*)M(*) -> _R=$_R:1.${_R:2}M
|
|
|
|
|
|
|
|
# Remove leading and trailing zeroes
|
|
|
|
|
|
|
|
_R=0([0-9]*) -> _R=$_R:1
|
|
|
|
_R=(*.[0-9]*)0([kM]) -> _R=$_R:1$_R:2
|
|
|
|
_R=(*).0([kM]) -> _R=$_R:1$_R:2
|
|
|
|
_R=(*.[0-9]*)0 -> _R=$_R:1
|
|
|
|
_R=(*).0 -> _R=$_R:1
|
|
|
|
_R=(*).([kM]|) -> _R=$_R:1$_R:2
|
|
|
|
|
2010-10-17 05:46:11 +03:00
|
|
|
# http://www.yageo.com/documents/recent/UPY-GPHC_Y5V_6.3V-to-50V_5.pdf
|
2010-10-16 16:55:11 +03:00
|
|
|
|
2010-10-17 05:46:11 +03:00
|
|
|
CC* -> T=C {
|
2010-10-17 06:20:25 +03:00
|
|
|
CC(????)(?)?(???)(?)??([0-9R][0-9R][0-9]) ->
|
2010-10-17 05:46:11 +03:00
|
|
|
FP=$REF:1 _TOL=$REF:2 M=$REF:3 _V=$REF:4 _E12_P=$REF:5
|
2010-10-16 16:55:11 +03:00
|
|
|
|
2010-10-18 00:22:16 +03:00
|
|
|
include ../../lib/ctol.inc
|
2010-10-17 05:46:11 +03:00
|
|
|
|
|
|
|
_V=5 -> V=6.3V
|
|
|
|
_V=6 -> V=10V
|
|
|
|
_V=7 -> V=16V
|
|
|
|
_V=8 -> V=25V
|
|
|
|
_V=9 -> V=50V
|
2010-10-17 19:15:33 +03:00
|
|
|
_V=B -> V=500V
|
2010-10-17 05:46:11 +03:00
|
|
|
_V=C -> V=1kV
|
|
|
|
_V=E -> V=3kV
|
|
|
|
}
|
2010-10-16 16:55:11 +03:00
|
|
|
|
2010-10-17 05:46:11 +03:00
|
|
|
include ../../lib/e12.inc
|
2010-10-16 16:55:11 +03:00
|
|
|
|
|
|
|
T=R -> R=${_R}R !
|
2010-10-17 05:46:11 +03:00
|
|
|
T=C -> C=${_E12}F !
|