CN110816399A - Method, device and system for simulating automobile engine to sound - Google Patents
Method, device and system for simulating automobile engine to sound Download PDFInfo
- Publication number
- CN110816399A CN110816399A CN201810921973.7A CN201810921973A CN110816399A CN 110816399 A CN110816399 A CN 110816399A CN 201810921973 A CN201810921973 A CN 201810921973A CN 110816399 A CN110816399 A CN 110816399A
- Authority
- CN
- China
- Prior art keywords
- mode
- audio file
- sound
- current
- preset
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q5/00—Arrangement or adaptation of acoustic signal devices
- B60Q5/005—Arrangement or adaptation of acoustic signal devices automatically actuated
- B60Q5/006—Arrangement or adaptation of acoustic signal devices automatically actuated indicating risk of collision between vehicles or with pedestrians
Landscapes
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
Abstract
The application discloses a method for simulating automobile engine to sound, which comprises the following steps: acquiring driving state data of the electric automobile sent by an automobile communication bus protocol chip; determining the current driving mode of the electric automobile according to the driving state data; and determining a preset audio file corresponding to the current running mode, and sending a corresponding playing instruction to an audio file player to enable the audio file player to play the preset audio file corresponding to the current running mode so as to simulate the internal combustion engine automobile engine to sound. The internal combustion engine automobile engine can be flexibly simulated to produce sound under various driving modes, and the effect and the applicability of simulating the sound are effectively improved. The application also discloses a device and a system for simulating the automobile engine to sound, and the beneficial effects are also achieved.
Description
Technical Field
The application relates to the technical field of new energy, in particular to a method, a device and a system for simulating automobile engine to sound.
Background
With the continuous development and progress of new energy technology, the electric automobile is more and more widely applied.
Electric vehicles (including pure electric vehicles, hybrid electric vehicles, fuel cell vehicles, etc.) utilize storage batteries to store energy so as to supply power to a motor on the electric vehicle, thereby driving the electric vehicle to operate. Compared with the traditional internal combustion engine, the storage battery energy source has obviously smaller engine sound under the condition of the same speed and the like, so that other pedestrians, vehicles and the like in the road are not easy to perceive the approach of the electric automobile, and further traffic accidents are easy to happen.
Therefore, some devices simulating the engine of the internal combustion engine automobile to generate sound are provided in the prior art, and the internal combustion engine automobile is simulated to generate sound in the driving process of the electric automobile, so that pedestrians and vehicles on the road are reminded. However, the simulation effect of these devices in the prior art is not good, and for the complicated and changeable driving state of the electric vehicle, the audio type is single, and the richness is lacking.
Therefore, what kind of technology for simulating the automobile engine to perform the sound is adopted so as to flexibly simulate in different driving scenes, and the effect and the applicability of simulating the sound are effectively improved, which is a technical problem to be solved urgently by technical personnel in the field.
Disclosure of Invention
The application aims to provide a method, a device and a system for simulating a car engine to sound so as to simulate flexibly in different driving scenes of an electric car and effectively improve the sound simulating effect and applicability.
In order to solve the above technical problem, the present application provides a method for simulating a car engine to sound, including:
acquiring driving state data of the electric automobile sent by an automobile communication bus protocol chip;
determining the current driving mode of the electric automobile according to the driving state data;
and determining a preset audio file corresponding to the current running mode, and sending a corresponding playing instruction to an audio file player to enable the audio file player to play the preset audio file corresponding to the current running mode so as to simulate the internal combustion engine automobile engine to sound.
Optionally, the driving mode is specifically a mute mode, an ignition mode, an idle mode, a forward mode, a reverse mode or a rolling mode.
Optionally, the driving state data includes a gear, a vehicle speed, and an ignition state.
Optionally, the determining the current driving mode of the electric vehicle according to the driving state data includes:
judging whether the ignition state is not ignited;
if so, judging that the current driving mode is the mute mode;
if not, judging whether the ignition state is in ignition;
if the vehicle is in ignition, judging that the current running mode is the ignition mode;
if not, judging whether the vehicle speed is higher than a first preset vehicle speed threshold value;
if so, judging that the current driving mode is the mute mode;
if not, judging whether the vehicle speed is lower than a second preset vehicle speed threshold value which is lower than the first preset vehicle speed threshold value;
if the vehicle speed is lower than the second preset vehicle speed threshold value, determining that the current driving mode is the idle mode;
if the vehicle speed is not lower than the second preset vehicle speed threshold value, judging that the current running mode is the forward mode when the gear is a D gear; when the gear is an R gear, determining that the current driving mode is the reversing mode; and when the gear is P gear or N gear, determining that the current driving mode is the rolling mode.
Alternatively,
the preset audio file corresponding to the forward mode comprises a plurality of audio file segments, and different audio file segments are used for simulating engine sound at different throttle opening degrees;
the method further comprises the following steps:
acquiring current accelerator opening data of the electric automobile sent by an accelerator opening sensor;
if the current driving mode is the forward driving mode, the determining the preset audio file corresponding to the current driving mode specifically includes:
and determining the audio file segment corresponding to the current accelerator opening data.
Alternatively,
the preset audio file corresponding to the ignition mode is generated in advance through recording;
and the preset audio files corresponding to the mute mode, the idle mode, the forward mode, the reverse mode and the rolling mode are all generated by software synthesis in advance.
The application also provides a device that simulation electric automobile engine crept, includes:
a data acquisition module: the system comprises a bus communication protocol chip, a data acquisition module, a data processing module and a data processing module, wherein the bus communication protocol chip is used for acquiring driving state data of the electric automobile sent by the bus communication protocol chip;
a mode determination module: the system is used for determining the current running mode of the electric automobile according to the running state data;
the playing control module: the system is used for determining a preset audio file corresponding to the current running mode, and sending a corresponding playing instruction to an audio file player to enable the audio file player to play the preset audio file corresponding to the current running mode so as to simulate an internal combustion engine automobile engine to sound.
The application also provides a system for simulating the engine of the electric automobile to sound, which comprises:
automobile communication bus protocol chip: the system comprises a microprocessor, a vehicle communication bus and a vehicle control system, wherein the vehicle communication bus is used for acquiring driving state data of the electric vehicle and sending the driving state data to the microprocessor;
the microprocessor: the system comprises a running state data acquisition unit, a preset audio file player and a display unit, wherein the running state data acquisition unit is used for acquiring running state data of the electric automobile;
an audio file player: the system comprises a running mode storage unit, a playing instruction unit and a display unit, wherein the running mode storage unit is used for storing the preset audio files corresponding to the running modes respectively and playing the preset audio files corresponding to the current running mode according to the playing instruction; so as to simulate the sound of an internal combustion engine automobile engine.
Optionally, the driving mode is specifically a mute mode, an ignition mode, an idle mode, a forward mode, a reverse mode or a rolling mode.
Alternatively,
the preset audio file corresponding to the forward mode comprises a plurality of audio file segments, and different audio file segments are used for simulating engine sound at different throttle opening degrees;
the system also comprises an accelerator opening sensor, a microprocessor and a control module, wherein the accelerator opening sensor is used for detecting the current accelerator opening data of the electric automobile and sending the data to the microprocessor;
and if the current driving mode is the forward driving mode, the microprocessor is specifically configured to determine the audio file segment corresponding to the current accelerator opening data.
The method for simulating the automobile engine to sound comprises the following steps: acquiring driving state data of the electric automobile sent by an automobile communication bus protocol chip; determining the current driving mode of the electric automobile according to the driving state data; and determining a preset audio file corresponding to the current running mode, and sending a corresponding playing instruction to an audio file player to enable the audio file player to play the preset audio file corresponding to the current running mode so as to simulate the internal combustion engine automobile engine to sound.
Therefore, compared with the prior art, the method for simulating the sound of the automobile engine, provided by the application, is characterized in that a plurality of preset audio files for respectively simulating the sound of the internal combustion engine automobile engine in different driving modes are preset, the driving mode of the electric automobile at present is obtained by analyzing the driving state data of the electric automobile, and the purpose of simulating the sound production of the internal combustion engine automobile engine is achieved by playing the preset audio files corresponding to the driving mode, so that pedestrians and passing vehicles can be effectively reminded, and the driving safety is guaranteed. The internal combustion engine automobile engine can be flexibly simulated to produce sound in various driving modes, so that the sound in each driving mode is more vivid and fits an actual scene, and the sound simulation effect and the applicability are effectively improved. The device and the system for simulating the automobile engine to sound can realize the method for simulating the automobile engine to sound, and have the beneficial effects.
Drawings
In order to more clearly illustrate the technical solutions in the prior art and the embodiments of the present application, the drawings that are needed to be used in the description of the prior art and the embodiments of the present application will be briefly described below. Of course, the following description of the drawings related to the embodiments of the present application is only a part of the embodiments of the present application, and it will be obvious to those skilled in the art that other drawings can be obtained from the provided drawings without any creative effort, and the obtained other drawings also belong to the protection scope of the present application.
FIG. 1 is a flow chart of a method for simulating a chime in an automobile engine provided herein;
FIG. 2 is a block diagram of a device for simulating a whistling sound of an automobile engine according to the present disclosure;
fig. 3 is a block diagram illustrating a system for simulating a car engine to sound according to the present invention.
Detailed Description
The core of the application is to provide a method, a device and a system for simulating the automobile engine to perform sound, so that the simulation can be flexibly performed under different driving scenes of the electric automobile, and the sound simulation effect and the applicability are effectively improved.
In order to more clearly and completely describe the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart of a method for simulating a car engine to sound, which mainly includes the following steps:
step 1: and acquiring the driving state data of the electric automobile sent by the automobile communication bus protocol chip.
Step 2: and determining the current running mode of the electric automobile according to the running state data.
And step 3: and determining a preset audio file corresponding to the current running mode, and sending a corresponding playing instruction to an audio file player to enable the audio file player to play the preset audio file corresponding to the current running mode so as to simulate the internal combustion engine automobile engine to sound.
Specifically, in the method for simulating the automobile engine to sound, the running state of the electric automobile is divided into a plurality of running modes, and a corresponding audio file is preset for each running mode and is used for simulating the engine sound of the internal combustion engine automobile in a similar running mode. Because the engine sound of the internal combustion engine is different under different driving modes, the targeted sound simulation is carried out on each driving mode, and the simulation effect can be more vivid and effective. By playing the corresponding audio file, the purposes of flexibly simulating an internal combustion engine automobile engine to sound and reminding pedestrians and passing vehicles to avoid traffic accidents in different driving scenes can be achieved.
The determination of the driving mode is based on the driving state data of the electric vehicle. Currently, vehicles have achieved high electronization and intellectualization, and various vehicle-mounted electric devices and components achieve integrated communication through an automobile communication bus (a common CAN bus). The automobile communication bus protocol chip can analyze and acquire various data issued on an automobile communication bus, including the driving state data of an automobile, and then send the data to the microprocessor, and the microprocessor judges the driving mode according to the driving state data of the automobile, so as to simulate the sound.
Therefore, according to the method for simulating the automobile engine to sound, the preset audio files for respectively simulating the sound of the internal combustion engine automobile engine in different running modes are preset, the running mode of the electric automobile is obtained by analyzing the running state data of the electric automobile, and the purpose of simulating the sound of the internal combustion engine automobile engine is achieved by playing the preset audio files corresponding to the running mode, so that pedestrians and passing vehicles can be effectively reminded, and the running safety is guaranteed. The internal combustion engine automobile engine can be flexibly simulated to produce sound in various driving modes, so that the sound in each driving mode is more vivid and fits an actual scene, and the sound simulation effect and the applicability are effectively improved.
The method for simulating the automobile engine to sound is based on the embodiment as follows:
as a preferred embodiment, the driving mode is in particular a silent mode, an ignition mode, an idle mode, a forward mode, a reverse mode or a rolling mode.
Specifically, in the method for simulating the automobile engine to sound, six running modes are specifically adopted to describe the running state of the electric automobile. Under different driving modes, the sound of the internal combustion engine automobile engine is different, and corresponding preset audio files need to be manufactured respectively, so that the preset audio files under each driving mode can be attached to the actual scene of the corresponding driving mode in a targeted manner.
As a preferred embodiment, the driving state data includes a gear, a vehicle speed, and an ignition state.
Specifically, the driving state data of the electric vehicle may specifically include three of a gear, a vehicle speed, and an ignition state. The driving state data can be acquired from the automobile communication bus by using the automobile communication protocol chip. Of course, the data transmission on the automobile communication bus adopts a special automobile communication bus protocol, and the automobile communication protocol chip needs to analyze the required driving state data according to the protocol rule.
Please refer to table 1, where table 1 is a characteristic table of the CAN bus data of the vehicle provided by the present application.
TABLE 1
As shown in table 1, each CAN bus data has 8 bytes, and it is possible to determine which type of driving state data the CAN bus data indicates based on the data ID of the data. For the CAN bus data with the ID of 0x3DC, the gear of the electric automobile CAN be determined according to the content of the 5 th byte of the CAN bus data; for the CAN bus data with the ID of 0x30B, the speed of the electric automobile CAN be determined according to the content of the 4 th byte; for the CAN bus data with the ID of 0x108, the ignition state of the electric vehicle CAN be determined according to the content of the 1 st byte of the CAN bus data.
Furthermore, in order to improve the accuracy, when the driving state data, particularly the vehicle speed, is read from the CAN bus data, the same result is read three times in succession and then confirmed, that is, anti-shake processing is performed, so as to prevent the influence of signal mistouching or noise interference on the read result.
As a preferred embodiment, determining the current driving mode of the electric vehicle according to the driving state data includes:
judging whether the ignition state is not ignition;
if so, judging that the current driving mode is a mute mode;
if not, judging whether the ignition state is in ignition;
if the vehicle is in ignition, judging that the current driving mode is an ignition mode;
if not, judging whether the vehicle speed is higher than a first preset vehicle speed threshold value;
if so, judging that the current driving mode is a mute mode;
if not, judging whether the vehicle speed is lower than a second preset vehicle speed threshold value, wherein the second preset vehicle speed threshold value is lower than the first preset vehicle speed threshold value;
if the vehicle speed is lower than a second preset vehicle speed threshold value, judging that the current driving mode is an idle mode;
if the vehicle speed is not lower than a second preset vehicle speed threshold value, judging that the current running mode is a forward mode when the gear is a D gear; when the gear is an R gear, determining that the current driving mode is a reversing mode; and when the gear is P gear or N gear, judging that the current driving mode is a rolling mode.
Specifically, referring to table 2, table 2 shows determination conditions of the respective travel modes provided by the present application.
TABLE 2
As shown in table 2, according to the gear, the speed, and the ignition state of the electric vehicle, the current driving mode of the electric vehicle can be obtained, and then the preset audio file for pairing can be further called according to the driving mode. Wherein, the first preset vehicle speed threshold value can be 20km/h according to legal standard; the second vehicle speed threshold may be 1km/h, etc. It is easy to understand that the engine sound in the mute mode is low, and therefore, the preset audio file corresponding to the mute mode may be embodied as a mute audio file without sound.
As a preferred embodiment, the preset audio file corresponding to the forward mode comprises a plurality of audio file segments, and different audio file segments are used for simulating engine sound at different throttle openings;
the method for simulating the automobile engine to sound provided by the application further comprises the following steps:
acquiring current accelerator opening data of the electric automobile sent by an accelerator opening sensor;
if the current driving mode is the forward driving mode, determining that the preset audio file corresponding to the current driving mode specifically includes:
and determining an audio file segment corresponding to the current accelerator opening data.
It is easy to understand that the sounds of the internal combustion engine automobile engine in the running mode are different when the accelerator opening degree is different, so the method for simulating the automobile engine to sound can further distinguish the sound according to the accelerator opening degree of the electric automobile.
Specifically, the preset audio file corresponding to the forward mode is subdivided into a plurality of audio file segments, and the sound simulated by each audio file segment is the sound of the internal combustion engine and the automobile engine under different accelerator opening degrees. After the current accelerator opening data of the electric automobile is acquired through the accelerator opening sensor, the audio file segment corresponding to the preset audio file can be played.
For example, as an example, assuming that the range of the AD value of the accelerator opening data is 0x0E to 0x7E, the duration of the preset audio file corresponding to the forward mode is 18 seconds, each second being divided into one audio file segment. Referring to table 3, table 3 shows the correspondence between the accelerator opening and the audio file segment.
TABLE 3
As shown in table 3, which segment of the preset audio file is to be played can be determined according to the accelerator opening data of the electric vehicle. For example, if the potential signal detected by the accelerator opening sensor is specifically within the range of 0x0E to 0x14 after being subjected to AD conversion, the corresponding audio file segment is the 2 nd to 3 rd seconds of the preset audio file. Of course, since each audio file segment is short in duration, it can be repeatedly played for a certain period of time during playing.
As a preferred embodiment of the method according to the invention,
a preset audio file corresponding to the ignition mode is generated in advance through recording;
the preset audio files corresponding to the mute mode, the idle mode, the forward mode, the reverse mode and the rolling mode are all generated in advance through software synthesis.
Specifically, the present application specifically combines two ways to generate the preset file. For the preset audio file corresponding to the ignition mode, because the sound in the ignition process of the internal combustion engine is rich and complex, the synthesized sound is difficult to be vivid, and therefore, the preset audio file can be obtained by adopting a method for recording the real ignition sound of the internal combustion engine. Furthermore, since noise interference is introduced during the recording process, a tool such as audio processing software may be used for denoising.
For the preset audio files of other driving modes, because the preset audio files are relatively simple, the preset audio files can be generated by adopting a software synthesis method, so that the noise interference is effectively reduced, and the sound quality is improved.
The following describes a device for simulating the sound of an automobile engine provided by the present application.
Referring to fig. 2, fig. 2 is a block diagram illustrating a device for simulating a car engine to sound; comprises a data acquisition module 21, a mode determination module 22 and a play control module 23;
the data acquisition module 21 is configured to acquire driving state data of the electric vehicle sent by the vehicle communication bus protocol chip;
the mode determining module 22 is used for determining the current driving mode of the electric automobile according to the driving state data;
the playing control module 23 is configured to determine a preset audio file corresponding to the current driving mode, and send a corresponding playing instruction to the audio file player, so that the audio file player plays the preset audio file corresponding to the current driving mode, so as to simulate a creaking sound of an engine of an internal combustion engine vehicle.
Therefore, the device for simulating the automobile engine to sound is preset with a plurality of preset audio files for respectively simulating the sound of the internal combustion engine automobile engine in different running modes, the running mode where the electric automobile is located is obtained by analyzing the running state data of the electric automobile, and the purpose of simulating the sound of the internal combustion engine automobile engine is achieved by playing the preset audio files corresponding to the running mode, so that pedestrians and passing vehicles can be effectively reminded, and the running safety is guaranteed. The internal combustion engine automobile engine can be flexibly simulated to produce sound in various driving modes, so that the sound in each driving mode is more vivid and fits an actual scene, and the sound simulation effect and the applicability are effectively improved.
The following describes a system for simulating a whistling sound of an automobile engine provided by the present application.
Referring to fig. 3, fig. 3 is a block diagram illustrating a system for simulating a car engine to sound; comprises an automobile communication bus protocol chip 31, a microprocessor 32 and an audio file player 33;
the automobile communication bus protocol chip 31 is used for acquiring the driving state data of the electric automobile from the automobile communication bus and sending the driving state data to the microprocessor;
the microprocessor 32 is used for receiving the driving state data, determining the current driving mode of the electric vehicle according to the driving state data, determining a preset audio file corresponding to the current driving mode, and sending a corresponding playing instruction to the audio file player;
the audio file player 33 is configured to store preset audio files corresponding to the respective driving modes, and play the preset audio file corresponding to the current driving mode according to a playing instruction; so as to simulate the sound of an internal combustion engine automobile engine.
It should be added that the audio player 33 may be specifically composed of an MP3 module, an amplifier and a speaker, and the speaker may be flexibly installed outside the body of the electric vehicle for convenient use by using the design of separating the speaker from the MP3 module and the amplifier. The MP3 module is an audio controller commonly used in the art, and can execute operation instructions such as playing, pausing and stopping of a specified audio source. One skilled in the art can also replace the MP3 module with FLASH, and the microprocessor 32 calls up the preset audio file stored in FLASH through the SPI interface and performs DAC conversion and audio playback. The person skilled in the art can select and arrange themselves, which is not limited in this application.
Therefore, the system for simulating the automobile engine to sound is preset with a plurality of preset audio files for respectively simulating the sound of the internal combustion engine automobile engine in different running modes, the running mode where the electric automobile is located is obtained by analyzing the running state data of the electric automobile, and the purpose of simulating the sound of the internal combustion engine automobile engine is achieved by playing the preset audio files corresponding to the running mode, so that pedestrians and passing vehicles can be effectively reminded, and the running safety is guaranteed. The internal combustion engine automobile engine can be flexibly simulated to produce sound in various driving modes, so that the sound in each driving mode is more vivid and fits an actual scene, and the sound simulation effect and the applicability are effectively improved.
The system for simulating the automobile engine to sound is based on the embodiment as follows:
as a preferred embodiment, the driving mode is in particular a mute mode, an ignition mode, an idle mode, a forward mode, a reverse mode or a rolling mode.
As a preferred embodiment of the method according to the invention,
the preset audio file corresponding to the forward mode comprises a plurality of audio file segments, and different audio file segments are used for simulating engine sound at different throttle opening degrees;
the system also comprises an accelerator opening sensor, a microprocessor and a control module, wherein the accelerator opening sensor is used for detecting the current accelerator opening data of the electric automobile and sending the data to the microprocessor;
and if the current driving mode is the forward driving mode, the microprocessor is specifically configured to determine the audio file segment corresponding to the current accelerator opening data.
The specific implementation of the device and the system for simulating the automobile engine to sound and the method for simulating the automobile engine to sound described above are referred to correspondingly, and are not described herein again.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
It is further noted that, throughout this document, relational terms such as "first" and "second" are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The technical solutions provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
Claims (10)
1. A method for simulating a ringing sound of an automobile engine, comprising:
acquiring driving state data of the electric automobile sent by an automobile communication bus protocol chip;
determining the current driving mode of the electric automobile according to the driving state data;
and determining a preset audio file corresponding to the current running mode, and sending a corresponding playing instruction to an audio file player to enable the audio file player to play the preset audio file corresponding to the current running mode so as to simulate the internal combustion engine automobile engine to sound.
2. Method according to claim 1, characterized in that the driving mode is in particular a silent mode, an ignition mode, an idle mode, a forward mode, a reverse mode or a rolling mode.
3. The method of claim 2, wherein the driving state data includes gear, vehicle speed, and spark status.
4. The method of claim 3, wherein the determining the current driving mode of the electric vehicle from the driving state data comprises:
judging whether the ignition state is not ignited;
if so, judging that the current driving mode is the mute mode;
if not, judging whether the ignition state is in ignition;
if the vehicle is in ignition, judging that the current running mode is the ignition mode;
if not, judging whether the vehicle speed is higher than a first preset vehicle speed threshold value;
if so, judging that the current driving mode is the mute mode;
if not, judging whether the vehicle speed is lower than a second preset vehicle speed threshold value which is lower than the first preset vehicle speed threshold value;
if the vehicle speed is lower than the second preset vehicle speed threshold value, determining that the current driving mode is the idle mode;
if the vehicle speed is not lower than the second preset vehicle speed threshold value, judging that the current running mode is the forward mode when the gear is a D gear; when the gear is an R gear, determining that the current driving mode is the reversing mode; and when the gear is P gear or N gear, determining that the current driving mode is the rolling mode.
5. The method of claim 2,
the preset audio file corresponding to the forward mode comprises a plurality of audio file segments, and different audio file segments are used for simulating engine sound at different throttle opening degrees;
the method further comprises the following steps:
acquiring current accelerator opening data of the electric automobile sent by an accelerator opening sensor;
if the current driving mode is the forward driving mode, the determining the preset audio file corresponding to the current driving mode specifically includes:
and determining the audio file segment corresponding to the current accelerator opening data.
6. The method according to any one of claims 2 to 5,
the preset audio file corresponding to the ignition mode is generated in advance through recording;
and the preset audio files corresponding to the mute mode, the idle mode, the forward mode, the reverse mode and the rolling mode are all generated by software synthesis in advance.
7. A device for simulating the sound of an electric automobile engine is characterized by comprising:
a data acquisition module: the system comprises a bus communication protocol chip, a data acquisition module, a data processing module and a data processing module, wherein the bus communication protocol chip is used for acquiring driving state data of the electric automobile sent by the bus communication protocol chip;
a mode determination module: the system is used for determining the current running mode of the electric automobile according to the running state data;
the playing control module: the system is used for determining a preset audio file corresponding to the current running mode, and sending a corresponding playing instruction to an audio file player to enable the audio file player to play the preset audio file corresponding to the current running mode so as to simulate an internal combustion engine automobile engine to sound.
8. A system for simulating a chime in an electric vehicle engine, comprising:
automobile communication bus protocol chip: the system comprises a microprocessor, a vehicle communication bus and a vehicle control system, wherein the vehicle communication bus is used for acquiring driving state data of the electric vehicle and sending the driving state data to the microprocessor;
the microprocessor: the system comprises a running state data acquisition unit, a preset audio file player and a display unit, wherein the running state data acquisition unit is used for acquiring running state data of the electric automobile;
an audio file player: the system comprises a running mode storage unit, a playing instruction unit and a display unit, wherein the running mode storage unit is used for storing the preset audio files corresponding to the running modes respectively and playing the preset audio files corresponding to the current running mode according to the playing instruction; so as to simulate the sound of an internal combustion engine automobile engine.
9. The system according to claim 8, characterized in that the driving mode is in particular a silent mode, an ignition mode, an idle mode, a forward mode, a reverse mode or a rolling mode.
10. The system of claim 9,
the preset audio file corresponding to the forward mode comprises a plurality of audio file segments, and different audio file segments are used for simulating engine sound at different throttle opening degrees;
the system also comprises an accelerator opening sensor, a microprocessor and a control module, wherein the accelerator opening sensor is used for detecting the current accelerator opening data of the electric automobile and sending the data to the microprocessor;
and if the current driving mode is the forward driving mode, the microprocessor is specifically configured to determine the audio file segment corresponding to the current accelerator opening data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810921973.7A CN110816399A (en) | 2018-08-14 | 2018-08-14 | Method, device and system for simulating automobile engine to sound |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810921973.7A CN110816399A (en) | 2018-08-14 | 2018-08-14 | Method, device and system for simulating automobile engine to sound |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110816399A true CN110816399A (en) | 2020-02-21 |
Family
ID=69547191
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810921973.7A Pending CN110816399A (en) | 2018-08-14 | 2018-08-14 | Method, device and system for simulating automobile engine to sound |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110816399A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111746396A (en) * | 2020-06-28 | 2020-10-09 | 中国第一汽车股份有限公司 | Method for analyzing engine speed change of internal combustion engine automobile and active sound production system |
| CN111813368A (en) * | 2020-07-27 | 2020-10-23 | 上海摩勤智能技术有限公司 | A system, method, device and storage medium for simulating sound from a sound-emitting device |
| CN114280512A (en) * | 2021-12-10 | 2022-04-05 | 上海艾为电子技术股份有限公司 | Single Hall Sensor Devices and Electronics |
| CN114954225A (en) * | 2021-07-27 | 2022-08-30 | 长城汽车股份有限公司 | Method, device and system for generating sound effect outside vehicle, storage medium and vehicle |
| CN115848268A (en) * | 2021-09-23 | 2023-03-28 | 上海汽车集团股份有限公司 | Method and device for intelligently reminding vehicle |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN202507997U (en) * | 2011-10-21 | 2012-10-31 | 上海汽车集团股份有限公司 | Sounding device out of automobile |
| CN105235592A (en) * | 2015-11-02 | 2016-01-13 | 内蒙古包钢钢联股份有限公司 | Lifting alarm device for dump truck |
| US20160016087A1 (en) * | 2014-07-16 | 2016-01-21 | Traxxas Lp | On-board audio system for a model vehicle |
| JP2017223154A (en) * | 2016-06-15 | 2017-12-21 | マツダ株式会社 | Control device for vehicle |
| CN207251894U (en) * | 2017-10-18 | 2018-04-17 | 会听声学科技(北京)有限公司 | A kind of active sound-producing device of electric automobile simulation conventional engines |
-
2018
- 2018-08-14 CN CN201810921973.7A patent/CN110816399A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN202507997U (en) * | 2011-10-21 | 2012-10-31 | 上海汽车集团股份有限公司 | Sounding device out of automobile |
| US20160016087A1 (en) * | 2014-07-16 | 2016-01-21 | Traxxas Lp | On-board audio system for a model vehicle |
| CN105235592A (en) * | 2015-11-02 | 2016-01-13 | 内蒙古包钢钢联股份有限公司 | Lifting alarm device for dump truck |
| JP2017223154A (en) * | 2016-06-15 | 2017-12-21 | マツダ株式会社 | Control device for vehicle |
| CN207251894U (en) * | 2017-10-18 | 2018-04-17 | 会听声学科技(北京)有限公司 | A kind of active sound-producing device of electric automobile simulation conventional engines |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111746396A (en) * | 2020-06-28 | 2020-10-09 | 中国第一汽车股份有限公司 | Method for analyzing engine speed change of internal combustion engine automobile and active sound production system |
| CN111813368A (en) * | 2020-07-27 | 2020-10-23 | 上海摩勤智能技术有限公司 | A system, method, device and storage medium for simulating sound from a sound-emitting device |
| CN114954225A (en) * | 2021-07-27 | 2022-08-30 | 长城汽车股份有限公司 | Method, device and system for generating sound effect outside vehicle, storage medium and vehicle |
| CN115848268A (en) * | 2021-09-23 | 2023-03-28 | 上海汽车集团股份有限公司 | Method and device for intelligently reminding vehicle |
| CN114280512A (en) * | 2021-12-10 | 2022-04-05 | 上海艾为电子技术股份有限公司 | Single Hall Sensor Devices and Electronics |
| CN114280512B (en) * | 2021-12-10 | 2024-05-10 | 上海艾为电子技术股份有限公司 | Single Hall Sensor Device and Electronics |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110816399A (en) | Method, device and system for simulating automobile engine to sound | |
| RU2490726C2 (en) | Device for relaxation in driving | |
| CN103895567A (en) | Method and device for sound simulation and sound production of electric vehicle | |
| JP2011215436A (en) | Sound control device, vehicle, program and information storage medium | |
| JP2011213273A (en) | Sound control device, vehicle, program, and information storage medium | |
| KR102126668B1 (en) | Apparatus and method for controlling virtual engine sound in responding to autocruise speed settings | |
| JP2000001142A (en) | Engine mock sound generator for vehicle | |
| CN108263272A (en) | Speech simulation implementation method, device, sound simulator and vehicle | |
| KR100922458B1 (en) | Musical sound generating vehicular apparatus, musical sound generating method and computer readable recording medium having program | |
| GB2476470A (en) | Producing an audible signal representative of the rotational speed and load of a vehicles internal combustion engine | |
| CN116424216B (en) | Vehicle external sounding control system and method | |
| CN108621931A (en) | Automotive throttle accelerates the method and system of matching engine voice | |
| CN107310466A (en) | Pedestrian's alarming method for power, apparatus and system | |
| JP2001282263A (en) | Exhaust sound generator of motor operated automobile | |
| CN207251894U (en) | A kind of active sound-producing device of electric automobile simulation conventional engines | |
| CN118700855A (en) | Motor control method, device, vehicle and storage medium | |
| US20230211729A1 (en) | Sound Generator for Electric Vehicles | |
| US11919446B2 (en) | Apparatus and method for generating sound of electric vehicle | |
| CN202507997U (en) | Sounding device out of automobile | |
| CN114475423B (en) | Audio play control method and device and computer storage medium | |
| KR20140057229A (en) | Apparatus and method for driving sound effects of a vehicle | |
| CN116811728A (en) | Devices and methods for generating virtual sounds | |
| JP2019137378A (en) | Speed presentation method and vehicle | |
| KR200431875Y1 (en) | A device for implementing various virtual engine sound effects of a car. | |
| CN109640228B (en) | Data processing method and electronic equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200221 |