Vector Guidance methods implemented in Python.
Project description
General Info
This repository implemented Vector Guidance methods for autonomous systems.
Table of Contents
About Vector Guidance
Vector Guidance are 3D optimal control methods for aerial systems.
The guidance laws based on a controller that minimized an finite LQ cost function with form of:
$$ J = |\mathbf{y(t_f)}| + k \int_{t_0}^{t_f} |\mathbf{u(t)}|^2 dt $$
Where:
- $y$ is the Zero-Effort-Miss (ZEM) / Zero-Effort-Velocity (ZEV) variable.
- $k$ is weight on the integration part of the cost.
- $u$ is the controller.
- $t_0$ is the initial time and $t_f$ is the final time.
Because the controller that minimized the LQ cost function is unbound, we define the maximum acceleration of the system as $u_m$, such that:
$|\mathbf{u}| \leq u_m$ while $t_0 \leq t \leq t_f$
Note: The value of $u_m$ is determine by the physical properties of the system (eg. thrusters saturations, aerodynamical constants)
Install:
pip install pyvectorguidance
Usage
from VectorGuidance import VectorGuidance
r = np.random.rand(3) * np.random.uniform(40, 60, size=1)
v = np.random.rand(3) * np.random.uniform(5, 15, size=1)
rho_w = 9.81
rho_u = 15
gz = 9.81
tgo = VectorGuidance.interception_tgo_bounded(r, v, rho_u, rho_w)
u = VectorGuidance.interception_controller_bounded(r, v, rho_u, tgo, gz)
References
-
S. Gutman and S. Rubinsky, "3D-nonlinear vector guidance and exo-atmospheric interception," in IEEE Transactions on Aerospace and Electronic Systems, vol. 51, no. 4, pp. 3014-3022, Oct. 2015, doi: 10.1109/TAES.2015.140204.
-
Gutman, S. (2019). Exoatmospheric Interception via Linear Quadratic Optimization. Journal of Guidance, Control, and Dynamics.
-
S. Gutman, "Rendezvous and Soft Landing in Closed Form via LQ Optimization," 2019 27th Mediterranean Conference on Control and Automation (MED), Akko, Israel, 2019, pp. 536-540, doi: 10.1109/MED.2019.8798572.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyvectorguidance-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6746e8581ca812b5471cddf19a9bd42adb0380eb1289d9604f820139c6b9e94 |
|
MD5 | 2cebabce84d03674ec333966fc930dfa |
|
BLAKE2b-256 | 6459f715b65e23aa3c0fc3ff245d6473e9b0dd5003e3594b09b04faf02b7841d |