CN109491360B - Simulation test method, device and system of vehicle control unit and electronic equipment - Google Patents

Simulation test method, device and system of vehicle control unit and electronic equipment Download PDF

Info

Publication number
CN109491360B
CN109491360B CN201811156772.9A CN201811156772A CN109491360B CN 109491360 B CN109491360 B CN 109491360B CN 201811156772 A CN201811156772 A CN 201811156772A CN 109491360 B CN109491360 B CN 109491360B
Authority
CN
China
Prior art keywords
test
input signal
value interval
signal
simulation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811156772.9A
Other languages
Chinese (zh)
Other versions
CN109491360A (en
Inventor
马东辉
吴远迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Chehejia Automobile Technology Co Ltd
Original Assignee
Beijing CHJ Automotive Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing CHJ Automotive Information Technology Co Ltd filed Critical Beijing CHJ Automotive Information Technology Co Ltd
Priority to CN201811156772.9A priority Critical patent/CN109491360B/en
Publication of CN109491360A publication Critical patent/CN109491360A/en
Application granted granted Critical
Publication of CN109491360B publication Critical patent/CN109491360B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0262Confirmation of fault detection, e.g. extra checks to confirm that a failure has indeed occurred
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the disclosure relates to a simulation test method, a simulation test device, a simulation test system and electronic equipment of a vehicle control unit; the simulation test method of the vehicle control unit comprises the following steps: acquiring an input signal input into the simulation test model, and generating a test case according to the input signal; the input signal comprises at least one signal value interval, each signal value interval corresponds to a trigger probability, and the sum of the trigger probabilities of the signal value intervals corresponding to the same input signal is 1; and executing the test case and outputting a test result. The embodiment of the disclosure solves the problems that the existing simulation test method of the whole vehicle controller has more invalid test cases and the test efficiency is lower.

Description

Simulation test method, device and system of vehicle control unit and electronic equipment
Technical Field
The embodiment of the disclosure relates to the technical field of communication, and in particular relates to a simulation test method, device and system for a vehicle control unit and an electronic device.
Background
A Vehicle Control Unit (VCU) is a core component of a new energy automobile Control system and plays an important role in the functions of normal running, safety performance, network management, fault diagnosis and processing and the like of an automobile. At present, the whole vehicle controller is generally subjected to software in-loop test through a handwritten test case or a test case generated statically by software; the efficiency of handwriting test cases is low, and the test cases generated statically by software may generate a large number of invalid test cases due to the fixed state value of the input signal, thereby affecting the effectiveness of the test and reducing the test efficiency.
Disclosure of Invention
The embodiment of the disclosure provides a simulation test method, a simulation test device, a simulation test system and electronic equipment of a vehicle control unit, and solves the problems that in the existing simulation test method of the vehicle control unit, more invalid test cases exist and the test efficiency is lower.
In a first aspect, an embodiment of the present disclosure provides a simulation test method for a vehicle control unit, including:
acquiring an input signal input into a simulation test model, and generating a test case according to the input signal; the input signal comprises at least one signal value interval, each signal value interval corresponds to a trigger probability, and the sum of the trigger probabilities of the signal value intervals corresponding to the same input signal is 1;
and executing the test case and outputting a test result.
In some embodiments, the step of obtaining an input signal input into the simulation test model and generating a test case according to the input signal includes:
receiving all input signals input into a simulation test model, and determining a test scene in the simulation test model;
acquiring a signal value interval of each input signal and a trigger probability corresponding to the signal value interval;
selecting the input signal corresponding to the test scene from all the input signals to generate a test case; and the occurrence probability of each signal value interval in the input signal for generating the test case corresponds to the trigger probability.
In some embodiments, the simulation test model includes at least one test scenario that covers all of the input signals.
In some embodiments, the signal value section includes a limit value section and a middle value section, and the step of obtaining the signal value section of each input signal and the trigger probability corresponding to the signal value section includes:
acquiring a limit value interval and a middle value interval of each input signal;
and defining that the trigger probability of the limit value interval in the signal value interval is smaller than the trigger probability of the middle value interval.
In some embodiments, the test case is a first test case, and the input signal is a first input signal; after the step of executing the test case and outputting the test result, the method further comprises:
acquiring a first test result corresponding to the first test case;
under the condition that the first test result meets a preset requirement, changing the first input signal into a second input signal, and generating a second test case;
and executing the second test case and outputting a corresponding test result.
In a second aspect, an embodiment of the present disclosure further provides a simulation testing apparatus of a vehicle control unit, including:
the acquisition module is used for acquiring an input signal input into the simulation test model and generating a test case according to the input signal; the input signal comprises at least one signal value interval, each signal value interval corresponds to a trigger probability, and the sum of the trigger probabilities of the signal value intervals corresponding to the same input signal is 1;
and the first execution module is used for executing the test case and outputting a test result.
In some embodiments, the obtaining module comprises:
the receiving submodule is used for receiving all input signals input into the simulation test model and determining a test scene in the simulation test model;
the acquisition submodule is used for acquiring a signal value interval of each input signal and a trigger probability corresponding to the signal value interval;
the generating submodule is used for selecting the input signals corresponding to the test scene from all the input signals to generate a test case; and the occurrence probability of each signal value interval in the input signal for generating the test case corresponds to the trigger probability.
In some embodiments, the simulation test model includes at least one test scenario that covers all of the input signals.
In some embodiments, the signal value range includes a limit value range and a middle value range, and the obtaining sub-module is further configured to:
acquiring a limit value interval and a middle value interval of each input signal;
and defining that the trigger probability of the limit value interval in the signal value interval is smaller than the trigger probability of the middle value interval.
In some embodiments, the test case is a first test case, and the input signal is a first input signal; the simulation testing device of the vehicle control unit further comprises:
the acquisition module is used for acquiring a first test result corresponding to the first test case;
the changing module is used for changing the first input signal into a second input signal and generating a second test case under the condition that the first test result meets the preset requirement;
and the second execution module is used for executing the second test case and outputting a corresponding test result.
In a third aspect, an embodiment of the disclosure further provides a simulation test system of a vehicle control unit, including the simulation test device of the vehicle control unit according to any one of the second aspects.
In a fourth aspect, an embodiment of the present disclosure further provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the simulation test method for the vehicle control unit according to any one of the first aspect.
In the embodiment of the disclosure, the trigger probability is defined for the signal value interval of the input signal input into the simulation test model, so that the occurrence probability of the input signal generating the test case is controlled, the generation of invalid test cases can be reduced or even avoided, and the test efficiency is further improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments of the present disclosure will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive labor.
Fig. 1 is a flowchart of a simulation test method for a vehicle control unit according to an embodiment of the present disclosure;
fig. 2 is a structural diagram of a simulation testing apparatus of a vehicle control unit according to an embodiment of the present disclosure.
Detailed Description
Technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are some, not all, of the embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making any creative effort, shall fall within the protection scope of the disclosure.
Referring to fig. 1, fig. 1 is a flowchart of a simulation testing method of a vehicle control unit according to an embodiment of the present disclosure, and as shown in fig. 1, the method includes the following steps:
step 101, obtaining an input signal input in a simulation test model, and generating a test case according to the input signal.
It should be noted that the simulation test method of the vehicle control unit may be applied to corresponding electronic devices, such as a specific computer for performing the simulation test of the vehicle control unit. In an embodiment of the present disclosure, the input signal includes at least one signal value section, each signal value section corresponds to a trigger probability, and a sum of the trigger probabilities of the signal value sections corresponding to the same input signal is 1.
The input signal may refer to driving parameters of a vehicle to be tested in a simulation test process of the vehicle controller, such as an accelerator pedal control signal, an engine control signal, a vehicle door control signal, and the like. The signal value intervals may refer to signal values that may exist in the input signals, and each input signal includes at least one signal value interval; for example, the input signal is an accelerator pedal control signal, and the accelerator pedal control signal may include 5 signal value intervals of 0 to 20 yards, 20 to 40 yards, 40 to 80 yards, 80 to 120 yards, more than 120 yards, and the like. The trigger probability corresponding to each signal value interval can be manually set by a tester or can be obtained through statistics of test software. It should be noted that the trigger probability of the signal value interval may be fixed, or may be set correspondingly for different test scenarios. For example, when the test scene is a climbing slope, a vehicle is required to have a large speed, that is, a small speed is avoided, the trigger probability of a signal value interval of 0-20 codes is set to be 5%, the trigger probability of a signal value interval of 20-40 codes is set to be 10%, the trigger probability of a signal value interval of 40-80 codes is set to be 60%, the trigger probability of a signal value interval of 80-120 codes is set to be 20%, and the trigger probability of a signal value interval greater than 120 codes is set to be 5%; therefore, when the test case for climbing is generated, the invalid test case with a smaller vehicle speed or an overlarge vehicle speed is avoided, the rationality of the input signal and the normalization of the test case are ensured, the invalid test case is reduced, and the test efficiency can be improved.
In an embodiment of the present disclosure, the step 101 may include:
receiving all input signals input into the simulation test model, and determining a test scene in the simulation test model;
acquiring a signal value interval of each input signal and a trigger probability corresponding to the signal value interval;
and selecting the input signal corresponding to the test scene in all the input signals to generate a test case.
It should be noted that the occurrence probability of each signal value interval in the input signal for generating the test case corresponds to the trigger probability. For example, assuming that the input signal a includes two signal value intervals of a1 and a2, the trigger probability of a2 is 90%, and the trigger probability of a2 is 10%; if the number of test cases generated by the input signal a is 100, the probability that the a1 appears in the 100 test cases is 90%, that is, 90 test cases, and the probability that the a2 appears in the 100 test cases is 10%, that is, 10 test cases.
In addition, the test scene may refer to a driving scene that may occur in the vehicle operation process, such as a climbing, backing, parking, and the like.
In the embodiment of the present disclosure, all input signals that may be involved in all test scenarios in the simulation test model may be acquired, or input signals that are involved in a specified test scenario in the simulation test model may also be acquired in regard to the specified test scenario.
For example, in a designated test scenario of the simulation test model, the test scenario involves four input signals a, b, c, and d, where the input signal a includes two signal value intervals a1 and a2, and the test case generated by a1 and b, c, and d is valid or needs to be observed on the test result, a2 is only valid with the test case generated by d, and a2 is not valid with the test case generated by b, and c; the trigger probability of a2 may be set to 20% at this time. For example, if the number of test cases related to the input signal a is 10, then a2 will only occupy 2 of the 10 test cases. Therefore, in the test scenario, the probability of the occurrence of a2 is reduced, and the scenario in which a2, b and c are combined is also reduced, so that the test case with invalid test cases can be prevented from spending more test time, and the test efficiency is improved.
In an embodiment of the present disclosure, the simulation test model includes at least one test scenario that covers all input signals. Therefore, after all test scenes of the simulation test model are determined, the input signals corresponding to each test scene are obtained, namely all the input signals related to all the test scenes are obtained, and all the test cases are generated at one time. In such a manner, after the simulation test model is constructed, all test cases are generated at one time, and then all the generated test cases are tested one by one according to the preset test rule, and in the test process, the trigger probability of the input signal does not need to be set or changed, so that the test can be carried out smoothly.
It should be noted that the signal value section includes a limit value section and a middle value section, and the step of obtaining the signal value section of each input signal and the trigger probability corresponding to the signal value section includes:
acquiring a limit value interval and a middle value interval of each input signal;
and defining that the trigger probability of the limit value interval in the signal value interval is smaller than the trigger probability of the middle value interval.
It can be understood that, in order to ensure the validity of the test result, in the process of generating the test case, the generation of invalid tests is also avoided or reduced, and the invalid test case is prevented from occupying too much test time and affecting the test efficiency. In the embodiment of the disclosure, the signal value interval of the input signal and the trigger probability of the signal value interval are controlled, and the trigger probability of the limit value interval in the signal value interval is defined to be smaller than the trigger probability of the middle value interval, so that the number of test cases generated in the limit value interval is smaller, and the generation of invalid test cases can be reduced. The limit value intervals can be understood as signal value intervals for generating invalid test cases, and the values of part of the limit value intervals can be understood as values causing fault conditions; the intermediate value interval can be understood as a signal value interval for generating a normal and effective test case.
For example, when a battery of a vehicle fails, a driving motor loses power, the vehicle enters an emergency control state, and the probability of occurrence of such a limit test scenario is low, so that control is required to avoid the occurrence of such test cases, for example, 100 test cases related to battery input signals are operated, and only 1 test case related to battery failure is expected to occur; the trigger probability of the signal value interval related to the battery fault in the battery input signal is set to be 1%, and the trigger probability of the signal value interval in which the battery is normal is also set to be 99%. It can be understood that, in this specific embodiment, the limit value interval of the battery input signal is the signal value interval of the battery fault, and the middle value interval is the signal value interval of the battery normal.
And 102, executing the test case and outputting a test result.
It can be understood that, after the test case is generated, the test case is executed to perform the simulation test of the vehicle control unit, and the test result is output, for example, the test result may be displayed on the electronic device in the form of a test report, so as to facilitate the reading of the test result by a tester, and perform corresponding processing on the fault result that does not meet the preset requirement, such as performing a retest.
In the embodiment of the present disclosure, the generation of the test case may be dynamic generation, where dynamic generation may be understood as that the test case is not generated once before the simulation test is performed, and the test case may be generated according to a test result of a previous test case in a process of performing the simulation test. That is, the input signal for generating the next test case is changed according to the test result of the previous test case, and thus a changed test scenario is generated. For this implementation, the test case in the step 101 and the step 102 is a first test case, the input signal is a first input signal, and the step 102 may further include:
acquiring a first test result corresponding to the first test case;
under the condition that the first test result meets a preset requirement, changing the first input signal into a second input signal, and generating a second test case;
and executing the second test case and outputting a corresponding test result.
In this embodiment, the test case generated in step 101 is a first test case, and after the first test result of the first test case is obtained, the first test result may be analyzed according to a preset algorithm rule to determine whether the first test result meets a preset requirement. And if the first test result meets the preset requirement, acquiring a first input signal for generating the first test case, automatically changing the first input signal into a second input signal according to a preset rule, generating a second test case under the test scene, executing the second test case, and analyzing and judging the second test result. This process may be continued until the manually set maximum number of test cases is completed. In addition, if the first test result of the first test case does not meet the preset requirement, the generation of the subsequent test case is stopped.
For example, the test scenario is maximum vehicle speed control, the input signal may include an accelerator pedal, and the generated first test case may be that the input of the accelerator pedal is maximum, and the vehicle speed is not increased after reaching the maximum value. If the test result of the test case meets the preset requirement, the input signal in the first test case is changed to include an accelerator pedal and a downhill slope, a second test case is generated, and whether the vehicle speed in the second test result does not exceed the maximum value is judged; and if the vehicle speed does not exceed the maximum value, continuously changing the input signal, and iteratively generating the test cases in such a way until the manually set maximum number of the test cases is completed.
In the embodiment, through the judgment and analysis of the test result of the previous test case, the input signal is automatically changed to generate the next test case for testing under the condition that the test result of the previous test case meets the preset requirement, and if the test result meets the preset requirement, the input signal is automatically changed again to generate the subsequent test case until the test is completed. Therefore, the modification of the input signal is not required to be manually executed by a tester, the testing efficiency is improved, and the simulation testing method of the whole vehicle controller is more intelligent and efficient.
According to the technical scheme provided by the embodiment of the disclosure, the triggering probability is defined for the signal value interval of the input signal input into the simulation test model, so that the occurrence probability of the input signal generating the test case is controlled, the generation of invalid test cases can be reduced or even avoided, and the test efficiency is further improved.
Referring to fig. 2, fig. 2 is a structural diagram of a simulation testing apparatus of a vehicle control unit according to an embodiment of the present disclosure, and as shown in fig. 2, the simulation testing apparatus 200 of the vehicle control unit includes:
an obtaining module 201, configured to obtain an input signal input in the simulation test model, and generate a test case according to the input signal; the input signal comprises at least one signal value interval, each signal value interval corresponds to a trigger probability, and the sum of the trigger probabilities of the signal value intervals corresponding to the same input signal is 1;
the first execution module 202 is configured to execute the test case and output a test result.
In some embodiments, the obtaining module 201 includes:
the receiving submodule is used for receiving all input signals input into the simulation test model and determining a test scene in the simulation test model;
the acquisition submodule is used for acquiring a signal value interval of each input signal and a trigger probability corresponding to the signal value interval;
the generating submodule is used for selecting the input signals corresponding to the test scene from all the input signals to generate a test case; and the occurrence probability of each signal value interval in the input signal for generating the test case corresponds to the trigger probability.
In some embodiments, the simulation test model includes at least one test scenario that covers all of the input signals.
In some embodiments, the signal value range includes a limit value range and a middle value range, and the obtaining sub-module is further configured to:
acquiring a limit value interval and a middle value interval of each input signal;
and defining that the trigger probability of the limit value interval in the signal value interval is smaller than the trigger probability of the middle value interval.
In some embodiments, the test case is a first test case, and the input signal is a first input signal; the simulation testing device 200 of the vehicle control unit further includes:
the acquisition module is used for acquiring a first test result corresponding to the first test case;
the changing module is used for changing the first input signal into a second input signal and generating a second test case under the condition that the first test result meets the preset requirement;
and the second execution module is used for executing the second test case and outputting a corresponding test result.
It should be noted that the simulation testing apparatus 200 of the vehicle controller can implement each process of the simulation testing method embodiment of the vehicle controller shown in fig. 1, and can achieve the same technical effect, and for avoiding repetition, the details are not described here again.
According to the technical scheme provided by the embodiment of the disclosure, the simulation testing device 200 of the vehicle control unit defines the trigger probability for the signal value interval of the input signal input into the simulation testing model, so that the occurrence probability of the input signal generating the test case is controlled, the generation of invalid test cases can be reduced or even avoided, and the testing efficiency is further improved.
The embodiment of the present disclosure further provides a simulation test system of a vehicle controller, which includes the above-mentioned simulation test device of a vehicle controller, and the simulation test system of a vehicle controller can implement each process of the embodiment of the simulation test device of a vehicle controller shown in fig. 2, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
An embodiment of the present disclosure further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the computer program implements each process of the simulation test method embodiment of the vehicle control unit shown in fig. 1, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
An embodiment of the present disclosure further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the simulation testing method embodiment of the vehicle control unit shown in fig. 1, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A simulation test method of a vehicle control unit is characterized by comprising the following steps:
acquiring an input signal input into a simulation test model, and generating a test case according to the input signal; the input signal comprises at least one signal value interval, each signal value interval corresponds to a trigger probability, and the sum of the trigger probabilities of the signal value intervals corresponding to the same input signal is 1;
executing the test case and outputting a test result;
the step of obtaining the input signal input in the simulation test model and generating the test case according to the input signal comprises the following steps:
receiving all input signals input into a simulation test model, and determining a test scene in the simulation test model;
acquiring a signal value interval of each input signal and a trigger probability corresponding to the signal value interval;
selecting the input signal corresponding to the test scene from all the input signals to generate a test case; generating that the occurrence probability of each signal value interval in the input signal of the test case corresponds to the trigger probability;
the signal value section comprises a limit value section and a middle value section, and the step of acquiring the signal value section of each input signal and the trigger probability corresponding to the signal value section comprises the following steps:
acquiring a limit value interval and a middle value interval of each input signal;
and defining that the trigger probability of the limit value interval in the signal value interval is smaller than the trigger probability of the middle value interval.
2. The simulation test method of the vehicle control unit according to claim 1, wherein the simulation test model comprises at least one test scenario, and the at least one test scenario covers all input signals.
3. The simulation test method of the vehicle control unit according to claim 1, wherein the test case is a first test case, and the input signal is a first input signal; after the step of executing the test case and outputting the test result, the method further comprises:
acquiring a first test result corresponding to the first test case;
under the condition that the first test result meets a preset requirement, changing the first input signal into a second input signal, and generating a second test case;
and executing the second test case and outputting a corresponding test result.
4. The simulation testing device of the vehicle control unit is characterized by comprising the following components:
the acquisition module is used for acquiring an input signal input into the simulation test model and generating a test case according to the input signal; the input signal comprises at least one signal value interval, each signal value interval corresponds to a trigger probability, and the sum of the trigger probabilities of the signal value intervals corresponding to the same input signal is 1;
the first execution module is used for executing the test case and outputting a test result;
the acquisition module includes:
the receiving submodule is used for receiving all input signals input into the simulation test model and determining a test scene in the simulation test model;
the acquisition submodule is used for acquiring a signal value interval of each input signal and a trigger probability corresponding to the signal value interval;
the generating submodule is used for selecting the input signals corresponding to the test scene from all the input signals to generate a test case; generating that the occurrence probability of each signal value interval in the input signal of the test case corresponds to the trigger probability;
the signal value interval comprises a limit value interval and a middle value interval, and the obtaining submodule is further configured to:
acquiring a limit value interval and a middle value interval of each input signal;
and defining that the trigger probability of the limit value interval in the signal value interval is smaller than the trigger probability of the middle value interval.
5. The simulation test device of the vehicle control unit according to claim 4, wherein the simulation test model comprises at least one test scenario, and the at least one test scenario covers all input signals.
6. The simulation test device of the vehicle control unit according to claim 4, wherein the test case is a first test case, and the input signal is a first input signal; the simulation testing device of the vehicle control unit further comprises:
the acquisition module is used for acquiring a first test result corresponding to the first test case;
the changing module is used for changing the first input signal into a second input signal and generating a second test case under the condition that the first test result meets the preset requirement;
and the second execution module is used for executing the second test case and outputting a corresponding test result.
7. Simulation test system of a vehicle control unit, characterized in that it comprises a simulation test device of a vehicle control unit according to any of claims 4-6.
8. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the simulation testing method of a hybrid vehicle controller according to any one of claims 1-3.
CN201811156772.9A 2018-09-30 2018-09-30 Simulation test method, device and system of vehicle control unit and electronic equipment Active CN109491360B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811156772.9A CN109491360B (en) 2018-09-30 2018-09-30 Simulation test method, device and system of vehicle control unit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811156772.9A CN109491360B (en) 2018-09-30 2018-09-30 Simulation test method, device and system of vehicle control unit and electronic equipment

Publications (2)

Publication Number Publication Date
CN109491360A CN109491360A (en) 2019-03-19
CN109491360B true CN109491360B (en) 2021-05-07

Family

ID=65690585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811156772.9A Active CN109491360B (en) 2018-09-30 2018-09-30 Simulation test method, device and system of vehicle control unit and electronic equipment

Country Status (1)

Country Link
CN (1) CN109491360B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111722610B (en) * 2019-03-20 2021-10-22 北京新能源汽车股份有限公司 Test case generation method and device
CN111581101A (en) * 2020-05-11 2020-08-25 上海元城汽车技术有限公司 Software model testing method, device, equipment and medium
CN112181820A (en) * 2020-09-24 2021-01-05 北京车和家信息技术有限公司 Method for building vehicle simulation environment and method and device for positioning vehicle system problems

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368422A (en) * 2017-08-02 2017-11-21 网易有道信息技术(北京)有限公司 A kind of method of testing of application APP, device and medium
CN108595341A (en) * 2018-05-11 2018-09-28 清华大学 Automatic example generation method and system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033806B (en) * 2010-12-14 2012-07-25 北京航空航天大学 Method for generating reliability test data of real time embedded software
US9443005B2 (en) * 2012-12-14 2016-09-13 Instaknow.Com, Inc. Systems and methods for natural language processing
CN103198015A (en) * 2013-03-21 2013-07-10 中国人民解放军国防科学技术大学 Embedded software reliability test data generating method based on using probability
CN105759789B (en) * 2016-04-18 2019-06-04 北京新能源汽车股份有限公司 The emulation test method of entire car controller, device and system
CN106685479B (en) * 2017-01-05 2020-08-04 云南电网有限责任公司电力科学研究院 Fault excitation method and system in RS485 communication of electric energy meter
CN106712652B (en) * 2017-01-25 2019-03-26 北京鸿智电通科技有限公司 A kind of hardware self-adapting PID controller and its control method controlling motor
CN107918377B (en) * 2017-10-20 2023-04-07 开沃新能源汽车集团有限公司 Pedal fault diagnosis method based on vehicle control unit
CN107891750A (en) * 2017-11-03 2018-04-10 安徽江淮汽车集团股份有限公司 The cooling water temperature display methods and display system of a kind of vehicle
CN108594796A (en) * 2018-06-26 2018-09-28 武汉菱电汽车电控系统股份有限公司 Entire car controller automatic testing equipment and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368422A (en) * 2017-08-02 2017-11-21 网易有道信息技术(北京)有限公司 A kind of method of testing of application APP, device and medium
CN108595341A (en) * 2018-05-11 2018-09-28 清华大学 Automatic example generation method and system

Also Published As

Publication number Publication date
CN109491360A (en) 2019-03-19

Similar Documents

Publication Publication Date Title
CN109491360B (en) Simulation test method, device and system of vehicle control unit and electronic equipment
CN109636317B (en) Service control method, device, system and storage medium
CN112783725B (en) Index collection method and device
CN109857085B (en) Method and system for generating driving data in simulation mode, simulation terminal and test system
CN115099051A (en) Automatic driving simulation test scene generation method and device, vehicle and storage medium
CN112732474A (en) Fault processing method and device, electronic equipment and computer readable storage medium
CN110990295B (en) Verification method and device for test cases and electronic equipment
CN115190058A (en) Vehicle network data security risk assessment system, method and device
CN114329452A (en) Abnormal behavior detection method and device and related equipment
CN109597389B (en) Test system of embedded control system
CN112356818B (en) Function safety monitoring method for range extender control system
CN112764764A (en) Scene model deployment method, device, equipment and storage medium
CN111177878A (en) Method, device and terminal for screening derivative simulation scenes
CN112396832B (en) Vehicle data processing method and device
CN109490662B (en) Test method and device for automobile electronic equipment, computer equipment and storage medium
CN104572791A (en) Method and device for evaluating search prompt system
CN111782499B (en) Test case generation method and system
CN110116705B (en) Vehicle checking method and device and vehicle
CN114692295A (en) Method and device for determining vehicle performance boundary, terminal equipment and storage medium
CN112346441A (en) Automobile online diagnosis method and system and automobile diagnosis equipment
CN112381966A (en) Method for acquiring driving data signal and related device thereof
CN109669351B (en) Multi-mode self-adaptive control method and device for wind turbine generator and computer storage medium
CN113007039B (en) Wind power plant inertia response testing method and device
CN110456766B (en) Method and device for generating analysis case
CN115981998B (en) Scene demonstration system and scene demonstration method for vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20211201

Address after: 101300 room 107, building 1, courtyard 4, Hengxing Road, Gaoliying Town, Shunyi District, Beijing (scientific and technological innovation functional area)

Patentee after: Beijing chehejia Automobile Technology Co.,Ltd.

Address before: Room 801, 8 / F, building 3, No.10 courtyard, Wangjing street, Chaoyang District, Beijing 100102

Patentee before: BEIJING CHJ AUTOMOTIVE TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right