Control System Designer: Inconsistent Controller Output Step Response

135 views (last 30 days)
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

Answers (1)

Paul
Paul on 11 Sep 2025 at 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 Comments
Paul
Paul on 19 Sep 2025 at 3:16
Have you received confirmation of bug, or other closure, from Mathworks tech support?
Markus M.
Markus M. on 19 Sep 2025 at 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.

Sign in to comment.

Tags

Products


Release

R2025a

Community Treasure Hunt

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

Start Hunting!