CN111385300B - Method and system for self-adapting of multiple communication protocols of energy storage system - Google Patents

Method and system for self-adapting of multiple communication protocols of energy storage system Download PDF

Info

Publication number
CN111385300B
CN111385300B CN202010148718.0A CN202010148718A CN111385300B CN 111385300 B CN111385300 B CN 111385300B CN 202010148718 A CN202010148718 A CN 202010148718A CN 111385300 B CN111385300 B CN 111385300B
Authority
CN
China
Prior art keywords
battery system
inverter
cloud platform
energy storage
protocol
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.)
Active
Application number
CN202010148718.0A
Other languages
Chinese (zh)
Other versions
CN111385300A (en
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.)
Bst Power Shenzhen Ltd
Original Assignee
Bst Power Shenzhen 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 Bst Power Shenzhen Ltd filed Critical Bst Power Shenzhen Ltd
Priority to CN202010148718.0A priority Critical patent/CN111385300B/en
Publication of CN111385300A publication Critical patent/CN111385300A/en
Application granted granted Critical
Publication of CN111385300B publication Critical patent/CN111385300B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)

Abstract

The invention provides a method and a system for self-adapting to multiple communication protocols of an energy storage system, belonging to the field of energy storage system application. The method comprises the following steps: a battery system of the energy storage system receives an inverter polling instruction; if the battery system cannot normally communicate with the inverter within a certain time, uploading a fault alarm to the cloud platform; uploading a polling instruction of an inverter by a battery system; the cloud platform identifies and confirms a communication protocol of an inverter manufacturer according to the inverter polling instruction; the cloud platform finds a corresponding upgrade file according to the matching result and issues the upgrade file to the battery system; and after receiving the upgrade file, the battery system carries out upgrade, and the adaptive protocol matching is finished. The invention has the beneficial effects that: greatly improving the installation efficiency and reducing the after-sale maintenance cost.

Description

