Bode plot of simulink model

Technical Source
1 min readAug 24, 2021

--

Hi there, I have a simulink model for motor control. I need to plot its bode diagram. Is there a command to plot the bode plot for a simulink model? could you tell what is it (if any)? furthermore, I would be happier if you could tell me commands which may draw pole-zero plot.

ANSWER

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

To plot the Bode plot, you need the transfer function.

[A,B,C,D]=LINMOD(‘SYS’) obtains the state-space linear model of the system of ordinary differential equations described in the block diagram ‘SYS’ when the state variables and inputs are set to the defaults specified in the block diagram.

If your Simulink model is just a transfer function of the controller connected with the transfer function of the motor plant model in a unit feedback, it might be better if you do it in MATLAB.

You can use tf(),ss() or zpk() to specify the controller and the motor model. Then you can use connect() to connect the model with feedback and close the loop. use step() ans stepinfo() to see the step response.

Check the help documentation for all the functions mentioned above. Sometimes its easy to do it in MATLAB without Simulink. But Simulink also has advantages. It’s graphical,

SEE COMPLETE ANSWER CLICK THE LINK

https://www.matlabsolutions.com/resources/bode-plot-of-simulink-model.php

--

--

Technical Source
Technical Source

Written by Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

No responses yet