6D Sensor Fusion Algorithm Problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

6D Sensor Fusion Algorithm Problem

2,672 Views
tmctwo
Contributor I

Hi all,

I did some tests with NXP Sensor Fusion Library on my custom hardware. The library works pretty well under most conditions. But when I move the board forward and backward in less than 1 sec - periodically to test the behaviour under vibration (especially the board in a diagonal position to the surface), sometimes I see abrupt changes at output. Please find attached the pictures. In the pictures, the blue line is output from NXP fusion library; the red line is output from a commercial inclinometer. The output from NXP lib. somewhat goes to a point  far away from real position. In other cases it tracks the red line closely. I tested my custom hardware with another algorithm to verify it; I had no problem with it.

I used NXP 6D Acc+Gyro algorithm for testing. The NXP lib fusion rate and sensor sampling rate is 200Hz. I also tried with 400Hz sampling rate but no change. May a software defect exist which cause incorrect output in the NXP Sensor Fusion algorithm?

Labels (1)
0 Kudos
0 Replies
%3CLINGO-SUB%20id%3D%22lingo-sub-836106%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E6D%20Sensor%20Fusion%20Algorithm%20Problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-836106%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EI%20did%20some%20tests%26nbsp%3Bwith%20NXP%20Sensor%20Fusion%20Library%20on%20my%20custom%20hardware.%26nbsp%3BThe%20library%20works%20pretty%20well%20under%20most%20conditions.%20But%20when%20I%20move%20the%20board%20forward%20and%20backward%20in%20less%20than%201%20sec%20-%20periodically%20to%20test%20the%20behaviour%20under%20vibration%20(especially%20the%20board%20in%20a%20diagonal%20position%20to%20the%20surface)%2C%20sometimes%20I%20see%20abrupt%20changes%20at%20output.%20Please%20find%20attached%20the%20pictures.%20In%20the%20pictures%2C%20the%20blue%20line%20is%20output%20from%20NXP%20fusion%20library%3B%20the%20red%20line%20is%20output%20from%20a%20commercial%20inclinometer.%20The%20output%20from%20NXP%20lib.%20somewhat%20goes%20to%20a%20point%26nbsp%3B%20far%20away%20from%20real%20position.%20In%20other%20cases%20it%20tracks%20the%20red%20line%20closely.%20I%20tested%20my%20custom%20hardware%20with%20another%20algorithm%20to%20verify%20it%3B%20I%20had%20no%20problem%20with%20it.%3C%2FP%3E%3CP%3EI%20used%20NXP%206D%20Acc%2BGyro%20algorithm%20for%20testing.%20The%20NXP%20lib%20fusion%20rate%20and%20sensor%20sampling%20rate%20is%20200Hz.%20I%20also%20tried%20with%20400Hz%20sampling%20rate%20but%20no%20change.%20May%20a%20software%20defect%20exist%20which%20cause%26nbsp%3Bincorrect%26nbsp%3Boutput%20in%20the%20NXP%20Sensor%20Fusion%20algorithm%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-836106%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3ESensorFusion%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E