Drone Motor Control – 12/28/2020 – PID control

Implemented a PID loop to hold the motor level.

I experimented with values for the PID coefficients. I was satisfied after seeing a proper rise time and seeing the drone motor flying stably level. I believe I could improve smoothness by averaging the accelerometer values. Also, I could make 2 separate states with different coefficients, one to quickly accelerate the motor PWM before the motor turns (from 0%-~40% duty cycle), then to continue rising slowly and in a controlled way to maintain a stable and level condition. Already knowing this, I will contemplate future goals for this project.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s