The block algebra refers to the set of operations that are executed through blocks. These and some other elements serve to schematically represent a system and easily visualize its response to a given input..
In general, a system contains various electrical, electronic and electromechanical elements, and each one of them, with its respective function and position in the system, as well as the way they are related, is outlined through functional blocks.
In the figure above there is a very simple system, which consists of an input signal X (s), which enters the block with the transfer function G (s) that modifies it and produces the output Y (s).
It is convenient to represent the signals and their path through the system by means of arrows that enter and leave each block. Usually the signal flow is directed from left to right.
The advantage of this kind of schematic is the visual aid it provides in understanding the system, even if it is not a physical representation of the system. In fact, the block diagram is not unique, because depending on the point of view, several diagrams of the same system can even be drawn..
It can also happen that the same diagram serves several systems that are not necessarily related to each other, as long as it adequately describes their behavior. There are different systems whose response is similar in many respects, for example an LC circuit (inductor-capacitor) and a mass-spring system..
Article index
The systems are generally more complicated than the one in figure 1, but block algebra provides a series of simple rules to manipulate the scheme of the system and reduce it to its simplest version..
As explained at the beginning, the diagram uses blocks, arrows and circles to establish the relationship between each component of the system and the flow of signals that run through it..
Block algebra allows you to compare two or more signals by adding, subtracting and multiplying them, as well as analyzing the contribution that each component makes to the system.
Thanks to this it is possible to reduce the entire system to a single input signal, a single transfer function that fully describes the action of the system and the corresponding output..
The elements of the block diagram are as follows:
The signals are of a very varied nature, for example it is common for it to be an electric current or a voltage, but it can be light, sound and more. The important thing is that it contains information about a certain system.
The signal is denoted with a capital letter if it is a function of the variable s of the Laplace transform: X (s) (see figure 1) or with lowercase if it is a function of time t, as x (t).
In the block diagram, the input signal is represented by an arrow directed towards the block, while the output signal, denoted as Y (s) or y (t), is indicated by an outgoing arrow.
Both the input and output signals are unique and the direction the information flows is determined by the direction of the arrow. And the algebra is the same for either of the two variables.
The block is represented by a square or a rectangle (see figure 1) and can be used to carry out operations or implement the transfer function, which is usually denoted by the capital letter G. This function is a mathematical model using which describes the response offered by the system to an input signal.
The transfer function can be expressed in terms of time t as G (t) or the variable s as G (s).
When the input signal X (s) reaches the block, it is multiplied by the transfer function and transformed into the output signal Y (s). Mathematically it is expressed like this:
Y (s) = X (s) .G (s)
Equivalently, the transfer function is the ratio between the Laplace transform of the output signal and the Laplace transform of the input signal, provided that the initial conditions of the system are null:
G (s) = Y (s) / X (s)
The addition point, or adder, is symbolized by a circle with a cross inside. It is used to combine, by means of addition and subtraction, two or more signals. At the end of the arrow that symbolizes the signal, a + sign is placed directly if said signal is added or a - sign if it is subtracted.
In the following figure there is an example of how the adder works: we have the input signal X, to which the signals A and B are added, obtaining as a result the output Y, which is algebraically equivalent to:
Y = X + A + B
It's also called bifurcation point. In it, the signal that comes out of a block is distributed to other blocks or to an adder. It is represented by a point placed on the signal arrow and another arrow comes out of it that redirects the signal to another part.
As explained before, the idea is to express the system using the block diagram and reduce it to find the transfer function that describes it. The following are the block algebra rules to simplify diagrams:
When you have a signal that passes successively through the G blocks1, Gtwo, G3..., is reduced to a single block whose transfer function is the product of G1, Gtwo, G3...
In the following example, the signal X (s) enters the first block and its output is:
Y1(s) = X (s) .G1(s)
Turn Y1(s) enter block Gtwo(s), whose output is:
Ytwo(s) = X (s) .G1(s). Gtwo(s)
The procedure is valid for n cascaded blocks:
Yn (s) = X (s). G1(s) .Gtwo(s) ... Gn(s)
In the diagram on the left, the signal X (s) branches to enter the G blocks1(s) and Gtwo(s):
The respective output signals are:
Y1(s) = X (s) .G1(s)
Ytwo(s) = X (s) .Gtwo(s)
These signals are added together to obtain:
C (s) = Y1(s) + Ytwo(s) = X (s). [G1(s) + Gtwo(s)]
As shown in the diagram to the right.
An adder can be shifted to the left of the block as follows:
On the left the output signal is:
C (s) = R (s). G (s) - X (s)
Equivalently to the right:
C (s) = [R (s) - X (s) / G (s)]. G (s)
The adder can be moved to the right of the block like this:
On the left we have: [R (s) - X (s)]. G (s) = C (s)
And on the right:
R (s). G (s) - X (s). G (s) = C (s)
To move the branching point from left to right of the block, just observe that the output C (s) to the right is the product X (s) .G (s). Since you want to convert it to X (s) again, multiply by the inverse of G (s).
Alternatively the branching point can be shifted from right to left as follows:
Since at the exit of the branch we want to obtain C (s), simply insert a new block G (s) at a branch point to the left of the original block.
In the following system the output signal C (s) is fed back through the adder on the left:
C (s) = E (s) .G (s)
But:
E (s) = R (s) -C (s)
Substituting this expression in the previous equation it remains: C (s) = [R (s) -C (s)]. G (s), from which C (s) can be solved:
C (s) + C (s) .G (s) = R (s) .G (s) → C (s). [1 + G (s)] = R (s) .G (s)
C (s) = R (s). G (s) / [1 + G (s)]
Or alternatively:
C (s) / R (s) = G (s) / [1 + G (s)]
In graphical form, after simplifying it remains:
The transducer consists of the transfer function H (s):
In the diagram to the right, the output signal C (s) is:
C (s) = E (s). G (s) with E (s) = R (s) - C (s). H (s)
Then:
C (s) = [R (s) - C (s). H (s)]. G (s)
C (s) [1+ H (s) .G (s)] = R (s) .G (s)
Therefore, C (s) can be solved by:
C (s) = G (s) .R (s) / [1+ H (s) .G (s)]
And the transfer function will be:
G (s) / [1+ H (s) .G (s)]
As shown in the simplified diagram to the right.
Find the transfer function of the following system:
It treats two blocks in cascade, therefore the transfer function is the product of the functions G1 and Gtwo.
It has to:
G1 = 2 / s
Gtwo = 2 / (s + 1)
Therefore the transfer function sought is:
G (s) = 4 / [s (s + 1)]
Reduce the following system:
First the G cascade is reducedtwo, G3 and G4, and the parallel G is separated5 and G6:
Then the adder to the left of block Gtwo ⋅G3 ⋅ G4 moves to the right:
The adders on the right are reduced to just one, as well as the cascading blocks:
Finally, the output of the system is:
Y (s) = X (s) ⋅G1⋅ Gtwo ⋅G3 ⋅ G4 + C (s) ⋅ [G5 - G6 ⋅ Gtwo ⋅G3 ⋅ G4]
Yet No Comments