Fixed bug

PI controller integrator is now working correctly.
This commit is contained in:
EmanuelFeru
2020-10-20 17:47:32 +02:00
parent f0b1c85465
commit d5b1086d2e
297 changed files with 172054 additions and 137539 deletions

View File

@@ -134,7 +134,7 @@ Vq_max_M1 = sqrt(Vd_max^2 - Vq_max_XA.^2); % Circle limitations look-
% stairs(Vq_max_XA, Vq_max_M1); legend('V_{max}');
% Speed limitations
n_max = 1500; % [rpm] Maximum motor speed: [-1500, 1500]
n_max = 1000; % [rpm] Maximum motor speed: [-1500, 1500]
% Current Limitations
i_max = 15; % [A] Maximum allowed motor current (continuous)