Mason's gain formula (MGF) is a method for finding the transfer function of a linear signal-flow graph (SFG). The formula was derived by Samuel Jefferson Mason, for whom it is named. MGF is an alternate method to finding the transfer function algebraically by labeling each signal, writing down the equation for how that signal depends on other signals, and then solving the multiple equations for the output signal in terms of the input signal. MGF provides a step by step method to obtain the transfer function from a SFG. Often, MGF can be determined by inspection of the SFG. The method can easily handle SFGs with many variables and loops including loops with inner loops. MGF comes up often in the context of control systems, microwave circuits and digital filters because these are often represented by SFGs.
Formula The gain formula is as follows:
G = y out y in = ∑ k = 1 N G k Δ k Δ {\displaystyle G={\frac {y_{\text{out}}}{y_{\text{in}}}}={\frac {\sum _{k=1}^{N}{G_{k}\Delta _{k}}}{\Delta \ }}}
Δ = 1 − ∑ L i + ∑ L i L j − ∑ L i L j L k + ⋯ + ( − 1 ) m ∑ ⋯ + ⋯ {\displaystyle \Delta =1-\sum L_{i}+\sum L_{i}L_{j}-\sum L_{i}L_{j}L_{k}+\cdots +(-1)^{m}\sum \cdots +\cdots }
where:
Δ = the determinant of the graph. yin = input-node variable yout = output-node variable G = complete gain between yin and yout N = total number of forward paths between yin and yout Gk = path gain of the kth forward path between yin and yout Li = loop gain of each closed loop in the system LiLj = product of the loop gains of any two non-touching loops (no common nodes) LiLjLk = product of the loop gains of any three pairwise nontouching loops Δk = the cofactor value of Δ for the kth forward path, with the loops touching the kth forward path removed.
Definitions Source:
Path: a continuous set of branches traversed in the direction that they indicate. Forward path: A path from an input node to an output node in which no node is touched more than once. Loop: A path that originates and ends on the same node in which no node is touched more than once. Path gain: the product of the gains of all the branches in the path. Loop gain: the product of the gains of all the branches in the loop.
Procedure to find the solution Make a list of all forward paths, and their gains, and label these Gk. Make a list of all the loops and their gains, and label these Li (for i loops). Make a list of all pairs of non-touching loops, and the products of their gains (LiLj). Make a list of all pairwise non-touching loops taken three at a time (LiLjLk), then four at a time, and so forth, until there are no more. Compute the determinant Δ and cofactors Δk. Apply the formula.
Examples
Circuit containing two-port
The transfer function from Vin to V2 is desired. There is only one forward path:
Vin to V1 to I2 to V2 with gain G 1 = − y 21 R L {\displaystyle G_{1}=-y_{21}R_{L}\,}
There are three loops:
V1 to I1 to V1 with gain L 1 = − R in y 11 {\displaystyle L_{1}=-R_{\text{in}}y_{11}\,}
V2 to I2 to V2 with gain L 2 = − R L y 22 {\displaystyle L_{2}=-R_{L}y_{22}\,}
V1 to I2 to V2 to I1 to V1 with gain L 3 = y 21 R L y 12 R in {\displaystyle L_{3}=y_{21}R_{L}y_{12}R_{\text{in}}\,}
Δ = 1 − ( L 1 + L 2 + L 3 ) + ( L 1 L 2 ) {\displaystyle \Delta =1-(L_{1}+L_{2}+L_{3})+(L_{1}L_{2})\,} note: L1 and L2 do not touch each other whereas L3 touches both of the other loops.
… excerpt ends here. Continue reading the full article.



