Automatic test method, device and equipment for transient signals generated at moments of power-on and power-off of automobile and storage medium

By simulating the vehicle's up and down power conditions to collect and process transient signals, the problem of automated testing of vehicle's up and down power signals is solved, and the occasional problems are effectively reproduced, which improves the testing efficiency and credibility.

CN120507585APending Publication Date: 2025-08-19VOYAH AUTOMOBILE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510711389.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-29
Publication Date
2025-08-19

AI Technical Summary

Technical Problem

The prior art cannot fully capture and analyze the intensity and threshold of the electric transient signal on and off of the vehicle, resulting in difficulty in reproducing occasional problems and low manual testing efficiency.

Method used

By obtaining the on-off cycle of the electronic switch, controlling the on-off cycle of the electronic switch to simulate the up-off operation of the vehicle, conducting the vehicle cycle test to collect transient current and voltage signals, determining the test point signal set, and preprocessing and feature extraction of the signal set to complete automated tests.

Benefits of technology

It realizes intelligent testing of vehicle power-off and down transient signals, efficiently replicate occasional problems, improves the credibility and persuasiveness of test results, reduces manual intervention, and significantly improves testing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120507585A_ABST
    Figure CN120507585A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic testing method, device and equipment for transient signals generated at the moment of power-on and power-off of an automobile and a storage medium, and relates to the technical field of automatic testing. Controlling the on-off of the electronic switch based on the on-off period of the electronic switch to simulate the power-on and power-off working conditions of the corresponding whole vehicle, carrying out the cycle test of the whole vehicle, collecting a corresponding transient current signal and a transient voltage signal, and determining a test point signal set; and preprocessing the test point position signal set, extracting transient signal features, determining transient signal data, and completing an automatic test based on the transient signal data. By simulating the power-on and power-off working conditions of the whole vehicle to carry out cycle testing so as to collect the testing point position signal set, preprocessing is carried out to extract transient signal features, intelligent testing of the power-on and power-off moments of the vehicle is achieved, accidental problems are efficiently reproduced, the credibility of the testing result is improved, manual intervention is reduced, the testing efficiency is remarkably improved, and wide application prospects are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automated testing technology, and in particular to an automated testing method, device, equipment, and storage medium for transient signals generated when a vehicle is powered on or off. Background Art

[0002] With the development of automobile electrification and intelligence, fuel vehicles and new energy vehicles are prone to generate transient voltage or current signals at the moment of power on and off. Traditional fuel vehicles will supply the starting interference signal generated by the ignition coil to all electrical appliances connected to the normal power supply in the vehicle at the moment of power on and off. New energy vehicles use DC-DC to power the entire vehicle and basically do not generate starting interference pulse signals. However, due to more frequent problems such as power failure, the reverse pulse signal generated at the moment of power on still exists and causes abnormal operation of the controller. With the expansion of the application scope of SOA architecture, the power supply method of the controller has changed from normal power supply as the mainstream to power distribution through domain controllers. Among them, the domain controller monitors the working current of the downstream controller through the chip The status is confirmed to determine whether it is a short circuit or overcurrent, thereby deciding whether to terminate the power supply protection circuit. In the SOA architecture and domain controller power distribution mode, the reliability of the traditional fuse blowing mechanism is partially replaced by software monitoring strategies. However, the threshold identification of transient signals and the reproduction of occasional problems still face challenges. For example, due to a small abnormal voltage or current, the domain controller stops distributing power to the downstream controller, which actually causes an abnormal short circuit, but the domain controller does not stop distributing power. The instantaneous power on and off is accompanied by the instantaneous start or stop of certain memory loads, which is a common working condition for problems. Therefore, it is necessary to find the strength of the transient signal and the transient signal threshold that the controller can withstand abnormal operation, and to solve the pain point that occasional problems are difficult to reproduce.

[0003] The current practice is to use the whole vehicle signal shielding and restoration of low-voltage fault diagnosis functions, or real-time monitoring of startup parameters and ambient temperature to determine whether the system is abnormal. This requires manual repeated power-on and power-off operations or single-piece simulation on a test bench. However, the current practice relies on the inherent signals of the whole vehicle or single-system monitoring, and cannot fully capture and analyze the strength and threshold of transient signals and their impact on the controller. The signals captured through a few simple repeated operations are often not convincing enough to illustrate the problem, and only single-piece simulation tests on the test bench cannot reproduce the impact of the whole vehicle. Manual testing is inefficient. Therefore, how to achieve automated testing of vehicle power-on and power-off transient signals and efficient reproduction of occasional problems has become an urgent problem to be solved.

[0004] The above content is only used to assist in understanding the technical solution of this application and does not constitute an admission that the above content is prior art. Summary of the Invention

[0005] The main purpose of this application is to provide an automated testing method, device, equipment and storage medium for transient signals generated when a car is powered on and off, aiming to solve the technical problem of how to achieve automated testing of transient signals generated when a car is powered on and off and efficiently reproduce occasional problems.

[0006] To achieve the above objectives, the present application proposes an automated testing method for transient signals generated when a vehicle is powered on or off, the method comprising:

[0007] Get the on-off cycle of the electronic switch;

[0008] Based on the on-off cycle of the electronic switch, the electronic switch is controlled to simulate the corresponding power-on and power-off conditions of the entire vehicle, and a complete vehicle cycle test is performed to collect corresponding transient current signals and transient voltage signals to determine a test point signal set;

[0009] The test point signal set is preprocessed, and transient signal features are extracted to determine transient signal data, and automated testing is completed based on the transient signal data.

[0010] In one embodiment, the step of obtaining the on-off cycle of the electronic switch includes:

[0011] Get the vehicle lock sleep time and vehicle power-on time;

[0012] The corresponding electronic switch on-off timing parameters are set based on the vehicle lock sleep time and the vehicle power-on time to obtain the electronic switch on-off cycle.

[0013] In one embodiment, the step of controlling the on / off of the electronic switch based on the on / off cycle of the electronic switch to simulate the corresponding vehicle power-on and power-off conditions, performing a vehicle cycle test to collect corresponding transient current signals and transient voltage signals, and determining the test point signal set includes:

