链接Spice模型

Altium Designer Altium Designer

尽管设计中的所有元件均须链接模型,且编译器亦可进行验证,但确保这些链接模型的管脚与相应原理图符号正确映射更为关键,因为如果现有管脚映射不符合预期,则编译器无法自动进行解码和标记。

解决方案

如需了解查找Spice模型并将其链接到元件的一般程序,请参阅以下文档:
https://www.altium.com/documentation/altium-designer/verifying-preparing-project-simulation#!adding_simulation_models_to_the_design

具体在管脚映射上下文中:

对于所有.SUBCKT语句,在Spice标准表示法中,将按从1开始的管脚索引升序列出管脚名称。
https://www.altium.com/documentation/altium-designer/single-component-editing#!linking_a_simulation_model:~:text=Mapping%20the%20Model%20Pins%20to%20the%20Component%20Symbol%20Pins

对于.model语句,其Berkeley Spice 3f5 隐式定义如下:
http://bwrcs.eecs.berkeley.edu/Classes/IcBook/SPICE/UserGuide/elements_fr.html
例如,在BJT中,模型中的管脚顺序为C (1)、B(2)、E(3),而如果原理图符号不同,则必须手动映射到该管脚符号。
image.png

对于A365中的托管元件,管脚映射必须在批量编辑模式下完成。
https://www.altium.com/documentation/altium-designer/batch-component-editing#!pin-mapping

在基于文件的DBLib中,可以按如下所述方法指定仿真模型相关属性:
https://www.altium.com/documentation/altium-designer/working-with-database-libraries#!simulation-model-mapping

对于多部分元件,符号的每个部分均被默认为一个单独元件,并由仿真引擎分配Spice模型。为了将该部分从仿真中排除,必须勾选Sim Model对话框中的"Exclude part from simulation"复选框。
image.png
对于同质多部分元件(同一电路模型的多个副本),可以将相同映射应用于所有部分。
此外,对于异质元件,需要用一个.SUBCKT包装语句将所有不同模型封装成一个文件。
例如
.SUBCKT MMDT3946 1 2 3 4 5 6
Q1 3 5 4 DI_MMDT3946_PNP
Q2 6 2 1 DI_MMDT3946_NPN


旧参考在模型链接的上下文中仍然有效:
https://youtu.be/xFafdcH6J6Y?t=601

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.
Was this article helpful?