Sunteți pe pagina 1din 12

PROIECT

TEHNICI AVANSATE DE REGLARE A PROCESELOR


INDUSTRIALE
BELASCU DANIEL
Graficul matricii de transfer pentru cazul cand intarea este un puls.
Graficul matricii de transfer pentru cazul cand intarea este o constanta.
PROBLEMA:
Se dă formalisimul sistemului MM-II:

1) Să se determine matricea de transfer.

2) Să se determine numărul maxim posibil al matricilor de transfer, pt. formalismul dat.


REZOLVARE:

a) Determinarea marimii de iesire, in interfata Matlab-Simulink.

b) Editarea matricii de transfer h, in interfata Matlab-Simulink.


>> h=tf([1 2 3 4 5 6; 7 8 9 10 11 12])
Transfer function from input 1 to output...

#1: 1

#2: 7

Transfer function from input 2 to output...

#1: 2

#2: 8

Transfer function from input 3 to output...

#1: 3

#2: 9

Transfer function from input 4 to output...

#1: 4

#2: 10

Transfer function from input 5 to output...

#1: 5

#2: 11

Transfer function from input 6 to output...

#1: 6

#2: 12

>> ss(h)

d=

u1 u2 u3 u4 u5 u6
y1 1 2 3 4 5 6
y2 7 8 9 10 11 12

Static gain.
c) Determinarea matricii de transfer, varianta “conexiunii feedback” in interfata Matlab-
Simulink.

>> feedback(h, ones(6,2))

Transfer function from input 1 to output...

#1: -1.127

#2: 1.228

Transfer function from input 2 to output...

#1: -0.6582

#2: 0.7848

Transfer function from input 3 to output...

#1: -0.1899

#2: 0.3418

Transfer function from input 4 to output...

#1: 0.2785

#2: -0.1013

Transfer function from input 5 to output...

#1: 0.7468

#2: -0.5443

Transfer function from input 6 to output...

#1: 1.215

#2: -0.9873

>> ss(feedback(h, ones(6,2)))


d=

u1 u2 u3 u4 u5 u6

y1 -1.127 -0.6582 -0.1899 0.2785 0.7468 1.215

y2 1.228 0.7848 0.3418 -0.1013 -0.5443 -0.9873

Static gain.
y1 y1 y1
𝐻11 = −1.127 𝐻12 = −0.6582 𝐻13 = −0.1899 𝐻14 = u4 𝐻15 = u5 𝐻16 = u6
[H(s )] = y2 y2 y2
𝐻21 = 1.228 𝐻22 = 0.7848 𝐻23 = 0.3418 𝐻24 = u4 𝐻25 = u5 𝐻26 = u6

d) Determinarea matricii de transfer, varianta analitica “conexiunea connect” in interfata


Matlab-Simulink.

>> h1=tf([1 2 3 4 5 6; 7 8 9 10 11 12]);


>> h2=tf(ones(6,2))

Transfer function from input 1 to output...

#1: 1

#2: 1

#3: 1

#4: 1

#5: 1

#6: 1

Transfer function from input 2 to output...

#1: 1

#2: 1

#3: 1

#4: 1

#5: 1
#6: 1

>> ss(h2)

d=

u1 u2

y1 1 1

y2 1 1

y3 1 1

y4 1 1

y5 1 1

y6 1 1

Static gain.

>> sys=append(h1,h2);
>> ss(sys)

d=

u1 u2 u3 u4 u5 u6 u7 u8

y1 1 2 3 4 5 6 0 0

y2 7 8 9 10 11 12 0 0

y3 0 0 0 0 0 0 1 1

y4 0 0 0 0 0 0 1 1

y5 0 0 0 0 0 0 1 1

y6 0 0 0 0 0 0 1 1

y7 0 0 0 0 0 0 1 1

y8 0 0 0 0 0 0 1 1

>> Q=[1 -3; 2 -4; 3 -5; 4 -6; 5 -7; 6 -8;7 1; 8 2]


Q=

1 -3
2 -4
3 -5
4 -6
5 -7
6 -8
7 1
8 2

>> H=connect(sys,Q,[1:6],[1:2])

Transfer function from input 1 to output...

#1: -1.127

#2: 1.228

Transfer function from input 2 to output...

#1: -0.6582

#2: 0.7848

Transfer function from input 3 to output...

#1: -0.1899

#2: 0.3418

Transfer function from input 4 to output...

#1: 0.2785

#2: -0.1013

Transfer function from input 5 to output...

#1: 0.7468

#2: -0.5443

Transfer function from input 6 to output...

#1: 1.215
#2: -0.9873

>> ss(tf(H))

d=

u1 u2 u3 u4 u5 u6

y1 -1.127 -0.6582 -0.1899 0.2785 0.7468 1.215

y2 1.228 0.7848 0.3418 -0.1013 -0.5443 -0.9873

Static gain.
𝐲𝟏 𝐲𝟏 𝐲𝟏 𝐲𝟏 𝐲𝟏 𝐲𝟏
𝑯𝟏𝟏 = 𝐮𝟏 𝑯𝟏𝟐 = 𝐮𝟐 𝑯𝟏𝟑 = 𝐮𝟑 𝑯𝟏𝟒 = 𝐮𝟒 𝑯𝟏𝟓 = 𝐮𝟓 𝑯𝟏𝟔 = 𝐮𝟔
[H(s)] = 𝐲𝟐 𝐲𝟐 𝐲𝟐 𝐲𝟐 𝐲𝟐 𝐲𝟐
𝑯𝟐𝟏 = 𝐮𝟏 𝑯𝟐𝟐 = 𝐮𝟐 𝑯𝟐𝟑 = 𝐮𝟑 𝑯𝟐𝟒 = 𝐮𝟒 𝑯𝟐𝟓 = 𝐮𝟓 𝑯𝟐𝟔 = 𝐮𝟔

H=tf([ -1.127 -0.6582 -0.1899 0.2785 0.7468 1.215; 1.228 0.7848 0.3418 -0.1013 -0.5443 -0.9873])

e) Verificarea matricii de trasfer, in interfata Matlab-Simulink.

S-ar putea să vă placă și