[0014] Based on the on-off cycle of the electronic switch, the on-off simulation of the electronic switch corresponds to the power-on and power-off working conditions of the whole vehicle, and the power-on and power-off simulation identification signal of the whole vehicle is determined;

[0015] A vehicle cycle test is performed based on the vehicle power-on and power-off simulation identification signal, and corresponding transient current signals and transient voltage signals are collected to obtain a test point signal set.

[0016] In one embodiment, the step of performing a vehicle cycle test based on the vehicle power-on and power-off simulation identification signal and collecting corresponding transient current signals and transient voltage signals to obtain a test point signal set includes:

[0017] Get test point information;

[0018] Building a vehicle cycle test based on the vehicle power-on and power-off simulation identification signal and the test point information, and determining a test condition, wherein the test condition includes a vehicle power-on condition and a vehicle power-off condition;

[0019] The transient current signal and the transient voltage signal corresponding to the test condition are collected to obtain a test point signal set.

[0020] In one embodiment, the step of preprocessing the test point signal set, extracting transient signal features, and determining transient signal data includes:

[0021] Get the vehicle conversion interface;

[0022] Calling the vehicle conversion interface to read and convert the test point signal set to generate a digital signal;

[0023] The digital signal is preprocessed, and transient signal features are extracted to obtain transient signal data.

[0024] In one embodiment, the step of completing the automated test based on the transient signal data includes:

[0025] Get the vehicle diagnostic interface;

[0026] Detecting incidental vehicle faults based on the vehicle diagnostic interface and the transient signal data, and determining a detection result;

[0027] An automated test is performed based on the detection results.

[0028] In one embodiment, the step of detecting an incidental vehicle fault based on the vehicle diagnostic interface and the transient signal data and determining a detection result includes:

[0029] Get the test threshold;

[0030] Reading the transient signal data based on the vehicle diagnostic interface identifies the corresponding occasional abnormal operating condition of the vehicle and determines an occasional fault test value;

[0031] Based on the accidental failure test value and the test threshold, accidental failures of the entire vehicle are detected to obtain a detection result.

[0032] In addition, to achieve the above-mentioned purpose, the present application also proposes an automated testing device for transient signals generated when a car is powered on or off, the automated testing device for transient signals generated when a car is powered on or off comprising:

[0033] An acquisition module, used for acquiring an on-off cycle of an electronic switch;

[0034] a processing module for controlling the on-off of the electronic switch based on the on-off cycle of the electronic switch to simulate the corresponding vehicle power-on and power-off conditions, and performing a vehicle cycle test to collect corresponding transient current signals and transient voltage signals, and determine a test point signal set;

[0035] The execution module is used to pre-process the test point signal set, extract transient signal features, determine transient signal data, and complete automated testing based on the transient signal data.

[0036] In addition, to achieve the above-mentioned purpose, the present application also proposes an automated testing device for transient signals generated at the moment when a car is powered on or off. The device includes: a memory, a processor, and a computer program stored on the memory and executable on the processor. The computer program is configured to implement the steps of the automated testing method for transient signals generated at the moment when a car is powered on or off as described above.

[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium. A computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the automated testing method for generating transient signals at the moment of powering on and off the vehicle as described above are implemented.

[0038] One or more technical solutions proposed in this application have at least the following technical effects:

[0039] This embodiment proposes an automated testing method for transient signals generated at the moment of powering on and off a car, obtaining an electronic switch on-off cycle; controlling the electronic switch on and off based on the electronic switch on-off cycle to simulate the corresponding vehicle power-on and power-off working conditions, and performing a vehicle cycle test to collect the corresponding transient current signal and transient voltage signal, and determining a test point signal set; preprocessing the test point signal set, extracting transient signal characteristics, determining transient signal data, and completing automated testing based on the transient signal data. This application controls the electronic switch on and off to simulate the corresponding vehicle power-on and power-off working conditions, performs a cycle test to collect transient current signals and transient voltage signals, obtains a test point signal set, and preprocesses the signal set and extracts transient signal characteristics, thereby completing automated testing, realizing intelligent testing of transient signals at the moment of powering on and off a car, efficiently reproducing occasional problems through cycle testing, improving the credibility and persuasiveness of test results, reducing manual intervention, significantly improving test efficiency, and reducing labor costs, and has broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0042] Figure 1 This is a schematic diagram of the architecture of the automated testing method for transient signals generated when a car is powered on or off;

[0043] Figure 2 A flowchart of the first embodiment of the automated testing method for transient signals generated when a vehicle is powered on or off is provided;

[0044] Figure 3 A flow chart illustrating a second embodiment of the automated testing method for transient signals generated when a vehicle is powered on or off;

[0045] Figure 4 This is a schematic diagram of the module structure of an automated testing device for generating transient signals when a car is powered on or off according to an embodiment of the present application;

[0046] Figure 5 This is a schematic diagram of the equipment structure of the hardware operating environment involved in the automated testing method for transient signals generated when a car is powered on and off in an embodiment of the present application.

[0047] The purpose, features and advantages of this application will be further explained with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION

[0048] It should be understood that the specific embodiments described herein are merely used to explain the technical solutions of the present application and are not intended to limit the present application.

[0049] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0050] The main solution of the embodiment of the present application is: obtaining the on-off cycle of the electronic switch; controlling the on-off of the electronic switch based on the on-off cycle of the electronic switch to simulate the corresponding power-on and power-off conditions of the entire vehicle, and performing a cycle test of the entire vehicle to collect the corresponding transient current signal and transient voltage signal, and determine the test point signal set; preprocessing the test point signal set, extracting transient signal characteristics, determining transient signal data, and completing automated testing based on the transient signal data.

[0051] In this embodiment, for ease of description, the following description is based on an automated testing device for identifying transient signals generated when a car is powered on or off as the execution subject.

[0052] Because existing technologies rely on the inherent signals of the entire vehicle or single system monitoring, they are unable to fully capture and analyze the intensity, threshold and impact of transient signals on the controller. The signals captured through a few simple repetitive operations are often not convincing enough to illustrate the problem. Only single-piece simulation tests on the test bench cannot reproduce the impact of the entire vehicle, and manual testing is inefficient.

[0053] This application provides a solution, such as Figure 1 As shown, Figure 1 This is a schematic diagram of the architecture of an automated testing method for transient signals generated when a vehicle is powered on or off. The architecture may include an electronic switch, a current / voltage probe, an oscilloscope, a host computer, and a test vehicle. The electronic switch is used to intermittently connect and disconnect the power-on and power-off paths of the test vehicle. The current / voltage probe is used to collect current and voltage signals at required test points during the power-on and power-off process of the entire vehicle. The oscilloscope is used to digitize the probe-collected signals. The host computer is used to generate pulses to control the connection and disconnection of the electronic switch; it is used to transfer and preprocess the signals collected by the oscilloscope. The test vehicle is a vehicle sample for testing transient signals when a vehicle is powered on or off. It is a modified or configured vehicle with specific test conditions and environment. The first end of the electronic switch is connected to the first end of the test vehicle, the second end of the test vehicle is connected to the second end of the current / voltage probe, the first end of the current / voltage probe is connected to the first end of the oscilloscope, the second end of the oscilloscope is connected to the second end of the host computer, and the first end of the host computer is connected to the second end of the electronic switch.

[0054] It can be seen from the above embodiments that the present application controls the on and off of the electronic switch to simulate the corresponding vehicle power-on and power-off conditions, performs cyclic testing to collect transient current signals and transient voltage signals, obtains a test point signal set, and pre-processes the signal set and extracts transient signal characteristics, thereby completing automated testing and realizing intelligent testing of transient signals when the vehicle is powered on and powered off. Through cyclic testing, occasional problems can be efficiently reproduced, the credibility and persuasiveness of the test results can be improved, manual intervention can be reduced, test efficiency can be significantly improved, labor costs can be reduced, and it has broad application prospects.

[0055] Based on this, the embodiment of the present application provides an automated testing method for transient signals generated when a car is powered on and off. Figure 2 , Figure 2 This is a flow chart of the first embodiment of the automated testing method for transient signals generated when a vehicle is powered on or off.

[0056] In this embodiment, the automated testing method for transient signals generated when a vehicle is powered on or off includes steps S10 to S30:

[0057] Step S10, obtaining the on-off cycle of the electronic switch;

[0058] It should be noted that the on-off cycle of the electronic switch is the time interval from closing to opening and from opening to closing again when the electronic switch is powered on and off.

[0059] It can be understood that the on-off cycle of the electronic switch can be determined based on the on-off timing parameters of the electronic switch set according to the vehicle lock sleep time and the vehicle power-on time, and is used to characterize the control logic and time rules of the electronic switch during the power-on and power-off process of the entire vehicle, thereby accurately simulating the corresponding actual working conditions of powering on and off the entire vehicle, such as vehicle power-on or vehicle power-off. Using the on-off cycle of the electronic switch for cyclic testing can efficiently reproduce occasional problems and improve the credibility and persuasiveness of the test results.

[0060] For ease of understanding, the example of obtaining the on-off cycle of an electronic switch is used for explanation, wherein the information acquisition device is an information acquisition module, and the storage device is a memory.

[0061] The information acquisition module obtains the vehicle locking and sleeping time and the vehicle power-on time, sets the corresponding electronic switch on-off timing parameters based on the vehicle locking and sleeping time and the vehicle power-on time, and obtains the electronic switch on-off cycle. That is, the on-off time of the electronic switch is set according to the actual time required for the vehicle to lock, sleep and power on. This can be achieved by using a pulse-controlled electric suction relay switch to obtain the electronic switch on-off cycle, and subsequent processing is performed based on the electronic switch on-off cycle.

[0062] In a feasible implementation, step S10 may include steps A11 to A12:

[0063] Step A11, obtaining the vehicle lock sleep time and vehicle power-on time;

[0064] It should be noted that the vehicle lock sleep time is the time required for the vehicle to enter the sleep state after locking the vehicle, and the vehicle power-on time is the time required for the vehicle to start up and for the system to be fully powered on and enter the working state.

[0065] It can be understood that the vehicle lock sleep time is used to characterize the process from locking the vehicle to completely entering the low-power sleep mode, which involves operations such as shutting down the entire vehicle system, switching the controller to a low-power mode, and powering off related sensors. The vehicle power-on time is used to characterize the initialization of the entire vehicle system, the startup of the controller, and the power supply process of related equipment. The combination of the vehicle lock sleep time and the vehicle power-on time can accurately set the on-off cycle of the electronic switch, thereby accurately simulating the corresponding actual working conditions of the vehicle powering on and off, such as powering on or off the vehicle, which is more in line with the actual vehicle usage, significantly improves the accuracy and reliability of the test results, effectively reduces test errors, and improves test efficiency.

[0066] Step A12: setting corresponding electronic switch on-off timing parameters based on the vehicle lock sleep time and the vehicle power-on time to obtain the electronic switch on-off cycle.

[0067] It can be understood that the on-off timing parameters of the electronic switch can represent the specific time configuration of the on-off operation of the electronic switch during the power-on and power-off process of the entire vehicle, and may include the start time, duration and interval time of the switch on and off, which is used to accurately simulate the state changes of current and voltage of the vehicle at the moment of power-on and power-off, so that the test conditions are consistent with the corresponding conditions of actual vehicle operation.

[0068] Step S20, controlling the on-off of the electronic switch based on the on-off cycle of the electronic switch to simulate the corresponding vehicle power-on and power-off conditions, and performing a vehicle cycle test to collect corresponding transient current signals and transient voltage signals to determine a test point signal set;

[0069] It should be noted that the test point signal set is a collection of transient current signals and transient voltage signals collected from various preset test points.

[0070] It can be understood that the test point signal set is used to comprehensively capture the changes in current and voltage at the moment of power on and off, and can characterize the original data of transient signals, thereby accurately identifying the transient signal characteristics generated at the moment of power on and off, and automatically identifying occasional anomalies.

[0071] In addition, it should be noted that the vehicle power-on and power-off conditions are actual vehicle operation test conditions for powering on and off the vehicle, which are used to capture transient signals at the moment of powering on and off the vehicle, such as the operation test conditions of the vehicle from a locked dormant state to a fully started state, and the operation test conditions from a running state to a fully shut down state. These can simulate the changes in current and voltage in actual vehicle use, so that the test results are consistent with the actual operating conditions.

