Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
19 views

Lab 2

Second lab

Uploaded by

roumaissa
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Lab 2

Second lab

Uploaded by

roumaissa
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Continuous control System 3 rd year Electrotechnics EEA Department

Lab 02 (System Modeling)


Preliminaries
A. First part (useful MATLAB command with a transfer function)
• Any Transfer function can be represented in MATLAB using one of the following commands depending on
its mathematical form:

sys=tf([num],[den])

sys=zpk([num],[den],gain)
s=tf(‘s’)

• To find the poles and zeros of any transfer function, use the following command:

Pole(sys)

Or you can further use roots(den)

• You can also plot the zeros and the poles of any system using the following command:

pzmap(sys)

• Step and impulse response of a transfer function

To get the step response of a system, you can use the following command:
step(sys)

To get the impulse response of a system, you can use the following command:

impulse(sys)

First part (simulation)


1- Introduce the following transfer function in MATLAB

2- Show-up the poles and the zeros of the transfer function in MATLAB
3- Obtain the pole-zero map.
4- Get the step and the impulse response
5- What can you remark on the system depending on the step and the impulse response.

DR. Abdelhamid Bounemeur


Continuous control System 3 rd year Electrotechnics EEA Department

Repeat the same question (1-5) for the following transfer function:

B. Second part (useful MATLAB command for block reduction)


• Cascade configuration:

• Parallel configuration

DR. Abdelhamid Bounemeur


Continuous control System 3 rd year Electrotechnics EEA Department

• Closed-loop configuration (Unity feedback)

Closed-loop +1: positive feedback


transfer function G(p) -1: negative feedback (default value)

Remark. 1: If the feedback is not equal to 1 (function feedback), MATLAB command will be:

Second part (simulation)


1- Calculate the closed-loop transfer function of the following block diagrams

DR. Abdelhamid Bounemeur


Continuous control System 3 rd year Electrotechnics EEA Department

2- The same question for the following complex blocks

where

Remarks: The answers must be placed on a word file with all the obtained results and remarks
during the simulation parts. The word file must carry a full name.

Best of Luck

DR. Abdelhamid Bounemeur

You might also like