How to implement improper transfer function in Simulink? Help!

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 :

Risposte (1)

3 Commenti

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.
  1. so basically I'll have to type this in a separate script?
  2. and if I do so, how am I supposed to express the term 's'?
  3. Referring the diagram with the integrator and gains , how do I implement that diagram to my main system? Im referring to this diagram;
Here's my entire system. The block highlighted in blue is the block that Im suppose to implement the improper function.
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.

Accedi per commentare.

Categorie

Scopri di più su Modeling in Centro assistenza e File Exchange

Prodotti

Richiesto:

il 10 Giu 2020

Commentato:

il 11 Giu 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by