Communication control method and device for charging module

By using a combination of SCI communication and CAN communication in the charging module, it is solved that existing charging modules are difficult to meet the communication needs of high internal real-time and high external compatibility in complex application scenarios, and efficient and reliable communication is achieved, which improves the intelligence level of the charging system.

CN119921435APending Publication Date: 2025-05-02SUZHOU XINYUAN ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510078029.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

In complex application scenarios, existing charging modules are difficult to meet the communication needs of high internal real-time and high external compatibility at the same time, and a single communication method is difficult to fully meet multiple needs.

Method used

Two different communication methods are adopted: internal submodules communicate through SCI, and charging modules communicate through CAN. By separating internal and external communication, optimize data formats and communication parameters to achieve efficient and reliable communication.

Benefits of technology

It significantly improves the communication efficiency and reliability of the charging module, ensures high real-time internal communication and high compatibility of external communication, and improves the intelligence level and user experience of the charging system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119921435A_ABST
    Figure CN119921435A_ABST
Patent Text Reader

Abstract

The invention provides a communication control method and device of a charging module, which can improve the limitation of adopting a single communication mode and can improve the response speed and reliability of communication, and comprises the following steps of: communicating internal sub-modules of the charging module through a first communication mode, and the charging module communicates with the external equipment in a second communication mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of charging modules, and in particular to a communication control method and device for a charging module. Background Art

[0002] With the advancement of charging technology, the charging module has put forward higher requirements on the communication mechanism when exchanging information with various external smart devices and coordinating the internal components. A single traditional communication method is difficult to fully meet the various needs in complex application scenarios. Although the existing communication methods have certain advantages in connecting external devices, they are not optimal for specific internal scenarios. A single communication method is difficult to simultaneously meet the requirements of high internal real-time performance and high external compatibility. Summary of the invention

[0003] In view of the above problems, the present invention provides a communication control method and device for a charging module, which can improve the limitations of using a single communication method and enhance the response speed and reliability of communication.

[0004] The technical solution is as follows: a communication control method for a charging module, characterized in that it includes the following steps:

[0005] The internal submodules of the charging module communicate with each other via a first communication method, and the charging module communicates with an external device via a second communication method.

[0006] Furthermore, when the first communication mode is used for communication, the transmitted data includes voltage, current, temperature, and the power and efficiency of the charging module itself.

[0007] Furthermore, the internal sub-modules of the charging module include: a main control module, a power conversion module, a first communication module, a second communication module, a protection module and a status monitoring module, the first communication module is used to support communication of a first communication mode, and the second communication module is used to support communication of a second communication mode.

[0008] Furthermore, when the first communication mode is used for communication, the adopted data format includes a start identifier, a data length indication, data content, and a check value which are arranged in sequence.

[0009] Furthermore, the method further comprises the steps of: when the charging module is started, initializing the first communication module and the second communication module respectively;

[0010] For the first communication module, configure the relevant communication parameters of the internal interface of the first communication module, the relevant communication parameters include rate, data format, and verification mechanism, and initialize the communication port corresponding to each internal submodule;

[0011] For the second communication module, the communication rate, address allocation rules, and screening parameters of the second communication module are set.

[0012] Furthermore, the method further includes the step of: according to the external instruction received by the second communication method, the main control module coordinates the operation of each internal sub-module of the charging module by the first communication method.

[0013] Furthermore, the method also includes the following steps: after the internal sub-module completes the corresponding operation according to the external instruction, the main control module integrates the status information and operation result data of each internal module, packages them in the format required by the second communication method protocol, and replies the packaged data to the external device through the second communication method, so that the external device can know the execution status and current status of the charging module.

[0014] Furthermore, the method also includes the steps of: during the communication process, real-time monitoring of the operating status of the first communication mode and the second communication mode; if a fault is detected in the second communication mode, issuing a fault alarm signal of the corresponding communication mode; for a fault in the first communication mode, if an abnormal communication mode is detected between two internal sub-modules of the charging module, the main control module reinitializes the communication port corresponding to the faulty link and adjusts the communication parameters; if normal communication still cannot be restored, the fault information is sent to the external device via the second communication mode for maintenance personnel to perform maintenance.

[0015] Furthermore, the method also includes the steps of: performing statistics and analysis on the data of the first communication mode and the second communication mode, and optimizing the parameters and application strategies of the first communication mode and the second communication mode.

[0016] Furthermore, the first communication mode adopts SCI communication, and the second communication mode adopts CAN communication.

[0017] A computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the communication control method of the charging module as described above when executing the computer program.

[0018] A computer program product comprises a computer program / instruction, which implements the steps of the above method when executed by a processor.

[0019] The communication control method of the charging module of the present invention adopts two different communication modes, wherein the first communication mode is used for communication between internal submodules, and the second communication mode is used for communication between the charging module and external devices. By separating and optimizing internal communication and external communication, the communication efficiency of the charging module can be significantly improved. The high real-time performance of the internal communication ensures fast data exchange between the submodules, while the high compatibility of the external communication ensures seamless connection with various external devices.

[0020] In the first communication mode of the present invention, the data format of the transmitted data is specified, including a start identifier, a data length indicator, a format specification containing key parameters such as voltage, current, temperature, and a check value, so that the data transmission between the internal submodules is more efficient and accurate, and it is convenient for the main control module to quickly and accurately obtain the status information of each submodule. The charging module can adjust the charging strategy in time according to the voltage, current, temperature and other data monitored in real time, avoid dangerous situations such as overcharging and over-discharging, improve the charging efficiency and ensure the charging safety;

[0021] Through the stable connection and data interaction with the external device through the second communication method, the main control module of the charging module can coordinate the work of each internal sub-module through the first communication method according to external instructions. After each internal sub-module completes the operation, the main control module can integrate the status information and operation result data to reply to the external device, which can improve the overall performance of the charging module. The external device can obtain the execution status and current status of the charging module in real time, which is convenient for users and maintenance personnel to understand the working status of the charging module in time and improve the intelligence level of the charging system. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 Schematic diagram of the steps of a communication control method for a charging module in an embodiment;

[0023] Figure 2 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0024] In an embodiment of the present invention, a communication control method of a charging module is provided, which comprises at least the following steps:

[0025] The internal submodules of the charging module communicate with each other via a first communication method, and the charging module communicates with an external device via a second communication method.

[0026] In the embodiment, when the first communication mode is used for communication, the transmitted data includes voltage, current, temperature, and the power and efficiency of the charging module itself. Usually, the internal submodules of the charging module include: a main control module, a power conversion module, a first communication module, a second communication module, a protection module and a status monitoring module. The first communication module is used to support communication in the first communication mode, and the second communication module is used to support communication in the second communication mode. Among them, the first communication mode adopts SCI communication, and the second communication mode adopts CAN communication.

[0027] In the embodiment, when the first communication mode is adopted for communication, the adopted data format includes a sequentially set start identifier, a data length indication, a data content, and a check value. By stipulating the data format of the transmitted data, the data transmission between the internal submodules of the charging module is made more efficient and accurate, which facilitates the main control module to quickly and accurately obtain the status information of each submodule. The charging module can adjust the charging strategy in time according to the voltage, current, temperature and other data monitored in real time, avoid dangerous situations such as overcharging and over-discharging, improve the charging efficiency and ensure the charging safety;

[0028] Through the stable connection and data interaction with external devices through the second communication method, the external device can obtain the execution status and current status of the charging module in real time, realize remote monitoring and fault diagnosis, and users and maintenance personnel can timely understand the working status of the charging module, thereby improving the intelligence level of the charging module and user experience.

[0029] See Figure 1 Specifically, in one implementation of the present invention, the communication control method of the charging module in the embodiment includes the following steps:

[0030] Step S1: when the charging module is started, initializing the first communication module and the second communication module respectively;

[0031] In the embodiment, for the first communication module, the relevant communication parameters of the internal interface of the first communication module are configured, and the relevant communication parameters may include rate, data format, and verification mechanism, and the communication ports corresponding to each internal sub-module are initialized to ensure the normal construction of the communication lines between the internal sub-modules of the charging module;

[0032] For the second communication module, the communication rate, address allocation rules, and screening parameters of the second communication module are set so that the charging module can establish an effective communication link with externally connected electric vehicle control systems, power grid monitoring systems, and other devices;

[0033] Step S2: After the charging module is started, various sensors and detection circuits inside the charging module collect operating data such as voltage, current, temperature, and the power and efficiency of the charging module itself, and encode the collected data in accordance with a predetermined data format corresponding to the first communication method. In the embodiment, a frame of data is composed of a specific start identifier, data length indication, data content, and a format of a check part, so as to enable efficient transmission between internal modules of the charging module.

[0034] In the data collection and transmission of the first communication mode inside the charging module, it is assumed that the voltage collected by the voltage sensor is 380V, the charging current collected by the current sensor is 10A, and the module temperature detected by the temperature sensor is 40°C. According to the data format of the first communication mode, the start identifier is 0xAA in hexadecimal, and the data length indication is 0x06 in hexadecimal, indicating that there are 6 bytes of data behind it. The data content is the voltage value 0x01 0x7C, and the two bytes are combined into 0x017C in hexadecimal, which is 380 in decimal, corresponding to 380V voltage, the current value 0x00 0x0A, and the two bytes are combined into 0x000A in hexadecimal, which is 10 in decimal, corresponding to 10A current, the temperature value 0x000x28, and the two bytes are combined into 0x0028 in hexadecimal, which is 40 in decimal, corresponding to 40°C temperature. The verification part adopts a specific calculation method to obtain a verification value of 0x5F. The calculation of the verification value in the embodiment is to select 0xAA 0x060x01 0x7C 0x00 0x0A The data of 0x000x28 is added and then multiplied by 0xFF, and the lower eight bits are taken to finally get 0x5F. The data packet is 0xAA 0x06 0x01 0x7C0x00 0x0A 0x00 0x28 0x5F. When the transmitted data contains more parameters, the data length indication and data content can be adjusted accordingly. The data content can be added with specific parameter values ​​after the set parameter position.

[0035] Step S3: Communicate between the internal submodules of the charging module through the first communication method, and use the first communication method to transfer the sorted frame data between the main control module and the power conversion module, protection module, status monitoring module and other submodules inside the charging module. In an embodiment of the present invention, the main control module can send the collected status data to the protection module through the first communication method, so that the protection module can adjust the protection strategy in real time according to the data; the power conversion module feeds back its own working status information to the main control module through the first communication method, so as to achieve real-time sharing and collaborative operation of internal information.

[0036] Step S4: The charging module continuously monitors the instructions and data requests sent by the external device through the second communication method. When receiving an instruction from the external device, which may be the battery management system of the electric vehicle, to adjust the charging current or voltage, the message sent by the second communication method is parsed to extract key information in the instruction, such as the target charging parameters and the instruction type.

[0037] When an external instruction is received and processed by the second communication method, for example, a message sent by an external electric vehicle battery management system is received, the message identifier of which is 0x79, and the data content is a requirement to adjust the charging voltage to 400V. The message identifier 0x79 is customized by different manufacturers, and can be defined as 0x79 in the embodiment, or as 0x89. The message is parsed by the second communication method module to extract the target voltage value 400V and the instruction type as voltage adjustment.

[0038] Step S5: Based on the external instruction received by the second communication method, the main control module coordinates the work of each internal submodule of the charging module through the first communication method. For example, if the external instruction is to adjust the charging voltage, the main control module notifies the power conversion module to adjust the charging voltage through the first communication method, and obtains data of other related internal submodules, such as the temperature monitoring module, through the first communication method, so as to ensure the safe and stable operation of the charging module as a whole during the voltage adjustment process.

