Borrar filtros
Borrar filtros

how to make bode plot in simulink system

32 visualizaciones (últimos 30 días)
Kyungmin
Kyungmin el 4 de Sept. de 2023
Comentada: Ayesha el 26 de Feb. de 2024
Hello,
I have one question about how to make a bode-plot in simulink system.
I made one simulink system using PMSM.
and I want to check system margin using bode-plot.
I tried example simulink system from help desk.
but it was different .
Aslo I know that if there are transfer function, it's possible to make bodeplot easily.
but I don't know the transfer function.
So I ask you.
please let me know.
best regards,
Kim

Respuesta aceptada

Sam Chak
Sam Chak el 7 de Sept. de 2023
You can insert the Bode Plot block in the Simulink model and follow the steps described in this link for visualizing the Bode response of the Model during simulation as shown in the following example. However, your PMSM is a little complicated to me. Generally, you need to mark the signals (right-click the signal and select Linear Analysis Points) to identify the open-loop Input and the open-loop Output. And then on the Linearization Tab (double-click the Bode Plot block), you need to check on the 'Show plot on block open'.
  7 comentarios
Kyungmin
Kyungmin el 18 de Sept. de 2023
This system does not need external data for simulation.
Ayesha
Ayesha el 26 de Feb. de 2024
Hello
@Sam Chak, If I want to measure the closed loop response of my system in simulink how can I do that? In my case reference is 0 and I want my system to sweep from 10Hz to 10kHz

Iniciar sesión para comentar.

Más respuestas (1)

Tianyu
Tianyu el 6 de Sept. de 2023
Hi Kim,
Not sure if this is the best way but you can use "Control System Designer" under Simulink app tab.
Click "New plot" and select "New Bode". Then "Add Signal" > "Select signal from model".
Select the input/output signal in your model and plot.

Categorías

Más información sobre Get Started with Control System Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by