[0072] For ease of understanding, the following description is made by taking the determination of a test point signal set as an example, wherein the information acquisition device is an information acquisition module, the storage device is a memory, and the processing device is a processing module.

[0073] The information acquisition module obtains the on-off cycle of the electronic switch, controls the on-off of the electronic switch based on the on-off cycle of the electronic switch to simulate the corresponding power-on and power-off conditions of the whole vehicle, and determines the power-on and power-off simulation identification signal of the whole vehicle, that is, the control instruction can be sent to the electronic switch through the set on-off cycle of the electronic switch to make it perform on-off operations according to the predetermined time interval and sequence. When the electronic switch is in the closed state, the power-on process of the whole vehicle is simulated. At this time, the whole vehicle system starts to work, and each controller and electrical appliance gradually enters the working state. When the electronic switch is in the open state, the power-off process of the whole vehicle is simulated. The whole vehicle system is gradually shut down, and each controller and electrical appliance enters the dormant or power-off state. At the same time, a power-on and power-off simulation identification signal of the whole vehicle is generated during each on-off operation. The identification signal is used to mark the current power-on and power-off state so that the subsequent test system can accurately identify and perform corresponding tests. Operation, based on the whole vehicle power on and off simulation identification signal, the whole vehicle cycle test is carried out, and the corresponding transient current signal and transient voltage signal are collected to obtain a test point signal set, that is, according to the indication of the whole vehicle power on and off simulation identification signal, multiple cycle tests can be carried out in sequence according to the set test conditions, such as the whole vehicle power on condition and the whole vehicle power off condition. During each power on and off process, the transient current signal and transient voltage signal are collected in real time by the current / voltage probe arranged at the test point. The current / voltage probe can accurately capture the current fluctuation and voltage fluctuation generated at the moment of power on and off, including transient phenomena such as short-circuit current, overcurrent signal, voltage spike, voltage drop, etc. The transient current signals and transient voltage signals collected in all cycle tests are summarized to form a complete test point signal set, and subsequent processing is performed based on the test point signal set.

[0074] Step S30 , preprocessing the test point signal set, extracting transient signal features, determining transient signal data, and completing automated testing based on the transient signal data.

[0075] It should be noted that the transient signal data is data obtained by pre-processing the transient current signal and transient voltage signal collected when the electronic switch is turned on and off to simulate the power-on and power-off conditions of the entire vehicle.

[0076] It can be understood that the transient signal data can characterize the actual state of the current and voltage of the entire vehicle at the moment of power on and off, including the peak value of the current, the spike of the voltage, the fluctuation frequency and the waveform change, which can be used to identify occasional faults, efficiently reproduce occasional problems, improve the credibility and persuasiveness of the test results, reduce manual intervention, significantly improve test efficiency and reduce labor costs.

[0077] In addition, it should be noted that the preprocessing is a series of processing operations performed on the collected original signal to remove noise, extract effective information and convert it into a suitable corresponding format, which may include filtering, denoising, signal amplification and data format conversion. The transient signal characteristics are transient parameters extracted from the instantaneous changes in current or voltage, which may include transient current peak, rise time, fall time, fluctuation frequency, voltage spike amplitude and voltage drop depth, which are used to intuitively characterize the transient behavior of current and voltage of the entire vehicle at the moment of power on and off.

[0078] For ease of understanding, the determination of transient signal data is taken as an example for explanation, wherein the information acquisition device is the information acquisition module, the storage device is the memory, and the execution device is the execution module.

[0079] The information acquisition module obtains the vehicle conversion interface and the test point signal set, calls the vehicle conversion interface to read and convert the test point signal set, and generates a digital signal, that is, the digitized signal of the oscilloscope is read by calling the vehicle conversion interface. The vehicle conversion interface is connected to the oscilloscope or other data acquisition equipment to digitize the signal, and is used to read the transient current signal and transient voltage signal collected from the test point, and convert them into digital signals. The digital signal is preprocessed and the transient signal characteristics are extracted to obtain transient signal data. That is, the signals collected by the data are stored by the host computer and preprocessed, such as adjusting the data interval and selecting the maximum value part for storage and display. The read digital signal can be processed according to needs. If the data interval needs to be adjusted, it can be achieved by resampling and extracting the value, and the maximum value can be selected by confirming the maximum value position through a function and then storing the signal before and after a certain time. After the preprocessing is completed, the key features of the transient signal are extracted by the analysis algorithm, such as the peak value, rise time, fall time, fluctuation frequency, etc. of the current and voltage to obtain transient signal data. The information acquisition module obtains The vehicle diagnostic interface and test threshold are obtained. Based on the vehicle diagnostic interface, the transient signal data is read to identify the corresponding vehicle occasional abnormal operating condition and determine the occasional fault test value. That is, if it is necessary to reproduce the occasional problem, the host computer can also connect to the vehicle diagnostic interface and read the corresponding signal to confirm whether the corresponding operating condition has occurred. For example, if the peak value of the transient current signal exceeds the set safety threshold, or the transient voltage signal has an abnormal spike or drop, an occasional fault is determined to have occurred and the occasional fault test value is obtained. Alternatively, the camera monitoring playback can be used to confirm that the problem can be visually observed. If it is necessary to test other types of signals or temperatures, the corresponding sensor and ADC module can be directly replaced. Based on the occasional fault test value and the test threshold, the vehicle occasional fault is detected and a detection result is obtained. That is, the system can determine whether an occasional fault has occurred based on the preset threshold and the occasional fault test value. When the occasional fault test value exceeds the test threshold, the detection result is considered to be an occasional fault. When the occasional fault test value does not exceed the test threshold, the detection result is considered to be a false positive and no occasional fault has occurred. The automated test is completed based on the detection result.

[0080] In a feasible implementation, step S30 may include steps B11 to B13:

[0081] Step B11, obtaining the vehicle conversion interface;

[0082] It should be noted that the vehicle conversion interface is a communication interface connecting the data acquisition device and the host computer.

