Collision simulation test method and device, electronic equipment and storage medium
By sequentially inserting switching devices into the automotive control loop, simulating collision scenarios and detecting controller responses, the problem that existing collision testing methods cannot detect controller responses is solved, improving safety and reducing testing costs.
Patent Information
- Application Number
- CN202411953730.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-01
AI Technical Summary
The existing collision testing methods in the automotive industry cannot effectively detect the impact of collision on controllers and control circuits, especially in new energy vehicles, which may affect the life safety of users. At the same time, the existing methods require actual physical collisions, which are costly and difficult to operate.
By sequentially inserting additional switching devices into the control loop of the controller to be tested, the collision scenario is simulated, the specific switching devices are disconnected to simulate the impact of the collision on the control loop, and the execution result of the preset control function is detected through the collision simulation signal.
The actual response detection of the controller in the collision scenario is realized, driving safety is improved, testing costs are reduced, and actual physical collisions are not required.
Smart Images

Figure CN119738116A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of collision testing technology, and in particular to a collision simulation test method, device, electronic equipment and storage medium. Background Art
[0002] Most of the existing collision tests in the automotive industry only focus on the structural damage caused to the vehicle by the actual physical collision. Therefore, most of the existing collision tests are to simulate the collision through some testing devices. However, this collision test idea has the following two disadvantages.
[0003] First, the core point of this method is the actual physical damage caused by the collision to the vehicle, ignoring the damage to the controller, circuit, etc. after the collision, which affects the control function, such as whether the door lock can be unlocked, whether the door handle can be popped out, etc. This neglect is fatal to new energy vehicles, because new energy vehicles have a large number of controllers, and if the above situation occurs, it will threaten the life safety of users. Second, this method requires an actual physical collision, which is very costly, and it is difficult to accurately control the collision position. Summary of the invention
[0004] The present invention provides a collision simulation test method, device, electronic device and storage medium to solve the above-mentioned technical problem that it is impossible to detect the actual response of a preset control function in a control loop in a collision test.
[0005] In one embodiment of the present application, the present application provides a collision simulation test method, including: obtaining collision simulation information; generating a collision simulation signal corresponding to the collision simulation information, and sending it to a controller to be tested, wherein the collision simulation signal is used to enable the controller to be tested to perform a preset control function; based on the collision simulation information, disconnecting at least one switching device in a control loop corresponding to the controller to be tested to obtain a circuit to be tested, wherein the switching device is an external device connected in series to the control loop; and executing a detection of a preset control function of the circuit to be tested according to the collision simulation signal to obtain a function execution result.
[0006] In one embodiment of the present application, at least one switch device in the control circuit corresponding to the controller to be tested is disconnected based on the collision simulation information, including: determining a target device in at least one switch device based on a collision position, a preset electrical schematic diagram in the control circuit, and a preset control logic; disconnecting the target device according to an impact delay and an impact duration to cut off the corresponding control line and / or fuse; wherein the control circuit is used to characterize the electrical circuit corresponding to the controller to be tested, the collision simulation information includes collision intensity, delay parameters, and the collision position, and the impact delay and impact duration are obtained based on the collision intensity and the delay parameters.
[0007] In one embodiment of the present application, the controller to be tested is used to characterize a control system that executes a preset safety function in response to the collision simulation signal, and the control system includes at least one of a braking system, an airbag system, a steering system, and a door control system.
[0008] In one embodiment of the present application, before disconnecting at least one switching device in the control circuit corresponding to the controller to be tested based on the collision simulation information, it also includes: connecting at least one switching device in series based on a preset electrical schematic diagram and a preset control logic in the control circuit; wherein the switching device includes a relay, and the control circuit is used to characterize the electrical circuit corresponding to the controller to be tested.
[0009] In one embodiment of the present application, before generating a collision simulation signal corresponding to the collision simulation information, it also includes: establishing a diagnostic connection with an electronic control unit to control the electronic control unit to generate a collision simulation signal and send it to the controller to be tested; clearing all fault record information; and performing security access authentication on the electronic control unit.
[0010] In one embodiment of the present application, establishing a diagnostic connection with an electronic control unit includes: controlling the diagnostic session mode of the electronic control unit to an extended session mode to obtain operational control authority for the electronic control; and continuously sending device maintenance services to the electronic control unit to maintain a diagnostic connection with the electronic control unit.
[0011] In one embodiment of the present application, before establishing a diagnostic connection with an electronic control unit, it also includes: setting diagnostic service parameters and control parameters of a switch device; starting a diagnostic online thread, a message recording thread, and a simulated collision thread; wherein the diagnostic online thread is used to establish a diagnostic connection with an electronic control unit, the simulated collision thread is used to perform a simulated collision test on the execution of a preset control function of the controller to be tested, and the message recording thread is used to record message data of the entire simulated collision test for collision analysis.
[0012] In one embodiment of the present application, the present application provides a collision simulation test device, including: an information acquisition module, used to acquire collision simulation information; a signal generation module, used to generate a collision simulation signal corresponding to the collision simulation information, and send it to the controller to be tested, the collision simulation signal is used to enable the controller to be tested to perform a preset control function; a switch control module, used to disconnect at least one switch device in the control loop corresponding to the controller to be tested based on the collision simulation information to obtain the circuit to be tested, the switch device is an external device connected in series to the control loop; a function detection module, used to perform execution detection on the preset control function of the circuit to be tested according to the collision simulation signal to obtain a function execution result.
[0013] In one embodiment of the present application, the present application provides an electronic device, which includes: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the electronic device implements the collision simulation test method described in any of the above embodiments.
[0014] In one embodiment of the present application, the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor of a computer, the computer executes the collision simulation test method described in any one of the above embodiments.
[0015] Beneficial effects of the embodiments of the present invention: The present invention provides a collision simulation test method, device, electronic device and storage medium. The embodiments of the present invention connect an additional mounted switch device in series in the corresponding control loop of the controller to be tested, so as to test the actual functional execution result of the preset control function executed by the controller to be tested when responding to the collision simulation signal. Through the switch device, the actual execution result of the preset control function executed in the control loop during the collision test can be simulated, thereby improving driving safety and reducing testing costs.
[0016] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0018] Figure 1 A schematic diagram showing an exemplary system architecture to which the technical solution of the embodiments of the present application can be applied;
[0019] Figure 2 A schematic diagram of a collision simulation test method according to an embodiment of the present application is shown;
[0020] Figure 3 A control schematic diagram of a main thread according to an embodiment of the present application is shown;
[0021] Figure 4 A control schematic diagram of a diagnostic online thread according to an embodiment of the present application is shown;
[0022] Figure 5 A control schematic diagram of a message recording thread according to an embodiment of the present application is shown;
[0023] Figure 6 A control schematic diagram of a simulated collision thread according to an embodiment of the present application is shown;
[0024] Figure 7 A block diagram of a collision simulation test device according to an embodiment of the present application is shown;
[0025] Figure 8 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION
[0026] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0027] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.
[0028] In the following description, a large number of details are discussed to provide a more thorough explanation of the embodiments of the present application. However, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present application difficult to understand.
[0029] First of all, it should be noted that the existing collision test methods cannot test whether the controllers related to life safety can work normally under various collision scenarios. For example, it is impossible to accurately control the position of each collision and which lines related to the door lock and door handle controller are broken by each collision, so it is impossible to test whether the door lock can be unlocked and whether the door handle pops out. In addition, the existing collision test methods require actual collisions, which are very costly.
[0030] See also Figure 1 , Figure 1 A schematic diagram of an exemplary system architecture to which the technical solution of the embodiment of the present application can be applied is shown. Figure 1As shown, the system architecture may include a computer device 101, a vehicle 102, and a switch device 103. The computer device 101 may be at least one of a microcomputer, an embedded computer, a general-purpose computer, etc. The number of the switch device 103 is at least one, and the switch device 103 is an external device connected to the vehicle control circuit through control logic and electrical schematics. The computer device 101 is used to control the vehicle 102 and the switch device 103 to perform a collision simulation test, and to perform data interaction between the computer device 101 and the vehicle 102 through a controller area network (CAN) tool, including control data and test messages.
[0031] Exemplarily, the computer device 101 obtains collision simulation information; generates a collision simulation signal corresponding to the collision simulation information and sends it to the controller to be tested, where the collision simulation signal is used to enable the controller to be tested to execute a preset control function; based on the collision simulation information, at least one switching device in a control loop corresponding to the controller to be tested is disconnected to obtain a loop to be tested, where the switching device is an external device connected in series to the control loop; the preset control function of the loop to be tested is executed and detected according to the collision simulation signal to obtain a function execution result.
[0032] In the related art, it is impossible to detect the actual response of the preset control function in the control loop during the collision test.
[0033] In order to solve the above technical problems, the present application provides a collision simulation test method, device, electronic device and storage medium. The implementation details of the technical solution of the embodiment of the present application are elaborated in detail below.
[0034] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of a collision simulation test method according to an embodiment of the present application. Figure 2 As shown, in an exemplary embodiment, the collision simulation test method includes at least steps S210 to S240, which are described in detail as follows:
[0035] Step S210, obtaining collision simulation information.
[0036] In one embodiment of the present application, the collision simulation information is used to simulate collision parameters under different collision scenarios, such as collision position, collision intensity, and delay parameters. For example, the collision scenario is that the corresponding controller is damaged 100ms after the front cabin of the main driver is hit by a side collision.
[0037] Step S220: Generate a collision simulation signal corresponding to the collision simulation information and send it to the controller to be tested.
[0038] The collision simulation signal is used to enable the controller to be tested to execute a preset control function.
[0039] In one embodiment of the present application, the present application can control an electronic control unit (ECU) to send a collision signal to a controller to be tested through a diagnostic service. For example, a computer device initiates a diagnostic service with the ECU to control the ECU.
[0040] In one embodiment of the present application, before generating a collision simulation signal corresponding to the collision simulation information, it also includes: establishing a diagnostic connection with an electronic control unit to control the electronic control unit to generate a collision simulation signal and send it to the controller to be tested; clearing all fault record information; and performing security access authentication on the electronic control unit.
[0041] In one embodiment of the present application, before establishing a diagnostic connection with an electronic control unit, it also includes: setting diagnostic service parameters and control parameters of switching devices; starting a diagnostic online thread, a message recording thread and a simulated collision thread; wherein the diagnostic online thread is used to establish a diagnostic connection with an electronic control unit, the simulated collision thread is used to perform a simulated collision test on the execution of a preset control function of the controller to be tested, and the message recording thread is used to record message data of the entire simulated collision test for collision analysis.
[0042] In one embodiment of the present application, see Figure 3 , Figure 3 FIG. 2 shows a control schematic diagram of the main thread according to an embodiment of the present application. Figure 3 As shown, the switch device includes a relay. A main thread is created. The main thread requires the input of the control parameters of the relay, the diagnostic service parameters, etc.; the main thread will create and start three threads. Thread 1 is the online diagnostic thread, thread 2 is the message recording thread, and thread 3 is the collision simulation thread. In order to ensure the smooth progress of the entire test process, it is necessary to start thread 1 and thread 2 first, sleep for 2s, and then start thread 3.
[0043] In one embodiment of the present application, establishing a diagnostic connection with an electronic control unit includes: controlling the diagnostic session mode of the electronic control unit to an extended session mode to obtain operational control authority for the electronic control; and continuously sending device maintenance services to the electronic control unit to maintain a diagnostic connection with the electronic control unit.
[0044] In one embodiment of the present application, see Figure 4 , Figure 4 FIG. 2 shows a control schematic diagram of a diagnostic online thread according to an embodiment of the present application. Figure 4As shown, in the diagnostic online thread, the diagnostic session control service 10 instruction is sent to switch the ECU session mode to an extended session. If the ECU session mode is an extended session and the diagnostic online thread is already running, the diagnostic device maintain connection service 3E instruction is continuously sent to the ECU to ensure that the computer device does not drop offline during the entire collision test process, that is, to ensure that the computer device can have control over the ECU during the entire test process.
[0045] In one embodiment of the present application, see Figure 5 , Figure 5 FIG. 2 shows a control diagram of a message recording thread according to an embodiment of the present application. Figure 5 As shown, during the running of the message recording thread, all message data in the entire collision test process will be recorded, which is convenient for online and offline analysis of experimental results.
[0046] Step S230: disconnect at least one switch device in a control loop corresponding to the controller to be tested based on the collision simulation information to obtain the loop to be tested.
[0047] Among them, the switch device is an external device connected in series in the control loop.
[0048] In one embodiment of the present application, before disconnecting at least one switching device in the control circuit corresponding to the controller to be tested based on the collision simulation information, it also includes: connecting at least one switching device in series based on a preset electrical schematic and a preset control logic in the control circuit; wherein the switching device includes a relay, and the control circuit is used to characterize the electrical circuit corresponding to the controller to be tested.
[0049] In one embodiment of the present application, the switch device also includes components such as transistors and contactors that control the on and off of the circuit.
[0050] In one embodiment of the present application, in order to simulate various extreme collision scenarios, the relay needs to be connected in series to the corresponding control loop according to the electrical schematic diagram and the control logic, so that the relay can be controlled to cut off the line or fuse between the corresponding position and the controller to be tested under different time delay requirements. Cutting off different lines represents different collision positions. For example, the line between the body controller (Body Control Module, BCM) and the door handle controller (Handle Control Unit, HCU) is used to test the preset door lock unlocking function and the preset door handle pop-up function during the collision. The door lock controller is located in the BCM.
[0051] In one embodiment of the present application, at least one switching device in a control loop corresponding to a controller to be tested is disconnected based on collision simulation information, including: determining a target device in at least one switching device based on a collision position, a preset electrical schematic diagram in the control loop, and a preset control logic; disconnecting the target device according to an impact delay and an impact duration to cut off the corresponding control line and / or fuse; wherein the control loop is used to characterize an electrical loop corresponding to the controller to be tested, the collision simulation information includes collision intensity, delay parameters, and collision position, and the impact delay and impact duration are obtained based on the collision intensity and the delay parameters.
[0052] In one embodiment of the present application, the switch device is controlled by a computer device; or, the switch device is controlled by an ECU.
[0053] In one embodiment of the present application, the impact delay is used to characterize the time interval from the occurrence of a collision to the impact on the control loop. The impact duration is used to characterize the total duration of the impact of the collision on the control loop. For example, in some collision scenarios with low collision intensity, after a short-term impact on part of the control loop, it will automatically recover; in some collision scenarios with high collision intensity, the impact is permanent.
[0054] In one embodiment of the present application, the delay parameter is used to characterize the time interval for executing a preset control function after a collision is detected.
[0055] Step S240 , performing an execution test on a preset control function of the circuit to be tested according to the collision simulation signal to obtain a function execution result.
[0056] In one embodiment of the present application, the controller to be tested is used to characterize a control system that performs a preset safety function in response to a collision simulation signal, and the control system includes at least one of a braking system, an airbag system, a steering system, and a door control system.
[0057] In one embodiment of the present application, a preset control function of the circuit to be tested is executed and detected according to the collision simulation signal to obtain a function execution result, including: executing a door lock unlocking function and a door handle pop-up function in response to the collision simulation signal; detecting the execution results of the door lock unlocking function and the door handle pop-up function to obtain a function execution result; wherein the preset control functions of the circuit to be tested include a door lock unlocking function and a door handle pop-up function.
[0058] In one embodiment of the present application, the function execution result includes the execution success status, response time, and fault information of the preset control function.
[0059] In one embodiment of the present application, the function execution result can be returned to the computer device via a CAN tool for collision analysis.
[0060] In one embodiment of the present application, see Figure 6 , Figure 6 FIG. 2 shows a control schematic diagram of a simulated collision thread according to an embodiment of the present application. Figure 6 As shown, the simulated collision thread will send a clear diagnostic information service 14 instruction to the ECU to clear all fault codes in the vehicle and eliminate interference for subsequent simulation test links; send a security access service 27 instruction to perform security authentication of the ECU, thereby obtaining the operational control of the ECU; after passing the security authentication, it will send an input and output control service 2F instruction to control the ECU, so that the ECU sends a collision signal to the controller to be tested; based on different collision scenarios including different collision positions, the control relay cuts off the corresponding control line or insurance, for example, observe whether the door lock is unlocked and whether the door handle pops out; after the above test process is completed, the thread running flag needs to be cleared and other threads need to be stopped.
[0061] In one embodiment of the present application, the present application can test whether the door locks can be unlocked and the door handles can be popped out under various extreme collision scenarios. Performing this test before the vehicle is launched on the market is helpful to investigate the safety performance of the vehicle and avoid affecting the life safety of the user; the present application can also verify whether there are problems with the existing control logic so that the research and development of subsequent vehicle models can avoid the problem; the testing method of the present application can be horizontally expanded to other controllers to verify whether other controllers can work normally under various extreme collision scenarios; the present application simulates collision scenarios based on diagnostic services and switching devices without the need for actual collisions, which is convenient to operate and saves costs; the present application can investigate the normal reaction time of controllers involving life safety such as door locks and door handles under extreme collision scenarios. This reaction time can not only promote the improvement of the control logic in the subsequent research and development process, but also provide corresponding data support analysis after the user has a collision accident.
[0062] See also Figure 7 , Figure 7 A block diagram of a collision simulation test device according to an embodiment of the present application is shown. The device can be applied to Figure 1 The implementation environment shown in the figure is specifically configured in the computer device 101. The device can also be applied to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the device is applied.
[0063] like Figure 7 As shown, a collision simulation test device 700 according to an embodiment of the present application includes: an information acquisition module 701 , a signal generation module 702 , a switch control module 703 and a function detection module 704 .
[0064] Wherein, the information acquisition module 701 is used to acquire collision simulation information;
[0065] The signal generating module 702 is used to generate a collision simulation signal corresponding to the collision simulation information and send it to the controller to be tested. The collision simulation signal is used to make the controller to be tested perform a preset control function.
[0066] A switch control module 703, configured to disconnect at least one switch device in a control loop corresponding to the controller to be tested based on the collision simulation information to obtain the loop to be tested, wherein the switch device is an external device connected in series to the control loop;
[0067] The function detection module 704 is used to perform execution detection on the preset control function of the circuit to be tested according to the collision simulation signal to obtain the function execution result.
[0068] It should be noted that the collision simulation test device provided in the above embodiment and the collision simulation test method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment and will not be repeated here. In actual application, the collision simulation test device provided in the above embodiment can distribute the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.
[0069] An embodiment of the present application also provides an electronic device, including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the electronic device implements the collision simulation test method provided in the above-mentioned embodiments.
[0070] See also Figure 8 , Figure 8 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 8 The computer system 800 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0071] like Figure 8As shown, the computer system 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 802 or the program loaded from the storage part 808 to the random access memory (RAM) 803, such as executing the method in the above embodiment. In the RAM 803, various programs and data required for system operation are also stored. The CPU 801, ROM 802 and RAM 803 are connected to each other through a bus 804. The input / output (I / O) interface 805 is also connected to the bus 804.
[0072] The following components are connected to the I / O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed so that a computer program read therefrom is installed into the storage section 808 as needed.
[0073] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 809, and / or installed from a removable medium 811. When the computer program is executed by a central processing unit (CPU) 801, various functions defined in the system of the present application are executed.
[0074] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0075] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0076] The units involved in the embodiments described in the present application can be implemented by software or by hardware, and the units described can also be set in a processor. Among them, the names of these units do not constitute a limitation on the units themselves under certain circumstances. Therefore, the technical solution according to the implementation mode of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including a number of instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation mode of the present application.
[0077] Another aspect of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor of a computer, the computer executes the collision simulation test method provided in each of the above embodiments. The computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist independently without being assembled into the electronic device.
[0078] In the above embodiments, unless otherwise specified, by using serial numbers such as "first" and "second" to describe common objects, it only means that they refer to different instances of the same object, rather than indicating that the objects being described must adopt a given order, whether in time, space, sorting or any other way.
[0079] The above embodiments are merely illustrative of the principles and effects of the present application, and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A collision simulation test method, characterized in that: The method comprises: Get collision simulation information; Generate a collision simulation signal corresponding to the collision simulation information, and send it to the controller to be tested, wherein the collision simulation signal is used to make the controller to be tested execute a preset control function; Disconnect at least one switch device in the control loop corresponding to the controller to be tested based on the collision simulation information to obtain the circuit to be tested, wherein the switch device is an external device connected in series to the control loop; The preset control function of the circuit to be tested is executed and tested according to the collision simulation signal to obtain a function execution result.
2. The collision simulation test method according to claim 1, characterized in that: Disconnecting at least one switch device in a control loop corresponding to the controller to be tested based on the collision simulation information includes: Determining a target device in at least one switching device based on the collision location, a preset electrical schematic diagram in the control loop, and a preset control logic; Performing disconnection control on the target device according to the impact delay and the impact duration to cut off the corresponding control line and / or insurance; Among them, the control loop is used to characterize the electrical circuit corresponding to the controller to be tested, the collision simulation information includes collision intensity, delay parameters and the collision position, and the impact delay and impact duration are obtained based on the collision intensity and the delay parameters.
3. The collision simulation test method according to claim 2, characterized in that: The controller to be tested is used to characterize a control system that executes a preset safety function in response to the collision simulation signal, and the control system includes at least one of a braking system, an airbag system, a steering system, and a door control system.
4. The collision simulation test method according to claim 1, characterized in that: Before disconnecting at least one switch device in the control loop corresponding to the controller to be tested based on the collision simulation information, the method further includes: At least one switch device is serially connected based on a preset electrical schematic diagram and preset control logic in the control loop; Wherein, the switch device includes a relay, and the control loop is used to characterize the electrical circuit corresponding to the controller to be tested.
5. The collision simulation test method according to any one of claims 1 to 4, characterized in that: Before generating the collision simulation signal corresponding to the collision simulation information, the method further includes: Establishing a diagnostic connection with an electronic control unit to control the electronic control unit to generate a collision simulation signal and send it to the controller to be tested; Clear all fault record information; Perform security access authentication on the electronic control unit.
6. The collision simulation test method according to claim 5, characterized in that: Establishing a diagnostic connection to the electronic control unit, including: Controlling the diagnostic session mode of the electronic control unit to an extended session mode to obtain the operation control authority of the electronic control unit; A device maintenance service is continuously sent to the electronic control unit to maintain a diagnostic connection with the electronic control unit.
7. The collision simulation test method according to claim 5, characterized in that: Before establishing a diagnostic connection with the electronic control unit, also include: Set diagnostic service parameters and control parameters of switch devices; Start the online diagnosis thread, message recording thread and collision simulation thread; Among them, the diagnostic online thread is used to establish a diagnostic connection with the electronic control unit, the simulated collision thread is used to simulate the collision test on the execution of the preset control function of the controller under test, and the message recording thread is used to record the message data of the entire simulated collision test for collision analysis.
8. A collision simulation test device, characterized in that: The device comprises: An information acquisition module, used to acquire collision simulation information; A signal generating module, used for generating a collision simulation signal corresponding to the collision simulation information, and sending the collision simulation signal to the controller to be tested, wherein the collision simulation signal is used for causing the controller to be tested to execute a preset control function; A switch control module, used for disconnecting at least one switch device in a control loop corresponding to the controller to be tested based on the collision simulation information to obtain a loop to be tested, wherein the switch device is an external device connected in series to the control loop; The function detection module is used to perform execution detection on the preset control function of the circuit to be tested according to the collision simulation signal to obtain a function execution result.
9. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the collision simulation test method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is enabled to execute the collision simulation test method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Verifying device and method of automobile collision fuel cutoff function
CN105510055A
Vehicle collision simulation test method and device
CN109001576A
Fuel oil cut-off signal detection method and system
CN113176098A
Vehicle collision protection method and device and computer storage medium
CN116279262A
Simulink-based automobile collision switch detection logic and model, and device comprising Simulink-based automobile collision switch detection logic and model
CN117048540A
Cited By
Vehicle unlocking function test method, electronic equipment, storage medium and product
CN120253276A
Test method, electronic device, storage medium and product for vehicle unlocking function
CN120253276B