PCB Layout如何建立Footprint Library?

time : 2019-09-17 09:18       作者:凡亿pcb

PCB Layout建立Footprint Library
PCB Layout 的工作, 除了布线以外,另一个工作就是建立元件的footprint。设计footprint在kicad 里是交由Module Editor这个工具来完成。如果你用了某一个IC或connector, 在既有的kicad 的footprint library 找不到它的footprint话, 那就得自己画。在kicad里, 一个footprint也就是一个Module , 一个library 可以包含多个footprint (module)。library 的副档名为 .mod。
拥有自己Footprint Library很重要, 因为Footprint 涉及PCB board制造, 对于自己常用的IC用料, 你可以很快且很放心的使用你专属的footprint,这样做PCB板的速度才会比别人快。
library就是footprint的集合
library就是footprint的集合
 
简而言之,footprint 主要的设计就是要知道板框及Pad的尺寸, 如下图所示,你会一直看到 dimension in inch/mm 之类的字眼。pad包含位置,pitch (pad 间距)及pad排列及编号,以及pad是否有钻孔, 孔径大小,镀铜等规格,所以这要配合IC Databook 来做。从这里你可以明显看出来,这是一项工艺技术, 尤其在机构工艺上。
footprint 主要的设计就是要知道板框及Pad的尺寸, 如下图所示,你会一直看到 dimension in inch/mm 之类的字眼。
footprint 主要的设计就是要知道板框及Pad的尺寸, 如下图所示,你会一直看到 dimension in inch/mm 之类的字眼。
 
管理footprint library
在kicad 软件,PCB Module Editor 不仅是用来产生footprint 同时也是拿来管理footprint library用。
 
可以自新建一个footprint 然后存在目前所选择的active library里, 也可以另存一个新的library (.mod) 。也可以取出active library 中的某一个footprint 拿来修改再存回或者重新另存一个新的footprint, 但这个新的footprint 要取别的名字, 因为在同一个Library档,每一个footprint 都有自己唯一命名。
也可以取出active library 中的某一个footprint 拿来修改再存回或者重新另存一个新的footprint, 但这个新的footprint 要取别的名字, 因为在同一个Library档,每一个footprint 都有自己唯一命名。
 
在Module Editor 里,可以选取Reference 或Value, 按右键编辑属性, 进入Footprint text properties 设定Reference(Ref)或Value文字或决定要不要Display (Viable or Inadvisable), 有些时候在PCB 板子上,其些footprint 可能不太想要显示其Ref或Val。
 
目前这个Library IT_robot_logo_new.mod 只有一个footprint。如何增加更多footprint 到这个library 中呢?
目前这个Library IT_robot_logo_new.mod 只有一个footprint。如何增加更多footprint 到这个library 中呢?
 
进入Module Editor去载入其他Footprint(Module)进来, 从目前的Active library (不过要先选取一个Current library ) 载入Module 或从目前正在编辑的PCB载入Module。当然你也可以New Module 去编辑产生个新的footprint。不过, 这篇文章,主要在说明建立Footprint library 所以不特别说明Module Editor 操作。
进入Module Editor去载入其他Footprint(Module)进来, 从目前的Active library (不过要先选取一个Current library ) 载入Module 或从目前正在编辑的PCB载入Module。
 
从目前正在编辑的PCB载入Module, 会显示有那些项目可载入。点选一个, OK后即完成载入
从目前正在编辑的PCB载入Module, 会显示有那些项目可载入。点选一个, OK后即完成载入
 
载入之后可以开始编辑,预设都是存回原本Active library中, 若要存到另外一个library 里, 要点选在File->Current library 重新再选择Active Library, 就可以点选 File->Save Module in Acitve library 
若要存到另外一个library 里, 要点选在File->Current library 重新再选择Active Library, 就可以点选 File->Save Module in Acitve library
 
File->Current library 重新选择Active Library
 
File->Current library 重新选择Active Library
 
进行相同的程序, 目前这个Library IT_robot_logo_new.mod就包含了多个footprint于其内。
 
进行相同的程序, 目前这个Library IT_robot_logo_new.mod就包含了多个footprint于其内。