Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bode phase incorrect for larger delay #757

Open
albheim opened this issue Oct 3, 2022 · 1 comment
Open

bode phase incorrect for larger delay #757

albheim opened this issue Oct 3, 2022 · 1 comment

Comments

@albheim
Copy link
Member

albheim commented Oct 3, 2022

The phase plot does some funky business here, shows up around a delay of 0.8 and grows with more delay. Numerical problem, or just hard to simulate system?

using Plots, ControlSystems
sys = delay(2) / (tf("s") + 1)
bodeplot(sys)

image

@baggepinnen
Copy link
Member

I've noticed this too, when the frequency grid is not dense enough, the jump in phase between two frequency points gets over 360 deg and then unwrap does not work properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants