LibrePilot Forum

General Category => General Discussion => Topic started by: funtimegrandpa on March 29, 2016, 07:01:42 pm

Title: REVO CC3D Alt Hold
Post by: funtimegrandpa on March 29, 2016, 07:01:42 pm
Ok,  I have my new revo board installed on my Eachine 250 Racer and everything is working well.  I had some issues with figuring out how to get alt hold to work, but this is what did it.  First you cannot power up in the flight mode that has Altitude setup.  So take off in other than that mode and get to a hover,  then flip to your Altitude Hold mode and things seem to work out good.   I am going to take it over later to where I fly and see how it works real time :-)     

Thanks again,    Grandpa Jake
Title: Re: REVO CC3D Alt Hold
Post by: f5soh on March 29, 2016, 07:25:59 pm
That a normal arming behavior.

https://librepilot.atlassian.net/wiki/display/LPDOC/Altitude+Hold#AltitudeHold-Howtouse

"Revo" or "Revo CC3D" doesn't exist, just Chinese marketing.
There is CC3D boards and Revolution boards
Title: Re: REVO CC3D Alt Hold
Post by: Mateusz on March 29, 2016, 07:28:54 pm

If none above helps, god have mercy on you, check one more time all above ;)

Title: Re: REVO CC3D Alt Hold
Post by: funtimegrandpa on March 29, 2016, 10:04:45 pm
Ok you made me Laugh :-)    thanks I am going to look at all you said,  but I think I have most things worked out,  a true flight in my open flying area will tell.   I found that I take off in a non alt hold mode,  I switched to the alt hold and seems to be working.  How accurate it is I wont know till later.   But if it is off I will follow some of what you wrote.   Thanks again for the help and the laugh from your last remark :-)

Title: Re: REVO CC3D Alt Hold
Post by: soulreaper on March 30, 2016, 04:52:24 am
I was wondering if i can use alt hold mode without a gps hooked up?.   I'm not interested in rth at the moment.   Thinking about buying a revo just for alt hold.
Title: Re: REVO CC3D Alt Hold
Post by: Mateusz on March 30, 2016, 08:14:26 am
Altitude hold, Altitude vario on thrust with Complementary YES, it uses baro to maintaing height. Position hold no, that is a flight mode using all sensors including gps, mag and baro. Baros alone normally are accurate +-14cm but they are not very precise meaning rang of +-14cm can go up and down depending on the noise. Noise is average 0.5m on good revo, on bad clone it is way more chech wiki how to fix that if it happens you have bad cappacitor on yours.

Other considerations affecting altitude hold are vibrations, no case or transparent one, bad foam, chech my post above.
Title: Re: REVO CC3D Alt Hold
Post by: soulreaper on March 30, 2016, 09:53:52 am
Thank you. ........
Title: Re: REVO CC3D Alt Hold
Post by: funtimegrandpa on March 31, 2016, 12:58:49 am
I went out today to test things and if flew fairly well.   the alt hold worked good until I started to move around,  then it would change a lot up and down,   I could not fly low because it would one time move up and another down.   Any suggestions?   I am going to still check the things you listed,  but did not know if there was something I could try adjusting awhile
Title: Re: REVO CC3D Alt Hold
Post by: Mateusz on March 31, 2016, 11:36:32 am
Hi,

How about recording raw baro measurements or checking them on scopes via oplink ?

If you have big jumps in baro read-outs it could be wind blowing while you move.

Other things to consider
Title: Re: REVO CC3D Alt Hold
Post by: TheOtherCliff on March 31, 2016, 05:13:19 pm
simple random higher and lower can be caused by light hitting the tiny rectangular metal baro sensor.  it must be covered so that light can't hit it.

strong quick, random jumps up (I use ALtitude Vario instead of Hold and I am forced to use zero throttle or switch modes) can be caused by not enough foam covering the baro sensor, or even a bad FC placement that always gets wind from props

slow (several to 10's of seconds) rhythmic vertical oscillations can be caused by too much foam (or too tightly compressed) on baro sensor.
Title: Re: REVO CC3D Alt Hold
Post by: funtimegrandpa on March 31, 2016, 08:36:40 pm
I am new to the CC3D and Librepilot so if I ask something stupid just guide me so I can learn better.    I am trying to find  oplink  so I can see what is going on.    I did go to the Scopes on LibrePilot but do not see anything for the Barometer   I will post a copy of what I am seeing.  Not sure where to get the screen for the Barometer?

Title: Re: REVO CC3D Alt Hold
Post by: funtimegrandpa on March 31, 2016, 08:44:47 pm
Hi,

How about recording raw baro measurements or checking them on scopes via oplink ?

If you have big jumps in baro read-outs it could be wind blowing while you move.

Other things to consider
  • Tune vertical PIDs for your copter, maybe default are not good for your build
  • Try to reduce vibrations (different mounting/foam tape/accel filtering)
     where do I get oplink
Title: Re: REVO CC3D Alt Hold
Post by: hwh on March 31, 2016, 08:59:43 pm
To get the baro scope I usually get rid of the flight time one in the lower right corner.  Do window->edit gadgets mode.  In the header for that scope that appears change scope uptimes to scope barometer.  Then turn off edit gadgets mode if you want.

You can then right click on where it says BaroSensor.Pressure, chose options, and reconfigure it if you want.

You can buy an oplink on eBay, banggood, aliexpress, etc.  They're usually around $20 with shipping.
Title: Re: REVO CC3D Alt Hold
Post by: funtimegrandpa on March 31, 2016, 09:41:36 pm
Ok starting to make a little sense now :-)    Here is what I see on the graph now,  does this show anything?    My CC3D does have foam over the sensor and is in a tinted plastic case.   As for air coming in the only area I see this happening is where the Pins connect to the ESC's   

Thanks again for all this help
Title: Re: REVO CC3D Alt Hold
Post by: hwh on March 31, 2016, 10:19:20 pm
That's pretty much a normal baro, it's varying less than a meter.   It's about the same as the one on my mini-revo The bad ones jump up and down several meters.

I've never tried it but if you're concerned with wind affecting it you could try blowing across the revo as it's mounted while watching the scope. 
Title: Re: REVO CC3D Alt Hold
Post by: funtimegrandpa on March 31, 2016, 10:41:17 pm
I will try that,    I did cover up the area where the esc's plug in,  then I just went outside over my driveway,  went up about 5 ft and switched to altitude vario and it held,  but then would drift down almost to the ground and then drift up.   I have the controller mounted on some vibration absorption gel so I am not sure what else to adjust or try.   This is my first time with a Revo controller and 250  so Maybe this is normal to move up and down like that?   But I will try anything suggested hoping to get it more accurate.   
Title: Re: REVO CC3D Alt Hold
Post by: funtimegrandpa on March 31, 2016, 10:42:46 pm
Wanted to mention that graph was with it sitting on my table.  I don't have wireless setup
Title: Re: REVO CC3D Alt Hold
Post by: Mateusz on April 01, 2016, 04:32:36 pm
Does setting Configuration->Stabilization->Altitude Hold  Velocity Integral to 20 help anything ? A friend had to change velocity proportional 12 and velocity 14 to get better result, on a very powerful quad. Be careful test on your own risk in empty area :)
And if you find values that helped, please write!
Title: Re: REVO CC3D Alt Hold
Post by: liftbag on April 01, 2016, 05:08:52 pm
I happened on several occasions to seek a good Altitude Vario tuning, but the corrections are always being ugly, whatever parameter I've changed.
The only parameter I never touched was Velocity Integral, because of this tooltip.

(http://imageshack.com/a/img921/8889/qmwSYd.png)

But I had ugly oscillations and corrections.
OpenPilot used 20 as a default, so I decided to try, and it works.
Using TxPID to tune all the altitude hold setting, I get very good results with my powerful revo equipped micro racer.

These are my actual settings that make Altitude vario similar to naza.

(http://imageshack.com/a/img922/7637/OFOmxE.png)
Title: Re: REVO CC3D Alt Hold
Post by: funtimegrandpa on April 01, 2016, 06:19:46 pm
My setting were way different so I am putting yours in and going to give it a try.  Thanks
Title: Re: REVO CC3D Alt Hold
Post by: funtimegrandpa on April 04, 2016, 01:01:01 am
My setting were way different so I am putting yours in and going to give it a try.  Thanks
     Wanted to tell you that I made all the changes and matched your settings.  Went out today and it flew so much better.   Thanks again,  I feel much better now about changing to the Revo

Title: Re: REVO CC3D Alt Hold
Post by: funtimegrandpa on April 04, 2016, 01:21:04 am
My setting were way different so I am putting yours in and going to give it a try.  Thanks
    One question,  you said you left Altitude Vario  at 20   but I see 14 on the screen you posted,   should I change that?
Title: Re: REVO CC3D Alt Hold
Post by: liftbag on April 04, 2016, 08:00:03 am
My setting were way different so I am putting yours in and going to give it a try.  Thanks
    One question,  you said you left Altitude Vario  at 20   but I see 14 on the screen you posted,   should I change that?
I think 20 should be a good starting point. 14 is the results of a TxPID session where I feel the best behavior.