Skip to content
uvsqsat.ksy 45.3 KiB
Newer Older
xtof's avatar
xtof committed
       value: clock_speed
      code_type_raw:
       value: code_type
      crc_8_raw:
       value: crc_8
      sw_mmode_raw:
       value: sw_mmode
      last_reset_reason_raw:
       value: last_reset_reason
      reserved_raw:
       value: reserved
      nb_reset_raw:
       value: nb_reset
      reserved2_raw: 
       value: reserved2
      deploy_antennas_system_raw:
       value: deploy_antennas_system
      nb_tm_since_first_start_raw:
       value: nb_tm_since_first_start
      nb_tc_since_first_start_raw:
       value: nb_tc_since_first_start
      nb_bad_tc_since_first_start_raw:
       value: nb_bad_tc_since_first_start
      nb_tm_in_sdcard_raw:
       value: nb_tm_in_sdcard
      sdcard_status_raw:
       value: sdcard_status
      sdcard_last_error_raw:
       value: sdcard_last_error
      old_time_t_m_in_sdcard_raw:
       value: old_time_t_m_in_sdcard
      new_time_t_m_in_sdcard_raw:
       value: new_time_t_m_in_sdcard    
################################################################################
#
#   trxvutx HK
#
################################################################################    
    
  trxvutx_hk:
xtof's avatar
xtof committed
      - id: trxvutx_instantaneous_rf_reflected_power_from_transmitter_port
        type : b12
xtof's avatar
xtof committed
      - id: trxvutx_instantaneous_rf_forward_power_from_transmitter_port
        type : b12
xtof's avatar
xtof committed
      - id: trxvutx_supply_voltage
        type : b12
xtof's avatar
xtof committed
      - id: trxvutx_total_supply_current
        type : b12
xtof's avatar
xtof committed
      - id: trxvutx_transmitter_current
        type : b12
xtof's avatar
xtof committed
      - id: trxvutx_receiver_current
        type : b12
xtof's avatar
xtof committed
      - id: trxvutx_power_amplifier_current
        type : b12
xtof's avatar
xtof committed
      - id: trxvutx_power_amplifier_temperature
        type : b12 
xtof's avatar
xtof committed
      - id: trxvutx_local_oscillator_temperature
        type : b12
xtof's avatar
xtof committed
      - id: trxvutx_zero_padding
        type: b4 
      - id: trxvu_tx_uptime
        type: u4
      - id: trxvu_tx_state
        type: u1 
    instances:
xtof's avatar
xtof committed
        trxvutx_instantaneous_rf_reflected_power_from_transmitter_port_mw:
          value: trxvutx_instantaneous_rf_reflected_power_from_transmitter_port * trxvutx_instantaneous_rf_reflected_power_from_transmitter_port * 5.887 * 0.00001
        trxvutx_instantaneous_rf_forward_power_from_transmitter_port_mw:
          value: trxvutx_instantaneous_rf_forward_power_from_transmitter_port * trxvutx_instantaneous_rf_forward_power_from_transmitter_port * 5.887 * 0.00001
        trxvutx_supply_voltage_v:
          value: 0.00488 * trxvutx_supply_voltage   
        trxvutx_total_supply_current_ma: 
          value: 0.16643964 * trxvutx_total_supply_current 
        trxvutx_transmitter_current_ma:
          value: trxvutx_transmitter_current * 0.16643964
        trxvutx_receiver_current_ma:
          value: trxvutx_receiver_current * 0.16643964
        trxvutx_power_amplifier_current_ma:
          value: trxvutx_power_amplifier_current * 0.16643964
        trxvutx_power_amplifier_temperature_c:
          value: trxvutx_power_amplifier_temperature * -0.07669 + 195.6037
        trxvutx_local_oscillator_temperature_c:
          value: trxvutx_local_oscillator_temperature  -0.07669 + 195.6037
        trxvutx_zero_padding_raw:
          value: trxvutx_zero_padding
xtof's avatar
xtof committed
        trxvu_tx_uptime_raw:
          value: trxvu_tx_uptime
        trxvu_tx_state_raw:
xtof's avatar
xtof committed
          value: trxvu_tx_state
xtof's avatar
xtof committed
        
################################################################################
#
#   imtq  HK
#
################################################################################        
        
  imtq_hk:
    seq:
      - id: digitale_voltage
        type: u2  
      - id: analog_voltage
        type: u2   
      - id: digital_current
        type: u2  
      - id: analog_current
        type: u2  
      - id: measure_coil_x_current
        type: u2  
      - id: measure_coil_y_current
        type: u2  
      - id: measure_coil_z_current
        type: u2  
      - id: measure_coil_x_temperature
        type: u2  
      - id: measure_coil_y_temperature
        type: u2  
      - id: measure_coil_z_temperature
        type: u2  
      - id: mcu_temperature
        type: u2  
