How to find a system's transfer function (Control Systems Toolbox)
31 views (last 30 days)
Show older comments
Hello everyone!
I'm designing a PID controller for a pressure valve application using a microcontroller but came across the realization that all my schooling on control systems started with a transfer function as a starting point but not how to characterize a system in transfer function form . . . I remember a few random spring and passive electronics examples but that's not looking like it's going to help much at this point.
I'm looking at buying the Control Systems Toolbox as it looks like a very helpful tool but, like schooling, most videos I've seen on how it's used start with a transfer function. I was hoping someone knew how (or could point me to a resource that would help me) to determine the transfer function of my system so I can make the best use of the control system toolbox?
Any help you can give me would be greatly appreciated. Thanks!
0 Comments
Answers (5)
Raj
on 5 Mar 2019
A little more detail on your system would have helped to give precise answer. However, in general modelling of any system starts with a relationship between input(s) and output(s). It can be in terms of a linear equation, non linear equation, ODE's and what not. In case of continuous systems you take Laplace transform of this equation and ratio of output to input will give you the transfer function. If your system is discrete with some sampling time Ts then you can discretize the aforementioned transfer function from S domain to Z domain using methods line Tustin method or Zero Pole Hold method etc.
0 Comments
Raj
on 12 Mar 2019
Hello,
From the information you have provided, it is understood that you have a set of input-output data and you want to model your physical system. Now since you dont have clarity on relationship between your input and output pressure data, the best method in my opinion would be using "SYSTEM IDENTIFICATION" app of Matlab. Check out details here.
0 Comments
Star Strider
on 11 Mar 2019
With respect to characterizing your system in transfer function form, it would likely be best to begin with a state-space representation, then use the ss2tf function (that is actually part of base MATLAB), then the minreal function to guarantee stability.
That’s how I’d approach it.
0 Comments
See Also
Categories
Find more on Transform Data in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!