MATLAB Examples

This case study illustrates Kalman filter design and simulation. Both steady-state and time-varying Kalman filters are considered.

Use command-line PID tuning options to reduce overshoot in reference tracking or to improve rejection of a disturbance at the plant input. Using the pidtune command, the example

Design a two-degree-of-freedom (2-DOF) PID controller at the command line. The example also compares the 2-DOF controller performance to the performance achieved with a 1-DOF PID

Use Simulink Control Design to tune a two-loop autopilot controlling the pitch rate and vertical acceleration of an airframe.

Use Control System Toolbox™ to design a digital servo controller for a disk drive read/write head.

Use slTuner and systune to tune the current and velocity loops in a linear electric actuator with saturation limits.

The limitations of PI control for processes with long dead time and illustrates the benefits of a control strategy called "Smith Predictor."

Design a compensator for a plant model defined by frequency response data (FRD) using Control System Designer.

Tune a controller for reducing vibrations in a flexible beam.

Use the Control System Tuner app to tune a MIMO, multiloop control system modeled in Simulink.

Uses systune to control an inverted pendulum on a cart.

Configure Control System Designer from the command line and how to create functions to customize the startup of a Control System Designer session.

Uses systune to generate smooth gain schedules for a three-loop autopilot.

Tune compensators for a feedback control system using Control System Designer .

Design feedback and feedforward compensators to regulate the temperature of a chemical reactor through a heat exchanger.

Design and analyze a controller for multiple plant models using Control System Designer.

Uses systune to design and tune a MIMO controller for a Diesel engine. The controller is tuned in discrete time for a single operating condition.

Leverage the Parallel Computing Toolbox™ to accelerate multi-start strategies for tuning fixed-structure control systems.

The design of a YAW DAMPER for a 747® aircraft using the classical control design features in Control System Toolbox™.

Use Control System Toolbox™ to tune a digital motion control system.

Perform Kalman filtering. Both a steady state filter and a time varying filter are designed and simulated below.

The design of a non-inverting feedback amplifier circuit using Control System Toolbox™. This design is built around the operational amplifier (op amp), a standard building block of

In this example, you learn how to use Control System Tuner app to design a controller for a nonlinear plant modeled in Simulink. You accomplish the following tasks:

Use slTuner and systune to tune the standard configuration of a longitudinal autopilot. We thank Professor D. Alazard from Institut Superieur de l'Aeronautique et de l'Espace for

Mitigate communication delays in a passive control system.

Estimate states of linear systems using time-varying Kalman filters in Simulink. You use the Kalman Filter block from the Control System Toolbox library to estimate the position and

Uses systune to explore trade-offs between setpoint tracking and disturbance rejection when tuning PID controllers.

Use the Control System Tuner app to tune the current and velocity loops in a linear electric actuator with saturation limits.

The comparison of three DC motor control techniques for tracking setpoint commands and reducing sensitivity to load disturbances:

Use looptune to decouple the two main feedback loops in a distillation column.

Design and tune a gain-scheduled controller for a chemical reactor transitioning from low to high conversion rate. For background, see Seborg, D.E. et al., "Process Dynamics and Control",

Design a MIMO LQG regulator to control the horizontal and vertical thickness of a steel beam in a hot steel rolling mill.

Design a compensator in an IMC structure for series chemical reactors, using Control System Designer. Model-based control systems are often used to track setpoints and reject load

Design a compensator for a plant with time delays using Control System Designer.

Use LQG synthesis to design a feedback controller for a disk drive read/write head using Control System Designer.

Jointly tune the inner and outer loops of a cascade architecture with the systune command.

Tune a high-performance digital controller with bandwidth close to the sampling frequency.

Use slTuner and systune to tune a multiloop controller for a rotorcraft.

Design a PI controller with good disturbance rejection performance using the PID Tuner tool. The example also shows how to design an ISA-PID controller for both good disturbance rejection

The systune command can jointly tune the gains of your control system regardless of its architecture and number of feedback loops. This example outlines the systune workflow on a simple

Use the unscented Kalman filter and particle filter algorithms for nonlinear state estimation for the van der Pol oscillator.

The basic workflow of tuning feedback loops with the looptune command. looptune is similar to systune and meant to facilitate loop shaping design by automatically generating the tuning

Create tunable models of control systems for use with systune or looptune .

Uses systune to control seismic vibrations in a three-story building.

Design a cascade control loop with two PI controllers using the pidtune command.

Use looptune to tune a multi-loop controller for a 6-DOF robotic arm manipulator.

Perform nonlinear state estimation in Simulink™ for a system with multiple sensors operating at different sample rates. The Extended Kalman Filter block in Control System Toolbox™ is used

Design a computer hard-disk read/write head position controller using classical control design methods.

Demonstrates the use of Particle Filter block in Control System Toolbox™. A discrete-time transfer function parameter estimation problem is reformulated and recursively solved as a

This is Part 5 of the example series on design and tuning of the flight control system for the HL-20 vehicle. This part shows how to perform most of the design in MATLAB without interacting with

Estimate the states of a nonlinear system using an Unscented Kalman Filter in Simulink™. The example also illustrates how to develop an event-based Kalman Filter to update system

This is Part 4 of the example series on design and tuning of the flight control system for the HL-20 vehicle. This part shows how to tune a MIMO PI architecture for controlling the roll, pitch,

This is Part 1 of a five-part example series on design and tuning of the flight control system for the HL-20 vehicle. This part deals with trimming and linearization of the airframe.

Estimate the states of a discrete-time Van der Pol oscillator and compute state estimation errors and residuals for validating the estimation. The residuals are the output estimation

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Contact your local office