I've bought a generic EUC and found the speed limit to be a bit annoying, still being aware there will be any kind of hardware limitation (battery (voltage drop), motor heat, controller heat). As a software developer being a little into hardware as a hobby I thought it would be great to have the firmware at hand and do any kind of adaptation possible (reading more of this forum also some security aspects like cut off could be tuned). So I questioned myself whether it may be possible to do it ju
Observer for rotor angle estimation seems to be almost fully working :-)
I have this code running (Estimator code were taken from VESC code!!), on each PWM cycle, after the observer calculating the angle: if (angle_degrees > 0 && angle_degrees < 60)
{
GPIO_SetBits(BUZZER__PORT, BUZZER__PIN);
}
else
{
GPIO_ResetBits(BUZZER__PORT, BUZZER__PIN);
}
I put the scoope on a hall sensor signal (motor were running using hall sensors) as seen on next pictures: