Simulink-Control Systems-Lab Report, Exercises of Control Systems

This is lab report submitted to Control Systems course coordinator Hemant Yadav at National Institute of Industrial Engineering. It includes: Laboratory, Dynamic, Block, Diagram, MATLAB, Simulink, Sources, Sinks, Maths, Non-linear, Objectives, Frequency, Representation

Typology: Exercises

2011/2012

Uploaded on 07/26/2012

bona.khan
bona.khan 🇮🇳

4.7

(3)

35 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
DT 021/3
Laboratory 1
Simulink
Simulink is a block oriented program that allows to simulate dynamic systems in a block diagram
format.
Simulink is invoked from the MATLAB window by typing: simulink <CR>
The Simulink library browser window will appear. From this window, it is possible to open an
existing simulation model or to create a new one.
The Simulink library browser offers a large number of elementary functions in the form of building
blocks grouped by categories.
The main Blocksets of interest for Communications experiments are:
Simulink Blockset
Communications Blockset
Within these two main blocks, a number of categories are used to sort the elementary functional
blocks:
Sources
Sinks
Maths,
Non-linear
...
Elementary functions can be dragged and dropped in the working window, and connected to each
other.
By double clicking on a block, a configuration panel will appear, which allows to enter the values
of specific parameters to initialize the function, e.g. for a sine wave (source signal):
amplitude, frequency, phase, sample rate
can be configured.
Objective of the Lab
Familiarization with Simulink.
Time/Frequency representation
Page 1/4
docsity.com
pf3
pf4

Partial preview of the text

Download Simulink-Control Systems-Lab Report and more Exercises Control Systems in PDF only on Docsity!

DT 021/

Laboratory 1

Simulink Simulink is a block oriented program that allows to simulate dynamic systems in a block diagram format.

Simulink is invoked from the MATLAB window by typing: simulink

The Simulink library browser window will appear. From this window, it is possible to open an existing simulation model or to create a new one.

The Simulink library browser offers a large number of elementary functions in the form of building blocks grouped by categories.

The main Blocksets of interest for Communications experiments are: Simulink Blockset Communications Blockset

Within these two main blocks, a number of categories are used to sort the elementary functional blocks: Sources Sinks Maths, Non-linear ... Elementary functions can be dragged and dropped in the working window, and connected to each other.

By double clicking on a block, a configuration panel will appear, which allows to enter the values of specific parameters to initialize the function, e.g. for a sine wave (source signal): amplitude, frequency, phase, sample rate can be configured.

Objective of the Lab Familiarization with Simulink. Time/Frequency representation

Page 1/

Use Simulink to create a square wave by addition of sine waves. From Matlab, start Simulink In the simulink library browser, use In the “simulink” block In the “sources” directory “Sinewave” In the “sinks” directory “Scope” In the “Maths” directory “Sum” “Gain” To build a square wave with 1, 2, 3 ,4 … sine waves, use the coefficient of the Fourier analysis. Use 5 Hz for the fundamental frequency, 1/1000 sec for the sample time. The block is a sine block: a phase shift must be introduced to create a cosine.

Signal

Fourier serie

(4A/π ) * [ cos(2π ft ) – (1/3) cos(2π (3 f ) t )+ (1/5) cos(2π(5 f ) t ) – (1/7) cos(2π (7 f ) t ) + …]

Page 2/

Page 4/

In the model of exercise 1, introduce a sampling device and a buffered FFT scope to visualise the spectrum.

Refer to exercise 2.

Exercise 4 In the model of exercise 2, introduce a lowpass filter (Chebyshev 2 in Analog filter design in DSP block). Choose the stop band frequency to limit the number of frequency components to 3 or 4, and verify the spectrum and time representation of the signal.