Feedback Command in Matlab

1 visualización (últimos 30 días)
Harry Efstratiou
Harry Efstratiou el 15 de En. de 2021
Respondida: Dongyue el 17 de Nov. de 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!!

Respuestas (1)

Dongyue
Dongyue el 17 de Nov. de 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

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by