Accumulator Managment System (High Voltage Battery Managment System)
The AMS system consists of two main parts, the master and multiple slaves.
The apparatus is responsible for the managment of the battery as a whole, determining it's states like: state of charge or unsafe state plausibility. It also supervises the turning on and off of the hv bus.The AMS Master is the center of the whole system it's responsible for most of the tasks: current measurement, high voltage relay control, slave control, high voltage measurement and communication with the car.
The AMS system havely relies on RTOS (Real Time Operating System) for seperating and managing different tasks. The system is divided mainly into three parts:
- main task - responsible for control over the whole system,
- subsidiary tasks - for off handling time consuming calculations or interfacing,
- communication tasks - for handling communication with external systems like CAN communication with the car or isoSPI for communication with the slaves.
The AMS is powered by STM32G484xx, a powerful, new gen MCU capable of handling varius communication interfaces and tasks. On board there are also three 24bit ADC ICs responsible for taking precise measurments of flowing current and voltage present on HV bus. For interfacing with other components the AMS uses M80 and M300 series Harwin connectors which offer high reliability. The board also features other logic components all on a custom 4 layer board.