CN108736077B - Method and system for configuring slave controller of battery management system - Google Patents

Method and system for configuring slave controller of battery management system Download PDF

Info

Publication number
CN108736077B
CN108736077B CN201710253944.3A CN201710253944A CN108736077B CN 108736077 B CN108736077 B CN 108736077B CN 201710253944 A CN201710253944 A CN 201710253944A CN 108736077 B CN108736077 B CN 108736077B
Authority
CN
China
Prior art keywords
slave controller
upper computer
slave
message
controllers
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710253944.3A
Other languages
Chinese (zh)
Other versions
CN108736077A (en
Inventor
张建平
李攀
翁志福
兰志波
白玉凤
李巍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aulton New Energy Automotive Technology Co Ltd
Shanghai Dianba New Energy Technology Co Ltd
Original Assignee
Aulton New Energy Automotive Technology Co Ltd
Shanghai Dianba New Energy Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aulton New Energy Automotive Technology Co Ltd, Shanghai Dianba New Energy Technology Co Ltd filed Critical Aulton New Energy Automotive Technology Co Ltd
Priority to CN201710253944.3A priority Critical patent/CN108736077B/en
Publication of CN108736077A publication Critical patent/CN108736077A/en
Application granted granted Critical
Publication of CN108736077B publication Critical patent/CN108736077B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/4207Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells for several batteries or cells simultaneously or sequentially
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/425Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
    • H01M10/4257Smart batteries, e.g. electronic circuits inside the housing of the cells or batteries
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/425Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
    • H01M2010/4271Battery management systems including electronic circuits, e.g. control of current or voltage to keep battery in healthy state, cell balancing
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/425Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
    • H01M2010/4278Systems for data transfer from batteries, e.g. transfer of battery parameters to a controller, data transferred between battery controller and main controller
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

The invention discloses a configuration method and a configuration system of a slave controller of a battery management system, wherein the method comprises the following steps: s1, the upper computer sends a first command to the slave controller; s2, generating a random number as a message ID from the controller; sending a first response message to an upper computer; s3, the upper computer judges whether all the message IDs are different, if so, the step S4 is executed; s4, selecting a message ID to be configured; sending a second command; s5, sending a second response message to the upper computer by the slave controllers to be configured, and sending trigger signals, wherein the trigger signals are used for controlling all the slave controllers at the lower level to sequentially send the trigger signals step by step; s6, the upper computer counts the number N of the second response messages; acquiring a preset ID of a slave controller with the position of N; and S7, updating the message ID to be preset ID from the slave controller to be configured. The invention provides a brand-new automatic configuration mode of a slave controller in a battery management system.

Description

Method and system for configuring slave controller of battery management system
Technical Field
The invention relates to the technical field of battery management systems, in particular to a configuration method and a configuration system of a slave controller of a battery management system.
Background
With the technical development of new energy vehicles and the support of national policies, the yield of electric vehicles increases year by year. One of the three batteries battery management systems is becoming more and more widely used. The battery management system generally adopts a structure that a master controller is added with a plurality of slave controllers, wherein the master controller is mainly used for logic control, and the slave controllers are mainly used for collecting temperature and voltage information of single batteries and reporting the temperature and voltage information to the master controller. For manufacturers who provide battery management systems, different battery structures and compositions are encountered, and corresponding battery management systems are different, and particularly, the slave controllers are re-matched according to different battery compositions, the design quantity and the internal software are reset.
The current method is to arrange the position sequence of the single batteries in advance, allocate a message ID (identifier) in advance according to the specific composition of each single battery and generate corresponding configuration information, then write the message ID and the corresponding configuration information into a corresponding slave controller, and attach a label corresponding to the single battery on the slave controller, so that the slave controller needs to have the versions of the configuration information with the corresponding number. And when the slave controller is installed, the position of the single battery corresponding to the slave controller is found through the label, and the slave controller is installed into the corresponding single battery pack. The current method has the following problems: a plurality of from the confession of controller need dispose one by one earlier and mark with showing the difference through the label after leaving the factory, this configuration version that just needs a plurality of follow controllers, the confession complete that need guarantee the label when depositing from the controller after the configuration, this must increase from the storage pressure of controller, any intermediate link is made mistakes and is probably not matched with single battery from the controller when leading to the installation, causes battery management inefficacy, causes the incident even, also causes the pressure of doing over again for follow-up production. The storage requirement on the labels during warehousing of the slave controller is high, and more manpower and material resources are needed for management of a plurality of configuration versions of the slave controller and identification and matching during subsequent installation, so that the cost is higher and the working efficiency is lower.
Disclosure of Invention
The invention provides a slave controller configuration method and a slave controller configuration system of a battery management system, which are convenient, efficient and low in cost and can automatically complete configuration, and aims to overcome the defects that in the prior art, the slave controller of the battery management system has high storage requirement on the slave controller during configuration, high storage pressure and high management cost and the slave controller is easily unmatched with a single battery during installation.
The invention solves the technical problems through the following technical scheme:
a configuration method of a slave Controller of a battery management system is characterized in that the battery management system comprises an upper computer and a plurality of slave controllers, each slave Controller is connected with the upper computer through a CAN (Controller area network) bus, and the plurality of slave controllers are sequentially cascaded, and the configuration method comprises the following steps: s1, the upper computer sends a first command to the slave controller through the CAN bus; s2, the slave controller generates a random number after receiving the first command, and the random number is used as a message ID; the slave controller sends a first response message to the upper computer; s3, after receiving the first response messages of all the slave controllers, the upper computer judges whether all the message IDs are different, if so, the upper computer executes the step S4; s4, the upper computer selects a message ID to be configured from all message IDs, and the message ID to be configured corresponds to a slave controller to be configured; the upper computer sends a second command to the slave controller to be configured; s5, the slave controllers to be configured send second response messages to the upper computer after receiving the second command, the slave controllers to be configured also send trigger signals, the trigger signals are used for controlling all slave controllers of the lower level to send trigger signals step by step in sequence, and all slave controllers of the lower level send second response messages to the upper computer after receiving the trigger signals; s6, the upper computer counts the number N of the received second response messages; the upper computer acquires a preset ID of the slave controller with the position of N; the upper computer sends the preset ID to the slave controller to be configured; and S7, the slave controller to be configured updates the message ID to the preset ID.
In the scheme, data transmission between the upper computer and the slave controller is based on a CAN bus, and the protocol characteristic of the CAN bus determines that each message transmitted on the bus must have a unique message ID in a battery management system, otherwise, other equipment on the CAN bus cannot identify the message.
In the scheme, the plurality of single batteries in the battery management system are arranged in sequence, and the slave controllers which are not configured need no manual identification and are only arranged on the battery packs where the single batteries are located in a random one-to-one correspondence manner. And each single battery is also allocated with a preset ID in advance according to the system requirement, and the message IDs are written into corresponding slave controllers before the battery management system works normally to complete the configuration of the slave controllers. And the preset ID corresponding to the slave controller can be obtained only by determining the position number of the single battery where the slave controller to be configured is located.
According to the scheme, the message ID which CAN be used for being transmitted on the CAN bus does not exist in the slave controller which is not configured, the configuration method provided by the scheme CAN automatically realize the configuration of the message ID of the slave controller, and the corresponding relation between the message ID, the slave controller and the single battery does not need to be identified manually. In the scheme, all the slave controllers adopt a sequential cascade structure and are connected in series one by one, and other slave controllers except the head and tail slave controllers all have only one superior slave controller and one subordinate slave controller. According to the scheme, the first command message is broadcasted by the upper computer, so that each slave controller generates a random number, the random numbers are used for subsequent message transmission as temporary message IDs, the upper computer can send a second command message to the slave controllers to be configured in a targeted mode after acquiring the temporary message IDs of all the slave controllers, the second command message only aims at the slave controllers to be configured, and after the other slave controllers receive the second command message and analyze the second command message, the aimed message IDs do not accord with the own temporary message IDs, so that the message cannot be responded. And the slave controllers to be configured feed back second response messages to the upper computer, and sequentially send trigger signals to the slave controllers at the rear stages thereof by virtue of the cascade structure, and each slave controller at the rear stage CAN send a second command message to the upper computer through the CAN bus after receiving the trigger signals. Specifically, the slave controller to be configured sends a trigger signal to the next-stage slave controller, triggers the next-stage slave controller to also send a second response message to the upper computer, and repeats the operations until the last-stage slave controller. Then, the upper computer counts the number N of the received second command messages, the slave controllers are connected by adopting a sequential cascade structure, the existing hardware structure determines that N is the position number of the single battery where the slave controller to be configured is located, the message ID (the preset ID) which is distributed in advance by the single battery where the slave controller to be configured is located can be obtained according to the position number N, the preset ID can be stored in the upper computer during initialization or inquired and obtained from a database stored by the upper computer to the preset ID, and finally the message ID in the slave controller is updated to be the preset ID, so that the configuration of the message ID of the slave controller to be configured is automatically completed.
The scheme provides a brand-new slave controller configuration method in a battery management system, the configuration method solves the problems that the existing configuration method needs to configure the slave controller in advance and manually mark the slave controller respectively, manual identification and matching are needed when the slave controller is installed to a single battery, the storage classification workload of the slave controller in the whole configuration process is large, the configuration version of the slave controller is complex to manage, and mistakes are easily made by manually identifying the corresponding relation between the slave controller and the single battery.
Preferably, the slave controller comprises an input interface and an output interface, and a plurality of slave controllers are cascaded through the input interface and the output interface.
In the scheme, the output interface of the slave controller of the previous stage is connected to the input interface of the slave controller of the next stage through a hard wire, so that the sequential cascade structure among the slave controllers is realized.
Preferably, the input interface defaults to a low level, and the slave controller to be configured drives the output interface to output a high level as the trigger signal.
In the scheme, the trigger signal is triggered by a rising edge, that is, each slave controller detects an input signal on an input interface of the slave controller, and when the input signal jumps from a low level to a high level, the slave controller is triggered to send a second response message.
Preferably, in step S4, the upper computer selects the message IDs to be configured from all the message IDs in descending order.
In the scheme, the upper computer selects the message IDs to be configured in a descending order, and can sequentially configure all the slave controllers.
Preferably, in step S6, the upper computer counts the number N of the second response packets after waiting for a preset time.
In the scheme, the upper computer waits for the preset time according to specific conditions after sending the second command message so as to receive all the second response messages.
Preferably, the preset time is 3 to 6 seconds.
Preferably, in step S3, if not, step S1 is executed.
In the scheme, if the random numbers generated by the slave controllers after receiving the first command message have the same number, the upper computer retransmits the first command message, so that all the slave controllers generate random numbers again, and the upper computer can accurately transmit the second command to the slave controllers only if the random numbers are different until all the random numbers are different.
The invention also provides a configuration system of the slave controllers of the battery management system, which is characterized by comprising an upper computer and a plurality of slave controllers, wherein each slave controller is connected with the upper computer through a CAN bus, and the plurality of slave controllers are sequentially cascaded;
the upper computer is used for sending a first command to the slave controller through the CAN bus;
the slave controller is used for generating a random number after receiving the first command and taking the random number as a message ID; the slave controller is also used for sending a first response message to the upper computer;
the upper computer is further used for judging whether all the message IDs are all different after receiving the first response messages of all the slave controllers, and if so, the upper computer is further used for selecting the message IDs to be configured from all the message IDs according to the sequence from small to large, wherein the message IDs to be configured correspond to the slave controllers to be configured;
the upper computer is also used for sending a second command to the slave controller to be configured;
the slave controller to be configured is used for sending a second response message to the upper computer after receiving the second command; the slave controllers to be configured are also used for sending out trigger signals, the trigger signals are used for controlling all the slave controllers of the lower level to sequentially send out the trigger signals step by step, and all the slave controllers of the lower level send second response messages to the upper computer after receiving the trigger signals;
the upper computer is further used for counting the number N of the received second response messages after waiting for a preset time, acquiring a preset ID of the slave controller with the position of N, and then sending the preset ID to the slave controller to be configured;
and the slave controller to be configured is also used for updating the message ID to the preset ID.
Preferably, the slave controller comprises an input interface and an output interface, and a plurality of slave controllers are cascaded through the input interface and the output interface; the input interface defaults to be low level, and the slave controller to be configured drives the output interface to output high level as the trigger signal.
Preferably, the preset time is 3 to 6 seconds.
The positive progress effects of the invention are as follows: the configuration method and the configuration system of the slave controller of the battery management system provide a brand-new configuration mode of the slave controller in the battery management system, and the position number of the slave controller installed in a single battery pack can be automatically identified through the method, so that the slave controller can be accurately configured.
Drawings
Fig. 1 is a schematic structural diagram of a slave controller configuration system of a battery management system according to a preferred embodiment of the invention.
Fig. 2 is a flowchart of a method for configuring a slave controller of a battery management system according to a preferred embodiment of the invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
As shown in fig. 1, a slave controller configuration system of a battery management system includes an upper computer 1 and four slave controllers 2, wherein each slave controller 2 is connected with the upper computer 1 through a CAN bus, specifically, through CANL and CANH signal lines; each of the slave controllers 2 includes an input interface IN and an output interface OUT, and the four slave controllers 2 are sequentially cascaded as shown IN fig. 1 through the input interface IN and the output interface OUT.
The upper computer 1 is used for sending a first command to the slave controller 2 through the CAN bus; the slave controller 2 is used for generating a random number after receiving the first command and taking the random number as a message ID; the slave controller 2 is also used for sending a first response message to the upper computer 1; the upper computer 1 is further configured to determine whether all the message IDs are all different after receiving the first response messages of all the slave controllers 2, and if so, the upper computer 1 is further configured to select one of all the message IDs as a message ID to be configured according to a descending order, where the message ID to be configured corresponds to the slave controller 2 to be configured; the upper computer 1 is also used for sending a second command to the slave controller 2 to be configured; the slave controller 2 to be configured is used for sending a second response message to the upper computer 1 after receiving a second command; the slave controllers 2 to be configured are also used for sending out trigger signals, the trigger signals are used for controlling all the slave controllers 2 at the lower level to sequentially send out the trigger signals step by step, and all the slave controllers 2 at the lower level send second response messages to the upper computer 1 after receiving the trigger signals. The upper computer 1 is also used for counting the number N of the received second response messages after waiting for 5 seconds, acquiring the preset ID of the slave controller 2 with the position N, and then sending the preset ID to the slave controller 2 to be configured; the slave controller 2 to be configured is further configured to update its internal packet ID to a preset ID.
Fig. 2 is a flowchart of a configuration method of a slave controller of the battery management system according to the present embodiment, where the configuration method includes the following steps:
step 101, the upper computer 1 broadcasts and sends a first command to all the slave controllers 2 through the CAN bus;
step 102, after receiving the first command, the slave controller 2 internally generates a random number, and the random number is used as the message ID of the slave controller 2;
103, each slave controller 2 sends a first response message to the upper computer 1;
step 104, after receiving the first response messages of all the slave controllers 2, the upper computer 1 judges whether all the message IDs are different, if not, returns to the step 101 to regenerate the random number, and if yes, executes the step 105;
105, the upper computer 1 selects one of all the message IDs as a message ID to be configured according to a sequence from small to large, wherein the message ID to be configured corresponds to the slave controller 2 to be configured;
step 106, the upper computer 1 continuously sends a second command to the slave controller to be configured;
step 107, after receiving a second command, the slave controllers 2 to be configured send second response messages to the upper computer 1, and simultaneously send trigger signals to control all the slave controllers 2 at the lower level to sequentially send the trigger signals step by step, and after receiving the trigger signals, all the slave controllers 2 at the lower level also send second response messages to the upper computer 1;
step 108, the upper computer 1 counts the number N of the received second response messages after waiting for 5 seconds;
step 109, the upper computer 1 acquires a preset ID of the slave controller 2 with the position N;
step 110, storing a preset ID from the controller 2 to be configured;
step 111, judging whether all the slave controllers to be configured complete the storage of the preset ID, if so, executing step 112, otherwise, executing step 105;
and step 112, reading the stored preset IDs from the controllers 2 to complete the configuration of the message IDs of the controllers.
IN this embodiment, the trigger signal is triggered by a rising edge, the input interface IN and the output interface OUT of the slave controller 2 are both set to a low level by default, and the slave controller 2 of the previous stage drives the output interface OUT thereof to output a high level to the input interface IN of the slave controller 2 of the next stage to complete the trigger action. It should be noted that the default of the input interface IN and the output interface OUT may also be high level, and at this time, the trigger signal is triggered by a falling edge; of course, the trigger signal may also be level triggered, which may be adjusted according to specific situations, and this embodiment is only one implementation manner of this embodiment.
The following further illustrates the technical solutions and effects of the present invention by means of specific examples.
In this embodiment, if the four random numbers generated by the four slave controllers 2 in step 102 are respectively 0x54, 0x02, 0x10, and 0x98, the four random numbers are all different and respectively correspond to the four slave controllers 2 on the unit batteries 4 to 1 in fig. 1 one by one. Then, in the next step 105, the slave controller 2 corresponding to the single battery 3 is selected as the slave controller 2 to be configured, because the random number corresponding to the single battery is the smallest. In step 106, the upper computer 1 sends a second command message by using the message ID value 0x02 as a message data field, only the slave controller 2 corresponding to the single battery 3 responds to the message, and the received second command message is ignored by the other three slave controllers 2 because the message IDs analyzed to be inconsistent in the data field. The slave controller 2 corresponding to the single battery 3 receives the second command message and then sends a second response message to the upper computer 1, and simultaneously drives the OUT interface to output a high level, so that the slave controller 2 corresponding to the single battery 2 detects that the IN interface has a rising edge trigger signal, so that the slave controller 2 corresponding to the single battery 2 also sends the second response message to the upper computer 1, and simultaneously drives the OUT interface to output a high level, so that the slave controller 2 corresponding to the single battery 1 detects that the IN interface has a rising edge trigger signal, and the slave controller 2 corresponding to the single battery 1 receives the trigger signal and then sends the second response message to the upper computer 1, and simultaneously drives the OUT interface to output a high level, but because the slave controller 2 corresponding to the single battery 1 is the last stage, no slave controller of the next stage continues to respond to the trigger action. From this, it can be known that the upper computer 1 has received three second response messages altogether, N in step 108 is 3, that is, the position code of the battery cell 3 is 3, the preset ID of the battery is stored in the upper computer 1 in advance, the upper computer 1 can acquire the preset ID corresponding to the battery cell 3 only according to the serial number 3, the upper computer 1 sends the preset ID to the slave controller 2 corresponding to the battery cell 3, the slave controller 2 updates the message ID therein by using the preset ID, and thus automatic configuration of the message ID corresponding to the battery cell 3 and corresponding to the slave controller 2 is completed.
The automatic configuration of the message IDs of the single batteries 2, 4 and 1 can be sequentially completed in the same manner subsequently, thereby realizing the automatic configuration of the message IDs of all the slave controllers 2.
The configuration method and the configuration system provided by the embodiment provide a brand-new configuration mode of the slave controller in the battery management system, and solve the problems that the slave controller needs to be configured in advance and manually marked respectively in the existing configuration mode, manual identification and combination are needed when the slave controller is installed to a single battery, the warehouse classification workload of the slave controller in the whole configuration process is large, the configuration version management of the slave controller is complex, and errors are easily caused by manually identifying the corresponding relation between the slave controller and the single battery.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (10)

1. A configuration method of slave controllers of a battery management system is characterized in that the battery management system comprises an upper computer and a plurality of slave controllers, each slave controller is connected with the upper computer through a CAN bus, and the plurality of slave controllers are sequentially cascaded, and the configuration method comprises the following steps:
s1, the upper computer sends a first command to the slave controller through the CAN bus;
s2, the slave controller generates a random number after receiving the first command, and the random number is used as a message ID; the slave controller sends a first response message to the upper computer;
s3, after receiving the first response messages of all the slave controllers, the upper computer judges whether all the message IDs are different, if so, the upper computer executes the step S4;
s4, the upper computer selects a message ID to be configured from all message IDs, and the message ID to be configured corresponds to a slave controller to be configured; the upper computer sends a second command to the slave controller to be configured;
s5, the slave controllers to be configured send second response messages to the upper computer after receiving the second command, the slave controllers to be configured also send trigger signals, the trigger signals are used for controlling all slave controllers of the lower level to send trigger signals step by step in sequence, and all slave controllers of the lower level send second response messages to the upper computer after receiving the trigger signals;
s6, the upper computer counts the number N of the received second response messages; the upper computer acquires a preset ID of the slave controller with the position of N; the upper computer sends the preset ID to the slave controller to be configured;
and S7, the slave controller to be configured updates the message ID to the preset ID.
2. The method of configuring a slave controller of a battery management system of claim 1, wherein the slave controller includes an input interface and an output interface, and a plurality of slave controllers are cascaded through the input interface and the output interface.
3. The slave controller configuration method of the battery management system according to claim 2, wherein the input interface defaults to a low level, and the slave controller to be configured drives the output interface to output a high level as the trigger signal.
4. The slave controller configuration method of a battery management system according to claim 1, wherein the host computer selects the message IDs to be configured among all the message IDs in order from small to large in step S4.
5. The method for configuring the slave controller of the battery management system according to claim 1, wherein the upper computer counts the number N of the second response messages after waiting for a preset time in step S6.
6. The slave controller configuration method of a battery management system according to claim 5, wherein the preset time is 3 to 6 seconds.
7. The slave controller configuration method of a battery management system according to claim 1, wherein the step S3 is executed if not, and the step S1 is executed.
8. The configuration system of the slave controllers of the battery management system is characterized by comprising an upper computer and a plurality of slave controllers, wherein each slave controller is connected with the upper computer through a CAN bus, and the plurality of slave controllers are sequentially cascaded;
the upper computer is used for sending a first command to the slave controller through the CAN bus;
the slave controller is used for generating a random number after receiving the first command and taking the random number as a message ID; the slave controller is also used for sending a first response message to the upper computer;
the upper computer is further used for judging whether all the message IDs are all different after receiving the first response messages of all the slave controllers, and if so, the upper computer is further used for selecting the message IDs to be configured from all the message IDs according to the sequence from small to large, wherein the message IDs to be configured correspond to the slave controllers to be configured;
the upper computer is also used for sending a second command to the slave controller to be configured;
the slave controller to be configured is used for sending a second response message to the upper computer after receiving the second command; the slave controllers to be configured are also used for sending out trigger signals, the trigger signals are used for controlling all the slave controllers of the lower level to sequentially send out the trigger signals step by step, and all the slave controllers of the lower level send second response messages to the upper computer after receiving the trigger signals;
the upper computer is further used for counting the number N of the received second response messages after waiting for a preset time, acquiring a preset ID of the slave controller with the position of N, and then sending the preset ID to the slave controller to be configured;
and the slave controller to be configured is also used for updating the message ID to the preset ID.
9. The slave controller configuration system of claim 8, wherein the slave controller comprises an input interface and an output interface, a plurality of slave controllers being cascaded through the input interface and the output interface; the input interface defaults to be low level, and the slave controller to be configured drives the output interface to output high level as the trigger signal.
10. The slave controller configuration system of claim 8, wherein the preset time is 3 to 6 seconds.
CN201710253944.3A 2017-04-18 2017-04-18 Method and system for configuring slave controller of battery management system Active CN108736077B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710253944.3A CN108736077B (en) 2017-04-18 2017-04-18 Method and system for configuring slave controller of battery management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710253944.3A CN108736077B (en) 2017-04-18 2017-04-18 Method and system for configuring slave controller of battery management system

Publications (2)

Publication Number Publication Date
CN108736077A CN108736077A (en) 2018-11-02
CN108736077B true CN108736077B (en) 2020-09-18

Family

ID=63924681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710253944.3A Active CN108736077B (en) 2017-04-18 2017-04-18 Method and system for configuring slave controller of battery management system

Country Status (1)

Country Link
CN (1) CN108736077B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737583A (en) * 2017-04-18 2018-11-02 奥动新能源汽车科技有限公司 From the configuration method of controller and configuration system in system

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210030168A (en) * 2019-09-09 2021-03-17 주식회사 엘지화학 Battery management system and method of communicating using intermediate nodes
CN112636762B (en) * 2019-10-08 2024-01-19 中车时代电动汽车股份有限公司 Battery management system, slave control coding method and device
CN112909355A (en) 2019-12-04 2021-06-04 宁德时代新能源科技股份有限公司 Battery management system, processing device, battery management method and battery management and control system
CN111123779B (en) * 2019-12-23 2021-09-07 北京海博思创科技股份有限公司 Number configuration method and device, electronic equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102210890B1 (en) * 2013-06-05 2021-02-02 삼성에스디아이 주식회사 Battery management system, and method of managing the same
DE102013222461B4 (en) * 2013-11-06 2023-07-27 Robert Bosch Gmbh Method for starting a battery management system
CN103809476A (en) * 2014-02-24 2014-05-21 中国第一汽车股份有限公司 Dynamic management method for IDs of module control units of distributed battery management system
CN104486180B (en) * 2014-11-11 2019-03-12 惠州市亿能电子有限公司 A kind of BMS distributes the method from control unit ID automatically
CN104901858A (en) * 2015-05-21 2015-09-09 艾德克斯电子(南京)有限公司 System communication method based on CAN bus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737583A (en) * 2017-04-18 2018-11-02 奥动新能源汽车科技有限公司 From the configuration method of controller and configuration system in system

Also Published As

Publication number Publication date
CN108736077A (en) 2018-11-02

Similar Documents

Publication Publication Date Title
CN108736077B (en) Method and system for configuring slave controller of battery management system
CN101404596B (en) Multi-topological environmental test method, system and equipment
CN109828935A (en) It is a kind of that method is write with a brush dipped in Chinese ink based on CAN FD bus parallel
EP2771939B1 (en) Distributed batterry management system and method of identification distribution using the same
CN102842939B (en) Battery management system and battery management method
CN108737583B (en) Method and system for configuring slave controllers in system
CN103645975A (en) Abnormality recovery method and serial bus transmission device
EP3422655B1 (en) Method for managing address of meter device, and acquisition terminal and meter device
CN103874113A (en) Wireless network maintenance method, device and system
CN109753044A (en) Controller of battery management system upgrade method and device
CN102970699A (en) Fault handling method and distributed base station
CN102110860A (en) Distributed battery management system and identifier assignment method thereof
CN110213359B (en) Internet of vehicles networking data pushing system and method based on D2D
CN104753749A (en) Multi-host communication method and multi-host communication system
CN111045703B (en) Battery management unit software upgrading method and system
CN105554180B (en) The connection method of principal and subordinate's breaker and distribution box in a kind of distribution box
CN116708375A (en) Equipment address allocation method, device and medium of container energy storage system
CN112162758A (en) Parallel flashing method based on wireless network and parallel flashing system thereof
CN114285692B (en) Communication control system, identity determination method, distribution method and equipment
CN116170295A (en) Method for self-adaptively reading according to network state of ammeter group
CN111078397A (en) Load balancing task allocation method and system suitable for server cluster
CN116155720A (en) CAN data acquisition remote configuration method in T-BOX
CN113194124B (en) Distributed real-time database-based DCS background multi-node directory synchronization method
CN102375763B (en) System and method for realizing interprocess communication
CN101502149A (en) A network managing system for completing customized operation automatically and a method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant