Automatic address allocation method and device for electric energy storage and medium
By adopting an automatic address allocation method in the energy storage system, using isolation capacitors to filter signals and complete slave address encoding, the burden problem caused by manual judgment of fault points in the existing technology is solved, the safety and convenience of the system are improved, and the cost is reduced maintenance costs.
Patent Information
- Application Number
- CN202410514721.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-26
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Address allocation in existing energy storage systems requires manual judgment of fault points, resulting in a heavy manual burden and affecting the safety and convenience of the system.
By designing an automatic address allocation method in the power energy storage system, using the host to output control signals to the isolation capacitor, the isolation capacitor filters the signal and outputs it to the slave machine to be assigned. The slave machine obtains the address code based on the communication bus and completes communication detection, realizing Automatic address assignment.
Address coding can be diagnosed and configured without manual intervention, improving system security and reducing construction, operation and maintenance costs.
Smart Images

Figure CN118740797A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of energy storage technology, and in particular to an automatic address allocation method, device and medium for electric energy storage. Background Art
[0002] In existing energy storage systems, due to different requirements for capacity and power, a single battery pack can no longer meet the demand, and multiple batteries need to be connected in parallel to increase the battery capacity and maximum charge and discharge current. In recent years, the demand for household photovoltaic supporting energy storage systems has gradually emerged, and household energy storage systems are experiencing explosive growth.
[0003] High-voltage household energy storage systems are usually composed of a battery management system (BMS), a power conversion system (PCS, also known as an inverter), a photovoltaic module (PV), and AC mains. The PCS can start working through photovoltaic or mains power supply and send instructions to the BMS. The BMS controls the battery main circuit relay to close, thereby enabling photovoltaic or power grid charging of the battery and battery discharge to household loads.
[0004] BMS is an important part of the energy storage system. Its main function is to collect and control various information and status of the battery pack to complete the storage and release of electric energy. Usually, in order to expand the capacity of the energy storage system, a cluster solution is generally used, such as Figure 1As shown, the energy storage system includes multiple parallel-connected battery packs (pack1, pack2, ... packn), a controller, namely a battery pack management unit (Battery Management Unit, BMU), a power distribution unit (Power Distribution Unit, PDU, also called a high-voltage box), a battery cluster, etc., wherein the parallel connection points of multiple battery packs are connected to the controller or the DC bus, and one battery cluster is connected to a corresponding DC / DC conversion circuit. After each DC / DC conversion circuit is connected in series with a circuit breaker, it is gathered on the DC bus (marked as DC BUS in the figure). Because of the large scale of the battery pack, most BMSs have a three-layer architecture. Above the slave control and master control, there is another layer of master control (not shown). The slave control and master control are composed of a battery cluster management unit (Battery Control Management Unit, BCMU or BCU) and a battery pack management unit (Battery Management Unit, BMU). BCU is responsible for collecting various battery information uploaded by BMU, collecting battery pack voltage, pack temperature, battery pack charge and discharge current, total voltage information, leakage detection, power-off protection when the status is abnormal, etc. BMU is responsible for collecting single cell information such as voltage and temperature, calculating and analyzing the battery's SOC and SOH, realizing active balancing of single cells, and uploading single cell abnormality information to the battery cluster management unit BCU through CAN communication. A BCU usually matches multiple BMUs, and BCU and BMU can communicate through daisy chain or LAN communication (Controller Area Network, CAN). In the CAN network, all devices are required to have different IDs, that is, different IDs must be assigned to BCU and BMU.
[0005] At present, power storage is developing rapidly and is attracting more and more attention from users and power departments. The safety of power storage has become a hot topic, including the safety and convenience of address allocation. Since the traditional address allocation function only uses the bus to transmit address data, it is very easy to miss the configuration of address bits due to the failure of a component in the middle to respond to the bus. At this time, manual intervention is required to automatically configure the address code and autonomously diagnose the fault point of address allocation, which increases the manual burden. Summary of the invention
[0006] In view of this, an object of the present invention is to provide an automatic address allocation method, device and medium for electric energy storage, so as to solve the problem in the prior art that address allocation requires manual judgment of fault points, resulting in a heavy burden.
[0007] The present invention solves the above technical problems by the following technical means:
[0008] In a first aspect, the present application provides an automatic address allocation method for electric energy storage, which is applied to an allocation circuit, wherein the allocation circuit includes a host, an isolation capacitor, and a slave to be allocated, which are electrically connected in sequence, and the method includes:
[0009] The host outputs a control signal for address allocation to the isolation capacitor;
[0010] The isolation capacitor filters the control signal, and outputs the filtered control signal to the slave to be allocated;
[0011] The slave to be assigned obtains an address code from the host based on a communication bus and stores it locally;
[0012] The slave to be assigned places a code on the communication bus to complete the communication detection and address assignment.
[0013] In combination with the first aspect, in some optional implementations, the filtering of the control signal by the isolation capacitor includes:
[0014] The isolation capacitor filters out the control signal output by the host that has failed, and allows the control signal output by the host that has not failed to pass.
[0015] According to a preferred implementation, when the number of slaves to be allocated is greater than, the method further includes:
[0016] Repeat the following steps:
[0017] The slave to be assigned outputs the control signal to the second slave to be assigned; the second slave to be assigned obtains the address code from the host based on the communication bus and stores it locally; the second slave to be assigned places the code on the communication bus to complete the communication detection;
[0018] Until all the slaves to be assigned complete address encoding.
[0019] In combination with the first aspect, in some optional implementations, when the slave to be assigned obtains an address code from the host based on a communication bus, the host sends the address code to the slave based on a coding order.
[0020] In combination with the first aspect, in some optional implementations, before the isolation capacitor filters the control signal, the method further includes:
[0021] When the host outputs a control signal for address allocation to the isolation capacitor, the host starts a countdown for address allocation.
[0022] In combination with the first aspect, in some optional implementations, the method further includes:
[0023] When the countdown ends, if any of the slaves to be assigned does not place the coding completion communication probe on the communication bus, the host sends an alarm signal and a node disconnection signal for determining the slave that has not placed the coding completion communication probe on the communication bus.
[0024] In a second aspect, the present application provides an automatic address allocation device for electric energy storage, which is applied to an allocation circuit, wherein the allocation circuit includes a host, an isolation capacitor, and a slave to be allocated, which are electrically connected in sequence, and the device includes:
[0025] An output module, used for controlling the host to output a control signal for address allocation to an isolation capacitor;
[0026] A filtering module, used for controlling the isolation capacitor to filter the control signal, and outputting the filtered control signal to the slave to be allocated;
[0027] The slave to be assigned obtains an address code from the host based on a communication bus and stores it locally;
[0028] The slave to be assigned places a code on the communication bus to complete the communication detection and address assignment.
[0029] In a third aspect, the present application provides a computer storage medium, wherein the computer storage medium stores a computer program, and when the computer program runs on the computer, the method described above can be executed.
[0030] Beneficial effects of the present invention:
[0031] This application can optimize the situation where the host enters the address allocation abnormally when it is damaged, diagnose and report the slave that cannot allocate addresses due to faults, and can automatically configure address coding and self-diagnose the fault points of address allocation without manual intervention. It improves the security of the system and reduces the cost of system construction, operation and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a schematic diagram of the overall process of the method of the present invention;
[0033] Figure 2 It is a block diagram of the address allocation principle of the present invention;
[0034] Figure 3 It is a block diagram of the host output control signal of the present invention;
[0035] Figure 4 It is a schematic diagram of the address allocation output terminal of the present invention;
[0036] Figure 5 It is a schematic diagram of the address allocation input terminal of the present invention;
[0037] Figure 6 It is an overall block diagram of the device of the present invention;
[0038] in,
[0039] 10. Output unit; 20. Filter unit; 30. Acquisition unit; 40. Communication unit. DETAILED DESCRIPTION
[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] The same or similar numbers in the figures of the embodiments of the present invention correspond to the same or similar parts. In the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right", "front", "back", etc. indicate the orientation or position relationship, they are based on the orientation or position relationship shown in the figure. It is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation. Therefore, the terms describing the position relationship in the figures are only used for illustrative purposes and cannot be understood as limiting the present invention. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.
[0042] like Figure 1-5 As shown, the present application provides an automatic address allocation method for power energy storage, which is applied to an allocation circuit. The allocation circuit includes a host, an isolation capacitor and a slave to be allocated which are electrically connected in sequence. The host is used to control the acquisition address coding of the slave to be allocated. The isolation capacitor is used to filter the control signal sent by the host. Specifically, the method includes:
[0043] S1, the host outputs the control signal for address allocation to the isolation capacitor;
[0044] S2, the isolation capacitor filters the control signal and outputs the filtered control signal to the slave to be allocated;
[0045] S3, the slave to be assigned obtains the address code from the host based on the communication bus and stores it locally;
[0046] S4, the slave to be assigned places the code on the communication bus to complete the communication detection and address assignment.
[0047] In step S1 and step S2, the host outputs a control signal for address allocation to the isolation capacitor; the isolation capacitor filters the control signal and outputs the filtered control signal to the slave to be allocated. Figure 3 , PWM control is used in the internal circuit of the host's address allocation port, and a series capacitor is used for isolation, and finally a high / low level address allocation control signal is output. Because of the characteristics of the capacitor that blocks DC and passes AC, the capacitor can be regarded as a capacitive reactance Xc under PWM conditions. The process of obtaining the capacitive reactance Xc is as follows:
[0048]
[0049] Where f is the frequency of the control signal and c is the value of the capacitor.
[0050] When the host software program fails abnormally, the MCU address allocation pin cannot pass the capacitor regardless of whether it outputs high or low level, and the address allocation output port is always low level, so it cannot enter the address state. Only when the main control software program is normal, the MCU can output the control PWM signal. After the PWM is isolated by the series capacitor, the address allocation output port outputs a high frequency after filtering, and address allocation can be performed at this time.
[0051] In step S3, the slave to be assigned obtains the address code from the host based on the communication bus and stores it locally. Specifically, after the address assignment input port of the slave receives the address assignment control signal, it obtains the address code currently broadcast on the communication bus and stores it in the current slave to obtain the address number. The communication bus signal is connected to the host. The host sends the address code to the assigned slaves in sequence.
[0052] In step S4, the slave to be assigned places the encoded communication frame on the communication bus to complete the address assignment. After the current slave completes the encoding, it places the encoded communication data frame on the communication bus.
[0053] Usually, the number of slaves to be allocated exceeds two. Therefore, the steps further include: repeatedly executing the following steps:
[0054] The slave to be assigned outputs a control signal to the second slave to be assigned; the second slave to be assigned obtains the address code from the host based on the communication bus and stores it locally; the second slave to be assigned places the code on the communication bus to complete the communication detection; until all the slaves to be assigned have completed the address coding. After placing the communication data detection with the completed code, the slave that has completed the address coding outputs the address allocation control signal to the next slave. The host updates the address allocation countdown and the address code of the broadcast frame. The address allocation output end of the previous slave is connected to the address allocation input end of the next slave, and the slaves perform address allocation one by one until the address allocation of all slaves is completed.
[0055] Preferably, before the isolation capacitor filters the control signal, the method further comprises: when the host outputs the control signal for address allocation to the isolation capacitor, the host starts the address allocation countdown. When each slave obtains the address code, the host updates the countdown. When the countdown ends, if the slave to be allocated does not place the coding completion communication probe on the communication bus, the host sends an alarm signal and a node disconnection signal for determining that the slave that has not placed the coding completion communication probe on the communication bus.
[0056] The embodiment of the present application also provides an automatic address allocation device for electric energy storage. The device includes at least one software function module stored in a storage module or in an operating system (OS) solidified in a control device in the form of software or firmware. The output unit 10 and the like are used to execute executable modules stored in the storage module, such as software function modules and computer program modules included in the automatic address allocation device for electric energy storage.
[0057] Combined with Figure 6 The device further includes an output unit 10, a filtering unit 20, an acquisition unit 30 and a communication unit 40. The functions of each unit are as follows:
[0058] An output unit 10, used to control the host to output a control signal for address allocation to the isolation capacitor;
[0059] The filtering unit 20 is used to control the isolation capacitor to filter the control signal, and output the filtered control signal to the slave to be allocated;
[0060] An acquisition unit 30 is used to control the slave to be assigned to obtain an address code from the host based on the communication bus and store it locally;
[0061] The communication unit 40 is used to control the slave to be assigned to place a code on the communication bus to complete the communication detection and address allocation.
[0062] The output and filtering processes of the output unit 10, the filtering unit 20 and other units may refer to the automatic address allocation method for electric energy storage mentioned above, and will not be repeated here.
[0063] This embodiment also provides a computer storage medium, in which a computer program is stored. When the computer program is run on a computer, the automatic address allocation method for electric energy storage as described above can be executed.
[0064] Through the description of the above implementation methods, technical personnel in this field can clearly understand that the present application can be implemented through hardware, and can also be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, a simulation device, or a network device, etc.) to execute the methods of various implementation scenarios of the present application.
[0065] In summary, the present application provides an automatic address allocation method, device and medium for electric energy storage, which is applied to the allocation circuit, and the allocation circuit includes a host, an isolation capacitor and a slave to be allocated which are electrically connected in sequence, and the method includes: the host outputs a control signal for address allocation to the isolation capacitor; the isolation capacitor filters the control signal, and outputs the filtered control signal to the slave to be allocated; the slave to be allocated obtains the address code from the host based on the communication bus and stores it locally; the slave to be allocated places the code on the communication bus to complete the communication detection and complete the address allocation. The present application can avoid the situation where the address allocation is abnormally entered when the host is damaged, and diagnose and report the slave that cannot be allocated the address due to a fault, and can automatically configure the address code and autonomously diagnose the fault point of the address allocation without manual intervention. Improve the security of the system and reduce the cost of system construction, operation and maintenance.
[0066] In the embodiments provided in the present application, it should be understood that the disclosed device, system and method can also be implemented in other ways. The above-described device, system and method embodiments are merely schematic, for example, the flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a part of a module, a program segment or a code, and a part of a module, a program segment or a code includes one or more executable instructions for implementing a specified logical function. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented by a dedicated hardware-based system that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. In addition, each functional module in each embodiment of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part.
Claims
1. An automatic address allocation method for electric energy storage, characterized in that: Applied to a distribution circuit, the distribution circuit includes a host, an isolation capacitor and a slave to be distributed which are electrically connected in sequence, and the method includes: The host outputs a control signal for address allocation to the isolation capacitor; The isolation capacitor filters the control signal, and outputs the filtered control signal to the slave to be allocated; The slave to be assigned obtains an address code from the host based on a communication bus and stores it locally; The slave to be assigned places a code on the communication bus to complete the communication detection and address assignment.
2. The method according to claim 1, characterized in that: The isolation capacitor filtering the control signal includes: The isolation capacitor filters out the control signal output by the host that has failed, and allows the control signal output by the host that has not failed to pass.
3. The method according to claim 1, characterized in that: When the number of slaves to be allocated is greater than 1, the method further includes: Repeat the following steps: The slave to be assigned outputs the control signal to the second slave to be assigned; the second slave to be assigned obtains the address code from the host based on the communication bus and stores it locally; the second slave to be assigned places the code on the communication bus to complete the communication detection; Until all the slaves to be assigned complete address encoding.
4. The method according to claim 1, characterized in that: When the slave to be assigned obtains the address code from the host based on the communication bus, the host sends the address code to the slave based on the coding sequence.
5. The method according to claim 1, characterized in that: Before the isolation capacitor filters the control signal, the method further includes: When the host outputs a control signal for address allocation to the isolation capacitor, the host starts a countdown for address allocation.
6. The method according to claim 5, characterized in that The method also includes: When the countdown ends, if the slave to be assigned has not placed the coding completion communication probe on the communication bus, the host sends an alarm signal and a node disconnection signal for determining that the slave has not placed the coding completion communication probe on the communication bus.
7. An automatic address allocation device for electric energy storage, characterized in that: Applied to a distribution circuit, the distribution circuit includes a host, an isolation capacitor and a slave to be distributed which are electrically connected in sequence, and the device includes: An output unit, used for controlling the host to output a control signal for address allocation to the isolation capacitor; A filtering unit, used for controlling the isolation capacitor to filter the control signal, and outputting the filtered control signal to the slave to be allocated; An acquisition unit, used for controlling the slave to be allocated to obtain an address code from the host based on a communication bus and store it locally; The communication unit is used to control the slave to be assigned to place a code on the communication bus to complete the communication detection and address allocation.
8. A computer storage medium, characterized in that The computer storage medium stores a computer program, and when the computer program is run on the computer, the method according to any one of claims 1 to 6 can be executed.
Citation Information
Patent Citations
Dynamic addressing method and system for assembled battery pack
CN115529293A
Equipment address allocation method and device for container energy storage system, and medium
CN116708375A
Address allocation system and method for battery module
CN116846871A
A interface protection circuit for video transmit -Receive unit
CN206977576U
Voltage regulation circuit and electronic equipment
CN218335755U
Cited By
Address allocation method and device, energy storage battery management system and energy storage system
CN121691270A
