Charging test method, device and electronic equipment
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- YINWANG INTELLIGENT TECHNOLOGIES CO LTD
- Filing Date
- 2026-01-31
- Publication Date
- 2026-06-12
Smart Images

Figure CN122193740A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle charging technology, and in particular to a charging test method, apparatus, and electronic device. Background Technology
[0002] With the rapid popularization of new energy vehicles, various types of charging piles have emerged to address the charging issues. Since different types of charging piles support different charging protocols and parameters, the compatibility of charging piles with vehicles—that is, the charging compatibility between vehicles and charging piles—has become a major concern.
[0003] Currently, vehicles undergo charging compatibility testing before leaving the factory to determine their compatibility with different types of charging stations. Current charging compatibility testing requires "campaigning" – manually driving the vehicle to different charging stations and collecting data on whether each station can charge the vehicle. However, the diverse types and scattered distribution of charging stations make campaigning inefficient. Summary of the Invention
[0004] This application provides a charging test method, apparatus, and electronic device. When the charging gun is inserted but not removed, it can automatically perform DC charging tests and AC charging tests according to the test cases for DC charging tests and AC charging tests, thereby improving charging test efficiency.
[0005] Firstly, embodiments of this application provide a charging test method. The executing entity of this method can be a test device or a processor, chip, etc., within the test device. The following description uses a test device as an example. It is understood that the test device can be a charging test apparatus. In this method, the test device can acquire a first test case and a second test case. The first test case indicates the first charging step and the first charging parameter of the first charging test, and the second test case indicates the second charging step and the second charging parameter of the second charging test. The type of the first charging test is either a DC charging test or an AC charging test, and the type of the second charging test is either a DC charging test or an AC charging test. The types of the first charging test and the second charging test can be the same or different.
[0006] When the types of the first charging test and the second charging test are different, in response to plugging in the charging gun, the testing equipment can perform a first charging test on the device under test according to the first charging steps and the first charging parameters. Without unplugging the charging gun, the testing equipment can perform a second charging test on the device under test according to the second charging steps and the second charging parameters. The testing equipment can be a charging station, and the device under test can be a vehicle.
[0007] In this embodiment, with the charging gun inserted but not removed, the testing equipment can automatically perform DC charging and AC charging tests based on test cases for both DC and AC charging. This method eliminates the need for relocation to charging stations, resulting in high testing efficiency. Furthermore, supporting both DC and AC charging tests expands the applicability of the charging test. Additionally, the use of test cases for both DC and AC charging allows for fully automated testing without removing the charging gun, further improving efficiency. Moreover, the test cases encompass the entire charging process, enabling testing of the entire process rather than just a single component, thus enhancing test comprehensiveness.
[0008] In one possible implementation, during the first charging test, the test device can receive first test feedback from the device under test, and based on the first test feedback, obtain and output the first test result of the device under test. Specifically, for each first charging step, the test device can receive first test feedback from the device under test. If any test feedback is incorrect, the test device can determine that the first test result is charging incompatibility; if all test feedbacks are correct, the test device can determine that the first test result is charging compatibility.
[0009] The first charging step may include any of the following: outputting an electrical signal, receiving an electrical signal, receiving a message, and sending a message. Correspondingly, the first test feedback may include either an electrical signal or a message. It should be noted that during AC charging testing, the charging step does not include sending or receiving messages, and the test feedback does not include messages.
[0010] Similarly, during the second charging test, the test equipment can receive second test feedback from the device under test, and based on the second test feedback, obtain and output the second test result of the device under test. Accordingly, the second charging step and the second test feedback can refer to the relevant descriptions of the first charging step and the first test feedback.
[0011] In this implementation, the testing equipment can obtain test results based on the test feedback from the device under test. Because the test cases include the entire charging process, the entire charging process can be tested, resulting in comprehensive test results. Furthermore, the testing equipment can output the test results, allowing testers to intuitively determine the outcome and improving the user experience.
[0012] In one possible implementation, the first test case can be a test case table, which makes it easy for testers to understand and modify without having to write code.
[0013] For example, after acquiring the first test case, the testing device can also output the first test case. The testing device can receive modification operations from the user on the first test case, which are used to modify the first charging step and / or the first charging parameters corresponding to the first charging step. After modifying the first test case, the testing device can perform a first charging test on the device under test according to the modified first charging step and / or the modified first charging parameters. Similarly, the second test case can also be modified, and can be referred to the description of the first test case. The user can be a tester; this embodiment of the application does not limit this.
[0014] In this implementation, testers can modify test cases to simulate charging tests under specific or abnormal conditions, ensuring comprehensive testing.
[0015] In one possible implementation, the first and second test cases can be obtained from the cloud, and the cloud can send the first and second test cases to the test device. In another possible implementation, the test device can obtain the first and second test cases itself. Taking the first test case as an example, the test device can obtain first charging data, which is the charging data of the first device during the charging process. This first charging data can come from the cloud. The test device can extract the first charging step and the first charging parameters from the first charging data, and obtain the first test case based on the first charging step and the first charging parameters.
[0016] This application provides various methods for obtaining test cases, which are simple to implement and offer a wide range of implementation options.
[0017] The structure of the testing equipment is described below: In one possible implementation, the test equipment may include: a control system, a communication module, a DC gun, an AC gun, and a charging component shared by the DC gun and the AC gun, with the communication module connected to the DC gun.
[0018] The control system is configured to: acquire a first test case; when the first charging test is a DC charging test, connect a DC gun to the charging component, and control the communication module and the charging component to perform a first charging test on the device under test using the DC gun, according to the first charging steps and the first charging parameters. When the first charging test is an AC charging test, connect an AC gun to the charging component, and control the charging component to perform a first charging test on the device under test using the AC gun, according to the first charging steps and the first charging parameters.
[0019] In this implementation, the control system can be configured to acquire test cases and control specific components to perform DC charging and AC charging tests. The test equipment has physical circuitry, eliminating the need for pre-constructing a virtual test environment, thus simplifying implementation. Furthermore, the DC and AC charging guns in the test equipment can share charging components, further simplifying circuit configuration.
[0020] In one possible implementation, the control system is further configured to: receive first test feedback from the device under test during the first charging test; obtain a first test result based on the first test feedback and a preset feedback library, the preset feedback library including standard feedback corresponding to at least one charging step and at least one charging parameter; and output the first test result.
[0021] In this implementation, the control system is also configured to acquire test feedback and test results, and output the test results. The test cases include the entire charging process, enabling testing of the entire charging process, thus providing comprehensive test results. Furthermore, the test equipment can output test results, allowing testers to intuitively determine the results and improving the user experience.
[0022] In one possible implementation, the control system includes a first control module, a second control module, and a third control module, and the charging components include a power module, a resistor module, and a low-voltage module.
[0023] The first control module is configured to: acquire a first test case; when the type of the first charging test is a DC charging test, control the third control module to connect the DC gun to the charging component, and control the second control module to output the first charging parameter through at least one of the power module, resistor module and low voltage module, and receive the first electrical signal from the device under test; control the communication module to send a first message, and receive the second message from the device under test, wherein the first test feedback is the first electrical signal or the second message.
[0024] The first control module is further configured to: when the type of the first charging test is an AC charging test, control the third control module to connect the AC gun to the charging component, and control the second control module to output the first charging parameter through at least one of the power module, resistor module and low voltage module, and receive the second electrical signal from the device under test, with the first test feedback being the second electrical signal.
[0025] In this implementation, the interaction between the modules in the test equipment can realize DC charging test and AC charging test without removing the charging gun. It can automatically realize continuous charging test based on test cases, resulting in high testing efficiency.
[0026] Secondly, embodiments of this application provide a charging test device, including an input interface and a control system. The control system is configured to: acquire a first test case and a second test case through the input interface; the first test case is used to indicate a first charging step and a first charging parameter for a first charging test; the second test case is used to indicate a second charging step and a second charging parameter for a second charging test; the type of the first charging test is a DC charging test or an AC charging test; when the type of the first charging test is different from the type of the second charging test, in response to plugging in the charging gun, perform a first charging test on the device under test according to the first charging step and the first charging parameter; and without unplugging the charging gun, perform a second charging test on the device under test according to the second charging step and the second charging parameter.
[0027] In one possible implementation, the charging test device further includes an output interface and a control system, which is also configured to: receive first test feedback from the device under test during the first charging test; and obtain a first test result based on the first test feedback and a preset feedback library, wherein the preset feedback library includes standard feedback corresponding to at least one charging step and at least one charging parameter.
[0028] The output interface is configured to output the first test result.
[0029] In one possible implementation, the control system is also configured to receive the first test case from the cloud via an input interface.
[0030] In one possible implementation, the control system is further configured to: extract a first charging step and a first charging parameter from the first charging data, and obtain a first test case based on the first charging step and the first charging parameter, wherein the first charging data is the charging data of the first device during the charging process.
[0031] In one possible implementation, the output interface is further configured to: output a first test case and receive user modification operations on the first test case, the modification operations being used to modify the first charging step and / or the first charging parameters. The control system is further configured to: perform a first charging test on the device under test according to the modified first charging step and / or the modified first charging parameters.
[0032] In one possible implementation, the charging test device further includes a DC gun, an AC gun, and a communication module, with the communication module connected to the DC gun.
[0033] The control system is specifically configured to: when the type of the first charging test is a DC charging test, perform the first charging test on the device under test using a communication module and a DC charging gun according to the first charging steps and the first charging parameters; when the type of the first charging test is an AC charging test, perform the first charging test on the device under test using an AC charging gun according to the first charging steps and the first charging parameters.
[0034] In one possible implementation, the charging test device further includes: a charging component shared by a DC gun and an AC gun; and a control system specifically configured to: when the type of the first charging test is a DC charging test, connect the DC gun to the charging component, and control the communication module and the charging component to perform a first charging test on the device under test using the DC gun according to the first charging steps and the first charging parameters; when the type of the first charging test is an AC charging test, connect the AC gun to the charging component, and control the charging component to perform a first charging test on the device under test using the AC gun according to the first charging steps and the first charging parameters.
[0035] In one possible implementation, the control system includes a first control module, a second control module, and a third control module, and the charging components include a power module, a resistor module, and a low-voltage module.
[0036] The first control module is configured to: acquire the first test case; when the type of the first charging test is DC charging test, send the first instruction to the second control module and the second instruction to the communication module according to the first charging steps and the first charging parameters.
[0037] The second control module is configured to: in response to the first instruction, send a third instruction to the third control module to control at least one of the power module, resistor module and low voltage module to output a first charging parameter; and receive a first electrical signal from the device under test.
[0038] The third control module is configured to connect the DC gun to the charging component in response to a third command.
[0039] The communication module is configured to: in response to a second instruction, send a first message and receive a second message from the device under test, wherein the first test feedback is a first electrical signal or a second message.
[0040] In one possible implementation, the first control module is further configured to send a fourth instruction to the second control module according to the first charging steps and the first charging parameters when the type of the first charging test is an AC charging test.
[0041] The second control module is also configured to: in response to the fourth instruction, send a fifth instruction to the third control module to control at least one of the power module, resistor module and low voltage module to output a first charging parameter; and receive a second electrical signal from the device under test, wherein the first test feedback is the second electrical signal.
[0042] The third control module is also configured to connect the AC gun to the charging component in response to the fifth command.
[0043] Thirdly, embodiments of this application provide an electronic device including a charging test device as described in any possible implementation of the second or first aspect.
[0044] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program or instructions that, when executed on a computer, cause the computer to perform the methods described in the first aspect or any possible implementation thereof.
[0045] Fifthly, embodiments of this application provide a computer program product including a computer program, which, when run on a computer, causes the computer to perform the methods described in the first aspect or any possible implementation thereof.
[0046] Sixthly, embodiments of this application provide a chip or chip system including at least one processor and a communication interface. The communication interface and the at least one processor are interconnected via a circuit. The at least one processor is used to run computer programs or instructions to perform the methods described in the first aspect or any possible implementation thereof. The communication interface in the chip can be an input / output interface, pins, or circuits, etc.
[0047] In one possible implementation, the chip or chip system described above in the embodiments of this application further includes at least one memory, which stores instructions. The memory can be an internal storage unit of the chip, such as a register or cache, or it can be a storage unit of the chip itself (such as a read-only memory or random access memory).
[0048] It should be understood that the second to sixth aspects of the embodiments of this application correspond to the technical solutions of the first aspect of the embodiments of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be described again. Attached Figure Description
[0049] Figure 1 This is a schematic diagram of a charging compatibility test. Figure 2 A schematic diagram for another charging compatibility test; Figure 3 A schematic diagram of a scenario to which the charging test method provided in the embodiments of this application is applicable; Figure 4 A schematic diagram of the structure of a vehicle provided in an embodiment of this application; Figure 5A A schematic diagram of the structure of the testing equipment provided in the embodiments of this application; Figure 5B This is another schematic diagram of the structure of the test equipment provided in the embodiments of this application; Figure 5C This is another schematic diagram of the structure of the test equipment provided in the embodiments of this application; Figure 6 This is a schematic diagram of a scenario for obtaining test cases provided in an embodiment of this application; Figure 7 A flowchart illustrating one embodiment of the charging test method provided in this application; Figure 8 A schematic flowchart of another embodiment of the charging test method provided in this application; Figure 9 This is a schematic diagram of a charging test device provided in an embodiment of this application. Detailed Implementation
[0050] The embodiments of this application will now be described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Those skilled in the art will recognize that, with the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0051] Currently, various types of charging stations have emerged to facilitate vehicle charging. For a charging station to charge a vehicle, the charging protocols and parameters of both parties must be compatible. Incompatibility in the charging protocol will prevent the charging station and the vehicle from communicating, thus preventing charging from starting. Incompatibility in the charging parameters will prevent steps such as the charging gun not being detected, or the charging station and the vehicle failing to agree on the charging parameters, also resulting in charging failing to begin.
[0052] Because different types of charging stations support different charging protocols and parameters, the charging compatibility between a vehicle and a charging station—whether the charging station can charge the vehicle—has become a major concern. Currently, charging compatibility tests are conducted on vehicles before they leave the factory, such as during the vehicle development and verification phase, to determine the charging compatibility between the vehicle and different types of charging stations, i.e., to determine the vehicle's adaptability to different types of charging stations.
[0053] In some embodiments, charging compatibility testing requires visiting different charging stations, i.e., manually driving the vehicle to find and charge at different stations, and collecting data on whether the charging stations can charge the vehicle. For example, refer to... Figure 1 The DC charging test equipment is connected to both the DC charging pile and the vehicle. During the charging process, the equipment acquires real-time feedback data from each interface between the charging pile and the vehicle, and then uses this data to obtain the charging test results. However... Figure 1 The method shown involves connecting the DC charging test equipment to a DC charging pile and the vehicle. This requires "pile driving," meaning finding actual charging piles to test the vehicle's compatibility with different types of charging piles.
[0054] In this approach, the diverse types and scattered distribution of charging stations result in low testing efficiency due to the frequent station visits. Furthermore, station visits often encounter numerous charging stations of the same type, such as those from different brands sharing the same charging protocols and parameters, which the personnel cannot identify, leading to redundant testing and further reducing efficiency. Additionally, station visits cannot cover all types of charging protocols and parameters, making it difficult to guarantee comprehensive testing.
[0055] To address the above issues, in some embodiments, a test apparatus comprising multiple simulated test units can be pre-constructed. (See also...) Figure 2 In response to test commands from the host computer, the test device can simulate the charging process through various simulation test units to perform charging tests on the vehicle's battery management system (BMS). These simulation test units include voltage simulation units and current simulation units; the voltage simulation unit simulates the output voltage, and the current simulation unit simulates the output current.
[0056] While this approach eliminates the need for pile driving, it requires the pre-construction of a simulated test environment (such as a test device), which is costly. Furthermore, this method is only applicable to testing the BMS component of a vehicle, making it difficult to guarantee the comprehensiveness of the test.
[0057] In addition, the above two methods only support DC charging tests and are not suitable for charging compatibility tests of charging piles and vehicles that support AC charging, thus limiting their applicability.
[0058] To address the above issues, this application provides a charging test method. This method acquires test cases for both DC and AC charging, enabling automated DC and AC charging tests when the charging gun is plugged in and not unplugged. This method eliminates the need for relocation to charging stations, resulting in high testing efficiency. Furthermore, it supports both DC and AC charging tests, expanding the applicability of the charging test. Moreover, the availability of DC and AC charging test cases allows for fully automated testing without unplugging the charging gun, further improving efficiency. Finally, the test cases encompass the entire charging process, allowing for comprehensive testing rather than just testing a single component, thus enhancing test completeness.
[0059] Furthermore, the test equipment in this embodiment has physical circuitry, eliminating the need for pre-constructing a virtual test environment, thus facilitating implementation. The structure of the test equipment can be referred to the description in the following embodiments.
[0060] Figure 3 This is a schematic diagram illustrating a scenario to which the charging test method provided in the embodiments of this application is applicable. (Refer to...) Figure 3 This scenario may include test device 31 and device under test 32. It should be understood that... Figure 3 Taking the example of a charging pile as test device 31 and a vehicle as test device 32.
[0061] In this scenario, different test cases can be used to test the vehicle using charging stations. These test cases are derived from charging data from different charging stations (as described in the embodiments below). Therefore, different test cases can characterize different types of charging stations. In other words, different charging protocols and charging parameters (representing different types of charging stations) can be used to test the vehicle to detect its adaptability to different types of charging stations.
[0062] It is understood that a test case is a set of test inputs, execution conditions, and expected results compiled for a specific objective, in order to test a certain program path or verify whether a specific requirement is met. In this application's embodiments, the test cases are a set of charging steps and parameters generated for charging testing, to test whether the vehicle is compatible with different types of charging piles. Specific test cases can be found in the relevant descriptions in the following embodiments.
[0063] The vehicles in this application embodiment are vehicles that can be charged by external charging piles, such as pure electric vehicles, plug-in hybrid electric vehicles, range-extended electric vehicles, or fuel cell vehicles. The vehicles in this application embodiment can include: road vehicles, water vehicles, air vehicles, industrial equipment, agricultural equipment, or entertainment equipment. For example, a vehicle can be a means of transportation (such as commercial vehicles, passenger cars, motorcycles, flying cars, trains, etc.), an industrial vehicle (such as forklifts, trailers, tractors, etc.), an engineering vehicle (such as excavators, bulldozers, cranes, etc.), agricultural equipment (such as lawnmowers, harvesters, etc.), amusement equipment, toy vehicles, etc. Alternatively, the vehicle includes a wheeled device, which can be a robot, mobile medical device, or experimental platform, etc. This application embodiment does not specifically limit the type of vehicle.
[0064] Taking the vehicle as an example, device 32 to be tested Figure 4 This is a schematic diagram of a vehicle structure provided in an embodiment of this application. (Refer to...) Figure 4 The vehicle is equipped with two charging ports: a first charging port 321 and a second charging port 322. The first charging port 321 and the second charging port 322 support different charging types. For example, the first charging port 321 is a DC charging port and the second charging port 322 is an AC charging port, or the first charging port 321 is an AC charging port and the second charging port 322 is a DC charging port.
[0065] It should be understood that the specific structures (such as pin configurations) of the AC charging interface and DC charging interface in this application embodiment are not described in detail, and can be referred to the current charging interface settings.
[0066] Reference Figure 3 The testing device 31 is equipped with two charging guns: a DC charging gun 311 and an AC charging gun 312. In this embodiment, the DC charging gun 311 can be inserted into the vehicle's DC charging port, and the AC charging gun 312 can be inserted into the vehicle's AC charging port, i.e., a gun insertion operation is performed. In response to the insertion, the testing device 31 can use the DC charging gun 311 (AC charging gun 312) to perform DC (AC) charging on the vehicle according to the test cases for DC (AC) charging testing, in order to conduct DC (AC) charging testing. After the DC (AC) charging test is completed, without removing the guns, the testing device 31 can use the AC charging gun 312 (DC charging gun 311) to perform AC (DC) charging on the vehicle according to the test cases for AC (DC) charging testing, in order to conduct AC (DC) charging testing.
[0067] It is understood that embodiments of this application also support continuous DC charging tests or continuous AC charging tests. For example, in response to plugging in the charging gun, the test device 31 can use the DC charging gun 311 to DC charge the vehicle according to test case 1 of the DC charging test to perform a DC charging test. After the DC charging test is completed, without unplugging the charging gun or changing the test device, the test device 31 can use the DC charging gun 311 to DC charge the vehicle according to test case 2 of the DC charging test to continue the DC charging test. For example, in response to plugging in the charging gun, the test device 31 can use the AC charging gun 312 to AC charge the vehicle according to test case 3 of the AC charging test to perform an AC charging test. After the AC charging test is completed, without unplugging the charging gun, the test device 31 can use the AC charging gun 312 to AC charge the vehicle according to test case 4 of the AC charging test to perform an AC charging test.
[0068] Understandable Figure 3 Taking the example that DC gun 311 and AC gun 312 each correspond to one connecting line, in some embodiments, DC gun 311 and AC gun 312 can also share a connecting line, and this application does not limit this.
[0069] Reference Figure 4 The vehicle may also include a first communication module 323. The first communication module 323 is used to enable communication between the vehicle and the charging station during DC charging, such as sending and receiving messages.
[0070] In some embodiments, the vehicle may further include an on-board charger. During AC charging, the vehicle can receive AC current from a charging station, and the on-board charger can be used to convert the AC current into DC current.
[0071] Taking test device 31 as an example, Figure 5A This is a schematic diagram of a test device provided in an embodiment of this application. (Refer to...) Figure 5A The test equipment 31 may include: a DC gun 311, an AC gun 312, a control system 313, a second communication module 314, a first charging component 3111 connected to the DC gun 311, and a second charging component 3112 connected to the AC gun 312.
[0072] The control system 313 can be connected to the first charging component 3111, the second charging component 3112, and the second communication module 314, respectively. The DC charging gun 311 is connected to the second communication module 314. The first charging component 3111 may include a first power module, a first resistor module, and a first low-voltage module. The second charging component 3112 may include a second power module, a second resistor module, and a second low-voltage module.
[0073] The first power module outputs voltage and current to charge the vehicle. The first resistor module outputs resistance, which can be used to identify the charging dock. The first low-voltage module outputs a low voltage (e.g., 12V), which is used by the vehicle identification testing equipment to swipe the card; swiping the card can be understood as the testing equipment charging the vehicle. The second power module outputs voltage and current to charge the vehicle. The second resistor module outputs resistance. The second low-voltage module outputs pulse width modulation (PWM) signals of different frequencies, voltages, or duty cycles to interact with the vehicle.
[0074] in, Figure 5A Taking the first resistor module, which includes resistors R1 and R2 connected in parallel, and switch S1 as an example, and the second resistor module, which includes switch S2, and resistors R3 and R4 connected in series as an example, the specific connection method can be found in [reference needed]. Figure 5A As shown. The embodiments in this application do not limit the configuration of the first resistor module and the second resistor module. Figure 5A For illustrative purposes only.
[0075] The control system 313 can acquire DC test cases and AC test cases. The specific acquisition method can be referred to the description in the following embodiments.
[0076] During DC charging testing, the control system 313 can control the second communication module 314 and the first charging component 3111 according to the DC test case, using the DC charging gun 311 to perform DC charging testing on the vehicle. During AC charging testing, the control system 313 can control the second charging component 3112 according to the AC test case, using the AC charging gun 312 to perform AC charging testing on the vehicle.
[0077] DC charging test can be understood as: the test device 31 performs DC charging on the vehicle and collects feedback from the vehicle to determine whether the test device 31 can perform DC charging on the vehicle. AC charging test can be understood as: the test device 31 performs AC charging on the vehicle and collects feedback from the vehicle to determine whether the test device 31 can perform AC charging on the vehicle.
[0078] To facilitate understanding of DC charging and AC charging tests, the interaction process between the charging station and the vehicle in DC and AC charging is briefly described below. It should be understood that the stages described below for DC and AC charging are illustrative, and DC and AC charging may include fewer or more stages or interaction steps.
[0079] 1. DC charging Physical Connection Phase: After the DC charging gun 311 is inserted into the vehicle's DC charging port (i.e., plugged in), a physical connection check is first performed, including but not limited to connection confirmation. For example, after the DC charging gun 311 is inserted into the vehicle's DC charging port, the control system 313 outputs a first preset resistance value, such as 1000 Ω, through the first resistor module. For instance, the control system 313 can close switch S1, causing resistors R1 and R2 to be connected in parallel, outputting a resistance value such as 1000 Ω. After plugging in, the connection confirmation (CC) pin of the DC charging gun 311 is connected to the vehicle, creating a resistance loop. The charging pile detects a change in the resistance value of this resistance loop, or a change in the voltage value of this resistance loop (e.g., the voltage value changes to 4V), confirming that the DC charging gun 311 and the vehicle have established a physical connection, i.e., plugged in.
[0080] In some embodiments, when a charging pile malfunctions, the control system 313 outputs a second preset resistance value through the first resistor module. For example, the control system 313 can disconnect switch S1 and output the resistance value of resistor R1, which is larger than the first preset resistance value. Accordingly, the change in the resistance value of the vehicle through the resistor circuit can determine that the charging pile is malfunctioning, thus allowing for testing of vehicle feedback when a charging pile malfunctions.
[0081] In other words, the control system 313 can adjust the resistance value output by the first resistor module to interact with the vehicle in different ways, such as detecting the charging port or enabling the vehicle to detect charging pile malfunctions.
[0082] Among them, the resistance value can be used as an electrical signal.
[0083] Handshake phase: After the DC gun 311 establishes a physical connection with the vehicle, the charging pile can output 12V voltage through the first low-voltage module, indicating that the charging pile can be swiped. Swiping the charging pile can be understood as the charging pile being able to charge the vehicle.
[0084] After the charging station swipes its card, it can establish a communication link with the BMS via a communication line, such as a controller area network (CAN) line. Alternatively, the charging station establishes a communication link through the second communication module 314, while the vehicle establishes a link through the first communication module 323. The first communication module 323 includes the BMS, or the first communication module 323 is the BMS.
[0085] In some embodiments, the charging pile and the BMS can establish a communication link by exchanging messages.
[0086] Charging preparation phase: In this phase, the charging station and the vehicle exchange information by sending and receiving messages based on the communication link.
[0087] For example, a charging station can periodically send a charge handshake message (CHM) to the vehicle. The CHM may include the version of the charging protocol supported by the charging station. In response to the CHM, the vehicle can send a battery handshake message (BHM) back to the charging station. The BHM may include the vehicle's maximum permissible total charging voltage.
[0088] Charging Parameter Configuration: The vehicle and charging station can exchange their respective capabilities via messages to negotiate charging parameters. For example, the vehicle can send a battery charging parameter (BCP) message to the charging station. This BCP may include the maximum allowable charging voltage of the battery, the maximum allowable charging current of the charging system, the vehicle's state of charge, and the current battery voltage of the charging system. In response to the BCP, the charging station can send a maximum output capacity message (charge machine limit (CML) to the vehicle. This CML may include the maximum output voltage and maximum output current supported by the charging station. Based on the negotiated charging parameters, the charging station configures the output voltage and output current of the first power module.
[0089] In response to CML, the vehicle can send a battery ready output (BRO) to the charging station. In response to the BRO, the charging station can send a charge ready output (CRO) to the vehicle, indicating that the charging station has been configured with charging parameters.
[0090] In some embodiments, after the charging station sends a CRO, the charging station begins to prepare to output voltage and current to charge the vehicle.
[0091] Charging phase: The charging station outputs voltage and current to charge the vehicle. During charging, the vehicle can adjust its charging strategy based on its own voltage, current, and other requirements, and negotiate charging parameters with the charging station via messages.
[0092] Charging completion phase: When charging is complete, both the vehicle and the charging station will confirm the end of charging via a message.
[0093] It is understood that the name, content, type, quantity, initiator, and receiver of the above messages can be adjusted based on actual needs, and this application embodiment does not impose any restrictions on this.
[0094] 2. AC charging In some embodiments, after the AC charging gun 312 is inserted into the vehicle's AC charging port, the control system 313 outputs a third preset resistance value through the second resistor module. For example, the control system 313 can disconnect switch S2, causing resistors R3 and R4 to be connected in series, and the second preset resistance value is the sum of the resistance values of resistors R3 and R4. At this time, the second resistor module is in a half-connection state. Additionally, after the AC charging gun 312 is inserted into the vehicle's AC charging port, the control system 313 can output a PWM signal with a duty cycle of, for example, 100%, through the second low-voltage module, and the voltage of the control pilot (CP) pin is, for example, 12V.
[0095] The control system 313 can also output a fourth preset resistance value through the second resistor module. For example, the control system 313 can close switch S2, connecting resistor R3, and the fourth preset resistance value can be the resistance value of resistor R3. In this fully connected state, the control system 313 can output the fourth preset resistance value, such as 680 Ω or 220 Ω. Correspondingly, the charging pile can detect the voltage at a preset detection point in the resistor circuit, such as a change from 12V to 9V, and can determine when the charging gun is plugged in.
[0096] In some embodiments, the fourth preset resistance value can also represent the maximum output current supported by the charging pile. For example, 680Ω can represent a maximum output current of 16A supported by the charging pile, and 220Ω can represent a maximum output current of 32A supported by the charging pile.
[0097] Unlike DC charging, AC charging does not establish a communication link between the charging station and the vehicle. Instead, they interact by controlling the duty cycle, voltage, and frequency of their respective output PWM signals.
[0098] Charging preparation phase: After plugging in the charging gun, the charging pile can output a PWM signal to the vehicle through the second low-voltage module, and the duty cycle of the PWM signal indicates the maximum output current it supports. For example, if the duty cycle is 10%, the maximum output current is 10A; if the duty cycle is 25%, the maximum output current is 16A. The vehicle can determine the maximum output current supported by the charging pile based on the fourth preset resistor value and the duty cycle of the PWM signal. For instance, the vehicle can use the smaller value between the maximum output current indicated by the "fourth preset resistor value and the duty cycle of the PWM signal" as the maximum output current supported by the charging pile.
[0099] The PWM signal output by the charging pile indicates that the card has been swiped at the charging pile.
[0100] In response to a PWM signal from the charging station, the vehicle can output a specific voltage to indicate that it is ready. For example, the vehicle can connect a resistor within the vehicle, causing the voltage at a preset detection point to change from 9V to 6V, and then send this information back to the charging station. The charging station detects this voltage change at the preset detection point to determine that the vehicle is ready and can begin charging.
[0101] Charging Phase: During the charging process, the charging station can use the output current of the second power module (such as current A3) to charge the vehicle. During this process, the vehicle can receive AC current from the charging station, and the on-board charger can convert the AC current into DC current.
[0102] Charging Completion Phase: When charging is complete, the vehicle can send a signal to the charging station by outputting a specific voltage. For example, the vehicle can disconnect a resistor in the vehicle, causing the voltage at a preset detection point to change from 6V to 9V, and then send this signal back to the charging station. The charging station determines the end of charging by detecting the change in voltage at the preset detection point.
[0103] It is understood that the above interaction process is an example, and the specific resistance value, duty cycle, voltage value, etc. can also be adjusted based on actual needs. This application embodiment does not limit this.
[0104] The interaction process between the charging pile and the vehicle in DC charging and AC charging has been described above. For DC charging tests and AC charging tests, the required voltage, current, resistance, and PWM signal differ at each stage of charging. Therefore, a first charging component 3111 can be configured for DC charging tests, and a second charging component 3112 can be configured for AC charging tests, as follows: Figure 5A As shown.
[0105] To reduce the circuit complexity of the test equipment 31, in some embodiments, the DC gun 311 and the AC gun 312 can be configured to share a single charging component. (Refer to...) Figure 5B In some embodiments, the test device 31 may include: a DC gun 311, an AC gun 312, a control system 313, a second communication module 314, and a charging component 315 shared by the DC gun 311 and the AC gun 312.
[0106] The control system 313 can be connected to the charging component 315 and the second communication module 314 respectively, and the DC gun 311 is connected to the second communication module 314.
[0107] Reference Figure 5B The charging component 315 may include a power module, a low-voltage module, and a resistor module. The power module is used to output voltage and current. The low-voltage module is used to output PWM signals of different frequencies, voltages, and duty cycles. The resistor module is used to output resistance.
[0108] To meet the different requirements for voltage, current, resistance, and PWM signals at each charging stage of DC and AC charging tests, the resistance module can be configured as a variable resistor. For example, the resistance module can output resistance values such as 1000 Ω or 680 Ω to meet the resistance requirements for connection verification in both DC and AC charging tests. The power module can be configured to output the voltage required for DC charging tests (e.g., 200V-1000V) and the voltage required for AC charging tests (e.g., 220V or 380V). Furthermore, the low-voltage module in this embodiment can output PWM signals of different frequencies, voltages, and duty cycles.
[0109] Reference Figure 5B During DC charging testing, the control system 313 can control the second communication module 314 and the charging component 315 according to the DC test case, using the DC charging gun 311 to perform DC charging testing on the vehicle. During AC charging testing, the control system 313 can control the charging component 315 according to the AC test case, using the AC charging gun 312 to perform AC charging testing on the vehicle. Correspondingly, during the charging test, the control system 313 can also receive test feedback from the device under test, and output test results based on the test feedback results. Specific implementation methods can be found in the description of the following embodiments.
[0110] In the DC charging test and AC charging test, the interaction process of each module in the test equipment 31 can be referred to Figure 8 The descriptions in the illustrated embodiments are not repeated here.
[0111] In some embodiments, refer to Figure 5C The control system 313 may include a first control module 3131, a second control module 3132 and a third control module 3133.
[0112] The first control module 3131 can be connected to the second control module 3132 and the second communication module 314 respectively. The second control module 3132 is connected to the power module, the low-voltage module, the resistor module, and the third control module 3133 respectively. The second communication module 314 is connected to the third control module 3133. The third control module 3133 is connected to the DC gun 311 and the AC gun 312 respectively. Among them, the third control module 3133 can be connected to the low-voltage module and the resistor module respectively.
[0113] The first control module 3131 is used to acquire test cases and send instructions to the second control module 3132 and the second communication module 314 based on the test cases.
[0114] The second control module 3132 can be a programmable logic controller (PLC). The PLC responds to instructions from the first control module 3131, controlling the output voltage and current of the power module, controlling the output of PWM signals of different frequencies, voltage ratios, or duty cycles of the low-voltage module, and controlling the output resistance of the resistor module. In other words, the DC gun 311 and the AC gun 312 also share the same PLC.
[0115] The second communication module 314 is used to send a message to the vehicle in response to an instruction from the first control module 3131.
[0116] The PLC is also used to control the third control module 3133 to connect the DC gun 311 or the AC gun 312 in response to instructions from the first control module 3131.
[0117] The third control module 3133 may include a switch, such as a relay. The third control module 3133 can control the switch to connect the DC charging gun 311 or the AC charging gun 312 to realize DC charging test or AC charging test.
[0118] In some embodiments, the first control module 3131 can be connected to the second control module 3132, the second communication module 314, and the third control module 3133, respectively. The second control module 3132 is connected to the power module, the low-voltage module, and the resistor module, respectively. The second communication module 314 is connected to the third control module 3133, and the third control module 3133 is connected to the DC gun 311 and the AC gun 312, respectively. The third control module 3133 can also be connected to the low-voltage module and the resistor module, respectively.
[0119] The first control module 3131 is used to acquire test cases and send instructions to the second control module 3132, the second communication module 314, and the third control module 3133 based on the test cases.
[0120] The second control module 3132 can be a PLC. The PLC is used to respond to instructions from the first control module 3131, controlling the power module to output voltage and current, controlling the low-voltage module to output PWM signals of different frequencies, voltages, or duty cycles, and controlling the resistor module to output resistance. The second communication module 314 is used to send messages to the vehicle in response to instructions from the first control module 3131.
[0121] The third control module 3133 is used to respond to the instructions from the first control module 3131 and connect the DC gun 311 or the AC gun 312 to realize DC charging test or AC charging test.
[0122] In some embodiments, refer to Figure 5A - Figure 5CThe test device 31 may also include an input interface 316 and an output interface 317.
[0123] The first control module 3131 can obtain test cases through the input interface 316, as described in the following embodiments. For example, the input interface 316 can be a second communication module used to enable communication between the first control module 3131 and the cloud. For example, the input interface 316 can be a physical interface, such as a universal serial bus (USB) interface or a Type-C interface, through which test cases can be imported.
[0124] Output interface 317 is used to output test cases and test results. For example, output interface 317 can be a display screen or a voice module. For instance, the display screen can show test cases and test results.
[0125] In the DC charging test and AC charging test, the interaction process of each module in the test equipment 31 can be referred to Figure 8 The descriptions in the illustrated embodiments are not repeated here.
[0126] Reference Figure 3 - Figure 5C As shown, the testing equipment provided in this application embodiment has physical circuitry, eliminating the need to pre-build a virtual testing environment and simplifying implementation. Furthermore, the DC and AC guns in the testing equipment can share charging components and a PLC, further simplifying circuit configuration.
[0127] To make it easier to understand, the process of obtaining test cases is described below: Figure 6 This is a schematic diagram illustrating a scenario for obtaining test cases according to an embodiment of this application. (Refer to...) Figure 6 This scenario can include multiple vehicles and the cloud. Figure 6 Taking the cloud as an example, the embodiments of this application do not limit the form of the cloud. Figure 6 Taking multiple vehicles, including vehicle 1, vehicle 2, ... and vehicle N, as an example, where N is an integer greater than or equal to 1.
[0128] Taking vehicle 1 as an example, after vehicle 1 connects to charging pile 1, it can report charging data 1 to the cloud. Charging data 1 can include each charging step and the charging parameters for each step. It's important to note that, taking the charging pile as the testing device, the testing device needs to output the charging steps and parameters for different types of charging piles. To obtain the charging steps and parameters from the charging pile, vehicle 1 can record data from charging pile 1, such as electrical signals and messages. Accordingly, charging data 1 can include the charging steps and parameters from charging pile 1 during the charging process.
[0129] In some embodiments, vehicle 1 can be used as a first device, and charging data 1 can be used as first charging data.
[0130] In other words, the cloud can receive charging data 1 from vehicle 1. This charging data 1 includes the charging steps and parameters of the charging pile 1 that charges vehicle 1. For example, taking DC charging as an example, the charging steps of the charging pile 1 may include: plugging in the charging gun, swiping the card, and sending a message, such as CHM or CML. Accordingly, the charging parameter corresponding to "plugging in the charging gun" is "1000 Ω", the charging parameter corresponding to "swiping the card" is "output 12V voltage", the charging parameter corresponding to "sending the CHM message" is version 1 of the charging protocol supported by the charging pile, and the charging parameter corresponding to "sending the CML message" is the maximum output voltage V1 and the maximum output current A1 supported by the charging pile.
[0131] In some embodiments, to ensure the integrity of the charging data, the charging data 1 may further include the charging steps and parameters of the vehicle 1 during the charging process. That is, the charging data 1 may include the charging steps and parameters of the charging pile 1, as well as the charging steps and parameters of the vehicle 1. For example, taking DC charging as an example, the charging steps of the charging pile 1 may include: plugging in the charging gun, swiping the card, and sending messages such as CHM, CML, etc. The charging steps of the vehicle 1 include: sending messages such as BHM, BCP, etc. Correspondingly, the charging parameters corresponding to "sending message BHM" include "the vehicle's maximum allowable total charging voltage," and the charging parameters corresponding to "sending message BCP" include the battery's maximum allowable charging voltage, the charging system's maximum allowable charging current, the vehicle's state of charge, and the current battery voltage of the charging system, etc.
[0132] In a real-world scenario, vehicle 1 can use multiple types of charging stations to charge and report charging data for each charge to the cloud. For multiple vehicles, each vehicle reports charging data to the cloud. Because there are many vehicles, the charging stations used can cover as many types of charging stations as possible, meaning the cloud can obtain charging data from as many types of charging stations as possible. For example, the multiple types of charging stations can include DC charging stations and AC charging stations, with DC charging stations including those supporting different charging protocols and parameters, and similarly, AC charging stations including those supporting different charging protocols and parameters.
[0133] After acquiring charging data from the cloud, the data can be processed to obtain at least one test case. For example, taking charging data 1 as an example, the cloud can extract the charging steps and the corresponding charging parameters from charging data 1, and then obtain test case 1 based on the charging steps and the corresponding charging parameters.
[0134] In some embodiments, test case 1 may be in the form of text, flowchart, or table, etc., and the form of test case 1 is not limited in this application embodiment. In this application embodiment, test case 1 can be a test case table. Taking test case 1 as a DC charging test case, and taking the charging data including the charging steps and charging parameters of charging pile 1 as an example, Table 1 is an example of test case 1: Table 1
[0135] In some embodiments, when the charging step involves sending a message, the charging parameter can be an identifier representing the message content, such as a number or value. For example, taking the sending of a CHM message as an example, the charging parameter can be "257". Here, 257 indicates version 1 of the charging protocol.
[0136] For example, taking test case 2 as an AC charging test case, and taking the charging data including the charging steps and charging parameters of charging pile 2 as an example, Table 2 is an example of test case 2: Table 2
[0137] It is understood that the charging steps and charging parameters in Tables 1 and 2 above are for illustrative purposes only.
[0138] It is understood that Tables 1 and 2 above show the charging steps and parameters for standard DC charging and standard AC charging. In some embodiments, the cloud can also obtain test cases corresponding to non-standard DC charging and non-standard AC charging. Compared with standard DC charging and standard AC charging, these test cases may include more charging steps in Table 1 or Table 2, or omit some charging steps, or include more charging parameters, or omit some charging parameters.
[0139] It is understood that the charging test method provided in the embodiments of this application can be applied to standard DC charging test, standard AC charging test, as well as non-standard DC charging test and non-standard AC charging test.
[0140] In some embodiments, the charging data reported by the vehicle to the cloud may also include the identifier of the charging station. The identifier of the charging station may be obtained through interaction between the vehicle and the charging station (e.g., carried in the message). In this embodiment, for charging data of charging stations with the same identifier, the cloud can process the data once to obtain the corresponding test case, without having to process all the charging data. This reduces the processing load on the cloud and improves the speed of obtaining test cases.
[0141] In some embodiments, for charging data of charging piles with different identifiers, such as charging protocols and charging parameters of charging piles with different identifiers being the same, i.e., the test cases obtained from the cloud are the same, the cloud can store one test case.
[0142] Based on the above method, the cloud can obtain and store at least one test case. Since the cloud can obtain charging data from multiple types of charging piles, the test cases derived from this data can cover multiple types of charging piles. Furthermore, the test cases can include both DC charging test cases and AC charging test cases, thus improving the comprehensiveness of subsequent charging tests.
[0143] After obtaining test cases from the cloud, the test equipment (such as the control system 313 or the first control module 3131 in a vehicle) can obtain the test cases.
[0144] In some embodiments, the cloud can distribute test cases to the testing device. For example, as the charging protocol is updated, or as the charging data reported by the vehicle is updated, the cloud can update the stored test cases. The cloud can then distribute the updated test cases to the testing device so that the testing device can access the latest test cases.
[0145] In some embodiments, the test device may periodically request test cases from the cloud, and in response to the request, the cloud may send test cases to the test device.
[0146] In some embodiments, after obtaining test cases from the cloud, testers can also export test cases from the cloud and import them into the test equipment.
[0147] In some embodiments, the test device can also obtain test cases based on charging data. For example, the cloud can send charging data to the test device, or the test device can request charging data from the cloud. After obtaining the charging data, the test device can obtain test cases based on the charging data, as detailed in the cloud's processing methods.
[0148] To reduce the data processing load on the testing equipment, the cloud can preprocess the charging data before sending it to the testing equipment. For example, for charging piles with the same identifier, the cloud can send the charging data to the testing equipment only once.
[0149] The following example illustrates a scenario in which the charging testing method provided in this application is applicable. It should be understood that this example does not limit the scenarios to which the embodiments of this application can be applied. For instance, the cloud can be a vehicle manufacturer's server, and the multiple vehicles can be vehicles that have already left the factory. These vehicles can report charging data to the cloud, and the cloud obtains test cases based on the charging data. The testing equipment can obtain test cases from the cloud and perform tests on vehicles that have not yet left the factory (such as newer versions of vehicles) based on these test cases.
[0150] It is understandable that charging compatibility test results can be obtained after testing vehicles that have not yet left the factory. For example, if the test result shows that charging station 1 cannot charge the vehicle, the testers can optimize the vehicle's charging protocol and / or charging parameters to make the vehicle compatible with charging station 1, thereby improving the vehicle's charging compatibility.
[0151] The charging test method provided in this application will be described below with reference to specific embodiments. These embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0152] Figure 7 This is a flowchart illustrating one embodiment of the charging test method provided in this application. The entity executing the charging test method can be a test device, a chip within the test device, or a processor, etc. The following description uses a test device as an example. (Refer to...) Figure 7 The charging test method provided in this application embodiment may include: S701, obtain the first test case and the second test case. The first test case is used to indicate the first charging step and the first charging parameter of the first charging test. The second test case is used to indicate the second charging step and the second charging parameter of the second charging test. The type of the first charging test is DC charging test or AC charging test.
[0153] Test cases are used to indicate the charging steps and corresponding charging parameters of the charging test. For example, a test case may include the charging steps and corresponding charging parameters of the charging test. Exemplary test cases may be as shown in Tables 1 and 2 above. The method for the test device to obtain test cases can be referred to the description in the above embodiments.
[0154] It should be noted that the embodiments in this application illustrate the acquisition of a first test case and a second test case by a test device, and the first and second test cases do not limit the number of test cases acquired by the test device. In practical applications, the test device can acquire at least one test case.
[0155] The first test case is used to indicate the first charging step and the first charging parameters of the first charging test, and the second test case is used to indicate the second charging step and the second charging parameters of the second charging test. For example, the first test case is shown in Table 1, and the second test case is shown in Table 2.
[0156] The first charging test is either a DC charging test or an AC charging test. The first charging step refers to all charging steps in the first charging test, and the first charging parameter refers to the charging parameter corresponding to each charging step. Similarly, the second charging test is either a DC charging test or an AC charging test. The second charging step refers to all charging steps in the second charging test, and the second charging parameter refers to the charging parameter corresponding to each charging step.
[0157] S702, in the case that the type of the first charging test is different from the type of the second charging test, in response to the insertion gun, the device under test is subjected to a first charging test according to the first charging steps and the first charging parameters.
[0158] The types of the first charging test and the second charging test can be the same or different. For example, both the first and second charging tests can be DC charging tests, or both can be AC charging tests. For example, the first charging test can be a DC charging test and the second charging test can be an AC charging test, or vice versa. In other words, the test equipment supports continuous DC charging tests, continuous AC charging tests, and alternating DC and AC charging tests. The following embodiments illustrate this using the example of different types of the first and second charging tests.
[0159] In this embodiment of the application, when the type of the first charging test is different from the type of the second charging test, in response to the insertion of the charging gun, the testing device can perform a first charging test on the device under test according to the first charging steps and the first charging parameters. Specifically, the testing device can sequentially execute each charging step according to the order of the first charging steps, and output the corresponding charging parameters according to the first charging parameters corresponding to the first charging steps, thereby simulating the entire process of the first charging test.
[0160] For example, taking Table 1 as the first test case, when inserting the charging gun, the test device can output a resistance value of 1000 Ω to simulate the insertion process. After connection confirmation, the test device can output 12V voltage through the first low-voltage module to notify the vehicle to swipe its charging card. The test device can send a CHM to synchronize its charging protocol version 1 with the vehicle. After receiving the BCP from the vehicle, the test device can send a CML to the vehicle to synchronize its supported maximum output voltage V1 and maximum output current A1. After receiving the BRO from the vehicle, the test device can send a CRO to the vehicle, indicating that the test device has configured the charging parameters. During charging, when a charging parameter adjustment message is received from the vehicle, the test device can adjust the charging parameters and send a message to the vehicle. The test device can charge the vehicle according to the adjusted charging parameters. When charging ends, the test device can receive a charging end request message from the vehicle to confirm the end of charging. Alternatively, when charging ends, the test device can send a charging end request message to the vehicle and confirm the end of charging after receiving a response message from the vehicle.
[0161] S703, without removing the charging gun, performs a second charging test on the device under test according to the second charging steps and the second charging parameters.
[0162] Reference Figure 3 As described in the relevant description, the embodiments of this application can support continuous charging testing without removing the charging gun or changing the testing equipment. In the embodiments of this application, without removing the charging gun, the testing equipment can perform a second charging test on the device under test according to the second charging steps and the second charging parameters. Specifically, the testing equipment can sequentially execute each charging step according to the order of the second charging steps, and output the corresponding charging parameters according to the second charging parameters corresponding to the second charging steps, thereby simulating the entire process of the second charging test.
[0163] For example, taking the second test case as shown in Table 2, without disconnecting the charging gun, the test device can output a resistance value of 680Ω to simulate the plugging-in process. After connection confirmation, the test device can output a PWM signal with a duty cycle of X1. The vehicle can combine the 680Ω resistance value output by the test device with the PWM signal with a duty cycle of X1 to determine the maximum output current supported by the charging pile. After confirming that the vehicle is ready, the test device can output current A3 to charge the vehicle. The test device detects that the voltage at the preset detection point changes from 6V to 9V, indicating that charging is complete.
[0164] Understandably, when the type of the first charging test and the type of the second charging test are the same, in response to the insertion of the charging gun, the testing equipment can perform the first charging test on the device under test according to the first charging steps and the first charging parameters. Without removing the charging gun, the second charging test is performed on the device under test according to the second charging steps and the second charging parameters.
[0165] In this embodiment, the testing equipment can acquire test cases for DC charging and AC charging. With the charging gun inserted and not removed, automated DC and AC charging tests can be performed based on these test cases. This method eliminates the need for relocation to charging stations, resulting in high testing efficiency. Furthermore, supporting both DC and AC charging tests expands the applicability of the charging test. Moreover, the use of DC and AC charging test cases enables fully automated testing without removing the charging gun, further improving efficiency. Finally, the test cases encompass the entire charging process, allowing for comprehensive testing rather than just testing a single component, thus enhancing test completeness.
[0166] The above embodiments describe a method for automated DC charging and AC charging testing of the device under test (such as a vehicle). It is understood that during the DC and AC charging tests, the test equipment can also receive test feedback from the device under test to determine the test results. Test results may include charging incompatibility or charging compatibility. Charging incompatibility can be understood as: the device under test cannot be charged; charging compatibility can be understood as: the device under test can be charged.
[0167] During the first charging test, the test device can receive initial test feedback from the device under test (DUT). Based on this feedback, the test device can obtain the initial test result from the DUT. It's understood that the entire charging process involves real-time interaction between the test device and the DUT. If the test device fails to receive feedback after performing a charging step, or if the received feedback is incorrect, it indicates charging incompatibility. Conversely, if the test device receives correct feedback from the DUT at every charging step throughout the entire charging process, it indicates charging compatibility.
[0168] In some embodiments, when acquiring test cases, for each charging step, standard feedback corresponding to each charging step can also be acquired. This standard feedback is used to detect whether the device under test responds correctly to each charging step. The standard feedback can be user-defined input or defined by the charging protocol. Thus, after the test device executes each charging step, it can check whether the first test feedback is correct based on the standard feedback corresponding to each charging step.
[0169] In some embodiments, a preset feedback library can be pre-configured, which includes standard feedback corresponding to at least one charging step and at least one charging parameter. Similarly, after the test device executes each charging step, it can query the preset feedback library to check whether the first test feedback is correct.
[0170] If the first test feedback is the same as the standard feedback corresponding to the charging step, the testing equipment can determine that the test feedback of the device under test for that charging step is correct. If the first test feedback is different from the standard feedback corresponding to the charging step, the testing equipment can determine that the test feedback of the device under test for that charging step is incorrect.
[0171] For example, taking Table 1 as the first test case, when the charging gun is inserted, the test device can output a resistance value of 1000 Ω, and the test device can detect the voltage change in the resistance circuit. This voltage change in the resistance circuit can be considered an electrical signal, serving as test feedback for the "output of a 1000 Ω resistance value". If the voltage value in the resistance circuit does not change (e.g., does not change to 4V), the test device cannot confirm the connection, and the first test result indicates that the test device and the vehicle charging are incompatible.
[0172] If the voltage in the resistor circuit becomes 4V, the testing equipment will confirm the connection. The testing equipment can output 12V through the first low-voltage module to notify the charging station to swipe the card.
[0173] After swiping the card at the charging station, the testing equipment can send a CHM (Charging Protocol Message) to the vehicle to synchronize its charging protocol version 1 with the vehicle. If the testing equipment does not receive a BHM (Balanced Charge Message) from the vehicle, or if the content of the received message differs from the BHM, the testing equipment can determine that the first test result is that the testing equipment and the vehicle are incompatible in terms of charging. The BHM can be seen as a test feedback to the CHM.
[0174] After receiving the BCP from the vehicle, the test equipment can send a CML to the vehicle to synchronize the maximum output voltage, maximum output current, etc., supported by its charging station. If the test equipment does not receive a BRO from the vehicle, or if the content of the received message differs from the BRO, the test equipment can determine that the first test result is that the test equipment and the vehicle are incompatible in charging. The BRO can be considered as test feedback to the CML.
[0175] If the test equipment receives a BRO (Browser Response) from the vehicle, it can send a CRO (Content Response) to the vehicle, preparing to output voltage and current to charge the vehicle. During charging, when a charging parameter adjustment message is received from the vehicle, the test equipment can adjust the charging parameters and send a message to the vehicle containing the adjusted charging parameters. If the test equipment does not receive a response message for this message, it can determine that the first test result is that the test equipment and the vehicle are incompatible in terms of charging.
[0176] If the test equipment sends a charging completion request message to the vehicle when the vehicle is fully charged, but does not receive a response message from the vehicle, the test equipment can also determine that the first test result is that the test equipment and the vehicle are incompatible in terms of charging.
[0177] Each test feedback from the aforementioned vehicles can be considered as the first test feedback, and the first test feedback and the first test result are for illustrative purposes. It is understandable that if the feedback from the vehicle differs from the standard feedback, the testing equipment can determine that the first test result indicates incompatibility between the testing equipment and the vehicle's charging.
[0178] In some embodiments, the testing device may also output a first test result, allowing testers to intuitively determine the first test result. For example, the testing device may display the first test result.
[0179] In some embodiments, the first test result is used to indicate whether the test device and the device under test are charging compatible. Where the test result indicates that the test device and the device under test are charging incompatible, the first test result may further include test feedback indicating that the charging incompatibility is caused. For example, if the test device does not receive the BHM message from the vehicle, or the content of the received message is different from the BHM message, the first test result indicates that the test device and the device under test are charging incompatible, and the first test result may further include test feedback stating that "the BHM message was not received or the content of the received message is different from the BHM message." In this embodiment, the first test result may also indicate the cause of the charging incompatibility, allowing testers to make corresponding improvements to the charging parameters or charging protocol in the vehicle based on the cause.
[0180] Similarly, during the second charging test, the test equipment can receive second test feedback from the device under test. Based on this second test feedback, the test equipment can obtain and output the second test result. The second test feedback and second test result can be referenced in the relevant descriptions of the first test feedback and first test result.
[0181] In this embodiment, during DC charging and AC charging tests, the testing equipment can also receive test feedback from the device under test to determine the test result. The test result can indicate whether the testing equipment and the device under test are charging compatible. If the test result indicates that the testing equipment and the device under test are charging incompatible, the first test result can also indicate the test feedback that caused the charging incompatibility. In this embodiment, not only can the test result indicating whether the testing equipment and the device under test are charging compatible be obtained, but also the test feedback that causes charging incompatibility can be obtained, facilitating subsequent improvements.
[0182] The above embodiments describe the process of charging compatibility testing and obtaining test results. This application embodiment can also support the modification of test cases to simulate charging tests under specific or abnormal conditions, which not only ensures the comprehensiveness of the test but also makes it simple to implement.
[0183] In some embodiments, test cases can be test case tables, as shown in Tables 1 and 2 above. Presenting test cases in tabular form eliminates the need for testers to write code, making them easy to understand and modify, and simplifies the simulation of specific or exceptional situations.
[0184] For example, the test equipment acquires test cases as shown in Table 1, and the test equipment can display Table 1. Testers can modify the charging steps and / or charging parameters in Table 1 based on test requirements. Correspondingly, the test equipment can perform charging tests on the device under test according to the modified charging steps and / or modified charging parameters.
[0185] Modifications can include, but are not limited to, deletion, replacement, and addition. Deletion refers to removing a charging step and / or charging parameter. Replacement refers to replacing a charging step and / or charging parameter in the original table with another charging step and / or another charging parameter. Addition refers to adding a new charging step and / or charging parameter.
[0186] For example, charging steps and parameters for charging pile failures can be added to Table 1. For instance, the charging step could be: charging pile failure, and the charging parameter could be: outputting a second preset resistance value. In this way, the testing equipment can perform charging failure tests during the charging test, increasing the comprehensiveness of the test.
[0187] In some embodiments, when modifying test cases, for messages, the name, content, timing, and sending time of the message can be modified; for electrical signals, the value and sending time of the electrical signal can be modified; and the timing of the electrical signal and the message can also be modified.
[0188] This application does not exhaustively list the ways to modify test cases. The above are just examples. Test cases can be modified based on actual needs.
[0189] The embodiments of this application can output test cases in tabular form, which is easy for testers to understand. On the other hand, testers can modify test cases to simulate charging tests under specific or abnormal conditions, which can ensure the comprehensiveness of the test.
[0190] The above embodiments describe the charging test method provided by the embodiments of this application from the perspective of the test equipment. The following describes the charging test method provided by the embodiments of this application from the perspective of the interaction of internal modules of the test equipment. Figure 8 This is a schematic flowchart of another embodiment of the charging test method provided in this application. It should be understood that... Figure 8 The test equipment obtains test cases from the cloud, and the example of a DC test case is used for illustration.
[0191] Reference Figure 8 Test cases are retrieved from the cloud and sent to the test device via its input interface. Correspondingly, the first control module receives test cases from the cloud through its test interface. The first control module reads the charging steps and parameters from the test cases, executes each charging step sequentially, and outputs the corresponding charging parameters for each step.
[0192] The first control module converts the charging steps and parameters into instructions that the PLC and communication module can recognize, thereby controlling the PLC and communication module to output the corresponding charging parameters. The following explanation uses DC charging tests and AC charging tests as examples: 1. DC charging test When the first charging test is a DC charging test, the first control module can send a first instruction to the second control module and a second instruction to the communication module according to the test case, the first charging steps, and the first charging parameters. In response to the first instruction, the second control module can send a third instruction to the third control module. In response to the third instruction, the third control module can connect the DC charging gun to the charging component. For example, the third control module can control a relay therein to connect the DC charging gun and the charging component to begin the DC charging test.
[0193] Additionally, in response to the first instruction, the second control module can control at least one of the power module, resistor module, and low-voltage module to output a first charging parameter, and receive a first electrical signal from the device under test, which can be considered as first test feedback. In response to the second instruction, the communication module can send a first message and receive a second message from the device under test, which can be considered as first test feedback.
[0194] For example, for the charging step "plugging in the gun", the first control module can send a first command to the PLC, which indicates an output resistance value of 1000 Ω. In response to the first command, the PLC can control the variable resistor to output a resistance value of 1000 Ω. Accordingly, the PLC can detect changes in the voltage value of the resistor circuit. If the voltage value of the resistor circuit changes to 4V, the first control module can record the test feedback corresponding to the charging step "plugging in the gun" as "correct".
[0195] For example, after connection confirmation, the first control module can send a first command to the PLC, which indicates a 12V voltage to notify the vehicle charging station to swipe its card. In response to the first command, the PLC can control the low-voltage module to output a 12V voltage.
[0196] For example, the first control module can send a second instruction to the communication module, which instructs the transmission of a CHM (which can be considered as the first message). In response to the second instruction, the communication module can use the charging protocol and, based on the timing of the CHM, send a CHM containing the message "Charging Protocol Version 1" to the vehicle. If the first control module receives a BHM (which can be considered as the second message) from the vehicle through the communication module, the first control module can record the test feedback corresponding to the charging step "Sending CHM" as "Correct".
[0197] After agreeing on the charging parameters (such as current and voltage), the first control module can send a first command to the PLC, which instructs the output of the corresponding current and voltage. In response to the first command, the PLC can control the power module to output the corresponding current and voltage to charge the vehicle.
[0198] This application does not describe examples of other messages sent by the test device and corresponding messages returned by the vehicle. It can be understood that the message sent by the test device (communication module) can be regarded as the first message, and the message received by the test device (communication module) can be regarded as the second message.
[0199] 2. AC charging test Understandably, compared to DC charging testing, AC charging testing does not involve message exchange between the test equipment and the device under test, therefore a communication module is not used. When the first charging test is an AC charging test, the first control module can send a fourth instruction to the second control module according to the test case, the first charging steps, and the first charging parameters. In response to the fourth instruction, the second control module can send a fifth instruction to the third control module. In response to the fifth instruction, the third control module can connect the AC charging gun to the charging component to begin the AC charging test. For example, the second control module can control a relay to connect the AC charging gun and the charging component.
[0200] In addition, in response to the fourth instruction, the second control module can control at least one of the power module, resistor module and low voltage module to output the first charging parameter, and receive a second electrical signal from the device under test, which can be regarded as the first test feedback.
[0201] For example, for the charging step "plugging in the gun", the first control module can send a fourth command to the PLC, which indicates an output resistance value of 680 Ω. In response to the fourth command, the PLC can control the variable resistor to output a resistance value of 680 Ω. Accordingly, the PLC can detect changes in the voltage value of the resistor circuit. If the voltage value of the resistor circuit changes, the first control module can record the test feedback corresponding to the charging step "plugging in the gun" as "correct".
[0202] For example, after connection confirmation, the first control module can send a fourth instruction to the PLC, which instructs the output of a PWM signal with a specific duty cycle. In response to the fourth instruction, the PLC can control the low-voltage module to output a PWM signal with a specific duty cycle. Accordingly, if the PLC receives a voltage change from 9V to 6V at a preset detection point, the first control module can record the test feedback corresponding to the charging step "card swipe" as "correct".
[0203] For example, the first control module can send a fourth instruction to the PLC, which indicates the output current A3. In response to the fourth instruction, the PLC can control the power module to output current A3 to charge the vehicle.
[0204] It is understood that the embodiments of this application illustrate the interaction of each module in the AC charging test, and other charging steps can refer to the interaction process in the above examples.
[0205] Understandably, during the charging test, the first control module can obtain the test results based on the test feedback and output the test results through the output interface.
[0206] The embodiments of this application have the same technical principles and effects as the embodiments described above, and can be referred to the descriptions in the embodiments above, which will not be repeated here.
[0207] The above embodiments use a charging pile as the test device and a vehicle as the device under test for illustration. The charging test method provided in this application can also be applied to scenarios where the test device is a vehicle and the device under test is a charging pile. In this scenario, the test device can simulate different types of vehicles to test the charging pile's adaptability to different types of vehicles. It is conceivable that in this method, the charging pile can report charging data from multiple vehicles to the cloud so that the cloud can obtain test cases for different types of vehicles.
[0208] It should be noted that the personal information and data processing (e.g., collection, storage, use, processing, transmission, provision and disclosure) involved in the embodiments of this application are protected by the laws and regulations of the relevant countries and regions, and comply with the relevant laws and regulations of the relevant countries and regions.
[0209] The charging test method of the present application embodiments has been described above. The apparatus for performing the above method provided in the present application embodiments is described below. Those skilled in the art will understand that the methods and apparatus can be combined with and referenced by each other. The related apparatus provided in the present application embodiments can perform the steps in the above charging test method. The related apparatus can be referred to in the following description: Figure 9 This is a schematic diagram of a charging test apparatus provided in an embodiment of this application. The charging test apparatus 900 can be the test equipment in the above embodiments, or a processor, chip, module, etc., within the test equipment. (Refer to...) Figure 9The charging test device 900 may include a memory 910, a processor 920, and a communication interface 930. The memory 910, processor 920, and communication interface 930 are connected via internal connection paths. The memory 910 stores instructions, and the processor 920 executes the instructions stored in the memory 910 to control the communication interface 930 to acquire information, enabling the charging test device 900 to implement the aforementioned charging test method. Optionally, the memory 910 may be coupled to the processor 920 via an interface, or it may be integrated with the processor 920.
[0210] It should be noted that the communication interface 930 described above uses a transceiver device, such as, but not limited to, a transceiver. The communication interface 930 may also include an input / output interface.
[0211] The processor 920 stores one or more computer programs, which include instructions. When the instructions are executed by the processor 920, the charging test apparatus 900 performs the charging test methods described in the above embodiments.
[0212] In implementation, each step of the above method can be completed by the integrated logic circuitry of the hardware in the processor 920 or by instructions in software form. The method disclosed in the embodiments of this application can be directly implemented by the hardware processor, or by a combination of hardware and software modules in the processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory 910, and the processor 920 reads the information in memory 910 and, in conjunction with its hardware, completes the steps of the above method. To avoid repetition, detailed descriptions are not provided here.
[0213] As one possible implementation, the charging test device 900 can be a physical device, such as including one or more of the following modules: a central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a complex programmable logic device (CPLD), a coprocessor (assisting the CPU in completing corresponding processing and applications), a microcontroller unit (MCU), etc. Furthermore, the charging test device 900 includes at least one processor integrated in the form of a system-on-chip (SoC), which is commonly referred to as a SoC by those skilled in the art. The SoC may include at least one processor, and when the SoC includes multiple processors, the types of the multiple processors may be different.
[0214] Optionally, Figure 9 The memory 910 in the memory can store test cases, preset feedback libraries, and data processed by the processor. Figure 9 The processor 920 in the above embodiment can implement the steps in the charging test method.
[0215] This application also provides a computer-readable storage medium storing program code that, when run on a computer, causes the computer to perform any of the methods described in the above embodiments.
[0216] This application also provides a computer program product, which includes a computer program that, when run, causes the computer to perform any of the methods described in the above embodiments.
[0217] This application also provides a chip, including: a circuit for performing any of the methods in the above embodiments.
[0218] This application also provides an electronic device, including... Figure 9 The charging test apparatus 900 shown can perform any of the methods described in the above embodiments.
[0219] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0220] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0221] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0222] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0223] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0224] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0225] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0226] The terms "first," "second," etc., used in the specification, claims, and drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms are interchangeable where appropriate; this is merely a way of distinguishing objects with the same attributes in the description of embodiments of this application. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, so that a process, method, system, product, or apparatus that comprises a series of elements is not necessarily limited to those elements but may include other elements not explicitly listed or inherent to those processes, methods, products, or apparatuses.
[0227] In the embodiments of this application, "instruction" can include direct and indirect instructions, as well as explicit and implicit instructions. The information indicated by a certain piece of information is called the information to be instructed. In specific implementation, there are many ways to instruct the information to be instructed, such as, but not limited to, directly instructing the information to be instructed, such as the information to be instructed itself or its index. It can also indirectly instruct the information to be instructed by instructing other information, where there is an association between the other information and the information to be instructed; or it can only instruct a part of the information to be instructed, while the other parts are known or pre-agreed upon. For example, the instruction can be implemented by using a pre-agreed (e.g., protocol predefined) arrangement of various information, thereby reducing the instruction overhead to some extent. This application does not limit the specific method of instruction. It is understood that for the sender of the instruction information, the instruction information can be used to instruct the information to be instructed; for the receiver of the instruction information, the instruction information can be used to determine the information to be instructed.
[0228] It is understood that "greater than" in the examples of the above embodiments can also be replaced with "greater than or equal to", and "less than" can also be replaced with "less than or equal to". Similarly, "less than or equal to" in the examples of the above embodiments can also be replaced with "less than", and "greater than or equal to" can also be replaced with "greater than".
[0229] It is understood that, in the embodiments of this application, the order of the above-mentioned process numbers does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
Claims
1. A charging test method, characterized in that, Applied to a charging test device, the method includes: Obtain a first test case and a second test case. The first test case is used to indicate the first charging step and the first charging parameter of the first charging test. The second test case is used to indicate the second charging step and the second charging parameter of the second charging test. The type of the first charging test is a DC charging test or an AC charging test. If the type of the first charging test is different from the type of the second charging test, in response to the insertion of the charging gun, the first charging test is performed on the device under test in accordance with the first charging steps and the first charging parameters. Without removing the charging gun, perform the second charging test on the device under test according to the second charging steps and the second charging parameters.
2. The method according to claim 1, characterized in that, The method further includes: During the first charging test, first test feedback is received from the device under test; Based on the first test feedback, obtain the first test result of the device under test; Output the first test result.
3. The method according to claim 1 or 2, characterized in that, The process of obtaining the first test case includes: Receive the first test case from the cloud.
4. The method according to claim 1 or 2, characterized in that, The process of obtaining the first test case includes: The first charging step and the first charging parameter are extracted from the first charging data. The first charging data is the charging data of the first device during the charging process. Based on the first charging step and the first charging parameters, obtain the first test case.
5. The method according to any one of claims 1-4, characterized in that, After obtaining the first test case, the process also includes: Output the first test case; Receive user modification operation for the first test case, the modification operation being used to modify the first charging step, and / or the first charging parameter; The first charging test, performed on the device under test according to the first charging step and the first charging parameters, includes: The device under test is subjected to the first charging test according to the modified first charging steps and / or the modified first charging parameters.
6. The method according to any one of claims 1-5, characterized in that, The charging test device includes: a control system, a communication module, a DC gun, an AC gun, and a charging component shared by the DC gun and the AC gun; the communication module is connected to the DC gun. The control system is configured as follows: Obtain the first test case; When the first charging test is a DC charging test, the DC gun is connected to the charging component, and the communication module and the charging component are controlled to perform the first charging test on the device under test using the DC gun according to the first charging steps and the first charging parameters. When the first charging test is an AC charging test, the AC gun is connected to the charging component, and the charging component is controlled to perform the first charging test on the device under test using the AC gun according to the first charging steps and the first charging parameters.
7. The method according to claim 6, characterized in that, The control system is further configured to: During the first charging test, the first test feedback is received from the device under test; The first test result is obtained based on the first test feedback and the preset feedback library, wherein the preset feedback library includes standard feedback corresponding to at least one charging step and at least one charging parameter; Output the first test result.
8. The method according to claim 6 or 7, characterized in that, The control system includes a first control module, a second control module, and a third control module, and the charging component includes a power module, a resistor module, and a low-voltage module. The first control module is configured as follows: Obtain the first test case; When the first charging test is a DC charging test, the third control module is controlled to connect the DC gun to the charging component. The second control module is controlled to output the first charging parameter through at least one of the power module, resistor module and low voltage module, and to receive the first electrical signal from the device under test; The communication module is controlled to send a first message and receive a second message from the device under test, wherein the first test feedback is either the first electrical signal or the second message.
9. The method according to claim 8, characterized in that, The first control module is also configured to: When the type of the first charging test is an AC charging test, the third control module is controlled to connect the AC gun to the charging component. The second control module outputs the first charging parameter through at least one of the power module, resistor module, and low-voltage module, and receives a second electrical signal from the device under test, wherein the first test feedback is the second electrical signal.
10. The method according to any one of claims 1-9, characterized in that, The first test case is a test case table.
11. The method according to any one of claims 1-10, characterized in that, The first charging step includes any one of the following: outputting an electrical signal, receiving an electrical signal, receiving a message, and sending a message.
12. A charging test device, characterized in that, Includes an input interface and a control system, wherein the control system is configured as follows: The first test case and the second test case are obtained through the input interface. The first test case is used to indicate the first charging step and the first charging parameter of the first charging test. The second test case is used to indicate the second charging step and the second charging parameter of the second charging test. The type of the first charging test is either DC charging test or AC charging test. If the type of the first charging test is different from the type of the second charging test, in response to the insertion of the charging gun, the first charging test is performed on the device under test in accordance with the first charging steps and the first charging parameters. Without removing the charging gun, perform the second charging test on the device under test according to the second charging steps and the second charging parameters.
13. The apparatus according to claim 12, characterized in that, The charging test device also includes an output interface, and the control system is further configured to: During the first charging test, the first test feedback is received from the device under test; The first test result is obtained based on the first test feedback and the preset feedback library, wherein the preset feedback library includes standard feedback corresponding to at least one charging step and at least one charging parameter; The output interface is configured to output the first test result.
14. The apparatus according to claim 12 or 13, characterized in that, The control system is further configured to: The first test case is received from the cloud through the input interface.
15. The apparatus according to claim 12 or 13, characterized in that, The control system is further configured to: The first charging step and the first charging parameter are extracted from the first charging data, and the first test case is obtained based on the first charging step and the first charging parameter. The first charging data is the charging data of the first device during the charging process.
16. The apparatus according to claim 13, characterized in that, The output interface is further configured to: output the first test case and receive user modification operations on the first test case, wherein the modification operations are used to modify the first charging step and / or the first charging parameters; The control system is further configured to perform the first charging test on the device under test according to the modified first charging steps and / or the modified first charging parameters.
17. The apparatus according to any one of claims 12-16, characterized in that, The charging test device further includes: a DC gun, an AC gun, and a communication module, wherein the communication module is connected to the DC gun; The control system is specifically configured as follows: When the type of the first charging test is a DC charging test, the first charging test is performed on the device under test using the communication module and the DC gun according to the first charging steps and the first charging parameters. When the type of the first charging test is an AC charging test, the first charging test is performed on the device under test using the AC gun according to the first charging steps and the first charging parameters.
18. The apparatus according to claim 17, characterized in that, The charging test device further includes: a charging component shared by the DC gun and the AC gun; the control system is specifically configured as follows: When the first charging test is a DC charging test, the DC gun is connected to the charging component, and the communication module and the charging component are controlled to perform the first charging test on the device under test using the DC gun according to the first charging steps and the first charging parameters. When the first charging test is an AC charging test, the AC gun is connected to the charging component, and the charging component is controlled to perform the first charging test on the device under test using the AC gun according to the first charging steps and the first charging parameters.
19. The apparatus according to claim 18, characterized in that, The control system includes a first control module, a second control module, and a third control module, and the charging component includes a power module, a resistor module, and a low-voltage module. The first control module is configured as follows: Obtain the first test case; When the first charging test is a DC charging test, a first instruction is sent to the second control module and a second instruction is sent to the communication module according to the first charging steps and the first charging parameters. The second control module is configured as follows: In response to the first instruction, a third instruction is sent to the third control module to control at least one of the power module, resistor module and low voltage module to output the first charging parameter; Receive a first electrical signal from the device under test; The third control module is configured as follows: In response to the third command, the DC gun is connected to the charging component; The communication module is configured as follows: In response to the second instruction, a first message is sent and a second message is received from the device under test, wherein the first test feedback is either the first electrical signal or the second message.
20. The apparatus according to claim 19, characterized in that, The first control module is also configured to: When the first charging test is an AC charging test, a fourth instruction is sent to the second control module according to the first charging steps and the first charging parameters. The second control module is also configured to: In response to the fourth instruction, a fifth instruction is sent to the third control module to control at least one of the power module, resistor module and low voltage module to output the first charging parameter; Receive a second electrical signal from the device under test, wherein the first test feedback is the second electrical signal; The third control module is also configured to: In response to the fifth instruction, the AC gun is connected to the charging component.
21. An electronic device, characterized in that, Includes the charging test apparatus as described in any one of claims 12-20.
22. A computer-readable storage medium, characterized in that... Includes computer instructions that, when executed on a charging test apparatus, cause the charging test apparatus to perform the method as described in any one of claims 1-11.
23. A computer program product, characterized in that, When the computer program product is run on the charging test device, the charging test device performs the method as described in any one of claims 1-11.