《Simscape 物理模型 汽车 HIL.pdf》由会员分享,可在线阅读,更多相关《Simscape 物理模型 汽车 HIL.pdf(23页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。
1、1 2014 The MathWorks,Inc.采用采用Simscape为为HIL测试测试快速快速建立系统模型建立系统模型杨兴杨兴 应用工程师应用工程师迈斯沃克迈斯沃克2Optimize System-Level PerformanceSimulating plant and controller in one environmentallows you to optimize system-level performance.Automate tuning process using optimization algorithms Accelerate process using para
2、llel computingPlant+uyControllers1s2s3SystemActuatorsSensors3PlantModelPlantSpecificationDetect Integration Issues EarlierPlant+uyControllers1s2s3Controls engineers and domain specialists can work together to detect integration issues in simulationConvert plant models to C code for hardware-in-the-l
3、oop testsDistribute models to other internal users without extra licensesDistribute models to external users while protecting IP SystemActuatorsSensors4Build Accurate Models QuicklyRequires less domain knowledge andprogramming effort than traditional methods Spend more time developing,less time mode
4、lingPhysical ModelingMATLAB,SimulinkDomain KnowledgeProgramming EffortProgrammingEffortDomainKnowledgeMechanicalElectronicMultidomainHydraulicPower SystemsPlantSpecificationFortran,C+Domain KnowledgeProgramming EffortPlantModel5Physical Systems in SimulinkMultibody mechanics(3-D)Mechanical systems(1
5、-D)Fluid power and controlMultidomain physical systemsElectrical power systemsElectromechanical and electronic systemsSimMechanicsSimDrivelineSimHydraulicsSimElectronicsSimPowerSystemsSimscapeMATLAB,SimulinkSimMechanicsSimDrivelineSimHydraulicsSimElectronicsSimPowerSystemsSimscapeMechanical Hydrauli
6、cElectricalThermalLiquidCustom Domains viaSimscape LanguagePneumaticMagneticNS6MODELIntegrateCreateImportSIMULATETestOptimizeConfigureAnalyze andDocumentDEPLOYIntegrate IntoOther EnvironmentsShare ModelsTest ControllerAccelerate control design and system-level analysis with physical system models Mo
7、deling Multidomain Physical Systems Simulating the Entire System in a Single Environment Deploying Models to Teams,Departments,or Companies8MODELIntegrateCreateImportSIMULATETestOptimizeConfigureAnalyze andDocumentDEPLOYIntegrate IntoOther EnvironmentsShare ModelsTest ControllerModeling Multidomain
8、Physical Systems9Using SimMechanics Link,you can automatically create a SimMechanics model from a CAD assembly.MODELIntegrateCreateImportImport Data from Multiple Sources,Including CADCADSimMechanics10Create and Reuse Intuitive System-Level ModelsModel your physical system as a physical networkthat
9、reflects the structure of the actual system.MODELIntegrateCreateImportV+V-PTAB11Extending an Existing Simscape LibrarySimscape Language For Modeling Custom ComponentsMODELIntegrateCreateImportequationsw=r.w-c.w;t=k*theta*theta*sign(theta);w=theta.der;endTorque=-Angular Velocity=2kdtd12Integrate the
10、Physical System and Controller in a Single EnvironmentModeling the controller and plant in a single environmentresults in optimized designsand eliminates the need for cosimulationMODELIntegrateCreateImportS1S2S3Compensator,FiltersLogicHydraulic,thermal,electrical,mechanial,and other physical domains
11、Events13MODELIntegrateCreateImportSIMULATETestOptimizeConfigureAnalyze andDocumentDEPLOYIntegrate IntoOther EnvironmentsShare ModelsTest ControllerSimulating the Entire System in a Single Environment14Computational TimeModel Complexity&DetailComputational Time vs.Model ComplexityConfigure your model
12、 to balancesimulation speed and model fidelity.Ideal ActuatorsLinearizedSystemsAveragedVoltageRealisticActuatorsPWMDriverNonlinearEffectsS1S2S3SIMULATETestOptimizeConfigureAnalyze andDocumentConfigure the Model to Balance Model Fidelity and Simulation Speed15SIMULATETestOptimizeConfigureAnalyze andD
13、ocumentConfigureComputer ClusterWorkersRunning simulations in parallelspeeds up your testing process.Desktop SystemWorkersSimulation 1Simulation 2Test Your System EfficientlyModel using Simscape and add-on products16Automate the design process using scriptswritten in MATLAB and automatically generat
14、ed reports from the Simulink Report Generator.Simulation 1Simulation 2ReportFailPassScreenshotsC and MATLABCodePlots andResultsSIMULATETestOptimizeConfigureAnalyze andDocumentAnalyze Simulation Results and DocumentDesign Changes AutomaticallyModel using Simscape and add-on products17S1S2S3S1S2S3Trad
15、eoff studies and optimization algorithmsenables finding the design that optimizessystem-level performanceSIMULATETestOptimizeConfigureAnalyze andDocumentOptimize Your Entire Engineering System18MODELIntegrateCreateImportSIMULATETestOptimizeConfigureAnalyze andDocumentDEPLOYIntegrate IntoOther Enviro
16、nmentsShare ModelsTest ControllerDeploying Models to Teams,Departments,or Companies19Test Controller Using Hardware in the Loop Before Connecting to PrototypesProcessor in the Loop(PIL)Hardware in the Loop(HIL)Hardware-in-the-loop(HIL)testingreduces dependence on expensive prototypesDEPLOYIntegrate
17、IntoOther EnvironmentsShare ModelsTest Controller20Integrate Your Models into Other Simulation EnvironmentsC CodeHardware-in-the-LoopSimulatorsStandaloneExecutableDeploy the model as C code to other simulation environments,or use it as a standalone executableDEPLOYIntegrate IntoOther EnvironmentsSha
18、re ModelsTest ControllerOtherSimulationEnvironmentsModel using Simscape and add-on products21Share Models and Protect Intellectual PropertyShare models,and protect when necessaryto avoid exposing intellectual propertyModel UsersSimscape licenseAdd-on product installed,No add-on license requiredDEPLO
19、YIntegrate IntoOther EnvironmentsShare ModelsTest ControllerModel using Simscape and add-on productsModel DeveloperSimscape licenseAdd-on product license22MODELIntegrateCreateImportSIMULATETestOptimizeConfigureAnalyze andDocumentDEPLOYIntegrate IntoOther EnvironmentsShare ModelsTest ControllerUse Yo
20、ur Simulation Tool ForAll Phases of Development Modeling Multidomain Physical Systems Simulating the Entire System in a Single Environment Deploying Models to Teams,Departments,or Companies23SummaryCreate accurate,reusableplant models quickly and easilyOptimize system performance Develop in a single environment No cosimulationFind problems before building hardware using HIL24 2014 The MathWorks,Inc.采用采用Simscape为为HIL测试测试快速快速建立系统模型建立系统模型杨兴杨兴 应用工程师应用工程师迈斯沃克迈斯沃克