Aerospace Blockset |
 |
3D Controller [A(v),B(v),C(v),D(v)]
Implement a gain-scheduled state-space controller depending on three scheduling parameters
Library
GNC
Description

The 3D Controller [A(v),B(v),C(v),D(v)] block implements a gain-scheduled state-space controller as defined by the equations
where v is a vector of parameters over which A, B, C, and D are defined. This type of controller scheduling assumes that the matrices A, B, C, and D vary smoothly as a function of v, which is often the case in aerospace applications.
Dialog Box

- A-matrix(v1,v2,v3)
- A-matrix of the state-space implementation. In the case of 3D scheduling, the A-matrix should have five dimensions, the last three corresponding to scheduling variables v1, v2, and v3. Hence, for example, if the A-matrix corresponding to the first entry of v1, the first entry of v2, and the first entry of v3 is the identity matrix, then A(:,:,1,1,1) = [1 0 0;0 1 0; 0 0 1];.
- B-matrix(v1,v2,v3)
- B-matrix of the state-space implementation. In the case of 3D scheduling, the B-matrix should have five dimensions, the last three corresponding to scheduling variables v1, v2, and v3. Hence, for example, if the B-matrix corresponding to the first entry of v1, the first entry of v2, and the first entry of v3 is the identity matrix, then B(:,:,1,1,1) = [1 0;0 1];.
- C-matrix(v1,v2,v3)
- C-matrix of the state-space implementation. In the case of 3D scheduling, the C-matrix should have five dimensions, the last three corresponding to scheduling variables v1, v2, and v3. Hence, for example, if the C-matrix corresponding to the first entry of v1, the first entry of v2, and the first entry of v3 is the identity matrix, then C(:,:,1,1,1) = [1 0;0 1];.
- D-matrix(v1,v2,v3)
- D-matrix of the state-space implementation. In the case of 3D scheduling, the D-matrix should have five dimensions, the last three corresponding to scheduling variables v1, v2, and v3. Hence, for example, if the D-matrix corresponding to the first entry of v1, the first entry of v2, and the first entry of v3 is the identity matrix, then D(:,:,1,1,1) = [1 0;0 1];.
- First scheduling variable (v1) breakpoints
- Vector of the breakpoints for the first scheduling variable. The length of v1 should be same as the size of the third dimension of A, B, C, and D.
- Second scheduling variable (v2) breakpoints
- Vector of the breakpoints for the second scheduling variable. The length of v2 should be same as the size of the fourth dimension of A, B, C, and D.
- Third scheduling variable (v3) breakpoints
- Vector of the breakpoints for the third scheduling variable. The length of v3 should be same as the size of the fifth dimension of A, B, C, and D.
- Initial state, x_initial
- Vector of initial states for the controller, i.e., initial values for the state vector, x. It should have length equal to the size of the first dimension of A.
Inputs and Outputs
The first input is the measurements.
The second, third and fourth inputs are the scheduling variables ordered conforming to the dimensions of the state-space matrices.
The output is the actuator demands.
Assumptions and Limitations
If the scheduling parameter input to the block goes out of range, then it is clipped; i.e., the state-space matrices are not interpolated out of range.
Examples
See the autopilot in the aeroblk_HL20.mdl
demo for an example of this block.
See Also
1D Controller [A(v),B(v),C(v),D(v)]
2D Controller [A(v),B(v),C(v),D(v)]
3D Observer Form [A(v),B(v),C(v),F(v),H(v)]
3D Self-Conditioned [A(v),B(v),C(v),D(v)]
| 2D Self-Conditioned [A(v),B(v),C(v),D(v)] | | 3D Observer Form [A(v),B(v),C(v),F(v),H(v)] |  |