CN117331588B - Remote upgrading method for BMS based on charging pile control system - Google Patents

Remote upgrading method for BMS based on charging pile control system Download PDF

Info

Publication number
CN117331588B
CN117331588B CN202311512567.2A CN202311512567A CN117331588B CN 117331588 B CN117331588 B CN 117331588B CN 202311512567 A CN202311512567 A CN 202311512567A CN 117331588 B CN117331588 B CN 117331588B
Authority
CN
China
Prior art keywords
charging pile
program
control system
message
upgrading
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
CN202311512567.2A
Other languages
Chinese (zh)
Other versions
CN117331588A (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.)
Nantong Guoxuan New Energy Technology Co Ltd
Original Assignee
Nantong Guoxuan New Energy Technology 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 Nantong Guoxuan New Energy Technology Co Ltd filed Critical Nantong Guoxuan New Energy Technology Co Ltd
Priority to CN202311512567.2A priority Critical patent/CN117331588B/en
Publication of CN117331588A publication Critical patent/CN117331588A/en
Application granted granted Critical
Publication of CN117331588B publication Critical patent/CN117331588B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/7072Electromobility specific charging systems or methods for batteries, ultracapacitors, supercapacitors or double-layer capacitors
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/16Information or communication technologies improving the operation of electric vehicles

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a remote upgrading method for a BMS (battery management system) based on a charging pile control system, wherein a background control end generates a BMS upgrading file packet and sends the BMS upgrading file packet to an upgrading platform server of a cloud platform; the charging pile control system sends a remote upgrading request instruction to a user platform server of the cloud platform, and the user platform server starts a connection upgrading process to interact with the charging pile control system information after receiving the remote upgrading request instruction; the formal upgrading process is started, and the cloud platform transmits the acquired BMS upgrading file packet to the router through the upgrading platform server; the charging pile control system acquires a BMS upgrading file packet from the router and sends the BMS upgrading file packet to the battery management system through a CAN channel connected with the BMS; and the BMS integrates CAN data sent by the charging pile control system, and performs format conversion to complete self-upgrading. The invention realizes the requirement of remote upgrading of software functions without increasing extra hardware cost.

Description