[0039] Step S6: After the internal submodule completes the corresponding operation according to the external instruction, the main control module will integrate the status information and operation result data of each internal module and package them in the format required by the second communication method protocol. For example, the current output voltage, current, power, internal temperature of the charging module and whether the instruction is successfully executed are packaged, and the packaged data is returned to the external device through the second communication method, so that the external device can know the execution status and current status of the charging module.

[0040] Step S7: During the entire communication process, the operating status of the first communication mode and the second communication mode is monitored in real time. If a fault is detected in the second communication mode, such as line abnormality, connection interruption, or excessive error data, a fault alarm signal of the corresponding communication mode is issued. For a fault in the first communication mode, if an abnormal communication mode between two internal submodules of the charging module is detected, the main control module reinitializes the communication port corresponding to the faulty link and adjusts the communication parameters, which may be to reduce the rate. If normal communication still cannot be restored, the fault information is sent to the external device via the second communication mode for maintenance personnel to conduct maintenance.

[0041] Step S8: Statistics and analysis are performed on the data of the first communication mode and the second communication mode, and the parameters and application strategies of the first communication mode and the second communication mode are optimized based on the statistics and analysis of the long-term communication data. The specific optimization method can be: for the first communication mode and the second communication mode, if it is found that the load of a communication mode is too high in a certain time period, resulting in an increase in data transmission delay, the transmission frequency of some non-critical external data can be appropriately reduced, or the message priority allocation rule of the communication mode can be optimized. For the second communication mode, if the data transmission volume of a certain internal submodule is large for a long time and has high real-time requirements, it can be considered to upgrade the hardware performance of its communication interface, such as replacing a higher-speed interface chip, or adjusting the transmission path of the internal data, reducing the intermediate links of data transmission, and improving the internal communication efficiency.

[0042] Traditional charging modules usually use a single communication method, which makes it difficult to simultaneously meet the complex requirements of efficient collaboration between internal sub-modules and stable connection with multiple external smart devices.

[0043] In the embodiment, when the charging module is started, two specific communication modules for external communication and internal communication of the charging module are respectively initialized, and respective communication parameters are set and connections are established. By separating internal communication from external communication, operating data is collected by the internal sensor of the charging module, and after being sorted and encoded according to the predetermined internal communication module data format, the first communication method is used to transmit data between the main control module and each submodule, so as to achieve internal information sharing and collaboration, which can significantly improve the communication efficiency of the charging module;

[0044] The charging module and the external communication module receive and analyze external commands using the second communication mode. The main control module coordinates the work of the internal submodules through the internal communication module. After completion, the internal state information and operation results are integrated and the external device is replied according to the protocol format of the external communication module. The protocol format of the external communication can also be set according to specific needs. The high compatibility of the external communication ensures seamless connection with various external devices.

[0045] In the embodiment, during the entire communication process, the status of the two communication modes is monitored in real time, and an alarm signal is promptly issued when a fault is detected. For internal communication faults, recovery can be attempted by reinitializing the communication port, adjusting communication parameters, etc. If recovery is not possible, the fault information is sent to an external device, which is convenient for maintenance personnel to quickly locate and solve the problem, reduce the system failure rate, and improve the reliability and maintainability of the system.

[0046] In the embodiment, by also performing statistics and analysis on the data of the first communication mode and the second communication mode, optimizing the parameters and application strategies of the two communication modes, and performing long-term statistical analysis on the communication data, it is possible to find which internal submodules have a large data transmission volume and high real-time requirements, and optimize the hardware configuration accordingly, so that limited communication resources can be more reasonably allocated and utilized, and communication efficiency can be improved. Load balancing and resource optimization can avoid the communication system being in a high-load state for a long time, and reduce the risk of hardware damage caused by excessive use. Through the optimized communication methods and strategies provided in the embodiment, it is possible to ensure that key data can be transmitted in a timely and accurate manner, reduce unnecessary delays, and facilitate the system to quickly make corresponding adjustments.

[0047] In an embodiment of the present invention, a computer device is further provided, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the communication control method of the charging module as described above is implemented.

