Intelligent cabin dormancy wake-up test system and method
Through the power management board, CAN interface card and image collector of the intelligent cockpit sleep wake-up test system, combined with the control instructions and image analysis of the host computer, the low efficiency and low accuracy problems caused by manual operation in the prior art are solved, and the problem of low efficiency and low accuracy is realized. Automatic and comprehensive hibernation wake-up test.
Patent Information
- Application Number
- CN202411043505.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-22
AI Technical Summary
The existing smart cockpit hibernation wake-up test relies on manual operation, resulting in low test efficiency and incomplete test coverage, resulting in low accuracy.
Design an intelligent cockpit sleep wake-up test system, including a power management board, CAN interface card and image collector, control the sleep wake-up state of the measured controller through the instructions issued by the upper computer, combining the working current, sleep wake-up duration and display screen Image judgment test results.
It realizes automated sleep wake-up test, shortens test time, improves test efficiency and accuracy, covers the dormant wake-up state of the instrument screen and central control screen, and enhances the comprehensiveness of the test.
Smart Images

Figure CN119002452A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent cockpit testing, and in particular to an intelligent cockpit sleep and wake-up testing system and method. Background Art
[0002] With the continuous development of automobile technology, cockpits are becoming more and more intelligent, and cockpit testing is becoming more and more important. Therefore, whether the test system of the smart cockpit runs stably will affect the test efficiency and production line rhythm.
[0003] CN117760764A discloses a test system and method for a smart cockpit, which discloses a method for streamlining the test process based on the basic functions and multiple test programs in the test components to improve the test efficiency, but it does not focus on the sleep and wake-up test of the smart cockpit. In the prior art, the sleep and wake-up test of the smart cockpit requires the tester to manually enable the sleep and wake-up so that the smart cockpit enters the sleep process; when the smart cockpit enters the sleep state, the smart cockpit is manually awakened by issuing instructions through the TSP service platform, sending CAN messages, or IG (Ignition, ignition switch) power-on, so that it enters the normal working process. Then repeat the above operation to perform periodic sleep and wake-up tests. This test method is too time-consuming and has high labor costs, resulting in low test efficiency. In addition, the smart cockpit is a system with an information display screen, including a controller, an instrument screen, and a central control screen. The prior art can only perform sleep and wake-up tests on the controller, but cannot perform sleep and wake-up tests on the instrument screen and the central control screen, resulting in incomplete test coverage, which in turn causes technical problems such as low accuracy of the test results.
[0004] Therefore, there is an urgent need to provide a smart cockpit sleep and wake-up test system and method to improve the test efficiency and accuracy of the smart cockpit sleep and wake-up test. Summary of the invention
[0005] In view of this, it is necessary to provide a smart cockpit sleep and wake-up test system and method to solve the technical problems in the prior art that the smart cockpit sleep and wake-up test relies on manual enablement, resulting in low test efficiency, and incomplete test coverage, resulting in low test accuracy.
[0006] On the one hand, in order to solve the above technical problems, the present invention provides an intelligent cockpit sleep and wake-up test system, including: a power management board, a CAN interface card, an image acquisition device and a host computer; The power management board responds to the ignition lock control command issued by the host computer and provides a simulated ignition lock sleep wake-up power signal for the controller under test; The CAN interface card responds to the message control command issued by the host computer and provides a message wake-up signal for the controller under test; The image collector is used to obtain the real-time image of the display screen; The host computer is used to obtain the working current and sleep wake-up time of the controller under test under the control of the simulated ignition lock sleep wake-up power supply signal and message wake-up signal, and determine the test result based on the working current, sleep wake-up time and display screen image.
[0007] In a possible implementation, the simulated ignition lock sleep wake-up power supply signal includes a normal power signal and a ground signal, the ignition lock control instruction includes a first sleep instruction, the display screen includes an instrument screen and a central control screen; the host computer includes a first sleep control module and a first sleep analysis module; The first sleep control module is used to initiate the first sleep instruction, so that the power management board responds to the first sleep instruction to turn on the normal power signal and the ground signal, and obtain the first working current of the controller under test, the first instrument screen image of the instrument screen, the first central control screen image of the central control screen, and the first message sending status under the control of the first sleep instruction; The first sleep analysis module is used to determine whether the backlight of the instrument screen and the central control screen is turned off based on the first instrument screen image and the first central control screen image. When the backlight of the instrument screen and the central control screen is turned off, the first working current is less than or equal to the static current design value and the first message sending status is no message sending, the first sleep test result is determined to be passed.
[0008] In a possible implementation, the simulated ignition lock sleep wake-up power supply signal includes an ACC gear signal and an ON gear signal, and the ignition lock control instruction includes a first wake-up instruction and a second wake-up instruction; then the host computer also includes a first wake-up control module, a first wake-up analysis module, a second wake-up control module and a second wake-up analysis module; The first wake-up control module is used to initiate the first wake-up instruction, so that the power management board responds to the first wake-up instruction to turn on the ACC gear signal, record the time when the ACC gear starts to power on, and obtain the second working current, the second instrument screen image of the instrument screen, the second central control screen image of the central control screen, and the second message sending state under the control of the first wake-up instruction, and determine the first entry time of the central control screen entering the main interface based on the second instrument screen image and the second central control screen image; The first wake-up analysis module is used to determine the startup time of the central control screen based on the power-on time of the ACC gear and the first entry time, and determine that the first wake-up test result is passed when the startup time of the central control screen is less than or equal to the startup time design value, the second working current is less than the current design maximum value, and the second message sending state meets the message design definition; The second wake-up control module is used to initiate the second wake-up instruction, so that the power management board responds to the second wake-up instruction to turn on the ON gear signal, record the power-on time of the ON gear, and obtain the third working current, the third instrument screen image of the instrument screen, the third central control screen image of the central control screen and the third message sending state under the control of the second wake-up instruction, and determine the second entry time of the instrument screen into the main interface based on the third instrument screen image and the third central control screen image; The second wake-up analysis module is used to determine the startup duration of the instrument screen based on the power-on time of the ON gear and the second entry time. When the startup duration of the instrument screen is less than or equal to the startup duration design value, the third working current is less than the current design maximum value, and the third message sending status complies with the message design definition, the second wake-up test result is determined to be passed.
[0009] In a possible implementation, the ignition lock control instruction includes a second sleep instruction, and the host computer further includes a second sleep control module and a second sleep analysis module; The second sleep control module is used to initiate the second sleep instruction so that the power management board responds to the second sleep instruction to disconnect the ON gear, obtain the fourth instrument screen image of the instrument screen and the fourth central control screen image of the central control screen after the ON gear is disconnected, and obtain the fourth message sending status, and judge whether the backlight of the instrument screen is turned off and whether the backlight of the central control screen is turned on based on the fourth instrument screen image and the fourth central control screen image. When the backlight of the instrument screen is turned off, the backlight of the central control screen is turned on, and the fourth message sending status meets the message design definition, disconnect the ACC gear, record the power-off time of the ACC gear, and obtain the fifth instrument screen image of the instrument screen, the fifth central control screen image of the central control screen, the message stop time, and the first current drop time when the working current of the controller under test drops to the first working current; The second sleep analysis module is used to determine the sleep duration based on the first current drop time and the ACC gear power-off time, determine the message sending duration after power-off based on the message stop sending time and the ACC gear power-off time, and judge whether the backlight of the instrument screen and the central control screen is turned off based on the fifth instrument screen image and the fifth central control screen image. When the sleep duration is less than or equal to the preset sleep duration, the message sending duration after power-off is equal to the preset duration, and the backlight of the instrument screen and the central control screen is turned off, it is determined that the second sleep test result is passed.
[0010] In a possible implementation, the host computer further includes a CAN wake-up control module, a CAN wake-up analysis module, a CAN sleep control module and a CAN sleep analysis module; The CAN wake-up control module is used to issue a message control instruction, so that the CAN interface card issues the message wake-up signal based on the message control instruction, and obtains the fourth working current, the fifth message sending state, the sixth instrument screen image of the instrument screen, and the sixth central control screen image of the central control screen under the control of the message wake-up signal; The CAN wake-up analysis module is used to determine whether the backlights of the instrument screen and the central control screen are turned off based on the sixth instrument screen image and the sixth central control screen image, and when the backlight of the instrument screen is on, the backlight of the central control screen is off, the fourth working current is less than the current design maximum value, and the fifth message sending state is no message sending, it is determined that the CAN wake-up test result is passed; The CAN sleep control module is used to control the CAN interface card to send a message wake-up shutdown signal or stop sending a message wake-up signal, and obtain the message wake-up shutdown signal sending time or the message wake-up signal stopping sending time, the second current drop time when the working current of the controller under test drops to the first working current, and the seventh instrument screen image of the instrument screen and the seventh central control screen image of the central control screen; The CAN sleep analysis module is used to determine the controller sleep duration based on the time when the message wake-up shutdown signal is sent or the time when the message wake-up signal stops sending and the second current drop time, and judge whether the backlights of the central control screen and the instrument screen are both turned off based on the seventh instrument screen image and the seventh central control screen image. When the backlights of the central control screen and the instrument screen are both turned off and the controller sleep duration is less than the preset sleep duration value, the CAN sleep test is determined to be passed.
[0011] In a possible implementation, the host computer further includes a first abnormality control module, a first abnormality analysis module, a second abnormality control module, and a second abnormality analysis module; The first abnormal control module is used to initiate a first abnormal wake-up instruction, so that the CAN interface card responds to the first abnormal wake-up instruction to simulate the continuous sending of non-wake-up signal messages, record the first abnormal working current of the controller under test, the sending time of the non-wake-up signal message, the first abnormal time when the working current of the controller under test drops from the first abnormal working current to the preset current, and the first abnormal instrument screen image of the instrument screen and the first abnormal central control screen image of the central control screen; The first abnormality analysis module is used to determine a first forced sleep duration based on the first abnormal time and the sending time, and determine the display status of the instrument screen and the central control screen based on the first abnormal instrument screen image and the first abnormal central control screen image, and when the first forced sleep duration is less than or equal to the forced sleep duration design value, and the display status of the instrument screen and the central control screen are both off, it is determined that the first abnormal wake-up test result is passed; The second abnormal control module is used to initiate a second abnormal wake-up instruction, so that the power management board responds to the second abnormal wake-up instruction to connect the ACC gear signal and the ON gear signal, control the controller under test to a normal working mode, and control the CAN interface card to simulate continuous sending of non-wake-up signal messages, and then control the power management board to disconnect the ON gear signal and the ACC gear signal in sequence, record the abnormal disconnection time of the ACC gear signal, and record the second abnormal moment when the working current of the controller under test drops to the first working current; The second abnormality analysis module is used to determine the second forced sleep duration based on the second abnormal moment and the abnormal disconnection time. When the second forced sleep duration is less than or equal to the forced sleep duration design value and the display state is off, the second abnormal wake-up test result is determined to be passed.
[0012] In a possible implementation, the host computer further includes a third abnormality control module and a third abnormality analysis module; The third abnormal control module is used to control the CAN interface card to send a CAN message wake-up signal and a CAN message non-wake-up signal at the same time, control the controller under test to enter a low power consumption mode, and then control the CAN interface card to stop sending the CAN message wake-up signal, and record a first stop sending time and a third current drop time when the working current drops to the first working current; The third abnormal analysis module is used to determine the third forced sleep duration based on the first stop sending time and the third current drop time. When the third forced sleep duration is less than or equal to the forced sleep duration design value and the display state is off, it is determined that the third abnormal wake-up test result is passed.
[0013] In a possible implementation, the smart cockpit sleep and wake-up test system further includes a power supply, and the power supply supplies power to the power management board in response to a power supply instruction issued by the host computer.
[0014] In a possible implementation, the smart cockpit sleep and wake-up test system further includes a memory, and the memory is used to store test data, and the test data includes CAN bus data and video files during the sleep and wake-up test.
[0015] On the other hand, the present invention further provides a smart cockpit sleep and wake-up test method, which is applicable to the smart cockpit sleep and wake-up test system described in any one of the above possible implementations, and the method includes: Control the power management board to respond to the ignition lock control instruction issued by the host computer to provide a simulated ignition lock sleep wake-up power signal for the controller under test; Controlling the CAN interface card to respond to the message control instruction issued by the host computer to provide a message wake-up signal for the controller under test; Controlling the image collector to acquire a real-time image of the display screen; The operating current and the sleep-wake-up time of the controller under test under the control of the simulated ignition lock sleep-wake-up power supply signal and the message wake-up signal are obtained, and the test result is determined based on the operating current, the sleep-wake-up time and the display screen image.
[0016] The beneficial effects of the present invention are as follows: the intelligent cockpit sleep and wake-up test system provided by the present invention provides a simulated ignition lock sleep and wake-up power signal for the controller under test in response to the ignition lock control instruction issued by the host computer by setting the power management board card; the CAN interface card provides a message wake-up signal for the controller under test in response to the message control instruction issued by the host computer, and then the host computer obtains the working current and sleep and wake-up time of the controller under test under the control of the simulated ignition lock sleep and wake-up power signal and the message wake-up signal to realize the sleep and wake-up test, and only needs to generate the ignition lock control instruction and the message control instruction to perform the sleep and wake-up automatic test on the controller under test, which shortens the test time and improves the sleep and wake-up test efficiency compared with manual testing.
[0017] Furthermore, the present invention is also provided with an image collector, which determines the test result based on the working current, the sleep-wake-up time and the display screen image, takes into account the display state of the display screen during the sleep-wake-up process of the smart cockpit, and comprehensively judges the sleep-wake-up test result by comprehensively combining the three parameters of the working current, the sleep-wake-up time and the display screen image, which has comprehensive coverage and improves the accuracy of the sleep-wake-up test.
[0018] Furthermore, the present invention tests the controller sleep and wake-up based on the simulated ignition lock sleep and wake-up power supply signal and the message wake-up signal, and considers multiple wake-up sources, so as to more comprehensively verify the functions and characteristics of the sleep and wake-up. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 A schematic diagram of the structure of an embodiment of the intelligent cockpit sleep and wake-up test system provided by the present invention; Figure 2 A schematic diagram of the structure of an embodiment of the host computer provided by the present invention; Figure 3 A schematic flow chart of an embodiment of the smart cockpit sleep and wake-up test method provided by the present invention. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 those skilled in the art without creative work are within the scope of protection of the present invention.
[0022] It should be understood that the schematic drawings are not drawn to scale. The flowchart used in the present invention shows the operations implemented according to some embodiments of the present invention. It should be understood that the operations of the flowchart can be implemented out of order, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present invention, and can also remove one or more operations from the flowchart. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor systems and / or microcontroller systems.
[0023] Reference to an "embodiment" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0024] The present invention provides a smart cockpit sleep and wake-up test system and method, which are described below respectively.
[0025] Figure 1 A schematic diagram of the structure of an embodiment of the intelligent cockpit sleep and wake-up test system provided by the present invention is shown in FIG. Figure 1 As shown, the intelligent cockpit sleep wake-up test system 10 includes: a power management board 100, a CAN interface card 200, an image collector 300 and a host computer 400; The power management board 100 responds to the ignition lock control command issued by the host computer 400 to provide a simulated ignition lock sleep wake-up power signal for the controller under test; The CAN interface card 200 responds to the message control instruction issued by the host computer 400 to provide a message wake-up signal for the controller under test; The image collector 300 is used to obtain a real-time image of the display screen; The host computer 400 is used to obtain the operating current and sleep wake-up time of the controller under test under the control of the simulated ignition lock sleep wake-up power supply signal and the message wake-up signal, and determine the test result based on the operating current, sleep wake-up time and display screen image.
[0026] The controller under test refers to the controller in the smart cockpit, such as Figure 1 As shown, the smart cockpit 20 includes a controller 21 , a central control screen 22 and an instrument screen 23 , and the display screen includes the central control screen 22 and the instrument screen 23 .
[0027] The power management board 100 uses the VT7001A board. The CAN interface card 200 uses the VN1630A, which is used with the CANoe software to simulate the CAN bus message. The image collector 300 is a high-definition camera with a resolution of 4024x30361200W pixels and a frame rate of 32fps, which is connected to the host computer through a USB interface.
[0028] It should be understood that the host computer 400 is installed in an industrial computer, which includes a display device. When the host computer 400 is running, a visual operation interface can be displayed in the display device to control the host computer 400.
[0029] Compared with the prior art, the smart cockpit sleep and wake-up test system 10 provided in the embodiment of the present invention provides a simulated ignition lock sleep and wake-up power signal for the controller under test by setting the power management board 100 to respond to the ignition lock control instruction issued by the host computer 400; the CAN interface card 200 responds to the message control instruction issued by the host computer 400 to provide a message wake-up signal for the controller under test, and then the host computer 400 obtains the working current and sleep and wake-up time of the controller under test under the control of the simulated ignition lock sleep and wake-up power signal and the message wake-up signal to implement the sleep and wake-up test. It only needs to generate the ignition lock control instruction and the message control instruction to perform an automatic test on the sleep and wake-up of the controller under test. Compared with manual testing, the test time is shortened and the sleep and wake-up test efficiency is improved.
[0030] Furthermore, the embodiment of the present invention also provides an image collector 300, which determines the test result based on the working current, the sleep-wake-up time and the display screen image, takes into account the display state of the display screen during the sleep-wake-up process of the smart cockpit, and comprehensively judges the sleep-wake-up test result based on the three parameters of the working current, the sleep-wake-up time and the display screen image, which has comprehensive coverage and improves the accuracy of the sleep-wake-up test.
[0031] Furthermore, the embodiment of the present invention tests the controller sleep and wake-up based on the simulated ignition lock sleep and wake-up power supply signal and the message wake-up signal, and considers multiple wake-up sources, so as to more comprehensively verify the functions and characteristics of the sleep and wake-up.
[0032] It should be noted that the sleep-wake-up test includes three test items: initial sleep state test, sleep-to-wake-up state test, and wake-up-to-sleep state test.
[0033] For the initial dormant state test, if the test is conducted by simulating the ignition lock dormant wake-up power supply signal, the simulated ignition lock dormant wake-up power supply signal includes a normal power signal and a ground signal, the ignition lock control command includes a first dormant command, and the display screen includes an instrument screen and a central control screen; Figure 2 As shown, the host computer 400 includes a first sleep control module 410 and a first sleep analysis module 420; The first sleep control module 410 is used to initiate a first sleep instruction, so that the power management board 100 responds to the first sleep instruction to connect the normal power signal and the ground signal, connect the normal power and the ground of the controller under test, and obtain the first working current of the controller under test under the control of the first sleep instruction, the first instrument screen image of the instrument screen, the first central control screen image of the central control screen, and the first message sending status; The first sleep analysis module 420 is used to determine whether the backlight of the instrument screen and the central control screen is turned off based on the first instrument screen image and the first central control screen image. When the backlight of the instrument screen and the central control screen is turned off, the first working current is less than or equal to the static current design value and the first message sending status is no message sending, the first sleep test result is determined to be passed.
[0034] It should be understood that: when the backlight of the instrument screen or the central control screen is not turned off, or the first operating current is greater than the static current design value, or the first message sending state is not no message sending, the first sleep test result is determined to be a failure.
[0035] For the sleep-to-wake-up state test, if the test is conducted by simulating the ignition lock sleep-wake-up power supply signal, the simulated ignition lock sleep-wake-up power supply signal includes an ACC gear signal and an ON gear signal, and the ignition lock control instruction includes a first wake-up instruction and a second wake-up instruction; Figure 2 As shown, the host computer 400 further includes a first wake-up control module 430, a first wake-up analysis module 440, a second wake-up control module 450 and a second wake-up analysis module 460; The first wake-up control module 430 is used to initiate a first wake-up instruction, so that the power management board 100 responds to the first wake-up instruction to turn on the ACC gear signal, record the time when the ACC gear starts to power on, and obtain the second working current, the second instrument screen image of the instrument screen, the second central control screen image of the central control screen, and the second message sending state under the control of the first wake-up instruction, and determine the first entry time of the central control screen into the main interface based on the second instrument screen image and the second central control screen image; The first wake-up analysis module 440 is used to determine the startup time of the central control screen based on the power-on time of the ACC gear and the first entry time. If the startup time of the central control screen is less than or equal to the startup time design value, the second working current is less than the current design maximum value, and the second message sending state meets the message design definition, it is determined that the first wake-up test result is passed; The second wake-up control module 450 is used to initiate a second wake-up instruction, so that the power management board 100 responds to the second wake-up instruction to turn on the ON gear signal, and records the power-on time of the ON gear, and obtains the third working current, the third instrument screen image of the instrument screen, the third central control screen image of the central control screen and the third message sending state under the control of the second wake-up instruction, and determines the second entry time of the instrument screen into the main interface based on the third instrument screen image and the third central control screen image; The second wake-up analysis module 460 is used to determine the startup duration of the instrument screen based on the power-on time of the ON gear and the second entry time. When the startup duration of the instrument screen is less than or equal to the startup duration design value, the third working current is less than the current design maximum value, and the third message sending status complies with the message design definition, the second wake-up test result is determined to be passed.
[0036] For the wake-up to sleep state test, if it is tested by simulating the ignition lock sleep wake-up power signal, the ignition lock control instruction includes a second sleep instruction, such as Figure 2 As shown, the host computer 400 further includes a second sleep control module 470 and a second sleep analysis module 480; The second sleep control module 470 is used to initiate a second sleep instruction so that the power management board 100 responds to the second sleep instruction to disconnect the ON gear, obtain a fourth instrument screen image of the instrument screen and a fourth central control screen image of the central control screen after disconnecting the ON gear, and obtain a fourth message sending status, and determine whether the backlight of the instrument screen is turned off and whether the backlight of the central control screen is turned on based on the fourth instrument screen image and the fourth central control screen image. When the backlight of the instrument screen is turned off, the backlight of the central control screen is turned on, and the fourth message sending status meets the message design definition, disconnect the ACC gear, record the power-off time of the ACC gear, and obtain a fifth instrument screen image of the instrument screen, a fifth central control screen image of the central control screen, a message stop time, and a first current drop time when the working current of the controller under test drops to the first working current; The second sleep analysis module 480 is used to determine the sleep duration based on the first current drop time and the ACC gear power-off time, determine the message sending duration after power-off based on the message stop time and the ACC gear power-off time, and determine whether the backlight of the instrument screen and the central control screen is turned off based on the fifth instrument screen image and the fifth central control screen image. When the sleep duration is less than or equal to the preset sleep duration, the message sending duration after power-off is equal to the preset duration, and the backlight of the instrument screen and the central control screen is turned off, the second sleep test result is determined to be passed.
[0037] If the test is performed through the message wake-up signal, then Figure 2 As shown, the host computer 400 further includes a CAN wake-up control module 490, a CAN wake-up analysis module 4100, a CAN sleep control module 4110 and a CAN sleep analysis module 4120; The CAN wake-up control module 490 is used to issue a message control instruction so that the CAN interface card 200 issues a message wake-up signal based on the message control instruction, and obtains a fourth working current, a fifth message sending state, a sixth instrument screen image of the instrument screen, and a sixth central control screen image of the central control screen under the control of the message wake-up signal; The CAN wake-up analysis module 4100 is used to determine whether the backlights of the instrument screen and the central control screen are turned off based on the sixth instrument screen image and the sixth central control screen image. When the backlight of the instrument screen is on, the backlight of the central control screen is off, the fourth working current is less than the current design maximum value, and the fifth message sending state is no message sending, it is determined that the CAN wake-up test result is passed; The CAN sleep control module 4110 is used to control the CAN interface card to send a message wake-up shutdown signal or stop sending a message wake-up signal, and obtain the message wake-up shutdown signal sending time or the message wake-up signal stopping sending time, the second current drop time when the working current of the controller under test drops to the first working current, and the seventh instrument screen image of the instrument screen and the seventh central control screen image of the central control screen; The CAN sleep analysis module 4120 is used to determine the controller sleep duration based on the time when the message wake-up shutdown signal is sent or the time when the message wake-up signal stops sending and the second current drop time, and to judge whether the backlights of the central control screen and the instrument screen are both turned off based on the seventh instrument screen image and the seventh central control screen image. When the backlights of the central control screen and the instrument screen are both turned off and the controller sleep duration is less than the preset sleep duration value, the CAN sleep test is determined to be passed.
[0038] Among them, the message wake-up signal can be any one of the vehicle light on signals (including position lights, turn signals, double flash lights), door opening signals, etc.
[0039] It should be noted that the host computer 400 can set the operation interval time of each of the above modules, and can configure the above modules to be executed repeatedly to implement periodic sleep and wake-up tests to verify the stability of the smart cockpit.
[0040] To further ensure the comprehensiveness of the sleep-wake test, in some embodiments of the present invention, Figure 2 As shown, the host computer 400 further includes a first abnormality control module 4130, a first abnormality analysis module 4140, a second abnormality control module 4150 and a second abnormality analysis module 4160; The first abnormal control module 4130 is used to initiate a first abnormal wake-up instruction, so that the CAN interface card 200 responds to the first abnormal wake-up instruction to simulate the continuous sending of non-wake-up signal messages, and records the first abnormal working current of the controller under test, the sending time of the non-wake-up signal message, the first abnormal time when the working current of the controller under test drops from the first abnormal working current to the preset current, and the first abnormal instrument screen image of the instrument screen and the first abnormal central control screen image of the central control screen; The first abnormality analysis module 4140 is used to determine the first forced sleep duration based on the first abnormal time and the sending time, and determine the display status of the instrument screen and the central control screen based on the first abnormal instrument screen image and the first abnormal central control screen image. When the first forced sleep duration is less than or equal to the forced sleep duration design value, and the display status of the instrument screen and the central control screen are both off, it is determined that the first abnormal wake-up test result is passed; The second abnormal control module 4150 is used to initiate a second abnormal wake-up instruction, so that the power management board 100 responds to the second abnormal wake-up instruction to connect the ACC gear signal and the ON gear signal, control the controller under test to a normal working mode, and control the CAN interface card to simulate continuous sending of non-wake-up signal messages, and then control the power management board to disconnect the ON gear signal and the ACC gear signal in sequence, record the abnormal disconnection time of the ACC gear signal, and record the second abnormal moment when the working current of the controller under test drops to the first working current; The second abnormality analysis module 4160 is used to determine the second forced sleep duration based on the second abnormal moment and the abnormal disconnection time. When the second forced sleep duration is less than or equal to the forced sleep duration design value and the display status is off, the second abnormal wake-up test result is determined to be passed.
[0041] The embodiment of the present invention controls the CAN interface card 200 to simulate the continuous sending of non-wake-up signal messages, thereby realizing a sleep-wake-up test in a signal abnormality scenario, and further improving the comprehensiveness of the sleep-wake-up test.
[0042] The above is a sleep wake-up test when the ignition lock control is abnormal. In order to implement the sleep wake-up test when the CAN message control is abnormal, in some embodiments of the present invention, such as Figure 2 As shown, the host computer 400 further includes a third abnormality control module 4170 and a third abnormality analysis module 4180; The third abnormal control module 4170 is used to control the CAN interface card to send a CAN message wake-up signal and a CAN message non-wake-up signal at the same time, control the controller under test to enter a low power consumption mode, and then control the CAN interface card to stop sending the CAN message wake-up signal, and record a first stop sending time and a third current drop time when the working current drops to the first working current; The third abnormality analysis module 4180 is used to determine the third forced sleep duration based on the first stop sending time and the third current drop time. When the third forced sleep duration is less than or equal to the forced sleep duration design value and the display status is off, the three abnormal wake-up test results are determined to be passed.
[0043] The embodiment of the present invention further improves the comprehensiveness of the sleep-wake-up test by setting the sleep-wake-up test in the CAN message abnormal scenario, and further improves the accuracy and reliability of the sleep-wake-up test.
[0044] It should be noted that the above test process can be written into different test cases according to the wake-up source (ignition lock control instruction, message control instruction) and test stage (initial sleep stage, sleep to wake-up stage, wake-up to sleep stage, abnormal test stage). In actual testing, you only need to call the test case to implement the test.
[0045] In some embodiments of the present invention, Figure 1 As shown, the intelligent cockpit sleep and wake-up test system 10 also includes a power supply 500 , which responds to a power supply instruction issued by the host computer 400 to supply power to the power management board 100 .
[0046] The power supply 500 is a programmable DC power supply with an output voltage range of 0-40V, and is connected to the host computer 400 via a USB interface.
[0047] In order to analyze or trace the source when a test fails, in some embodiments of the present invention, Figure 1 As shown, the intelligent cockpit sleep and wake-up test system 10 also includes a memory 600, and the memory 600 is used to store test data, and the test data includes CAN bus data and video files during the sleep and wake-up test.
[0048] The embodiment of the present invention saves the test data by setting the memory 600, so that the user can search the test data to analyze and troubleshoot problems that occur during the test.
[0049] In summary, the smart cockpit sleep and wake-up system provided by the embodiment of the present invention has the following characteristics: 1. Comprehensive coverage: the sleep and wake-up state corresponding to the smart cockpit controller is comprehensively judged according to the working current, message sending status, sleep and wake-up time, instrument screen image, and central control screen image of the controller under test. 2. High degree of automation: the test process is automatically controlled by the host computer, which reduces manual intervention, improves test efficiency, and reduces manpower input and time consumption, thereby reducing the overall test cost. 3. High accuracy: the use of precise power management, CAN interface cards, high-definition cameras and other hardware equipment ensures the accuracy and consistency of the test results. It can detect abnormal situations that occur during the sleep and wake-up process of the instrument screen and the central control screen. 4. Strong flexibility: It supports the setting of multiple test scenarios and conditions, and can be flexibly adjusted and combined according to actual needs to perform sleep and wake-up cycle stress testing. The smart cockpit sleep and wake-up test system proposed in the embodiment of the present invention provides an effective testing method for the research and development and production of smart cockpit systems, which helps to improve product quality and market competitiveness.
[0050] On the other hand, the present invention also provides a smart cockpit sleep wake-up test method, which is applicable to the smart cockpit sleep wake-up test system in any of the above embodiments, such as Figure 3 As shown, the intelligent cockpit sleep wake-up test method includes: S301, controlling the power management board to respond to the ignition lock control command issued by the host computer to provide a simulated ignition lock sleep wake-up power signal for the controller under test; S302, controlling the CAN interface card to respond to the message control instruction issued by the host computer to provide a message wake-up signal for the controller under test; S303, controlling the image collector to obtain a real-time image of the display screen; S304, obtaining the operating current and sleep-wake-up time of the controller under test under the control of the simulated ignition lock sleep-wake-up power supply signal and the message wake-up signal, and determining the test result based on the operating current, sleep-wake-up time and the display screen image.
[0051] It should be noted that: step S301 and step S302 provide two different wake-up methods, and there is no execution order for step S301 and step S302. In actual application, step S301 and step S302 are selected one by one and are not performed at the same time.
[0052] The smart cockpit sleep and wake-up test method provided in the above embodiment can implement the technical solution described in the above smart cockpit sleep and wake-up test system embodiment. The specific implementation principles of the above steps can refer to the corresponding contents in the above smart cockpit sleep and wake-up test system embodiment, which will not be repeated here.
[0053] The above is a detailed introduction to the intelligent cockpit sleep and wake-up test system and method provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and scope of application. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. An intelligent cockpit sleep and wake-up test system, It is characterized in that include: Power management board, CAN interface card, image acquisition device and host computer; The power management board responds to the ignition lock control command issued by the host computer and provides a simulated ignition lock sleep wake-up power signal for the controller under test; The CAN interface card responds to the message control command issued by the host computer and provides a message wake-up signal for the controller under test; The image collector is used to obtain the real-time image of the display screen; The host computer is used to obtain the working current and sleep wake-up time of the controller under test under the control of the simulated ignition lock sleep wake-up power supply signal and message wake-up signal, and determine the test result based on the working current, sleep wake-up time and display screen image.
2. The intelligent cockpit sleep and wake-up test system according to claim 1, It is characterized in that The simulated ignition lock sleep wake-up power supply signal includes a normal power signal and a ground signal, the ignition lock control instruction includes a first sleep instruction, the display screen includes an instrument screen and a central control screen; the host computer includes a first sleep control module and a first sleep analysis module; The first sleep control module is used to initiate the first sleep instruction, so that the power management board responds to the first sleep instruction to turn on the normal power signal and the ground signal, and obtain the first working current of the controller under test, the first instrument screen image of the instrument screen, the first central control screen image of the central control screen, and the first message sending status under the control of the first sleep instruction; The first sleep analysis module is used to determine whether the backlight of the instrument screen and the central control screen is turned off based on the first instrument screen image and the first central control screen image. When the backlight of the instrument screen and the central control screen is turned off, the first working current is less than or equal to the static current design value and the first message sending status is no message sending, the first sleep test result is determined to be passed.
3. The intelligent cockpit sleep and wake-up test system according to claim 2, It is characterized in that The simulated ignition lock sleep wake-up power supply signal includes an ACC gear signal and an ON gear signal, and the ignition lock control instruction includes a first wake-up instruction and a second wake-up instruction; the host computer also includes a first wake-up control module, a first wake-up analysis module, a second wake-up control module and a second wake-up analysis module; The first wake-up control module is used to initiate the first wake-up instruction, so that the power management board responds to the first wake-up instruction to turn on the ACC gear signal, record the time when the ACC gear starts to power on, and obtain the second working current, the second instrument screen image of the instrument screen, the second central control screen image of the central control screen, and the second message sending state under the control of the first wake-up instruction, and determine the first entry time of the central control screen entering the main interface based on the second instrument screen image and the second central control screen image; The first wake-up analysis module is used to determine the startup time of the central control screen based on the power-on time of the ACC gear and the first entry time, and determine that the first wake-up test result is passed when the startup time of the central control screen is less than or equal to the startup time design value, the second working current is less than the current design maximum value, and the second message sending state meets the message design definition; The second wake-up control module is used to initiate the second wake-up instruction, so that the power management board responds to the second wake-up instruction to turn on the ON gear signal, record the power-on time of the ON gear, and obtain the third working current, the third instrument screen image of the instrument screen, the third central control screen image of the central control screen and the third message sending state under the control of the second wake-up instruction, and determine the second entry time of the instrument screen into the main interface based on the third instrument screen image and the third central control screen image; The second wake-up analysis module is used to determine the startup duration of the instrument screen based on the power-on time of the ON gear and the second entry time. When the startup duration of the instrument screen is less than or equal to the startup duration design value, the third working current is less than the current design maximum value, and the third message sending status complies with the message design definition, the second wake-up test result is determined to be passed.
4. The intelligent cockpit sleep and wake-up test system according to claim 3, It is characterized in that The ignition lock control instruction includes a second sleep instruction, and the host computer also includes a second sleep control module and a second sleep analysis module; The second sleep control module is used to initiate the second sleep instruction so that the power management board responds to the second sleep instruction to disconnect the ON gear, obtain the fourth instrument screen image of the instrument screen and the fourth central control screen image of the central control screen after the ON gear is disconnected, and obtain the fourth message sending status, and judge whether the backlight of the instrument screen is turned off and whether the backlight of the central control screen is turned on based on the fourth instrument screen image and the fourth central control screen image. When the backlight of the instrument screen is turned off, the backlight of the central control screen is turned on, and the fourth message sending status meets the message design definition, disconnect the ACC gear, record the power-off time of the ACC gear, and obtain the fifth instrument screen image of the instrument screen, the fifth central control screen image of the central control screen, the message stop time, and the first current drop time when the working current of the controller under test drops to the first working current; The second sleep analysis module is used to determine the sleep duration based on the first current drop time and the ACC gear power-off time, determine the message sending duration after power-off based on the message stop sending time and the ACC gear power-off time, and judge whether the backlight of the instrument screen and the central control screen is turned off based on the fifth instrument screen image and the fifth central control screen image. When the sleep duration is less than or equal to the preset sleep duration, the message sending duration after power-off is equal to the preset duration, and the backlight of the instrument screen and the central control screen is turned off, it is determined that the second sleep test result is passed.
5. The intelligent cockpit sleep and wake-up test system according to claim 2, It is characterized in that The host computer also includes a CAN wake-up control module, a CAN wake-up analysis module, a CAN sleep control module and a CAN sleep analysis module; The CAN wake-up control module is used to issue a message control instruction, so that the CAN interface card issues the message wake-up signal based on the message control instruction, and obtains the fourth working current, the fifth message sending state, the sixth instrument screen image of the instrument screen, and the sixth central control screen image of the central control screen under the control of the message wake-up signal; The CAN wake-up analysis module is used to determine whether the backlights of the instrument screen and the central control screen are turned off based on the sixth instrument screen image and the sixth central control screen image, and when the backlight of the instrument screen is on, the backlight of the central control screen is off, the fourth working current is less than the current design maximum value, and the fifth message sending state is no message sending, it is determined that the CAN wake-up test result is passed; The CAN sleep control module is used to control the CAN interface card to send a message wake-up shutdown signal or stop sending a message wake-up signal, and obtain the message wake-up shutdown signal sending time or the message wake-up signal stopping sending time, the second current drop time when the working current of the controller under test drops to the first working current, and the seventh instrument screen image of the instrument screen and the seventh central control screen image of the central control screen; The CAN sleep analysis module is used to determine the controller sleep duration based on the time when the message wake-up shutdown signal is sent or the time when the message wake-up signal stops sending and the second current drop time, and judge whether the backlights of the central control screen and the instrument screen are both turned off based on the seventh instrument screen image and the seventh central control screen image. When the backlights of the central control screen and the instrument screen are both turned off and the controller sleep duration is less than the preset sleep duration value, the CAN sleep test is determined to be passed.
6. The intelligent cockpit sleep and wake-up test system according to claim 2, It is characterized in that The host computer also includes a first abnormality control module, a first abnormality analysis module, a second abnormality control module and a second abnormality analysis module; The first abnormal control module is used to initiate a first abnormal wake-up instruction, so that the CAN interface card responds to the first abnormal wake-up instruction to simulate the continuous sending of non-wake-up signal messages, record the first abnormal working current of the controller under test, the sending time of the non-wake-up signal message, the first abnormal time when the working current of the controller under test drops from the first abnormal working current to the preset current, and the first abnormal instrument screen image of the instrument screen and the first abnormal central control screen image of the central control screen; The first abnormality analysis module is used to determine a first forced sleep duration based on the first abnormal time and the sending time, and determine the display status of the instrument screen and the central control screen based on the first abnormal instrument screen image and the first abnormal central control screen image, and when the first forced sleep duration is less than or equal to the forced sleep duration design value, and the display status of the instrument screen and the central control screen are both off, it is determined that the first abnormal wake-up test result is passed; The second abnormal control module is used to initiate a second abnormal wake-up instruction, so that the power management board responds to the second abnormal wake-up instruction to connect the ACC gear signal and the ON gear signal, control the controller under test to a normal working mode, and control the CAN interface card to simulate continuous sending of non-wake-up signal messages, and then control the power management board to disconnect the ON gear signal and the ACC gear signal in sequence, record the abnormal disconnection time of the ACC gear signal, and record the second abnormal moment when the working current of the controller under test drops to the first working current; The second abnormality analysis module is used to determine the second forced sleep duration based on the second abnormal moment and the abnormal disconnection time. When the second forced sleep duration is less than or equal to the forced sleep duration design value and the display state is off, the second abnormal wake-up test result is determined to be passed.
7. The intelligent cockpit sleep and wake-up test system according to claim 6, It is characterized in that The host computer also includes a third abnormality control module and a third abnormality analysis module; The third abnormal control module is used to control the CAN interface card to send a CAN message wake-up signal and a CAN message non-wake-up signal at the same time, control the controller under test to enter a low power consumption mode, and then control the CAN interface card to stop sending the CAN message wake-up signal, and record a first stop sending time and a third current drop time when the working current drops to the first working current; The third abnormal analysis module is used to determine the third forced sleep duration based on the first stop sending time and the third current drop time. When the third forced sleep duration is less than or equal to the forced sleep duration design value and the display state is off, it is determined that the third abnormal wake-up test result is passed.
8. The intelligent cockpit sleep and wake-up test system according to claim 1, It is characterized in that The intelligent cockpit sleep and wake-up test system also includes a power supply, which supplies power to the power management board in response to a power supply instruction issued by the host computer.
9. The intelligent cockpit sleep and wake-up test system according to claim 1, It is characterized in that The intelligent cockpit sleep and wake-up test system also includes a memory, which is used to store test data, and the test data includes CAN bus data and video files during the sleep and wake-up test.
10. A smart cockpit sleep wake-up test method, It is characterized in that The intelligent cockpit sleep and wake-up test system according to any one of claims 1 to 9, wherein the method comprises: Control the power management board to respond to the ignition lock control instruction issued by the host computer to provide a simulated ignition lock sleep wake-up power signal for the controller under test; Controlling the CAN interface card to respond to the message control instruction issued by the host computer to provide a message wake-up signal for the controller under test; Controlling the image collector to acquire a real-time image of the display screen; The operating current and the sleep-wake-up time of the controller under test under the control of the simulated ignition lock sleep-wake-up power supply signal and the message wake-up signal are obtained, and the test result is determined based on the operating current, the sleep-wake-up time and the display screen image.
