fbpx
Wikipedia

Mason's gain formula

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,[1] 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 edit

The gain formula is as follows:

 


 

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[2] edit

  • 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 edit

  1. Make a list of all forward paths, and their gains, and label these Gk.
  2. 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.
  3. Compute the determinant Δ and cofactors Δk.
  4. Apply the formula.

Examples edit

Circuit containing two-port edit

 
Signal flow graph of a circuit containing a two port. The forward path from input to output is shown in a different color.

The transfer function from Vin to V2 is desired.

There is only one forward path:

  • Vin to V1 to I2 to V2 with gain  

There are three loops:

  • V1 to I1 to V1 with gain  
  • V2 to I2 to V2 with gain  
  • V1 to I2 to V2 to I1 to V1 with gain  
  note: L1 and L2 do not touch each other whereas L3 touches both of the other loops.
  note: the forward path touches all the loops so all that is left is 1.
 

Digital IIR biquad filter edit

 
The signal flow graph (SFG) for a digital infinite impulse response bi-quad filter. This SFG has three forward paths and two loops.

Digital filters are often diagramed as signal flow graphs.

There are two loops
  •  
  •  
  Note, the two loops touch so there is no term for their product.
There are three forward paths
  •  
  •  
  •  
All the forward paths touch all the loops so  
 
 

Servo edit

 
Angular position servo and signal flow graph. θC = desired angle command, θL = actual load angle, KP = position loop gain, VωC = velocity command, VωM = motor velocity sense voltage, KV = velocity loop gain, VIC = current command, VIM = current sense voltage, KC = current loop gain, VA = power amplifier output voltage, VM = effective voltage across the inductance, LM = motor inductance, IM = motor current, RM = motor resistance, RS = current sense resistance, KM = motor torque constant (Nm/amp), T = torque, M = moment of inertia of all rotating components α = angular acceleration, ω = angular velocity, β = mechanical damping, GM = motor back EMF constant, GT = tachometer conversion gain constant. There is one forward path (shown in a different color) and six feedback loops. The drive shaft assumed to be stiff enough to not treat as a spring. Constants are shown in black and variables in purple.

The signal flow graph has six loops. They are:

  •  
  •  
  •  
  •  
  •  
  •  
 

There is one forward path:

  •  

The forward path touches all the loops therefore the co-factor  

And the gain from input to output is  

Equivalent matrix form edit

Mason's rule can be stated in a simple matrix form. Assume   is the transient matrix of the graph where   is the sum transmittance of branches from node m toward node n. Then, the gain from node m to node n of the graph is equal to  , where

 ,

and   is the identity matrix.

Mason's Rule is also particularly useful for deriving the z-domain transfer function of discrete networks that have inner feedback loops embedded within outer feedback loops (nested loops). If the discrete network can be drawn as a signal flow graph, then the application of Mason's Rule will give that network's z-domain H(z) transfer function.

Complexity and computational applications edit

Mason's Rule can grow factorially, because the enumeration of paths in a directed graph grows dramatically. To see this consider the complete directed graph on   vertices, having an edge between every pair of vertices. There is a path form   to   for each of the   permutations of the intermediate vertices. Thus Gaussian elimination is more efficient in the general case.

Yet Mason's rule characterizes the transfer functions of interconnected systems in a way which is simultaneously algebraic and combinatorial, allowing for general statements and other computations in algebraic systems theory. While numerous inverses occur during Gaussian elimination, Mason's rule naturally collects these into a single quasi-inverse. General form is

 

Where as described above,   is a sum of cycle products, each of which typically falls into an ideal (for example, the strictly causal operators). Fractions of this form make a subring   of the rational function field. This observation carries over to the noncommutative case,[3] even though Mason's rule itself must then be replaced by Riegle's rule.

See also edit

Notes edit

  1. ^ Mason, Samuel J. (July 1956). "Feedback Theory - Further Properties of Signal Flow Graphs" (PDF). Proceedings of the IRE. 44 (7): 920–926. doi:10.1109/jrproc.1956.275147. hdl:1721.1/4778. S2CID 18184015.
  2. ^ Kuo, Benjamin C. (1967). Automatic Control Systems (2nd ed.). Prentice-Hall. pp. 59–60.
  3. ^ Pliam, J.O.; Lee, E.B. (1995). "On the global properties of interconnected systems". IEEE Trans. Circuits and Syst. I. 42 (12): 1013–1017. doi:10.1109/81.481196.

