Engine sound effect simulation method and device suitable for electric vehicle

By installing analog engine sound effects equipment on the electric bicycle, using the electric vehicle operation simulation signal to judge the vehicle status and play corresponding sound effects, the problem of electric two-wheeled vehicles lacking effective warning sounds when driving at low speeds is solved, and more efficient traffic safety warnings are achieved.

CN120018019APending Publication Date: 2025-05-16SHENZHEN KUWAIZHILIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510073357.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

The lack of effective warning sounds when driving at low speeds makes it difficult for pedestrians to detect the vehicle approaching, increasing the risk of traffic accidents.

Method used

Install analog engine sound effects equipment on the electric bicycle, judge the vehicle status through the electric vehicle operation simulation signal, and play the corresponding analog engine sound effects to ensure that the prompt sound is continuously played during low speed driving, and adjust the volume and frequency of the sound effects according to the speed changes.

Benefits of technology

By playing the simulated engine sound effects throughout the whole process, the warning effect of the electric bicycle when driving at low speeds is improved, the awareness of pedestrians is enhanced, and the risk of traffic accidents is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120018019A_ABST
    Figure CN120018019A_ABST
Patent Text Reader

Abstract

The invention provides an engine sound effect simulation method and device suitable for an electric vehicle, and belongs to the technical field of audio processing. The engine sound effect simulation method suitable for the electric vehicle comprises the following steps: receiving an electric vehicle operation simulation signal, and processing the electric vehicle operation simulation signal into a digital signal; continuously sampling a set number of times, and storing in a memory; the running signal value A is taken out by the storage and compared with the last running signal value B, the state of the electric vehicle is judged according to the difference value between the running signal value A and the last running signal value B, and the state of the electric vehicle comprises starting, deceleration, acceleration and / or the maximum speed; playing an engine sound effect corresponding to the user operation according to the state of the electric vehicle; and judging whether the vehicle is powered off, and if so, shutting down. The method has the advantages that the playing frequency and volume of the sound effect of the engine are controlled according to the size of the current electric vehicle operation analog signal, the most intuitive hearing effect is provided for passersby, and the warning effect is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of audio data processing, and in particular to a method for simulating engine sound effects suitable for electric vehicles, and also to a method for implementing the method and device for simulating engine sound effects. Background Art

[0002] When electric vehicles (pure electric vehicles, electric two-wheelers, etc.) are traveling at low speeds, the average exterior noise is significantly lower than that of traditional internal combustion engine vehicles, making it difficult for other road users, including pedestrians, bicycles, etc., especially the blind and visually impaired, to notice the approach of the vehicle, which can easily lead to traffic accidents.

[0003] Electric vehicles have formulated the "Electric Vehicle Low-Speed ​​Warning Tone" (GB / T 37153-2018) for this situation and implemented it on electric vehicles. However, there are no relevant standards for electric two-wheelers when driving at low speeds, and there are still serious safety hazards. The "Electric Bicycle Safety Technical Specification" (GB 17761-2018) adopted by electric two-wheelers stipulates that after exceeding 15km / h, a 700ms warning tone must be played in a 3-second cycle, and the volume of the warning tone is about 60 decibels. After calculation, an electric bicycle can travel 12.5 meters in 3 seconds at a minimum speed of 15km / h. However, playing a warning tone of only 60 decibels every 12.5 meters cannot serve as an effective warning. Summary of the invention

[0004] In order to solve the problems in the prior art, the present invention installs a simulated engine sound device on an electric bicycle, and based on the simulated engine sound device, implements a simulated engine sound method suitable for electric vehicles, thereby alleviating the problem of safety accidents caused by the electric bicycle being too quiet during driving.

[0005] The present invention is applicable to a method for simulating engine sound effects of an electric vehicle, comprising the following steps:

[0006] S1: Turn on the electric vehicle power supply;

[0007] S2: Receives the electric vehicle running analog signal and processes it into a digital signal;

[0008] S3: Continuously sample the set number of times and store it in the memory;

[0009] S4: taking out the operation signal value A from the memory, comparing it with the previous operation signal value B, and judging the state of the electric vehicle according to the difference between the two, wherein the state of the electric vehicle includes starting, deceleration, acceleration and / or maximum speed;

[0010] S5: Playing engine sound effects corresponding to the user operation according to the state of the electric vehicle;

[0011] S6: Determine whether the vehicle is powered off, if so, shut down, if not, return to step S2.

