CN112702448A - Slave control unit address distribution method and system of battery management system - Google Patents

Slave control unit address distribution method and system of battery management system Download PDF

Info

Publication number
CN112702448A
CN112702448A CN202011496662.4A CN202011496662A CN112702448A CN 112702448 A CN112702448 A CN 112702448A CN 202011496662 A CN202011496662 A CN 202011496662A CN 112702448 A CN112702448 A CN 112702448A
Authority
CN
China
Prior art keywords
control unit
slave control
address
slave
port
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.)
Pending
Application number
CN202011496662.4A
Other languages
Chinese (zh)
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.)
Shenzhen Clou Electronics Co Ltd
Original Assignee
Shenzhen Clou Electronics 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 Shenzhen Clou Electronics Co Ltd filed Critical Shenzhen Clou Electronics Co Ltd
Priority to CN202011496662.4A priority Critical patent/CN112702448A/en
Publication of CN112702448A publication Critical patent/CN112702448A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation

Abstract

The application discloses a slave control unit address allocation method of a battery management system, a slave control unit, a master control unit and the battery management system, wherein the slave control unit address allocation method of the battery management system is applied to a first slave control unit, and the method comprises the following steps: receiving a first distribution address instruction from a main control unit or a preceding stage slave control unit, wherein the first slave control unit is connected with the main control unit through the preceding stage slave control unit; setting the address of the first slave control unit according to the first distributed address instruction; if the first slave control unit is connected with a rear-stage slave control unit, the rear-stage slave control unit is connected with the main control unit through the first slave control unit, a second distribution address instruction is determined according to the first distribution address instruction, and the second distribution address instruction is sent to the rear-stage slave control unit; the automatic allocation of the unique equipment address of the slave control module of the battery management system can be realized, and the efficiency of the allocation of the unique equipment address of the slave control module is improved.

Description

Slave control unit address distribution method and system of battery management system
Technical Field
The present disclosure relates to battery management systems, and more particularly, to a method and system for allocating addresses of slave units in a battery management system.
Background
A Battery Management System (BMS) mostly adopts a distributed System topology architecture, a Battery stack Management System (BAMS) manages a plurality of Battery Cluster Management Systems (BCMS), and the BCMS manages a plurality of slave control modules, i.e., Battery Management Units (BMUs), and in order to realize communication between the BCMS and the plurality of BMUs, a unique device address needs to be allocated to each BMU.
At present, the only equipment address of the BMU is generally allocated by manual dialing before the BMU is installed, or allocated by manual operation software, the two allocation modes are low in efficiency, and when the BMU is installed, the BMU needs to be installed according to the allocated address position, the installation process is complicated, and a large amount of labor cost is consumed.
Disclosure of Invention
The present application is directed to solving at least one of the problems in the prior art. Therefore, the application provides a slave control unit address allocation method of a battery management system, a slave control unit, a master control unit and the battery management system, which can realize automatic allocation of the unique device address of the slave control module of the battery management system and improve the efficiency of the allocation of the unique device address of the slave control module.
In a first aspect, an embodiment of the present application provides a slave control unit address allocation method for a battery management system, which is applied to a first slave control unit, and the slave control unit address allocation method for the battery management system includes:
receiving a first allocation address instruction from a master control unit or a preceding-stage slave control unit, wherein the first slave control unit is connected with the master control unit through the preceding-stage slave control unit;
setting the address of the first slave control unit according to the first distributed address instruction;
if the first slave control unit is connected with a rear-stage slave control unit, determining a second distribution address instruction according to the first distribution address instruction, and sending the second distribution address instruction to the rear-stage slave control unit, wherein the rear-stage slave control unit is connected with the master control unit through the first slave control unit.
The technical solution of the first aspect of the present application has at least one of the following advantages or beneficial effects: the slave unit address allocation method of the battery management system according to the embodiment of the present application is applied to a first slave unit, the first slave unit receives a first allocation address instruction transmitted from a master control unit or a preceding slave unit, the first slave unit is connected to the master control unit through the preceding slave unit, the first slave unit allocates an address of the first slave unit according to the first allocation address instruction, if the first slave unit is connected to a subsequent slave unit, the subsequent slave unit is connected to the master control unit through the first slave unit, the first slave unit determines a second allocation address instruction according to the first allocation address instruction and transmits the second allocation address instruction to the subsequent slave unit, so that the subsequent slave unit can configure the address according to the second allocation address instruction, and thus, address allocation to the slave unit of the battery management system can be realized, the automatic allocation of the slave control unit addresses of the battery management system is realized, the address allocation efficiency of the slave control units is improved, the installation of each slave control unit is not required to be installed according to the address position, the installation difficulty of the slave control units can be reduced, and the labor cost can be reduced.
According to some embodiments of the first aspect of the present application, the method for assigning addresses of slave units of a battery management system further comprises:
and sending an allocation address completion state to the master control unit and the preceding slave control unit.
According to some embodiments of the first aspect of the present application, the master control unit is provided with a first port, the slave control units are each provided with a first port and a second port, and the first port of the first slave control unit is electrically connected to the first port of the master control unit or the second port of the preceding slave control unit; if the first slave control unit is connected with a rear-stage slave control unit, the second port of the first slave control unit is electrically connected with the first port of the rear-stage slave control unit;
the setting the address of the first slave control unit according to the first allocated address instruction includes:
and if the first port of the first slave control unit is detected to be in an enabling state, setting the address of the first slave control unit according to the first to-be-allocated address value in the first allocated address instruction.
According to some embodiments of the first aspect of the present application, if a subsequent slave control unit is connected to the first slave control unit, determining a second allocation address instruction according to the first allocation address instruction, and sending the second allocation address instruction to the subsequent slave control unit includes:
if the first slave control unit is connected with a rear-stage slave control unit, setting the second port of the first slave control unit to be in an enabling state so as to enable the first port of the rear-stage slave control unit to be in the enabling state;
determining a second to-be-allocated address value of the second allocation address instruction according to the first to-be-allocated address value of the first allocation address instruction;
and sending the second address value to be allocated to the rear-stage slave control unit.
According to some embodiments of the first aspect of the present application, said determining a second unassigned address value for the second allocate address instruction from the first unassigned address value for the first allocate address instruction comprises:
and setting the second address value to be allocated as the first address value to be allocated + 1.
According to some embodiments of the first aspect of the present application, the method for assigning addresses of slave units of a battery management system further comprises:
receiving an assigned address completion state from the rear-stage slave control unit;
and if the completion state of the allocated address is detected to be a normal state, setting the second port of the first slave control unit to be a forbidden state so as to enable the first port of the rear-stage slave control unit to be in the forbidden state.
In a second aspect, an embodiment of the present application further provides a slave control unit address allocation method for a battery management system, which is applied to a master control unit, where the master control unit is provided with a first port, a second slave control unit is provided with a first port, the first port of the master control unit is electrically connected to the first port of the second slave control unit, and the slave control unit address allocation method for the battery management system includes:
sending a first assigned address instruction to the second slave control unit;
setting the first port of the master control unit to be in an enabling state so as to enable the first port of the second slave control unit to be in the enabling state;
receiving an assigned address completion status from the second slave control unit;
and if the completion state of the address allocation is detected to be a normal state, setting the first port of the main control unit to be a forbidden state so as to enable the first port of the second slave control unit to be in the forbidden state.
In a third aspect, an embodiment of the present application further provides a slave control unit of a battery management system, including: the system comprises a memory, a processor and instructions stored on the memory and executable on the processor, wherein the processor executes the instructions to realize the slave control unit address allocation method of the battery management system according to the embodiment of the first aspect of the application.
In a fourth aspect, an embodiment of the present application further provides a main control unit of a battery management system, including: the system comprises a memory, a processor and instructions stored on the memory and executable on the processor, wherein the processor executes the instructions to realize the slave unit address allocation method of the battery management system according to the embodiment of the second aspect of the application.
In a fifth aspect, an embodiment of the present application further provides a battery management system, including at least one of:
a slave unit of a battery management system according to an embodiment of the third aspect of the present application;
the main control unit of the battery management system according to the fourth aspect of the present application.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic diagram of a battery management system provided by one embodiment of the present application;
FIG. 2 is a flow chart of a slave unit address assignment method for a battery management system according to another embodiment of the present application;
FIG. 3 is a flow chart of a slave unit address assignment method for a battery management system according to another embodiment of the present application;
FIG. 4 is a flowchart of a slave unit address assignment method of a battery management system according to another embodiment of the present application;
FIG. 5 is a flowchart of a slave unit address assignment method for a battery management system according to another embodiment of the present application;
FIG. 6 is a flow chart of a slave unit address assignment method for a battery management system according to another embodiment of the present application;
FIG. 7 is a flowchart of a slave unit address assignment method for a battery management system according to another embodiment of the present application;
fig. 8 is a flowchart of a slave unit address allocation method of a battery management system according to another embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It should be noted that although functional block divisions are provided in the system drawings and logical orders are shown in the flowcharts, in some cases, the steps shown and described may be performed in different orders than the block divisions in the systems or in the flowcharts. The terms etc. in the description and claims and the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In the description of the present application, if there are first and second described only for the purpose of distinguishing technical features, it is not understood that relative importance is indicated or implied or that the number of indicated technical features or the precedence of the indicated technical features is implicitly indicated or implied.
In the description of the present application, unless otherwise expressly limited, terms such as set, mounted, connected, etc., should be construed broadly, and those skilled in the art can reasonably determine the specific meaning of the terms in the present application in view of the detailed contents of the technical solutions.
The application provides a slave control unit address allocation method of a battery management system, a slave control unit, a master control unit and the battery management system, wherein the slave control unit address allocation method of the battery management system is applied to a first slave control unit, the first slave control unit receives a first allocation address instruction sent by the master control unit or a preceding slave control unit, the first slave control unit is connected with the master control unit through the preceding slave control unit, then the first slave control unit allocates the address of the first slave control unit according to the first allocation address instruction, if the first slave control unit is connected with a subsequent slave control unit, the subsequent slave control unit is connected with the master control unit through the first slave control unit, the first slave control unit determines a second allocation address instruction according to the first allocation address instruction and sends the second allocation address instruction to the subsequent slave control unit so as to enable the subsequent slave control unit to allocate the address according to the second allocation address instruction, therefore, addresses can be distributed to all the slave control units in the battery management system, automatic distribution of the slave control unit addresses of the battery management system is achieved, the efficiency of distributing the slave control unit addresses is improved, installation of all the slave control units does not need to be carried out according to address positions, the difficulty of installation of the slave control units can be reduced, and labor cost can be reduced.
The embodiments of the present application will be further explained with reference to the drawings.
Referring to fig. 1, fig. 1 is a battery management system for performing a slave unit address allocation method of the battery management system according to an embodiment of the present disclosure. The battery management system comprises a memory (not shown in the figure), a processor (not shown in the figure), a main control unit and 4 slave control units, wherein the main control unit is electrically connected with one of the slave control units, all the slave control units are electrically connected in sequence, and the memory and the processor can be connected through a bus or in other modes.
The memory, which is a non-transitory readable storage medium, may be used to store non-transitory software instructions as well as non-transitory executable instructions. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the system architecture platform via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
It will be appreciated by those skilled in the art that the battery management system shown in fig. 1 is not intended to be limiting of the embodiments of the present application and may include more or less components than shown, or some components may be combined, or a different arrangement of components. For example, 4 slave units shown in fig. 1 are not to be understood as a limitation to the embodiment of the present application, the number of slave units may be 1, 2, or more than 2, and the embodiment of the present application does not limit the number of slave units.
In the battery management system shown in fig. 1, the processor may call instructions stored in the memory to perform a slave address assignment method of the battery management system.
Based on the above battery management system, various embodiments of the slave unit address allocation method of the battery management system of the present application are presented below.
In a first aspect, referring to fig. 2, fig. 2 is a flowchart of a slave control unit address allocation method of a battery management system according to an embodiment of the present application, where the slave control unit address allocation method of the battery management system is applied to a first slave control unit, the first slave control unit is any slave control unit in the battery management system, and the slave control unit address allocation method of the battery management system includes, but is not limited to, step S210, step S220, and step S230.
Step S210, receiving a first address allocation instruction from the master control unit or a preceding slave control unit, where the first slave control unit is connected to the master control unit through the preceding slave control unit.
It can be understood that the first slave control unit is any slave control unit in the battery management system, and if the first slave control unit is directly connected with the master control unit, the first slave control unit receives a first address allocation instruction from the master control unit; if the first slave control unit is connected with the master control unit through the preceding slave control unit, the first slave control unit can receive a first allocation address instruction from the master control unit and also can receive a first allocation address instruction from the preceding slave control unit, and the master control unit or the preceding slave control unit sends the first allocation address instruction in a broadcasting manner, so that all the slave control units can receive the first allocation address instruction.
In step S220, an address of the first slave unit is set according to the first address allocation instruction.
It is understood that the first address allocation instruction may include, but is not limited to, a start instruction, a verification password, and a first to-be-allocated address value, so that the first slave control unit, after receiving the first address allocation instruction, can enter a passive address allocation mode according to the start instruction and the verification password, so that the first slave control unit can set an address of the first slave control unit according to the first to-be-allocated address value, where the address is a unique device address, and facilitates communication between the master control unit and the slave control unit.
Step S230, if the first slave control unit is connected to the subsequent slave control unit, determining a second distribution address instruction according to the first distribution address instruction, and sending the second distribution address instruction to the subsequent slave control unit, where the subsequent slave control unit is connected to the master control unit through the first slave control unit.
It can be understood that, if the first slave control unit is connected with the subsequent slave control unit, the first slave control unit sends the second address allocation instruction to the subsequent slave control unit, so that the subsequent slave control unit can set a local address according to the second address allocation instruction, thus, addresses can be allocated to all the slave control units in the battery management system, automatic allocation of addresses of the slave control units of the battery management system is realized, the efficiency of address allocation of the slave control units is improved, and installation of each slave control unit does not need to be performed according to address positions, so that the difficulty of installation of the slave control units can be reduced, and labor cost can be reduced.
Referring to fig. 3, it can be understood that the slave unit address allocation method of the battery management system may further include, but is not limited to, step S310.
Step S310, an assigned address completion state is sent to the master control unit and the preceding slave control unit.
It can be understood that, if the first slave control unit is connected to the master control unit, the first slave control unit sends an address allocation completion status to the master control unit, so that the master control unit can determine whether the address allocation of the first slave control unit is normal according to the address allocation completion status; if other slave control units exist between the first slave control unit and the master control unit, the assigned address completion state is sent to the former-stage slave control unit and the master control unit, so that the former-stage slave control unit and the master control unit can judge whether the assigned address of the first slave control unit is normal or not.
It can be understood that, if there are other slave control units between the first slave control unit and the master control unit, the first slave control unit may further send the address allocation completion status in a broadcast manner, so that both the preceding slave control unit and the master control unit can receive the address allocation completion status of the first slave control unit, and the preceding slave control unit and the master control unit can determine whether the allocated address of the first slave control unit is normal according to the address allocation completion status.
Referring to fig. 4, it may be understood that step S220 may include, but is not limited to, step S410.
In step S410, if it is detected that the first port of the first slave unit is in the enabled state, the address of the first slave unit is set according to the first to-be-allocated address value in the first allocated address instruction.
It can be understood that the master control unit is provided with a first port, the slave control units are provided with a first port and a second port, and the first port of the first slave control unit is electrically connected with the first port of the master control unit or the second port of the preceding slave control unit; if the first slave control unit is connected with a rear-stage slave control unit, the second port of the first slave control unit is electrically connected with the first port of the rear-stage slave control unit. When the first port of the master control unit is in an enabled state or the second port of the preceding-stage slave control unit is in an enabled state, the first port of the first slave control unit is in an enabled state; and if the first slave control unit detects that the first port of the first slave control unit is in an enabled state, setting the address of the first slave control unit according to the first to-be-allocated address value in the first allocated address instruction, and setting the first to-be-allocated address value as the unique equipment address of the first slave control unit.
Referring to fig. 5, it is understood that step S230 includes, but is not limited to, step S510, step S520.
In step S510, if the first slave control unit is connected to the subsequent slave control unit, the second port of the first slave control unit is set to the enabled state, so that the first port of the subsequent slave control unit is in the enabled state.
In step S520, a second to-be-allocated address value of the second allocation address instruction is determined according to the first to-be-allocated address value of the first allocation address instruction.
Step S530, sending the second to-be-allocated address value to the slave control unit of the subsequent stage.
It is understood that, if the first slave control unit is connected with the subsequent slave control unit, the second port of the first slave control unit is set to the enabled state, so that the first port of the subsequent slave control unit is in the enabled state. The first slave control unit sends the second address value to be allocated in a broadcasting mode, so that the later-stage slave control unit can receive the second address value to be allocated, and the later-stage slave control unit can set a local address according to the second address value to be allocated, namely, the second address value to be allocated is set as a local unique device address.
Referring to fig. 6, it can be understood that step S520 may include, but is not limited to, step S610.
Step S610, set the second to-be-allocated address value as the first to-be-allocated address value + 1.
It can be understood that the subsequent slave control unit can set the second to-be-allocated address value as the local unique device address, since the unique device addresses cannot be the same, the first slave control unit determines the second to-be-allocated address value of the second allocated address instruction according to the first to-be-allocated address value of the first allocated address instruction, and the first slave control unit sets the second to-be-allocated address value as the first to-be-allocated address value +1, so that the device address values of the first slave control unit and the subsequent slave control unit are different, and communication between the master control unit and the slave control unit is facilitated.
It can be understood that, the first slave control unit may further set the second to-be-allocated address value as the first to-be-allocated address value +2, the first to-be-allocated address value +3, or the first to-be-allocated address value + another value, as long as the second to-be-allocated address value is distinguishable from the first to-be-allocated address value and is greater than the first to-be-allocated address value, which is not limited in this embodiment of the application.
Referring to fig. 7, the slave unit address allocation method of the battery management system may further include, but is not limited to, step S710 and step S720.
Step S710, receiving the assigned address completion status from the slave unit of the subsequent stage.
In step S720, if it is detected that the assigned address completion state is the normal state, the second port of the first slave control unit is set to the disabled state, so that the first port of the subsequent slave control unit is in the disabled state.
It can be understood that, if the first slave control unit is connected with a subsequent slave control unit, the first slave control unit receives an assigned address completion status of the subsequent slave control unit, and if it is detected that the assigned address completion status is a normal status, the second port of the first slave control unit is set to a disabled status, so that the first port of the subsequent slave control unit is in the disabled status, and the subsequent slave control unit exits from the passive address assignment mode.
It is understood that the communication between the master control unit and the slave control unit, and the communication between adjacent slave control units may be through LAN ethernet communication, CAN communication, or any other communication method capable of achieving asynchronous communication, which is not limited in this embodiment of the present application.
It is understood that the master control unit may be BCMS, BAMS, HMI (Human Machine Interface), and the slave control unit may be BCMS, BMU. If the master control unit is BCMS, the slave control unit is BMU; if the master control unit is BAMS or HMI, the slave control unit is BCMS.
In a second aspect, referring to fig. 8, an embodiment of the present application further provides a slave unit address allocation method for a battery management system, which is applied to a master control unit, where the master control unit is provided with a first port, a second slave control unit is provided with a first port, and the first port of the master control unit is electrically connected to the first port of the second slave control unit, and the slave unit address allocation method for the battery management system includes, but is not limited to, step S810, step S820, step S830, and step S840.
Step S810, sending a first address allocation command to the second slave unit.
In step S820, the first port of the master control unit is set to an enabled state, so that the first port of the second slave control unit is in the enabled state.
In step S830, the assigned address completion status from the second slave unit is received.
In step S840, if it is detected that the address assignment completion status is normal, the first port of the master control unit is set to the disabled status, so that the first port of the second slave control unit is in the disabled status.
It will be appreciated that the master unit broadcasts a first assigned address command, enabling the second slave unit to receive the first assigned address command, causing the second slave unit to enter a passive assigned address mode, then the main control unit sets the first port of the main control unit to be in an enabling state so as to enable the first port of the second slave control unit to be in the enabling state, the second slave control unit can set the address of the second slave control unit according to the first distributed address instruction, and receiving the completion status of the assigned address from the second slave control unit, if the master control unit detects that the completion status of the assigned address is normal, setting the first port of the master control unit to be in a disabled state, so that the first port of the second slave control unit is in the disabled state, and the second slave control unit exits the passive allocation address completion state, thereby completing the unique device address allocation of the second slave control unit.
In a third aspect, an embodiment of the present application further provides a slave control unit of a battery management system, including: the system comprises a memory, a processor and instructions stored on the memory and executable on the processor, wherein the processor executes the instructions to realize the slave control unit address allocation method of the battery management system according to the embodiment of the first aspect of the application.
The processor and memory may be connected by a bus or other means.
The memory, which is a non-transitory readable storage medium, may be used to store non-transitory software instructions as well as non-transitory executable instructions. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. It will be appreciated that the memory can alternatively comprise memory located remotely from the processor, and that such remote memory can be coupled to the processor via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor executes various functional applications and data processing by executing the non-transitory software instructions, instructions and signals stored in the memory, that is, the slave unit address allocation method of the battery management system according to the embodiment of the first aspect is implemented.
Non-transitory software instructions and instructions required to implement the slave unit address allocation method of the battery management system of the above-described embodiment are stored in the memory, and when executed by the processor, perform the slave unit address allocation method of the battery management system of the above-described embodiment, for example, performing the above-described method steps S210 to S230 in fig. 2, method step S310 in fig. 3, method step S410 in fig. 4, method steps S510 to S530 in fig. 5, method step S610 in fig. 6, and method steps S710 to S720 in fig. 7.
In a fourth aspect, an embodiment of the present application further provides a main control unit of a battery management system, including: the system comprises a memory, a processor and instructions stored on the memory and executable on the processor, wherein the processor executes the instructions to realize the slave unit address allocation method of the battery management system according to the embodiment of the second aspect of the application.
The processor and memory may be connected by a bus or other means.
The memory, which is a non-transitory readable storage medium, may be used to store non-transitory software instructions as well as non-transitory executable instructions. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. It will be appreciated that the memory can alternatively comprise memory located remotely from the processor, and that such remote memory can be coupled to the processor via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor executes various functional applications and data processing by executing the non-transitory software instructions, instructions and signals stored in the memory, that is, the slave unit address allocation method of the battery management system according to the embodiment of the first aspect is implemented.
The non-transitory software instructions and instructions required to implement the slave unit address allocation method of the battery management system of the above-described embodiment are stored in the memory, and when executed by the processor, perform the slave unit address allocation method of the battery management system of the second aspect of the present application, for example, perform the above-described method steps S810 to S840 in fig. 8.
In a fifth aspect, an embodiment of the present application further provides a battery management system, including at least one of:
a slave unit of a battery management system according to an embodiment of the third aspect of the present application;
the main control unit of the battery management system according to the fourth aspect of the present application.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
From the above description of embodiments, those of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable signals, data structures, instruction modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer-readable signals, data structures, instruction modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
The embodiments of the present application have been described in detail with reference to the drawings, but the present application is not limited to the embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present application.

Claims (10)

1. A slave control unit address allocation method of a battery management system is applied to a first slave control unit, and comprises the following steps:
receiving a first allocation address instruction from a master control unit or a preceding-stage slave control unit, wherein the first slave control unit is connected with the master control unit through the preceding-stage slave control unit;
setting the address of the first slave control unit according to the first distributed address instruction;
if the first slave control unit is connected with a rear-stage slave control unit, determining a second distribution address instruction according to the first distribution address instruction, and sending the second distribution address instruction to the rear-stage slave control unit, wherein the rear-stage slave control unit is connected with the master control unit through the first slave control unit.
2. The slave unit address assignment method of a battery management system according to claim 1, further comprising:
and sending an allocation address completion state to the master control unit and the preceding slave control unit.
3. The slave unit address allocation method of the battery management system according to claim 2, wherein the master control unit is provided with a first port, the slave control units are each provided with a first port and a second port, and the first port of the master control unit is electrically connected to the first port of the preceding slave control unit; the first port of the first slave control unit is electrically connected with the second port of the preceding slave control unit; if the first slave control unit is connected with a rear-stage slave control unit, the second port of the first slave control unit is electrically connected with the first port of the rear-stage slave control unit;
the setting the address of the first slave control unit according to the first allocated address instruction includes:
and if the first port of the first slave control unit is detected to be in an enabling state, setting the address of the first slave control unit according to the first to-be-allocated address value in the first allocated address instruction.
4. The method of claim 3, wherein if a subsequent slave unit is connected to the first slave unit, determining a second address allocation command according to the first address allocation command, and sending the second address allocation command to the subsequent slave unit, where the subsequent slave unit is connected to the master unit through the first slave unit, the method includes:
if the first slave control unit is connected with a rear-stage slave control unit, setting the second port of the first slave control unit to be in an enabling state so as to enable the first port of the rear-stage slave control unit to be in the enabling state;
determining a second to-be-allocated address value of the second allocation address instruction according to the first to-be-allocated address value of the first allocation address instruction;
and sending the second address value to be allocated to the rear-stage slave control unit.
5. The slave unit address allocation method of claim 4, wherein the determining a second to-be-allocated address value of the second allocation address instruction according to the first to-be-allocated address value of the first allocation address instruction comprises:
and setting the second address value to be allocated as the first address value to be allocated + 1.
6. The slave unit address assignment method of a battery management system according to claim 3, further comprising:
receiving an assigned address completion state from the rear-stage slave control unit;
and if the completion state of the allocated address is detected to be a normal state, setting the second port of the first slave control unit to be a forbidden state so as to enable the first port of the rear-stage slave control unit to be in the forbidden state.
7. A method for allocating addresses of slave control units of a battery management system is applied to a master control unit, and is characterized in that the master control unit is provided with a first port, a second slave control unit is provided with a first port, the first port of the master control unit is electrically connected with the first port of the second slave control unit, and the method for allocating addresses of the slave control units of the battery management system comprises the following steps:
sending a first assigned address instruction to the second slave control unit;
setting the first port of the master control unit to be in an enabling state so as to enable the first port of the second slave control unit to be in the enabling state;
receiving an assigned address completion status from the second slave control unit;
and if the completion state of the address allocation is detected to be a normal state, setting the first port of the main control unit to be a forbidden state so as to enable the first port of the second slave control unit to be in the forbidden state.
8. A slave unit of a battery management system, comprising: memory, processor and instructions stored on the memory and executable on the processor, characterized in that the processor implements a slave unit address allocation method of a battery management system according to any of claims 1 to 6 when executing the instructions.
9. A master control unit of a battery management system, comprising: memory, processor and instructions stored on the memory and executable on the processor, wherein the processor when executing the instructions implements the slave unit address assignment method of the battery management system of claim 7.
10. A battery management system, comprising at least one of:
a slave unit of the battery management system of claim 8;
the master control unit of the battery management system of claim 9.
CN202011496662.4A 2020-12-17 2020-12-17 Slave control unit address distribution method and system of battery management system Pending CN112702448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011496662.4A CN112702448A (en) 2020-12-17 2020-12-17 Slave control unit address distribution method and system of battery management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011496662.4A CN112702448A (en) 2020-12-17 2020-12-17 Slave control unit address distribution method and system of battery management system

