Telemetry Block
From Tauwiki
One block of the telemetry text file used for data simulation using create_level0 module is given here.
NOTE: IRS document specifies swapping of certain bytes.
# bytes #0-2 # This is the TAUVEX Telemetry sync word. TELE_SYNC = AC CA 1F #byte #3 DYNAMIC_BLOCK_NO = 1 // Dynamic Telemetry Block #. Range: 1-7. #byte #4 SPARE = 0 // Range: 0. #Static Telemetry (bytes 5-16) #System status #1 #byte #5 #bits 0 - 3 //Modes #System mode=3 (4, bit) //1=INIT,2=STBY,3=IMAGE,4=CLBR,5=BIT,6=OUTGAS, # //7=PRE-SHUT,9=PRE-CLBR,A=POST-CLBR,D=PRE-IMAGE,F=POST-IMAGE. #bit 4 #1553 status=0 (1, bit) //0=Comm.OK, 1=No updates for last 768 mSec #bits 5 - 7 #Spare=0 (3, bit) SYSTEM_MODE = 3 //Nominal value = 3 # byte #6 # HK mode=1 (1,bit) 0=HK mode,1=HKI mode # MDP motion flag=0 (1,bit) 0=MDP idle,1=MDP in motion # Thrusters ignition flag (1,bit) 0=not active, 1=ignited in last minute # Thrusters warning=0 (1,bit) 0=No warning, 1=Thrusters warning # Shut down warning=0 (1,bit) 0=No warning,1=Shut down warning # DHM Tx Process flag=0 (1,bit) 0=DHM Tx completed,1=DHM in Tx session # DHM buffer reach limit flag=0 (1,bit) 0= not reached, 1=limit in last minute. # Spare=0 (1,bit) SYSTEM_MODE2 = 1 //Nominal value is 1 (HKI mode) #System status #2 #byte #7 # Temperature status=0 (1,bit) 0=In range, 1=not in range # Filter 1 status=0 (1,bit) 0=In position,1=Position error # Filter 2 status=0 (1,bit) 0=In position,1=Position error # Filter 3 status=0 (1,bit) 0=In position,1=Position error # Load type=3 (2,bit) 0=Not used,1=Tables update #load,2=SW update load,3=Not in load session # Load status=1 (2,bit) //0=Load in process,1=Load # OK,2=Missing data block,3=Incorrect CCS SYSTEM_STATUS2 = 112 //Nominal value is 0 # Telescopes status #byte #8 #Telescope 1 lamp state=0 (1,bit) //0=Lamp off,1=Lamp on #Telescope 2 lamp state=0 (1,bit) //0=Lamp off,1=Lamp on #Telescope 3 lamp state=0 (1,bit) //0=Lamp off,1=Lamp on #Telescope 1 status=1 (1,bit) //0=Not active, 1=Active #Telescope 2 status=1 (1,bit) //0=Not active, 1=Active #Telescope 3 status=1 (1,bit) //0=Not active, 1=Active #Calibration type=0 (1,bit) //0=Normal image,1=Synthetic image #Spare=0 (1,bit) TELESCOPE_STATUS = 56 //3 telescopes active # Filters status #byte #9 # Telescope 1 filter state=0 (2,bit) 0=BBF,1=SF1,2=SF2,3=Close # Telescope 2 filter state=1 (2,bit) 0=Close,1=SF1,2=NBF3,3=SF3 # Telescope 3 filter state=2 (2,bit) 0=BBF,1=Close,2=SF2,3=SF3 # Spare=0 (2,bit) FILTER_STATUS = 36 //BBF SF1 BBF # Thermal modes status #byte #10 # PM loop=0 (1,bit) // 0=Normal mode,1=Duty cycle mode # SM1 loop=0 (1,bit) // 0=Normal mode,1=Duty cycle mode # SM2 loop=0 (1,bit) // 0=Normal mode,1=Duty cycle mode # SM3 loop=0 (1,bit) // 0=Normal mode,1=Duty cycle mode # DC loop=0 (1,bit) // 0=Normal mode,1=Duty cycle mode # BZ loop=0 (1,bit) // 0=Normal mode,1=Duty cycle mode # CF loop=0 (1,bit) // 0=Normal mode,1=Duty cycle mode # Spare=0 (1,spare) //Range =0 THERMAL_STATUS = 0 //Everything normal #byte #11-12 # MDP angle //lsb = 1/157°; Range: ±91, where +91°=28,574,0°=14,287,-91°=0 MDP_ANGLE = 16000 # System tests results #byte #13 #Destructive RAM test=1 (1,bit) //0=Failed, 1=Pass #Flash CCS test result=1 (1,bit) //0=Failed, 1=Pass #Telescope 1 filters test=1 (1,bit) //0=Failed, 1=Pass #Telescope 2 filters test=1 (1,bit) //0=Failed, 1=Pass #Telescope 3 filters test=1 (1,bit) //0=Failed, 1=Pass #System voltages test=1 (1,bit) //0=Failed, 1=Pass #THTM ADC test result=1 (1,bit) //0=Failed, 1=Pass #Thermistors Mux test=1 (1,bit) //0=Failed, 1=Pass SYSTEM_TEST = 255 //All pass # byte #14 # Bus Voltages test=1 (1,bit) //0=Failed, 1=Pass # DHM DRAM test result=1 (1,bit) //0=Failed, 1=Pass # Other CPU power test=1 (1,bit) //0=Failed, 1=Pass # Spare=0 (1,bit) //Range =0 # Spare=0 (1,bit) //Range =0 # Spare=0 (3,bit) //Range =0 BUS_VOLTAGE = 7 #byte #15-16 #Spare=0 //Range =0 SPARE_20 = 0 // 2 Byte spare #byte #17-66 # Dynamic telemetry block #1 (50 bytes) DYNAMIC_BLOCK = AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA #byte #67-68 #Sun Angle //Range:0-3600;-180°=0;0°=1800;+180°=3600,lsb=0.1deg SUN_ANGLE = 1000 #byte #69-70 #Moon Angle //Range:0-3600;-180°=0;0°=1800;+180°=3600,lsb=0.1deg MOON_ANGLE = 300 #byte #71-74 #Pointing center RA //Range:0-3600; 0°=0,360°=3600; lsb = FOV_RA = 200 #byte #75-78 # Pointing center DEC //Range:0-1800,-90°=0;0°=900;+180°=1800,lsb = FOV_DEC = 103 #byte #79-82 # Spacecraft X Coordinate //Integer, lsb= SPACECRAFT_X = 20000 #byte #83-86 # Spacecraft Y Coordinate //Integer, lsb= SPACECRAFT_Y = 10000 # byte #87-90 # Spacecraft Z Coordinate //Integer, lsb= SPACECRAFT_Z = 15000 #UT/GRT(9 bytes) #byte #91-92 YEAR= 2008 // Year, Unsigned #byte #93 MONTH = 10 //1-12 Month, Unsigned #byte #94 DAY = 25 //1-31 Day of month, Unsigned #byte #95 HOURS = 10 //0-23 Hours, Unsigned #byte #96 MINUTES= 20 // 0-59 Minutes, Unsigned #byte #97 SECONDS=30 //0-59 Seconds, Unsigned #byte #98-99 MILLISECONDS= 200 // 0-999 Milliseconds,Unsigned #bytes #100-103 OBT= 5000000 // GSAT4 Onboard time. lsb = 4ms #bytes #104 OBT_RESET_FLAG = 0 // Unsigned, 1=OBT Reset; once in 198 days #bytes #105-106 #Solar Panel Angle=500 //Range: 0-3600, Unsigned, lsb = 0.1 deg. SOLAR_PANEL = 500 #bytes #107-127 // 21 bytes Spare =0 //Range =0.
