CN111371756B - Method for automatically converting communication protocol of inverter - Google Patents
Method for automatically converting communication protocol of inverter Download PDFInfo
- Publication number
- CN111371756B CN111371756B CN202010113459.8A CN202010113459A CN111371756B CN 111371756 B CN111371756 B CN 111371756B CN 202010113459 A CN202010113459 A CN 202010113459A CN 111371756 B CN111371756 B CN 111371756B
- Authority
- CN
- China
- Prior art keywords
- communication protocol
- consistent
- inverter
- management system
- battery management
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
Abstract
The invention provides a method for automatically converting an inverter communication protocol, which comprises the following steps: s1, receiving a polling command of the inverter through the battery management system; s2, firstly judging whether the slave address and the function code are consistent with the communication protocol through the battery management system, if only the slave address and the function code of one set of communication protocol are consistent, converting the battery management system to the communication protocol for operation, if the slave address and the function code of two or more sets of communication protocols are consistent, judging whether the initial address is consistent with the communication protocol, and if only the initial address of one set of communication protocol is consistent, converting the battery management system to the communication protocol for operation. The invention has the beneficial effects that: the communication protocols of inverters of different manufacturers can be automatically identified, automatic identification conversion is carried out in the battery system, the installation efficiency is improved, and the after-sale maintenance cost is reduced.
Description
Technical Field
The invention relates to a household energy storage system, in particular to a method for automatically converting an inverter communication protocol.
Background
At present, more and more off-network energy storage systems are installed in multiple families, when an installer installs the energy storage system for the first time, due to the limitation of the professional degree of the installer, and due to the fact that brands of inverter manufacturers are numerous, a set of battery system needs to be matched with protocols of mainstream inverter manufacturers on the market or protocols of the inverter manufacturers appointed by customers, so that the ability of program upgrading needs to be mastered for system installers, and is limited by the professional debugging ability and equipment resources of the installer, the installer needs to find corresponding program upgrading files of communication protocols matched with the inverter manufacturers in the energy storage system, and needs to master program upgrading tools of the battery manufacturers and corresponding program upgrading steps skillfully. 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 a brand and a protocol version of an inverter, the customer only needs to deliver the energy storage system according to a standard default protocol version when the energy storage system is installed for the first time, the customer confirms the brand of the inverter and requires a supplier of the energy storage system to send a corresponding upgrade file for online upgrade when the energy storage system is delivered for the first time, upgrade failure or upgrade errors are easy to occur in the process, more time and effort are spent on maintaining and guiding installation, efficiency is low, and after-sale cost is high.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a method for automatically converting an inverter communication protocol.
The invention provides a method for automatically converting an inverter communication protocol, which comprises the following steps:
s1, receiving a polling command of the inverter through the battery management system;
s2, judging whether the 'slave address' and the 'function code' are consistent with the communication protocol by the battery management system, if only the 'slave address' and the 'function code' of one set of communication protocol are consistent, converting the battery management system to the communication protocol for operation, if the 'slave address' and the 'function code' of two or more sets of communication protocols are consistent, judging whether the 'start address' is consistent with the communication protocol, if only the 'start address' of one set of communication protocol is consistent, converting the battery management system to the communication protocol for operation, if the 'start address' of two or more sets of communication protocols is consistent, judging whether the polling frequency is consistent with the communication protocol, if only the polling frequency of one set of communication protocol is consistent, converting the battery management system to the communication protocol for operation, if the polling frequency of two or more sets of communication protocols is consistent, the process is ended.
As a further improvement of the present invention, before step S1, multiple sets of communication protocols are stored in the battery management system.
The invention has the beneficial effects that: by the scheme, the communication protocols of inverters of different manufacturers can be automatically identified, automatic identification conversion is carried out in the battery system, the installation efficiency is improved, and the after-sale maintenance cost is reduced.
Drawings
Fig. 1 is a flow chart of a method of automatically converting inverter communication protocols in accordance with the present invention.
Detailed Description
The invention is further described with reference to the following description and embodiments in conjunction with the accompanying drawings.
As shown in fig. 1, a method for automatically converting an inverter communication protocol includes the following steps:
s1, receiving a polling command of the inverter through the battery management system;
s2, judging whether the 'slave address' and the 'function code' are consistent with the communication protocol by the battery management system, if only the 'slave address' and the 'function code' of one set of communication protocol are consistent, converting the battery management system to the communication protocol for operation, if the 'slave address' and the 'function code' of two or more sets of communication protocols are consistent, judging whether the 'start address' is consistent with the communication protocol, if only the 'start address' of one set of communication protocol is consistent, converting the battery management system to the communication protocol for operation, if the 'start address' of two or more sets of communication protocols is consistent, judging whether the polling frequency is consistent with the communication protocol, if only the polling frequency of one set of communication protocol is consistent, converting the battery management system to the communication protocol for operation, if the polling frequency of two or more sets of communication protocols is consistent, then end
According to the method for automatically converting the communication protocols of the inverter, provided by the invention, more commonly used communication protocols are stored in a BMS system, the protocols of the inverters of different manufacturers are automatically identified according to the characteristics of the protocols of the different inverter manufacturers, and automatic identification conversion is carried out in a battery system, so that the installation efficiency is improved, the after-sale maintenance cost is reduced, and the brand credibility of the battery system is improved.
Generally, after the inverter system and the battery system are physically connected in communication, the inverter issues polling commands every Nms to determine whether the battery system is connected or not and to see whether a protocol can be matched or not.
According to the characteristics of the RS485 communication protocol, a Function Code (Function Code) is required to calibrate a data reading operation or a data writing operation, and the first data is a slave address, which refers to an address of a battery management system, because a plurality of systems may be connected in parallel in a battery system, and the initial value of the address is 1, which are sequentially accumulated. 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 similar, as 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, and if the function code of the protocol is similar, the start address is not the same. If the start address of the command for reading the slave data of the brand a inverter is 0X1000, and the start address of the communication protocol of the brand B inverter is 0X4000, even if the "start addresses" are the same, the polling frequency will be different. In general, by judging the slave address and the function code, if two or more slave addresses are consistent with the function code, the start address is judged, if the start address has two or more protocols, the polling frequency is judged, some protocols are Nms and some protocols are Xms, and then the brand of communication protocol can be distinguished, and then the system jumps to the corresponding protocol to operate through internal calibration, and the communication protocol is successfully converted.
In the battery management system, the communication protocol objects of corresponding brands can be distinguished through comparison of the dimensions, the program automatically jumps to the corresponding protocol object logic to run according to the comparison result and sets the corresponding flag bit, and the automatic protocol conversion is completed. The method for automatically converting the protocol reduces unnecessary manual conversion work and saves after-sale maintenance cost and production cost.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.
Claims (2)
1. A method for automatically converting inverter communication protocols, comprising the steps of:
s1, receiving a polling command of the inverter through the battery management system;
s2, firstly judging whether the slave address and the function code stored in the battery management system are consistent with the communication protocol of the inverter through the battery management system, if only the slave address and the function code of one set of communication protocol are consistent, converting the battery management system to the communication protocol for operation, if the slave address and the function code of two or more sets of communication protocols are consistent, judging whether the initial address stored in the battery management system is consistent with the communication protocol, if only the initial address of one set of communication protocol is consistent, converting the battery management system to the communication protocol for operation, if the initial address of two or more sets of communication protocols is consistent, judging whether the polling frequency is consistent with the communication protocol, if only the polling frequency of one set of communication protocol is consistent, and converting the battery management system to the communication protocol for operation, and ending if the polling frequency of two or more sets of communication protocols is consistent.
2. The method of automatically converting an inverter communication protocol of claim 1, wherein: prior to step S1, sets of communication protocols are stored in the battery management system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010113459.8A CN111371756B (en) | 2020-02-24 | 2020-02-24 | Method for automatically converting communication protocol of inverter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010113459.8A CN111371756B (en) | 2020-02-24 | 2020-02-24 | Method for automatically converting communication protocol of inverter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111371756A CN111371756A (en) | 2020-07-03 |
CN111371756B true CN111371756B (en) | 2022-05-06 |
Family
ID=71206300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010113459.8A Active CN111371756B (en) | 2020-02-24 | 2020-02-24 | Method for automatically converting communication protocol of inverter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111371756B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114827302B (en) * | 2022-04-06 | 2024-03-12 | 广东万颗子智控科技有限公司 | Communication protocol adaptation method, device, equipment and storage medium |
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 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103107571A (en) * | 2012-12-10 | 2013-05-15 | 惠州市亿能电子有限公司 | Method of battery management system for supporting various charging agreements |
CN104303388A (en) * | 2013-03-29 | 2015-01-21 | 松下知识产权经营株式会社 | Storage battery pack, electric device, communication control method |
CN108494808A (en) * | 2018-05-30 | 2018-09-04 | 国网冀北电力有限公司电力科学研究院 | Charger communication protocol detection device |
CN110071555A (en) * | 2019-06-03 | 2019-07-30 | 中能锂电科技泰州有限公司 | A kind of batteries management system |
CN209823786U (en) * | 2019-06-12 | 2019-12-20 | 浙江正泰中自控制工程有限公司 | Portable photovoltaic equipment communication simulator |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103259299A (en) * | 2012-02-20 | 2013-08-21 | 伊顿公司 | Multi-standard compatible charger |
-
2020
- 2020-02-24 CN CN202010113459.8A patent/CN111371756B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103107571A (en) * | 2012-12-10 | 2013-05-15 | 惠州市亿能电子有限公司 | Method of battery management system for supporting various charging agreements |
CN104303388A (en) * | 2013-03-29 | 2015-01-21 | 松下知识产权经营株式会社 | Storage battery pack, electric device, communication control method |
CN108494808A (en) * | 2018-05-30 | 2018-09-04 | 国网冀北电力有限公司电力科学研究院 | Charger communication protocol detection device |
CN110071555A (en) * | 2019-06-03 | 2019-07-30 | 中能锂电科技泰州有限公司 | A kind of batteries management system |
CN209823786U (en) * | 2019-06-12 | 2019-12-20 | 浙江正泰中自控制工程有限公司 | Portable photovoltaic equipment communication simulator |
Non-Patent Citations (1)
Title |
---|
基于电池管理系统的逆变器控制策略研究;马贝龙等;《自动化技术与应用》;20190425;第18-23页 * |
Also Published As
Publication number | Publication date |
---|---|
CN111371756A (en) | 2020-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111371756B (en) | Method for automatically converting communication protocol of inverter | |
CN111385300B (en) | Method and system for self-adapting of multiple communication protocols of energy storage system | |
CN103530199B (en) | A kind of method, Apparatus and system repairing running software mistake | |
CN107357595B (en) | Bus-based multi-driver firmware online updating system | |
CN112015168A (en) | Vehicle diagnosis method, system and diagnosis equipment based on automatic switching of communication protocols | |
CN104598279A (en) | Method and device for upgrading firmware based on flight controller | |
CN101447894A (en) | Identification of physical address of partial node, network configuration and maintaining method, network system | |
CN103106095A (en) | Method for remotely upgrading industrial camera and camera | |
US20170171355A1 (en) | Method for transferring a new software version to at least one electricity meter via a communication network | |
CN102413008B (en) | Based on method of testing and the system of electric power 104 stipulations | |
CN101620580B (en) | Computer system and control method of the same | |
CN112306877A (en) | Power system fault operation and maintenance method and system | |
KR101350059B1 (en) | Apparatus and method for upgrading meter firmware | |
CN111367766A (en) | Method, device and equipment for determining connection relation between monitoring host and equipment | |
CN108572847B (en) | Method for upgrading single chip microcomputer software version through USB port | |
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 | |
CN110940874B (en) | Calibration method, server and medium for nuclear power station transformer protection device | |
CN100407160C (en) | Method for monitoring and correcting errors of electronic device | |
CN111352764A (en) | Chip repairing method, device, equipment and storage medium | |
CN106855850A (en) | Based on portable equipment intelligent substation secondary void terminal figure reality symbol detection method | |
CN116225804A (en) | PCIe link detection method, system, equipment and storage medium | |
CN110609691A (en) | Method for remotely updating DSP program | |
CN115695020A (en) | Vehicle fault diagnosis communication method, device, equipment and storage medium | |
CN110618891B (en) | Solid state disk fault online processing method and solid state disk |
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 |