how to get bode plot and transfer function from my simulink block?
4 views (last 30 days)
Show older comments
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
Answers (1)
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
0 Comments
See Also
Categories
Find more on Discontinuities 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!