diff --git a/src/FirmwarePlugin/PX4/PX4ParameterFactMetaData.xml b/src/FirmwarePlugin/PX4/PX4ParameterFactMetaData.xml index 224288953490eafc1b84c5cde2009d1ebc5aacac..8ba2a43411fdbf7f47c1103eb6fb7264acefeaca 100644 --- a/src/FirmwarePlugin/PX4/PX4ParameterFactMetaData.xml +++ b/src/FirmwarePlugin/PX4/PX4ParameterFactMetaData.xml @@ -368,18 +368,206 @@ Set to 2 to use heading from motion capture - - Battery ADC Channel + + Battery 1 ADC Channel This parameter specifies the ADC channel used to monitor voltage of main power battery. A value of -1 means to use the board default. + True - - Battery current per volt (A/V) + + Battery 1 current per volt (A/V) + The voltage seen by the 3.3V ADC multiplied by this factor will determine the battery current. A value of -1 means to use the board default. + 8 + True + + + Battery 1 capacity + Defines the capacity of battery 1 in mAh. + -1.0 + 100000 + mAh + 0 + 50 + True + + + Number of cells for battery 1 + Defines the number of cells the attached battery consists of. + True + + 2S Battery + 3S Battery + 4S Battery + 5S Battery + 6S Battery + 7S Battery + 8S Battery + 9S Battery + 10S Battery + 11S Battery + 12S Battery + 13S Battery + 14S Battery + 15S Battery + 16S Battery + + + + Explicitly defines the per cell internal resistance for battery 1 + If non-negative, then this will be used in place of BAT1_V_LOAD_DROP for all calculations. + -1.0 + 0.2 + Ohm + 2 + 0.01 + True + + + Battery 1 monitoring source + This parameter controls the source of battery data. The value 'Power Module' means that measurements are expected to come from a power module. If the value is set to 'External' then the system expects to receive mavlink battery status messages. + mAh + True + + Power Module + External + + + + Full cell voltage (5C load) + Defines the voltage where a single cell of battery 1 is considered full under a mild load. This will never be the nominal voltage of 4.2V + V + 2 + 0.01 + True + + + Battery 1 voltage divider (V divider) + This is the divider from battery 1 voltage to 3.3V ADC voltage. If using e.g. Mauch power modules the value from the datasheet can be applied straight here. A value of -1 means to use the board default. + 8 + True + + + Empty cell voltage (5C load) + Defines the voltage where a single cell of battery 1 is considered empty. The voltage should be chosen before the steep dropoff to 2.8V. A typical lithium battery can only be discharged down to 10% before it drops off to a voltage level damaging the cells. + V + 2 + 0.01 + True + + + Voltage drop per cell on full throttle + This implicitely defines the internal resistance to maximum current ratio for battery 1 and assumes linearity. A good value to use is the difference between the 5C and 20-25C load. Not used if BAT1_R_INTERNAL is set. + 0.07 + 0.5 + V + 2 + 0.01 + True + + + Battery 2 ADC Channel + This parameter specifies the ADC channel used to monitor voltage of main power battery. A value of -1 means to use the board default. + True + + + Battery 2 current per volt (A/V) The voltage seen by the 3.3V ADC multiplied by this factor will determine the battery current. A value of -1 means to use the board default. 8 + True + + + Battery 2 capacity + Defines the capacity of battery 2 in mAh. + -1.0 + 100000 + mAh + 0 + 50 + True + + + Number of cells for battery 2 + Defines the number of cells the attached battery consists of. + True + + 2S Battery + 3S Battery + 4S Battery + 5S Battery + 6S Battery + 7S Battery + 8S Battery + 9S Battery + 10S Battery + 11S Battery + 12S Battery + 13S Battery + 14S Battery + 15S Battery + 16S Battery + + + + Explicitly defines the per cell internal resistance for battery 2 + If non-negative, then this will be used in place of BAT2_V_LOAD_DROP for all calculations. + -1.0 + 0.2 + Ohm + 2 + 0.01 + True + + + Battery 2 monitoring source + This parameter controls the source of battery data. The value 'Power Module' means that measurements are expected to come from a power module. If the value is set to 'External' then the system expects to receive mavlink battery status messages. + mAh + True + + Power Module + External + + + + Full cell voltage (5C load) + Defines the voltage where a single cell of battery 1 is considered full under a mild load. This will never be the nominal voltage of 4.2V + V + 2 + 0.01 + True + + + Battery 2 voltage divider (V divider) + This is the divider from battery 2 voltage to 3.3V ADC voltage. If using e.g. Mauch power modules the value from the datasheet can be applied straight here. A value of -1 means to use the board default. + 8 + True + + + Empty cell voltage (5C load) + Defines the voltage where a single cell of battery 1 is considered empty. The voltage should be chosen before the steep dropoff to 2.8V. A typical lithium battery can only be discharged down to 10% before it drops off to a voltage level damaging the cells. + V + 2 + 0.01 + True + + + Voltage drop per cell on full throttle + This implicitely defines the internal resistance to maximum current ratio for battery 1 and assumes linearity. A good value to use is the difference between the 5C and 20-25C load. Not used if BAT2_R_INTERNAL is set. + 0.07 + 0.5 + V + 2 + 0.01 + True + + + This parameter is deprecated. Please use BAT1_ADC_CHANNEL + + + This parameter is deprecated. Please use BAT1_A_PER_V + 8 - Battery capacity - Defines the capacity of the attached battery. + This parameter is deprecated. Please use BAT1_CAPACITY instead + Defines the capacity of battery 1. -1.0 100000 mAh @@ -428,7 +616,7 @@ Set to 2 to use heading from motion capture true - Number of cells + This parameter is deprecated. Please use BAT1_N_CELLS instead Defines the number of cells the attached battery consists of. S true @@ -452,7 +640,7 @@ Set to 2 to use heading from motion capture - Explicitly defines the per cell internal resistance + This parameter is deprecated. Please use BAT1_R_INTERNAL instead If non-negative, then this will be used in place of BAT_V_LOAD_DROP for all calculations. -1.0 0.2 @@ -460,8 +648,8 @@ Set to 2 to use heading from motion capture true - Battery monitoring source - This parameter controls the source of battery data. The value 'Power Module' means that measurements are expected to come from a power module. If the value is set to 'External' then the system expects to receive mavlink battery status messages. + This parameter is deprecated. Please use BAT1_SOURCE instead + Battery monitoring source. This parameter controls the source of battery data. The value 'Power Module' means that measurements are expected to come from a power module. If the value is set to 'External' then the system expects to receive mavlink battery status messages. 0 1 @@ -470,29 +658,28 @@ Set to 2 to use heading from motion capture - Full cell voltage (5C load) - Defines the voltage where a single cell of the battery is considered full under a mild load. This will never be the nominal voltage of 4.2V + This parameter is deprecated. Please use BAT1_V_CHARGED instead + Defines the voltage where a single cell of battery 1 is considered full under a mild load. This will never be the nominal voltage of 4.2V V 2 0.01 true - Battery voltage divider (V divider) - This is the divider from battery voltage to 3.3V ADC voltage. If using e.g. Mauch power modules the value from the datasheet can be applied straight here. A value of -1 means to use the board default. + This parameter is deprecated. Please use BAT1_V_DIV 8 - Empty cell voltage (5C load) - Defines the voltage where a single cell of the battery is considered empty. The voltage should be chosen before the steep dropoff to 2.8V. A typical lithium battery can only be discharged down to 10% before it drops off to a voltage level damaging the cells. + This parameter is deprecated. Please use BAT1_V_EMPTY instead + Defines the voltage where a single cell of battery 1 is considered empty. The voltage should be chosen before the steep dropoff to 2.8V. A typical lithium battery can only be discharged down to 10% before it drops off to a voltage level damaging the cells. V 2 0.01 true - Voltage drop per cell on full throttle - This implicitely defines the internal resistance to maximum current ratio and assumes linearity. A good value to use is the difference between the 5C and 20-25C load. Not used if BAT_R_INTERNAL is set. + This parameter is deprecated. Please use BAT1_V_LOAD_DROP instead + This implicitely defines the internal resistance to maximum current ratio for battery 1 and assumes linearity. A good value to use is the difference between the 5C and 20-25C load. Not used if BAT_R_INTERNAL is set. 0.07 0.5 V