A charging pile test simulation system

CN121880212BActive Publication Date: 2026-06-23SHAANXI GREEN ENERGY ELECTRONIC TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHAANXI GREEN ENERGY ELECTRONIC TECH CO LTD
Filing Date
2026-03-17
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

Existing charging pile testing tools have limited functionality, making it difficult to construct a complete charging simulation process and failing to meet the needs for efficient, comprehensive, and safe testing.

Method used

Design a charging pile test simulation system, including a model unit, a control unit, and an interaction unit. Through a logic processing module, a TCP communication module, and a BMS data generation module, it realizes closed-loop simulation interaction, supports fault injection and recovery operations, and dynamically generates BMS requirement data.

Benefits of technology

It enables comprehensive simulation and interaction of the charging process, enhances test depth and anomaly coverage, supports multi-gun concurrent simulation, improves test simulation capabilities and ease of operation, and meets the needs of efficient, comprehensive and safe testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121880212B_ABST
    Figure CN121880212B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of intelligent charging and discloses a charging pile test simulation system, which can input real-time test operation contents or / and test data contents, such as fault injection operations or / and fault recovery operations and real-time charging contents concerned by users, based on an interactive unit, so that the test depth and abnormal coverage capability are enhanced; a BMS data generation and sending module constructed based on a model unit can dynamically generate BMS demand data according to a pre-constructed virtual battery model in combination with a charging request instruction, so that not only is a closed-loop simulation interaction of the whole charging process realized, but also the dynamic characteristics of a charging battery can be maintained in the charging simulation process, the charging pile test provides strong tool support, and the simulation capability is weak, the function is single, and the operation is complex.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent charging technology, and in particular to a charging pile testing simulation system. Background Technology

[0002] With the rapid development of the new energy vehicle industry, the market demand for charging piles, as an important infrastructure, has surged. The reliability, security, and functional integrity of communication between charging piles, especially high-power DC charging piles, and the battery management system (BMS) of electric vehicles are crucial. Therefore, comprehensive and rigorous testing is required during the research, development, testing, and operation and maintenance phases of charging piles.

[0003] Currently, the communication protocol and functional logic testing of charging piles is mainly carried out using real vehicle testing, simple protocol testing tools, or some simulation equipment. Although this reduces the dependence on real vehicles to some extent, its testing functions are relatively simple and cannot comprehensively build a complete charging simulation process, making it difficult to meet the current urgent testing needs of the industry. Summary of the Invention

[0004] This invention aims to at least partially address one of the technical problems in related technologies. To this end, this invention proposes a charging pile testing simulation system capable of achieving closed-loop simulation interaction and constructing a complete charging simulation process.

[0005] This invention provides a charging pile testing simulation system, comprising:

[0006] The model unit is used to implement the data management and business logic processing of the charging pile. The model unit includes a logic processing module for performing business logic judgment, instruction reply, and fault response.

[0007] The control unit includes a TCP communication module for uploading a charging request instruction corresponding to the charging pile to the logic processing module, the TCP communication module being connected to the logic processing module;

[0008] An interaction unit, connected to the control unit, is used to input custom test operation content and / or test data content to the control unit. The test operation content includes fault injection operation and / or fault recovery operation, and the test data content includes charging configuration instructions, which are associated with the charging request instructions.

[0009] The logic processing module includes a BMS data generation and transmission module, which is used to dynamically generate BMS demand data based on a pre-built virtual battery model and the charging request instruction.

[0010] Optionally, in one embodiment of the present invention, the BMS data generation and sending module is specifically used for:

[0011] The initial battery parameters of the rechargeable battery are loaded based on the pre-built virtual battery model;

[0012] Based on the initial battery parameters and the obtained current battery voltage and current SOC of the rechargeable battery, the required BMS current and BMS voltage to be reported are dynamically calculated.

[0013] Based on the BMS required current, the BMS required voltage, and the charging request command, adjust the charging parameters corresponding to the rechargeable battery.

