Energy storage type charging pile OTA topology system
By designing the OTA topology system of energy storage charging piles and using the CAN bus and uds data transmission format, the problems of complex design and large wiring harness usage in the existing system are solved, and the channel design, reduced production costs and flexible OTA upgrade process are achieved.
Patent Information
- Application Number
- CN202510298703.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-13
- Publication Date
- 2025-06-13
AI Technical Summary
When the existing energy storage charging pile system realizes OTA update of the ECU, it has complex design and large wiring harness usage, resulting in high production costs and insufficient flexibility.
An energy storage charging pile OTA topology system is designed, including servers, telematics processing box Tbox, energy management system EMS and external diagnostic equipment. The analysis and routing of data packets are realized through the CAN bus and uds data transmission format, simplifying channel design and reducing the use of wire harnesses.
The system simplifies channel design, reduces wiring harness usage and production costs, and provides a flexible OTA upgrade process to meet the functional requirements of the charging pile system.
Smart Images

Figure CN120151267A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of OTA topology for charging piles, and particularly to an energy storage type charging pile OTA topology system. Background Art
[0002] An energy storage type charging pile is a device that combines energy storage technology and charging function. It can store electrical energy during the low load period of the power grid and provide charging services for electric vehicles during the peak load period, thereby achieving the balance of the power grid load and the efficient utilization of charging facilities. During the low load period of the power grid, the charging pile absorbs electrical energy from the power grid through the charging interface and stores it in the internal energy storage device, such as lithium batteries, supercapacitors, etc. When the power grid load enters the peak load period, the charging pile releases the stored electrical energy to provide charging services for the connected electric vehicles.
[0003] With the development of the new energy industry, more and more electric vehicle charging facilities are being built, and the operation of equipment and systems is becoming increasingly complex. Ensuring that all ECUs in the entire charging pile system can transmit data through the CAN communication bus to achieve online upgrade of software firmware is an essential function of the product. Implementing the ECU OTA topology structure of the entire charging pile is the core product design content of the charging pile product, which is related to the safe and stable operation of the charging pile system.
[0004] ECU products have the need to update their own firmware. In the actual product life cycle, problems regarding the software firmware upgrade requirements of the product will be encountered. The product must have the function of OTA update. The entire charging pile system contains many ECU controllers. Due to the limitations of function implementation, there are respective connection relationships between ECU controllers. Designing a dedicated topology structure is required to achieve the boot update of all ECUs. Summary of the Invention
[0005] In order to solve the above technical problems, the present invention provides an energy storage type charging pile OTA topology system.
[0006] The technical solution adopted by the present invention is as follows:
[0007] A storage-type charging pile OTA topology system, comprising: a server for storing data packets; an electronic control unit ECU, the electronic control unit ECU includes: a telematics box Tbox, the telematics box Tbox is network-connected to the server, and the telematics box Tbox is used to obtain data packets from the server, parse them to obtain update data, and then encapsulate the update data into CAN message information according to the uds data transmission format; an energy management system EMS, the energy management system EMS integrates a gateway function and is communicatively connected to the telematics box Tbox through a CAN bus. After receiving the CAN message information, the energy management system EMS parses it, determines the direction of the message routing, and then routes the message to a specific CAN channel.
[0008] After the telematics box Tbox obtains the data packet from the server, it parses the data packet according to the data packaging protocol to obtain the update data.
[0009] The system further includes an external diagnostic device, and the CAN interface of the external diagnostic device is connected to the OBD upgrade channel of the energy management system EMS.
[0010] The external diagnostic device is used to obtain the update data, then decompose the download process through the CAN protocol, encapsulate the update data into CAN message information according to the uds protocol and send it to the energy management system EMS. The energy management system EMS parses the received CAN message information, determines the direction of the message routing, and then routes the message to a specific CAN channel.
[0011] The beneficial effects of the present invention:
[0012] The storage-type charging pile OTA topology system of the present invention simplifies the channel design, reduces the wire harness usage of the entire system, and reduces the production cost; according to specific functional requirements, the OTA upgrade process can be customized according to the communication protocol supported by the specific ECU, which is more flexible and versatile while meeting the functional requirements of the current charging pile. Description of the Drawings
[0013] Figure 1 It is a block diagram of the storage-type charging pile OTA topology system according to the embodiment of the present invention. Detailed Embodiments
[0014] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0015] As Figure 1 shown, an OTA topology system of a storage - type charging pile according to an embodiment of the present invention includes a server and an electronic control unit ECU.
[0016] The server is used to store data packets.
[0017] The electronic control unit ECU includes a telematics box Tbox and an energy management system EMS. Among them, the telematics box Tbox is connected to the server through a network. The telematics box Tbox is used to obtain data packets from the server, parse them to obtain update data, and then encapsulate the update data into CAN message information according to the uds data transmission format; the energy management system EMS integrates a gateway function and is communicatively connected to the telematics box Tbox through a CAN bus. After receiving the CAN message information, the energy management system EMS parses it to determine the direction of message routing, and then routes the message to a specific CAN channel.
[0018] In the present invention, the telematics box Tbox is an intelligent terminal device integrating a processor, a GPS module, a 4G / 5G module (including SIM card function), and supporting multiple interfaces (such as CAN bus, USB, Bluetooth, etc.). The energy management system (EMS) is a collection of software and hardware used to monitor, control, analyze, and optimize energy systems. When used in conjunction with a charging pile, it can achieve efficient energy management, optimize charging strategies, and improve the stability and reliability of the power grid.
[0019] The energy management system EMS integrates a gateway function and realizes data routing and forwarding between different networks through a gateway device. As a bridge connecting different networks or systems, the gateway can receive, process, and forward data packets from each network to ensure the correct transmission of data and the interconnection and interoperability of networks.
[0020] In an embodiment of the present invention, after obtaining data packets from the server, the telematics box Tbox parses the data packets according to a data packaging protocol to obtain update data.
[0021] The data packaging protocol is the basis for communication between the telematics box Tbox and the server. It stipulates the format, structure, and meaning of each field of the data packet. This protocol usually includes parts such as a data packet header, a data body, and check information to ensure the integrity, accuracy, and security of the data.
[0022] Specifically, the steps for parsing the data packet are as follows:
[0023] S1: Header parsing
[0024] The telematics box Tbox first parses the header information of the data packet, which usually includes key information such as the length, version number, and data type of the data packet; through the header information, the telematics box Tbox can determine the validity of the data packet and the subsequent processing flow.
[0025] S2: Data body parsing
[0026] After confirming that the header information of the data packet is correct, the telematics box Tbox starts to parse the data body part. The data body usually contains the actual update data, which may be encoded in binary, text, or other formats. The telematics box Tbox parses out the values of each field one by one according to the data structure defined in the data packaging protocol.
[0027] S3: Verification information verification
[0028] To ensure the integrity of the data, the data packet usually contains verification information such as checksum and hash value. After parsing the data body, the telematics box Tbox performs a verification calculation on the entire data packet (or a specific part of the data body) and compares it with the verification information in the data packet. If the verification fails, the telematics box Tbox may discard the data packet or request the server to resend it.
[0029] After completing the parsing and verification of the data packet, the telematics box Tbox saves the extracted update data to the internal memory for subsequent use. These update data can include software update packages, configuration parameters, map data, etc.
[0030] It should be understood that in order to ensure the security of the data, the data packet can be encrypted in the data packaging protocol. Specifically, before parsing the data packet, the telematics box Tbox needs to decrypt the data packet using a predefined key and encryption algorithm.
[0031] In an embodiment of the present invention, the system further includes an external diagnostic device, and the CAN interface of the external diagnostic device is connected to the OBD upgrade channel of the energy management system EMS.
[0032] An external diagnostic device (UDS Tester) is a device specifically used for diagnosing automotive electronic control units (ECUs). Based on the UDS protocol, it can communicate with the ECU to achieve various functions such as diagnosis, monitoring, testing, data reading and writing. The external diagnostic device (UDS Tester) is connected to the ECU through a specific communication interface (such as the CAN bus). During the communication process, the external diagnostic device (UDS Tester), acting as a client, sends diagnostic request messages to the ECU. After receiving the request, the ECU processes it according to the provisions of the UDS protocol and returns corresponding diagnostic response messages. The external diagnostic device (UDS Tester) can obtain relevant information of the ECU by parsing these response messages.
[0033] In an embodiment of the present invention, the external diagnostic device is used to obtain update data, then decompose the download process through the CAN protocol, encapsulate the update data into CAN message information according to the uds protocol and send it to the energy management system EMS. The energy management system EMS parses the received CAN message information to determine the direction of the message routing, and then routes the message to a specific CAN channel.
[0034] In an embodiment of the present invention, the energy management system EMS internally has a message routing table or routing logic for determining the message routing direction according to the identifier ID or other information of the message, that is, determining which module or subsystem inside the EMS the message should be sent to for further processing. When the message routing direction is determined, the energy management system EMS will route the message to a specific CAN channel.
[0035] In the OTA topology system of the energy storage type charging pile of the present invention, the energy management system EMS integrates the gateway routing function, making the energy management system EMS the core of information transmission during the entire upgrade process. Without the complex CAN channel design in the vehicle system, OTA upgrade can still be completed. The present invention also has multiple OTA upgrade methods, and users can choose the most suitable method to upgrade a certain ECU function of their own; the upgrade process can select specific signal transmission protocols and customized uds simplified protocols according to the actual hardware design of their own development projects to achieve the OTA function.
[0036] In summary, the OTA topology system of the energy storage type charging pile of the present invention simplifies the channel design, reduces the wire harness usage of the entire system, and reduces the production cost; according to specific functional requirements, the OTA upgrade process can be customized according to the communication protocols supported by specific ECUs, making it more flexible and versatile while meeting the functional requirements of the current charging piles.
[0037] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of such features. The meaning of "a plurality" is two or more unless specifically and clearly defined otherwise.
[0038] In the present invention, unless otherwise clearly defined and limited, terms such as "installed", "connected", "coupled", "fixed", etc. should be construed in a broad sense. For example, it may be a fixed connection, a detachable connection, or integrated; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the internal communication of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0039] In the present invention, unless otherwise clearly defined and limited, the first feature being "on" or "under" the second feature may be that the first and second features are in direct contact, or the first and second features are indirectly in contact through an intermediate medium. Moreover, the first feature being "above", "over" and "on top of" the second feature may be that the first feature is directly above or obliquely above the second feature, or merely indicates that the first feature has a higher horizontal height than the second feature. The first feature being "under", "beneath" and "underneath" the second feature may be that the first feature is directly below or obliquely below the second feature, or merely indicates that the first feature has a lower horizontal height than the second feature.
[0040] In the description of this specification, the descriptions with reference to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.
[0041] Any process or method description represented in a flowchart or otherwise described herein can be understood to represent a module, segment, or portion of code including one or more executable instructions for implementing a specific logical function or process. The scope of the preferred embodiments of the present invention includes additional implementations, where functions may be performed in an order not shown or discussed, including in a substantially simultaneous manner according to the functions involved or in a reverse order, which should be understood by those skilled in the art to which the embodiments of the present invention pertain.
[0042] The logic and / or steps represented in a flowchart or otherwise described herein, for example, can be considered a sequenced list of executable instructions for implementing a logical function and can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium include the following: an electrical connection having one or more wires (electronic device), a portable computer diskette (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable medium on which the program can be printed, as the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or otherwise processing as appropriate, and then stored in a computer memory.
[0043] It should be understood that various parts of the present invention can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gates for implementing logical functions on data signals, application specific integrated circuits having appropriate combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
[0044] Those of ordinary skill in the art can understand that all or part of the steps carried out in implementing the above-described embodiment methods can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiment.
[0045] In addition, in each of the embodiments of the present invention, the functional units can be integrated into one processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The above-integrated module can be implemented in the form of hardware or in the form of a software functional module. When the above-integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0046] Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present invention.
Claims
1. An energy storage charging pile OTA topology system, characterized in that: include: Server, used to store data packets; An electronic control unit ECU, wherein the electronic control unit ECU comprises: A telematics processing box Tbox, wherein the telematics processing box Tbox is connected to the server through a network, and the telematics processing box Tbox is used to obtain and parse data packets from the server to obtain update data, and then encapsulate the update data into CAN message information according to the UDS data transmission format; The energy management system EMS integrates a gateway function and is connected to the telematics box Tbox through a CAN bus. The energy management system EMS parses the CAN message information after receiving it, determines the direction of the message routing, and then routes the message to a specific CAN channel.
2. The energy storage charging pile OTA topology system according to claim 1 is characterized in that: After obtaining the data packet from the server, the telematics processing box Tbox parses the data packet according to the data packaging protocol to obtain the updated data.
3. The energy storage charging pile OTA topology system according to claim 2 is characterized in that: The system also includes an external diagnostic device, a CAN interface of which is connected to an OBD upgrade channel of the energy management system EMS.
4. The energy storage charging pile OTA topology system according to claim 3 is characterized in that: The external diagnostic device is used to obtain update data, and then decompose the download process through the CAN protocol, encapsulate the update data into CAN message information according to the UDS protocol and send it to the energy management system EMS. The energy management system EMS parses the received CAN message information, determines the direction of the message routing, and then routes the message to a specific CAN channel.