Load box, method and electronic equipment for testing vehicle controller
By designing a load box for vehicle controllers, using communication equipment, test environment simulation equipment and information collection equipment, constructing a simulation environment and collecting operating status information, the problem of low load testing efficiency of vehicle controllers is solved and efficient testing is achieved and assessment.
Patent Information
- Application Number
- CN202411131737.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-08-16
AI Technical Summary
In the prior art, the load testing efficiency of vehicle controllers is low and the lack of a special load box makes the test process cumbersome.
A load box including communication equipment, test environment simulation equipment and information collection equipment is designed. By obtaining test requirements information and hardware parameter information, a simulation environment is constructed, and the operation status information of the vehicle controller in the simulation environment is collected, and based on these Information is load tested.
Improves the efficiency and accuracy of vehicle controller testing, discovers potential problems and optimizes them, and reduces testing costs.
Smart Images

Figure CN119002460A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle equipment testing, and in particular to a load box, method and electronic equipment for testing a vehicle controller. Background Art
[0002] By simulating real road conditions and operating situations, the performance of the vehicle controller is tested and evaluated, that is, load testing the vehicle controller. The response speed, stability and accuracy of the controller under different loads can be checked to ensure that the vehicle controller can work normally and meet safety and performance requirements in actual use. Load testing can help manufacturers and developers identify problems and make improvements to improve the performance and reliability of the vehicle controller.
[0003] At present, the relevant technology usually requires to load test the vehicle controller under the actual operating environment, or to load test the vehicle controller based on a general load box. The lack of a dedicated load box for load testing the vehicle controller makes the process of performing the load test of the vehicle controller more cumbersome, resulting in low efficiency of load testing the vehicle controller.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present invention provide a load box, a method and an electronic device for testing a vehicle controller, so as to at least solve the technical problem of low efficiency in load testing a vehicle controller in the related art.
[0006] According to one aspect of an embodiment of the present invention, there is provided a load box for testing a vehicle controller, comprising: a communication device for acquiring test requirement information and hardware parameter information of a vehicle controller to be load tested; a test environment simulation device connected to the communication device and used to construct a simulation environment for load testing the vehicle controller based on the test requirement information and the hardware parameter information; an information acquisition device connected to the vehicle controller and used to acquire operating status information generated when the vehicle controller operates in the simulation environment; and a controller connected to the information acquisition device and used to load test the vehicle controller based on the operating status information.
[0007] Optionally, the simulation environment includes a control signal simulation environment and a load simulation environment; the test environment simulation device includes: a control signal generating device, used to generate a control signal based on test requirement information and hardware parameter information, and construct a control signal simulation environment based on the control signal, wherein the control signal simulation environment is used to represent the control signal environment required when the vehicle controller is running in the simulation environment; a load environment simulation device, used to generate a load simulation environment based on test requirement information and hardware parameter information, wherein the load simulation environment is used to represent the load environment required when the vehicle controller is running in the simulation environment.
[0008] Optionally, the control signal includes at least one of the following: an analog signal and a digital signal; the control signal generating device includes at least one of the following: an analog signal generating device for generating an analog signal based on test requirement information and hardware parameter information; a digital signal generating device for generating a digital signal based on test requirement information and hardware parameter information.
[0009] Optionally, the information acquisition device includes: a current acquisition device for collecting the current signal of the vehicle controller when it is running in a simulated environment; a sensor signal acquisition device for collecting the vehicle sensor signal received by the vehicle controller; a pressure information acquisition device for collecting the pressure change information when the vehicle controller is running in a simulated environment; and generating operating status information based on the current signal, the vehicle sensor signal and the pressure change information.
[0010] Optionally, the communication device includes at least one of the following: a controller area network communication device, used to obtain test requirement information and hardware parameter information based on a controller area network; an Ethernet local area network communication device, used to obtain test requirement information and hardware parameter information based on an Ethernet local area network.
[0011] Optionally, the controller includes: a test routine management device, which is used to compare the operating status information based on preset test cases to perform a load test on the vehicle controller; a data analysis device, which is used to parse the database file in the operating status information to obtain the analyzed operating status information; a limit management device, which is connected to the data analysis device, and is used to filter the analyzed operating status information based on preset controller information limits to perform fault diagnosis on the vehicle controller.
[0012] Optionally, the information collection device includes: a load box operation status monitoring device, which is used to generate a duration record based on the operation time of the load box, and monitor the operation status of the load box based on the duration record.
[0013] According to another aspect of an embodiment of the present invention, a method for testing a vehicle controller is also provided, which is applied to the above-mentioned load box for testing a vehicle controller, and includes: obtaining test requirement information and hardware parameter information of a vehicle controller to be load tested; based on the test requirement information and the hardware parameter information, constructing a simulation environment for load testing the vehicle controller; collecting operating status information generated when the vehicle controller runs in the simulation environment; and performing a load test on the vehicle controller based on the operating status information.
[0014] According to another aspect of an embodiment of the present invention, there is also provided an apparatus for testing a vehicle controller, comprising: an acquisition module for acquiring test requirement information and hardware parameter information of a vehicle controller to be load tested; a construction module for constructing a simulation environment for load testing the vehicle controller based on the test requirement information and the hardware parameter information; an acquisition module for acquiring operating status information generated when the vehicle controller runs in the simulation environment; and a test module for load testing the vehicle controller based on the operating status information.
[0015] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, comprising: a memory storing an executable program; and a processor for running the program, wherein the method in each embodiment of the present invention is executed when the program is running.
[0016] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the methods in various embodiments of the present invention.
[0017] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the method in each embodiment of the present invention is implemented.
[0018] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method in each embodiment of the present invention is implemented.
[0019] According to another aspect of the embodiments of the present invention, a computer program is further provided. When the computer program is executed by a processor, the methods in the embodiments of the present invention are implemented.
[0020] In an embodiment of the present invention, a load box for testing a vehicle controller is provided, comprising: a communication device for acquiring test requirement information and hardware parameter information of a vehicle controller to be load tested; a test environment simulation device connected to the communication device and used to construct a simulation environment for load testing the vehicle controller based on the test requirement information and the hardware parameter information; an information acquisition device connected to the vehicle controller and used to acquire operating status information generated when the vehicle controller operates in the simulation environment; and a controller connected to the information acquisition device and used to load test the vehicle controller based on the operating status information. It is easy to notice that the present application can obtain test requirement information and hardware parameter information of the vehicle controller by setting a communication device in the load box, so that the vehicle controller can be load tested according to the test requirements and the specific conditions of the vehicle controller in the future. The test environment simulation equipment can build a simulation environment according to the test requirement information and the hardware parameter information, and can verify the performance and stability of the vehicle controller under various load conditions. The information acquisition equipment can collect the operating status information of the vehicle controller in the simulation environment in real time. By monitoring the operating status information collected by the information acquisition equipment, the tester can analyze the working conditions of the vehicle controller, discover potential problems and make adjustments and optimizations. The controller can load test the vehicle controller according to the operating status information, so as to achieve efficient testing and evaluation of the vehicle controller, thereby improving the test efficiency and saving the test cost, thereby solving the technical problem of low efficiency of load testing of the vehicle controller in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0022] Figure 1 is a schematic diagram of a load box for vehicle controller testing according to an embodiment of the present invention;
[0023] Figure 2 is a flow chart of a method for testing a vehicle controller according to an embodiment of the present invention;
[0024] Figure 3 is a schematic diagram of a device for testing a vehicle controller according to an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0027] According to an embodiment of the present invention, a load box for testing a vehicle controller is provided. Figure 1 is a schematic diagram of a load box for vehicle controller testing according to the present application, such as Figure 1 As shown, the load box 1002 includes: a communication device 1004 , a test environment simulation device 1006 , an information collection device 1008 and a controller 1010 .
[0028] The communication device 1004 is used to obtain the test requirement information and the hardware parameter information of the vehicle controller to be load tested.
[0029] The above-mentioned vehicle controller may refer to an electronic device used to control various functions and systems of the vehicle, which can monitor the status of the vehicle and make corresponding adjustments to ensure the safety, performance and efficiency of the vehicle. For example, the vehicle controller may include an engine control unit, a brake control unit, a transmission control unit, an air-conditioning control unit, etc. The vehicle controller can monitor various sensor data of the vehicle, such as vehicle speed, temperature, pressure, etc., and then control the operation of various systems of the vehicle according to preset algorithms and logics, such as adjusting the engine's fuel injection amount, controlling the braking force, adjusting the gear shifting timing of the gearbox, etc. The vehicle controller can also be determined according to actual needs, which is not limited here.
[0030] The above-mentioned load box can simulate various load conditions of the vehicle, such as simulating the load conditions of the vehicle under different road conditions, simulating the load conditions when the vehicle starts, etc., and is used to test the response and performance of the vehicle controller under various conditions. By performing a load box test on the vehicle controller, the stability, reliability and adaptability of the controller can be verified, thereby improving the safety and performance of the vehicle.
[0031] The above-mentioned test requirement information may refer to various requirements and conditions that need to be considered when testing the vehicle controller. The test requirement information may include but is not limited to the following aspects: functional requirements, testing whether the functions of the vehicle controller are normal, for example, testing whether the controller can correctly execute various instructions and whether it can realize various functional controls of the vehicle; testing whether the performance of the vehicle controller meets the requirements, for example, testing whether the controller can work normally when under load and whether it can complete various tasks within the specified time; testing the reliability of the vehicle controller, for example, testing whether the controller will fail during long-term use and whether it can work normally in harsh environments; testing the compatibility of the vehicle controller, for example, testing whether the vehicle controller can communicate with other devices of different types; that is, the test requirement information may be various requirements and conditions that need to be considered when testing the vehicle controller to ensure the normal operation and stability of the vehicle controller. The test requirement information can also be determined according to actual needs, which is not limited here.
[0032] The above-mentioned hardware parameter information may refer to relevant information of the hardware equipment used by the vehicle controller, which may include processor model, storage capacity, communication interface, etc. The hardware parameter information plays a vital role in the performance and function of the controller. During the testing process, these hardware parameter information need to be fully verified and tested to ensure that the controller can meet the needs of the vehicle when working normally.
[0033] In an optional embodiment, the load box proposed in the present application can be used to simulate the working environment of a vehicle controller in an actual vehicle and to perform a load test on the vehicle controller. The load box proposed in the present application includes a communication device for obtaining test requirement information and hardware parameter information of the vehicle controller to be load tested. The communication device in the load box can communicate with the user and the vehicle controller to obtain the test requirement information and the hardware parameter information of the vehicle controller, so that the vehicle controller can be load tested later according to the test requirements and the specific conditions of the vehicle controller.
[0034] The test environment simulation device 1006 is connected to the communication device and is used to build a simulation environment for load testing the vehicle controller based on the test requirement information and hardware parameter information.
[0035] In an optional embodiment, the load box proposed in the present application also includes a test environment simulation device connected to the communication device, which is used to simulate the actual vehicle operating environment so as to perform load testing on the vehicle controller. The test environment simulation device can simulate various vehicle operating conditions and environmental conditions, such as different driving speeds, road conditions, temperature, humidity, etc., to ensure that the vehicle controller can work normally under various conditions. Based on the test environment simulation device, different test scenarios and simulation environments can be constructed according to test requirement information and hardware parameter information to verify the performance and stability of the vehicle controller under various load conditions. Through load testing of the vehicle controller, potential problems and defects can be discovered, and corrections and optimizations can be made in advance to ensure the stability and reliability of the controller in actual vehicle operation.
[0036] The information collection device 1008 is connected to the vehicle controller and is used to collect the operating status information generated when the vehicle controller runs in a simulated environment.
[0037] In an optional embodiment, the load box proposed in the present application also includes an information acquisition device, which can collect various operating status information generated by the vehicle controller when it runs in a simulated environment, such as voltage, current, temperature, speed and other data; when testing the vehicle controller, the load box can simulate various working conditions of the vehicle, such as idling, acceleration, braking, etc., so as to check the performance and stability of the vehicle controller under different working conditions. By monitoring the data collected by the information acquisition device, the tester can analyze the working condition of the vehicle controller, discover potential problems and make adjustments and optimizations.
[0038] The controller 1010 is connected to the information collection device and is used to perform a load test on the vehicle controller based on the operating status information.
[0039] In an optional embodiment, the load box proposed in the present application also includes a controller that can process and analyze operating status information. By monitoring the output signal, current, voltage and other parameters of the vehicle controller under different load conditions, the working status and performance of the controller in actual applications can be understood. The controller can also record and analyze the operating status information to further optimize the design and debugging of the vehicle controller, which can help developers fully understand the performance characteristics of the controller, identify problems and optimize them, thereby improving the quality and reliability of the vehicle controller.
[0040] The information acquisition device and controller in the load box proposed in the present application may not be connected to the communication equipment and the test environment simulation equipment, that is, a modular design is adopted in the setting of each functional device in the load box, and each functional module can be replaced according to actual needs, so that the load box has good reusability and can be applied to various types of vehicle controllers according to load test requirements.
[0041] In an embodiment of the present invention, a load box for testing a vehicle controller is provided, comprising: a communication device for acquiring test requirement information and hardware parameter information of a vehicle controller to be load tested; a test environment simulation device connected to the communication device and used to construct a simulation environment for load testing the vehicle controller based on the test requirement information and the hardware parameter information; an information acquisition device connected to the vehicle controller and used to acquire operating status information generated when the vehicle controller operates in the simulation environment; and a controller connected to the information acquisition device and used to load test the vehicle controller based on the operating status information. It is easy to notice that the present application can obtain test requirement information and hardware parameter information of the vehicle controller by setting a communication device in the load box, so that the vehicle controller can be load tested according to the test requirements and the specific conditions of the vehicle controller in the future. The test environment simulation equipment can build a simulation environment according to the test requirement information and the hardware parameter information, and can verify the performance and stability of the vehicle controller under various load conditions. The information acquisition equipment can collect the operating status information of the vehicle controller in the simulation environment in real time. By monitoring the operating status information collected by the information acquisition equipment, the tester can analyze the working conditions of the vehicle controller, discover potential problems and make adjustments and optimizations. The controller can load test the vehicle controller according to the operating status information, so as to achieve efficient testing and evaluation of the vehicle controller, thereby improving the test efficiency and saving the test cost, thereby solving the technical problem of low efficiency of load testing of the vehicle controller in the related technology.
[0042] Optionally, the simulation environment includes a control signal simulation environment and a load simulation environment; the test environment simulation device includes: a control signal generating device, used to generate a control signal based on test requirement information and hardware parameter information, and construct a control signal simulation environment based on the control signal, wherein the control signal simulation environment is used to represent the control signal environment required when the vehicle controller is running in the simulation environment; a load environment simulation device, used to generate a load simulation environment based on test requirement information and hardware parameter information, wherein the load simulation environment is used to represent the load environment required when the vehicle controller is running in the simulation environment.
[0043] The above-mentioned control signal may refer to a digital limit signal, an analog signal, etc. for controlling a vehicle controller. The control signal may be determined according to actual needs and is not limited here.
[0044] In an optional embodiment, the load box proposed in the present application may include a control signal generating device, which can be used to generate a control signal according to the test requirement information and the hardware parameter information. The control signal can simulate the signal received by the vehicle controller under different working conditions, thereby simulating various situations that the vehicle controller may encounter in actual operation. The control signal generated by the control signal generating device will construct a control signal simulation environment, which can be used to represent the control signal environment required by the vehicle controller when operating in a simulated environment. Through the control signal simulation environment, the performance and stability of the vehicle controller under various conditions can be tested. In actual testing, the load box can generate various control signals through the control signal generating device, and then input these signals into the vehicle controller to observe the reaction and output of the vehicle controller. By adjusting and optimizing the control signal simulation environment, the control signal situation in the real environment can be better simulated, thereby more comprehensively testing the performance of the vehicle controller. The setting of the control signal generating device and the control signal simulation environment in the load box can help to conduct more accurate and comprehensive vehicle controller testing, thereby improving the stability and reliability of the vehicle controller.
[0045] The load box proposed in the present application may include a load environment simulation device, which can generate a load simulation environment based on the test requirement information and hardware parameter information. The load simulation environment refers to the load environment required for the vehicle controller to operate in the simulated environment, including parameters such as current, voltage, and power. By testing the vehicle controller through the load box, the operating state of the vehicle under different load conditions can be simulated to verify the performance and stability of the vehicle controller in actual use. For example, by testing in a simulated high-load environment, it is possible to detect whether the vehicle controller can work normally under high load conditions and whether there will be problems such as overload or failure. In the load box, different load simulation environments can also be set according to the test requirements, such as simulating different road conditions, climatic conditions, etc., to verify the adaptability and stability of the vehicle controller in different environments. Through load box testing, it can help automobile manufacturers and suppliers improve the quality and performance of vehicle controllers and ensure that the vehicle can operate normally under various working conditions.
[0046] Optionally, the control signal includes at least one of the following: an analog signal and a digital signal; the control signal generating device includes at least one of the following: an analog signal generating device for generating an analog signal based on test requirement information and hardware parameter information; a digital signal generating device for generating a digital signal based on test requirement information and hardware parameter information.
[0047] In an optional embodiment, considering that various signal inputs need to be simulated to verify the functions and performance of the controller when testing the vehicle controller, an analog signal generating device or a digital signal generating device can be used. In particular, the load box proposed in the present application can adopt a modular design, that is, an analog signal generating device and / or a digital signal generating device are provided, which can be replaced according to actual needs, and is not limited here. The analog signal generating device can be a device that can generate analog signals according to test requirement information and hardware parameter information, and can generate various types of analog signals, such as voltage, current, frequency, etc., to simulate the outputs of various sensors and actuators. By adjusting the parameters of the device, analog signals of different ranges and accuracies can be generated to meet the test requirements; A digital signal generating device can be a device that can generate digital signals according to test requirement information and hardware parameter information. It can generate various digital signals, such as pulses, counters, switch signals, etc., to simulate the output of digital sensors and actuators. Through the setting of the device, digital signals with different frequencies, duty cycles and timings can be generated to verify the controller's processing capabilities for digital signals. When the load box is used to test the vehicle controller, the analog signal generating device and the digital signal generating device can be used in combination to simulate the output signals of various sensors and actuators to verify the controller's response and processing capabilities to these signals. Through the generated control signals, the various functions of the controller can be comprehensively tested to ensure the stability and reliability of the vehicle controller in actual vehicle operation.
[0048] Optionally, the information acquisition device includes: a current acquisition device for collecting the current signal of the vehicle controller when it is running in a simulated environment; a sensor signal acquisition device for collecting the vehicle sensor signal received by the vehicle controller; a pressure information acquisition device for collecting the pressure change information when the vehicle controller is running in a simulated environment; and generating operating status information based on the current signal, the vehicle sensor signal and the pressure change information.
[0049] In an optional embodiment, the load box proposed in the present application may include a current acquisition device for real-time acquisition of the current signal of the vehicle controller when it is running in a simulated environment. This setting can help testers more accurately understand the working status of the vehicle controller under different load conditions, and perform performance and stability tests on it. By adding a current acquisition device to the load box, the tester can monitor the current output of the vehicle controller under different load conditions in real time. The tester can analyze the working performance of the vehicle controller under different load conditions based on the data provided by the current acquisition device, as well as the problems that may arise when the load is too large or too small. This can help testers more accurately evaluate the performance of the vehicle controller under different load conditions and provide reliable data support for the performance optimization and improvement of the vehicle controller.
[0050] The above-mentioned sensor signal acquisition device can adopt a digital user interface board (Digital Subscriber Interface 3board card, DSI3 board), which can be used to realize digital signal processing functions in the fields of audio, video, communication, etc., such as audio encoding and decoding, video compression and decompression, data transmission, etc., with the characteristics of high performance, low latency, strong stability, etc.; a digital signal board (Signal Board Card, which can be referred to as Sent signal board) can also be used, which is a hardware device for transmitting and receiving electrical signals, usually used in computers or communication systems, can receive signals from external devices, such as sensors or controllers, and then transmit these signals to the computer for processing or feedback, and can be connected to the motherboard or other hardware devices through a slot or interface to realize data transmission and communication functions. The sensor signal acquisition device can also be determined according to actual needs, which is not limited here.
[0051] The load box proposed in the present application may include a sensor signal acquisition device, which can simulate the scenario of vehicle sensor signals being input into the controller, so as to verify the working condition of the controller under different signal input conditions. The sensor signal acquisition device can be used to collect various signals sent by vehicle sensors, such as vehicle speed, steering, braking and other information. Through the sensor signal acquisition device, changes in sensor signals can be monitored in real time, and these signals are input into the controller, so as to detect the response of the controller to different signal inputs. During the test, the sensor signal acquisition device can be used to simulate the driving state of the vehicle under different working conditions, such as simulating changes in vehicle speed, simulating emergency braking, etc. In this way, the control effect and stability of the controller under various working conditions can be verified, ensuring that the controller can work normally during actual vehicle operation and ensuring the safety performance of the vehicle.
[0052] The load box proposed in the present application may include a pressure information acquisition device for collecting pressure change information of the vehicle controller when it is running in a simulated environment. The performance and stability of the vehicle controller under various load conditions can be verified to ensure its reliability in actual vehicle operation. Specifically, the pressure information acquisition device can monitor the pressure changes in the load box in real time, and transmit the data to the test system for analysis and evaluation. By testing the pressure changes under different load conditions, the response capability and performance of the vehicle controller under various working conditions can be evaluated, thereby discovering potential problems and room for improvement.
[0053] Optionally, the communication device includes at least one of the following: a controller area network communication device, used to obtain test requirement information and hardware parameter information based on a controller area network; an Ethernet local area network communication device, used to obtain test requirement information and hardware parameter information based on an Ethernet local area network.
[0054] In an optional embodiment, the load box proposed in the present application may include a controller area network communication device and / or an Ethernet LAN communication device, which are used to communicate with users and vehicle controllers to obtain test requirement information and hardware parameter information. The controller area network communication device can be used to communicate with the controller local area network, and obtain test requirement information and hardware parameter information by sending and receiving data packets, thereby helping testers to monitor the operating status of the controller and perform necessary debugging and analysis; the Ethernet LAN communication device can communicate with the controller through an Ethernet connection to obtain test requirement information and hardware parameter information. The Ethernet communication device can achieve remote access to the controller, perform real-time monitoring and remote control, and facilitate testers to test and debug the controller at different locations. In particular, the load box proposed in the present application can adopt a modular design, that is, a controller area network communication device and / or an Ethernet LAN communication device are set, which can be replaced according to actual needs, and is not limited here. The setting of the above two communication devices can effectively improve the test efficiency and accuracy, so that testers can obtain relevant information of the controller in a timely manner, find problems and solve them. At the same time, through the remote access and control function, the workload of testers can be reduced and the flexibility and convenience of testing can be improved.
[0055] Optionally, the controller includes: a test routine management device, which is used to compare the operating status information based on preset test cases to perform a load test on the vehicle controller; a data analysis device, which is used to parse the database file in the operating status information to obtain the analyzed operating status information; a limit management device, which is connected to the data analysis device, and is used to filter the analyzed operating status information based on preset controller information limits to perform fault diagnosis on the vehicle controller.
[0056] In an optional embodiment, the load box proposed in the present application may include a test routine management device for managing test cases and comparing them with the running status information of the vehicle controller, which can ensure the stability and performance of the vehicle controller under different load conditions. The test routine management device will pre-set a series of test cases, which cover various possible load conditions, such as high load, low load, sudden load, etc. When the test starts, the load box will gradually increase the load to simulate the load conditions of the actual vehicle during operation, and compare the running status information of the vehicle controller with the preset test cases. By comparing the test results, the performance of the vehicle controller under different load conditions can be evaluated, potential problems and defects can be discovered, and repairs and optimizations can be made in a timely manner, which can improve the stability and reliability of the vehicle controller and ensure that the vehicle can operate normally under various load conditions. By comparing the test cases and running status information through the test routine management device, the performance of the vehicle controller can be comprehensively evaluated to improve its stability and reliability.
[0057] The load box proposed in the present application may include a data analysis device and a limit management device. The data analysis device and the limit management device work together to effectively diagnose faults in the vehicle controller. The data analysis device can analyze the vehicle's operating status information, which can be stored in a database file. The data analysis device will process this information to obtain analyzed operating status information, which may include various sensor data of the vehicle, controller output information, etc. Through the analyzed information, the current working status and performance of the vehicle can be understood; the limit management device is connected to the data analysis device, and can filter the analyzed operating status information. The limit management device will compare the analyzed information according to the preset controller information limit, and filter out data that exceeds the normal range. Data that exceeds the limit range may indicate that the vehicle controller has a fault or abnormality. Through the screening of the limit management device, the problem of the vehicle controller can be discovered and diagnosed in time. The data analysis device and the limit management device in the load box work together to perform comprehensive testing and fault diagnosis on the vehicle controller, which can help maintenance personnel quickly and accurately locate and solve the fault problem of the vehicle controller.
[0058] Optionally, the information collection device includes: a load box operation status monitoring device, which is used to generate a duration record based on the operation time of the load box, and monitor the operation status of the load box based on the duration record.
[0059] In an optional embodiment, the load box proposed in the present application may include a load box operation status monitoring device, which is used to monitor the operation status of the load box and generate a duration record. The duration record can help testers understand the working condition of the load box, discover faults in time and repair them. The load box operation status monitoring device may include various sensors and monitors, which are used to monitor the voltage, current, temperature and other parameters of the load box. The operation status of the load box can be monitored in real time, and the data can be recorded to generate a duration record. Testers can analyze the working condition of the load box through the duration record, such as working hours, frequency, load changes, etc., so as to evaluate the performance and stability of the load box; monitoring the operation status of the load box based on the duration record can help testers to discover potential problems in time, such as abnormal conditions such as overload and overheating. By monitoring the operation status of the load box, testers can take measures in time to ensure the accuracy and reliability of the test. At the same time, the duration record can also be used to count the usage of the load box, provide a reference basis for equipment maintenance and management, and help testers to conduct comprehensive and accurate testing of the vehicle controller to ensure the stability and reliability of the load box.
[0060] According to another aspect of an embodiment of the present invention, a method for testing a vehicle controller is also provided, which is applied to the above-mentioned load box for testing a vehicle controller. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0061] Figure 2 is a flow chart of a method for testing a vehicle controller according to an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:
[0062] Step S202, obtaining test requirement information and hardware parameter information of the vehicle controller to be load tested.
[0063] In an optional embodiment, test requirement information and hardware parameter information of the vehicle controller to be load tested can be obtained to fully understand the hardware parameters and test requirements of the vehicle controller to ensure the accuracy and effectiveness of the test. Acquiring the test requirement information can include understanding the purpose, scope, requirements and constraints of the test, which can come from project managers, test engineers, product managers and other relevant personnel. Information on test plans, test cases, test environments and other aspects can be understood to make adequate preparations for load testing. Acquiring the hardware parameter information of the vehicle controller to be load tested can include hardware information such as the controller model, version, interface type, transmission rate, storage capacity, processor type, operating system, etc. Acquiring the test requirement information and hardware parameter information of the vehicle controller to be load tested is the premise and basis of load testing, so as to facilitate effective load testing and ensure the performance and stability of the vehicle controller.
[0064] Step S204: construct a simulation environment for load testing the vehicle controller based on the test requirement information and the hardware parameter information.
[0065] In an optional embodiment, a simulation environment for load testing the vehicle controller can be constructed based on the test requirement information and hardware parameter information. Specifically, the functions and performance indicators to be tested, such as current output, power consumption, stability, etc., can be determined according to the test requirement information; the operating voltage range, maximum current output, output waveform and other parameters of the load box can be determined according to the hardware parameter information of the vehicle controller; the output parameters of the load box can be configured according to the voltage and current requirements of the vehicle controller to ensure that the load box can simulate the real working environment; the load box is connected to the vehicle controller to ensure that the connection is correct and stable; a test program is written according to the test requirement information, the vehicle controller is load tested through the load box, and the test data is recorded and analyzed; based on the test data analysis results, the performance and stability of the vehicle controller are evaluated, possible problems are identified and improvement suggestions are made. Through the above steps, a simulation environment for load testing the vehicle controller can be constructed to ensure the accuracy and effectiveness of the test and improve the performance and reliability of the vehicle controller.
[0066] Step S206, collecting operation status information generated when the vehicle controller operates in a simulation environment.
[0067] In an optional embodiment, the operating status information of the vehicle controller under different operating conditions can be collected, such as changes in parameters such as voltage, current, temperature, speed, and rotational speed. By collecting the operating status information, the tester can evaluate the performance and stability of the vehicle controller in a simulated environment. For example, it can be checked whether the controller can correctly respond to various operating instructions, whether it can accurately control the operating status of the vehicle, and whether it can maintain a stable working state under different operating conditions.
[0068] Step S208: performing a load test on the vehicle controller based on the operating status information.
[0069] In an optional embodiment, by analyzing and evaluating the operating status information generated by the vehicle controller, the tester can determine whether the controller meets the design requirements and whether it can meet the safety, reliability and performance requirements of vehicle operation, and provide important reference for the testing and optimization of the vehicle controller.
[0070] According to another aspect of an embodiment of the present invention, a device for testing a vehicle controller is also provided. The device can execute the method for testing a vehicle controller of the above embodiment. The specific implementation method and preferred application scenario are the same as those of the above embodiment and will not be repeated here.
[0071] Figure 3 is a schematic diagram of a device for testing a vehicle controller according to an embodiment of the present application, such as Figure 3As shown, the device includes the following: an acquisition module 302 , a construction module 304 , a collection module 306 and a testing module 308 .
[0072] The acquisition module 302 is used to obtain the test requirement information and the hardware parameter information of the vehicle controller to be load tested; the construction module 304 is used to construct a simulation environment for load testing the vehicle controller based on the test requirement information and the hardware parameter information; the acquisition module 306 is used to collect the operating status information generated when the vehicle controller runs in the simulation environment; the test module 308 is used to load test the vehicle controller based on the operating status information.
[0073] An embodiment of the present application further provides an electronic device, comprising: a memory storing an executable program; and a processor for running the program, wherein the program executes the methods in various embodiments of the present invention when running.
[0074] The above-mentioned memory may refer to a device inside a computer for storing data and programs, and may include memory, hard disk, etc., wherein the memory may be used to temporarily store running programs and data, the hard disk may be used to store programs and data for a long time, and the memory may be used to enable the computer to read and write data, and execute programs; the above-mentioned processor may be responsible for executing instructions in computer programs and performing data processing, and may be responsible for controlling and executing various operations, including arithmetic operations, logical operations, data transmission, etc.
[0075] An embodiment of the present application further provides a computer-readable storage medium, which includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the methods in various embodiments of the present invention.
[0076] The above-mentioned computer storage medium may refer to a medium in a computer memory used to store certain discontinuous physical quantities. Computer storage media mainly include semiconductors, magnetic cores, magnetic drums, magnetic tapes, laser disks, etc.; the stored program included in the computer-readable storage medium may be a set of instructions that can be recognized and executed by a computer, running on an electronic computer, and is an information tool that meets certain needs of people.
[0077] An embodiment of the present application further provides a computer program product, including a computer program, which implements the methods in various embodiments of the present invention when executed by a processor.
[0078] The above-mentioned computer program product may refer to a software program that has been written, tested and released and can be run on a computer or other device. The computer program product may include an application, an operating system, tool software, etc., which is used to implement specific functions or solve specific problems.
[0079] An embodiment of the present application further provides a computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the method in each embodiment of the present invention is implemented.
[0080] The above-mentioned non-volatile computer-readable storage medium may refer to a medium for storing data. The non-volatile computer-readable storage medium can keep the data from being lost when the power is off, and can be used to store long-term data, such as operating systems, applications, and user files. The non-volatile storage medium may include hard disk drives, solid-state drives, optical disks, and flash memory storage devices, etc.
[0081] The embodiments of the present application further provide a computer program, which implements the methods in the above-mentioned embodiments of the present invention when executed by a processor.
[0082] The above-mentioned computer program may refer to a collection of instructions used to tell a computer to perform a specific task or operation. A computer program may be written by a programmer using a specific programming language and may include algorithms, data structures, logic, and control flows. A computer program may be used for a variety of purposes, including application software, operating systems, and the like.
[0083] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0084] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0085] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0086] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0087] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0088] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A load box for vehicle controller testing, It is characterized in that include: A communication device for obtaining test requirement information and hardware parameter information of a vehicle controller to be load tested; A test environment simulation device, connected to the communication device, for constructing a simulation environment for load testing the vehicle controller based on the test requirement information and the hardware parameter information; An information collection device, connected to the vehicle controller, for collecting operation status information generated by the vehicle controller when operating in the simulation environment; A controller is connected to the information acquisition device and is used to perform a load test on the vehicle controller based on the operating status information.
2. The load box for vehicle controller testing according to claim 1, It is characterized in that The simulation environment includes a control signal simulation environment and a load simulation environment; The test environment simulation device comprises: A control signal generating device, used for generating a control signal based on the test requirement information and the hardware parameter information, and constructing the control signal simulation environment based on the control signal, wherein the control signal simulation environment is used for representing the control signal environment required when the vehicle controller is operating in the simulation environment; The load environment simulation device is used to generate the load simulation environment based on the test requirement information and the hardware parameter information, wherein the load simulation environment is used to represent the load environment required when the vehicle controller is operating in the simulation environment.
3. The load box for vehicle controller testing according to claim 2, It is characterized in that The control signal includes at least one of the following: an analog signal and a digital signal; the control signal generating device includes at least one of the following: A simulation signal generating device, used for generating the simulation signal based on the test requirement information and the hardware parameter information; A digital signal generating device is used to generate the digital signal based on the test requirement information and the hardware parameter information.
4. The load box for vehicle controller testing according to claim 1, It is characterized in that The information collection device comprises: A current acquisition device, used to acquire a current signal of the vehicle controller when the vehicle controller is operating in the simulation environment; A sensor signal acquisition device, used to acquire vehicle sensor signals received by the vehicle controller; A pressure information acquisition device, used to acquire pressure change information of the vehicle controller when operating in the simulation environment; The operating state information is generated based on the current signal, the vehicle sensor signal, and the pressure change information.
5. The load box for vehicle controller testing according to claim 1, It is characterized in that The communication device comprises at least one of the following: A controller area network communication device, used for acquiring the test requirement information and the hardware parameter information based on a controller area network; Ethernet local area network communication equipment is used to obtain the test requirement information and the hardware parameter information based on the Ethernet local area network.
6. The load box for vehicle controller testing according to claim 1, It is characterized in that The controller comprises: a test routine management device, for comparing the operation status information with a preset test case to perform a load test on the vehicle controller; A data analysis device, used for analyzing the database file in the operation status information to obtain the analyzed operation status information; A limit management device is connected to the data analysis device and is used to filter the analyzed operating status information based on preset controller information limits to perform fault diagnosis on the vehicle controller.
7. The load box for vehicle controller testing according to claim 1, It is characterized in that The information collection device comprises: The load box operation status monitoring device is used to generate a duration record based on the operation duration of the load box, and monitor the operation status of the load box based on the duration record.
8. A method for testing a vehicle controller, It is characterized in that The load box for vehicle controller testing as claimed in any one of claims 1 to 7, the method comprising: Obtaining test requirement information and hardware parameter information of the vehicle controller to be load tested; Based on the test requirement information and the hardware parameter information, construct a simulation environment for performing a load test on the vehicle controller; Collecting operation status information generated by the vehicle controller when operating in the simulation environment; A load test is performed on the vehicle controller based on the operating status information.
9. An electronic device, It is characterized in that include: A memory storing an executable program; A processor is used to run the program, wherein the method for vehicle controller testing as claimed in claim 8 is executed when the program is run.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored executable program, wherein when the executable program is executed, the device where the storage medium is located is controlled to execute the method for vehicle controller testing described in claim 8.
11. A computer program product, It is characterized in that A computer program is included which, when executed by a processor, implements the method for vehicle controller testing according to claim 8.
Citation Information
Patent Citations
Vehicle testing method, device and system, and storage medium
CN114061982A
Test system, method and equipment for electric drive controller and storage medium
CN116774675A
Load case
CN208796102U
Endurance test load box of vehicle body controller
CN214067661U
Test system, vehicle simulation apparatus, test apparatus, and test method
US20240015046A1
Cited By
Excitation system limiter performance test system and method
CN120652177A
Test system and method of vehicle-mounted power supply assembly, electronic equipment and storage medium
CN121299516A
