0% found this document useful (0 votes)
13 views

Computer Based Homework Probs for Control System __Group C__1403-1

Uploaded by

shojauddinhaqyar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Computer Based Homework Probs for Control System __Group C__1403-1

Uploaded by

shojauddinhaqyar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Kabul University

Faculty of Engineering
Department of Electrical and
Electronics

Computer-Based Problems
of Control System
Faculty of Engineering, Kabul University
Department of Electrical and Electronics
B.Sc. Program
Computer-Based Problems of Control System
Year: 1403
---------------------------------------------------------------------------------------

( C ) ‫اعضای گروپ‬
‫آیدی نمبر‬ ‫اسم‬ ‫شماره‬
12367 ‫شجاع الدین‬ 1
12398 ‫ضیاءالرحمن‬ 2
12402 ‫بریالی‬ 3
12826 ‫فیض الدین‬ 4
12876 ‫عبدالقهار‬ 5
12879 ‫عبدالوقار‬ 6

Page 1 of 13
Faculty of Engineering, Kabul University
Department of Electrical and Electronics
B.Sc. Program
Computer-Based Problems of Control System
Year: 1403
---------------------------------------------------------------------------------------
Group C:
1. Consider the following polynomials

𝑃(𝑠) = 𝑠 3 + 5𝑠 2 + 10𝑠 + 15 and 𝑄(𝑠) = 12𝑠 2 + 14𝑠 2 + 24


Use MATLAB m-file to computer:
a. 𝑃(𝑠)𝑄(𝑠)
b. 𝑃(𝑠)/𝑄(𝑠)
c. 𝑃(−1) and 𝑄(2 − 𝑗3.5)

Page 2 of 13
Faculty of Engineering, Kabul University
Department of Electrical and Electronics
B.Sc. Program
Computer-Based Problems of Control System
Year: 1403
---------------------------------------------------------------------------------------

Page 3 of 13
Faculty of Engineering, Kabul University
Department of Electrical and Electronics
B.Sc. Program
Computer-Based Problems of Control System
Year: 1403
---------------------------------------------------------------------------------------
2. Consider the following transfer functions, which correspond to the block diagrams shown in Fig. 1.

𝐺1 (𝑠) = 20⁄(𝑠 + 20) ; 𝐺2 (𝑠) = (𝑠 2 + 10)⁄(𝑠 3 + 4𝑠 2 + 8𝑠 + 16) ;

𝐺(𝑠) = 1⁄[𝑠(𝑠 3 + 3𝑠 2 + 6𝑠 + 12)] ; 𝐻(𝑠) = 20/(𝑠 + 11).

Use MATLAB to find the transfer function Y(s)/R(s) for each case.

Fig. 1: the block diagrams for problem 2

Page 4 of 13
Faculty of Engineering, Kabul University
Department of Electrical and Electronics
B.Sc. Program
Computer-Based Problems of Control System
Year: 1403
---------------------------------------------------------------------------------------

Page 5 of 13
Faculty of Engineering, Kabul University
Department of Electrical and Electronics
B.Sc. Program
Computer-Based Problems of Control System
Year: 1403
---------------------------------------------------------------------------------------
3. Consider the block diagram shown in Fig.2, in which:

𝐺1 (𝑠) = 20/(𝑠 + 5); 𝐺2 (𝑠) = 15⁄(𝑠 + 20) ; 𝐺3 (𝑠) = 2𝑠 2 ⁄(𝑠 2 + 4); 𝐺4 (𝑠) = 12𝑠⁄(𝑠 2 + 1) ;
10
𝐺5 (𝑠) = ; 𝐺6 (𝑠) = (𝑠 2 + 10)⁄(𝑠 3 + 2𝑠 + 12) and 𝐺7 (𝑠) = (5𝑠 + 10)⁄(𝑠 2 + 10𝑠 + 25).
𝑠+4

Use MATLAB m-file to determine:


a. The overall transfer function 𝑌(𝑠)/𝑅(𝑠)
b. The poles and zeros for the overall system

R(s) Y(s)

Fig. 1: the block diagrams for problem 3

Page 6 of 13
Faculty of Engineering, Kabul University
Department of Electrical and Electronics
B.Sc. Program
Computer-Based Problems of Control System
Year: 1403
---------------------------------------------------------------------------------------

Page 7 of 13
Faculty of Engineering, Kabul University
Department of Electrical and Electronics
B.Sc. Program
Computer-Based Problems of Control System
Year: 1403
---------------------------------------------------------------------------------------

Page 8 of 13
Faculty of Engineering, Kabul University
Department of Electrical and Electronics
B.Sc. Program
Computer-Based Problems of Control System
Year: 1403
---------------------------------------------------------------------------------------
4. Use MATLAB and determine a state variable representation for the following transfer functions
(without feedback) using the SS function:

a. 𝐺(𝑠) = (10𝑠 3 + 2𝑠 2 + 12)⁄(𝑠 4 + 8𝑠 2 + 4𝑠 + 2)

Page 9 of 13
Faculty of Engineering, Kabul University
Department of Electrical and Electronics
B.Sc. Program
Computer-Based Problems of Control System
Year: 1403
---------------------------------------------------------------------------------------
b. 𝐺(𝑠) = (𝑠 + 12)⁄(20𝑠 2 + 40𝑠 + 20)

Page 10 of 13
Faculty of Engineering, Kabul University
Department of Electrical and Electronics
B.Sc. Program
Computer-Based Problems of Control System
Year: 1403
---------------------------------------------------------------------------------------
c. 𝐺(𝑠) = (𝑠 2 + 30𝑠 + 80)⁄(𝑠 3 +25𝑠 2 + 50)

Page 11 of 13
Faculty of Engineering, Kabul University
Department of Electrical and Electronics
B.Sc. Program
Computer-Based Problems of Control System
Year: 1403
---------------------------------------------------------------------------------------
5. Use MATLAB and determine a transfer function representation for the following state variable
models using the tf function:

15 30 15
a. 𝐀 = [ ]; 𝐁=[ ]; 𝐂 = [4 8].
5 25 10

Page 12 of 13
Faculty of Engineering, Kabul University
Department of Electrical and Electronics
B.Sc. Program
Computer-Based Problems of Control System
Year: 1403
---------------------------------------------------------------------------------------

0.1 0.2 0 −1
b. 𝐀 = [ 0.4 0 −0.5] 𝐁 = [ 0 ]; 𝐂 = [0 2 3].
−0.8 1 1.5 3

Page 13 of 13

You might also like