Control System Designer: Inconsistent Controller Output Step Response

134 vues (au cours des 30 derniers jours)
Markus M.
Markus M. le 11 Sep 2025 à 20:20
Commenté : Markus M. le 19 Sep 2025 à 8:35
I use the control system designer with e.g simple plant and controller:
s = tf('s')
G = 1/(s+1)
C = 1/s;
controlSystemDesigner(G,C);
and the default control system architecture
After adding the step reponses
(via selection from step reponses) and
via:
I expected them to be the same responses (since du is probably 0).
The response is correct, however is wrong (unbounded) and differs from :
Is this a bug?
Best regards
Markus

Réponses (1)

Paul
Paul le 11 Sep 2025 à 21:21
I can recreate these result and uc/r certainly looks incorrect. After exporting the systems to the base workspace I get:
>> tf(IOTransfer1)
ans =
From input "r" to output "u":
s + 1
-----------
s^2 + s + 1
Continuous-time transfer function.
Model Properties
>> tf(IOTransfer2)
ans =
From input "r" to output "uC":
s + 1
---------
s^2 + 2 s
IOTransfer2 surely is incorrect and I can't figure out how such a result was obtained.
  13 commentaires
Paul
Paul le 19 Sep 2025 à 3:16
Have you received confirmation of bug, or other closure, from Mathworks tech support?
Markus M.
Markus M. le 19 Sep 2025 à 8:35
@Paul, yes Mathworks has confirmed this as a bug, which will be investaged and fixed. If an external bug report is published I am going to link it to this thread.

Connectez-vous pour commenter.

Tags

Produits


Version

R2025a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by