Control SystemsSection 3
Signal Flow Graph (SFG)
A powerful alternative to block diagrams for finding the overall Transfer Function of highly complex control systems without iterative redrawing.
1. What is a Signal Flow Graph (SFG)?
The Core Purpose & Advantage
Block Diagram vs. SFG Equivalents
- Any variable (input, output, or intermediate sum) becomes a Node (a simple dot).
- Any transfer function (the block's gain) becomes a Branch (a directed arrow connecting the nodes).
Fundamental Conversions:
As seen in the third example above, notice how the summing junction (the pink circle with a cross) simply vanishes in the SFG. The addition naturally occurs when multiple branches point toward the exact same node $Y(s)$.
2. Definitions in Signal Flow Graphs
- Node: A point that denotes a variable or a signal (e.g., $R(s)$, $C(s)$, $V_1(s)$). It replaces all blocks and summing junctions.
- Branch: A unidirectional path that joins two nodes. The mathematical relation between the variables is written next to the directional arrow (the gain, e.g., $G_1(s)$, $H_1(s)$).
- Example Path 1: $G_1(s) G_2(s) G_3(s) G_4(s) G_5(s) G_7(s)$
- Example Path 2: $G_1(s) G_2(s) G_3(s) G_4(s) G_6(s) G_7(s)$
- Example Loops: $G_2(s)H_1(s)$ or $G_4(s)H_2(s)$
- Example: Loop $G_2(s)H_1(s)$ , Loop $G_4(s)H_2(s)$ , Loop $G_4(s)G_5(s)H_3(s)$ and Loop $G_4(s)G_6(s)H_3(s)$ do not touch each other.
- Input Node (Source): A node having only outgoing branches (e.g., $R(s)$).
- Output Node (Sink): A node having only incoming branches (e.g., $C(s)$).
- Chain Node (Mixed Node): A node that has both incoming and outgoing branches (e.g., $V_2(s)$).
3. Steps to Convert Block Diagram to SFG
- Nodes: Replace each summing node and each branching (pick-off) point in the block diagram with a single chain node (a circle).
- Branches: Connect the nodes with branches (lines with arrows) instead of blocks. Write the block's transfer function (the gain) directly on the branch.
- Dummy Nodes: Add a dummy source node for the input and a dummy sink node for the output, connecting them to the main graph with a branch gain of $1$.
Example 1: Convert Block Diagram to SFG
Original Block Diagram:
Converted Signal Flow Graph:
Notice the dummy nodes for R and C with a gain of 1. Feedback signs are integrated directly into the branch gains (e.g., $-H_2$, $-1$).
4. Mason's Gain Formula
- $N$: The total number of forward paths from input to output.
- $P_k$: The gain of the $k^{th}$ forward path.
- $\Delta$: The main determinant of the entire control system graph.
- $\Delta_k$: The sub-determinant for the $k^{th}$ forward path.
Calculating the Main Determinant ($\Delta$)
Calculating the Sub-Determinant ($\Delta_k$)
5. Algebra of Signal Flow Graphs
6. Solved Examples
Example 2: Applying Mason's Formula
1. Forward Paths ($P_k$):
- $P_1 = G_1 G_2 G_3 G_4 G_5$
- $P_2 = G_1 G_6 G_4 G_5$
- $P_3 = G_1 G_2 G_7$
2. Individual Loops ($L_m$):
- $L_1 = -G_4 H_1$
- $L_2 = -G_2 G_7 H_2$
- $L_3 = -G_6 G_4 G_5 H_2$
- $L_4 = -G_2 G_3 G_4 G_5 H_2$
3. Main Determinant ($\Delta$):
4. Sub-Determinants ($\Delta_k$) - The Common Trap:
Path 1 ($P_1 = G_1 G_2 G_3 G_4 G_5$)
Path 2 ($P_2 = G_1 G_6 G_4 G_5$)
Path 3 ($P_3 = G_1 G_2 G_7$)
- Does $L_3$ ($-G_6 G_4 G_5 H_2$) touch $P_3$? Yes! Look at the node before $G_2$. $P_3$ passes through it, and $L_3$ originates from it (via $G_6$). They also share the final output node $C(s)$. So there are touching points here!
- Does $L_1$ ($-G_4 H_1$) touch $P_3$? If we trace $L_1$, it is completely isolated between the nodes of $G_3, G_4, G_5$. Meanwhile, $P_3$ takes the upper "bridge" route ($G_7$) and completely bypasses these inner nodes. They share absolutely no common nodes!
5. Final Transfer Function:
Example 3: Equations to Signal Flow Graph
Example 4: Electrical Circuit to SFG
1. Define the physical equations (Ohm's & Kirchhoff's Laws):
2. Draw the SFG based on the equations:
3. Solve with Mason's Formula:
- Non-touching Loops: $L_1$ and $L_3$ do not touch.
- Sub-Determinant: $\Delta_1 = 1$ (all loops touch the forward path).