Serial-parallel address allocation communication method for assigning any lithium battery as host and lithium battery system
Through the serial-parallel address allocation communication method in the lithium battery system, the address number and data summary of any lithium battery are realized by using two-way signal transmission, which solves the problem of fixed address allocation of lithium batteries in the prior art, and realizes the automated serial-parallel communication of any battery.
Patent Information
- Application Number
- CN202510517546.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-23
- Publication Date
- 2025-09-02
AI Technical Summary
In the existing lithium battery management system, the address allocation circuit of the lithium battery is usually fixed, lacking custom freedom, and it is impossible to realize one-click activation of any battery in series and parallel connection, resulting in the inability to automatically complete address allocation and information summary.
A series-parallel address allocation communication method is provided for specifying any lithium battery as the host, and the address allocation request is issued through the series-parallel communication bus, and the address number and data summary of any lithium battery are realized by using bidirectional signal transmission.
Automatic address allocation and data summary of any lithium battery is realized, ensuring that the host and slave batteries are arranged in an orderly manner, knowing each other's existence, and supporting the serial and parallel communication of any battery as the host.
Smart Images

Figure CN120583069A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of lithium battery management technology, and specifically refers to a communication method and a lithium battery system for allocating serial and parallel addresses of any designated lithium battery as a host. Background Art
[0002] In current lithium-ion battery management, many batteries are used in series and parallel. These batteries require communication to ensure consistent battery status and aggregated information. Most lithium-ion battery address assignment circuits on the market typically assign a master battery to a slave battery upon connection, lacking customization. Automatic series and parallel assignment is impossible without a designated master battery, and one-click activation of all series and parallel batteries from any battery is impossible.
[0003] Therefore, a communication method is needed to assign serial and parallel addresses to lithium batteries of any designated host battery. The serial and parallel assignment can be completed automatically so that each battery is arranged in an orderly manner and the host battery and the slave battery know each other's existence. Summary of the Invention
[0004] In order to overcome the deficiencies of the prior art, the present application provides a communication method and a lithium battery system for allocating serial and parallel addresses to designate any lithium battery as a host.
[0005] The present invention provides a communication method for assigning serial and parallel addresses to any lithium battery designated as a host, the method comprising:
[0006] Step S1: Select any lithium battery as the system host. The system host sends an address allocation request through the serial-parallel communication bus and performs address numbering on the serial-connected lithium batteries and the parallel-connected lithium batteries as slaves.
[0007] Step S2: The slave device with the address number continues to use the serial-parallel address allocation circuit to send address allocation requests to other lithium batteries, and the host performs address numbering of the serial-parallel slave devices;
[0008] Step S3, determining whether other lithium batteries receive a slave address number input signal within a preset time, and if so, continuing with the address numbering of the serial-parallel slaves; if not, ending the slave address numbering;
[0009] Step S4: After the slave address numbers are allocated, the host computer of the system starts to receive and summarize the data of the slave computers.
[0010] Furthermore, according to the communication method for assigning serial and parallel addresses to any lithium battery as a host provided by the present application, step S1 includes:
[0011] Any battery acts as the system host, and the serial address signal output circuit of the system host outputs a high level to search for the serial slaves;
[0012] The battery serving as the system host detects whether there is an input signal at the first series address signal input terminal within a given time. If there is an input signal, it is considered that the previous battery exists, and the battery of the system host communicates with the previous battery. The previous battery is defined as the first series slave of the battery of the system host and an address is assigned. If there is no input signal, it is considered that the previous battery does not exist.
[0013] The battery serving as the system host detects whether there is an input signal at the second series address signal input terminal within a given time. If there is an input signal, it is considered that a subsequent battery exists, and the battery of the system host communicates with the subsequent battery. The subsequent battery is defined as the second series slave of the battery of the system host and an address is assigned. If there is no input signal, it is considered that no subsequent battery exists.
[0014] Furthermore, according to the communication method for assigning serial and parallel addresses to any lithium battery as a host provided by the present application, step S1 further includes:
[0015] Any battery acts as the system host, and the parallel address signal output circuit of the system host outputs a high level to search for parallel slaves;
[0016] The battery serving as the system host detects whether there is an input signal at the first parallel address signal input terminal within a given time. If there is an input signal, it is considered that the previous battery exists, and the battery of the system host communicates with the previous battery. The previous battery is defined as the first parallel slave of the battery of the system host and an address is assigned. If there is no input signal, it is considered that the previous battery does not exist.
[0017] The battery serving as the system host detects whether there is an input signal at the second parallel address signal input terminal within a given time. If there is an input signal, it is considered that a subsequent battery exists, and the battery of the system host communicates with the subsequent battery. The subsequent battery is defined as the second parallel slave of the battery of the system host and an address is assigned. If there is no input signal, it is considered that no subsequent battery exists.
[0018] Furthermore, according to the communication method for assigning serial and parallel addresses to any lithium battery as a host provided by the present application, step S2 includes:
[0019] Any serial slave or parallel slave assigned an address by the system host continues to have its serial address signal output circuit and its parallel address signal output circuit both output high level, and searches for the serial slave or parallel slave are performed;
[0020] The serial slave and the parallel slave detect whether there are input signals at the first serial address signal input terminal and the second serial address signal input terminal within a given time. If there are input signals, the system host considers that there are other serially connected batteries that can serve as slaves and continues to allocate addresses to the newly added serial slaves; if there are no input signals, it is considered that there are no other serial slaves.
[0021] The serial slave and the parallel slave detect whether there are input signals at the first parallel address signal input terminal and the second parallel address signal input terminal within a given time. If there are input signals, the system host considers that there are other parallel batteries that can serve as slaves and continues to allocate addresses to the newly added parallel slaves; if there are no input signals, it is considered that there are no other parallel slaves;
[0022] The search for newly added serial slaves and newly added parallel slaves continues in the same manner.
[0023] Furthermore, according to the communication method for assigning serial and parallel addresses to any lithium battery as a host provided by the present application, step S4 includes:
[0024] Determine whether the system host is one of the parallel address distribution loops. If so, proceed to step S5; if not, proceed to step S6;
[0025] Step S5: the system host collects and summarizes data in parallel;
[0026] Step S6: The system host collects and summarizes data in a serial manner.
[0027] Furthermore, according to the communication method for assigning serial and parallel addresses to any lithium battery as a host provided by the present application, step S5 includes:
[0028] The battery system includes both series and parallel batteries. The system host collects and summarizes data as the series host in its series circuit and the parallel host in its parallel circuit. The parallel slaves collect data as the parallel host in their series circuit and report it to the system host.
[0029] Furthermore, according to the communication method for assigning serial and parallel addresses to any lithium battery as a host provided by the present application, step S5 further includes:
[0030] The battery system only includes parallel batteries. The system host acts as the parallel host in the parallel loop where it is located to collect and summarize data, and the parallel slaves will report data to the system host.
[0031] Furthermore, according to the communication method for assigning serial and parallel addresses to any lithium battery as a host provided by the present application, step S6 includes:
[0032] The battery system only includes batteries connected in series. The system host serves as the series host in the series loop where it is located to collect and summarize data, and the series slaves will report data to the system host.
[0033] The present application also provides a lithium battery system without a designated host that uses the communication method provided in the present application for series-parallel address allocation for designating any lithium battery as a host. The lithium battery system includes multiple lithium batteries, which are connected in series, parallel, or series-parallel.
[0034] Furthermore, according to the lithium battery system without a designated host provided by the present application, the lithium batteries each include a series address signal output terminal, a parallel address signal output terminal, a first series address signal input terminal, a second series address signal input terminal, a first parallel address signal input terminal, and a second parallel address signal input terminal;
[0035] Wherein, any one battery is selected as the system master, and the parallel address signal output terminal of the system master battery outputs a signal to the second parallel address signal input terminal of the battery of the preceding parallel slave and the first parallel address signal input terminal of the battery of the succeeding parallel slave; the parallel address signal output terminals of the batteries of other parallel slaves output signals to the second parallel address signal input terminal of the preceding parallel battery and the first parallel address signal input terminal of the succeeding parallel battery;
[0036] The series address signal output end of the system host battery outputs a signal to the second series address signal input end of the battery of the preceding series slave and the first series address signal input end of the battery of the succeeding series slave; the series address signal output end of the batteries of other series slaves outputs a signal to the second series address signal input end of the preceding series battery and the first series address signal input end of the succeeding series battery.
[0037] The beneficial effects of the present invention are as follows: According to the communication method and lithium battery system for series-parallel address allocation for designating any lithium battery as the host provided by this application, any battery can be designated as the system host using this communication method. The system host sends an address allocation request through series-parallel communication and addresses the batteries in series and batteries in parallel as slaves; the remaining slaves continue to use the series-parallel method to address other batteries as slaves. The system host receives and summarizes the data sent by each slave. Using the method provided by this application, it is possible to select any battery as the host and automatically complete the series-parallel allocation. To achieve this, an address allocation circuit that transmits signals in both directions is required to arrange the batteries in an orderly manner so that the host battery and the slave battery know each other's existence. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The following detailed description of the specific embodiments of the present application in conjunction with the accompanying drawings will make the technical solutions and other beneficial effects of the present application apparent.
[0039] Figure 1 This is a schematic diagram of the communication method for assigning serial and parallel addresses to any lithium battery as a host provided by this embodiment.
[0040] Figure 2 This is a schematic diagram of address allocation communication for lithium batteries connected in series provided by this embodiment.
[0041] Figure 3 This is a schematic diagram of address allocation communication for parallel lithium batteries provided in this embodiment.
[0042] Figure 4 This is a communication diagram of address allocation for series-parallel connection of lithium batteries provided in this embodiment.
[0043] Figure 5 This is a flow chart of series and parallel connection of any designated battery as the host in this embodiment. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.
[0045] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present application. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the said features. In the description of the present application, "multiple" means two or more, unless otherwise clearly and specifically defined.
[0046] The disclosure below provides many different embodiments or examples for realizing different structures of the present application. In order to simplify the disclosure of the present application, the components and settings of specific examples are described below. Of course, they are merely examples and are not intended to limit the present application. In addition, the present application may repeat reference numbers and / or reference letters in different examples, and such repetition is for the purpose of simplicity and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed. In addition, the present application provides examples of various specific processes and materials, but those of ordinary skill in the art will appreciate the application of other processes and / or the use of other materials.
[0047] The embodiments of the present application are now further described with reference to the accompanying drawings and specific implementation methods.
[0048] Figure 1 This is a schematic diagram of the communication method for assigning serial and parallel addresses to any lithium battery as a host provided by this embodiment.
[0049] like Figure 1 As shown, the method includes:
[0050] Step S1: Select any lithium battery as the system host. The system host sends an address allocation request through the serial-parallel communication bus and performs address numbering on the serial-connected lithium batteries and the parallel-connected lithium batteries as slaves.
[0051] Step S2: The slave device with the address number continues to use the serial-parallel address allocation circuit to send address allocation requests to other lithium batteries, and the host performs address numbering of the serial-parallel slave devices;
[0052] Step S3, determining whether other lithium batteries receive a slave address number input signal within a preset time, and if so, continuing with the address numbering of the serial-parallel slaves; if not, ending the slave address numbering;
[0053] Step S4: After the slave address numbers are allocated, the host computer of the system starts to receive and summarize the data of the slave computers.
[0054] Specifically, in step 1, step S1 includes:
[0055] Any battery acts as the system host, and the serial address signal output circuit of the system host outputs a high level to search for the serial slaves;
[0056] The battery serving as the system host detects whether there is an input signal at the first series address signal input terminal within a given time. If there is an input signal, it is considered that the previous battery exists, and the battery of the system host communicates with the previous battery. The previous battery is defined as the first series slave of the battery of the system host and an address is assigned. If there is no input signal, it is considered that the previous battery does not exist.
[0057] The battery serving as the system host detects whether there is an input signal at the second series address signal input terminal within a given time. If there is an input signal, it is considered that a subsequent battery exists, and the battery of the system host communicates with the subsequent battery. The subsequent battery is defined as the second series slave of the battery of the system host and an address is assigned. If there is no input signal, it is considered that no subsequent battery exists.
[0058] Figure 2 This is a schematic diagram of address allocation communication for lithium batteries connected in series provided by this embodiment.
[0059] Specifically, if Figure 2 As shown, each lithium battery in each series connection includes a series address signal output terminal, a first series address signal input terminal, and a second series address signal input terminal. In this embodiment, battery 1, battery 2, and battery 3 are connected in series as an example for explanation. In the series address signal output circuit of this embodiment, taking battery 2 as the host as an example, when performing address assignment, the series address signal output terminal of battery 2 outputs a high level to the preceding battery, that is, the second series address signal input terminal of battery 1, and outputs a high level to the succeeding battery, that is, the first series address signal input terminal of battery 3. In this application, the use of this method is different from the design of a single address signal input that can only perform one-way address assignment. The address assignment in this method can be performed on the two batteries before and after.
[0060] The series address signal output terminal of battery 1 outputs a high level to the second series address signal input terminal of the preceding battery of battery 1. In this embodiment, battery 1 has no preceding battery and therefore has no second series address signal input terminal of the preceding battery to send. The series address signal output terminal of battery 1 outputs a high level to the second series address signal input terminal of the succeeding battery of battery 1, i.e., battery 2.
[0061] The serial address signal output terminal of battery 3 outputs a high level to the preceding battery of battery 3, i.e., the second serial address signal input terminal of battery 2. The serial address signal output terminal of battery 3 outputs a high level to the subsequent battery of battery 3. In this embodiment, battery 3 has no subsequent battery, and therefore has no second serial address signal input terminal of the subsequent battery to which it can be sent.
[0062] The first serial address signal input terminal of each lithium battery performs signal detection and power awakening functions. When the first serial address signal input terminal detects a signal input, the battery receives information indicating that it is a slave of the subsequent battery. This information is then sent back to the battery that issued the serial address signal output signal via the communication unit. If the battery is in a dormant state at this time, it will be activated by the address allocation signal.
[0063] The second serial address signal input terminal of each lithium battery is responsible for signal detection and power awakening. When the second serial address signal input terminal detects a signal input, the battery receives information that it is a slave of the previous battery, and sends a signal back to the battery that issued the serial address signal output through the communication unit. If the battery is in a dormant state at this time, it will be activated by the address allocation signal.
[0064] In another embodiment, the step S1 further includes:
[0065] Any battery acts as the system host, and the parallel address signal output circuit of the system host outputs a high level to search for parallel slaves;
[0066] The battery serving as the system host detects whether there is an input signal at the first parallel address signal input terminal within a given time. If there is an input signal, it is considered that the previous battery exists, and the battery of the system host communicates with the previous battery. The previous battery is defined as the first parallel slave of the battery of the system host and an address is assigned. If there is no input signal, it is considered that the previous battery does not exist.
[0067] The battery serving as the system host detects whether there is an input signal at the second parallel address signal input terminal within a given time. If there is an input signal, it is considered that a subsequent battery exists, and the battery of the system host communicates with the subsequent battery. The subsequent battery is defined as the second parallel slave of the battery of the system host and an address is assigned. If there is no input signal, it is considered that no subsequent battery exists.
[0068] Figure 3 This is a schematic diagram of address allocation communication for parallel lithium batteries provided in this embodiment.
[0069] Specifically, if Figure 3 As shown, each lithium battery in each parallel connection includes a parallel address signal output terminal, a first parallel address signal input terminal, and a second parallel address signal input terminal. In this embodiment, battery 1, battery 2, and battery 3 are connected in parallel as an example for explanation. In the parallel address signal output circuit in this embodiment, battery 2 is taken as the host as an example. When performing address assignment, the parallel address signal output terminal of battery 2 outputs a high level to the preceding battery, that is, the second parallel address signal input terminal of battery 1, and outputs a high level to the succeeding battery, that is, the first parallel address signal input terminal of battery 3. In the present application, the use of this method is different from the design of a single address signal input that can only perform one-way address assignment. The address assignment in this method can be performed on the two batteries before and after.
[0070] The parallel address signal output terminal of battery 1 outputs a high level to the second parallel address signal input terminal of the preceding battery of battery 1. In this embodiment, battery 1 has no preceding battery and therefore has no second parallel address signal input terminal of the preceding battery to send. The parallel address signal output terminal of battery 1 outputs a high level to the second parallel address signal input terminal of the succeeding battery of battery 1, i.e., battery 2.
[0071] The parallel address signal output terminal of battery 3 outputs a high level to the preceding battery of battery 3, i.e., the second parallel address signal input terminal of battery 2. The parallel address signal output terminal of battery 3 outputs a high level to the succeeding battery of battery 3. In this embodiment, battery 3 has no succeeding battery, and therefore has no second parallel address signal input terminal of a succeeding battery to which it can be sent.
[0072] The first parallel address signal input terminal in each lithium battery is responsible for signal detection and power awakening. When the first parallel address signal input terminal detects a signal input, the battery receives information that it is a slave of the subsequent battery, and sends a signal back to the battery that issued the parallel address signal output through the communication unit. If the battery is in a dormant state at this time, it will be activated by the address allocation signal.
[0073] The second parallel address signal input terminal in each lithium battery is responsible for signal detection and power awakening. When the second parallel address signal input terminal detects a signal input, the battery receives information that it is a slave of the previous battery, and sends a signal back to the battery that issued the parallel address signal output through the communication unit. If the battery is in a dormant state at this time, it will be activated by the address allocation signal.
[0074] Figure 4 This is a communication diagram of address allocation for series-parallel connection of lithium batteries provided in this embodiment.
[0075] Specifically, if Figure 4 As shown, in this embodiment, battery 1, battery 2 and battery 3 are connected in parallel, battery 1, battery 4 and battery 7 are connected in series, battery 2, battery 5 and battery 8 are connected in series, and battery 3, battery 6 and battery 9 are connected in series as an example.
[0076] The parallel address signal output terminal of battery 2 outputs a signal to the second parallel address signal input terminal of battery 1 and the first parallel address signal input terminal of battery 3. The parallel address signal output terminal of battery 1 outputs a signal to the first parallel address signal input terminal of battery 2, and the parallel address signal output terminal of battery 3 outputs a signal to the second parallel address signal input terminal of battery 2. Address allocation is performed according to this method.
[0077] The series address signal output terminal of battery 4 outputs a signal to the second series address signal input terminal of battery 1 and the first series address signal input terminal of battery 7. The series address signal output terminal of battery 1 outputs a signal to the first series address signal input terminal of battery 4, and the series address signal output terminal of battery 7 outputs a signal to the second series address signal input terminal of battery 4. Address allocation is performed in this manner.
[0078] The series address signal output terminal of battery 5 outputs a signal to the second series address signal input terminal of battery 2 and the first series address signal input terminal of battery 8. The series address signal output terminal of battery 2 outputs a signal to the first series address signal input terminal of battery 5, and the series address signal output terminal of battery 8 outputs a signal to the second series address signal input terminal of battery 5. Address allocation is performed in this manner.
[0079] The series address signal output terminal of battery 6 outputs a signal to the second series address signal input terminal of battery 3 and the first series address signal input terminal of battery 9. The series address signal output terminal of battery 3 outputs a signal to the first series address signal input terminal of battery 6, and the series address signal output terminal of battery 9 outputs a signal to the second series address signal input terminal of battery 6. Address allocation is performed in this manner.
[0080] Specifically, step S2 includes:
[0081] Any serial slave or parallel slave assigned an address by the system host continues to have its serial address signal output circuit and its parallel address signal output circuit both output high level, and searches for the serial slave or parallel slave are performed;
[0082] The serial slave and the parallel slave detect whether there are input signals at the first serial address signal input terminal and the second serial address signal input terminal within a given time. If there are input signals, the system host considers that there are other serially connected batteries that can serve as slaves and continues to allocate addresses to the newly added serial slaves; if there are no input signals, it is considered that there are no other serial slaves.
[0083] The serial slave and the parallel slave detect whether there are input signals at the first parallel address signal input terminal and the second parallel address signal input terminal within a given time. If there are input signals, the system host considers that there are other parallel batteries that can serve as slaves and continues to allocate addresses to the newly added parallel slaves; if there are no input signals, it is considered that there are no other parallel slaves;
[0084] The search for newly added serial slaves and newly added parallel slaves continues in the same manner.
[0085] Specifically, step S4 includes:
[0086] Determine whether the system host is one of the parallel address distribution loops. If so, proceed to step S5; if not, proceed to step S6; wherein,
[0087] Step S5: the system host collects and summarizes data in parallel;
[0088] Step S6: The system host collects and summarizes data in a serial manner.
[0089] The step S5 includes:
[0090] The battery system includes both series and parallel batteries. The system host collects and summarizes data as the series host in its series circuit and the parallel host in its parallel circuit. The parallel slaves collect data as the parallel host in their series circuit and report it to the system host.
[0091] In another embodiment, step S5 further includes:
[0092] The battery system only includes parallel batteries. The system host acts as the parallel host in the parallel loop where it is located to collect and summarize data, and the parallel slaves will report data to the system host.
[0093] The step S6 includes:
[0094] The battery system only includes batteries connected in series. The system host serves as the series host in the series loop where it is located to collect and summarize data, and the series slaves will report data to the system host.
[0095] Figure 5 This is a flow chart of series and parallel connection of any designated battery as the host in this embodiment.
[0096] Combine Figure 4 and Figure 5 , in one embodiment:
[0097] Specify any battery, assuming it is battery 1, and enter the series-parallel allocation mode according to the method provided in this application. At this time, battery 1 will become the system master, and the series address signal output circuit and parallel address signal output circuit of battery 1 will output a high level to search for series slaves and parallel slaves.
[0098] Battery 1 detects whether there is an input signal at its first series address signal input terminal within a given time. If there is an input signal, it is considered that there is a previous battery. Assuming that the previous battery is battery 2, battery 1 and battery 2 communicate with each other, and battery 2 will be defined as the No. 1 series slave of battery 1. If there is no input signal, it is considered that there is no previous battery. Battery 1 detects whether there is an input signal at its second series address signal input terminal within a given time. If there is an input signal, it is considered that there is a subsequent battery. Assuming that the subsequent battery is battery 3, battery 1 and battery 3 communicate with each other, and battery 3 will be defined as the No. 2 series slave of battery 1. If there is no input signal, it is considered that there is no previous battery.
[0099] Battery 1 detects whether there is an input signal at its first parallel address signal input terminal within a given time. If there is an input signal, it is considered that there is a previous battery. Assuming that this previous battery is battery 4, battery 1 and battery 4 communicate with each other, and battery 4 will be defined as the No. 1 parallel slave of battery 1. If there is no input signal, it is considered that there is no previous battery. Battery 1 detects whether there is an input signal at its second parallel address signal input terminal within a given time. If there is an input signal, it is considered that there is a subsequent battery. Assuming that this subsequent battery is battery 5, battery 1 and battery 5 communicate with each other, and battery 5 will be defined as the No. 2 parallel slave of battery 1. If there is no input signal, it is considered that there is no previous battery.
[0100] At this time, any slave numbered by the system host, whether it is a serial slave or a parallel slave, will continue to output high levels at both the serial address signal output terminal and the parallel address signal output terminal to search for serial slaves and parallel slaves.
[0101] Any slave numbered by the system master detects whether there is an input signal at the first and second serial address signal input terminals within a given time. If there is an input signal, the master assumes that there are other serial slave batteries and continues to number the newly added serial slaves. The search for newly added serial slaves continues in this same manner. If there is no input signal, it is assumed that there are no other serial slaves.
[0102] Any slave numbered by the system master detects whether there is an input signal at the first and second parallel address signal input terminals within a given time. If there is an input signal, the master assumes that there are other parallel slave batteries and continues to number the newly added parallel slaves. The search for newly added parallel slaves continues in this manner. If there is no input signal, it is assumed that there are no other parallel slave batteries.
[0103] When the given time has passed and no response is received from the slave, the system host will stop numbering the slaves and the address allocation ends.
[0104] The system host will then determine whether a parallel loop exists.
[0105] If there is a parallel circuit in the system, the battery with a parallel address distribution circuit and a parallel communication bus will serve as a series host in a series circuit and collect data for the series circuit it is responsible for.
[0106] If the system master is in a parallel loop, the parallel slave will collect and aggregate the data of the series loop it is responsible for and send it to the system master. If the system master is not in a parallel loop, the battery in the same series loop as the system master and with a parallel address allocation circuit and a parallel communication bus will be used as the parallel master, responsible for collecting data reported by other parallel slaves and reporting it to the system master via the series bus.
[0107] If there is no parallel circuit in the system, that is, only a series circuit exists, the system host will collect data from other batteries through the series communication bus.
[0108] This embodiment also provides a lithium battery system without a designated host that uses the communication method provided in this embodiment for assigning serial and parallel addresses to any designated lithium battery as a host. The lithium battery system includes multiple lithium batteries, which are connected in series, parallel, or series and parallel.
[0109] like Figure 4 As shown, the lithium batteries each include a series address signal output terminal, a parallel address signal output terminal, a first series address signal input terminal, a second series address signal input terminal, a first parallel address signal input terminal, and a second parallel address signal input terminal;
[0110] Wherein, any one battery is selected as the system master, and the parallel address signal output terminal of the system master battery outputs a signal to the second parallel address signal input terminal of the battery of the preceding parallel slave and the first parallel address signal input terminal of the battery of the succeeding parallel slave; the parallel address signal output terminals of the batteries of other parallel slaves output signals to the second parallel address signal input terminal of the preceding parallel battery and the first parallel address signal input terminal of the succeeding parallel battery;
[0111] The series address signal output end of the system host battery outputs a signal to the second series address signal input end of the battery of the preceding series slave and the first series address signal input end of the battery of the succeeding series slave; the series address signal output end of the batteries of other series slaves outputs a signal to the second series address signal input end of the preceding series battery and the first series address signal input end of the succeeding series battery.
[0112] According to the communication method and lithium battery system for series-parallel address allocation for designating any lithium battery as the host provided by this application, any battery can be designated as the system host using this communication method. The system host sends an address allocation request through series-parallel communication and addresses the batteries in series and batteries in parallel as slaves; the remaining slaves continue to use the series-parallel method to address other batteries as slaves. The system host receives and summarizes the data sent by each slave. The method provided by this application can be used to select any battery as the host and automatically complete the series-parallel allocation. To achieve this, an address allocation circuit with bidirectional signal transmission is required to arrange the batteries in an orderly manner so that the host battery and the slave battery know each other's existence.
[0113] Although preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they are aware of the basic creative concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention. Finally, it should be noted that, in this document, relational terms such as first and second, etc., are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article, or terminal device. In the absence of further restrictions, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or terminal device comprising the element.
[0114] The above is a detailed introduction to a communication method and a lithium battery system for assigning series and parallel addresses to any lithium battery as a host provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the technical solutions and core ideas of the present application. Ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A communication method for assigning serial and parallel addresses to any lithium battery as a host, characterized in that: The method comprises: Step S1: Select any lithium battery as the system host. The system host sends an address allocation request through the serial-parallel communication bus and performs address numbering on the serial-connected lithium batteries and the parallel-connected lithium batteries as slaves. Step S2: The slave device with the address number continues to use the serial-parallel address allocation circuit to send address allocation requests to other lithium batteries, and the host performs address numbering of the serial-parallel slave devices; Step S3, determining whether other lithium batteries receive a slave address number input signal within a preset time, and if so, continuing with the address numbering of the serial-parallel slaves; if not, ending the slave address numbering; Step S4: After the slave address numbers are allocated, the host computer of the system starts to receive and summarize the data of the slave computers.
2. The communication method for assigning serial and parallel addresses to any lithium battery as a host according to claim 1, characterized in that: The step S1 comprises: Any battery acts as the system host, and the serial address signal output circuit of the system host outputs a high level to search for the serial slaves; The battery serving as the system host detects whether there is an input signal at the first series address signal input terminal within a given time. If there is an input signal, it is considered that the previous battery exists, and the battery of the system host communicates with the previous battery. The previous battery is defined as the first series slave of the battery of the system host and an address is assigned. If there is no input signal, it is considered that the previous battery does not exist. The battery serving as the system host detects whether there is an input signal at the second series address signal input terminal within a given time. If there is an input signal, it is considered that a subsequent battery exists, and the battery of the system host communicates with the subsequent battery. The subsequent battery is defined as the second series slave of the battery of the system host and an address is assigned. If there is no input signal, it is considered that no subsequent battery exists.
3. The communication method for assigning serial and parallel addresses to any designated lithium battery as a host according to claim 2, characterized in that: The step S1 further includes: Any battery acts as the system host, and the parallel address signal output circuit of the system host outputs a high level to search for parallel slaves; The battery serving as the system host detects whether there is an input signal at the first parallel address signal input terminal within a given time. If there is an input signal, it is considered that the previous battery exists, and the battery of the system host communicates with the previous battery. The previous battery is defined as the first parallel slave of the battery of the system host and an address is assigned. If there is no input signal, it is considered that the previous battery does not exist. The battery serving as the system host detects whether there is an input signal at the second parallel address signal input terminal within a given time. If there is an input signal, it is considered that a subsequent battery exists, and the battery of the system host communicates with the subsequent battery. The subsequent battery is defined as the second parallel slave of the battery of the system host and an address is assigned. If there is no input signal, it is considered that no subsequent battery exists.
4. The communication method for assigning serial and parallel addresses to any lithium battery as a host according to claim 3, characterized in that: The step S2 includes: Any serial slave or parallel slave assigned an address by the system host continues to have its serial address signal output circuit and its parallel address signal output circuit both output high level, and searches for the serial slave or parallel slave are performed; The serial slave and the parallel slave detect whether there are input signals at the first serial address signal input terminal and the second serial address signal input terminal within a given time. If there are input signals, the system host considers that there are other serially connected batteries that can serve as slaves and continues to allocate addresses to the newly added serial slaves; if there are no input signals, it is considered that there are no other serial slaves. The serial slave and the parallel slave detect whether there are input signals at the first parallel address signal input terminal and the second parallel address signal input terminal within a given time. If there are input signals, the system host considers that there are other parallel batteries that can serve as slaves and continues to allocate addresses to the newly added parallel slaves; if there are no input signals, it is considered that there are no other parallel slaves; The search for newly added serial slaves and newly added parallel slaves continues in the same manner.
5. The communication method for assigning serial and parallel addresses to any lithium battery as a host according to claim 4, characterized in that: The step S4 includes: Determine whether the system host is one of the parallel address distribution loops. If so, proceed to step S5; if not, proceed to step S6; Step S5: the system host collects and summarizes data in parallel; Step S6: The system host collects and summarizes data in a serial manner.
6. The communication method for assigning serial and parallel addresses to any lithium battery as a host according to claim 5, characterized in that: The step S5 includes: The battery system includes both series and parallel batteries. The system host collects and summarizes data as the series host in its series circuit and the parallel host in its parallel circuit. The parallel slaves collect data as the parallel host in their series circuit and report it to the system host.
7. The communication method for assigning serial and parallel addresses to any lithium battery as a host according to claim 5, characterized in that: The step S5 further includes: The battery system only includes parallel batteries. The system host acts as the parallel host in the parallel loop where it is located to collect and summarize data, and the parallel slaves will report data to the system host.
8. The communication method for assigning serial and parallel addresses to any lithium battery as a host according to claim 5, characterized in that: The step S6 includes: The battery system only includes batteries connected in series. The system host serves as the series host in the series loop where it is located to collect and summarize data, and the series slaves will report data to the system host.
9. A lithium battery system without a designated host, using the communication method for serial-parallel address assignment of any designated lithium battery as a host according to any one of claims 1 to 9, characterized in that: The lithium battery system includes a plurality of lithium batteries, and the lithium batteries are connected in series or in parallel or in series and parallel.
10. The lithium battery system without a designated host according to claim 9, characterized in that: The lithium batteries each include a series address signal output terminal, a parallel address signal output terminal, a first series address signal input terminal, a second series address signal input terminal, a first parallel address signal input terminal, and a second parallel address signal input terminal; Wherein, any one battery is selected as the system master, and the parallel address signal output terminal of the system master battery outputs a signal to the second parallel address signal input terminal of the battery of the preceding parallel slave and the first parallel address signal input terminal of the battery of the succeeding parallel slave; the parallel address signal output terminals of the batteries of other parallel slaves output signals to the second parallel address signal input terminal of the preceding parallel battery and the first parallel address signal input terminal of the succeeding parallel battery; The series address signal output end of the system host battery outputs a signal to the second series address signal input end of the battery of the preceding series slave and the first series address signal input end of the battery of the succeeding series slave; the series address signal output end of the batteries of other series slaves outputs a signal to the second series address signal input end of the preceding series battery and the first series address signal input end of the succeeding series battery.