Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [magnetometer]

A magnetometer is an instrument that measures magnetism—either magnetization of magnetic material like a ferromagnet, or the strength and, in some cases, direction of the magnetic field at a point in space

0
votes
1answer
22 views

How to add a magnetometer in an Extended Kalman filter for innovation update?

I can't find out the response so I am posting here. My post kind of follow this one : Adding magnetic field vector to a Kalman filter but I already know that I don't have to put the magnetometer in a ...
3
votes
1answer
44 views

Noisy magnetometer data

I’m looking to develop an AHRS for which I’m using a magnetometer to correct for heading errors. I wanted to check that the magnetometer I'm using is functioning to the level of accuracy (+- 1 degree) ...
2
votes
0answers
61 views

Magnetometer Calibration

I'm looking at using a magnetometer in a project and I'm struggling to understand the proper procedure for calibration of the sensor. I understand that magnetometers need to be calibrated to ...
0
votes
1answer
30 views

Orientation from magnetometer data

I saw lot of topics with the same title but answers are different. I have a magnetometer in my phone which give me the components of magnetic field in direction of X, Y, Z. If my phone lays on a ...
1
vote
1answer
23 views

Can a mu-metal enclosed compass measure the earth's field?

I am thinking about using a combination of mu-metal, a faraday cage, and spacial separation to reduce magnetic interference from a brushless motor on a compass sensor. The compass will be used to ...
2
votes
2answers
52 views

Practicality of using magnetometer inside AUV

I have an AUV with a 12 inch diameter, 29 inch long capsule. Inside the capsule sits an Intel NUC computer, an NVIDIA Jetson GPU, an Arduino Mega, a Sparton IMU (9 DOF) as well as a custom voltage ...
0
votes
2answers
189 views

How would i implement position and heading readings into my SLAM system?

I am trying to build a low-cost SLAM system with an MPU-6050 and GY-271 (magnetometer). Currently, i have a robot with an Arduino that collects the sensor data and a Raspberry Pi that (hopefully) will ...
2
votes
2answers
4k views

Kalman Filter GPS + IMU

I know this probably has been asked a thousand times but I'm trying to integrate a GPS + Imu (which has a gyro, acc, and magnetometer) with an Extended kalman filter to get a better localization in my ...
0
votes
1answer
417 views

Adding magnetic field vector to a Kalman filter

I currently have an error state Kalman filter with the state vector $(p, v, q, \omega, a, g)$ where $q$ is the quaternion orientation. I would like to add the information coming from a magnetometer to ...
2
votes
0answers
339 views

How to properly calibrate a magnetometer in IMU for precise yaw?

EDIT: Moved to ElectricalEngineering StackExchange Community I'm using Sparkfun Razor IMU 9DOF sensor which incorporates accelerometer, gyroscope, and magnetometer, for giving the Euler's angles (yaw,...
1
vote
1answer
527 views

What are the specifications of the digital compass used in iPhone 6S

What are the specifications of the digital compass used in the iPhone 6S? I am trying to measure yaw angle using the magnetometer. I observed the magnetometer/digital compass in the iPhone is really ...
0
votes
0answers
230 views

Compass sensor for robot

What's an appropriate compass sensor to use on a robot? There are a ton of cheap digital compass sensors, and I was thinking of using an MPU9250 combined accel/gyro/magnetometer as a compass, but I'm ...
3
votes
2answers
437 views

Quadcopter heading calculation

I'm working on an autonomous quad copter, I have two GPS co-ordinates (source and destination co-ordinates). I need to move my quad from the source to the destination, for this I need to calculate the ...
6
votes
3answers
4k views

Why would a drone need a magnetometer? Are an accelerometer and a gyroscope not sufficient?

Why would a drone need a magnetometer? What would the drone do with this information? I think it would be to tell direction, but why would it need this if it has an accelerometer and a gyroscope?
4
votes
2answers
843 views

Is there a way to measure 3 axis orientation without a magnetometer?

I have bought an STM iNEMO evaluation board in order to monitor the inclination of a separate magnetic sensor array as it moves in a linear scan outside of a (non-magnetic) stainless steel pipe. I ...
2
votes
2answers
146 views

Weird magnetometer values

I bought a 3-axis magnetometer (Similar to this one ) And plugged into an Arduino in order to read the heading value. I mounted it on my robot and I drove with the robot for around 30 meters, turned ...
2
votes
1answer
762 views

Robot wire follower + how to position on wire

I'm designing my lawn mower robot, and I am in the perimeter stage. The electronic part is done, and works quite good, now comes the software. I need an advice on how to deal with the problem of ...
1
vote
3answers
752 views

Sensor orientation of an external magnetometer [closed]

On many drones are already external magnetometers. Unfortunately, the orientation of such sensors is sometimes unknown. E.g. the sensor can be tilted 180° (pitch/roll) or X° in yaw. I was wondering, ...
2
votes
2answers
418 views

Axis of rotation via IMU

Using an IMU (gyro, accelerometer and magnetometer), as found in most smartphones, can I detect the differences between tilting the device, say forward, along different (parallel) axis positions? To ...
1
vote
1answer
138 views

FreeIMU External Magnetometer

I have been using the FreeIMU library successfully but now I want to add an external magnetometer that I can mount away from my motors. I've figured out how to modify the FreeIMU library to use an ...
1
vote
1answer
58 views

3-axis Magnetometer Question

Apologies if this is a stupid question, but if I have a 3-axis magnetometer, and I calculate the vector magnitude as sqrt(magX * magX + magY * magY + magZ * magZ) ...
1
vote
1answer
2k views

3D Magnetometer calibration algorithm

I want to calibrate my compass, which is installed on a board which inherits a GPS module. Because the GPS antenna is up-side-down the compass is 180° inverted. The easiest way to correct the problem ...
3
votes
1answer
979 views

Tilt-compensated compass - at my wits' end

I'm a bit at my wits' end here - I'm trying to build a tilt compensated compass for my autonomous sailboat (ardusailor!). I'm using an InvenSense MPU9150. Originally, I used the built-in fusion ...
6
votes
1answer
9k views

How to determine the parameter of a Complementary Filter?

I know that the Complementary Filter has the functions of both LPF and HPF. But I think my understanding on the principal behind it is still unclear. I am quite new on digital signal processing, and ...
7
votes
1answer
6k views

How are units of noise measurement related to units of a sensor's data measurement?

I'm trying to understand how noise is represented for accelerometers, gyroscopes, and magnetometers so that I can match the requirements of my project with the standard specs of these sensors. I ...