Matlab program Least squares analysis -- 2

Job ID: 30846430

Budget: $250 – $750 USD

PROJECT: Matlab Least Squares Analysis Program:

Project Scope:
I require a Matlab program to calculate a least squares fit solution for the calibration of a 3 component magnetic fluxgate. The magnetic fluxgate instrument measures three components of the total magnetic field X, Y, Z . These three components are very close to true orthogonal components, however the instrument is not perfectly manufactured and needs to be calibrated for errors in the output for Scale, Offset, and non-orthogonality for each of the X,Y,Z components. These 9 calibration coefficients are calculated from test data using a least squares fit analysis.

The formulas and technique for determining the 9 output coefficients required are described in the attached document titled “Formulas for calculation.PDF”

Program Scope:
Input:
The program will ask the user to select an input data file.
Example file is given as “Input_Calibration_File.txt”

Program Computation:
The Matlab program will use a least squares technique to compute the coefficients for Scale, offset and non-Orthogonality for each of the X,Y,Z components. ( A total of 9 coefficients calculated).

Output:
The desired output the following:
1) a high resolution PDF or Jpg graph of the data results including the calculated parameters. as given in the example “Output_Graph jpg”
2) a summary text file of the 9 components calculated, as given in the example “Output_File.txt”

Deliverables from Project:

1) Matlab program/ original code to perform the calibration task above.
2) Compiled stand alone EXE program to perform the calibration task above.
3) Provide the formula used to convert the Raw XYZ components into corrected XYZ components. Using the derived calibration coefficients.

Two input data files are given for sample testing :
12_9_Full_Sphere_Calibration_Data
13_10_Roll_Pitch_Yaw_Calibration_Data

Calibration should be calculated on the file ""12_9_Full_Sphere_Calibration_Data""
and the coeficents applied to the file ""13_10_Roll_Pitch_Yaw_Calibration_Data"", with new fields imbedded into this file.

NOTE:
The quality standard of the output data needs to match that of the graph given as ""13_10_Comp_Box_more_super.bmp""

Maximum Budget for this Project is USD$ 1000

All Matlab *.m code to be supplied , together with EXE files for both Program1 ( the coeficent calculation Program) and program2 ( The application of the calibration coeficents Program)