PLC message monitoring system and method between European and American standard charging pile and electric vehicle

By designing a PLC message parsing system between European and American standard charging piles and electric vehicles, and real-time monitoring and storage of PLC messages, the problem that existing tools cannot intuitively interpret the actual meaning of PLC communication is solved, and the efficiency of problem location is improved.

CN120825534APending Publication Date: 2025-10-21XIAN WANMA SMART NEW ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511139747.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-14
Publication Date
2025-10-21

AI Technical Summary

Technical Problem

Existing data analysis tools are unable to intuitively analyze the practical significance of PLC communication in European and American standard charging systems, resulting in users having to go through a tedious manual analysis process and being unable to effectively locate communication problems in the charging system.

Method used

A PLC message parsing system between European and American standard charging piles and electric vehicles was designed. It includes a memory, a central processing unit, a host computer, and a human-computer interaction screen. PLC messages are collected and parsed in real time through a PLC data monitoring unit, a PWM signal sampling unit, and a CP voltage sampling unit. A third-party message parsing library is used for secondary parsing to generate observable parameters and states.

Benefits of technology

It realizes real-time monitoring and storage of PLC messages, making it easier for users to view and improving problem-solving efficiency. It can be parsed into observable parameters and states according to the protocol, simplifying the problem location process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120825534A_ABST
    Figure CN120825534A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of data processing, and particularly relates to a PLC message analysis system and method between a European and American standard charging pile and an electric vehicle. The system comprises a memory, a central processing unit, an upper computer and a man-machine interaction screen, the memory is connected with the central processing unit, and the central processing unit is connected with the upper computer and the man-machine interaction screen; the central processor comprises a PLC data monitoring unit, a PWM signal sampling unit and a CP voltage sampling unit. The method comprises the following steps: acquiring and storing a PLC message between the European and American standard charging pile and the European and American standard electric vehicle; and analyzing the PLC message according to different protocol versions in a predetermined scene, and filling the analyzed message according to a preset format. According to the main technical scheme and the main effects of the analysis system and method between the European and American standard charging pile and the electric vehicle, PLC message analysis is successfully achieved, a user can check the message conveniently, and the problem solving efficiency is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of data processing technology, and in particular relates to a PLC message parsing system and method between a European and American standard charging pile and an electric vehicle. Background Art

[0002] In standard European and American charging systems, charging stations and electric vehicles use power line carrier (PLC) technology as the communication method for information exchange between the charging station and the vehicle. In practice, messages received from the other party are processed directly and not displayed externally. Some systems can display their received and sent messages in their logs. However, when a dispute arises on the PLC communication line, for example, when one party sends data and the other party reports that it has not received it, a third-party device is required to monitor and display the data on the PLC communication line to identify the interaction problem.

[0003] However, the PLC communication between charging piles and electric vehicles is data encapsulated and packaged using European and American standards such as ISO15118 or DIN70121. Existing data analysis tools (such as oscilloscopes) can only parse the PLC physical layer data, but they cannot intuitively represent the actual meaning of this data in European and American charging systems. Users need to parse the raw PLC byte messages one by one and then manually convert them into charging pile or electric vehicle messages according to European and American charging standard protocols, making the process complex and tedious. Summary of the Invention

[0004] In view of the deficiencies in the prior art, the present invention discloses a method, system and device for intelligent grabbing and storing in a crane yard.

[0005] A PLC message parsing system between European and American standard charging piles and electric vehicles, including:

[0006] Memory, central processing unit, host computer, human-computer interaction screen, the memory is connected to the central processing unit, and the central processing unit is connected to the host computer and the human-computer interaction screen respectively;

[0007] The central processing unit includes a PLC data monitoring unit, a PWM signal sampling unit and a CP voltage sampling unit. The PLC data monitoring unit, the PWM signal sampling unit and the CP voltage sampling unit are interconnected and respectively connected to the communication links between the European and American standard charging piles and the European and American standard electric vehicles.

[0008] Optionally, the communication link between the European and American standard charging pile and the European and American standard electric vehicle includes two communication lines, CP and PE.

[0009] Optionally, the PLC data monitoring unit acquires, parses and sends PLC messages through a PLC data transceiver, and converts the message data into an SPI or RGMII interface to communicate with the MCU. The PLC data transceiver includes Qualcomm QCA7000 and Unicore MSE1021.

