Altium Designer PCB仿真教程.docx

上传人:b****5 文档编号:3978060 上传时间:2022-11-26 格式:DOCX 页数:29 大小:403.56KB
下载 相关 举报
Altium Designer PCB仿真教程.docx_第1页
第1页 / 共29页
Altium Designer PCB仿真教程.docx_第2页
第2页 / 共29页
Altium Designer PCB仿真教程.docx_第3页
第3页 / 共29页
Altium Designer PCB仿真教程.docx_第4页
第4页 / 共29页
Altium Designer PCB仿真教程.docx_第5页
第5页 / 共29页
点击查看更多>>
下载资源
资源描述

Altium Designer PCB仿真教程.docx

《Altium Designer PCB仿真教程.docx》由会员分享,可在线阅读,更多相关《Altium Designer PCB仿真教程.docx(29页珍藏版)》请在冰豆网上搜索。

Altium Designer PCB仿真教程.docx

AltiumDesignerPCB仿真教程

SPICEModelCreationfromUserData

Summary

ThisapplicationnoteprovidesdetailedinformationoncreatingandautomaticallylinkingaSPICEsimulationmodeltoaschematiccomponent,basedondataenteredintoAltiumDesigner'sSPICEModelWizard.

InordertosimulateacircuitdesignusingAltiumDesigner'sMixed-SignalCircuitSimulator,allcomponentsinthecircuitneedtobesimulation-ready–thatis,theyeachneedtohavealinkedsimulationmodel.

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

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 法律文书 > 辩护词

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1