PPSSppiicceeSSLLPPSSIInntteerrffaacceeUser'sGuideVersion2.5.PSpiceSLPSInterfaceVersion2.5User’sGuideCopyright©2004-2005CybernetSystems,Co.,Ltd.Allrightsreserved.TrademarksandRegisteredTrademarksyMATLABandSimulinkareregisteredtrademarksofTheMathworks,Inc.yCadence,OrCAD,theOrCADlogo,OrCADCapture,PSpiceandPSpiceA/DaretrademarksofCadenceDesignSystems,Inc.yMicrosoft,MS-DOS,Windows,theWindowslogo,WindowsNTandotherMicrosoftproductsareregisteredtrademarksortrademarksofMicrosoftCorporation.yAdobe,theAdobelogo,Acrobat,theAcrobatlogo,ExchangeandPostscriptaretrademarksofAdobeSystemsIncorporatedoritssubsidiaries,whichmayberegisteredinsomecountriesorregions.yAllotherproductnamesaretrademarksorregisteredtrademarksoftheirrespectiveowners.yUnauthorizedreprinting,reproductionorcopyingofthismanual,inwholeorinpart,isforbidden.yThismanualissubjecttochangewithoutpriornotice.PSpiceSLPSInterfaceUsersGuideCybernetSystemsCo.,Ltd.TableofContentsIntroduction1WelcometoSLPS................................................................................1SLPSoverview.....................................................................................1Howtousethisguide..........................................................................2Chapter1Installation___________________1-1Section1Systemrequirements...............................................1-1Subsection1Requiredsoftware..............................................................1-1Subsection2License.............................................................................1-1Section2Installation................................................................1-2Subsection1InstallingSLPS..................................................................1-2Subsection2SettingupMATLABpath...................................................1-2Subsection3UninstallingSLPS.............................................................1-2Chapter2Tutorial_____________________2-1Section1Creatingaschematic...............................................2-1Subsection1StartingOrCADCapture....................................................2-1Subsection2Creatingaproject..............................................................2-1Subsection3Editingaschematic............................................................2-2Section2SimulationusingPSpice..........................................2-3Subsection1Settingupanalyses............................................................2-3Subsection2Runningasimulation.........................................................2-4Subsection3Verifyingresults................................................................2-4Section3Creatingandsettingupablockdiagram.......................2-5Subsection1StartingMATLAB.............................................................2-5Subsection2Creatingablockdiagram....................................................2-5Subsection3SettingupSLPSblockparameters........................................2-6TableofContentsiPSpiceSLPSInterfaceUsersGuideCybernetSystemsCo.,Ltd.Subsection4SettingupSimulinkanalyses..............................................2-8Section4Simulationandverification.....................................2-9Subsection1SimulationusingSimulink..................................................2-9Subsection2Verifyingresults................................................................2-9Chapter3CreatingSimulationmodels________3-1Section1PreparingPSpicecircuits........................................3-1Subsection1CreatingaCIRfile.............................................................3-1Section2SLPSblock...............................................................3-2Subsection1SLPSsettingswindow........................................................3-3Section3Simulinksimulationparameters............................3-6Chapter4Simulation___________________4-1Section1Startingasimulation...............................................4-1Section2Howtosetupwindowintheeventofaconvergenceerror....................................................4-1Section3Verifyingresults.......................................................4-2Subsection1OutputfilesinPSpice.........................................................4-2Chapter5Examples____________________5-1Section1RCcircuit(RCCIR).................................................5-1Section2Nonlinearload(NLLOAD).....................................5-3Subsection1Schematic.........................................................................5-3Subsection2Simulinkmodel.................................................................5-4Subsection3Results..............................................................................5-4Section3PLLmodel(PLL).....................................................5-5Subsection1PLLcomposition...............................................................5-5Subsection2PLLmodelincorporatingVCOelectriccircuit......................5-7Section4Switchedreluctancemotorcontrol........................5-8TableofContentsiiPSp