Automatic testing method and device for vehicle acoustic alarm system

Through automated testing methods, the audio data and vehicle speed data of the vehicle acoustic alarm system are analyzed in actual road environments, ensuring that the sound amplitude trend conforms to the vehicle speed range and trend, solving the problem of inaccurate test results in the existing technology, and improving the accuracy of the test Sex and driving safety.

CN119198110AActive Publication Date: 2024-12-27CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411109179.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-12-27
Estimated Expiration
2044-08-13

AI Technical Summary

Technical Problem

The test results of the existing vehicle acoustic alarm system when driving at low speeds are not accurate enough and cannot effectively restore the actual road environment, resulting in the test results being unreliable enough.

Method used

Real-time vehicle speed data and audio data are obtained through automated testing methods, and whether the sound amplitude trend of the audio data meets the range and trend of the vehicle speed data. The navigation module, vehicle acoustic alarm system, reference sound module and vehicle infotainment system are used for analysis and construction The two-dimensional Cartesian coordinate system displays the curve of vehicle speed and sound amplitude over time to ensure that the test is carried out accurately in actual road environments.

Benefits of technology

It improves the accuracy and reliability of vehicle acoustic alarm system testing, ensures that it can effectively warn the surrounding environment during actual driving and improves driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119198110A_ABST
    Figure CN119198110A_ABST
Patent Text Reader

Abstract

The invention relates to an automatic test method and device for a vehicle acoustic alarm system, and the method comprises the steps: obtaining real-time vehicle speed data, and obtaining audio data for low-speed alarm based on the vehicle acoustic alarm system; analyzing the vehicle speed data and the audio data to determine whether the sound amplitude trend in the audio data accords with the vehicle speed range and the vehicle speed trend in the vehicle speed data; and if yes, determining that the vehicle acoustic alarm system passes the test. The test accuracy of the vehicle acoustic alarm system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to an automated testing method and device for a vehicle acoustic alarm system. Background Art

[0002] The production and sales of the automobile industry are increasing steadily and rapidly, and new energy vehicles will become the direction of future automobile development. However, since new energy vehicles are not powered by engines and lack engine noise, the outside of the vehicle is extremely quiet when driving at low speeds, making it difficult for other road users, including pedestrians, bicycles, etc., especially the blind and visually impaired, to detect the approach of the vehicle, which can easily lead to traffic accidents. Therefore, electric vehicles with pure electric driving mode need to be equipped with a vehicle acoustic alarm system (AVAS, Acoustic Vehicle Alerting System), which can emit a warning tone when driving at low speeds to reduce the probability of traffic accidents with pedestrians.

[0003] Currently, the testing of low-speed warning sound systems is limited to laboratories. There are still differences between laboratory environments and actual road environments, which leads to inaccurate AVAS test results. Summary of the invention

[0004] The present application provides an automated testing method and device for a vehicle acoustic alarm system to solve the problem of inaccurate AVAS test results.

[0005] In a first aspect, the present application provides an automated testing method for a vehicle acoustic alarm system, the method comprising:

[0006] Acquire real-time vehicle speed data and obtain audio data for low-speed warning based on the vehicle acoustic warning system;

[0007] By analyzing the vehicle speed data and the audio data, determining whether the sound amplitude trend in the audio data conforms to the vehicle speed range and vehicle speed trend in the vehicle speed data;

[0008] If so, it is determined that the vehicle acoustic alarm system test has passed.

[0009] Optionally, by analyzing the vehicle speed data and the audio data, determining whether the sound amplitude trend in the audio data conforms to the vehicle speed range and the vehicle speed trend in the vehicle speed data includes:

[0010] Determine a first audio segment and a second audio segment that are adjacent to each other in the audio data, and determine a current sound amplitude trend by comparing a sound amplitude of the first audio segment with a sound amplitude of the second audio segment;

[0011] Determine a first time corresponding to the first audio segment and a second time corresponding to the second audio segment;

[0012] determining the vehicle speed at the first moment and the vehicle speed at the second moment in the vehicle speed data;

[0013] Determining a current vehicle speed range according to the vehicle speed at the first moment, and determining a current vehicle speed trend by comparing the vehicle speed at the first moment with the vehicle speed at the second moment;

[0014] According to the set relationship among the vehicle speed range, the vehicle speed trend and the sound amplitude trend, it is determined whether the current sound amplitude trend conforms to the current vehicle speed range and the current vehicle speed trend.

[0015] Optionally, the set relationship between the vehicle speed range, the vehicle speed trend and the sound amplitude trend is:

[0016] When the vehicle speed increases between 0 and m, the sound amplitude gradually decreases with the increase of vehicle speed; when the vehicle speed increases between m and n, the sound amplitude continues to decrease with the increase of vehicle speed; when the vehicle speed exceeds n, the sound amplitude drops to a silent state;

[0017] When the vehicle speed is within the range greater than n, the sound amplitude remains silent; when the vehicle speed decreases from n to m, the sound amplitude gradually increases as the vehicle speed decreases; when the vehicle speed further decreases to the interval between m and 0, the sound amplitude decreases as the vehicle speed decreases;

[0018] Among them, m and n are positive integers, m <n。

[0019] Optionally, after determining that the vehicle acoustic alarm system test has passed, the method further includes:

[0020] A two-dimensional rectangular coordinate system is constructed with time as the horizontal coordinate and sound amplitude and vehicle speed as the vertical coordinates;

[0021] A curve of vehicle speed and sound amplitude changing with time is determined according to the test results, and the curve is displayed in the two-dimensional rectangular coordinate system.

[0022] Optionally, the real-time vehicle speed data is sent after the navigation module calculates based on the GPS signal. After acquiring the real-time vehicle speed data, the method further includes:

[0023] Get the vehicle speed data based on the dashboard from the log;

[0024] Calculate the error between the vehicle speed data obtained based on the vehicle GPS signal and the vehicle speed data obtained based on the instrument panel;

[0025] If the error does not exceed the set error range, the error is included in the vehicle speed range.

[0026] Optionally, obtaining audio data for low speed warning based on the vehicle acoustic warning system includes:

[0027] Using a reference sound module to obtain audio data generated by the vehicle acoustic alarm system that has not been played by a speaker;

[0028] The audio data is obtained from the reference sound module through an in-vehicle infotainment system.

[0029] In a second aspect, the present application provides a vehicle, the vehicle comprising a navigation module, a vehicle acoustic alarm system, a reference sound module, an in-vehicle infotainment system, and an automated testing service module:

[0030] The navigation module is used to calculate and obtain real-time vehicle speed data;

[0031] The vehicle acoustic warning system is used to generate audio data for low speed warning;

[0032] The reference sound module is connected to the vehicle acoustic alarm system and is used to obtain the audio data;

[0033] The connection between the in-vehicle infotainment system and the reference sound module is used to obtain and transmit the audio data;

[0034] The automated testing service module is connected to the navigation module and the in-vehicle infotainment system, respectively, and is used to analyze the vehicle speed data and the audio data to determine whether the sound amplitude trend in the audio data conforms to the vehicle speed range and speed trend in the vehicle speed data; if so, it is determined that the vehicle acoustic alarm system test has passed.

[0035] In a third aspect, the present application provides an automated testing device for a vehicle acoustic alarm system, the device comprising:

[0036] An acquisition module, used to acquire real-time vehicle speed data and acquire audio data for low-speed warning based on a vehicle acoustic alarm system;

[0037] An analysis module, configured to determine whether the sound amplitude trend in the audio data conforms to the vehicle speed range and vehicle speed trend in the vehicle speed data by analyzing the vehicle speed data and the audio data;

[0038] The determination module is configured to determine that the vehicle acoustic alarm system test has passed if the conditions are met.

[0039] In a fourth aspect, the present application provides an electronic device comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus.

[0040] In a fifth aspect, the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the automated testing method for the vehicle acoustic alarm system described in any one of the above items of the present application.

[0041] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: during the actual road test, the automated test service module analyzes the actual vehicle speed data and the audio data, and determines that the actual test meets the algorithm of the vehicle acoustic alarm system according to the algorithm limitation of the vehicle acoustic alarm system itself, that is, when the trend of the sound amplitude in the audio data meets the speed range and speed trend in the speed data, the vehicle acoustic alarm system test is determined to have passed. Compared with the laboratory test in the prior art, the actual road test adopted by the present application can restore the real environment and improve the accuracy of the vehicle acoustic alarm system test. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0044] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0045] Figure 1 A flow chart of a method for automated testing of a vehicle acoustic alarm system provided in an embodiment of the present application;

[0046] Figure 2 A flow chart of a method for determining whether a condition is met provided in an embodiment of the present application;

[0047] Figure 3 A schematic diagram of a real-time record table provided in an embodiment of the present application;

[0048] Figure 4 AVAS audio diagram when the vehicle speed is 20km / h provided in the embodiment of the present application;

[0049] Figure 5 A schematic diagram of a curve provided in an embodiment of the present application;

[0050] Figure 6 An overall technical block diagram provided for the embodiments of the present application;

[0051] Figure 7 An overall flow chart of an automated testing method for a vehicle acoustic alarm system provided in an embodiment of the present application;

[0052] Figure 8 A schematic diagram of the structure of an automated testing device for a vehicle acoustic alarm system provided in an embodiment of the present application;

[0053] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0055] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0056] The present application discloses an automated testing method for a vehicle acoustic alarm system, which is applied to an automated testing service module and is used to improve the accuracy of testing the vehicle acoustic alarm system. Figure 1 As shown, the method comprises the following steps:

[0057] Step 101: Acquire real-time vehicle speed data, and acquire audio data for low-speed warning based on a vehicle acoustic alarm system.

[0058] Step 102: By analyzing the vehicle speed data and the audio data, determine whether the sound amplitude trend in the audio data conforms to the vehicle speed range and vehicle speed trend in the vehicle speed data.

[0059] Step 103: If yes, it is determined that the vehicle acoustic alarm system test has passed.

[0060] The automated test service module is the core component of the entire test framework. It can be integrated on mobile terminals, such as mobile phones, computers or tablets, or embedded in vehicle terminals. This flexible configuration allows testing to be performed in a variety of environments to meet the needs of different test scenarios. This module is responsible for obtaining the vehicle's real-time speed data, which can be obtained based on GPS signals or dashboard signals. This diverse data acquisition method ensures the comprehensiveness and accuracy of test data.

[0061] Electric vehicles with pure electric driving mode need to be equipped with a vehicle acoustic alarm system AVAS, which can issue a warning tone when driving at low speeds to reduce the probability of traffic accidents with pedestrians. Before the vehicle acoustic alarm system issues a warning tone through the horn, it sends the audio data to be issued to the automated testing service module through the reference sound module and the in-vehicle infotainment system (IVI). This process ensures the originality and integrity of the audio data, avoids interference from external noise, and provides an accurate data basis for subsequent sound amplitude trend analysis.

