一般应用领域
Simulink® 可让您对各种动态系统进行建模和仿真。下列示例模型说明从简单到复杂的各种一般应用。
精选示例
弹球的仿真
此示例使用一个弹球的两个模型来说明对具有 Zeno 行为的混合动态系统进行建模的不同方法。一般来说,Zeno 行为的特征可非正式地表示为某些混合系统在有限时间间隔内发生无限数量的事件。球在失去能量的同时,球与地面发生碰撞的时间间隔越来越短。
Analyze Impact of Model Parameters on Bouncing Ball Simulation
Analyzes the impact of the damping coefficient on a mass-spring-damper model of the dynamics of a bouncing ball. After running a simulation using a vectorized parameter value, the example analyzes the effect of varying the parameter by exploring these questions:
Approximating Nonlinear Relationships: Type S Thermocouple
Approximate nonlinear relationships of a type S thermocouple.
Digital Waveform Generation: Approximate a Sine Wave
Design and evaluate a sine wave data table for use in digital waveform synthesis applications in embedded systems and arbitrary waveform generation instruments.
Spiral Galaxy Formation Simulation Using MATLAB Function Blocks
Use MATLAB Function blocks to simulate and plot galaxy interactions.
Counters Using Conditionally Executed Subsystems
Implement counters using Enabled and Triggered subsystems. In this example, the model sldemo_counters controls flow of water into a tank and uses a counter to count the number of times overflow occurs, where overflow occurs when the water level in the tank is 8 meters or more for 30 seconds or more.
用动画演示倒立摆
此示例说明如何使用 Simulink® 对倒立摆系统建模进行动画演示。倒立摆的质心在枢轴点上方。为了稳定地保持此位置,当钟摆开始下落时,系统执行控制逻辑以将枢轴点移至质心下方。倒立摆是用于测试控制策略的经典动力学问题。
双弹簧质量系统
此示例说明如何对一个具有周期性变化的外力函数的双弹簧-质量-阻尼系统建模。模型使用 S-Function 模块在仿真期间以动画方式显示质量系统。在该系统中,唯一的传感器连接到左侧的质量模块上,作动器也连接到左侧的质量模块上。该示例使用状态估计和线性二次调节器 (LQR) 控制。
Foucault Pendulum Model
Model a Foucault pendulum. The Foucault pendulum was the brainchild of the French physicist Leon Foucault. It was intended to prove that Earth rotates around its axis. The oscillation plane of a Foucault pendulum rotates throughout the day as a result of axial rotation of the Earth. The plane of oscillation completes a whole circle in a time interval T, which depends on the geographical latitude.
使用 Simulink 3D Animation 的傅科摆模型
此示例说明如何在 Simulink® 3D Animation™ 环境中以动画方式显示Foucault Pendulum Model。您可以通过更改模型中的 Latitude 常量值和 MATLAB® 工作区中的其他参数来修改摆位置。
Explore Variable-Step Solvers with Stiff Model
The behavior of variable-step solvers in a Foucault pendulum model. Simulink® solvers ode45, ode15s, ode23, and ode23t are used as test cases. Stiff differential equations are used to solve this problem. There is no exact definition of stiffness for equations. Some numerical methods are unstable when used to solve stiff equations and very small step sizes are required to obtain a numerically stable solution to a stiff problem. A stiff problem may have a fast changing component and a slow changing component.
Exploring the Solver Jacobian Structure of a Model
The example shows how to use Simulink® to explore the solver Jacobian sparsity pattern, and the connection between the solver Jacobian sparsity pattern and the dependency between components of a physical system. A Simulink model that models the synchronization of three metronomes placed on a free moving base are used.
Double Bouncing Ball: Use of Adaptive Zero-Crossing Location
Choose the correct zero-crossing location algorithm, based on the system dynamics. For Zeno dynamic systems, or systems with strong chattering, you can select the adaptive zero-crossing detection algorithm through the Configure pane:
Power Analysis of Spring-Mass-Damper System
Analyze mechanical power of mass-spring damper system.
范德波尔振荡器
此示例说明如何在 Simulink® 中对二阶范德波尔 (VDP) 微分方程进行建模。在动力学中,VDP 振荡器不是守恒的,且具有非线性阻尼。在高振幅时,振荡器耗散能量。在低振幅时,振荡器生成能量。振荡器由以下二阶微分方程给出:
Collision Avoidance and Trajectory Tracking of a Marine Vessel
Follow a pre-defined trajectory and avoid collisions.
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
