[0010] Optionally, the central processing unit is connected to the human-computer interaction screen via a serial port or LVDS line, and the central processing unit is connected to the host computer via a USB to serial port or a network, and the user views the parsed PLC message data through the human-computer interaction screen or the host computer.

[0011] A method for parsing PLC messages between a European and American standard charging pile and an electric vehicle includes the following steps:

[0012] Obtain and save PLC messages between European and American standard charging piles and European and American standard electric vehicles;

[0013] Performing a first message parsing on the PLC message according to different protocol versions in a predetermined scenario to obtain a first parsed message;

[0014] The first parsed message is parsed for the second time using a third-party message parsing library to obtain a second parsed message;

[0015] The second parsed message is filled in according to the preset format and uploaded and stored.

[0016] As an implementable embodiment, the PLC message includes: PLC communication data, PWM data and CP voltage data.

[0017] As an implementable method, performing a first message parsing on the PLC message according to different protocol versions in a predetermined scenario to obtain a first parsed message includes two cases:

[0018] If the PLC message parsing system is connected to the CP or PE communication lines after the charging system has started charging, it obtains the default protocol version and uses the default protocol version to parse the message;

[0019] If the PLC message parsing system is connected to the CP or PE communication lines before the charging system starts charging, it obtains the vehicle-pile negotiation protocol and uses the vehicle-pile negotiation protocol to parse the message.

[0020] As an implementable embodiment, the third-party message parsing tool includes OpenV2G.

[0021] As an implementable embodiment, the preset format includes: sequence number, time, message type, source address, destination address, original data and parsed content of the original data.

[0022] As an implementable method, the CP voltage data collection step includes:

[0023] S1, analog-to-digital conversion sampling collects the voltage values ​​of the two communication lines CP or PE in real time;

[0024] S2. If the voltage value is a valid voltage greater than 0, clear the timer and save the CP voltage as the current sampling voltage;

[0025] S3. If the voltage value is an invalid voltage equal to 0, determine whether the timer has timed out: if the timer has timed out, it is determined that CP = 0; if the timer has not timed out, after the timer T is incremented by 1, the CP voltage remains at the last analog-to-digital conversion sampling value.

[0026] S4, save the CP voltage data;

[0027] S5. Execute steps S1 to S4 in a loop and continuously collect CP voltage data.

[0028] The present invention has significant technical effects due to the adoption of the above technical solutions:

[0029] The system and method for parsing between European and American standard charging piles and electric vehicles described in this patent successfully implement PLC message parsing, which is used to monitor and store European and American standard PLC messages and status in real time, and parse them into observable parameters and status according to the protocol, which is convenient for users to view and greatly improves the efficiency of problem solving. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The following drawings are examples of specific implementation methods of this application:

[0031] Figure 1 This is a schematic diagram of the structure of the parsing system between the European and American standard charging pile and the electric vehicle according to the present invention;

[0032] Figure 2 It is a flow chart of the analysis method between European and American standard charging piles and electric vehicles described in the present invention. DETAILED DESCRIPTION

[0033] The present invention will be further described below with reference to the accompanying drawings and embodiments. The following embodiments are intended to explain the present invention but the present invention is not limited to the following embodiments.

[0034] Example 1: A PLC message parsing system between European and American standard charging piles and electric vehicles

[0035] A PLC message parsing system between European and American standard charging piles and electric vehicles, such as Figure 1 As shown, including:

[0036] The CPU 100, memory 200, host computer 400, and human-computer interaction screen 300 are connected to the CPU 100. The CPU 100 is connected to the host computer 400 and the human-computer interaction screen 300. The CPU 100 and memory 200 are responsible for data collection and processing, with the memory 200 responsible for protecting user-related configurations and the CPU 100's process data.

[0037] The central processing unit 100 includes a PLC data monitoring unit 101, a PWM signal sampling unit 102, and a CP voltage sampling unit 103. The PLC data monitoring unit 101, the PWM signal sampling unit 102, and the CP voltage sampling unit 103 are interconnected and respectively connected to the communication link between the European and American standard charging pile 500 and the European and American standard electric vehicle 600. The PLC data monitoring unit 101 is responsible for sampling and processing PLC communication data, the PWM signal sampling unit 102 is responsible for sampling and processing PWM signals, and the CP voltage sampling unit 103 is responsible for sampling and processing CP voltage.

