summaryrefslogtreecommitdiffstats
path: root/uav_params.m
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2024-05-14 17:54:05 +0200
committerNao Pross <np@0hm.ch>2024-05-14 17:54:32 +0200
commit956a5bab88ac0a505b16d131e600c6f1a1afdbac (patch)
tree482e613fa65bd7a2f188b6f0871c74ca90f7242b /uav_params.m
parentImplement DK iteration (diff)
downloaduav-956a5bab88ac0a505b16d131e600c6f1a1afdbac.tar.gz
uav-956a5bab88ac0a505b16d131e600c6f1a1afdbac.zip
Fix DK iteration scales, add realistic values
also separate performance requirements from hinf and musyn
Diffstat (limited to 'uav_params.m')
-rw-r--r--uav_params.m10
1 files changed, 8 insertions, 2 deletions
diff --git a/uav_params.m b/uav_params.m
index da8a19b..a1c0e4a 100644
--- a/uav_params.m
+++ b/uav_params.m
@@ -11,6 +11,7 @@ function [params] = uav_params()
% Time in s
% Frequencies in Hz
% Angular velocities in rad / s
+% Uncertainty / measurement errors in percentage (between 0 and 1)
params = struct();
@@ -44,7 +45,8 @@ params.mechanical = struct(...
'DuctHeight', 171e-3, ...
'FlapZDistance', 98e-3, ... % flap distance along z from center of mass
'InertiaTensor', J, ...
- 'GyroscopicInertiaZ', J_prop ... % assume small angle
+ 'GyroscopicInertiaZ', J_prop, ... % assume small angle
+ 'GyroscopicInertiaZUncertainty', .01 ... % in %
);
% ------------------------------------------------------------------------
@@ -84,9 +86,13 @@ k_T = F_max / omega_max^2;
% https://scienceworld.wolfram.com/physics/LiftCoefficient.html
params.aerodynamics = struct(...
'ThrustOmegaProp', k_T, ... % in s^2 / (rad * N)
+ 'ThrustOmegaPropUncertainty', .05, ... % in %
'FlapArea', 23e-3 * 10e-3, ... % in m^2
+ 'FlapAreaUncertainty', .01, ... % in %
'DragCoefficients', [1, .1], ... % TODO
- 'LiftCoefficient', 2 * pi ... % TODO
+ 'DragCoefficientsUncertainties', [.1, .1], ... % in %
+ 'LiftCoefficient', 2 * pi, ... % TODO
+ 'LiftCoefficientUncertainty', .1 ...% in %
);