Applicazioni generali
Simulink® consente di modellare e simulare un'ampia gamma di sistemi dinamici. Questi modelli di esempio illustrano una serie di applicazioni generali, da semplici a complesse.
Esempi in primo piano
Simulation of Bouncing Ball
Uses two models of a bouncing ball to show different approaches to modeling hybrid dynamic systems with Zeno behavior. Zeno behavior is informally characterized by an infinite number of events occurring in a finite time interval for certain hybrid systems. As the ball loses energy, the ball collides with the ground in successively smaller intervals of time.
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:
Single Hydraulic Cylinder Simulation
Use Simulink® to model a hydraulic cylinder. You can apply these concepts to applications where you need to model hydraulic behavior.
Thermal Model of a House
Use Simulink® to create the thermal model of a house. This system models the outdoor environment, the thermal characteristics of the house, and the house heating system.
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.
Rilevamento accurato dello zero-crossing
Questo esempio mostra come funziona il rilevamento dello zero-crossing in Simulink®. Simulink utilizza il rilevamento dello zero-crossing per simulare con precisione un cambiamento o una discontinuità brusca del modello senza ridurre i passi temporali del risolutore. Per ulteriori informazioni, vedere Zero-Crossing Detection.
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.
Modellazione dell'attrito stick-slip e degli arresti bruschi nel sistema massa-molla-smorzatore
Questo esempio mostra un modo in cui è possibile incorporare gli arresti bruschi e le variazioni di attrito del movimento stick-slip in un modello massa-molla-smorzatore.
Controllo ottimo utilizzando la logica temporale
Questo esempio mostra come utilizzare Stateflow® per modellare un sistema di controllo ottimo della temperatura per uno scaldabagno. Le dinamiche dello scaldabagno sono modellate in Simulink®.
Pendolo inverso con animazione
Questo esempio mostra come utilizzare Simulink® per modellare e animare un sistema a pendolo inverso. Un pendolo inverso ha il centro di massa al di sopra del proprio punto di rotazione. Per mantenere stabilmente questa posizione, il sistema implementa una logica di controllo per spostare il punto di rotazione sotto il centro di massa quando il pendolo inizia a cadere. Il pendolo inverso è un classico problema di dinamica utilizzato per testare le strategie di controllo.
Sistema doppio massa-molla
Questo esempio mostra come modellare un sistema doppio massa-molla-smorzatore con una funzione di forzatura che varia periodicamente. Il modello utilizza un blocco S-Function per animare il sistema massa durante la simulazione. Nel sistema, l'unico sensore presente è collegato alla massa a sinistra e l'attuatore è collegato alla massa a sinistra. L'esempio utilizza la stima dello stato e il controllo del regolatore lineare quadratico (LQR).
Tank Fill and Empty with Animation
Model the dynamics of liquid in a tank. The model simulates liquid inflow and outflow.
Simulating Systems with Variable Transport Delay Phenomena
Two cases where you can use Simulink® to model variable transport delay phenomena.
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.
Foucault Pendulum Model with Simulink 3D Animation
Animate the Foucault Pendulum Model in the Simulink® 3D Animation™ environment. You can modify the pendulum location by changing the Latitude
constant values in the model and other parameters in MATLAB® workspace.
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:
Four Hydraulic Cylinder Simulation
Use Simulink to create a model with four hydraulic cylinders. The model has a single pump and four actuators.
Two Cylinder Model with Load Constraints
Use Simulink to model a rigid rod supporting a large mass interconnecting two hydraulic actuators. This model eliminates the springs as it applies the piston forces directly to the load.
Power Analysis of Spring-Mass-Damper System
Analyze mechanical power of mass-spring damper system.
Oscillatore di Van der Pol
Questo esempio mostra come modellare l'equazione differenziale di Van der Pol (VDP) del secondo ordine in Simulink®. In dinamica, l'oscillatore VDP non è conservativo e ha uno smorzamento non lineare. Ad ampiezze elevate, l'oscillatore dissipa energia. A basse ampiezze, l'oscillatore genera energia. L'oscillatore è dato da questa equazione differenziale del secondo ordine:
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.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- 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)