[0038] The communication link between the European and American standard charging pile 500 and the European and American standard electric vehicle 600 includes two communication lines, CP and PE.

[0039] The PLC data monitoring unit 101 acquires, parses and sends PLC messages through a PLC data transceiver, and converts the message data into an SPI or RGMII interface to communicate with the MCU. The PLC data transceiver includes Qualcomm QCA7000 and Unicore MSE1021.

[0040] The PWM signal sampling unit 102 connects the signals of the two communication lines CP and PE to the PWM Cap pin of the CPU 100 after passing through an optocoupler circuit.

[0041] The CP voltage sampling unit 103 converts the signals of the two communication lines CP and PE into a sampling voltage adapted to the central processing unit 100 through a voltage divider circuit and then connects the voltage to the analog-to-digital conversion sampling pin of the central processing unit 100 .

[0042] The central processor 100 is connected to the human-computer interaction screen 300 via a serial port or LVDS line, and the central processor 100 is connected to the host computer 400 via a USB to serial port or a network, and the user views data through the human-computer interaction screen 300 or the host computer 400.

[0043] Example 2: A PLC message parsing method between a European and American standard charging pile and an electric vehicle

[0044] A method for parsing PLC messages between European and American standard charging piles and electric vehicles, such as Figure 2 As shown, the following steps are included:

[0045] S100, obtaining and saving PLC messages between European and American standard charging piles and European and American standard electric vehicles;

[0046] S200, performing a first message parsing on the PLC message according to different protocol versions in a predetermined scenario to obtain a first parsed message;

[0047] S300, performing a second parsing on the first parsed message using a third-party message parsing library to obtain a second parsed message;

[0048] S400: Fill the second parsed message according to the preset format and upload and store it.

[0049] Following the IEC61851 process, after plugging in, the control and guidance circuits of the charger and the electric vehicle pull the voltage of the CP or PE communication lines to 9V. The charger then superimposes a 5% PWM signal on these lines to initiate high-speed PLC communication. In this charging system, PLC messages are transmitted along the CP or PE lines, including PLC communication data, PWM data, and CP voltage data. These three types of information are essential for the charging process. The electric vehicle and charging station exchange data over these lines. The central processing unit collects and parses the PLC messages, reporting them to the HMI screen and host computer. The host computer then stores the data and displays it to the user.

[0050] In this embodiment, step S100 obtains and saves the PLC message between the European and American standard charging pile and the European and American standard electric vehicle, and the PLC message includes PLC communication data, PWM data and CP voltage data.

[0051] The PLC communication data is obtained through the PLC data transmitter and receiver of the PLC data monitoring unit; the PWM data is obtained through the PWM signal sampling unit 102, which connects the CP and PE communication line signals to the PWMCap pin of the central processing unit 100 after passing through the optocoupler circuit; the CP voltage data is obtained through the CP voltage sampling unit 103, which converts the CP and PE communication line signals into a sampling voltage suitable for the central processing unit 100 through a voltage divider circuit and then connects to the analog-to-digital conversion sampling pin of the central processing unit 100.

[0052] In this embodiment, step S200 performs a first message parsing on the PLC message according to different protocol versions in a predetermined scenario to obtain a first parsed message, specifically including the following two situations:

[0053] If the PLC message parsing system is connected to the CP or PE communication lines after the charging system has started charging, or the protocol negotiation phase in the message interaction has passed when collecting data, the initial version of the user-set protocol is obtained as the default protocol version, and the default protocol version is used to parse the PLC message.

[0054] If the PLC message parsing system is connected to the CP or PE communication lines before the charging system starts charging, it obtains the vehicle-pile negotiation protocol and uses the vehicle-pile negotiation protocol to parse the message.

[0055] In this embodiment, step S300 performs a second message parsing on the first parsed message using a third-party message parsing library to obtain a second parsed message, wherein the third-party message parsing tool includes OpenV2G.

[0056] European standard PLC communication has different protocol versions, each with its own parsing rules and data range. In practical applications, third-party message parsing tools are often used in conjunction with the corresponding parsing library protocol version to parse and interpret PLC messages. Therefore, this invention integrates a third-party V2G parsing tool to parse PLC data based on the third-party message parsing library version.

[0057] In this embodiment, step S400 fills the second parsed message according to a preset format and then uploads and stores it.

[0058] In this embodiment, the preset format of the report is:

[0059]

[0060] Because PWM information is coupled between the CP and PE communication lines, analog-to-digital conversion (ADC) sampling yields high and low voltages at a constant duty cycle of 1kHz. For engineering applications, this article requires the voltage value when the PWM signal is at a high level. Given the characteristics of the PWM waveform, the ADC sampling voltage can sample the CP voltage signal when the PWM signal is at a high level, while the AD sampling value is 0 when the PWM signal is at a low level. Therefore, the CP sampling task focuses on filtering out the high-level PWM voltage from all AD sampling values. Furthermore, the sampling algorithm must account for the PWM duty cycle of 0, which is also the case when the CP-PE voltage is 0.

[0061] The CP voltage data collection step includes:

[0062] S1, analog-to-digital conversion sampling collects the voltage values ​​of the two communication lines CP or PE in real time;

[0063] S2. If the voltage value is a valid voltage greater than 0, clear the timer and save the CP voltage as the current sampling voltage;

[0064] S3. If the voltage value is an invalid voltage equal to 0, determine whether the timer has timed out: if the timer has timed out, it is determined that CP = 0; if the timer has not timed out, after the timer T is incremented by 1, the CP voltage remains at the last analog-to-digital conversion sampling value.

[0065] S4, save the CP voltage data;

[0066] S5. Execute steps S1 to S4 in a loop and continuously collect CP voltage data.

[0067] The PLC message parsing system between European and American standard charging piles and electric vehicles can be used for data analysis during the development and commissioning of European standard charging systems or vehicles, as well as for locating vehicle-pile interaction issues on-site by charging station and electric vehicle operators. When an electric vehicle and charger experience interaction issues such as startup failure or abnormal termination, the device monitors and displays the messages during the vehicle-pile interaction process to pinpoint the issue.

[0068] PLC data: Users can obtain PLC communication data to identify the following issues and scenarios:

[0069] During the vehicle-pile interaction, if for some reason either the electric vehicle or the charger stops sending messages, causing the message interaction timeout, the device of the present invention can be used to locate the party with the problem by obtaining the message.

[0070] During vehicle-pile interaction, if startup failure or charging termination is caused by incorrect message filling, the parsing message provided by this device can be used to troubleshoot the abnormality of message filling.

[0071] PWM data: European and American charging standards require that during charging, when high-speed communication is required, the charging pile side needs to send a PWM wave with a 5% duty cycle and a frequency of 1kHz. Users can determine whether the PWM sent by the charging pile is compliant based on the duty cycle and frequency collected in real time by this device.

[0072] CP voltage data: The CP voltage specified by European and American standards will present different CP voltage ranges during the plug insertion and charging process based on the operating logic of the control guidance circuit. The user can determine whether the CP voltage is compliant during the interaction between the charging system and the electric vehicle based on the real-time monitoring of the CP voltage by this device.

[0073] In summary, the parsing system and method between European and American standard charging piles and electric vehicles described in this patent successfully realizes PLC message parsing, which is used to monitor and store European and American standard PLC messages and status in real time, and parse them into observable parameters and status according to the protocol, which is convenient for users to view and greatly improves the efficiency of problem solving.

[0074] Various changes and modifications can be made without departing from the spirit and scope of the present invention, and all equivalent technical solutions also fall within the scope of the present invention.

[0075] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referenced to each other.

[0076] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, apparatus, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0077] The present invention is described with reference to the flowcharts and / or block diagrams of the method, terminal device (system), and computer program product according to the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. 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 produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the process in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0078] 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, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0079] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0080] It should be noted that:

[0081] References in this specification to "one embodiment" or "an embodiment" mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Therefore, appearances of the phrases "one embodiment" or "an embodiment" in various places throughout this specification do not necessarily refer to the same embodiment.