[0083] It can be understood that the whole vehicle conversion interface has high-speed data transmission capabilities, can process and transmit transient signals in real time, and the standardized design of the whole vehicle conversion interface makes the compatibility between different devices stronger, which is convenient for system expansion and upgrading. The whole vehicle conversion interface can be used to realize the conversion of analog signals to digital signals, and the converted digital signals can be transmitted to the host computer, which significantly improves the efficiency and accuracy of signal processing, and more efficiently identifies and analyzes abnormal features in transient signals, thereby locating occasional abnormal faults.

[0084] Step B12, calling the vehicle conversion interface to read and convert the test point signal set to generate a digital signal;

[0085] It should be noted that the digital signals are transient current and voltage signals obtained after being processed by the vehicle conversion interface.

[0086] It can be understood that the digital signal is represented in a discrete digital form, can characterize the amplitude, frequency and time characteristics of the original analog signal, has strong anti-interference ability, and is easy to store and process.

[0087] Step B13: pre-process the digital signal and extract transient signal features to obtain transient signal data.

[0088] It is understandable that through preprocessing, abnormal features in transient signals can be identified more accurately, and data storage and transmission efficiency can be optimized, reducing the system's demand for hardware resources, achieving accurate positioning of occasional failures in the vehicle system, and improving the reliability and safety of the vehicle.

[0089] In another feasible implementation, step S30 may include steps C11 to C14:

[0090] Step C11, obtaining the vehicle diagnostic interface;

[0091] It should be noted that the vehicle diagnostic interface is a standardized communication interface that realizes two-way data transmission, allowing test equipment to read diagnostic data inside the vehicle and also send control instructions to the vehicle.

[0092] It can be understood that the vehicle diagnostic interface allows test equipment to directly access the vehicle's internal diagnostic data and supports multiple communication protocols, such as CAN, LIN, FlexRay, etc., to adapt to different types of vehicles and diagnostic needs, thereby monitoring the vehicle's operating status in real time, quickly identifying and locating occasional faults, and reducing the time and cost of manual inspection.

[0093] Step C12, detecting incidental vehicle faults based on the vehicle diagnostic interface and the transient signal data, and determining a detection result;

[0094] It should be noted that the detection result is a conclusion that an occasional abnormality or fault exists at the moment of power on and off.

[0095] It can be understood that the detection results may include the type of sporadic fault, the probability of occurrence of sporadic fault, the time of occurrence of sporadic fault and the severity of sporadic fault, so as to intuitively characterize the working state of the whole vehicle system under the influence of transient signals, and significantly improve the efficiency and accuracy of fault diagnosis of the whole vehicle system.

[0096] In a feasible implementation, step C12 may include steps D11 to D13:

[0097] Step D11, obtaining a test threshold;

[0098] It should be noted that the test threshold is a standard value used to determine whether a transient signal is abnormal during the vehicle system test.

[0099] It is understandable that the test threshold can be set based on the signal characteristic range during normal system operation, such as the maximum allowable value of occasional abnormal operating conditions. It can be a single value or a set of value ranges for identifying whether occasional abnormalities occur.

[0100] Step D12, based on the vehicle diagnostic interface, reading the transient signal data, identifying the corresponding vehicle occasional abnormal operating condition, and determining an occasional fault test value;

[0101] It should be noted that the occasional fault test value is the actual number of occurrences of transient signals captured at the moment the vehicle is powered on and off.

[0102] It can be understood that the said occasional fault test value can represent the frequency of occurrence of transient signals under specific working conditions, and is used to evaluate whether there is any abnormality in the vehicle system at the moment of power on and off. For example, the frequent occurrence of transient signals indicates that there will be problems with unstable connection and abnormal controller response.

[0103] In addition, it should be noted that the occasional abnormal operating condition is the abnormal state of the system caused by occasional faults at the moment of power on and off, which is manifested as abnormal fluctuations in transient signals. Through automated testing, the frequency of transient signals at the moment of power on and off can be quickly captured and analyzed, so as to timely discover and handle occasional abnormal faults.

[0104] Step D13: Detecting accidental faults of the entire vehicle based on the accidental fault test value and the test threshold to obtain a detection result.

[0105] It is understandable that the aforementioned occasional vehicle failures are non-continuous failures caused by temporary or intermittent factors during the operation of the vehicle, such as poor line contact, short circuit, sensor failure, contaminated relay contacts, coil breakage, high temperature, low temperature, humidity, program errors, inter-module communication failures, etc. They usually occur randomly, are difficult to predict in advance, and will not persist.

[0106] Step C13: completing the automated test based on the detection results.

[0107] It is understandable that through automated testing, occasional faults that occur at the moment of power on and off can be quickly identified, reducing the subjectivity and uncertainty of manual inspection, quickly locating the source of the fault, shortening maintenance time, reducing maintenance costs, and improving the safety and reliability of the entire vehicle.

[0108] This embodiment proposes an automated testing method for transient signals generated when a vehicle is powered on or off, which obtains the on-off cycle of an electronic switch; controls the on-off of the electronic switch based on the on-off cycle to simulate the corresponding vehicle power-on and power-off conditions, and performs a vehicle cycle test to collect corresponding transient current signals and transient voltage signals to determine a test point signal set; preprocesses the test point signal set, extracts transient signal features, determines transient signal data, and completes automated testing based on the transient signal data. The present invention solves the technical problem of how to realize the automated testing of the transient signals of the vehicle's power on and off and the efficient reproduction of occasional problems. Compared with the existing technology, the present application obtains the on-off cycle of the electronic switch to control the on and off of the electronic switch, simulates the power on and off working conditions of the whole vehicle, and performs cyclic testing to collect transient current signals and transient voltage signals to form a test point signal set, and pre-processes and extracts features of the signal set to determine the transient signal data and complete the automated test, effectively improving the test efficiency of the whole vehicle transient signals generated at the moment of power on and off, efficiently reproducing occasional problems, significantly improving the credibility and persuasiveness of the test results, reducing manual intervention, reducing labor costs, and improving the reliability and safety of the vehicle.

[0109] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction and will not be repeated later.

