Skip to content

[TASK] Battery Management System #32

@forrisdahl

Description

@forrisdahl

Description:
The BMS MCU should provide core functionality for monitoring and communication.

Requirements

  • Safty meachanism

    • Detect when either the systems voltage, current, temperature or pressure exceeds a safe threshold
    • Trigger appropriate fault/alert mechanism.
      • Regulate the voltage during charging
      • Trigger an Off-switch (Kill-switch) to initiate a power shutdown if safe threshold exceeds to
  • Measurement

    • Read current consumption
    • Read voltage levels
    • Read the batteries temperature (Celsius)
    • Read the battery compartments pressure (bar)
  • I2C communication *

    • Relevent external sensors transmit measured values (temperature and pressure) to the BMS MCU
  • CAN communication

    • Transmit measured values (current, voltage, temperature, pressure fault status) over CAN bus
    • Support configurable message IDs

Acceptance Criteria

  • Any problamatic events that may cause damage to the AUV are reliably detected and flagged
  • Current, voltage, temperature and pressure data can be read and verified against test conditions
  • CAN messages are sent at the specified interval with correct data formatting

To-Do Checklist

  • Research peripherals and sensors (e.g., ADCs, shunt resistors, current sensors, CAN transceivers)
  • Assist electrical selecting components and confirm availability for MCU integration
  • Implement drivers for each peripheral (ADC, current sensor, CAN)
  • Integrate all peripherals into MCU firmware
  • Verify functionality on development board (bench testing)
  • Validate on final PCB hardware
  • Document configuration parameters (thresholds, scaling, CAN message format)

Contacts

Metadata

Metadata

Labels

embeddedEmbedded team responsiblelarge~ a couple days to complete

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions