A vehicle sound warning device based on audio enhancement
By designing a vehicle sound warning device based on audio enhancement in electric vehicles, using audio processing models and vehicle speed information to achieve quantitative output, it solves the problem of difficulty in reminding electric vehicles when driving at low speeds, improves audio quality and safety performance, and is suitable for pedestrians Reminders and occupant reminders and other occasions.
Patent Information
- Application Number
- CN202210822015.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-13
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-07-13
AI Technical Summary
It is difficult for electric vehicles to remind passing pedestrians when driving at low speeds. The existing pedestrian reminder devices have single functions and low efficiency, and there is a risk of hearing loss to the operator. They are not suitable for new needs such as passenger reminders.
Design a vehicle sound warning device based on audio enhancement, use the built-in audio processing model to enhance the audio file, combine the vehicle speed information to achieve quantitative output, and improve the function and safety of the device through hollow structure, waterproof design, CAN communication and other technologies .
It improves the quality of pedestrian reminder audio, enables convenient installation and multi-functional use, reduces operational risks, and enhances the safety performance of electric vehicles, especially the reminder effect when driving at low speeds.
Smart Images

Figure CN115107649B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of new energy vehicles, and in particular to a vehicle sound warning device based on audio enhancement. Background Art
[0002] The electric vehicle industry has developed rapidly. However, electric vehicles do not have engine components. The engine sound generated when the engine is working is also not available in electric vehicles. In addition, the noise of the entire electric vehicle has also been greatly improved. Therefore, it is difficult to remind passers-by during low-speed driving, which will pose a major safety hazard.
[0003] How to simulate engine sounds or other warning sounds is an inevitable research direction for electric vehicles, and electric vehicle pedestrian warning devices have emerged.
[0004] The pedestrian reminder device is a device that uses a speaker to output the audio by calling a processed audio file. The quality of the warning audio of the pedestrian reminder device directly affects the reminder effect of the passing pedestrians, so the quality of the audio in the pedestrian reminder device is particularly important.
[0005] In the process of implementing the present invention, the inventors found that in the past, most audio processing companies generally used third-party software or manual processing methods to manually process audio files, which was inefficient and long-term repeated manual testing would also cause hearing damage to the operator.
[0006] At present, pedestrian reminder devices are limited to pedestrian reminder functions, with single and imperfect functions. For electric vehicles with better sound insulation effects, new demands have emerged for passenger reminders, such as waking up outside the vehicle, so calling it a "pedestrian reminder device" is too limited. Summary of the invention
[0007] The purpose of the present invention is to provide a vehicle sound warning device based on audio enhancement, which utilizes a built-in audio processing model to perform audio enhancement on an audio file without manual intervention, while achieving quantitative output of the warning volume according to the vehicle speed, and improving the structure of the device to make it waterproof, dustproof and easy to install.
[0008] To this end, the present invention provides a vehicle sound warning device based on audio enhancement, including a sound cavity housing, a speaker, a sealing strip, a lower housing, a fixing bracket, a plug, and a control system.
[0009] The speaker is embedded in the sound cavity shell, and a layer of isolating silicone is covered on the edge of the speaker for waterproofing. The sound cavity shell is a hollow structure for ventilation to improve audio quality. The control system is placed in the lower shell and connected to the speaker. The lower shell is fixed to a designated position of the electric vehicle by a fixing bracket. A sealing strip is inserted between the sound cavity shell and the lower shell for waterproofing. The plug is an 8-channel pin interface for providing power and communicating, and can be plugged in and out. The control system circuit board includes a microcontroller module, an audio processing module, a communication module and a detection module, which are used to play the pure audio processed by the audio processing module through a speaker to realize pedestrian reminder for the electric vehicle.
[0010] The audio processing module uses an audio processing model to perform audio enhancement processing on the audio file. The audio processing model includes three parts: audio feature extraction, noise detection and noise processing. Among them, the feature data of the audio is extracted by the Mel frequency spectrum cepstral coefficient MFCC feature extraction method, and the DenseDNN deep neural network model is used for noise detection, and the DenoiseGAN generative adversarial neural network model is used for noise processing. The detection module is used to collect vehicle status information, which is divided into door status detection, ignition status detection, driving direction status detection and vehicle speed detection. The collected vehicle status information is used to determine the running status of the electric vehicle, such as whether it is started, whether the door is open, and the driving direction of the electric vehicle. The microcontroller module is used to communicate with the vehicle on-board system through the communication module via CAN, receive and process the vehicle status information obtained by the detection module, and judge the vehicle running status, so as to control the output of the corresponding warning sound source, and a relationship model between the warning volume and the vehicle speed is built in, so that the warning volume of the vehicle sound warning device is quantitatively output according to the vehicle speed information.
[0011] Furthermore, the above relationship model is obtained based on the least squares curve fitting experimental data samples, wherein the warning volume of the vehicle sound warning device at different vehicle speeds is collected multiple times by constructing a vehicle sound warning device warning volume collection system, and the environmental noise factors in the collection process are processed to obtain the experimental data samples.
[0012] Furthermore, the above relationship model is as follows:
[0013] ,in, is the warning volume sound pressure value of the vehicle sound warning device after fitting processing, s is the vehicle speed, 0km / h≤s≤30km / h.
[0014] Furthermore, after the audio feature data of the above audio file is extracted by using the Mel frequency cepstral coefficient MFCC feature extraction method, the feature data is averaged, and the obtained one-dimensional array is used as the feature data of the audio. Then, the DenseDNN deep neural network model is used to train the averaged audio feature data for noise detection. Finally, the DenoiseGAN generative adversarial neural network model is used to fit the denoised audio data to realize noise processing, where the mathematical model of the average processing is: , where y(x) is the one-dimensional audio feature data after averaging, bi is the audio feature data after feature extraction, and N is the mean order, where i=1,2,3,…N.
[0015] Furthermore, the driving direction in the above-mentioned detection module is determined by a position sensor deployed on the vehicle's rotating shaft. The position sensor obtains the wheel rotation signal, and the microcontroller module encodes the signal to obtain the vehicle's driving direction. The vehicle speed state is detected by a Hall-type vehicle speed sensor, which is installed on the output shaft of the electric vehicle transmission. The vehicle speed is calculated based on the mathematical model of the vehicle speed calculation.
[0016] Furthermore, the above-mentioned control system outputs corresponding warning sound sources by monitoring the door status, ignition status, driving direction status and vehicle speed status. The microcontroller module uses a single-chip microcomputer. After the system is powered on, the port of the single-chip microcomputer is initialized. The single-chip microcomputer receives the door switch, ignition switch, driving direction and speed signals to enter the system main program, and judges the status information. It communicates with the vehicle's on-board system through CAN communication, and calls the audio processing module to process the pure audio stored in the Flash memory, thereby completing the output of relevant warning audio.
[0017] The present invention uses an audio processing module to perform feature extraction, noise detection and noise processing on an audio file, obtains pure audio and stores it in a Flash memory, and calls the processed audio through a CAN communication method, and finally plays the warning audio through a loudspeaker through a power amplifier module. At the same time, through real-time monitoring of the vehicle status of the electric vehicle, combined with the relationship model between the warning volume of the vehicle sound warning device and the vehicle speed built into the single-chip control system, the warning volume is directly calculated using the relationship model or the warning volume corresponding to different vehicle speeds is pre-stored in a database, so that the warning volume of the vehicle sound warning device will be quantitatively output according to the vehicle speed detected by the vehicle speed sensor.
[0018] The present invention also improves the structure of the vehicle sound warning device so that it has the functions of being waterproof, dustproof and easy to install.
[0019] In addition to being used for pedestrian warnings, the vehicle sound warning device of the present invention is also easy to upgrade and used in other situations. For example, the acquired external sound is processed by the audio processing module and then played through the in-vehicle speaker in a controlled volume to achieve a wake-up function.
[0020] In addition to the above-described purposes, features and advantages, the present invention has other purposes, features and advantages. The present invention will be further described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The drawings constituting a part of the present application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0022] Figure 1 It is a structural schematic diagram of the vehicle sound warning device based on audio enhancement of the present invention, wherein 1-sound cavity housing, 2-speaker, 3-sealing strip, 4-lower housing, 5-fixing bracket, 6-plug, 7-control system;
[0023] Figure 2 is a flowchart of the audio processing of the present invention;
[0024] Figures 3 to 6 It is the signal waveform and spectrum diagram before and after audio processing, where Figure 3 is the waveform of the original audio signal. Figure 4 is the spectrum of the original audio signal, Figure 5 This is the waveform of the audio signal after denoising. Figure 6 It is the spectrum diagram of the audio signal after denoising;
[0025] Figure 7 A curve diagram showing the relationship between the warning volume of the vehicle sound warning device and the vehicle speed;
[0026] Figure 8 is a structural block diagram of a vehicle sound warning device according to an embodiment of the present invention;
[0027] Fig. 9 This is a control flow chart of the present invention. DETAILED DESCRIPTION
[0028] The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0029] like Figure 1As shown, the present invention provides a vehicle sound warning device based on audio enhancement, in which a speaker 2 is embedded in a sound cavity shell 1, and a layer of insulating silica gel is covered on the edge of the speaker 2 for waterproofing, the sound cavity shell 1 is a hollow structure for ventilation to improve the audio quality, a control system 7 is placed in a lower shell 4 and connected to the speaker 2, the lower shell 4 is fixed to a designated position of the electric vehicle by a fixing bracket 5, a sealing strip 3 is inserted between the sound cavity shell 1 and the lower shell 4, and the assembly of the device is realized by compressing the sealing strip 3 of the sound cavity shell 1, while meeting the waterproofing requirement of the device, and finally the control system 7 plays the audio processed by the audio processing module through the speaker 2, thereby achieving the purpose of pedestrian reminder in the electric vehicle.
[0030] The plug 6 is an 8-channel pin interface, which not only provides power to the device but also enables communication, and is pluggable, thereby facilitating installation of the device on an electric vehicle.
[0031] The quality of the warning audio of the vehicle sound warning device directly affects the warning effect on the passing pedestrians, so the quality of the audio in the vehicle sound warning device is particularly important. In the past, most audio processing companies generally used third-party software or manual processing methods to manually process audio data. The process is not only inefficient, but also long-term repeated manual testing will cause a certain degree of damage to the operator's hearing.
[0032] Audio processing has always been a headache because the continuous signal in a single frame interval of an audio signal is difficult to capture subtle changes in the voiceprint, and the noise signal in the audio signal is difficult to distinguish.
[0033] Most audio signals are mono or multi-channel one-dimensional data. There is noise interference in the audio data. How to accurately fit the pure audio data features is very important. With the theoretical development of deep learning technology and the improvement of hardware performance, a good model structure can effectively detect and optimize noisy data.
[0034] like Figure 2 As shown, in the process of audio data preprocessing, since the convolutional neural network cannot directly process the audio data, the present invention selects the Mel-frequency cepstral coefficient MFCC feature extraction method to extract the feature data of a single audio sequence, and since the averaging operation can concentrate all the information of the same audio feature data to one point, the feature data is averaged by the Mean Operation method, and the obtained one-dimensional array is used as the feature data of the audio.
[0035] After the audio feature data extracted from different features are processed by Mean Operation, the audio feature data are compressed to a single value, thus forming a feature set of audio data. The mathematical model of the Mean Operation processing method is:
[0036] ----------(1)
[0037] in, y(x) is the one-dimensional audio feature data after averaging. b i is the audio feature data extracted by feature extraction, N is the mean order, where i =1,2,3,… N .
[0038] The original audio data is extracted and processed to obtain one-dimensional numerical feature data. First, the audio feature data is preprocessed and trained through the DenseDNN deep neural network model. At the same time, the hyperparameters are adjusted and the model structure is optimized to realize audio noise detection.
[0039] Then, after the sampling frequency of the audio data is lowered, the generator is frozen to execute the discriminator for training, and then the discriminator is frozen to execute the generator for training. The training process is repeated, and finally the DenoiseGAN generative adversarial neural network model is used to fit the pure audio data to achieve noise processing.
[0040] like Figures 3 to 6 As shown in the figure, the audio signal processed by the audio processing model can separate the noise from the pure audio to a certain extent, while also retaining the main features of the pure audio signal and reducing the abnormal fluctuations of the signal. The noise reduction effect of the model is very obvious.
[0041] The obtained pure audio samples are stored in the Flash storage module of the control system. When the CAN communication calls the audio samples, the pure audio is played out through the power amplifier module and the speaker.
[0042] For a vehicle sound warning device, it is very important that the device can obtain the vehicle status information in real time, including information such as the door status, ignition status, driving direction status, and vehicle speed status. The detection module in the vehicle sound warning device control system can detect this information in real time, where the calculation of the vehicle speed is mainly achieved through the external interrupt of the microcontroller module and the internal timer function. In the timing interrupt function, the corresponding frequency value is calculated by the number of pulses calculated by the external interrupt, and then converted into the number of wheel revolutions by the wheel speed ratio of the vehicle speed sensor, and the vehicle speed is calculated using the wheel radius.
[0043] Assuming the wheel rotates 1 circle, the vehicle number sensor outputs b A pulse signal, and set at t The counter detects f pulse signal, assuming the number of wheel revolutions per unit time is A , the wheel radius is r , then the vehicle speed calculation model is:
[0044] -------(2).
[0045] During the use of the vehicle sound warning device, since its requirements for the warning volume are somewhat restrictive, it is necessary to establish a model that can meet national standards and new energy vehicle industry regulations for the quantitative output of the warning volume, while at the same time being able to enhance the effect of pedestrian reminders and warnings.
[0046] The present invention obtains the warning volume corresponding to the output at different vehicle speeds by building a warning volume data acquisition system for the vehicle sound warning device. The device is communicated with using CAN communication, and the message information at different vehicle speeds is sent to the device control system. The control system outputs the corresponding warning volume according to the vehicle speed information. Since the vehicle sound warning device is subject to interference factors such as environmental noise and its own shell obstruction during operation, this will greatly reduce the accuracy of the collected data. The present invention collects the warning volume of the device multiple times at different vehicle speeds, and corrects the test data affected by the environment, thereby ensuring the accuracy of the established relationship model. After obtaining valid data samples, the least squares polynomial fitting method is used to compare the warning volume of the vehicle sound warning device with the vehicle speed. s The mathematical model is established based on the relationship between the corrected warning volume and the vehicle speed data in the time domain, and the warning volume of the vehicle sound warning device corresponding to different vehicle speeds is selected as a valid data point in the data sample, and the selected data points are curve-fitted in MATLAB to obtain the relationship curve between the warning volume and the vehicle speed.
[0047] The above fitting curve expression is: --------------(3)
[0048] in, The warning volume of the vehicle sound warning device after fitting processing, n is the order of the polynomial fit, a m are the unknown coefficients of the polynomial, where m =0,1,…, n .
[0049] By comparing the effects and accuracy of least squares polynomial fitting of different orders, the third-order polynomial fitting expression is selected as the polynomial mathematical model reflecting the relationship between the warning volume of the vehicle sound warning device and the vehicle speed.
[0050] After verification, the optimal mathematical model of the relationship between the warning volume of the vehicle sound warning device and the vehicle speed is as follows:
[0051] ,0km / h≤s≤30km / h-----(4)
[0052] like Figure 7 As shown in the figure, the present invention provides a relationship curve between the warning volume and the vehicle speed of a vehicle sound warning device during warning operation, which is divided into three parts as a whole. km / h ~22 km / h In the 22nd stage, the vehicle starts and accelerates, the vehicle sound warning device responds quickly and plays the warning audio, and the warning volume increases with the increase of vehicle speed; in this stage, when the vehicle is driving at a low speed, the pedestrian warning volume can reach the maximum and the warning effect is the best; in the 22nd stage, the vehicle starts and accelerates, the vehicle sound warning device responds quickly and plays the warning audio, and the warning volume increases with the increase of vehicle speed; in this stage, when the vehicle is driving at a low speed, the pedestrian warning volume can reach the maximum and the warning effect is the best; km / h ~30 km / h In the stage, the vehicle is still traveling at a low speed, and the warning volume is still at a high level output, which can continuously ensure the effect of pedestrian reminder; when the speed exceeds 30 km / h When the vehicle is traveling at a relatively high speed, the vehicle sound warning device stops working and no longer outputs warning audio.
[0053] By using the established mathematical model and relationship curve of the relationship between the warning volume of the vehicle sound warning device and the vehicle speed, the warning volumes at different vehicle speeds are sorted and stored in the single-chip control system. The detection module in the control system collects and processes the signal of the vehicle status to predict and control the warning volume of the vehicle sound warning device, thereby achieving the purpose of quantitative output of the warning volume.
[0054] like Figure 8As shown, this embodiment provides a vehicle sound warning device based on audio enhancement. The audio file is processed by the noise reduction model in the audio processing module, and the output pure audio sample is stored in the control system Flash storage module. The control system microcontroller module transmits the vehicle status information in real time in the form of a message according to the CAN communication module for judgment and processing, and calls the processed pure audio to play the warning audio through the power amplifier module. The vehicle status information is collected by the detection module, and the door and ignition status detection monitors the input of the switch signal through the photoelectric isolation circuit. The judgment of the driving direction in the detection module is judged by the position sensor deployed on the rotating shaft of the car. The position sensor obtains the wheel rotation signal, and the microcontroller module encodes it. The direction of the vehicle driving is judged according to the encoded information, and the speed detection is collected by the Hall-type speed sensor. The sensor is installed on the output shaft of the electric vehicle transmission, and the speed is obtained according to the calculation model. The microcontroller module has a built-in vehicle sound warning device warning volume and vehicle speed relationship model. When the vehicle speed signal is detected, the control system quantitatively outputs the corresponding warning audio according to the relationship model. The power module continuously provides power to the device.
[0055] During use, the specific process is as follows:
[0056] Step S1, connect the vehicle sound warning device to the vehicle system through the socket, provide power and communication for the device, and the vehicle screen displays the vehicle status information in real time.
[0057] Step S2, the vehicle door is opened, the device control system detects the door opening signal, and transmits the vehicle status information to the vehicle system in real time through CAN communication. The device starts to output the warning sound source 1 in a loop, and then the driver enters the car and closes the door and ignites. The warning sound source 1 stops playing at the moment of closing the door. When the vehicle starts, when the control system detects the ignition signal, it outputs three warning sounds of the warning sound source 2, and then stops the warning.
[0058] Step S3, the position sensor detects the wheel rotation signal, and the single chip microcomputer encodes it to obtain the vehicle's driving direction information. When the vehicle moves forward, the device cyclically outputs the warning sound source 4; when the vehicle moves backward, the device cyclically outputs the warning sound source 3.
[0059] Step S4, the vehicle speed signal is collected through the Hall-type vehicle speed sensor, and the vehicle speed is obtained through conversion and calculation. Then, the relationship model between the warning volume of the vehicle sound warning device and the vehicle speed is built into the single-chip microcomputer. The micro-control module, such as the single-chip microcomputer, quantitatively outputs the volume of the warning sound source 4 according to different vehicle speed states.
[0060] like Fig. 9As shown, when the vehicle sound warning device of this embodiment is used, the device is powered and communicated through the socket. After the control system is powered on, the single chip microcomputer performs system initialization operations and enters the main control program. Then the detection module sensor collects signals and starts working. The single chip microcomputer obtains information about the door status, ignition status, driving direction status and vehicle speed status. The single chip microcomputer determines the running status of the vehicle through the detection information, and sends the vehicle running information in the form of a message through CAN communication, thereby outputting the corresponding control result. When the photoelectric isolation circuit performs input monitoring of the switch signal, the single chip microcomputer determines the vehicle status. When the door is opened, the single chip microcomputer calls the warning sound source 1 stored in the Flash storage module through the communication module, and uses the power amplifier module to play and output in a loop. When the door is closed, the vehicle status is detected again in real time. The vehicle ignition starts. When the single chip microcomputer obtains the vehicle ignition input signal, the warning sound source 2 is also called in the storage module, and there are only three warning sounds. When the vehicle starts to drive, the position sensor obtains the wheel rotation signal, and the single-chip computer judges and processes the signal. When the vehicle is reversed, the warning sound source 3 is output in a loop. When the vehicle is forward, the Hall-type vehicle speed sensor starts to obtain the vehicle speed signal. The single-chip computer calls the warning sound source 4 in the storage module according to the relationship model between the warning volume and vehicle speed built into the system, and the volume of the sound source 4 changes with the change of vehicle speed, and the output is played in a loop. When the vehicle speed exceeds 30km / h, the system stops working, and the vehicle sound warning device no longer warns.
[0061] In the present invention, by adding an audio processing module to the control system, the denoising accuracy is high, the signal recognition accuracy is improved, and the denoising efficiency is high compared to the method of using third-party software or manual processing. At the same time, combined with the established relationship model between the warning volume of the vehicle sound warning device and the vehicle speed, it can greatly improve the warning effect of the device to remind pedestrians on the premise of meeting national standards and vehicle regulations, and has higher safety performance.
[0062] In addition to the pedestrian warning function, the vehicle sound warning device can also be upgraded for other purposes, such as being electrically connected to the external sound pickup of the electric vehicle and / or the internal sound pickup of the electric vehicle, and being communicatively connected to the speaker inside the vehicle. The sound obtained by the external sound pickup of the electric vehicle is processed by the audio processing module and then output through the speaker inside the vehicle in a volume-controlled manner, so as to realize an external wake-up function when the vehicle sound insulation effect is better, or the sound obtained by the internal sound pickup of the electric vehicle is processed by the audio processing module and then played through the device speaker in a volume-increasing manner.
[0063] The above is only an explanation of the exemplary embodiments of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A vehicle sound warning device based on audio enhancement, characterized in that: It comprises a sound cavity housing (1), a loudspeaker (2), a sealing strip (3), a lower housing (4), a fixing bracket (5), a plug (6), and a control system (7); The loudspeaker (2) is embedded in the sound cavity shell (1), and a layer of insulating silica gel is covered at the edge of the loudspeaker (2) for waterproofing. The sound cavity shell (1) is a hollow structure for ventilation to improve the audio quality. The control system (7) is placed in the lower shell (4) and connected to the loudspeaker (2). The lower shell (4) is fixed to a designated position of the electric vehicle through a fixing bracket (5). A sealing strip (3) is inserted between the sound cavity shell (1) and the lower shell (4) for waterproofing. The plug (6) is an 8-channel pin interface for providing power and communicating, and can be plugged in and out. The control system (7) includes a microcontroller module, an audio processing module, a communication module and a detection module, and is used to play the pure audio processed by the audio processing module through the loudspeaker (2) to realize pedestrian reminder of the electric vehicle. The audio processing module uses an audio processing model to perform audio enhancement processing on the audio file. The audio processing model includes three parts: audio feature extraction, noise detection and noise processing. The feature data of the audio is extracted by using the Mel spectrum cepstral coefficient MFCC feature extraction method, and the DenseDNN deep neural network model is used for noise detection. The DenoiseGAN generative adversarial neural network model is used for noise processing. The detection module is used to collect vehicle status information, which is divided into door status detection, ignition status detection, driving direction status detection and vehicle speed detection. The collected vehicle status information is used to determine whether the electric vehicle is started, whether the door is open, and the driving direction of the electric vehicle. The microcontroller module communicates with the vehicle's onboard system via the communication module through CAN, and is used to receive the vehicle status information obtained by the detection module, and judge the vehicle's running status, thereby outputting a corresponding warning sound source according to the vehicle's running status, and a relationship model between the warning volume and the vehicle speed is built in, so that the warning volume of the vehicle sound warning device is quantitatively output according to the vehicle speed information. The relationship model is obtained by fitting the experimental data samples according to the least squares curve, wherein the warning volume of the vehicle sound warning device at different vehicle speeds is collected multiple times by the constructed vehicle sound warning device warning volume collection system, and the environmental noise factor in the collection process is processed to obtain the experimental data samples; The relationship model is as follows: ,in, is the sound pressure value of the warning volume of the vehicle sound warning device after fitting processing, s is the vehicle speed, 0km / h≤s≤30km / h; After the audio file uses the Mel frequency cepstral coefficient MFCC feature extraction method to extract audio feature data, the feature data is averaged, and the obtained one-dimensional array is used as the feature data of the audio. Then, the DenseDNN deep neural network model is used to train the audio feature data after average processing for noise detection. Finally, the DenoiseGAN generative adversarial neural network model is used to fit the denoised audio data to achieve noise processing, wherein the mathematical model of the average processing is: ,in, y(x) is the one-dimensional audio feature data after averaging. b i is the audio feature data extracted by feature extraction, N is the mean order, where i =1,2,3,… N .
2. The vehicle sound warning device based on audio enhancement according to claim 1, characterized in that: The driving direction in the detection module is determined by a position sensor deployed on the vehicle's rotating shaft. The position sensor obtains the wheel rotation signal, and the microcontroller module encodes the signal to obtain the vehicle's driving direction. The vehicle speed state is detected by a Hall-type vehicle speed sensor, which is installed on the output shaft of the electric vehicle transmission. The vehicle speed is calculated based on a mathematical model for calculating the vehicle speed.
3. The vehicle sound warning device based on audio enhancement according to claim 1, characterized in that: The control system outputs the corresponding warning sound source by monitoring the door status, ignition status, driving direction status and vehicle speed status. The microcontroller module uses a single-chip microcomputer. After the system is powered on, the port of the single-chip microcomputer is initialized. The single-chip microcomputer receives the door switch, ignition switch, driving direction and speed signals to enter the system main program, judge the vehicle status information, communicate with the vehicle on-board system through CAN communication, and call the audio processing module to process the pure audio stored in the Flash memory, thereby completing the output of relevant warning audio.
