[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Successful flights with total energy control loops

From: Gerard Toonstra
Subject: Re: [Paparazzi-devel] Successful flights with total energy control loops !
Date: Thu, 27 Sep 2012 20:24:34 -0300

If I'm not mistaken, the energy here refers to the total sum of potential energy (altitude) and kinetic energy (velocity).
Knowing your plane data, you can figure out what a desired energy sum should be in a given context and then figure out what the
current energy sum is by measuring airspeed and altitude. This allows you to use the throttle to increase or decrease energy.
The pitch is then a "command" that allows you to exchange kinetic energy for potential energy or vice versa.

My intention is to use the EzOSD current sensor. This has a chip underneath the sensor that does all the nasty work for you.
It measures the voltage and the current,  which is all you need (it does mAh consumed too) and you get that through i2c.
You then need to configure the capacity of the packs you're flying with in paparazzi.

Figuring out the (filtered) current and voltage over some time delta establishes the power used by the plane.

The configured capacity is a guideline. The measured voltage is like a slider indicator over the capacity configured
and estimates how much of that capacity is left. The rest is figuring out ground speed, the flying time left based on
the capacity left and then deriving the distance that can still be flown on those estimates.


On Thu, Sep 27, 2012 at 5:58 PM, Tilman Baumann <address@hidden> wrote:
On 25/09/12 10:51, Christophe De Wagter wrote:
Has anyone been flying master fixedwing on a stm32 board?

You can add:

<define name="VoltageOfAdc(x)" value="0*(x)+12.4" />

The unit is wrong. I get 1.2V

Anyway, is there really no better way? I would not want to fly without battery monitoring.
And I mean, what is the point in flying in energy control mode, if the energy can not be measured?

And also, my Spektrum receiver seemed to have stopped working. I have not dug around alot with that. Can't blame it on master quite yet.
The RC fields in telemetry are static.


Paparazzi-devel mailing list

Gerard Toonstra

reply via email to

[Prev in Thread] Current Thread [Next in Thread]