Electric vehicle sound warning system
By simulating the noise of traditional internal combustion engine vehicles and adjusting the sound intensity, the potential traffic safety hazards caused by insufficient noise of electric vehicles are solved, the ability of pedestrians to identify and judge the position and speed of electric vehicles is improved, and the effect of sound warnings is enhanced.
Patent Information
- Application Number
- CN201810154700.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-02-23
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2038-02-23
AI Technical Summary
Electric vehicles make less noise when starting and running at low speeds, making it difficult for pedestrians to identify their driving position and speed, posing potential traffic safety hazards, and existing sound warning methods are not effective.
By acquiring the vehicle speed and motor speed data of electric vehicles in real time, the engine and exhaust tail noise signals are simulated close to those of traditional internal combustion engine vehicles. The power amplifier is used to adjust the sound intensity according to the distance between pedestrians and output through the front and rear speakers to simulate traditional internal combustion engine vehicles. noise.
It effectively improves the ability of pedestrians to identify the location of electric vehicles and judge the driving speed, enhances the effectiveness of sound warnings, and improves the safety of electric vehicles.
Smart Images

Figure CN108312959B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electric vehicles, and in particular to a sound warning system for electric vehicles. Background Art
[0002] With the booming automotive industry, carbon emissions from internal combustion engine vehicles have drawn significant attention worldwide. To reduce carbon emissions, China has been actively promoting new energy vehicles, particularly electric vehicles, in recent years. The production and sales of electric vehicles are growing at a double-digit rate annually.
[0003] However, electric vehicles and hybrid electric vehicles often operate in pure electric mode during startup and low-speed driving. The motors generate far less noise than traditional engines, and tire and wind noise are also significantly reduced. This makes electric vehicles "extremely quiet" while driving, and the noise intensity they produce is less likely to attract the attention of pedestrians ahead. This poses a significant traffic safety hazard and can lead to accidents. China, while developing new energy vehicles, has recognized the severity of this issue and has successively promulgated relevant laws and standards.
[0004] In the prior art, electric vehicle audio warnings for pedestrians typically use a single-frequency tone or pre-recorded audio to warn pedestrians, and these methods have proven effective. However, single-frequency tones or audio files make it difficult for pedestrians to clearly discern the location and speed of oncoming vehicles. Furthermore, because the human ear is a binaural system and has a subjective memory for the noise of traditional internal combustion engine vehicles, tones or audio files rarely make pedestrians aware of the vehicle's presence. Therefore, prior art audio warnings still fail to effectively warn pedestrians, and their effectiveness remains to be improved. Summary of the Invention
[0005] The purpose of the embodiment of the present application is to provide an electric vehicle sound warning system, which simulates a warning sound for the electric vehicle that is close to the noise of a traditional internal combustion engine vehicle, so that pedestrians can recognize the electric vehicle based on the warning sound, and can judge the approximate location and driving speed of the electric vehicle based on the warning sound, thereby effectively improving the warning effect of the sound warning.
[0006] The embodiment of the present application provides an electric vehicle sound warning system that is implemented as follows:
[0007] An electric vehicle sound warning system, the system comprising:
[0008] A signal acquisition unit, communicating with the CAN bus of the electric vehicle, for acquiring the vehicle speed data and the motor speed data of the vehicle in real time;
[0009] an engine speed data generating unit, communicating with the signal acquiring unit, for calculating and synthesizing the vehicle speed data and the motor speed data in real time to obtain engine speed data;
[0010] a signal fitting unit, in communication with the engine speed data generating unit, for fitting a virtual engine noise signal and a virtual exhaust tail noise signal using the engine speed data according to a preselected mode;
[0011] a power amplification unit, whose input end is in communication with the signal fitting unit, for amplifying the virtual engine noise signal to obtain and output an engine sound signal, and for amplifying the virtual exhaust tail noise signal to obtain and output an exhaust tail sound signal;
[0012] The speaker unit includes a front speaker, which is arranged at the head of the car and connected to the output end of the power amplification unit, and is used to generate an engine sound corresponding to the engine sound signal; and also includes a rear speaker, which is arranged at the rear of the car and connected to the output end of the power amplification unit, and is used to generate an exhaust sound corresponding to the exhaust tail sound signal.
[0013] In a preferred embodiment, the power amplification unit includes:
[0014] an input terminal, in communication with the signal fitting unit, for receiving the virtual engine noise signal and the virtual exhaust tail noise signal;
[0015] A ranging radar module is provided at the head of the car and is used to measure the distance data between the head of the car and pedestrians in real time;
[0016] A gain calculation module, configured to calculate the power gain data of the power amplifier in real time based on the distance data;
[0017] a power amplifier, configured to use the power gain data to respectively amplify the virtual engine noise signal and the virtual exhaust noise signal to obtain the engine sound signal and the exhaust sound signal;
[0018] The output end communicates with the front speaker and is used to transmit the engine sound signal to the front speaker. The output end also communicates with the rear speaker and is used to transmit the exhaust tail sound signal to the rear speaker.
[0019] In a preferred embodiment, the signal fitting unit includes:
[0020] a digital signal fitting module, configured to obtain a virtual digital engine noise signal by fitting the engine speed data and the noise value samples corresponding to the engine speed data, and to obtain a virtual digital exhaust noise signal by fitting the engine speed data and the exhaust noise value samples corresponding to the engine speed data;
[0021] a D / A converter, communicating with the digital signal fitting module, for performing digital / analog conversion on the virtual engine noise digital signal to obtain the virtual engine noise signal, and for performing digital / analog conversion on the virtual exhaust tail noise digital signal to obtain the virtual engine noise signal.
[0022] In a preferred embodiment, the digital signal fitting module is integrated with a computer storage medium, and the storage medium stores engine noise value samples and exhaust tail noise value samples corresponding to the preselected mode.
[0023] A computer program is also stored, which, when executed by the digital signal fitting module, implements the following steps:
[0024] Using the engine speed data and the engine noise value samples corresponding to the engine speed data, and adopting an engine noise fitting formula, a virtual engine noise digital signal is fitted;
[0025] The engine speed data and exhaust tail noise value samples corresponding to the engine speed data are used, and an exhaust tail noise fitting formula is adopted to fit a virtual exhaust tail noise digital signal.
[0026] In a preferred embodiment, the engine noise value sample includes:
[0027] Second-order engine noise value, fourth-order engine noise value, sixth-order engine noise value, and eighth-order engine noise value.
[0028] In a preferred embodiment, the exhaust tail noise value samples include:
[0029] Second-order exhaust tail noise value, fourth-order exhaust tail noise value, sixth-order exhaust tail noise value, and eighth-order exhaust tail noise value.
[0030] In a preferred embodiment, the engine noise fitting formula includes:
[0031] VS Eng =SPL EngOrder(2) +SPL EngOrder(4) +SPL EngOrder(6) +SPL EngOrder(8) +ε(n)
[0032] Wherein, n represents the engine speed;
[0033] SPL EngOrder(2) represents the second-order engine noise value corresponding to the engine speed n;
[0034] SPL EngOrder(4) represents the fourth-order engine noise value corresponding to the engine speed n;
[0035] SPL EngOrder(6) represents the sixth-order engine noise value corresponding to the engine speed n;
[0036] SPL EngOrder(8) represents the eighth-order engine noise value corresponding to the engine speed n;
[0037] ε(n) represents the noise correction value corresponding to the engine speed n.
[0038] In a preferred embodiment, the exhaust tail noise fitting formula includes:
[0039] VS Exh =SPL EhxOrder(2) +SPL EhxOrder(4) +SPL EhxOrder(6) +SPL EhxOrder(8) +ε(n)
[0040] Wherein, n represents the engine speed;
[0041] SPL EhxOrder(2) represents the second-order exhaust tail noise value corresponding to the engine speed n;
[0042] SPL EhxOrder(4) represents the fourth-order exhaust noise value corresponding to the engine speed n;
[0043] SPL EhxOrder(6) represents the sixth-order exhaust tail noise value corresponding to the engine speed n;
[0044] SPL EhxOrder(8) represents the second-order exhaust tail noise value corresponding to the engine speed n;
[0045] ε(n) represents the noise correction value corresponding to the engine speed n.
[0046] In a preferred embodiment, the gain calculation module is integrated with a computer storage medium, and the storage medium stores a computer program, and when the program is executed by the gain calculation module, the following steps are implemented:
[0047] Calculating first distance data between the front speaker and the pedestrian based on the distance data;
[0048] Calculating second distance data between the rear speaker and the pedestrian based on the distance data and the vehicle length data of the vehicle;
[0049] calculating, based on the first distance data, first gain data for power amplification of the virtual engine noise signal by the power amplifier;
[0050] calculating, based on the second distance data, second gain data for power amplification of the virtual exhaust tail noise signal by the power amplifier;
[0051] Correspondingly,
[0052] The power amplifier uses the first gain data to power amplify the virtual engine noise signal to obtain the engine sound signal, and uses the second gain data to power amplify the virtual exhaust tail noise signal to obtain the exhaust tail sound signal.
[0053] In a preferred embodiment, the ranging radar module includes a millimeter wave radar.
[0054] Using an electric vehicle sound warning system provided by an embodiment of the present application, real-time vehicle speed data and motor speed data can be used to synthesize corresponding engine speed data. Based on the engine speed data, a virtual engine noise signal and a virtual exhaust noise signal corresponding to the engine speed data can be simulated. The gain of the power amplifier used to amplify the two noise signals is then controlled based on the distance between the pedestrian and the vehicle, such that the gain varies with the distance between the pedestrian and the vehicle. Consequently, the engine sound generated by the front speakers and the exhaust sound generated by the rear speakers approximate the noise of a traditional internal combustion engine vehicle (engine noise and exhaust noise contribute the most to the noise of an internal combustion engine vehicle, and engine noise and exhaust noise can be used to identify the vehicle, locate the vehicle, and determine the vehicle's motion state). This allows pedestrians to effectively identify the electric vehicle. Furthermore, because the intensity of the two sounds (the engine sound and the exhaust sound) changes as the distance between the vehicle and the vehicle approaches, the distance and speed of the vehicle can also be roughly determined based on the two sounds, effectively improving the warning effect and the safety of the electric vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0056] Figure 1 This is a schematic diagram of the module structure of an electric vehicle sound warning system provided by one embodiment of the present application;
[0057] Figure 2 This is a schematic diagram of the module structure of the power amplification unit provided in one embodiment of the present application;
[0058] Figure 3 This is a schematic diagram of an application scenario of the system provided in one embodiment of the present application;
[0059] Figure 4 1 is a schematic diagram of the module structure of the signal fitting unit provided in one embodiment of the present application;
[0060] Figure 5 This is a schematic diagram of the working process of an electric vehicle sound warning system provided in an example of this application. DETAILED DESCRIPTION
[0061] An embodiment of the present application provides a sound warning system for an electric vehicle.
[0062] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0063] Figure 1 It is a schematic diagram of the module structure of an embodiment of an electric vehicle sound warning system described in the present application. Although the present application provides a device structure as shown in the following embodiments or drawings, more or fewer module units may be included in the device based on routine or no creative work. In structures where there is no necessary causal relationship logically, the module structure of these devices is not limited to the module structure shown in the embodiments or drawings of the present application. When the module structure is applied to an actual device or terminal product, it can be executed sequentially or in parallel according to the module structure shown in the embodiments or drawings (for example, a parallel processor or multi-threaded processing environment, or even a distributed processing implementation environment).
[0064] Specifically, such as Figure 1 An embodiment of an electric vehicle sound warning system provided by the present application may include:
[0065] The signal acquisition unit 101 communicates with the CAN bus of the electric vehicle and can be used to obtain the vehicle speed data and the motor speed data of the vehicle in real time;
[0066] The engine speed data generating unit 102 communicates with the signal acquiring unit 101 and can be used to calculate and synthesize the vehicle speed data and the motor speed data in real time to obtain the engine speed data;
[0067] a signal fitting unit 103 in communication with the engine speed data generating unit 102 and configured to obtain a virtual engine noise signal and a virtual exhaust tail noise signal by fitting the engine speed data according to a preselected mode;
[0068] a power amplification unit 104, whose input terminal is in communication with the signal fitting unit, and can be used to amplify the power of the virtual engine noise signal to obtain and output an engine sound signal, and to amplify the power of the virtual exhaust tail noise signal to obtain and output an exhaust tail sound signal;
[0069] The speaker unit 105 includes a front speaker, which is arranged at the head of the car and connected to the output end of the power amplification unit 104, and is used to generate an engine sound corresponding to the engine sound signal; and also includes a rear speaker, which is arranged at the rear of the car and connected to the output end of the power amplification unit 104, and is used to generate an exhaust sound corresponding to the exhaust sound signal.
[0070] The electric vehicle's speed and motor speed can be used to synthesize and simulate the corresponding engine speed of a traditional internal combustion engine. Based on the synthesized engine speed, a virtual engine noise signal and a virtual exhaust noise signal corresponding to the engine speed can be fitted.
[0071] The engine sound signal and the exhaust sound signal are electrical signals that drive the speakers. After being input into the speakers, the front speaker emits an engine sound corresponding to the engine sound signal, and the rear speaker emits an exhaust sound corresponding to the exhaust sound signal. The front speaker can be installed at a location on the front of the electric vehicle corresponding to the engine of a traditional internal combustion engine vehicle, and the rear speaker can be installed at a location on the rear of the vehicle corresponding to the exhaust of a traditional internal combustion engine vehicle.
[0072] The preselected modes may include city, sport, quiet, and outdoor modes. The signal fitting unit communicates with the mode selection unit, and different modes correspond to different order noise levels and component weights. The signal fitting unit may fit a virtual engine noise signal and a virtual exhaust noise signal based on the preselected mode and engine noise value samples and exhaust noise value samples corresponding to the engine data in the preselected mode.
[0073] Specifically, the virtual engine noise signal can be obtained by fitting using the following fitting formula:
[0074] VS Eng =SPL EngOrder(2) +SPL EngOrder(4) +SPL EngOrder(6) +SPL EngOrder(8) +ε(n)
[0075] Wherein, n represents the engine speed;
[0076] SPL EngOrder(2) represents the second-order engine noise value corresponding to the engine speed n;
[0077] SPL EngOrder(4) represents the fourth-order engine noise value corresponding to the engine speed n;
[0078] SPL EngOrder(6) represents the sixth-order engine noise value corresponding to the engine speed n;
[0079] SPL EngOrder(8) represents the eighth-order engine noise value corresponding to the engine speed n;
[0080] ε(n) represents the noise correction value corresponding to the engine speed n.
[0081] Among them, SPL EngOrder(i) =f(n)i=2, 4, 6, 8, the engine noise value samples of each order are functions of the engine speed n and change with the change of the engine speed n.
[0082] The virtual exhaust tail noise signal can be obtained by fitting using the following fitting formula:
[0083] VS Exh =SPL EhxOrder(2) +SPL EhxOrder(4) +SPL EhxOrder(6) +SPL EhxOrder(8) +ε(n)
[0084] Wherein, n represents the engine speed;
[0085] SPL EhxOrder(2) represents the second-order exhaust tail noise value corresponding to the engine speed n;
[0086] SPL EhxOrder(4) represents the fourth-order exhaust noise value corresponding to the engine speed n;
[0087] SPL EhxOrder(6) represents the sixth-order exhaust tail noise value corresponding to the engine speed n;
[0088] SPL EhxOrder(8) represents the second-order exhaust tail noise value corresponding to the engine speed n;
[0089] ε(n) represents the noise correction value corresponding to the engine speed n.
[0090] Where SPL EhxOrder(i) =f(n)i=2, 4, 6, 8, the exhaust tail noise value samples of each order are functions of the engine speed n and change with the change of the engine speed n.
[0091] The two noise value samples corresponding to the engine speed n in each mode are pre-stored in the storage medium of the signal fitting unit.
[0092] Figure 2 FIG. 1 is a schematic diagram of the module structure of the power amplification unit provided in one embodiment of the present application, as shown in FIG. Figure 2 In this example, the power amplification unit 104 may include:
[0093] An input terminal 1041 , communicating with the signal fitting unit 103 , and configured to receive the virtual engine noise signal and the virtual exhaust tail noise signal;
[0094] The ranging radar module 1042 is provided at the head of the vehicle and can be used to measure the distance data between the head of the vehicle and pedestrians in real time;
[0095] The gain calculation module 1043 may be configured to calculate the power gain data of the power amplifier 1044 in real time based on the distance data;
[0096] a power amplifier 1044 in communication with the gain calculation module 1043 and configured to use the power gain data to respectively amplify the virtual engine noise signal and the virtual exhaust noise signal to obtain the engine sound signal and the exhaust sound signal;
[0097] The output end 1045 communicates with the front speaker and is used to transmit the engine sound signal to the front speaker. The output end 1045 also communicates with the rear speaker and is used to transmit the exhaust tail sound signal to the rear speaker.
[0098] In this example, the gain calculation module 1043 is integrated with a computer storage medium, and the storage medium stores a computer program. When the program is executed by the gain calculation module 1043, the following steps can be implemented:
[0099] Calculating first distance data between the front speaker and the pedestrian based on the distance data;
[0100] Calculating second distance data between the rear speaker and the pedestrian based on the distance data and the vehicle length data of the vehicle;
[0101] calculating, based on the first distance data, first gain data for power amplification of the virtual engine noise signal by the power amplifier;
[0102] calculating, based on the second distance data, second gain data for power amplification of the virtual exhaust tail noise signal by the power amplifier;
[0103] Correspondingly,
[0104] The power amplifier uses the first gain data to power amplify the virtual engine noise signal to obtain the engine sound signal, and uses the second gain data to power amplify the virtual exhaust tail noise signal to obtain the exhaust tail sound signal.
[0105] Figure 3 This is a schematic diagram of an application scenario of the system provided in one embodiment of the present application. Figure 3 As shown, the front speaker is arranged at the head of the car, the rear speaker is arranged at the rear of the car, and the radar ranging module may include a millimeter wave radar, which is arranged at the head of the car. Figure 3 In the figure, the millimeter-wave radar measures the distance from the front of the car to the pedestrian as L0. According to L0 and the distance of the millimeter-wave radar, the distance L1 between the front speaker and the pedestrian can be calculated. According to L0 and the body length of the car, the distance L2 between the rear speaker and the pedestrian can be calculated.
[0106] Since the first gain data and the second gain data will change with the change of the distance between the car and the pedestrian, the volume of the engine sound and the exhaust sound will also change with the change of the distance between the car and the pedestrian, and the pedestrian can judge the position and speed of the car based on the sound.
[0107] Figure 4 FIG. 1 is a schematic diagram of the module structure of the signal fitting unit provided in one embodiment of the present application, such as Figure 4 The signal fitting unit 103 includes:
[0108] a digital signal fitting module 1031 for fitting a virtual engine noise digital signal using the engine speed data and the noise value samples corresponding to the engine speed data, and for fitting a virtual exhaust outlet noise digital signal using the engine speed data and the exhaust outlet noise value samples corresponding to the engine speed data;
[0109] The D / A converter 1031 communicates with the digital signal fitting module 1031 and is used to perform digital / analog conversion on the virtual engine noise digital signal to obtain the virtual engine noise signal, and to perform digital / analog conversion on the virtual exhaust tail noise digital signal to obtain the virtual engine noise signal.
[0110] The D / A converter is a digital converter that can convert digital signals into analog signals.
[0111] In this example, the digital signal fitting module 1031 is integrated with a computer storage medium, and the storage medium stores the engine noise value samples and exhaust tail noise value samples corresponding to the preselected mode.
[0112] A computer program is also stored, which, when executed by the digital signal fitting module, implements the following steps:
[0113] Using the engine speed data and the engine noise value samples corresponding to the engine speed data, and adopting an engine noise fitting formula, a virtual engine noise digital signal is fitted;
[0114] The engine speed data and exhaust tail noise value samples corresponding to the engine speed data are used, and an exhaust tail noise fitting formula is adopted to fit a virtual exhaust tail noise digital signal.
[0115] The engine noise value samples may include:
[0116] Second-order engine noise value, fourth-order engine noise value, sixth-order engine noise value, and eighth-order engine noise value.
[0117] The exhaust tail noise value samples may include:
[0118] Second-order exhaust tail noise value, fourth-order exhaust tail noise value, sixth-order exhaust tail noise value, and eighth-order exhaust tail noise value.
[0119] In this example, the engine noise fitting formula may include:
[0120] VS Eng =SPL EngOrder(2) +SPL EngOrder(4) +SPL EngOrder(6) +SPL EngOrder(8) +ε(n)
[0121] Wherein, n represents the engine speed;
[0122] SPL Engorder(2) represents the second-order engine noise value corresponding to the engine speed n;
[0123] SPL EngOrder(4) represents the fourth-order engine noise value corresponding to the engine speed n;
[0124] SPL Engorder(6) represents the sixth-order engine noise value corresponding to the engine speed n;
[0125] SPL EngOrder(8) represents the eighth-order engine noise value corresponding to the engine speed n;
[0126] ε(n) represents the noise correction value corresponding to the engine speed n.
[0127] In this example, the exhaust tail noise fitting formula may include:
[0128] VS Exh =SPL EhxOrder(2) +SPL EhxOrder(4) +SPL EhxOrder(6) +SPL EhxOrder(8) +ε(n)
[0129] Wherein, n represents the engine speed;
[0130] SPL EhxOrder(2) represents the second-order exhaust tail noise value corresponding to the engine speed n;
[0131] SPL Ehxorder(4) represents the fourth-order exhaust noise value corresponding to the engine speed n;
[0132] SPL EhxOrder(6) represents the sixth-order exhaust tail noise value corresponding to the engine speed n;
[0133] SPL EhxOrder(8) represents the second-order exhaust tail noise value corresponding to the engine speed n;
[0134] ε(n) represents the noise correction value corresponding to the engine speed n.
[0135] Figure 5 This is a schematic diagram of the working process of an electric vehicle sound warning system provided by an example of this application. Figure 5 As shown, the system first acquires vehicle speed and motor speed signals via the vehicle's CAN bus, then calculates and synthesizes them to generate a corresponding engine speed signal. A mode control unit then selects a mode. Based on the preselected mode, the engine speed signal is used to fit a corresponding virtual digital engine noise signal and virtual exhaust noise signal. A D / A converter converts the digital signal into an analog signal. A power amplifier amplifies the engine and exhaust noise signals based on the preselected mode and the distance between the vehicle and pedestrians. The engine and exhaust noise signals are then emitted through the front and rear speakers, respectively.
[0136] Using the above-described embodiments of an electric vehicle sound warning system, real-time vehicle speed data and motor speed data can be used to synthesize corresponding engine speed data. Based on the engine speed data, a virtual engine noise signal and a virtual exhaust noise signal corresponding to the engine speed data can be simulated. The gain of the power amplifier used to amplify the two noise signals is then controlled based on the distance between the pedestrian and the vehicle, such that the gain varies with the distance between the pedestrian and the vehicle. Consequently, the engine sound generated by the front speakers and the exhaust sound generated by the rear speakers approximate the noise of a traditional internal combustion engine vehicle (engine noise and exhaust noise contribute the most to the noise of an internal combustion engine vehicle, and engine noise and exhaust noise can be used to identify the vehicle, locate its position, and determine its motion state), effectively enabling pedestrians to identify the electric vehicle. Furthermore, because the intensity of the two sounds (the engine sound and the exhaust sound) changes as the distance between the vehicle and the vehicle approaches, the distance and speed of the vehicle can be roughly determined based on these two sounds, effectively enhancing the warning effect and the safety of the electric vehicle.
[0137] The devices or modules illustrated in the above embodiments can be specifically implemented by computer chips or entities, or by products with certain functions. For the convenience of description, the above devices are described in terms of functions and are divided into various modules and described separately. Of course, when implementing this application, the functions of each module can be implemented in the same or multiple software and / or hardware, or the module that implements the same function can be implemented by a combination of multiple sub-modules, etc. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0138] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, classes, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communications network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0139] Through the description of the above implementation methods, it can be seen that those skilled in the art can clearly understand that the present application can be implemented by means of software plus the necessary general hardware platform. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a mobile terminal, a server, or a network device, etc.) to execute the methods described in various embodiments of the present application or certain parts of the embodiments.
[0140] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments.
[0141] Although the present application has been described with reference to the embodiments, those skilled in the art will appreciate that there are many modifications and variations to the present application without departing from the spirit of the present application. It is intended that the appended claims include these modifications and variations without departing from the spirit of the present application.
Claims
1. An electric vehicle sound warning system, characterized in that: The system comprises: A signal acquisition unit communicates with the CAN bus of the electric vehicle and is used to acquire the vehicle speed data and the motor speed data of the vehicle in real time; An engine speed data generating unit, communicating with the signal acquiring unit, and used for calculating and synthesizing the vehicle speed data and the motor speed data in real time to obtain the engine speed data; The signal fitting unit communicates with the engine speed data generating unit and is used to obtain a virtual engine noise signal and a virtual exhaust tail noise signal by real-time fitting using the engine speed data according to a preselected mode; the preselected modes include city, sports, quiet and outdoor modes, and the size and component proportion of the order noise corresponding to different modes are different; the signal fitting unit includes a digital signal fitting module, the digital signal fitting module uses the engine speed data and the engine noise value samples corresponding to the engine speed data, adopts the engine noise fitting formula, and obtains a virtual engine noise digital signal by fitting using the engine speed data and the exhaust tail noise value samples corresponding to the engine speed data, and adopts the exhaust tail noise fitting formula to obtain a virtual exhaust tail noise digital signal; wherein, The engine noise fitting formula includes: VS Eng =SPL EngOrder(2) +SPL EngOrder(4) +SPL EngOrder(6) +SPL EngOrder(8) +ε(n) Wherein, n represents the engine speed; SPL EngOrder(2) SPL represents the second-order engine noise value corresponding to the engine speed n; EngOrder(4) SPL represents the fourth-order engine noise value corresponding to the engine speed n; EngOrder(6) SPL represents the sixth-order engine noise value corresponding to the engine speed n; EngOrder(8) represents the eighth-order engine noise value corresponding to the engine speed n; ε(n) represents the noise correction value corresponding to the engine speed n; The exhaust tail noise fitting formula includes: VS Exh =SPL EhxOrder(2) +SPL EhxOrder(4) +SPL EhxOrder(6) +SPL EhxOrder(8) +ε(n) Wherein, n represents the engine speed; SPL EhxOrder(2) SPL represents the second-order exhaust tail noise value corresponding to the engine speed n; EhxOrder(4) SPL represents the fourth-order exhaust tail noise value corresponding to the engine speed n; EhxOrder(6) SPL represents the sixth-order exhaust tail noise value corresponding to the engine speed n; EhxOrder(8) represents the second-order exhaust tail noise value corresponding to the engine speed n; ε(n) represents the noise correction value corresponding to the engine speed n; a power amplification unit, whose input end communicates with the signal fitting unit, for amplifying the power of the virtual engine noise signal to obtain and output an engine sound signal, and for amplifying the power of the virtual exhaust tail noise signal to obtain and output an exhaust tail sound signal; A speaker unit, including a front speaker, which is arranged at the head of the automobile and connected to the output end of the power amplification unit, and is used to generate an engine sound corresponding to the engine sound signal; and a rear speaker, which is arranged at the rear of the automobile and connected to the output end of the power amplification unit, and is used to generate an exhaust sound corresponding to the exhaust sound signal; The power amplification unit comprises: An input terminal, in communication with the signal fitting unit, for receiving the virtual engine noise signal and the virtual exhaust tail noise signal; A ranging radar module is arranged at the head of the car and is used to measure the distance data between the head of the car and the pedestrian in real time; a gain calculation module is used to calculate the power gain data of the power amplifier in real time according to the distance data; A power amplifier, used to use the power gain data to power-amplify the virtual engine noise signal and the virtual exhaust tail noise signal respectively, so as to obtain the engine sound signal and the exhaust tail sound signal; an output end, communicating with the front speaker, for transmitting the engine sound signal to the front speaker, and the output end also communicating with the rear speaker, for transmitting the exhaust tail sound signal to the rear speaker; The gain calculation module is integrated with a computer storage medium, and the storage medium stores a computer program. When the program is executed by the gain calculation module, the following steps are implemented: Calculating and obtaining first distance data between the front speaker and the pedestrian according to the distance data; Calculating second distance data between the rear speaker and the pedestrian according to the distance data and the length data of the vehicle; calculating, according to the first distance data, first gain data for power amplification of the virtual engine noise signal by the power amplifier; calculating, according to the second distance data, second gain data for power amplification of the virtual exhaust tail noise signal by the power amplifier; Correspondingly, The power amplifier uses the first gain data to power amplify the virtual engine noise signal to obtain the engine sound signal, and uses the second gain data to power amplify the virtual exhaust tail noise signal to obtain the exhaust tail sound signal.
2. The electric vehicle sound warning system according to claim 1, characterized in that: The signal fitting unit comprises: A D / A converter communicates with the digital signal fitting module and is used to perform digital / analog conversion on the virtual engine noise digital signal to obtain the virtual engine noise signal, and is used to perform digital / analog conversion on the virtual exhaust tail noise digital signal to obtain the virtual engine noise signal.
3. The electric vehicle sound warning system as claimed in claim 2, characterized in that: The digital signal fitting module is integrated with a computer storage medium, and the storage medium stores engine noise value samples and exhaust tail noise value samples corresponding to the engine speed data. A computer program is also stored, and when the program is executed by the digital signal fitting module, the following steps are implemented: Using the engine speed data and the engine noise value samples corresponding to the engine speed data, and adopting an engine noise fitting formula, a virtual engine noise digital signal is fitted; The engine speed data and the exhaust tail noise value samples corresponding to the engine speed data are used, and an exhaust tail noise fitting formula is adopted to fit a virtual exhaust tail noise digital signal.
4. The electric vehicle sound warning system as claimed in claim 1, characterized in that: The ranging radar module includes a millimeter wave radar.
