Memuat
Memuat
State-Space LQR Controller for Acoustics and Audio
0 views
Derive LQR feedback gains that balance state error and control effort in active vibration damping of an acoustic panel. LQR designs a state feedback gain that minimises a quadratic cost on state deviation and control effort. It suits multivariable systems with a state-space model, such as pendulums, suspensions, or aircraft.

Derive LQR feedback gains that balance state error and control effort in active vibration damping of an acoustic panel.
| Role | Variable | Unit |
|---|---|---|
| Main | Panel vibration | mm/detik |
| Supporting 1 | Actuator force | N |
| Supporting 2 | Panel mass | kg |
The LQR controller (K1=1.45, K2=1.65) settles Panel vibration within a 2% band in 2.9 s with a peak control effort of 1.45 on Panel mass and total cost J=4.46.
Computed from illustrative synthetic data, not from a real study.
LQR designs a state feedback gain that minimises a quadratic cost on state deviation and control effort. It suits multivariable systems with a state-space model, such as pendulums, suspensions, or aircraft.
Report Q, R, the gain K, closed-loop poles, and state and control responses. Explain the effect of changing Q and R on response speed and control signal size.
A short starting script with this project's variable names. The delivered version is adapted to your data and fully commented.
A = [0 1; -2 -0.5];
B = [0; 1];
C = eye(2);
D = zeros(2, 1);
sys = ss(A, B, C, D);
fprintf('Controllability rank: %d\n', rank(ctrb(A, B)));
actuator_force = [1; 0]; % initial state
t = 0:0.01:10;
figure; hold on;
for rr = [0.1 1 10]
Q = diag([10 1]);
R = rr;
K = lqr(A, B, Q, R);
Acl = A - B*K;
syscl = ss(Acl, zeros(2,1), C, zeros(2,1));
[panel_vibration, tt, x] = initial(syscl, actuator_force, t);
u = -(K * x')';
fprintf('R=%g K=[%.3f %.3f] poles: %s\n', rr, K, mat2str(eig(Acl), 3));
subplot(2,1,1); hold on; plot(tt, x(:,1), 'DisplayName', sprintf('R=%g', rr));
subplot(2,1,2); hold on; plot(tt, u, 'DisplayName', sprintf('R=%g', rr));
end
subplot(2,1,1); ylabel('Position'); legend show; grid on;
subplot(2,1,2); ylabel('Control u'); xlabel('Time (s)'); grid on;Choose how much help you need. Each higher package includes everything in the lower ones. Prices exclude 11% VAT.
Package 1
US$34
excl. 11% VAT
Duration: 7 working days
Output: MATLAB files + result figures
Deliverables
Package 2 · most chosen
US$97
excl. 11% VAT
Duration: 13 working days
Output: Code + analysis + interpretation notes
Includes all of Package 1, plus
Package 3
US$209
excl. 11% VAT
Duration: 18-21 working days
Output: Code + analysis + guidance until ready to present
Includes all of Packages 1 & 2, plus
Yes. State-Space LQR Controller is commonly used at this level in Acoustics and Audio. We adapt the analysis to your research question, your own data and your supervisor's requirements.
No. The sheet is computed from illustrative synthetic data so you can see the kind of output MATLAB gives. For your order we run the same method on your own data.
That is the point of the packages. Every script is commented, and Package 3 includes two coaching sessions plus practice questions so you can explain the method and the results at your seminar and defence.
Each project has three packages: Package 1 (code and explanation) US$34, Package 2 (your data analysis and interpretation) US$97 and Package 3 (full guidance) US$209, excluding 11% VAT. Larger datasets, extra methods or tight deadlines adjust the quote after a short consultation.
The result sheet uses illustrative synthetic data. MATLAB is a trademark of The MathWorks, Inc.
Back to MATLAB portfolio