Feedback Command in Matlab
1 view (last 30 days)
Show older comments
Hi there! I would like to ask something about the command feedback in Matlab, I searched a lot in documentation that was really helpfull but I am not sure if I am correct.
I trying to find the responce of the the following plants.
As you can see, the actuator has 1 input and gives two outputs. The airframe has 1 inqut and gives two utputs.
Also, I have 1 transfer function for Actuator and 2 for the Airframe.
First I set the Kq equals a number:
In order to close the loop, I used the command feedback as: Closed_Loop=feedback(Kq*Plant_Actuator*Plant_Airframe,1,1,2,-1)
1 in second position is because there is no in the loop that I connect. I would like to ask if you think that is correct?
Thank you in advance!!
0 Comments
Answers (1)
Dongyue
on 17 Nov 2022
Hi Harry,
I think what you are doing is correct. Here's my explaination for each argument:
1. Kq, Actuator, Airframe and Sensors in sequence as a subsystem sys1
2. 1 will be negtive control system
3. one input as feedin
4. three outputs and the second one will be feedout
5. the sign parameter is optional, cuz the default value for negative feedback system is -1
Best,
Dongyue
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!