Skip to content

Commit c9fc8fd

Browse files
committed
PWR: CBAT: added units and definitions to CBAT message
1 parent 3cb44fc commit c9fc8fd

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

cuav/equipment/power/20300.CBAT.uavcan

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,30 @@
22
# support for CUAV Smart Battery on UAVCAN
33
#
44

5-
float32 temperature # The surface temperature of the battery
6-
float32 voltage # The total voltage of the battery
7-
float32[<=15] voltage_cell # Battery individual cell voltages
8-
uint8 cell_count # Number of cells
9-
float32 current # The current flowing through the sense resistor
10-
float32 average_current # The average current flowing through the sense resistor
11-
float32 average_power # The average power of the current discharge
12-
float32 available_energy # The predicted charge or energy remaining in the battery
13-
float32 remaining_capacity # The compensated battery capacity remaining
14-
float32 full_charge_capacity # The compensated capacity of the battery when fully charged
15-
float32 design_capacity # The design capacity of the battery
16-
uint16 average_time_to_empty # The predicted remaining battery life at the present rate of discharge, in minutes
17-
uint16 average_time_to_full # The predicted remaining time until the battery reaches full charge, in minutes
18-
uint7 state_of_health # Health of the battery
19-
uint7 state_of_charge # Percent of the full charge [0, 100]
20-
uint7 max_error # max error, expected margin of error in % in the state-of-charge calculation with a range of 1 to 100%
21-
uint16 serial_number # serial number of the battery pack
22-
uint16 manufacture_date # manufacture date, part of serial number of the battery pack
23-
uint16 cycle_count # number of discharge cycles the battery has experienced
24-
uint16 over_discharge_count # Number of battery overdischarge
25-
float32 passed_charge # The amount of charge passing through the sense resistor
26-
float32 nominal_voltage # Nominal voltage of the battery pack
27-
bool is_powering_off # Power off event imminent indication, false if unknown
28-
uint16 interface_error # interface error counter
5+
float32 temperature # [Kelvin] Surface temperature of the battery
6+
float32 voltage # [Volt] Total voltage of the battery
7+
float32[<=15] voltage_cell # [Volt] Individual cell voltages
8+
uint8 cell_count # [-] Number of cells
9+
float32 current # [Ampere] Positive: defined as a discharge current. Negative: defined as a charging current
10+
float32 average_current # [Ampere] Average current. Positive: defined as a discharge current. Negative: defined as a charging current
11+
float32 average_power # [Watt] Average power consumption over the last 10 seconds
12+
float32 available_energy # [Joule] Predicted charge or energy remaining in the battery
13+
float32 remaining_capacity # [milliAmpHour] Compensated battery remaining capacity
14+
float32 full_charge_capacity # [milliAmpHour] Compensated capacity of the battery when fully charged
15+
float32 design_capacity # [milliAmpHour] Design capacity of the battery
16+
uint16 average_time_to_empty # [minute] Predicted remaining battery life at the present rate of discharge
17+
uint16 average_time_to_full # [minute] Predicted remaining time until the battery reaches full charge
18+
uint7 state_of_health # [Percent] Health of the battery
19+
uint7 state_of_charge # [Percent] Percent of the full charge [0, 100]
20+
uint7 max_error # [Percent] Expected margin of error in the state-of-charge calculation [1, 100]
21+
uint16 serial_number # [-] Serial number of the battery pack
22+
uint16 manufacture_date # [-] Manufacture date, part of serial number of the battery pack
23+
uint16 cycle_count # [-] Number of discharge cycles the battery has experienced
24+
uint16 over_discharge_count # [-] Number of battery overdischarge events
25+
float32 passed_charge # [Coulomb] Amount of charge that has passed through the sense resistor
26+
float32 nominal_voltage # [Volt] Nominal voltage of the battery pack
27+
bool is_powering_off # [-] Power off event imminent indication, false if unknown
28+
uint16 interface_error # [-] Interface error counter
2929

3030
uint11 STATUS_FLAG_IN_USE = 1 # The battery is currently used as a power supply
3131
uint11 STATUS_FLAG_CHARGING = 2 # Charger is active

0 commit comments

Comments
 (0)