[0012] Furthermore, step S2 also includes acquiring vehicle posture data, and in step S4, acquiring the vehicle's operating state based on the difference in operating signal values ​​and the vehicle's posture, wherein the vehicle's operating state includes turning, overtaking and / or giving way.

[0013] Furthermore, after step S1 is executed, it also includes playing a start-up sound effect and waiting for a command signal from the user to start the electric vehicle.

[0014] Furthermore, the method for simulating engine sound effects for electric vehicles is implemented by a simulated engine sound effect device installed on an electric bicycle. In step S1, when the electric vehicle is powered on, the simulated engine sound effect device is powered on. In step S2, the simulated engine sound effect device processes the simulated signal of the electric vehicle as follows:

[0015] After receiving the electric vehicle operation simulation signal, the electric vehicle operation simulation signal is reduced to 0-3.3V through a voltage divider circuit, and then output to the main control MCU of the simulation engine sound device. The main control MCU performs analog-to-digital conversion, converts it into program variables, and then stores it in the memory.

[0016] Furthermore, in step S4, the state of the electric vehicle is determined by:

[0017] Determine whether the last sampling value B is 0, if yes, determine whether the value of the current sampling value A is increasing, if no, determine that the electric vehicle is not moving, and if yes, determine that the electric vehicle is in the starting state;

[0018] If the last sampling value B is not 0, determine whether the value of sampling value A is decreasing. If so, it is in a deceleration state. If not, determine whether the value is increasing.

[0019] If the value of the sampling value A does not increase, it is determined that the electric vehicle has not changed its state, and the simulated engine sound device is not adjusted. If the value of the sampling value A is increasing, it is determined whether it has reached the maximum value. If so, it is in the maximum speed state, if not, it is in the acceleration state.

[0020] Furthermore, the electric vehicle operation simulation signal includes a throttle simulation signal and a driving speed signal.

[0021] The present invention also provides an engine sound effect simulation device for implementing the engine sound effect simulation method applicable to electric vehicles, comprising a power module, a main control MCU, a power amplifier module, a speaker and a memory, wherein:

[0022] The power module is powered by the power supply of the electric vehicle and supplies power to the entire simulated engine sound effect device;

[0023] The main control MCU is provided with a signal acquisition processing unit, an AI user behavior recognition unit, an audio sound effect processing unit, an audio decoder, an audio data fusion unit, and an audio player. The signal acquisition processing unit is used to collect the electric vehicle operation simulation signal and then output it to the AI ​​user behavior recognition unit. The AI ​​user behavior recognition unit is used to identify the state of the electric vehicle. The input end of the audio decoder is connected to the output end of the memory. The input end of the audio sound effect processing unit is respectively connected to the output end of the audio decoder and the output end of the AI ​​user behavior recognition unit, and is used to process the audio file in the memory according to the state of the electric vehicle and then send it to the audio data fusion unit. The input end of the audio data fusion unit is respectively connected to the output end of the AI ​​user behavior recognition unit and the output end of the audio data fusion unit, and is used to fuse and process a plurality of audio data according to the state of the electric vehicle and then output them to the audio player. The output end of the audio player is connected to the input end of the audio power amplifier module, and the output end of the audio power amplifier module is connected to the input end of the speaker to play the engine sound effect corresponding to the state of the electric vehicle. The memory is used to store the audio file simulating the engine sound effect and the configuration parameters of the sound effect.

[0024] Furthermore, the audio and sound effect processing unit can simultaneously perform speed and tone change processing to different degrees on multiple sets of audio data according to the state of the electric vehicle, and all audio data will be transmitted to the audio data fusion module for further processing.

[0025] The audio data fusion unit performs weighted fusion on multiple groups of audio data that have been processed with speed and modulation according to the state of the electric vehicle, merges them into one group of audio data, and then transmits them to the audio player for decoding and playback. The audio data fusion unit achieves a smooth transition effect by adjusting the parameters of each group of audio.

[0026] The present invention also provides another simulation engine sound effect device, comprising: a power module, a main control MCU, a power amplifier module, a speaker and a memory, wherein:

[0027] The power module is powered by the power supply of the electric vehicle and supplies power to the entire simulated engine sound effect device;

[0028] The main control MCU is provided with a signal acquisition processing unit, an AI user behavior recognition unit, an audio sound effect processing unit, an audio decoder, and several audio players. The signal acquisition processing unit is used to collect the electric vehicle operation simulation signal, and then output it to the AI ​​user behavior recognition unit. The AI ​​user behavior recognition unit is used to identify the state of the electric vehicle. The input end of the audio decoder is connected to the output end of the memory. The output end of the audio decoder outputs different audio signals to the subsequent audio players one by one. The multi-channel audio decoder is used to adjust the speed, pitch and volume parameters of the audio signal, and then outputs them uniformly to the power amplifier module. The output end of the audio power amplifier module is connected to the input end of the speaker to play the engine sound effect corresponding to the state of the electric vehicle. The memory is used to store the audio file simulating the engine sound effect and the configuration parameters of the sound effect

[0029] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention uses the electric vehicle operation simulation signal such as the throttle handle of the electric two-wheeled vehicle as the judgment condition, and controls the frequency and volume of the engine sound effect according to the size of the current electric vehicle operation simulation signal, giving passers-by the most intuitive auditory effect to play a warning role. The main innovations of the present invention are as follows:

[0030] 1. The installation is simple, and no major changes are required to the electric bicycle. It can be used after installation, and the prompt tone can be played throughout the whole process. When electric vehicles are driving at high speeds, the motor can generate enough current sound to alert people nearby, so the prompt tone of electric vehicles is only enabled at low speeds. Electric two-wheelers are different from electric vehicles. Because the speed of electric two-wheelers is slower than that of cars, the motor cannot generate enough noise to alert people, so electric two-wheelers need to play prompt sounds throughout the whole process, and they need to change according to the speed. The faster the speed, the more obvious the prompt tone needs to be, so that people who are farther away can also know that the vehicle is approaching, improving traffic safety;

[0031] 2. Uses simulated car engine sound effects. The prompt sound currently used on electric two-wheelers is required by the "Electric Bicycle Safety Technical Specifications" (GB 17761-2018). After exceeding 15km / h, a 60-decibel prompt sound of 700ms is played with a period of 3s. The present invention continuously plays the sound effects of simulated car engines, and according to the throttle control, plays a slow engine sound of about 50 decibels when driving at low speeds, and plays a rapid engine sound of more than 70 decibels when driving at high speeds. During the speed change process, the sound effect, sound effect speed, and volume will be smoothly transitioned, so that other road users can feel the speed change of the current vehicle;

[0032] 3. Original signal analysis mechanism. The present invention can accurately identify the user's behavior based on the user's operation of the throttle, and analyze the user's current state, such as starting, accelerating, decelerating, etc. In addition, it can also cooperate with the sensors on the vehicle to analyze the overtaking, giving way and other states, and will affect the performance of the sound effect according to different situations. The audio signal played by the electric bicycle can give pedestrians a more intuitive and immersive warning effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the present invention or the solutions in the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0034] Figure 1 This is a flow chart of an embodiment of a method for simulating engine sound effects of the present invention;

[0035] Figure 2 This is a structural block diagram of an embodiment of the engine sound effect simulation device of the present invention;

[0036] Figure 3 This is a flow chart of the electric vehicle state judgment based on the throttle signal of the present invention. DETAILED DESCRIPTION

[0037] Unless otherwise defined, all technical and scientific terms used in the present invention have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs; the terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention; the terms "including" and "having" and any variations thereof in the specification and claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present invention or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0038] Reference to "embodiments" in the present invention means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it mutually exclusive, independent, or alternative to other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in the present invention may be combined with other embodiments.

[0039] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings.

[0040] The present invention is applicable to a method for simulating engine sound effects of an electric vehicle, comprising the following steps:

[0041] S1: Turn on the electric vehicle power supply;

[0042] S2: Receives the electric vehicle running analog signal and processes it into a digital signal;

[0043] S3: Continuously sample the set number of times and store it in the memory;

[0044] S4: taking out the operation signal value A from the memory, comparing it with the previous operation signal value B, and judging the state of the electric vehicle according to the difference between the two, wherein the state of the electric vehicle includes starting, deceleration, acceleration and / or maximum speed;

[0045] S5: Playing engine sound effects corresponding to the user operation according to the state of the electric vehicle;

[0046] S6: Determine whether the vehicle is powered off, if so, shut down, if not, return to step S2.

