首先,利用Simulink随意搭建带有反馈的模型。
1.开环Bode图
选中输入信号线,并右键设置Linear Analysis Points/Open-loop Input
选中输出信号线,并右键设置Linear Analysis Points/Open-loop Output
设置完成后,并运行仿真
选择APPS/Model Linearizer
选择Bode,便可绘制出开环Bode图
若想对比更改参数前后Bode图的区别,可在更改参数后点击Bode Plot1即可,且可多次使用
2.闭环Bode图
选中输入信号线,并右键设置Linear Analysis Points/Input Perturbation
选中输出信号线,并右键设置Linear Analysis Points/Output Measurement
选择APPS/Model Linearizer,并点击Bode