[0048] The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 2 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected by a bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the communication control method of the charging module is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a key, trackball or touchpad set on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0049] The memory may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc. The memory is used to store programs, and the processor executes the programs after receiving the execution instruction.

[0050] The processor can be an integrated circuit chip with signal processing capabilities. The above-mentioned processor can be a general-purpose processor, including a central processing unit (Central Processing Unit, referred to as: CPU), a network processor (Network Processor, referred to as: NP), etc. The processor can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The various methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0051] Those skilled in the art will understand that Figure 2 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0052] Those skilled in the art will appreciate that the embodiments of the embodiments of the present invention may be provided as methods, computer devices, or computer program products. Therefore, the embodiments of the present invention may take the form of complete hardware embodiments, complete software embodiments, or embodiments combining software and hardware. Moreover, the embodiments of the present invention may take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0053] The embodiments of the present invention are described with reference to flowcharts and / or block diagrams of methods, computer devices, or computer program products according to the embodiments of the present invention. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate a device for implementing the functions specified in the flowcharts and / or.

[0054] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in the flowchart.

[0055] In an embodiment of the present invention, a computer program product is further provided, comprising a computer program / instruction, wherein the computer program / instruction implements the steps of the above method when executed by a processor.

[0056] In actual application, the above-mentioned computer program products include but are not limited to: charging stations, charging piles, new energy vehicles, smart phones, desktop computers, laptops, tablet computers, host computers and server platforms, etc., and no specific restrictions are made here.

[0057] The communication control method, computer device, and computer program product of the charging module provided by the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A communication control method for a charging module, characterized in that: The following steps are involved: The internal submodules of the charging module communicate with each other via a first communication method, and the charging module communicates with an external device via a second communication method.

2. A communication control method for a charging module according to claim 1, characterized in that: When communicating using the first communication method, the transmitted data includes voltage, current, temperature, and the power and efficiency of the charging module itself. The internal sub-modules of the charging module include: a main control module, a power conversion module, a first communication module, a second communication module, a protection module and a status monitoring module. The first communication module is used to support communication using the first communication method, and the second communication module is used to support communication using the second communication method.

3. A communication control method for a charging module according to claim 2, characterized in that: When the first communication mode is used for communication, the adopted data format includes a start mark, a data length indication, data content, and a check value which are arranged in sequence.

4. The communication control method of a charging module according to claim 2, characterized in that: The method further comprises the steps of: when the charging module is started, initializing the first communication module and the second communication module respectively; For the first communication module, configure the relevant communication parameters of the internal interface of the first communication module, the relevant communication parameters include rate, data format, and verification mechanism, and initialize the communication port corresponding to each internal submodule; For the second communication module, the communication rate, address allocation rules, and screening parameters of the second communication module are set.

5. The communication control method of a charging module according to claim 2, characterized in that: The method further comprises the steps of: According to the external instruction received by the second communication method, the main control module coordinates the work of each internal submodule of the charging module by the first communication method; After the internal sub-module completes the corresponding operation according to the external instruction, the main control module will integrate the status information and operation result data of each internal module, package them according to the format required by the second communication method protocol, and reply the packaged data to the external device through the second communication method, so that the external device can know the execution status and current status of the charging module.

6. A communication control method for a charging module according to claim 5, characterized in that: The method further comprises the steps of: monitoring the operating status of the first communication mode and the second communication mode in real time during the communication process, and sending a fault alarm signal of the corresponding communication mode if a fault is detected in the second communication mode.

7. The communication control method of a charging module according to claim 2, characterized in that: The method further comprises the steps of: performing statistics and analysis on the data of the first communication mode and the second communication mode, and optimizing the parameters and application strategies of the first communication mode and the second communication mode.

8. The communication control method of a charging module according to claim 2, characterized in that: The first communication mode adopts SCI communication, and the second communication mode adopts CAN communication.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the communication control method of the charging module as claimed in claim 1 is implemented.

10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to claim 1 are implemented.