This application claims priority to and the benefit of Korean Patent Application No. 10-2020-0148613 filed in the Korean Intellectual Property Office on Nov. 9, 2020, the entire contents of which are incorporated herein by reference.
The present invention relates to a method for allocating a communication ID for communication between a master battery management system (BMS) and a plurality of slave BMSs, and a system for providing the method.
Electric vehicles (EV), such as hybrid vehicles (HV), plug-in hybrid electric vehicles (PHEV), or battery electric vehicles (BEV), may be driven with a high voltage battery. To provide high-voltage power, a battery system may include a battery pack configured by connecting a plurality of battery modules in series or in parallel, and the battery pack may include a battery management system (BMS).
The battery management system (BMS) may include a plurality of slave BMSs for monitoring and managing a plurality of battery modules, and a master BMS for managing the slave BMS in an integrated way. The slave BMSs may transmit battery data including a battery cell voltage and temperature information to the master BMS according to various communication methods. For example, the slave BMSs may communicate with the master BMS by CAN communication that belongs to communication methods performed in the vehicle.
When the CAN communication method is used, the slave BMSs performing a same operation are coupled in parallel, so it is needed to allocate communication IDs for distinguishing the slave BMSs.
Conventionally, when the slave BMSs and the master BMS are connected in an earlier stage, a manual allocation method for an expert engineer to set present configuration positions of the slave BMSs and communication connecting IDs is used, or a method for applying predetermined voltages to the slave BMSs, sequentially waking up the same, and allocating the communication ID is used.
However, regarding the method for manually allocating the communication ID, times of allocating communication IDs become different depending on skill levels of the expert engineer, and he may erroneously set the same when he is not skilled in the method. The method for sequentially allocating the communication IDs needs an additional circuit for applying a voltage, and it is difficult to reduce the time of allocating the communication ID according to the sequential allocation.
The present invention has been made in an effort to provide a communication ID allocating method for a plurality of slave BMSs to allocate communication IDs based on a current amount applied through a power line, and a system for providing the method.
An embodiment of the present invention provides a system for allocating communication IDs, including a plurality of slave battery management systems (BMSs) sequentially connected to a power line for supplying power, and allocating predetermined communication IDs based on a first current amount applied through the power line, wherein at least one of the slave BMSs outputs a second current amount that is the first current amount minus a consumed current amount for driving through the power line, and the first current amount corresponds to a summation value of a consumed current amount of the slave BMS receiving the first current amount and a consumed current amount of at least one posterior slave BMS sequentially connected to the slave BMS receiving the first current amount.
The slave BMSs may include: a shunt resistor coupled in series to the power line; a slave storage unit for storing information for indicating resistance of the shunt resistor; and a slave control unit for measuring voltages at a front end and a rear end of the shunt resistor to calculate a voltage value caused by a voltage drop, and calculating the first current amount based on the voltage value and resistance of the shunt resistor.
The system may further include a master BMS for including a communication ID allocating table in which a plurality of communication IDs corresponding to a number of the slave BMSs and the first current amounts are recorded into a signal for instructing allocation of the communication IDs and broadcasting the same.
The slave BMSs may further include a slave communication unit for communicating with the master BMS and receiving the signal, and when receiving the signal through the slave communication unit, the slave control unit may measure voltages at a front end and a rear end of the shunt resistor and may calculate the first current amount.
The slave control unit may allocate the communication ID that corresponds to the calculated first current amount as the communication ID of the slave control unit based on the communication ID allocating table.
The master BMS may receive the calculated first current amount and the allocated communication ID from the slave BMSs, and may compare the received first current amount and the received communication ID and the communication ID allocating table to verify allocation of communication IDs of the slave BMSs.
The communication ID may be an ID for controller area network (CAN) communication.
The master BMS may be operable by a power source for supplying the power to the slave BMSs.
Another embodiment of the present invention provides a method for allocating communication IDs of a plurality of slave battery management systems (BMSs) sequentially connected to a power line for supplying power based on a first current amount applied through the power line, including allowing the slave BMSs to allocate predetermined communication IDs as communication IDs of the slave BMSs based on the first current amount, wherein at least one of the slave BMSs outputs a second current amount that is the first current amount minus a consumed current amount for driving through the power line, and the first current amount corresponds to a summation value of a consumed current amount of a slave BMS receiving the first current amount and a consumed current amount of at least one posterior slave BMS sequentially connected to the slave BMS receiving the first current amount.
The allocating of predetermined communication IDs as communication IDs of the slave BMSs based on the first current amount may include: measuring voltages at a front end and a rear end of a shunt resistor coupled in series to the power line and calculating a voltage value caused by a voltage drop; calculating the first current amount based on the voltage value and resistance of the shunt resistor; and allocating the communication ID that corresponds to the calculated first current amount as the communication of the slave BMS ID based on a communication ID allocating table in which a plurality of communication IDs corresponding to a plurality of first current amounts are recorded.
The method may further include, after the allocating of predetermined communication IDs as communication IDs of the slave BMSs based on the first current amount, allowing a master BMS to receive the calculated first current amount and the allocated communication ID from the slave BMSs, and verify allocation of communication IDs of the respective slave BMSs.
The present invention may allocate the communication IDs by using the installed power line, so it needs no additional device (e.g., a circuit, a switch) for allocating communication IDs to thus reduce the cost, and the circuit of the device to which the communication ID allocating system or the system may not be complicated.
The present invention allows the plurality of slave BMSs to automatically allocate their own communication IDs, thereby reducing the time of allocating the communication IDs.
According to the present invention, the communication ID corresponding to the first current amount may be preset and may be stored in the master BMS, so the master BMS may receive the calculated first current amount and the allocated communication ID from the slave BMSs after the communication ID is set, thereby easily verifying the allocation of communication IDs.
Hereinafter, embodiments disclosed in the present specification will be described in detail with reference to the accompanying drawings. In the present specification, the same or similar components will be denoted by the same or similar reference numerals, and an overlapped description thereof will be omitted. The terms “module” and “unit” for components used in the following description are used only in order to make the specification easier. Therefore, these terms do not have meanings or roles that distinguish them from each other by themselves. In describing embodiments of the present specification, when it is determined that a detailed description of the well-known art associated with the present invention may obscure the gist of the present invention, it will be omitted. The accompanying drawings are provided only in order to allow embodiments disclosed in the present specification to be easily understood and are not to be interpreted as limiting the spirit disclosed in the present specification, and it is to be understood that the present invention includes all modifications, equivalents, and substitutions without departing from the scope and spirit of the present invention.
Terms including ordinal numbers such as first, second, and the like will be used only to describe various components, and are not interpreted as limiting these components. The terms are only used to differentiate one component from others.
It is to be understood that when one component is referred to as being “connected” or “coupled” to another component, it may be connected or coupled directly to another component or be connected or coupled to another component with the other component intervening therebetween. On the other hand, it is to be understood that when one component is referred to as being “connected or coupled directly” to another component, it may be connected or coupled to another component without the other component intervening therebetween.
It will be further understood that terms “comprises” or “have” used in the present specification specify the presence of stated features, numerals, steps, operations, components, parts, or a combination thereof, but do not preclude the presence or addition of one or more other features, numerals, steps, operations, components, parts, or a combination thereof.
Referring to
The system for allocating communication IDs is not limited to titles of the master BMS 100 and the slave BMSs 200_1 to 200_N, and it may be applied to or included in a system including a plurality of control devices and a higher-level control device for managing the control devices in an integrated way. For example, the system for allocating communication IDs may be applied to or included in a battery system or an energy storage system (ESS), but is not limited thereto.
The master BMS 100 may be a higher-level control device for controlling the slave BMSs 200_1 to 200_N in an integrated way. For this purpose, the master BMS 100 may communicate with the slave BMSs 200_1 to 200_N so as to request necessary information and receive it. The master BMS 100 may perform 1:1 communication or 1:N communication with the slave BMSs 200_1 to 200_N according to a controller area network (CAN) communication method, and may identify the slave BMSs 200_1 to 200_N through the communication IDs.
Referring to
The master communication unit 110 may include a communication module for communicating with the slave BMSs 200_1 to 200_N. Depending on embodiments, the master communication unit 110 may include a CAN communication module.
The master storage unit 130 may store a number (N) of the slave BMSs 200_1 to 200_N, a plurality of first current amounts applied to the respective slave BMSs 200_1 to 200_N, and a communication ID allocating table on which a plurality of communication IDs corresponding to the first current amounts are recorded.
The master power unit 150 may supply a power voltage to the slave BMSs 200_1 to 200_N. Depending on embodiments, a power source for supplying a power voltage to the slave BMSs 200_1 to 200_N may, for example, be a low voltage auxiliary battery that is different from the high voltage battery module 300. For another example, the power source may be realized with a master power unit 150 for supplying low-voltage power.
The master control unit 170 may generally control the master BMS 100, and may integrally manage the slave BMSs 200_1 to 200_N. Depending on embodiments, the master control unit 170 may broadcast a signal for instructing allocation of communication IDs in the case of first connection to the slave BMSs 200_1 to 200_N through the master communication unit 110. The slave BMSs 200_1 to 200_N connected to the master communication unit 110 through the network may automatically allocate the communication IDs.
Depending on embodiments, when receiving a power voltage from the power source, the master control unit 170 may broadcast a signal for instructing allocation of communication IDs through the master communication unit 110.
The slave BMS 200 may monitor and control the electrically connected battery module 300. For example, the slave BMSs 200_1 to 200_N may measure or predict states (e.g., a temperature, a voltage, and charging capacity) of the battery cell included in a plurality of battery modules 300_1 to 300_N and may send resultant signals to the master BMS 100. The slave BMS 200 may control (e.g., charge and discharge, planarize, etc.) the battery module 300 according to a control signal received from the master BMS 100.
Depending on embodiments, the slave BMSs 200_1 to 200_N may be sequentially connected to a power supplying line. For example, the first slave BMS 200_1 and the second slave BMS 200_2 may be connected thereto, and the second slave BMS 200_2 and the third slave BMS 200_3 may be sequentially connected thereto (i.e., the daisy chain method) to receive a consumed current. Accordingly, the respective slave BMSs 200 may output a second current amount that is generated by subtracting the consumed current amount used for driving from the first current amount applied through the power line through a power line.
In detail, the first current amount applied to the uppermost first slave BMS 200_1 connected near the power source may correspond to the current amount that is a summation of the consumed current amounts of the slave BMSs 200_1 to 200_N. A second current amount output from the uppermost first slave BMS 200_1 may correspond to the current amount generated by subtracting the consumed current amount for driving the first slave BMS 200_1 from the first current amount. The first current amount applied to the lowermost N-th slave BMS 200_N may correspond to the consumed current amount for driving the N-th slave BMS 200_N. In this instance, the N-th slave BMS 200_N has no posterior slave BMS, so the second current amount output from the N-th slave BMS 200_N may not exist, which will be described in detail with reference to
Referring to
The slave communication unit 210 may include a communication module for communicating with the master BMS 100. Depending on embodiments, the slave communication unit 210 may include a CAN communication module.
The slave storage unit 230 may store information for indicating resistance of the shunt resistor included in the current measurement unit 250, and a communication ID allocating table transmitted from the master BMS 100 through the slave communication unit 210.
The current measurement unit 250 includes a shunt resistor coupled in series to the power line, and provides a voltage value that corresponds to a voltage drop caused by the shunt resistor so as to measure a first current amount applied through the power line. For example, the slave control unit 270 may measure voltages at the front end and the rear end of the shunt resistor to calculate a voltage value that corresponds to the voltage drop, and substitutes the calculated voltage value and the resistance of the shunt resistor into Ohm's law to calculate the first current amount (current value).
The slave control unit 270 generally controls the slave BMS 200. Depending on embodiments, the slave control unit 270 may automatically allocate a predetermined communication ID as the communication ID of the slave control unit 270 based on the first current amount indicating relative positions among the slave BMSs 200_1 to 200_N.
Referring to
Depending on embodiments, the first to fifth slave BMSs 200_1 to 200_N are sequentially connected to the power supplying line (Ls). In detail, the uppermost slave BMS 200 may be a first slave BMS 200_1 connected near the power source, and the second to fourth slaves BMS 200_2 to 200_4 may be sequentially connected to the first slave BMS 200_1. Here, the fifth slave BMS 200_5 may correspond to the lowermost slave BMS 200.
As they are sequentially connected to the power line (Ls), the respective first to fifth slave BMSs 200_1 to 200_N output the second current amount that is generated by subtracting the consumed current amount for driving from the first current amount applied through the power line (Ls) to the power line (Ls). A current input with reference to the predetermined slave BMS 200 is a first current, and a current output therewith is a second current.
In detail, the first current amount applied to the uppermost slave BMS 200_1 may correspond to the entire consumed current amount to be used by the slave BMSs 200_1 to 200_N, that is, the summation value of the consumed current amounts of the slave BMSs 200_1 to 200_N. The first current amounts applied to the respective slave BMSs are gradually reduced while passing through a plurality of intermediate slave BMSs 200_2 to 200_N−1 sequentially connected through the power line (Ls). The lowermost slave BMS 200_N may receive the first current amount corresponding to the consumed current amount to be used by the lowermost slave BMS 200_N. In this instance, the lowermost slave BMS 200_N has no posterior slave BMS, so there may be no second current amount output by the lowermost slave BMS 200_N.
For example, referring to
As described above, the first current amount corresponds to the summation of the consumed current amounts of the slave BMS 200 for receiving the first current amount and the sequentially connected posterior slave BMS 200. Assuming that consumed current amounts of the respective slave BMSs 200 have a same value within a predetermined error range, the first current amount may indicate (or express) the relative positions of the slave BMSs 200_1 to 200_N.
Depending on embodiments, the first current amount (e.g., 300 mA) may be expressed as a predetermined multiple (300 mA/60 mA=5) of the consumed current amount of 60 mA, and the predetermined multiple of 5 may correspond to the number (N=5) of the sequentially connected slave BMSs 200.
Referring to
Referring to
The slave control unit 270 measures voltages at a first node N11 positioned at the front end of the shunt resistor R1 coupled in series to the power line (LS) and a second node N12 positioned at the rear end thereof. For example, the slave control unit 270 may reduce the voltages respectively measured at the first node N11 and the second node N12 into values that are within an input range, and may then receive them. For this purpose, a plurality of resistors R11 to R14 may be disposed in series and/or in parallel between the shunt resistor R1 and the slave control unit 270. For example, respective resistance of the resistors R11 to R14 may set so that the voltages (about 10 V and 9.7 V) measured at the first node N11 and the second node N12 may be reduced by the ratio of 1/10 (about 1 V and 0.97 V) and may be applied to the slave control unit 270. Depending on embodiments, the slave control unit 270 may be realized as a microcontroller unit (MCU).
The slave control unit 270 calculates a difference value (10 V−9.7 V=0.3 V) between the voltage value (e.g., 10 V) measured at the first node (N11) and the voltage value (e.g., 9.7 V) measured at the second node N12, that is, the voltage value (0.3 V) caused by a voltage drop (⬇) of the shunt resistor R1. The slave control unit 270 may substitute (JI=V/R) the resistance (e.g., 1Ω) of the shunt resistor R1 stored in the slave storage unit 230 and the voltage value (0.3 V) caused by the voltage drop (⬇) of the shunt resistor R1 into Ohm's law to calculate the first current amount (I=0.3 V/1Ω=300 mA).
The slave control unit 270 may automatically allocate the communication ID that corresponds to the calculated first current amount of 300 mA as the communication ID of the slave control unit 270 based on the communication ID allocating table. The communication ID allocating table may, as expressed in Table 1, include a plurality of communication IDs that correspond to a plurality of first current amounts (I1 to I5) respectively.
Referring to Table 1, the first slave BMS 200_1 corresponding to N=1 is the uppermost slave BMS 200, and the fifth slave BMS 200_5 corresponding to N=5 is the lowermost slave BMS 200. For example, the slave control unit 270 of the first slave BMS 200_1 may automatically allocate the first communication ID (ID_1) that corresponds to the calculated first current amount of 300 mA as the communication ID of the slave control unit 270 based on the communication ID allocating table.
Referring to
Referring to
Referring to
The respective second to fifth slave BMSs 200_2 to 200_5 may automatically allocate the communication IDs (ID_2, ID_3, ID_4, and ID_5) that correspond to the calculated first current amounts of 240 mA, 180 mA, 120 mA, and 60 mA as the communication IDs of the second to fifth slave BMSs 200_2 to 200_5 based on the communication ID allocating table. The second slave BMS 2002 may automatically allocate the second communication ID (ID_2) as the communication ID of the second slave BMS 200_2. In a like way, the third slave BMS 200_3 to fifth slave BMS 200_5 may automatically allocate the third communication ID (ID_3), the fourth communication ID (ID_4), and the fifth communication ID (ID_5) as the communication IDs of the third slave BMS 200_3 to the fifth slave BMS 200_5.
Referring to
In order for the master BMS 100 to communicate with the slave BMSs 200_1 to 200_N, communication IDs for identifying the slave BMSs 200_1 to 200_N are needed. However, the master BMS 100 may not specify the respective slave BMSs 200_1 to 200_N and may not transmit signals before the communication IDs are allocated, so it may broadcast the communication ID allocating instruction to the slave BMSs 200_1 to 200_N through the network.
Depending on embodiments, the master BMS 100 may broadcast the signal for instructing allocation of communication IDs when power is supplied from the power source through a power line.
The slave BMS 200 may allocate a predetermined communication ID as the communication ID of the slave BMS 200 based on the first current amount applied through the power line (S200).
Depending on embodiments, the slave BMSs 200_1 to 200_N are sequentially connected to the power line for supplying power. The slave BMSs 200_1 to 200_N may output the second current amount that is the first current amount minus the consumed current amount for driving through the power line. For example, the first current amount may correspond to the summation value of the consumed current amount of the slave BMS 200 receiving the first current amount and the consumed current amount of at least one posterior slave BMS 200 sequentially connected to the slave BMS 200 receiving the first current amount.
Referring to
The slave control unit 270 may measure the voltages at the first node N11 of the front end of the shunt resistor R1 coupled in series to the power line (LS) and the second node N12 of the rear end thereof. Referring to
In S200, the slave BMS 200 may calculate the first current amount based on the voltage value caused by the voltage drop (⬇) of the shunt resistor R1 and the resistance of the shunt resistor R1 (S230).
The slave control unit 270 may substitute (I=V/R) the resistance (e.g., 1Ω) of the shunt resistor R1 and the voltage value (0.3 V) caused by the voltage drop (⬇) of the shunt resistor R1 into Ohm's law and may calculate the first current amount (I=0.3 V/1 Ω=300 mA). The resistance of the shunt resistor R1 may be stored in the slave storage unit 230.
According to the above-noted method, the second to fifth slave BMSs 200_2 to 200_5 may respectively calculate the first current amounts. For example, the first current amounts of the second to fifth slave BMS 200_2 to 200_N may be 240 mA, 180 mA, 120 mA, and 60 mA.
In S200, the slave BMS 200 may allocate the communication ID that corresponds to the first current amount as the communication ID of the slave BMS 200 based on the communication ID allocating table (S250). Here, as expressed in Table 1, the communication ID allocating table may include a plurality of communication IDs that correspond to a plurality of first current amounts (I1 to I5).
The master BMS 100 may receive the calculated first current amounts and the allocated communication IDs from the slave BMSs 200_1 to 200_N, and may verify the allocated communication IDs (S300).
For example, the master BMS 100 may receive the first current amount of 330 mA and the second communication ID (ID_2) from the second slave BMS 200_2, and may compare them with the communication ID allocating table to verify the second communication ID. Referring to Table 1, the first current amount corresponding to the second communication ID (ID_2) is 240 mA. This is different from the first current amount 330 mA and the communication ID (ID_2) received from the second slave BMS 200_2. The master BMS 100 may determine the allocation of communication IDs performed by the second slave BMS 200_2 to have errors.
When the allocation of communication IDs by at least one of the slave BMSs 200_1 to 200_N is found to be erroneous, the master BMS 100 may broadcast an instruction for instructing allocation of communication IDs to the slave BMSs 200_1 to 200_N.
While this invention has been described in connection with what is presently considered to be practical embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2020-0148613 | Nov 2020 | KR | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/KR2021/010604 | 8/10/2021 | WO |
Number | Date | Country | |
---|---|---|---|
20240137245 A1 | Apr 2024 | US |