A distance alarm delay test method and device, electronic equipment and storage medium
By recording key moments of image acquisition from the test object, image acquisition from the vehicle screen, and signal monitoring, the latency of the PDC alarm radar system is calculated, solving the problem of inaccurate testing in existing technologies and improving the objectivity and accuracy of the test.
Patent Information
- Application Number
- CN202411551562.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2044-11-01
AI Technical Summary
In existing technologies, alarm delay testing of PDC alarm radar systems mainly relies on subjective experience, leading to inaccurate testing, an inability to objectively analyze the causes of delay, and impacting vehicle safety and the accuracy of autonomous driving path planning.
By responding to the signal released by the test object, the image acquisition time and signal listening time at key moments are recorded using the test object image acquisition device, the vehicle screen image acquisition device, and the vehicle signal monitoring device, respectively. The distance alarm delay is calculated to provide objective and accurate test results.
It enables accurate measurement of system delay and display delay of PDC alarm radar system, allows objective analysis of delay causes, improves test accuracy and reliability, and reduces subjective error.
Smart Images

Figure CN119395672B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle testing, in particular to a distance alarm time delay testing method and device, electronic equipment and storage medium. BACKGROUND
[0002] With the gradual popularization of vehicle intelligent driving function, more and more PDC alarm radar systems are configured as standard configurations of intelligent driving vehicles. However, in the whole vehicle level test, the alarm accuracy of the PDC alarm radar system of the intelligent driving basis has always been limited in the accuracy of the whole vehicle safety and the path planning of the automatic driving.
[0003] The alarm accuracy of the PDC alarm radar system includes the accuracy of the detection distance and the accuracy of the alarm time. The accuracy of the detection distance has a relatively mature test scheme, while the accuracy of the alarm time has few efficient objective measurement schemes. In addition, in the actual project development process, the delay of the alarm time also includes the display delay of the PDC alarm radar arc segment on the AVM panoramic fusion view. Since the existence of the obstacle can be directly observed from the panoramic view, if the display delay is high, it will affect the user experience.
[0004] In the related art, the alarm time delay test of the PDC alarm radar system is mainly based on the subjective experience judgment of the test personnel, which is prone to inaccurate time delay test, and the cause of the time delay cannot be analyzed. SUMMARY
[0005] In view of the above-mentioned shortcomings of the related art, the present application provides a distance alarm time delay testing method and device, electronic equipment and storage medium to solve the technical problem of inaccurate distance alarm time delay test.
[0006] The present application provides a distance alarm time delay testing method, which comprises: releasing a test object from a preset starting position in response to a test object release signal; collecting a test object image based on a test object image collection device, taking the collection time of a test object key frame image as a first key moment, the test object key frame image being an image of the test object reaching a preset ending position; collecting a vehicle screen image based on a vehicle screen image collection device, taking the collection time of a vehicle screen key frame image as a second key moment, the vehicle screen key frame image being an image in which a radar arc segment is displayed on the vehicle screen; listening to a vehicle signal, taking the listening time of a distance alarm signal as a third key moment; and obtaining a distance alarm time delay according to the first key moment, the second key moment and the third key moment.
[0007] In an embodiment of the present application, before releasing the test object from the preset starting position in response to the test object release signal, further comprising: in response to the starting 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 starting acquisition time, the vehicle screen image starting acquisition time and the vehicle signal starting monitoring time are at the same time.
[0008] In an embodiment of the present application, taking the acquisition time corresponding to the test object key frame image as the first key moment comprises: taking the center of the test object image as the origin, establishing a vertical axis in the vertical direction and establishing a horizontal axis in the horizontal direction, and calculating the projection distance of the connecting line between 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 a plurality of continuous test object images are the same, taking the test object image with the earliest acquisition time among the plurality of continuous 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 an embodiment of the present application, taking the acquisition time corresponding to the vehicle screen key frame image as the second key moment comprises: demarcating a target region for the vehicle screen image, and monitoring each pixel coordinate point in the target region; if there are a plurality of different pixel points in the target region of a plurality of continuous vehicle screen images, taking the vehicle screen image with the earliest acquisition time among the plurality of continuous vehicle screen images as the vehicle screen key frame image.
[0010] In an embodiment of the present application, obtaining the distance alarm delay according to the first key moment, the second key moment and the third key moment comprises: if the third key moment is earlier than or equal to the first key moment, obtaining the system delay and the display delay based on the difference between the second key moment and the third key moment, and the distance alarm delay comprises the display delay and the system delay; if the first key moment is earlier than the third key moment, obtaining the system delay based on the difference between the second key moment and the first key moment, and obtaining the display delay based on the difference between the second key moment and the third key moment.
[0011] In an embodiment of the present application, the distance alarm time delay test method further comprises: in response to a plurality of test object release signals, releasing the test object from a preset starting position, and calculating a distance alarm time delay corresponding to each release, and obtaining an average time delay based on an average of the plurality of distance alarm time delays, the average time delay comprising an average system time delay and an average display time delay; if the average system time delay is greater than a first preset time delay and the average display time delay is less than a second preset time delay, determining that the distance alarm radar of the test vehicle has a fault; if the average display time delay is greater than or equal to the second preset time delay, determining that the vehicle screen signal transmission link of the test vehicle has a fault.
[0012] In an embodiment of the present application, the distance alarm time delay test method further comprises: in a plurality of temperature environments, in response to a plurality of test object release signals, and obtaining an average time delay corresponding to each temperature environment; taking the average time delay in a preset temperature environment as a standard value, calculating a difference between the average time delay in the plurality of temperature environments and the standard value, and taking the difference as a time delay compensation in the corresponding temperature environment.
[0013] Embodiments of the present application also provide a distance alarm time delay test device, comprising: a signal receiving module configured to release a test object from a preset starting position in response to a test object release signal; a first acquisition module configured to acquire a test object image based on a test object image acquisition device, take an acquisition time corresponding to a test object key frame image as a first key moment, the test object key frame image being an image of the test object reaching a preset ending position; a second acquisition module configured to acquire a vehicle screen image based on a vehicle screen image acquisition device, take an acquisition time corresponding to a vehicle screen key frame image as a second key moment, the vehicle screen key frame image being an image of the vehicle screen displaying a radar arc segment; a third acquisition module configured to listen to a vehicle signal, and take a listening time corresponding to a distance alarm signal as a third key moment; and a time delay calculation module configured to obtain a distance alarm time delay according to the first key moment, the second key moment and the third key moment.
[0014] Embodiments of the present application also provide an electronic device, comprising: one or more processors; a storage device configured to store one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the distance alarm time delay test method according to any one of the above embodiments.
[0015] Embodiments of the present application also provide a computer readable storage medium having a computer program stored thereon, which, when executed by a processor of a computer, causes the computer to perform the distance alarm time delay test method according to any one of the above embodiments.
[0016] Beneficial effects of the present application: The embodiments of the present application provide a distance alarm time delay test method, device, electronic equipment and storage medium. The method releases a test object from a preset starting position in response to a test object release signal, collects a test object image based on a test object image collection device, takes a collection time corresponding to a test object key frame image as a first key moment, the test object key frame image is an image of the test object reaching a preset ending position, collects a vehicle screen image based on a vehicle screen image collection device, takes a collection time corresponding to a vehicle screen key frame image as a second key moment, the vehicle screen key frame image is an image of the vehicle screen displaying a radar arc segment, listens to a vehicle signal, takes a listening time corresponding to a distance alarm signal as a third key moment, obtains a distance alarm time delay according to the first key moment, the second key moment and the third key moment, and outputs an objective and relatively accurate test result through the distance alarm time delay test method of the present application, so as to replace a subjective and inaccurate manual test method. The distance alarm time delay is obtained through the calculation of the first key moment, the second key moment and the third key moment, the reasons causing the distance alarm time delay can be classified, and a solution for reducing the time delay is provided.
[0017] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. BRIEF DESCRIPTION OF DRAWINGS
[0018] Figure 1 is a schematic diagram of an implementation environment of a distance alarm time delay test method according to an example embodiment of the present application;
[0019] Figure 2 is a flowchart of a distance alarm time delay test method according to an example embodiment of the present application;
[0020] Figure 3 is a block diagram of a distance alarm time delay test device according to an example embodiment of the present application;
[0021] Figure 4 is a schematic diagram of a target region of a vehicle screen image according to an example embodiment of the present application;
[0022] Figure 5 is a schematic diagram of a structure of an electronic equipment according to an example embodiment of the present application. DETAILED DESCRIPTION
[0023] The above objects, advantages and other features of the application are illustrated by, but not limited to, the following embodiments. Other advantages and permutations of the application will reveal themselves to those skilled in the art from the following description. The embodiments disclosed herein are illustrative of the present application rather than limiting the same. Various equivalents to the practices while described herein can suggest themselves to those skilled in the art and such differences are within the true spirit and scope of the application. It is intended that the application not be limited to the disclosed embodiments, but that it include all changes coming within the scope of the application.
[0024] It is to be understood that the above-mentioned figures are only schematic and that for example, the dimensions of the figures and shapes of the various elements in the figures have been exaggerated for clarity. The same can apply hereinafter.
[0025] It is to be understood that the terms "first", "second", and the like, do not limit the sequence or order of these objects, but rather such terms are used to distinguish different objects from each other. The terms "comprises", "comprising", "includes", "including" and the like, are to be construed open-ended, meaning that they include the elements recited therein but not excluding other elements.
[0026] It is to be understood that the various numbers, sequence numbers, etc. recited in the present application are for the convenience of description and do not limit the scope of the present application. The size of the numbers in the present application does not mean the order of execution, and the execution order of the processes should be determined by its function and inherent logic.
[0027] In the following description, numerous specific details are discussed to provide a thorough explanation of embodiments of the present application. However, it will be apparent to one of ordinary skill in the art that embodiments of the present application can be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form to avoid obscuring the embodiments of the present application. In this description, references to "one embodiment", "an embodiment", "example embodiment", etc., indicate that the feature being referred to is included in at least one embodiment of the application. Separate references to "one embodiment", "an embodiment", "example embodiment", etc., do not necessarily refer to the same embodiment; however, it is contemplated that one embodiment can be implemented in combination with one or more other embodiments to produce yet other embodiments of the application.
[0028] It is to be understood that the test of the distance alarm delay of the PDC alarm system (i.e. the distance alarm system) includes the system delay and the display delay, wherein the system delay is the delay of the distance alarm signal of the ultrasonic detection, and the display delay is the time delay of the signal transmission of the distance alarm signal through the information transmission link in the vehicle to the central control large screen in the vehicle to make the radar arc segment displayed on the screen in the vehicle. The system delay will affect the detection accuracy of the whole PDC alarm system, and the display delay will affect the user experience of using the PDC alarm system.
[0029] Embodiments of the present application respectively propose a distance alarm time delay test method, a distance alarm time delay test device, an electronic device, a computer readable storage medium and a computer program product, which will be described in detail below.
[0030] Please refer to Figure 1 , Figure 1 is a schematic diagram of an implementation environment of a distance alarm time delay test method according to an example embodiment of the present application.
[0031] As shown in Figure 1 , the implementation environment can include an out-of-vehicle camera 1, an in-vehicle camera 2, a shelf, a vehicle CAN line and an integrated display, wherein the out-of-vehicle camera 1 is a test object image acquisition device for image acquisition of the falling body movement after the test object is released, the camera 2 is a vehicle screen image acquisition device for image acquisition of the panoramic view in the central control large screen of the vehicle, the shelf is used for placing and releasing the test object, the vehicle CAN line is used for monitoring the vehicle signals, and the integrated display is used for receiving the test object release signal and obtaining the first key moment, the second key moment and the third key moment based on the image acquired by the out-of-vehicle camera 1, the image acquired by the out-of-vehicle camera 2 and the distance alarm signal monitored by the vehicle CAN line, and displaying the calculated distance alarm time delay.
[0032] In an embodiment of the present application, two high-speed cameras are used as the test object image acquisition device and the vehicle screen image acquisition device, and the frame rate of the two high-speed cameras is set to 1000fps.
[0033] In an embodiment of the present application, the test object image acquisition device is placed at about 1.5m in front of the vehicle head (outside the distance radar alarm area), which is used to shoot the video image of the test object falling in front of the vehicle head, and the vehicle CAN line is connected to the PDC radar alarm CAN, thereby monitoring the distance alarm signal.
[0034] In an embodiment of the present application, in response to the test object release signal, the recording of the test object image acquisition device and the vehicle screen image acquisition device and the monitoring of the distance alarm signal by the vehicle CAN line are started simultaneously in response to the test start signal, so as to ensure that the first key moment, the second key moment and the third key moment use the same time axis (the starting time is the same).
[0035] In an embodiment of the present application, the preset starting position of the test object is set to a position 1m away from the vehicle head and 1.2m away from the ground. The preset starting position can be set autonomously based on the test requirement, and different preset starting positions can be tested multiple times, and the average value of the multiple test results is taken to improve the accuracy of the test.
[0036] Please refer to Figure 2 ,Figure 2 is a flow chart of a distance alarm delay test method shown in an example embodiment of the present application. The method can be applied to Figure 1 the implementation environment shown, the method can also be applicable to other example implementation environments, and be specifically executed by devices in other implementation environments, and the present embodiment does not limit the implementation environment to which the method is applicable.
[0037] As shown in Figure 2 in an example embodiment, the distance alarm delay test method at least includes 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 an embodiment of the present application, before releasing the test object from the preset starting position in response to the test object release signal, it further includes: in response to a start test signal, simultaneously starting a test object image acquisition device, a vehicle screen image acquisition device and a vehicle signal listening, so that the test object image starting acquisition time, the vehicle screen image starting acquisition time and the vehicle signal starting listening time are at the same time.
[0040] In an embodiment of the present application, after the vehicle is completely prepared, the test is started at a flat place without wind, the vehicle is changed to R gear, the front and rear distance radar system is activated, the tester steps on the brake, and it is ensured that the test object image acquisition device, the vehicle screen image acquisition device and the vehicle signal listening have been started at the same time, in response to the test object release signal, the test object is released from 1m in front of the vehicle head and 1.2m from the ground, the test object is allowed to free fall, and the test object image, the vehicle screen image and the vehicle signal during the free fall of the test object are acquired based on the test object image acquisition device, the vehicle screen image acquisition device and the vehicle signal listening, until the radar arc segment display appears in the vehicle screen image, the recording and listening are stopped.
[0041] Step S220, acquiring the test object image based on the test object image acquisition device, 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 the image of the test object reaching the preset ending position.
[0042] In an embodiment of the present application, taking the acquisition time corresponding to the test object key frame image as the first key moment includes: taking the center of the test object image as the origin, taking the vertical direction as the vertical axis, taking the horizontal direction as the horizontal axis, and calculating the projection distance of the connection line between the lower edge midpoint of the test object in the test object image and the origin on the vertical axis; if the projection distances corresponding to the continuous multiple frames of test object images are the same, the test object image with the earliest acquisition time in the continuous multiple frames of test object images is taken as the test object key frame image.
[0043] In another embodiment of the present application, the acquisition time corresponding to the test object key frame image is taken as the first key moment, including: taking the center of the test object image as the origin, taking the vertical direction as the vertical axis, taking the horizontal direction as the horizontal axis, and calculating the projection distance of the connection line between the midpoint of the lower edge of the test object in the test object image and the origin on the vertical axis; the test object image with the projection distance less than or equal to the preset distance and the earliest acquisition time is taken as the test object key frame image.
[0044] In an embodiment of the present application, the computer vision image is automatically screened to obtain the key frame node, a two-dimensional coordinate system is established in a single frame of test object image, the XY axis can be established in the center of the test object image, the spatial vertical direction is taken as the Y axis, the horizontal direction is taken as the X axis, and the pixel point is taken as the unit point. The motion trajectory of the test object is the free fall motion in the spatial vertical direction, 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 is indicated 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 the present embodiment, the preset end position is the falling to the ground.
[0045] In step S230, the vehicle screen image is collected based on the vehicle screen image collection device, and the acquisition time corresponding to the vehicle screen key frame image is taken as the second key moment. The vehicle screen key frame image is the image in which the radar arc segment display appears on the vehicle screen.
[0046] In an embodiment of the present application, the acquisition time corresponding to the vehicle screen key frame image is taken as the second key moment, including: the target region is demarcated on the vehicle screen image, and each pixel coordinate point in the target region is monitored; if there are multiple different pixel points in the target region of the continuous multiple frames of vehicle screen images, the vehicle screen image with the earliest acquisition time in the continuous multiple frames of vehicle screen images is taken as the vehicle screen key frame image.
[0047] In an embodiment of the present application, a vehicle screen image without radar arc segment display is selected as the reference image, in the present embodiment, the first collected vehicle screen image can be selected as the reference image, and one radar arc segment display region (such as 200 pixel points extended outside the vehicle model) outside the vehicle model contour is demarcated as the target region in the reference image, as shown in Figure 3 Figure 3 is a schematic diagram of demarcating the target region of the vehicle screen image shown in an exemplary embodiment of the present application, Figure 3 The middle region between the two green boxes is the target region. RGB monitoring is performed on each pixel point in the target region. When there are more than N different pixel points between the next frame of image and the previous frame of image, the next frame of image is the vehicle screen key frame image, and the collection time corresponding to the vehicle screen key frame image is taken as the second moment. In this embodiment, N can be set based on the accuracy of detection, and N is a natural number. For example, N can be 3.
[0048] In step S240, the vehicle signal is listened to, and the listening time of the distance alarm signal is taken as the third key moment.
[0049] In an embodiment of the present application, the vehicle CAN line for testing is connected with the PDC radar alarm CAN, the distance alarm signal of the PDC radar alarm is listened to, and the time of listening to the distance alarm signal is taken as the third key moment.
[0050] In step S250, the distance alarm time delay is obtained according to the first key moment, the second key moment and the third key moment.
[0051] In an embodiment of the present application, obtaining the distance alarm time delay according to the first key moment, the second key moment and the third key moment includes: if the third key moment is earlier than or equal to the first key moment, obtaining the system time delay and the display time delay based on the difference between the second key moment and the third key moment, and the distance alarm time delay includes the display time delay and the system time delay; if the first key moment is earlier than the third key moment, obtaining the system time delay based on the difference between the second key moment and the first key moment, and obtaining the display time delay based on the difference between the second key moment and the third key moment.
[0052] In an embodiment of the present application, if the third key moment is earlier than or equal to the first key moment, that is, the test object has been recognized by the distance radar detection when it is in the air, it indicates that the PDC alarm radar system of the test vehicle is relatively sensitive and has good performance. The system time delay of the PDC alarm radar is the difference obtained by subtracting the third key moment from the second key moment, and the display time delay of the PDC alarm radar is also the difference obtained by subtracting the third key moment from the second key moment.
[0053] In an embodiment of the present application, if the third key moment is later than the first key moment, the system time delay of the PDC alarm radar is the difference obtained by subtracting the first key moment from the second key moment, and the display time delay of the PDC alarm radar is the difference obtained by subtracting the third key moment from the second key moment.
[0054] In an embodiment of the present application, the distance alarm time delay test method further comprises: releasing the test object from the preset starting position in response to the multiple test object release signals, and calculating the distance alarm time delay corresponding to each release, and obtaining the average time delay based on the average of the multiple distance alarm time delays, the average time delay comprising an average system time delay and an average display time delay; if the average system time delay is greater than a first preset time delay and the average display time delay is less than a second preset time delay, it is determined that the distance alarm radar of the test vehicle has a fault; if the average display time delay is greater than or equal to the second preset time delay, it is determined that the vehicle screen signal transmission link of the test vehicle has a fault.
[0055] In an embodiment of the present application, the average of the display time delays of multiple tests is taken as the average display time delay, and the average of the system time delays of multiple tests is taken as the average system time delay.
[0056] In an embodiment of the present application, multiple releases can be performed at each same preset starting position to obtain multiple distance alarm time delays and calculate the average thereof, so as to improve the accuracy of the test. In this embodiment, three tests can be performed at each same preset starting position, or multiple preset starting positions can be set for tests at multiple heights.
[0057] In an embodiment of the present application, if the average system time delay is greater than 200 ms and the average display time delay is less than 50 ms, it is indicated that the PDC radar alarm system of the test vehicle itself has a significant time delay in detecting obstacles, and the radar supplier can be sent back for further detection.
[0058] In an embodiment of the present application, if the average display time delay is greater than or equal to 50 ms, it is indicated that the PDC radar alarm system of the test vehicle has a significant time delay in the signal transmission link of the vehicle screen radar arc segment display, and the test vehicle can be detected in the related communication link to exclude the fault.
[0059] In an embodiment of the present application, the distance alarm time delay test method further comprises: in multiple temperature environments, in response to multiple test object release signals, and obtaining the average time delay corresponding to each temperature environment; taking the average time delay in the preset temperature environment as a standard value, calculating the difference between the average time delay in the multiple temperature environments and the standard value, and taking the difference as the time delay compensation in the corresponding temperature environment.
[0060] In an embodiment of the present application, multiple temperature environments are set with a temperature of 5° as a step, including at least -20℃, -15℃, -10℃, -5℃, 0℃, 5℃, 10℃, 15℃ and 20℃. The distance alarm time 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 time delay in multiple temperature environments is obtained by taking the average. The average time delay in the preset temperature environment is taken as a standard value, the difference between the average time delay in multiple temperature environments and the standard value is calculated, and the difference is taken as the time delay compensation in the corresponding temperature environment.
[0061] In an embodiment of the present application, taking the system time delay as an example, the average system time delay at 20℃ is taken as a standard value, the difference between the average system time delay in multiple temperature environments and the standard value is calculated, and the difference is taken as the time delay compensation in the corresponding temperature environment, so as to obtain the temperature compensation table as shown in Table 1:
[0062] Table 1
[0063]
[0064] In an embodiment of the present application, by performing distance alarm time delay tests in multiple temperature environments, the temperature compensation values corresponding to multiple temperature environments are obtained, so that when it is detected that the vehicle is in the temperature environment, the PDC radar alarm system is warned in advance based on the corresponding temperature compensation value.
[0065] In an embodiment of the present application, test objects of different shapes can also be selected for release to obtain the distance alarm time delay corresponding to test objects of different shapes.
[0066] Please refer to Figure 4 , Figure 4 is a block diagram of a distance alarm time delay test device according to an exemplary embodiment of the present application. The device can be applied to Figure 1 the implementation environment as shown, and the device can also be applied to other exemplary implementation environments and specifically configured in other devices, and the present embodiment does not limit the implementation environment to which the device is applied.
[0067] As Figure 4 shown, the exemplary distance alarm time delay test device includes a signal receiving module 401, a first acquisition module 402, a second acquisition module 403, a third acquisition module 404 and a time delay calculation module 405.
[0068] The signal receiving module 401 is configured to release the test object from a preset starting position in response to a test object release signal.
[0069] The first acquisition module 402 is configured to acquire the test object image based on a test object image acquisition device, take the acquisition time corresponding to a test object key frame image as a first key moment, and take the test object key frame image as an image of the test object reaching a preset end position.
[0070] The second acquisition module 403 is configured to acquire the vehicle screen image based on a vehicle screen image acquisition device, take the acquisition time corresponding to a vehicle screen key frame image as a second key moment, and take the vehicle screen key frame image as an image in which the radar arc segment is displayed on the vehicle screen.
[0071] The third acquisition module 404 is configured to listen to the vehicle signal, and take the listening time corresponding to the distance alarm signal as a third key moment.
[0072] The time delay calculation module 405 is configured to obtain the distance alarm time delay according to the first key moment, the second key moment and the third key moment.
[0073] Figure 5 A structural schematic diagram of a computer system of an electronic device suitable for implementing the embodiments 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 use range of the embodiments of the present application.
[0074] As Figure 5 shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 502 or programs loaded from a storage portion 508 to a random access memory (RAM) 503, such as performing the methods described in the above embodiments. 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 a bus 504. An 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 part 506 including a keyboard, a mouse, etc.; an output part 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), etc., and a speaker, etc.; a storage part 508 including a hard disk, etc.; and a communication part 509 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication part 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 510 as necessary, so that a computer program read out therefrom is installed in the storage part 508 as necessary.
[0076] In particular, according to embodiments of the present application, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing a computer program for executing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network by the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the 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 in the embodiments of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination thereof. The computer-readable storage medium may, for example, be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination thereof. More specific examples of the computer-readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this application, the computer-readable signal medium can include a data signal propagated in a baseband or as a carrier wave in a propagated data signal, in which the computer-readable computer program is carried. Such a propagated data signal can take on many forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, which can send, propagate, or transmit the program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted in any suitable medium, including but not limited to wireless, wired, or the like, or any suitable combination thereof.
[0078] The flowcharts and block diagrams in the drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present application. Each block in the flowcharts or block diagrams can represent a module, a program segment, or a portion of code, which contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in a different order than that shown in the figures. For example, two blocks noted in succession can actually be executed substantially concurrently, or they can sometimes be executed in reverse order, depending on the functionality involved. It should also be noted that each block in the flowcharts or block diagrams, and combinations of blocks in the flowcharts or block diagrams, can be implemented by special-purpose hardware-based systems, which perform the specified functions or operations, or can be implemented by a combination of special-purpose hardware and computer instructions.
[0079] The units described in the embodiments of the present application can be implemented in the form of software, or can be implemented in the form of hardware, and the described units can also be arranged in a processor. In some cases, the names of the units do not constitute a limitation on the units themselves.
[0080] Another aspect of the present application also provides a computer readable storage medium, which stores a computer program. 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 can be included in the electronic device described in the above embodiments, or can exist separately and not be assembled into the electronic device.
[0081] Another aspect of the present application also provides a computer program product or a computer program, which includes computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the distance alarm delay test method provided in each of the above embodiments.
[0082] The above embodiments only exemplarily illustrate the principles and effects of the present application, and are not used to limit the present application. Any person skilled in the art can modify or change the above embodiments without departing from the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by those skilled in the art without departing from the spirit and technical thought of the present application should be covered by the claims of the present application.
Claims
1. A method for testing distance alarm delay, characterized in that, The distance alarm delay test method includes: In response to the test object release signal, the test object is released from a preset starting position; The test object image is acquired by the test object image acquisition device, and the acquisition time corresponding to the key frame image of the test object is taken as the first key moment. The key frame image of the test object is the image of the test object reaching the preset end position. The vehicle screen image is acquired using a vehicle screen image acquisition device. The acquisition time corresponding to the key frame image of the vehicle screen is taken as the second key moment. The key frame image of the vehicle screen is the image in which the radar arc is displayed on the vehicle screen. The vehicle signals are monitored, and the monitoring time corresponding to the alarm signal is taken as the third critical moment. The distance alarm delay is obtained based on the first key moment, the second key moment, and the third key moment. This process includes: if the third key moment is earlier than or equal to the first key moment, then a system delay and a display delay are obtained based on the difference between the second key moment and the third key moment, where the distance alarm delay includes the display delay and the system delay; if the first key moment is earlier than the third key moment, then the system delay and the display delay are obtained based on the difference between the second key moment and the first key moment.
2. The distance alarm delay testing method according to claim 1, characterized in that, Before releasing the test object from the preset start position in response to the test object release signal, the method further includes: In response to the start test signal, the test object image acquisition device, the vehicle screen image acquisition device, and the vehicle signal monitoring device are simultaneously activated, so that the start time of test object image acquisition, the start time of vehicle screen image acquisition, and the start time of vehicle signal monitoring are at the same moment.
3. The distance alarm delay testing method according to claim 1, characterized in that, The acquisition time corresponding to the keyframe image of the test object is taken as the first key moment, including: With the center of the test object image as the origin, a vertical axis is established in the vertical direction and a horizontal axis is established in the horizontal direction. 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 is calculated. If the projection distances corresponding to multiple consecutive test object images are the same, then the test object image with the earliest acquisition time among the multiple consecutive test object images is taken as the keyframe image of the test object. or, The test object image whose projection distance is less than or equal to a preset distance and whose acquisition time is the earliest is used as the keyframe image of the test object.
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 vehicle screen is used as the second key moment, including: The target area is defined in the vehicle screen image, and the coordinates of each pixel point in the target area are monitored; If there are multiple different pixels in the target area of multiple consecutive frames of vehicle screen images, the vehicle screen image with the earliest acquisition time among the multiple consecutive frames of vehicle screen images shall be used as the vehicle screen keyframe image.
5. The distance alarm delay test method according to any one of claims 1-4, characterized in that, The distance alarm delay test method also includes: In response to multiple test object release signals, the test object is released from a preset starting position, and the distance alarm delay corresponding to each release is calculated. The average delay is obtained based on the average of multiple distance alarm delays, and the average delay includes 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, then it is determined 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 determined that there is a fault in the vehicle screen signal transmission link of the test vehicle.
6. The distance alarm delay testing method according to claim 5, characterized in that, The distance alarm delay test method also includes: The test sample was responded to with signals released multiple times under multiple temperature conditions, and the average time delay corresponding to each temperature condition was obtained. The average delay under a preset temperature environment is used as a standard value. The difference between the average delay under multiple temperature environments and the standard value is calculated, and the difference is used as the delay compensation under the corresponding temperature environment.
7. A distance alarm delay testing device, characterized in that, The distance alarm delay testing device includes: The signal receiving module is used to release the test object from a preset starting position in response to the test object release signal; The first acquisition module is used to acquire images of the test object based on the test object image acquisition device, and to take 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 of the test object reaching the preset end position. The second acquisition module is used to acquire images of the vehicle screen based on the vehicle screen image acquisition device, and to take the acquisition time corresponding to the key frame image of the vehicle screen as the second key moment. The key frame image of the vehicle screen is the image in which the radar arc is displayed on the vehicle screen. The third acquisition module is used to monitor vehicle signals and take the monitoring time corresponding to the distance from the alarm signal as the third critical moment. The delay calculation module is used to obtain the distance alarm delay based on the first key moment, the second key moment, and the third key moment. Obtaining the distance alarm delay based on the first key moment, the second key moment, and the third key moment includes: if the third key moment is earlier than or equal to the first key moment, then the system delay and the display delay are obtained based on the difference between the second key moment and the third key 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, then 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.
8. An electronic device, characterized in that, The electronic device includes: One or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the distance alarm delay test method as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, It stores a computer program, which, when executed by the computer's processor, causes the computer to perform the distance alarm delay test method as described in any one of claims 1-6.
Citation Information
Patent Citations
Test system and method for vehicle advanced driving assistance system
CN113049264A
Low-speed driving assistance system detection delay test method, device, equipment and medium
CN116660650A