Power spectral density unit conversion

조회 수: 46 (최근 30일)
Nguyen Trieu
Nguyen Trieu 2020년 4월 17일
편집: Nguyen Trieu 2020년 4월 21일
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.

채택된 답변

Devineni Aslesha
Devineni Aslesha 2020년 4월 20일
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
Nguyen Trieu
Nguyen Trieu 2020년 4월 21일
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 2020년 4월 21일
편집: Nguyen Trieu 2020년 4월 21일
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');

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Parametric Spectral Estimation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by