Transfer Function Matrix for a MIMO System

59 views (last 30 days)
So I have calculated the Transfer Functions for a MIMO system from its state-space model and the system configuration has 3 inputs and 2 outputs. So, I have a total of 6 transfer functions now. I need to concatenate/combine all the Transfer Functions into a single matrix in order to further obtain its Smith Form. But I am unable to figure out how I can combine all the transfer functions into a single matrix to work on it further. Can anybody please help me with it?

Answers (1)

Aman Banthia
Aman Banthia on 13 Sep 2023
Hi Akshay,
I understand that you need to concatenate/combine all the Transfer Functions into a single matrix to further obtain its Smith Form.
To combine multiple transfer functions into a single matrix, you can use the concept of a transfer function matrix. Each element of the matrix represents a transfer function between a specific input and output. Here is how you can organize your transfer functions into a matrix:
Let us assume you have a MIMO system with 3 inputs and 2 outputs. You have calculated 6 transfer functions, denoted as G11, G12, G13, G21, G22, and G23. The subscripts represent the input-output relationship, where the first subscript represents the output, and the second subscript represents the input.
To combine these transfer functions into a matrix, you can create a transfer function matrix `G` with dimensions ` [number of outputs, number of inputs] `. In your case, the matrix `G` will have dimensions ` [2, 3]`.
Here is an example code snippet to illustrate the process:
% Define the transfer functions
G11 = tf([1], [1, 2]);
G12 = tf([2], [1, 3]);
G13 = tf([3], [1, 4]);
G21 = tf([4], [1, 5]);
G22 = tf([5], [1, 6]);
G23 = tf([6], [1, 7]);
% Combine the transfer functions into a matrix
G = [G11, G12, G13; G21, G22, G23];
In this example, we have created a transfer function matrix `G` by arranging the individual transfer functions into a 2x3 matrix. Each element of the matrix represents a transfer function between a specific output and input.
Once you have the transfer function matrix `G`, you can further manipulate it or apply operations like obtaining the Smith form or performing other analyses on the MIMO system.
Note: Make sure that the transfer functions you calculate are compatible and have the same input-output dimensions.
Please refer to the following MATLAB Documentation to know more about ‘tf’ function and Concatenating Matrices:
Hope the above solution helps you.
Best Regards,
Aman Banthia
  6 Comments
Sam Chak
Sam Chak on 13 Sep 2023
@Paul, Thanks for highlighting the reference.
Akshay Vivek Panchwagh
Akshay Vivek Panchwagh on 23 Sep 2023
Hello everyone! Sorry for the delayed reply. Did not expect this thread to become lively after more than a year. But nevertheless, I thank everyone for their contribution here. What @Paul mentioned is true. I was trying to calculate the Smith form to develop it later into the Smith-McMillan form of the TF matrix. But as he mentioned, the command "smithForm" works only for square matrices, and the system I had did not comprise of square matrices. Hence I was confused regarding how to address the problem, and with a minuscle background of control engineering/control systems, I was unable to figure out the issue. But ultimately, I referred the same book which @Sam Chak mentioned, and used the same procedure mentioned by him in the thread. It was pointed out to me by a fellow colleague that I could do it in the exact same way. Hence the issue got resolved.
Regards,
Akshay

Sign in to comment.

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!