Publications (1)

Publication Number Publication Date
CN112702448A true CN112702448A (en) 2021-04-23

Family

ID=75508846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011496662.4A Pending CN112702448A (en) 2020-12-17 2020-12-17 Slave control unit address distribution method and system of battery management system

Country Status (1)

Country Link
CN (1) CN112702448A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116366600A (en) * 2023-02-28 2023-06-30 大秦新能源科技(泰州)有限公司 Multi-cluster parallel operation address allocation method and system for lithium ion battery module

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049551A (en) * 2015-08-27 2015-11-11 赵忠义 System and method for automatically distributing address via bus
CN110401732A (en) * 2019-07-29 2019-11-01 江西科然科技有限公司 Battery management system slave addresses distribution method, system, mobile terminal and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049551A (en) * 2015-08-27 2015-11-11 赵忠义 System and method for automatically distributing address via bus
CN110401732A (en) * 2019-07-29 2019-11-01 江西科然科技有限公司 Battery management system slave addresses distribution method, system, mobile terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116366600A (en) * 2023-02-28 2023-06-30 大秦新能源科技(泰州)有限公司 Multi-cluster parallel operation address allocation method and system for lithium ion battery module

Similar Documents

Publication Publication Date Title
CN105847456B (en) A kind of RS485 distributes address methods, devices and systems automatically
US9222986B2 (en) Distributed battery management system and method of identification distribution using the same
CN107911866B (en) Unmanned aerial vehicle communication TDMA networking method, system, equipment and storage medium
CN106547718A (en) A kind of distribution method and battery management system of bus address
US11368404B2 (en) Method of releasing resource reservation in network
CN101527082A (en) System and method for acquiring traffic road conditions
EP4155119A1 (en) Method for controlling charging of vehicle, and device, program, medium, and vehicle
CN112702448A (en) Slave control unit address distribution method and system of battery management system
CN111405481A (en) Network resource scheduling method, device, system, electronic equipment and medium
CN103428260A (en) System and method for allocating server to terminal and efficiently delivering messages to the terminal
CN108599299B (en) High-power charging control method, charging system and control unit
CN109429347B (en) Time slot allocation method and device
CN112511662B (en) System communication address generation and distribution method and device and air conditioning system
CN105450679B (en) Carry out the method and system of data cloud storage
CN102761626A (en) Addressing and upgrading method for vehicle-mounted network node
CN113098737B (en) User node admission control method and device and electronic equipment
CN112243042B (en) Distribution method, secure communication method, detection device, gateway module and system
CN102420731A (en) Network access control method and system
CN110417927B (en) Method and system for distributing network communication addresses of train carriages
CN112839390A (en) Data processing method, networking method, testing method, system, device and equipment
CN117544596B (en) Automatic address allocation method for telemetry system, telemetry system and storage medium
JPH0550174B2 (en)
CN108983670A (en) A method of the EEPROM multiple spot suitable for new-energy automobile electric-control system is read and write
CN112671547B (en) Resource allocation method, device and system for service slices in vehicle
CN117135056B (en) Permission configuration method and device applied to FTTR

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210423

RJ01 Rejection of invention patent application after publication