Battery module control method
Technical Field
The present invention relates to a battery module control method, and more particularly, to a battery module control method suitable for controlling charging and discharging of a plurality of groups of parallel batteries.
Background
The development of electronic technology has driven the need for medium-and large-sized battery packs, in which many charging and discharging processes exist during the production, testing, and use of the battery packs.
In the prior art, the control module controls the communication process to the charge-discharge working mode of the battery pack, and the communication process is complex and tedious, so that the simplification of communication is not facilitated.
Disclosure of Invention
The invention aims to provide a battery module control method which is simple and easy to implement, convenient to operate and high in reliability.
The technical scheme adopted by the invention is as follows:
a battery module control method controls a main module to communicate with a battery charging slave module and controls the charging working mode of the battery charging slave module; controlling the main module to start up to poll the battery charging slave module so as to receive information of the battery charging slave module needing online charging; after receiving the polling information of the control main module, the battery charging slave module responds to the polling information and sends the unique ID number in the processor to the control main module; the control main module receives the unique ID number of the battery charging slave module, and appoints a unique control serial number corresponding to the unique ID number to send to the battery charging slave module; the battery charging slave module receives and stores the unique control serial number assigned by the control master module to the battery charging slave module, so that the communication positioning between the control master module and the battery charging slave module is convenient.
At least one of the battery charging slave modules is in parallel connection when more than two battery charging slave modules are provided.
The method is simple and easy to implement, convenient to operate and high in reliability. Generally, one battery ID is 29 bits, the battery ID is too long, the communication process is troublesome to use, 29 bits are not needed when the battery is subjected to practical application of communication management, and the practical application of the communication management can be realized only by a simple unique control serial number, so that the communication efficiency is improved.
The control method further comprises the step of sending a charging merging request to the control main module when a new battery charging slave module needs to merge into the charging; and the control main module receives the charging merging request of the battery charging slave module and carries out response processing. The battery charging slave module needing to be merged sends a charging merging request to the control master module, the control master module receives the request and judges whether the merging charging is allowed or not, if so, the charging slave module is answered and merged for charging, and if not, the merging charging is refused or other answering processing is carried out.
The control method further comprises the steps that the control main module is communicated with the battery discharging slave module and controls the battery discharging working mode; the master module is controlled to poll the battery discharging slave modules so as to receive information of the battery discharging slave modules needing online discharging; after receiving the polling information of the control main module, the battery discharging slave module responds to the polling information and sends the unique ID number in the processor to the control main module; the control master module receives the unique ID number of the battery discharging slave module, assigns a unique control serial number corresponding to the unique ID number and sends the unique control serial number to the battery discharging slave module; the battery discharging slave module receives and stores the unique control serial number assigned by the control master module to the battery discharging slave module, so that the communication positioning between the control master module and the battery discharging slave module is convenient.
At least one of the battery discharging slave modules is in parallel connection when more than two of the battery discharging slave modules are provided.
The control method further comprises the step of sending a discharging merging request to the control main module when a new battery discharging slave module needs to merge into discharging; and the master module is controlled to receive the merging request of the battery discharging slave module and perform response processing. The battery discharging slave module needing to be merged sends a discharging merging request to the control master module, the control master module receives the request and judges whether merging discharging is allowed or not, if yes, the discharging slave module is responded and merged for discharging, and if not, merging discharging is refused or other responding processing is carried out.
The battery charging and discharging slave module is integrated with the battery discharging slave module; the main control module is controlled to communicate with the battery charging and discharging slave module, and the charging and discharging working mode of the battery charging and discharging slave module is controlled; the main module is controlled to be started to poll the battery charging and discharging slave module, and the main module is controlled to poll the battery charging and discharging slave module so as to receive information of the battery charging and discharging slave module needing online charging and discharging; after receiving the polling information of the control main module, the battery charging and discharging slave module responds to the polling information and sends the unique ID number in the processor to the control main module; the control main module receives the unique ID number of the battery charging and discharging slave module, and assigns a unique control serial number corresponding to the unique ID number to send to the battery charging and discharging slave module; the battery charging and discharging slave module receives and stores the unique control serial number assigned by the control master module for the battery charging and discharging slave module, so that the communication positioning between the control master module and the battery charging and discharging slave module is convenient.
At least one of the battery charging and discharging slave modules is in parallel connection when more than two slave modules are provided.
The control method further comprises the step of sending a charging or discharging merging request to the control main module when a new battery charging and discharging slave module needs to merge charging or discharging; and the master control module receives the incorporation request of the battery charging or discharging slave module and performs response processing. The charging and discharging slave module of the battery needing to be merged sends a charging or discharging merging request to the control master module, the control master module receives the request and judges whether the request is the charging merging request or the discharging merging request, if the request is the charging merging request, whether the charging and discharging slave module is allowed to be merged for charging is judged, if the request is the charging merging request, the charging and discharging slave module is responded and merged for charging is judged, and if the request is not the charging and discharging slave module is refused to be merged for charging or other responding processes are carried out; if the request is a discharge merging request, whether merging discharge is allowed is judged, if yes, the charging and discharging slave module is responded and merged for discharge, and if not, merging discharge is refused or other responding processing is carried out.
The unique control serial number is a serial number obtained by compressing the unique ID number, or a serial number which is completely irrelevant to the ID number and is specified by the control main module according to own rules, or a serial number which is specified by combining the compressed ID number and the own rules of the control main module. For example, only a few bits of the ID number are taken as the unique control number, or a completely new number independent of the ID number is taken as the unique control number, or a number formed by combining a few bits of the ID number with a predetermined number is taken as the unique control number. The unique control serial number is unique in the control system regardless of the form in which the serial number is formed as the unique control serial number.
A battery module control method controls a main module to communicate with a battery discharge slave module and controls a battery discharge working mode; the master module is controlled to poll the battery discharging slave modules so as to receive information of the battery discharging slave modules needing online discharging; after receiving the polling information of the control main module, the battery discharging slave module responds to the polling information and sends the unique ID number in the processor to the control main module; the control master module receives the unique ID number of the battery discharging slave module, assigns a unique control serial number corresponding to the unique ID number and sends the unique control serial number to the battery discharging slave module; the battery discharging slave module receives and stores the unique control serial number assigned by the control master module to the battery discharging slave module, so that the communication positioning between the control master module and the battery discharging slave module is convenient.
At least one of the battery discharging slave modules is in parallel connection when more than two of the battery discharging slave modules are provided.
The control method further comprises the step of sending a discharging merging request to the control main module when a new battery discharging slave module needs to merge into discharging; and the master module is controlled to receive the merging request of the battery discharging slave module and perform response processing. The battery discharging slave module needing to be merged sends a discharging merging request to the control master module, the control master module receives the request and judges whether merging discharging is allowed or not, if yes, the discharging slave module is responded and merged for discharging, and if not, merging discharging is refused or other responding processing is carried out.
The unique control serial number is a serial number obtained by compressing the unique ID number, or a serial number which is completely irrelevant to the ID number and is specified by the control main module according to own rules, or a serial number which is specified by combining the compressed ID number and the own rules of the control main module. For example, only a few bits of the ID number are taken as the unique control number, or a completely new number independent of the ID number is taken as the unique control number, or a number formed by combining a few bits of the ID number with a predetermined number is taken as the unique control number. The unique control serial number is unique in the control system regardless of the form in which the serial number is formed as the unique control serial number.
Compared with the prior art, the invention has the beneficial effects that: the roll call mode is adopted, the communication method is simple and easy to implement, convenient to operate and high in reliability; the unique control serial number is assigned to replace the 29-bit ID communication control serial number in the prior art, so that the bus data volume is reduced, and the communication efficiency is improved.
Drawings
Fig. 1 is a schematic diagram of an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention 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 invention and are not intended to limit the invention.
Any feature disclosed in this specification (including any accompanying drawings) may be replaced by alternative features serving equivalent or similar purposes, unless expressly stated otherwise. That is, unless expressly stated otherwise, each feature is only an example of a generic series of equivalent or similar features.
Detailed description of the preferred embodiment 1
A battery module control method controls a main module to communicate with a battery charging slave module and controls the charging working mode of the battery charging slave module; controlling the main module to start up to poll the battery charging slave module so as to receive information of the battery charging slave module needing online charging; after receiving the polling information of the control main module, the battery charging slave module responds to the polling information and sends the unique ID number in the processor to the control main module; the control main module receives the unique ID number of the battery charging slave module, and appoints a unique control serial number corresponding to the unique ID number to send to the battery charging slave module; the battery charging slave module receives and stores the unique control serial number assigned by the control master module to the battery charging slave module, so that the communication positioning between the control master module and the battery charging slave module is convenient.
At least one of the battery charging slave modules is in parallel connection when more than two battery charging slave modules are provided.
Specific example 2
On the basis of the specific embodiment 1, the control method further includes sending a charging incorporation request to the control master module when a new battery charging slave module needs to incorporate charging; and the control main module receives the charging merging request of the battery charging slave module and carries out response processing. The battery charging slave module needing to be merged sends a charging merging request to the control master module, the control master module receives the request and judges whether the merging charging is allowed or not, if so, the charging slave module is answered and merged for charging, and if not, the merging charging is refused or other answering processing is carried out.
Specific example 3
On the basis of the specific embodiment 1 or 2, the control method further includes the steps that the control master module communicates with the battery discharge slave module and controls a battery discharge operation mode; the master module is controlled to poll the battery discharging slave modules so as to receive information of the battery discharging slave modules needing online discharging; after receiving the polling information of the control main module, the battery discharging slave module responds to the polling information and sends the unique ID number in the processor to the control main module; the control master module receives the unique ID number of the battery discharging slave module, assigns a unique control serial number corresponding to the unique ID number and sends the unique control serial number to the battery discharging slave module; the battery discharging slave module receives and stores the unique control serial number assigned by the control master module to the battery discharging slave module, so that the communication positioning between the control master module and the battery discharging slave module is convenient.
At least one of the battery discharging slave modules is in parallel connection when more than two of the battery discharging slave modules are provided.
Specific example 4
On the basis of the specific embodiment 3, the control method further includes sending a discharge merging request to the control master module when a new battery discharge slave module needs to merge into discharge; and the master module is controlled to receive the merging request of the battery discharging slave module and perform response processing. The battery discharging slave module needing to be merged sends a discharging merging request to the control master module, the control master module receives the request and judges whether merging discharging is allowed or not, if yes, the discharging slave module is responded and merged for discharging, and if not, merging discharging is refused or other responding processing is carried out.
Specific example 5
On the basis of the specific embodiment 3 or 4, the battery charging slave module and the battery discharging slave module are integrated into a battery charging and discharging slave module; the main control module is controlled to communicate with the battery charging and discharging slave module, and the charging and discharging working mode of the battery charging and discharging slave module is controlled; the main module is controlled to be started to poll the battery charging and discharging slave module, and the main module is controlled to poll the battery charging and discharging slave module so as to receive information of the battery charging and discharging slave module needing online charging and discharging; after receiving the polling information of the control main module, the battery charging and discharging slave module responds to the polling information and sends the unique ID number in the processor to the control main module; the control main module receives the unique ID number of the battery charging and discharging slave module, and assigns a unique control serial number corresponding to the unique ID number to send to the battery charging and discharging slave module; the battery charging and discharging slave module receives and stores the unique control serial number assigned by the control master module for the battery charging and discharging slave module, so that the communication positioning between the control master module and the battery charging and discharging slave module is convenient.
At least one of the battery charging and discharging slave modules is in parallel connection when more than two slave modules are provided.
As shown in fig. 1, the full-cycle control system supporting different types of chargeable and dischargeable devices includes 2 or more slave battery charging and discharging modules and a master control module, the slave battery charging and discharging modules are connected to a dc bus through positive and negative interfaces to perform charging or discharging, the slave battery charging and discharging modules include a charging control submodule, a discharging control submodule and a current/voltage detection submodule, the charging control submodule and the discharging control submodule are connected to a loop and are used for controlling charging or discharging or other working modes of the current slave charging and discharging module, and the current/voltage detection module is used for detecting current of the loop or detecting voltage of the bus.
Specific example 6
On the basis of the specific embodiment 4 or 5, the control method further includes sending a charging or discharging merging request to the control master module when a new battery charging and discharging slave module needs to merge charging or discharging; and the master control module receives the incorporation request of the battery charging or discharging slave module and performs response processing. The charging and discharging slave module of the battery needing to be merged sends a charging or discharging merging request to the control master module, the control master module receives the request and judges whether the request is the charging merging request or the discharging merging request, if the request is the charging merging request, whether the charging and discharging slave module is allowed to be merged for charging is judged, if the request is the charging merging request, the charging and discharging slave module is responded and merged for charging is judged, and if the request is not the charging and discharging slave module is refused to be merged for charging or other responding processes are carried out; if the request is a discharge merging request, whether merging discharge is allowed is judged, if yes, the charging and discharging slave module is responded and merged for discharge, and if not, merging discharge is refused or other responding processing is carried out.
Specific example 7
In embodiment 1 to 6, the unique control sequence number is a sequence number obtained by compressing a unique ID number, or a sequence number specified by the control master module according to its own rule completely independent of the ID number, or a sequence number specified by a combination of the compressed ID number and its own rule. For example, only a few bits of the ID number are taken as the unique control number, or a completely new number independent of the ID number is taken as the unique control number, or a number formed by combining a few bits of the ID number with a predetermined number is taken as the unique control number. The unique control serial number is unique in the control system regardless of the form in which the serial number is formed as the unique control serial number.
Specific example 8
A battery module control method controls a main module to communicate with a battery discharge slave module and controls a battery discharge working mode; the master module is controlled to poll the battery discharging slave modules so as to receive information of the battery discharging slave modules needing online discharging; after receiving the polling information of the control main module, the battery discharging slave module responds to the polling information and sends the unique ID number in the processor to the control main module; the control master module receives the unique ID number of the battery discharging slave module, assigns a unique control serial number corresponding to the unique ID number and sends the unique control serial number to the battery discharging slave module; the battery discharging slave module receives and stores the unique control serial number assigned by the control master module to the battery discharging slave module, so that the communication positioning between the control master module and the battery discharging slave module is convenient.
At least one of the battery discharging slave modules is in parallel connection when more than two of the battery discharging slave modules are provided.
Specific example 9
On the basis of the specific embodiment 8, the control method further includes sending a discharge merging request to the control master module when a new battery discharge slave module needs to merge into discharge; and the master module is controlled to receive the merging request of the battery discharging slave module and perform response processing. The battery discharging slave module needing to be merged sends a discharging merging request to the control master module, the control master module receives the request and judges whether merging discharging is allowed or not, if yes, the discharging slave module is responded and merged for discharging, and if not, merging discharging is refused or other responding processing is carried out.
Embodiment 10 is the case where, based on embodiment 8 or 9, the unique control number is a number obtained by compressing a unique ID number, or a number specified by the control master module according to its own rule completely independent of the ID number, or a number specified by a combination of the compressed ID number and the control master module's own rule. For example, only a few bits of the ID number are taken as the unique control number, or a completely new number independent of the ID number is taken as the unique control number, or a number formed by combining a few bits of the ID number with a predetermined number is taken as the unique control number. The unique control serial number is unique in the control system regardless of the form in which the serial number is formed as the unique control serial number.