This article provides insufficient context for those unfamiliar with the subject. (July 2014) |

A **signal-flow graph** (SFG), also known as a **Mason graph**, is a special type of block diagram^{[1]}—and directed graph—consisting of nodes and branches. Its **nodes** are the variables of a set of linear algebraic relations. An SFG can only represent multiplications and additions. Multiplications are represented by the **weights** of the **branches**; additions are represented by multiple branches going into one node. A signal-flow graph has a one-to-one relationship with a system of linear equations.^{[2]} In addition to this, it can also be used to represent the **signal flow** in a physical system; i.e., it can represent relations of cause and effect.

## Contents

## Example 1: Simple amplifier[edit]

The amplification of a signal *V _{1}* by an amplifier with gain

*a*is described mathematically by

_{12}This relationship represented by the signal-flow graph of Figure 1. is that V_{2} is dependent on V_{1} but it implies no dependency of V_{1} on V_{2}. See Kou page 57.^{[3]}

## Example 2: Two-port network[edit]

In electrical circuits, two equations describing a two-port network in admittance matrix form,

can be drawn as the SFG shown in Figure 2. This signal-flow graph describes causality properly if and only if V_{1} and V_{2} are designated as inputs. If any other designation of inputs is made then the SFG is either incomplete or invalid.

## Example 2a: Circuit containing a two-port network[edit]

The figure to the right depicts a circuit that contains a two-port network. V_{in} is the input of the circuit and V_{2} is the output. The two-port equations impose a set of linear constraints between its port voltages and currents. The terminal equations impose other constraints. All these constraints are represented in the SFG (Signal Flow Graph) below the circuit. There is only one path from input to output which is shown in a different color and has a gain of -R_{L}y_{21}. There are also three loops: -R_{in}y_{11}, -R_{L}y_{22}, R_{in}R_{L}y_{12}y_{21}. Sometimes a loop indicates intentional feedback but it can also indicate a constraint on the relationship of two variables. For example, the equation that describes a resistor says that the ratio of the voltage across the resistor to the current through the resistor is a constant which is called the resistance. This can be interpreted as the voltage is the input and the current is the output, or the current is the input and the voltage is the output, or merely that the voltage and current have a linear relationship. Virtually all passive two terminal devices in a circuit will show up in the SFG as a loop.

The SFG and the schematic depict the same circuit, but the schematic also suggests the circuit's purpose. Compared to the schematic, the SFG is awkward but it does have the advantage that the input to output gain can be written down by inspection using Mason's rule.

## Example 3 Asymptotic gain formula[edit]

- A possible SFG for the asymptotic gain model for a negative feedback amplifier is shown in Figure 3, and leads to the equation for the gain of this amplifier as

- The interpretation of the parameters is as follows:
*T*= return ratio,*G*= direct amplifier gain,_{∞}*G*= feedforward (indicating the possible bilateral nature of the feedback, possibly deliberate as in the case of feedforward compensation). Figure 3 has the interesting aspect that it resembles Figure 2 for the two-port network with the addition of the extra_{0}*feedback relation**x*._{2}= T y_{1}

- From this gain expression an interpretation of the parameters
*G*and_{0}*G*is evident, namely:_{∞}

- There are many possible SFG's associated with any particular gain relation. Figure 4 shows another SFG for the asymptotic gain model that can be easier to interpret in terms of a circuit. In this graph, parameter β is interpreted as a feedback factor and
*A*as a "control parameter", possibly related to a dependent source in the circuit. Using this graph, the gain is

- To connect to the asymptotic gain model, parameters
*A*and β cannot be arbitrary circuit parameters, but must relate to the return ratio*T*by:

- and to the asymptotic gain as:

- Substituting these results into the gain expression,

- which is the formula of the asymptotic gain model.

Signal flow graphs are used in many different subject areas besides control and network theory, for example, stochastic signal processing.^{[4]}

## Example 4: Position servo with multi-loop feedback[edit]

This example is representative of a SFG (signal-flow graph) used to represent a servo control system and illustrates several features of SFGs. Some of the loops (loop 3, loop 4 and loop 5) are extrinsic intentionally designed feedback loops. These are shown with dotted lines. There are also intrinsic loops (loop 0, loop1, loop2) that are not intentional feedback loops, although they can be analyzed as though they were. These loops are shown with solid lines. Loop 3 and loop 4 are also known as minor loops because they are inside a larger loop.

- The forward path begins with , the desired position command. This is multiplied by K
_{P}which could be a constant or a function of frequency. K_{P}incorporates the conversion gain of the DAC and any filtering on the DAC output. The output of K_{P}is the velocity command which is multiplied by K_{V}which can be a constant or a function of frequency. The output of K_{V}is the current command, V_{IC}which is multiplied by K_{C}which can be a constant or a function of frequency. The output of K_{C}the amplifier output voltage, V_{A}. The current, I_{M}, though the motor winding is the integral of the voltage applied to the inductance. The motor produces a torque, T, proportional to I_{M}. Permanent magnet motors tend to have a linear current to torque function. The conversion constant of current to torque is K_{M}. The torque, T, divided by the load moment of inertia, M, is the acceleration, , which is integrated to give the load velocity which is integrated to produce the load position, .

