Where:
where:
where:
Estimated parameters:
Friction terms:
where:
and
where:
Given initial conditions:
where:
Estimated values of unmodeled dynamics:
Adaptive sliding surface definition
Given control law:
such that:
The update of estimated parameters:
therefore:
Used limited output integrators in the arm model to be between $$ -pi $$ and $$ +pi $$.
Used a small regularization term:
epsilon = 1e-6; % Small regularization term
H_reg = H + epsilon * eye(size(H));
H_inv = inv(H_reg);
In addition to using pseudoinverse if matrix is close to singular or badly scaled.
Implemented an algorithm to detect NaN
and inf
values, by using these replacements:
nan_replacement = eps; % A very small positive number
inf_replacement = realmax; % The largest positive floating-point number