[0110] In this embodiment, refer to Figure 3 , Figure 3 This is a flow chart of the second embodiment of the automated testing method for transient signals generated when a vehicle is powered on and off. Step S20 specifically includes steps S21 to S22:

[0111] Step S21, controlling the on-off of the electronic switch based on the on-off cycle of the electronic switch to simulate the corresponding vehicle power-on and power-off working conditions, and determining the vehicle power-on and power-off simulation identification signal;

[0112] It should be noted that the vehicle power-on and power-off analog identification signal is a specific signal used to mark the moment when the vehicle is powered on and powered off.

[0113] It can be understood that the vehicle power-on and power-off analog identification signal is used to clearly distinguish the power-on and power-off states of the vehicle. It can be a digital signal or a specific pulse signal with clear high and low level changes, thereby realizing automated testing, reducing manual intervention, improving test efficiency, and reducing test costs.

[0114] For ease of understanding, the following description is made by taking the determination of the vehicle power-on and power-off analog identification signal as an example, wherein the information collection device is the information collection module, the storage device is the memory, and the processing device is the processing module.

[0115] The information acquisition module obtains the on-off cycle of the electronic switch, controls the on-off of the electronic switch based on the on-off cycle of the electronic switch to simulate the corresponding power-on and power-off conditions of the whole vehicle, and determines the power-on and power-off simulation identification signal of the whole vehicle. That is, the control instruction can be sent to the electronic switch through the set on-off cycle of the electronic switch to make it perform on-off operations according to the predetermined time interval and sequence. When the electronic switch is in the closed state, the power-on process of the whole vehicle is simulated. At this time, the whole vehicle system starts to work, and each controller and electrical appliance gradually enters the working state. When the electronic switch is in the open state, the power-off process of the whole vehicle is simulated. The whole vehicle system is gradually shut down, and each controller and electrical appliance enters the sleep or power-off state. At the same time, the power-on and power-off simulation identification signal of the whole vehicle is generated during each on-off operation. The identification signal is used to mark the current power-on and power-off state so that the subsequent test system can accurately identify and perform corresponding test operations, and subsequent processing is performed based on the power-on and power-off simulation identification signal of the whole vehicle.

[0116] Step S22: performing a vehicle cycle test based on the vehicle power-on and power-off simulation identification signal, and collecting corresponding transient current signals and transient voltage signals to obtain a test point signal set.

[0117] It can be understood that the whole vehicle cycle test is a systematic test that repeatedly simulates the vehicle's power on and off, cyclically collecting the corresponding transient current signals and transient voltage signals, so as to fully capture the transient signals at the moment of power on and off, and effectively identify and reproduce occasional faults.

[0118] In addition, it should be noted that the transient current signal is a current fluctuation signal generated at the moment the vehicle is powered on and off, so as to identify occasional current problems that occur at the moment the vehicle is powered on and off, such as short circuit and overcurrent. The transient voltage signal is a voltage fluctuation signal generated at the moment the vehicle is powered on and off, so as to identify occasional voltage problems that occur at the moment the vehicle is powered on and off, such as voltage spikes and voltage drops.

[0119] For ease of understanding, the following description is given by taking obtaining a test point signal set as an example, wherein the information acquisition device is an information acquisition module, the storage device is a memory, and the processing device is a processing module.

[0120] The information acquisition module obtains the vehicle power-on and power-off simulation identification signal and test point information, constructs a vehicle cycle test based on the vehicle power-on and power-off simulation identification signal and the test point information, determines the test working condition, collects the transient current signal and transient voltage signal corresponding to the test working condition, and obtains the test point signal set, that is, according to the indication of the vehicle power-on and power-off simulation identification signal, multiple cycle tests can be performed in sequence according to the set test working conditions, such as the vehicle power-on working condition and the vehicle power-off working condition. During each power-on and power-off process, the transient current signal and transient voltage signal are collected in real time by the current / voltage probe arranged at the test point. The current / voltage probe can accurately capture the current fluctuation and voltage fluctuation generated at the moment of power-on and power-off, including transient phenomena such as short-circuit current, overcurrent signal, voltage spike, voltage drop, etc. The transient current signals and transient voltage signals collected in all cycle tests are summarized to form a complete test point signal set, and subsequent processing is performed based on the test point signal set.

[0121] In a feasible implementation, step S22 may include steps E11 to E13:

[0122] Step E11, obtaining test point information;

[0123] It should be noted that the test point information is a specific location pre-set for monitoring current and voltage changes when transient signals are collected at the moment the vehicle is powered on or off.

[0124] It can be understood that the test point information may include acquisition nodes, controller interfaces, sensor connection points and other important connection parts. Using the test point information for collection can fully cover the key areas of the entire vehicle system and accurately capture transient signals at the moment of power on and off.

[0125] Step E12, constructing a vehicle cycle test based on the vehicle power-on and power-off simulation identification signal and the test point information, and determining a test condition, wherein the test condition includes a vehicle power-on condition and a vehicle power-off condition;

[0126] It should be noted that the test condition is a specific test condition set to simulate the transient signal collection at the moment when the vehicle is powered on and off.

[0127] It is understandable that the test conditions can characterize the various current and voltage state changes encountered by the vehicle during actual use. By simulating the actual operation scenario of the vehicle, the transient signal characteristics of the power on and off moments can be fully captured.

[0128] In addition, it should be noted that the vehicle power-on condition is from the start of the vehicle to the system being fully powered on and entering the working state. At this time, the vehicle system is gradually activated, and each controller, sensor and electrical appliance starts to work, and the current and voltage signals also change accordingly. As the current gradually increases and the voltage rises, transient current spikes or voltage fluctuations will appear. The vehicle power-off condition is from the running state to the complete shutdown of the vehicle. At this time, the vehicle system is gradually shut down, and each controller, sensor and electrical appliance is gradually powered off. The current and voltage signals also change accordingly. As the current gradually decreases and the voltage drops, transient voltage drops or reverse currents will appear.

[0129] Step E13: Collect the transient current signal and the transient voltage signal corresponding to the test condition to obtain a test point signal set.

