Test system, method, device, processor and storage medium based on automatic cycle simulation of intelligent cockpit power supply scenario
By automatically cyclically simulating the test system of the smart cockpit power supply scenario, and using the real vehicle power management module and relay to control the power supply line, it solves the simulation problem of the smart cockpit hardware board power supply drop scenario, realizes the stability test of the instrument and central control, and reduces the cost cost and improved software reliability.
Patent Information
- Application Number
- CN202210479499.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-05
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-05-05
AI Technical Summary
Existing technology cannot effectively simulate the scenario where the smart cockpit hardware board is dropped at the same time under "Normal Power", "ACC" and "ON" power supplies, resulting in the problem that the instrument and central control do not start normally, and the cost of multiple real-vehicle pressure tests is high. It consumes a lot of manpower and material resources.
A test system based on automatic cycle simulation of smart cockpit power supply scenarios is designed. It uses the real vehicle power management module, CAN module and imaging module to control the power supply line through relays, simulates the smart cockpit power supply scenario, realizes automated cycle testing, and ensures the reliability of the power supply line. Falling and recovering at the same time.
Successfully reproduced and repaired the black screen phenomenon of instruments and central control, achieved stability for multiple power drops and power-on tests after software modification, reduced R&D costs, confirmed the reliability of the smart cockpit system software in advance, and put it into the market after The black screen problem has not been found for half a year.
Smart Images

Figure CN114993596B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automated testing technology, and in particular to the field of smart cockpit power supply testing technology, and specifically refers to a testing system, method, device, processor and computer-readable storage medium thereof based on automatic cycle simulation of smart cockpit power supply scenarios. Background Art
[0002] The smart cockpit includes three modules: instrument, central control and MCU. The instrument and central control are two independent systems, and the MCU realizes the power supply and interaction of the two systems. Occasionally, the instrument or central control does not start normally after power-on in the actual vehicle. It is suspected that there is a loophole in the MCU's handling of the drop or fluctuation of the power supply of the actual vehicle owner. A power supply stress test is required. However, it is not realistic to find multiple real vehicles for multiple stress tests in terms of time and manpower and material support costs. Therefore, automated testing is required. At present, ordinary programmable power supplies can only control the power supply of each channel, and there is a time difference between the control of each channel. It is impossible to simulate the "normal power" of the power management module of the actual vehicle to the smart cockpit hardware board. "ACC" and "ON" drop at the same time. Summary of the invention
[0003] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and provide a test system, method, device, processor and computer-readable storage medium thereof for simulating the power supply scenario of the smart cockpit based on automatic cycle.
[0004] In order to achieve the above-mentioned object, the test system, method, device, processor and computer-readable storage medium thereof based on automatic cycle simulation of intelligent cockpit power supply scenario of the present invention are as follows:
[0005] The main features of the test system based on automatic cycle simulation of intelligent cockpit power supply scenarios are that the system includes:
[0006] A smart cockpit system, used to perform a power supply simulation test process on the smart cockpit according to the internal circuit processing logic;
[0007] A real vehicle power management module, connected to the smart cockpit system, for providing power supply for the smart cockpit system;
[0008] A real vehicle CAN module, connected to the smart cockpit system, for implementing communication data forwarding processing for the smart cockpit system;
[0009] A real vehicle automatic driving module, connected to the smart cockpit system and the real vehicle CAN module, for implementing automatic driving processing according to the control logic of the smart cockpit system; and
[0010] The real vehicle image module is connected to the smart cockpit system and the real vehicle CAN module, and is used to support the smart cockpit system to implement image processing functions.
[0011] The test method for realizing the power supply scenario of the intelligent cockpit based on automatic cycle simulation using the above system is mainly characterized in that the method comprises the following steps:
[0012] (1) Setting up a real vehicle power management module to provide a power supply circuit for the smart cockpit hardware board;
[0013] (2) The smart cockpit module set in the smart cockpit hardware board receives the corresponding power supply line and completes the automatic cycle simulation test of the smart cockpit power supply scenario according to the current power supply line processing logic.
[0014] Preferably, the actual vehicle power management module includes:
[0015] A first programmable power supply, connected to the first relay and the second relay circuit, for providing a power supply circuit for the smart cockpit hardware board;
[0016] The second programmable power supply is connected to the first relay and the second relay circuit, and is used to provide a power supply circuit for the smart cockpit hardware board.
[0017] Preferably, when the power supply line is connected to the Vol+ and Vol- positions of the smart cockpit hardware board, the real vehicle power management module provides a normal power supply for the smart cockpit;
[0018] When the power supply line is connected to the ACC gear of the smart cockpit hardware board, the real vehicle power management module provides ACC power for the smart cockpit;
[0019] When the power supply line is connected to the ON position of the smart cockpit hardware board, the real vehicle power management module provides ON power for the smart cockpit.
[0020] Preferably, when the first relay is energized normally, the ACC position of the smart cockpit hardware board will be connected to the Vol+ position; when the second relay is energized normally, the ON position of the smart cockpit hardware board will be connected to the Vol- position.
[0021] Preferably, the working voltage of the permanent power supply needs to be set to meet the normal operation of the microprocessing unit MCU of the smart cockpit;
[0022] The working voltage of the ACC power supply needs to be set to meet the normal operation of the central control module of the smart cockpit;
[0023] The operating voltage of the ON power supply needs to be set to meet the normal operation of the instrument module of the smart cockpit.
[0024] Preferably, when the output voltage of the first programmable power supply is a low voltage, the second programmable power supply immediately disconnects the power supply to the ACC position and the ON position of the smart cockpit hardware board through the first relay and the second relay to achieve a simultaneous drop in the three power supply lines of the smart cockpit hardware board.
[0025] Preferably, the power supply line processing logic in step (2) includes:
[0026] (2.1) When the ignition lock position of the actual vehicle is in the ACC power position, the smart cockpit system is powered on and set to normal power, and after the first waiting randomization, it is powered on and set to ACC power, and then the second waiting randomization is performed. Finally, the ACC power is powered off, and it is determined whether the first set cycle number has been reached. If so, it goes to step (2.2), otherwise, it is repeated until the requirements are met;
[0027] (2.2) The ignition lock position of the actual vehicle enters the ON power gear, the smart cockpit system is powered on and set to ACC power and performs the first waiting random, the smart cockpit system is powered on again and set to ON power, and performs the second waiting random, then performs the first ON power power-off process, and finally performs the second ACC power-off process, and determines whether the second set cycle number is reached. If so, enter step (2.3), otherwise, repeat this step until the requirements are met;
[0028] (2.3) The ignition lock position of the actual vehicle enters the Start->ON power gear, the smart cockpit system is powered on and set to ACC power and performs the first waiting randomization, the smart cockpit system is powered on again and set to ON power, and performs the second waiting randomization, the smart cockpit system performs the normal power gear drop according to the preset voltage value, the smart cockpit system performs the ACC gear drop according to the preset voltage value, and the smart cockpit system performs the ON gear drop according to the preset voltage value;
[0029] (2.4) The smart cockpit system performs the first normal power recovery according to the initial voltage value, the smart cockpit system performs the second normal power recovery according to the initial voltage value, and the smart cockpit system performs the third normal power recovery according to the initial voltage value, and determines whether the third set cycle number is reached. If so, proceed to step (2.5), otherwise, repeat steps (2.3) and (2.4) until the requirements are met;
[0030] (2.5) The ignition lock position of the actual vehicle enters a power-off state and then resumes power-on. After the smart cockpit system is powered on and set to ACC power, it performs the first waiting randomization and enters the first normal power-off state, followed by the second waiting randomization;
[0031] (2.6) After the smart cockpit system is restored to normal power, it performs a third waiting randomization and enters the second normal power-off process, followed by ACC power-off and ON power-off processing, and performs a fourth waiting randomization process;
[0032] (2.7) The smart cockpit system is powered on normally, and after the fifth random waiting is completed, it is powered on and set to ACC power and the sixth random waiting is performed. Finally, the smart cockpit system is powered on again and set to ON power.
[0033] (2.8) Determine whether the current smart cockpit system has reached the fourth set cycle number. If so, end the smart cockpit power supply test. Otherwise, repeat steps (2.5) to (2.8) until the final requirements are met.
[0034] The main features of the test device based on automatic cycle simulation of intelligent cockpit power supply scenario are that the device includes:
[0035] a processor configured to execute computer executable instructions;
[0036] A memory stores one or more computer executable instructions, which, when executed by the processor, implement the various steps of the test based on the automatic cycle simulation of the smart cockpit power supply scenario.
[0037] The main feature of the processor for testing the smart cockpit power supply scenario based on automatic cycle simulation is that the processor is configured to execute computer-executable instructions. When the computer-executable instructions are executed by the processor, the various steps of the test based on automatic cycle simulation of the smart cockpit power supply scenario are implemented.
[0038] The main feature of the computer-readable storage medium is that a computer program is stored thereon, and the computer program can be executed by a processor to implement the various steps of the test based on the automatic cycle simulation of the smart cockpit power supply scenario described above.
[0039] The test system, method, device, processor and computer-readable storage medium thereof based on the automatic cycle simulation of the smart cockpit power supply scenario of the present invention are adopted to reproduce the occasional black screen of the instrument and the black screen of the central control on the actual vehicle, and after the software is modified, various power drop and power-on tests are performed again, and it is confirmed that the black screen of the instrument and the black screen of the central control are no longer found. The actual vehicle test is also not found. The repaired software is put on the market, and there has been no black screen phenomenon reported in half a year. The stress test of simulating the power supply of the actual vehicle can be carried out in the early stage of the research and development of the smart cockpit, and the reliability of the smart cockpit system software can be quickly confirmed in advance. At the same time, the present invention has low cost. Only two automotive relays are added to the existing ordinary programmable power supply, and multiple scenes of automatic stress testing can be realized through the control program. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a schematic diagram of the structure of the test system of the present invention based on automatic cycle simulation of smart cockpit power supply scenarios.
[0041] Figure 2 It is a schematic diagram of a test method for realizing the power supply scenario of a smart cockpit based on automatic cycle simulation according to the present invention.
[0042] Figure 3 The figure is a schematic diagram of a power supply in a specific embodiment of the present invention.
[0043] Figure 4 This is a schematic diagram of the power supply test process of the smart cockpit of the present invention.
[0044] Figure 5 The figure is a schematic diagram of the relationship between the key ignition lock position and the power supply of the real vehicle power management module to the smart cockpit in the practical application of the present invention. DETAILED DESCRIPTION
[0045] In order to more clearly describe the technical content of the present invention, further description is given below in conjunction with specific embodiments.
[0046] Before describing in detail embodiments according to the present invention, it should be noted that, hereinafter, the terms "comprises", "includes" or any other variations are intended to cover non-exclusive inclusion, whereby a process, method, article or apparatus comprising a series of elements includes not only these elements, but also other elements not explicitly listed or inherent to such process, method, article or apparatus.
[0047] See also Figure 1 As shown, the test system based on automatic cycle simulation of smart cockpit power supply scenario, wherein the system includes:
[0048] A smart cockpit system, used to perform a power supply simulation test process on the smart cockpit according to the internal circuit processing logic;
[0049] A real vehicle power management module, connected to the smart cockpit system, for providing power supply for the smart cockpit system;
[0050] A real vehicle CAN module, connected to the smart cockpit system, for implementing communication data forwarding processing for the smart cockpit system;
[0051] A real vehicle automatic driving module, connected to the smart cockpit system and the real vehicle CAN module, for implementing automatic driving processing according to the control logic of the smart cockpit system; and
[0052] The real vehicle image module is connected to the smart cockpit system and the real vehicle CAN module, and is used to support the smart cockpit system to implement image processing functions.
[0053] The system is used to implement a test method based on automatic cycle simulation of smart cockpit power supply scenarios, wherein the method comprises the following steps:
[0054] (1) Setting up a real vehicle power management module to provide a power supply circuit for the smart cockpit hardware board;
[0055] (2) The smart cockpit module set in the smart cockpit hardware board receives the corresponding power supply line and completes the automatic cycle simulation test of the smart cockpit power supply scenario according to the current power supply line processing logic.
[0056] See also Figure 2 As shown, as a preferred embodiment of the present invention, the actual vehicle power management module includes:
[0057] A first programmable power supply, connected to the first relay and the second relay circuit, for providing a power supply circuit for the smart cockpit hardware board;
[0058] The second programmable power supply is connected to the first relay and the second relay circuit, and is used to provide a power supply circuit for the smart cockpit hardware board.
[0059] As a preferred embodiment of the present invention, when the power supply line is connected to the Vol+ and Vol- positions of the smart cockpit hardware board, the real vehicle power management module provides a normal power supply for the smart cockpit;
[0060] When the power supply line is connected to the ACC gear of the smart cockpit hardware board, the real vehicle power management module provides ACC power for the smart cockpit;
[0061] When the power supply line is connected to the ON position of the smart cockpit hardware board, the real vehicle power management module provides ON power for the smart cockpit.
[0062] As a preferred embodiment of the present invention, when the first relay is energized normally, the ACC gear of the smart cockpit hardware board will be connected with the Vol+ gear; when the second relay is energized normally, the ON gear of the smart cockpit hardware board will be connected with the Vol- gear.
[0063] As a preferred embodiment of the present invention, the working voltage of the permanent power supply needs to be set to meet the normal operation of the microprocessing unit MCU of the smart cockpit;
[0064] The working voltage of the ACC power supply needs to be set to meet the normal operation of the central control module of the smart cockpit;
[0065] The operating voltage of the ON power supply needs to be set to meet the normal operation of the instrument module of the smart cockpit.
[0066] As a preferred embodiment of the present invention, when the output voltage of the first programmable power supply is low voltage, the second programmable power supply immediately disconnects the power supply to the ACC position and the ON position of the smart cockpit hardware board through the first relay and the second relay to achieve a simultaneous drop in the three power supply lines of the smart cockpit hardware board.
[0067] See also Figure 4 As shown, as a preferred embodiment of the present invention, the power supply line processing logic described in step (2) includes:
[0068] (2.1) When the ignition lock position of the actual vehicle is in the ACC power position, the smart cockpit system is powered on and set to normal power, and after the first waiting randomization, it is powered on and set to ACC power, and then the second waiting randomization is performed. Finally, the ACC power is powered off, and it is determined whether the first set cycle number has been reached. If so, it goes to step (2.2), otherwise, it is repeated until the requirements are met;
[0069] (2.2) The ignition lock position of the actual vehicle enters the ON power gear, the smart cockpit system is powered on and set to ACC power and performs the first waiting random, the smart cockpit system is powered on again and set to ON power, and performs the second waiting random, then performs the first ON power power-off process, and finally performs the second ACC power-off process, and determines whether the second set cycle number is reached. If so, enter step (2.3), otherwise, repeat this step until the requirements are met;
[0070] (2.3) The ignition lock position of the actual vehicle enters the Start->ON power gear, the smart cockpit system is powered on and set to ACC power and performs the first waiting randomization, the smart cockpit system is powered on again and set to ON power, and performs the second waiting randomization, the smart cockpit system performs the normal power gear drop according to the preset voltage value, the smart cockpit system performs the ACC gear drop according to the preset voltage value, and the smart cockpit system performs the ON gear drop according to the preset voltage value;
[0071] (2.4) The smart cockpit system performs the first normal power recovery according to the initial voltage value, the smart cockpit system performs the second normal power recovery according to the initial voltage value, and the smart cockpit system performs the third normal power recovery according to the initial voltage value, and determines whether the third set cycle number is reached. If so, proceed to step (2.5), otherwise, repeat steps (2.3) and (2.4) until the requirements are met;
[0072] (2.5) The ignition lock position of the actual vehicle enters a power-off state and then resumes power-on. After the smart cockpit system is powered on and set to ACC power, it performs the first waiting randomization and enters the first normal power-off state, followed by the second waiting randomization;
[0073] (2.6) After the smart cockpit system is restored to normal power, it performs a third waiting randomization and enters the second normal power-off process, followed by ACC power-off and ON power-off processing, and performs a fourth waiting randomization process;
[0074] (2.7) The smart cockpit system is powered on normally, and after the fifth random waiting is completed, it is powered on and set to ACC power and the sixth random waiting is performed. Finally, the smart cockpit system is powered on again and set to ON power.
[0075] (2.8) Determine whether the current smart cockpit system has reached the fourth set cycle number. If so, end the smart cockpit power supply test. Otherwise, repeat steps (2.5) to (2.8) until the final requirements are met.
[0076] exist Figure 4 In the test flow diagram shown, it can be understood that the content it illustrates is only a part of the actual test scenario. Each vertical column corresponds to a small scene in the actual vehicle. All small scenes to be tested can be strung together as needed. The number of times for each small scene can be set independently. In this way, automatic cyclic simulation of all possible power supply scenarios of the actual vehicle can be achieved, and the power supply stress test of the smart cockpit system program can be realized in the early stage of research and development.
[0077] 1. The power management module on the actual vehicle provides the following 3 power supplies for the "smart cockpit" (same GND):
[0078] ·Normal power (corresponding to Figure 2 Vol+ and Vol- of "Smart Cockpit Hardware Board")
[0079] ACC (corresponding to Figure 2 ACC of "Smart Cockpit Hardware Board"
[0080] ON (corresponding to Figure 2 "Smart cockpit hardware board" ON)
[0081] 2. The relationship between the three power supplies provided by the power management module of the actual vehicle to the "smart cockpit" is:
[0082] When the "normal power" drops, it also affects the drops of "ACC" and "ON"
[0083] During the power-on process, only "ACC" may drop.
[0084] 3. The "smart cockpit" module receives 3 power supplies and has the following requirements for its own system:
[0085] The "normal power" is above 8V, and the MCU must be able to work normally
[0086] "ACC" is above 16V, and the central control should be able to work normally (the central control screen can light up and operate normally)
[0087] "ON" is above 9V, the instrument should be able to work normally (the instrument screen can display normally)
[0088] 4. Working logic and function of used automotive relays
[0089] See also Figure 3 As shown, when the white and yellow wires are powered, the two green wires are connected.
[0090] The function in the above construction method is: when the output voltage of "Programmable Power Supply 1" is adjusted to output low voltage (such as 0v), "Programmable Power Supply 2" will immediately disconnect the power supply to "ACC" and "ON" of "Smart Cockpit Hardware Board" through the relay, so that the three-way power supply to "Smart Cockpit Hardware Board" can be dropped at the same time. The delay between the three-way power supply caused by the power failure of the programmable power supply command is avoided.
[0091] In the real car system, the real car power management module supplies power to the smart cockpit. Physically, four wires are used to supply power to the four PINs of the smart cockpit, thus realizing three-way power supply to the smart cockpit. The relationship between the real car key ignition lock position and the real car power management module's power supply to the smart cockpit is shown in the figure below. Figure 5 shown.
[0092] In Star position, the starter circuit is connected, which will drive the engine to run and start. After releasing the key, it will automatically return to the ON position. In the process of falling from Start position to ON position, there will be a momentary voltage drop (normal power, ACC, ON position will drop, and the drop range is not exactly the same)
[0093] When the vehicle's overall power storage is insufficient or other modules suddenly malfunction, the power management module will simultaneously cut off the three power supplies to the smart cockpit.
[0094] The smart cockpit system is required to be able to operate normally (its own functions and all functions associated with other modules of the actual vehicle) after all three power supply lines are cut off and power is restored.
[0095] The test device based on automatic cycle simulation of intelligent cockpit power supply scenario, wherein the device comprises:
[0096] a processor configured to execute computer executable instructions;
[0097] A memory stores one or more computer executable instructions, which, when executed by the processor, implement the various steps of the test based on the automatic cycle simulation of the smart cockpit power supply scenario.
[0098] The processor of the test based on the automatic cycle simulation of the smart cockpit power supply scenario, wherein the processor is configured to execute computer-executable instructions, and when the computer-executable instructions are executed by the processor, the various steps of the test based on the automatic cycle simulation of the smart cockpit power supply scenario described above are implemented.
[0099] The computer-readable storage medium stores a computer program thereon, and the computer program can be executed by a processor to implement the various steps of the test based on the automatic cycle simulation of the smart cockpit power supply scenario described above.
[0100] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
[0101] It should be understood that each part of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution device.
[0102] A person of ordinary skill in the art may understand that all or part of the steps of the method for implementing the above-mentioned embodiment may be completed by instructing the relevant hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one of the steps of the method embodiment or a combination thereof.
[0103] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0104] In the description of this specification, the description with reference to the terms "an embodiment", "some embodiments", "example", "specific example", or "embodiment" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0105] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
[0106] The test system, method, device, processor and computer-readable storage medium thereof based on the automatic cycle simulation of the smart cockpit power supply scenario of the present invention are adopted to reproduce the occasional black screen of the instrument and the black screen of the central control on the actual vehicle, and after the software is modified, various power drop and power-on tests are performed again, and it is confirmed that the black screen of the instrument and the black screen of the central control are no longer found. The actual vehicle test is also not found. The repaired software is put on the market, and there has been no black screen phenomenon reported in half a year. The stress test of simulating the power supply of the actual vehicle can be carried out in the early stage of the research and development of the smart cockpit, and the reliability of the smart cockpit system software can be quickly confirmed in advance. At the same time, the present invention has low cost. Only two automotive relays are added to the existing ordinary programmable power supply, and multiple scenes of automatic stress testing can be realized through the control program.
[0107] In this specification, the present invention has been described with reference to specific embodiments thereof. However, it is apparent that various modifications and variations may be made without departing from the spirit and scope of the present invention. Therefore, the specification and drawings should be regarded as illustrative rather than restrictive.
Claims
1. A test method based on automatic cycle simulation of smart cockpit power supply scenarios is implemented by using a test system based on automatic cycle simulation of smart cockpit power supply scenarios, the system comprising: A smart cockpit system, used to perform a power supply simulation test process on the smart cockpit according to the internal circuit processing logic; A real vehicle power management module, connected to the smart cockpit system, for providing power supply for the smart cockpit system; A real vehicle CAN module, connected to the smart cockpit system, for implementing communication data forwarding processing for the smart cockpit system; A real vehicle automatic driving module, connected to the smart cockpit system and the real vehicle CAN module, for implementing automatic driving processing according to the control logic of the smart cockpit system; as well as A real vehicle image module, connected to the smart cockpit system and the real vehicle CAN module, for supporting the smart cockpit system to implement image processing functions; Characterized in that the method comprises the following steps: (1) Setting up a real vehicle power management module to provide a power supply circuit for the smart cockpit hardware board; (2) The smart cockpit module provided in the smart cockpit hardware board receives the corresponding power supply line and completes the automatic cycle simulation test of the smart cockpit power supply scenario according to the current power supply line processing logic; The actual vehicle power management module includes: A first programmable power supply, connected to the first relay and the second relay circuit, for providing a power supply circuit for the smart cockpit hardware board; A second programmable power supply, connected to the first relay and the second relay circuit, for providing a power supply circuit for the smart cockpit hardware board; When the power supply line is connected to the Vol+ and Vol- positions of the smart cockpit hardware board, the real vehicle power management module provides a normal power supply for the smart cockpit; When the power supply line is connected to the ACC gear of the smart cockpit hardware board, the real vehicle power management module provides ACC power for the smart cockpit; When the power supply line is connected to the ON position of the smart cockpit hardware board, the real vehicle power management module provides ON power to the smart cockpit; The power supply line processing logic described in step (2) includes: (2.1) When the ignition lock position of the actual vehicle is in the ACC power position, the smart cockpit system is powered on and set to normal power, and after the first waiting randomization, it is powered on and set to ACC power, and then the second waiting randomization is performed. Finally, the ACC power is powered off, and it is determined whether the first set cycle number has been reached. If so, it goes to step (2.2), otherwise, it is repeated until the requirements are met; (2.2) The ignition lock position of the actual vehicle enters the ON power gear, the smart cockpit system is powered on and set to ACC power and performs the first waiting random, the smart cockpit system is powered on again and set to ON power, and performs the second waiting random, then performs the first ON power power-off process, and finally performs the second ACC power-off process, and determines whether the second set cycle number is reached. If so, enter step (2.3), otherwise, repeat this step until the requirements are met; (2.3) The ignition lock position of the actual vehicle enters the Start->ON power gear, the smart cockpit system is powered on and set to ACC power and performs the first waiting randomization, the smart cockpit system is powered on again and set to ON power, and performs the second waiting randomization, the smart cockpit system performs the normal power gear drop according to the preset voltage value, the smart cockpit system performs the ACC gear drop according to the preset voltage value, and the smart cockpit system performs the ON gear drop according to the preset voltage value; (2.4) The smart cockpit system performs the first normal power recovery according to the initial voltage value, the smart cockpit system performs the second normal power recovery according to the initial voltage value, and the smart cockpit system performs the third normal power recovery according to the initial voltage value, and determines whether the third set cycle number is reached. If so, proceed to step (2.5), otherwise, repeat steps (2.3) and (2.4) until the requirements are met; (2.5) The ignition lock position of the actual vehicle enters a power-off state and then resumes power-on. After the smart cockpit system is powered on and set to ACC power, it performs the first waiting randomization and enters the first normal power-off state, followed by the second waiting randomization; (2.6) After the smart cockpit system is restored to normal power, it performs a third waiting randomization and enters the second normal power-off process, followed by ACC power-off and ON power-off processing, and performs a fourth waiting randomization process; (2.7) The smart cockpit system is powered on normally, and after the fifth random waiting is completed, it is powered on to ACC power and the sixth random waiting is performed, and finally the smart cockpit system is powered on again to ON power; (2.8) Determine whether the current smart cockpit system has reached the fourth set cycle number. If yes, end the smart cockpit power supply test. Otherwise, repeat steps (2.5) to (2.8) until the final requirement is met. All small scenes to be tested can be strung together as needed, and the number of times for each small scene can be set independently to achieve automatic cycle simulation of all possible power supply scenarios of the actual vehicle and realize power supply stress testing of the smart cockpit system program.
2. The test method based on automatic cycle simulation of smart cockpit power supply scenario according to claim 1 is characterized in that: When the first relay is energized normally, the ACC gear of the smart cockpit hardware board will be connected to the Vol+ gear; when the second relay is energized normally, the ON gear of the smart cockpit hardware board will be connected to the Vol- gear.
3. The test method based on automatic cycle simulation of smart cockpit power supply scenario according to claim 1 is characterized in that: The working voltage of the permanent power supply needs to be set to meet the normal operation of the microprocessor unit MCU of the smart cockpit; The working voltage of the ACC power supply needs to be set to meet the normal operation of the central control module of the smart cockpit; The operating voltage of the ON power supply needs to be set to meet the normal operation of the instrument module of the smart cockpit.
4. The test method based on automatic cycle simulation of smart cockpit power supply scenario according to claim 1 is characterized in that: When the output voltage of the first programmable power supply is a low voltage, the second programmable power supply immediately disconnects the power supply to the ACC position and the ON position of the smart cockpit hardware board through the first relay and the second relay to achieve a simultaneous drop in the three power supply lines of the smart cockpit hardware board.
5. A test device based on automatic cycle simulation of smart cockpit power supply scenario, characterized in that: The device comprises: a processor configured to execute computer executable instructions; A memory storing one or more computer executable instructions, wherein when the computer executable instructions are executed by the processor, the test method based on automatic cycle simulation of the smart cockpit power supply scenario described in any one of claims 1 to 4 is implemented.
6. A processor for testing a smart cockpit power supply scenario based on automatic cycle simulation, characterized in that: The processor is configured to execute computer executable instructions. When the computer executable instructions are executed by the processor, the test method based on automatic cycle simulation of the smart cockpit power supply scenario described in any one of claims 1 to 4 is implemented.
7. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program can be executed by a processor to implement the test method based on automatic cycle simulation of the smart cockpit power supply scenario as described in any one of claims 1 to 4.