[0062] The automated test service module conducts a comprehensive analysis of the collected vehicle speed data and audio data. First, determine the trend of the sound amplitude in the audio data, which reflects the change in the volume of the warning tone; second, analyze the speed range and speed trend in the speed data, because the volume of the warning tone issued by AVAS is dynamically adjusted according to the vehicle speed. Specifically, when the vehicle speed increases within the range of 0 to m, the volume of the warning tone gradually decreases as the vehicle speed increases; when the vehicle speed increases within the range of m to n, the volume continues to decrease with the increase in vehicle speed; when it exceeds nkm / h, AVAS no longer issues a warning tone. On the contrary, during the process of vehicle speed reduction, the change in sound amplitude also shows a corresponding law. When the vehicle speed range is greater than n, AVAS does not issue a warning tone; when the vehicle speed decreases between n and m, the volume of the warning tone gradually increases as the vehicle speed decreases; when the vehicle speed decreases between m and 0, the volume decreases as the vehicle speed decreases.

[0063] The relationship between the vehicle speed range, vehicle speed trend, and sound amplitude trend is shown in the following example.

[0064] 1. The vehicle speed increases.

[0065] The vehicle speed range is 0-20km / h, and the sound amplitude decreases as the vehicle speed increases.

[0066] The vehicle speed range is 20-35km / h, and the sound amplitude decreases as the vehicle speed increases.

[0067] When the vehicle speed range is greater than 35km / h, the sound amplitude is zero.

[0068] Second, the vehicle speed decreases.

[0069] When the vehicle speed range is greater than 35km / h, the sound amplitude is zero.

[0070] The vehicle speed range is 35-20km / h, and the sound amplitude increases as the vehicle speed decreases.

[0071] The vehicle speed range is 20-0km / h, and the sound amplitude decreases as the vehicle speed decreases.

[0072] Only when the sound amplitude trend in the audio data conforms to the speed range and speed trend in the speed data, can it be determined that the vehicle acoustic alarm system test has passed. If the sound amplitude trend does not conform to the speed range and speed trend, the vehicle acoustic alarm system test has failed.

[0073] In the embodiment of the present application, during the actual road test, the automated testing service module analyzes the actual vehicle speed data and audio data, and determines that the actual test meets the algorithm of the vehicle acoustic alarm system based on the algorithm limitations of the vehicle acoustic alarm system itself, that is, when the trend of the sound amplitude in the audio data meets the speed range and speed trend in the speed data, the vehicle acoustic alarm system test is determined to have passed. Compared with the laboratory test in the prior art, the actual road test used in the present application can restore the real environment and improve the accuracy of the vehicle acoustic alarm system test.

[0074] The extensive vehicle acoustic alarm system testing in this application can ensure that its functions are more reliable and improve the safety of vehicle driving.

[0075] As an optional implementation, by analyzing the vehicle speed data and the audio data, it is determined whether the sound amplitude trend in the audio data conforms to the vehicle speed range and vehicle speed trend in the vehicle speed data, such as Figure 2 As shown, the following steps are included:

[0076] Step 201: determining a first audio segment and a second audio segment adjacent to each other in the audio data, and determining a current sound amplitude trend by comparing a sound amplitude of the first audio segment with a sound amplitude of the second audio segment;

[0077] Step 202: Determine a first time corresponding to the first audio clip and a second time corresponding to the second audio clip;

[0078] Step 203: Determine the vehicle speed at the first moment and the vehicle speed at the second moment in the vehicle speed data;

[0079] Step 204: determining a current vehicle speed range according to the vehicle speed at the first moment, and determining a current vehicle speed trend by comparing the vehicle speed at the first moment with the vehicle speed at the second moment;

[0080] Step 205: According to the set relationship between the vehicle speed range, the vehicle speed trend and the sound amplitude trend, determine whether the current sound amplitude trend is consistent with the current vehicle speed range and the current vehicle speed trend.

[0081] After the automated testing service module obtains the audio data, it writes the audio data into a file for storage. Specifically, if a 200MB audio file is written, the file is saved, and the subsequent audio data is written into another file. A maximum of 10 audio files can be saved. The automated testing service module reads the audio clips in the order in which the audio is written. Specifically, each time a first audio clip is read, its sound amplitude is determined, and the sound amplitude is compared with the audio amplitude of the previous adjacent second audio clip. If the sound amplitude of the first audio clip is larger, then it can be determined that the sound amplitude trend is gradually increasing. Conversely, if the sound amplitude of the first audio clip is smaller, then it can be determined that the sound amplitude trend is gradually decreasing.

[0082] Among them, the first moment refers to the moment corresponding to the last frame of the first audio segment, and the second moment refers to the moment corresponding to the last frame of the second audio segment. For example, the first audio segment of 0 to 10 milliseconds is obtained at the 10th millisecond of 10:20:00, and the second audio segment of 10 to 20 milliseconds is obtained at the 20th millisecond of 10:20:00. The first moment and the second moment are not continuous, and have a certain time interval, such as a time interval at the millisecond level. The second moment is later than the first moment.

[0083] Each audio clip is bound to a corresponding system time. The audio clip and the vehicle speed can be matched one by one according to the system time, so as to judge whether the trend of the audio amplitude meets the vehicle speed range and the vehicle speed trend at the same time. Specifically, the automated testing service module uses two moments to determine the trend of the sound amplitude, namely the first moment corresponding to the last frame of the first audio clip and the second moment corresponding to the last frame of the second audio clip. Then, it is also necessary to obtain the vehicle speed at these two time points accordingly to judge the vehicle speed trend, that is, to compare the vehicle speed at the first moment with the second moment. If the vehicle speed at the first moment is larger, then it is determined that the vehicle speed is rising. If the vehicle speed at the first moment is smaller, then it is determined that the vehicle speed is falling.

