Testing system and method for automobile main controller
By designing a test system including test modules, simulation modules and car main controllers, the problem of complex and inefficient testing process of the existing car main controllers is solved, and efficient and comprehensive testing results are achieved.
Patent Information
- Application Number
- CN202510016876.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-06
- Publication Date
- 2025-05-06
AI Technical Summary
The test process of existing car main controllers is complicated and the testing efficiency is low.
Design a test system for the main controller of the automobile, including a test module, an analog module and a main controller of the automobile, input analog signals and user instructions through the simulation module, and the test module generates infographics and test reports.
It improves the testing efficiency of the car main controller, reduces the testing cost, and realizes comprehensive testing of the car main controller.
Smart Images

Figure CN119937510A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of automobile controller testing, and in particular, relates to a testing system and method for an automobile main controller. Background Art
[0002] Modern cars have more and more functions. As the number of car functions increases, enough car sensors are needed to collect enough information for support, which places high demands on the information processing function of the car's main controller.
[0003] Chinese patent 108227669A discloses an automatic testing device and method for a vehicle controller of a new energy vehicle. The device is composed of a vehicle controller to be tested, a tooling vehicle controller for realizing the interaction and modification of vehicle model data and interactively connected with the vehicle controller to be tested, a test module for program burning, test mode switching and test data interaction between two vehicle controllers, a host computer for test process detection control storage and a motor test bench for test condition simulation; the method first initializes the system, the host computer sends a control command to start the vehicle controller to be tested, and the vehicle controller to be tested controls the motor operation through the motor controller of the motor test bench; the test items are started, and the host computer displays and stores the data of each test item.
[0004] The testing process of the prior art is complicated and the testing efficiency is low. Summary of the invention
[0005] The present invention aims to provide a test system and method for an automobile main controller, so as to achieve the technical purpose of improving the test efficiency of the automobile main controller.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is:
[0007] The present invention provides a test system for an automobile main controller, comprising a test module, a simulation module and an automobile main controller, wherein the output end of the test module is connected to the input end of the simulation module, the output end of the simulation module is connected to the input end of the automobile main controller, the output end of the test module is connected to the input end of the automobile main controller, and the output end of the automobile main controller is connected to the input end of the test module.
[0008] The test module outputs control instructions to the simulation module, the simulation module outputs simulation signals to the vehicle main controller, the test module outputs user input instructions to the vehicle main controller, and the vehicle main controller outputs response information and status information to the test module.
[0009] The test module adopts a host computer.
[0010] The simulation module adopts an automobile sensor signal simulator.
[0011] The automobile sensor signal simulator is connected to the automobile main controller via a CAN bus.
[0012] The present invention provides a method for testing a main controller of an automobile:
[0013] Step 1: The test module inputs a simulation signal to the vehicle main controller through the simulation module, and the test module simulates the user inputting a command to the vehicle main controller.
[0014] Step 2: The vehicle main controller feeds back working information and status information to the test module.
[0015] Step 3: The test module generates an information chart based on the working information and status information fed back by the vehicle main controller.
[0016] In step 1, the test module inputs the analog signal of the automobile sensor to the automobile main controller through the simulation module.
[0017] In step 2, the vehicle main controller feeds back the working information and status information of the application, software system and hardware to the test module.
[0018] In step three, the test module records abnormal conditions and test processes through visual graphics and data tables.
[0019] The technical effects of the present invention are:
[0020] (1) The present invention does not rely on manual labor or real vehicles. It simulates the input of signals and the user's instructions in a simulation manner and automatically generates a test report, thereby improving test efficiency and reducing costs.
[0021] (2) The present invention tests the automobile main controller by simulating the signal input of the automobile sensor through the automobile sensor, thereby reducing the test cost and improving the test efficiency.
[0022] (3) The present invention conducts a comprehensive test on the main controller of the automobile, and completely tests the working conditions and states of the main controller of the automobile under different conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] This specification includes the following drawings, which show the following contents:
[0024] Figure 1 A logic structure block diagram of a test system and method for an automobile main controller of the present invention;
[0025] Figure 1 Marked as: 1. test module; 2. simulation module; 3. vehicle main controller. DETAILED DESCRIPTION
[0026] The specific implementation methods of the present invention are further explained in detail below by describing the embodiments with reference to the accompanying drawings, with the aim of helping those skilled in the art to have a more complete, accurate and in-depth understanding of the inventive concept and technical solution of the present invention and facilitating their implementation.
[0027] The present invention provides a test system for an automobile main controller, comprising a test module 1, a simulation module 2 and an automobile main controller 3, wherein the output end of the test module 1 is connected to the input end of the simulation module 2, the output end of the simulation module 2 is connected to the input end of the automobile main controller 3, the output end of the test module 1 is connected to the input end of the automobile main controller 3, and the output end of the automobile main controller 3 is connected to the input end of the test module 1.
[0028] The test module 1 outputs control instructions to the simulation module 2, the simulation module 2 outputs simulation signals to the vehicle main controller 3, the test module 1 outputs user input instructions to the vehicle main controller 3, and the vehicle main controller 3 outputs response information and status information to the test module 1.
[0029] The test module 1 uses a host computer. The simulation module 2 uses a car sensor signal simulator. The car sensor signal simulator is connected to the car main controller 3 via a CAN bus.
[0030] The present invention provides a method for testing a main controller of an automobile:
[0031] Step 1: The test module 1 inputs a simulation signal to the automobile main controller 3 through the simulation module 2, and the test module 1 simulates a user input command to the automobile main controller 3.
[0032] Step 2: The vehicle main controller 3 feeds back working information and status information to the test module 1.
[0033] Step 3: The test module 1 generates an information chart based on the working information and status information fed back by the vehicle main controller 3.
[0034] In step 1, the test module 1 inputs the analog signal of the vehicle sensor to the vehicle main controller 3 through the simulation module 2. In step 2, the vehicle main controller 3 feeds back the working information and status information of the application, software system and hardware to the test module 1. In step 3, the test module 1 records the abnormal situation and the test process through visual graphics and data tables.
[0035] The following is a detailed description of a system and method for testing an automobile main controller of the present invention.
[0036] A test system for a vehicle main controller 3 of the present invention comprises a test module 1, a simulation module 2 and the vehicle main controller 3, wherein the test module 1 adopts a host computer, and is used to control the simulation module 2 to generate a simulation signal of a vehicle sensor to the vehicle main controller 3, and simulate the control command of the user to the vehicle main controller 3 to test the vehicle main controller 3. The present invention tests the application, software system and hardware system of the vehicle main controller 3 to comprehensively test the vehicle main controller 3, and finally generates an information chart by monitoring the application, software system and hardware system of the vehicle main controller 3, and reflects the abnormal situation and the test process of the vehicle main controller 3 through the information icon.
[0037] The simulation module 2 adopts a car sensor signal simulator to simulate the input of the car sensor signal. Modern cars have more and more functions. As the number of car functions increases, sufficient car sensors are needed to collect sufficient information support, which places high demands on the information processing function of the car main controller 3. The present invention tests the car main controller 3 by simulating the signal input of the car sensor through the car sensor, thereby reducing the test cost and improving the test efficiency.
[0038] The automobile main controller 3 is a unit under test. The present invention tests the automobile main controller 3 through the sensor input simulated by the simulation module 2 and the user input command simulated by the test module 1, and tests the working condition and state of the automobile main controller 3 under a large number of sensor signal inputs and user input commands. The present invention performs a comprehensive test on the automobile main controller 3, and completely tests the working condition and state of the automobile main controller 3 under different conditions.
[0039] The output end of the host computer is connected to the input end of the automobile sensor signal simulator, the output end of the automobile sensor signal simulator is connected to the input end of the automobile main controller 3, the output end of the host computer is connected to the input end of the automobile main controller 3, and the output end of the automobile main controller 3 is connected to the input end of the host computer.
[0040] A method for testing a main controller of an automobile according to the present invention is described in detail below.
[0041] The test module 1 inputs a simulation signal to the automobile main controller 3 through the simulation module 2, and the test module 1 simulates a user input command to the automobile main controller 3. Specifically, the test module 1 inputs a simulation signal of the automobile sensor to the automobile main controller 3 through the simulation module 2. In the present invention, the simulation signal includes crankshaft position, camshaft position, ABS wheel speed, oxygen sensor, air flow and intake pressure information, and the user input command can be a music playing command, an air conditioning temperature adjustment command, a seat adjustment command, and a lighting adjustment command.
[0042] After receiving the information input by the simulation module 2 and the test module 1, the main controller 3 of the automobile feeds back the working information and status information to the test module 1, including the working and status information of the application, software system and hardware. Specifically, in terms of application, the main controller 3 of the automobile feeds back the information of whether there is application crash, response timeout and memory leak; in terms of software system, the main controller 3 of the automobile feeds back the information of whether there is system restart, system black screen and system stuck, and feeds back the process status information and system log; in terms of hardware, the main controller 3 of the automobile feeds back the CPU usage and memory usage.
[0043] The test module 1 generates an information chart based on the working information and status information fed back by the vehicle main controller 3. Specifically, the test module 1 records abnormal conditions and test processes through visual graphics and data tables. In an embodiment of the present invention, a test report can be generated through the C-ATS AUTO software tool.
[0044] The present invention does not rely on manual labor and real vehicles, simulates signal input and user instructions in a simulation manner, and automatically generates a test report, thereby improving test efficiency and reducing costs.
[0045] The present invention is described above by way of example in conjunction with the accompanying drawings. Obviously, the specific implementation of the present invention is not limited to the above-mentioned methods. As long as various non-substantial improvements are made using the method concept and technical solution of the present invention; or the above-mentioned concept and technical solution of the present invention are directly applied to other occasions without improvement, they are all within the protection scope of the present invention.
Claims
1. A test system for an automobile main controller, characterized in that: It includes a test module, a simulation module and a car main controller, wherein the output end of the test module is connected to the input end of the simulation module, the output end of the simulation module is connected to the input end of the car main controller, the output end of the test module is connected to the input end of the car main controller, and the output end of the car main controller is connected to the input end of the test module.
2. A test system for an automobile main controller as claimed in claim 1, characterized in that: The test module outputs control instructions to the simulation module, the simulation module outputs simulation signals to the vehicle main controller, the test module outputs user input instructions to the vehicle main controller, and the vehicle main controller outputs response information and status information to the test module.
3. A test system for an automobile main controller as claimed in claim 1, characterized in that: The test module adopts a host computer.
4. A test system for an automobile main controller as claimed in claim 1, characterized in that: The simulation module adopts an automobile sensor signal simulator.
5. A test system for an automobile main controller as claimed in claim 1 or 4, characterized in that: The automobile sensor signal simulator is connected to the automobile main controller via a CAN bus.
6. A method for testing a main controller of an automobile as claimed in any one of claims 1 to 5, characterized in that: Step 1: The test module inputs a simulation signal to the main controller of the vehicle through the simulation module, and the test module simulates the user inputting a command to the main controller of the vehicle; Step 2: The vehicle main controller feeds back working information and status information to the test module; Step 3: The test module generates an information chart based on the working information and status information fed back by the vehicle main controller.
7. A method for testing a main controller of an automobile as claimed in claim 6, characterized in that: In step 1, the test module inputs the analog signal of the automobile sensor to the automobile main controller through the simulation module.
8. A method for testing a main controller of an automobile as claimed in claim 6, characterized in that: In step 2, the vehicle main controller feeds back the working information and status information of the application, software system and hardware to the test module.
9. A method for testing a main controller of an automobile as claimed in claim 6, characterized in that: In step three, the test module records abnormal conditions and test processes through visual graphics and data tables.
Citation Information
Patent Citations
Automatic test device and method for vehicle control unit of new energy vehicle
CN108227669A