Analysis of Electronic Circuits with the Signal Flow Graph Method ()
1. Introduction
There are various methods in the circuit technology to ca1culate transfer functions of electrical circuits such as Kirchhoff’s laws, two-port network theory, nodal analysis method [1] and time constant method [2] . These methods are generally time-consuming and computationally intensive. Moreover, it is always useful to develop a common graphical model, with using this model to make a connection between the state variables (parameters) and the transfer function as well as to obtain a better understanding of the complex functionality of a network. Using mesh rules, node rules and Ohm’s equations a signal flow graph can be build. Targeted minimization of subgraphs, allows the ca1culation of a transfer function easier. In this paper we repeat the mathematical methodology for the symbolic analysis of real electronic circuits on the basis of a given real circuitry. It is based on graph theory, the so called SFG method. The signal flow graph (SFG) is a vividly method to present the internal structure of a system or the interaction of several systems. This presentation allows a better understanding of the function as well as the interrelations of one or more systems. Signal flow graphs are formally defined graphs [3] . Such a mapping enables a one-to-one (local-bijective) and understandable description of a generating system. It serves to increase clarity as well as contribute to an understanding of the circuit. The SFG allows a further comprehensible and simple visual consideration of the problem. It shows us all the functions of every part in the circuit and the connections between them. It is also a good method to help us to define the states in the circuit. It helps us to understand the circuit deeply and systematically. In addition, physical connections of the circuit become more recognizable. For the understanding of the circuit, the signal flow graph is a suitable method for the representation. To present the application we use a Common-X circuit as a use case. First, the Common-X circuit is split into its subcircuits and for each subcircuit their associated SFGs are established. Then by the superposition of the SFGs of the subcircuits the total SFG for the Common-X circuit results.
Organization of the paper: First, the theoretical foundations are briefly explained in Chapter 2. They are regarded as basic knowledge in order to understand this work. Subsequently, the implementation is described in detail in Chapter 3 and visualized by sketches and signal flow graphs. In the end, the results and the core outline of the work are summarized again and an outlook is given.
2. Theoretical Foundations
Signal flow graph: A signal flow graph describes a system by its signal flows by directed and weighted graph [3] [4] [5] . Similarly, an SFG provides a graphical representation of a set of linear relationships [3] [6] [7] . For this reason, a signal flow graph can be constructed between the materials using the Kirchhoff's laws, the current and voltage relationship. The directed and undirected graphs, the signals are applied to nodes and functions on edges; the direction is given by an arrow on the edge. The edges of the signal flow graphs are small processing units, through which the incoming signals are processed in a certain form. In this case, the result is sent to the outgoing node [3] . In network theory are often used ohmic resistors, capacitors and inductors. When considering these elements, the direction of the directed and weighted signal flow graph can not be interchanged easily. Prior to changing the direction of the arrow direction, the function on the edge has to be inverted. The material equation is given as an example. The signal flow graph with the respective function on the edge is shown in Figure 1 [8] .
2.1. Elements of a Signal Flow Graph
A signal flow graph exists next to edges and nodes of paths, loops, input node and output node. A node is a point or a circle, which reproduces a signal or a variable. In order to illustrate these individual elements, the Figure 2 is to be investigated in more detail.
Figure 2. Example of a signal flow graph (SFG).
This signal flow graph has six nodes and seven edges. A node is a point or a circle that represents a signal or a variable. In the example, the variables
,
etc. represent a node. There are different types of nodes. A dependent node has one or more leading incoming edges and any number of leading outgoing edges. Input node (
), also known as source node, has only outgoing paths and represent independent variables. An output node (
), also known as sink node, has only incoming paths and is in contrast to the input node a dependent variable. A path is a connected sequence of edges in one direction, the connection of
to
by edges
via node
represents a path. The path gain is the product of the functions on the edges along a path. In this example, the path gain is
. A reverse path is a path that leads towards the entrance node. As with the forward path, the nodes can only be passed once. The connection via the edges
and
build a feedback loop, the initial loop is
in this case. A feedback loop is present when the start and end nodes are the same. When the edges
and
pass through, we reach the original node
. Loops are equal oriented edges forming a closed path and will touch no node multiply. A self-referential loop is exactly present when a path flows from one node in the same node without crossing other nodes [9] .
2.2. Modifications of Signal Flow Graph
By associative law (Figure 3) sequential edges can be summarized. As soon as three nodes which are interconnected via a path so present, that there are the
connected, the central node
is eliminated from the graph:
Figure 3. Summary of sequential edges-associative law.
Parallel running edges with the same input node
and output node
can be combined with the distributive law (Figure 4). The resulting graph is minimized to an edge. For example, two edges from node
flow into the node
. Algebraically, the node
be expressed as:
Figure 4. Summary of parallel edges-distributive law.
Dissolving a feedback loop (Figure 5): In order to eliminate the node
, be first the functions multiplied on the edges along the forward path. Next, forming the product of the individual loop gains. This is the signal flow graph of two edges
and
, in which
is a self-referential loop. Thus, the node
is removed from the graph and the feedback has been summarized in a reflexive edge:
A reflexive edge (self-referential loop) can be eliminated, in which one by one divides the product of the functions on the edges toward the reflective edge minus the product of the functions on the reflexive edges. For more reflexive edges one can use the same procedure. In Figure 6, the reflexive edge resolved is shown with the corresponding weights [4] [6] .
Example:
・ Source node
・ Sink node
・ Target: Simplification of the SFG consists only of start and end nodes
・ Transfer Function G
1) The node
is to be eliminated: Resolving a feedback loop.
2) Elimination of reflexive edges:
3) On the basis of the associative law, the nodes
and
are taken from the graph:
3. Analysis of Common X-Circuit
In this section, we will show you an example: How to set up the SFG, then by using SFG modification rules how to simplify the SFG to calculate the transfer function, and additionally how we check our SFG whether it is a consistent system or not?
The Common X circuit (Figure 7) is chosen as an example of the determination of the signal flow graph in the course of work. Therefore, at this point the members of the small-signal model are explained: Vin is the input voltage, VL is the output voltage, RY is a lead resistance or the internal resistance of the voltage source, rp the baseband resistance of a BJT, gm is the transconductance or the steepness of the CX circuit with gm = iout/Vin. To apply now the method SFG, the circuit is divided into partial circuits (Figure 8). The intention in the division is to reduce the complexity of the analysis and to win by the substeps a better and clearer view of the functioning of the structure. The small-signal equivalent circuit diagram of the CX circuit can be divided into two parts following circuits: In order to simplify the effort of calculation, in the first step the circuit is broken. This results in two subcircuits.
Figure 7. Small signal equivalent circuit of the CX-circuit.
Figure 8. Small signal equivalent circuit of the CX-circuit in separate form.
3.1. Analysis of First Subcircuit
The first subcircuit is a simple voltage divider. Based on the above considerations (Figure 8) can now be derived for the first subcircuit of the signal flow graph (Figure 10). Before the signal flow graph is derived from the first subcircuit, the first subcircuit is to be simplified by a further step. If the resistor
is taken out of the circuit, then a circuit with an ideal voltage source and a resistor is
obtained, Figure 9. In the ideal case, the total voltage
drops across the resistance
. The voltage source supplies the current
as a function of the resistance
. A voltage source should never be confused with a power source. The voltage source provides a current dependent on the load. On the other hand, the current source provides a constant current independent of the load. The mesh rules and the material equation yield the equations:
Figure 9. First subcircuit (left) of the CX-circuit is simplified by RY and SFG (right) of the circuit.
Thus, the signal flow graph can be reproduced for this simple structure. The dashed edge completes the identity of the signal flow graph. Therefore, the signal flow representation represents only a half of the solution. For each material equation, we can go back, Figure 9. On the basis of the previous considerations, the signal flow graph for the first sub circuit can now be derived much more easily. It is desirable that the total voltage
of the voltage source drops across the resistor
. In reality, however, a small part of the voltage at the much smaller resistance
drops. The desired voltage at the resistor
can thus be adjusted with the resistance
. Thus, the mesh equation for the first sub-circuit can be established:
Depending on the resistance
is generated by the voltage
of the current
. The material equation is:
The current
flowing through the resistor
and generates the voltage
. Thus, the signal flow graph of the first partial circuit may be formed by expansion of the signal flow graph of the ideal case without
. This only needs around the edge
of the circuit to be supplemented. The dashed edges complement the axiomatic identity of the signal flow graph (Figure 10).
Figure 10. First subcircuit (above) of the CX-circuit and SFG (below) of the first partial circuit.
3.2. Analysis of Second Subcircuit
When dividing the common X-circuit, the second subcircuit between the nodes X and Z forms in Figure 12 a current divider. Analogously to the first subcircuit, the current divider is initially to be considered for the sake of simplicity without the resistor r0, Figure 11. In the ideal case, the source current i should flow completely through the load resistor RL and generate the voltage VL there. A current source should not be confused with a voltage source. The current source i supplies a current which is independent of the load resistor RL. By these statements the equations of the currents and the material equations can be defined for this simple case.
Figure 11. Second subcircuit (left) of the CX-circuit is simplified by r0 and SFG (right) of the circuit.
From the definitions, the signal flow graph for the circuit of Figure 11 (left) can be constructed. The dashed edges describe the identity of the signal flow graph. With the help of the circuit from Figure 11, the signal flow graph of the second subcircuit can be determined much more easily. In reality, however, the total current i of the source does not flow through the load resistor
. In order for the entire current i to flow through the load resistor
, the resistance
would have to be infinite. But since the resistance
is not infinite, a small fraction of the source current flows through it. The current
through the load resistor
can be adjusted by a suitable choice of the resistor
. This allows the node rule to be set up.
The current
generates the voltage
at the load resistor
, which is equal to the magnitude of the voltage falling to
. This relationship can be understood by means of the mesh rule. The voltage across the resistor
produces the current
which acts on the current
through a negative feedback. In summary, the node, mesh rule and the material equations for the second subcircuit can now be set up.
If the signal flow graph of the simple circuit is extended by the nodes
and
using the above equations, the signal flow graph of the second subcircuit will result, Figure 12. The material equations can be inverted. In reality, not all of the current i of the source flows through the load resistor
: Thus, if the total current i flows through the load resistor
, the resistance
would be infinite. But the resistance
being not infinitely large, a small portion of the source current flows through it. The current
through the load resistor
can be adjusted by the appropriate choice of resistance
or reduced by this resistance. Thus, the nodes usually can be placed. The current
generates at the load resistor
the voltage
which is equal to the voltage drop across
. With the mesh analysis, this relationship can be traced. The voltage across resistor
generates the current
which acts back to the current
through a negative feedback. In summary, the node, mesh and the material equations for the second subcircuit can now be set up. Extending the signal flow graph of the simple circuit around the edge
, yields the signal flow graph of the second subcircuit. The material equations can be inverted.
Figure 12. (Above) Second subcircuit of CX-circuit and (below) SFG of the second subcircuit.
3.3. Signal Flow Graph of Total CX-Circuit
To make the signal flow graph of the CX-circuit, the individual subgraphs must be combined into a graph (Figure 13). The current source i is a voltage controlled current source. It is controlled by the voltage
, the current is determined by
. Following the relationship between the current source i and the voltage
the two signal flow graphs can now be interconnected,
as source,
as sink,
and
as states.
Figure 13. Signal flow graph of the total CX-circuit for
and
.
3.4. Transfer Function of CX-Circuit
Verification of the transfer function: Simplifying the signal flow graph in Figure 13 using the SFG method. In order to find the transfer function, the signal flow graph from Figure 13 is to be simplified step by step so that the individual loops and paths leading to the solution are clearly visible.
・ Elimination of the nodes
and
Nodes
are eliminated by the associative law.
・ Elimination of the node
The node
is removed from the graph using the associative law. The node
is controlled by the rule for resolving feedback loops from the graph.
・ Elimination of the reflexive edges and the node
There is only one forward path from
to
Proof of Method: How we check our SFG whether it is a consistent system or not? The mathematical axioms of our SFG are based on field algebra. If we look at all incoming and outgoing edges of a node, a super edge appears and this is a 1-edge. With 1-edges, we can check wheather this is a consistent system or not and the formula is graphically checked. Proof of the SFG method using the inverse signal flow graph (SFG−1): A fundamental step at the end of each analysis process is to check whether the signal flow graph and the other representation analysis methods of a circuit developed therefrom have been correctly calculated. On the basis of this proof, it is determined whether the respective signal flow graph corresponds to a consistent system. A signal flow graph can be verified by generating the identity of the signal flow graph, illustrated by the inverse signal flow graph (dashed 1-edge). Two signal flow graphs are always generated from one circuit, so that the signal flow graph already presented in previous sections corresponds to only half of the solution. The other half of the solution, the so-called identity, which is represented by a dashed edge, represents the inverse signal flow graph (SFG−1). If these two graphs are superposed with one another, so-called 1-edges are created at the node points. In Boolean algebra, this 1-edge is given the value 1, whereas this value can be identified with a zero in the field algebra.
Example: We want to check the 1 edge of the node Vp.
Now we look at all incoming and outgoing edges of this node of Figure 13, all other nodes and edges can be eliminated as well as dashed edges with material equations. Because material equations give us 1-edges, we do not use this to check. First we simplified Figure 13 as follows.
Then we look for incoming and outgoing edges within the loops. There are 2 loops,
and
, they are marked with diferent lines.
The nodes
are eliminated by the associative law. This gives the following signal flow graph.
Further simplification of SFG: Elimination of reflexive edges of
and then elimination of the reflexive edges of
. It gives us the 1 edge of the node
.
And finally our SFG is checked. Analogously we can use this proof method for all nodes.
4. Conclusion
The SFG analysis can offer a faster and more effective alternative to complex structures with the right approach and solution patterns. However, the signal flow graph represents only a projection of the solution of the network equations. Together (superimposed) to the inverted solution of the system is then obtained as a result all the states of the structure with self-imposed and unweighted loops. For the analysis of a network the SFG-method provides an important alternative, since you are saving in complex systems not only long calculus, but also get a most suitable overview in the interaction of the system components and spare parts. The method is rarely used, and the existing literature on the subject is little. One can always encounter various problems in the analysis of a circuit that can now be easily understood with the knowledge of this method and verified. The key of understanding a circuit is always its real structure (physics). The SFG is the structure faithful model which brings together real physics and underlying theory. For understanding the cicuit, the signal flow graph is the most suitable representation. Thus the method can describe a generating system intelligibly and unambiguously. In this respect, the physical connections of a circuit are also more recognizable. Such a graph determines how a circuit works and shows what needs to be seen, which can not be fulfilled by the circuit diagram. It also makes a circuit reproducible and traceable. The fact that an SFG belongs to a model representation proves itself to be more compact and clearer. In addition, mathematical connections are illustrated more clearly due to the visualization, and certain computational steps are explained in a more comprehensible manner. As far as time is concerned, a very small computation time can be achieved with the aid of the SFG using the smallest memories. The SFG offers further great advantages. Since an SFG is compressible, only a small amount of material is required, so that the cost factor can be minimized. In addition, the method shows the highest quality since the SFG is directed and exhibits due to the 1-edges and the ability of being self-verifying. Despite this, the signal flow graph method still requires a high degree of research. This need relates, among other things, to the obstacles and difficulties that may arise when programming the graphics.