Feedback Command in Matlab

1 次查看(过去 30 天)
Harry Efstratiou
Harry Efstratiou 2021-1-15
回答: Dongyue 2022-11-17
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!!

回答(1 个)

Dongyue
Dongyue 2022-11-17
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

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by