xtof's avatar
xtof committed
      - id: imtq_system_state_mode
xtof's avatar
xtof committed
      - id: imtq_system_state_error
xtof's avatar
xtof committed
      - id: imtq_system_state_configuration
xtof's avatar
xtof committed
      - id: imtq_system_state_uptime
    instances:
        digitale_voltage_v:
          value: 2 *  (2.5/4095) * digitale_voltage   
        analog_voltage_v: 
          value: 2 *  (2.5/4095) * analog_voltage
xtof's avatar
xtof committed
        digital_current_raw:
          value: digital_current  
        analog_current_raw:
          value: analog_current 
xtof's avatar
xtof committed
        measure_coil_x_current_ma:
          value:   (( (2.5/4095) * measure_coil_x_current) -1.03)/2.0
xtof's avatar
xtof committed
        measure_coil_y_current_ma:
          value:   (( (2.5/4095) * measure_coil_y_current) -1.03)/2.0
xtof's avatar
xtof committed
        measure_coil_z_current_ma:
xtof's avatar
xtof committed
          value:   (( (2.5/4095) * measure_coil_z_current) -1.03)/0.48   
xtof's avatar
xtof committed
        measure_coil_x_temperature_c:
          value: (( (2.5/4095) * measure_coil_x_temperature) -1.567) * -1.0 /0.0081
xtof's avatar
xtof committed
        measure_coil_y_temperature_c:
          value: (( (2.5/4095) * measure_coil_y_temperature) -1.567) * -1.0 /0.0081 
xtof's avatar
xtof committed
        measure_coil_z_temperature_c:
          value: (( (2.5/4095) * measure_coil_z_temperature) -1.567) * -1.0 /0.0081        
xtof's avatar
xtof committed
        mcu_temperature_c:
          value:  (( (2.5/4095) * mcu_temperature) -0.680) * - 1.0 /0.00225
xtof's avatar
xtof committed
        imtq_system_state_mode_raw:
          value: imtq_system_state_mode 
        imtq_system_state_error_raw:
          value: imtq_system_state_error  
        imtq_system_state_configuration_raw:
          value: imtq_system_state_configuration
        imtq_system_state_uptime_raw:
          value: imtq_system_state_uptime          
xtof's avatar
xtof committed
          
################################################################################
#
#   beacon
#
################################################################################           
          
  beacon:
    seq:
      - id: sw_mode
        type: u1
      - id: last_reset_reason
        type: u1
      - id: reset_order
        type: u1
      - id: nb_reset
        type: u1
      - id: format_sdcard_order
        type: u1
      - id: deploy_antennas_system
        type: u1
      - id: nb_tm_since_first_start
        type: u4
      - id: nb_tc_since_first_start
        type: u4
xtof's avatar
xtof committed
      - id: nb_tc_ping_since_first_start
        type: u4
      - id: nb_bad_tc_since_first_start
        type: u4
xtof's avatar
xtof committed
      - id: nb_tm_in_sdcard
        type: u4
xtof's avatar
xtof committed
      - id: trxvutx_instantaneous_r_f_reflected_power_from_transmitter_port
xtof's avatar
xtof committed
      - id: trxvutx_instantaneous_r_f_forward_power_from_transmitter_port
xtof's avatar
xtof committed
      - id: trxvutx_supply_voltage
xtof's avatar
xtof committed
      - id: trxvutx_total_supply_current
xtof's avatar
xtof committed
      - id: trxvutx_transmitter_current
xtof's avatar
xtof committed
      - id: trxvutx_receiver_current
xtof's avatar
xtof committed
      - id: trxvutx_power_amplifier_current
xtof's avatar
xtof committed
      - id: trxvutx_power_amplifier_temperature
xtof's avatar
xtof committed
      - id: trxvutx_local_oscillator_temperature
xtof's avatar
xtof committed
      - id: trxvurx_instantaneous_received_signal_doppler_offset_at_the_receiver_port
xtof's avatar
xtof committed
      - id: trxvurx_instantaneous_received_signal_strength_at_the_receiver_port
xtof's avatar
xtof committed
      - id: trxvurx_supply_voltage
xtof's avatar
xtof committed
      - id: trxvurx_total_supply_current
xtof's avatar
xtof committed
      - id: trxvurx_transmitter_current