[0130] It can be understood that by accurately collecting the transient current signals and transient voltage signals corresponding to the test conditions, occasional faults such as short circuit, overcurrent and voltage instability can be effectively identified, which significantly improves the credibility and persuasiveness of the test results. In addition, through automated collection, manual intervention can be reduced, test efficiency can be improved, test costs can be reduced, and the reliability and safety of the entire vehicle system can be improved.

[0131] This embodiment proposes an automated testing method for transient signals generated when a car is powered on or off. Based on the on-off cycle of the electronic switch, the on-off of the electronic switch is controlled to simulate the corresponding vehicle power-on and power-off conditions, and the vehicle power-on and power-off simulation identification signal is determined; based on the vehicle power-on and power-off simulation identification signal, the vehicle is cycled tested, and the corresponding transient current signal and transient voltage signal are collected to obtain a test point signal set. This method solves the technical problem of how to achieve automated testing of transient signals when a car is powered on or off and efficient reproduction of occasional problems. Compared with the existing technology, this application simulates the vehicle power-on and power-off conditions and generates corresponding vehicle power-on and power-off simulation identification signals by precisely controlling the on-off of the electronic switch, performs a vehicle cycle test to collect transient current signals and transient voltage signals, and forms a test point signal set, which significantly enhances the credibility and persuasiveness of the test results, improves test efficiency, reduces manual intervention, and reduces labor costs.

[0132] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the automated testing method for transient signals generated when the vehicle is powered on and off. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0133] This application also provides an automated test device for generating transient signals when a car is powered on or off. Figure 4 The automatic testing device for generating transient signals when the car is powered on and off includes:

[0134] An acquisition module 10 is used to acquire an on-off cycle of an electronic switch;

[0135] The processing module 20 is used to control the on and off of the electronic switch based on the on and off cycle of the electronic switch to simulate the corresponding vehicle power-on and power-off conditions, and perform a vehicle cycle test to collect the corresponding transient current signal and transient voltage signal to determine the test point signal set;

[0136] The execution module 30 is used to pre-process the test point signal set, extract transient signal features, determine transient signal data, and complete automated testing based on the transient signal data.

[0137] The acquisition module 10 is also used to obtain the vehicle lock sleep time and vehicle power-on time;

[0138] The corresponding electronic switch on-off timing parameters are set based on the vehicle lock sleep time and the vehicle power-on time to obtain the electronic switch on-off cycle.

[0139] The processing module 20 is further configured to control the on-off of the electronic switch based on the on-off cycle of the electronic switch to simulate the corresponding vehicle power-on and power-off conditions, and determine the vehicle power-on and power-off simulation identification signal;

[0140] A vehicle cycle test is performed based on the vehicle power-on and power-off simulation identification signal, and corresponding transient current signals and transient voltage signals are collected to obtain a test point signal set.

[0141] The processing module 20 is further used to obtain test point information;

[0142] Building a vehicle cycle test based on the vehicle power-on and power-off simulation identification signal and the test point information to determine the test conditions;

[0143] The transient current signal and the transient voltage signal corresponding to the test condition are collected to obtain a test point signal set.

[0144] The execution module 30 is further used to obtain the vehicle conversion interface;

[0145] Calling the vehicle conversion interface to read and convert the test point signal set to generate a digital signal;

[0146] The digital signal is preprocessed, and transient signal features are extracted to obtain transient signal data.

[0147] The execution module 30 is also used to obtain the vehicle diagnostic interface;

[0148] Detecting incidental vehicle faults based on the vehicle diagnostic interface and the transient signal data, and determining a detection result;

[0149] An automated test is performed based on the detection results.

[0150] The execution module 30 is further configured to obtain a test threshold;

[0151] Reading the transient signal data based on the vehicle diagnostic interface identifies the corresponding occasional abnormal operating condition of the vehicle and determines an occasional fault test value;

[0152] Based on the accidental failure test value and the test threshold, accidental failures of the entire vehicle are detected to obtain a detection result.

[0153] The automated testing device for transient signals generated when a vehicle is powered on and off, provided in this application, employs the automated testing method for transient signals generated when a vehicle is powered on and off, as described in the aforementioned embodiments, and can address the technical issues of automated testing of transient signals generated when a vehicle is powered on and off and efficiently reproducing occasional issues. Compared to the prior art, the beneficial effects of the automated testing device for transient signals generated when a vehicle is powered on and off, provided in this application, are the same as those of the automated testing method for transient signals generated when a vehicle is powered on and off, as described in the aforementioned embodiments. Other technical features of the automated testing device for transient signals generated when a vehicle is powered on and off are the same as those disclosed in the aforementioned embodiments and are not further elaborated upon here.

[0154] The present application provides automated testing equipment for transient signals generated when a vehicle is powered on or off. The automated testing equipment for transient signals generated when a vehicle is powered on or off includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the automated testing method for transient signals generated when a vehicle is powered on or off as described in the first embodiment above.

[0155] Reference below Figure 5 , which shows a schematic structural diagram of automated testing equipment suitable for implementing the embodiment of the present application to detect transient signals generated when a vehicle is powered on and off. The automated testing equipment for detecting transient signals generated when a vehicle is powered on and off in the embodiment of the present application can include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 5 The automated testing equipment shown for generating transient signals when the car is powered on or off is merely an example and should not limit the functions and scope of use of the embodiments of the present application.

[0156] like Figure 5 As shown, the automated test equipment for transient signals generated when a car is powered on or off may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes based on a program stored in a ROM (Read Only Memory) 1002 or a program loaded from a storage device 1003 into a RAM (Random Access Memory) 1004. RAM 1004 also stores various programs and data required for the operation of the automated test equipment for transient signals generated when a car is powered on or off. Processing device 1001, ROM 1002, and RAM 1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, hard disk, etc.; and communication devices 1009. Communication devices 1009 can allow automated test equipment that generates transient signals when a vehicle is powered on or off to communicate wirelessly or wired with other devices to exchange data. While the figure shows automated test equipment that generates transient signals when a vehicle is powered on or off with various systems, it should be understood that not all of the illustrated systems are required to be implemented or present. More or fewer systems may alternatively be implemented or present.

