Distance alarm time delay test method and device, electronic equipment and storage medium
By testing the distance alarm delay of the PDC alarm radar system, using image acquisition and signal monitoring technology, the problem of inaccurate testing in the existing technology is solved, and accurate delay measurement and analysis is achieved.
Patent Information
- Application Number
- CN202411551562.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2044-11-01
AI Technical Summary
In the prior art, the alarm delay test of the PDC alarm radar system is inaccurate, and the cause of delay cannot be effectively analyzed, which affects the user experience and system detection accuracy.
By responsive to the test object release signal, the test object is released from the preset starting position, the keyframe images are collected based on the test object image acquisition device and the vehicle screen image acquisition device, and combined with the vehicle signal monitoring, the distance alarm delay is calculated.
It realizes objective and accurate measurement of distance alarm delay, can analyze the cause of delay, improve the accuracy of test, and replaces subjective inaccurate manual testing methods.
Smart Images

Figure CN119395672A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle testing technology, and in particular to a distance alarm delay testing method, device, electronic equipment and storage medium. Background Art
[0002] With the gradual popularization of vehicle intelligent driving functions, more and more intelligent driving vehicles are equipped with standard vehicle PDC alarm radar systems. However, in vehicle-level testing, the alarm accuracy of the PDC alarm radar system based on intelligent driving has always been limited to the accuracy of vehicle safety and autonomous driving path planning.
[0003] The alarm accuracy of the PDC alarm radar system includes the accuracy of the detection distance and the accuracy of the alarm time. There are relatively mature test programs for the accuracy of the detection distance, but there are few efficient and objective measurement programs for the accuracy of the alarm time. In addition, in the actual project development process, the delay in the alarm time also includes the display delay of the PDC alarm radar arc on the AVM panoramic fusion view. Because the panoramic view can intuitively see the existence of obstacles, if the display delay is high, it will affect the user experience.
[0004] In the related art, the alarm delay test of the PDC alarm radar system is mainly based on the subjective experience and judgment of the tester, which is prone to inaccurate delay testing and is unable to analyze the cause of the delay. Summary of the invention
[0005] In view of the shortcomings of the related technologies mentioned above, the present application provides a distance alarm delay test method, device, electronic device and storage medium to solve the technical problem of inaccurate distance alarm delay test.
[0006] The present application provides a distance alarm delay testing method, which includes: in response to a test object release signal, releasing the test object from a preset starting position; acquiring the test object image based on a test object image acquisition device, and taking the acquisition time corresponding to the test object key frame image as the first key moment, and the test object key frame image is an image of the test object reaching a preset end position; acquiring the vehicle screen image based on a vehicle screen image acquisition device, and taking the acquisition time corresponding to the vehicle screen key frame image as the second key moment, and the vehicle screen key frame image is an image of a radar arc segment displayed on the vehicle screen; monitoring the vehicle signal, and taking the monitoring time corresponding to the monitored distance alarm signal as the third key moment; and obtaining the distance alarm delay according to the first key moment, the second key moment, and the third key moment.
[0007] In one embodiment of the present application, in response to a test object release signal, before releasing the test object from a preset start position, it also includes: in response to the start test signal, simultaneously starting the test object image acquisition device, the vehicle screen image acquisition device and the vehicle signal monitoring, so that the test object image acquisition start time, the vehicle screen image acquisition start time and the vehicle signal monitoring start time are at the same time.
[0008] In one embodiment of the present application, taking the acquisition time corresponding to the key frame image of the test object as the first key moment includes: taking the center of the test object image as the origin, establishing a vertical axis in the vertical direction, establishing a horizontal axis in the horizontal direction, and calculating the projection distance of the line connecting the midpoint of the lower edge of the test object in the test object image and the origin on the vertical axis; if the projection distances corresponding to multiple consecutive frames of test object images are the same, taking the test object image with the earliest acquisition time among the multiple consecutive frames of test object images as the test object key frame image; or, taking the test object image with the earliest acquisition time and the projection distance less than or equal to the preset distance as the test object key frame image.
[0009] In one embodiment of the present application, taking the acquisition time corresponding to the key frame image of the vehicle screen as the second key moment includes: defining a target area for the vehicle screen image, and monitoring each pixel coordinate point in the target area; if there are multiple different pixel points in the target area of multiple consecutive frames of vehicle screen images, then taking the vehicle screen image with the earliest acquisition time in the multiple consecutive frames of vehicle screen images as the key frame image of the vehicle screen.
[0010] In one embodiment of the present application, obtaining the distance alarm delay according to the first critical moment, the second critical moment and the third critical moment includes: if the third critical moment is earlier than or equal to the first critical moment, then obtaining the system delay and the display delay based on the difference between the second critical moment and the third critical moment, and the distance alarm delay includes the display delay and the system delay; if the first critical moment is earlier than the third critical moment, then obtaining the system delay based on the difference between the second critical moment and the first critical moment, and obtaining the display delay based on the difference between the second critical moment and the third critical moment.
[0011] In one embodiment of the present application, the distance alarm delay test method also includes: in response to multiple test object release signals, releasing the test object from a preset starting position, calculating the distance alarm delay corresponding to each release, and obtaining an average delay based on the average value of multiple distance alarm delays, wherein the average delay includes an average system delay and an average display delay; if the average system delay is greater than a first preset delay, and the average display delay is less than a second preset delay, it is determined that there is a fault in the distance alarm radar of the test vehicle; if the average display delay is greater than or equal to the second preset delay, it is determined that there is a fault in the vehicle-screen signal transmission link of the test vehicle.
[0012] In one embodiment of the present application, the distance alarm delay test method also includes: releasing signals in response to multiple test objects under multiple temperature environments, and obtaining the average delay corresponding to each temperature environment; taking the average delay under a preset temperature environment as a standard value, calculating the difference between the average delay under the multiple temperature environments and the standard value, and using the difference as the delay compensation under the corresponding temperature environment.
[0013] An embodiment of the present application also provides a distance alarm delay test device, which includes: a signal receiving module, which is used to release the test object from a preset starting position in response to a test object release signal; a first acquisition module, which is used to acquire the test object image based on the test object image acquisition device, and use the acquisition time corresponding to the test object key frame image as the first key moment, and the test object key frame image is an image of the test object reaching the preset end position; a second acquisition module, which is used to acquire the vehicle screen image based on the vehicle screen image acquisition device, and use the acquisition time corresponding to the vehicle screen key frame image as the second key moment, and the vehicle screen key frame image is an image of a radar arc segment displayed on the vehicle screen; a third acquisition module, which is used to monitor the vehicle signal, and use the monitoring time corresponding to the distance alarm signal as the third key moment; a delay calculation module, which is used to obtain the distance alarm delay according to the first key moment, the second key moment and the third key moment.
[0014] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device implements the distance alarm delay test method as described in any of the above embodiments.
[0015] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor of a computer, the computer is caused to execute the distance alarm delay test method as described in any one of the above embodiments.
[0016] Beneficial effects of the present application: The embodiments of the present application provide a distance alarm delay test method, device, electronic device and storage medium. The method releases the test object from a preset starting position in response to a test object release signal, collects the test object image based on the test object image acquisition device, and uses the acquisition time corresponding to the key frame image of the test object as the first key moment, the key frame image of the test object is the image when the test object reaches the preset end position, collects the car screen image based on the car screen image acquisition device, and uses the acquisition time corresponding to the key frame image of the car screen as the second key moment, the key frame image of the car screen is the image of the radar arc segment displayed on the car screen, monitors the vehicle signal, and uses the monitoring time corresponding to the monitored distance alarm signal as the third key moment, and obtains the distance alarm delay according to the first key moment, the second key moment and the third key moment. The distance alarm delay test method of the present application can output an objective and relatively accurate test result, thereby replacing the subjective and inaccurate manual test method. The distance alarm delay is obtained by calculating the first key moment, the second key moment and the third key moment, and the causes of the distance alarm delay can be classified, thereby providing a solution for reducing the delay.
[0017] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a schematic diagram of an implementation environment of a distance alarm delay test method shown in an exemplary embodiment of the present application;
[0019] Figure 2 is a flow chart of a distance alarm delay testing method shown in an exemplary embodiment of the present application;
[0020] Figure 3 is a block diagram of a distance alarm delay test device shown in an exemplary embodiment of the present application;
[0021] Figure 4 is a schematic diagram of demarcating a target area of a vehicle screen image shown in an exemplary embodiment of the present application;
[0022] Figure 5 It is a structural schematic diagram of an electronic device shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0023] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0024] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.
[0025] It should be noted that in this application, "first", "second", etc. are only used to distinguish similar objects, and are not used to limit the order or precedence of similar objects. The variations of "including", "having", etc. described above indicate that the scope covered by the subject of the word is not exclusive except for the examples shown by the word.
[0026] It is understood that the various numbers, step numbers, and other reference numerals recorded in this application are distinguished for the convenience of description and are not intended to limit the scope of this application. The size of the reference numerals in this application does not mean the order of execution. The execution order of each process should be determined by its function and internal logic.
[0027] In the following description, a large number of details are discussed to provide a more thorough explanation of the embodiments of the present application. However, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present application difficult to understand.
[0028] It should be understood that the test of the distance alarm delay of the PDC alarm system (i.e., distance alarm system) includes system delay and display delay, wherein the system delay is the delay of the distance alarm signal detected by ultrasonic wave, and the display delay is the delay of transmitting the distance alarm signal through the information transmission link in the car to the large central control screen in the car so that the screen in the car displays the signal transmission of the radar arc segment. The system delay will affect the detection accuracy of the entire PDC alarm system, and the display delay will affect the user's experience of using the PDC alarm system.
[0029] The embodiments of the present application respectively propose a distance alarm delay test method, a distance alarm delay test device, an electronic device, a computer-readable storage medium and a computer program product, which will be described in detail below.
[0030] See also Figure 1 , Figure 1 It is a schematic diagram of an implementation environment of a distance alarm delay test method shown by an exemplary embodiment of the present application.
[0031] like Figure 1 As shown, the implementation environment may include an external camera 1, an internal camera 2, a storage rack, a vehicle-mounted CAN line and an integrated display, wherein the external camera 1 is a test object image acquisition device, used to acquire images of the falling motion of the test object after it is released, the camera 2 is a vehicle screen image acquisition device, used to acquire images of the panoramic view in the vehicle's central control screen, the storage rack is used to place and release the test object, the vehicle-mounted CAN line is used to monitor vehicle signals, and the integrated display is used to receive the test object release signal and the distance alarm signal based on the image captured by the external camera 1, the image captured by the external camera 2 and the monitoring of the vehicle CAN line to obtain the first key moment, the second key moment and the third key moment and display the calculated distance alarm delay.
[0032] In one embodiment of the present application, two high-speed cameras are used as a test object image acquisition device and a vehicle screen image acquisition device, and the frame rates of the two high-speed cameras are set to 1000fps.
[0033] In one embodiment of the present application, a test object image acquisition device is placed approximately 1.5 m in front of the front of the vehicle (outside the distance radar alarm area) to capture a video image of the test object falling in front of the front of the vehicle. The on-board CAN line is connected to the PDC radar alarm CAN to monitor the distance alarm signal.
[0034] In one embodiment of the present application, before responding to the test object release signal, in response to the test start signal, the recording of the test object image acquisition device, the vehicle screen image acquisition device and the monitoring of the distance alarm signal on the vehicle CAN line are started simultaneously to ensure that the same time axis (same start time) is used for the first critical moment, the second critical moment and the third critical moment.
[0035] In one embodiment of the present application, the preset starting position of the test object is set to a position 1m away from the front of the vehicle and 1.2m away from the ground. The preset starting position can be set independently based on the test needs. Different preset starting positions can be tested multiple times, and the average value of the multiple test results can be taken to improve the accuracy of the test.
[0036] See also Figure 2 , Figure 2 is a flow chart of a distance alarm delay test method shown in an exemplary embodiment of the present application. The method can be applied to Figure 1 The implementation environment shown is as follows. The method may also be applicable to other exemplary implementation environments and be specifically executed by devices in other implementation environments. This embodiment does not limit the implementation environment to which the method is applicable.
[0037] like Figure 2 As shown, in an exemplary embodiment, the distance alarm delay test method includes at least steps S210 to S250, which are described in detail as follows:
[0038] Step S210 , in response to a test object release signal, releasing the test object from a preset starting position.
[0039] In one embodiment of the present application, in response to a test object release signal, before releasing the test object from a preset start position, it also includes: in response to the test start signal, simultaneously starting a test object image acquisition device, a vehicle screen image acquisition device and a vehicle signal monitoring device, so that the test object image acquisition start time, the vehicle screen image acquisition start time and the vehicle signal monitoring start time are at the same time.
[0040] In one embodiment of the present application, after the vehicle is prepared, the test is started on a flat surface without wind, the vehicle is shifted to R gear, the front and rear distance radar systems are activated, the tester steps on the brakes, and ensures that the test object image acquisition device, the vehicle screen image acquisition device and the vehicle signal monitoring are turned on at the same time. In response to the test object release signal, the test object is released from 1m in front of the front of the vehicle and 1.2m from the ground, and the test object is allowed to fall freely. Based on the test object image acquisition device, the vehicle screen image acquisition device and the vehicle signal monitoring, the test object image, the vehicle screen image and the vehicle signal during the free fall of the test object are acquired until a radar arc segment appears in the vehicle screen image, and then recording and monitoring are stopped.
[0041] Step S220 , the test object image is acquired based on the test object image acquisition device, and the acquisition time corresponding to the key frame image of the test object is used as the first key moment, and the key frame image of the test object is an image when the test object reaches a preset end position.
[0042] In one embodiment of the present application, taking the acquisition time corresponding to the key frame image of the test object as the first key moment includes: taking the center of the test object image as the origin, the vertical direction as the vertical axis, and the horizontal direction as the horizontal axis, and calculating the projection distance of the line connecting the midpoint of the lower edge of the test object in the test object image and the origin on the vertical axis; if the projection distances corresponding to multiple consecutive frames of the test object image are the same, taking the test object image with the earliest acquisition time among the multiple consecutive frames of the test object image as the key frame image of the test object;
[0043] In another embodiment of the present application, taking the acquisition time corresponding to the key frame image of the test object as the first key moment includes: taking the center of the test object image as the origin, the vertical direction as the vertical axis, and the horizontal direction as the horizontal axis, and calculating the projection distance of the line connecting the midpoint of the lower edge of the test object in the test object image and the origin on the vertical axis; taking the test object image with a projection distance less than or equal to a preset distance and the earliest acquisition time as the key frame image of the test object.
[0044] In one embodiment of the present application, a computer vision image is used to automatically screen key frame nodes, and a two-dimensional coordinate system is established in a single-frame test object image. The two-dimensional coordinate system can establish an XY axis in the center of the test object image, with the vertical direction of the space as the Y axis, the horizontal direction as the X axis, and the pixel point as the unit point. The motion trajectory of the test object is a vertical free fall motion in space, and the projection distance L of the Y-direction projection of the midpoint of the lower edge of the test object and the origin is calculated. When the projection distance of the previous frame image is the same as the projection distance of the next frame image, it means that the test object in the previous frame image has fallen to the ground, and the acquisition time corresponding to the previous frame image is taken as the first key moment. In this embodiment, the preset end position is falling to the ground.
[0045] Step S230, the vehicle screen image is collected based on the vehicle screen image collection device, and the collection time corresponding to the vehicle screen key frame image is used as the second key moment. The vehicle screen key frame image is an image displayed when a radar arc segment appears on the vehicle screen.
[0046] In one embodiment of the present application, taking the acquisition time corresponding to the key frame image of the vehicle screen as the second key moment includes: defining a target area for the vehicle screen image, and monitoring each pixel coordinate point in the target area; if there are multiple different pixel points in the target area of multiple consecutive frames of vehicle screen images, then taking the vehicle screen image with the earliest acquisition time in the multiple consecutive frames of vehicle screen images as the key frame image of the vehicle screen.
[0047] In one embodiment of the present application, a vehicle screen image without radar arc segment display is selected as a reference image. In this embodiment, the first captured vehicle screen image can be selected as the reference image. In the reference image, a radar arc segment display area outside the vehicle model contour (such as 200 pixels extending outside the vehicle model) is defined as a target area. The definition of the target area is as follows: Figure 3 As shown, Figure 3 is a schematic diagram of defining a target area for a vehicle screen image, shown in an exemplary embodiment of the present application. Figure 3The middle area between the two green frames is the target area. RGB monitoring is performed on each pixel in the target area. When there are more than N different pixels between the next frame image and the previous frame image, the next frame image is the key frame image of the car screen, and the acquisition time corresponding to the key frame image of the car screen is used as the second moment. In this embodiment, N can be set based on the accuracy of the detection, and N is a natural number, such as N can be 3.
[0048] Step S240, monitoring the vehicle signal, and taking the monitoring time corresponding to the monitored distance alarm signal as the third key moment.
[0049] In one embodiment of the present application, the vehicle-mounted CAN line used for testing is connected to the PDC radar alarm CAN, the distance alarm signal emitted by the PDC radar alarm is monitored, and the time when the distance alarm signal is monitored is used as the third key moment.
[0050] Step S250, obtaining the distance alarm delay according to the first key moment, the second key moment and the third key moment.
[0051] In one embodiment of the present application, obtaining the distance alarm delay according to the first critical moment, the second critical moment and the third critical moment includes: if the third critical moment is earlier than or equal to the first critical moment, then obtaining the system delay and the display delay based on the difference between the second critical moment and the third critical moment, and the distance alarm delay includes the display delay and the system delay; if the first critical moment is earlier than the third critical moment, then obtaining the system delay based on the difference between the second critical moment and the first critical moment, and obtaining the display delay based on the difference between the second critical moment and the third critical moment.
[0052] In one embodiment of the present application, if the third critical moment is earlier than or equal to the first critical moment, that is, the test object has been detected and identified by the distance radar when it is in the air, it means that the PDC alarm radar system of the test vehicle is more sensitive and has better performance. The system delay of the PDC alarm radar is the difference between the second critical moment and the third critical moment, and the display delay of the PDC alarm radar is also the difference between the second critical moment and the third critical moment.
[0053] In one embodiment of the present application, if the third critical moment is later than the first critical moment, the system delay of the PDC alarm radar is the difference between the second critical moment and the first critical moment, and the display delay of the PDC alarm radar is the difference between the second critical moment and the third critical moment.
[0054] In one embodiment of the present application, the distance alarm delay testing method also includes: in response to multiple test object release signals, releasing the test object from a preset starting position, calculating the distance alarm delay corresponding to each release, and obtaining an average delay based on the average value of multiple distance alarm delays, the average delay including the average system delay and the average display delay; if the average system delay is greater than the first preset delay, and the average display delay is less than the second preset delay, it is judged that the distance alarm radar of the test vehicle is faulty; if the average display delay is greater than or equal to the second preset delay, it is judged that the vehicle screen signal transmission link of the test vehicle is faulty.
[0055] In one embodiment of the present application, an average value of display delays of multiple tests is taken as an average display delay, and an average value of system delays of multiple tests is taken as an average system delay.
[0056] In one embodiment of the present application, multiple releases can be performed at each identical preset starting position to obtain the distance alarm delay of multiple tests, and the average value is calculated to improve the accuracy of the test. In this embodiment, three tests can be performed at each identical preset starting position, and multiple preset starting positions can also be set to perform tests at multiple heights.
[0057] In one embodiment of the present application, if the average system delay is greater than 200ms and the average display delay is less than 50ms, it means that the PDC radar alarm system of the test vehicle itself has a significant delay in detecting obstacles and can be sent back to the radar supplier for further testing.
[0058] In one embodiment of the present application, if the average display delay is greater than or equal to 50ms, it means that the PDC radar alarm system of the test vehicle has an obvious delay in the signal transmission link of the vehicle screen radar arc display, and the relevant communication link of the test vehicle can be tested to eliminate the fault.
[0059] In one embodiment of the present application, the distance alarm delay test method also includes: releasing signals in response to multiple test objects under multiple temperature environments, and obtaining the average delay corresponding to each temperature environment; taking the average delay under a preset temperature environment as a standard value, calculating the difference between the average delay under multiple temperature environments and the standard value, and using the difference as the delay compensation under the corresponding temperature environment.
[0060] In one embodiment of the present application, multiple temperature environments are set with a temperature of 5° as a step, including at least -20°C, -15°C, -10°C, -5°C, 0°C, 5°C, 10°C, 15°C and 20°C temperature environments. The distance alarm delay of the same PDC alarm radar system is tested in different temperature environments, at least 20 tests are performed in each temperature environment, and the average value is taken to obtain the average delay in multiple temperature environments. The average delay in the preset temperature environment is used as the standard value, the difference between the average delay in multiple temperature environments and the standard value is calculated, and the difference is used as the delay compensation in the corresponding temperature environment.
[0061] In one embodiment of the present application, taking the system delay as an example, the average system delay at 20° C. is taken as the standard value, the difference between the average system delay and the standard value under multiple temperature environments is calculated, and the difference is used as the delay compensation under the corresponding temperature environment, thereby obtaining a temperature compensation table as shown in Table 1:
[0062] Table 1
[0063]
[0064] In one embodiment of the present application, by performing distance alarm delay tests in multiple temperature environments, temperature compensation values corresponding to the multiple temperature environments are obtained, so that when the vehicle is detected to be in the temperature environment, the PDC radar alarm system can issue an early warning based on the corresponding temperature compensation value.
[0065] In one embodiment of the present application, test objects of different shapes may be selected for release to obtain distance alarm delays corresponding to test objects of different shapes.
[0066] See also Figure 4 , Figure 4 is a block diagram of a distance alarm delay test device shown in an exemplary embodiment of the present application. The device can be applied to Figure 1 The implementation environment shown is as follows. The device may also be applicable to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the device is applicable.
[0067] like Figure 4 As shown, the exemplary distance alarm delay testing device includes: a signal receiving module 401 , a first acquisition module 402 , a second acquisition module 403 , a third acquisition module 404 and a delay calculation module 405 .
[0068] The signal receiving module 401 is used to release the test object from a preset starting position in response to a test object release signal;
[0069] A first acquisition module 402 is used to acquire images of the test object based on a test object image acquisition device, and to use an acquisition time corresponding to a key frame image of the test object as a first key moment, wherein the key frame image of the test object is an image of the test object reaching a preset end position;
[0070] The second acquisition module 403 is used to acquire the vehicle screen image based on the vehicle screen image acquisition device, and use the acquisition time corresponding to the key frame image of the vehicle screen as the second key moment, and the key frame image of the vehicle screen is an image displayed by the radar arc segment on the vehicle screen;
[0071] The third acquisition module 404 is used to monitor the vehicle signal and use the monitoring time corresponding to the monitored distance alarm signal as the third key moment;
[0072] The delay calculation module 405 is used to obtain the distance alarm delay according to the first key moment, the second key moment and the third key moment.
[0073] Figure 5 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 5 The computer system 500 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0074] like Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage part 508 to the random access memory (RAM) 503, such as executing the method described in the above embodiment. In the RAM 503, various programs and data required for system operation are also stored. The CPU 501, the ROM 502 and the RAM 503 are connected to each other through the bus 504. The input / output (I / O) interface 505 is also connected to the bus 504.
[0075] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed so that a computer program read therefrom is installed into the storage section 508 as needed.
[0076] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 509, and / or installed from a removable medium 511. When the computer program is executed by a central processing unit (CPU) 501, various functions defined in the system of the present application are executed.
[0077] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0078] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0079] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0080] Another aspect of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor of a computer, the computer executes the distance alarm delay test method as described above. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.
[0081] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the distance alarm delay test method provided in each of the above embodiments.
[0082] The above embodiments are merely illustrative of the principles and effects of the present application, and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A distance alarm delay test method, characterized in that: The distance alarm delay testing method comprises: In response to a test object release signal, releasing the test object from a preset starting position; The test object image is acquired based on the test object image acquisition device, and the acquisition time corresponding to the key frame image of the test object is used as the first key moment, wherein the key frame image of the test object is an image of the test object reaching a preset end position; The vehicle screen image is collected based on the vehicle screen image collection device, and the collection time corresponding to the key frame image of the vehicle screen is used as the second key moment, wherein the key frame image of the vehicle screen is an image displayed by the radar arc segment on the vehicle screen; Monitor the vehicle signal, and use the monitoring time corresponding to the distance alarm signal as the third key moment; A distance alarm delay is obtained according to the first critical moment, the second critical moment and the third critical moment.
2. The distance alarm delay testing method according to claim 1, characterized in that: In response to a test object release signal, before releasing the test object from a preset starting position, the method further includes: In response to the test start signal, the test object image acquisition device, the vehicle screen image acquisition device and the vehicle signal monitoring are turned on at the same time, so that the test object image acquisition start time, the vehicle screen image acquisition start time and the vehicle signal monitoring start time are at the same time.
3. The distance alarm delay testing method according to claim 1, characterized in that: The acquisition time corresponding to the key frame image of the test object is taken as the first key moment including: Taking the center of the test object image as the origin, establishing a vertical axis in the vertical direction and a horizontal axis in the horizontal direction, and calculating the projection distance of the line connecting the midpoint of the lower edge of the test object in the test object image and the origin on the vertical axis; If the projection distances corresponding to the multiple consecutive frames of the test object image are the same, the test object image with the earliest acquisition time among the multiple consecutive frames of the test object image is used as the test object key frame image; or, The test object image whose projection distance is less than or equal to the preset distance and whose acquisition time is earliest is used as the test object key frame image.
4. The distance alarm delay testing method according to claim 1, characterized in that: The acquisition time corresponding to the key frame image of the car screen is taken as the second key moment including: Delimiting a target area for the vehicle screen image, and monitoring each pixel coordinate point in the target area; If there are multiple different pixel points in the target area of the vehicle screen images of the continuous multiple frames, the vehicle screen image with the earliest acquisition time among the continuous multiple frames of vehicle screen images is used as the vehicle screen key frame image.
5. The distance alarm delay testing method according to any one of claims 1 to 4, characterized in that: Obtaining the distance alarm delay according to the first key moment, the second key moment, and the third key moment includes: If the third critical moment is earlier than or equal to the first critical moment, a system delay and a display delay are obtained based on a difference between the second critical moment and the third critical moment, and the distance alarm delay includes the display delay and the system delay; If the first key moment is earlier than the third key moment, the system delay is obtained based on the difference between the second key moment and the first key moment, and the display delay is obtained based on the difference between the second key moment and the third key moment.
6. The distance alarm delay testing method according to any one of claims 1 to 4, characterized in that: The distance alarm delay testing method also includes: In response to multiple test object release signals, the test object is released from a preset starting position, and a distance alarm delay corresponding to each release is calculated, and an average delay is obtained based on an average value of multiple distance alarm delays, wherein the average delay includes an average system delay and an average display delay; If the average system delay is greater than the first preset delay, and the average display delay is less than the second preset delay, it is determined that the distance warning radar of the test vehicle is faulty; If the average display delay is greater than or equal to the second preset delay, it is determined that there is a fault in the vehicle screen signal transmission link of the test vehicle.
7. The distance alarm delay testing method according to claim 6, characterized in that: The distance alarm delay testing method also includes: Respond to multiple test object release signals in multiple temperature environments, and obtain the average delay corresponding to each temperature environment; The average delay under a preset temperature environment is taken as a standard value, the difference between the average delay under the multiple temperature environments and the standard value is calculated, and the difference is taken as the delay compensation under the corresponding temperature environment.
8. A distance alarm delay test device, characterized in that: The distance alarm delay testing device comprises: A signal receiving module, used for releasing the test object from a preset starting position in response to a test object release signal; A first acquisition module, configured to acquire an image of the test object based on a test object image acquisition device, and to use an acquisition time corresponding to a key frame image of the test object as a first key moment, wherein the key frame image of the test object is an image of the test object reaching a preset end position; A second acquisition module is used to acquire a vehicle screen image based on a vehicle screen image acquisition device, and use the acquisition time corresponding to a key frame image of the vehicle screen as a second key moment, wherein the key frame image of the vehicle screen is an image displayed by a radar arc segment on the vehicle screen; The third acquisition module is used to monitor the vehicle signal and use the monitoring time corresponding to the monitored distance alarm signal as the third key moment; The delay calculation module is used to obtain the distance alarm delay according to the first critical moment, the second critical moment and the third critical moment.
9. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, enables the electronic device to implement the distance alarm delay testing method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the distance alarm delay testing method as described in any one of claims 1-7.
Citation Information
Patent Citations
Method and device for testing time consumption of traffic light recognition of unmanned vehicle
CN106373416A
Instrument performance response time testing method
CN110412379A
Time delay calibration method, device and electronic equipment and medium
CN110702139A
Test system and method for vehicle advanced driving assistance system
CN113049264A
Electronic rearview mirror and delay time detection method thereof
CN115514954A