Skip to content

step_info overshoot error #554

@juanodecc

Description

@juanodecc

Hi, the overshoot calculate by step_info function is wrong for this transfer function:

import control as ctrl #control 0.8.3
import matplotlib.pyplot as plt #matplotlib 3.2.2

transferFunction = ctrl.tf([0.6287,37.74,774.4,5797,7515],[1.629,45.74,788.4,5809,7515])

time, out = ctrl.step_response(transferFunction)

plt.figure()
plt.grid()
plt.plot(time, out)

fig

ctrl.step_info(transferFunction)

{'RiseTime': 0.051990934709959705,
'SettlingTime': 0.4289252113571676,
'SettlingMin': 0.9121688025464874,
'SettlingMax': 1.1826717168233585,
'Overshoot': 29.748622946474416,
'Undershoot': 0.3859422958870473,
'Peak': 1.1826717168233585,
'PeakTime': 0.13430991466739592,
'SteadyStateValue': 0.9999984629917944}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions