CN116781667A - Energy storage battery pack address coding method and device, electronic equipment and medium - Google Patents

Energy storage battery pack address coding method and device, electronic equipment and medium Download PDF

Info

Publication number
CN116781667A
CN116781667A CN202310907520.XA CN202310907520A CN116781667A CN 116781667 A CN116781667 A CN 116781667A CN 202310907520 A CN202310907520 A CN 202310907520A CN 116781667 A CN116781667 A CN 116781667A
Authority
CN
China
Prior art keywords
energy storage
storage battery
battery pack
address coding
main control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310907520.XA
Other languages
Chinese (zh)
Inventor
林萍
孙中伟
贺松林
曾进
沈高松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Hello Tech Energy Co Ltd
Original Assignee
Shenzhen Hello Tech Energy Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Hello Tech Energy Co Ltd filed Critical Shenzhen Hello Tech Energy Co Ltd
Priority to CN202310907520.XA priority Critical patent/CN116781667A/en
Publication of CN116781667A publication Critical patent/CN116781667A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5069Address allocation for group communication, multicast communication or broadcast communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Battery Mounting, Suspending (AREA)

Abstract

The invention discloses an energy storage battery pack address coding method, an energy storage battery pack address coding device, electronic equipment and a medium. The method comprises the following steps: under the condition that the input signal of the main control module is a first level signal, sending a broadcast message to all energy storage battery packs so as to set the address codes of all the energy storage battery packs to a preset value; setting an output signal of the main control module as a first level signal, and sending address coding information to the energy storage battery pack so that the energy storage battery pack carries out address coding according to the address coding information; and sequentially receiving the first response message sent by the energy storage battery packs, sequentially adjusting the address coding information, and sending the adjusted address coding information to the next energy storage battery pack so that the next energy storage battery pack performs address coding according to the address coding information until all the energy storage battery packs finish address coding. According to the technical scheme, address coding information can be automatically distributed to each energy storage battery pack, and complexity of product configuration can be reduced.

Description

Energy storage battery pack address coding method and device, electronic equipment and medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an energy storage battery packet address encoding method, an apparatus, an electronic device, and a medium.
Background
An energy storage battery PACK (PACK) generally refers to a combined lithium ion battery PACK that includes packaging, encapsulation, and assembly. As a portable device for providing electrical energy, the load can be powered in some occasions where electricity is needed.
In order to solve the problem that the single energy storage battery pack is excessively large in size or the probability of forming high-voltage high-capacity risk due to the fact that too many battery cells are stacked under the same sealing space due to the fact that the continuous voyage mileage requirement is increased, the continuous voyage mileage can be prolonged through parallel operation of a plurality of energy storage battery packs, and in order to distinguish different energy storage battery packs, different address coding information needs to be distributed to each energy storage battery pack.
How to allocate different address coding information to each energy storage battery pack is a problem to be solved at present.
Disclosure of Invention
The invention provides an energy storage battery pack address coding method, an energy storage battery pack address coding device, electronic equipment and a medium, which can automatically distribute address coding information for each energy storage battery pack, can reduce complexity of product configuration, and are convenient for hot plug.
According to an aspect of the present invention, there is provided an address encoding method of an energy storage battery pack, the method comprising:
under the condition that the input signal of the main control module is a first level signal, sending a broadcast message to all energy storage battery packs so as to set the address codes of all the energy storage battery packs to a preset value;
setting an output signal of the main control module as a first level signal, and sending address coding information to the energy storage battery pack so that the energy storage battery pack performs address coding according to the address coding information;
and sequentially receiving the first response message sent by the energy storage battery pack, sequentially adjusting the address coding information, and sending the adjusted address coding information to the next energy storage battery pack so that the next energy storage battery pack performs address coding according to the address coding information until all the energy storage battery packs finish address coding.
According to an aspect of the present invention, there is provided an address encoding method of an energy storage battery pack, the method comprising:
receiving a broadcast message sent by the main control module, and setting an address code as a preset value;
receiving address coding information sent by the main control module, and performing address coding according to the address coding information;
And sequentially sending a first response message to the main control module so that the main control module sequentially adjusts the address coding information, and sending the adjusted address coding information to the next energy storage battery pack until all the energy storage battery packs finish address coding.
According to another aspect of the present invention, there is provided an address encoding apparatus for an energy storage battery pack, the apparatus comprising:
a broadcast message sending unit, configured to send a broadcast message to all the energy storage battery packs when the input signal of the main control module is a first level signal, so that address codes of all the energy storage battery packs are set to a preset value;
the address coding information sending unit is used for setting the output signal of the main control module as a first level signal and sending address coding information to the energy storage battery pack so that the energy storage battery pack performs address coding according to the address coding information;
the address coding adjustment unit is used for sequentially receiving the first response messages sent by the energy storage battery packs, adjusting the address coding information according to the sequence, and sending the adjusted address coding information to the next energy storage battery pack so that the next energy storage battery pack performs address coding according to the address coding information until all the energy storage battery packs finish address coding.
According to another aspect of the present invention, there is provided an address encoding apparatus for an energy storage battery pack, the apparatus comprising:
the broadcast message receiving unit is used for receiving the broadcast message sent by the main control module and setting the address code as a preset value;
the address coding information receiving unit is used for receiving the address coding information sent by the main control module and carrying out address coding according to the address coding information;
and the first response message sending unit is used for sequentially sending first response messages to the main control module so that the main control module sequentially adjusts the address coding information and sends the adjusted address coding information to the next energy storage battery pack until all the energy storage battery packs finish address coding.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of encoding an energy storage battery pack address as claimed in any one of claims 1-3 or 4-6.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement the method for encoding an address of an energy storage battery pack according to any one of claims 1-3 or 4-6 when executed.
According to the technical scheme, under the condition that an input signal of a main control module is a first level signal, a broadcast message is sent to all energy storage battery packs so that address codes of all the energy storage battery packs are set to be preset values, then an output signal of the main control module is set to be the first level signal, address coding information is sent to the energy storage battery packs so that the energy storage battery packs perform address coding according to the address coding information, a first response message sent by the energy storage battery packs is sequentially received, the address coding information is sequentially adjusted, and the adjusted address coding information is sent to the next energy storage battery pack so that the next energy storage battery pack performs address coding according to the address coding information until all the energy storage battery packs finish the address coding. According to the technical scheme, address coding information can be automatically distributed to each energy storage battery pack, and complexity of product configuration can be reduced.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the application or to delineate the scope of the application. Other features of the present application will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for encoding an address of an energy storage battery pack according to a first embodiment of the present application;
fig. 2 is a block diagram of an address coding system for an energy storage battery pack according to a first embodiment of the present application;
fig. 3 is a flowchart of an address encoding process of an energy storage battery pack according to a second embodiment of the present application;
fig. 4 is a schematic structural diagram of an address encoding device for an energy storage battery pack according to a third embodiment of the present application;
fig. 5 is a schematic structural diagram of an address encoding device for an energy storage battery pack according to a fourth embodiment of the present application;
Fig. 6 is a schematic structural diagram of an electronic device implementing a method for encoding an address of an energy storage battery pack according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of an address encoding method for an energy storage battery pack according to an embodiment of the present application, where the method may be performed by an address encoding device for an energy storage battery pack, and the address encoding device for an energy storage battery pack may be implemented in hardware and/or software, and the address encoding device for an energy storage battery pack may be configured in an electronic device. As shown in fig. 1, the method includes:
and S110, under the condition that the input signal of the main control module is a first level signal, sending a broadcast message to all the energy storage battery packs so as to set the address codes of all the energy storage battery packs to a preset value.
In this scheme, fig. 2 is a block diagram of an address coding system for an energy storage battery pack according to an embodiment of the present application, and as shown in fig. 2, the address coding system for an energy storage battery pack is composed of a main control module and a plurality of energy storage battery packs, where the main control module is configured to allocate address coding information for the energy storage battery packs. The main control module and the energy storage battery pack are simultaneously hung on a controller area network (Controller Area Network, CAN) bus. The main control module and the energy storage battery pack, and two electrical signals DI (digital input signal) and DO (digital output signal) are used between the energy storage battery pack and the energy storage battery pack for auxiliary coding. Each energy storage battery pack comprises an input signal and an output signal of a previous energy storage battery pack or a main control module, and comprises an input signal and an output signal of a next energy storage battery pack. Wherein DO1 and DI2 are a set of input/output signals, and DI1 and DO2 are a set of input/output signals.
The address code of the main control module can be set according to the address code requirement of the energy storage battery pack, for example, the address code of the main control module can be set to 0xF0.
In this embodiment, the first level signal may refer to a high level signal, where the high level refers to a voltage level within a first preset voltage range, and the first preset voltage range may be set according to requirements.
When the energy storage battery pack is connected to the energy storage battery pack address coding system, the output signal DO1 of the main control module or the upper-stage energy storage battery pack is automatically set to be a first level signal for reminding the main control module or the upper-stage energy storage battery pack of a new energy storage battery pack access.
In this embodiment, the broadcast message may be composed of letters and numbers for reminding the energy storage battery pack to set the address code to a preset value. Wherein the preset value may be 0.
In this scheme, when the main control module starts, it will first detect whether the input signal DI2 of the next energy storage battery pack included in itself is the first level signal, if the input signal DI2 of the next energy storage battery pack is the first level signal, at this time, there is an energy storage battery pack access in the energy storage battery pack address coding system, then send the broadcast message, set the address codes of all energy storage battery packs to the preset value. The broadcast message is only processed when the address code of the energy storage battery pack is a preset value, and is ignored if the address code is other values.
And S120, setting the output signal of the main control module as a first level signal, and sending address coding information to the energy storage battery pack so that the energy storage battery pack carries out address coding according to the address coding information.
The address coding information may be composed of letters and numbers, and for example, the address coding information may be 0xF1 or 0xF2. The address coding information of different energy storage battery packs is different.
Further, after the address codes of all the energy storage battery packs are set to a preset value, the output signal DO2 of the next stage of energy storage battery pack contained in the main control module is set to a first level signal, the energy storage battery pack is informed of entering the address code, and then address code information is sent to the energy storage battery pack. Specifically, the address coding information may be sent to the energy storage battery pack in the form of an address message. When the energy storage battery pack receives the address message, the code of the energy storage battery pack is set as address code information issued by the main control module.
And S130, sequentially receiving a first response message sent by the energy storage battery pack, sequentially adjusting the address coding information, and sending the adjusted address coding information to a next energy storage battery pack so that the next energy storage battery pack performs address coding according to the address coding information until all the energy storage battery packs finish address coding.
In this scheme, the first response message may be composed of letters and numbers, and is used to remind the main control module that the energy storage battery pack exists subsequently.
Further, the energy storage battery pack sends a response message to the main control module by detecting an input signal DI2 of the next energy storage battery pack contained in the energy storage battery pack. When the input signal DI2 of the next energy storage battery pack is a first level signal, it is indicated that the energy storage battery pack is connected to the energy storage battery pack address coding system, and at the moment, the energy storage battery pack sends a first response message to the main control module, the main control module sequentially distributes address coding information, and the address coding information is sent to the next energy storage battery pack through an address coding frame.
In this embodiment, after the next-stage energy storage battery pack performs address encoding according to the address encoding information, the next-stage energy storage battery pack is used as a current energy storage battery pack, and whether the input signal DI2 of the next-stage energy storage battery pack included in the next-stage energy storage battery pack is the first level signal is continuously detected until all the energy storage battery packs complete address encoding. For example, the energy storage battery pack address coding system is composed of a main control module, an energy storage battery pack 1, an energy storage battery pack 2 and an energy storage battery pack 3, and the main control module, the energy storage battery pack 1, the energy storage battery pack 2 and the energy storage battery pack 3 are sequentially connected. The method comprises the steps that a main control module sends address coding information to an energy storage battery pack 1, the energy storage battery pack 1 detects an input signal of an energy storage battery pack 2 contained in the main control module after address coding is carried out according to the address coding information, when the input signal of the energy storage battery pack 2 is a first level signal, the energy storage battery pack 1 sends a first response message to the main control module, the main control module sequentially adjusts the address coding information and sends the adjusted address coding information to the energy storage battery pack 2, the energy storage battery pack 2 detects an input signal of an energy storage battery pack 3 contained in the main control module after address coding according to the address coding information, when the input signal of the energy storage battery pack 3 is the first level signal, the energy storage battery pack 2 sends a first response message to the main control module, the main control module sequentially adjusts the address coding information and sends the adjusted address coding information to the energy storage battery pack 3, and the energy storage battery pack 3 sequentially carries out address coding according to the address coding information, so that address coding of all the energy storage battery packs is completed.
Optionally, after sending address coding information to the energy storage battery pack, the method further comprises:
and if the second response message sent by the energy storage battery pack is received, ending the address coding and entering a normal working state.
In this scheme, the second response message may be composed of letters and numbers, and is used to remind the main control module that the energy storage battery pack does not exist subsequently.
Further, the energy storage battery pack sends a response message to the main control module by detecting an input signal DI2 of the next energy storage battery pack contained in the energy storage battery pack. When the input signal DI2 of the next-stage energy storage battery pack is a second level signal, the fact that no energy storage battery pack is connected into the energy storage battery pack address coding system is indicated, the energy storage battery pack sends a second response message to the main control module, and the main control module finishes address coding and enters a normal working state. The second level signal is a low level signal, and the low level means that the voltage is within a second preset voltage range, and the second preset voltage range is smaller than the first preset voltage range.
By detecting the input signal of the next stage of energy storage battery pack contained in the energy storage battery pack, address coding information can be distributed to each energy storage battery pack, and therefore the situation that the address coding information of the energy storage battery pack is distributed in a missing mode can be avoided.
Optionally, the method further comprises steps A1-A2:
a1, if a first message sent by the energy storage battery pack is received, address coding information is adjusted according to the sequence, and the adjusted address coding information is sent to the energy storage battery pack corresponding to the first message, so that the energy storage battery pack corresponding to the first message carries out address coding according to the address coding information;
the first message may be composed of letters and numbers, and is used for reminding the main control module of accessing a new energy storage battery pack.
In this embodiment, the energy storage battery pack may refer to a last energy storage battery pack in the energy storage battery pack address coding system, and when the last energy storage battery pack detects that a new energy storage battery pack is accessed, the last energy storage battery pack sends a first message to the main control module.
Further, when the main control module is in a normal working state, a first message sent by the last energy storage battery pack is received, address coding information is continuously adjusted according to the sequence, and the adjusted address coding information is sent to the newly accessed energy storage battery pack.
And A2, if a second message sent by the energy storage battery pack is received, setting the address code of the energy storage battery pack associated with the second message as invalid.
In this embodiment, the second message may be composed of letters and numbers, and is used to wake up the main control module that the energy storage battery pack is removed.
In the scheme, when the energy storage battery pack detects that all the energy storage battery packs behind the energy storage battery pack are removed, a second message is sent to the main control module, and when the main control module receives the second message sent by the energy storage battery pack, the address codes of all the energy storage battery packs behind the removed energy storage battery pack are set to be invalid.
By receiving the first message or the second message sent by the energy storage battery pack, dynamic management of the energy storage battery pack can be achieved.
According to the technical scheme, under the condition that an input signal of a main control module is a first level signal, a broadcast message is sent to all energy storage battery packs so that address codes of all the energy storage battery packs are set to be preset values, then an output signal of the main control module is set to be the first level signal, address coding information is sent to the energy storage battery packs so that the energy storage battery packs perform address coding according to the address coding information, a first response message sent by the energy storage battery packs is sequentially received, the address coding information is sequentially adjusted, and the adjusted address coding information is sent to the next energy storage battery pack so that the next energy storage battery pack performs address coding according to the address coding information until all the energy storage battery packs finish the address coding. Through executing this technical scheme, can be for every energy storage battery package distribution address code information voluntarily to can reduce the complexity of product configuration, conveniently carry out hot plug simultaneously.
Example two
Fig. 3 is a flowchart of an address encoding process of an energy storage battery pack according to a second embodiment of the present invention. As shown in fig. 3, the method includes:
s310, receiving the broadcast message sent by the main control module, and setting the address code as a preset value.
In this embodiment, after receiving the broadcast message sent by the main control module, the energy storage battery pack sets its address code to a preset value.
S320, receiving the address coding information sent by the main control module, and carrying out address coding according to the address coding information.
In the scheme, after the energy storage battery pack receives address code information sent by the main control module, whether an input signal DI1 of the main control module contained in the energy storage battery pack is a first level signal or not is detected, whether the address code of the energy storage battery pack is a preset value is detected, and when the input signal DI1 is the first level signal and the address code of the energy storage battery pack is the preset value, the code of the energy storage battery pack is set as the address code information sent by the main control module.
S330, sequentially sending a first response message to the main control module, so that the main control module sequentially adjusts the address coding information, and sends the adjusted address coding information to the next energy storage battery pack until all the energy storage battery packs finish address coding.
In the scheme, after address coding is carried out on the energy storage battery pack, whether an input signal DI2 of a next-stage energy storage battery pack contained in the energy storage battery pack is a first level signal or not is detected, if the input signal DI2 of the next-stage energy storage battery pack is the first level signal, which indicates that the next-stage energy storage battery pack of the energy storage battery pack is accessed into an energy storage battery pack address coding system, a first response message is sent to a main control module, so that the main control module continuously adjusts address coding information according to the sequence, and the adjusted address coding information is sent to the next-stage energy storage battery pack.
Further, after the next-stage energy storage battery pack performs address coding according to the address coding information, the next-stage energy storage battery pack is used as a current energy storage battery pack, whether an input signal DI2 of the next-stage energy storage battery pack contained in the next-stage energy storage battery pack is a first level signal is continuously detected, and if the input signal DI2 of the next-stage energy storage battery pack is the first level signal, a first response message is continuously sent to the main control module until all the energy storage battery packs complete address coding.
Optionally, after address encoding according to the address encoding information, the method further includes:
if the input signal of the next energy storage battery pack is detected to be a second level signal, a second response message is sent to the main control module, so that the main control module finishes address coding and enters a normal working state.
In the scheme, after address coding is carried out on the energy storage battery pack, whether an input signal DI2 of a next-stage energy storage battery pack contained in the energy storage battery pack is a first level signal or not is detected, if the input signal DI2 of the next-stage energy storage battery pack is a second level signal, the fact that the next-stage energy storage battery pack of the energy storage battery pack is not connected into an energy storage battery pack address coding system is indicated, a second response message is sent to a main control module, so that the main control module ends address coding and enters a normal working state.
By detecting the input signal of the next stage of energy storage battery pack contained in the energy storage battery pack, address coding information can be distributed to each energy storage battery pack, and therefore the situation that the address coding information of the energy storage battery pack is distributed in a missing mode can be avoided.
Optionally, the method further comprises steps B1-B2:
step B1, if the input signal of the next energy storage battery pack is detected to be converted from a second level signal to a first level signal, a first message is sent to the main control module, so that the main control module adjusts address coding information according to the sequence, and the adjusted address coding information is sent to the energy storage battery pack corresponding to the first message;
in this embodiment, when the energy storage battery pack detects that the input signal of the next energy storage battery pack included in the energy storage battery pack is converted from the second level signal to the first level signal, a new energy storage battery pack is connected at this time, a first message is sent to the main control module, that is, the main control module is notified of the connection of the new energy storage battery pack, so that the main control module adjusts address coding information according to the sequence, and sends the adjusted address coding information to the new energy storage battery pack.
And B2, if the condition that the input signal of the next energy storage battery pack is converted from the first level signal to the second level signal is detected, sending a second message to the main control module, so that the main control module sets the address code of the energy storage battery pack associated with the second message as invalid.
In the scheme, when the energy storage battery pack detects that an input signal of a next energy storage battery pack contained by the energy storage battery pack is converted from a first level signal to a second level signal, the energy storage battery pack is removed at the moment, a second message is sent to the main control module, namely the main control module is informed that the energy storage battery pack is removed, so that the main control module is enabled to invalidate address codes of all follow-up energy storage battery packs of the removed energy storage battery pack.
By receiving the first message or the second message sent by the energy storage battery pack, dynamic management of the energy storage battery pack can be achieved.
According to the technical scheme, the method comprises the steps of receiving a broadcast message sent by a main control module, setting an address code to be a preset value, then receiving address code information sent by the main control module, carrying out address coding according to the address code information, sequentially sending a first response message to the main control module, enabling the main control module to sequentially adjust the address code information, and sending the adjusted address code information to a next energy storage battery pack until all the energy storage battery packs finish address coding. Through executing this technical scheme, can be for every energy storage battery package distribution address code information voluntarily to can reduce the complexity of product configuration, conveniently carry out hot plug simultaneously.
Example III
Fig. 4 is a schematic structural diagram of an address encoding device for an energy storage battery pack according to a third embodiment of the present invention. The device is configured in a main control module, as shown in fig. 4, and includes:
a broadcast message sending unit 410, configured to send a broadcast message to all the energy storage battery packs when the input signal of the main control module is a first level signal, so that the address codes of all the energy storage battery packs are set to a preset value;
an address coding information sending unit 420, configured to set an output signal of the main control module to a first level signal, and send address coding information to the energy storage battery pack, so that the energy storage battery pack performs address coding according to the address coding information;
the address code adjustment unit 430 is configured to sequentially receive the first response message sent by the energy storage battery packs, sequentially adjust the address code information, and send the adjusted address code information to a next energy storage battery pack, so that the next energy storage battery pack performs address coding according to the address code information until all the energy storage battery packs complete address coding.
Optionally, the apparatus method further comprises:
And the second response message receiving unit is used for ending address coding and entering a normal working state if receiving the second response message sent by the energy storage battery pack.
Optionally, the apparatus further includes:
the first message receiving unit is used for adjusting address coding information according to the sequence if a first message sent by the energy storage battery pack is received, and sending the adjusted address coding information to the energy storage battery pack corresponding to the first message, so that the energy storage battery pack corresponding to the first message carries out address coding according to the address coding information;
and the second message receiving unit is used for setting the address code of the energy storage battery pack associated with the second message as invalid if the second message sent by the energy storage battery pack is received.
The energy storage battery pack address coding device provided by the embodiment of the invention can execute the energy storage battery pack address coding method provided by the embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 5 is a schematic structural diagram of an address encoding device for an energy storage battery pack according to a fourth embodiment of the present invention. The device is arranged in an energy storage battery pack, as shown in fig. 5, and includes:
A broadcast message sending unit 510, configured to send a broadcast message to all the energy storage battery packs when the input signal of the main control module is a first level signal, so that the address codes of all the energy storage battery packs are set to a preset value;
an address coding information sending unit 520, configured to set an output signal of the main control module to a first level signal, and send address coding information to the energy storage battery pack, so that the energy storage battery pack performs address coding according to the address coding information;
the address code adjustment unit 530 is configured to sequentially receive the first response message sent by the energy storage battery packs, sequentially adjust the address code information, and send the adjusted address code information to a next energy storage battery pack, so that the next energy storage battery pack performs address coding according to the address code information until all the energy storage battery packs complete address coding.
Optionally, the apparatus further includes:
and the second response message sending unit is used for sending a second response message to the main control module if the input signal of the next-stage energy storage battery pack is detected to be a second level signal, so that the main control module finishes address coding and enters a normal working state.
Optionally, the apparatus further includes:
the first message sending unit is used for sending a first message to the main control module if the input signal of the next energy storage battery pack is detected to be converted from the second level signal to the first level signal, so that the main control module sequentially adjusts the address coding information and sends the adjusted address coding information to the energy storage battery pack corresponding to the first message;
and the second message sending unit is used for sending a second message to the main control module if the input signal of the next energy storage battery pack is detected to be converted from the first level signal to the second level signal, so that the main control module sets the address code of the energy storage battery pack associated with the second message to be invalid.
The energy storage battery pack address coding device provided by the embodiment of the invention can execute the energy storage battery pack address coding method provided by the second embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example five
Fig. 6 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 6, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a method of encoding an energy storage battery pack address.
In some embodiments, a method of energy storage battery pack address encoding may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of a method of encoding an energy storage battery pack address as described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform a method of energy storage battery pack address encoding in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. The energy storage battery pack address coding method is characterized in that an energy storage battery pack comprises an input signal and an output signal of a previous energy storage battery pack or a main control module, and comprises an input signal and an output signal of a next energy storage battery pack; each energy storage battery pack is connected with the main control module through a controller local area network bus; the method is executed by a main control module, and comprises the following steps:
under the condition that the input signal of the main control module is a first level signal, sending a broadcast message to all energy storage battery packs so as to set the address codes of all the energy storage battery packs to a preset value;
Setting an output signal of the main control module as a first level signal, and sending address coding information to the energy storage battery pack so that the energy storage battery pack performs address coding according to the address coding information;
and sequentially receiving the first response message sent by the energy storage battery pack, sequentially adjusting the address coding information, and sending the adjusted address coding information to the next energy storage battery pack so that the next energy storage battery pack performs address coding according to the address coding information until all the energy storage battery packs finish address coding.
2. The method of claim 1, wherein after transmitting address coded information to the energy storage battery pack, the method further comprises:
and if the second response message sent by the energy storage battery pack is received, ending the address coding and entering a normal working state.
3. The method according to claim 2, wherein the method further comprises:
if a first message sent by the energy storage battery pack is received, address coding information is adjusted according to the sequence, and the adjusted address coding information is sent to the energy storage battery pack corresponding to the first message, so that the energy storage battery pack corresponding to the first message carries out address coding according to the address coding information;
And if a second message sent by the energy storage battery pack is received, setting the address code of the energy storage battery pack associated with the second message as invalid.
4. The energy storage battery pack address coding method is characterized in that an energy storage battery pack comprises an input signal and an output signal of a previous energy storage battery pack or a main control module, and comprises an input signal and an output signal of a next energy storage battery pack; each energy storage battery pack is connected with the main control module through a controller local area network bus; the method is performed by an energy storage battery pack, the method comprising:
receiving a broadcast message sent by the main control module, and setting an address code as a preset value;
receiving address coding information sent by the main control module, and performing address coding according to the address coding information;
and sequentially sending a first response message to the main control module so that the main control module sequentially adjusts the address coding information, and sending the adjusted address coding information to the next energy storage battery pack until all the energy storage battery packs finish address coding.
5. The method of claim 4, wherein after address encoding according to the address encoding information, the method further comprises:
If the input signal of the next energy storage battery pack is detected to be a second level signal, a second response message is sent to the main control module, so that the main control module finishes address coding and enters a normal working state.
6. The method of claim 5, wherein the method further comprises:
if the input signal of the next energy storage battery pack is detected to be converted into a first level signal from a second level signal, a first message is sent to the main control module, so that the main control module sequentially adjusts address coding information, and the adjusted address coding information is sent to the energy storage battery pack corresponding to the first message;
and if the input signal of the next energy storage battery pack is detected to be converted from the first level signal to the second level signal, sending a second message to the main control module, so that the main control module sets the address code of the energy storage battery pack associated with the second message to be invalid.
7. The energy storage battery pack address coding device is characterized in that an energy storage battery pack comprises an input signal and an output signal of a previous energy storage battery pack or a main control module, and comprises an input signal and an output signal of a next energy storage battery pack; each energy storage battery pack is connected with the main control module through a controller local area network bus; the device is configured in a main control module, and the device comprises:
A broadcast message sending unit, configured to send a broadcast message to all the energy storage battery packs when the input signal of the main control module is a first level signal, so that address codes of all the energy storage battery packs are set to a preset value;
the address coding information sending unit is used for setting the output signal of the main control module as a first level signal and sending address coding information to the energy storage battery pack so that the energy storage battery pack performs address coding according to the address coding information;
the address coding adjustment unit is used for sequentially receiving the first response messages sent by the energy storage battery packs, adjusting the address coding information according to the sequence, and sending the adjusted address coding information to the next energy storage battery pack so that the next energy storage battery pack performs address coding according to the address coding information until all the energy storage battery packs finish address coding.
8. The energy storage battery pack address coding device is characterized in that an energy storage battery pack comprises an input signal and an output signal of a previous energy storage battery pack or a main control module, and comprises an input signal and an output signal of a next energy storage battery pack; each energy storage battery pack is connected with the main control module through a controller local area network bus; the device is configured in an energy storage battery pack, and the device comprises:
The broadcast message receiving unit is used for receiving the broadcast message sent by the main control module and setting the address code as a preset value;
the address coding information receiving unit is used for receiving the address coding information sent by the main control module and carrying out address coding according to the address coding information;
and the first response message sending unit is used for sequentially sending first response messages to the main control module so that the main control module sequentially adjusts the address coding information and sends the adjusted address coding information to the next energy storage battery pack until all the energy storage battery packs finish address coding.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform a method of encoding an energy storage battery pack address as claimed in any one of claims 1 to 3 or 4 to 6.
10. A computer readable medium, characterized in that it stores computer instructions for causing a processor to implement the method for encoding an address of an energy storage battery pack according to claims 1-3 or any one of claims 4-6 when executed.
CN202310907520.XA 2023-07-21 2023-07-21 Energy storage battery pack address coding method and device, electronic equipment and medium Pending CN116781667A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310907520.XA CN116781667A (en) 2023-07-21 2023-07-21 Energy storage battery pack address coding method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310907520.XA CN116781667A (en) 2023-07-21 2023-07-21 Energy storage battery pack address coding method and device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN116781667A true CN116781667A (en) 2023-09-19

