s-function cannot be linearized ?

5 views (last 30 days)
Minjae Yoo
Minjae Yoo on 21 Oct 2019
Hi.
I have builded my dynamics on level 2 s-function.
the simulink model that include level 2 s-function cannot be linearized for PID tuner things ?
because, PID tunner not working with level 2 s-function block.
I am not sure everything now. could you give some clue to me ?
please, let me know.

Answers (1)

Siddharth Jawahar
Siddharth Jawahar on 9 Oct 2020
Hi Minjae Woo,
S-function blocks do not have analytical jacobians which are essential for linearization. That's the reason PID tuner is not able to linearize your model. As a alternate, you can use the frequnecy response estimation technique in PID tuner to get a frequency response of your system out that the PID tuner can use for tuning your gains. Please see below for documentation on:
1) Frequency response estimation with PID tuner with an example:
2)Understand how linearization is carried out in Simulink in Simulink Control Design:
HTH,
Sid

Community Treasure Hunt

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

Start Hunting!