Playing control method and system for vehicle low-speed warning tone, vehicle and storage medium
By combining visual target detection and noise signal analysis, the melody and volume of the low-speed beep are dynamically adjusted, solving the problem of electric vehicles having difficulty attracting the attention of pedestrians when driving at low speeds, and improving safety and driving experience.
Patent Information
- Application Number
- CN202410829547.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-10
AI Technical Summary
When electric vehicles drive at low speeds, due to their low sound, it is difficult to attract the attention of pedestrians, leading to safety risks. The existing technology relies on ambient noise to adjust the sound, which leads to misjudgment and inaccuracy.
Using a method that combines visual target detection and noise signal analysis, it collects picture information and environmental noise around the vehicle, performs visual target detection and noise signal analysis, determines the target category and controls the playback of low-speed prompts, and dynamically adjusts the melody and volume to suit different environments.
It improves the safety and driving experience of electric vehicles when driving at low speeds, reduces misjudgments and omissions, and ensures effective warnings for target objects outside the vehicle.
Smart Images

Figure CN118618191A
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to a method, system, vehicle, and storage medium for controlling the playback of a vehicle low-speed warning sound. Background Art
[0002] With the continuous development of the electric vehicle market, more and more families choose electric vehicles as their preferred means of transportation. The difference between electric vehicles and gas vehicles is that electric vehicles do not have engines. Therefore, when electric vehicles are driving at low speeds, the noise is relatively small, which can easily cause pedestrians on the road to fail to notice, thereby increasing the risk of danger.
[0003] To address the above issues, electric vehicles play a low-speed warning sound during low-speed driving to alert pedestrians. Currently, when playing the low-speed warning sound, electric vehicles usually adjust the volume of the low-speed warning sound based on the ambient noise outside the vehicle. However, using only the ambient noise as the basis for adjusting the low-speed warning sound has some limitations, which may lead to misjudgment and even dangerous situations. For example, in a confined space such as an underground parking lot, the ambient sound collected by the noise collection device may be too loud due to factors such as echo, resulting in the issuance of an excessively loud low-speed warning sound, which can easily scare or confuse pedestrians. In quiet rural areas or other environments, especially when there are many pedestrians walking, the ambient noise may be very low. In this case, the system may not be able to accurately judge and issue an effective low-speed warning sound, thus failing to effectively warn pedestrians, increasing the risk of danger.
[0004] Therefore, a new method for controlling the playback of vehicle low-speed warning sounds is urgently needed. Summary of the Invention
[0005] In view of the above problems, embodiments of the present application provide a method, system, vehicle and storage medium for controlling the playback of a vehicle low-speed warning sound, so as to overcome the above problems or at least partially solve the above problems.
[0006] In a first aspect of an embodiment of the present application, a method for controlling the playback of a vehicle low-speed warning sound is provided, the method comprising:
[0007] During the vehicle's current low-speed driving phase, image information around the vehicle and environmental noise are collected;
[0008] Based on the image information, performing visual target detection to obtain a visual target detection result;
[0009] Based on the environmental noise, obtaining a noise signal analysis result through noise signal analysis;
[0010] Combining the result of the visual target detection and the result of the noise signal analysis, a target category low-speed prompt sound for the current low-speed driving stage is determined, and the vehicle is controlled to play the target category low-speed prompt sound.
[0011] Optionally, combining the result of the visual target detection and the result of the noise signal analysis to determine the target category low-speed warning sound of the current low-speed driving stage includes:
[0012] Performing vector conversion on the result of the visual target detection to obtain a visual detection feature vector;
[0013] Performing feature extraction on the result of the noise signal analysis to obtain a noise signal feature vector;
[0014] Performing feature fusion on the visual detection feature vector and the noise signal feature vector to obtain a fused feature vector;
[0015] The target category low-speed prompt sound is determined according to the category corresponding to the fused feature vector.
[0016] Optionally, performing vector conversion on the result of the visual target detection to obtain a visual detection feature vector includes:
[0017] Performing visual target detection on the image information using a pre-trained visual detection model to determine a target object in the image information, as well as the category, position, and motion state of the target object, and using the target object and the category, position, and motion state of the target object as a result of the visual target detection;
[0018] Encoding the category, position, and motion state of the target object in the result of the visual target detection to obtain a category code, a position code, and a motion state code of the target object;
[0019] The category code, the position code and the motion state code are vector-converted to obtain the visual detection feature vector.
[0020] Optionally, obtaining a noise signal analysis result by performing noise signal analysis based on the environmental noise includes:
[0021] Performing noise signal analysis on the ambient noise by a noise signal analysis device to determine spectrum data of the ambient noise;
[0022] The frequency composition and sound pressure level of the ambient noise are determined according to the spectrum data, and the frequency composition and sound pressure level of the ambient noise are used as the results of noise signal analysis.
[0023] Optionally, when there are multiple target objects, performing vector conversion on the result of the visual target detection to obtain a visual detection feature vector includes:
[0024] Encoding the categories, positions, and motion states of the plurality of target objects in the result of the visual target detection respectively to obtain a category code, a position code, and a motion state code for each target object;
[0025] According to the category code of each target object, the prompt priority of each target object is determined, and the category code, position code and motion state code of the target object with the highest prompt priority are vector-converted to obtain the visual detection feature vector.
[0026] Optionally, performing feature extraction on the noise target detection result to obtain a noise detection feature vector includes:
[0027] Performing dimensionality reduction processing on the frequency component of the environmental noise to obtain a frequency component of a target dimension;
[0028] Degrading the sound pressure level of the ambient noise to obtain a target sound pressure level;
[0029] Feature extraction is performed on the frequency component of the target dimension and the sound pressure level of the target level value to obtain the noise detection feature vector.
[0030] Optionally, determining the target category low-speed prompt sound according to the category corresponding to the fused feature vector includes:
[0031] In a case where the category corresponding to the fused feature vector is a scene category in which the density of people is less than a preset density, the target category low-speed prompt sound is determined to be a first target category low-speed prompt sound, and the first target category low-speed prompt sound has a first melody and a first volume; in a case where the category corresponding to the fused feature vector is a scene category in which the density of people is greater than or equal to the preset density, the target category low-speed prompt sound is determined to be a second target category low-speed prompt sound, and the second target category low-speed prompt sound has a second melody and a second volume, wherein the first melody is slower than the second melody, and the first volume is lower than the second volume; and / or
[0032] When the category corresponding to the fused feature vector is a parking lot scene category, the target category low-speed warning sound is determined to be a third target category low-speed warning sound, and the third target category low-speed warning sound has a third melody and a third volume. When the category corresponding to the fused feature vector is an outdoor scene category, the target category low-speed warning sound is determined to be a fourth target category low-speed warning sound, and the fourth target category low-speed warning sound has a fourth melody and a fourth volume, wherein the third melody is faster than the fourth melody, and the third volume is higher than the fourth volume.
[0033] In a second aspect of an embodiment of the present application, a playback control system for a vehicle low-speed warning sound is provided, the system comprising:
[0034] The acquisition module is used to collect image information around the vehicle and environmental noise during the vehicle's current low-speed driving phase;
[0035] A visual target detection module is used to obtain a visual target detection result through visual target detection based on the image information;
[0036] A noise analysis module is used to obtain a noise signal analysis result based on the environmental noise through noise signal analysis;
[0037] A control module is used to determine a target category low-speed prompt sound during the current low-speed driving phase by combining the result of the visual target detection and the result of the noise signal analysis, and to control the vehicle to play the target category low-speed prompt sound.
[0038] Optionally, the control module determines the target category low-speed warning sound of the current low-speed driving stage by combining the result of the visual target detection and the result of the noise signal analysis, and includes:
[0039] A vector conversion submodule, configured to perform vector conversion on the result of the visual target detection to obtain a visual detection feature vector;
[0040] A feature extraction submodule performs feature extraction on the result of the noise signal analysis to obtain a noise signal feature vector;
[0041] A feature fusion submodule, configured to fuse the visual detection feature vector and the noise signal feature vector to obtain a fused feature vector;
[0042] The first determination submodule is configured to determine the target category low-speed prompt sound according to the category corresponding to the fused feature vector.
[0043] Optionally, the vector conversion is performed on the result of the visual target detection to obtain a visual detection feature vector, and the vector conversion submodule includes:
[0044] a first determining subunit, configured to perform visual target detection on the image information using a pre-trained visual detection model, determine a target object in the image information, as well as a category, position, and motion state of the target object, and use the target object and the category, position, and motion state of the target object as a result of the visual target detection;
[0045] an encoding subunit, configured to encode the category, position, and motion state of the target object in the result of the visual target detection, respectively, to obtain a category code, a position code, and a motion state code of the target object;
[0046] The vector conversion subunit is used to perform vector conversion on the category code, the position code and the motion state code to obtain the visual detection feature vector.
[0047] Optionally, the noise signal analysis result is obtained by noise signal analysis based on the environmental noise, and the noise analysis module includes:
[0048] a second determining submodule, configured to perform noise signal analysis on the ambient noise by using a noise signal analyzing device to determine spectrum data of the ambient noise;
[0049] The third determination submodule is configured to determine the frequency composition and sound pressure level of the ambient noise according to the spectrum data, and use the frequency composition and sound pressure level of the ambient noise as the result of noise signal analysis.
[0050] Optionally, in the case where there are multiple target objects, the vector conversion is performed on the result of the visual target detection to obtain a visual detection feature vector, and the vector conversion submodule includes:
[0051] an encoding subunit, configured to encode the categories, positions, and motion states of the plurality of target objects in the result of the visual target detection, respectively, to obtain a category code, a position code, and a motion state code for each target object;
[0052] The second determination subunit is used to determine the prompt priority of each target object according to the category code of each target object, and perform vector conversion on the category code, position code and motion state code of the target object with the highest prompt priority to obtain the visual detection feature vector.
[0053] Optionally, the feature extraction is performed on the result of the noise target detection to obtain a noise detection feature vector, and the second determination submodule includes:
[0054] A first dimensionality reduction processing subunit is used to perform dimensionality reduction processing on the frequency component of the environmental noise to obtain a frequency component of a target dimension;
[0055] a second dimensionality reduction processing subunit, configured to perform a dimensionality reduction processing on the sound pressure level of the ambient noise to obtain a sound pressure level of a target level value;
[0056] The feature extraction subunit is used to extract features of the frequency component of the target dimension and the sound pressure level of the target level value respectively to obtain the noise detection feature vector.
[0057] Optionally, the determining of the target category low-speed prompt sound according to the category corresponding to the fused feature vector, the first determining submodule includes:
[0058] A third determination subunit is configured to, when the category corresponding to the fused feature vector is a scene category in which the density of people is less than a preset density, determine that the target category low-speed prompt sound is a first target category low-speed prompt sound, the first target category low-speed prompt sound has a first melody and a first volume; and, when the category corresponding to the fused feature vector is a scene category in which the density of people is greater than or equal to the preset density, determine that the target category low-speed prompt sound is a second target category low-speed prompt sound, the second target category low-speed prompt sound has a second melody and a second volume, wherein the first melody is slower than the second melody, and the first volume is lower than the second volume; and / or
[0059] The fourth determination subunit is used to determine, when the category corresponding to the fused feature vector is a parking lot scene category, that the target category low-speed warning sound is a third target category low-speed warning sound, and the third target category low-speed warning sound has a third melody and a third volume; and when the category corresponding to the fused feature vector is an outdoor scene category, determine, when the target category low-speed warning sound is a fourth target category low-speed warning sound, and the fourth target category low-speed warning sound has a fourth melody and a fourth volume, wherein the third melody is faster than the fourth melody, and the third volume is higher than the fourth volume.
[0060] According to a third aspect of the present application, a vehicle is provided, including:
[0061] one or more processors; and
[0062] One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, cause the vehicle to perform the method as described in the first aspect of the present application.
[0063] In a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a program or instruction, and the program or instruction enables a computer to execute the method described in the first aspect of the present application.
[0064] Beneficial effects of this application:
[0065] An embodiment of the present application provides a method for controlling the playback of a vehicle's low-speed warning sound, the method comprising: collecting image information and environmental noise around the vehicle during the vehicle's current low-speed driving phase; obtaining visual target detection results based on the image information; obtaining noise signal analysis results based on the environmental noise; combining the visual target detection results and the noise signal analysis results to determine the target category low-speed warning sound for the current low-speed driving phase, and controlling the vehicle to play the target category low-speed warning sound. During the vehicle's low-speed driving phase, the present application combines vision with noise, thereby being able to select an appropriate low-speed warning sound category based on the actual situation outside the vehicle, which helps to improve the safety of electric vehicles when driving at low speeds and optimizes the user's driving experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0067] Figure 1 This is a flowchart of the steps of a method for controlling the playback of a vehicle low-speed warning sound provided by an embodiment of the present application;
[0068] Figure 2 This is a flowchart of a method for controlling the playback of a vehicle low-speed warning sound provided in an embodiment of the present application;
[0069] Figure 3 It is a schematic diagram of a vehicle low-speed warning sound playback control system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0070] The exemplary embodiments of the present application will be described in more detail below in conjunction with the accompanying drawings in the embodiments of the present application. Although the accompanying drawings show exemplary embodiments of the present application, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0071] In a first aspect of the present application, a method for controlling the playback of a vehicle low-speed warning sound is provided. Figure 1 As shown, the method includes:
[0072] Step S101, during the vehicle's current low-speed driving phase, collecting image information around the vehicle and environmental noise;
[0073] Step S102, obtaining a visual target detection result through visual target detection based on the image information;
[0074] Step S103, obtaining a noise signal analysis result by performing noise signal analysis based on the environmental noise;
[0075] Step S104 , combining the result of the visual target detection and the result of the noise signal analysis, determining a target category low-speed prompt tone for the current low-speed driving phase, and controlling the vehicle to play the target category low-speed prompt tone.
[0076] Specifically, in this application, when the vehicle is currently in the low-speed driving stage, a series of information collection and analysis are first performed to ensure driving safety and provide appropriate prompt sounds. The specific steps are as follows:
[0077] In step S101, during the vehicle's current low-speed driving phase, the vehicle's surrounding image information is collected through onboard sensors and cameras, and ambient noise is collected through microphones and other devices. This data is collected in real time to reflect the current situation around the vehicle.
[0078] In step S102, the collected image information is processed, using advanced visual object detection algorithms to identify various objects in the image, such as pedestrians, other vehicles, and obstacles. The results of visual object detection provide detailed information about the vehicle's surroundings, including the type, location, and number of objects. In practical applications, deep learning models such as the YOLOv5 network can be used to perform visual object detection on the collected image information.
[0079] Step S103 analyzes the collected ambient noise and identifies features in the noise signal using noise signal analysis techniques (such as spectrum analysis and voiceprint recognition). For example, it can identify whether there are sirens, horns, or human voices. These noise features help understand the current environmental conditions and potential dangers.
[0080] In step S104, the results of visual target detection and noise signal analysis are combined for comprehensive analysis to determine the target category low-speed warning tone to be played during the current low-speed driving phase. For example, if visual detection identifies a pedestrian and noise analysis detects a human voice, the system may play a warning tone to remind the pedestrian to pay attention to safety. This method can dynamically and intelligently select the appropriate warning tone to provide effective safety reminders to pedestrians outside the vehicle, helping to improve the safety of electric vehicles during low-speed driving and optimizing the user's driving experience.
[0081] In a preferred embodiment, combining the result of the visual target detection and the result of the noise signal analysis to determine the target category low-speed warning sound of the current low-speed driving stage includes:
[0082] Performing vector conversion on the result of the visual target detection to obtain a visual detection feature vector;
[0083] Performing feature extraction on the result of the noise signal analysis to obtain a noise signal feature vector;
[0084] Performing feature fusion on the visual detection feature vector and the noise signal feature vector to obtain a fused feature vector;
[0085] The target category low-speed prompt sound is determined according to the category corresponding to the fused feature vector.
[0086] Specifically, in this embodiment, the specific process of combining the results of visual target detection and the results of noise signal analysis to determine the target category low-speed warning sound in the current low-speed driving stage includes the following steps:
[0087] First, the results of visual target detection are vectorized to obtain visual detection feature vectors. This step involves converting the detected visual target information (such as the target type, location, motion state, etc.) into numerical feature vectors for subsequent calculation and analysis.
[0088] Next, feature extraction is performed on the noise signal analysis results to obtain a noise signal feature vector. In this step, by analyzing the spectral characteristics of the noise signal, key information that can characterize the ambient noise is extracted and converted into a noise signal feature vector.
[0089] Then, the visual detection feature vector and the noise signal feature vector are fused to obtain a fused feature vector. In practical applications, the feature fusion process can adopt various methods, such as weighted averaging, principal component analysis, or feature fusion networks in deep learning, to comprehensively consider visual and auditory information to generate a fused feature vector that can more comprehensively reflect the current environment.
[0090] Finally, the target low-speed warning tone is determined based on the category corresponding to the fused feature vector. In practical applications, a pre-trained classification model or rule mapping can be used to map the fused feature vector to the corresponding warning tone category, thereby selecting the most appropriate low-speed warning tone to ensure that the vehicle can provide timely and accurate safety warnings to surrounding targets during low-speed driving.
[0091] In this embodiment, by combining multimodal information, not only the accuracy and reliability of the low-speed warning tone selection are improved, but also the driving safety of the vehicle during the low-speed driving phase is improved.
[0092] In a preferred embodiment, performing vector conversion on the result of the visual target detection to obtain a visual detection feature vector includes:
[0093] Performing visual target detection on the image information using a pre-trained visual detection model to determine a target object in the image information, as well as the category, position, and motion state of the target object, and using the target object and the category, position, and motion state of the target object as a result of the visual target detection;
[0094] Encoding the category, position, and motion state of the target object in the result of the visual target detection to obtain a category code, a position code, and a motion state code of the target object;
[0095] The category code, the position code and the motion state code are vector-converted to obtain the visual detection feature vector.
[0096] In this embodiment, the collected image information is first processed by a pre-trained visual detection model, such as a trained YOLOv5 network, to perform visual target detection. During this process, the model is able to determine the target objects in the image information, including identifying the specific categories of these target objects (such as pedestrians, vehicles, obstacles, etc.), positions (such as the coordinates of the target in the image), and motion states (such as stillness, speed and direction of movement). This information constitutes the results of visual target detection.
[0097] Next, the category, position, and motion state of each target object in the visual target detection results are encoded separately. Specifically, category encoding converts the target object's category information into a numerical value or vector form. For example, if the target object is a pedestrian, the pedestrian's category is coded as 01; if the target object is an animal, the animal's category is coded as 02; and if the target object is an obstacle, the obstacle's category is coded as 03. Position encoding converts the target object's relative distance and angle relative to the vehicle in the image into a numerical value or vector form. Motion state encoding converts the target object's motion state into a numerical value or vector form. For example, a stationary state is 0 and a moving state is 1. For example, a moving pedestrian detected 5 meters in front of the vehicle at an angle of 30 degrees can be encoded as a vector: (1, 5, 30, 1).
[0098] Next, the obtained category, position, and motion state codes are converted to vectors. This step integrates these codes into a comprehensive feature vector, facilitating subsequent feature fusion and analysis. The visual detection feature vector contains comprehensive information about each target object and can better characterize the target object's features in the image.
[0099] In this way, this embodiment can effectively convert the results of visual target detection into structured feature vectors, laying the foundation for subsequent feature fusion with noise signal feature vectors. This processing method not only improves the efficiency of information processing, but also enhances the vehicle's ability to perform multimodal information analysis in complex environments.
[0100] In a preferred embodiment, the obtaining of a noise signal analysis result by noise signal analysis based on the environmental noise includes:
[0101] Performing noise signal analysis on the ambient noise by a noise signal analysis device to determine spectrum data of the ambient noise;
[0102] The frequency composition and sound pressure level of the ambient noise are determined according to the spectrum data, and the frequency composition and sound pressure level of the ambient noise are used as the results of noise signal analysis.
[0103] Specifically, in this embodiment, the collected ambient noise is first processed using a noise signal analysis device. This device performs detailed signal analysis of the ambient noise, generating noise spectrum data. Spectral data reflects the energy distribution of the noise at different frequencies and is an important basis for analyzing noise characteristics.
[0104] Next, the frequency composition and sound pressure level of the ambient noise are determined based on the obtained spectrum data. The frequency composition describes the specific composition of the various frequency components in the ambient noise, that is, the proportion and distribution of different frequency components in the noise. The sound pressure level describes the intensity or loudness of the noise and is a key indicator of noise intensity.
[0105] During the noise signal analysis process, frequency composition and sound pressure level are two important characteristic parameters that will be extracted and recorded. These parameters will describe the characteristics of the ambient noise in detail as the results of the noise signal analysis.
[0106] Through this method, this embodiment can comprehensively analyze ambient noise and extract representative feature information. This information can not only be used to determine the nature and source of the current ambient noise, but also provide an important basis for subsequent multimodal information fusion. For example, combined with the results of visual detection, these noise features can help more accurately identify and judge target objects in the surrounding environment.
[0107] In a preferred embodiment, when there are multiple target objects, performing vector conversion on the result of the visual target detection to obtain a visual detection feature vector includes:
[0108] Encoding the categories, positions, and motion states of the plurality of target objects in the result of the visual target detection respectively to obtain a category code, a position code, and a motion state code for each target object;
[0109] According to the category code of each target object, the prompt priority of each target object is determined, and the category code, position code and motion state code of the target object with the highest prompt priority are vector-converted to obtain the visual detection feature vector.
[0110] In this embodiment, when there are multiple target objects, the process of performing vector conversion on the result of visual target detection to obtain a visual detection feature vector specifically includes:
[0111] First, the category, position, and motion state of multiple target objects in the visual object detection results are encoded separately. Specifically, the category information of each target object is encoded, converting the target object's type into a numerical value or vector form; the position information of each target object is encoded, converting the relative distance and angle of each target object with respect to the vehicle in the image into a numerical value or vector form; and the motion state information of each target object is encoded, converting the motion state of each target object into a numerical value or vector form. Through these encoding processes, the category code, position code, and motion state code of each target object are obtained.
[0112] Next, the priority of each target object is determined based on its category code. This step involves assigning different priorities to different categories of target objects. For example, in a driving scene, pedestrians may be given the highest priority, animals may be given a lower priority, and stationary obstacles or other vehicles may have a lower priority. Prioritization can be based on preset rules or implemented through machine learning models to ensure that the most important targets are prioritized in a multi-target environment.
[0113] Finally, the category, location, and motion state codes of the target object with the highest priority are transformed into vectors to obtain the visual detection feature vector. By selecting the target object with the highest priority and transforming its coding information into vectors, we ensure that the visual detection feature vector accurately reflects the target object that requires the most attention in the current environment.
[0114] Through these steps, the system can effectively extract and process information about key targets in a multi-target environment, generating representative visual detection feature vectors. This approach not only improves information processing efficiency but also enhances the ability to analyze multimodal information in complex environments, ensuring that the vehicle provides the appropriate low-speed warning tone for the highest-priority targets during low-speed driving.
[0115] In a preferred embodiment, extracting features from the noise target detection result to obtain a noise detection feature vector includes:
[0116] Performing dimensionality reduction processing on the frequency component of the environmental noise to obtain a frequency component of a target dimension;
[0117] Degrading the sound pressure level of the ambient noise to obtain a target sound pressure level;
[0118] Feature extraction is performed on the frequency component of the target dimension and the sound pressure level of the target level value to obtain the noise detection feature vector.
[0119] In this embodiment, the frequency composition of the ambient noise is subjected to dimensionality reduction processing to obtain the frequency composition of the target dimension. The frequency composition describes the specific composition of each frequency component in the ambient noise. Through dimensionality reduction processing, high-dimensional frequency data can be simplified to a lower-dimensional representation while retaining the most important frequency information. In practical applications, the frequency composition of the ambient noise can be subjected to dimensionality reduction processing using the PCA (Principal Component Analysis) method, aiming to reduce data complexity and extract the frequency components that best represent the noise characteristics.
[0120] Next, the ambient noise sound pressure level is degraded to a target level. The sound pressure level reflects the intensity or loudness of the noise. Degradation simplifies the original sound pressure level data to a single target level, simplifying diverse sound pressure level data into more representative values for subsequent analysis.
[0121] Next, feature extraction is performed on the frequency composition of the target dimension and the sound pressure level of the target level. This feature extraction step aims to extract key information from the reduced-dimensional data that characterizes the ambient noise. By extracting features from the frequency composition and sound pressure level, a noise detection feature vector containing the key characteristics of the ambient noise is generated. These feature vectors may include features such as the concentration of frequency components, the main frequency peaks, and the average and maximum sound pressure levels.
[0122] This embodiment effectively reduces the dimensionality and extracts features from the frequency composition and sound pressure level of ambient noise, generating concise and representative noise detection feature vectors. These feature vectors not only accurately reflect the characteristics of the current ambient noise but also provide important basic data for subsequent multimodal information fusion.
[0123] In an optional embodiment, a random forest algorithm can be used to classify the fused feature vector to determine the corresponding low-speed warning tone category. The random forest algorithm, through the combination of multiple decision trees, can effectively process high-dimensional feature data and improve classification accuracy. The following is a detailed description of the specific process:
[0124] First, the visual detection feature vector and the noise detection feature vector are fused to generate a fused feature vector. This fused feature vector combines visual and auditory information to more comprehensively describe the environmental conditions around the vehicle.
[0125] Next, the fused feature vector is classified using the random forest algorithm. The random forest algorithm is an ensemble learning method that improves classification accuracy and robustness by constructing multiple decision trees and voting or averaging the classification results of each decision tree. The specific steps are as follows:
[0126] Training the Random Forest Model: Using a pre-labeled training dataset containing fused feature vectors from various environments and their corresponding low-speed alert sound categories, the Random Forest Model learns the mapping between different feature vectors and alert sound categories.
[0127] Feature vector input: The fused feature vector generated in real time is input into the trained random forest model. The fused feature vector includes the comprehensive information of visual target detection and noise signal analysis.
[0128] Each decision tree in the random forest model classifies the input fused feature vector. Each decision tree independently makes a prediction and gives a prompt sound category.
[0129] The classification results from all decision trees are combined, and the final alert tone category can be determined using either majority voting or weighted averaging. Majority voting selects the category with the highest frequency, while weighted averaging takes a weighted average of the results based on the weight of each decision tree.
[0130] Based on the finalized alert category, select the appropriate low-speed alert tone. The alert category includes alerts of varying styles and volume levels to suit different environments and needs. For example, you might select a soft but noticeable alert tone when pedestrians are nearby, while a louder alert tone might be selected in noisy environments.
[0131] Through this process, the random forest algorithm can effectively process high-dimensional feature data, combining visual and auditory information to accurately classify and determine the appropriate low-speed warning sound category. This not only improves classification accuracy but also enhances the vehicle's environmental perception capabilities during low-speed driving, ensuring driving safety.
[0132] In a preferred embodiment, determining the target category low-speed warning sound according to the category corresponding to the fused feature vector includes:
[0133] When the category corresponding to the fused feature vector is a scene category in which the density of people is less than a preset density, determining that the target category low-speed prompt sound is a first target category low-speed prompt sound, the first target category low-speed prompt sound having a first melody and a first volume;
[0134] When the category corresponding to the fused feature vector is a scene category in which the personnel density is greater than or equal to the preset density, the target category low-speed prompt sound is determined to be a second target category low-speed prompt sound, and the second target category low-speed prompt sound has a second melody and a second volume, wherein the first melody is slower than the second melody, and the first volume is lower than the second volume.
[0135] Specifically, in this embodiment, when the category corresponding to the fused feature vector is a scene category in which the population density is less than a preset density, the target category low-speed prompt sound will be determined to be the first target category low-speed prompt sound. The first target category low-speed prompt sound has a specific first melody and a first volume. Specifically, this melody is relatively slow, and the time intervals between notes are long, making the prompt sound appear smooth and soothing. At the same time, the first volume is relatively low to avoid causing unnecessary interference and scaring to the target object outside the vehicle. This prompt sound design is suitable for scenes with low population density, such as empty streets or deserted scenes at the seaside.
[0136] If the fused feature vector corresponds to a scenario where the crowd density is greater than or equal to the preset density, the system will determine the target category low-speed warning tone as a second target category low-speed warning tone. This second target category low-speed warning tone has a different second melody and second volume. Specifically, this melody is relatively fast, with short intervals between notes, making the warning tone appear compact and tense. In addition, the second volume is relatively high to ensure that it can still be clearly heard by the target person outside the vehicle even in noisy environments. This warning tone design is suitable for scenarios with high crowd density, such as busy streets.
[0137] In this embodiment, by analyzing the fused feature vectors, the current scene's crowd density is intelligently identified, and the melody and volume of the low-speed alert tone are dynamically adjusted. The first melody is slower and more gentle than the second, making it suitable for low-density situations. The first volume is also lower than the second, avoiding excessive noise in quiet environments. Conversely, the second melody is faster and more compact, making it suitable for high-density situations. The second volume is also higher than the first, ensuring the alert tone remains clearly audible in noisy environments.
[0138] In a preferred embodiment, when the category corresponding to the fused feature vector is a scene category of a parking lot, the system will determine that the target category low-speed prompt sound is a third target category low-speed prompt sound. The third target category low-speed prompt sound has a specific third melody and a third volume. Specifically, the third melody is relatively fast, and the time interval between the notes is short, making the prompt sound compact and clear. This is because the space in the parking lot is limited, and the distance between the vehicle and the target object outside the vehicle is close, requiring the target object outside the vehicle to respond in a timely manner. In addition, the third volume is relatively high to ensure that in a relatively closed parking lot environment, the prompt sound can be clearly transmitted to the ears of the target object outside the vehicle, thereby effectively prompting potential dangers or situations that require attention.
[0139] If the category corresponding to the fused feature vector is an outdoor scene category, the system will determine the target category low-speed warning sound as the fourth target category low-speed warning sound. This fourth target category low-speed warning sound has a different fourth melody and fourth volume. Specifically, the fourth melody is relatively slow, and the intervals between notes are longer, making the warning sound appear more soothing and smooth. This design is suitable for open outdoor environments, where targets outside the vehicle have more time and space to react. In addition, the fourth volume is relatively low to avoid generating excessive noise in quieter or open outdoor environments, ensuring that the warning sound both attracts attention and does not cause unnecessary interference to the environment.
[0140] In this application, not only can the melody and volume of the prompt tone be adjusted according to the density of people, but the design of the prompt tone can also be further optimized according to the specific scene category. Specifically, the third melody is faster than the fourth melody and has a more compact pitch, which is suitable for parking scenarios with limited space and requiring quick response. The third volume is also higher than the fourth volume to ensure the prompt tone is effectively transmitted in closed environments. Conversely, the fourth melody is slower than the third melody and has a more soothing pitch, which is suitable for open outdoor scenes with relatively ample response time. The fourth volume is also lower than the third volume to avoid excessive noise in outdoor environments.
[0141] This application integrates visual target detection and ambient noise information, enabling the system to more accurately perceive the surrounding environment. This multimodal information fusion enables the system to select the most appropriate low-speed warning tone based on actual conditions, thereby improving the safety of electric vehicles when driving at low speeds. This helps reduce traffic accidents and ensure the safety of drivers and pedestrians. By comprehensively considering visual target detection results and ambient noise information, the system can more accurately judge the current driving environment. This multi-level information fusion reduces the possibility of misjudgment, reduces false alarms and missed alarms, and improves the reliability and stability of the system. This allows drivers to have greater trust in the system's prompts and decisions, thereby improving overall driving safety. In addition, this application uses an adaptively controlled low-speed warning tone that can be adjusted according to specific circumstances. This design not only provides an effective warning, but also avoids excessively disturbing or interfering with pedestrians and other road users. This humanized warning tone design optimizes the user's driving experience, making the driving process more comfortable and enjoyable.
[0142] In a preferred embodiment, there is provided a Figure 2 The flowchart of the vehicle low speed warning sound playback control method shown is as follows:
[0143] Obtain visual target detection results through visual target detection image information;
[0144] By analyzing the noise signal, a noise signal analysis result is obtained;
[0145] By fusing the visual target detection results and the noise signal analysis results, a fused feature vector is obtained;
[0146] Classify the fused feature vector using the low-speed prompt sound classification algorithm;
[0147] By fusing the classification of feature vectors, a low-speed prompt tone is obtained.
[0148] Based on the same inventive concept, the second aspect of the embodiment of the present application provides a vehicle low-speed warning sound playback control system, such as Figure 3 As shown, the system includes:
[0149] The acquisition module 201 is used to collect image information around the vehicle and environmental noise during the vehicle's current low-speed driving phase;
[0150] A visual target detection module 202 is configured to obtain a visual target detection result by performing visual target detection based on the image information;
[0151] The noise analysis module 203 is configured to obtain a noise signal analysis result by performing noise signal analysis based on the environmental noise;
[0152] The control module 204 is configured to determine a target category low-speed warning tone for the current low-speed driving phase by combining the visual target detection result and the noise signal analysis result, and control the vehicle to play the target category low-speed warning tone.
[0153] Optionally, the control module 204 combines the result of the visual target detection and the result of the noise signal analysis to determine the target category low-speed warning sound of the current low-speed driving stage, including:
[0154] A vector conversion submodule, configured to perform vector conversion on the result of the visual target detection to obtain a visual detection feature vector;
[0155] A feature extraction submodule performs feature extraction on the result of the noise signal analysis to obtain a noise signal feature vector;
[0156] A feature fusion submodule, configured to fuse the visual detection feature vector and the noise signal feature vector to obtain a fused feature vector;
[0157] The first determination submodule is configured to determine the target category low-speed prompt sound according to the category corresponding to the fused feature vector.
[0158] Optionally, the vector conversion is performed on the result of the visual target detection to obtain a visual detection feature vector, and the vector conversion submodule includes:
[0159] a first determining subunit, configured to perform visual target detection on the image information using a pre-trained visual detection model, determine a target object in the image information, as well as a category, position, and motion state of the target object, and use the target object and the category, position, and motion state of the target object as a result of the visual target detection;
[0160] an encoding subunit, configured to encode the category, position, and motion state of the target object in the result of the visual target detection, respectively, to obtain a category code, a position code, and a motion state code of the target object;
[0161] The vector conversion subunit is used to perform vector conversion on the category code, the position code and the motion state code to obtain the visual detection feature vector.
[0162] Optionally, the noise signal analysis result is obtained by noise signal analysis based on the environmental noise, and the noise analysis module 203 includes:
[0163] a second determining submodule, configured to perform noise signal analysis on the ambient noise by using a noise signal analyzing device to determine spectrum data of the ambient noise;
[0164] The third determination submodule is configured to determine the frequency composition and sound pressure level of the ambient noise according to the spectrum data, and use the frequency composition and sound pressure level of the ambient noise as the result of noise signal analysis.
[0165] Optionally, in the case where there are multiple target objects, the vector conversion is performed on the result of the visual target detection to obtain a visual detection feature vector, and the vector conversion submodule includes:
[0166] an encoding subunit, configured to encode the categories, positions, and motion states of the plurality of target objects in the result of the visual target detection, respectively, to obtain a category code, a position code, and a motion state code for each target object;
[0167] The second determination subunit is used to determine the prompt priority of each target object according to the category code of each target object, and perform vector conversion on the category code, position code and motion state code of the target object with the highest prompt priority to obtain the visual detection feature vector.
[0168] Optionally, the feature extraction is performed on the result of the noise target detection to obtain a noise detection feature vector, and the second determination submodule includes:
[0169] A first dimensionality reduction processing subunit is used to perform dimensionality reduction processing on the frequency component of the environmental noise to obtain a frequency component of a target dimension;
[0170] a second dimensionality reduction processing subunit, configured to perform a dimensionality reduction processing on the sound pressure level of the ambient noise to obtain a sound pressure level of a target level value;
[0171] The feature extraction subunit is used to extract features of the frequency component of the target dimension and the sound pressure level of the target level value respectively to obtain the noise detection feature vector.
[0172] Optionally, the determining of the target category low-speed prompt sound according to the category corresponding to the fused feature vector, the first determining submodule includes:
[0173] A third determination subunit is configured to, when the category corresponding to the fused feature vector is a scene category in which the density of people is less than a preset density, determine that the target category low-speed prompt sound is a first target category low-speed prompt sound, the first target category low-speed prompt sound has a first melody and a first volume; and, when the category corresponding to the fused feature vector is a scene category in which the density of people is greater than or equal to the preset density, determine that the target category low-speed prompt sound is a second target category low-speed prompt sound, the second target category low-speed prompt sound has a second melody and a second volume, wherein the first melody is slower than the second melody, and the first volume is lower than the second volume; and / or
[0174] The fourth determination subunit is used to determine, when the category corresponding to the fused feature vector is a parking lot scene category, that the target category low-speed warning sound is a third target category low-speed warning sound, and the third target category low-speed warning sound has a third melody and a third volume; and when the category corresponding to the fused feature vector is an outdoor scene category, determine, when the target category low-speed warning sound is a fourth target category low-speed warning sound, and the fourth target category low-speed warning sound has a fourth melody and a fourth volume, wherein the third melody is faster than the fourth melody, and the third volume is higher than the fourth volume.
[0175] Based on the same inventive concept, a third aspect of the embodiment of the present application provides a vehicle, including:
[0176] one or more processors; and
[0177] One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, cause the vehicle to perform the method as described in the first aspect of the present application.
[0178] Each embodiment in this specification focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referenced to each other.
[0179] In addition, an embodiment of the present application may also be a computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, cause the processor to execute the steps of the vehicle low-speed warning sound playback control method provided in any embodiment of the present application. The computer-readable storage medium may adopt any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may, for example, include but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or components, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0180] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices, or computer program products. Therefore, the embodiments of the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0181] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0182] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0183] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0184] Although preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they become aware of the basic inventive concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0185] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or terminal device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or terminal device that includes the element.
[0186] The above is a detailed introduction to the playback control method, system, vehicle and storage medium for a vehicle low-speed warning sound. This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method of this application and its core idea; at the same time, for general technical personnel in this field, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on this application.
Claims
1. A method for controlling the playback of a vehicle low-speed warning sound, characterized in that: The method comprises: During the vehicle's current low-speed driving phase, collect image information around the vehicle and environmental noise; Based on the image information, performing visual target detection to obtain a result of visual target detection; Based on the environmental noise, obtaining a noise signal analysis result through noise signal analysis; In combination with the result of the visual target detection and the result of the noise signal analysis, a target category low-speed warning sound for the current low-speed driving stage is determined, and the vehicle is controlled to play the target category low-speed warning sound.
2. The method for controlling the playback of a vehicle low speed warning sound according to claim 1, characterized in that: The step of combining the result of the visual target detection and the result of the noise signal analysis to determine the target category low-speed warning sound of the current low-speed driving stage includes: Performing vector conversion on the result of the visual target detection to obtain a visual detection feature vector; Performing feature extraction on the result of the noise signal analysis to obtain a noise signal feature vector; Performing feature fusion on the visual detection feature vector and the noise signal feature vector to obtain a fused feature vector; The target category low-speed warning sound is determined according to the category corresponding to the fused feature vector.
3. The method for controlling the playback of a vehicle low speed warning tone according to claim 2, characterized in that: The step of performing vector conversion on the result of the visual target detection to obtain a visual detection feature vector includes: Performing visual target detection on the image information through a pre-trained visual detection model to determine a target object in the image information, as well as a category, position, and motion state of the target object, and using the target object and the category, position, and motion state of the target object as a result of the visual target detection; Encoding the category, position, and motion state of the target object in the result of the visual target detection respectively to obtain a category code, a position code, and a motion state code of the target object; The category code, the position code and the motion state code are vector-converted to obtain the visual detection feature vector.
4. The method for controlling the playback of a vehicle low speed warning tone according to claim 2, characterized in that: The step of obtaining a result of noise signal analysis based on the environmental noise by performing noise signal analysis includes: Performing noise signal analysis on the environmental noise by means of a noise signal analysis device to determine frequency spectrum data of the environmental noise; The frequency composition and the sound pressure level of the environmental noise are determined according to the frequency spectrum data, and the frequency composition and the sound pressure level of the environmental noise are used as the results of noise signal analysis.
5. The method for controlling the playback of a vehicle low speed warning tone according to claim 3, characterized in that: In the case where there are multiple target objects, performing vector conversion on the result of the visual target detection to obtain a visual detection feature vector includes: Encode the categories, positions, and motion states of the plurality of target objects in the result of the visual target detection respectively to obtain a category code, a position code, and a motion state code of each target object; According to the category code of each target object, the prompt priority of each target object is determined, and the category code, position code and motion state code of the target object with the highest prompt priority are vector-converted to obtain the visual detection feature vector.
6. The method for controlling the playback of a vehicle low speed warning tone according to claim 4, characterized in that: The step of extracting features from the noise target detection result to obtain a noise detection feature vector includes: Performing dimensionality reduction processing on the frequency component of the environmental noise to obtain the frequency component of the target dimension; Degrading the sound pressure level of the ambient noise to obtain a sound pressure level of a target level value; Feature extraction is performed on the frequency composition of the target dimension and the sound pressure level of the target level value respectively to obtain the noise detection feature vector.
7. The method for controlling the playback of a vehicle low speed warning tone according to claim 2, characterized in that: The determining the target category low-speed warning sound according to the category corresponding to the fused feature vector includes: In a case where the category corresponding to the fused feature vector is a scene category with a personnel density less than a preset density, the target category low-speed warning sound is determined to be a first target category low-speed warning sound, and the first target category low-speed warning sound has a first melody and a first volume; in a case where the category corresponding to the fused feature vector is a scene category with a personnel density greater than or equal to the preset density, the target category low-speed warning sound is determined to be a second target category low-speed warning sound, and the second target category low-speed warning sound has a second melody and a second volume, wherein the first melody is slower than the second melody, and the first volume is lower than the second volume; and / or In a case where the category corresponding to the fused feature vector is a parking lot scene category, the target category low-speed warning sound is determined to be a third target category low-speed warning sound, and the third target category low-speed warning sound has a third melody and a third volume. In a case where the category corresponding to the fused feature vector is an outdoor scene category, the target category low-speed warning sound is determined to be a fourth target category low-speed warning sound, and the fourth target category low-speed warning sound has a fourth melody and a fourth volume, wherein the third melody is faster than the fourth melody, and the third volume is higher than the fourth volume.
8. A vehicle low speed warning sound playback control system, characterized in that: The system comprises: The acquisition module is used to collect image information around the vehicle and environmental noise during the vehicle's current low-speed driving stage; A visual target detection module, configured to obtain a result of visual target detection through visual target detection based on the image information; A noise analysis module, used to obtain a noise signal analysis result based on the environmental noise by performing noise signal analysis; The control module is used to determine a target category low-speed warning sound in the current low-speed driving stage by combining the result of the visual target detection and the result of the noise signal analysis, and control the vehicle to play the target category low-speed warning sound.
9. A vehicle, characterized in that: include: one or more processors; and One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, enable the vehicle to execute the vehicle low-speed warning sound playback control method as described in any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for controlling the playback of the vehicle low-speed warning sound according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Low-speed prompt tone generation method and device for electric vehicle, vehicle and storage medium
CN121397423A
