I-Glied

Integrator (I-Glied)

\[y(t) = V_i \int_{0}^{t} u(t) \qquad y(0)=0\]
\[G(s) = \frac{V_i}{s}.\]

Diagramme in Control

import control
import numpy as np
import matplotlib.pyplot as plt
plt.style.use('ggplot')
s = control.TransferFunction.s
Vi = 10
Gs = Vi/s
Gs
\[\frac{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
(tout, yout)  = control.step_response(Gs)
plt.plot(tout,yout)
plt.title("Sprung Antwort")
plt.ylabel("y")
plt.xlabel("t (s)")
Text(0.5, 0, 't (s)')
../../_images/i_glied_rt_7_1.png
# bode diagram
(mag, phase_rad, w) = control.bode_plot(Gs)
../../_images/i_glied_rt_8_0.png
# nyquist plot
res_nyquist = control.nyquist_plot(Gs)
../../_images/i_glied_rt_9_0.png
# pole zero map
poles, zeros = control.pzmap(Gs, plot=True)
../../_images/i_glied_rt_10_0.png