Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPU-9250 Roll/Pitch + sEMG ADC #45

Open
dymnz opened this issue May 28, 2018 · 4 comments
Open

MPU-9250 Roll/Pitch + sEMG ADC #45

dymnz opened this issue May 28, 2018 · 4 comments

Comments

@dymnz
Copy link
Owner

dymnz commented May 28, 2018

sEMG ADC

teensy3.2 ADC is 3.3v tolerant


MPU angle

This was referenced May 28, 2018
@dymnz
Copy link
Owner Author

dymnz commented Jun 12, 2018

Calibration value:

    magBias[0] = 126.0  * mRes * magCalibration[0]; // save mag biases in G for main program
    magBias[1] = 33.0   * mRes * magCalibration[1];
    magBias[2] = -86.0  * mRes * magCalibration[2];
    magScale[0] = 1.0286195;
    magScale[1] = 0.983897;
    magScale[2] = 0.98867315;

Fusion rate ~400Hz, Gyro rate 200 Hz (writeByte(MPU9250_ADDRESS, SMPLRT_DIV, 0x04);). Yaw drifts

kriswiner/MPU9250#25 (comment)

  1. insufficient fusion rate--> fusion rate needs to be minimum 4-5x of gyro sample rate, 200 Hz gyro rate means >1 kHz fusion rate

Changed Gyro rate to 100 Hz, Fusion rate ~600Hz. Yaw slow to settle (>10s). May need >1kHz fusion rate @ 200Hz gyro

@dymnz
Copy link
Owner Author

dymnz commented Jun 12, 2018

Not needed for separate FLX/EXT PRO/SUP test

@dymnz dymnz changed the title MPU-9250 Roll/Pitch MPU-9250 Roll/Pitch + sEMG ADC Jul 23, 2018
@dymnz
Copy link
Owner Author

dymnz commented Jul 23, 2018

float GyroMeasError = PI * (10.0f / 180.0f);

  • sEMGx4 + MPUx3 report gyro@250Hz:

    • Fusion rate / report rate: 2500Hz
    • Initial filter settle time: ~15sec
  • sEMGx4 + MPUx3 report gyro@200Hz: <- Default value, currently using

    • Fusion rate / report rate: 2660Hz
    • Initial filter settle time: ~10sec
  • sEMGx4 + MPUx3 report gyro@100Hz:

    • Fusion rate / report rate: 2880Hz
    • Initial filter settle time: ~10sec

@dymnz
Copy link
Owner Author

dymnz commented Jul 30, 2018

Issue

  • Check MPU update rate, jagged angle info for exp_21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant