...

/

Solution Review: Transfer Functions

Solution Review: Transfer Functions

This lesson discusses solutions to the tasks in the exercise about transfer functions.

Solution 1 #

Press + to interact
from sympy import *
s = Symbol('s')
G1 = 1 / s
G2 = 1 / (s + 1)
G3 = s / (s + 2)
G4 = 4
G5 = 1 / (s**2 + 1)
G6 = 3 * s
tf = 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:

(G1×((G2×G3)+(G4×G5))×G6)(G_1 \times((G_2 \times G_3)+(G_4 \times G_5))\times G_6) ...