Sensors
Last updated
Last updated
Reading of the 3D digital angular rate sensor, the 3D digital magnetic sensor and temperature sensor is performed by I2C bus. Data received from sensor are in raw value, and to get the actual measurement, conversion is required.
Magnetic sensor calibration should be performed in a magnetic-neutral environment, for example in a park. IGRF-12 model is used to get a vector magnitude of the reference magnetic field in a given location. Raw data from the sensor is gathered while the sensor is being rotated in every axis. Then the data is processed to calculate matrix A and vector o. To achieve calibration parameters, minimalization of the goal function is performed. The figure bellow shows calibration results, where red points are raw data and green points are calibrated measurements.
There are three temperature sensors in the payload. The first is built into the microcontroller and provides information about its temperature. The other is on the IMU circuit board and measures the temperature on the gyroscope and magnetometer chip. The third is near F.R.W. and monitors the temperature of the electromagnets.
All the sensors require simple conversion of raw value with a linear equation. Coefficients of that equation are obtained by performing linear regression on reference measurements.
Calibration was performed using a climate chamber. The temperature range for the regression is from -20°C to 50°C.
Based on the measured temperatures, linear regression coefficients were determined for all sensors.
The determined coefficients were introduced into the temperature determination software.
Angular rate sensor calibration is performed on a rotating platform. The speed of the platform is constant, known and can be changed. First, the platform has no angular velocity. Raw measurements are collected and based on them, linear translation is calculated. Then the platform is accelerated to given various constant rotation velocities and raw measurements are collected once again. Based on them, the scale factor is calculated.
Sensor
Interface
Microcontroller temperature sensor
Analog to digital converter
IMU temperature sensor
Inter-Integrated Circuit (I2C)
F.R.W. temperature sensor
Serial Peripheral Interface (SPI)
Regresion results
tk
t0
ucTemp
0,93216
7,88081
tempIMU
0,05858
30,73653
tempFRW
0,98121
-2,00320