Patent attributes
Provided is a method of controlling a battery pack, and a battery pack controlled by the method. A battery pack includes a plurality of slave battery modules, each of the slave battery modules including a battery that includes at least one battery cell and a slave controller that is configured to control charge and discharge of the battery, a master battery module including a master controller that is configured to control the slave controller, and a communication cable having formed thereon a first port to which the master controller is connected and a plurality of second ports to which the slave controller is connected. The first port includes an identification terminal configured to output an identification signal which is an electrical signal corresponding to the number of the second ports. A method of controlling the battery pack is provided.