150RX/TXShared4.0006,00016150RX/TX16Shared4,1006,200500125(4)RX/TX/RefShared4.1006200500125(4Ref/TxShared4.2006400160150RX/TXNotestotable1-4.Referto"ClockingOptions"onpage3-7formoreinformationabouttheseoptions(2)Otherparameters(BARconfigurations,etc.)varythealutandLogicRegisterutilizationnumbersbyapproximately+/-200(3)Figuresfor-3speedgradedevicesonly(4)WhenusingtheSharedRx/Tx/RefandSharedRef/Txoptions,theuserinterfacefrequencyislimitedtoexactlythehtfrequencydividedbyTable1-5showsperformanceanddeviceutilizationfortheHyperTransportMegaCorefunctioninStratixandStratixGXdevicesTable1-5.HyperTransportMegaCoreFunctionPerformanceinStratixandStratixGXDevicesUserInterfacefmaxParametersUtilizationHTLinkfMAXMHz)MHZ)RXRXSpeedGradePostedNon-PostedResponseClockingOptionLEsM4KBuffersBuffersBuffers)(2Blocks.5-66Sharedrx/tx/ref1240010073)100734448888SharedRef/Tx7,60014400400100{3)100(3)Sharedrxtx7,90016400400>125>100Sharedrxtx8.900125>100168SharedRx/T×Ref9,400124004001003)100316Sharedref/ix9.500144001003)10073)16Sharedrx/x9.700400125Notestotable1-5:(1)RefertoClockingOptions"onpage3-7formoreinformationabouttheseoptions(2)Otherparameters(BARconfigurationsetc.)varytheLEutilizationbyapproximately+/-200LES(3)WhenusingtheSharedRx/Tx/RefandSharedRef/Txoptions,theuserinterfacefrequencyislimitedtoexactlythehTfrequencydividedbyfourHyperTransportMegaCoreFunctionUserGuideCMarch2009AlteraCorporationA吉RA2.GettingStartedDesignFlowToevaluatetheHyperTransportMegaCorefunctionusingtheOpenCorePlusfeature,includethesestepsinyourdesignflowObtainandinstalltheHyperTransportMegaCorefunctionTheHyperTransportMegaCorefunctionispartoftheMegaCoreIPLibrary,whichisdistributedwiththeQuartusiisoftwareanddownloadablefromthealterawebsitewww.altera.comoForsystemrequirementsandinstallationinstructions,refertoQuartusIIInstallationLicensingforWindowsandLinuxWorkstationsontheAlterawebsiteatwww.altera.com/literature/lit-qts.ispFigure2-1showsthedirectorystructureafteryouinstalltheHyperTransportMegaCorefunction,whereistheinstallationdirectory.ThedefaultinstallationWindowsisC:altera;onLinuxitislopt/alteraFigure2-1.DirectoryStructureInstallationdirectorypContainstheAlteraMegaCoreIPLibraryandthird-partyIPcoresalteraContainstheAlteraMegaCoreIPLibrarycommonContainssharedcomponentshtContainstheHyperTransportHyperTransportMegacorefunctionfilesanddocumentationdocContainsthedocumentationfortheHyperTransportMegaCorefunctionlibContainsencryptedlower-leveldesignfilesexampleContainsthedesignexamplefortheHyperTransportMegaCorefunction2.CreateacustomvariationoftheHyperTransportMegaCorefunction3.Implementtherestofyourdesignusingthedesignentrymethodofyourchoice4.UsetheIPfunctionalsimulationmodeltoverifytheoperationofyourdesignoFormoreinformationaboutIpfunctionalsimulationmodels,refertotheSimulatingAlteraIPinThird-PartySimulationToolschapterinvolume3oftheQuartusIIHandbook5.UsetheQuartusIIsoftwaretocompileyourdesignCMarch2009AlteraCorporationHyperTransportMegaCoreFunctionUserGuide2-2Chapter2:GettingStartedMegaCoreFunctionWalkthroughIgYoucanalsogenerateanOpenCorePlustime-limitedprogrammingfile,whichyoucanusetoverifytheoperationofyourdesigninhardware6.PurchasealicenseforthehypertransportMegaCorefunctionAfteryouhavepurchasedalicensefortheHypertransportmegaCorefunctionfollowtheseadditionalsteps1.Setuplicensing2.GenerateaprogrammingfilefortheAlteradevice(s)onyourboard3.ProgramtheAlteradevice(s)withthecompleteddesignMegaCoreFunctionWalkthroughThiswalkthroughexplainshowtocreateacustomvariationusingtheAlteraHyperTransportIPToolbenchandtheQuartusIIsoftware,andsimulatethefunctionusinganipfunctionalsimulationmodelandthemodelsimsoftwarewhenyouarefinishedgeneratingyourcustomvariationofthefunction,youcanincorporateitintoⅴouroverallprojectIeIPToolbenchallowsyoutoselectonlylegalcombinationsofparameters,andwarnsouofanyinvalidconfigurationsInthiswalkthroughyoufollowthesestepsCreateaNewQuartusIIProjectaLaunchtheMegaWizardPlug-inManager■Step1:ParameterizeaStep2:SetUpSimulation■Step3:Generate■SimulatethedesignTogenerateawrapperfileandIpfunctionalsimulationmodelusingdefaultvalues,omittheproceduredescribedin"Step1:Parameterizeonpage2-5CreateaNewQuartusllProjectCreateanewQuartusIIprojectwiththeNewProjectWizard,whichspecifiestheworkingdirectoryfortheproject,assignstheprojectname,anddesignatesthenameofthetop-leveldesignentityTocreateanewproject,performthefollowingsteps1.OntheWindowsStartmenu,selectPrograms>Altera>QuartusIItostarttheQuartuslIsoftware.Alternatively,youcanusetheQuartusIIWebeditionsoftware2.IntheQuartusIIwindow,ontheFilemenu,clickNewProjectWizard.Ifyoudidnotturnitoffpreviously,theNewProjectWizardIntroductionpageappears3.OntheNewProjectWizardIntroductionpage,clickNextHyperTransportMegaCoreFunctionUserGuideoMarch2009AlteraCorporation-IMDN开发者社群-imdn.cn"> 150RX/TXShared4.0006,00016150RX/TX16Shared4,1006,200500125(4)RX/TX/RefShared4.1006200500125(4Ref/TxShared4.2006400160150RX/TXNotestotable1-4.Referto"ClockingOptions"onpage3-7formoreinformationabouttheseoptions(2)Otherparameters(BARconfigurations,etc.)varythealutandLogicRegisterutilizationnumbersbyapproximately+/-200(3)Figuresfor-3speedgradedevicesonly(4)WhenusingtheSharedRx/Tx/RefandSharedRef/Txoptions,theuserinterfacefrequencyislimitedtoexactlythehtfrequencydividedbyTable1-5showsperformanceanddeviceutilizationfortheHyperTransportMegaCorefunctioninStratixandStratixGXdevicesTable1-5.HyperTransportMegaCoreFunctionPerformanceinStratixandStratixGXDevicesUserInterfacefmaxParametersUtilizationHTLinkfMAXMHz)MHZ)RXRXSpeedGradePostedNon-PostedResponseClockingOptionLEsM4KBuffersBuffersBuffers)(2Blocks.5-66Sharedrx/tx/ref1240010073)100734448888SharedRef/Tx7,60014400400100{3)100(3)Sharedrxtx7,90016400400>125>100Sharedrxtx8.900125>100168SharedRx/T×Ref9,400124004001003)100316Sharedref/ix9.500144001003)10073)16Sharedrx/x9.700400125Notestotable1-5:(1)RefertoClockingOptions"onpage3-7formoreinformationabouttheseoptions(2)Otherparameters(BARconfigurationsetc.)varytheLEutilizationbyapproximately+/-200LES(3)WhenusingtheSharedRx/Tx/RefandSharedRef/Txoptions,theuserinterfacefrequencyislimitedtoexactlythehTfrequencydividedbyfourHyperTransportMegaCoreFunctionUserGuideCMarch2009AlteraCorporationA吉RA2.GettingStartedDesignFlowToevaluatetheHyperTransportMegaCorefunctionusingtheOpenCorePlusfeature,includethesestepsinyourdesignflowObtainandinstalltheHyperTransportMegaCorefunctionTheHyperTransportMegaCorefunctionispartoftheMegaCoreIPLibrary,whichisdistributedwiththeQuartusiisoftwareanddownloadablefromthealterawebsitewww.altera.comoForsystemrequirementsandinstallationinstructions,refertoQuartusIIInstallationLicensingforWindowsandLinuxWorkstationsontheAlterawebsiteatwww.altera.com/literature/lit-qts.ispFigure2-1showsthedirectorystructureafteryouinstalltheHyperTransportMegaCorefunction,whereistheinstallationdirectory.ThedefaultinstallationWindowsisC:altera;onLinuxitislopt/alteraFigure2-1.DirectoryStructureInstallationdirectorypContainstheAlteraMegaCoreIPLibraryandthird-partyIPcoresalteraContainstheAlteraMegaCoreIPLibrarycommonContainssharedcomponentshtContainstheHyperTransportHyperTransportMegacorefunctionfilesanddocumentationdocContainsthedocumentationfortheHyperTransportMegaCorefunctionlibContainsencryptedlower-leveldesignfilesexampleContainsthedesignexamplefortheHyperTransportMegaCorefunction2.CreateacustomvariationoftheHyperTransportMegaCorefunction3.Implementtherestofyourdesignusingthedesignentrymethodofyourchoice4.UsetheIPfunctionalsimulationmodeltoverifytheoperationofyourdesignoFormoreinformationaboutIpfunctionalsimulationmodels,refertotheSimulatingAlteraIPinThird-PartySimulationToolschapterinvolume3oftheQuartusIIHandbook5.UsetheQuartusIIsoftwaretocompileyourdesignCMarch2009AlteraCorporationHyperTransportMegaCoreFunctionUserGuide2-2Chapter2:GettingStartedMegaCoreFunctionWalkthroughIgYoucanalsogenerateanOpenCorePlustime-limitedprogrammingfile,whichyoucanusetoverifytheoperationofyourdesigninhardware6.PurchasealicenseforthehypertransportMegaCorefunctionAfteryouhavepurchasedalicensefortheHypertransportmegaCorefunctionfollowtheseadditionalsteps1.Setuplicensing2.GenerateaprogrammingfilefortheAlteradevice(s)onyourboard3.ProgramtheAlteradevice(s)withthecompleteddesignMegaCoreFunctionWalkthroughThiswalkthroughexplainshowtocreateacustomvariationusingtheAlteraHyperTransportIPToolbenchandtheQuartusIIsoftware,andsimulatethefunctionusinganipfunctionalsimulationmodelandthemodelsimsoftwarewhenyouarefinishedgeneratingyourcustomvariationofthefunction,youcanincorporateitintoⅴouroverallprojectIeIPToolbenchallowsyoutoselectonlylegalcombinationsofparameters,andwarnsouofanyinvalidconfigurationsInthiswalkthroughyoufollowthesestepsCreateaNewQuartusIIProjectaLaunchtheMegaWizardPlug-inManager■Step1:ParameterizeaStep2:SetUpSimulation■Step3:Generate■SimulatethedesignTogenerateawrapperfileandIpfunctionalsimulationmodelusingdefaultvalues,omittheproceduredescribedin"Step1:Parameterizeonpage2-5CreateaNewQuartusllProjectCreateanewQuartusIIprojectwiththeNewProjectWizard,whichspecifiestheworkingdirectoryfortheproject,assignstheprojectname,anddesignatesthenameofthetop-leveldesignentityTocreateanewproject,performthefollowingsteps1.OntheWindowsStartmenu,selectPrograms>Altera>QuartusIItostarttheQuartuslIsoftware.Alternatively,youcanusetheQuartusIIWebeditionsoftware2.IntheQuartusIIwindow,ontheFilemenu,clickNewProjectWizard.Ifyoudidnotturnitoffpreviously,theNewProjectWizardIntroductionpageappears3.OntheNewProjectWizardIntroductionpage,clickNextHyperTransportMegaCoreFunctionUserGuideoMarch2009AlteraCorporation - IMDN开发者社群-imdn.cn">
登录
首页 » Others » altera公司IP核使用手册.PDF

