Feedback Command in Matlab

1 Ansicht (letzte 30 Tage)
Harry Efstratiou
Harry Efstratiou am 15 Jan. 2021
Beantwortet: Dongyue am 17 Nov. 2022
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!!

Antworten (1)

Dongyue
Dongyue am 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

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by