[0084] In addition, the automated test service module divides the vehicle speed range in advance according to the algorithm of the vehicle acoustic alarm system, and can determine the vehicle speed range within which the vehicle speed at the first moment falls.

[0085] After the above operations, it can be known whether the vehicle speed is increasing or decreasing, what the vehicle speed range is, and whether the sound amplitude is increasing or decreasing at the first moment, and then it can be determined whether the above setting relationship is met.

[0086] Exemplarily, a 10-millisecond audio clip is currently obtained, and a 10-millisecond audio clip of the previous time is obtained, and the sound amplitudes of the two audio clips are compared to determine whether the volume increases or decreases, and abnormal information is judged and recorded based on the vehicle speed range and speed trend.

[0087] In the embodiment of the present application, the processing flow of audio data and vehicle speed data includes the following key steps:

[0088] 1. Determine the sound amplitude trend. First, the automated testing service module will identify the first audio segment and the adjacent second audio segment in the audio data. By comparing the sound amplitudes of the two audio segments, it can be determined whether the sound amplitude is increasing or decreasing, thereby determining the current sound amplitude trend. For example, if the sound amplitude of the first audio segment is higher than the sound amplitude of the second audio segment, the sound amplitude trend is considered to be rising; if the sound amplitude of the first audio segment is lower than the sound amplitude of the second audio segment, the sound amplitude trend is considered to be falling; if the sound amplitude of the first audio segment is equal to the sound amplitude of the second audio segment, the sound amplitude trend is considered to be stable.

[0089] 2. Record time points. The automated testing service module will record the time points corresponding to each audio clip, namely the first moment and the second moment. These moments are not continuous, but have a certain interval, such as millisecond level. Through system time stamps, it ensures that each audio clip can correspond to the corresponding vehicle speed data, providing an accurate time reference for subsequent analysis.

[0090] 3. Obtain and compare vehicle speed data: According to the recorded time point, the automated test service module will obtain the vehicle speed data at the corresponding moment. By comparing the vehicle speed at the first moment with the vehicle speed at the second moment, the trend of the vehicle speed can be determined, such as whether the vehicle speed is rising or falling. At the same time, the speed range of the vehicle will be determined based on the current vehicle speed.

[0091] 4. Comprehensive judgment: According to the preset setting relationship, the automated test service module will evaluate whether the sound amplitude trend matches the current vehicle speed range and speed trend. This judgment is based on the pre-set algorithm logic and takes into account the rationality of the sound amplitude changes in different vehicle speed ranges.

[0092] 5. Save audio data: During the processing, in order to ensure the integrity and traceability of the data, the automated testing service module will also write the received audio data into a file for storage. For example, after writing 200MB of audio data, the file is saved and a new file is started, with a maximum of 10 audio files saved. This mechanism ensures that even if an accident occurs during data processing, sufficient data can be retained for analysis and problem location.

[0093] Suppose that in a certain test, the automated test service module obtains a 10-millisecond audio clip and the previous 10-millisecond audio clip. By comparing the sound amplitudes of the two clips, it is found that the sound amplitude has increased. At the same time, by analyzing the vehicle speed data at the corresponding moment, it is found that the vehicle speed also shows an upward trend. According to the preset setting relationship, if the increase in sound amplitude and the increase in vehicle speed are in line with expectations, the test result may be considered normal. On the contrary, if the sound amplitude increases and the vehicle speed decreases, there may be an abnormality and further inspection is required.

[0094] Through this series of steps, the automated testing service module can effectively test the performance of the vehicle acoustic alarm system in different situations to ensure that it works as expected, thereby improving the vehicle's safety performance.

[0095] In the present application, the sound amplitude trend is determined by comparing the sound amplitudes between adjacent audio segments, and the vehicle speed trend is determined by comparing the vehicle speeds at corresponding moments, so as to determine whether the sound amplitude trend is consistent with the vehicle speed range and speed trend, thereby judging whether the vehicle acoustic alarm system test has passed.

[0096] As an optional implementation, after determining that the vehicle acoustic alarm system test has passed, the method also includes: constructing a two-dimensional rectangular coordinate system with time as the horizontal coordinate and sound amplitude and vehicle speed as the vertical coordinates; determining a curve of vehicle speed and sound amplitude changing with time based on the test results, and displaying the curve in the two-dimensional rectangular coordinate system.

[0097] After the test is completed, the automated test service module will export the recorded vehicle speed data and audio data to obtain a real-time record table, such as Figure 3 As shown, the record table records the changes in vehicle speed and DB amplitude over time.

[0098] The automated testing service module can also export audio data at a certain vehicle speed for users to view. Figure 4 This is the AVAS audio when the vehicle speed is 20km / h.

[0099] When a test abnormality occurs, in order to facilitate the analysis of abnormal data, the exported vehicle speed data and sound amplitude can be used to draw a curve graph, and the user can intuitively review the sound changes caused by the vehicle speed change on the terminal. Among them, the audio data can use shot type PCM (Pulse Code Modulation) audio data. Figure 5 It is a curve diagram. It can be seen that time is the horizontal axis, and the vertical axes are the sound amplitude and vehicle speed. It can be seen that with the increase of vehicle speed, the sound amplitude increases when the vehicle speed is 0-20km / h, and the sound amplitude decreases when the vehicle speed is 20-35km / h. When the vehicle speed is greater than 35km / h, the sound amplitude is very small.

[0100] As an optional implementation, the real-time vehicle speed data is sent by the navigation module after calculation based on the GPS signal. After obtaining the real-time vehicle speed data, the method also includes: obtaining the vehicle speed data obtained based on the dashboard from the log; calculating the error between the vehicle speed data obtained based on the vehicle GPS signal and the vehicle speed data obtained based on the dashboard; if the error does not exceed the set error range, the error is included in the vehicle speed range.

[0101] In the embodiment of the present application, the vehicle speed data used by the automated testing service module during testing is calculated by the navigation module based on the GPS signal. The vehicle speed data can also be calculated based on the instrument panel data, but the vehicle speed data calculated based on the GPS signal will be faster and the test efficiency will be improved accordingly. Therefore, the embodiment of the present application gives priority to the vehicle speed calculated based on the GPS signal.

[0102] The real-time vehicle speed information obtained by calculating the GPS signal is realized through the Doppler effect. The Global Positioning System (GPS) can not only provide geographic location information, but also measure the speed of moving objects through its sophisticated technical means. This function plays an important role in vehicle navigation and speed monitoring. The working principle of GPS speed measurement is to analyze the frequency changes of satellite signals. When there is relative motion between the GPS receiver and the satellite, the frequency of the signal received by the receiver will be inconsistent with the frequency of the transmitted signal. This phenomenon is called the Doppler effect. The GPS receiver can accurately determine its movement speed in three-dimensional space by analyzing the signal difference from at least three satellites. Specifically, the GPS receiver will continuously track the signals sent by the satellite and calculate the rate of change of the frequency in real time through an internal algorithm to obtain speed data. The GPS device follows the classic formula: speed = distance / time to calculate speed. When the vehicle is driving, the GPS device will continuously track the position of the car and measure the distance traveled by the vehicle. The driving distance is divided by the time the vehicle travels between two locations, and the number obtained is the speed of the vehicle traveling between the two points.

[0103] Before the automated testing service module officially conducts the test, it needs to verify whether its algorithm is accurate. The specific verification method is as follows: When analyzing the performance and accuracy of the vehicle, accurate recording and monitoring of vehicle speed data is crucial. To this end, two main methods are usually used to obtain vehicle speed data: one is to read directly from the vehicle dashboard, and the other is to calculate using the vehicle's GPS signal. Although these two methods have the same purpose, due to their different measurement principles and methods, the data obtained may be slightly different.

[0104] On the one hand, the vehicle speed data can be directly read from the vehicle's dashboard. These data are usually directly measured by the wheel speed sensor or the vehicle's speed sensor, reflecting the instantaneous speed of the vehicle. The advantage of this method is that it directly obtains data from the vehicle's own sensors, which is usually more reliable and real-time. On the other hand, the vehicle speed data calculated by GPS signals determines the speed based on the rate of change of the vehicle's position. Specifically, the GPS device receives satellite signals and calculates the vehicle's moving speed through continuous position information. One advantage of this method is that it can provide a more objective measurement of vehicle speed, which is not affected by the vehicle's own sensor errors.

[0105] In order to ensure the accuracy and consistency of the data, it is necessary to compare and analyze the speed data obtained by these two methods. First, the speed information based on the dashboard can be extracted through the data in the log file. Then, this speed information is compared with the speed data calculated by the GPS signal to calculate the error between the two. If this error is within the pre-set acceptable range (such as ±2 km / h), it can be considered that the two sets of data are sufficiently consistent and there are no significant problems with the speed data. In this case, this error range can be incorporated into the application of the speed data, such as when drawing the speed curve, this error can be taken into account as a normal fluctuation. Doing so can provide more real and comprehensive information during data analysis and presentation, and is also conducive to subsequent performance evaluation and adjustment.

[0106] This error tolerance and inclusion approach helps maintain a certain degree of flexibility and practicality in data analysis, especially when dealing with dynamic data collected under actual road conditions. In this way, the algorithm of the verification automated test service module is accurate, which not only ensures the reliability of the data, but also enhances the adaptability and practicality of data analysis, and better serves the optimization of vehicle performance and the improvement of driving safety.

[0107] As an optional implementation, obtaining audio data for low-speed warning based on the vehicle acoustic alarm system includes: using a reference sound module to obtain audio data generated by the vehicle acoustic alarm system without being played by a speaker; and obtaining audio data from the reference sound module through an on-board infotainment system.

[0108] When evaluating and testing the effectiveness of the Acoustic Vehicle Alert System (AVAS), it is extremely important to ensure the accuracy and clarity of the collected audio data. Usually, the warning sound generated by the AVAS is played outward through the vehicle's horn system. When this process is carried out on the road, the audio data is often interfered by various environmental factors such as road noise and tire noise. These interferences can significantly affect the quality of the recording, so that the final test results do not reflect the pure AVAS sound performance, but a mixed effect affected by external noise.

[0109] In order to solve this problem, a more direct and controlled data collection method is considered. Specifically, instead of collecting the sound that has been played through the speaker, the audio data that has not yet been played through the speaker is directly obtained from the inside of the acoustic alarm system. This method can effectively avoid interference from external noise and ensure that the collected audio data is pure and accurate, thereby providing a more reliable basis for subsequent analysis and evaluation. In addition, the system can be tested without the need for peripherals such as sound cards. This application can be used for testing unmanned electric vehicles, without the need for testers to sit in the car, reducing the cost of additional testers.

[0110] However, there is a technical challenge in implementing this solution: the vehicle acoustic alarm system is usually not directly connected to the in-vehicle infotainment system (IVI system), and there is a lack of a direct data transmission interface between the two. In order to bridge this technical gap, this application proposes a solution of adding a reference sound module, which can directly obtain the original audio data that has not been played by the speaker from the AVAS and pass this data to the in-vehicle infotainment system. Once the audio data is transmitted to the in-vehicle infotainment system, it can be further sent to the automated test service module for processing and analysis. This automated test service module can be a combination of software and hardware provided by the vehicle manufacturer or a third party, specifically used to test and optimize the performance of the AVAS.

[0111] In this way, not only can the quality of the collected AVAS audio data be ensured, but the computing and communication capabilities of the in-vehicle infotainment system can also be used to transmit the data to a remote server or cloud platform for more in-depth analysis. Such an integrated test process not only improves the accuracy of the data, but also enhances the efficiency and reliability of the test work, providing solid data support for the continuous improvement and optimization of the vehicle acoustic alarm system.

[0112] Based on the same technical concept, this application provides an overall technical block diagram, such as Figure 6 As shown, it mainly includes the following key modules.

[0113] Navigation module: responsible for providing vehicle speed data and providing a reference benchmark for subsequent sound amplitude trend analysis.

[0114] Acoustic Vehicle Alerting System (AVAS): Generates an audio warning when the vehicle is travelling at low speeds to alert pedestrians and other road users.

[0115] Reference sound module: closely connected with AVAS, responsible for directly acquiring the original audio data generated by AVAS to avoid external noise interference.

[0116] In-vehicle infotainment system (IVI system): As the center of internal information processing and display in the vehicle, it interfaces with the reference sound module and receives audio data.

[0117] Automated testing service module: processes vehicle speed data from the navigation module and audio data from the IVI system for comprehensive analysis.

[0118] The DSP module includes: vehicle acoustic alarm system and reference sound module. The reference sound module transmits the audio data generated by the DSP module to the in-vehicle infotainment system through the Output pin. For this purpose, the IVI system is connected to the reference sound interface of the DSP module to ensure smooth data access. At the same time, the IVI system provides a dedicated AVAS recording interface for the automated test service module by extending the Android or Linux native interface.

[0119] Specifically, when configuring the audio path, the IVI system configures the output of AVAS as the input of the reference sound module. At the same time, the PCM data path of this reference sound module is opened, so that the DSP module maps the audio of AVAS as a recording channel to an independent recording device, and then expands the Android recording interface so that the App can call it.

[0120] The automated testing service module is the brain of the entire framework. It is connected to the navigation module and the in-vehicle infotainment system to perform the following tasks:

[0121] Data collection: vehicle speed data is obtained from the navigation module and audio data is obtained from the IVI system.

[0122] Data analysis: Analyze whether the sound amplitude trend in the audio data matches the vehicle speed range and trend in the vehicle speed data.

[0123] Test result determination: If the sound amplitude trend of the audio data is consistent with the vehicle speed data, the AVAS test is determined to have passed.

[0124] This integrated and automated testing framework can greatly improve the efficiency and accuracy of AVAS testing, ensuring that the AVAS system can effectively warn the surrounding environment during actual driving and improve driving safety. In addition, the framework also supports flexible expansion and upgrading, and can be adjusted and optimized accordingly according to future technological developments.

[0125] The present application provides a schematic diagram of the overall process of automated testing of a vehicle acoustic alarm system, such as Figure 7 As shown, the following steps are included.

[0126] Step 701: Open the navigation, connect to the navigation interface in the test APP, and listen to the real-time vehicle speed data sent by the navigation.

[0127] Step 702: Acquire audio data of the vehicle acoustic alarm system AVAS through the interface of the reference sound module and the interface of the in-vehicle infotainment system IVI, and save the audio data into a file.

[0128] Step 703: Analyze the vehicle speed data and audio data in real time to determine whether the sound amplitude trend in the audio data conforms to the vehicle speed range and speed trend in the vehicle speed data. If so, execute step 704; if not, execute step 705.

[0129] Step 704: Determine whether the vehicle acoustic alarm system test has passed.

[0130] Step 705: Display the curves of vehicle speed and sound amplitude changing with time.

[0131] The present application also provides an automated testing device for a vehicle acoustic alarm system, such as Figure 8 As shown, the device comprises:

[0132] An acquisition module 801 is used to acquire real-time vehicle speed data and acquire audio data for low-speed warning based on a vehicle acoustic alarm system;

[0133] An analysis module 802 is used to analyze the vehicle speed data and the audio data to determine whether the sound amplitude trend in the audio data conforms to the vehicle speed range and the vehicle speed trend in the vehicle speed data;

[0134] The determination module 803 is used to determine whether the vehicle acoustic alarm system test has passed if the conditions are met.

[0135] Optionally, the analysis module 802 is used to:

[0136] Determine a first audio segment and a second audio segment that are adjacent to each other in the audio data, and determine a current sound amplitude trend by comparing a sound amplitude of the first audio segment with a sound amplitude of the second audio segment;

[0137] Determine a first time instant corresponding to the first audio segment and a second time instant corresponding to the second audio segment;

[0138] Determine the vehicle speed at a first moment and the vehicle speed at a second moment in the vehicle speed data;

[0139] Determine the current vehicle speed range according to the vehicle speed at the first moment, and determine the current vehicle speed trend by comparing the vehicle speed at the first moment with the vehicle speed at the second moment;

