How would I set up a my Simulink systems to examine step and bode response?

3 次查看(过去 30 天)
Hi everyone,
I am sorry to bother you all, attached is a zip folder of some simulink models. I wish to analyse the system response such as step, impulse Bode e.t.c. However, I am not sure how to linearise the system so that I can analyse the system outputs.
Any help would be appreciated as looking through MATLAB documentation was not very helpful. In the zip there are 5 systems. systems 3 and 4 are almost identical. Sys 1 is the basic system, sys 2 has feedback, sys 3 is a feed forward system, sys 4 is the same as sys 3 (it has a longer delay) and sys 5 is a combination of sys 2 and sys 3.
Thank-you all for your time and support.

回答(1 个)

Ashok
Ashok 2024-11-18
编辑:Ashok 2024-11-18
Hey @Kez,
The Model Linearizer app allows for linear analysis of nonlinear Simulink models. Using the app one can perform the following actions among several others:
  • Interactively linearize models at different operating points.
  • Perform frequency response estimation of nonlinear models.
The example below gives the workflow of linearizing a model using the Model Linearizer
In the above example, a Water-Tank system is linearized using the Model Linearizer app, and Bode plot is generated for the linearized system. A command line approach to perform the same actions is also demonstrated later in the example.
Here is a procedure I followed to linearize the ‘P1_SB_Open_Loop.slx model similar to the above example.
1. Firstly, I added 3 analysis points: 2 'Input Perturbations’ and one ‘Output Measurement as shown below.
2. I opened the Model Linearizer from the Apps tab and clicked on the Bode option under the Linearize section. Here is the plot I obtained.
The linearized system is visible under the Linear Analysis Workspace tab on the left pane, which can later be copied to the base workspace.
Kindly refer to the below documentation of Model Linearizer for more details:

类别

Help CenterFile Exchange 中查找有关 Plot Customization 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by