xtof's avatar
xtof committed
      - id: trxvurx_receiver_current
xtof's avatar
xtof committed
      - id: trxvurx_power_amplifier_current
xtof's avatar
xtof committed
      - id: trxvurx_power_amplifier_temperature
xtof's avatar
xtof committed
      - id: trxvurx_local_oscillator_temperature
xtof's avatar
xtof committed
      - id: imtq_system_state_mode
        type: u1
      - id: measure_coil_x_current
        type: u2
      - id: measure_coil_y_current
        type: u2
      - id: measure_coil_z_current
        type: u2
      - id: measure_coil_x_temperature
        type: u2
      - id: measure_coil_y_temperature
        type: u2
      - id: measure_coil_z_temperature
        type: u2
xtof's avatar
xtof committed
      - id: mcu_temperature
xtof's avatar
xtof committed
      - id: side_a_ants_temperature
xtof's avatar
xtof committed
      - id: side_a_ants_deployment_status
xtof's avatar
xtof committed
      - id: volt_brd_sup_raw
xtof's avatar
xtof committed
      - id: temp_raw
xtof's avatar
xtof committed
      - id: v_dist_input_raw
        type: u2
xtof's avatar
xtof committed
      - id: i_dist_input_raw
        type: u2
xtof's avatar
xtof committed
      - id: p_dist_input_raw
        type: u2
xtof's avatar
xtof committed
      - id: v_batt_input_raw
        type: u2
xtof's avatar
xtof committed
      - id: i_batt_input_raw
        type: u2
xtof's avatar
xtof committed
      - id: p_batt_input_raw
        type: u2
      - id: stat_obc_on
        type: u2
      - id: stat_obc_ocf
        type: u2
      - id: bat_stat
        type: u2
xtof's avatar
xtof committed
      - id: bat_temp_2_raw
        type: u2
      - id: volt_vd0
        type: u2
      - id: volt_vd1
        type: u2
      - id: volt_vd2
        type: u2
xtof's avatar
xtof committed
      - id: v_obc_00
xtof's avatar
xtof committed
        type: u2
xtof's avatar
xtof committed
      - id: i_obc_00
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: p_obc_00
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: v_obc_01
xtof's avatar
xtof committed
        type: u2
xtof's avatar
xtof committed
      - id: i_obc_01
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: p_obc_01
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: v_obc_02
xtof's avatar
xtof committed
        type: u2
xtof's avatar
xtof committed
      - id: i_obc_02
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: p_obc_02
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: v_obc_03
xtof's avatar
xtof committed
        type: u2
xtof's avatar
xtof committed
      - id: i_obc_03
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: p_obc_03
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: v_obc_05
xtof's avatar
xtof committed
        type: u2
xtof's avatar
xtof committed
      - id: i_obc_05
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: p_obc_05
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: v_obc_06
xtof's avatar
xtof committed
        type: u2
xtof's avatar
xtof committed
      - id: i_obc_06
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: p_obc_06
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: status_stid
        type: u1
      - id: status_ivid
        type: u1
      - id: status_rc
xtof's avatar
xtof committed
      - id: status_bid
        type: u1
      - id: status_cmderr
        type: b4
      - id: status_stat
        type: b4
      - id: mode
        type: u1
      - id: conf
        type: u1
      - id: reset_cause
        type: u1
xtof's avatar
xtof committed
      - id: uptime
        type: u4
      - id: error
        type: u2
      - id: rc_cnt_pwron
        type: u2
      - id: rc_cnt_wdg
        type: u2
      - id: rc_cnt_cmd
        type: u2
      - id: rc_cnt_mcu
        type: u2     
      - id: rc_cnt_emlopo
        type: u2
      - id: prevcmd_elapsed
        type: u2      
      - id: photodiode1
        type: u2
      - id: photodiode2
        type: u2
      - id: photodiode3
        type: u2
      - id: photodiode4
        type: u2
      - id: photodiode5
        type: u2
      - id: photodiode6
        type: u2
xtof's avatar
xtof committed
      - id: panel_temperature1
        type: u4
      - id: panel_temperature2
        type: u4
      - id: panel_temperature3
        type: u4
      - id: panel_temperature4
        type: u4
      - id: panel_temperature5
        type: u4
      - id: panel_temperature6
        type: u4    
xtof's avatar
xtof committed

    instances: 
