EEVblog Electronics Community Forum
A Free & Open Forum For Electronics Enthusiasts & Professionals
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
This topic
This board
Entire forum
Google
Bing
Home
Help
Search
About us
Links
Login
Register
EEVblog Electronics Community Forum
»
Electronics
»
Microcontrollers
»
measuring angle with gyro+acc ?
« previous
next »
Print
Search
Pages: [
1
]
Go Down
Author
Topic: measuring angle with gyro+acc ? (Read 1631 times)
0 Members and 1 Guest are viewing this topic.
koray692
Contributor
Posts: 13
measuring angle with gyro+acc ?
«
on:
April 01, 2016, 06:33:15 am »
hello friends I am working to apply second order complamantary filter my imu but I couldnt know it works enough well or not I take a video which shows the two angle in the lcd first row shows with filter result and below one is shows just accelometer results.how can ? know the this system work well or not ?
// k=15 , ACI_ACCx=angle of acc ACI_GYROx=angle of gyro dtc2=0,01
x1 = ( ACI_ACCx - x_angle2C)*k*k;
y1 = dtc2*x1 + y1;
x2 = y1 + ( ACI_ACCx - x_angle2C)*2*k + ACI_GYROx;
x_angle2C = dtc2*x2 + x_angle2C;
video :
https://drive.google.com/file/d/0B2zny8J1mP-cWGxMMTBkaWNYNDg/view?usp=sharing
Logged
legacy
Super Contributor
!
Posts: 4415
Country:
Re: measuring angle with gyro+acc ?
«
Reply #1 on:
April 01, 2016, 07:24:05 am »
I used two accelerometers in quadrature in order to measure the angle
I have never used a gyroscope, and I do not understand your equation
Logged
koray692
Contributor
Posts: 13
Re: measuring angle with gyro+acc ?
«
Reply #2 on:
April 01, 2016, 07:58:04 am »
how did you handle with vibrations noises ? accelometer is very sensitive to vibrations
Logged
legacy
Super Contributor
!
Posts: 4415
Country:
Re: measuring angle with gyro+acc ?
«
Reply #3 on:
April 01, 2016, 09:48:47 am »
it's windowed, since I need a statical value, slowly variable
Logged
Print
Search
Pages: [
1
]
Go Up
« previous
next »
Share me
Smf
EEVblog Electronics Community Forum
»
Electronics
»
Microcontrollers
»
measuring angle with gyro+acc ?
There was an error while thanking
Thanking...
EEVblog Main Site
EEVblog on Youtube
EEVblog on Twitter
EEVblog on Facebook
EEVblog on Odysee