[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4792: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4793: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
AutoQuad Forum • View topic - Please help alt/pos hold tuning

Please help alt/pos hold tuning

The last Bastion to fine tune your FC matching your airframe & setup

Please help alt/pos hold tuning

Postby HeliHenkie » Sun Feb 03, 2013 12:47 pm

Hi all,

After weeks of trying I finally succeeded getting RTH to work as it should.
In the end it appeared I was using the wrong switch combination ........... my problems had nothing to do with my setup.
Great performance, my quadcopter cuts through the air like a warm knife through butter. No overshoot, just back to home pos.

But now I'm focusing on alt/pos hold. I just don't seem to be following the right tuning procedure.
My mag and acc and gyro data are relatively clean, so it should be able to work.
When I engage alt/pos hold my quadcopter hold altitude for about 3-5 seconds and then slowly starts to drop for a meter.
Sometimes it recovers, but most of the time it descends till it touches the ground.

These are my PID settings.

nav_alt.JPG
nav_alt.JPG (44.81 KiB) Viewed 7961 times


Any suggestions how to proceed?

Best regards,

Jan Willem
HeliHenkie
 
Posts: 93
Joined: Wed Oct 24, 2012 5:33 pm

Re: Please help alt/pos hold tuning

Postby chschmid » Sun Feb 03, 2013 1:15 pm

I have the same issue. What I found is that alt_speed_I might be too low.
Thats what I try when the weather allows it.
chschmid
 
Posts: 1800
Joined: Wed Jul 11, 2012 7:41 pm
Location: Herrliberg, Switzerland

Re: Please help alt/pos hold tuning

Postby LPR » Sun Feb 03, 2013 3:12 pm

Jan

I had the same problem. Steve told me it's most likely a small correction in the accelerometer adjustment is needed.
I found you can get a fairly good altitude hold be just increasing the navi alt position P. As you increase the P you should increase navi alt position "I" or you will not get the quad hit the same altitude ever time.
Edit
On the quad I'm using P = .7, I = 4.
The octo I use P = .4, I = 2.

Larry
Last edited by LPR on Mon Feb 04, 2013 3:48 am, edited 1 time in total.
LPR
 
Posts: 1323
Joined: Tue Jun 26, 2012 1:29 pm
Location: MN, USA

Re: Please help alt/pos hold tuning

Postby plexus » Sun Feb 03, 2013 7:21 pm

I had that at the beginning. I reduced the speed I. See mine parameters.
download/file.php?id=1425&mode=view

But before that, you must see at which value is the throttle for the hold position. It must be tuned at 700 (adjusted by factor trotlle) because switching
to manual, the flaps down, the craft can jump to the sky if too high or go down if too low.
The dead band of 40, on my opinion, is a little bit too short, 50 seems better to adjust the hold position.
I think you known all that, sorry if I disturb you.
plexus
 
Posts: 534
Joined: Tue Jul 03, 2012 3:30 pm
Location: South of France

Re: Please help alt/pos hold tuning

Postby LPR » Mon Feb 04, 2013 3:59 am

plexus

I have my throttle set to spring to center on the DX8 Spectrum. The spectrum DX8 throttle can be set to spring to the center by just using a small screw driver. Now I always know the throttle is centered. It works really well and is not hard to get use to.

Larry
LPR
 
Posts: 1323
Joined: Tue Jun 26, 2012 1:29 pm
Location: MN, USA

Re: Please help alt/pos hold tuning

Postby plexus » Mon Feb 04, 2013 11:19 am

Ok LPR , but in flight when the craft is hovering, have you read the value of the throttle in the QGC "chart log viewer"
Have you seen that post:
viewtopic.php?f=27&t=539&start=10

to resume:
If hover is 400 , and factor throttle 0.7, hover must be at 700.
to get 700:
400/700x0.7= 0.4
700/700x0.4= 0.4 ( factor throttle in special setting QGC, stick channel 0, mot_throttle)

The value must be a little bit adjusted.
plexus
 
Posts: 534
Joined: Tue Jul 03, 2012 3:30 pm
Location: South of France


Return to PID Tuning

Who is online

Users browsing this forum: No registered users and 9 guests

cron