state feedback control and observer
Mostra commenti meno recenti
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;
Risposta accettata
Più risposte (2)
Oguz Kaan Hancioglu
il 3 Apr 2023
Spostato: Sabin
il 4 Apr 2023
0 voti
You can follow this tutorial,
Anish Mitra
il 5 Giu 2026 alle 19:47
0 voti
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));
Categorie
Scopri di più su State-Space Control Design in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

