Root/old-boom/CHARACTERISTICS

1*** This is an older draft of the concept - differs sometimes from the way
2    things are done in gta02-core. ***
3
4
5BOM matching
6============
7
8BOMs are matched with inventories in the following way:
9
10- a .lst file with the BOM is generated by KiCad
11
12- using a ruleset, component characteristics are translated to a
13  canonical format and default values may be used for unspecified
14  characteristics
15
16- part catalogs are searched for matches with the canonical component
17  descriptions. This yields a list of supplier-specific part numbers
18  for each component.
19
20  Parts can be characterized by either specifying their properties or
21  by equating them to another part. E.g., a Digi-Key part may be
22  defined as an NXP part which in turn is equivalent to a TI part.
23
24- this list is then matched against inventories, using a suitable
25  optimization strategy (e.g., prioritize inventories and try to
26  pick as many suitable components as possible higher priority ones
27  before moving to lower priority ones)
28
29  E.g., local stock could be the first-level inventory, followed by
30  more distant warehouses, followed by distributors, followed by
31  manufacturers.
32
33  Inventories could also include pricing information.
34
35- TBD: it would be good if parameters gathered in the matching process
36  could be fed back into KiCad (as some sort of annotations, similar
37  to the expanded view of schematic symbols), such that under-specifed
38  parts yielding mismatches can be spotted by manual review.
39
40
41Catalog
42=======
43
44A catalog contains part characteristics and the reference number(s)
45assigned to them.
46
47
48Basic syntax
49------------
50
51Catalog entries consist of "words" in the sense that each word does
52not contain any whitespace and words are separated from each other by
53whitespace. Whitespace can be included in a word if it is enclosed in
54double quotes.
55
56Each entry begins in the first column of a line. If an entry needs
57more than one line, the words on the continuation line(s) must be
58indented by whitespace.
59
60Trailing whitespace is ignored, and so are comments beginning with a
61hash mark. Blank lines end any entry and are also ignored.
62
63Each catalog entry begins with the part number followed by a part type
64designator.
65
66Characteristics have the form <field>=<value>, where
67the fields follow the pattern outlined below. The value is some
68description of the value of that characteristic, typically a number
69and a unit (e.g., 4.7uF) or a name (e.g., X5R).
70
71Numbers use a decimal point where necessary. Mantissas are normalized
72such that they fall into the range 1 <= n < 1000. E.g., instead of
730.1uF, write 100nF. There is no space between number and unit. The
74Omega of Ohm is written as "R".
75
76
77Fields
78------
79
80Each
81
82General fields
83- - - - - - -
84
85FP Footprint
86H Height (overrides any height implied by footprint)
87TOL Tolerance, with percent sign. Split tolerances are indicated as n/m%
88DSC Free-format description
89
90
91Resistors
92- - - - -
93
94RES Part type designator
95R Resistance, with unit
96P Maximum power dissipation
97V Maximum volatage
98
99
100Capacitors
101- - - - -
102
103CAP Part type designator
104C Capacitance, with unit
105M Material, e.g., TANT, NP0, X5R, etc.
106V Maximum voltage
107ESR ESR, with unit
108
109
110Inductors
111-- - - -
112
113Diodes
114- - -
115
116DIODE Regular diode
117STKY Schottky diode
118
119Vf Maximum forward voltage
120Vr Maximum reverse voltage
121If Maximum forward current
122Ir Maximum reverse current
123C Capacitance
124
125LED Ligh-emitting diode
126
127COL Color, multiple colors are separated by /, e.g., blue/red
128ARRAY If multiple diodes form an array, this parameter describes
129    its structure: CA = common anode, CC = common cathode,
130    SEQ = tap-A-C-tap-A-C-tap sequence
131
132ZENER Zener diode
133
134Vz Zener voltage
135
136TVS Transient voltage suppressor
137
138Vac Working voltage, AC
139Vdc Working voltage, DC
140E Energy
141

Archive Download this file

Branches:
master



interactive