Solution Review: Transfer Functions
This lesson discusses solutions to the tasks in the exercise about transfer functions.
We'll cover the following...
Solution 1 #
Press + to interact
from sympy import *s = Symbol('s')G1 = 1 / sG2 = 1 / (s + 1)G3 = s / (s + 2)G4 = 4G5 = 1 / (s**2 + 1)G6 = 3 * stf = together(G1 * ((G2 * G3) + (G4 * G5)) * G6)print(tf)
Explanation
-
In lines 5 - 10, we have defined the transfer function of the system components in terms of
s
. -
In line 12, we used the rules of transfer functions to reduce the system to the following equation:
...