Lab Report 05 56
Lab Report 05 56
Lab Session 05
Objective:
Section-I Theory
To retrieve and evaluate a single transfer function for a given complex control system through
block reduction techniques using MATLAB.
Theory:
Define the complex control system using MATLAB's Control Systems Toolbox. This
involves creating transfer function models for each component of the system, including
plant models, controller models, and any additional components such as sensors or filters.
You can use functions like tf or ss to define transfer functions or state-space models.
Interconnect the individual components of the control system using MATLAB's control
system operations, such as series (series), parallel (parallel), or feedback (feedback)
connections. This will create the overall transfer function representation of the complex
control system.
Use block reduction techniques to simplify the complex control system. Block reduction
aims to identify and eliminate nonessential or insignificant blocks in the control system,
while preserving the important dynamics. MATLAB provides functions like minreal and
balred for model reduction and balancing.
Apply the block reduction function to the overall transfer function of the control system.
For example, you can use the minreal function to obtain a minimal realization of the
transfer function or the balred function to achieve balanced truncation reduction.
Evaluate the resulting reduced transfer function using MATLAB's control system analysis
and design tools. You can analyze the stability, frequency response, step response, or any
other performance metrics of the reduced transfer function using functions like bode, step,
margin, etc.
Lab 05 Control Systems
Page | 1
Lab 05 Control Systems
Where C(s) is the output and R(s) is the input of that particular block.
Figure 4 : Block
Summing Point:
The summing point is represented with a circle having cross (X) inside it. It has two or more
inputs and single output. It produces the algebraic sum of the inputs. It also performs the
summation or subtraction or combination of summation and subtraction of the inputs based on
the polarity of the inputs. Let us see these three operations one by one.
Page | 2
Lab 05 Control Systems
The following figure shows the summing point with two inputs (A, B) and one output (Y). Here,
the inputs A and B have a positive sign. So, the summing point produces the output, Y as sum of
A and B.
i.e. = A + B.
The following figure shows the summing point with three inputs (A, B, C) and one output (Y).
Here, the inputs A and B are having positive signs and C is having a negative sign. So, the summing
point produces the output Y as
Y = A + B + (−C) = A + B − C.
Page | 3
Lab 05 Control Systems
Take-off Point:
The take-off point is a point from which the same input signal can be passed through more than
one branch. That means with the help of take-off point, we can apply the same input to one or more
blocks, summing points.
In the following figure, the take-off point is used to connect the same input, R(s) to two more
blocks.
and
Hence
Thus we can replace two blocks with different transfer functions into a single one having the
transfer function equal to multiplication of each transfer function without altering the output.
For parallel connected blocks:
In case the blocks are connected parallely then the transfer function of the whole system will be
the addition of the transfer function of each block (considering sign).
Suppose two blocks are connected parallely as given below:
So,
Page | 4
Lab 05 Control Systems
If we need to shift the take-off point ahead of the block, then we must keep ‘p’ as it is.
Here p = X(s)
So, even after shifting p must be X(s) and for this, we have to add a block with gain.
which is reciprocal of the gain of the originally present block.
As the actual gain is G(s) so the additional block will have a gain of 1/G(s).
Shifting of take-off point behind the block:
Suppose there is a take-off point ahead of block as given below:
Suppose we have a combination where we have a summing point present after the block as shown
below:
We need to move this summing point behind the position of the block without changing the
response. So, for this, a block with gain which is reciprocal of the actual gain is to be inserted in
the configuration in series.
Interchange of the summing point:
Consider a combination of two summing points directly connected with each other as shown
below:
We can use associative property and can interchange these directly connected summing points
without altering the output.
Splitting/ combining the summing point:
A summing point having 3 inputs can be split into a configuration having 2 summing points with
separated inputs without disturbing the output. Or three summing points can be combined to form
a single summing point with the consideration of each given input.
Section-II Tasks
Task 01:
MATLAB code in an “m” file to show all above operations:
Series:
num1 = [1 2]
den1 = [1 5 6]
sys1 = tf(num1,den1)
num2 = [1 4]
den2 = [5 3 4]
sys2 = tf(num2,den2)
sys = series(sys1,sys2)
Parallel:
num1 = [1 2]
den1 = [1 5 6]
sys1 = tf(num1,den1)
num2 = [1 4]
den2 = [5 3 4]
sys2 = tf(num2,den2)
sys = parallel(sys1,sys2)
Feedback loop:
Page | 6
Lab 05 Control Systems
num1 = [1 2]
den1 = [1 5 6]
sys1 = tf(num1,den1)
num2 = [1 4]
den2 = [5 3 4]
sys2 = tf(num2,den2)
sys = feedback(sys1,sys2,+1)
Task 02:
MATLAB code in an “m” file to show minreal() operations
numerator = [1 -1];
denominator = [1 0 0 -1];
G = tf(numerator, denominator);
reduced_G = minreal(G);
disp('Original Transfer Function G(s):');
G
disp('Reduced Transfer Function G(s):');
reduced_G
figure;
step(G);
hold on;
step(reduced_G);
legend('Original G(s)', 'Reduced G(s)');
title('Step Response');
figure;
bode(G);
hold on;
bode(reduced_G);
legend('Original G(s)', 'Reduced G(s)');
title('Bode Diagram');
Page | 7