Definitionintro
Signal-flow graph
Also called Mason graph.
A directed graph whose nodes are signals and whose weighted edges are gains. Each node equals the sum of its incoming edge gains times their source nodes, so the graph is a set of linear equations.
A signal-flow graph is a directed graph that encodes a set of linear equations. Each node is a signal (a variable), each edge carries a gain, and the value of a node is the sum, over its incoming edges, of the edge gain times the value at the start of the edge. Samuel Mason introduced the graphs in 1953 to describe feedback circuits. In control, the gains are usually transfer functions in , and the graph is a compact form of a block diagram. The graph is useful because the gain from an input node to an output node can be read from its paths and loops with Mason's gain formula, with no matrix algebra by hand.
Definition
Notation. Gains are elements of a field, usually the rational functions or the real numbers. An edge from node to node with gain is written .
Definition. A signal-flow graph is a finite directed graph with nodes and one or more source nodes that have no incoming edges, together with a gain on each edge. Parallel edges between the same two nodes are merged into one edge whose gain is the sum. The graph stands for the node equations
where is the gain of the edge (zero if there is no edge) and is the gain of the edge . In matrix form, with and ,
The graph is well posed if (as an element of the field). Then every node has a unique value , and the gain from to is the entry .
Terms used with the graph.
- A path is a sequence of edges along their direction with no node visited twice. Its gain is the product of the edge gains.
- A forward path is a path from a source node to the chosen output node.
- A loop is a closed path that visits no node twice except its first node, which is also its last. A self-loop is a loop of length one.
- Two loops, or a loop and a path, touch if they have a node in common.
- The graph determinant is , where the sums are over the loops, over the pairs of loops that do not touch, over the triples of loops that do not touch each other, and so on. Mason's gain formula shows .
Structure. Every loop lies inside one strongly connected component of the graph. If the nodes are listed so that the components come in topological order, is block triangular, so is the product of the determinants of the components. A graph with no loops (a directed acyclic graph) has , and the gain from a source to a node is the sum of the gains of all paths between them.
From equations to a graph. Any square linear system gives a graph: write it as , so that , and . Often one first solves equation for , which divides row by and removes the self-loops. A block diagram gives a graph directly: each signal line is a node, each block is an edge, and each summing junction is a node with several incoming edges (a minus sign at a junction goes into the gain of the edge). So the two pictures carry the same information, and block diagram reduction on one is graph reduction on the other.
Examples and non-examples
- A state-space model. Take , , , as in a state-space representation. In the Laplace domain at rest, use the nodes , , and , with the edges , , , and . The loops are with gain and with gain . They touch at , so . The single forward path has gain and touches both loops, so .
- A unity feedback loop. The nodes , , with the edges , , give and . The one loop has gain , so and .
- A circuit. In nodal analysis of a linear circuit, the node voltages are the nodes of the graph and the admittances divided by the node self-admittances are the gains; symbolic circuit analysis uses such graphs to get transfer functions as formulas.
- Non-example: a nonlinear node. A node whose value is , or the product of two signals, is not allowed. The node equations must be linear in the node values, so a multiplier or a saturation must be removed by Jacobian linearization first.
- Non-example: an ill-posed graph. A node with a self-loop of gain 1 and an input gives , which has no solution for . Here . In a block diagram this is an algebraic loop with loop gain 1, for example a feedback loop around a constant gain .
Related definitions
- Mason's gain formula: the gain from a source to a node, , read off the graph.
- Block diagram reduction: the same algebra done by rules on a block diagram.
- Transfer function: the gain of an edge in a graph of a linear time-invariant system.
- Gaussian elimination: the matrix method that solves in steps for numeric gains.
- Determinant: .
- Strongly connected components: the parts of the graph that hold the loops; factors over them.
References
- Samuel J. Mason, Feedback theory, some properties of signal flow graphs, Proceedings of the IRE 41(9), 1953, pp. 1144 to 1156 (the definition of the graph, node equations, paths, loops and the reduction of a graph)
- Samuel J. Mason, Feedback theory, further properties of signal flow graphs, Proceedings of the IRE 44(7), 1956, pp. 920 to 926 (the graph determinant and the gain formula)
- Gene F. Franklin, J. David Powell and Abbas Emami-Naeini, Feedback Control of Dynamic Systems, eighth edition, Pearson, 2019, Section 3.2, System Modeling Diagrams, and Section 3.2.3, Mason's Rule and the Signal Flow Graph (an online section)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag P2H8AD Edit this page History Report an error Markdown