Method and system for self-adapting of multiple communication protocols of energy storage system
Technical Field
The invention relates to the field of energy storage system application, in particular to a method and a system for self-adapting of multiple communication protocols of an energy storage system.
Background
At present, more and more off-network energy storage systems are installed in multiple families, when an installer (or an agent) installs an energy storage system for the first time, due to the limited professional degree of the installer and the numerous brands of inverter manufacturers, one set of battery system needs to be matched with the protocols of a plurality of mainstream inverter manufacturers on the market or the protocols of the inverter manufacturers appointed by customers, so that system installers are required to master the capability of upgrading programs and the capability of identifying the types of the protocols, although the battery systems of the battery manufacturers have the functions of automatically matching and automatically converting the protocols, the storage space in the system is limited, at most, only 3-5 communication protocols of different inverter manufacturers CAN be stored, and only the communication protocol of the same communication mode (CAN or RS) CAN be automatically identified and converted, if a ROM device is designed outside, therefore, certain space limitation exists, 30-100 communication protocols are matched, and identification and automatic switching among different communication modes (CAN or RS485) cannot be achieved, so that after-sale maintenance cost is increased.
Meanwhile, at present, the method is limited by professional debugging capability and equipment resources of an installer, and the installer needs to find a program upgrading file which is obtained by a battery manufacturer and matches with a communication protocol of an inverter manufacturer in the energy storage system, and also needs to be skilled in mastering a program upgrading tool of the battery manufacturer and corresponding program upgrading steps. In the process, the hidden dangers of upgrade errors and upgrade failures exist, the debugging of the whole energy storage system can be failed, and more unnecessary after-sales service and after-sales cost are caused by one error.
The existing method is that when a customer does not know the brand and the protocol version of an inverter, when the customer installs an energy storage system for the first time, the customer only stores a plurality of sets of RS485 protocols or CAN communication protocols of main-stream inverter manufacturers when the battery system is shipped, and after the customer automatically identifies and converts the internal system of the battery during the first installation, if the customer finds that the internal system cannot normally communicate, the battery system does not have the communication protocol which is matched with the internal system in advance, and only CAN be maintained and converted manually, so that the efficiency is low, and the after-sale cost is high.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a method for self-adapting a plurality of communication protocols of an energy storage system and a system for realizing the method for self-adapting the plurality of communication protocols of the energy storage system.
The method for self-adapting to multiple communication protocols of the energy storage system comprises the following steps:
s1: firstly, a battery system of an energy storage system receives an inverter polling instruction;
s2: if the battery system cannot normally communicate with the inverter within a certain time, uploading a fault alarm to the cloud platform;
s3: uploading a polling instruction of an inverter by a battery system;
s4: the cloud platform identifies and confirms a communication protocol of an inverter manufacturer according to the inverter polling instruction;
s5: the cloud platform finds a corresponding upgrade file according to the matching result and issues the upgrade file to the battery system;
s6: and after receiving the upgrade file, the battery system carries out upgrade, and the adaptive protocol matching is finished.
In step S3, the cloud platform issues an instruction to acquire inverter polling data, and when the battery system receives the instruction, the cloud platform starts to upload the data of the received inverter polling instruction.
In step S5, the processing method of the cloud platform includes:
s51: the cloud platform issues an instruction for enabling the battery system to enter an upgrading state;
s52: the cloud platform carries out sub-packet processing on the protocol upgrading packet and divides the protocol upgrading packet into M data packets;
s53: the cloud platform sends the data packets to a network communication module which is arranged in the battery system in a row through a network, and the network communication module replies a complete data receiving signal to the cloud platform after receiving all the data packets.
The invention is further improved in that in step S6, after the battery system network communication module receives the complete protocol upgrade package, the battery system network communication module issues an upgrade data package 1 to the battery system, after the battery system successfully erases and writes the software application layer into the data package 1, the battery system replies an erase success signal, then the network communication module issues a data package 2 to the battery system, and so on, until the data package M is erased and written, and after that, the network communication module sends an upgrade success signal to the cloud platform.
The invention also provides a system for realizing the method for adapting the multiple communication protocols of the energy storage system, which comprises the energy storage system and a cloud platform, wherein,
the energy storage system comprises a battery system and an inverter, the inverter is used for sending an inverter polling command to the battery system,
the battery system is used for receiving and receiving the inverter polling command, judging whether the inverter can normally communicate with the inverter or not, and if the inverter cannot normally communicate with the inverter, uploading a fault alarm to the cloud platform;
the battery system is also used for uploading the inverter polling command to the cloud platform, receiving an upgrading file issued by the cloud platform and upgrading the upgrading file;
and the cloud platform is used for identifying and confirming a communication protocol of an inverter manufacturer according to the inverter polling instruction, finding a corresponding upgrade file according to a matching result and issuing the upgrade file to the battery system.
In a further improvement of the present invention, the cloud platform comprises:
a network module: the data packet sending device is used for communicating with the battery system and sending data packets;
a matching module: the communication protocol used for matching the inverter manufacturer according to the inverter polling instruction;
acquiring an issuing module: the system is used for acquiring an upgrade file according to a matching result;
an instruction issuing module: the system is used for issuing and issuing a command of entering the upgrading state of the battery system to the battery system;
a slicing module: the method is used for performing sub-packet processing on the protocol upgrading packet and dividing the protocol upgrading packet into M data packets.
The invention is further improved, the battery system further comprises a network communication module, the network communication module is used for sending an upgrade data packet 1 to the battery system after receiving the complete protocol upgrade packet, after the battery system successfully erases and writes the data packet 1 into the software application layer, the battery system replies an erasing success signal, then the network communication module sends a data packet 2 to the battery system, and so on until the data packet M is erased and written, and after the data packet M is erased and written, the network communication module sends an upgrading success signal to the cloud platform.
Compared with the prior art, the invention has the beneficial effects that: the inverter protocols of different communication modes of different manufacturers can be automatically identified, automatic identification conversion is carried out in the battery system, the installation efficiency is improved, the after-sale maintenance cost is reduced, and the brand credit degree of the battery system is improved.
Drawings
FIG. 1 is a flow chart of the method of the present invention;
FIG. 2 is a diagram illustrating a data frame structure according to an embodiment of a battery system fault code;
fig. 3 is a schematic diagram of a structure of a command data frame issued by a cloud platform.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
As shown in fig. 1, in the method for adapting multiple communication protocols of the energy storage system, a battery system of the energy storage system is combined with a cloud platform to perform automatic protocol conversion, and according to the characteristics of protocols of different inverter manufacturers, automatic identification conversion can be performed, so that the energy storage system works normally. The following examples are given in detail.
As shown in fig. 1, as an embodiment of the present invention, after the inverter and the battery system of the energy storage system of the present invention establish a physical connection in communication, the inverter issues a polling command every Nms to determine whether the battery system is connected or not and to see whether a protocol can be matched, where N is a positive integer. According to the characteristics of the RS485 communication protocol and the CAN protocol, the invention needs to use a function Code (Funtion Code) or CAN-ID to calibrate the data reading operation or the data writing operation, if the energy storage system is correctly connected with the communication line, a system switch is turned on, and a data frame of system communication fault is reported by the battery system on the condition that the communication is not performed for a certain time (defined as N minutes), wherein the format of the data frame is shown in figure 2.
The data frame is uploaded to a cloud platform of a battery manufacturer through a WIFI module, after the cloud platform receives a communication fault report of the system, a warning is popped up on a display system at the end of the battery manufacturer, at the moment, personnel of the battery manufacturer CAN confirm whether the physical connection of communication is normal with a customer, for RS485 and CAN communication, only two wires need to be connected between a battery system and a customer inverter, a socket corresponding to the wire speed CAN be accessed according to the pin definition of the two wires, an RJ45 network port and an RJ45 female seat are generally adopted as connecting terminals, the RJ45 network port and the socket are correspondingly provided with 8 pins, the connecting pin of 485A of RS485 is defined as No. 1 and No. 8 pins, the 485B is defined as No. 2 and No. 7 pins, the CAN-H pin of CAN communication is defined as No. 4 pin, and the CAN-L pin is defined as No. 5 pin. When the system installation personnel confirm that the wiring harness is connected correctly, the system installation personnel can judge that the battery system and the inverter system can normally communicate physically, and the reason for causing communication failure is that the communication protocols between the two systems are not matched.
At this time, a system installer can excite the cloud platform to issue an instruction for acquiring inverter polling data through a one-key adaptive communication protocol function of the display system at the battery manufacturer end, the instruction format of the example is shown in fig. 3, and the cloud platform sets BYTE2 in the command frame to 1. After receiving the command, the local battery system starts to upload the received data of the polling command sent by the inverter, and the cloud platform identifies which communication mode is, so as to confirm which communication protocol of the inverter manufacturer is. The data format of the inverter polling command is shown in table 1.
Figure BDA0002401686180000041
TABLE 1 data Format for inverter polling commands
As shown in table 1, according to the characteristics of the RS485 communication protocol, the present invention uses a function Code (Funtion Code) to calibrate the data reading operation or the data writing operation, where the first data is the slave address, which refers to the address of the battery management system, because the battery system may have multiple systems connected in parallel, and the initial value of the address is 1, which are accumulated sequentially. When the inverter sends a polling command, the battery system can judge according to the slave address, the function code and the start address in the table, different inverter communication protocol versions and different definition of the function code are different, as if the slave data are read, the function code of the communication protocol of the inverter a is 0X43, the function code of the communication protocol of the inverter B is 0X03, if the function code of the protocol is met, the start address is not the same, as if the start address of the command of the inverter a for reading the slave data is 0X1000, the start address of the communication protocol of the inverter B is 0X4000, even if the start address is the same, the polling frequency is also different. In general, the "starting address" can be judged by judging the "slave address" and the "function code" first, if two or more "slave addresses" and "function codes" are consistent, the "starting address" is judged, if the "starting address" has two or more protocols consistent, the polling frequency is judged, some protocols are Nms, some protocols are Xms, and further the brand of communication protocol can be distinguished.
And then, the cloud platform finds the corresponding upgrading file stored in the cloud platform according to the matching result, and then upgrades the local software of the battery system through the upgrading instruction of the cloud platform. The cloud platform issues an instruction for enabling the system to be in an upgrading state, the cloud platform performs sub-package processing on protocol upgrading packages, the protocol upgrading packages are divided into M packages, M is a positive integer larger than 0, the cloud platform sends the data packages to a WIFI module embedded in a battery system in sequence through a WIFI network, the WIFI module replies a complete data receiving signal to the cloud platform after receiving all the data packages, and simultaneously issues an upgrading data package 1 to the battery system, after the battery system successfully erases and writes the data package 1 into a software application layer, the battery system replies an erasing success signal, then the WIFI module issues a data package 2 to the battery system, and the like, until the data package M is erased and written, and after the completion, the WIFI module sends an upgrading success signal to the cloud platform.
After the adaptive protocol of the energy storage system is matched, normal communication can be realized.
According to the implementation process, the inverter protocol of different communication modes of different manufacturers can be automatically identified, automatic identification conversion is carried out in the battery system, the installation efficiency is greatly improved, the after-sale maintenance cost is reduced, and the brand credit degree of the battery system is improved.
The above-described embodiments are intended to be illustrative, and not restrictive, of the invention, and all changes that come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.

Claims (6)

1. A method for adapting multiple communication protocols of an energy storage system is characterized by comprising the following steps:
s1: firstly, a battery system of an energy storage system receives an inverter polling instruction;
s2: if the battery system cannot normally communicate with the inverter within a certain time, uploading a fault alarm to the cloud platform;
s3: uploading a polling instruction of an inverter by a battery system;
s4: the cloud platform identifies and confirms a communication protocol of an inverter manufacturer according to the inverter polling instruction;
s5: the cloud platform finds a corresponding upgrade file according to the matching result and issues the upgrade file to the battery system;
s6: and after receiving the upgrade file, the battery system carries out upgrade, and the adaptive protocol matching is finished.
2. The method of claim 1, wherein the method further comprises: in step S3, the cloud platform issues an instruction to acquire inverter polling data, and when the battery system receives the instruction, the cloud platform starts to upload the data of the received inverter polling instruction.
3. The method of claim 1, wherein the method further comprises: in step S5, the processing method of the cloud platform is:
s51: the cloud platform issues an instruction for enabling the battery system to enter an upgrading state;
s52: the cloud platform carries out sub-packet processing on the protocol upgrading packet and divides the protocol upgrading packet into M data packets, wherein M is a positive integer;
s53: the cloud platform sends the data packets to a network communication module which is arranged in the battery system in a row through a network, and the network communication module replies a complete data receiving signal to the cloud platform after receiving all the data packets.
4. The method of claim 3, wherein the method further comprises: in step S6, after receiving the complete protocol upgrade package, the network communication module of the battery system sends an upgrade data package 1 to the battery system, and after the battery system successfully erases and writes the software application layer into the data package 1, the battery system replies an erase success signal, and then the network communication module sends a data package 2 to the battery system, and so on, until the data package M is erased and written, and after that, the network communication module sends an upgrade success signal to the cloud platform.
5. A system for implementing the method for multiple communication protocol adaptation of an energy storage system of any of claims 1-4, wherein: comprises an energy storage system and a cloud platform, wherein,
the energy storage system comprises a battery system and an inverter, the inverter is used for sending an inverter polling command to the battery system,
the battery system is used for receiving the inverter polling command, judging whether the inverter can normally communicate with the battery system, and if the inverter cannot normally communicate with the battery system, uploading a fault alarm to the cloud platform;
the battery system is also used for uploading the inverter polling command to the cloud platform, receiving an upgrading file issued by the cloud platform and upgrading the upgrading file;
and the cloud platform is used for identifying and confirming a communication protocol of an inverter manufacturer according to the inverter polling instruction, finding a corresponding upgrade file according to a matching result and issuing the upgrade file to the battery system.
6. The system of claim 5, wherein the cloud platform comprises:
a network module: the data packet sending device is used for communicating with the battery system and sending data packets;
a matching module: the communication protocol used for matching the inverter manufacturer according to the inverter polling instruction;
acquiring an issuing module: the system is used for acquiring an upgrade file according to a matching result;
an instruction issuing module: the system is used for issuing and issuing a command of entering the upgrading state of the battery system to the battery system;
a slicing module: the method is used for performing sub-packet processing on the protocol upgrading packet and dividing the protocol upgrading packet into M data packets.
CN202010148718.0A 2020-03-05 2020-03-05 Method and system for self-adapting of multiple communication protocols of energy storage system Active CN111385300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010148718.0A CN111385300B (en) 2020-03-05 2020-03-05 Method and system for self-adapting of multiple communication protocols of energy storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010148718.0A CN111385300B (en) 2020-03-05 2020-03-05 Method and system for self-adapting of multiple communication protocols of energy storage system

Publications (2)

Publication Number Publication Date
CN111385300A CN111385300A (en) 2020-07-07
CN111385300B true CN111385300B (en) 2022-03-18

Family

ID=71218707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010148718.0A Active CN111385300B (en) 2020-03-05 2020-03-05 Method and system for self-adapting of multiple communication protocols of energy storage system

Country Status (1)

Country Link
CN (1) CN111385300B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116055584B (en) * 2023-01-12 2023-06-30 大秦新能源科技(泰州)有限公司 Lithium ion battery communication method and system based on different communication protocols
CN116204263B (en) * 2023-03-14 2024-03-12 深圳市晓鸟动力技术有限公司 Intelligent management method and system for parameters of solar energy storage battery and inverter
CN117891627B (en) * 2024-03-14 2024-05-14 南京智联达科技有限公司 Inter-core communication interaction system applied to energy storage cooperative control device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254496A (en) * 2016-08-19 2016-12-21 江苏天合储能有限公司 The family remote update system of photovoltaic energy storage device and method thereof
CN108055249A (en) * 2017-11-30 2018-05-18 国家电网公司 A kind of electric storage battery monitoring multiprotocol conversion control system and method
CN110192321A (en) * 2017-11-30 2019-08-30 南京德朔实业有限公司 The method for updating program of electronic device and electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10540458B2 (en) * 2016-04-26 2020-01-21 Sejong Industry-Academia Cooperation Foundation Hongik University System and method for monitoring photovoltaic power generation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254496A (en) * 2016-08-19 2016-12-21 江苏天合储能有限公司 The family remote update system of photovoltaic energy storage device and method thereof
CN108055249A (en) * 2017-11-30 2018-05-18 国家电网公司 A kind of electric storage battery monitoring multiprotocol conversion control system and method
CN110192321A (en) * 2017-11-30 2019-08-30 南京德朔实业有限公司 The method for updating program of electronic device and electronic device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于云平台的光伏监控系统设计与实现";马丽红等;《信息技术》;20190117;第61-65页 *

Also Published As

Publication number Publication date
CN111385300A (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN111385300B (en) Method and system for self-adapting of multiple communication protocols of energy storage system
CN110134415A (en) A kind of controller and its method for upgrading software and device
CN109768970B (en) Configurable universal protocol generation method
CN111371756B (en) Method for automatically converting communication protocol of inverter
CN112272243B (en) Address allocation method
CN111506047B (en) Vehicle diagnosis method, device and storage medium
CN101620580B (en) Computer system and control method of the same
CN110809002A (en) Method for protocol conversion between robot and welding equipment and protocol conversion module
CN115604113B (en) FAN network equipment rapid upgrading method, system, equipment and medium
CN113630187A (en) PHY initialization method, system, equipment and medium
CN111447231B (en) Vehicle protocol identification method and device
KR20130058346A (en) Apparatus and method for upgrading meter firmware
CN110940874A (en) Calibration method, server and medium for nuclear power station transformer protection device
CN109041091A (en) A kind of server transport Test Network card fixed test method and system
CN115904439A (en) Controller batch flash method and system based on Ethernet and vehicle
CN115268965A (en) Adaptive software remote upgrading method and system for low-voltage intelligent circuit breaker
CN112615835B (en) Charging pile multi-communication protocol support method and storage medium
CN111255520B (en) Plug-and-play method for coal mine safety monitoring system sensor
CN111930582A (en) System management bus detection platform, processor and system management bus detection method
CN109635504B (en) Heat pump control system software design method
CN110825624A (en) Module testing system and method of embedded equipment
CN117873540A (en) Front panel upgrading flow optimization method
CN113848854B (en) Vehicle-mounted remote terminal fault diagnosis method and system
KR102519616B1 (en) Maintenance system for electric vehicle charger
CN110727649B (en) In-situ protection device parameter synchronization method

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
GR01 Patent grant
GR01 Patent grant