06-07-2021 03:40 PM
I want to read Roll-pitch-yaw information from 6 Dof IMU. I'm trying to find the roll-pitch-yaw information by reading the raw acceleration information in the IMU and converting it to degrees. But I have a problem. The information I read is unevenly biased. It does not give a fixed angle in place.I don't know exactly if filtering is necessary. The angles I read do not stand still. A vibration of 20-40 degrees occurs.
I have read many articles but I couldn't find a solution to this in labview, if anyone has any idea about this, please help
Every opinion given is valuable.
06-07-2021 05:46 PM
Hello, again.
So I have a few questions about what you are doing, and what you are trying to do. First, as I understand it, a 6DOF IMU has three linear accelerometers (usually called X, Y, and Z) and three angular accelerometers, which I presume measure rotation about three orthogonal axes, maybe even the afore-mentioned X, Y, and Z.
When one deals with 3D rotations, conventions are very important. One usually assumes that X, Y, and Z are orthogonal, and form a Right-hand Coordinate System. I generally make Z "Up", X "out the nose", and Y "out the left ear".
So rotations: Again, with the Right-Hand Rule, Yaw becomes "rotate about the +Z Axis" (or "look to the left", Pitch becomes "rotate about the +Y Axis" (or "look down"), and Roll becomes "rotate about the +X Axis" (or "tilt your head to the right").
The problem with Rotations is several fold -- one is that they don't Commute (a Roll followed by a Pitch does not give you the same result as a Pitch followed by a Roll, whereas a Translation in X followed by Translation in Y gets you to the same place if you do the Translations in the opposite order).
When you describe the readings from your IMU, you mention "vibration" of 20° to 40° -- is this a measurement from the gyros? You also use the phrase "unevenly biased" -- inexpensive accelerometers (and, probably, even expensive ones!) often report a Bias and Gain setting, sometimes noting that the actual Bias and Gain can vary by ±10% of the published specs.
Are you interested in the final "static position" of the IMU (with respect to Gravity, as that's the only reference point when there is no rotation)? Or are you interested in tracking the 3D translation and rotation of your IMU (which gets much more complicated)?
Bob Schor
06-08-2021 01:30 AM - edited 06-08-2021 01:36 AM
hello Mr Bob_Schor,
First of all, to answer your questions;
So I have a few questions about what you are doing, and what you are trying to do. First, as I understand it, a 6DOF IMU has three linear accelerometers (usually called X, Y, and Z) and three angular accelerometers, which I presume measure rotation about three orthogonal axes, maybe even the afore-mentioned X, Y, and Z.
When one deals with 3D rotations, conventions are very important. One usually assumes that X, Y, and Z are orthogonal, and form a Right-hand Coordinate System. I generally make Z "Up", X "out the nose", and Y "out the left ear".
So rotations: Again, with the Right-Hand Rule, Yaw becomes "rotate about the +Z Axis" (or "look to the left", Pitch becomes "rotate about the +Y Axis" (or "look down"), and Roll becomes "rotate about the +X Axis" (or "tilt your head to the right").
-yes.I'm trying to read X,Y,Z information in this way.
The problem with Rotations is several fold -- one is that they don't Commute (a Roll followed by a Pitch does not give you the same result as a Pitch followed by a Roll, whereas a Translation in X followed by Translation in Y gets you to the same place if you do the Translations in the opposite order).-I don't quite understand what you want to say here.
When you describe the readings from your IMU, you mention "vibration" of 20° to 40° -- is this a measurement from the gyros? -no,I am just reading information from accelerometer not gyroscope.
You also use the phrase "unevenly biased" -- inexpensive accelerometers (and, probably, even expensive ones!) often report a Bias and Gain setting, sometimes noting that the actual Bias and Gain can vary by ±10% of the published specs.
IMU features I use
Gyroscopes
-Bias Stability: ≤0.05°/s
-X Axis Accuracy: 7°/s
-Y/Z Axis Accuracy: 0.05°/s
accelerometers
-Bias Stability: ≤0.05g
-Accuracy: ±0.5g
Are you interested in the final "static position" of the IMU (with respect to Gravity, as that's the only reference point when there is no rotation)? Or are you interested in tracking the 3D translation and rotation of your IMU (which gets much more complicated)?
-I want to get the 3D rotation angles of the IMU. I want to get pitch, yaw, roll information.
Are you interested in the final "static position" of the IMU (with respect to Gravity, as that's the only reference point when there is no rotation)? Or are you interested in tracking the 3D translation and rotation of your IMU (which gets much more complicated)?
-You're talking about it being too complicated here. I've already realized its complexity :)-But I need to find a solution. Even when standing still I am reading a Degree fluctuating wildly between -20...0...20 or 90...70...50 etc.
This is not normal. I don't know if this error occurs because I just read the information on the accelerometer. I am still researching how to get pitch, yaw, roll information using Accel and Gyrosun information integrated.
thanks in advance for your help.
06-08-2021 06:23 AM
Something is very wrong here. Can you do the following "experiment" --
Here's what I would expect (assuming you are not in an active earthquake zone):
Here's what I mean by rotations being "problematic". Suppose I say that the Chip says that there is a linear acceleration of -1 g along the X axis, and ask "What Y/P/R produced this?". One answer is "I looked up 90°", which is a Pitch rotation. But another way "to get there" (don't try this!) is to Yaw 90° (looking over the left shoulder and then to Roll 90° (right-shoulder down), again bringing the nose up.
Bob Schor
06-08-2021 10:17 AM - edited 06-08-2021 10:18 AM
06-08-2021 11:43 AM
After I changed the TTL converter, I started to get faster and more accurate information. I felt the need to share the raw measurement data again. But still the problem is not solved.
These data are raw data.
06-09-2021 07:05 AM
Is it normal for the Axis values to change this much even if the IMU remains constant? The values are huge. I don't think it should change that much. Because the raw data of different Imulereins don't have that much displacement I guess. It outputs like a big noise, so I don't know if the filtering will work. Is there anyone who can help with this?
06-09-2021 07:19 AM
@constructionworker wrote:
Is it normal for the Axis values to change this much even if the IMU remains constant? The values are huge. I don't think it should change that much. Because the raw data of different Imulereins don't have that much displacement I guess. It outputs like a big noise, so I don't know if the filtering will work. Is there anyone who can help with this?
Use a shock absorbing mount. You can almost watch people walking around the lab bench in your data!
06-09-2021 09:01 AM
hi,JÞB
Thanks for your answer and suggestion, but I put the product on the desktop, it still gives an output like this. There is nothing on the desktop that can cause movement, vibration or shock.
06-09-2021 10:27 AM
@constructionworker wrote:
hi,JÞB
Thanks for your answer and suggestion, but I put the product on the desktop, it still gives an output like this. There is nothing on the desktop that can cause movement, vibration or shock.
The desktop is potentially even more unstable than your lab bench! The desktop may not have anything on it that would cause that, but everything around it can certainly cause the vibrations to run up through the desk legs and into your measurement!