Automatic test method, device and system for quiescent current of whole vehicle, and storage medium

By implementing the vehicle quiescent current automation test method in the vehicle test system, and using automated control instructions to generate and execute, the existing problem of low degree of automation of tests is solved, and the testing efficiency and automation are improved.

CN119619610APending Publication Date: 2025-03-14BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311183963.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-13
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

The quiescent current testing method of existing vehicles is low in automation, resulting in low testing efficiency.

Method used

Provide a vehicle's static current automated test method. By obtaining the cases to be tested, analyzing the test scenarios, generating control instructions and sending them to the vehicle, controlling the vehicle to run and power off according to the test scenario, then collecting the static current value and comparing it with the set threshold to determine the test results.

Benefits of technology

It improves the degree of automation of tests, reduces manual operations, improves testing efficiency, and enables testing of test vehicles to be tested without coordinating and scheduling third-party resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119619610A_ABST
    Figure CN119619610A_ABST
Patent Text Reader

Abstract

The invention discloses a whole vehicle quiescent current automatic test method, device, storage medium and system, and the method comprises the steps: obtaining a to-be-tested case, analyzing a test scene limited by the to-be-tested case, determining a control instruction corresponding to the test scene, transmitting the control instruction to a to-be-tested vehicle, and testing the quiescent current of the whole vehicle. Controlling the to-be-tested vehicle to run according to the test scene and to be powered off after running, acquiring a control instruction corresponding to the test scene, sending the control instruction to the to-be-tested vehicle, controlling the to-be-tested vehicle to run according to the test scene and to be powered off, responding to a power-off signal of the to-be-tested vehicle, and controlling the current acquisition circuit to be switched on, and a current acquisition part in the current acquisition circuit acquires the quiescent current of the vehicle load, acquires the quiescent current value of the vehicle load acquired by the current acquisition part in real time, and compares the quiescent current value with a set threshold value within a set test duration to determine a test result. According to the invention, during the static current test, human resources are released, and the test efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle accessory control technology, and in particular to a method, device, storage medium and system for automatic testing of static current of a whole vehicle. Background Art

[0002] The static current test system is used to obtain the static current of the vehicle and each controller in the vehicle, check whether there is unnecessary leakage current, and determine whether the vehicle meets the transportation time requirements and the start-up requirements after long-term storage. During the test, the system monitors the working current value of the vehicle load after the vehicle is powered off and hibernated. If the current value is less than the specific design value, it means that the hibernation is successful. Otherwise, there may be a controller that is not in hibernation, which will consume too much battery power and affect the normal use of the vehicle.

[0003] At present, the static current test is mainly for testing. Dozens of test cases need to be executed according to different scenarios. For each scenario, staff need to enter the vehicle and control the vehicle according to the needs of the test case (for example, the test case is for the scenario of turning off the air conditioner before powering off. The staff enters the vehicle and turns on the air conditioner for a period of time, then turns off the air conditioner, and then controls the vehicle to power off). After that, the vehicle is controlled to power off, and the vehicle enters sleep after waiting for a few minutes after the vehicle is powered off, and then the test is continued for a period of time. After executing one test case, the next test case is called, and the above test process is repeated until all test cases are executed. The static current test of the prior art requires coordination and scheduling of the vehicle's operation process, and the process efficiency is low. Summary of the invention

[0004] The technical problem to be solved by the present application is the low degree of automation of the existing vehicle static current testing method, which leads to low testing efficiency. To this end, the present application provides a vehicle static current automated testing method, device, storage medium and system.

[0005] In a first aspect, the technical solution of the present application provides a method for automatically testing the static current of a vehicle, comprising:

[0006] Obtaining a test case to be tested, and parsing a test scenario defined by the test case to be tested;

[0007] Obtaining a control instruction corresponding to the test scenario and sending the control instruction to the vehicle to be tested, wherein the control instruction is used to control the vehicle to be tested to power off after running according to the test scenario defined by the test case;

[0008] In response to the power-off signal of the vehicle to be tested, the current collection circuit is controlled to be turned on; the current collection circuit includes a current collection component connected in series in the loop where the vehicle load is located;

[0009] Acquiring in real time the static current value of the vehicle load collected by the current collection component;

[0010] Within a set test duration, the static current value is compared with a set threshold value to determine a test result.

[0011] In some embodiments, the method for automatically testing the static current of a whole vehicle, wherein the step of obtaining the control instruction corresponding to the test scenario and sending the control instruction to the vehicle to be tested comprises:

[0012] Analyzing the test status of each controller in the vehicle to be tested under the test scenario defined by the test case to be tested;

[0013] Combining the control signals corresponding to the states to be tested of the controllers to obtain the control instructions;

[0014] The control instruction is sent to a terminal device associated with the vehicle to be tested, and the terminal device is controlled to send the control instruction to the vehicle to be tested.

[0015] In some embodiments, the method for automatically testing the static current of a whole vehicle, wherein the step of obtaining the control instruction corresponding to the test scenario and sending the control instruction to the vehicle to be tested comprises:

[0016] Analyzing the test status of each controller in the vehicle to be tested under the test scenario defined by the test case to be tested;

[0017] Establishing a communication connection between the voice control component and the vehicle to be tested;

[0018] Sending a voice control prompt signal, wherein the voice control prompt signal is used to remind the user to control each controller in the vehicle to be tested to enter the test state through the voice control component;

[0019] A voice control signal based on the voice control prompt signal feedback is obtained as the control instruction and the control instruction is sent to the vehicle to be tested.

[0020] In some embodiments, the method for automatically testing the static current of a vehicle, in response to a power-off signal of the vehicle to be tested, comprises:

[0021] Determining whether a vehicle running status signal sent by the CAN bus of the vehicle to be tested is read;

[0022] If the vehicle running status signal is not read, it is determined that a power-off signal of the vehicle to be tested is responded to.

[0023] The method for automatically testing the static current of a vehicle described in some solutions, wherein the static current value is compared with a set threshold value within a set test time to determine the test result, comprises:

[0024] If the static current value is always less than the set threshold value within the set test duration, it is determined that the static current of the entire vehicle under the test scenario passes the test.

[0025] The vehicle static current automated testing method described in some solutions also includes:

[0026] Within the set time period, reading in real time the vehicle running status signal sent by the CAN bus of the vehicle to be tested;

[0027] If the vehicle operation status signal is not empty, it is determined that the vehicle static current test under the test scenario is in an invalid state.

[0028] In a second aspect, the technical solution of the present application provides a vehicle static current automatic test device, comprising:

[0029] A test case parsing module is configured to obtain a test case to be tested and parse a test scenario defined by the test case to be tested;

[0030] A power-off instruction acquisition module is configured to acquire a control instruction corresponding to the test scenario and send the control instruction to the vehicle to be tested, wherein the control instruction is used to control the vehicle to be tested to power off after running according to the test scenario defined by the test case;

[0031] A circuit control module is configured to control the current collection circuit to be turned on in response to a power-off signal of the vehicle to be tested; the current collection circuit includes a current collection component connected in series in the loop where the vehicle load is located;

[0032] A current acquisition module, configured to acquire in real time the static current value of the vehicle load acquired by the current acquisition component;

[0033] The test result determination module is configured to compare the static current value with a set threshold value within a set test time to determine the test result.

[0034] In a third aspect, the technical solution of the present application provides a storage medium in which a program signal is stored. After a computer reads the program signal, the computer executes the automatic vehicle static current testing method described in any one of the solutions in the first aspect.

[0035] In a fourth aspect, the technical solution of the present application provides an electronic device, comprising at least one processor and at least one memory, wherein at least one of the memories stores program information, and after reading the program information, at least one of the processors executes the automatic vehicle static current testing method described in any one of the technical solutions of the first aspect.

[0036] In a fifth aspect, the technical solution of the present application provides an automated vehicle static current testing system, comprising the automated vehicle static current testing device described in the second aspect or the storage medium described in the third aspect or the electronic device described in the fourth aspect.

[0037] The vehicle static current automatic test system described in some solutions also includes:

[0038] an electrically controlled switch, one end of which is connected to an electrode of a vehicle battery;

[0039] A current collection component, one end of which is connected to the vehicle load, and the other end of which is connected to the other end of the control switch;

[0040] The vehicle static current automatic testing device or the electronic device is used to control the electronic control switch. When the electronic control switch is turned on, the path between the current collection component and the vehicle load is turned on, and the current collection component collects the static current value of the vehicle load.

[0041] The vehicle static current automatic test system described in some solutions also includes:

[0042] A relay, whose external electrode is electrically connected to the one electrode of the vehicle battery, whose normally closed input end is connected between the vehicle load and the external electrode, and whose normally open input end is connected between the current collection component and the external electrode;

[0043] A relay control module, electrically connected to a power supply terminal of the relay;

[0044] The relay control module and the normally open input terminal form the electric control switch. The relay control module controls the power supply terminal to change the power-on state of the relay to control the normally open input terminal of the relay to be closed or opened.

[0045] Compared with the prior art, the above technical solution provided by this application has at least the following beneficial effects:

[0046] The method, device, storage medium and system for automatic testing of static current of a whole vehicle provided by the present application can determine the control instruction corresponding to the test scenario by acquiring the test case, parsing the test scenario defined by the test case, and sending the control instruction to the vehicle to be tested, so as to control the vehicle to be tested to run according to the test scenario and power off after running, obtain the control instruction corresponding to the test scenario and send the control instruction to the vehicle to be tested, control the vehicle to be tested to run according to the test scenario and power off after running, respond to the power-off signal of the vehicle to be tested, control the current acquisition circuit to be turned on, and the current acquisition component in the current acquisition circuit can collect the static current of the vehicle load, and obtain the static current value of the vehicle load collected by the current acquisition component in real time, and compare the static current value with the set threshold value within the set test time, so as to determine the test result. The scheme of the present application can identify the test scenario, generate the control instruction corresponding to the test scenario, and use the control instruction to control the vehicle to be tested, so that the vehicle to be tested can run according to the test scenario and power off, and after power off, control the circuit where the current acquisition module is located to be turned on and collect the static current value of the vehicle load, and compare the relationship between the static current value and the set threshold value according to the required test time to obtain the test result. The above test process defines the test scenario in the test case. When executing the test, the test scenario is directly parsed from the test case and the control instructions are determined. The vehicle's own functions of receiving and executing control instructions are utilized to control the vehicle to enter the test scenario defined by the test case. The static current of the vehicle in the test scenario is collected and tested, and the test result of the static current is determined. The test of the vehicle to be tested can be realized without coordinating and scheduling third-party resources, thereby improving the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 This is a flow chart of a method for automated testing of static current of a vehicle according to an embodiment of the present application;

[0048] Figure 2 This is a structural block diagram of a vehicle static current automatic test device according to an embodiment of the present application;

[0049] Figure 3 A schematic diagram of the hardware connection relationship of an electronic device for executing an automated vehicle static current test method according to an embodiment of the present application;

[0050] Figure 4 A schematic diagram of a connection structure between a vehicle static current automatic test system and a vehicle load and a battery according to an embodiment of the present application;

[0051] Figure 5 This is a schematic diagram of the connection structure between the vehicle static current automatic testing system and the vehicle load and battery described in another embodiment of the present application. DETAILED DESCRIPTION

[0052] The specific implementation of the present application is further described below with reference to the accompanying drawings.

[0053] It is easy to understand that according to the technical solution of the present application, without changing the essential spirit of the present application, a variety of structural modes and implementation modes that can be replaced by those skilled in the art can be replaced with each other. Therefore, the following specific implementation modes and drawings are only exemplary descriptions of the technical solution of the present application, and should not be regarded as the entirety of the present application or as a limitation or restriction on the technical solution of the application.

[0054] The directional terms such as up, down, left, right, front, back, front, back, top, bottom, etc. mentioned or may be mentioned in this specification are defined relative to the structures shown in the drawings. They are relative concepts and may change accordingly according to different positions and different usage conditions. Therefore, these or other directional terms should not be interpreted as restrictive terms.

[0055] The present application embodiment provides a vehicle static current automatic test method, which is applied to a control host of a static current test system or a computer device with an operating system, such as Figure 1 As shown, the method includes:

[0056] S10: Obtain a test case to be tested, and parse the test scenario defined by the test case to be tested.

[0057] The test cases are pre-written and stored in the system.

[0058] The test scenario refers to the operating state of the vehicle before the vehicle is powered off, for example: the air conditioner is turned on for half an hour before the vehicle is powered off; the electric seat is in the heating function before the vehicle is powered off; the refrigerator is in the cooling state before the vehicle is powered off. Different test scenarios correspond to different test cases.

[0059] S20: Obtain control instructions corresponding to the test scenario and send the control instructions to the vehicle to be tested, wherein the control instructions are used to control the vehicle to be tested to run according to the test scenario defined by the test case and then power off.

[0060] In different test scenarios, the activation status of each controller in the vehicle to be tested is different. For example, when the air conditioner needs to be turned on, the controller corresponding to the air conditioner is adjusted to the on state, and when the seat massage function needs to be turned on, the controller corresponding to the seat massage function is adjusted to the on state. For the test scenario, the status of each controller in the vehicle to be tested can be determined, and control instructions can be generated.

[0061] After the control command is determined, the control command can be sent to the vehicle to be tested directly or indirectly. When it is implemented specifically, it can be determined based on the communication connection between the system and the vehicle to be tested. For example, the system is connected to the mobile phone, and the mobile phone is connected to the vehicle. In this case, the control command can be sent to the mobile phone first, and then sent to the vehicle to be tested by the mobile phone.

[0062] S30: In response to the power-off signal of the vehicle to be tested, controlling the current collection circuit to be turned on; the current collection circuit includes a current collection component connected in series in the loop where the vehicle load is located.

[0063] After the vehicle is powered off, each controller in the test vehicle will quickly enter a dormant state. At this time, the test vehicle will no longer generate a driving status signal. If the system wants to read the driving status signal through the test vehicle, it will not be able to read it. At this time, it can be determined that the vehicle is powered off.

[0064] S40: Acquire the static current value of the vehicle load collected by the current collection component in real time.

[0065] After the vehicle is powered off, the static current value of the vehicle load should be less than the set threshold, which means that all controllers in the vehicle have entered a dormant state.

[0066] S50: Within a set test duration, the static current value is compared with a set threshold value to determine a test result.

[0067] The set test duration is determined according to the vehicle model, etc., and generally, fifteen minutes can be selected. That is, after the vehicle to be tested is powered off, the controller in the vehicle to be tested should always be less than the set threshold within the set test duration.

[0068] The above scheme of the present application, by obtaining the test case to be tested, parsing the test scenario defined by the test case to be tested, can determine the control instruction corresponding to the test scenario, send the control instruction to the vehicle to be tested, and control the vehicle to be tested to run according to the test scenario and power off after running, obtain the control instruction corresponding to the test scenario and send the control instruction to the vehicle to be tested, control the vehicle to be tested to run according to the test scenario and power off, respond to the power-off signal of the vehicle to be tested, control the current acquisition circuit to be turned on, and the current acquisition component in the current acquisition circuit can collect the static current of the vehicle load, and obtain the static current value of the vehicle load collected by the current acquisition component in real time, and compare the static current value with the set threshold value within the set test duration, and determine the test result. The scheme of the present application, by automatically identifying the test scenario, automatically generating the control instruction corresponding to the test scenario, and using the control instruction to control the vehicle to be tested, so that the vehicle to be tested can automatically run and power off according to the test scenario, after powering off, control the loop where the current acquisition module is located to be turned on and collect the static current value of the vehicle load, and compare the relationship between the static current value and the set threshold value according to the required test duration to obtain the test result. The above test process defines the test scenario in the test case. When executing the test, the test scenario is directly parsed from the test case and the control instructions are determined. The vehicle's own functions of receiving and executing control instructions are utilized to control the vehicle to enter the test scenario defined by the test case. The static current of the vehicle in the test scenario is collected and tested, and the test result of the static current is determined. The test of the vehicle to be tested can be realized without coordinating and scheduling third-party resources, thereby improving the test efficiency.

[0069] In some embodiments, in step S20, obtaining the control instruction corresponding to the test scenario and sending the control instruction to the vehicle to be tested includes:

[0070] S201: Analyze the test status of each controller in the vehicle to be tested under the test scenario defined by the test case.

[0071] As mentioned above, the application scenarios in the test cases can correspond to the operating states of the various controllers in the vehicle to be tested, which are used as the state to be tested. The state to be tested can include on, off, temperature value, angle value, etc., which can be determined according to the object actually controlled by the controller. For example, for the controller of the air conditioner, the state to be tested can include on, cooling, wind speed, temperature, etc.

[0072] S202: Combining the control signals corresponding to the states to be tested of the controllers to obtain the control instruction.

[0073] By combining the states to be tested of all controllers together, the control instructions can be determined.

[0074] S203: Send the control instruction to a terminal device associated with the vehicle to be tested, and control the terminal device to send the control instruction to the vehicle to be tested.

[0075] The terminal device can be a user's mobile phone, and the user's mobile phone is connected to the vehicle to be tested. When the user's mobile phone receives the control command, the vehicle can be controlled to enter the test scene according to the control command.

[0076] This solution can control the vehicle to be tested through the terminal device, and the test system only needs to communicate with the terminal device, which improves the flexibility of the test solution.

[0077] In another embodiment of the vehicle static current automatic test method, in step S20, obtaining the control instruction corresponding to the test scenario and sending the control instruction to the vehicle to be tested includes:

[0078] S2A: Analyze the test status of each controller in the vehicle to be tested under the test scenario defined by the test case.

[0079] As mentioned above, the application scenarios in the test cases can correspond to the operating states of various controllers in the vehicle to be tested, which are used as the states to be tested. The states to be tested may include on, off, temperature value, angle value, etc., which can be determined based on the object actually controlled by the controller.

[0080] S2B: Establishing a communication connection between the voice control component and the vehicle to be tested.

[0081] The voice control unit is a control unit with a microphone for remote control of the vehicle.

[0082] S2C: Sending a voice control prompt signal, wherein the voice control prompt signal is used to remind the user to control each controller in the vehicle to be tested to enter the test state through the voice control component.

[0083] That is, after the communication connection between the voice control component and the vehicle to be tested is established, the user is reminded that he can make a sound, and control the vehicle to be tested to run according to the requirements of the test scenario through sound.

[0084] S2D: Acquire a voice control signal based on the voice control prompt signal feedback as the control instruction and send the control instruction to the vehicle to be tested.

[0085] The user can send a voice control signal under the prompt of the voice control prompt signal, and the voice control signal can be collected by the voice control component. For example, to remind the user to control the air conditioner in the vehicle to be tested to turn on the cooling mode through the voice control component, the user can give "turn on the cooling mode of the air conditioner", so that the user can use voice to control the vehicle to enter the corresponding test scene.

[0086] With the solution of the present application, users can control the vehicle to operate according to the test scenario corresponding to the test case through voice control, and the user does not need to operate the vehicle in the car, which can reduce manpower consumption and improve testing efficiency.

[0087] Further, in the method, in step S30, responding to the power-off signal of the vehicle to be tested includes:

[0088] S301: Determine whether a vehicle running status signal sent by the CAN bus of the vehicle to be tested is read.

[0089] The test system can be connected to the CAN bus interface of the vehicle to read the vehicle operation status signal sent by the CAN bus. If the vehicle is not powered off, the signal can be obtained normally. If the vehicle is powered off, the signal cannot be obtained and the acquisition result is empty.

[0090] S302: If the vehicle running status signal is not read, determine whether a power-off signal of the vehicle to be tested is responded to.

[0091] If the vehicle operation status signal is not read, it means that the controllers in the vehicle to be tested have entered a dormant state.

[0092] In this solution, whether the vehicle is powered off is directly determined by whether there is signal transmission on the CAN bus. The determination method is simple but highly accurate.

[0093] In some embodiments, in step S50, comparing the static current value with a set threshold value within a set test duration to determine a test result includes:

[0094] S501: If the static current value is always less than the set threshold value within the set test duration, it is determined that the static current of the entire vehicle under the test scenario passes the test.

[0095] That is, when the vehicle to be tested is powered off and all controllers are in sleep mode, the battery power will not be greatly consumed. At this time, the battery will discharge externally, showing a weak current output, and the vehicle load may only have a weak current. If the static current is tested, its value will not exceed the weak current, and a certain redundancy value is added to the weak current to determine the set threshold.

[0096] Furthermore, the above scheme also includes:

[0097] S60: reading the vehicle running status signal sent by the CAN bus of the vehicle to be tested in real time within the set time period.

[0098] S70: If the vehicle operation status signal is not empty, it is determined that the vehicle static current test in the test scenario is in an invalid state.

[0099] In theory, the test to determine whether the electrostatic current of the whole vehicle meets the requirements should meet the time requirement, such as fifteen minutes. If the vehicle is suddenly powered on during this process, it is difficult to determine whether the test result is accurate. Therefore, the result is judged invalid at this time.

[0100] It can be understood that in the above scheme of the present application, when there are multiple test cases, it is only necessary to repeat the above steps, and execute a loop for each test case until all test cases are called.

[0101] The present application also provides a vehicle static current automatic test device, including:

[0102] The test case analysis module 10 is configured to obtain the test case to be tested and analyze the test scenario defined by the test case to be tested. The test case to be tested is pre-written and stored in the system. The test scenario refers to the operating state of the vehicle before the vehicle is powered off, for example: before the vehicle is powered off, the air conditioner is turned on for half an hour; before the vehicle is powered off, the electric seat is in the heating function; before the vehicle is powered off, the vehicle refrigerator is in the cooling state. Different test scenarios correspond to different test cases.

[0103] The power-off instruction acquisition module 20 is configured to acquire the control instruction corresponding to the test scenario and send the control instruction to the vehicle to be tested. The control instruction is used to control the vehicle to be tested to power off after running according to the test scenario defined by the test case; under different test scenarios, the opening state of each controller in the vehicle to be tested is different. For example, when the air conditioner needs to be turned on, the controller corresponding to the air conditioner is adjusted to the opening state, and when the seat massage function needs to be turned on, the controller corresponding to the seat massage function is adjusted to the opening state. For the test scenario, the state of each controller in the vehicle to be tested can be determined, and the control instruction can be generated. After determining the control instruction, the control instruction can be sent to the vehicle to be tested directly or indirectly. When it is implemented specifically, it can be determined according to the communication connection between the system and the vehicle to be tested. For example, the system is connected to the mobile phone for communication, and the mobile phone is connected to the vehicle for communication. At this time, the control instruction can be sent to the mobile phone first, and then sent to the vehicle to be tested by the mobile phone.

[0104] The circuit control module 30 is configured to control the conduction of the current acquisition circuit in response to the power-off signal of the vehicle to be tested; the current acquisition circuit includes a current acquisition component connected in series in the loop where the vehicle load is located; after the vehicle is powered off, each controller in the vehicle to be tested will quickly enter a dormant state, and the vehicle to be tested will not generate a driving status signal at this time. If the system wants to read the driving status signal through the vehicle to be tested, it will not be able to read it, and it can be determined that the vehicle is powered off at this time.

[0105] The current acquisition module 40 is configured to obtain in real time the static current value of the vehicle load collected by the current acquisition component; after the vehicle is powered off, the static current value of the vehicle load should be less than the set threshold, which means that all controllers in the vehicle have entered a sleep state.

[0106] The test result determination module 50 is configured to compare the static current value with the set threshold value within the set test duration to determine the test result. The set test duration is determined according to the vehicle model, etc., and generally, fifteen minutes can be selected. That is, after the vehicle to be tested is powered off, the controller in the vehicle to be tested should always be less than the set threshold value within the set test duration.

[0107] The above scheme of the present application, by automatically identifying the test scenario, automatically generates the control instructions corresponding to the test scenario, and uses the control instructions to control the vehicle to be tested, so that the vehicle to be tested can automatically run according to the test scenario and power off. After power off, the control current acquisition module is connected to the circuit and the static current value of the vehicle load is collected. According to the required test duration, the relationship between the static current value and the set threshold is compared to obtain the test result. In the above test process, by defining the test scenario in the test case, when executing the test, the test scenario is directly parsed from the test case to be tested and the control instructions are determined. The vehicle is controlled to enter the test scenario defined by the test case by using the vehicle's own function of receiving and executing control instructions, and the static current of the vehicle in the test scenario is collected and tested to determine the test result of the static current. The test of the vehicle to be tested can be realized without coordinating and scheduling third-party resources, thereby improving the test efficiency.

[0108] In some schemes, the power-off instruction acquisition module 20 is used to analyze the state to be tested of each controller in the vehicle to be tested under the test scenario defined by the test case. The control signal corresponding to the state to be tested of each controller is combined to obtain the control instruction. The control instruction is sent to the terminal device associated with the vehicle to be tested, and the terminal device is controlled to send the control instruction to the vehicle to be tested. Specifically, the application scenario in the test case can correspond to the operating state of each controller in the vehicle to be tested, which is used as the state to be tested. The state to be tested may include opening, closing, temperature value, angle value, etc., which can be determined according to the object actually controlled by the controller. For example, the controller of the air conditioner can include opening, cooling, wind speed, temperature, etc. The state to be tested of all controllers is integrated together to determine the control instruction. The terminal device can be a user's mobile phone, and the user's mobile phone is connected to the vehicle to be tested. When the user's mobile phone receives the control instruction, the vehicle can be controlled to enter the scene to be tested according to the control instruction. This scheme can control the vehicle to be tested through the terminal device, and the test system only needs to communicate with the terminal device, which improves the flexibility of the test scheme.