[0140] According to the set relationship between the vehicle speed range, the vehicle speed trend and the sound amplitude trend, it is determined whether the current sound amplitude trend conforms to the current vehicle speed range and the current vehicle speed trend.

[0141] Optionally, the set relationship between the vehicle speed range, the vehicle speed trend and the sound amplitude trend is:

[0142] When the vehicle speed increases between 0 and m, the sound amplitude gradually decreases with the increase of vehicle speed; when the vehicle speed increases between m and n, the sound amplitude continues to decrease with the increase of vehicle speed; when the vehicle speed exceeds n, the sound amplitude drops to a silent state;

[0143] When the vehicle speed is within the range greater than n, the sound amplitude remains silent; when the vehicle speed decreases from n to m, the sound amplitude gradually increases as the vehicle speed decreases; when the vehicle speed further decreases to the interval between m and 0, the sound amplitude decreases as the vehicle speed decreases;

[0144] Among them, m and n are positive integers, m <n。

[0145] Optionally, the device is also used for:

[0146] A two-dimensional rectangular coordinate system is constructed with time as the horizontal coordinate and sound amplitude and vehicle speed as the vertical coordinates;

[0147] The curves of vehicle speed and sound amplitude changing with time are determined according to the test results, and the curves are displayed in a two-dimensional rectangular coordinate system.

[0148] Optionally, the device is also used for:

[0149] Get the vehicle speed data based on the dashboard from the log;

[0150] Calculate the error between the vehicle speed data obtained based on the vehicle GPS signal and the vehicle speed data obtained based on the instrument panel;

[0151] If the error does not exceed the set error range, the error is included in the vehicle speed range.

[0152] Optionally, the acquisition module 801 is used to:

[0153] A reference sound module is used to obtain audio data generated by a vehicle acoustic alarm system that has not been played by a speaker;

[0154] The audio data is obtained from the reference sound module through the in-vehicle infotainment system.

[0155] like Fig. 9 As shown, an embodiment of the present application provides an electronic device, including a processor 901, a communication interface 902, a memory 903 and a communication bus 904, wherein the processor 901, the communication interface 902, and the memory 903 communicate with each other through the communication bus 904.

[0156] The memory 903 is used to store computer programs.

[0157] In one embodiment of the present application, the processor 901 is used to execute the program stored in the memory 903 to implement the automated testing method of the vehicle acoustic alarm system provided by any of the aforementioned method embodiments, including the following contents.

[0158] Acquire real-time vehicle speed data and obtain audio data for low-speed warning based on the vehicle acoustic warning system;

[0159] By analyzing the vehicle speed data and the audio data, determining whether the sound amplitude trend in the audio data conforms to the vehicle speed range and vehicle speed trend in the vehicle speed data;

[0160] If so, the vehicle acoustic alarm system test is determined to have passed.

[0161] Optionally, by analyzing the vehicle speed data and the audio data, determining whether the sound amplitude trend in the audio data conforms to the vehicle speed range and the vehicle speed trend in the vehicle speed data includes:

[0162] Determine a first audio segment and a second audio segment that are adjacent to each other in the audio data, and determine a current sound amplitude trend by comparing a sound amplitude of the first audio segment with a sound amplitude of the second audio segment;

[0163] Determine a first time instant corresponding to the first audio segment and a second time instant corresponding to the second audio segment;

[0164] Determine the vehicle speed at a first moment and the vehicle speed at a second moment in the vehicle speed data;

[0165] Determine the current vehicle speed range according to the vehicle speed at the first moment, and determine the current vehicle speed trend by comparing the vehicle speed at the first moment with the vehicle speed at the second moment;

[0166] According to the set relationship between the vehicle speed range, the vehicle speed trend and the sound amplitude trend, it is determined whether the current sound amplitude trend conforms to the current vehicle speed range and the current vehicle speed trend.

[0167] Optionally, the set relationship between the vehicle speed range, the vehicle speed trend and the sound amplitude trend is:

[0168] When the vehicle speed increases between 0 and m, the sound amplitude gradually decreases with the increase of vehicle speed; when the vehicle speed increases between m and n, the sound amplitude continues to decrease with the increase of vehicle speed; when the vehicle speed exceeds n, the sound amplitude drops to a silent state;

[0169] When the vehicle speed is within the range greater than n, the sound amplitude remains silent; when the vehicle speed decreases from n to m, the sound amplitude gradually increases as the vehicle speed decreases; when the vehicle speed further decreases to the interval between m and 0, the sound amplitude decreases as the vehicle speed decreases;

[0170] Among them, m and n are positive integers, m <n。

[0171] Optionally, after determining that the vehicle acoustic alarm system test has passed, the method further includes:

[0172] A two-dimensional rectangular coordinate system is constructed with time as the horizontal coordinate and sound amplitude and vehicle speed as the vertical coordinates;

[0173] The curves of vehicle speed and sound amplitude changing with time are determined according to the test results, and the curves are displayed in a two-dimensional rectangular coordinate system.

[0174] Optionally, the real-time vehicle speed data is sent after the navigation module calculates based on the GPS signal. After acquiring the real-time vehicle speed data, the method further includes:

[0175] Get the vehicle speed data based on the dashboard from the log;

[0176] Calculate the error between the vehicle speed data obtained based on the vehicle GPS signal and the vehicle speed data obtained based on the instrument panel;

[0177] If the error does not exceed the set error range, the error is included in the vehicle speed range.

[0178] Optionally, obtaining audio data for low speed warning based on the vehicle acoustic warning system includes:

[0179] A reference sound module is used to obtain audio data generated by a vehicle acoustic alarm system that has not been played by a speaker;

[0180] The audio data is obtained from the reference sound module through the in-vehicle infotainment system.

[0181] 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, the steps of the automated testing method for a vehicle acoustic alarm system provided in any of the aforementioned method embodiments are implemented.

[0182] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0183] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0184] It should be understood that the terms used in the text are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used in the text may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described in the text are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0185] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. An automated testing method for a vehicle acoustic alarm system, characterized in that: The method comprises: Acquire real-time vehicle speed data and obtain audio data for low-speed warning based on the vehicle acoustic warning system; By analyzing the vehicle speed data and the audio data, determining whether the sound amplitude trend in the audio data conforms to the vehicle speed range and vehicle speed trend in the vehicle speed data; If so, it is determined that the vehicle acoustic alarm system test has passed.

2. The method according to claim 1, characterized in that By analyzing the vehicle speed data and the audio data, determining whether the sound amplitude trend in the audio data conforms to the vehicle speed range and the vehicle speed trend in the vehicle speed data includes: Determine a first audio segment and a second audio segment that are adjacent to each other in the audio data, and determine a current sound amplitude trend by comparing a sound amplitude of the first audio segment with a sound amplitude of the second audio segment; Determine a first time corresponding to the first audio segment and a second time corresponding to the second audio segment; determining the vehicle speed at the first moment and the vehicle speed at the second moment in the vehicle speed data; Determining a current vehicle speed range according to the vehicle speed at the first moment, and determining a current vehicle speed trend by comparing the vehicle speed at the first moment with the vehicle speed at the second moment; According to the set relationship among the vehicle speed range, the vehicle speed trend and the sound amplitude trend, it is determined whether the current sound amplitude trend conforms to the current vehicle speed range and the current vehicle speed trend.

3. The method according to claim 2, characterized in that The relationship between the speed range, speed trend and sound amplitude trend is as follows: When the vehicle speed increases between 0 and m, the sound amplitude gradually decreases with the increase of vehicle speed; when the vehicle speed increases between m and n, the sound amplitude continues to decrease with the increase of vehicle speed; when the vehicle speed exceeds n, the sound amplitude drops to a silent state; When the vehicle speed is within the range greater than n, the sound amplitude remains silent; when the vehicle speed decreases from n to m, the sound amplitude gradually increases as the vehicle speed decreases; when the vehicle speed further decreases to the interval between m and 0, the sound amplitude decreases as the vehicle speed decreases; Among them, m and n are positive integers, m <n。 4. The method according to claim 1, characterized in that After determining that the vehicle acoustic alarm system test has passed, the method further includes: A two-dimensional rectangular coordinate system is constructed with time as the horizontal coordinate and sound amplitude and vehicle speed as the vertical coordinates; A curve of vehicle speed and sound amplitude changing with time is determined according to the test results, and the curve is displayed in the two-dimensional rectangular coordinate system.

5. The method according to claim 1, characterized in that The real-time vehicle speed data is sent by the navigation module after calculation based on the GPS signal. After acquiring the real-time vehicle speed data, the method further includes: Get the vehicle speed data based on the dashboard from the log; Calculate the error between the vehicle speed data obtained based on the vehicle GPS signal and the vehicle speed data obtained based on the instrument panel; If the error does not exceed the set error range, the error is included in the vehicle speed range.

6. The method according to claim 1, characterized in that The audio data for low speed warning based on the vehicle acoustic warning system includes: Using a reference sound module to obtain audio data generated by the vehicle acoustic alarm system that has not been played by a speaker; The audio data is obtained from the reference sound module through an in-vehicle infotainment system.

7. A vehicle applied to the automated testing method of the vehicle acoustic alarm system according to claim 1, characterized in that: The vehicle includes a navigation module, a vehicle acoustic alarm system, a reference sound module, an in-vehicle infotainment system, and an automated testing service module: The navigation module is used to calculate and obtain real-time vehicle speed data; The vehicle acoustic warning system is used to generate audio data for low speed warning; The reference sound module is connected to the vehicle acoustic alarm system and is used to obtain the audio data; The connection between the in-vehicle infotainment system and the reference sound module is used to obtain and transmit the audio data; The automated testing service module is connected to the navigation module and the in-vehicle infotainment system, respectively, and is used to analyze the vehicle speed data and the audio data to determine whether the sound amplitude trend in the audio data conforms to the vehicle speed range and speed trend in the vehicle speed data; if so, it is determined that the vehicle acoustic alarm system test has passed.

8. An automated testing device for a vehicle acoustic alarm system, characterized in that: The device comprises: An acquisition module, used to acquire real-time vehicle speed data and acquire audio data for low-speed warning based on a vehicle acoustic alarm system; An analysis module, configured to determine whether the sound amplitude trend in the audio data conforms to the vehicle speed range and vehicle speed trend in the vehicle speed data by analyzing the vehicle speed data and the audio data; The determination module is configured to determine that the vehicle acoustic alarm system test has passed if the conditions are met.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 1-7 when executing a program stored in a memory.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Automotive wheel center actual driving displacement measuring and extracting method

    CN106524967A

  • Detection analysis system for electric vehicle controller

    CN110058163A

  • Device and method for measuring alarm range of low-speed driving assistance system

    CN117129230A

  • Electric vehicle safety sound generation alarm device

    CN202923485U

  • Detection system suitable for new energy automobile speed and low speed prompt tone function

    CN217237207U