how to get bode plot and transfer function from my simulink block?

4 views (last 30 days)
I have built a simulation block myself and I wanna get it's transfer function and bode plot. So I can easily use PID controller.
I look for some information and it says I can use linear analysis tool. So I'm OK with that and also I know how to set input signal as sine wave.
But when following the instructions, I did get my output information in linear analysis tool and it shows up. However, when I click estimate button, it has error. There is a file attached to show my block.
I wanna know why and is there another way to easily get the transfer function and bode plot from simulink?
  1 Comment
KSSV
KSSV on 28 Nov 2016
Edited: KSSV on 28 Nov 2016
YU-HENG LEE, you have posted the same question thrice. Try to edit the existing question instead of posting different.

Sign in to comment.

Answers (1)

Arkadiy Turevskiy
Arkadiy Turevskiy on 29 Nov 2016
Can you attach the actual model? My guess is that you are running into problems here because your model includes three-phase machines with switching. Switching is discontinuous by nature and makes the model difficult to linearize.
If you are trying to design a pid controller you might want to follow the approach shown in this example .
HTH

Community Treasure Hunt

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

Start Hunting!