[0082] In addition, it should be noted that the shapes and names of the components of the specific embodiments described in this specification may vary. Any equivalent or simple variation based on the structure, features, and principles described in the patent concept of the present invention is included within the scope of protection of the patent. Those skilled in the art of the present invention may make various modifications, additions, or substitutions to the described specific embodiments, and these modifications, as long as they do not deviate from the structure of the present invention or exceed the scope defined by the claims, shall fall within the scope of protection of the present invention.

Claims

1. A PLC message parsing system between European and American standard charging piles and electric vehicles, characterized by: include: Memory, central processing unit, host computer, human-computer interaction screen, the memory is connected to the central processing unit, and the central processing unit is connected to the host computer and the human-computer interaction screen respectively; The central processing unit includes a PLC data monitoring unit, a PWM signal sampling unit and a CP voltage sampling unit. The PLC data monitoring unit, the PWM signal sampling unit and the CP voltage sampling unit are interconnected and respectively connected to the communication links between the European and American standard charging piles and the European and American standard electric vehicles.

2. The PLC communication data analysis system between European and American standard charging piles and electric vehicles according to claim 1 is characterized in that: The communication link between the European and American standard charging pile and the European and American standard electric vehicle includes two communication lines, CP and PE.

3. The PLC communication data analysis system between European and American standard charging piles and electric vehicles according to claim 1 is characterized in that: The PLC data monitoring unit acquires, parses and sends PLC messages through a PLC data transceiver, and converts the message data into an SPI or RGMII interface to communicate with the MCU. The PLC data transceiver includes Qualcomm QCA7000 and Unicore MSE1021.

4. The PLC communication data analysis system between European and American standard charging piles and electric vehicles according to claim 1 is characterized in that: The central processing unit is connected to the human-computer interaction screen via a serial port or LVDS line, and the central processing unit is connected to the host computer via a USB to serial port or a network. The user views the parsed PLC message data through the human-computer interaction screen or the host computer.

5. A method for parsing PLC messages between European and American standard charging piles and electric vehicles, characterized in that: The following steps are involved: Obtain and save PLC messages between European and American standard charging piles and European and American standard electric vehicles; Performing a first message parsing on the PLC message according to different protocol versions in a predetermined scenario to obtain a first parsed message; The first parsed message is parsed for the second time using a third-party message parsing library to obtain a second parsed message; The second parsed message is filled in according to the preset format and uploaded and stored.

6. The method for parsing PLC messages between European and American standard charging piles and electric vehicles according to claim 5, characterized in that: The PLC message includes: PLC communication data, PWM data and CP voltage data.

7. The method for parsing PLC messages between a European and American standard charging pile and an electric vehicle according to claim 2 or 5, characterized in that: The first message parsing of the PLC message according to different protocol versions in a predetermined scenario to obtain a first parsed message includes two cases: If the PLC message parsing system is connected to the CP or PE communication lines after the charging system has started charging, it obtains the default protocol version and uses the default protocol version to parse the message; If the PLC message parsing system is connected to the CP or PE communication lines before the charging system starts charging, it obtains the vehicle-pile negotiation protocol and uses the vehicle-pile negotiation protocol to parse the message.

8. The method for parsing PLC messages between European and American standard charging piles and electric vehicles according to claim 4, characterized in that: The third-party message parsing tool includes OpenV2G.

9. The method for parsing PLC messages between a European and American standard charging pile and an electric vehicle according to claim 4, characterized in that: The preset format includes: sequence number, time, message type, source address, destination address, original data and parsed content of the original data.

10. The method for parsing PLC messages between a European and American standard charging pile and an electric vehicle according to claim 2 or 6, characterized in that: The CP voltage data collection steps include: S1, analog-to-digital conversion sampling collects the voltage values ​​of the two communication lines CP or PE in real time; S2. If the voltage value is a valid voltage greater than 0, clear the timer and save the CP voltage as the current sampling voltage; S3. If the voltage value is an invalid voltage equal to 0, determine whether the timer has timed out: if the timer has timed out, it is determined that CP = 0; if the timer has not timed out, after the timer T is increased by 1, the CP voltage remains at the last analog-to-digital conversion sampling value. S4, save the CP voltage data; S5. Execute steps S1 to S4 in a loop and continuously collect CP voltage data.