[0047] The electric vehicle operation simulation signal of this example includes the throttle signal of the electric vehicle, the driving speed of the electric vehicle, etc. This example can obtain the starting, deceleration, acceleration and / or maximum speed stage of the electric vehicle through the throttle signal or the driving speed. Preferably, this example can also cooperate with other sensors to obtain vehicle posture data, such as acceleration sensors, running angle sensors, etc., so as to expand the recognition of the vehicle's running state, such as turning, overtaking, giving way, etc., so that the engine sound effects simulated by the present invention are more accurate and realistic, and cover a wider range of application scenarios.

[0048] like Figure 2 As shown, as an embodiment of the present method, this example is mainly implemented based on a simulated engine sound device installed on an electric bicycle, the power supply of the simulated engine sound device is directly supplied by the power supply of the electric bicycle, and the electric vehicle operation simulation signal is the throttle signal of the electric vehicle.

[0049] In step S1, when the electric vehicle is powered on, the simulated engine sound device is powered on. After step S1 of the present invention is executed, it also includes playing a startup sound effect, waiting for the startup sound effect to end, and waiting for a command signal from the user to start the electric vehicle.

[0050] When the user turns the throttle of the electric vehicle, the simulated engine sound device can play the engine sound of the corresponding speed and obtain the throttle signal in real time. By sampling, it analyzes the state of the electric vehicle, and then determines the current user behavior, and then plays the sound effect corresponding to the user operation.

[0051] The simulated engine sound device (hereinafter referred to as the device) in this example needs to be installed on the electric bicycle and electrically connected to the power supply and throttle signal of the electric bicycle. The installation steps of this example are as follows:

[0052] 1. Install the device at any position on the electric vehicle and fix it with screws;

[0053] 2. Connect the power cord of the device, connect the positive pole to the vehicle's electric door lock wire, and the negative pole to the GND ground wire;

[0054] 3. Connect the throttle signal line of the device to the throttle handle of the vehicle;

[0055] 4. Turn on the vehicle's main power supply, press and hold the device's function button to power on, and enter the throttle calibration mode. In the throttle calibration mode, turn the throttle within 3 seconds to complete the calibration;

[0056] 6. After the vehicle is on the road normally, you can play the simulated engine sound effects by turning the accelerator.

[0057] Install the device according to the above steps. The next time you use the vehicle, the device will start up and start playing simulated engine sound effects when the vehicle is powered on. When driving on the road, the user turns the accelerator handle and the device will play simulated engine sound effects at the corresponding speed. The sound is low and slow at low speeds, and the sound is sharp and loud at high speeds.

[0058] like Figure 2 As shown, the system framework of this example is mainly realized by the cooperation of an electric bicycle and a device for simulating engine sound effects. The electric bicycle part mainly provides power and throttle signals. The device is used to simulate engine sound effects and includes a power module, a main control MCU, an amplifier module, a speaker and a memory. The functions of each component are as follows:

[0059] Power module: The power supply of the electric vehicle is stepped down through DC-DC and provides stable power supply to the internal equipment. The voltage input range is 24V to 80V, which is stepped down to 12V and 5V. 12V is used to power the power amplifier module, and 5V is used to power the main control MCU.

[0060] Flash memory: stores audio files of simulation engine sound effects and configuration parameters of sound effects;

[0061] Main control MCU: reads the throttle signal transmitted by the electric vehicle, processes the throttle signal through an algorithm, and synthesizes an audio file with infinitely variable speed through dynamic synthesis technology, and uses a player to play the sound file and output the audio signal to the power amplifier module;

[0062] Amplifier module: receives the audio signal transmitted by the main control MCU and drives the speaker to play the sound;

[0063] Speaker: Plays synthesized simulated engine sound effects.

[0064] The main control MCU of this example is provided with a signal acquisition processing unit, an AI user behavior recognition unit, an audio sound effect processing unit, an audio decoder, an audio data fusion unit, and an audio player. The signal acquisition processing unit is used to collect the electric vehicle operation simulation signal and then output it to the AI ​​user behavior recognition unit. The AI ​​user behavior recognition unit is used to identify the state of the electric vehicle. The input end of the audio decoder is connected to the output end of the memory. The input end of the audio sound effect processing unit is respectively connected to the output end of the audio decoder and the output end of the AI ​​user behavior recognition unit, and is used to process the audio file in the memory according to the state of the electric vehicle and then send it to the audio data fusion unit. The input end of the audio data fusion unit is respectively connected to the output end of the AI ​​user behavior recognition unit and the output end of the audio data fusion unit, and is used to fuse and process a number of audio data according to the state of the electric vehicle and then output it to the audio player. The output end of the audio player is connected to the input end of the audio power amplifier module, and the output end of the audio power amplifier module is connected to the input end of the speaker to play the engine sound effect corresponding to the state of the electric vehicle.

[0065] The audio and sound effect processing unit in this example can simultaneously perform different degrees of speed and tone processing on multiple sets of audio data according to the state of the electric vehicle. All audio data will be transmitted to the audio data fusion module for further processing.

[0066] The audio data fusion unit performs weighted fusion on multiple groups of audio data that have been processed with speed and modulation according to the state of the electric vehicle, merges them into a new group of audio data, and then transmits them to the audio player for decoding and playback. The audio data fusion unit achieves a smooth transition effect by adjusting the parameters of each group of audio.

[0067] The audio player decodes the audio data and outputs it as an analog audio signal, which is then output to the power amplifier module and then played out through the speaker.

[0068] like Figure 3 As shown, in step S2, the process of the simulated engine sound device processing the simulated signal of the electric vehicle operation is as follows:

[0069] After receiving the throttle analog signal of the electric vehicle, the electric vehicle operation analog signal is reduced to 0-3.3V through a voltage divider circuit, and then output to the main control MCU of the simulated engine sound device. The main control MCU performs analog-to-digital conversion, converts it into program variables, and then stores it in the memory.

[0070] In step S4, the state of the electric vehicle is determined by:

[0071] Determine whether the last sampling value B is 0, if yes, determine whether the value of the current sampling value A is increasing, if no, determine that the electric vehicle is not moving, and if yes, determine that the electric vehicle is in the starting state;

[0072] If the last sampling value B is not 0, determine whether the value of sampling value A is decreasing. If so, it is in a deceleration state. If not, determine whether the value is increasing.

[0073] If the value of the sampling value A does not increase, it is determined that the electric vehicle has not changed its state, and the simulated engine sound device is not adjusted. If the value of the sampling value A is increasing, it is determined whether it has reached the maximum value. If so, it is in the maximum speed state, if not, it is in the acceleration state.

[0074] The signal processing mechanism of the present invention uses a multi-sampling method to obtain basic data, and uses multiple condition judgments to accurately judge the user's intention. The invention adds three dimensions to the existing technology: starting stage, acceleration and deceleration judgment, and whether it is the maximum speed. The addition of three dimensions can make the sound effect more realistic, allowing users and pedestrians to more accurately understand the current status of the vehicle and the operator's intention.

[0075] The present invention uses multi-audio merging technology. An engine sound effect uses multiple audios with different frequencies. Each audio has a corresponding playback speed and volume curve. Through audio sound effect processing technology, the playback speed and volume of each audio are controlled during driving, and they are merged together to obtain a continuously variable simulated engine sound effect file. The number of audios can be increased or decreased according to demand, so that different states can be more comprehensively reflected.

[0076] Of course, the AI ​​user behavior recognition unit of the present invention can also determine the user's current driving status by multiple sampling records and tracking the change curve of the throttle signal. For example, when the throttle has not been turned for a long time, a full throttle signal is suddenly received, and it is judged that the vehicle is starting; when the throttle signal increases slowly, it is judged to be accelerating; when the throttle gradually decreases, it is judged to be decelerating, etc.

[0077] As another embodiment of the present invention, this example can achieve the same effect by starting multiple audio playback modules and setting the speed, pitch, and volume parameters of each audio playback module. Specifically, the simulation engine sound effect device of this example includes a power module, a main control MCU, an amplifier module, a speaker, and a memory, wherein:

[0078] The main control MCU is provided with a signal acquisition processing unit, an AI user behavior recognition unit, an audio sound effect processing unit, an audio decoder, and several audio players. The signal acquisition processing unit is used to collect the electric vehicle operation simulation signal, and then output it to the AI ​​user behavior recognition unit. The AI ​​user behavior recognition unit is used to identify the state of the electric vehicle. The input end of the audio decoder is connected to the output end of the memory. The output end of the audio decoder outputs different audio signals to the subsequent audio players one by one. The multi-channel audio decoder is used to adjust the speed, pitch and volume parameters of the audio signal, and then output them uniformly to the power amplifier module. The output end of the audio power amplifier module is connected to the input end of the speaker to play the engine sound effect corresponding to the state of the electric vehicle. The memory is used to store the audio file simulating the engine sound effect and the configuration parameters of the sound effect.

