Charging pile debugging detection system and debugging detection method based on TCP communication protocol
The remote debugging and testing system for charging piles based on the TCP communication protocol solves the problems of low efficiency and high cost of traditional methods, realizes efficient and convenient debugging and testing of charging piles, and improves the operating efficiency and safety of charging piles.
Patent Information
- Application Number
- CN202511779763.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-28
- Publication Date
- 2026-02-27
AI Technical Summary
Traditional charging pile commissioning and testing methods are inefficient and costly, and cannot meet the commissioning and maintenance needs of large-scale charging pile networks.
A remote debugging and testing system for charging piles based on the TCP communication protocol is adopted. A TCP connection is established between the local control terminal module and the data debugging and testing module to remotely acquire charging pile information data, monitor performance parameters, and diagnose faults.
It improves the efficiency and reliability of charging pile commissioning and testing, reduces manpower and time costs, enables comprehensive monitoring and evaluation of charging piles, improves operation and maintenance response speed and quality, and enhances the safety and adaptability of charging piles.
Smart Images

Figure CN121578010A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of charging pile debugging and detection, and particularly relates to a charging pile debugging and detection system and method based on a TCP communication protocol. BACKGROUND
[0002] As the main infrastructure construction of new energy vehicles, charging piles aim to provide safe and efficient charging services for users, and charging pile debugging and detection is a key link to ensure the safe and reliable operation of charging piles. However, the traditional on-site debugging and detection method has the problems of low efficiency, high cost and low coverage, and cannot meet the debugging and operation and maintenance requirements of large-scale charging pile networks. In order to meet the comprehensive and systematic testing and verification requirements of technical personnel, improve the efficiency of laboratory testing and on-site operation and maintenance, and effectively detect various performance indicators of charging piles, a convenient and stable remote debugging scheme for charging piles is urgently needed.
[0003] Based on the above analysis, a charging pile remote debugging and detection system based on a TCP / IP communication mode is designed. SUMMARY
[0004] The application provides a charging pile debugging and detection system and method based on a TCP communication protocol to solve the above application problems. The system is composed of a local control terminal module, a data debugging and detection module and a charging pile, which ensures effective and comprehensive acquisition of various information data of the charging pile and ensures the safe and stable operation of the charging pile.
[0005] In order to achieve the above purpose, the application adopts the following technical scheme: In a first aspect, the application provides a charging pile debugging and detection method based on a TCP communication protocol, comprising the following steps: Step 1, the local control terminal module establishes a TCP connection with the data debugging and detection unit arranged on the charging pile side through the IP address and port number of the charging pile; the data debugging and detection module monitors the IP address and port number, and feeds back a connection success signal to the local control terminal after successful connection; Step 2, the local control terminal module waits for the connection result, if successful, enters the data interaction stage with the data debugging and detection module, if the connection fails, waits for a set time and reconnects until the connection is successful; Step 3, the local control terminal module issues a preset instruction to the data debugging and detection module; wherein, the preset instruction includes a debugging instruction and a detection instruction, the debugging instruction means to verify the basic function of the charging pile to ensure that it can be accurately implemented, and the detection instruction means to obtain the performance parameters of the charging pile in the running process; the performance parameters include the real-time working state of the charging pile, the connection state of the charging gun, the required voltage value, the output voltage value, the required current value, the output current value and the charging capacity of the charging pile, and the internal temperature of the charging pile; Step 4, the data debugging detection module receives and processes the preset instruction, and sends the collected performance parameters of the charging pile in the running process and the feedback results of the debugging to the local control terminal module.
[0006] Further, in step 2, the set time is 20s.
[0007] Further, the local control terminal module further comprises analyzing and processing the performance parameters and environmental information of the charging pile, and evaluating the working performance of the charging pile. Further, the local control terminal module analyzes and processes the performance parameters and environmental information of the charging pile, and evaluates the working performance of the charging pile, comprising: Monitoring and recording the time point of the working state conversion of the charging pile, analyzing the start and stop response data of the charging pile based on the time point of the working state conversion of the charging pile, and counting the duration of the fault state; Based on the environmental temperature and humidity, it is judged whether there is a fault risk caused by abnormal temperature and humidity; the demand voltage value, output voltage value, demand current value and output current value in the charging process are collected, the output voltage stability of the charging pile is evaluated based on the output voltage value; the matching condition of the demand current value and the output current value is compared, and the timeliness and accuracy of the output current response to the demand current are judged.
[0008] Further, monitoring and recording the time point of the working state conversion of the charging pile comprises: recording the time point of converting from the idle state to the charging state, converting from the charging state to the fault state, and converting from the charging state to the idle state.
[0009] Further, based on the output voltage, the output voltage stability of the charging pile is evaluated, comprising: calculating the fluctuation range of the output voltage, comparing the fluctuation range with the preset fluctuation threshold, if the fluctuation range does not exceed the fluctuation threshold, it is judged that the output voltage is stable; otherwise, it is judged that the output voltage is unstable.
[0010] Further, it also includes: obtaining the set power value and the actual adjusted power value of the charging pile, and calculating the difference value; if the difference value exceeds the preset error threshold, a calibration instruction or prompt information for optimizing the power distribution of the charging pile is generated.
[0011] In a second aspect, the present application provides a charging pile debugging detection system based on TCP communication protocol, comprising: The local control terminal module communicates with the data debugging detection module through TCP protocol; it is used to issue preset instructions to the data debugging detection module, and the preset instructions include debugging instructions and detection instructions; The data debugging detection module is used to receive and analyze the preset instructions to debug and detect the charging pile, and feed back the debugging and detection results to the local control terminal module; The alternating current charging pile is internally provided with a data debugging and detecting module.
[0012] Further, the local control terminal module is also used for analyzing the debugging and detecting results.
[0013] Further, the preset instruction is extensible.
[0014] Compared with the prior art, the present application has at least the following beneficial technical effects: The charging pile debugging and detecting method based on the TCP communication protocol realizes efficient and convenient debugging and detecting of the charging pile through remote connection and data interaction. Specifically, first, by using the TCP / IP communication mode, the local control terminal module directly connects the data debugging and detecting module through the IP address and port number of the charging pile, establishes a stable and reliable communication link, avoids frequent on-site operation of technicians, significantly improves the debugging efficiency, reduces the labor cost and time cost, and is particularly suitable for widely distributed charging pile networks. Second, the method adopts an automatic reconnection mechanism, which automatically reconnects after waiting for a set time when the connection fails until the connection is successful, effectively deals with network fluctuations or temporary faults, ensures the continuity and stability of the debugging process, and reduces the debugging failure caused by connection interruption. Third, by issuing preset instructions, including debugging instructions and detecting instructions, the basic functions (such as starting, stopping, fault handling) and performance parameters of the charging pile are comprehensively verified, and the running state of the charging pile is comprehensively monitored and evaluated. In addition, the data debugging and detecting module processes instructions in real time and feeds back performance parameters and debugging results, so that technicians can remotely obtain detailed data, perform real-time analysis and decision-making, identify potential problems in a timely manner, and improve the operation response speed and quality. The present application meets the debugging and operation needs of large-scale charging pile networks, improves the reliability and safety of charging pile services, and provides technical support for the popularization of new energy vehicles and intelligent management of infrastructure.
[0015] Further, the reconnection time is set to 20 seconds, which has the beneficial effect that by fixing the reconnection time interval, network congestion and system resource waste caused by frequent reconnection are avoided, while ensuring that communication can be restored in a timely manner after connection failure, optimizing connection efficiency, improving system stability and reliability, and reducing the risk of debugging interruption.
[0016] Further, by comprehensively analyzing and evaluating the performance parameters and environmental information of the charging pile, the working state and potential problems of the charging pile can be more comprehensively identified, the accuracy and depth of debugging and detecting are improved, data support is provided for preventive maintenance and performance optimization, and the service life of the charging pile is prolonged.
[0017] Further, by monitoring the state transition time point, analyzing the abnormal risk of temperature and humidity, evaluating the voltage stability and current response timeliness, the performance defects of the charging pile can be accurately diagnosed, thereby realizing targeted maintenance and improving the operation efficiency and safety of the charging pile.
[0018] Further, through power difference comparison and error threshold judgment, the power output of the charging pile can be dynamically adjusted, the efficiency of the power distribution strategy can be improved, energy waste can be reduced, charging performance can be optimized, and the adaptability and economy of the charging pile can be enhanced.
[0019] By implementing the charging pile remote debugging detection system of the present application, the system can real-time collect charging pile working parameters through deploying multi-dimensional sensors, thereby accurately evaluating the stability of the charging pile in actual use process, converting the traditional on-site operation debugging process into visual remote operation, significantly improving the debugging efficiency of technical personnel, timely detecting charging pile abnormal phenomenon occurrence and guaranteeing the use safety of the charging pile.
[0020] Further, when the local control terminal module receives an abnormal signal, it automatically triggers an alarm to remind the operation and maintenance personnel to handle the fault in time. BRIEF DESCRIPTION OF DRAWINGS
[0021] Figure 1 The debugging detection system module schematic diagram provided by the present application is shown in the figure. Figure 2 The debugging detection method flow chart provided by the present application is shown in the figure. DETAILED DESCRIPTION
[0022] The present application will be described in detail below in combination with the drawings and specific embodiments.
[0023] In order for those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below in combination with the drawings of the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor should belong to the scope of protection of the present application.
[0024] It should be noted that when an element is referred to as being "set on" another element, it can be directly on the other element or may be interposed with another element. When an element is considered to be "connected" to another element, it can be directly connected to the other element or may be interposed with another element. The terms "upper," "lower," "front," "rear," "left," "right," "top," "bottom," "inner," and "outer," etc., used herein to indicate orientation or positional relationships are based on the orientation or positional relationships shown in the accompanying drawings and are only for the convenience of describing the invention and simplifying the description, and are not intended to indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention.
[0025] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used herein in the specification of this invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0026] Example 1 Reference Figure 1 A charging pile debugging and testing system based on the TCP communication protocol is proposed. The system consists of a local control terminal module, a data debugging and testing module, and a charging pile. The data debugging and testing module is installed in the charging pile to ensure effective and comprehensive acquisition of various information data of the charging pile and to ensure the safe and stable operation of the charging pile.
[0027] The data debugging and testing module features network communication, command parsing, debugging command execution, and test parameter acquisition capabilities. As a TCP server, it establishes a stable and reliable TCP connection with the local control terminal module, ensuring data transmission is loss-free and error-free. It also performs detailed parsing of received commands from the local control terminal module, identifying the specific operational requirements corresponding to different commands. Furthermore, based on the parsed commands, it precisely controls the charging pile to perform corresponding debugging tasks and acquires various key parameters during charging pile operation, primarily including operating status parameters, charging performance parameters, environmental parameters, and fault diagnosis parameters.
[0028] Specifically, this system includes the following functions: 1. Remote communication charging pile: The communication between the local control terminal module and the data debugging and testing module adopts the reliable transmission protocol TCP of the network transmission layer. The local control terminal module is the TCP client and the data debugging and testing module is the TCP server. The connection failure has a reconnection mechanism.
[0029] 2. Supports multi-parameter detection: The local control terminal module detects the performance parameters of the charging pile in real time by issuing preset commands, so as to analyze the operating status of the charging pile and discover potential problems. The preset commands are expandable. The preset commands include debugging commands and detection commands. The debugging commands are used to verify the basic functions of the charging pile to ensure that they can be implemented accurately, and the detection commands are used to obtain various performance parameters of the charging pile during operation. The detection parameters mainly include the following: the real-time working status of the charging pile, clarifying its idle, charging, or faulty state; the connection status of the charging gun, determining whether the charging gun is correctly inserted; the charging pile's required voltage, output voltage, required current, output current, and charging capacity, to detect the stability of power transmission during charging, while also acquiring the charging output power value, analyzing the dynamic response characteristics of the charging power, and evaluating the power distribution status of the charging pile; and collecting information on the internal temperature of the charging pile and the temperature and humidity of its surrounding environment to understand the potential impact of environmental factors on the operation of the charging pile, which helps to determine its stability and reliability under different environmental conditions.
[0030] 3. Basic Function Debugging: The data debugging and testing module parses preset commands to debug the charging pile and feeds the debugging results back to the local control terminal module for technicians to view. Debugging commands include time synchronization, starting charging, stopping charging, and setting power. The time synchronization command not only ensures that all relevant equipment and systems maintain consistent time but also meets debugging requirements under different test conditions.
[0031] 4. Fault diagnosis: Periodically monitor and diagnose faults, and handle charging pile faults and problems in a timely and accurate manner.
[0032] When the charging pile is in a faulty operating state, the data debugging and detection module is used to obtain detailed information such as the fault code, the time of the fault, and the changes in key parameters before and after the fault, so as to provide detailed basis for quickly locating the cause of the fault and carrying out maintenance.
[0033] Example 2 Reference Figure 2 This embodiment provides a charging pile debugging and testing method based on the TCP communication protocol. The charging pile debugging and testing method based on the TCP communication protocol in Embodiment 1 includes the following steps: Step 1: After the charging pile debugging and testing system based on the TCP communication protocol is started, the local control terminal module first connects to the data debugging and testing module through the IP address and port number, where the IP address and port number are consistent with the IP address and port number of the network to which the charging pile is connected; then the data debugging and testing module listens to the IP address and port number set by the local control terminal module and sends a connection success signal back to the local control terminal module. Step 2: The local control terminal module waits for the connection result. If successful, it enters the data interaction stage with the data debugging and detection module. If the connection fails, it will reconnect after 20 seconds until the connection is successful.
[0034] Step 3: The local control terminal module sends preset instructions to the data debugging and testing module; the preset instructions include debugging instructions and testing instructions. The debugging instructions are used to verify the basic functions of the charging pile to ensure that they can be accurately implemented, and the testing instructions are used to obtain various performance parameters of the charging pile during operation. Step 4: The data debugging and detection module receives and processes preset instructions, sends the queried charging pile operation data and debugging feedback results to the local control terminal module, and periodically reports the detailed fault information of the charging pile to the local control terminal module. Step 5: The local control terminal module analyzes and processes the acquired information data, specifically including: Monitoring the real-time operating status of charging piles can record the specific time it takes for a charging pile to transition from one state to another, such as the time it takes to enter charging mode from idle mode, or the time it takes to transition from charging mode to fault mode. By analyzing the transition time between idle and charging modes, it can be determined whether the charging pile's start-up and stop response data are normal. Simultaneously, the duration of the charging pile in a fault state can be statistically analyzed. For example, if the duration of a charging pile in a fault state is too long, it indicates that the fault handling mechanism is not efficient enough.
[0035] Analysis of the internal temperature and humidity of the charging pile: During the charging process, the internal temperature of the charging pile may be too high due to overload of the power module and low efficiency of the cooling fan, which may cause module failure and affect charging. Excessive humidity may cause electrical components to become damp and short-circuit.
[0036] Plot the curves of demand voltage, output voltage, demand current, and output current over time. Calculate the fluctuation range of the output voltage and evaluate the stability of the charging pile's output voltage. Compare the fluctuation range with a preset fluctuation threshold. If the fluctuation range exceeds the threshold, the output voltage is considered unstable. During charging, the output voltage fluctuation range should be within a certain allowable range to avoid overcharging or charging interruption due to voltage instability. If the output voltage is too high, it indicates input instability or an overvoltage fault. If the output voltage is too low, it indicates insufficient supply leading to low charging efficiency. Output voltage fluctuation. It is usually defined as the difference between the maximum and minimum values of the output voltage within a specific time period, and the calculation method is as follows:
[0037] Wherein, U1 is the output voltage value at the first sampling time, U2 is the output voltage value at the second sampling time, and U3 is the output voltage value at the third sampling time. This is the output voltage value at the nth sampling time.
[0038] By comparing the matching condition of the demand current and the output current, it can be determined whether the output current can respond to the demand current in a timely and accurate manner: If the output current consistently or frequently exceeds the required current, the analysis indicates that the required current fluctuates frequently, resulting in errors in data acquisition. Under normal circumstances, an overcurrent event will immediately stop charging to prevent battery damage. It is extremely rare for the overcurrent protection mechanism of the charging station to malfunction, causing the output current to be uncontrollable.
[0039] When the output power of a charging pile is changed by issuing a power adjustment command, the response time of the charging pile and the output power value after setting the output power are analyzed to evaluate the dynamic response characteristics of the charging pile's charging power. This ensures that the charging pile can adjust the power in a timely and accurate manner according to the demand. If the error between the set power value and the adjusted power value is large, the efficiency of the charging pile's power allocation strategy will be further improved.
[0040] The term "constituting of" in describing a combination should include the identified elements, components, parts, or steps, as well as other elements, components, parts, or steps that do not substantially affect the essential novel features of the combination. The use of the terms "comprising" or "including" to describe combinations of elements, components, parts, or steps herein also contemplates embodiments that are essentially composed of such elements, components, parts, or steps. The use of the term "may" herein is intended to indicate that any described attribute included by "may" is optional.
[0041] Multiple elements, components, parts, or steps can be provided by a single integrated element, component, part, or step. Alternatively, a single integrated element, component, part, or step can be divided into multiple separate elements, components, parts, or steps. The use of "a" or "an" to describe an element, component, part, or step does not imply the exclusion of other elements, components, parts, or steps.
[0042] It should be understood that the above description is for illustrative purposes and not for limitation. Many embodiments and applications beyond the provided examples will be apparent to those skilled in the art upon reading the above description. Therefore, the scope of this teaching should not be determined by reference to the above description, but rather by reference to the foregoing claims and the full scope of their equivalents. For purposes of completeness, all articles and references, including patent applications and publications, are incorporated herein by reference. The omission of any aspect of the subject matter disclosed herein in the foregoing claims is not intended as a waiver of that subject matter, nor should it be construed as an indication that the applicant has not considered that subject matter as part of the disclosed inventive subject matter.
Claims
1. A charging pile debugging and testing method based on TCP communication protocol, characterized in that, Includes the following steps: Step 1: The local control terminal module establishes a TCP connection with the data debugging and detection unit set on the side of the charging pile through the IP address and port number of the charging pile; the data debugging and detection module monitors the IP address and port number, and sends a connection success signal back to the local control terminal after the connection is successful. Step 2: The local control terminal module waits for the connection result. If successful, it enters the data interaction stage with the data debugging and testing module. If the connection fails, it waits for a set time and then reconnects until the connection is successful. Step 3: The local control terminal module sends preset instructions to the data debugging and testing module. The preset instructions include debugging instructions and testing instructions. The debugging instructions are used to verify the basic functions of the charging pile to ensure that they can be accurately implemented. The testing instructions are used to obtain the performance parameters of the charging pile during operation. The performance parameters include the real-time working status of the charging pile, the connection status of the charging gun, the required voltage value, output voltage value, required current value, output current value and charging capacity of the charging pile, and the internal temperature of the charging pile. Step 4: The data debugging and testing module receives and processes preset instructions, and sends the collected performance parameters of the charging pile during operation and the debugging feedback results to the local control terminal module.
2. The charging pile debugging and testing method based on TCP communication protocol according to claim 1, characterized in that, In step 2, the set time is 20 seconds.
3. The charging pile debugging and testing method based on TCP communication protocol according to claim 1, characterized in that, It also includes a local control terminal module that analyzes and processes the performance parameters and environmental information of the charging pile to evaluate its working performance.
4. The charging pile debugging and testing method based on TCP communication protocol according to claim 3, characterized in that, The local control terminal module analyzes and processes the performance parameters and environmental information of the charging pile to evaluate its working performance, including: Monitor and record the time points when the charging pile's working state transitions, analyze the charging pile's start-up and stop response data based on the charging pile's working state transition time points, and calculate the duration of the fault state. The system assesses whether there is a risk of failure due to abnormal temperature and humidity based on ambient temperature and humidity; it collects the required voltage, output voltage, required current, and output current values during the charging process, and evaluates the output voltage stability of the charging pile based on the output voltage value; it compares the matching status of the required current value and the output current value to determine the timeliness and accuracy of the output current response to the required current.
5. The charging pile debugging and testing method based on TCP communication protocol according to claim 3, characterized in that, The time points for monitoring and recording the transition of the charging pile's working state include: recording the time points when it transitions from idle state to charging state, from charging state to fault state, and from charging state to idle state.
6. The charging pile debugging and testing method based on TCP communication protocol according to claim 3, characterized in that, The evaluation of the output voltage stability of the charging pile based on the output voltage includes: calculating the fluctuation range of the output voltage, comparing the fluctuation range with a preset fluctuation threshold, and if the fluctuation range does not exceed the fluctuation threshold, then the output voltage is determined to be stable; otherwise, the output voltage is determined to be unstable.
7. The charging pile debugging and testing method based on TCP communication protocol according to claim 3, characterized in that, Also includes: Obtain the set power value and the actual adjusted power value of the charging pile, and calculate the difference between the two; If the difference exceeds a preset error threshold, a calibration instruction or prompt message is generated to optimize the power distribution of the charging pile.
8. A charging pile debugging and testing system based on the TCP communication protocol, characterized in that, include: The local control terminal module communicates with the data debugging and testing module via the TCP protocol. This is used to issue preset instructions to the data debugging and detection module, the preset instructions including debugging instructions and detection instructions; The data debugging and testing module is used to receive and parse preset instructions to debug and test the charging pile, and to feed back the debugging and testing results to the local control terminal module. An AC charging station, wherein the AC charging station has a built-in data debugging and testing module.
9. A charging pile debugging and testing system based on TCP communication protocol according to claim 8, characterized in that, The local control terminal module is also used to analyze the debugging and testing results.
10. A charging pile debugging and testing system based on TCP communication protocol according to claim 8, characterized in that, The preset instructions are extensible.