Battery Management System Slave Control Board Encoding via CAN Bus
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing battery management systems face inefficiencies in encoding slave control boards, particularly when the number is large, requiring lengthy encoding times and prone to errors due to manual counting and potential miscounting, which affects encoding efficiency and necessitates re-encoding upon replacement.
Innovation Solution
A method and device for encoding battery management systems that utilize a closed-loop connection via CAN bus and IO lines, allowing automatic encoding of slave control boards without pre-counting, using pre-configured encoding information and addressing detection to avoid repetition and ensure accurate encoding.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If manual encoding methods (compiler writing, dial setting, or counting-based CAN communication) are used to encode slave control boards, then the encoding process can be completed, but the encoding time becomes excessively long when the number of slave control boards is large
Solution Approach 1:
The slave control boards perform self-encoding by automatically receiving encoding messages from the master control board through the CAN bus and extracting encoding information from these messages. This eliminates the need for manual encoding operations and significantly reduces encoding time, as each slave control board encodes itself autonomously based on the sequential digital signals received.
Solution Approach 2:
The master control board pre-configures multiple pieces of encoding information before the encoding process begins. These pre-configured encoding information are stored in the master control board and automatically distributed to slave control boards in sequence, eliminating the need for real-time manual encoding decisions and reducing overall encoding time.
2Reliability
If manual counting methods are used to determine the number of slave control boards, then encoding can be performed, but errors occur when the number cannot be counted or is counted falsely
Solution Approach 1:
The system implements a feedback mechanism where slave control boards send detection results back to the master control board through the CAN bus. The master control board uses this feedback to determine whether each slave control board has been successfully encoded, automatically adjusting the encoding process until all boards are properly encoded or the maximum number is reached, eliminating counting errors.
Solution Approach 2:
The manual counting and encoding process is replaced with an automated electronic detection and encoding system. The master control board automatically detects the presence and encoding status of slave control boards through CAN bus communication, replacing manual counting operations with electronic detection that is more reliable and error-free.
3Ease of repair
If technician re-encoding is required when replacing slave control boards, then the system can be maintained, but additional time and operational complexity are introduced
Solution Approach 1:
When slave control boards are replaced, the new boards automatically perform self-encoding by receiving encoding messages from the master control board through the CAN bus, just like during initial system setup. This eliminates the need for technicians to manually re-encode replaced boards, simplifying maintenance operations and reducing the skill level required for replacement tasks.
Data Source
Figure 1
Figure 2~3
Figure 4~5
AI summary
A method for encoding a battery management system and a device for encoding a battery management system are provided. The method includes: if a slave control board is not addressed, a master control board transmitting an encoding message to a first slave control board via a CAN bus to obtain a digital signal output from an IO line; if the digital signal is at a high level, the first slave control board receiving the encoding message to obtain encoding information as slave control encoding; and the master control board transmitting an encoding message to a next slave control board to obtain slave control encoding of each of slave control boards, so that all slave control boards are encoded.