altera公司IP核使用手册.PDF

于 2020-12-05 发布
0 257
下载积分: 1 下载次数: 1

代码说明:

altera公司IP核使用手册,对于学习EDA技术的学生或工程师有用A吉RAContentsChapter 1. About this MegaCore FunctionRelease informat1-1Device Family Support···Introduction.··········FeaturesOpen core plus evaluation1-3Performance···Chapter 2. Getting StartedDesign Flow衡·鲁·,看·,音番2-1Megacore Function walkthrough2-2Create a New quartus II Pi2-2Launch the mega Wizard Plug-in ManagerStep 1: Parameterize2-5Step 2: Set Up SimulationStep 3: Generate..,2-11Simulate the design2-13Compile the design2-13Pa Device2-14Set Up Licensing2-15ppend the license to yourdat file2-15Specify the License File in the Quartus II Software...2-15Example Simulation and Compilation..2-16Example quartus Ii project2-16Example simulation with Test Vectors,,,,,,2-16Chapter 3. SpecificationsyperTransport Technology Overview1HT SyStems3-2HT Flow ControlHyper Transport MegaCore Function SpecificationPhysical InterfaceSynchronization and alignment ...Protocol interfClocking Options.......HyperTransport Mega Core Function Parameters and HT Link Performance3-10Signals3-14CSR Module...3-31OpenCore plus time-Out BehaviorAppendix A. ParametersIntroduction鲁鲁鲁A-1Parameter listsDevice Family and Read Only registers···········,,,,,,,,,,A-1Base Address Registers番鲁,A-2Clocking OptionsA-3Advanced settingso March 2009 Altera corporationHyperTransport MegaCore Function User GuideAppendix B. Stratix Device Pin AssignmentsIntroductionB-1GuidelinesAppendix C. Example designGeneral descriptionAdditional informationRevision historyInto-lHow to Contact alteraInfo-1Typographic Conventions ..........Info-2Hyper Transport MegaCore Function User Guideo March 2009 Altera CorporationA吉RA1. About this MegaCore FunctionRelease InformationTable 1-1 provides information about this release of the Hyper Transport Mega CoretfunctioTable 1-1. Hyper Transport Mega Core Function Release InformationitenlDescription∨ ersion9.0Release dateMarch 2009Ordering codeIP-HTProduct ID(s)0098Vendor iD(s)6AF7Altera verifies that the current version of the quartus@ll software compiles theprevious version of each MegaCore function. Any exceptions to this verification arereported in the Mega Core lP Library release Notes and Errata. Altera does not verifycompilation with Mega Core function versions older than one releaseDevice Family SupportMegaCore functions provide either full or preliminary support for target Alteradevice families:Full support means the Mega Core function meets all functional and timingrequirements for the device family and may be used in production designsa Preliminary support means the Mega Core function meets all functionalrequirements, but may still be undergoing timing analysis for the device family;itmay be used in production designs with cautionTable 1-2 shows the level of support offered by the Hyper Transport MegaCorefunction for each of the altera device familiesTable 1-2. Device Family SupportDevice FamilySupportHard Copy Stratix@FullStratixFulStratix IIFulStratix‖GXPreliminaryStratix GXOther device familiesNo supportC March 2009 Altera CorporationHyperT ransport Mega Core Function User Guide1-2Chapter 1: About this MegaCore FunctionIntroductionIntroductionThe Hyper Transport Mega Core function implements high-speed packet transfersbetween physical(PhY) and link-layer devices, and is fully compliant with theHyperTransport l/O Link Specification, Revision 1.03. This Mega Core function allowsdesigners to interface to a wide range of Hyper TransportTm technology(hT)enableddevices quickly and easily, including network processors, coprocessors, videochipsets, and ASICsFeaturesThe Hyper Transport Mega Core function has the following features8-bit fully integrated hT end-chain interfacePacket-based protocolDual unidirectional point-to-point linksUp to 16 Gigabits per second(Gbps)throughput(8 Gbps in each direction)200, 300, and 400 MHz DDR links in Stratix and Stratix GX devices200, 300, 400, and 500 MHz ddr links in Stratix II and Stratix II GX devicesLow-swing differential signaling with 100-Q2 differential impedanceHardware verified with Hyper fransport interfaces on multiple industry standardprocessor and bridge devicesFully parameterized mega core function allows flexible, easy configurationFully optimized for the altera stratix Il, Stratix, Stratix GX, and Stratix II GXevice famillesApplication-side interface uses the Altera AtlanticTM interface standardManages Hr flow control, optimizing performance and ease of useIndependent buffering for each HT virtual channelAutomatic handling of ht ordering rulesStalling of one virtual channel does not delay other virtual channels(subject toorderingFlexible parameterized buffer sizes, allowing customization depending onsystem requirementsUser interface has independent interfaces for the HT virtual channels, allowingindependent user logic designCyclic redundancy code(crc) generation and checking to preserve data integrityIntegrated detection and response to common HT error conditions■ CRC errorsEnd-chain errorsFully integrated HT configuration space includes all required configuration spaceregisters and HT capabilities list registersHyper Transport MegaCore Function User Guideo March 2009 Altera CorporationChapter 1: About this MegaCore FunctionPerformance32-bit and 64-bit support across all base address registers bars)automatically handles all csr space accessesVerilog HDL and VHdL simulation supportOpen Core Plus EvaluationWith the Altera free Open Core Plus evaluation feature, you can perform the followingSimulate the behavior of a mcgafunction(Altera MegaCore function or AMPPmegafunction) within your systema Verify the functionality of your design, as well as quickly and easily evaluate itssize and speedGenerate time-limited device programming files for designs that includeMegaCore functionsProgram a device and verify your design in hardwareYou only need to purchase a license for the Mega Core function when you arecompletely satisfied with its functionality and performance and want to take yourdesign to productiono For more information about Open Core Plus hardware evaluation using theHyperTransport MegaCore function, refer to"Open Core Plus Time-Out Behavior"onpage 3-40 and AN 320: Open Core Plus Evaluation of megafunctionsPerformanceThe Hyper Transport Mega Core function uses 20 differential I/O pin pairs and 2single-ended I/O pins, requiring 42 pins total. Table 1-3 through Table 1-5 showtypical performance and adaptive look-up table (alut) or logic element (LE)usagefor the HyperTransport MegaCore function in Stratix II GX, Stratix IL, Stratix, andStratix GX devices respectively, using the Quartus@ II software version 7.1Table 1-3 shows the maximum supported data rates in megabits per second(Mbps)by device family and speed gradeTable 1-3. Maximum Supported Hyper Transport Data Rates (Note 1)Speed GradeDevice Family-36Stratix ll GX devices 1000 Mbps 1000 Mbps 800 MbpsNA(2)N/A(2NA(2)Stratix devices1000 Mbps 1000 Mbps 800 Mbps N/A(2)NA(2)NA(2)Stratix devicesN/A(2N/A(2)00 Mbps 800 Mbps 600 Mbps400 MbpsFlip-Chip packagesStratix devicesNA(2)NA(2)NA(2)600 Mbps400 Mbps400 Mbps(Wire Bond packagesStratix GX devicesN/A(2) N/A(2)800 Mbps 800 Mbps 600 Mbps N/A(2)Notes to table 1-3(1)Rates are per interface bit. Multiply by eight to calculate the uni-directional data rate of an 8-bit inter face(2) Devices ot this speed grade are not ottered in this device familyC March 2009 Altera CorporationHyperTransport Mega Core Function User GuideChapter 1: About this MegaCore FunctionPerformanceTable 1-4 shows performance and device utilization for the Hyper TransportMegaCore function in Stratix II and Stratix II GX devicesTable 1-4. Hyper Transport Mega Core Function Performance in Stratix ll and Stratix ll GX DevicesParametersMemoryUserRXCombinationalHT Link InterfacePosted Non-Posted Response ClockingALUTSLogicfMAX(MHz) MAx(MHz)Buffers BuffersBuffers Option(12)Registers M4K M512 ( 3)3)Shared3.5005200120500125(4RX/TX/Ref35005200500Ref/x8Shared36005400160500>150RX/TXShared4.0006,00016150RX/TX16Shared4,1006,200500125(4)RX/TX/RefShared4.1006200500125(4Ref/TxShared4.2006400160150RX/TXNotes to table 1-4.Refer to " Clocking Options "on page 3-7 for more information about these options(2 )Other parameters(BAR configurations, etc. )vary the alut and Logic Register utilization numbers by approximately +/-200(3)Figures for -3 speed grade devices only(4) When using the Shared Rx/Tx/Ref and Shared Ref/Tx options, the user interface frequency is limited to exactly the ht frequency divided byTable 1-5 shows performance and device utilization for the Hyper TransportMegaCore function in Stratix and Stratix GX devicesTable 1-5. Hyper Transport Mega Core Function Performance in Stratix and Stratix GX DevicesUser Interface fmaxParametersUtilizationHT Link fMAX MHz)MHZ)RXRXSpeed GradePosted Non-Posted Response Clocking Option LEsM4KBuffers BuffersBuffers)(2 Blocks.5-66Shared rx/tx/ref1240010073)100734448888Shared Ref/Tx 7, 60014400400100{3)100(3)Shared rxtx7,90016400400>125>100Shared rxtx8.900125>100168Shared Rx/T×Ref9,400124004001003)100316Shared ref/ ix9.500144001003)10073)16Shared rx/x9.700400125Notes to table 1-5:(1)Refer to Clocking Options"on page 3-7 for more information about these options(2 )Other parameters( BAR configurations etc. )vary the LE utilization by approximately +/-200 LES(3 )When using the Shared Rx/Tx/ Ref and Shared Ref/Tx options, the user interface frequency is limited to exactly the hT frequency divided by fourHyper Transport MegaCore Function User GuideC March 2009 Altera CorporationA吉RA2. Getting StartedDesign FlowTo evaluate the HyperTransport Mega Core function using the Open Core Plus feature,include these steps in your design flowObtain and install the HyperTransport Mega Core functionThe HyperTransport Mega Core function is part of the MegaCore IP Library, which isdistributed with the Quartus ii software and downloadable from the altera websitewww.altera.como For system requirements and installation instructions, refer to Quartus II InstallationLicensing for Windows and Linux Workstations on the Altera website atwww.altera.com/literature/lit-qts.ispFigure 2-1 shows the directory structure after you install the HyperTransportMegaCore function, where is the installation directory. The default installationWindows is C: altera ; on Linux it islopt/alteraFigure 2-1. Directory StructureInstallation directorypContains the Altera MegaCore IP Library and third-party IP coresalteraContains the Altera MegaCore IP LibrarycommonContains shared componentshtContains the Hyper Transport Hyper Transport Megacore function files and documentationdocContains the documentation for the Hyper Transport MegaCore functionlibContains encrypted lower-level design filesexampleContains the design example for the Hyper Transport Mega Core function2. Create a custom variation of the Hyper Transport Mega Core function3. Implement the rest of your design using the design entry method of your choice4. Use the IP functional simulation model to verify the operation of your designo For more information about Ip functional simulation models, refer to the SimulatingAltera IP in Third-Party Simulation Tools chapter in volume 3 of the Quartus II Handbook5. Use the Quartus II software to compile your designC March 2009 Altera CorporationHyperT ransport Mega Core Function User Guide2-2Chapter 2: Getting StartedMega Core Function WalkthroughIg You can also generate an Open Core Plus time-limited programming file,which you can use to verify the operation of your design in hardware6. Purchase a license for the hypertransport Mega Core functionAfter you have purchased a license for the Hyper transport mega Core functionfollow these additional steps1. Set up licensing2. Generate a programming file for the Altera device(s)on your board3. Program the Altera device(s)with the completed designMegaCore Function WalkthroughThis walkthrough explains how to create a custom variation using the AlteraHyper Transport IP Toolbench and the Quartus II software, and simulate the functionusing an ip functional simulation model and the modelsim software when you arefinished generating your custom variation of the function, you can incorporate it intoⅴ our overall projectIe IP Toolbench allows you to select only legal combinations of parameters, and warnsou of any invalid configurationsIn this walkthrough you follow these stepsCreate a New Quartus II Projecta Launch the MegaWizard Plug-in Manager■Step1: Parameterizea Step 2: Set Up Simulation■Step3: Generate■ Simulate the designTo generate a wrapper file and Ip functional simulation model using default values,omit the procedure described in"Step 1: Parameterizeon page 2-5Create a New Quartus ll ProjectCreate a new Quartus II project with the New Project Wizard, which specifies theworking directory for the project, assigns the project name, and designates the nameof the top-level design entityTo create a new project, perform the following steps1. On the Windows Start menu, select Programs> Altera> Quartus II tostart the Quartus lI software. Alternatively, you can use the Quartus II Web editionsoftware2. In the Quartus II window, on the File menu, click New Project Wizard. If you didnot turn it off previously, the New Project Wizard Introduction page appears3. On the New Project Wizard Introduction page, click NextHyper Transport MegaCore Function User Guideo March 2009 Altera Corporation

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • matlab模型预测控制
    介绍MPC,简介预测控制动态矩阵能直接处理带有纯滞后的对象,对大惯性有很强的适应能力,又有良好的跟踪性能和较强的鲁棒性,并且对模型精度要求低,所以在工业过程中有很强的适用性。本文针对DMC算法进行研究,并在此基础上用matlab进行了系统仿真验证了该算法的优点。口经验交流口仪器仪表用户P已知的情况下,控制时域长度M越小,越难保证输出在各采能的 Window标准图形用户界面,使优化问题操作简单方便。样点紧密跟踪期望输出值,系统的响应速度比较慢,但容易得在 Matlab制作图形用户界而(GUI)的设计环境下,用M文件到稳定的控制和较好的鲁棒性;控制时域长度M越大,控制来进行CU编程,使GU设计变得简单、快捷。的机动性越强,能够改善系统的动态响应,增大了系统的灵活首先在Meab的命令窗下输人 guide命令或者利用文件性和快速性,提高控制的灵敏度,但是系统的稳定性和鲁棒性菜单中的new选项下的GUI,即可以进入CUI设计窗口。从变差。因此,控制时域长度的选择应兼顾快速性和稳定性。窗口的左侧工具栏中选取需要的控件,绘制在右侧锥形窗口;4)控制加权系数双击各控件图标,即打开该控件属性对话框,对其进行属性设控制加权系数主要用于限制控制增量的剧烈变化,使控置。保存图形界面时,系统将直动生成一个同名的m文件,打制量的变化趋于平缓,以防止超出限制范围或发生剧烈振荡,开此程序文件,对图形界面各控廾的回调函数 Callback()增减少对系统的过大冲击。增加控制值加权系数的值,控制作加所需的程序代码,以完成各种操作。设计完成之后的得到用减弱,闭环系统稳定,输出响应速度减慢,有益于增加系统的界面如图4所示。的稳定性;但过人的控制加权系数会使控制量的变化极为缓动态矩阵控制算法仿真慢,系统得不到及时的调节,反而会使动态特性变坏7。拴制牌出图积样周期预測时域斑度「F动态矩阵控制算法的优点I)直接在控制算法中考虑预测变量和控制变量的约束条控制时域长度M=1件,用满足约束条件的范围求出最优预测值输入戏象横型控淛权系数2)把控制变量与预测变量的权系数矩阵作为设计参数,系统设定值在设计过程中通过仿真调节鲁棒性好的参数值。3)预测变量和控制变量较多的场合,或者控制变量的的设定在给出的目标值范围内,只是具有自由度,预测变量的定图4动态矩阵控制算法界面设计常状态值被认为是有无数组组合。5结束语4)从受控对象动态特性设定到最后作为仿真来确定控制性由上述仿真结果可以知道,动态矩阵控制效果比传统能为止。DMC算法以直接作为控制量,在控制中包含了数字积PID的控制效果好。动态矩阵控制采用工程上容易得到的阶分环节,因此,即使在模型失配的情况下,也能得到无静差控制。跃响应作为数学模型、运算量小、算法简单、在线实时方便,具4仿真研究有良好的调节品质和很强的鲁棒性,能抑制被控对象的大迟针对被控对象C(s)=12滞特性,能够满足生产现场的需要,获得满意的控制效果,因17.2s+进行仿真,取采样周期而有良好的应用前景。同时基于 Matlab汝计实现了动态矩阵T=2s,模型时域长度为N=90,预测时域长度P=6,控制时控制算法图形用户界面,为动态矩阵控制算法提供了一个简域长度M=1,控制权系数A=1,系统设定值y,=1。对模型在单实用的平台。由于 Matlab具有良好、开放的可扩展性,在应用阶跃扰动下进行仿真,得到如图2所示的控制曲线,可以知道中,用户可以根据实际问题编写相应的函数文件,在CU平台输控制效果较好。入要修改的参数即可完成优化求解操作简单、非常实用。口与传统的PID控制器的控制效果进行比较,其中传统参考文献PD的参数采用工程整定法中的动态特性参数法(又称Z-NL1]李国勇.智能控制及其 MATLAB实现[M]北京:电子工业整定法),得到的参数为Kp=1.5,T1=1,T=0.5,仿真结果出版社,2005:285-289如图3所示。2]席裕庚预测控制[M].北京:国防工业出版社,1993[3]周福恩,毕效辉.动态矩阵控制算法在过程控制中的应用研究[J].南通航运职业技术学院学报,2005,4(1)4345[4]何同祥,常宁青.动态矩阵控制算法在工业电加热炉温度控制中的应用[J.仪器仪表用户,2011,(01):28-3004[5}李玉红,刘红军,王东风,韩璞.一种新型的动态矩阵控制算法及仿真研究[J]计算机学报,2005,22(2):103-1091015公23[6]周忠海,张涛,陈哓高.基于动态矩阵控制算法的电加热炉图2DMC仿真纬果图图3传统Pm仿真结果图温度控制系统[J].山东科学,2005,18(5):7073我们知道传统的PID控制超调量过大,稳定时间长,控制7]触晓红,周佳精通GUI图形界面编程[M].北京:北京大学模型和参数需要比较精确,否则控制性能不会很好,而采用动出版社,2003作者简介:杨丽华(1987-),女,在读硕士研究生,主要从事预测控制方态矩阵控制算法则大大地抑制了超调量,消除了振荡,也缩短面的研究工作;赵文杰(1969-),男,华北电力大学控制科学与工程学了平衡时间,控制效果好。院副教授,主要从事热工过程的信息融合与先进控制方面的研究根据上述动态矩阵控制算法的基本流程及其操作编制成工作相应的m函数文件。这个设计包含动态矩阵控制算法优化功收稿日期2012041866EcVo.192012No,4欢迎光临本刊网站http://www.yqybyh.com
    2020-12-02下载
    积分:1
  • Leslie人口预测模型序基于MATLAB
    此matlab程序主要用于通过LESLIE模型对人口结构和数量进行预测,并做出相关图形
    2020-12-05下载
    积分:1
  • 38.213 NR协议中英文对照.zip
    38.213 NR协议中英文对照,悉心整理,适合通信从业人员和在校学生学习5G nr相关协议,资料清晰,中英文对照版,好资料共享给大家。
    2021-05-06下载
    积分:1
  • 独立成分分析 ICA的matlab代码实现
    独立成分分析ICA的matlab代码实现,对输入输出以及主要步骤有详细的注解。利用了快速ICA的方法,算法迅速。
    2020-12-05下载
    积分:1
  • vasp 5.2.12.tar.gz
    结构计算和量子力学-分子动力学模拟软件包
    2020-12-11下载
    积分:1
  • 基于BP神经网络整定的PID控制
    基于BP神经网络整定的PID控制基于BP神经网络整定的PID控制基于BP神经网络整定的PID控制
    2021-05-07下载
    积分:1
  • HTML5旅游景区景点响应式网站模板
    HTML5旅游景区景点响应式网站模板基于Bootstrap3.3.5制作,自适应分辨率,兼容PC端和移动端,全套模板,包括首页、景区概况、文苑之旅、舒雅住宅、新闻动态、留言中心、联系我们等HTML企业模板页面。(本资源收集于互联网,如果侵权,请告知删除)
    2020-12-12 19:49:16下载
    积分:1
  • dsp2812 伺服电机开环控制源代码
    dsp2812 伺服电机开环恒压频比控制源代码
    2021-05-06下载
    积分:1
  • BP算法实现圆迹SAR点目标仿真(C++语言)
    在圆迹SAR成像模型中,一般采用后向投影算法(Back Projection Algorithm,BPA)实现。本文采用C++语言建立了圆迹SAR的回波模型,然后采用BP算法仿真出了点目标。(运行该程序需要配置opencv,对opencv的配置可参考http://blog.csdn.net/destiny0321/article/details/54138434中的部分内容)
    2020-12-11下载
    积分:1
  • 电机PID控制
    基于labview虚拟仪器设计的电机PID控制
    2020-12-07下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载