Skip to content
MathWorks - Mobile View
  • Sign In to Your MathWorks AccountSign In to Your MathWorks Account
  • Access your MathWorks Account
    • My Account
    • My Community Profile
    • Link License
    • Sign Out
  • Products
  • Solutions
  • Academia
  • Support
  • Community
  • Events
  • Get MATLAB
MathWorks
  • Products
  • Solutions
  • Academia
  • Support
  • Community
  • Events
  • Get MATLAB
  • Sign In to Your MathWorks AccountSign In to Your MathWorks Account
  • Access your MathWorks Account
    • My Account
    • My Community Profile
    • Link License
    • Sign Out

Videos and Webinars

  • MathWorks
  • Videos
  • Videos Home
  • Search
  • Videos Home
  • Search
  • Contact sales
  • Trial software
2:44 Video length is 2:44.
  • Description
  • Full Transcript
  • Related Resources

State-Space Models, Part 1: Creation and Analysis

From the series: State-Space Models

Create and analyze state-space models using MATLAB® and Control System Toolbox™. State-space models are commonly used for representing linear time-invariant (LTI) systems.

This video shows how you can:

  • Create state-space models.
  • Combine state-space models with other model types, such as transfer functions, to develop more complex system models.
  • Analyze state-space models in frequency domain by calculating pole locations and checking system stability.
  • Analyze state-space models in time domain by computing and plotting a step response and visualizing characteristics such as rise time and settling time.

In this video, we will see how to create, manipulate, and analyze state-based systems in MATLAB and Control System Toolbox. Let us build a state space model of a DC motor where the applied voltage V is the input, the shaft speed omega is the output, and the current, I, and shaft speed, omega, are the two states. The motor parameters have already been defined in the base work space. So let's start by building our state based matrices.

Now we use the SS command on the state space matrices to create the state space model of the motor. Now that we have developed a state space model of the motor, let's add a voltage amplifier represented by the following first order transfer function that amplifies the input voltage. This amplifier provides a steady state voltage gain of five and a bandwidth of 1,000 radians per second.

Now that we have designed a voltage amplifier, let's create our overall plant model by combining the motor and amplifier using the star operator. This shows how with control system toolbox, we can easily combine and convert between models with different representations like state space and transfer functions. For example, the combination of these two models results in a third order state space model.

Now that we have developed our plant model, let us analyze our plant stability by calculating the poles or eigenvalues of the plant using the pull function, which returns negative real values, indicating a stable plant. Instead of calculating poles with the pole function, we could also have used the is stable function to analyze stability. This function returns a logical one if the system is stable or zero if unstable.

Now that we have determined that our plant is stable, let us analyze the step response for a unit step voltage applied using the step function. From the transient system characteristics, we see that the system takes a little over one second to rise and takes over two seconds to settle. So now we have seen how to create, manipulate, and analyze state space systems in MATLAB and Control System Toolbox. In the next video in this series on state space systems, we will design a full state feedback controller for our plant to show how state space models can be utilized in control design. This concludes the video.

Related Products

  • Control System Toolbox

Bridging Wireless Communications Design and Testing with MATLAB

Read white paper

Feedback

Featured Product

Control System Toolbox

  • Request Trial
  • Get Pricing

Up Next:

Design a full-state feedback controller using pole placement with Control System Toolbox.
5:57
Part 2: Control Design
View full series (2 Videos)

Related Videos:

5:57
State-Space Models, Part 2: Control Design
4:34
Using Bode Plots, Part 2: Open Loop Shaping
3:44
Transfer Functions in Simulink, Part 2: Extracting Transfer...
7:51
Understanding Bode Plots, Part 3: Simple Systems
3:45
Transfer Functions in Simulink, Part 1: Creating and Using...

View more related videos

MathWorks - Domain Selector

Select a Web Site

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: .

  • Switzerland (English)
  • Switzerland (Deutsch)
  • Switzerland (Français)
  • 中国 (简体中文)
  • 中国 (English)

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

How to Get Best Site Performance

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

Americas

  • América Latina (Español)
  • Canada (English)
  • United States (English)

Europe

  • 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
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文Chinese
    • English
  • 日本Japanese (日本語)
  • 한국Korean (한국어)

Contact your local office

  • Contact sales
  • Trial software

MathWorks

Accelerating the pace of engineering and science

MathWorks is the leading developer of mathematical computing software for engineers and scientists.

Discover…

Explore Products

  • MATLAB
  • Simulink
  • Student Software
  • Hardware Support
  • File Exchange

Try or Buy

  • Downloads
  • Trial Software
  • Contact Sales
  • Pricing and Licensing
  • How to Buy

Learn to Use

  • Documentation
  • Tutorials
  • Examples
  • Videos and Webinars
  • Training

Get Support

  • Installation Help
  • MATLAB Answers
  • Consulting
  • License Center
  • Contact Support

About MathWorks

  • Careers
  • Newsroom
  • Social Mission
  • Customer Stories
  • About MathWorks
  • Select a Web Site United States
  • Trust Center
  • Trademarks
  • Privacy Policy
  • Preventing Piracy
  • Application Status

© 1994-2022 The MathWorks, Inc.

  • Facebook
  • Twitter
  • Instagram
  • YouTube
  • LinkedIn
  • RSS

Join the conversation