miguelmoreto / labcontrole

The LabControle is a simulation software for linear control systems. It is designed to be used as an auxiliary tool for teaching classical control system theory.
http://sites.google.com/site/controlelab/
9 stars 2 forks source link

Stability margins incorrect whem phase is not in +-180 limits #48

Open miguelmoreto opened 3 weeks ago

miguelmoreto commented 3 weeks ago

When the process phase for small frequencies starts in values less than 180 degrees (for example -270 degrees), the program interprets this as a positive angle (+90 degrees for this example). Thus, the gain and phase margins in the bode diagram are not properly displayed.