Skip to content

Magnetometer on spacecraft appears to stop reporting sane values after some time #160

@khavernathy

Description

@khavernathy

Image

We've noticed for several days with several tests that the spacecraft's magnetometer reports expected values based on rotation of the spacecraft for a long time, but eventually the magnetometer stops reporting sane values (non-oscillating even though the spacecraft is clearly rotating around).

We are outputting the value of SC[0].AC.MAG[0].Field (and [1], [2]) to file and plotting it during the sim. (left graph here).

Any hints on this behavior? Maybe a specific magnetometer setting in Inp_Sim.txt or the Spacecraft input?

We're using this

*************************** Magnetometer ********************************
3                             ! Number of Magnetometer Axes
============================== Axis 0 ===================================
0.1                           ! Sample Time,sec
1.0  0.0  0.0                 ! Axis expressed in Body Frame
60.0E-6                       ! Saturation, Tesla
0.0                           ! Scale Factor Error, ppm
1.0E-8                        ! Quantization, Tesla 
4.6E-7                        ! Noise, Tesla RMS  (4.6 mgauss)
0                             ! Node
============================== Axis 1 ===================================
0.1                           ! Sample Time,sec
0.0  1.0  0.0                 ! Axis expressed in Body Frame
60.0E-6                       ! Saturation, Tesla
0.0                           ! Scale Factor Error, ppm
1.0E-8                        ! Quantization, Tesla 
4.6E-7                        ! Noise, Tesla RMS
0                             ! Node
============================== Axis 2 ===================================
0.1                           ! Sample Time,sec
0.0  0.0  1.0                 ! Axis expressed in Body Frame
60.0E-6                       ! Saturation, Tesla
0.0                           ! Scale Factor Error, ppm
1.0E-8                        ! Quantization, Tesla 
4.6E-7                        ! Noise, Tesla RMS
0                             ! Node

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions