Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to realize a multiloop system in matlab?

조회 수: 1 (최근 30일)
AMMU NANDAKUMAR
AMMU NANDAKUMAR 2018년 11월 21일
마감: MATLAB Answer Bot 2021년 8월 20일
I have designed a state feedback controller for a system with 2 inputs and 3 outputs. Each of the 3 states are fed back to one of the inputs with different gains. How to realise this MIMO system.

답변 (1개)

Aquatris
Aquatris 2018년 11월 21일
Find below a simple example;
A = rand(3); % random system A matrix
B = rand(3,2); % random input B matrix
C = eye(3); % state feedback
sys = ss(A,B,C,D); % open loop system x_dot = Ax+Bu
% y = Cx
K = lqr(sys,eye(3)*1e5,eye(2)); % simple controller via LQR method, u = -Kx
sysCL = feedback(sys*K,eye(3)); % closed loop system from 3 state reference to 3 state output
In the future, be more specific on which part you are struggling with and what you have done so far, inwhich case the answers would be a lot more beneficial for you.

Community Treasure Hunt

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

Start Hunting!

Translated by