state feedback control and observer
古いコメントを表示
Can you explain how to design a state feedback control and an observer for a DC motor with the following specifications? If you could provide instructions for both MATLAB and Simulink, I would greatly appreciate it.
Rs = 0.47;
Ld = 1.23e-3;
B = 0.0002;
Kb = 0.42;
Kt = 0.73;
J = 6.5e-4;
% Second-order State Matrix
A1 = [-B/J Kt/J;
-Kb/Lq -Rs/Lq];
B1 = [0;
1/Lq];
C1 = [1 0];
D1 = 0;
採用された回答
その他の回答 (2 件)
Oguz Kaan Hancioglu
2023 年 4 月 3 日
移動済み: Sabin
2023 年 4 月 4 日
0 投票
You can follow this tutorial,
Anish Mitra
2026 年 6 月 5 日 19:47
0 投票
The pole placement design has been illustrated well in the above answer.
Adding an alternate design technique here, of using linear quadratic control where you set up cost functions to balance state regulation or tracking with control effort.
% Parameters
Rs = 0.47;
Lq = 1.23e-3;
B = 0.0002;
Kb = 0.42;
Kt = 0.73;
J = 6.5e-4;
% State-space Matrices of the Uncompensated Plant
A = [-B/J Kt/J;
-Kb/Lq -Rs/Lq];
B = [0;
1/Lq];
C = [1 0];
D = 0;
plant = ss(A,B,C,D);
% LQG
nx = 2; % Number of states
ny = 1; % Number of outputs
Qn = 0.1*eye(nx); % Process noise
Rn = 0.1*eye(ny); % Measurement noise
QWV = blkdiag(Qn,Rn);
Q = eye(nx); % Weights for state
R = eye(ny); % Weights for output
QXU = blkdiag(Q,R);
QI = 5*eye(ny); % Weights for integral of tracking error
C = lqg(plant,QXU,QWV,QI,'1dof'); % Compute controller
% Plot closed loop step response
figure;
sp = stepplot(feedback(C*plant,1));
カテゴリ
ヘルプ センター および File Exchange で State-Space Control Design についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

