How to implement improper transfer function in Simulink? Help!
Show older comments
Hi, I've learned that Simulink returns a warning that my denominator must have a higher coefficient degree in order to implement the transfer function.
However, the existing solutions didnt help. Is there an alternate method to do so?
Heres the transfer function that I've been trying to use :

Answers (1)
Star Strider
on 10 Jun 2020
0 votes
Not recent, however it likely still applies.
3 Comments
If you use the residue approach in that link, I'd recommend creating sys1 as:
[b,a]=residue(r,p,0);
sys1 = tf(b,a); % or use b and a parameters in a Transfer Fcn block
This way handles all of the poles in p in one call and also handles the case with repeated poles, which can be tricky.
If you want to avoid using one or more Derivative blocks (see the doc page for potential pitfalls with that block), you may want to consider augmenting your transfer function with as many high frequency poles as you need to make it proper. You'll have to pick those poles so as not to impact the gain and phase at the frequencies you care about based on the types of inputs you expect. And of course this approach may force you to smaller solver step sizes. In a simialre vein, you can follow the approach in the link, but replace the derivative block with a tranfer function of the form s/(s/w + 1), with w chosen high enough relative to the frequency content of your expected inputs.
Also, the example in the OP should work fine. For the Transfer Fcn block: "The order of the denominator must be greater than or equal to the order of the numerator." Unless there are some higher order terms in s in the numertor that got cut off in the picture.
Bernard Matthews
on 11 Jun 2020
Paul
on 11 Jun 2020
That highlighted block should work fine according to the documentation (and I tried it as well). Maybe there's limitation if you're using a student version? Can you post the exact message you're getting?
Also, that highlighted block doesn't match the transfer function shown in the OP, for whatever that's worth.
Categories
Find more on Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
