Advertisement

Control Systems in Practice, Part 7: 4 Ways to Implement a Transfer Function in Code

Control Systems in Practice, Part 7: 4 Ways to Implement a Transfer Function in Code Check out the other videos in the series:

Part 1 - What Does a Controls Engineer Do?
Part 2 - What Is Gain Scheduling?
Part 3 - What Is Feedforward Control?
Part 4 - Why Time Delay Matters
Part 5 - A Better Way to Think About a Notch Filter
Part 6 - What are Non-Minimum Phase Systems?

In some situations, it is easier to design a controller or a filter using continuous, s-domain transfer functions. We have a lot of mathematical tools that make analyzing and manipulating them easier than, say, their equivalent time-domain differential equations. However, while we like to work with transfer functions for design and analysis, it’s often the case that we need to implement them in software that runs on some processor or microcontroller, and it might not be obvious how to go about doing this. So, in this video we’ll cover four simple ways to implement a transfer function in code.

Check out these other links:

- Download the code from the video, tfcodemethods.mlx:
- A playlist on discrete control. It describes how we go from the s-domain to the z-domain and the 5th video specifically describes why the Tustin method is equivalent to trapezoidal integration:
- Introduction to State Space:
- Introduction to Embedded Coder:
--------------------------------------------------------------------------------------------------------

Get a free product trial:

Learn more about MATLAB:

Learn more about Simulink:

See what's new in MATLAB and Simulink:



© 2019 The MathWorks, Inc. MATLAB and Simulink are registered

trademarks of The MathWorks, Inc.

See www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.

MATLAB,Simulink,MathWorks,

Post a Comment

0 Comments