[0109] In another scheme, the power-off instruction acquisition module 20 is used to parse the state of each controller in the vehicle to be tested under the test scenario defined by the test case. A communication connection is established between the voice control component and the vehicle to be tested. A voice control prompt signal is issued, and the voice control prompt signal is used to remind the user to control each controller in the vehicle to be tested to enter the state to be tested through the voice control component. The voice control signal based on the feedback of the voice control prompt signal is obtained as the control instruction and the control instruction is sent to the vehicle to be tested. Specifically, the voice control component is a control component with a microphone for remotely controlling the vehicle. That is, after the communication connection between the voice control component and the vehicle to be tested is established, the user is reminded that a sound can be made, and the user can make a voice control signal under the prompt of the voice control prompt signal. The voice control signal can be collected by the voice control component, and the vehicle to be tested can be controlled by sound to run according to the requirements of the test scenario. In the scheme of the present application, the user can control the vehicle to run according to the test scenario corresponding to the test case by voice control, and the user does not need to operate the vehicle in the car, which can reduce manpower consumption and improve test efficiency.

[0110] Furthermore, the circuit control module 30 is used to determine whether the vehicle operation status signal sent by the CAN bus of the vehicle to be tested is read. If the vehicle operation status signal is not read, it is determined that the power-off signal of the vehicle to be tested is responded to. In this solution, the test system can be connected to the CAN bus interface of the vehicle to read the vehicle operation status signal sent by the CAN bus. If the vehicle is not powered off, the signal can be obtained normally. If the vehicle is powered off, the signal cannot be obtained, and the acquisition result is empty at this time. That is, if the vehicle operation status signal is not read, it means that the controllers in the vehicle to be tested have entered a dormant state. In this solution, whether the vehicle is powered off is directly determined by whether there is a signal transmission on the CAN bus. The judgment method is simple but highly accurate.

[0111] In some schemes, the test result determination module 50 is used to determine that the static current of the whole vehicle in the test scenario has passed the test if the static current value is always less than the set threshold value within the set test duration. That is, after the vehicle to be tested is powered off and all controllers are in sleep mode, there will not be a large consumption of the battery power. At this time, the battery will discharge to the outside, showing a weak current output, and the vehicle load may only have a weak current. If the static current is tested, its value will not exceed the weak current, and a certain redundancy value is added to the weak current to determine the set threshold.

[0112] Furthermore, the above scheme also includes a power-on monitoring module, which reads the vehicle operation status signal sent by the CAN bus of the vehicle to be tested in real time within the set time. If the vehicle operation status signal is not empty, it is determined that the static current test of the whole vehicle under the test scenario is invalid.

[0113] An embodiment of the present application provides a storage medium, in which a program signal is stored. After a computer reads the program signal, it executes the automatic vehicle static current testing method described in any one of the above method embodiments.

[0114] The present application embodiment provides an electronic device, such as Figure 3As shown, the electronic device includes at least one processor 301 and at least one memory 302, at least one of the memories 302 stores program information, and at least one of the processors 301 reads the program information and executes the vehicle static current automatic test method described in any one of the above method embodiments. The device may also include: an input device 303 and an output device 304. The processor 301, the memory 302, the input device 303 and the output device 304 can be connected in communication. The memory 302, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The processor 301 executes various functional applications and data processing by running the non-volatile software programs, instructions and modules stored in the memory 302, that is, the vehicle static current automatic test method provided by any of the above schemes is implemented. The memory 302 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required by at least one function; the data storage area may store data created according to the use of the vehicle static current automatic test method, etc. In addition, the memory 302 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 302 may optionally include a memory remotely arranged relative to the processor 301, and these remote memories may be connected to a device for executing the automatic test method for static current of a whole vehicle through a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network and a combination thereof. The input device 303 may receive input user clicks, and generate signal inputs related to user settings and function controls of the automatic test method for static current of a whole vehicle. The output device 304 may include a display device such as a display screen. When the one or more modules are stored in the memory 302, when the one or more processors 301 are run, the automatic test method for static current of the whole vehicle in any of the above-mentioned method embodiments is executed.

[0115] An embodiment of the present application also provides a whole vehicle static current automatic testing system, including the whole vehicle static current automatic testing device or storage medium or electronic device provided in the above embodiment scheme.

[0116] Further, as shown in Figure 4, the whole vehicle static current automatic test system also includes: an electric control switch, one end of which is connected to an electrode of the vehicle battery; a current collection component, one end of which is connected to the vehicle load and the other end of which is connected to the other end of the control switch; the whole vehicle static current automatic test device or the electronic device is used to control the electric control switch, and when the electric control switch is turned on, the current collection component is connected to the path of the vehicle load, and the current collection component collects the static current value of the vehicle load. Among them, the signal received by the electric control switch comes from the whole vehicle static current automatic test device or the electronic device. As shown in the figure, when the electric control switch is disconnected, the connection path between the vehicle load and the battery can still be controlled, but the path where the current collection component is located is in a disconnected state. In this case, the static current will not be detected. If the electric control switch is turned on, the current collection component is connected to the loop shown in the figure, and the current collection component can be used to collect the circuit in the loop, so that the static current can be collected.

[0117] Furthermore, if Figure 5 As shown, the vehicle static current automatic test system also includes a relay, whose external electrode is electrically connected to the one electrode of the vehicle battery, whose normally closed input end is connected between the vehicle load and the external electrode, and whose normally open input end is connected between the current collection component and the external electrode; a relay control module, which is electrically connected to the power supply end of the relay; the relay control module and the normally open input end form the electronically controlled switch, and the relay control module controls the power supply end to change the power-on state of the relay to control the normally open input end of the relay to close or open.

[0118] In the above scheme, one electrode of the vehicle battery can be either a positive electrode or a negative electrode. According to the battery electrode selection, the external electrode of the relay is selected to meet the requirements of positive and negative electrode connection.

[0119] In a specific implementation, the accuracy of the current acquisition component is preferably 0.01mA, and the test system can be connected through a USB port, and the test system controls the current acquisition device to collect static current. The relay can select a normally closed high current relay, and the specification of the normally closed high current relay is 250A. The relay has 5 connection pins, the "12V-" pin is connected to the negative pole of the 12V power supply, and the "12v+" and the relay controller are connected in series to one electrode of the battery.

[0120] In one case, the normally closed input terminal of the high-current relay is connected to the line of the vehicle load, and the normally open input terminal is connected to the line after the vehicle load, the series fuse, and the current collection component. The positive pole of the high-current relay is connected to the negative pole of the vehicle battery. When the 12V circuit of the high-current relay is not turned on, the current circuit is a power-on circuit, and the current path is: positive pole of battery - vehicle load - normally closed input terminal of the high-current relay - positive pole of the high-current relay - negative pole of the battery; when the 12V circuit of the high-current relay is turned on, the current circuit is a dormant circuit, and the measured static current path is: positive pole of battery - vehicle load - fuse - current collection component - normally open input terminal of the high-current relay - positive pole of the high-current relay - negative pole of the battery. The dormant circuit can collect static current.

[0121] In one case, the normally closed input terminal of the high-current relay is connected to the negative pole of the vehicle battery, and the normally open input terminal is connected to the vehicle load, the series fuse, and the circuit after the current collection component. The positive pole of the high-current relay is connected to the vehicle load circuit and then to the negative pole of the vehicle battery. When the 12V circuit of the high-current relay is not turned on, the current circuit is a power-on circuit, and the current path is: battery positive pole - vehicle load - high-current relay positive pole - high-current relay normally closed input terminal - battery negative pole; when the 12V circuit of the high-current relay is turned on, the current circuit is a dormant circuit, and the measured static current path is: battery positive pole - vehicle load - high-current relay positive pole - high-current relay normally open input terminal - current collection component - fuse - battery negative pole. The dormant circuit can collect static current.

[0122] In specific implementation, the relay controller can be implemented by a relay. The relay controller is connected to the test system through a USB port. The output terminal of the relay controller is connected to the 12V terminal of the high-current relay, which can control the on and off of the 12V current of the high-current relay, thereby automatically switching between the normally open input terminal and the normally closed input terminal of the high-current relay. When the relay controller closes the 12V terminal of the high current, the high-current relay switches from the default normally closed input to the normally open input.

[0123] The test system can be connected to the vehicle load through a bus communication device (CAN card) to monitor the CAN bus signal of the "vehicle to be tested" and determine whether the vehicle is powered off and in sleep mode. The test system monitors the bus in real time through the CAN card. If the bus signal disappears, it means that the vehicle to be tested is powered off. The test system sends a conduction command to the relay controller, the sleep circuit is turned on, and static current can be collected.

[0124] In this embodiment, a terminal device may also be included, and the terminal device may be a mobile phone, through which the vehicle remote control software can be installed, and the USB debugging permission can be opened; the vehicle remote control software is used for remote control and monitoring of the vehicle to be tested, and the specific working conditions include but are not limited to: remote vehicle unlocking / locking, window opening / closing. The mobile phone runs ADB script instructions to control the vehicle remote control software. The mobile phone can be connected to the test system through a USB interface. The test system is used to install "automatic test execution software", save "automatic test scripts", "test cases", "test data records", etc. The test system is connected to the "current acquisition device" through a USB interface, to the "bus communication device" through a USB interface, and to the "test mobile phone" through a USB interface. In the above scheme of the present application, when it is specifically executed, the test system can display the test process in the form of a web page, and control the actions of each component or node in the test system by operating the web page, and can also display the test results on the web page for viewing. The whole vehicle static current automatic test system and method provided in the embodiment of the present application can realize the automation of the entire test process and automatic processing of test exceptions.

[0125] As needed, the above technical solutions can be combined to achieve the best technical effect.

[0126] The above are only the principles and preferred embodiments of the present application. It should be noted that, for ordinary technicians in this field, on the basis of the principles of the present application, several other modifications can be made, which should also be considered as the protection scope of the present application.

