Skip to content

Commit

Permalink
Add low voltage battery signals
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Jaegervall <erik.jaegervall@se.bosch.com>
  • Loading branch information
erikbosch authored and jdacoello committed Feb 15, 2023
1 parent d76de94 commit 0a2786c
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
38 changes: 38 additions & 0 deletions spec/Vehicle/Battery.vspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#
# (C) 2022 Robert Bosch GmbH
# All files and artifacts in this repository are licensed under the
# provisions of the license provided by the LICENSE file in this repository.
#

#
# Signals and attributes related to the low voltage battery in Vehicles
# This is the 12 Volt or 24 Volt battery typically used for infotainment systems and to start the combustion engine
# in traditional petrol/diesel vehecles.
#

NominalVoltage:
datatype: uint16
type: attribute
unit: V
description: Nominal Voltage of the battery.
comment: Nominal voltage typically refers to voltage of fully charged battery when delivering rated capacity.

NominalCapacity:
datatype: uint16
type: attribute
unit: Ah
description: Nominal capacity of the low voltage battery.

CurrentVoltage:
datatype: float
type: sensor
unit: V
description: Current Voltage of the low voltage battery.

CurrentCurrent:
datatype: float
type: sensor
unit: A
description: Current current flowing in/out of the low voltage battery. Positive = Current flowing in to battery,
e.g. during charging or driving.
Negative = Current flowing out of battery, e.g. when using the battery to start a combustion engine.
10 changes: 10 additions & 0 deletions spec/Vehicle/Vehicle.vspec
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,16 @@ LowVoltageSystemState:
]
description: State of the supply voltage of the control units (usually 12V).

##
# Low voltage battery
##
LowVoltageBattery:
type: branch
description: Signals related to low voltage battery.

#include Battery.vspec LowVoltageBattery


Speed:
datatype: float
type: sensor
Expand Down

0 comments on commit 0a2786c

Please sign in to comment.