Power spectral density unit conversion

67 ビュー (過去 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 Center および File ExchangeParametric Spectral Estimation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by