CN-121979167-A - European standard electric automobile pile end charging communication controller test system and method
Abstract
The invention relates to a European standard electric automobile pile end charging communication controller test system and a European standard electric automobile pile end charging communication controller test method, which build a hardware framework for SECC test, can simulate a real charging scene and provide a hardware foundation for research and development and test of charging equipment; the invention is equipped with the EVCC simulation board and the EVCC network adaptation board, can simulate and process the hardware signals of the EVCC, can forward the vehicle-pile interaction network communication between the SECC and the EVCC to the computer through the EVCC network adaptation board, simulate various EVCC network interaction messages according to test cases through measurement and control software in the computer, take the form of automatically executing the test cases, support various charging communication protocols, omit the manual switching of configuration test conditions, can automatically complete charging, automatically carry out test expected result judgment, can improve test efficiency, repeatedly execute the test cases and conveniently complete regression test.
Inventors
- LV HAIBO
- WANG WENXIANG
- GAO MENGZHEN
- GU YONGBIN
Assignees
- 凯迈(洛阳)测控有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251215
Claims (10)
- 1. The test system is characterized by mainly comprising an EVCC simulation board, an EVCC network adapting board, a computer, a USB-RS232, a USB-CAN and a SECC, wherein the EVCC simulation board is connected with the EVCC network adapting board through a CAN interface and used for simulating the hard wire signal change action of an EVCC at a vehicle end in the charging interaction process, the EVCC network adapting board provides an Ethernet adapting function for the EVCC simulation board and is connected with the computer through an Ethernet interface, the USB-RS232 and the USB-CAN are connected with the computer through an Ethernet interface, the SECC is used as a core tested unit and is connected with the computer communication interface through the RS232 or the CAN interface and is used for establishing PLC communication with the EVCC simulation board through a CP interface, and the computer is used for running software and simulating EVCC application layer logic and charging pile running logic in the charging interaction process.
- 2. The test system of the European standard electric vehicle pile end charging communication controller according to claim 1, wherein the EVCC analog board is required to complete CP PWM signal measurement and S2 switch control, the CP state change and the S2 switch control are completed through UDP protocol in the whole test process, the PLC digital communication signal is coupled to a CP line through a parallel injection circuit, the PLC carrier signal and the PWM signal are transmitted on the CP line at the same time, and the two signals are not interfered with each other through frequency division multiplexing.
- 3. The European standard electric automobile pile end charging communication controller test system according to claim 2, wherein the EVCC simulation board adopts a damping resistor R Damp and an inductor L to form a low-pass filter in the circuit design, the interference of high-frequency PLC signals to a PWM measuring circuit is blocked, the normal operation of the CP DUTY measuring circuit is ensured, and a filter network is arranged in the PLC communication circuit, so that noise in a non-target frequency band can be filtered.
- 4. The European standard electric vehicle pile end charging communication controller test system according to claim 1, wherein the EVCC network adapter board plays a gateway role, the SECC and the EVCC establish a PLC communication network, the EVCC simulation board forwards network data packets to the EVCC network adapter board through a CAN port, the EVCC network adapter board forwards the network data packets received by the CAN port to an Ethernet port, and the computer is connected with the Ethernet port of the EVCC network adapter board through a network cable and then transmits the network data packets back to the measurement and control software, so that the SECC and the measurement and control software establish network communication.
- 5. The testing method for the European standard electric vehicle pile end charging communication controller is characterized in that the testing method is completed by computer measurement and control software according to the testing system of any one of claims 1-4, the testing adopts a mode of testing cases, each charging process is designed into a single charging interaction, a testing case list is configured in the measurement and control software according to testing requirements, and the testing steps are as follows: step a), starting the test, and selecting a configuration test case list by a tester and executing the test; step b) when the test case exists, the measurement and control software loads the test case, and when the test case does not exist, the step h) is skipped; step c), the measurement and control software executes initialization operation, a simulated charging pile is created according to the test conditions in the test case, a charging starting instruction is issued through a pile end communication protocol, and communication is established with the EVCC simulation board; Step d) ready judgment, judging whether to establish PLC communication according to EVCC simulation board feedback, if so, entering a charging step, if not, continuing waiting, and if not, ending the test case test; In the step e) of charging, the measurement and control software simulates EVCC application layer protocol interaction, and network data packet forwarding is completed through an EVCC network adapter board, so that each interaction stage in the vehicle-pile charging protocol selected in the test case is completed; step f) in the appointed stage of the test case, completing the expected judgment, simulating the EVCC by the measurement and control software, comparing the network message with the expected result, and passing the test when the network message is consistent with the expected result, otherwise, failing the test; After the test of step g) is finished, recording the test result of the test case; And h) sequentially executing each test case, finally summarizing the test result, and ending the test.
- 6. The method according to claim 5, wherein the test case includes test information, test conditions, a car-pile charging protocol, and a test expected result, wherein the test information includes a test case number, a name, and a test case description, the test conditions include a type of the charging pile terminal protocol, and a communication mode, the car-pile charging protocol includes current mainstream car-pile communication protocols DIN 70121, ISO15118-2, and ISO15118-20, the test expected result defines "connection status judgment" and "SECC network message judgment logic of charging interaction stage , and the method can complete regression testing by re-executing the test case.
- 7. The method for testing the pile end charging communication controller of the European standard electric automobile according to claim 5, wherein when the SECC and the EVCC simulation board are in communication, the measurement and control software simulates the charging pile master controller, a charging start instruction is issued to the SECC when a charging test starts, the SECC provides a CP Duty signal with a Duty ratio of 5%, the EVCC simulation board completes hardware actions of the EVCC of the automobile, and a PLC communication network is established with the SECC after the SECC detects the CP Duty signal with the Duty ratio of 5%.
- 8. The method for testing the European standard electric vehicle pile end charging communication controller according to claim 7, wherein after the SECC and the EVCC simulation board are physically connected, the SECC and the EVCC simulation board are initially in different AVLNs, the vehicle pile pairing process is completed through SLAC-based MME management command communication, after the AVLN is formed, the EVCC simulation board completes data transparent forwarding through an EVCC network adaptation board, TCP/TLS and UDP which are created by interaction between the SECC and the EVCC in the charging interaction process are directly transmitted to a computer, and the purpose of direct communication between the SECC and computer measurement and control software is achieved in a network layer.
- 9. The European standard electric vehicle pile end charging communication controller testing method according to claim 5 is characterized in that the charging testing flow comprises three stages, wherein the first stage establishes physical connection and network pairing, message interaction is completed between a SECC and an EVCC analog board, the second stage carries out network data interaction and MAC address conversion, network communication messages of the SECC and the EVCC analog board are forwarded through the EVCC network adapter board to realize direct data interaction between the SECC and computer measurement and control software, the third stage disconnects an AVLN network and the physical layer, the EVCC analog board monitors CP state change in real time, the EVCC network adapter board is notified through a CAN bus, and the network communication messages are reported to the computer measurement and control software through a UDP protocol.
- 10. The testing method of the European standard electric vehicle pile end charging communication controller according to claim 9 is characterized in that in the second stage of data interaction, two times of MAC address conversion are carried out, one is carried out by the EVCC network adapter board, and the other is carried out by the EVCC simulation board.
Description
European standard electric automobile pile end charging communication controller test system and method Technical Field The invention relates to the technical field of charging and discharging of new energy electric vehicles, in particular to a European standard electric vehicle pile end charging communication controller test system and method. Background The pile end charging communication controller (Supply Equipment Communication Controller, SECC) is installed in the charging pile, is a core component of a new energy electric vehicle charging network, and is used as a core communication component between the charging pile and a vehicle, and the charging efficiency and the safety are directly affected. The SECC is communicated with the charging pile master controller on one hand, processes a charging instruction issued by the pile end, is communicated with the electric automobile end charging communication controller (ELECTRIC VEHICLE Communication Controller, EVCC) on the other hand, forwards charging data of the automobile end, and completes automobile-pile interaction. When the SECC is communicated with the charging pile master controller, two communication modes based on a control local area network bus (Controller Area Network, CAN) and RS232 exist. Because of the different manufacturers of the charging pile master controller, various communication protocols exist. When the SECC and the EVCC are communicated, the EVCC and the SECC generally adopt PLC (Power Line Communication) communication modes. The vehicle-to-pile communication protocol adopts various European standard charging protocols, such as DIN 70121, ISO 15118-2 and ISO 15118-20. The SECC should be capable of supporting multiple communication modes with the stake master controller, multiple communication protocols, and multiple vehicle-stake charging protocols. Therefore, when the SECC is tested, the necessary communication mode, communication protocol and car-pile charging protocol need to be simulated to verify the support of the SECC on the communication mode and the consistency of the communication protocol and the car-pile charging protocol. At present, a SECC simulation test environment is generally built by adopting a charging pile main control board real object and an EVCC real object product. However, the method has certain limitations that when different pile end communication modes, different pile end communication protocols and different car-pile charging protocols are required to be tested, the test conditions can be achieved only by frequently changing and burning the pile main control board and the EVCC program, the test environment can not be built and completed by a method convenient to configure, the burning is modified and the test is carried out once, the test efficiency is low, and the test environment is also required to be reconfigured and modified when the regression test is carried out in the face of problems. Disclosure of Invention Aiming at the defects of the prior art, the invention provides a European standard electric vehicle pile end charging communication controller test system and a European standard electric vehicle pile end charging communication controller test method, wherein the test system is provided with an EVCC simulation board and an EVCC network adaptation board, and through measurement and control software in a computer, the automatic test method based on the test case supports various pile end communication modes, various pile end communication protocols and vehicle-pile charging protocols, can adapt to various test condition requirements, avoids manual switching of configuration test conditions, improves test efficiency, and facilitates regression test. In order to achieve the aim, the technical scheme is that the European standard electric vehicle pile end charging communication controller testing system mainly comprises an EVCC simulation board, an EVCC network adapting board, a computer, a USB-RS232, a USB-CAN and a SECC, wherein the EVCC simulation board is connected with the EVCC network adapting board through a CAN interface and is used for simulating the hard wire signal change action of a vehicle end EVCC in a charging interaction process, the EVCC network adapting board provides an Ethernet adapting function for the EVCC simulation board and is connected with the computer through an Ethernet interface, the USB-RS232 and the USB-CAN are connected with a computer USB interface, the SECC is used as a core tested unit and is connected with the computer through an RS232 or CAN interface and is communicated with the EVCC simulation board through a CP interface, and the computer is used for running software and simulating EVCC application layer logic and charging pile running logic in the charging interaction process. Further, the EVCC analog board needs to complete CP PWM signal measurement and S2 switch control, and in the whole test process, CP state change and S2 switch control are compl