[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/bbcode.php on line 112: 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 - Help understanding something about the Kalman filter

Help understanding something about the Kalman filter

Static, Dynamic, Log File Analysis, Troubleshooting

Help understanding something about the Kalman filter

Postby Debian » Sat May 07, 2016 7:10 am

Hi guys,
I'm struggling right now, to understand why my copter sometime behaves incorrectly. It seems to go in 'divergence' and I have to switch immediately to manual mode to regain control over the copter.
At the very beginning I thought that that could be a problem with the GPS. Could be that sometime it gets some not valid information from satellites and get crazy. So I took a look at the log files and found something that I cannot really explain.

Look at the picture here:

In blue is the GPS height and marked in green is the estimation from the Kalman Filter (POSD) also the vertical position of the copter. They should match but it seems that during the progagation calculation the Kalman filter divergence a little bit and than converge after some time. The spikes on the picture are the calculated estimated of the altitude. It seems to me that the process noise of the system not really match what has been programmed in the code.

So I have few question for you experts :geek:
1) Are the spikes above a problem? Or could be the cause of the rapid loosing altitude of the copter?
2) Is there any possibility to change the process noise of the Kalman filter in the code, without recompiling it?
3) Do you experiment sometime the same thing?
Last edited by Debian on Sat May 07, 2016 12:18 pm, edited 1 time in total.
Debian
 
Posts: 9
Joined: Wed Aug 12, 2015 3:20 pm

Re: Help understanding the Kalman filter

Postby Debian » Sat May 07, 2016 7:12 am

I forgot to say that I have an AQ6. Gyros and Accs are digital.
Debian
 
Posts: 9
Joined: Wed Aug 12, 2015 3:20 pm

Re: Help understanding the Kalman filter

Postby Max » Sat May 07, 2016 7:45 am

Max
 
Posts: 2814
Joined: Mon Aug 13, 2012 9:45 pm
Location: Near Ithaca, NY, USA

Re: Help understanding something about the Kalman filter

Postby Debian » Sat May 07, 2016 12:26 pm

Yeah, you are right. I didn't give too many informations about that. That's because I have the impression, that if you put too much information in an email, then other people feel overwehlmed and don't read carefully what I mean. So I prefer a "small-step" approach. I give not too many details at first because I want to understand the concept and then slowly I add some more informations.

Yes, I meant the parameters: GPS_HEIGHT and UKF_POSD.
I must confess I changed the PID values a little bit. Now I m abroad for working, but I m going to put the default parameters in the copter and check again the log-files again. I'm going to do that in the next weeks.

Anyway thanks for your advice. That that spikes are not normal, it is obviuos to me. But as automation engineer I know that those things come up if the process noise (the covariant matrix) too much differs from the modelled system. For this reason I asked if it is possible to change such parameters
Debian
 
Posts: 9
Joined: Wed Aug 12, 2015 3:20 pm


Return to Calibration

Who is online

Users browsing this forum: No registered users and 6 guests

cron