How to find a system's transfer function (Control Systems Toolbox)
조회 수: 30 (최근 30일)
이전 댓글 표시
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
답변 (5개)
Raj
2019년 3월 5일
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
Raj
2019년 3월 12일
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
Star Strider
2019년 3월 11일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Transform Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!