Hello,
my system is non-linear (basically a 2nd order lag with a saturation, modeled in simulink). I need to generate bode plots while the system is excited by sine waves of different amplitudes (so amp1 -> bode1, amp2 -> bode2). I want to compare this plot with real life data.
What would be the best way to generate these plots in Matlab/simulink? I am aware of the bode-Block in simulink, but I can't figure out a way to introduce the amplitude parameter.
Regards, grub

 채택된 답변

Arkadiy Turevskiy
Arkadiy Turevskiy 2014년 5월 21일

0 개 추천

The best option in this case is probably frequency response estimation .
Here is the relevant doc section .

추가 답변 (1개)

Yao Li
Yao Li 2014년 5월 21일

0 개 추천

Option 1: export the input and output data to workspace and plot the bode diagram Option 2: Set the input/output port in simulink. Open Tools->Control Design->Linear Analysis. There is an option for plotting bode diagram
I think even a non-linear system can be analyzed in this toolbox.
Anyway, there are many other options. i.e. system identification toolbox

댓글 수: 1

grub
grub 2014년 5월 21일
Option 1: export the input and output data to workspace and plot the bode diagram
How do you do this? I can export time-domain data. But the bode function from the control systems toolbox only accepts a model as an argument. I would have to calculate magnitude and phase for the plot myself?
In Option 2 I don't have the ability to control the input amplitude. My system behaves differently when you excite it with sin(wt) or 5*sin(wt).

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Time and Frequency Domain Analysis에 대해 자세히 알아보기

태그

질문:

2014년 5월 21일

답변:

2014년 5월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by