m Some fixes and more explanation. |
m →Data: Minor fixes |
||
| Line 46: | Line 46: | ||
==Data== | ==Data== | ||
The following Matlab code assembles the above described <math>A</math>, <math>B</math> and <math>C</math> matrix for a given number of modes <math>K</math>. | The following Matlab code assembles the above described <math>A</math>, <math>B</math> and <math>C</math> matrix for a given number of modes <math>K</math>, actuators (inputs) <math>M</math> and sensors (outputs) <math>Q</math>. | ||
<div class="thumbinner" style="width:540px;text-align:left;"> | <div class="thumbinner" style="width:540px;text-align:left;"> | ||
| Line 54: | Line 54: | ||
rand('seed',1009); | rand('seed',1009); | ||
xi = rand(1,K)*0.001; % Sample damping ratio | xi = rand(1,K)*0.001; % Sample damping ratio | ||
omega = rand(1,K)*100; % Sample natural frequencies | omega = rand(1,K)*100.0; % Sample natural frequencies | ||
A_k = cellfun(@(p) sparse([-2.0*p(1)*p(2),-p(2);p(2),0]), ... | A_k = cellfun(@(p) sparse([-2.0*p(1)*p(2),-p(2);p(2),0]), ... | ||
| Line 67: | Line 67: | ||
</source> | </source> | ||
</div> | </div> | ||
==Reference== | ==Reference== | ||
Revision as of 08:12, 12 May 2017
Note: This page has not been verified by our editors.
Description
The flexible space structure benchmark[1] is a procedural modal model which represents structural dynamics with a selectable number actuators and sensors. This model is used for truss structures in space environments i.e. the COFS-1 (Control of Flexible Structures) mast flight experiment.
Model
In modal form the flexible space structure model for modes, actuators and sensors is of second order and given by:
with the parameters (damping ratio), (natural frequency) and using the Hadamard product . The first order representation follows for by:
with the matrices:
and their components:
where and .
Benchmark Specifics
For this benchmark the system matrix is block diagonal and thus chosen to be sparse. The parameters and math>\omega</math> are sampled from a uniform random distributions and respectively. The components of the input matrix are sampled form a uniform random distribution , while the output matrix is sampled from a uniform random distribution completely w.l.o.g, since if the components of are random their scaling can be ignored.
Data
The following Matlab code assembles the above described , and matrix for a given number of modes , actuators (inputs) and sensors (outputs) .
function [A,B,C] = fss(K,M,Q)
rand('seed',1009);
xi = rand(1,K)*0.001; % Sample damping ratio
omega = rand(1,K)*100.0; % Sample natural frequencies
A_k = cellfun(@(p) sparse([-2.0*p(1)*p(2),-p(2);p(2),0]), ...
num2cell([xi;omega],1),'UniformOutput',0);
A = blkdiag(A_k{:});
B = kron(rand(K,M),[1;0]);
C = 10.0*rand(Q,2*K);
end
Reference
- ↑ W. Gawronski and T. Williams, "Model Reduction for Flexible Space Structures", Journal of Guidance 14(1): 68--76, 1991