Full-xPC-Target

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

1FromSimulationtoReal-TimeTestingwithYourHardware2Verification&ValidationDesignImplementationEmbeddedSoftwareDSPC,C++MCUREQUIREMENTSTesting(HIL)TestEnvironmentControllerModel-BasedDesign:EarlyV&VistheKeyDesignVerificationCodeVerificationIntegrationTesting3ModelsdesignedinSimulinkandStateflowYouwanttorun,test,andproveyourSimulinkdesignwithyourhardwareundertestatitsnormaloperatingfrequency,speed,ortiming.Buthowcanyoudothistestinginreal-time?GAPFromSimulationtoReal-TimeTesting4Real-TimeTestingScenarios:FunctionalRapidPrototypingWiringandSignalConditioningReal-TimeTargetComputerProductionPlantHardwareCodeGenerationExecution•Host/Target•Real-time5Real-TimeTestingScenarios:Hardware-in-the-Loop(HIL)SimulationWiringandSignalConditioningECUorMicroControllerCodeGenerationCodeGenerationExecution•Host/Target/Target•Real-timeReal-TimeTargetComputer6WhatisxPCTargetandxPCTargetTurnkey?7Real-timetestingusingxPCTargetxPCTargetandxPCTargetTurnkeysystemscreateahardrealtimeenvironmentfortestingyourSimulinkmodels.8HostcomputerwithMATLABxPCTargetonTargetComputerWhatisxPCTarget?EthernetorRS232123Environmentallowsthereal-timeexecutionofSimulinkmodelsonaseparatePC-basedtargetcomputer9HostPCwithMATLABxPCTargetPCWhatisxPCTarget?EthernetorRS232Environmentprovidesinteractiveaccessbetweenthereal-timeapplicationandthehostcomputerAllowsliveparametertuning,controlfromtheoriginalSimulinkmodelandofflineanalysissupportinMATLAB.EthernetorRS232HostcomputerwithMATLABxPCTargetonTargetComputer10EthernetorRS232WhatisxPCTarget?31242Environmentprovidesinteractiveaccessbetweenthereal-timeapplicationandthehostcomputerAllowsliveparametertuning,controlfromtheoriginalSimulinkmodelandofflineanalysissupportinMATLAB.HostcomputerwithMATLABxPCTargetonTargetComputer11xPCTargetPCWhatisxPCTarget?EnvironmentprovidesnumerousI/OdevicedriverblocksBlocksareeasilyconfigurablewithintheSimulinkmodelandcommunicatewithactualhardwareinreal-time.EthernetorRS232HostcomputerwithMATLABxPCTargetonTargetComputer12WhatisxPCTarget?EnvironmentprovidesnumerousI/OdevicedriverblocksBlocksareeasilyconfigurablewithintheSimulinkmodelandcommunicatewithactualhardwareinreal-time.xPCTargetonTargetComputer13I/ODriversforxPCtargetIOTypeFunctionalityAnalogHigh-resolution,high-speed,simultaneoussamplingDigitalTTL,12V,24V,high-driveSerialRS232,ProtocolsCAN,Ethernet,UDPAudio/SpeechAudio/SpeechoptimizedanalogIOmodules,XLRpanelsSharedMemoryReflectiveMemoryforhighspeeddatatransferinmulti-processorsystemsVariousLVDT/RVDT,Synchro/Resolver,ConfigurableFPGA•Pulsetrain(PWM,capture,quadraturedecoding,halleffect)•Eventbasedinterrupts•AnalogI/Owithlowestlatencyand/orspecialsynchronizationschemes•AlgorithmicimplementationsforveryfastinnercontrolloopsHardwaresupported:Developmenttimecutbymorethan50%Designmodificationscompletedinanhour100%ofcontrollerdesignreusable“Inthepast,oursystemsengineershadtoconsiderhardwaredetailssuchasthenumberofbitsofaccuracyandworryaboutcommunicatingthedesigntothesoftwareengineer.WithMathWorkstoolsforModel-BasedDesign,thesystemengineercanfocuscompletelyoncontrols,notthedetailsofthetargethardware.”CoreyQuinnellINCOVATechnologiesA25-tonexcavatorwithhydraulicfunctionscontrolledbyHusco’sINCOVAsystem.Linktouserstory16MagneShockDevelopsSemi-ActiveSuspensionControlSystemwithxPCTargetChallengeTodevelopasemi-activesuspensioncontrolsystemthatcouldbeadaptedtomultiplevehicletypesSolutionUseMathWorkstoolsforModel-BasedDesigntodesignarapidprototypeofthecontroller,tuneparametersinrealtime,andacquireandlogdataforanalysisResultsDeployabletestcode$100,000insavingsReductionindevelopmenttime“xPCTargetgivesusthespeed,thecapacity,andtheflexibilityweneedbyenablingustouseavarietyofdifferentdataacquisitioncardsandtargetPCs.”MichaelCraftMagneShockTuningparametersofasemi-activesuspensionsystem.Linktouserstory17PacificaGroupTechnologiesAdvancesBrake-by-WireTechnologywithSimulinkandxPCTargetChallengeTodesignaninnovativebrake-by-wiresystemwithoutbuildingandtestingcostlyhardwareprototypesSolutionUseSimulinkandxPCTargettodesign,prototype,andrigorouslytestasafety-criticalbrake-by-wiresystemforaggressiveproductionschedulesResultsHugesavingsindesignandtestingcostsHolistictestingFasterprototypingandfewerfieldtests“SimulinkandxPCTargetgiveusanenormouscostsavings.Whatwearedesigningandtestingnowwouldhavecostus100timesmorewithoutMathWorkstoolsforModel-BasedDesign.”JaapOverschiePacificaGroupTechnologiesHardware-in-the-looptestingenvironment.Linktouserstory18VehicleSystemsIntegrationDesignsHardware-in-the-LoopSimulatorfortheU.S.DepartmentofTransportationChallengeTodesignahardware-in-the-loopsimulato

1 / 18
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功