Atmosphere and gravity modelling for CrazyFlie2

Discussions and questions about the Crazyflie Nano Quadcopter
Post Reply
Posts: 22
Joined: Fri Jan 19, 2018 10:35 pm

Atmosphere and gravity modelling for CrazyFlie2

Post by Astrobiologist » Sat Feb 10, 2018 1:00 pm

Does the Crazyflie have an atmospheric model as part of its control algorithms?

For instance, it has a barometer, so is ambient air pressure taken into account?

If the air pressure is 1020mBar one day and 980 the next day, then presumably the propellers have to compensate by a factor of 980/1020 to achieve the same lift in less dense air.
Does the Crazyflie actually do this?

A colleague asked me how far one could take such an argument, which got us into considering how propellers work at all, which is way beyond my knowledge base.

How much air do the CrazyFlie's propellers suck in per second, and to what speed do they accelerate it?
I.e in F=MA, what is M and what is A?

My colleague was asking what the absolute theoretical maximum altitude ceiling of the Crazyflie is, and how this would be calculated (and by extension, any other helicopter system)
She wanted a stratospheric drone, which I said seemed impossible, but I couldn't articulate mathematically why.

Finally, is gravity taken into account in the control algorithms?
As an extension of the above, could a drone fly on, say, Mars, even for short periods?
(much less dense air, but lower gravity)
One could, for instance, try flying a Crazyflie in an astronaut training aircraft at varying levels of gravity (a plane flying parabolic loops can simulate different gravities, not just weightlessness)

Thanks in advance

Posts: 1425
Joined: Tue Feb 06, 2007 12:36 pm

Re: Atmosphere and gravity modelling for CrazyFlie2

Post by arnaud » Mon Feb 12, 2018 3:02 pm


This is way over my competences so I hope someone in the community can help with the theory. Though I can comment about the current implementation: the current implementation of the thrust estimation is based on an investigation we did and that has been done by universities, for example in the ETH system identification. It is not at all taking into account the current atmospheric pressure and I was assuming the effect would be negligible.

The Kalman filter, used with the LPS and the flow deck, has a parameter for the gravity. I have a memory of adding some drag modelisation in the Kalman filter since it was found to be not negligible, though I cannot find it anymore.

Post Reply