[0079] Of course, as the third embodiment of the present invention, this example may not set up a separate simulated engine sound effect device, but instead install signal analysis software in the system of the electric bicycle, and then use the simulated engine sound effect method of the present invention to output an audio signal of the simulated engine sound to sound the horn of the electric bicycle.

[0080] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention uses the electric vehicle operation simulation signal such as the throttle handle of the electric two-wheeled vehicle as a judgment condition, and controls the frequency and volume of the engine sound effect playback according to the size of the current electric vehicle operation simulation signal, giving passers-by the most intuitive auditory effect, so as to play a warning role and improve the safety of electric bicycles on the road.

[0081] The main innovative points of the present invention are as follows:

[0082] 1. The installation is simple, and no major changes are required to the electric bicycle. It can be used after installation, and the prompt tone can be played throughout the whole process. When electric vehicles are driving at high speeds, the motor can generate enough current sound to alert people nearby, so the prompt tone of electric vehicles is only enabled at low speeds. Electric two-wheelers are different from electric vehicles. Because the speed of electric two-wheelers is slower than that of cars, the motor cannot generate enough noise to alert people, so electric two-wheelers need to play prompt sounds throughout the whole process, and they need to change according to the speed. The faster the speed, the more obvious the prompt tone needs to be, so that people who are farther away can also know that the vehicle is approaching, improving traffic safety;

[0083] 2. Uses simulated car engine sound effects. The prompt sound currently used on electric two-wheelers is required by the "Electric Bicycle Safety Technical Specifications" (GB 17761-2018). After exceeding 15km / h, a 60-decibel prompt sound of 700ms is played with a period of 3s. The present invention continuously plays the sound effects of simulated car engines, and according to the throttle control, plays a slow engine sound of about 50 decibels when driving at low speeds, and plays a rapid engine sound of more than 70 decibels when driving at high speeds. During the speed change process, the sound effect, sound effect speed, and volume will be smoothly transitioned, so that other road users can feel the speed change of the current vehicle;

[0084] 3. Original signal analysis mechanism. The present invention can accurately identify the user's behavior based on the user's operation of the throttle, and analyze the user's current state, such as starting, accelerating, decelerating, etc. In addition, it can also cooperate with the sensors on the vehicle to analyze the overtaking, giving way and other states, and will affect the performance of the sound effect according to different situations. The audio signal played by the electric bicycle can give pedestrians a more intuitive and immersive warning effect.

[0085] The specific implementation modes described above are preferred implementation modes of the present invention, and are not intended to limit the specific implementation scope of the present invention. The scope of the present invention includes but is not limited to the specific implementation modes, and all equivalent changes made according to the present invention are within the protection scope of the present invention.

Claims

1. A method for simulating engine sound effects for electric vehicles, characterized in that: The steps include: S1: Turn on the power of the electric vehicle; S2: Receives the electric vehicle running analog signal and processes it into a digital signal; S3: Continuously sample the set number of times and store it in the memory; S4: taking out the operation signal value A from the memory, comparing it with the previous operation signal value B, and judging the state of the electric vehicle according to the difference between the two, wherein the state of the electric vehicle includes starting, deceleration, acceleration and / or maximum speed; S5: Playing engine sound effects corresponding to the user operation according to the state of the electric vehicle; S6: Determine whether the vehicle is powered off, if so, shut down, if not, return to step S2.

2. The method for simulating engine sound effects for electric vehicles according to claim 1, characterized in that: Step S2 also includes acquiring vehicle posture data. In step S4, the operating state of the vehicle is acquired based on the difference in the operating signal value and the vehicle posture. The operating state of the vehicle includes turning, overtaking and / or giving way.

3. The method for simulating engine sound effects for electric vehicles according to claim 1, characterized in that: After step S1 is executed, the process also includes playing a start-up sound effect and waiting for a command signal from a user to start the electric vehicle.

4. The method for simulating engine sound effects for electric vehicles according to claim 1, characterized in that: The method for simulating engine sound effects for electric vehicles is implemented by installing a simulated engine sound effect device on an electric bicycle. In step S1, when the electric vehicle is powered on, the simulated engine sound effect device is powered on. In step S2, the simulated engine sound effect device processes the simulated signal of the electric vehicle as follows: After receiving the electric vehicle operation simulation signal, the electric vehicle operation simulation signal is reduced to 0-3.3V through a voltage divider circuit, and then output to the main control MCU of the simulation engine sound device. The main control MCU performs analog-to-digital conversion, converts it into program variables, and then stores it in the memory.