Claims

1. A method for automatically testing the static current of a vehicle, characterized in that: include: Obtaining a test case to be tested, and parsing a test scenario defined by the test case to be tested; Obtaining a control instruction corresponding to the test scenario and sending the control instruction to the vehicle to be tested, wherein the control instruction is used to control the vehicle to be tested to power off after running according to the test scenario defined by the test case; In response to the power-off signal of the vehicle to be tested, the current collection circuit is controlled to be turned on; the current collection circuit includes a current collection component connected in series in the loop where the vehicle load is located; Acquiring in real time the static current value of the vehicle load collected by the current collection component; Within a set test duration, the static current value is compared with a set threshold value to determine a test result.

2. The automatic vehicle static current test method according to claim 1 is characterized in that: The obtaining of the control instruction corresponding to the test scenario and sending the control instruction to the vehicle to be tested includes: Analyzing the test status of each controller in the vehicle to be tested under the test scenario defined by the test case to be tested; Combining the control signals corresponding to the states to be tested of the controllers to obtain the control instruction; The control instruction is sent to a terminal device associated with the vehicle to be tested, and the terminal device is controlled to send the control instruction to the vehicle to be tested.

3. The automatic test method for static current of a whole vehicle according to claim 1, characterized in that: The obtaining of the control instruction corresponding to the test scenario and sending the control instruction to the vehicle to be tested includes: Analyzing the test status of each controller in the vehicle to be tested under the test scenario defined by the test case to be tested; Establishing a communication connection between the voice control component and the vehicle to be tested; Sending a voice control prompt signal, wherein the voice control prompt signal is used to remind the user to control each controller in the vehicle to be tested to enter the test state through the voice control component; A voice control signal based on the voice control prompt signal feedback is obtained as the control instruction and the control instruction is sent to the vehicle to be tested.

4. The automatic test method for static current of a whole vehicle according to claim 1, characterized in that: The step of responding to a power-off signal of the vehicle to be tested comprises: Determining whether a vehicle running status signal sent by the CAN bus of the vehicle to be tested is read; If the vehicle running status signal is not read, it is determined that a power-off signal of the vehicle to be tested is responded to.

5. According to the method for automatic testing of static current of a vehicle according to any one of claims 1 to 4, it is characterized in that: The step of comparing the static current value with a set threshold value within the set test duration to determine a test result includes: If the static current value is always less than the set threshold value within the set test duration, it is determined that the static current of the entire vehicle under the test scenario passes the test.

6. The automatic test method for static current of a whole vehicle according to claim 5, characterized in that: Also includes: Within the set time period, reading in real time the vehicle running status signal sent by the CAN bus of the vehicle to be tested; If the vehicle operation status signal is not empty, it is determined that the vehicle static current test under the test scenario is in an invalid state.

7. A complete vehicle static current automatic test device, characterized in that: include: A test case parsing module is configured to obtain a test case to be tested and parse a test scenario defined by the test case to be tested; A power-off instruction acquisition module is configured to acquire a control instruction corresponding to the test scenario and send the control instruction to the vehicle to be tested, wherein the control instruction is used to control the vehicle to be tested to power off after running according to the test scenario defined by the test case; A circuit control module is configured to control the current collection circuit to be turned on in response to a power-off signal of the vehicle to be tested; the current collection circuit includes a current collection component connected in series in the loop where the vehicle load is located; A current acquisition module, configured to acquire in real time the static current value of the vehicle load acquired by the current acquisition component; The test result determination module is configured to compare the static current value with a set threshold value within a set test time to determine the test result.

8. A storage medium, characterized in that: The storage medium stores a program signal, and the computer reads the program signal and executes the automatic vehicle static current testing method according to any one of claims 1 to 6.

9. An electronic device, characterized in that: The electronic device includes at least one processor and at least one memory, at least one of the memories stores program information, and at least one of the processors reads the program information and executes the vehicle static current automatic testing method according to any one of claims 1-6.

10. A vehicle static current automatic test system, characterized in that: It includes the vehicle static current automatic testing device as described in claim 7 or the storage medium as described in claim 8 or the electronic device as described in claim 9.

11. The vehicle static current automatic test system according to claim 10, characterized in that: Also includes: an electrically controlled switch, one end of which is connected to an electrode of a vehicle battery; A current collection component, one end of which is connected to the vehicle load, and the other end of which is connected to the other end of the control switch; The vehicle static current automatic testing device or the electronic device is used to control the electronic control switch. When the electronic control switch is turned on, the path between the current collection component and the vehicle load is turned on, and the current collection component collects the static current value of the vehicle load.

12. The vehicle static current automatic test system according to claim 11, characterized in that: Also includes: A relay, whose external electrode is electrically connected to the one electrode of the vehicle battery, whose normally closed input end is connected between the vehicle load and the external electrode, and whose normally open input end is connected between the current collection component and the external electrode; A relay control module, electrically connected to a power supply terminal of the relay; The relay control module and the normally open input terminal form the electric control switch. The relay control module controls the power supply terminal to change the power-on state of the relay to control the normally open input terminal of the relay to be closed or opened.