[0157] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0158] The automated testing equipment for transient signals generated when a vehicle is powered on and off, provided in this application, employs the automated testing method for transient signals generated when a vehicle is powered on and off, as described in the aforementioned embodiment, to address the technical issues of automated testing of transient signals generated when a vehicle is powered on and off and the efficient reproduction of occasional problems. Compared to the prior art, the beneficial effects of the automated testing equipment for transient signals generated when a vehicle is powered on and off, provided in this application, are the same as those of the automated testing method for transient signals generated when a vehicle is powered on and off, as described in the aforementioned embodiment. Other technical features of the automated testing equipment for transient signals generated when a vehicle is powered on and off are the same as those disclosed in the aforementioned embodiment and are not further elaborated upon here.

[0159] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0160] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

[0161] The present application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, and the computer-readable program instructions are used to execute the automated testing method for transient signals generated at the moment of powering on and off of a vehicle in the above-mentioned embodiment.

[0162] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0163] The computer-readable storage medium may be included in an automated test device that generates transient signals when the car is powered on or off; or it may exist independently without being assembled into the automated test device that generates transient signals when the car is powered on or off.

[0164] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the automated testing equipment that generates transient signals when the car is powered on and off, the automated testing equipment that generates transient signals when the car is powered on and off: obtains the on-off cycle of the electronic switch; controls the on-off of the electronic switch based on the on-off cycle to simulate the corresponding power-on and power-off conditions of the entire vehicle, and performs a cycle test of the entire vehicle to collect corresponding transient current signals and transient voltage signals, and determine a test point signal set; preprocesses the test point signal set, extracts transient signal characteristics, determines transient signal data, and completes automated testing based on the transient signal data.

[0165] Computer program code for performing the operations of the present application may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0166] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.

[0167] The modules described in the embodiments of the present application may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.

[0168] The computer-readable storage medium provided in this application stores computer-readable program instructions (i.e., a computer program) for executing the aforementioned automated testing method for transient signals generated during vehicle power-on and power-off. This method addresses the technical problem of automated testing of transient signals generated during vehicle power-on and power-off, and the efficient reproduction of occasional issues. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in this application are similar to those of the automated testing method for transient signals generated during vehicle power-on and power-off, provided in the aforementioned embodiments, and are not further elaborated here.

[0169] The above description is only part of the embodiments of the present application and does not limit the patent scope of the present application. All equivalent structural transformations made by using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.

Claims

1. An automated testing method for transient signals generated when a car is powered on or off, characterized in that: The method includes: Get the on-off cycle of the electronic switch; Based on the on-off cycle of the electronic switch, the electronic switch is controlled to simulate the corresponding power-on and power-off conditions of the entire vehicle, and a complete vehicle cycle test is performed to collect corresponding transient current signals and transient voltage signals to determine a test point signal set; The test point signal set is preprocessed, and transient signal features are extracted to determine transient signal data, and automated testing is completed based on the transient signal data.

2. The method according to claim 1, wherein The step of obtaining the on-off cycle of the electronic switch comprises: Get the vehicle lock sleep time and vehicle power-on time; The corresponding electronic switch on-off timing parameters are set based on the vehicle lock sleep time and the vehicle power-on time to obtain the electronic switch on-off cycle.

3. The method according to claim 1, wherein The steps of controlling the on-off of the electronic switch based on the on-off cycle of the electronic switch to simulate the corresponding vehicle power-on and power-off conditions, performing a vehicle cycle test to collect corresponding transient current signals and transient voltage signals, and determining the test point signal set include: Based on the on-off cycle of the electronic switch, the on-off simulation of the electronic switch corresponds to the power-on and power-off working conditions of the whole vehicle, and the power-on and power-off simulation identification signal of the whole vehicle is determined; A vehicle cycle test is performed based on the vehicle power-on and power-off simulation identification signal, and corresponding transient current signals and transient voltage signals are collected to obtain a test point signal set.

4. The method according to claim 3, wherein The step of performing a vehicle cycle test based on the vehicle power-on and power-off simulation identification signal and collecting corresponding transient current signals and transient voltage signals to obtain a test point signal set includes: Get test point information; Building a vehicle cycle test based on the vehicle power-on and power-off simulation identification signal and the test point information, and determining a test condition, wherein the test condition includes a vehicle power-on condition and a vehicle power-off condition; The transient current signal and the transient voltage signal corresponding to the test condition are collected to obtain a test point signal set.

5. The method according to claim 1, wherein The step of preprocessing the test point signal set, extracting transient signal features, and determining transient signal data includes: Get the vehicle conversion interface; Calling the vehicle conversion interface to read and convert the test point signal set to generate a digital signal; The digital signal is preprocessed, and transient signal features are extracted to obtain transient signal data.

6. The method according to claim 1, wherein The step of completing the automated test based on the transient signal data includes: Get the vehicle diagnostic interface; Detecting incidental vehicle faults based on the vehicle diagnostic interface and the transient signal data, and determining a detection result; An automated test is performed based on the detection results.

7. The method according to claim 6, wherein The step of detecting an occasional vehicle fault based on the vehicle diagnostic interface and the transient signal data and determining a detection result includes: Get the test threshold; Reading the transient signal data based on the vehicle diagnostic interface identifies the corresponding occasional abnormal operating condition of the vehicle and determines an occasional fault test value; Based on the accidental failure test value and the test threshold, accidental failures of the entire vehicle are detected to obtain a detection result.

8. An automated testing device for transient signals generated when a car is powered on or off, characterized in that: The device comprises: An acquisition module, used for acquiring an on-off cycle of an electronic switch; a processing module for controlling the on-off of the electronic switch based on the on-off cycle of the electronic switch to simulate the corresponding vehicle power-on and power-off conditions, and performing a vehicle cycle test to collect corresponding transient current signals and transient voltage signals, and determine a test point signal set; The execution module is used to pre-process the test point signal set, extract transient signal features, determine transient signal data, and complete automated testing based on the transient signal data.

9. An automated testing device for generating transient signals when a car is powered on or off, characterized in that: The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the automated testing method for transient signals generated at the moment of powering on and off of an automobile as described in any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the automated testing method for generating transient signals when the vehicle is powered on and off as described in any one of claims 1 to 7 are implemented.