Power spectral density unit conversion

63 vues (au cours des 30 derniers jours)
Nguyen Trieu
Nguyen Trieu le 17 Avr 2020
Modifié(e) : Nguyen Trieu le 21 Avr 2020
Hello,
Is there a quick way to convert the Noise Power Spectral Density of the accelerometer from 300µg/√Hz to m/s^2 as an acceleration unit?
Thanks.

Réponse acceptée

Devineni Aslesha
Devineni Aslesha le 20 Avr 2020
To convert the Noise Power Spectral Density of the accelerometer as an acceleration unit, see the code below.
psd = 300*1e-6;
w = 2*pi*f; % f is in Hz
psdToAcc = psd*sqrt(w); % Converting psd to acceleration unit 'g'
gTomps2 = convacc(psdToAcc,'G''s','m/s^2');
For more information, refer the following link.
  2 commentaires
Nguyen Trieu
Nguyen Trieu le 21 Avr 2020
I am trying to examinate how the fusion function works with the example "Estimating Orientation Using Inertial Sensor Fusion and MPU-9250" and not be able to figure out this one part of the code where the noise of the acceleration is assigned to the value of: 0.0061m/s^2.
% GyroscopeNoise and AccelerometerNoise is determined from datasheet.
GyroscopeNoiseMPU9250 = 3.0462e-06; % GyroscopeNoise (variance value) in units of rad/s
AccelerometerNoiseMPU9250 = 0.0061; % AccelerometerNoise(variance value)in units of m/s^2
viewer = HelperOrientationViewer('Title',{'AHRS Filter'});
FUSE = ahrsfilter('SampleRate',imu.SampleRate, 'GyroscopeNoise',GyroscopeNoiseMPU9250,'AccelerometerNoise',AccelerometerNoiseMPU9250);
stopTimer
I have tried to look through the datasheet of MPU-9250 and wondering wheter or not the Noise Power Spectral Density with the value of 300µg/√Hz to be converted into the 0.0061m/s^2 above? I have tried to work with 300µg/√Hz with the code you have suggested but it doesn't return the value of 0.0061m/s^2 as above.
Nguyen Trieu
Nguyen Trieu le 21 Avr 2020
Modifié(e) : Nguyen Trieu le 21 Avr 2020
The script I used is:
psd = 300*1e-6;
w = 2*pi*10; % f is in Hz(I believe it is 10 Hz according to the MPU-9250 datasheet).
psdToAcc = psd*sqrt(w); % Converting psd to acceleration unit 'g'
gTomps2 = convacc(psdToAcc,'G''s','m/s^2');

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Parametric Spectral Estimation dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by