Simulink with control system designer: Step response is completely flat.
3 views (last 30 days)
Show older comments
Ilias Koutroumpas
on 19 Dec 2020
Commented: Ilias Koutroumpas
on 19 Dec 2020
Hello, I have Matlab R2018b and I am trying to use the controlSystemDesigner on a Simulink configuration I have created.
My plant is P(s) = and I have set the compensator, sensor block to 1 and the disturbance, measurement noise to a constant equal to 0 in order to start the design process. Here is the configuration:
My issue, as you can see, is thta for some reason the step response from r to y is completely flat. On the other hand, if I open the controlSystemDesigner using simply the command:
controlSystemDesigner('step', p_drone);
I get a step response which is absolutely different (and it is, I believe, the correct one). I would expect the two step responses to be the same. There is obviously something wrong but I cannot figure out what. Please keep in mind this is the first time I am using the controlSystemDesigner and Simulink. The documentation has not been of much help either.
0 Comments
Accepted Answer
Paul
on 19 Dec 2020
Edited: Paul
on 19 Dec 2020
The block diagram has an Open-loop Input at the input to the plant (on the line marked "u + d") so the response from any input to the "left" of that point will be zero. Also, the diagram has an Open-loop Output at the output of the plant (on the line marked "v") so any output to the "right" of that point will also be zero in response to any input to the plant. Based on the diagram, it looks like you should be looking at the step response from the u+d to v to see the step response of the plant.
I'm not sure what's going on with the response that's the output from from the controlSystemDesigner command, but for sure it's not the step response of P(s) = 2/s^2. I'm not that familiar with the controlSystemDesigner command, but from its doc page I don't even see how that command provided anything but an error. So I'm confused by that as well.
More Answers (0)
See Also
Categories
Find more on Classical Control Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!