Effacer les filtres
Effacer les filtres

How to change model architecture in controlsystemdesigner

4 vues (au cours des 30 derniers jours)
Nghi
Nghi le 13 Déc 2023
Commenté : Sam Chak le 21 Déc 2023
Hello, I have G rotor transfer function = 1/s^2 , and a PI controller (K rotor), the architecture of the model looks like this:
But in controlsystemdesigner, the architecture is the same, but it doesn't allow me to edit block H as a controller. Only C and F can be controller. How can I change that?
The characteristic equation is the same but I need the 1 zero at 0 only
Thank you
  2 commentaires
Fangjun Jiang
Fangjun Jiang le 13 Déc 2023
Modifié(e) : Fangjun Jiang le 21 Déc 2023
"The characteristic equation is the same but I need the 1 zero at 0 only"
???
Sam Chak
Sam Chak le 21 Déc 2023
@Nghi, A brief analysis shows that if a PI controller is placed in the feedback loop, the system remains unstable. However, if it is replaced by a PD controller, the compensated system will be stable.
s = tf('s');
%% Rotor dynamics (Plant system)
Gp = 1/s^2
Gp = 1 --- s^2 Continuous-time transfer function.
%% Control gains
Kp = 1;
Ki = 1;
Kd = 2;
%% PI controller
Gc1 = Kp + Ki/s
Gc1 = s + 1 ----- s Continuous-time transfer function.
Gcl = minreal(feedback(Gp, Gc1))
Gcl = s -------------------------- s^3 - 1.11e-16 s^2 + s + 1 Continuous-time transfer function.
step(Gcl, 20), grid on
%% PD controller
Gc2 = Kp + Kd*s
Gc2 = 2 s + 1 Continuous-time transfer function.
Gcl = minreal(feedback(Gp, Gc2))
Gcl = 1 ------------- s^2 + 2 s + 1 Continuous-time transfer function.
step(Gcl, 20), grid on

Connectez-vous pour commenter.

Réponse acceptée

Aiswarya
Aiswarya le 19 Déc 2023
The blocks as such can't be edited but you can have different initial configurations with controlsystemdesigner using the 'sisoinit' function (https://www.mathworks.com/help/control/ref/sisoinit.html). There are a total of 6 configurations where you have different positions for the controllers. You can create a config object and then open the same with controlsystemdesigner:
initconfig = sisoinit(config_num);
controlsystemdesigner(initconfig);
For more information on supported control architectures you may refer to the following resource: https://www.mathworks.com/help/control/ug/feedback-control-architectures.html

Plus de réponses (0)

Tags

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by