PI-Glied

Proportional–Integral–Glied (PI–Glied)

\[y(t) = V_I \frac{d}{dt} u(t) \qquad y(0)=0\]
\[G(s) = \frac{V_I(1+T_Is)}{s} = \frac{V_I}{s} + V_I T_I \]

Diagramme in Control

import control
import numpy as np
import matplotlib.pyplot as plt
plt.style.use('ggplot')
s = control.TransferFunction.s
Vi = 10
Ti = 1/2
Gs = Vi*(1+Ti*s)/s
Gs
\[\frac{5 s + 10}{s}\]
def check_proper_tf(Gs):
    """check if transferfunction is proper"""
    return len(Gs.num[0][0]) <= len(Gs.den[0][0])
    
check_proper_tf(Gs)
True
# step response
t = np.arange(0,10,0.1)
(tout, yout)  = control.step_response(Gs,t)
plt.plot(tout,yout)
plt.title("Sprung Antwort")
plt.ylabel("y")
plt.xlabel("t (s)")
Text(0.5, 0, 't (s)')
../../_images/pi_glied_rt_7_1.png
# bode diagram
(mag, phase_rad, w) = control.bode_plot(Gs)
../../_images/pi_glied_rt_8_0.png
# nyquist plot
res_nyquist = control.nyquist_plot(Gs)
../../_images/pi_glied_rt_9_0.png
# pole zero map
poles, zeros = control.pzmap(Gs)
../../_images/pi_glied_rt_10_0.png