[0014] The current battery voltage and the current SOC are updated based on the charging parameters corresponding to the rechargeable battery and the initial battery parameters to estimate the remaining charging time of the rechargeable battery.

[0015] Optionally, in one embodiment of the present invention, the initial battery parameters include constant current charging current, constant voltage charging voltage, polarization internal resistance, and polarization voltage; when the BMS data generation and transmission module dynamically calculates the required reporting current and voltage based on the initial battery parameters and the obtained current battery voltage and current SOC of the charging battery, the BMS data generation and transmission module is specifically used for:

[0016] In constant current charging mode, the constant current charging current is used as the required current of the BMS, and the required voltage of the BMS is calculated using a voltage requirement estimation formula, wherein the voltage requirement estimation formula is:

[0017] ;

[0018] The required voltage for the BMS. The open-circuit voltage corresponding to the current SOC. The current charging current of the rechargeable battery. The polarization internal resistance is... The polarization voltage; and,

[0019] In constant voltage charging mode, the constant voltage charging voltage is used as the required voltage of the BMS, and the required current of the BMS is calculated using a current requirement estimation formula, wherein the current requirement estimation formula is:

[0020] ;

[0021] The required current for the BMS is... The constant voltage charging voltage is... The current battery voltage.

[0022] Optionally, in one embodiment of the present invention, the charging parameters corresponding to the rechargeable battery include the output current of the charging pile and the time interval between two adjacent samplings of the state data of the rechargeable battery; the initial battery parameters include the battery rated capacity, initial SOC, polarization resistance, and polarization capacitance; when the BMS data generation and transmission module updates the current battery voltage and the current SOC according to the charging parameters corresponding to the rechargeable battery and the initial battery parameters, the BMS data generation and transmission module is specifically used for:

[0023] The updated current SOC is calculated using the SOC update formula, wherein the SOC update formula is:

[0024] ;

[0025] For the updated current SOC, For the initial SOC, The output current of the charging pile is... The time interval between two consecutive samplings of the state data of the rechargeable battery. The rated capacity of the battery; and,

[0026] The updated polarization voltage is calculated using the polarization voltage estimation formula, and the updated current battery voltage is calculated based on the updated polarization voltage combined with the voltage demand estimation formula. The polarization voltage estimation formula is as follows:

[0027] ;

[0028] The polarization voltage at the current sampling time. The polarization voltage at the previous sampling time. The polarization resistor, This refers to the polarization capacitor.

[0029] Optionally, in one embodiment of the present invention, the BMS data generation and transmission module specifically estimates the remaining charging time of the rechargeable battery in the following manner:

[0030] In constant current charging mode, the remaining charging time of the rechargeable battery is calculated using a first charging time estimation formula, wherein the first charging time estimation formula is:

[0031] ;

[0032] The remaining charging time of the rechargeable battery in constant current charging mode;

[0033] In constant voltage charging mode, the remaining charging time of the rechargeable battery is calculated using a second charging time estimation formula, wherein the second charging time estimation formula is:

[0034] ;

[0035] The remaining charging time for the rechargeable battery in constant voltage charging mode. for The corresponding active power value.

[0036] Optionally, in one embodiment of the present invention, a main control system for overall control is further included, the main control system being connected to the BMS data generation and transmission module, the control unit, the interaction unit, and the charging pile respectively; the BMS data generation and transmission module is further used for:

[0037] When the updated current SOC is detected to reach 100%, a charging completion message is sent to the main control system, so that the main control system controls the charging pile to stop charging the battery according to the charging completion message, and the main control system records the corresponding charging stop status according to the charging completion message.

[0038] Optionally, in one embodiment of the present invention, the control unit further includes a multi-gun status management module for independently controlling each charging gun of the charging pile. The multi-gun status management module is connected to the logic processing module and the interaction unit respectively. The multi-gun status management module is also used to receive feedback data frames sent by the logic processing module that are associated with business logic judgment, instruction reply or fault response.

[0039] Optionally, in one embodiment of the present invention, the logic processing module further includes a parameter configuration module for configuring the initial charging parameters of the charging pile, and a data caching module for recording and caching relevant process data involved in the parameter configuration module and the BMS data generation and transmission module, wherein the data caching module is connected to the parameter configuration module and the BMS data generation and transmission module respectively.

[0040] Optionally, in one embodiment of the present invention, the model unit further includes a variable definition module and a log recording module. The variable definition module is used to define the initial charging parameters of the charging pile, and the log recording module is used to record the real-time charging log of the charging pile. Both the variable definition module and the log recording module are connected to the logic processing module.

[0041] This invention proposes a charging pile testing simulation system. Users can input customized test operations and / or test data in real time via an interactive unit, such as fault injection and / or fault recovery operations, as well as real-time charging content of interest to the user, enhancing testing depth and anomaly coverage. This real-time charging content can be uploaded to the control unit based on charging configuration commands, and then converted into charging request commands corresponding to the charging pile. Using a flexible communication mechanism with a TCP client, the charging request commands can be uploaded to the model unit. Based on the BMS data generation and sending module constructed by the model unit, BMS requirement data can be dynamically generated according to a pre-built virtual battery model combined with the charging request commands. This achieves closed-loop simulation interaction of the entire charging process, ensures the charging battery maintains dynamic characteristics during the charging simulation, and possesses excellent fault injection and recovery capabilities. It effectively solves the technical problems of weak simulation capabilities, limited functionality, and complex operation in current charging pile testing, providing powerful tool support for charging pile testing and meeting the urgent need for efficient, comprehensive, and safe testing of charging pile equipment. Attached Figure Description

[0042] Figure 1 This is a schematic diagram of the structure of a charging pile testing simulation system provided in an embodiment of the present invention;

[0043] Figure 2 This is a schematic diagram of the workflow of a BMS data generation and sending module provided in an embodiment of the present invention;

[0044] Figure 3 This is a flowchart of the fault injection and recovery management of the charging pile test simulation system provided in an embodiment of the present invention;

[0045] Figure 4 This is a schematic diagram of the functional area of ​​an interactive unit provided in an embodiment of the present invention. Detailed Implementation

[0046] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0047] Figure 1 This is a schematic diagram of the structure of a charging pile testing simulation system provided in an embodiment of the present invention, as shown below. Figure 1 As shown, the charging pile test simulation system may include, but is not limited to:

[0048] The model unit is used to implement data management and business logic processing of charging piles. The model unit includes a logic processing module for business logic judgment, instruction reply, and fault response.

[0049] The control unit includes a TCP communication module for uploading charging request instructions corresponding to the charging pile to the logic processing module. The TCP communication module is connected to the logic processing module. The TCP communication module is built based on the flexible communication mechanism of TCP client, supports user-defined server IP address and port number, can realize connection with the centralized controller of the charging pile, meet the testing needs of different network environments, and can also add message sending and anomaly identification processing of received data, thereby ensuring accurate transmission of uplink and downlink data.

[0050] The interaction unit, connected to the control unit, is used to input customized test operation content and / or test data content into the control unit. Test operation content includes fault injection operations and / or fault recovery operations, and test data content includes charging configuration instructions, which are associated with charging request instructions. Both the test operation content and test data content can be customized by the user without limitation. For example, the interaction unit can be integrated into a graphical user interface, allowing users to perform tests such as modifying the server IP address, port number, number of charging guns, setting charging gun status, simulating charging methods, fault injection, selecting abort reasons, modifying BMS data, and sending custom frames, thereby improving testing flexibility and human-computer interaction experience. Fault injection operations and fault recovery operations refer to:

[0051] It can simulate various standard faults during operation, issue faults multiple times, and support "restore current fault" and "restore all faults" operations. Specifically, it adds fault response processing. For example, if a fault is triggered and affects the normal charging of the charging pile, in addition to reporting a fault message after the fault is triggered, if charging is in progress, it should also stop charging immediately to simulate real fault scenarios and verify the fault tolerance mechanism and fault handling capability of the charging pile.

[0052] As can be seen from the above implementation method, when the interaction unit sends the charging configuration instruction corresponding to the required test data to the TCP communication module, the control unit can convert the received charging configuration instruction into the corresponding charging request instruction, and then report the charging request instruction to the logic processing module so that the logic processing module can perform business logic judgment, instruction reply or fault response based on the charging request instruction.

[0053] The logic processing module includes a BMS data generation and transmission module, which is used to dynamically generate BMS demand data based on a pre-built virtual battery model and charging request instructions.

[0054] As can be seen, users can input custom test operation content and / or test data content in real time based on the interactive unit, such as fault injection operations and / or fault recovery operations, as well as real-time charging content that the user is interested in, enhancing the test depth and anomaly coverage capability. This real-time charging content can be uploaded to the control unit based on the charging configuration command, and then converted into a charging request command corresponding to the charging pile. Under the condition of adopting a flexible communication mechanism of TCP client, the charging request command can be uploaded to the model unit. Based on the BMS data generation and sending module constructed by the model unit, the BMS demand data can be dynamically generated according to the pre-built virtual battery model combined with the charging request command. This not only realizes the closed-loop simulation interaction of the entire charging process, but also ensures that the charging battery maintains dynamic characteristics during the charging simulation process, while having good fault injection and recovery capabilities. It effectively solves the technical problems of weak simulation capability, single function and complex operation in the current charging pile testing, providing powerful tool support for charging pile testing and meeting the urgent needs of efficient, comprehensive and safe testing of charging pile equipment.

[0055] In one embodiment, such as Figure 1 As shown, the control unit may also include, but is not limited to:

[0056] A multi-gun status management module is used to independently control each charging gun of a charging pile. The multi-gun status management module is connected to the logic processing module and the interaction unit. The multi-gun status management module is also used to receive feedback data frames sent by the logic processing module that are related to business logic judgment, instruction reply or fault response.

[0057] It can be seen that the multi-gun state management module can realize multi-gun concurrent simulation and independent state management. That is, each charging gun has a corresponding complete state machine (such as idle, plugged in, charging or charging completed, etc.), supports independent operation of each charging gun and differentiated parameter settings, and can be used to test the system scheduling and resource management capabilities in multi-terminal development scenarios.

[0058] In one embodiment, such as Figure 1 As shown, the logic processing module may also include, but is not limited to:

[0059] The system includes a parameter configuration module for configuring initial charging parameters for charging piles, and a data caching module for recording and caching relevant process data involved in the parameter configuration module and the BMS data generation and transmission module. The data caching module is connected to both the parameter configuration module and the BMS data generation and transmission module. It can be seen that the parameter configuration module can effectively confirm the initial charging scenario of the charging pile, thereby assisting the BMS data generation and transmission module in generating and updating BMS data during the charging simulation process. At the same time, the data caching module caches all relevant process data involved in the parameter configuration module and the BMS data generation and transmission module for future query and retrieval. This gives the logic processing module complete flexibility and stability, which can meet the application requirements of the model unit.

[0060] In one embodiment, such as Figure 1 As shown, the model unit may also include, but is not limited to:

[0061] The system consists of a variable definition module and a log recording module. The variable definition module defines the initial charging parameters of the charging pile, while the log recording module records the real-time charging logs of the charging pile. Both modules are connected to the logic processing module. In other words, the initial test scenario of the charging pile can be effectively defined through these modules, such as which real-time parameters of the charging pile need to be detected under this test scenario, and the real-time charging status of the charging pile can be effectively recorded for subsequent statistical queries, thereby enabling a more comprehensive understanding of the charging pile's charging test status.

[0062] In one embodiment, such as Figure 2 As shown, this BMS data generation and sending module can be used, but is not limited to, for:

[0063] The initial battery parameters of the rechargeable battery are loaded based on the pre-built virtual battery model;

[0064] The virtual battery model can be selected according to different scenarios. For example, it can be configured with a similar or nearly identical virtual battery model based on the actual situation of the charging batteries of mainstream vehicles in the local area. There are no restrictions here. The initial charging stage is set to constant current charging mode, and the initial battery parameters can be various, including but not limited to constant voltage charging. Constant current charging current Battery rated capacity (C), initial SOC ( ), open circuit voltage ( ), polarization resistance ( ), polarization resistor ( ), polarization voltage ( The mapping relationship between open-circuit voltage and SOC is used to construct the voltage characteristic curve of the rechargeable battery. Polarization internal resistance and polarization resistance are used to simulate the voltage drop and dynamic response characteristics of the rechargeable battery during charging and discharging. Polarization voltage is used to improve the simulation accuracy of the constant current / constant voltage switching process. The initial SOC can be set to any reasonable value (such as 20% to 90%) through the BMS data modification interface according to the test requirements to simulate the charging process under different initial charge conditions. This initialization process provides the basis for the dynamic generation of subsequent BMS data.

[0065] Based on the initialized battery parameters and the obtained current battery voltage and current SOC of the charging battery, the required BMS current and BMS voltage are dynamically calculated to simulate the response behavior of the charging battery of a real vehicle during the charging process.

[0066] It should be noted that when the current battery voltage of the charging battery approaches or reaches the set constant voltage charging voltage, the charging station can automatically switch to constant voltage charging mode.

[0067] Based on the BMS demand current and BMS demand voltage combined with the charging request command, the charging parameters corresponding to the charging battery are adjusted. In other words, after the BMS demand current and BMS demand voltage are determined, the output current and output voltage of the charging pile can be dynamically adjusted around the changing BMS demand current and BMS demand voltage. Thus, by combining the real-time output current and real-time output voltage of the charging pile, their product can be calculated to obtain the active power value corresponding to the current SOC condition. This value can be used for real-time reporting of charging data and subsequent estimation of remaining charging time.

[0068] The current battery voltage and current SOC are updated based on the charging parameters and initialization parameters of the rechargeable battery to estimate the remaining charging time of the rechargeable battery.

[0069] As can be seen, the BMS data generation and transmission module can dynamically and in real time feed back the BMS required current and voltage based on the charging request command combined with parameters such as the initial battery parameters, the current battery voltage, and the current SOC. This enables a complete closed-loop interaction, allowing the construction of a complete charging process and maintaining the dynamic characteristics of the charging battery during the charging process. It can meet the testing requirements of high coverage and high flexibility.

[0070] In one embodiment, when the BMS data generation and transmission module dynamically calculates the required current and voltage to be reported based on the initialized battery parameters and the obtained current battery voltage and current SOC of the charging battery, the BMS data generation and transmission module is specifically used for:

[0071] In constant current charging mode, the constant current charging current is used as the BMS demand current. That is, the BMS demand current during the constant current stage is consistent with the preset constant current charging current. The BMS demand voltage is calculated using a voltage demand estimation formula, where the voltage demand estimation formula is:

[0072] ;

[0073] The required voltage for BMS This is the open-circuit voltage corresponding to the current SOC. This represents the current charging current of the rechargeable battery. For polarization internal resistance, For polarization voltage; and,

[0074] In constant voltage charging mode, the constant voltage charging voltage is used as the BMS demand voltage. That is, the BMS demand voltage in the constant voltage stage is consistent with the preset constant current charging voltage. The BMS demand current is calculated using the current demand estimation formula, which is:

[0075] ;

[0076] For the current required by the BMS, The constant voltage charging voltage is used. This is the current battery voltage.

[0077] In one embodiment, the charging parameters corresponding to the rechargeable battery may include, but are not limited to, the output current of the charging pile and the time interval between two adjacent samplings of the rechargeable battery's state data; when the BMS data generation and transmission module updates the current battery voltage and current SOC based on the charging parameters corresponding to the rechargeable battery and the initialized battery parameters, the BMS data generation and transmission module may be specifically used for, but is not limited to:

[0078] The updated SOC is calculated using the SOC update formula, where the SOC update formula is:

[0079] ;

[0080] For the updated current SOC, For the initial SOC, This refers to the output current of the charging pile. The time interval between two consecutive samples of the state data of the charging battery. The rated capacity of the battery; and,

[0081] The updated polarization voltage is calculated using the polarization voltage estimation formula. The updated current battery voltage is then calculated based on this updated polarization voltage combined with the voltage demand estimation formula. Specifically, the polarization voltage estimation formula describes the voltage response of the RC circuit under constant current excitation.

[0082] ;

[0083] The polarization voltage at the current sampling moment. This represents the polarization voltage at the previous sampling time. Polarization resistor, It is a polarizing capacitor.

[0084] In other words, when the updated polarization voltage is calculated... Then, the updated polarization voltage is applied. Substituting these values ​​into the voltage demand estimation formula yields the updated current battery voltage. In actual simulations, random Gaussian noise with a mean of 0 and a standard deviation of 0.05 can be added to simulate real-world conditions. The updated current SOC and current battery voltage can then be used as initial conditions for the calculation of the next time step, and so on.

[0085] In one embodiment, the BMS data generation and transmission module may, but is not limited to, estimate the remaining charging time of the rechargeable battery using the following method:

[0086] In constant current charging mode, the remaining charging time of the rechargeable battery is calculated using a first charging time estimation formula, which is:

[0087] ;

[0088] The remaining charging time for the rechargeable battery in constant current charging mode;

[0089] In constant voltage charging mode, the remaining charging time of the rechargeable battery is calculated using a second charging time estimation formula, which is as follows:

[0090] ;

[0091] This represents the remaining charging time of the rechargeable battery in constant voltage charging mode. for The corresponding active power value.

[0092] In one embodiment, such as Figure 1As shown, the charging pile test simulation system may also include, but is not limited to, a main control system for overall control. The main control system is connected to the BMS data generation and transmission module, the control unit, the interaction unit, and the charging pile. It can be seen that the main control system initializes and coordinates the control of each unit, and the data binding mechanism enables real-time synchronization between the units, ensuring consistency of status and timeliness of operation feedback. This architecture achieves functional decoupling, modular design, and good scalability, which not only significantly improves the simulation realism and test coverage, but also supports closed-loop control and abnormal working condition simulation, effectively solving the problems of low simulation degree, single scenario, and complex operation of traditional test tools.

[0093] In one embodiment, such as Figure 2 As shown, the BMS data generation and sending module can also be used, but is not limited to:

[0094] Upon detecting that the updated SOC has reached 100%, a charging completion message is sent to the main control system. This allows the main control system to control the charging pile to stop charging the battery based on the charging completion message. Furthermore, the main control system records the corresponding charging interruption status based on the charging completion message, such as the reason for the charging interruption or the charging interruption point. It can be seen that when the SOC reaches the stop threshold, the charging interruption process is automatically triggered. In addition, the charging process allows for flexible selection of the interruption reason to stop charging, and allows users to dynamically modify key parameters in relevant BMS messages (such as initial state of charge, maximum allowable voltage, and battery temperature) to improve the realism and completeness of the test.

[0095] To better illustrate the basic principles of the above embodiments, the following is combined with... Figure 3 and Figure 4 The detailed performance of the charging pile test simulation system is described, including: Figure 3 A flowchart for fault injection and recovery management in a charging pile testing simulation system. Figure 4 This is a schematic diagram of the functional areas of the interactive unit.

[0096] like Figure 3As shown, since the charging pile test simulation system supports the operation logic of actively injecting various typical faults such as insulation faults, overvoltage, overcurrent, and communication anomalies, users can select the fault type and send it immediately through the graphical interface of the interactive unit. After receiving the fault alarm message, the charging pile test simulation system determines whether the fault affects the charging process according to preset rules: if it does, it automatically triggers charging stop, reports the corresponding stop reason, and updates the charging gun status; if it does not affect the process, it continues charging and only reports the fault alarm message. The charging pile test simulation system supports the concurrent injection of multiple faults on the same charging gun and provides recovery mechanisms for "deleting the current fault" and "deleting all faults". In addition, all historical faults that have not been cleared are persistently stored in the local configuration file and retain their state after the program exits; these unresolved faults are automatically loaded at the next startup to maintain the continuity of the fault lifecycle, thereby realistically simulating the storage and clearing behavior of fault codes in the actual vehicle BMS. It can be seen that this process fully demonstrates the significant advantages of this embodiment in terms of abnormal working condition simulation capability, test realism, and system robustness.

[0097] The interactive unit's interface can receive user commands and also display related data such as charging data, fault information, and communication status. For example... Figure 4 As shown, the interactive unit's functional interface includes two independent operation modules: a card-swiping charging module and a VIN charging module. In the card-swiping charging module, users can select the card type and set the charging card number and physical card number through input boxes. Default card numbers or custom inputs are supported. Clicking the "Start Card-Swiping Charging" button simulates real card-swiping behavior and initiates the charging process. In the VIN charging module, users can enter the vehicle identification number (VIN code), and can clear the input or load the default VIN code. Clicking the "Start VIN Charging" button triggers the VIN charging logic. Simultaneously, the charging gun number and its current status (e.g., idle, charging, offline) are displayed in real-time at the top of the interface, facilitating user selection of the target charging gun and monitoring of the operation results. It can be seen that this design achieves high-fidelity simulation of multiple charging start-up methods, improving test coverage and human-computer interaction convenience.

[0098] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. A charging pile testing simulation system, characterized in that, include: The model unit is used to implement the data management and business logic processing of the charging pile. The model unit includes a logic processing module for performing business logic judgment, instruction reply, and fault response. The control unit includes a TCP communication module for uploading a charging request instruction corresponding to the charging pile to the logic processing module, the TCP communication module being connected to the logic processing module; An interaction unit, connected to the control unit, is used to input custom test operation content and / or test data content to the control unit. The test operation content includes fault injection operation and / or fault recovery operation, and the test data content includes charging configuration instructions, which are associated with the charging request instructions. The logic processing module includes a BMS data generation and transmission module, which is used to dynamically generate BMS demand data based on a pre-built virtual battery model and the charging request instruction. The BMS data generation and transmission module is specifically used for: The initial battery parameters of the rechargeable battery are loaded based on the pre-built virtual battery model; Based on the initial battery parameters and the obtained current battery voltage and current SOC of the rechargeable battery, the required BMS current and BMS voltage to be reported are dynamically calculated. Based on the BMS required current, the BMS required voltage, and the charging request command, adjust the charging parameters corresponding to the rechargeable battery. The current battery voltage and the current SOC are updated based on the charging parameters corresponding to the rechargeable battery and the initial battery parameters to estimate the remaining charging time of the rechargeable battery; It also includes a main control system for overall control, which is connected to the BMS data generation and transmission module, the control unit, the interaction unit and the charging pile respectively; The BMS data generation and sending module is also used for: When the updated current SOC is detected to reach 100%, a charging completion message is sent to the main control system, so that the main control system controls the charging pile to stop charging the battery according to the charging completion message, and the main control system records the corresponding charging stop status according to the charging completion message.

2. The charging pile testing simulation system according to claim 1, characterized in that, The initialized battery parameters include constant current charging current, constant voltage charging voltage, polarization internal resistance, and polarization voltage. When the BMS data generation and transmission module dynamically calculates the required current and voltage based on the initialized battery parameters and the obtained current battery voltage and current SOC of the charging battery, the BMS data generation and transmission module is specifically used for: In constant current charging mode, the constant current charging current is used as the required current of the BMS, and the required voltage of the BMS is calculated using a voltage requirement estimation formula, wherein the voltage requirement estimation formula is: ; The required voltage for the BMS. The open-circuit voltage corresponding to the current SOC. The current charging current of the rechargeable battery. The polarization internal resistance is... The polarization voltage; and, In constant voltage charging mode, the constant voltage charging voltage is used as the required voltage of the BMS, and the required current of the BMS is calculated using a current requirement estimation formula, wherein the current requirement estimation formula is: ; The required current for the BMS is... The constant voltage charging voltage is... The current battery voltage.

3. The charging pile testing simulation system according to claim 2, characterized in that, The charging parameters corresponding to the rechargeable battery include the output current of the charging pile and the time interval between two consecutive samplings of the rechargeable battery's state data. The initialization battery parameters include the battery's rated capacity, initial SOC, polarization resistance, and polarization capacitance. When the BMS data generation and transmission module updates the current battery voltage and current SOC based on the charging parameters corresponding to the rechargeable battery and the initialization battery parameters, the BMS data generation and transmission module is specifically used for: The updated current SOC is calculated using the SOC update formula, wherein the SOC update formula is: ; For the updated current SOC, For the initial SOC, The output current of the charging pile is... The time interval between two consecutive samplings of the state data of the rechargeable battery. The rated capacity of the battery; and, The updated polarization voltage is calculated using the polarization voltage estimation formula, and the updated current battery voltage is calculated based on the updated polarization voltage combined with the voltage demand estimation formula. The polarization voltage estimation formula is as follows: ; The polarization voltage at the current sampling time. The polarization voltage at the previous sampling time. The polarization resistor, This refers to the polarization capacitor.

4. The charging pile testing simulation system according to claim 3, characterized in that, The BMS data generation and transmission module estimates the remaining charging time of the rechargeable battery using the following method: In constant current charging mode, the remaining charging time of the rechargeable battery is calculated using a first charging time estimation formula, wherein the first charging time estimation formula is: ; The remaining charging time of the rechargeable battery in constant current charging mode; In constant voltage charging mode, the remaining charging time of the rechargeable battery is calculated using a second charging time estimation formula, wherein the second charging time estimation formula is: ; The remaining charging time for the rechargeable battery in constant voltage charging mode. for The corresponding active power value.

5. The charging pile testing simulation system according to claim 1, characterized in that, The control unit further includes a multi-gun status management module for independently controlling each charging gun of the charging pile. The multi-gun status management module is connected to the logic processing module and the interaction unit respectively. The multi-gun status management module is also used to receive feedback data frames sent by the logic processing module that are related to business logic judgment, instruction reply or fault response.

6. The charging pile testing simulation system according to claim 1, characterized in that, The logic processing module further includes a parameter configuration module for configuring the initial charging parameters of the charging pile, and a data caching module for recording and caching relevant process data involved in the parameter configuration module and the BMS data generation and transmission module. The data caching module is connected to the parameter configuration module and the BMS data generation and transmission module, respectively.

7. The charging pile testing simulation system according to claim 1 or 6, characterized in that, The model unit further includes a variable definition module and a log recording module. The variable definition module is used to define the initial charging parameters of the charging pile, and the log recording module is used to record the real-time charging log of the charging pile. Both the variable definition module and the log recording module are connected to the logic processing module.

Citation Information

Patent Citations

  • BMS program test system

    CN108021499A

  • System and method for automated verification of battery management system

    US20260023903A1