Family

ID=88006513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310907520.XA Pending CN116781667A (en) 2023-07-21 2023-07-21 Energy storage battery pack address coding method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN116781667A (en)

Similar Documents

Publication Publication Date Title
CN113795039A (en) Operator network switching method, device, equipment and computer readable storage medium
CN116781667A (en) Energy storage battery pack address coding method and device, electronic equipment and medium
CN115426287B (en) System monitoring and optimizing method and device, electronic equipment and medium
CN115081413A (en) Report generation method, device, system, equipment and medium
CN113381434B (en) Method and device for optimizing operation mode of flexible direct-current power grid
CN117440064A (en) Data transmission method, device, equipment and medium based on function code
CN116107763B (en) Data transmission method, device, equipment and storage medium
CN115952351A (en) Battery replacement station recommendation method and device, electronic equipment and storage medium
CN115802438A (en) Data processing method, device, equipment and medium
CN116719621A (en) Data write-back method, device, equipment and medium for mass tasks
CN116501968A (en) Method, device, electronic equipment and medium for subscribing internet of things data
CN114416040A (en) Page construction method, device, equipment and storage medium
CN117395211A (en) Data forwarding method, device, switch and medium
CN115801718A (en) Message processing method and device, electronic equipment and message processing system
CN117033029A (en) Data transmission method, device, equipment and medium
CN117421377A (en) Data processing method, device, equipment and medium for energy station
CN115344637A (en) Data management system, method, device, electronic equipment and storage medium
CN116521739A (en) Data processing method and device and electronic equipment
CN116016176A (en) Automatic distribution method and device for data center equipment
CN117632863A (en) Method, device, equipment and medium for detecting missing of electronic file
CN116461384A (en) Vehicle charging control method and device, electronic equipment and storage medium
CN117314440A (en) Data processing method and device, electronic equipment and storage medium
CN117271208A (en) Data cloning method and device, electronic equipment and storage medium
CN117714561A (en) Alarm message processing method, device, equipment and storage medium
CN115720243A (en) Battery replacement equipment state determination method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination