# Tema4 - y2 0 Continuous-time model. >> S12 =...

This preview shows pages 1–3. Sign up to view the full content.

3. Fiind date trei sisteme Si, i = 1 : 3, prin modelele lor de transfer, se scrie algoritmii si programele MATLAB de constructie a matricelor de transfer ale sistemelor rezultate prin interconectarea sistemelor date conform schemelor din fig.4.6. Algoritm: 1.S1 se reuneşte cu S2 folosind instrucţiunea append 2.sistemul nou format se leagă in serie cu S3 folosind comanda series 3.se leagă ieşirea la intrare 4.se aplica reacţia negativa Comenzi date in Matlab: >> S1 = tf(1, [2 3]) Transfer function: 1 ------- 2 s + 3 >> S2 = tf(1, [1 5]) Transfer function: 1 ----- s + 5 >> S3 = ss([1 2; 3 4], [-1 2; -3 -4], [-1 -2; -3 4], zeros(2)) a = x1 x2 x1 1 2 x2 3 4 b = u1 u2 x1 -1 2 x2 -3 -4 c = x1 x2

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
y1 -1 -2 y2 -3 4 d = u1 u2 y1 0
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: y2 0 Continuous-time model. >> S12 = append(S2,S1) Transfer function from input 1 to output. .. 1 #1: -----s + 5 #2: Transfer function from input 2 to output. .. #1: 1 #2: -------2 s + 3 >> S123 = series(S12,S3) a = x1 x2 x3 x4 x1 1 2 -1 2 x2 3 4 -3 -4 x3 0 0 -5 x4 0 0 0 -1.5 b = u1 u2 x1 0 x2 0 x3 1 x4 0 0.5 c = x1 x2 x3 x4 y1 -1 -2 0 y2 -3 4 0 d = u1 u2 y1 0 y2 0 Continuous-time model. >> S0 = ss(,,,eye(2)) d = u1 u2 y1 1 y2 0 1 Static gain. >> S = feedback(S123, S0) a = x1 x2 x3 x4 x1 1 2 -1 2 x2 3 4 -3 -4 x3 1 2 -5 x4 1.5 -2 0 -1.5 b = u1 u2 x1 0 x2 0 x3 1 x4 0 0.5 c = x1 x2 x3 x4 y1 -1 -2 0 y2 -3 4 0 d = u1 u2 y1 0 y2 0 Continuous-time model....
View Full Document

## This note was uploaded on 11/05/2011 for the course AUTOMATIC 18 taught by Professor Corneliupopeea during the Spring '11 term at UPB Colombia.

### Page1 / 3

Tema4 - y2 0 Continuous-time model. >> S12 =...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online