Close

Motor thrust mapping

A project log for LollyDrone

The most affordable open source nano quadcopter platform to empower drone-based STEM education.

tharindu-suraj-chathurangaTharindu Suraj Chathuranga 08/23/2021 at 03:510 Comments

The thrust-voltage curve of coreless motors is not linear. Therefore directly applying PWM values from the PID controller cause problems in the stabilization system. To overcome this a mapping function is implemented by fitting a quadratic polynomial to the thrust-voltage curve and calculating coefficients.

The sudden start of all 4 motors causes a drop in the supply voltage levels which results in the atmega328 reset. To avoid that, a slow start function is used which increases the thrust from 0 to the base thrust level within 500ms.

Following is a testing video after adding the thrust mapping function.










Discussions