Page 1 of 1

BMC Acceleration with inconsistent values

Posted: Wed 21. Feb 2024, 17:37
by bittencourtpedro
Hi Peak support,

I'm having some problems reading the acceleration values ​​from my PCAN-GPS.

I'm using BUSMASTER to read the data:
Image
Acceleration_X and Acceleration_Y seems ok (around 50mG and -40mG), but Acceleration_Z returns a unexpected high value (PCAN-GPS isn't moving) around 900mG.

I tried sending a bit over can on 0x657 (Acc_StartFastCalib), and then the raw data started ranging around -1 and 1 (decimal, for X, Y and Z), sometimes -3~3, which seems correct:
Image
But once i reboot the module, the old values return.

So my question is: what is the correct procedure for calibration and what values should I expect to see when the module isn't moving.

Thanks,
Pedro

Re: BMC Acceleration with inconsistent values

Posted: Wed 21. Feb 2024, 20:57
by PEAK-Support
Please check the manual and the documentation of the default sample firmware (source code is also available)
Depending how the module is placed, you measure the 1G of the earth gravity on the Axis.
You could store a compensation value in the Eeprom.
See source code and manual how to do via a CAN Message.