

Double click on the “Gain and Phase Margin Plot” and this should be the window content.Setting up the Gain and Phase Margin Plot

After putting input and output points, this is the resultĪs you can see there is a small arrow beside Step input and transfer function.Right click on the line between the “Step” input and the “Summer” then navigate to “Linear Analysis Points” then click “Input Point”.This simply means that we are declaring this section as the output. Navigate to “Linear Analysis Points” then click “Output Point”. Right click on the line between the transfer function and the scope.Drag the Gain and Phase Margin Plot to the Simulink model in Figure 1.In the Simulink Library Browser, navigate to Simulink Control Design and get “Gain and Phase Margin Plot” under “Linear Analysis Ports”.In this article I will assume that you are already familiar on how to create a Simulink model. The first step on how to setup bode plot in Simulink is to have your model ready. Figure 1 How to Setup Bode Plot in Simulink – Step by Step Procedure 1. Higher versions of Matlab may have slight different interface and you need a little exploration. Also in this tutorials I used Matlab R2012b. To demonstrate this properly, consider the Simulink model in Figure 1. You should have license for Simulink control design to use the bode plot. In a bode plot you can get the gain and phase margins and know if the system is stable or not. Bode plot is a graph of gain and phase of a system. In bode plot the horizontal axis represents frequency on a logarithmic scale and the vertical axis represents either the amplitude or the phase of the frequency response function.Below is the step by step procedure on how to setup bode plot in Simulink. The Bode Plot is the frequency response plot of linear systems represented in the form of logarithmic plots.