References edit

  • Bolton, W. Newnes (1998). Control Engineering Pocketbook. Oxford: Newnes.
  • Van Valkenburg, M. E. (1974). Network Analysis (3rd ed.). Englewood Cliffs, NJ: Prentice-Hall.

mason, gain, formula, method, finding, transfer, function, linear, signal, flow, graph, formula, derived, samuel, jefferson, mason, whom, named, alternate, method, finding, transfer, function, algebraically, labeling, each, signal, writing, down, equation, tha. 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 1 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 Contents 1 Formula 1 1 Definitions 2 1 2 Procedure to find the solution 2 Examples 2 1 Circuit containing two port 2 2 Digital IIR biquad filter 2 3 Servo 3 Equivalent matrix form 4 Complexity and computational applications 5 See also 6 Notes 7 ReferencesFormula editThe gain formula is as follows G y out y in k 1 N G k D k D displaystyle G frac y text out y text in frac sum k 1 N G k Delta k Delta nbsp D 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 nbsp where D 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 Dk the cofactor value of D for the kth forward path with the loops touching the kth forward path removed Definitions 2 edit 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 edit 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 D and cofactors Dk Apply the formula Examples editCircuit containing two port edit nbsp Signal flow graph of a circuit containing a two port The forward path from input to output is shown in a different color 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 nbsp 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 nbsp V2 to I2 to V2 with gain L 2 R L y 22 displaystyle L 2 R L y 22 nbsp 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 nbsp D 1 L 1 L 2 L 3 L 1 L 2 displaystyle Delta 1 L 1 L 2 L 3 L 1 L 2 nbsp note L1 and L2 do not touch each other whereas L3 touches both of the other loops D 1 1 displaystyle Delta 1 1 nbsp note the forward path touches all the loops so all that is left is 1 G G 1 D 1 D y 21 R L 1 R in y 11 R L y 22 y 21 R L y 12 R in R in y 11 R L y 22 displaystyle G frac G 1 Delta 1 Delta frac y 21 R L 1 R text in y 11 R L y 22 y 21 R L y 12 R text in R text in y 11 R L y 22 nbsp Digital IIR biquad filter edit nbsp The signal flow graph SFG for a digital infinite impulse response bi quad filter This SFG has three forward paths and two loops Digital filters are often diagramed as signal flow graphs There are two loops L 1 a 1 Z 1 displaystyle L 1 a 1 Z 1 nbsp L 2 a 2 Z 2 displaystyle L 2 a 2 Z 2 nbsp D 1 L 1 L 2 displaystyle Delta 1 L 1 L 2 nbsp Note the two loops touch so there is no term for their product There are three forward paths G 0 b 0 displaystyle G 0 b 0 nbsp G 1 b 1 Z 1 displaystyle G 1 b 1 Z 1 nbsp G 2 b 2 Z 2 displaystyle G 2 b 2 Z 2 nbsp All the forward paths touch all the loops so D 0 D 1 D 2 1 displaystyle Delta 0 Delta 1 Delta 2 1 nbsp G G 0 D 0 G 1 D 1 G 2 D 2 D displaystyle G frac G 0 Delta 0 G 1 Delta 1 G 2 Delta 2 Delta nbsp G b 0 b 1 Z 1 b 2 Z 2 1 a 1 Z 1 a 2 Z 2 displaystyle G frac b 0 b 1 Z 1 b 2 Z 2 1 a 1 Z 1 a 2 Z 2 nbsp Servo edit nbsp Angular position servo and signal flow graph 8C desired angle command 8L actual load angle KP position loop gain VwC velocity command VwM motor velocity sense voltage KV velocity loop gain VIC current command VIM current sense voltage KC current loop gain VA power amplifier output voltage VM effective voltage across the inductance LM motor inductance IM motor current RM motor resistance RS current sense resistance KM motor torque constant Nm amp T torque M moment of inertia of all rotating components a angular acceleration w angular velocity b mechanical damping GM motor back EMF constant GT tachometer conversion gain constant There is one forward path shown in a different color and six feedback loops The drive shaft assumed to be stiff enough to not treat as a spring Constants are shown in black and variables in purple The signal flow graph has six loops They are L 0 b s M displaystyle L 0 frac beta sM nbsp L 1 R M R S s L M displaystyle L 1 frac R M R S sL M nbsp L 2 G M K M s 2 L M M displaystyle L 2 frac G M K M s 2 L M M nbsp L 3 K C R S s L M displaystyle L 3 frac K C R S sL M nbsp L 4 K V K C K M G T s 2 L M M displaystyle L 4 frac K V K C K M G T s 2 L M M nbsp L 5 K P K V K C K M s 3 L M M displaystyle L 5 frac K P K V K C K M s 3 L M M nbsp D 1 L 0 L 1 L 2 L 3 L 4 L 5 L 0 L 1 L 0 L 3 displaystyle Delta 1 L 0 L 1 L 2 L 3 L 4 L 5 L 0 L 1 L 0 L 3 nbsp There is one forward path g 0 K P K V K C K M s 3 L M M displaystyle g 0 frac K P K V K C K M s 3 L M M nbsp The forward path touches all the loops therefore the co factor D 0 1 displaystyle Delta 0 1 nbsp And the gain from input to output is 8 L 8 C g 0 D 0 D displaystyle frac theta L theta C frac g 0 Delta 0 Delta nbsp Equivalent matrix form editMason s rule can be stated in a simple matrix form Assume T displaystyle mathbf T nbsp is the transient matrix of the graph where t n m T n m displaystyle t nm left mathbf T right nm nbsp is the sum transmittance of branches from node m toward node n Then the gain from node m to node n of the graph is equal to u n m U n m displaystyle u nm left mathbf U right nm nbsp where U I T 1 displaystyle mathbf U left mathbf I mathbf T right 1 nbsp and I displaystyle mathbf I nbsp is the identity matrix Mason s Rule is also particularly useful for deriving the z domain transfer function of discrete networks that have inner feedback loops embedded within outer feedback loops nested loops If the discrete network can be drawn as a signal flow graph then the application of Mason s Rule will give that network s z domain H z transfer function Complexity and computational applications editMason s Rule can grow factorially because the enumeration of paths in a directed graph grows dramatically To see this consider the complete directed graph on n displaystyle n nbsp vertices having an edge between every pair of vertices There is a path form y in displaystyle y text in nbsp to y out displaystyle y text out nbsp for each of the n 2 displaystyle n 2 nbsp permutations of the intermediate vertices Thus Gaussian elimination is more efficient in the general case Yet Mason s rule characterizes the transfer functions of interconnected systems in a way which is simultaneously algebraic and combinatorial allowing for general statements and other computations in algebraic systems theory While numerous inverses occur during Gaussian elimination Mason s rule naturally collects these into a single quasi inverse General form is p 1 q displaystyle frac p 1 q nbsp dd Where as described above q displaystyle q nbsp is a sum of cycle products each of which typically falls into an ideal for example the strictly causal operators Fractions of this form make a subring R 1 L i 1 displaystyle R 1 langle L i rangle 1 nbsp of the rational function field This observation carries over to the noncommutative case 3 even though Mason s rule itself must then be replaced by Riegle s rule See also editSignal flow graph Riegle s ruleNotes edit Mason Samuel J July 1956 Feedback Theory Further Properties of Signal Flow Graphs PDF Proceedings of the IRE 44 7 920 926 doi 10 1109 jrproc 1956 275147 hdl 1721 1 4778 S2CID 18184015 Kuo Benjamin C 1967 Automatic Control Systems 2nd ed Prentice Hall pp 59 60 Pliam J O Lee E B 1995 On the global properties of interconnected systems IEEE Trans Circuits and Syst I 42 12 1013 1017 doi 10 1109 81 481196 References editBolton W Newnes 1998 Control Engineering Pocketbook Oxford Newnes Van Valkenburg M E 1974 Network Analysis 3rd ed Englewood Cliffs NJ Prentice Hall Retrieved from https en wikipedia org w index php title Mason 27s gain formula amp oldid 1216911022, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.