Flight Pack Capacity

openTx has introduced a range of new features, ideas and bling. It is fast becoming the firmware of choice for many users. openTx will run on ALL current hardware platforms, including the gruvin9x and sky9x boards. Work has already started to support the new FrSky X9D radio!
Post Reply
JayPi01
Posts: 14
Joined: Mon Jan 02, 2012 8:52 am
Country: -

Flight Pack Capacity

Post by JayPi01 »

Today I flashed my 9x (frsky mod) with the latest open9x (1195). Then I created a new model, went to the telemetry config screen and configured A1 with range 40.0A, no offset. At UsrData: Proto None and Current A1. After I powered my receiver (D4FR) on with around 4.6V the telemetry display of the tx showed at A1 14.1A. What is very strange is that the calculated capacity sums up very fast. It took for around 1000mAh only 1min what means A1 should read around 60A. Another strange thing is that when I went to the telemetry config screen (rx still on) and configured display to only show A1 -> back to telemetry screen to show A1 -> back to telemetry config screen and disconfigured display to only show A1 -> back to to telemetry screen the reading of the calculated capacity is very slow. Now it took more then 8min for 1000mAh. After I turned the tx off and on again the reading of the calculated capacity is again very fast. Am I doing something completely wrong?

Joerg

gbirkus
Posts: 97
Joined: Sat Jan 07, 2012 4:15 pm
Country: -

Re: Flight Pack Capacity

Post by gbirkus »

what is your current sensor type?
JayPi01
Posts: 14
Joined: Mon Jan 02, 2012 8:52 am
Country: -

Re: Flight Pack Capacity

Post by JayPi01 »

gbirkus wrote:what is your current sensor type?
type is 'none' so current is proportional to measured A1 voltage.
gbirkus
Posts: 97
Joined: Sat Jan 07, 2012 4:15 pm
Country: -

Re: Flight Pack Capacity

Post by gbirkus »

ok. i only have fas-100 sensor. But later i try to do some test with volt sensor connected to A1 and setting it up like current sensor.
bdw: A1 need to have voltage from 0-3.3 Volts. If it is used like current what voltage output is on sensor when 0Amp is consumed? 0 or 1.65 V ?
JayPi01
Posts: 14
Joined: Mon Jan 02, 2012 8:52 am
Country: -

Re: Flight Pack Capacity

Post by JayPi01 »

gbirkus wrote:bdw: A1 need to have voltage from 0-3.3 Volts. If it is used like current what voltage output is on sensor when 0Amp is consumed? 0 or 1.65 V ?
for a first test I only measured receiver battery voltage which is divided over the internal voltage divider. later I will use this sensor:
http://www.flytron.com/osd-headtrackers ... ensor.html
it will output 0V to 5V (have to build a voltage divider).

gbirkus
Posts: 97
Joined: Sat Jan 07, 2012 4:15 pm
Country: -

Re: Flight Pack Capacity

Post by gbirkus »

hmm now i see that you use D4RF - there is only RX voltage telemetry value.
if you would like to measure consumed Flight Pack Capacity you must have telemetry for pack voltage and pack current.

For test purposes I tried it with my D8R where A1 is internal voltage sensor (i don't have two external sensors) and A2 external voltage sensor
In open9x telemetry screen I set up A1 channel range and offset to see real A1 voltage (5V on RX) (this is only test then i don't measure battery voltage)
A2 channel set range to 12.6 (3Slipo) now i see 11 volts of my discharged battery. Change on A2 Range v to A (voltage to Ampere)
Now on UsrData section, set Proto to None, Voltage to A1, Current to A2
now on telemetry I see A1=5V, A2=11A, power 550W and consumption still growing mAh.

This is only for test purposes I used two voltage sensors where one of them is configured like current sensor in open9x.
You must have receiver with external A1 and A2 telemetry inputs. (in case you use 2Slipo without BEC it is theoretically enough A1internal and A2external)
or use Hub with current and voltage sensors connected to data port of receiver.

Gabriel
User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Flight Pack Capacity

Post by Kilrah »

gbirkus wrote:if you would like to measure consumed Flight Pack Capacity you must have telemetry for pack voltage and pack current.
Not at all, used capacity only needs current. Voltage is only needed for power calculation.

It seems the bug where scaling is wrong if the current source is A1/A2 is back though:
I see A1=5V, A2=11A, power 550W and consumption still growing mAh.
5V * 11A is 55W, not 550 ;)
Now how fast were mAh counting? Might be 10x too fast too.
JayPi01
Posts: 14
Joined: Mon Jan 02, 2012 8:52 am
Country: -

Re: Flight Pack Capacity

Post by JayPi01 »

gbirkus wrote:hmm now i see that you use D4RF - there is only RX voltage telemetry value.
at rcgroups are some hacks to modify the D4FR for external voltage ;)
gbirkus wrote:now on telemetry I see A1=5V, A2=11A, power 550W and consumption still growing mAh.
yes, that is ok - but how fast do the mAh grow? for my current reading it grows MUCH to fast. for a reading of
14.1A it should show after 1min around 235mAh and not 1000mAh...
if you want to test it it should show around 183mAh after 1min at 11A or am I wrong ?
gbirkus
Posts: 97
Joined: Sat Jan 07, 2012 4:15 pm
Country: -