5. The method for simulating engine sound effects for electric vehicles according to claim 4, characterized in that: In step S4, the state of the electric vehicle is determined by: Determine whether the last sampling value B is 0, if yes, determine whether the value of the current sampling value A is increasing, if no, determine that the electric vehicle is not moving, and if yes, determine that the electric vehicle is in the starting state; If the last sampling value B is not 0, determine whether the value of sampling value A is decreasing. If so, it is in a deceleration state. If not, determine whether the value is increasing. If the value of the sampling value A does not increase, it is determined that the electric vehicle has not changed its state, and the simulated engine sound device is not adjusted. If the value of the sampling value A is increasing, it is determined whether it has reached the maximum value. If so, it is in the maximum speed state, if not, it is in the acceleration state.

6. The method for simulating engine sound effects for electric vehicles according to claim 5, characterized in that: The electric vehicle operation simulation signal includes a throttle simulation signal and a running speed signal.

7. A device for simulating engine sound effects, used to implement the method for simulating engine sound effects applicable to electric vehicles as claimed in any one of claims 1 to 6, characterized in that: include: Power module, main control MCU, power amplifier module, speaker and memory, among which, The power module is powered by the power supply of the electric vehicle and supplies power to the entire simulated engine sound effect device; The main control MCU is provided with a signal acquisition processing unit, an AI user behavior recognition unit, an audio sound effect processing unit, an audio decoder, an audio data fusion unit, and an audio player. The signal acquisition processing unit is used to collect the electric vehicle operation simulation signal and then output it to the AI ​​user behavior recognition unit. The AI ​​user behavior recognition unit is used to identify the state of the electric vehicle. The input end of the audio decoder is connected to the output end of the memory. The input end of the audio sound effect processing unit is respectively connected to the output end of the audio decoder and the output end of the AI ​​user behavior recognition unit, and is used to process the audio file in the memory according to the state of the electric vehicle and then send it to the audio data fusion unit. The input end of the audio data fusion unit is respectively connected to the output end of the AI ​​user behavior recognition unit and the output end of the audio data fusion unit, and is used to fuse and process a plurality of audio data according to the state of the electric vehicle and then output them to the audio player. The output end of the audio player is connected to the input end of the audio power amplifier module, and the output end of the audio power amplifier module is connected to the input end of the speaker to play the engine sound effect corresponding to the state of the electric vehicle. The memory is used to store the audio file simulating the engine sound effect and the configuration parameters of the sound effect.

8. The simulation engine sound effect device according to claim 7, characterized in that: The audio effect processing unit can simultaneously perform speed and modulation processing of multiple sets of audio data to different degrees according to the state of the electric vehicle. All audio data will be transmitted to the audio data fusion module for further processing. The audio data fusion unit performs weighted fusion on multiple groups of audio data that have been processed with speed and modulation according to the state of the electric vehicle, merges them into one group of audio data, and then transmits them to the audio player for decoding and playback. The audio data fusion unit achieves a smooth transition effect by adjusting the parameters of each group of audio.

9. An engine sound effect simulation device, used to implement the engine sound effect simulation method applicable to electric vehicles as described in any one of claims 1 to 6, characterized in that: include: Power module, main control MCU, power amplifier module, speaker and memory, among which, The power module is powered by the power supply of the electric vehicle and supplies power to the entire simulated engine sound effect device; The main control MCU is provided with a signal acquisition processing unit, an AI user behavior recognition unit, an audio sound effect processing unit, an audio decoder, and several audio players. The signal acquisition processing unit is used to collect the electric vehicle operation simulation signal, and then output it to the AI ​​user behavior recognition unit. The AI ​​user behavior recognition unit is used to identify the state of the electric vehicle. The input end of the audio decoder is connected to the output end of the memory. The output end of the audio decoder outputs different audio signals to the subsequent audio players one by one. The multi-channel audio decoder is used to adjust the speed, pitch and volume parameters of the audio signal, and then output them uniformly to the power amplifier module. The output end of the audio power amplifier module is connected to the input end of the speaker to play the engine sound effect corresponding to the state of the electric vehicle. The memory is used to store the audio file simulating the engine sound effect and the configuration parameters of the sound effect.