This model shows how to use MathWorks® products to address the technical and process challenges of aircraft design using the design of a lightweight aircraft.
This model shows the simulation of multiple aircraft in formation flight, with emphasis on the necessary requirements and the realized benefits in making the simulation vectorized so that
This document describes how to use the Flight Simulation project template using Simulink® Projects. This template provides a framework for the collaborative development of a flight
This model shows how to model the Wright Brother's 1903 Flyer modeled in Simulink®, Aerospace Blockset™ and Simulink® 3D Animation™ software. This model simulates the longitudinal motion
This model shows how to model the DeHavilland Beaver using Simulink® and Aerospace Blockset™ software. It also shows how to use a pilot's joystick to fly the DeHavilland Beaver This model has
This model shows how to compute true airspeed from indicated airspeed using the Ideal Airspeed Correction block. The Aerospace Blockset™ blocks are indicated in red.
Trim and linearize an airframe using Simulink® Control Design™ software
This model shows how to compute the indicated airspeed from true airspeed using the Ideal Airspeed Correction block. The Aerospace Blockset™ blocks are indicated in red.
This model shows how to compare the implementation of a state-space controller [A,B,C,D] in a self-conditioned form versus a typical state-space controller [A,B,C,D]. This model
This model shows how to estimate a quaternion and model the equations in the following ways:
This model shows how to implement various gravity models with precessing reference frames using Aerospace Blockset™ blocks. The Aerospace Blockset blocks are shown in red.
Trim and linearize an airframe in the Simulink® environment using the Control System Toolbox™ software
This model shows how to connect an Aerospace Blockset™ six degree of freedom equation of motion block.
This project shows how to model NASA's HL-20 lifting body with Simulink®, Stateflow® and Aerospace Blockset™ software. The vehicle model includes the aerodynamics, control logic, fault
This model shows how to model the Wright Brother's 1903 Flyer modeled in Simulink®, and Aerospace Blockset™ software. This model simulates the longitudinal motion of the Flyer in response
This model shows NASA's HL-20 lifting body and controller modeled in Simulink® and Aerospace Blockset™ software. This model simulates approach and landing flight phases using an
Create a hybrid electric vehicle input power- split reference application project.
Create a hybrid electric vehicle multimode reference application project.
Create a hybrid electric vehicle P2 reference application project.
Import lithium-ion battery sheet data and generate parameters for the Datasheet Battery block. To run the example, you need the Curve Fitting Toolbox™.
Create a compression-ignition (CI) engine dynamometer project. You can use the project as a starting point for simulating a CI engine and controller under a dynamometer test harness.
Create a spark-ignition (SI) engine dynamometer project. You can use the project as a starting point for simulating a SI engine and controller under a dynamometer test harness.
Obtain a Linear Parameter Varying (LPV) approximation of a Simscape™ Electrical™ Power Systems model of a Boost Converter. The LPV representation allows quick analysis of average
Plot linearization of a Simulink model at particular conditions during simulation. The Simulink Control Design software provides blocks that you can add to Simulink models to compute and
Model computational delay and sampling effect using Simulink Control Design.
Use Simulink Control Design from command line. The MATLAB functions available in Simulink Control Design software allow for the programmatic specification of the input and output points
Obtain the frequency response of Simulink models when analytical block-by-block linearization does not provide accurate answer due to event-based dynamics in the linearization path.
Use the frequency response estimation to perform a sinusoidal-input describing function analysis, for a model with a saturation nonlinearity.
Specify the rate conversion method for the linearization of a multirate model. The choice of rate conversion methodology can affect the resulting linearized model. This example
Use the time based operating point snapshot feature in Simulink Control Design. This example uses a model of the dynamics of filling a cylinder with compressed air.
The process that the command linearize uses when extracting a linear model of a nonlinear multirate Simulink model. To illustrate the concepts, the process is first performed using
Specify the linearization of a Simulink block or subsystem.
Enable custom masked subsystems in Control System Designer. Once configured, you can tune a custom masked subsystem in the same way as any supported blocks in Simulink Control Design. For
Use the slLinearizer interface to batch linearize a Simulink model. You vary model parameter values and obtain multiple open- and closed-loop transfer functions from the model.
Specify the linearization for a model component that does not linearize well using a linear model identified using the System Identification Toolbox™. This example requires Simscape™
Use the blocks in Linear Analysis Plots and Model Verification libraries of Simulink Control Design. The Simulink Control Design software provides blocks that you can add to Simulink
Trim and linearize an airframe. We first need to find the elevator deflection and the resulting trimmed body rate (q) that will generate a given incidence value when the airframe is traveling
Use the command LINEARIZE to speed up the batch linearization where a set of block parameters are varied.
The features available in Simulink Control Design for linearizing models containing references to other models with a Model block.
Approximate the nonlinear behavior of a system as an array of interconnected LTI models.
Illustrates how to use parallel computing for speeding up frequency response estimation of Simulink models. In some scenarios, the command FRESTIMATE performs multiple Simulink
Generate operating points using triggered snapshots.
Estimate the parameters of a multi-domain DC servo motor model constructed using various physical modeling products.
Use numerical optimization to tuning the controller parameters of a nonlinear system. In this example, we model a CE 152 Magnetic Levitation system where the controller is used to position a
Use parallel computing to optimize the time-domain response of a Simulink® model. You use Simulink® Design Optimization™ and Parallel Computing Toolbox™ to tune the gains of a discrete PI
Automatically generate a MATLAB function to solve a Design Optimization problem. You use the Response Optimization tool to define an optimization problem for a hydraulic cylinder design
Use Simulink® Design Optimization™ to optimize the controller of an inverted pendulum. The inverted pendulum is on a cart and the motion of the cart is controlled. The controller's
Use Simulink® Design Optimization™ to estimate multiple parameters of a model by iterated estimations.
Use Simulink® Design Optimization™ to tune the gains of the PID controller (Kp, Ki, and Kd) and optimize the step response of the plant. To view the results, use the following steps.
Use Simulink® Design Optimization™ to optimize the temperature control of a heat exchanger around a temperature set-point.
Create an estimation experiment from measured data stored in a file and how to preprocess the measured data. You use the imported data to estimate the parameters of a simple RC circuit.
Design a PI control system to control the speed of a DC motor, and is based on the Control System Toolbox™ example "DC Motor Control".
Estimate the physical parameters - mass (m), spring constant (k) and damping (b) of a simple mass-spring-damper model. This example illustrates the significance of initial state
Use Simulink® Design Optimization™ to estimate parameters of a clutch model created using Simscape™ Driveline™ library blocks.
Tune model parameters to meet frequency-domain requirements using the Response Optimization tool.
Estimate the coefficients of a nonlinear (quadratic) function to approximate the dynamic behavior of a system component.
Use parameter bounds to improve estimation performance. This is illustrated by estimating the power rating, P, of a synchronous machine.
Use experiment data to estimate model parameters. You estimate the parameters of an engine throttle system.
Use Simulink® Design Optimization™ to optimize the output response of a plant by tuning the LQR gain matrix and feed-forward gain. This model includes uncertainty in the plant model and
Estimate model parameters from multiple sets of experimental data. You estimate the parameters of a mass-spring-damper system.
Use Simulink® Design Optimization™ to optimize the multi-loop controller parameters of a distillation column. The Distillation column produces methanol and is represented as a linear
Use Simulink® Design Optimization™ to tune an all-pass filter of a Phase Lock Loop. The filter includes a second-order low pass filter and a feedthrough gain. The feedthrough gain and the
Use Simulink® Design Optimization™ to optimize the current controller parameters of a 3-phase thyristor converter. The model uses blocks from Simscape™ and Simscape™ Electrical™.
An increasing steering response reference application project.
A swept sine steering response reference application project.
Implement a double lane change reference application project.
Interrogate a 3D scene using a camera and ray tracing reference application project.