Re: Flight Pack Capacity

Post by gbirkus »

sure it was 55W i write it after lunch :) and for consumption it's enough only current sensor.
ok i will do test of the speed later.
gbirkus
Posts: 97
Joined: Sat Jan 07, 2012 4:15 pm
Country: -

Re: Flight Pack Capacity

Post by gbirkus »

it is a bug 550W is shown. vhen A1=5V A2=11A
if FAS-100 is used for volts and amperes 55W is shown.
gbirkus
Posts: 97
Joined: Sat Jan 07, 2012 4:15 pm
Country: -

Re: Flight Pack Capacity

Post by gbirkus »

JayPi01 wrote: 14.1A it should show after 1min around 235mAh and not 1000mAh...
if you want to test it it should show around 183mAh after 1min at 11A or am I wrong ?
235mAh(minute) x 60 minutes = 14100mAh(hours) it is 14.1A then it is ok!
for consumption my test on A1/A2 and FAS/FAS looks same 11A current, 1min consumption cca 190mAminute what is 11400mAh
1A current , 1min consumption 16mAminute, 60 times 960mAh cca 1A
JayPi01
Posts: 14
Joined: Mon Jan 02, 2012 8:52 am
Country: -

Re: Flight Pack Capacity

Post by JayPi01 »

gbirkus wrote: 235mAh(minute) x 60 minutes = 14100mAh(hours) it is 14.1A then it is ok!
yes, that is correct. but my tx shows 1000mAh not 235 mAh at 14.1A. :?
User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Flight Pack Capacity

Post by Kilrah »

Hmm, might be on something...

What are the options you selected for the firmware in c9x preferences (your hex file name will do)?
JayPi01
Posts: 14
Joined: Mon Jan 02, 2012 8:52 am
Country: -

Re: Flight Pack Capacity

Post by JayPi01 »

that is my firmware:

open9x-stock-frsky-nosplash-nofp-potscroll-autoswitch-en.hex
bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: Flight Pack Capacity

Post by bertrand35 »

But there is no audio here Kilrah! So it's not the same issue than #95, this one has been fixed by Gabriel, am I right?
Bertrand.
User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Flight Pack Capacity

Post by Kilrah »

Nope, which is why I asked, hadn't seen the answer yet ;)

And no, this is not linked to what Gabriel fixed. He fixed power display, I confirmed that was working, but this is about mAh. I could confirm that A2 as current source was badly scaled, in my case by about 2.2x. But then JayPi01 apparently has an error of approx 4x...
gbirkus
Posts: 97
Joined: Sat Jan 07, 2012 4:15 pm
Country: -

Re: Flight Pack Capacity

Post by gbirkus »

Yes, the consumption in mAh is the original issue.
but it seems everyone has different scaling issue. in my case there is only 1.2x

Gabriel
JayPi01
Posts: 14
Joined: Mon Jan 02, 2012 8:52 am
Country: -

Re: Flight Pack Capacity

Post by JayPi01 »

same issue with open9x-r1336 :(
at 15A it took only 1min for 1000mAh. this is around 4x to fast.
Attachments
IMG_20120903_095528.jpg
bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: Flight Pack Capacity

Post by bertrand35 »

JayPi01 wrote:same issue with open9x-r1336 :(
at 15A it took only 1min for 1000mAh. this is around 4x to fast.
Which settings do you have on A1?
Bertrand.
bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: Flight Pack Capacity

Post by bertrand35 »

bertrand35 wrote:
JayPi01 wrote:same issue with open9x-r1336 :(
at 15A it took only 1min for 1000mAh. this is around 4x to fast.
Which settings do you have on A1?
Bertrand.
I have found, it should be fixed on SVN now. I will wait for some tests and release again.
Bertrand.
gbirkus
Posts: 97
Joined: Sat Jan 07, 2012 4:15 pm
Country: -

Re: Flight Pack Capacity

Post by gbirkus »

Now it is ok.
A1=15A consumption=250mAminute
A2=1A consumption=16mAminute
bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: Flight Pack Capacity

Post by bertrand35 »

Excellent, then I will release tonight. For ersky9x users there should be the CPU consumption + its alarm available.
Bertrand.
JayPi01
Posts: 14
Joined: Mon Jan 02, 2012 8:52 am
Country: -

Re: Flight Pack Capacity

Post by JayPi01 »

bertrand, thank you for the very fast fixing of the issue. will there be an new 'official' release or should i download via svn and compile myself?
joerg
bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: Flight Pack Capacity

Post by bertrand35 »

We didn't release yesterday because of an electric problem on the compilation server farm. We will hopefully release tonight.
Bertrand.

Post Reply

Return to “openTx”