Method and device for identifying master and slave battery packs
First Claim
1. A method for identifying a master battery pack, comprising:
- obtaining, by a first battery pack, an identifier of the first battery pack after the first battery pack is connected to a battery cabinet of a power cabinet;
obtaining, by the first battery pack, identifiers of one or more other battery packs in their respective battery cabinets of the power cabinet through a communication bus, wherein a number of the one or more other battery packs plus the first battery pack is N, wherein N is a positive integer;
sorting, by the first battery pack, the identifier of the first battery pack and the identifiers of the one or more other battery packs to obtain a sorted result;
identifying, by the first battery pack, the master battery pack and one or more slave battery packs among the first battery pack and the one or more other battery packs according to the sorted result;
detecting, by the first battery pack, that the master battery pack is removed from its battery cabinet;
detecting, by the first battery pack, that a new battery pack is not connected to any of the battery cabinets within a time period after the master battery pack is removed, wherein the time period indicates a longest time that the power cabinet continues to operate in its current configuration after the master battery pack is removed; and
identifying, by the first battery pack, a new master battery pack and new slave battery packs according to the sorted result when the new battery pack is not connected to any of the battery cabinets within the time period.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present application provide a method and device for identifying a master and slave battery packs. The method includes a first battery pack obtaining, after it is connected to a battery cabinet, its identifier, and obtaining identifiers of other battery packs in the battery cabinet through a communication bus. The total number of the battery packs is N, where N is a positive integer. The method may sort the identifiers of the first battery pack and of the other battery pack to obtain a sorted result. The method may identify the master battery pack and slave battery packs among the first battery pack and the other battery packs according to the sorted result. Each of the battery packs connected to a battery cabinet may automatically identify the master battery pack and slave battery packs according to their identifiers, eliminating manual configuration by a user, and improving configuration efficiency.
8 Citations
16 Claims
-
1. A method for identifying a master battery pack, comprising:
-
obtaining, by a first battery pack, an identifier of the first battery pack after the first battery pack is connected to a battery cabinet of a power cabinet; obtaining, by the first battery pack, identifiers of one or more other battery packs in their respective battery cabinets of the power cabinet through a communication bus, wherein a number of the one or more other battery packs plus the first battery pack is N, wherein N is a positive integer; sorting, by the first battery pack, the identifier of the first battery pack and the identifiers of the one or more other battery packs to obtain a sorted result; identifying, by the first battery pack, the master battery pack and one or more slave battery packs among the first battery pack and the one or more other battery packs according to the sorted result; detecting, by the first battery pack, that the master battery pack is removed from its battery cabinet; detecting, by the first battery pack, that a new battery pack is not connected to any of the battery cabinets within a time period after the master battery pack is removed, wherein the time period indicates a longest time that the power cabinet continues to operate in its current configuration after the master battery pack is removed; and identifying, by the first battery pack, a new master battery pack and new slave battery packs according to the sorted result when the new battery pack is not connected to any of the battery cabinets within the time period. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for identifying a new master battery pack and new slave battery packs, comprising:
-
detecting, by an ith one of a plurality of first battery packs, that a master battery pack is removed from a battery cabinet of a power cabinet of the master battery pack, wherein i ranges from 1 to N, wherein N is a positive integer, wherein N is a total number of the first battery packs connected to their respective battery cabinets of the power cabinet, and wherein the first battery packs have respective identifiers; detecting, by the ith one of the first battery packs, that a new battery pack is connected to one of the battery cabinets within a time period after the master battery pack is removed, wherein the time period indicates a longest time that the power cabinet continues to operate in its current configuration after the master battery pack is removed; obtaining, by the ith one of the first battery packs, an identifier of the new battery pack through a communication bus; sorting, by the ith one of the first battery packs, the identifiers of the first battery packs and the identifier of the new battery pack to obtain a sorted result; and identifying, by the ith one of the first battery packs, the new master battery pack and the new slave battery packs among the first battery packs and the new battery pack according to the sorted result. - View Dependent Claims (8, 9)
-
-
10. A device adapted to be arranged in a first battery pack, comprising:
-
an obtaining module configured to obtain an identifier of the first battery pack after the first battery pack is connected to a battery cabinet of a power cabinet, the obtaining module is further configured to obtain identifiers of one or more other battery packs in their respective battery cabinets of the power cabinet through a communication bus, wherein a number of the one or more other battery packs plus the first battery pack is N, wherein N is a positive integer; a sorting module configured to sort the identifier of the first battery pack and the identifiers of the one or more other battery packs to obtain a sorted result; and an identifying module configured to identify a master battery pack and one or more slave battery packs among the first battery pack and the one or more other battery packs according to the sorted result; characterized in that the identifying module is further configured to; detect that the master battery pack is removed from its battery cabinet; detect that a new battery pack is not connected to any of the battery cabinets within a time period after the master battery pack is removed, wherein the time period indicates a longest time that the power cabinet continues to operate in its current configuration after the master battery pack is removed; and identify a new master battery pack and new slave battery packs according to the sorted result when the new battery pack is not connected to any of the battery cabinets within the time period. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
Specification