xtof's avatar
xtof committed

        sw_mode_raw:
          value:  sw_mode
        last_reset_reason_raw:
          value:  last_reset_reason
        reset_order_raw:
          value:  reset_order
        nb_reset_raw:
          value:  nb_reset
        format_sdcard_order_raw:
          value:  format_sdcard_order
        deploy_antennas_system_raw:
          value:  deploy_antennas_system
        nb_tm_since_first_start_raw:
          value:  nb_tm_since_first_start
        nb_tc_since_first_start_raw:
          value:  nb_tc_since_first_start
        nb_tc_ping_since_first_start_raw:
          value:  nb_tc_ping_since_first_start
        nb_bad_tc_since_first_start_raw:
          value:  nb_bad_tc_since_first_start
        nb_tm_in_sdcard_raw:
          value:  nb_tm_in_sdcard
xtof's avatar
xtof committed
        trxvutx_instantaneous_r_f_reflected_power_from_transmitter_port_raw:
          value: trxvutx_instantaneous_r_f_reflected_power_from_transmitter_port
        trxvutx_instantaneous_r_f_forward_power_from_transmitter_port_raw:
          value: trxvutx_instantaneous_r_f_forward_power_from_transmitter_port
        trxvutx_supply_voltage_v:
          value: 0.00488 * trxvutx_supply_voltage 
        trxvutx_total_supply_current_ma: 
          value: 0.16643964 * trxvutx_total_supply_current 
        trxvutx_transmitter_current_ma:
          value: trxvutx_transmitter_current * 0.16643964
        trxvutx_receiver_current_ma:
          value: trxvutx_receiver_current * 0.16643964
        trxvutx_power_amplifier_current_ma:
          value: trxvutx_power_amplifier_current * 0.16643964
        trxvutx_power_amplifier_temperature_c:
          value: trxvutx_power_amplifier_temperature * -0.07669 + 195.6037
        trxvutx_local_oscillator_temperature_c:
          value: trxvutx_local_oscillator_temperature * -0.07669 + 195.6037
        trxvurx_instantaneous_received_signal_doppler_hz:
          value: (trxvurx_instantaneous_received_signal_doppler_offset_at_the_receiver_port * 13.552) - 22300        
        trxvurx_instantaneous_received_signal_strength_dbm:
          value: trxvurx_instantaneous_received_signal_strength_at_the_receiver_port*0.03-152
        trxvurx_supply_voltage_v:
          value: 0.00488 * trxvurx_supply_voltage   
        trxvurx_total_supply_current_ma: 
          value: 0.16643964 * trxvurx_total_supply_current
        trxvurx_transmitter_current_ma:
          value: trxvurx_transmitter_current * 0.16643964
        trxvurx_receiver_current_ma:
          value: trxvurx_receiver_current * 0.16643964
        trxvurx_power_amplifier_current_ma:
          value: trxvurx_power_amplifier_current *0.16643964
        trxvurx_power_amplifier_temperature_c:
          value: trxvurx_power_amplifier_temperature *-0.07669+195.6037
        trxvurx_local_oscillator_temperature_c:
          value: trxvurx_local_oscillator_temperature *-0.07669+195.6037
        imtq_system_state_mode_raw:
          value: imtq_system_state_mode
        measure_coil_x_current_ma:
xtof's avatar
xtof committed
          value:   (( (2.5/4095) * measure_coil_x_current) -1.03)/2.0
xtof's avatar
xtof committed
        measure_coil_y_current_ma:
xtof's avatar
xtof committed
          value:   (( (2.5/4095) * measure_coil_y_current) -1.03)/2.0
xtof's avatar
xtof committed
        measure_coil_z_current_ma:
xtof's avatar
xtof committed
          value:   (( (2.5/4095) * measure_coil_z_current) -1.03)/0.48   
xtof's avatar
xtof committed
        measure_coil_x_temperature_c:
xtof's avatar
xtof committed
          value: (( (2.5/4095) * measure_coil_x_temperature) -1.567) * -1.0 /0.0081
xtof's avatar
xtof committed
        measure_coil_y_temperature_c:
xtof's avatar
xtof committed
          value: (( (2.5/4095) * measure_coil_y_temperature) -1.567) * -1.0 /0.0081 
xtof's avatar
xtof committed
        measure_coil_z_temperature_c:
xtof's avatar
xtof committed
          value: (( (2.5/4095) * measure_coil_z_temperature) -1.567) * -1.0 /0.0081        
xtof's avatar
xtof committed
        mcutemperature_raw:
          value: mcu_temperature
        side_a_ants_temperature_raw:
          value: side_a_ants_temperature
        side_a_ants_deployment_status_raw:
          value: side_a_ants_deployment_status
        volt_brd_sup_raw_v: 
         value: volt_brd_sup_raw * 1000.0 / 819.0
        # ?? To be check - not coherent 
        temp_raw_t: 
         value: ((temp_raw -1168)*220.0/9.0 )/ 100.0
        v_dist_input_raw_v: 
         value: (v_dist_input_raw * 125.0/128.0)/ 1000.0
        i_dist_input_raw_r_ma: 
         value: i_dist_input_raw * 3125.0/10240.0 
        p_dist_input_raw_mw: 
         value: p_dist_input_raw *3125.0 / 3200.0
        v_batt_input_raw_v: 
         value: (v_batt_input_raw * 125.0/128.0)/ 1000.0
        i_batt_input_raw_ma: 
         value: i_batt_input_raw * 3125.0/10240.0 
        p_batt_input_raw_mw:
         value: p_batt_input_raw *3125.0 / 3200.0
xtof's avatar
xtof committed
        stat_obc_on_raw:
          value: stat_obc_on
        stat_obc_ocf_raw:
          value: stat_obc_ocf
        bat_stat_raw:
          value: bat_stat
xtof's avatar
xtof committed
        bat_temp_2_raw_raw:
          value: bat_temp_2_raw
        v_obc_00_v:
         value: (v_obc_00  *125.0/128.0)/ 1000.0
        i_obc_00_ma:
         value: i_obc_00 *3125.0/20480.0
        p_obc_00_mw:
         value: p_obc_00 *3125.0 / 6400.0
        v_obc_01_v:
         value: ( v_obc_01  *125.0/128.0)/ 1000.0
        i_obc_01_ma:
         value: i_obc_01 *3125.0/20480.0
        p_obc_01_mw:
         value: p_obc_01 *3125.0 / 6400.0
        v_obc_02_v:
         value: (v_obc_02  *125.0/128.0)/ 1000.0
        i_obc_02_ma:
         value: i_obc_02 *3125.0/20480.0
        p_obc_02_mw:
         value: p_obc_02 *3125.0 / 6400.0   
        v_obc_03_v:
         value: (v_obc_03  *125.0/128.0)/ 1000.0
        i_obc_03_ma:
         value: i_obc_03 *3125.0/20480.0
        p_obc_03_mw:
         value: p_obc_03 *3125.0 / 6400.0
        v_obc_05_v:
         value: (v_obc_05  *125.0/128.0)/ 1000.0
        i_obc_05_ma:
         value: i_obc_05 *3125.0/20480.0
        p_obc_05_mw:
         value: p_obc_05 *3125.0 / 6400.0
        v_obc_06_v:
         value: (v_obc_06  *125.0/128.0)/ 1000.0
        i_obc_06_ma:
         value: i_obc_06 *3125.0/20480.0
        p_obc_06_mw :
         value: p_obc_06 *3125.0 / 6400.0
xtof's avatar
xtof committed
        status_stid_raw:
          value: status_stid
        status_ivid_raw:
          value: status_ivid
        status_rc_raw:
          value: status_rc
        status_bid_raw:
          value: status_bid
        status_cmderr_raw:
          value: status_cmderr
        status_stat_raw:
          value: status_stat
        mode_raw:
          value: mode
        conf_raw:
          value: conf
        reset_cause_raw:
          value: reset_cause
        uptime_raw:
          value: uptime
        error_raw:
          value: error
        rc_cnt_pwron_raw:
          value: rc_cnt_pwron
        rc_cnt_wdg_raw:
          value: rc_cnt_wdg
        rc_cnt_cmd_raw:
          value: rc_cnt_cmd
        rc_cnt_mcu_raw:
          value: rc_cnt_mcu
        rc_cnt_emlopo_raw:
          value: rc_cnt_emlopo
        prevcmd_elapsed_raw:
          value: prevcmd_elapsed
        photodiode1_raw:
          value: photodiode1
        photodiode2_raw:
          value: photodiode2
        photodiode3_raw:
          value: photodiode3
        photodiode4_raw:
          value: photodiode4
        photodiode5_raw:
          value: photodiode5
        photodiode6_raw:
          value: photodiode6
xtof's avatar
xtof committed
        panel_temperature1_c:
          value:  panel_temperature1 / 1024.0
        panel_temperature2_c:
          value:  panel_temperature2 / 1024.0
        panel_temperature3_c:
          value:  panel_temperature3 / 1024.0
        panel_temperature4_c:
          value:  panel_temperature4 / 1024.0
        panel_temperature5_c:
          value:  panel_temperature5 / 1024.0
        panel_temperature6_c:
          value:  panel_temperature6 / 1024.0