Skip to content
Snippets Groups Projects
Commit 67119a21 authored by JuanPi Carbajal's avatar JuanPi Carbajal
Browse files

sandbox:maxon motor model: fix bug in conversion from rpm to rad/s

parent 9788cb2c
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ function [T W Tg Wg] = maxonRE50_model (V, I, gear = [])
dndM = 0.638; # Speed-Torque gradient [rpm/mNm].
fT = (1/1e3); # conversion factor mNm --> Nm
fW = (2*pi / 1) * (60 / 1); # conversion factor rpm --> rad/s
fW = (2*pi / 1) * (1 / 60); # conversion factor rpm --> rad/s
# Results.
# See: https://www.maxonmotor.ch/medias/sys_master/8802918137886/maxon-Formelsammlung-de.pdf (German)
......@@ -68,7 +68,7 @@ endfunction
%! [T W] = maxonRE50_model (V, I);
%!
%! figure (1);
%! plot (T * 1e3, W /2/pi/60, '-k','linewidth', 2);
%! plot (T * 1e3, W /2/pi * 60, '-k','linewidth', 2);
%! grid on
%! axis tight
%! xlabel ("Torque M [mNm]")
......@@ -82,7 +82,7 @@ endfunction
%! gear_GP52 = struct ('ratio', 4.3, 'efficiency', 0.91);
%! [T W Tg Wg] = maxonRE50_model (V, I, gear_GP52);
%! figure (1);
%! plot (Tg * 1e3, Wg /2/pi/60, '-k','linewidth', 2);
%! plot (Tg * 1e3, Wg /2/pi * 60, '-k','linewidth', 2);
%! grid on
%! axis tight
%! xlabel ("Torque M [mNm]")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment