再更新一波元器件分类

昨天已经将元器件制造商信息整理更新好了,今天再更新一波元器件分类。之前分享过一篇物料编码规则,里面提到了元器件的一些分类原则,并根据分类给物料进行编码。

经过一段时间的使用,发现按分类进行编码,编码中就包含了分类信息,这样在查找物料时就可以根据编码的前几位就可以知道物料的分类,这样就不需要再去查找分类信息,提高了查找效率。但是分类表其实也比较复杂,并不容易记忆,实践中也很少用到根据编码去给物料进行分类,而且随着数字化水平的提高,信息应该是可以通过数据库查询来获取的,所以编码中包含太多信息越来越不实用,不如给所有物料甚至其它资产赋予唯一编码,而关于它的所有信息都在数据库里。

好了,说回来,今天再更新一波元器件分类,这次重点按元器件的电气特性进行分类,目前有以下分类:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
"Electrical": {
"name": "Electrical",
"description": "电气零部件 电子元器件 电路组件",
"default_location": 0,
"default_keywords": "electrical 电子元器件",
"parent": null,
"structural": true,
"icon": "",
"subcategories": {
"Component": {
"name": "Component",
"description": "电子元器件",
"default_location": 0,
"default_keywords": "component 元器件",
"parent": "Electrical",
"structural": true,
"icon": "",
"subcategories": {
"IC": {
"name": "IC",
"description": "集成电路",
"default_location": 0,
"default_keywords": "ic 集成电路",
"parent": "Component",
"structural": false
},
"Resistor": {
"name": "Resistor",
"description": "电阻",
"default_location": 0,
"default_keywords": "resistor 电阻",
"parent": "Component",
"structural": false
},
"Capacitor": {
"name": "Capacitor",
"description": "电容",
"default_location": 0,
"default_keywords": "capacitor 电容",
"parent": "Component",
"structural": false
},
"Inductor": {
"name": "Inductor",
"description": "电感",
"default_location": 0,
"default_keywords": "inductor 电感",
"parent": "Component",
"structural": false
},
"Diode": {
"name": "Diode",
"description": "二极管",
"default_location": 0,
"default_keywords": "diode 二极管",
"parent": "Component",
"structural": false
},
"Transistor": {
"name": "Transistor",
"description": "晶体管 三极管 FET 晶闸管",
"default_location": 0,
"default_keywords": "transistor 晶体管",
"parent": "Component",
"structural": false
},
"Connector": {
"name": "Connector",
"description": "连接器 接插件",
"default_location": 0,
"default_keywords": "connector 连接器",
"parent": "Component",
"structural": false
},
"Switch": {
"name": "Switch",
"description": "开关 按键",
"default_location": 0,
"default_keywords": "switch 开关",
"parent": "Component",
"structural": false
},
"Relay": {
"name": "Relay",
"description": "继电器",
"default_location": 0,
"default_keywords": "relay 继电器",
"parent": "Component",
"structural": false
},
"Fuse": {
"name": "Fuse",
"description": "保险丝 保护器件",
"default_location": 0,
"default_keywords": "fuse 保险丝",
"parent": "Component",
"structural": false
},
"Transformer": {
"name": "Transformer",
"description": "变压器",
"default_location": 0,
"default_keywords": "transformer 变压器",
"parent": "Component",
"structural": false
},
"Crystal": {
"name": "Crystal",
"description": "晶振 晶体 陶振 谐振器 振荡器",
"default_location": 0,
"default_keywords": "crystal 晶振",
"parent": "Component",
"structural": false
},
"Module": {
"name": "Module",
"description": "模块 模组",
"default_location": 0,
"default_keywords": "module 模块",
"parent": "Component",
"structural": false
},
"Other": {
"name": "Other",
"description": "其它电子元器件",
"default_location": 0,
"default_keywords": "other 其它",
"parent": "Component",
"structural": false
}
}
},
"Cable": {
"name": "Cable",
"description": "线束 线缆",
"default_location": 0,
"default_keywords": "cable 电缆",
"parent": "Electrical",
"structural": false
},
"PCB": {
"name": "PCB",
"description": "PCB 印制电路板",
"default_location": 0,
"default_keywords": "pcb 电路板",
"parent": "Electrical",
"structural": false
},
"PCBA": {
"name": "PCBA",
"description": "PCBA 已组装电路板",
"default_location": 0,
"default_keywords": "pcba 电路板",
"parent": "Electrical",
"structural": false
},
"Other": {
"name": "Other",
"description": "其它电气零部件",
"default_location": 0,
"default_keywords": "other 其它",
"parent": "Electrical",
"structural": false
}
}
}
}

这种分类结构可以较好的满足中小企业数据管理需求,同时还有一定的扩展性,如果某一分类下的元器件越来越多,同时又有一定的共性,可以再细分出子分类,这样就可以更好的管理元器件。每个分类下都有扩展性,可以根据实际情况添加子分类,比如电容下可以再细分为电解电容、陶瓷电容等。也就是说,分类的粒度其实要在实践中调整和优化,整体上要适应物料管理规模和复杂度。分类太细,每个分类中就一两个物料,这样分类就失去了意义;分类太粗,每个分类中物料太多,分类就失去了区分度。

针对电子物料的分类,大家有什么好的意见和建议,欢迎留言讨论。这个依然是给OpenECADLib这个项目配套服务的,欢迎大家献计献策,补充完善。

除了电子物料以外,这次还更新了其它类别的物料和资产,比如机械零部件、包装材料等,甚至还有虚拟资产,完整分类依然可以通过json源文件获取。

这段时间深度试用了InvenTree,真的超级棒,非常强大,对中小企业和电子爱好者来说,是非常好的选择,强烈安利!

我这个项目现在重新基于InvenTree进行扩展开发,应该再过一段时间,就可以上线服务了,到时就可以从ad等ecad软件中直接调用跟物理库存相关联的元器件了,实现研发设计、生产制造、供应链管理的协同,提效降本,敬请期待。