Robust control system calculations

In summary, the user attempted to solve a problem involving Covid-19, but did not go to university because of it. They then used tf to create a representation of Gp, which showed that the multiplicative uncertainty weight was 1.
  • #1
Naibos77
3
0
4.JPG
can i solve this problem i didnt go university due to Covid-19
3.JPG
 
Physics news on Phys.org
  • #2
Welcome to PF.

Before we can give you tutorial help, we need to see your attempt at solving this problem. Show us your work.
 
  • #3
okey for problem 1 i wrote this MATLAB code :

1.JPG
2.JPG


clear all;
clc;
% Defining TF
s=tf('s');
G=4/((s-1)*(0.02*s+1)^2);
Gd=100/(10*s+1);

% Weight Selection
M=1.8; wb=20; A=1e-4;
Wp=tf([1/M wb], [1 wb*A]);
Wu=1;

% Hinf Controller Design
[K,CL,gamma]=mixsyn(G,Wp,Wu,[]);

[K_num, K_den] = ss2tf(K.a,K.b,K.c,K.d);

Ks = tf(K_num, K_den);

% Analysis
Gcl = minreal(feedback(G*Ks,1));

figure(1)
step(Gcl)
grid on

L = G*Ks;
S = minreal(1 / (1 + L));
KS = Ks*S;

figure(2)
bodemag(S,'b',KS,'g',gamma/Wp,'b--',ss(gamma/Wu),'g--')
legend('S','KS','gamma/Wp','gamma/Wu','Location','SE')
grid on

%figure(2)
%sigma(S,'b',KS,'g',gamma/Ws,'b--',ss(gamma/Wu),'g--')
%legend('S','KS','gamma/Ws','gamma/Wu','Location','SE')
%grid on

% Second Controller Weights
M2=1.5; wb2=10; A2=1e-4; n = 2;
Wp2 = (s/M2^(1/n) + wb2)^n / (s + wb2*A2^(1/n))^n;
Wu2=1;

% Second Hinf Controller Design
[K2,CL2,gamma2]=mixsyn(G,Wp2,Wu,[]);

[K2_num, K2_den] = ss2tf(K2.a,K2.b,K2.c,K2.d);

K2s = tf(K2_num, K2_den);

% Analysis
G2cl = minreal(feedback(G*K2s,1));

figure(3)
step(Gcl, G2cl)
legend('Design 1', 'Design 2')
grid on

L2 = G*K2s;
S2 = minreal(1 / (1 + L2));
KS2 = K2s*S2;

figure(4)
bodemag(S2,'b',KS2,'g',gamma2/Wp2,'b--',ss(gamma2/Wu2),'g--')
legend('S2','KS2','gamma2/Wp2','gamma2/Wu2','Location','SE')
grid on

figure(5)
bodemag(S,'b',S2,'m',gamma/Wp,'b--',gamma2/Wp2,'m--')
legend('S','S2','gamma/Wp','gamma2/Wp2','Location','SE')
grid on

figure(6)
step(S*Gd, S2*Gd, 2)
legend('Design 1', 'Design 2')
grid on
 
  • #4
for question 2 :
clear all
clcDelta_I = ultidyn('Delta_I', [1 1]);
Delta_I = ultidyn('Delta_I', [1 1]);

G = tf(1,[0.1 1])

G1 = G*tf(1,[.05 1])

G2 = G*tf([-.01 1],[.01 1])

G3 = G*tf(4,[1 2 4])

G4 = G*tf(100,[1 2 100])
array = stack(1,G1,G2,G3,G4);
Garray = frd(array,logspace(-1,3,60));

rel_err = (Garray - G) / G;
figure(1)
bodemag(rel_err)
grid on

% Fitting multiplicative uncertainty weight
[Gp,Info] = ucover(Garray,G,1);

figure(2)
bodemag(rel_err,'b--',Info.W1,'r',{0.1,1000})
grid on

% Multiplicative Uncertainty Weight in tf form
[num_wI den_wI] = ss2tf(Info.W1.a,Info.W1.b,Info.W1.c,Info.W1.d);
wIs = tf(num_wI, den_wI);

% Other representation of Gp
Gp2 = G * (1 + wIs * Delta_I)

relative.JPG
 

1. What is a robust control system calculation?

A robust control system calculation is a mathematical process used to design and analyze control systems that are able to maintain stability and performance despite uncertainties or disturbances in the system.

2. What are the benefits of using robust control system calculations?

Using robust control system calculations allows for more reliable and stable control of a system, even in the presence of uncertainties or disturbances. This can lead to improved performance, increased safety, and reduced downtime.

3. How do you determine the parameters for a robust control system calculation?

The parameters for a robust control system calculation are determined through a combination of theoretical analysis and practical experimentation. This involves identifying the key variables and uncertainties in the system, and then using mathematical techniques to design a controller that can handle these uncertainties.

4. Can robust control system calculations be applied to any type of system?

Yes, robust control system calculations can be applied to a wide range of systems, including mechanical, electrical, and biological systems. However, the specific techniques and methods used may vary depending on the type of system and its unique characteristics.

5. What are some common challenges when implementing robust control system calculations?

Some common challenges when implementing robust control system calculations include accurately modeling the uncertainties in the system, selecting appropriate control strategies, and tuning the controller parameters to achieve desired performance. Additionally, the complexity of the system and the availability of data can also affect the success of the calculation.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
0
Views
807
  • Engineering and Comp Sci Homework Help
Replies
24
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
8
Views
366
  • Engineering and Comp Sci Homework Help
Replies
6
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
830
  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
19
Views
2K
  • General Engineering
Replies
1
Views
414
Back
Top