Altium Designer PCB仿真教程Word下载.docx
- 文档编号:16884978
- 上传时间:2022-11-26
- 格式:DOCX
- 页数:29
- 大小:403.56KB
Altium Designer PCB仿真教程Word下载.docx
《Altium Designer PCB仿真教程Word下载.docx》由会员分享,可在线阅读,更多相关《Altium Designer PCB仿真教程Word下载.docx(29页珍藏版)》请在冰豆网上搜索。
Thetypeofmodelandhowitisobtainedwilllargelydependonthecomponentand,tosomeextent,onthepersonalpreferenceofthedesigner.Manydevicemanufacturer'
ssupplysimulationmodelscorrespondingtothedevicestheymanufacture.Typically,it'
sassimpleasdownloadingtherequiredmodelfile(SPICE,PSpice®
)andhookingituptotheschematiccomponent.
SomeofthemorebasicanalogdevicemodelsinSPICErequirenodistinctmodelfile–onlyspecificationofsimpleparametervalueswhendefiningthemodellink(e.g.Resistor,Capacitor).Attachingthesetypesofmodelstoacomponentisstraigthforwardandsimplyaprocessofselect-and-enter(selectthemodeltypeandentertheparametervaluesdirectlyinanassociateddialog).
Somemodelsmayneedtobewrittenfromscratch–forexampleusingthehierarchicalsub-circuitsyntaxtocreatetherequiredsub-circuitmodelfile(*.ckt).Others–ifthedeviceisdigitalinnature–willrequirethedevicetobemodeledusingtheproprietaryDigitalSimCode™language,thedefinitionofwhichislinkedtothroughanintermediarymodelfile.
Certainanalogdevicemodelsbuilt-intoSPICEprovideforanassociatedmodelfile(*.mdl)inwhichtoparametericallydefineadvancedbehavioralcharacteristics(e.g.SemiconductorResistor,Diode,BJT).Creationofthismodelfilebyhandandthenlinkingitmanuallytotherequiredschematiccomponentcanbequitelaborious.Notanymore–enterAltiumDesigner'
sSPICEModelWizard.UsingtheWizardthecharacetristicsofsuchadevicecanbedefinedbasedonuser-acquireddata.Theparameters–enteredeitherdirectlyorextractedfromsupplieddata–areautomaticallywrittentoamodelfileandthatfilelinkedtothenominatedschematiccomponent.
Formoreinformationonlinkingamodelfile,refertotheLinkingaSimulationModeltoaSchematicComponentapplicationnote.
Fordetailedinformationondefiningadigitalsimulationmodel,refertotheCreatingandLinkingaDigitalSimCodeModelapplicationnote.
TheSPICEModelWizard
TheSPICEModelWizardprovidesaconvenient,semi-automatedsolutiontocreatingandlinkingaSPICEsimulationmodelforarangeofanalogdevices–devicesthatarebuilt-intoSPICE,andthatrequirealinkedmodelfile(*.mdl).ThebehavioralcharacteristicsofthemodelaredefinedbasedoninformationyousupplytotheWizard.Theextentofthisinformationdependsonthedevicetypeyouwishtocreateamodelfor–rangingfromthesimpleentryofmodelparameters,totheentryofdevicedataobtainedfromamanufacturer'
sdatasheetorbymeasurementsgainedfromthephysicaldeviceitself.
ThefollowingsectionsdiscusstheuseoftheWizard–fromaccesstoverification.
AccessingtheWizard
ThewayinwhichyouaccesstheWizarddependschieflyonhowyouwanttoaddtherequiredSPICEmodel.Amodelcanbeadded:
∙Toanewlycreatedcomponent(createdbytheWizard)inaschematiclibrarydocument
∙Toanexistingcomponentinaschematiclibrarydocument
∙Toaplacedcomponentonaschematicdocument.
AccessintheSchematicLibraryEditor
Ifyouareunsureofthedeviceyouwishtomodel,accesstheWizardbychoosingTools»
XSpiceModelWizardfromthemainmenus.ByaccessingtheWizardinthisway,youwillbeabletochoose:
∙Whichparticulardeviceyouwishtomodel,fromthelistofsupporteddevicetypes(seeSupportedDeviceTypes).
∙Whethertoaddthesubsequently-generatedSPICEmodeltoanexistingcomponentinthelibrarydocumentortoanewcomponentthatiscreatedbytheWizardandaddedtothatdocument.
TheSPICEModelWizardisessentiallyacollectionofwizards-oneperdevicemodelsupported.ThisismadeespeciallyevidentwhenaccessingtheWizardfromtheSimModeldialog.
∙Ifyouwishtoaddthemodeltoanexistingcomponent,andhavelaunchedtheWizardusingthemainmenucommand,ensurethatthatcomponentistheactivecomponentinthelibrary.
YoucanalsoaccesstheWizardwhilesettingupasimulationmodellinkforanexistingcomponent.FromtheSimModeldialog,simplyensurethatthechosenentryintheModelSub-KindfieldisoneofthedevicetypessupportedbytheWizard(seeSupportedDeviceTypes),thenclickontheCreatebutton–totherightoftheModelNamefield(Figure2).
Figure2.AccesstheWizarddirectlyfromtheSimModeldialog.
TheSimModeldialogitselfcanbeaccessedfromaschematiclibrarydocumentinoneofthefollowingways:
∙FromtheLibraryComponentPropertiesdialog(Tools»
ComponentProperties),byaddingasimulationmodelintheModelsregionofthedialog.(Appliestotheactivecomponentonly).
Ifyouareeditinganexistinglinkedsimulationmodel,usingtheWizardwillreplacetheexistingmodelwiththenewlycreatedone.
∙FromtheSCHLibrarypanel,byaddingasimulationmodelintheModelssectionofthepanel.(Appliestotheactivecomponentonly).
∙FromtheSchematicLibraryEditor'
smaindesignwindow,byaddingasimulationmodelintheModelsregionofthewindow.(Appliestotheactivecomponentonly).
∙FromtheModelManagerdialog(Tools»
ModelManager),byaddingasimulationmodelintheModelsregionofthedialog.(Appliestotheselectedcomponent(s)).
AccessintheSchematicEditor
UsingtheWizardwillreplaceanyexistingmodelwiththenewlycreatedone.
TheWizardcanalsobeaccessedwhendefiningthesimulationmodellinkforaplacedcomponentonaschematicsheet.Again,accessismadefromtheSimModeldialogbyclickingtheCreatebutton–providedofcoursethatthemodeltypeisoneofthoseforwhichadedicatedWizardisavailable.
Figure3.AccessingtheWizardforaplacedschematiccomponent.
SupportedDeviceTypes
TheWizardcanbeusedtocreateSPICEmodelsforthefollowinganalogdevicetypes:
∙Diode
∙SemiconductorCapacitor
∙SemiconductorResistor
∙Current-ControlledSwitch
∙Voltage-ControlledSwitch
∙BipolarJunctionTransistor(BJT)
∙LossyTransmissionLine
∙UniformDistributedRCTransmissionLine
NamingtheModel
WhenusingtheWizardtoaddamodeltoanewlibrarycomponent,thenamespecifiedforthemodelwillbeusedtonamethecomponentalso.
OneofthemostimportantstepsasyoufollowthepagesoftheWizard,istoprovideanameforthemodelyouarecreating.Infact,youwillnotbeabletoproceedtotheparameterdefinitionstageoftheWizarduntilyouhaveenteredaname.
Aftercreation,thisnamewillappearintheModelNamefieldoftheSimModeldialog.Themodelfileitselfisalsocreatedusingthisname(ModelName.mdl).
Figure4.Defineameaningfulnameforthemodel.
Whennamingthemodel,youalsohavetheoptiontoenterashortdescriptionforit.Thiscouldbethefunctionofthemodel(e.g.SemiconductorResistor),oramorespecificreferencetoavalueorconfiguration(e.g.NPNBJT).
CharacteristicstobeModeled
Aftergivingthemodelaname,youwillproceedtooneormorepagesdealingwiththecharacteristicstobemodeled.ThemodeltypessupportedbytheWizardcanbecategorizedintothefollowingtwogroups:
∙Thosemodelsrequiringdirectentryofvaluesforvariousmodelparameters.Forfurtherinformation,seethesectionDeviceModelsCreatedbyDirectParameterEntry.
Aparameterspecifiedinthemodelfileforadevicewilloverrideitsdefaultvalue(inherenttotheSPICEengine).
∙Thosemodelsrequiringtheentryofdatafromwhichtoextracttheparametersthatdefinethechosendevicecharacteristics.Thedataenteredisobtainedeitherbydirectmeasurementresultsfromthephysicaldevice,orfromamanufacturer'
sdatasheet.Forfurtherinformation,seethesectionDeviceModelsCreatedbyParameterExtractionfromData.
OnlyparametersdefinablewithinamodelfileareconsideredbytheWizard.AnyparametersthataredefinableatthecomponentlevelforadeviceshouldbeaddressedusingtheParameterstaboftheSimModeldialog,oncetheWizardhasfinishedcreatingthemodelfile.
GeneratingtheModel
Afterentryoftherequireddata/parameters,theWizardwilldisplaythegeneratedmodel(Figure5).ThisisthecontentthatwillbesavedtotheMDLfile.
Figure5.Previewingthegeneratedmodelfilecontent.
Editingofthemodelcanbecarriedoutdirectlyonthispage,givingyoutheutmostcontrolovermodelspecification.
Onceyouaresatisfiedwiththemodeldefinition,simplyclickNexttopasstotheendoftheWizard.ClickingFinishwillallowyoutosavethemodel.UsetheSaveSPICEModelFiledialogtodeterminewheretheresultingMDLfileshouldbesaved.Bydefault,thefilewillbesavedtothesamedirectoryastheschematiclibrarydocument.Youcanalsochangethenameofthefileatthisstage,shouldyouwish.
Ifyouhaverequestedthemodelbeattachedtoanewcomponent,thatcomponentwillbecreatedandaddedtothelibrarydocument.
Althoughthemodelislinkedautomaticallytothecomponent–neworexisting–youshouldmakeahabitofverifyingthemappingofschematiccomponentpinstopinsofthemodel.SimplyaccesstheSimModeldialogfortheattachedmodel,clickonthePortMaptab,andcheckthepinmapping–makinganychangesifrequired.
Figure6.Verifythecomponent-to-modelmapping.
Defineanyadditionalparametersavailableforthemodel–ontheParameterstaboftheSimModel
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Altium Designer PCB仿真教程 PCB 仿真 教程
![提示](https://static.bdocx.com/images/bang_tan.gif)