acaiComputes the degree of controllability (DOC) based on the Availability Control Authority Index, namely ACAI, which is proposed by Guang-Xu Du in [1].
xxxxxxxxxxacai(bf, fmax, fmin, G)xxxxxxxxxxdoc = acai(bf, fmax, fmin, G)Computes the DOC based on ACAI according to the theory and method that are introduced in the paper.
In mathematics, an enclosed space
A new space
In mathematics, the ACAI is essentially the minimum of the nearest distances between the boundary of
x>>> from OpenHA.assessment.attribute import acai, control_allocation>>> import numpy as np
>>> bf = control_allocation(4, 0.28, 0.1)>>> fmax, fmin = 6, 0>>> G = np.array([15, 0, 0, 0]).reshape((-1, 1))>>> acai(bf, fmax, fmin, G)
0.7299473938200366
bf —— An n-by-m matrix, which refers to the linear map from
For the DOC assessment of the quancopter's propulsion system, it is just the 4-by-m control allocation matrix
where
fmax —— The upper bound of each dimension of the space m.
When the upper bounds of all the dimensions of m.
fmin —— The lower bound of each dimension of the space m.
When the lower bounds of all the dimensions of m.
The values of fmin should be no more than fmax.
G —— An point in n.
| Name of the parameters | Is optional? | Source, dialog or input port? |
|---|---|---|
bf | No | Input port |
fmax | No | Input port |
fmin | No | Input port |
G | No | Input port |
[1] G.-X. Du, Q. Quan, B. Yang, and K.-Y. Cai, "Controllability Analysis for Multirotor Helicopter Rotor Degradation and Failure," Journal of Guidance, Control, and Dynamics, vol. 38, no. 5, pp. 978-984, 2015. DOI: 10.2514/1.G000731.