- The forward path of loop 0 asserts that acceleration is proportional to torque and the velocity is the time integral of acceleration. The backward path says that as the speed increases there is a friction or drag that counteracts the torque. Torque on the load decreases proportionately to the load velocity until the point is reached that all the torque is used to overcome friction and the acceleration drops to zero. Loop 0 is intrinsic.

- Loop1 represents the interaction of an inductor's current with its internal and external series resistance. The current through an inductance is the time integral of the voltage across the inductance. When a voltage is first applied, all of it appears across the inductor. This is shown by the forward path through . As the current increases, voltage is dropped across the inductor internal resistance R
_{M}and the external resistance R_{S}. This reduces the voltage across the inductor and is represented by the feedback path -(R_{M}+ R_{S}). The current continues to increase but at a steadily decreasing rate until the current reaches the point at which all the voltage is dropped across (R_{M}+ R_{S}). Loop 1 is intrinsic.

- Loop2 expresses the effect of the motor back EMF. Whenever a permanent magnet motor rotates, it acts like a generator and produces a voltage in its windings. It does not matter whether the rotation is caused by a torque applied to the drive shaft or by current applied to the windings. This voltage is referred to as back EMF. The conversion gain of rotational velocity to back EMF is G
_{M}. The polarity of the back EMF is such that it diminishes the voltage across the winding inductance. Loop 2 is intrinsic.

- Loop 3 is extrinsic. The current in the motor winding passes through a sense resister. The voltage, V
_{IM}, developed across the sense resister is fed back to the negative terminal of the power amplifier K_{C}. This feedback causes the voltage amplifier to act like a voltage controlled current source. Since the motor torque is proportional to motor current, the sub-system V_{IC}to the output torque acts like a voltage controlled torque source. This sub-system may be referred to as the "current loop" or "torque loop". Loop 3 effectively diminishes the effects of loop 1 and loop 2.

- Loop 4 is extrinsic. A tachometer (actually a low power dc generator) produces an output voltage that is proportional to is angular velocity. This voltage is fed to the negative input of K
_{V}. This feedback causes the sub-system from to the load angular velocity to act like a voltage to velocity source. This sub-system may be referred to as the "velocity loop". Loop 4 effectively diminishes the effects of loop 0 and loop 3.

- Loop 5 is extrinsic. This is the overall position feedback loop. The feedback comes from an angle encoder that produces a digital output. The output position is subtracted from the desired position by digital hardware which drives a DAC which drives K
_{P}. In the SFG, the conversion gain of the DAC is incorporated into K_{P}.

see Mason's rule for development of Mason's Gain Formula for this example.

## See also[edit]

- Control Systems/Signal Flow Diagrams in the Control Systems Wikibook
- Coates graph
- Mason's rule
- Minor loop feedback
- Noncommutative signal-flow graph

## Notes[edit]

**^**DiStephano, J. J., Stubberud, A. R., & Williams, I. J. (1995).*Schaum's outline of theory and problems of feedback and control systems*(Second Edition ed.). New York: McGraw-Hill Professional. p. §8.8 pp. 187–189. ISBN 0-07-017052-5.**^**Chen, Wai-kai (1967). "On Flow Graph Solutions of Linear Algebraic Equations".*SIAM Journal on Applied Mathematics*(Society for Industrial and Applied Mathematics)**15**(1): 136–142. doi:10.1137/0115010. ISSN 0036-1399.**^**Kou (1967, p. 57)**^**Barry, J. R., Lee, E. A., & Messerschmitt, D. G. (2004).*Digital communication*(Third Edition ed.). New York: Springer. p. 86. ISBN 0-7923-7548-3.

## References[edit]

- Kou, Benjamin C. (1967),
*Automatic Control Systems*, Prentice Hall

## Further reading[edit]

- Ernest J. Henley and R. A. Williams (1973).
*Graph theory in modern engineering; computer aided design, control, optimization, reliability analysis*. Academic Press. ISBN 978-0-08-095607-7. Book almost entirely devoted to this topic. - Wai-Kai Chen (1976).
*Applied Graph Theory*. North Holland Publishing Company. ISBN 0720423627. Chapter 3 for the essentials, but applications are scattered throughout the book. - K. Thulasiraman and M. N. S. Swamy (1992).
*Graphs: Theory and Algorithms*. 6.10-6.11 for the essential mathematical idea. ISBN 0-471-51356-3. - Shu-Park Chan (2006). "Graph theory". In Richard C. Dorf.
*Circuits, Signals, and Speech and Image Processing*(3rd ed.). CRC Press. § 3.6. ISBN 978-1-4200-0308-6. Compares Mason and Coates graph approaches with Maxwell's k-tree approach.

## External links[edit]

- Khoman Phang:
*An overview of signal-flow graphs*This chapter is from Dr. Phang's Ph. D. Thesis © Copyright by Khoman Phang 2001 - M. L. Edwards:
*S-parameters, signal flow graphs, and other matrix representations*All Rights Reserved

This page uses Creative Commons Licensed content from Wikipedia. A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia.