物理建模
R2026b创建、优化和测试物理系统的模型
您可以使用 Simscape™ 产品对物理系统进行建模、优化和测试。通过将电气、机械、磁性、液压、气动和热能组件连接成一个网络来对物理系统进行建模。使用 Simscape 语言创建自定义组件。使用 Simscape 产品,不同领域的专家可以在单一仿真环境中协同工作,以优化系统级性能和测试控制算法。通过与 MATLAB® 和 Simulink® 集成来应用深度学习和预测性维护等技术。为了便于您将模型部署到其他环境,包括硬件在环 (HIL) 系统,Simscape 产品支持代码生成。

适用产品: 物理建模
Simscape
对多域物理系统进行建模和仿真
Simscape Battery
设计和仿真电池与储能系统
Simscape Driveline
旋转和平移机械系统建模和仿真
Simscape Electrical
电子、机电和电力系统建模与仿真
Simscape Fluids
Model and simulate fluid systems
Simscape Multibody
多体机械系统建模和仿真
主题
电子和机电系统
- 构建并仿真简单电路 (Simscape Electrical)
构建一个 Simscape Electrical™ 模型,使用数据手册中的值对模块进行参数化,运行该模型并检查结果。 - Modeling Analog Circuit Architectures, Mechatronic Systems, and Electrical Power Systems Using Simscape Electrical (Simscape Electrical)
Model mechatronic systems, analog circuit architectures, and single- and multi-phase electrical power systems that you can connect to networks in other Simscape domains. - 在 MATLAB 和 Simscape 中构建电池包的简单模型 (Simscape Battery)
使用 Simscape Battery™ 创建和构建电池包的 Simscape 系统模型。
流体系统
- Electric Vehicle Thermal Management (Simscape Fluids)
Model the thermal management system of a battery electric vehicle. - Modeling and Simulating Fluid Networks (Simscape Fluids)
Learn the basics of constructing a model in Simscape Fluids™. - Model an Isothermal Actuation System (Simscape Fluids)
Use isothermal components to model a simple actuation system.
机器人
- Pick and Place Robot Using Forward and Inverse Kinematics (Simscape Multibody)
Model a delta robot performing a pick and place task. - Train Humanoid Walker (Simscape Multibody)
Model a humanoid robot using Simscape Multibody™ and train it using either a genetic algorithm (which requires a Global Optimization Toolbox license) or reinforcement learning (which requires Deep Learning Toolbox™ and Reinforcement Learning Toolbox™ licenses).
车辆
- Capabilities of Simscape Driveline Software (Simscape Driveline)
Learn about modeling drivetrains in the Simscape Driveline™ environment. - Complete Vehicle Model (Simscape Driveline)
Explore a model that includes an engine, a transmission, and drivetrain-wheel-road coupling. - Vehicle Dynamics - Car with Heave and Roll (Simscape Multibody)
Model vehicle dynamics using a vehicle model that has 14 degrees of freedom.
虚拟测试和设计优化
- Aircraft Fuel Supply System with Three Tanks (Simscape Fluids)
Model an aircraft fuel supply system consisting of three tanks and an engine. - 太阳能功率逆变器 (Simscape Electrical)
确定单级太阳能逆变器的效率。 - 功率分流混合动力变速器 (Simscape Driveline)
此示例展示了功率分流混合动力变速器的基本架构。行星齿轮与电机和发电机共同作用,起到可变齿轮比变速箱的作用。在此测试中,车辆加速,保持较高速度,然后减速回初始速度。功率管理策略仅使用储存电功率来实现该操作,内燃机仅提供维持初始速度所需的功率。
模型部署
- 针对 HIL 配置的电动汽车 (Simscape Electrical)
对适合硬件在环 (HIL) 部署的电动汽车模型进行建模。 - Generate and Validate HDL Code for Simscape Model (HDL Coder)
Generate HDL code from Simscape switched linear models. - FPGA-Based HIL Deployment of Simscape Model on Speedgoat FPGA I/O Module (HDL Coder)
Synthesize and generate FPGA bitstream from a Simscape half-wave rectifier model and deploy it onto a Speedgoat® FPGA I/O 334-325K target. - How Simscape Code Generation Differs from Simulink (Simscape)
Learn about Simscape code generation specifics.
精选示例
视频
机电系统建模
本视频演示了如何在 Simscape Electrical 中使用优化算法,为直流电机模型寻找合理的参数值。使用 Simulink Design Optimization,对电机模型参数值进行调整,直到仿真结果与测量数据相符。
优化系统性能:液压作动器
本视频演示了如何使用 Simulink Design Optimization 创建并自动调节液压机械作动系统的 Simscape Fluids 模型。该系统必须在不超出作动器力限值的情况下跟踪参考信号。
实时仿真:剪叉式升降机
本视频演示了如何将配备液压作动器的剪叉式升降机 Simscape 模型重用于 HIL 测试。配置步骤包括启用 Simscape 局部求解器、验证定步长仿真的速度和精度,以及将其转换为 C 代码。






