watonomous.github.io

  1. Electrical Division
  2. Electrical Division Home
  3. Telemetry Group
  4. Monitoring

[ Electrical Division : Battery Monitoring ]

Created by [ Rohan Kumar], last modified on Apr 29, 2020

[Overview ]

We have had to have the 12V auxiliary battery replaced in the bolty because it was drained after the rugged was left on overnight. To tackle this issue a discord bot has been created to notify the team if the battery is at critical levels (fluctuates 0.5V from the nominal voltage). 

Background Research

We contacted a member of GM about the car's 12V battery and how the CAN signals were outputted, what to read, etc. The following is a brief overview of what was said, and the basics on the battery.

Implementation

Due to the nature of the problem and discords minimum requirement of python 3.5.3 for development we are running a docker container in which the bot is running on the Rugged. The bot is placed on the rugged for physical access to the CAN interface. The general idea is that the bot reads realtime battery data from the bus, computes a rolling average of the battery data from the last "X" seconds and compares it against the nominal voltage. The script only sends a message if the battery fluctuates more than 0.5V from its nominal voltage. The current code can be found here

TODO

Useful Resources

\

Document generated by Confluence on Nov 28, 2021 22:40

Atlassian