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
3:45 Video length is 3:45.
  • Description
  • Full Transcript
  • Related Resources

Transfer Functions in Simulink, Part 1: Creating and Using Transfer Functions

This video demonstrates the ways in which transfer functions can be implemented in Simulink®. It outlines how to represent a complex system in terms of the transfer functions of its components. Simulate and analyze your systems by using different inputs and observing the output.

In this two-part video we will show you how to design and analyze linear and nonlinear systems in Simulink using transfer functions.

Let's start by looking at different ways of modeling transfer functions in Simulink. For example, K over s plus K. You can bring in transfer function objects defined in the MATLAB workspace into Simulink by using the LTI System block and specifying the variable name.

A transfer function can also be represented in terms of simple blocks, such as integrators and gains, as shown. Alternatively, you can use the Transfer Function block Simulink provides. The block is defined in terms of the numerator and denominator of the transfer function.

We have covered designing the given actuator engine system in a video about representing transfer functions in MATLAB. Let's model the same system in Simulink.

Simulink allows you to easily represent complex systems visually, in terms of their components and connections. Here we represent the actuator and the engine using the transfer function block and connect them in series. We then create an area the two blocks to denote their relationship.

Simulink allows us to easily simulate a given system for a variety of inputs by simply adding the appropriate source to the input dominant. Here we specify a ramp input and attach a scope, and the system's output dominant.

Click the Play button to run the simulation and view the scope to see how the output and the ramp input change over time. Design the simulation with a different input; just change the input block. Let's see a step input with magnitude equal to 1. Click the Play button to see how the output changes.

Now let's add a controller to the system. Designing a controller for the system using MATLAB was covered in the video previously mentioned. For now, let's assume that the addition of an integrator with gain equal to 10 and a feedback loop gives us the performance characteristics we desire.

The controllers transfer function is implemented using the transfer function block, which is what we use to represent the engine and the actuator as well. We can see that the model is able to follow step inputs with some overshoot and zero steady-state error.

We can design controllers and perform other common tasks directly in Simulink using Simulink controller design.

In part two of this video, we will be focusing on obtaining transfer functions from Simulink models.

Related Products

  • Control System Toolbox
  • Simulink
  • Simulink Control Design

Bridging Wireless Communications Design and Testing with MATLAB

Read white paper

Feedback

Featured Product

Control System Toolbox

  • Request Trial
  • Get Pricing

Up Next:

3:44
Transfer Functions in Simulink, Part 2: Extracting Transfer...

Related Videos:

4:15
Transfer Functions in MATLAB
4:34
Using Bode Plots, Part 2: Open Loop Shaping
9:48
Using Bode Plots, Part 5: DC Motor Control Example
6:58
Using Bode Plots, Part 3: Phase and Gain Margins

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