Remote upgrading method for BMS based on charging pile control system
Technical Field
The invention relates to a remote upgrading method, in particular to a remote upgrading method for BMS based on a charging pile control system.
Background
At present, the technology of the mobile charging pile is mature, the receiving degree of people is higher, and the mobile charging pile is widely applied to various places where new energy automobiles exist. If BMS (battery management system) hardware in the mobile charging pile cannot support data transmission with a remote platform, a remote upgrading function cannot be realized, and the remote upgrading capability of the mobile charging pile can ensure timely updating of a software system of the pile, a new function is imported, and user experience is improved. Meanwhile, the problem of software can be repaired, and the development risk and recall cost of a host factory are effectively reduced, so that the software in the BMS needs to be updated and upgraded remotely in a synchronous manner in order to ensure that the BMS can run stably and improve the performance of the whole system.
At present, remote upgrading of BMS is usually carried out in two ways, one BMS is provided with a wireless communication module, for example, an EC800N-CN wireless communication module, can be independently connected with an upgrading platform, can directly carry out data with the platform, and can directly control upgrading of BMS products, but has high cost, on one hand, the BMS increases hardware cost, and on the other hand, an additional SIM card network cost is increased because a self-contained control system already comprises a TBOX wireless gateway module; another scheme is to add an Internet communication module on a hardware PDB board, so as to realize direct data transmission with a platform, but the scheme is highly dependent on router equipment. The two remote upgrading modes have obvious defects, the hardware cost is required to be increased, the hardware of the existing BMS product is required to be changed, the products which are subjected to mass production and product type selection and are already set are extremely unfriendly, and a method and a process for adding software functions are needed to be increased, so that the method and the process are suitable for actual requirements on the premise of not changing the hardware functions.
Disclosure of Invention
In order to solve the defects of the technology, the invention provides a remote upgrading method for a BMS based on a charging pile control system.
In order to solve the technical problems, the invention adopts the following technical scheme: a remote upgrading method for BMS based on a charging pile control system comprises the following steps:
step S1, a background control end generates a BMS upgrade file packet and sends the BMS upgrade file packet to an upgrade platform server of a cloud platform;
Step S2, the charging pile control system sends a remote upgrading request instruction to a user platform server of the cloud platform, and the user platform server starts a connection upgrading process to interact with the charging pile control system information after receiving the remote upgrading request instruction;
step S3, starting a formal upgrading process, and transmitting the acquired BMS upgrading file packet to a router by the cloud platform through an upgrading platform server;
Step S4, the charging pile control system acquires a BMS upgrading file packet from a router through an Internet protocol, formats the data into CAN data, and sends the CAN data to the battery management system through a CAN channel connected with the BMS;
And S5, the BMS integrates CAN data sent by the charging pile control system, and self-upgrading is completed after format conversion is performed.
Further, the manner in which the charging pile control system in step S2 sends the remote upgrade request instruction to the user platform server of the cloud platform specifically includes: after receiving the manual triggering instruction of the charging pile display screen, the charging pile control system sends a remote upgrading request instruction to the user platform server; or the charging pile control system periodically sends a remote upgrading request instruction to the user platform server; or the user platform server sends information to the network information box, the network information box sends trigger message data to the charging pile control system, and the charging pile control system sends a remote upgrading request instruction to the user platform server after receiving the trigger.
Further, the connection upgrading process specifically includes: when the charging pile control system sends a version information acquisition message to a user platform server of the cloud platform, the user platform server sends a version information return message to the charging pile control system after receiving the version information acquisition message, the charging pile control system judges whether the cloud platform has a BMS upgrading file packet or not firstly after receiving the version information return message and confirming that connection is successful, if the BMS upgrading file packet exists, the step S3 is entered, and if the BMS upgrading file packet does not exist, the communication is ended.
Further, after receiving the version information acquisition message, the user platform server sends a version information return message to the charging pile control system, if the charging pile control system does not receive the version information return message for ten seconds, the version information acquisition message is sent again, after three times of repeated sending, the charging pile control system confirms that the upgrading service fails and stops sending the version information acquisition message when the version information return message of the user platform server is not received yet; and if the charging pile control system receives the returned version information message, the charging pile control system sends a starting information message or a program information message to the user platform server after judging the content of the returned version information message.
Further, the connection upgrading process specifically further includes: when the user platform server receives the starting information message, the upgrading service is ended, when the user platform server receives the program information acquisition message, the user platform server sends a program information return message, and if the user platform server does not receive the program information acquisition message for ten seconds, the cloud platform confirms that the upgrading service fails and does not send any information; the charging pile control system sends an application Nth package program data message after receiving the return program information message, and if the user platform server does not receive the application Nth package program data message for ten seconds, the charging pile control system confirms that the upgrading service fails and does not send any information any more; and if the charging pile control system does not receive the program data message of the Nth packet, the cloud platform determines that the upgrading service fails and does not send any information.
Further, the connection upgrading process specifically further includes: the charging pile control system judges whether the data message is the last packet of data message after receiving and issuing the Nth packet of program message, if not, the charging pile control system continues to send the data message for applying for the Nth packet of program, if so, the upgrading is completed; if the upgrade platform server does not receive the program data message applying for the Nth package for ten seconds, the cloud platform confirms that the upgrade service fails and does not send any information any more; after receiving the continuously sent application N package program data message, the upgrading platform server judges whether the application N package program data message is the last package data message, if not, the upgrading platform server continuously sends and sends the N package program message; if yes, finishing upgrading; if the upgrade platform server does not receive the message within ten seconds, the cloud platform confirms that the upgrade service fails and does not send any information.
Further, the formal upgrading process specifically includes that after the battery management system meets the triggering condition, the battery management system actively sends an upgrade application message to the charging pile control system, the battery management system continuously sends the upgrade application message for five times, the charging pile control system receives the upgrade application message or the charging pile control system actively sends the upgrade control message, and if the battery management system does not receive an upgrade response message returned by the battery management system for 10 seconds, the charging pile control system determines that the current upgrade service fails and does not send any information.
Further, the formal upgrading process specifically includes that after the battery management system receives an upgrading control message, an upgrading response message is sent, after the charging pile control system receives the upgrading response message, an ACK response mechanism is judged, if the charging pile control system is O, upgrading is allowed, and upgrading program information, the number of program packages, accumulated check of a program and MODBUS CRC check information are sent; if the value is other than 0, the upgrade fails, and the battery management system is not transmitting any information.
Further, the formal upgrading process specifically further includes: after receiving the number of program packages, the accumulation check of the program and the MODBUS CRC check information, the battery management system returns the received response program information message as is, and after receiving the response program information message returned as is, the charging pile control system judges whether the upgrade program information is consistent with the number of program packages, the accumulation check of the program and the MODBUS CRC check information, if not, the upgrade program information is retransmitted, the number of program packages, the accumulation check of the program and the MODBUS CRC check information are not consistent with each other, and if not, the program upgrade fails; after receiving the program package number, the program verification accumulation verification and the MODBUS CRC verification information response data, the charging pile control system judges whether the program package number, the program verification accumulation verification and the MODBUS CRC verification information response data are consistent with the actual data, if the data are consistent with the actual data, the battery management system transmits the received data back as is after receiving the transmitted data, the charging pile control system transmits the transmitted data of the next frame after receiving the data which are transmitted back as is, the new transmitted data are increased by one compared with the sequence number of the last frame, the battery management system transmits the received data back as is again after receiving the subsequent data, and the battery management system circularly transmits the received data until all program data are transmitted.
Further, after the charging pile control system judges that the program data is sent, a data sending completion message is sent, after the battery management system receives the data sending completion message, all received programs are subjected to accumulation check and MODBUS CRC check, a calculation result is compared with the number of program packets, the accumulation check of the programs and the MODBUS CRC check information received before, a frame of program check confirmation message is returned, the charging pile control system receives the program check confirmation message, and if the program is complete, the program is updated successfully; and the charging pile control system receives the program checking and confirming message, returns to the state that the program checking fails, and retransmits the upgrade program information, the program package number, the accumulated checking of the program and the MODBUS CRC checking information to the charging pile control system, and returns to the upper version program after the program checking and confirming message fails to check three times.
The invention discloses a remote upgrading method for a BMS (battery management system) based on a charging pile control system, which is used for realizing the requirement of remote upgrading of software functions, and utilizes the concept of upgrading the BMS through a platform by the charging pile control system, wherein the whole upgrading strategy and process comprise a connection upgrading process and a formal upgrading process, the condition can be met by only adding the software functions of a BMS product and the charging pile control system without adding hardware of the existing equipment or adding extra hardware cost, the remote upgrading function of the charging pile control system is expanded, and the pressure of after-sales personnel is relieved.
Drawings
Fig. 1 is a schematic diagram of the remote upgrade principle of the present invention.
Fig. 2 is a schematic diagram of a connection upgrade process according to the present invention.
Fig. 3 is a schematic diagram of a formal upgrade procedure according to the present invention.
Detailed Description
The invention will be described in further detail with reference to the drawings and the detailed description.
As shown in the schematic diagram of the remote upgrade principle in fig. 1, the remote upgrade method for the BMS based on the charging pile control system includes the following steps: the method comprises the steps that a background control end generates a BMS upgrading file packet and sends the BMS upgrading file packet to an upgrading platform server of a cloud platform; the charging pile control system sends a remote upgrading request instruction to a user platform server of the cloud platform, and the user platform server starts a connection upgrading process to interact with the charging pile control system information after receiving the remote upgrading request instruction; the formal upgrading process is started, the cloud platform transmits the acquired BMS upgrading file packet to the router through the upgrading platform server, and the router is configured to be wireless through Webbox; the charging pile control system acquires the BMS upgrade file packet from the router through an Internet protocol, formats the data into CAN data, and sends the CAN data to the battery management system through a CAN channel connected with the BMS; and the BMS integrates CAN data sent by the charging pile control system, and performs format conversion to complete self-upgrading.
The method for the charging pile control system to send the remote upgrading request instruction to the user platform server of the cloud platform specifically comprises the following steps: after receiving the manual triggering instruction of the charging pile display screen, the charging pile control system sends a remote upgrading request instruction to the user platform server; or the charging pile control system periodically sends a remote upgrading request instruction to the user platform server; or the user platform server sends information to the network information box, the network information box sends trigger message data to the charging pile control system, and the charging pile control system sends a remote upgrading request instruction to the user platform server after receiving the trigger.
As shown in the connection upgrade flow diagram of fig. 2, the connection upgrade flow specifically includes: at a client (charging pile control system), when the charging pile control system sends a version information acquisition message S21 to a user platform server of a cloud platform, the version information acquisition message S21 comprises a message length, a function code, product information, a device program version number, a device ID and a checksum; at the server side (cloud platform), after receiving the version information acquisition message S21, the user platform server sends a version information return message S22 to the charging pile control system, where the version information return message S22 includes a message length, a function code, a server program version number, product information, upgrade control, a checksum and the like.
The upgrade control is described as follows:
a0: the server prohibits this device upgrade (special mode);
A1: the device discovery version is updated and not updated (normal mode);
a2: immediately upgrading, and re-downloading whether the version of the server program is updated or not, wherein the version is judged to be consistent and then downloaded;
a3: immediately upgrading, and judging whether the version of the upgrading file is consistent with the current version (replacing version);
And after receiving the returned version information message S22 and confirming that the connection is successful, the charging pile control system judges whether the cloud platform has a BMS upgrading file packet, if so, the charging pile control system enters a formal upgrading process, and if not, the charging pile control system finishes communication.
After receiving the version information message S21, the user platform server sends a return version information message S22 to the charging pile control system, if the charging pile control system does not receive the return version information message S22 for ten seconds, the version information message S21 is sent again, after repeated sending for three times, the charging pile control system determines that the upgrading service fails and stops sending the version information message S21 when the version information message S22 returned by the user platform server is not received; if the charging pile control system receives the return version information message S22, the charging pile control system returns to A0 after judging the content of the return version information message, and sends a start information message S23 to the user platform server to finish upgrading; returning to A1, A2 or A3, the get program information message S24 is sent to the user platform server. The start information message S23 mainly includes: message length, function code, product information, device program version number, BMS program version number, checksum (sum of all previous data), etc.; the acquiring program information message S24 mainly includes: message length, function code, checksum (sum of all data before), etc.
When the user platform server receives the acquired program information message S24, the upgrade service ends, and when the user platform server receives the acquired program information message S24, a return program information message S25 is sent, where the return program information message S25 mainly includes: message length, function code, program information, checksum (sum of all previous data), etc.; if the user platform server does not receive the program information acquisition message S24 for ten seconds, the cloud platform confirms that the upgrading service fails and does not send any information any more; after receiving the return program information message S25, the charging pile control system sends an application Nth packet of program data message S26, and if the user platform server does not receive the application Nth packet of program data message S26 for ten seconds, the charging pile control system confirms that the upgrading service fails and does not send any information any more; if the user platform server receives the application N package program data message S26, returns to issue the N package program data message S27, where the N package program data message S27 includes: message length, function code, program data index, issue data length, data content, checksum (sum of all previous data), etc.; and the BMS upgrade file package is issued through the upgrade platform server, if the charging pile control system does not receive the program data message S27 for issuing the Nth package for ten seconds, the cloud platform confirms that the upgrade service fails and does not send any information any more.
The charging pile control system judges whether the data message is the last packet of data message after receiving the program report of the Nth packet, if not, the charging pile control system continues to send the program data message S26 of the Nth packet, if yes, the upgrading is completed; if the upgrade platform server does not receive the application Nth package program data message S26 for ten seconds, the cloud platform confirms that the upgrade service fails and does not send any information any more; after receiving the continuously sent application N package program data message S26, the upgrading platform server judges whether the application N package program data message is the last package data message, if not, the upgrading platform server continuously sends and sends the continuously sent application N package program data message S27; if yes, finishing upgrading; if the upgrade platform server does not receive the message within ten seconds, the cloud platform confirms that the upgrade service fails and does not send any information. The server and the device each need to check the program data index and checksum, and the flow platform sends the BMS upgrade data to the charging pile control system. All data are stored by the charging pile control system.
As shown in the schematic diagram of the formal upgrading flow shown in fig. 3, the formal upgrading flow is shown in fig. 3, and adopts CAN communication to support program upgrading of less than 2M, and the multi-byte data is in a small-segment mode.
MASTER stands for the charging pile control system, SLAVE stands for the battery management system.
When MASTER upgrades SLAVE, it is necessary to be in non-high voltage state, i.e. charge and discharge current is less than or equal to 3A, and other CAN data transmission is stopped. In the upgrading process, if no upgrading message is received within 5 seconds, the method exits from the upgrading mode.
The method specifically comprises the steps that after the battery management system meets the triggering condition, an application upgrading message S310 is actively sent to the charging pile control system, wherein the application upgrading message S310 mainly comprises the application upgrading reasons: 0 boot program requests upgrade (motherboard has no program, unconditionally execute upgrade); 1APP requests an upgrade (performs an upgrade in the case of conditional operation);
And continuously transmitting for five times, wherein the charging pile control system receives an application upgrading message S310 or actively transmits an upgrading control message S311 by the charging pile control system, and the upgrading control message S311 comprises the application upgrading reason: requesting an upgrade by a master 0;
If the upgrade response message S312 returned by the battery management system is not received for 10 seconds, the upgrade response message S312 mainly includes an upgrade response ACK:0 allows upgrades, other values do not; the charging pile control system determines that the upgrading service fails and does not send any information.
After receiving the upgrade control message S311, the battery management system sends an upgrade response message S312, and after receiving the upgrade response message S312, the charging pile control system judges an ACK response mechanism, if the ACK response mechanism is 0, upgrade is allowed, and upgrade program information S320, the number of program packages, the accumulation check of the program and MODBUS CRC check information S321 are sent; if the value is other than 0, the upgrade fails, and the battery management system is not transmitting any information. The upgrade program information S320 mainly contains upgrade program related information (e.g., program version number).
After receiving the number of program packages, the accumulation check of the program and the MODBUS CRC check information, the battery management system returns the received response program information message S322 as is, after receiving the response program information message S322 returned as is, the charging pile control system judges whether the upgrade program information S320 is consistent with the number of program packages, the accumulation check of the program and the MODBUS CRC check information, if not, the upgrade program information S320 is retransmitted to the number of program packages, the accumulation check of the program and the MODBUS CRC check information S321, and if not, the program upgrade fails; after receiving the program package number, the program check accumulation check and the MODBUS CRC check information response data, the charging pile control system judges whether the program package number, the program check accumulation check and the MODBUS CRC check information response data are consistent with the actual data, if the program package number, the MODBUS CRC check information response data are consistent with the actual data, the battery management system transmits an N-th program data message, after receiving the N-th program data message, the battery management system transmits the received data back to the N-th program data message S331 as the original state, the charging pile control system transmits a next frame of transmitting data message after receiving the original data, the new transmitting data message is one more than the sequence number of the previous frame, the battery management system transmits the received data back again as the original state after receiving the sequence data, and the charging pile control system circularly transmits all the program data until transmission of all the program data is completed.
Further, after the charging pile control system determines that the program data transmission is completed, the charging pile control system transmits a data message 332 to transmit a completion message, and after the battery management system receives the data transmission completion message, performs accumulation check and MODBUS CRC check on all received programs, compares the calculation result with the number of program packets, the accumulation check of the program and the MODBUS CRC check information S321 received before, and returns a frame of program check confirmation message S333, where the program check confirmation message S333 mainly includes program check confirmation: 0 represents complete program; 1 represents program verification failed; the charging pile control system receives the program checking and confirming message, returns to complete the program, and upgrades the program successfully; and the charging pile control system receives the program checking and confirming message, returns to the state that the program checking is failed, and the charging pile control system resends the upgrade program information S320, the program package number, the accumulated checking of the program and the MODBUS CRC checking information S321, and returns to the upper version program after the program checking and confirming message S333 fails to check three times.
The above embodiments are not intended to limit the present invention, and the present invention is not limited to the above examples, but is also intended to be limited to the following claims.

Claims (7)

1. The remote upgrading method for the BMS based on the charging pile control system is characterized by comprising the following steps of:
step S1, a background control end generates a BMS upgrade file packet and sends the BMS upgrade file packet to an upgrade platform server of a cloud platform;
Step S2, the charging pile control system sends a remote upgrading request instruction to a user platform server of the cloud platform, and after the user platform server receives the remote upgrading request instruction, the user platform server starts a connection upgrading process to interact with the charging pile control system information;
The connection upgrading process specifically comprises the following steps: when the charging pile control system sends a version information acquisition message to a user platform server of the cloud platform, the user platform server sends a version information return message to the charging pile control system after receiving the version information acquisition message, the charging pile control system judges whether the cloud platform has a BMS (battery management system) upgrading file packet or not after receiving the version information return message and confirming that the connection is successful, if the BMS upgrading file packet exists, the step S3 is entered, and if the BMS upgrading file packet does not exist, the communication is ended; the charging pile control system judges whether the data packet is the last packet of data message after receiving and issuing the Nth packet of program packet, if not, continues to send the data packet for applying for the Nth packet of program, if so, the upgrading is completed; if the upgrade platform server does not receive the program data message applying for the Nth package for ten seconds, the cloud platform confirms that the upgrade service fails and does not send any information any more; after receiving the continuously sent application N package program data message, the upgrading platform server judges whether the application N package program data message is the last package data message, if not, the upgrading platform server continuously sends the N package program message; if yes, finishing upgrading; if the upgrade platform server does not receive the message within ten seconds, the cloud platform confirms that the upgrade service fails and does not send any information any more;
Step S3, starting a formal upgrading process, and transmitting the acquired BMS upgrading file packet to a router by the cloud platform through an upgrading platform server; the formal upgrading process specifically comprises the steps that after the battery management system receives an upgrading control message, an upgrading response message is sent, after the charging pile control system receives the upgrading response message, an ACK response mechanism is judged, if the charging pile control system is O, upgrading is allowed, and upgrading program information, the number of program packages, accumulated check of a program and MODBUS CRC check information are sent; if the value is other than 0, the upgrading fails, and the battery management system does not send any information any more;
Step S4, the charging pile control system acquires a BMS upgrading file packet from a router through an Internet protocol, formats the data into CAN data, and sends the CAN data to the battery management system through a CAN channel connected with the BMS;
And S5, the BMS integrates CAN data sent by the charging pile control system, and self-upgrading is completed after format conversion is performed.
2. The remote upgrade method for the BMS based on the charging pile control system according to claim 1, wherein the manner in which the charging pile control system in step S2 sends the remote upgrade request instruction to the user platform server of the cloud platform specifically includes: after receiving the manual triggering instruction of the charging pile display screen, the charging pile control system sends a remote upgrading request instruction to the user platform server; or the charging pile control system periodically sends a remote upgrading request instruction to the user platform server; or the user platform server sends information to the network information box, the network information box sends trigger message data to the charging pile control system, and the charging pile control system sends a remote upgrading request instruction to the user platform server after receiving the trigger.
3. The remote upgrade method for the BMS based on the charging pile control system according to claim 2, wherein: after receiving the version information acquisition message, the user platform server sends a version information return message to the charging pile control system, if the charging pile control system does not receive the version information return message for ten seconds, the version information acquisition message is sent again, after repeated sending for three times, the version information return message of the user platform server is not received yet, the charging pile control system confirms that the upgrading service fails, and stops sending the version information acquisition message; and if the charging pile control system receives the returned version information message, the charging pile control system sends a starting information message or a program information message to the user platform server after judging the content of the returned version information message.
4. The remote upgrade method for the BMS based on the charging pile control system according to claim 3, wherein the connection upgrade process specifically further comprises: when the user platform server receives the starting information message, the upgrading service is ended, when the user platform server receives the program information acquisition message, the user platform server sends a program information return message, and if the user platform server does not receive the program information acquisition message for ten seconds, the cloud platform confirms that the upgrading service fails and does not send any information; the charging pile control system sends an application Nth package program data message after receiving the return program information message, and if the user platform server does not receive the application Nth package program data message for ten seconds, the charging pile control system confirms that the upgrading service fails and does not send any information any more; and if the charging pile control system does not receive the program data message of the Nth packet, the cloud platform determines that the upgrading service fails and does not send any information.
5. The remote upgrade method for the BMS based on the charging pile control system according to any one of claims 1-4, wherein: the formal upgrading process specifically comprises the steps that after the battery management system meets the triggering condition, the battery management system actively sends an upgrade application message to the charging pile control system, the battery management system continuously sends the upgrade application message for five times, the charging pile control system receives the upgrade application message or the charging pile control system actively sends the upgrade control message, and if the battery management system does not receive an upgrade response message returned by the battery management system for ten seconds, the charging pile control system determines that the current upgrade service fails and does not send any information any more.
6. The remote upgrade method for the BMS based on the charging pile control system according to claim 5, wherein the formal upgrade procedure specifically further comprises: after receiving the number of program packages, the accumulation check of the program and the MODBUS CRC check information, the battery management system returns the received response program information message as is, and after receiving the response program information message returned as is, the charging pile control system judges whether the upgrade program information is consistent with the number of program packages, the accumulation check of the program and the MODBUS CRC check information, if not, the upgrade program information is retransmitted, the number of program packages, the accumulation check of the program and the MODBUS CRC check information, and if not, the program upgrade fails after three judgments are not consistent; after receiving the program package number, the program verification accumulation verification and the MODBUS CRC verification information response data, the charging pile control system judges whether the program package number, the program verification accumulation verification and the MODBUS CRC verification information response data are consistent with the actual data, if the data are consistent with the actual data, the battery management system transmits the received data back as is after receiving the transmitted data, the charging pile control system transmits the transmitted data of the next frame after receiving the data which are transmitted back as is, the new transmitted data are increased by one compared with the sequence number of the last frame, the battery management system transmits the received data back as is again after receiving the subsequent data, and the battery management system circularly transmits the received data until all program data are transmitted.
7. The remote upgrade method for the BMS based on the charging pile control system according to claim 6, wherein: after judging that the program data transmission is finished, the charging pile control system transmits a data transmission finishing message, the battery management system performs accumulation check and MODBUS CRC check on all received programs after receiving the data transmission finishing message, compares a calculation result with the number of program packets, the accumulation check of the programs and the MODBUS CRC check information which are received before, returns a frame of program check confirmation message, and the charging pile control system receives the program check confirmation message and returns that the program is complete and the program is updated successfully; and the charging pile control system receives the program checking and confirming message, returns to the state that the program checking fails, and retransmits the upgrade program information, the program package number, the accumulated checking of the program and the MODBUS CRC checking information to the charging pile control system, and returns to the upper version program after the program checking and confirming message fails to check three times.
CN202311512567.2A 2023-11-14 2023-11-14 Remote upgrading method for BMS based on charging pile control system Active CN117331588B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311512567.2A CN117331588B (en) 2023-11-14 2023-11-14 Remote upgrading method for BMS based on charging pile control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311512567.2A CN117331588B (en) 2023-11-14 2023-11-14 Remote upgrading method for BMS based on charging pile control system

Publications (2)

Publication Number Publication Date
CN117331588A CN117331588A (en) 2024-01-02
CN117331588B true CN117331588B (en) 2024-06-11

Family

ID=89275808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311512567.2A Active CN117331588B (en) 2023-11-14 2023-11-14 Remote upgrading method for BMS based on charging pile control system

Country Status (1)

Country Link
CN (1) CN117331588B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019788A (en) * 2012-12-14 2013-04-03 上海邮政科学研究院 Remote online upgrading method based on CAN (Controller Area Network) bus
CN109408084A (en) * 2018-09-26 2019-03-01 深圳市科陆电子科技股份有限公司 A kind of method and system by internet remote upgrade energy storage BMS equipment
CN110370976A (en) * 2019-07-25 2019-10-25 一能充电科技(深圳)有限责任公司 A kind of new-energy automobile charging pile communication means based on cloud platform
CN116107612A (en) * 2023-04-11 2023-05-12 北京集度科技有限公司 Firmware air upgrading device, charging pile, device, method and program product
CN116360827A (en) * 2023-04-11 2023-06-30 度普(苏州)新能源科技有限公司 Application software upgrading method and device of charging pile, storage medium and electronic equipment
CN116506248A (en) * 2023-04-24 2023-07-28 江苏大烨智慧能源有限公司 Method and system for communication between battery BMS and cloud platform

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9176725B2 (en) * 2012-05-15 2015-11-03 Oracle International Corporation Automated upgrade for an operating system using a gateway server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019788A (en) * 2012-12-14 2013-04-03 上海邮政科学研究院 Remote online upgrading method based on CAN (Controller Area Network) bus
CN109408084A (en) * 2018-09-26 2019-03-01 深圳市科陆电子科技股份有限公司 A kind of method and system by internet remote upgrade energy storage BMS equipment
CN110370976A (en) * 2019-07-25 2019-10-25 一能充电科技(深圳)有限责任公司 A kind of new-energy automobile charging pile communication means based on cloud platform
CN116107612A (en) * 2023-04-11 2023-05-12 北京集度科技有限公司 Firmware air upgrading device, charging pile, device, method and program product
CN116360827A (en) * 2023-04-11 2023-06-30 度普(苏州)新能源科技有限公司 Application software upgrading method and device of charging pile, storage medium and electronic equipment
CN116506248A (en) * 2023-04-24 2023-07-28 江苏大烨智慧能源有限公司 Method and system for communication between battery BMS and cloud platform

Also Published As

Publication number Publication date
CN117331588A (en) 2024-01-02

Similar Documents

Publication Publication Date Title
CN102510409B (en) Method and system for quickly and remotely updating program of mobile terminal by using wireless network
CN102098590B (en) Automatic upgrading method and system of firmware version of optical network unit
EP2177996A2 (en) Remote patching of operating code in a mobile unit
CN103095745A (en) Vehicle-mounted terminal, electronic module and device, system and method of electronic module upgrade
WO2011006328A1 (en) System and method for updating device firmware, device management server and mobile terminal
CN111796843B (en) Application program upgrading method, device, equipment and storage medium
CN105898893B (en) Full-duplex communication method for mobile terminal and Internet of things equipment
CN110262820A (en) Method, apparatus, system and storage medium based on MQTT protocol realization OTA upgrading
CN109361544A (en) A kind of positioning terminal firmware method, apparatus and calculate equipment
CN106453629B (en) A kind of automobile electronic system remote update system and its method based on mobile network
CN113746892A (en) Remote upgrading method and wireless terminal equipment
CN102970359A (en) Remote upgrade method and device based on main and auxiliary equipment
CN117331588B (en) Remote upgrading method for BMS based on charging pile control system
CN107172613A (en) The remote maintenance system and method for a kind of car wireless terminal
CN111181752B (en) Narrowband device upgrading method, mobile terminal and readable storage medium
CN114915671A (en) NB-IoT-based remote upgrading method for street lamp controller
EP2515601B1 (en) Dial-up connection method and device of mobile data terminal
CN113031990A (en) Broadcasting upgrading method, system, equipment and storage medium for street lamp terminal
CN101374072B (en) Method for updating configuration of electric force monitoring apparatus, electric force monitoring apparatus and energy management system
CN114679439A (en) Bluetooth BLE-based auxiliary upgrade package downloading method for Internet of things
CN101345775B (en) Synchronization method and system for man-computer command script document between network manager and network element
CN112654012A (en) Vehicle control solution under network-free condition
CN111629367A (en) Data transmission method of terminal equipment and earphone, terminal equipment and storage medium
CN109857436A (en) Equipment room diffusion type method for upgrading software under a kind of line
CN113050967B (en) Remote updating method for train-mounted software

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