Professional Documents
Culture Documents
SCILAB.
M.Mohamed Ibrahim
Tenet Technetronics
03-DEC-16
Tenet Technetronics 1
Application Notes
Contents
Introduction 2
Bode plot
Nyquist plot
...2
Tenet Technetronics 2
Application Notes
Introduction:
Frequency response analysis of control systems can be carried either graphically or
analytically. There are various graphical techniques available for frequency response
analysis. In this document we will learn how to plot Bode& Nyquist plot in Scilab.
The frequency response plots are used to determine the frequency domain
specifications, to study the stability of the systems and to adjust the gain of the system
to satisfy the desired specifications.
Bode plot:
The bode plot is a frequency response plot of the sinusoidal transfer function of the
system. A bode plot consists of two graphs. One is a plot of the magnitude of a
sinusoidal transfer function vs log . The other is a plot of the phase angle of a
sinusoidal transfer function vs log .
Nyquist plot:
The nyquist plot of a sinusoidal transfer function G(j ) is a plot of the magnitude of
G(j ) vs phase angle of G(j ) on polar coordinates as is varied from zero to infinity.
Thus the nyquist plot is the locus of vectors | G(j )| G(j ) as is varied from zero to
infinity. The nyquist plot is also called Polar plot.
-->atomsInstall(CPGE)
Or
Download zip file from internet
Tenet Technetronics | Varsity
#9/3, Shree Lakshmi Complex, 2nd Floor, Opp. To Vivekananda Park, Girinagar, Bangalore - 560085.
Ph. No: 080-26722726., Website: www.tenettech.com, Email: info@tenettech.com
Tenet Technetronics 3
Application Notes
Designation
Representation
Sub-Palette
Frequency
response
CPGE/Analyses/REP_FREQ
Reference to
physical quantity
of the diagram
CPGE/Analyses/GRANDEUR_PHYSIQUE
Step Function
Sources/ STEP_FUNCTION
Scope
CPGE/sorties/SCOPE
Scalar or vector
addition
/substraction
Gain
Mathematical operation/GAINBLK
Continuous transfer
function
Purpose of blocks:
1. CLR Block
The CLR Block is a continuous transfer function block. This block realizes a SISO
linear
system
represented
by
its
rational
transfer
function
Numerator/Denominator. The rational function must be proper (denominator
degree must be less or equal to numerator degree).
Tenet Technetronics | Varsity
#9/3, Shree Lakshmi Complex, 2nd Floor, Opp. To Vivekananda Park, Girinagar, Bangalore - 560085.
Ph. No: 080-26722726., Website: www.tenettech.com, Email: info@tenettech.com
Tenet Technetronics 4
Application Notes
2. Step function
In its simpler use this block output a step signal between two definable levels
Initial Value and Final Value starting at a specified time Step Time.
4. Scope
The SCOPE is a single display scope and this Scope block displays its input with
respect to simulation time. Both axes have a common range. The Scope allows
you to adjust the amount of time and the range of input values displayed.
5. Bode
This block includes the Bode, nyquist and two more plots for frequency response
analyses. In block parameter dialog box, set the type of diagram is 1 for Bode
plot and 3 for Nyquist plot.
Tenet Technetronics 5
Application Notes
7. Gain
That bloc computes the product of a square matrix A by the input vector U,
where the number of rows/cols of A is equal to the number of rows of U. The A
matrix is set with the Gain parameter.
Tenet Technetronics 6
Application Notes
Step 2: Arrange the blocks in XCOS window and then connected to required ports.
Tenet Technetronics 7
Application Notes