Vehicle driving warning sound generation method and device, equipment and storage medium
By analyzing environmental noise floor data in real time, adjusting the warning sound of electric vehicles to adapt to different acoustic environments, the problem of the warning sound being masked when the electric vehicle is driving at low speeds is solved, and the pedestrian warning effect is improved.
Patent Information
- Application Number
- CN202411469500.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-21
- Publication Date
- 2025-02-18
AI Technical Summary
Due to the quiet nature of electric vehicles when driving at low speeds, pedestrians, especially children and visually impaired people, find it difficult to perceive the existence of the vehicle through sound, which increases the risk of collision, and existing warning sounds are easily masked in complex urban acoustic environments.
By collecting and analyzing environmental noise floor data in real time, the warning tone generation scene is determined, and the warning tone gain parameters are determined according to the scene, and the original warning tone is adjusted to improve the communication effect in different acoustic environments.
Effectively break through the masking effect, ensure that warning sounds can be effectively communicated to pedestrians in various environments, and significantly improve the pedestrian warning effect of electric vehicles when driving at low speeds.
Smart Images

Figure CN119459513A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a method, device, equipment and storage medium for generating a vehicle driving warning sound. Background Art
[0002] As the global energy crisis intensifies and environmental pollution becomes increasingly serious, electric vehicles (EVs), as a representative of clean energy transportation, have received widespread attention and rapid development. Not only do electric vehicles produce almost no exhaust emissions during operation, but their low noise level also provides users with a more comfortable and quiet driving experience.
[0003] However, the advantage of low noise level brings new challenges when driving at low speeds: Due to the quiet characteristics of electric vehicles, in urban environments, although the quiet characteristics of electric vehicles provide drivers with a peaceful driving experience, it makes it difficult for pedestrians, especially children and the visually impaired, to perceive the presence of the vehicle through sound. This lack of perception greatly increases the risk of collision between pedestrians and vehicles. In order to solve the above problems, many countries and regions have begun to formulate regulations requiring electric vehicles to emit a certain degree of warning sound when driving at low speeds to alert pedestrians and other road users. However, these warning sounds are affected by the masking effect in actual applications, that is, in a complex urban acoustic environment, background noise may mask the warning sound, reducing its effectiveness, resulting in poor warning sound prompts in some scenarios.
[0004] Therefore, how to design a pedestrian warning sound system that can adapt to different acoustic environments and effectively break through the masking effect has become an urgent problem to be solved in this field. Summary of the invention
[0005] The main purpose of the present invention is to provide a method, device, equipment and storage medium for generating vehicle driving warning sounds, aiming to solve the technical problem in the prior art of how to design a pedestrian warning sound system that can adapt to different acoustic environments and effectively break through the masking effect.
[0006] To achieve the above object, the present invention provides a method for generating a vehicle driving warning sound, the method comprising the following steps: Determine the warning sound generation scenario based on the ambient noise data; Determining a warning sound gain parameter according to the warning sound generation scenario; According to the warning sound gain parameter, the original vehicle driving pedestrian warning sound is adjusted to improve the vehicle driving warning effect.
[0007] Optionally, before determining the warning sound generation scene according to the ambient noise background data, the method further includes: Generate calibration audio through a speaker outside the vehicle at a preset position to obtain ambient sound data at the current moment, wherein the ambient sound data is collected by a sound pickup component at a preset position inside the vehicle; The ambient noise background data is obtained according to the real-time ambient sound data, the calibration audio and the vehicle window closure status.
[0008] Optionally, obtaining the ambient noise data according to the real-time ambient sound data, the calibration audio, and the vehicle window closure state includes: According to the closed state of the vehicle window, an audio transfer function is obtained; Obtaining original vehicle exterior environmental sound data according to the audio transfer function and the real-time environmental sound data; The ambient noise background data is obtained according to the original external vehicle ambient sound data and the calibration audio.
[0009] Optionally, determining a warning sound generation scenario according to the ambient noise background data includes: Obtaining a noise floor power spectrum according to the environmental noise floor data; According to the background noise power spectrum and the reference power spectrum, obtaining the similarity between the background noise power spectrum and the reference power spectrum in each preset scenario; The warning sound generation scene is determined according to the similarity ranking results under each preset scene.
[0010] Optionally, determining the warning sound gain parameter according to the warning sound generation scenario includes: Determining a warning sound gain frequency band and a gain coefficient of the warning sound gain frequency band according to the warning sound generation scenario; The warning sound gain frequency band and the gain coefficient are used as the warning sound gain parameters.
[0011] Optionally, determining the warning sound gain frequency band according to the warning sound generation scenario includes: When the warning sound generation scene is a low-field noise scene, determining the warning sound gain frequency band to be a first gain frequency band, wherein the low-field noise scene includes an underground garage; When the warning sound generation scenario is a conventional field noise scenario, the warning sound gain frequency band is determined to be a second gain frequency band, wherein the conventional field noise scenario includes an open-air parking lot and a conventional road.
[0012] Optionally, determining the gain coefficient of the warning sound gain frequency band according to the warning sound generation scenario includes: If the warning sound generation scene is a conventional field noise scene, and the conventional field noise scene is an open-air parking lot, determining the gain coefficient of the second gain frequency band to be the first gain coefficient; If the warning sound generation scene is a regular field noise scene, and the regular field noise scene is a regular road, the gain coefficient of the second gain frequency band is determined to be a second gain coefficient.
[0013] In addition, to achieve the above-mentioned purpose, the present invention further proposes a vehicle driving warning sound generating device, the vehicle driving warning sound generating device comprising: A scene analysis module, used to determine the warning sound generation scene based on the ambient noise data; A gain calculation module, used to determine a warning sound gain parameter according to the warning sound generation scenario; The warning sound generation module is used to adjust the original vehicle driving pedestrian warning sound according to the warning sound gain parameter to improve the vehicle driving warning effect.
[0014] In addition, to achieve the above-mentioned purpose, the present invention also proposes a vehicle driving warning sound generating device, the vehicle driving warning sound generating device comprising: a memory, a processor and a vehicle driving warning sound generating program stored in the memory and executable on the processor, the vehicle driving warning sound generating program being configured to implement the steps of the vehicle driving warning sound generating method as described above.
[0015] In addition, to achieve the above objectives, the present invention also proposes a storage medium, on which a vehicle driving warning sound generation program is stored. When the vehicle driving warning sound generation program is executed by a processor, the steps of the vehicle driving warning sound generation method described above are implemented.
[0016] One or more technical solutions proposed in the present application have at least the following technical effects: the present application obtains environmental noise background data through real-time collection and analysis, and determines the frequency bands that may have a masking effect on the generated warning sound based on this data, and then specifically amplifies the warning sound of these frequency bands. Specifically, the system will identify the frequency bands affected by the masking effect based on the spectral characteristics of the environmental noise, and increase the volume of these frequency bands in a targeted manner to ensure that the warning sound can be effectively conveyed to pedestrians. In addition, the system will intelligently select the most appropriate warning audio frequency band and gain parameters according to the actual driving scenarios of the vehicle, such as underground garages or open-air parking lots, to adapt to different acoustic environments, thereby significantly improving the pedestrian warning effect of electric vehicles when driving at low speeds. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0018] In order to more clearly illustrate the embodiments of the present application 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.
[0019] Figure 1 A schematic diagram of a flow chart of a first embodiment of a method for generating a vehicle driving warning sound according to the present invention; Figure 2 A schematic diagram of a flow chart of a second embodiment of a method for generating a vehicle driving warning sound according to the present invention; Figure 3 A schematic flow chart of a third embodiment of a method for generating a vehicle driving warning sound according to the present invention; Figure 4 This is a structural block diagram of a first embodiment of a vehicle driving warning sound generating device of the present invention; Figure 5 It is a structural schematic diagram of a vehicle driving warning sound generating device in a hardware operating environment involved in an embodiment of the present invention.
[0020] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0021] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0022] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0023] The main solution of the embodiment of the present application is: determine the warning sound generation scenario according to the environmental background noise data; determine the warning sound gain parameter according to the warning sound generation scenario; adjust the original vehicle driving pedestrian warning sound according to the warning sound gain parameter to improve the vehicle driving warning effect.
[0024] Due to the quiet characteristics of electric vehicles, in urban environments, although the quiet characteristics of electric vehicles provide drivers with a peaceful driving experience, they make it difficult for pedestrians, especially children and the visually impaired, to perceive the presence of the vehicle through sound. This lack of perception greatly increases the risk of collision between pedestrians and vehicles.
[0025] In traditional technology, industry standards require that electric vehicles must emit a certain degree of warning sound when driving at low speeds to alert pedestrians and other road users. However, the warning sound generated under this standard is only a warning sound that can theoretically warn pedestrians. In actual applications, it is affected by the masking effect. That is, in a complex urban acoustic environment, background noise may mask the warning sound and reduce its effectiveness, resulting in poor warning sound prompt effect in some scenarios.
[0026] The present application provides a solution, which obtains environmental noise background data through real-time collection and analysis, and determines the frequency bands that may have a masking effect on the generated warning sound based on this data, and then gains the warning sounds in these frequency bands in a targeted manner. Specifically, the system will identify the frequency bands affected by the masking effect based on the spectral characteristics of the environmental noise, and increase the volume of these frequency bands in a targeted manner to ensure that the warning sound can be effectively conveyed to pedestrians. In addition, the system will intelligently select the most appropriate warning audio frequency band and gain parameters based on the actual driving scenario of the vehicle, such as an underground garage or an open-air parking lot, to adapt to different acoustic environments, thereby significantly improving the pedestrian warning effect of electric vehicles when driving at low speeds.
[0027] Based on this, an embodiment of the present invention provides a method for generating a vehicle driving warning sound, referring to Figure 1 , Figure 1 The figure is a flow chart of a first embodiment of a method for generating a vehicle driving warning sound according to the present invention.
[0028] In this embodiment, the vehicle driving warning sound generation method comprises the steps of: Step S10: Determine a warning sound generation scenario based on ambient noise data.
[0029] It should be noted that the executor of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device that can realize the above functions, etc. The following takes the vehicle driving warning sound generating device as an example to illustrate this embodiment and the following embodiments.
[0030] It should be noted that due to the existence of the masking effect, that is, one sound (masking sound) becomes difficult to hear or completely inaudible due to its greater intensity, while another sound (masked sound) that exists simultaneously but is weaker in intensity becomes difficult to hear. In short, the stronger sound "covers" the weaker sound. Although this phenomenon is a concept in psychology and acoustics, it is very common and objective in production and life. For example, in a noisy environment, people may find it difficult to hear each other's conversations because the ambient noise masks the speaking voice. The same principle applies to road driving. Due to the changes and uncertainty of ambient sound, the pedestrian warning sound generated by the vehicle may be affected by the ambient background noise in some frequency bands, thus failing to achieve the original warning effect.
[0031] It should be noted that the masking effect has a certain frequency selectivity, that is, a masking sound of a specific frequency mainly affects the masked sound of nearby frequencies, rather than all sounds in the entire auditory range. The human ear is more sensitive to signals from 1kHz to 6kHz. If the warning sound in this frequency band is affected by the environmental background noise of the same frequency band, the warning effect will be greatly reduced. In addition, the intensity of the masking effect depends on the loudness of the masking sound. The louder the loudness, the more obvious the masking effect. In other words, the intensity of the environmental background noise will also significantly affect the warning effect of the warning sound.
[0032] It should be understood that the loudness of the ambient noise generated in different environments is different, and the main frequency band distribution of the sound in different scenes is different. Therefore, in the process of designing a pedestrian warning sound with anti-masking effect, it is necessary to first collect the ambient noise data in real time, and perform spectral analysis on the obtained noise data to confirm the scene corresponding to the noise data, and dynamically adjust the original warning sound according to the identified scene results to obtain a pedestrian warning sound with anti-masking effect.
[0033] It is understandable that the ambient noise level and spectrum distribution in different environments are different. For example, the ambient noise on the highway may be mainly low-frequency, while the city center may contain more mid- and high-frequency noise, while the underground garage or country roads at night are usually quieter, so there is no need to adjust the warning sound. From the above distance, it can be seen that by real-time collection and spectrum analysis of the ambient noise, the warning sound system can determine the current environmental scene.
[0034] In one embodiment, determining the warning sound generation scenario based on the environmental noise background data includes: obtaining a noise background power spectrum based on the environmental noise background data; obtaining the similarity between the noise background power spectrum and a reference power spectrum under each preset scenario based on the noise background power spectrum and a reference power spectrum; and determining the warning sound generation scenario based on the similarity sorting results under each preset scenario.
[0035] It should be noted that the ambient noise data refers to the audio data of the background noise in the vehicle's external environment, except for the sound generated by the vehicle itself, and the noise power spectrum refers to the representation of the ambient noise data in the frequency domain, which shows the intensity or power of different frequency components. By performing a Fourier transform on the collected time domain signal (ambient noise data), its power spectrum can be obtained. The reference power spectrum is a pre-set power spectrum that represents the typical noise characteristics in different scenarios. For example, a common city street will uniquely correspond to a specific reference power spectrum, while another may represent a quiet underground garage.
[0036] It can be understood that by calculating the similarity between the background noise power spectrum and each reference power spectrum, and sorting the similarities between the calculated background noise power spectrum and each reference power spectrum, a list can be obtained, showing the degree of matching between the current ambient noise and each preset scene. The sorting results can be used to determine which preset scene the current ambient noise is closest to, and thereby determine the current warning sound generation scene.
[0037] Step S20: determining a warning sound gain parameter according to the warning sound generation scenario.
[0038] It should be noted that the purpose of determining the warning sound gain parameters is to ensure that the warning sound can be clearly conveyed to pedestrians in various environmental noises to improve safety. This includes selecting the appropriate gain frequency band and the corresponding gain coefficient to ensure that the volume of the warning sound in the key frequency band is loud enough, but not too loud to cause noise pollution.
[0039] It is understandable that the determination of the warning sound gain parameters is based on the analysis of environmental noise and the understanding of the human hearing characteristics. For example, the human ear is more sensitive to signals from 1kHz to 6kHz, so part or all of these frequency bands will be the focus of gain. At the same time, the characteristics of background noise in different scenarios are also taken into account, such as underground garages dominated by low-frequency noise and urban roads dominated by medium and high-frequency noise, and the gain parameters will be adjusted accordingly.
[0040] It should be understood that the determination of the warning sound gain parameters is a dynamic process and needs to be adjusted according to real-time environmental noise data and preset noise scenarios. This part involves directional gain adjustment of the original warning sound and gain processing of sounds in different frequency bands to ensure that the warning sound can achieve the best warning effect in various environments.
[0041] Step S30: adjusting the original vehicle driving pedestrian warning sound according to the warning sound gain parameter to improve the vehicle driving warning effect.
[0042] It should be noted that adjusting the original vehicle pedestrian warning sound means processing the volume and frequency content of the warning sound in real time according to the determined gain parameters to adapt to the current acoustic environment. This may include increasing the volume of certain frequency bands, reducing the volume of other frequency bands, or changing the frequency distribution of the sound.
[0043] It is understandable that this adjustment is to ensure that the warning sound can be effectively perceived by pedestrians under different environmental noise conditions. For example, in a noisy environment, the volume of the warning sound may need to be increased; while in a quiet environment, the volume may need to be reduced to avoid unnecessary noise interference.
[0044] It should be understood that adjusting the warning sound is a delicate balancing process that needs to take into account the propagation characteristics of sound, the auditory sensitivity of the human ear, and the auditory needs of different groups of people. By intelligently adjusting the warning sound, the safety of electric vehicles can be improved, while reducing noise pollution to the environment and improving the experience of pedestrians and drivers.
[0045] This embodiment determines a warning sound generation scenario based on environmental background noise data; determines a warning sound gain parameter based on the warning sound generation scenario; and adjusts the original vehicle driving pedestrian warning sound based on the warning sound gain parameter to improve the vehicle driving warning effect.
[0046] To sum up, in this embodiment, the environmental noise background data is obtained by real-time collection and analysis, and the frequency bands that may have a masking effect on the generated warning sound are determined based on this data, and then the warning sounds in these frequency bands are amplified in a targeted manner. Specifically, the system will identify the frequency bands affected by the masking effect based on the spectral characteristics of the environmental noise, and increase the volume of these frequency bands in a targeted manner to ensure that the warning sound can be effectively conveyed to pedestrians. In addition, the system will intelligently select the most appropriate warning audio frequency band and gain parameters according to the actual driving scenarios of the vehicle, such as underground garages or open-air parking lots, to adapt to different acoustic environments, thereby significantly improving the pedestrian warning effect of electric vehicles when driving at low speeds.
[0047] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 , before step S10, it also includes: Step S001: Generate calibration audio through an external speaker at a preset position to obtain ambient sound data at the current moment.
[0048] It should be noted that since the vehicle will produce wind noise, tire noise and transmission system noise during driving, these noises are not the original ambient noise, so the direct collection of ambient sound data needs further processing. The specific idea is to set up a speaker outside the car that emits pink noise of a specific frequency, and then directly collect ambient sound in the car, and the result is a mixture of the pink noise and the actual ambient sound. Since the transfer function corresponding to the acoustic change in the sound transmission process is the same, the original ambient noise data can be obtained only based on the change of the calibration audio.
[0049] It is understandable that if the pickup microphones are placed outside the car, these external microphones will generally be affected by wind noise and cannot be used. This is why additional calibration audio is required to obtain ambient noise data. Therefore, the ambient sound data in this patent is collected by the pickup components at preset positions in the car, and the wake-up microphones on new energy vehicles are used. These microphones are generally located diagonally above each pillar.
[0050] It should be understood that since the calibration audio is emitted outside the car, the ambient noise will be transmitted into the car after mixing with the calibration audio, and the transfer function from outside the car to inside the car in this process is unchanged. Therefore, the degree of transmission change of the calibration audio part in the ambient sound data directly collected in the car is analyzed, and the original ambient sound data can be obtained through data processing and restoration.
[0051] Step S002: obtaining an audio transfer function according to the closure state of the vehicle window.
[0052] It should be noted that the audio transfer function refers to the acoustic characteristics of sound when it is transmitted from one medium (such as the air outside the car) to another medium (such as the air inside the car) through the vehicle windows. This function is crucial to the propagation of sound inside and outside the vehicle, and the vehicle's window status (open or closed) will significantly affect the transmission of sound. When the window is closed, the sound needs to be transmitted through the window glass, which will change the frequency characteristics and attenuation of the sound. When the window is open, the sound enters the car directly from the external environment, and the loss during the transmission process is smaller.
[0053] It is understood that the transfer function is usually expressed as the ratio of the output sound pressure level (or sound intensity) to the input sound pressure level (or sound intensity) as a function of frequency. It can be used to predict the intensity change of sound after passing through a system (such as vehicle windows, walls, sound-absorbing materials, etc.) at a specific frequency. In particular, it should be noted that the transfer function usually depends on the frequency of the sound, and sounds of different frequencies may have different transfer effects when passing through the same system.
[0054] It should be understood that the vehicle audio transfer function can be obtained through experimental measurement. This process involves using microphones to collect sound data at different locations inside and outside the vehicle under different switch states of different windows, and using signal processing technology to analyze the frequency response and attenuation characteristics of the sound. Specifically, the experiment first needs to set up an external sound source, usually a speaker, to play a specific excitation signal, such as a swept frequency signal or pink noise. These signals can cover a wide frequency range and facilitate the analysis of the frequency response of the system. Then, a microphone is used to record the received sound signal at different locations inside and outside the vehicle. Next, by performing Fourier transform on the collected signal, the frequency spectrum of the input signal and the output signal can be obtained. By comparing the two spectra, the ratio between the output signal and the input signal, that is, the audio transfer function, can be calculated.
[0055] Step S003: obtaining original external vehicle environment sound data according to the audio transfer function and the real-time environment sound data.
[0056] It should be noted that, based on the real-time ambient sound data collected directly inside the car and combined with the audio transfer function corresponding to the current window opening and closing status of the vehicle, the original outdoor ambient sound data can be obtained through simple data processing. Since the sound data is collected inside the car, the influence of wind noise on the collection outside the car is avoided.
[0057] Step S004: Obtain the ambient noise data according to the original ambient sound data outside the vehicle and the calibration audio.
[0058] It is understandable that the original restored external vehicle environment sound data also includes the real-time played calibration audio, so by subtracting this part, the real environmental noise background data can be obtained.
[0059] It should be understood that this step is to remove the artificially added calibration audio influence from the original sound data to obtain pure environmental noise data. The final environmental noise data will be used for subsequent warning sound generation and adjustment to ensure that the warning sound can be effectively conveyed to pedestrians in different environments.
[0060] This embodiment generates calibration audio through an external speaker at a preset position to obtain the ambient sound data at the current moment; obtains an audio transfer function based on the closed state of the vehicle window; obtains original external ambient sound data based on the audio transfer function and real-time ambient sound data; and obtains the ambient background noise data based on the original external ambient sound data and the calibration audio.
[0061] To sum up, in this embodiment, the in-vehicle microphone and audio transfer function are used to restore the original sound environment outside the vehicle, avoiding external interference such as wind noise and improving the accuracy of the sound data. At the same time, the influence of the vehicle window state on the sound transmission is considered, so that the system can adapt to different vehicle states, enhancing the flexibility of sound data processing and the robustness of the system.
[0062] Based on the first embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 3 , step S20, comprising: Step S201: determining a warning sound gain frequency band according to the warning sound generation scenario.
[0063] It should be noted that different warning sound generation scenarios will have different warning sound gain frequency bands. For example, in an environment dominated by low-frequency noise, the background noise is mainly in the low-frequency band, such as the engine sound and wind noise of the vehicle. In order to ensure that the warning sound can penetrate this low-frequency background noise, it is usually necessary to increase the gain in the mid- and high-frequency bands. This is because the human ear is more sensitive to the sounds in these frequency bands in this environment, and the sounds in these frequency bands are not easily masked by the low-frequency background noise; for example, on urban roads, the background noise may contain more mid- and high-frequency components, such as various sounds from surrounding traffic and urban life. In this case, the warning sound may need to increase the gain in the low-frequency band to ensure that the sounds in these frequency bands are not easily masked by the mid- and high-frequency background noise.
[0064] In one embodiment, determining the warning sound gain frequency band according to the warning sound generation scenario includes: when the warning sound generation scenario is a low field noise scenario, determining the warning sound gain frequency band as a first gain frequency band, wherein the low field noise scene includes an underground garage; when the warning sound generation scenario is a conventional field noise scene, determining the warning sound gain frequency band as a second gain frequency band, wherein the conventional field noise scene includes an open-air parking lot and a conventional road.
[0065] It is understandable that, since a large number of experimental results show that the human ear is more sensitive to signals from 1kHz to 6kHz; and in most actual environments, the low- and medium-frequency components below 2000Hz generally account for the main components, it is appropriate to select a frequency band with a larger frequency and give it a greater gain. In addition, for the elderly and some hearing-impaired people, their ability to resolve high frequencies is greatly reduced, so the high-frequency signal components cannot be too much. After weighing and experimenting, all the frequency bands that will participate in the gain in this patent include the following parts: 300, 400, 500, 800, 900, 1000, 1250, 1500, 1750, 2000. Gaining these frequencies can not only achieve the purpose of enhancing the prompt effect, but also simplify program design and implementation.
[0066] It should be noted that since the basement environment is relatively quiet, the gain can directly use the preset gain result. In addition, through experimental analysis, it can be confirmed that the signal in the frequency band below 1500 Hz in the open-air parking lot is significantly stronger than that in quiet places such as the basement. Therefore, the signal gain of all frequency bands below 1500 Hz in the open-air parking lot should be increased by an additional 3 dB, that is, the gain frequency bands corresponding to these two scenarios are different.
[0067] Step S202: determining a gain coefficient of the warning sound gain frequency band according to the warning sound generation scenario.
[0068] It should be noted that the gain coefficient here is mainly in the form of the decibel number that needs to be increased in the gain frequency band, and the gain is generally performed in steps of 3dB. Adjusting the warning sound in this way can not only achieve the purpose of enhancing the prompt effect, but also simplify program design and implementation.
[0069] In one embodiment, determining the gain coefficient of the warning sound gain frequency band according to the warning sound generation scene includes: if the warning sound generation scene is a conventional field noise scene, and the conventional field noise scene is an open-air parking lot, determining the gain coefficient of the second gain frequency band to be a first gain coefficient; if the warning sound generation scene is a conventional field noise scene, and the conventional field noise scene is a conventional road, determining the gain coefficient of the second gain frequency band to be a second gain coefficient.
[0070] It is understandable that, in the same conventional field noise scenario, the signal in the frequency band below 1500 Hz in an open-air parking lot is significantly stronger than that in a low-noise place. The background noise on conventional roads is enhanced below 1000 Hz due to car tire noise. Therefore, based on the gain of the open-air parking lot, the signal gain for all frequency bands below 1000 Hz needs to be increased by another 3 dB.
[0071] It should be understood that this design method allows the system to dynamically adjust the parameters of the warning sound based on real-time environmental noise data to ensure that pedestrians can be effectively alerted under various environmental conditions. This method not only improves the practicality of the warning sound, but also takes into account the needs of the elderly and the hearing-impaired, making the warning sound more friendly to these people by avoiding excessive high-frequency signal components.
[0072] Step S203: using the warning sound gain frequency band and the gain coefficient as the warning sound gain parameter.
[0073] This embodiment determines the warning sound gain frequency band and the corresponding gain coefficient according to the warning sound generation scenario, and then adjusts the original vehicle driving pedestrian warning sound according to the warning sound gain parameter to improve the vehicle driving warning effect.
[0074] In summary, in this embodiment, by dynamically adjusting the gain frequency band and coefficient of the warning sound according to the characteristics of the ambient noise, this method can ensure that the pedestrian warning sound of the electric vehicle can effectively penetrate the background noise and be perceived by pedestrians in different scenarios, such as underground garages and open-air parking lots. This intelligent adjustment mechanism not only improves the propagation efficiency and safety of the warning sound, but also takes into account the sensitivity of the human ear to sounds of different frequencies, and is especially more friendly to the elderly and the hearing-impaired. In addition, this method enhances brand recognition by providing unique sound characteristics, while simplifying program design and implementation, providing electric vehicle manufacturers with a practical and innovative solution.
[0075] This application also provides a vehicle driving warning sound generating device, please refer to Figure 4 , the vehicle driving warning sound generating device comprises: A scene analysis module 10, for determining a warning sound generation scene according to ambient noise data; A gain calculation module 20, configured to determine a warning sound gain parameter according to the warning sound generation scenario; The warning sound generating module 30 is used to adjust the original vehicle driving pedestrian warning sound according to the warning sound gain parameter to improve the vehicle driving warning effect; In one embodiment, the scene analysis module 10 is also used to generate calibration audio through an external speaker at a preset position of the vehicle to obtain the ambient sound data at the current moment, and the ambient sound data is collected by a sound pickup component at a preset position in the vehicle; the ambient noise background data is obtained based on the real-time ambient sound data, the calibration audio and the closed state of the vehicle window.
[0076] In one embodiment, the scene analysis module 10 is further used to obtain an audio transfer function based on the closed state of the vehicle window; obtain original external environmental sound data based on the audio transfer function and real-time environmental sound data; and obtain the environmental background noise data based on the original external environmental sound data and the calibration audio.
[0077] In one embodiment, the scene analysis module 10 is further used to obtain a background noise power spectrum based on the environmental background noise data; obtain the similarity between the background noise power spectrum and the reference power spectrum in each preset scene based on the background noise power spectrum and the reference power spectrum; and determine the warning sound generation scene based on the similarity sorting results in each preset scene.
[0078] In one embodiment, the gain calculation module 20 is further used to determine the warning sound gain frequency band and the gain coefficient of the warning sound gain frequency band according to the warning sound generation scenario; and use the warning sound gain frequency band and the gain coefficient as the warning sound gain parameter.
[0079] In one embodiment, the gain calculation module 20 is further used to determine that the warning sound gain frequency band is a first gain frequency band when the warning sound generation scene is a low field noise scene, wherein the low field noise scene includes an underground garage; when the warning sound generation scene is a conventional field noise scene, determine that the warning sound gain frequency band is a second gain frequency band, wherein the conventional field noise scene includes an open-air parking lot and a conventional road.
[0080] In one embodiment, the gain calculation module 20 is further used to determine that the gain coefficient of the second gain frequency band is the first gain coefficient if the warning sound generation scene is a conventional field noise scene, and the conventional field noise scene is an open-air parking lot; if the warning sound generation scene is a conventional field noise scene, and the conventional field noise scene is a conventional road, determine that the gain coefficient of the second gain frequency band is the second gain coefficient.
[0081] This embodiment obtains environmental noise background data through real-time collection and analysis, and determines the frequency bands that may have a masking effect on the generated warning sound based on this data, and then gains the warning sound of these frequency bands in a targeted manner. Specifically, the system will identify the frequency bands affected by the masking effect based on the spectral characteristics of the environmental noise, and increase the volume of these frequency bands in a targeted manner to ensure that the warning sound can be effectively conveyed to pedestrians. In addition, the system will intelligently select the most appropriate warning audio frequency band and gain parameters according to the actual driving scenario of the vehicle, such as an underground garage or an open-air parking lot, to adapt to different acoustic environments, thereby significantly improving the pedestrian warning effect of electric vehicles when driving at low speeds.
[0082] The vehicle driving warning sound generating device provided by the present application adopts the vehicle driving warning sound generating method in the above embodiment, which can solve the technical problem of how to design a pedestrian warning sound system that can adapt to different acoustic environments and effectively break through the masking effect. Compared with the prior art, the beneficial effects of the vehicle driving warning sound generating device provided by the present application are the same as the beneficial effects of the vehicle driving warning sound generating method provided by the above embodiment, and the other technical features in the vehicle driving warning sound generating device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0083] The present application provides a vehicle driving warning sound generating device, the vehicle driving warning sound generating device comprising: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle driving warning sound generating method in the above-mentioned embodiment 1.
[0084] Reference below Figure 5, which shows a schematic diagram of the structure of a vehicle driving warning sound generating device suitable for implementing the embodiment of the present application. The vehicle driving warning sound generating device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The vehicle driving warning sound generating device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0085] like Figure 5 As shown, the vehicle driving warning sound generating device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM: Read Only Memory) 1002 or the program loaded from the storage device 1003 to the random access memory (RAM: Random Access Memory) 1004. In the RAM 1004, various programs and data required for the operation of the vehicle driving warning sound generating device are also stored. The processing device 1001, the ROM 1002 and the RAM 1004 are connected to each other through a bus 1005. The input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the vehicle driving warning sound generating device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a vehicle driving warning sound generating device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0086] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0087] The vehicle driving warning sound generating device provided by the present application adopts the vehicle driving warning sound generating method in the above embodiment, which can solve the technical problem of how to design a pedestrian warning sound system that can adapt to different acoustic environments and effectively break through the masking effect. Compared with the prior art, the beneficial effects of the vehicle driving warning sound generating device provided by the present application are the same as the beneficial effects of the vehicle driving warning sound generating method provided by the above embodiment, and the other technical features in the vehicle driving warning sound generating device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0088] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0089] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0090] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the vehicle driving warning sound generating method in the above-mentioned embodiment.
[0091] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0092] The computer-readable storage medium may be included in the vehicle driving warning sound generating device; or may exist independently without being assembled into the vehicle driving warning sound generating device.
[0093] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the vehicle running warning sound generating device, the vehicle running warning sound generating device generates a vehicle running warning sound.
[0094] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0095] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0096] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0097] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned vehicle driving warning sound generation method, and can solve the technical problem of how to design a pedestrian warning sound system that can adapt to different acoustic environments and effectively break through the masking effect. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the vehicle driving warning sound generation method provided in the above-mentioned embodiment, and will not be repeated here.
[0098] The computer program product provided by the present application can solve the technical problem of generating vehicle driving warning sounds. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the vehicle driving warning sound generation method provided by the above embodiment, which will not be repeated here.
[0099] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for generating a vehicle driving warning sound, characterized in that: The vehicle driving warning sound generation method comprises: Determine the warning sound generation scenario based on the ambient noise data; Determining a warning sound gain parameter according to the warning sound generation scenario; According to the warning sound gain parameter, the original vehicle driving pedestrian warning sound is adjusted to improve the vehicle driving warning effect.
2. The method for generating a vehicle driving warning sound according to claim 1, characterized in that: Before determining the warning sound generation scene according to the environmental noise floor data, the method further includes: Generate calibration audio through a speaker outside the vehicle at a preset position to obtain ambient sound data at the current moment, wherein the ambient sound data is collected by a sound pickup component at a preset position inside the vehicle; The ambient noise background data is obtained according to the real-time ambient sound data, the calibration audio and the vehicle window closure status.
3. The method for generating a vehicle driving warning sound according to claim 2, characterized in that: The step of obtaining the ambient noise data according to the real-time ambient sound data, the calibration audio, and the vehicle window closure state includes: According to the closed state of the vehicle window, an audio transfer function is obtained; Obtaining original vehicle exterior environmental sound data according to the audio transfer function and the real-time environmental sound data; The ambient noise background data is obtained according to the original external vehicle ambient sound data and the calibration audio.
4. The method for generating a vehicle driving warning sound according to claim 1, characterized in that: The step of determining a warning sound generation scenario according to the ambient noise background data includes: Obtaining a noise floor power spectrum according to the environmental noise floor data; According to the background noise power spectrum and the reference power spectrum, obtaining the similarity between the background noise power spectrum and the reference power spectrum in each preset scenario; The warning sound generation scene is determined according to the similarity ranking results under each preset scene.
5. The method for generating a vehicle driving warning sound according to claim 1, characterized in that: The step of determining a warning sound gain parameter according to the warning sound generation scenario includes: Determining a warning sound gain frequency band and a gain coefficient of the warning sound gain frequency band according to the warning sound generation scenario; The warning sound gain frequency band and the gain coefficient are used as the warning sound gain parameters.
6. The method for generating a vehicle driving warning sound according to claim 5, characterized in that: The step of determining the warning sound gain frequency band according to the warning sound generation scenario includes: When the warning sound generation scene is a low-field noise scene, determining the warning sound gain frequency band to be a first gain frequency band, wherein the low-field noise scene includes an underground garage; When the warning sound generation scenario is a conventional field noise scenario, the warning sound gain frequency band is determined to be a second gain frequency band, wherein the conventional field noise scenario includes an open-air parking lot and a conventional road.
7. The method for generating a vehicle driving warning sound according to claim 5, characterized in that: The step of determining the gain coefficient of the warning sound gain frequency band according to the warning sound generation scenario includes: If the warning sound generation scene is a conventional field noise scene, and the conventional field noise scene is an open-air parking lot, determining the gain coefficient of the second gain frequency band to be the first gain coefficient; If the warning sound generation scene is a regular field noise scene, and the regular field noise scene is a regular road, the gain coefficient of the second gain frequency band is determined to be a second gain coefficient.
8. A vehicle driving warning sound generating device, characterized in that: The vehicle driving warning sound generating device comprises: A scene analysis module, used to determine the warning sound generation scene based on the ambient noise data; A gain calculation module, used to determine a warning sound gain parameter according to the warning sound generation scenario; The warning sound generation module is used to adjust the original vehicle driving pedestrian warning sound according to the warning sound gain parameter to improve the vehicle driving warning effect.
9. A vehicle driving warning sound generating device, characterized in that: The vehicle driving warning sound generating device includes: a memory, a processor, and a vehicle driving warning sound generating program stored in the memory and executable on the processor, wherein the vehicle driving warning sound generating program is configured to implement the steps of the vehicle driving warning sound generating method as described in any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a vehicle driving warning sound generation program, and when the vehicle driving warning sound generation program is executed by the processor, the steps of the vehicle driving warning sound generation method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Method and system for changing voice outside vehicle
CN121171239A
Low-speed prompt tone generation method and device for electric vehicle, vehicle and storage medium
CN121397423A